diff --git a/stage0/src/Lean.lean b/stage0/src/Lean.lean index 8af268eb56..415ad3f1d3 100644 --- a/stage0/src/Lean.lean +++ b/stage0/src/Lean.lean @@ -22,7 +22,6 @@ import Lean.Meta import Lean.Util import Lean.Eval import Lean.Structure -import Lean.Delaborator import Lean.PrettyPrinter import Lean.CoreM import Lean.InternalExceptionId diff --git a/stage0/src/Lean/Elab/SyntheticMVars.lean b/stage0/src/Lean/Elab/SyntheticMVars.lean index f98826320a..645f012f07 100644 --- a/stage0/src/Lean/Elab/SyntheticMVars.lean +++ b/stage0/src/Lean/Elab/SyntheticMVars.lean @@ -155,7 +155,7 @@ def tryToSynthesizeUsingDefaultInstances (mvarId : MVarId) : MetaM (Option (List match (← getDefaultInstances className) with | [] => return none | defaultInstances => - for defaultInstance in defaultInstances do + for (defaultInstance, prio) in defaultInstances do match (← tryToSynthesizeUsingDefaultInstance mvarId defaultInstance) with | some newMVarDecls => return some newMVarDecls | none => continue diff --git a/stage0/src/Lean/Meta/Instances.lean b/stage0/src/Lean/Meta/Instances.lean index 8cef2d283a..ead51f892d 100644 --- a/stage0/src/Lean/Meta/Instances.lean +++ b/stage0/src/Lean/Meta/Instances.lean @@ -76,17 +76,22 @@ def getGlobalInstancesIndex : MetaM (DiscrTree Expr) := structure DefaultInstanceEntry where className : Name instanceName : Name + priority : Nat + +abbrev PrioritySet := Std.RBTree Nat (.<.) structure DefaultInstances where - defaultInstances : NameMap (List Name) := {} + defaultInstances : NameMap (List (Name × Nat)) := {} + priorities : PrioritySet := {} instance : Inhabited DefaultInstances where default := {} def addDefaultInstanceEntry (d : DefaultInstances) (e : DefaultInstanceEntry) : DefaultInstances := + let d := { d with priorities := d.priorities.insert e.priority } match d.defaultInstances.find? e.className with - | some insts => { defaultInstances := d.defaultInstances.insert e.className <| e.instanceName :: insts } - | none => { defaultInstances := d.defaultInstances.insert e.className [e.instanceName] } + | some insts => { d with defaultInstances := d.defaultInstances.insert e.className <| (e.instanceName, e.priority) :: insts } + | none => { d with defaultInstances := d.defaultInstances.insert e.className [(e.instanceName, e.priority)] } builtin_initialize defaultInstanceExtension : SimplePersistentEnvExtension DefaultInstanceEntry DefaultInstances ← registerSimplePersistentEnvExtension { @@ -95,7 +100,7 @@ builtin_initialize defaultInstanceExtension : SimplePersistentEnvExtension Defau addImportedFn := fun es => (mkStateFromImportedEntries addDefaultInstanceEntry {} es) } -def addDefaultInstance (declName : Name) : MetaM Unit := do +def addDefaultInstance (declName : Name) (prio : Nat := 0) : MetaM Unit := do match (← getEnv).find? declName with | none => throwError! "unknown constant '{declName}'" | some info => @@ -104,7 +109,7 @@ def addDefaultInstance (declName : Name) : MetaM Unit := do | Expr.const className _ _ => unless isClass (← getEnv) className do throwError! "invalid default instance '{declName}', it has type '({className} ...)', but {className}' is not a type class" - setEnv <| defaultInstanceExtension.addEntry (← getEnv) { className := className, instanceName := declName } + setEnv <| defaultInstanceExtension.addEntry (← getEnv) { className := className, instanceName := declName, priority := prio } | _ => throwError! "invalid default instance '{declName}', type must be of the form '(C ...)' where 'C' is a type class" builtin_initialize @@ -118,7 +123,10 @@ builtin_initialize pure () } -def getDefaultInstances [Monad m] [MonadEnv m] (className : Name) : m (List Name) := +def getDefaultInstancesPriorities [Monad m] [MonadEnv m] : m PrioritySet := + return defaultInstanceExtension.getState (← getEnv) |>.priorities + +def getDefaultInstances [Monad m] [MonadEnv m] (className : Name) : m (List (Name × Nat)) := return defaultInstanceExtension.getState (← getEnv) |>.defaultInstances.find? className |>.getD [] end Lean.Meta diff --git a/stage0/src/Lean/Meta/Match/CaseArraySizes.lean b/stage0/src/Lean/Meta/Match/CaseArraySizes.lean index c6e91cc74a..370e6a51d7 100644 --- a/stage0/src/Lean/Meta/Match/CaseArraySizes.lean +++ b/stage0/src/Lean/Meta/Match/CaseArraySizes.lean @@ -59,33 +59,34 @@ private partial def introArrayLit (mvarId : MVarId) (a : Expr) (n : Nat) (xNameP n) `..., x_1 ... x_{sizes[n-1]} |- C #[x_1, ..., x_{sizes[n-1]}]` n+1) `..., (h_1 : a.size != sizes[0]), ..., (h_n : a.size != sizes[n-1]) |- C a` where `n = sizes.size` -/ -def caseArraySizes (mvarId : MVarId) (fvarId : FVarId) (sizes : Array Nat) (xNamePrefix := `x) (hNamePrefix := `h) : MetaM (Array CaseArraySizesSubgoal) := do - let a := mkFVar fvarId - let α ← getArrayArgType a - let aSize ← mkAppM `Array.size #[a] - let mvarId ← assertExt mvarId `aSize (mkConst `Nat) aSize - let (aSizeFVarId, mvarId) ← intro1 mvarId - let (hEq, mvarId) ← intro1 mvarId - let subgoals ← caseValues mvarId aSizeFVarId (sizes.map mkNatLit) hNamePrefix - subgoals.mapIdxM fun i subgoal => do - let subst := subgoal.subst - let mvarId := subgoal.mvarId - let hEqSz := (subst.get hEq).fvarId! - if h : i.val < sizes.size then - let n := sizes.get ⟨i, h⟩ - let mvarId ← clear mvarId subgoal.newHs[0] - let mvarId ← clear mvarId (subst.get aSizeFVarId).fvarId! - withMVarContext mvarId do - let hEqSzSymm ← mkEqSymm (mkFVar hEqSz) - let mvarId ← introArrayLit mvarId a n xNamePrefix hEqSzSymm - let (xs, mvarId) ← introN mvarId n - let (hEqLit, mvarId) ← intro1 mvarId - let mvarId ← clear mvarId hEqSz - let (subst, mvarId) ← substCore mvarId hEqLit false subst - pure { mvarId := mvarId, elems := xs, subst := subst } - else - let (subst, mvarId) ← substCore mvarId hEq false subst - let diseqs := subgoal.newHs.map fun fvarId => (subst.get fvarId).fvarId! - pure { mvarId := mvarId, diseqs := diseqs, subst := subst } +def caseArraySizes (mvarId : MVarId) (fvarId : FVarId) (sizes : Array Nat) (xNamePrefix := `x) (hNamePrefix := `h) : MetaM (Array CaseArraySizesSubgoal) := + withMVarContext mvarId do + let a := mkFVar fvarId + let α ← getArrayArgType a + let aSize ← mkAppM `Array.size #[a] + let mvarId ← assertExt mvarId `aSize (mkConst `Nat) aSize + let (aSizeFVarId, mvarId) ← intro1 mvarId + let (hEq, mvarId) ← intro1 mvarId + let subgoals ← caseValues mvarId aSizeFVarId (sizes.map mkNatLit) hNamePrefix + subgoals.mapIdxM fun i subgoal => do + let subst := subgoal.subst + let mvarId := subgoal.mvarId + let hEqSz := (subst.get hEq).fvarId! + if h : i.val < sizes.size then + let n := sizes.get ⟨i, h⟩ + let mvarId ← clear mvarId subgoal.newHs[0] + let mvarId ← clear mvarId (subst.get aSizeFVarId).fvarId! + withMVarContext mvarId do + let hEqSzSymm ← mkEqSymm (mkFVar hEqSz) + let mvarId ← introArrayLit mvarId a n xNamePrefix hEqSzSymm + let (xs, mvarId) ← introN mvarId n + let (hEqLit, mvarId) ← intro1 mvarId + let mvarId ← clear mvarId hEqSz + let (subst, mvarId) ← substCore mvarId hEqLit false subst + pure { mvarId := mvarId, elems := xs, subst := subst } + else + let (subst, mvarId) ← substCore mvarId hEq false subst + let diseqs := subgoal.newHs.map fun fvarId => (subst.get fvarId).fvarId! + pure { mvarId := mvarId, diseqs := diseqs, subst := subst } end Lean.Meta diff --git a/stage0/src/Lean/Meta/Match/CaseValues.lean b/stage0/src/Lean/Meta/Match/CaseValues.lean index 92f620fc7d..d2e05fe82a 100644 --- a/stage0/src/Lean/Meta/Match/CaseValues.lean +++ b/stage0/src/Lean/Meta/Match/CaseValues.lean @@ -26,7 +26,7 @@ instance : Inhabited CaseValueSubgoal := Remark: `subst` field of the second subgoal is equal to the input `subst`. -/ def caseValueAux (mvarId : MVarId) (fvarId : FVarId) (value : Expr) (hName : Name := `h) (subst : FVarSubst := {}) : MetaM (CaseValueSubgoal × CaseValueSubgoal) := - withMVarContext mvarId $ do + withMVarContext mvarId do let tag ← getMVarTag mvarId checkNotAssigned mvarId `caseValue let target ← getMVarType mvarId diff --git a/stage0/src/Lean/Meta/Match/Match.lean b/stage0/src/Lean/Meta/Match/Match.lean index 7f35c3bf25..64e45081d9 100644 --- a/stage0/src/Lean/Meta/Match/Match.lean +++ b/stage0/src/Lean/Meta/Match/Match.lean @@ -453,9 +453,9 @@ private def processArrayLit (p : Problem) : MetaM (Array Problem) := do let elems := subgoal.elems.toList let newVars := elems.map mkFVar ++ xs let newVars := newVars.map fun x => x.applyFVarSubst subst - let subex := Example.arrayLit $ elems.map Example.var - let examples := p.examples.map $ Example.replaceFVarId x.fvarId! subex - let examples := examples.map $ Example.applyFVarSubst subst + let subex := Example.arrayLit <| elems.map Example.var + let examples := p.examples.map <| Example.replaceFVarId x.fvarId! subex + let examples := examples.map <| Example.applyFVarSubst subst let newAlts := p.alts.filter fun alt => match alt.patterns with | Pattern.arrayLit _ ps :: _ => ps.length == size | Pattern.var _ :: _ => true @@ -463,7 +463,9 @@ private def processArrayLit (p : Problem) : MetaM (Array Problem) := do let newAlts := newAlts.map fun alt => alt.applyFVarSubst subst let newAlts ← newAlts.mapM fun alt => match alt.patterns with | Pattern.arrayLit _ pats :: ps => pure { alt with patterns := pats ++ ps } - | Pattern.var fvarId :: ps => do let α ← getArrayArgType x; expandVarIntoArrayLit { alt with patterns := ps } fvarId α size + | Pattern.var fvarId :: ps => do + let α ← getArrayArgType <| subst.apply x + expandVarIntoArrayLit { alt with patterns := ps } fvarId α size | _ => unreachable! pure { mvarId := subgoal.mvarId, vars := newVars, alts := newAlts, examples := examples } else do diff --git a/stage0/src/Lean/PrettyPrinter.lean b/stage0/src/Lean/PrettyPrinter.lean index d44e3f4393..472f010027 100644 --- a/stage0/src/Lean/PrettyPrinter.lean +++ b/stage0/src/Lean/PrettyPrinter.lean @@ -3,7 +3,7 @@ Copyright (c) 2020 Sebastian Ullrich. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sebastian Ullrich -/ -import Lean.Delaborator +import Lean.PrettyPrinter.Delaborator import Lean.PrettyPrinter.Parenthesizer import Lean.PrettyPrinter.Formatter import Lean.Parser.Module diff --git a/stage0/src/Lean/PrettyPrinter/Delaborator.lean b/stage0/src/Lean/PrettyPrinter/Delaborator.lean new file mode 100644 index 0000000000..41be185991 --- /dev/null +++ b/stage0/src/Lean/PrettyPrinter/Delaborator.lean @@ -0,0 +1,7 @@ +/- +Copyright (c) 2020 Sebastian Ullrich. All rights reserved. +Released under Apache 2.0 license as described in the file LICENSE. +Authors: Sebastian Ullrich +-/ +import Lean.PrettyPrinter.Delaborator.Basic +import Lean.PrettyPrinter.Delaborator.Builtins diff --git a/stage0/src/Lean/PrettyPrinter/Delaborator/Basic.lean b/stage0/src/Lean/PrettyPrinter/Delaborator/Basic.lean new file mode 100644 index 0000000000..3bbe8dd6ce --- /dev/null +++ b/stage0/src/Lean/PrettyPrinter/Delaborator/Basic.lean @@ -0,0 +1,277 @@ +/- +Copyright (c) 2020 Microsoft Corporation. All rights reserved. +Released under Apache 2.0 license as described in the file LICENSE. +Authors: Sebastian Ullrich +-/ + +/-! +The delaborator is the first stage of the pretty printer, and the inverse of the +elaborator: it turns fully elaborated `Expr` core terms back into surface-level +`Syntax`, omitting some implicit information again and using higher-level syntax +abstractions like notations where possible. The exact behavior can be customized +using pretty printer options; activating `pp.all` should guarantee that the +delaborator is injective and that re-elaborating the resulting `Syntax` +round-trips. + +Pretty printer options can be given not only for the whole term, but also +specific subterms. This is used both when automatically refining pp options +until round-trip and when interactively selecting pp options for a subterm (both +TBD). The association of options to subterms is done by assigning a unique, +synthetic Nat position to each subterm derived from its position in the full +term. This position is added to the corresponding Syntax object so that +elaboration errors and interactions with the pretty printer output can be traced +back to the subterm. + +The delaborator is extensible via the `[delab]` attribute. +-/ + +import Lean.KeyedDeclsAttribute +import Lean.ProjFns +import Lean.Syntax +import Lean.Meta.Match +import Lean.Elab.Term + +namespace Lean +-- TODO: move, maybe +namespace Level +protected partial def quote : Level → Syntax + | zero _ => Unhygienic.run `(level|0) + | l@(succ _ _) => match l.toNat with + | some n => Unhygienic.run `(level|$(quote n):numLit) + | none => Unhygienic.run `(level|$(Level.quote l.getLevelOffset) + $(quote l.getOffset):numLit) + | max l1 l2 _ => match_syntax Level.quote l2 with + | `(level|max $ls*) => Unhygienic.run `(level|max $(Level.quote l1) $ls*) + | l2 => Unhygienic.run `(level|max $(Level.quote l1) $l2) + | imax l1 l2 _ => match_syntax Level.quote l2 with + | `(level|imax $ls*) => Unhygienic.run `(level|imax $(Level.quote l1) $ls*) + | l2 => Unhygienic.run `(level|imax $(Level.quote l1) $l2) + | param n _ => Unhygienic.run `(level|$(mkIdent n):ident) + -- HACK: approximation + | mvar n _ => Unhygienic.run `(level|_) + +instance : Quote Level := ⟨Level.quote⟩ +end Level + +def getPPBinderTypes (o : Options) : Bool := o.get `pp.binder_types true +def getPPCoercions (o : Options) : Bool := o.get `pp.coercions true +def getPPExplicit (o : Options) : Bool := o.get `pp.explicit false +def getPPNotation (o : Options) : Bool := o.get `pp.notation true +def getPPStructureProjections (o : Options) : Bool := o.get `pp.structure_projections true +def getPPStructureInstances (o : Options) : Bool := o.get `pp.structure_instances true +def getPPStructureInstanceType (o : Options) : Bool := o.get `pp.structure_instance_type false +def getPPUniverses (o : Options) : Bool := o.get `pp.universes false +def getPPFullNames (o : Options) : Bool := o.get `pp.full_names false +def getPPPrivateNames (o : Options) : Bool := o.get `pp.private_names false +def getPPUnicode (o : Options) : Bool := o.get `pp.unicode true +def getPPAll (o : Options) : Bool := o.get `pp.all false + +builtin_initialize + registerOption `pp.explicit { defValue := false, group := "pp", descr := "(pretty printer) display implicit arguments" } + registerOption `pp.structure_instance_type { defValue := false, group := "pp", descr := "(pretty printer) display type of structure instances" } + -- TODO: register other options when old pretty printer is removed + --registerOption `pp.universes { defValue := false, group := "pp", descr := "(pretty printer) display universes" } + + +/-- Associate pretty printer options to a specific subterm using a synthetic position. -/ +abbrev OptionsPerPos := Std.RBMap Nat Options (fun a b => a < b) + +namespace PrettyPrinter +namespace Delaborator +open Lean.Meta + +structure Context where + -- In contrast to other systems like the elaborator, we do not pass the current term explicitly as a + -- parameter, but store it in the monad so that we can keep it in sync with `pos`. + expr : Expr + pos : Nat := 1 + defaultOptions : Options + optionsPerPos : OptionsPerPos + currNamespace : Name + openDecls : List OpenDecl + +-- Exceptions from delaborators are not expected. We use an internal exception to signal whether +-- the delaborator was able to produce a Syntax object. +builtin_initialize delabFailureId : InternalExceptionId ← registerInternalExceptionId `delabFailure + +abbrev DelabM := ReaderT Context MetaM +abbrev Delab := DelabM Syntax + +instance {α} : Inhabited (DelabM α) := ⟨throw arbitrary⟩ + +@[inline] protected def orElse {α} (d₁ d₂ : DelabM α) : DelabM α := do +catchInternalId delabFailureId d₁ (fun _ => d₂) +protected def failure {α} : DelabM α := throw $ Exception.internal delabFailureId +instance : Alternative DelabM := { + orElse := Delaborator.orElse, + failure := Delaborator.failure +} +-- HACK: necessary since it would otherwise prefer the instance from MonadExcept +instance {α} : OrElse (DelabM α) := ⟨Delaborator.orElse⟩ + +-- Macro scopes in the delaborator output are ultimately ignored by the pretty printer, +-- so give a trivial implementation. +instance : MonadQuotation DelabM := { + getCurrMacroScope := pure arbitrary, + getMainModule := pure arbitrary, + withFreshMacroScope := fun x => x +} + +unsafe def mkDelabAttribute : IO (KeyedDeclsAttribute Delab) := + KeyedDeclsAttribute.init { + builtinName := `builtinDelab, + name := `delab, + descr := "Register a delaborator. + + [delab k] registers a declaration of type `Lean.PrettyPrinter.Delaborator.Delab` for the `Lean.Expr` + constructor `k`. Multiple delaborators for a single constructor are tried in turn until + the first success. If the term to be delaborated is an application of a constant `c`, + elaborators for `app.c` are tried first; this is also done for `Expr.const`s (\"nullary applications\") + to reduce special casing. If the term is an `Expr.mdata` with a single key `k`, `mdata.k` + is tried first.", + valueTypeName := `Lean.PrettyPrinter.Delaborator.Delab + } `Lean.PrettyPrinter.Delaborator.delabAttribute +@[builtinInit mkDelabAttribute] constant delabAttribute : KeyedDeclsAttribute Delab + +def getExpr : DelabM Expr := do + let ctx ← read + pure ctx.expr + +def getExprKind : DelabM Name := do + let e ← getExpr + pure $ match e with + | Expr.bvar _ _ => `bvar + | Expr.fvar _ _ => `fvar + | Expr.mvar _ _ => `mvar + | Expr.sort _ _ => `sort + | Expr.const c _ _ => + -- we identify constants as "nullary applications" to reduce special casing + `app ++ c + | Expr.app fn _ _ => match fn.getAppFn with + | Expr.const c _ _ => `app ++ c + | _ => `app + | Expr.lam _ _ _ _ => `lam + | Expr.forallE _ _ _ _ => `forallE + | Expr.letE _ _ _ _ _ => `letE + | Expr.lit _ _ => `lit + | Expr.mdata m _ _ => match m.entries with + | [(key, _)] => `mdata ++ key + | _ => `mdata + | Expr.proj _ _ _ _ => `proj + +/-- Evaluate option accessor, using subterm-specific options if set. Default to `true` if `pp.all` is set. -/ +def getPPOption (opt : Options → Bool) : DelabM Bool := do + let ctx ← read + let opt := fun opts => opt opts || getPPAll opts + let val := opt ctx.defaultOptions + match ctx.optionsPerPos.find? ctx.pos with + | some opts => pure $ opt opts + | none => pure val + +def whenPPOption (opt : Options → Bool) (d : Delab) : Delab := do + let b ← getPPOption opt + if b then d else failure + +def whenNotPPOption (opt : Options → Bool) (d : Delab) : Delab := do + let b ← getPPOption opt + if b then failure else d + +/-- +Descend into `child`, the `childIdx`-th subterm of the current term, and update position. + +Because `childIdx < 3` in the case of `Expr`, we can injectively map a path +`childIdxs` to a natural number by computing the value of the 3-ary representation +`1 :: childIdxs`, since n-ary representations without leading zeros are unique. +Note that `pos` is initialized to `1` (case `childIdxs == []`). +-/ +def descend {α} (child : Expr) (childIdx : Nat) (d : DelabM α) : DelabM α := + withReader (fun cfg => { cfg with expr := child, pos := cfg.pos * 3 + childIdx }) d + +def withAppFn {α} (d : DelabM α) : DelabM α := do + let Expr.app fn _ _ ← getExpr | unreachable! + descend fn 0 d + +def withAppArg {α} (d : DelabM α) : DelabM α := do + let Expr.app _ arg _ ← getExpr | unreachable! + descend arg 1 d + +partial def withAppFnArgs {α} : DelabM α → (α → DelabM α) → DelabM α + | fnD, argD => do + let Expr.app fn arg _ ← getExpr | fnD + let a ← withAppFn (withAppFnArgs fnD argD) + withAppArg (argD a) + +def withBindingDomain {α} (d : DelabM α) : DelabM α := do + let e ← getExpr + descend e.bindingDomain! 0 d + +def withBindingBody {α} (n : Name) (d : DelabM α) : DelabM α := do + let e ← getExpr + withLocalDecl n e.binderInfo e.bindingDomain! fun fvar => + let b := e.bindingBody!.instantiate1 fvar + descend b 1 d + +def withProj {α} (d : DelabM α) : DelabM α := do + let Expr.proj _ _ e _ ← getExpr | unreachable! + descend e 0 d + +def withMDataExpr {α} (d : DelabM α) : DelabM α := do + let Expr.mdata _ e _ ← getExpr | unreachable! + -- do not change position so that options on an mdata are automatically forwarded to the child + withReader ({ · with expr := e }) d + +partial def annotatePos (pos : Nat) : Syntax → Syntax + | stx@(Syntax.ident _ _ _ _) => stx.setInfo { pos := pos } + -- app => annotate function + | stx@(Syntax.node `Lean.Parser.Term.app args) => stx.modifyArg 0 (annotatePos pos) + -- otherwise, annotate first direct child token if any + | stx => match stx.getArgs.findIdx? Syntax.isAtom with + | some idx => stx.modifyArg idx (Syntax.setInfo { pos := pos }) + | none => stx + +def annotateCurPos (stx : Syntax) : Delab := do + let ctx ← read + pure $ annotatePos ctx.pos stx + +def getUnusedName (suggestion : Name) : DelabM Name := do + -- Use a nicer binder name than `[anonymous]`. We probably shouldn't do this in all LocalContext use cases, so do it here. + let suggestion := if suggestion.isAnonymous then `a else suggestion; + let lctx ← getLCtx + pure $ lctx.getUnusedName suggestion + +def withBindingBodyUnusedName {α} (d : Syntax → DelabM α) : DelabM α := do + let n ← getUnusedName (← getExpr).bindingName! + let stxN ← annotateCurPos (mkIdent n) + withBindingBody n $ d stxN + +@[inline] def liftMetaM {α} (x : MetaM α) : DelabM α := + liftM x + +partial def delabFor : Name → Delab + | Name.anonymous => failure + | k => do + let env ← getEnv + (match (delabAttribute.ext.getState env).table.find? k with + | some delabs => delabs.firstM id >>= annotateCurPos + | none => failure) <|> + -- have `app.Option.some` fall back to `app` etc. + delabFor k.getRoot + +def delab : Delab := do + let k ← getExprKind + delabFor k <|> (liftM $ show MetaM Syntax from throwError $ "don't know how to delaborate '" ++ toString k ++ "'") + + +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}" + let opts ← MonadOptions.getOptions + catchInternalId Delaborator.delabFailureId + (Delaborator.delab.run { expr := e, defaultOptions := opts, optionsPerPos := optionsPerPos, currNamespace := currNamespace, openDecls := openDecls }) + (fun _ => unreachable!) + +builtin_initialize registerTraceClass `PrettyPrinter.delab + +end PrettyPrinter +end Lean diff --git a/stage0/src/Lean/Delaborator.lean b/stage0/src/Lean/PrettyPrinter/Delaborator/Builtins.lean similarity index 68% rename from stage0/src/Lean/Delaborator.lean rename to stage0/src/Lean/PrettyPrinter/Delaborator/Builtins.lean index 488feec8e8..6e117412f2 100644 --- a/stage0/src/Lean/Delaborator.lean +++ b/stage0/src/Lean/PrettyPrinter/Delaborator/Builtins.lean @@ -1,264 +1,14 @@ /- -Copyright (c) 2020 Microsoft Corporation. All rights reserved. +Copyright (c) 2020 Sebastian Ullrich. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sebastian Ullrich -/ -/-! -The delaborator is the first stage of the pretty printer, and the inverse of the -elaborator: it turns fully elaborated `Expr` core terms back into surface-level -`Syntax`, omitting some implicit information again and using higher-level syntax -abstractions like notations where possible. The exact behavior can be customized -using pretty printer options; activating `pp.all` should guarantee that the -delaborator is injective and that re-elaborating the resulting `Syntax` -round-trips. +import Lean.PrettyPrinter.Delaborator.Basic -Pretty printer options can be given not only for the whole term, but also -specific subterms. This is used both when automatically refining pp options -until round-trip and when interactively selecting pp options for a subterm (both -TBD). The association of options to subterms is done by assigning a unique, -synthetic Nat position to each subterm derived from its position in the full -term. This position is added to the corresponding Syntax object so that -elaboration errors and interactions with the pretty printer output can be traced -back to the subterm. - -The delaborator is extensible via the `[delab]` attribute. --/ - -import Lean.KeyedDeclsAttribute -import Lean.ProjFns -import Lean.Syntax -import Lean.Meta.Match -import Lean.Elab.Term - -namespace Lean --- TODO: move, maybe -namespace Level -protected partial def quote : Level → Syntax - | zero _ => Unhygienic.run `(level|0) - | l@(succ _ _) => match l.toNat with - | some n => Unhygienic.run `(level|$(quote n):numLit) - | none => Unhygienic.run `(level|$(Level.quote l.getLevelOffset) + $(quote l.getOffset):numLit) - | max l1 l2 _ => match_syntax Level.quote l2 with - | `(level|max $ls*) => Unhygienic.run `(level|max $(Level.quote l1) $ls*) - | l2 => Unhygienic.run `(level|max $(Level.quote l1) $l2) - | imax l1 l2 _ => match_syntax Level.quote l2 with - | `(level|imax $ls*) => Unhygienic.run `(level|imax $(Level.quote l1) $ls*) - | l2 => Unhygienic.run `(level|imax $(Level.quote l1) $l2) - | param n _ => Unhygienic.run `(level|$(mkIdent n):ident) - -- HACK: approximation - | mvar n _ => Unhygienic.run `(level|_) - -instance : Quote Level := ⟨Level.quote⟩ -end Level - -def getPPBinderTypes (o : Options) : Bool := o.get `pp.binder_types true -def getPPCoercions (o : Options) : Bool := o.get `pp.coercions true -def getPPExplicit (o : Options) : Bool := o.get `pp.explicit false -def getPPNotation (o : Options) : Bool := o.get `pp.notation true -def getPPStructureProjections (o : Options) : Bool := o.get `pp.structure_projections true -def getPPStructureInstances (o : Options) : Bool := o.get `pp.structure_instances true -def getPPStructureInstanceType (o : Options) : Bool := o.get `pp.structure_instance_type false -def getPPUniverses (o : Options) : Bool := o.get `pp.universes false -def getPPFullNames (o : Options) : Bool := o.get `pp.full_names false -def getPPPrivateNames (o : Options) : Bool := o.get `pp.private_names false -def getPPUnicode (o : Options) : Bool := o.get `pp.unicode true -def getPPAll (o : Options) : Bool := o.get `pp.all false - -builtin_initialize - registerOption `pp.explicit { defValue := false, group := "pp", descr := "(pretty printer) display implicit arguments" } - registerOption `pp.structure_instance_type { defValue := false, group := "pp", descr := "(pretty printer) display type of structure instances" } - -- TODO: register other options when old pretty printer is removed - --registerOption `pp.universes { defValue := false, group := "pp", descr := "(pretty printer) display universes" } - - -/-- Associate pretty printer options to a specific subterm using a synthetic position. -/ -abbrev OptionsPerPos := Std.RBMap Nat Options (fun a b => a < b) - -namespace Delaborator +namespace Lean.PrettyPrinter.Delaborator open Lean.Meta -structure Context where - -- In contrast to other systems like the elaborator, we do not pass the current term explicitly as a - -- parameter, but store it in the monad so that we can keep it in sync with `pos`. - expr : Expr - pos : Nat := 1 - defaultOptions : Options - optionsPerPos : OptionsPerPos - currNamespace : Name - openDecls : List OpenDecl - --- Exceptions from delaborators are not expected. We use an internal exception to signal whether --- the delaborator was able to produce a Syntax object. -builtin_initialize delabFailureId : InternalExceptionId ← registerInternalExceptionId `delabFailure - -abbrev DelabM := ReaderT Context MetaM -abbrev Delab := DelabM Syntax - -instance {α} : Inhabited (DelabM α) := ⟨throw arbitrary⟩ - -@[inline] protected def orElse {α} (d₁ d₂ : DelabM α) : DelabM α := do -catchInternalId delabFailureId d₁ (fun _ => d₂) -protected def failure {α} : DelabM α := throw $ Exception.internal delabFailureId -instance : Alternative DelabM := { - orElse := Delaborator.orElse, - failure := Delaborator.failure -} --- HACK: necessary since it would otherwise prefer the instance from MonadExcept -instance {α} : OrElse (DelabM α) := ⟨Delaborator.orElse⟩ - --- Macro scopes in the delaborator output are ultimately ignored by the pretty printer, --- so give a trivial implementation. -instance : MonadQuotation DelabM := { - getCurrMacroScope := pure arbitrary, - getMainModule := pure arbitrary, - withFreshMacroScope := fun x => x -} - -unsafe def mkDelabAttribute : IO (KeyedDeclsAttribute Delab) := - KeyedDeclsAttribute.init { - builtinName := `builtinDelab, - name := `delab, - descr := "Register a delaborator. - - [delab k] registers a declaration of type `Lean.Delaborator.Delab` for the `Lean.Expr` - constructor `k`. Multiple delaborators for a single constructor are tried in turn until - the first success. If the term to be delaborated is an application of a constant `c`, - elaborators for `app.c` are tried first; this is also done for `Expr.const`s (\"nullary applications\") - to reduce special casing. If the term is an `Expr.mdata` with a single key `k`, `mdata.k` - is tried first.", - valueTypeName := `Lean.PrettyPrinter.Delaborator.Delab - } `Lean.PrettyPrinter.Delaborator.delabAttribute -@[builtinInit mkDelabAttribute] constant delabAttribute : KeyedDeclsAttribute Delab - -def getExpr : DelabM Expr := do - let ctx ← read - pure ctx.expr - -def getExprKind : DelabM Name := do - let e ← getExpr - pure $ match e with - | Expr.bvar _ _ => `bvar - | Expr.fvar _ _ => `fvar - | Expr.mvar _ _ => `mvar - | Expr.sort _ _ => `sort - | Expr.const c _ _ => - -- we identify constants as "nullary applications" to reduce special casing - `app ++ c - | Expr.app fn _ _ => match fn.getAppFn with - | Expr.const c _ _ => `app ++ c - | _ => `app - | Expr.lam _ _ _ _ => `lam - | Expr.forallE _ _ _ _ => `forallE - | Expr.letE _ _ _ _ _ => `letE - | Expr.lit _ _ => `lit - | Expr.mdata m _ _ => match m.entries with - | [(key, _)] => `mdata ++ key - | _ => `mdata - | Expr.proj _ _ _ _ => `proj - -/-- Evaluate option accessor, using subterm-specific options if set. Default to `true` if `pp.all` is set. -/ -def getPPOption (opt : Options → Bool) : DelabM Bool := do - let ctx ← read - let opt := fun opts => opt opts || getPPAll opts - let val := opt ctx.defaultOptions - match ctx.optionsPerPos.find? ctx.pos with - | some opts => pure $ opt opts - | none => pure val - -def whenPPOption (opt : Options → Bool) (d : Delab) : Delab := do - let b ← getPPOption opt - if b then d else failure - -def whenNotPPOption (opt : Options → Bool) (d : Delab) : Delab := do - let b ← getPPOption opt - if b then failure else d - -/-- -Descend into `child`, the `childIdx`-th subterm of the current term, and update position. - -Because `childIdx < 3` in the case of `Expr`, we can injectively map a path -`childIdxs` to a natural number by computing the value of the 3-ary representation -`1 :: childIdxs`, since n-ary representations without leading zeros are unique. -Note that `pos` is initialized to `1` (case `childIdxs == []`). --/ -def descend {α} (child : Expr) (childIdx : Nat) (d : DelabM α) : DelabM α := - withReader (fun cfg => { cfg with expr := child, pos := cfg.pos * 3 + childIdx }) d - -def withAppFn {α} (d : DelabM α) : DelabM α := do - let Expr.app fn _ _ ← getExpr | unreachable! - descend fn 0 d - -def withAppArg {α} (d : DelabM α) : DelabM α := do - let Expr.app _ arg _ ← getExpr | unreachable! - descend arg 1 d - -partial def withAppFnArgs {α} : DelabM α → (α → DelabM α) → DelabM α - | fnD, argD => do - let Expr.app fn arg _ ← getExpr | fnD - let a ← withAppFn (withAppFnArgs fnD argD) - withAppArg (argD a) - -def withBindingDomain {α} (d : DelabM α) : DelabM α := do - let e ← getExpr - descend e.bindingDomain! 0 d - -def withBindingBody {α} (n : Name) (d : DelabM α) : DelabM α := do - let e ← getExpr - withLocalDecl n e.binderInfo e.bindingDomain! fun fvar => - let b := e.bindingBody!.instantiate1 fvar - descend b 1 d - -def withProj {α} (d : DelabM α) : DelabM α := do - let Expr.proj _ _ e _ ← getExpr | unreachable! - descend e 0 d - -def withMDataExpr {α} (d : DelabM α) : DelabM α := do - let Expr.mdata _ e _ ← getExpr | unreachable! - -- do not change position so that options on an mdata are automatically forwarded to the child - withReader ({ · with expr := e }) d - -partial def annotatePos (pos : Nat) : Syntax → Syntax - | stx@(Syntax.ident _ _ _ _) => stx.setInfo { pos := pos } - -- app => annotate function - | stx@(Syntax.node `Lean.Parser.Term.app args) => stx.modifyArg 0 (annotatePos pos) - -- otherwise, annotate first direct child token if any - | stx => match stx.getArgs.findIdx? Syntax.isAtom with - | some idx => stx.modifyArg idx (Syntax.setInfo { pos := pos }) - | none => stx - -def annotateCurPos (stx : Syntax) : Delab := do - let ctx ← read - pure $ annotatePos ctx.pos stx - -def getUnusedName (suggestion : Name) : DelabM Name := do - -- Use a nicer binder name than `[anonymous]`. We probably shouldn't do this in all LocalContext use cases, so do it here. - let suggestion := if suggestion.isAnonymous then `a else suggestion; - let lctx ← getLCtx - pure $ lctx.getUnusedName suggestion - -def withBindingBodyUnusedName {α} (d : Syntax → DelabM α) : DelabM α := do - let n ← getUnusedName (← getExpr).bindingName! - let stxN ← annotateCurPos (mkIdent n) - withBindingBody n $ d stxN - -@[inline] def liftMetaM {α} (x : MetaM α) : DelabM α := - liftM x - -partial def delabFor : Name → Delab - | Name.anonymous => failure - | k => do - let env ← getEnv - (match (delabAttribute.ext.getState env).table.find? k with - | some delabs => delabs.firstM id >>= annotateCurPos - | none => failure) <|> - -- have `app.Option.some` fall back to `app` etc. - delabFor k.getRoot - -def delab : Delab := do - let k ← getExprKind - delabFor k <|> (liftM $ show MetaM Syntax from throwError $ "don't know how to delaborate '" ++ toString k ++ "'") - @[builtinDelab fvar] def delabFVar : Delab := do let Expr.fvar id _ ← getExpr | unreachable! @@ -852,16 +602,4 @@ def delabDo : Delab := whenPPOption getPPNotation do let items := elems.toArray.map (mkNode `Lean.Parser.Term.doSeqItem #[·, mkNullNode]) `(do $items:doSeqItem*) -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}" - let opts ← MonadOptions.getOptions - catchInternalId Delaborator.delabFailureId - (Delaborator.delab.run { expr := e, defaultOptions := opts, optionsPerPos := optionsPerPos, currNamespace := currNamespace, openDecls := openDecls }) - (fun _ => unreachable!) - -builtin_initialize registerTraceClass `PrettyPrinter.delab - -end Lean +end Lean.PrettyPrinter.Delaborator diff --git a/stage0/stdlib/CMakeLists.txt b/stage0/stdlib/CMakeLists.txt index 14f20ef42f..eb1b639575 100644 --- a/stage0/stdlib/CMakeLists.txt +++ b/stage0/stdlib/CMakeLists.txt @@ -1 +1 @@ -add_library (stage0 OBJECT ./Init.c ./Init/Classical.c ./Init/Coe.c ./Init/Control.c ./Init/Control/Basic.c ./Init/Control/EState.c ./Init/Control/Except.c ./Init/Control/Id.c ./Init/Control/Option.c ./Init/Control/Reader.c ./Init/Control/State.c ./Init/Control/StateRef.c ./Init/Core.c ./Init/Data.c ./Init/Data/Array.c ./Init/Data/Array/Basic.c ./Init/Data/Array/BinSearch.c ./Init/Data/Array/QSort.c ./Init/Data/Array/Subarray.c ./Init/Data/Basic.c ./Init/Data/ByteArray.c ./Init/Data/ByteArray/Basic.c ./Init/Data/Char.c ./Init/Data/Char/Basic.c ./Init/Data/Fin.c ./Init/Data/Fin/Basic.c ./Init/Data/Float.c ./Init/Data/FloatArray.c ./Init/Data/FloatArray/Basic.c ./Init/Data/Hashable.c ./Init/Data/Int.c ./Init/Data/Int/Basic.c ./Init/Data/List.c ./Init/Data/List/Basic.c ./Init/Data/List/BasicAux.c ./Init/Data/List/Control.c ./Init/Data/Nat.c ./Init/Data/Nat/Basic.c ./Init/Data/Nat/Bitwise.c ./Init/Data/Nat/Control.c ./Init/Data/Nat/Div.c ./Init/Data/Option.c ./Init/Data/Option/Basic.c ./Init/Data/Option/BasicAux.c ./Init/Data/Option/Instances.c ./Init/Data/Random.c ./Init/Data/Range.c ./Init/Data/Repr.c ./Init/Data/String.c ./Init/Data/String/Basic.c ./Init/Data/String/Extra.c ./Init/Data/ToString.c ./Init/Data/ToString/Basic.c ./Init/Data/ToString/Macro.c ./Init/Data/UInt.c ./Init/Fix.c ./Init/Meta.c ./Init/Notation.c ./Init/NotationExtra.c ./Init/Prelude.c ./Init/SizeOf.c ./Init/System.c ./Init/System/FilePath.c ./Init/System/IO.c ./Init/System/IOError.c ./Init/System/Platform.c ./Init/System/ST.c ./Init/Util.c ./Init/WF.c ./Lean.c ./Lean/Attributes.c ./Lean/AuxRecursor.c ./Lean/Class.c ./Lean/Compiler.c ./Lean/Compiler/BorrowedAnnotation.c ./Lean/Compiler/ClosedTermCache.c ./Lean/Compiler/ConstFolding.c ./Lean/Compiler/ExportAttr.c ./Lean/Compiler/ExternAttr.c ./Lean/Compiler/IR.c ./Lean/Compiler/IR/Basic.c ./Lean/Compiler/IR/Borrow.c ./Lean/Compiler/IR/Boxing.c ./Lean/Compiler/IR/Checker.c ./Lean/Compiler/IR/CompilerM.c ./Lean/Compiler/IR/CtorLayout.c ./Lean/Compiler/IR/ElimDeadBranches.c ./Lean/Compiler/IR/ElimDeadVars.c ./Lean/Compiler/IR/EmitC.c ./Lean/Compiler/IR/EmitUtil.c ./Lean/Compiler/IR/ExpandResetReuse.c ./Lean/Compiler/IR/Format.c ./Lean/Compiler/IR/FreeVars.c ./Lean/Compiler/IR/LiveVars.c ./Lean/Compiler/IR/NormIds.c ./Lean/Compiler/IR/PushProj.c ./Lean/Compiler/IR/RC.c ./Lean/Compiler/IR/ResetReuse.c ./Lean/Compiler/IR/SimpCase.c ./Lean/Compiler/IR/UnboxResult.c ./Lean/Compiler/ImplementedByAttr.c ./Lean/Compiler/InitAttr.c ./Lean/Compiler/InlineAttrs.c ./Lean/Compiler/NameMangling.c ./Lean/Compiler/NeverExtractAttr.c ./Lean/Compiler/Specialize.c ./Lean/Compiler/Util.c ./Lean/CoreM.c ./Lean/Data.c ./Lean/Data/Format.c ./Lean/Data/Json.c ./Lean/Data/Json/Basic.c ./Lean/Data/Json/FromToJson.c ./Lean/Data/Json/Parser.c ./Lean/Data/Json/Printer.c ./Lean/Data/Json/Stream.c ./Lean/Data/JsonRpc.c ./Lean/Data/KVMap.c ./Lean/Data/LBool.c ./Lean/Data/LOption.c ./Lean/Data/Lsp.c ./Lean/Data/Lsp/Basic.c ./Lean/Data/Lsp/Capabilities.c ./Lean/Data/Lsp/Communication.c ./Lean/Data/Lsp/Diagnostics.c ./Lean/Data/Lsp/Hover.c ./Lean/Data/Lsp/InitShutdown.c ./Lean/Data/Lsp/TextSync.c ./Lean/Data/Lsp/Utf16.c ./Lean/Data/Lsp/Workspace.c ./Lean/Data/Name.c ./Lean/Data/Occurrences.c ./Lean/Data/OpenDecl.c ./Lean/Data/Options.c ./Lean/Data/Position.c ./Lean/Data/SMap.c ./Lean/Data/Trie.c ./Lean/Declaration.c ./Lean/Delaborator.c ./Lean/Elab.c ./Lean/Elab/App.c ./Lean/Elab/Attributes.c ./Lean/Elab/Binders.c ./Lean/Elab/BuiltinNotation.c ./Lean/Elab/CollectFVars.c ./Lean/Elab/Command.c ./Lean/Elab/DeclModifiers.c ./Lean/Elab/DeclUtil.c ./Lean/Elab/Declaration.c ./Lean/Elab/DefView.c ./Lean/Elab/Do.c ./Lean/Elab/Exception.c ./Lean/Elab/Frontend.c ./Lean/Elab/Import.c ./Lean/Elab/Inductive.c ./Lean/Elab/LetRec.c ./Lean/Elab/Level.c ./Lean/Elab/Log.c ./Lean/Elab/Match.c ./Lean/Elab/MutualDef.c ./Lean/Elab/PreDefinition.c ./Lean/Elab/PreDefinition/Basic.c ./Lean/Elab/PreDefinition/Main.c ./Lean/Elab/PreDefinition/MkInhabitant.c ./Lean/Elab/PreDefinition/Structural.c ./Lean/Elab/PreDefinition/WF.c ./Lean/Elab/Print.c ./Lean/Elab/Quotation.c ./Lean/Elab/StructInst.c ./Lean/Elab/Structure.c ./Lean/Elab/Syntax.c ./Lean/Elab/SyntheticMVars.c ./Lean/Elab/Tactic.c ./Lean/Elab/Tactic/Basic.c ./Lean/Elab/Tactic/Binders.c ./Lean/Elab/Tactic/ElabTerm.c ./Lean/Elab/Tactic/Generalize.c ./Lean/Elab/Tactic/Induction.c ./Lean/Elab/Tactic/Injection.c ./Lean/Elab/Tactic/Location.c ./Lean/Elab/Tactic/Match.c ./Lean/Elab/Tactic/Rewrite.c ./Lean/Elab/Term.c ./Lean/Elab/Util.c ./Lean/Environment.c ./Lean/Eval.c ./Lean/Exception.c ./Lean/Expr.c ./Lean/HeadIndex.c ./Lean/Hygiene.c ./Lean/InternalExceptionId.c ./Lean/KeyedDeclsAttribute.c ./Lean/Level.c ./Lean/LocalContext.c ./Lean/Message.c ./Lean/Meta.c ./Lean/Meta/AbstractMVars.c ./Lean/Meta/AbstractNestedProofs.c ./Lean/Meta/AppBuilder.c ./Lean/Meta/Basic.c ./Lean/Meta/Check.c ./Lean/Meta/Closure.c ./Lean/Meta/CollectMVars.c ./Lean/Meta/DiscrTree.c ./Lean/Meta/DiscrTreeTypes.c ./Lean/Meta/ExprDefEq.c ./Lean/Meta/ForEachExpr.c ./Lean/Meta/FunInfo.c ./Lean/Meta/GeneralizeTelescope.c ./Lean/Meta/GetConst.c ./Lean/Meta/InferType.c ./Lean/Meta/Instances.c ./Lean/Meta/KAbstract.c ./Lean/Meta/LevelDefEq.c ./Lean/Meta/Match.c ./Lean/Meta/Match/Basic.c ./Lean/Meta/Match/CaseArraySizes.c ./Lean/Meta/Match/CaseValues.c ./Lean/Meta/Match/MVarRenaming.c ./Lean/Meta/Match/Match.c ./Lean/Meta/Match/MatchPatternAttr.c ./Lean/Meta/Match/MatcherInfo.c ./Lean/Meta/MatchUtil.c ./Lean/Meta/Offset.c ./Lean/Meta/PPGoal.c ./Lean/Meta/RecursorInfo.c ./Lean/Meta/Reduce.c ./Lean/Meta/ReduceEval.c ./Lean/Meta/SynthInstance.c ./Lean/Meta/Tactic.c ./Lean/Meta/Tactic/Apply.c ./Lean/Meta/Tactic/Assert.c ./Lean/Meta/Tactic/Assumption.c ./Lean/Meta/Tactic/Cases.c ./Lean/Meta/Tactic/Clear.c ./Lean/Meta/Tactic/Constructor.c ./Lean/Meta/Tactic/Delta.c ./Lean/Meta/Tactic/ElimInfo.c ./Lean/Meta/Tactic/FVarSubst.c ./Lean/Meta/Tactic/Generalize.c ./Lean/Meta/Tactic/Induction.c ./Lean/Meta/Tactic/Injection.c ./Lean/Meta/Tactic/Intro.c ./Lean/Meta/Tactic/Replace.c ./Lean/Meta/Tactic/Revert.c ./Lean/Meta/Tactic/Rewrite.c ./Lean/Meta/Tactic/Subst.c ./Lean/Meta/Tactic/Util.c ./Lean/Meta/Transform.c ./Lean/Meta/TransparencyMode.c ./Lean/Meta/UnificationHint.c ./Lean/Meta/WHNF.c ./Lean/MetavarContext.c ./Lean/Modifiers.c ./Lean/MonadEnv.c ./Lean/Parser.c ./Lean/Parser/Basic.c ./Lean/Parser/Command.c ./Lean/Parser/Do.c ./Lean/Parser/Extension.c ./Lean/Parser/Extra.c ./Lean/Parser/Level.c ./Lean/Parser/Module.c ./Lean/Parser/StrInterpolation.c ./Lean/Parser/Syntax.c ./Lean/Parser/Tactic.c ./Lean/Parser/Term.c ./Lean/ParserCompiler.c ./Lean/ParserCompiler/Attribute.c ./Lean/PrettyPrinter.c ./Lean/PrettyPrinter/Basic.c ./Lean/PrettyPrinter/Formatter.c ./Lean/PrettyPrinter/Parenthesizer.c ./Lean/ProjFns.c ./Lean/ReducibilityAttrs.c ./Lean/ResolveName.c ./Lean/Runtime.c ./Lean/Server.c ./Lean/Server/Snapshots.c ./Lean/Structure.c ./Lean/Syntax.c ./Lean/ToExpr.c ./Lean/Util.c ./Lean/Util/CollectFVars.c ./Lean/Util/CollectLevelParams.c ./Lean/Util/CollectMVars.c ./Lean/Util/Constructions.c ./Lean/Util/FindExpr.c ./Lean/Util/FindMVar.c ./Lean/Util/FoldConsts.c ./Lean/Util/ForEachExpr.c ./Lean/Util/MonadCache.c ./Lean/Util/PPExt.c ./Lean/Util/Path.c ./Lean/Util/Profile.c ./Lean/Util/RecDepth.c ./Lean/Util/Recognizers.c ./Lean/Util/ReplaceExpr.c ./Lean/Util/ReplaceLevel.c ./Lean/Util/SCC.c ./Lean/Util/Sorry.c ./Lean/Util/Trace.c ./Std.c ./Std/Data.c ./Std/Data/AssocList.c ./Std/Data/BinomialHeap.c ./Std/Data/DList.c ./Std/Data/HashMap.c ./Std/Data/HashSet.c ./Std/Data/PersistentArray.c ./Std/Data/PersistentHashMap.c ./Std/Data/PersistentHashSet.c ./Std/Data/Queue.c ./Std/Data/RBMap.c ./Std/Data/RBTree.c ./Std/Data/Stack.c ./Std/ShareCommon.c ) +add_library (stage0 OBJECT ./Init.c ./Init/Classical.c ./Init/Coe.c ./Init/Control.c ./Init/Control/Basic.c ./Init/Control/EState.c ./Init/Control/Except.c ./Init/Control/Id.c ./Init/Control/Option.c ./Init/Control/Reader.c ./Init/Control/State.c ./Init/Control/StateRef.c ./Init/Core.c ./Init/Data.c ./Init/Data/Array.c ./Init/Data/Array/Basic.c ./Init/Data/Array/BinSearch.c ./Init/Data/Array/QSort.c ./Init/Data/Array/Subarray.c ./Init/Data/Basic.c ./Init/Data/ByteArray.c ./Init/Data/ByteArray/Basic.c ./Init/Data/Char.c ./Init/Data/Char/Basic.c ./Init/Data/Fin.c ./Init/Data/Fin/Basic.c ./Init/Data/Float.c ./Init/Data/FloatArray.c ./Init/Data/FloatArray/Basic.c ./Init/Data/Hashable.c ./Init/Data/Int.c ./Init/Data/Int/Basic.c ./Init/Data/List.c ./Init/Data/List/Basic.c ./Init/Data/List/BasicAux.c ./Init/Data/List/Control.c ./Init/Data/Nat.c ./Init/Data/Nat/Basic.c ./Init/Data/Nat/Bitwise.c ./Init/Data/Nat/Control.c ./Init/Data/Nat/Div.c ./Init/Data/Option.c ./Init/Data/Option/Basic.c ./Init/Data/Option/BasicAux.c ./Init/Data/Option/Instances.c ./Init/Data/Random.c ./Init/Data/Range.c ./Init/Data/Repr.c ./Init/Data/String.c ./Init/Data/String/Basic.c ./Init/Data/String/Extra.c ./Init/Data/ToString.c ./Init/Data/ToString/Basic.c ./Init/Data/ToString/Macro.c ./Init/Data/UInt.c ./Init/Fix.c ./Init/Meta.c ./Init/Notation.c ./Init/NotationExtra.c ./Init/Prelude.c ./Init/SizeOf.c ./Init/System.c ./Init/System/FilePath.c ./Init/System/IO.c ./Init/System/IOError.c ./Init/System/Platform.c ./Init/System/ST.c ./Init/Util.c ./Init/WF.c ./Lean.c ./Lean/Attributes.c ./Lean/AuxRecursor.c ./Lean/Class.c ./Lean/Compiler.c ./Lean/Compiler/BorrowedAnnotation.c ./Lean/Compiler/ClosedTermCache.c ./Lean/Compiler/ConstFolding.c ./Lean/Compiler/ExportAttr.c ./Lean/Compiler/ExternAttr.c ./Lean/Compiler/IR.c ./Lean/Compiler/IR/Basic.c ./Lean/Compiler/IR/Borrow.c ./Lean/Compiler/IR/Boxing.c ./Lean/Compiler/IR/Checker.c ./Lean/Compiler/IR/CompilerM.c ./Lean/Compiler/IR/CtorLayout.c ./Lean/Compiler/IR/ElimDeadBranches.c ./Lean/Compiler/IR/ElimDeadVars.c ./Lean/Compiler/IR/EmitC.c ./Lean/Compiler/IR/EmitUtil.c ./Lean/Compiler/IR/ExpandResetReuse.c ./Lean/Compiler/IR/Format.c ./Lean/Compiler/IR/FreeVars.c ./Lean/Compiler/IR/LiveVars.c ./Lean/Compiler/IR/NormIds.c ./Lean/Compiler/IR/PushProj.c ./Lean/Compiler/IR/RC.c ./Lean/Compiler/IR/ResetReuse.c ./Lean/Compiler/IR/SimpCase.c ./Lean/Compiler/IR/UnboxResult.c ./Lean/Compiler/ImplementedByAttr.c ./Lean/Compiler/InitAttr.c ./Lean/Compiler/InlineAttrs.c ./Lean/Compiler/NameMangling.c ./Lean/Compiler/NeverExtractAttr.c ./Lean/Compiler/Specialize.c ./Lean/Compiler/Util.c ./Lean/CoreM.c ./Lean/Data.c ./Lean/Data/Format.c ./Lean/Data/Json.c ./Lean/Data/Json/Basic.c ./Lean/Data/Json/FromToJson.c ./Lean/Data/Json/Parser.c ./Lean/Data/Json/Printer.c ./Lean/Data/Json/Stream.c ./Lean/Data/JsonRpc.c ./Lean/Data/KVMap.c ./Lean/Data/LBool.c ./Lean/Data/LOption.c ./Lean/Data/Lsp.c ./Lean/Data/Lsp/Basic.c ./Lean/Data/Lsp/Capabilities.c ./Lean/Data/Lsp/Communication.c ./Lean/Data/Lsp/Diagnostics.c ./Lean/Data/Lsp/Hover.c ./Lean/Data/Lsp/InitShutdown.c ./Lean/Data/Lsp/TextSync.c ./Lean/Data/Lsp/Utf16.c ./Lean/Data/Lsp/Workspace.c ./Lean/Data/Name.c ./Lean/Data/Occurrences.c ./Lean/Data/OpenDecl.c ./Lean/Data/Options.c ./Lean/Data/Position.c ./Lean/Data/SMap.c ./Lean/Data/Trie.c ./Lean/Declaration.c ./Lean/Elab.c ./Lean/Elab/App.c ./Lean/Elab/Attributes.c ./Lean/Elab/Binders.c ./Lean/Elab/BuiltinNotation.c ./Lean/Elab/CollectFVars.c ./Lean/Elab/Command.c ./Lean/Elab/DeclModifiers.c ./Lean/Elab/DeclUtil.c ./Lean/Elab/Declaration.c ./Lean/Elab/DefView.c ./Lean/Elab/Do.c ./Lean/Elab/Exception.c ./Lean/Elab/Frontend.c ./Lean/Elab/Import.c ./Lean/Elab/Inductive.c ./Lean/Elab/LetRec.c ./Lean/Elab/Level.c ./Lean/Elab/Log.c ./Lean/Elab/Match.c ./Lean/Elab/MutualDef.c ./Lean/Elab/PreDefinition.c ./Lean/Elab/PreDefinition/Basic.c ./Lean/Elab/PreDefinition/Main.c ./Lean/Elab/PreDefinition/MkInhabitant.c ./Lean/Elab/PreDefinition/Structural.c ./Lean/Elab/PreDefinition/WF.c ./Lean/Elab/Print.c ./Lean/Elab/Quotation.c ./Lean/Elab/StructInst.c ./Lean/Elab/Structure.c ./Lean/Elab/Syntax.c ./Lean/Elab/SyntheticMVars.c ./Lean/Elab/Tactic.c ./Lean/Elab/Tactic/Basic.c ./Lean/Elab/Tactic/Binders.c ./Lean/Elab/Tactic/ElabTerm.c ./Lean/Elab/Tactic/Generalize.c ./Lean/Elab/Tactic/Induction.c ./Lean/Elab/Tactic/Injection.c ./Lean/Elab/Tactic/Location.c ./Lean/Elab/Tactic/Match.c ./Lean/Elab/Tactic/Rewrite.c ./Lean/Elab/Term.c ./Lean/Elab/Util.c ./Lean/Environment.c ./Lean/Eval.c ./Lean/Exception.c ./Lean/Expr.c ./Lean/HeadIndex.c ./Lean/Hygiene.c ./Lean/InternalExceptionId.c ./Lean/KeyedDeclsAttribute.c ./Lean/Level.c ./Lean/LocalContext.c ./Lean/Message.c ./Lean/Meta.c ./Lean/Meta/AbstractMVars.c ./Lean/Meta/AbstractNestedProofs.c ./Lean/Meta/AppBuilder.c ./Lean/Meta/Basic.c ./Lean/Meta/Check.c ./Lean/Meta/Closure.c ./Lean/Meta/CollectMVars.c ./Lean/Meta/DiscrTree.c ./Lean/Meta/DiscrTreeTypes.c ./Lean/Meta/ExprDefEq.c ./Lean/Meta/ForEachExpr.c ./Lean/Meta/FunInfo.c ./Lean/Meta/GeneralizeTelescope.c ./Lean/Meta/GetConst.c ./Lean/Meta/InferType.c ./Lean/Meta/Instances.c ./Lean/Meta/KAbstract.c ./Lean/Meta/LevelDefEq.c ./Lean/Meta/Match.c ./Lean/Meta/Match/Basic.c ./Lean/Meta/Match/CaseArraySizes.c ./Lean/Meta/Match/CaseValues.c ./Lean/Meta/Match/MVarRenaming.c ./Lean/Meta/Match/Match.c ./Lean/Meta/Match/MatchPatternAttr.c ./Lean/Meta/Match/MatcherInfo.c ./Lean/Meta/MatchUtil.c ./Lean/Meta/Offset.c ./Lean/Meta/PPGoal.c ./Lean/Meta/RecursorInfo.c ./Lean/Meta/Reduce.c ./Lean/Meta/ReduceEval.c ./Lean/Meta/SynthInstance.c ./Lean/Meta/Tactic.c ./Lean/Meta/Tactic/Apply.c ./Lean/Meta/Tactic/Assert.c ./Lean/Meta/Tactic/Assumption.c ./Lean/Meta/Tactic/Cases.c ./Lean/Meta/Tactic/Clear.c ./Lean/Meta/Tactic/Constructor.c ./Lean/Meta/Tactic/Delta.c ./Lean/Meta/Tactic/ElimInfo.c ./Lean/Meta/Tactic/FVarSubst.c ./Lean/Meta/Tactic/Generalize.c ./Lean/Meta/Tactic/Induction.c ./Lean/Meta/Tactic/Injection.c ./Lean/Meta/Tactic/Intro.c ./Lean/Meta/Tactic/Replace.c ./Lean/Meta/Tactic/Revert.c ./Lean/Meta/Tactic/Rewrite.c ./Lean/Meta/Tactic/Subst.c ./Lean/Meta/Tactic/Util.c ./Lean/Meta/Transform.c ./Lean/Meta/TransparencyMode.c ./Lean/Meta/UnificationHint.c ./Lean/Meta/WHNF.c ./Lean/MetavarContext.c ./Lean/Modifiers.c ./Lean/MonadEnv.c ./Lean/Parser.c ./Lean/Parser/Basic.c ./Lean/Parser/Command.c ./Lean/Parser/Do.c ./Lean/Parser/Extension.c ./Lean/Parser/Extra.c ./Lean/Parser/Level.c ./Lean/Parser/Module.c ./Lean/Parser/StrInterpolation.c ./Lean/Parser/Syntax.c ./Lean/Parser/Tactic.c ./Lean/Parser/Term.c ./Lean/Parser/Transform.c ./Lean/ParserCompiler.c ./Lean/ParserCompiler/Attribute.c ./Lean/PrettyPrinter.c ./Lean/PrettyPrinter/Basic.c ./Lean/PrettyPrinter/Delaborator.c ./Lean/PrettyPrinter/Delaborator/Basic.c ./Lean/PrettyPrinter/Delaborator/Builtins.c ./Lean/PrettyPrinter/Formatter.c ./Lean/PrettyPrinter/Parenthesizer.c ./Lean/ProjFns.c ./Lean/ReducibilityAttrs.c ./Lean/ResolveName.c ./Lean/Runtime.c ./Lean/Server.c ./Lean/Server/ServerBin.c ./Lean/Server/Snapshots.c ./Lean/Structure.c ./Lean/Syntax.c ./Lean/ToExpr.c ./Lean/Util.c ./Lean/Util/CollectFVars.c ./Lean/Util/CollectLevelParams.c ./Lean/Util/CollectMVars.c ./Lean/Util/Constructions.c ./Lean/Util/FindExpr.c ./Lean/Util/FindMVar.c ./Lean/Util/FoldConsts.c ./Lean/Util/ForEachExpr.c ./Lean/Util/MonadCache.c ./Lean/Util/PPExt.c ./Lean/Util/Path.c ./Lean/Util/Profile.c ./Lean/Util/RecDepth.c ./Lean/Util/Recognizers.c ./Lean/Util/ReplaceExpr.c ./Lean/Util/ReplaceLevel.c ./Lean/Util/SCC.c ./Lean/Util/Sorry.c ./Lean/Util/Trace.c ./Std.c ./Std/Data.c ./Std/Data/AssocList.c ./Std/Data/BinomialHeap.c ./Std/Data/DList.c ./Std/Data/HashMap.c ./Std/Data/HashSet.c ./Std/Data/PersistentArray.c ./Std/Data/PersistentHashMap.c ./Std/Data/PersistentHashSet.c ./Std/Data/Queue.c ./Std/Data/RBMap.c ./Std/Data/RBTree.c ./Std/Data/Stack.c ./Std/ShareCommon.c ) diff --git a/stage0/stdlib/Lean.c b/stage0/stdlib/Lean.c index e04ab6f170..e52244b0dd 100644 --- a/stage0/stdlib/Lean.c +++ b/stage0/stdlib/Lean.c @@ -1,6 +1,6 @@ // Lean compiler output // Module: Lean -// Imports: Init Lean.Data Lean.Compiler Lean.Environment Lean.Modifiers Lean.ProjFns Lean.Runtime Lean.ResolveName Lean.Attributes Lean.Parser Lean.ReducibilityAttrs Lean.Elab Lean.Class Lean.LocalContext Lean.MetavarContext Lean.AuxRecursor Lean.Meta Lean.Util Lean.Eval Lean.Structure Lean.Delaborator Lean.PrettyPrinter Lean.CoreM Lean.InternalExceptionId Lean.Server +// Imports: Init Lean.Data Lean.Compiler Lean.Environment Lean.Modifiers Lean.ProjFns Lean.Runtime Lean.ResolveName Lean.Attributes Lean.Parser Lean.ReducibilityAttrs Lean.Elab Lean.Class Lean.LocalContext Lean.MetavarContext Lean.AuxRecursor Lean.Meta Lean.Util Lean.Eval Lean.Structure Lean.PrettyPrinter Lean.CoreM Lean.InternalExceptionId Lean.Server #include #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" @@ -33,7 +33,6 @@ lean_object* initialize_Lean_Meta(lean_object*); lean_object* initialize_Lean_Util(lean_object*); lean_object* initialize_Lean_Eval(lean_object*); lean_object* initialize_Lean_Structure(lean_object*); -lean_object* initialize_Lean_Delaborator(lean_object*); lean_object* initialize_Lean_PrettyPrinter(lean_object*); lean_object* initialize_Lean_CoreM(lean_object*); lean_object* initialize_Lean_InternalExceptionId(lean_object*); @@ -103,9 +102,6 @@ lean_dec_ref(res); res = initialize_Lean_Structure(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -res = initialize_Lean_Delaborator(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); res = initialize_Lean_PrettyPrinter(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); diff --git a/stage0/stdlib/Lean/Delaborator.c b/stage0/stdlib/Lean/Delaborator.c deleted file mode 100644 index f5729ce8d8..0000000000 --- a/stage0/stdlib/Lean/Delaborator.c +++ /dev/null @@ -1,37451 +0,0 @@ -// Lean compiler output -// Module: Lean.Delaborator -// Imports: Init Lean.KeyedDeclsAttribute Lean.ProjFns Lean.Syntax Lean.Meta.Match Lean.Elab.Term -#include -#if defined(__clang__) -#pragma clang diagnostic ignored "-Wunused-parameter" -#pragma clang diagnostic ignored "-Wunused-label" -#elif defined(__GNUC__) && !defined(__CLANG__) -#pragma GCC diagnostic ignored "-Wunused-parameter" -#pragma GCC diagnostic ignored "-Wunused-label" -#pragma GCC diagnostic ignored "-Wunused-but-set-variable" -#endif -#ifdef __cplusplus -extern "C" { -#endif -lean_object* l___private_Lean_Delaborator_0__Lean_Delaborator_shouldGroupWithNext(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___regBuiltin_Lean_Delaborator_delabBAnd(lean_object*); -lean_object* l_Lean_Level_dec(lean_object*); -lean_object* l_Lean_Delaborator_delabBind___lambda__1___closed__1; -lean_object* l_Lean_Delaborator_withMDataExpr___rarg___closed__1; -lean_object* l_Lean_Delaborator_delabBAnd___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Expr_ctorName___closed__7; -extern lean_object* l___kind_term____x40_Init_Notation___hyg_4665____closed__1; -lean_object* l_Lean_Delaborator_delabseqRight___closed__1; -extern lean_object* l_Lean_Name_toString___closed__1; -extern lean_object* l_myMacro____x40_Init_Notation___hyg_8830____closed__4; -lean_object* l_Lean_Delaborator_delabDoElems___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabZero___closed__1; -lean_object* l_Lean_Delaborator_delabConst___lambda__1___closed__3; -lean_object* l_Lean_Delaborator_delabDoElems___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___regBuiltin_Lean_Delaborator_delabEq(lean_object*); -lean_object* l_Lean_Delaborator_withAppFn___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabOfNat(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_myMacro____x40_Init_Notation___hyg_8830____closed__13; -lean_object* l_Lean_Delaborator_delabseq___lambda__1___closed__1; -lean_object* l___private_Lean_Delaborator_0__Lean_Delaborator_delabBinders___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_withProj(lean_object*); -lean_object* l_Lean_Delaborator_delabBind(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Level_quote___closed__6; -extern lean_object* l_Lean_Meta_Match_Pattern_toExpr_visit___closed__2; -extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__27; -size_t l_USize_add(size_t, size_t); -extern lean_object* l_Lean_fieldIdxKind; -lean_object* l___regBuiltin_Lean_Delaborator_delabZero(lean_object*); -lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingAuxAux___rarg(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___regBuiltin_Lean_Delaborator_delabBind___closed__2; -lean_object* l_Lean_Delaborator_delabFComp___lambda__1___closed__2; -extern lean_object* l___kind_term____x40_Init_Control_Basic___hyg_475____closed__1; -lean_object* l_Lean_Delaborator_delabDoElems___lambda__4___closed__1; -lean_object* l_Lean_Delaborator_delabMapRev___closed__1; -lean_object* l_Lean_Delaborator_delabseqRight___lambda__1___closed__2; -lean_object* l_Lean_Delaborator_delabOrElse___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabProjectionApp___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Std_PersistentHashMap_findAux___at_Lean_Delaborator_delabFor___spec__3(lean_object*, size_t, lean_object*); -extern lean_object* l_Lean_Syntax_strLitToAtom___closed__3; -lean_object* l_Lean_registerTraceClass(lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabMData_match__4___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabseq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___regBuiltin_Lean_Delaborator_delabMul___closed__3; -lean_object* l_Lean_Delaborator_delabProj___closed__2; -lean_object* l_Lean_Delaborator_delabForall_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_orElse(lean_object*); -lean_object* l_Lean_Delaborator_delabProd___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_getExprKind___closed__9; -extern lean_object* l_myMacro____x40_Init_Notation___hyg_1210____closed__4; -lean_object* l_Lean_Delaborator_delabProj_match__1___rarg(lean_object*, lean_object*, lean_object*); -extern lean_object* l_myMacro____x40_Init_Notation___hyg_2714____closed__6; -lean_object* lean_local_ctx_get_unused_name(lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabConst___lambda__1___closed__5; -lean_object* l___regBuiltin_Lean_Delaborator_delabFVar___closed__1; -lean_object* l_Lean_Delaborator_delabSort_match__1(lean_object*); -lean_object* lean_mk_empty_array_with_capacity(lean_object*); -lean_object* l___regBuiltin_Lean_Delaborator_delabMod(lean_object*); -lean_object* l_Lean_Delaborator_delabseqRight___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabProd___closed__1; -lean_object* l_Lean_Delaborator_annotatePos(lean_object*, lean_object*); -extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_9654____closed__4; -lean_object* l___regBuiltin_Lean_Delaborator_delabZero___closed__3; -lean_object* l_Lean_Delaborator_delabMVar_match__1___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_withLetDecl___at_Lean_Delaborator_delabLetE___spec__1(lean_object*); -lean_object* l_Lean_Delaborator_delabAdd___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_addParenHeuristic___closed__2; -lean_object* l___private_Lean_Delaborator_0__Lean_Delaborator_shouldGroupWithNext_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabLE___lambda__1___closed__4; -lean_object* l___regBuiltin_Lean_Delaborator_delabZero___closed__1; -lean_object* l___regBuiltin_Lean_Delaborator_delabConsList___closed__1; -extern lean_object* l_Lean_withIncRecDepth___rarg___lambda__2___closed__2; -lean_object* l_Lean_Delaborator_delabSort_match__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_LocalDecl_userName(lean_object*); -lean_object* l_Lean_Delaborator_delabFComp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabOr___lambda__1___closed__2; -extern lean_object* l_Lean_nullKind; -lean_object* l___regBuiltin_Lean_Delaborator_delabAppMatch___closed__1; -lean_object* l_Lean_Delaborator_delabLam___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Level_quote___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_myMacro____x40_Init_Notation___hyg_5036____closed__4; -lean_object* l_Lean_Delaborator_delabProjectionApp_match__2(lean_object*); -lean_object* l___regBuiltin_Lean_Delaborator_delabBind___closed__1; -lean_object* l_Lean_Delaborator_delabseqLeft___lambda__1___closed__2; -lean_object* l_Lean_Delaborator_getExpr___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___regBuiltin_Lean_Delaborator_delabseqRight___closed__2; -lean_object* lean_name_mk_string(lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_getExpr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabDoElems___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___regBuiltin_Lean_Delaborator_delabNe___closed__1; -lean_object* l_Lean_Delaborator_delabAppend___closed__1; -lean_object* l_Array_eraseIdx___rarg(lean_object*, lean_object*); -uint8_t l_USize_decEq(size_t, size_t); -lean_object* l_Lean_Delaborator_delabOr___lambda__1___closed__1; -lean_object* lean_array_uget(lean_object*, size_t); -lean_object* l___regBuiltin_Lean_Delaborator_delabDiv___closed__1; -lean_object* l_Lean_Delaborator_AppMatchState_moreArgs___default; -lean_object* l_Array_zipWithAux___at_Lean_Delaborator_delabAppMatch___spec__4___closed__1; -lean_object* l_Lean_Delaborator_delabAnd___closed__1; -lean_object* l___private_Lean_Delaborator_0__Lean_Delaborator_shouldGroupWithNext_match__1(lean_object*); -lean_object* l___regBuiltin_Lean_Delaborator_delabZero___closed__2; -lean_object* l_Lean_Meta_inferType___at___private_Lean_Delaborator_0__Lean_Delaborator_delabPatterns___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabMod___lambda__1___closed__2; -lean_object* l_Lean_Delaborator_delabAppImplicit_match__1(lean_object*); -lean_object* l_Lean_Delaborator_delabOr___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_getParamKinds___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___regBuiltin_Lean_Delaborator_delabFVar(lean_object*); -lean_object* l_Lean_Delaborator_delabGE(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l___kind_stx____x40_Init_Notation___hyg_7943____closed__2; -lean_object* l_Lean_Expr_bindingDomain_x21(lean_object*); -lean_object* l_Array_append___rarg(lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabGE___closed__1; -extern lean_object* l___kind_term____x40_Init_Core___hyg_315____closed__1; -lean_object* l_Array_mapMUnsafe_map___at_Lean_Delaborator_getParamKinds___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabBind___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t l_Lean_getPPCoercions(lean_object*); -lean_object* l_Lean_Delaborator_delabGT(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabGT___closed__1; -lean_object* l_Lean_Delaborator_delabModN___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delab___closed__3; -lean_object* l___regBuiltin_Lean_Delaborator_delabCoeFun(lean_object*); -extern lean_object* l_myMacro____x40_Init_Notation___hyg_3212____closed__1; -lean_object* l_Lean_Delaborator_delab(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Delaborator_0__Lean_Delaborator_delabBinders___closed__1; -lean_object* l_Lean_Delaborator_delabDiv(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabAppExplicit_match__2___rarg(lean_object*, lean_object*); -lean_object* l___private_Lean_Delaborator_0__Lean_Delaborator_delabPatterns(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Syntax_mkSep(lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabAppMatch___lambda__3___closed__9; -lean_object* l_Lean_Delaborator_delabConst___lambda__1___closed__6; -lean_object* l___private_Lean_Delaborator_0__Lean_Delaborator_skippingBinders(lean_object*); -lean_object* l_Lean_getConstInfo___at_Lean_Delaborator_delabAppMatch___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Int_repr___closed__1; -lean_object* l_Lean_Delaborator_instMonadQuotationDelabM___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabFVar_match__1___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabListToArray___closed__1; -lean_object* l_Lean_Delaborator_delabBind___lambda__1___closed__2; -lean_object* l_Lean_Delaborator_delabInfixOp___closed__1; -lean_object* l_Lean_Delaborator_delabNe___lambda__1(uint8_t, 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_874____closed__6; -lean_object* l_Lean_Delaborator_withBindingBody___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Syntax_isAtom___boxed(lean_object*); -lean_object* l_Lean_Meta_getLocalDecl___at_Lean_Delaborator_delabFVar___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabListToArray___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___regBuiltin_Lean_Delaborator_delabAppImplicit___closed__1; -lean_object* l___regBuiltin_Lean_Delaborator_delabStructureInstance___closed__1; -lean_object* l_Lean_Delaborator_delabOrElse___closed__1; -lean_object* l___regBuiltin_Lean_Delaborator_delabseqRight___closed__1; -lean_object* l_Lean_Delaborator_delabInfixOp___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabStructureInstance___lambda__3___closed__6; -lean_object* l_Lean_Delaborator_delabseq___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___regBuiltin_Lean_Delaborator_delabMData___closed__1; -lean_object* lean_array_uset(lean_object*, size_t, lean_object*); -lean_object* l_Lean_Delaborator_withProj___rarg___closed__2; -lean_object* l_Lean_Meta_inferType___at___private_Lean_Meta_InferType_0__Lean_Meta_inferAppType___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_myMacro____x40_Init_Notation___hyg_8830____closed__6; -lean_object* l_Lean_Delaborator_delabseqRight___lambda__1___closed__1; -lean_object* l_Lean_Delaborator_delabLam(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_whenNotPPOption(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabStructureInstance___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabStructureInstance_match__3(lean_object*); -lean_object* l_Lean_Delaborator_getExprKind___closed__1; -lean_object* l_Lean_Delaborator_getExprKind___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_myMacro____x40_Init_Notation___hyg_2549____closed__1; -lean_object* l_Lean_Delaborator_delabDoElems___lambda__4___closed__2; -lean_object* l_Lean_getPPStructureProjections___closed__1; -lean_object* l_Lean_Delaborator_withAppFn(lean_object*); -uint8_t l_Lean_getPPExplicit(lean_object*); -extern lean_object* l_myMacro____x40_Init_Notation___hyg_5739____closed__19; -lean_object* l_Lean_Delaborator_delabBNe___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___regBuiltin_Lean_Delaborator_delabOrElse___closed__3; -extern lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__12; -lean_object* l_Lean_Delaborator_delabStructureInstance___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_myMacro____x40_Init_Notation___hyg_6336____closed__4; -lean_object* l___private_Lean_Delaborator_0__Lean_Delaborator_unresolveOpenDecls___boxed(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_206____closed__1; -lean_object* l_Lean_Delaborator_delabInfixOp___lambda__1___closed__1; -lean_object* l_Lean_Delaborator_delabNot(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabseq___lambda__1___closed__2; -lean_object* l_Lean_Delaborator_mkDelabAttribute___closed__3; -lean_object* l___regBuiltin_Lean_Delaborator_delabOfNat___closed__3; -lean_object* l_Lean_Delaborator_delabEquiv___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabListToArray___closed__2; -lean_object* l_Lean_Delaborator_delabAppImplicit___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_mapIdxM_map___at___private_Lean_Delaborator_0__Lean_Delaborator_delabPatterns___spec__3___lambda__1(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_Lean_Meta_isLevelDefEqAux___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDeclImp___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabAppMatch___lambda__3___closed__2; -extern lean_object* l_myMacro____x40_Init_Core___hyg_715____closed__4; -lean_object* l_Lean_getPPNotation___boxed(lean_object*); -lean_object* l_Lean_Delaborator_delabEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Level_quote___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -size_t l_USize_sub(size_t, size_t); -extern lean_object* l_Array_empty___closed__1; -lean_object* l_Lean_Delaborator_delabLit_match__1___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l___regBuiltin_Lean_Delaborator_delabTuple(lean_object*); -lean_object* lean_environment_find(lean_object*, lean_object*); -lean_object* l_Lean_getPPNotation___closed__1; -lean_object* l_Array_mapMUnsafe_map___at_Lean_Delaborator_getParamKinds___spec__1(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabStructureInstance___lambda__3___closed__4; -lean_object* l_Lean_Delaborator_delabNot___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabOr___lambda__1___closed__4; -lean_object* l_Lean_Delaborator_delabAppImplicit_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Expr_ctorName___closed__1; -lean_object* l_Lean_Delaborator_delabMVar_match__1(lean_object*); -lean_object* l_Array_zipWithAux___at_Lean_Delaborator_delabAppMatch___spec__4___closed__2; -lean_object* l_Lean_Delaborator_delabAnd___lambda__1___closed__2; -lean_object* l_Lean_Level_quote___lambda__6___closed__1; -extern lean_object* l_Lean_Elab_Term_mkExplicitBinder___closed__2; -extern lean_object* l_myMacro____x40_Init_Notation___hyg_8830____closed__8; -lean_object* l_Lean_Delaborator_delabFComp___lambda__1___closed__1; -lean_object* l_Lean_Delaborator_withAppArg(lean_object*); -lean_object* l_Lean_Delaborator_delabAppImplicit___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_withAppFn___rarg___closed__2; -extern lean_object* l_myMacro____x40_Init_Notation___hyg_4868____closed__4; -extern lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__3; -lean_object* l___regBuiltin_Lean_Delaborator_delabGT(lean_object*); -lean_object* l_Lean_Delaborator_delabDoElems___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* l___regBuiltin_Lean_Delaborator_delabLE___closed__3; -lean_object* l___regBuiltin_Lean_Delaborator_delabAppend___closed__1; -extern lean_object* l_myMacro____x40_Init_Notation___hyg_5540____closed__6; -lean_object* l_Lean_Delaborator_delabMul___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* lean_st_ref_get(lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabCoeFun(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_ReaderT_pure___at_Lean_Delaborator_instMonadQuotationDelabM___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Parser_Tactic_matchAlts___closed__1; -lean_object* l_Lean_Delaborator_descend___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_List_tailD___rarg(lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabFComp___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabStructureInstance___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabBAnd___lambda__1___closed__1; -lean_object* l_Lean_Delaborator_delabMod___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabConsList___closed__2; -lean_object* l_Lean_Delaborator_delabAnd___lambda__1___closed__4; -uint8_t lean_name_eq(lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabBind___closed__1; -lean_object* l_Lean_Delaborator_withMDataExpr_match__1___rarg(lean_object*, lean_object*, lean_object*); -lean_object* lean_private_to_user_name(lean_object*); -lean_object* l_Lean_Level_quote___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabMData_match__4(lean_object*); -lean_object* l_Lean_Delaborator_delabSort_match__1___rarg(lean_object*, lean_object*, lean_object*); -extern lean_object* l_myMacro____x40_Init_Notation___hyg_4700____closed__4; -lean_object* l_Lean_Delaborator_delabDiv___lambda__1___closed__1; -lean_object* l_Lean_Delaborator_withMDataExpr_match__1(lean_object*); -lean_object* l___regBuiltin_Lean_Delaborator_delabGE(lean_object*); -lean_object* l_Lean_Delaborator_delabConsList___closed__1; -extern lean_object* l_Lean_Expr_ctorName___closed__2; -lean_object* l_Lean_Delaborator_mkDelabAttribute___closed__10; -lean_object* l_Lean_Delaborator_delabMod___lambda__1___closed__1; -lean_object* l_Lean_Delaborator_delabSort_match__2(lean_object*); -extern lean_object* l_Lean_Expr_ctorName___closed__8; -lean_object* l_ReaderT_bind___at_Lean_Level_quote___spec__1(lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabLetE_match__1(lean_object*); -lean_object* l___regBuiltin_Lean_Delaborator_delabDiv(lean_object*); -lean_object* l_Lean_Delaborator_withMDataExpr(lean_object*); -lean_object* l___regBuiltin_Lean_Delaborator_delabFComp(lean_object*); -lean_object* l_Lean_Delaborator_delabAppMatch___lambda__3___closed__4; -lean_object* l___regBuiltin_Lean_Delaborator_delabDiv___closed__2; -extern lean_object* l_instInhabitedNat; -uint8_t l_Lean_Delaborator_hasIdent(lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabCoe___closed__1; -lean_object* l_Lean_Delaborator_withMDataExpr___rarg___closed__2; -lean_object* l_Lean_Delaborator_delabEquiv___closed__1; -extern lean_object* l___kind_term____x40_Init_NotationExtra___hyg_2577____closed__2; -extern lean_object* l___kind_term____x40_Init_Notation___hyg_2514____closed__1; -lean_object* l_Lean_Delaborator_delabLit_match__2___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabCons___closed__1; -lean_object* l_Lean_Delaborator_withProj___rarg___closed__1; -lean_object* l___regBuiltin_Lean_Delaborator_delabBAnd___closed__2; -lean_object* l___regBuiltin_Lean_Delaborator_delabAnd___closed__2; -lean_object* lean_expr_instantiate1(lean_object*, lean_object*); -lean_object* l_Array_toSubarray___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabMod(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* lean_array_push(lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabAppExplicit_match__1(lean_object*); -lean_object* lean_array_get_size(lean_object*); -lean_object* l_Lean_Delaborator_delabMod___lambda__1(uint8_t, 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_5204____closed__6; -lean_object* l_Lean_Delaborator_delabLam___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_instInhabitedDelabM___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabAppMatch_match__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_zipWithAux___at_Lean_Delaborator_delabAppMatch___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___regBuiltin_Lean_Delaborator_delabNe___closed__2; -lean_object* l_Lean_Delaborator_delabAppImplicit_match__2(lean_object*); -lean_object* lean_string_append(lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabMap___lambda__1___closed__2; -lean_object* l_Lean_Delaborator_delabAnd___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabPow(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_myMacro____x40_Init_Notation___hyg_5739____closed__11; -lean_object* l_Lean_Delaborator_getExprKind___closed__8; -lean_object* l_Lean_Level_quote___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabDoElems_match__2___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabStructureInstance___lambda__3___closed__1; -lean_object* l_Lean_Delaborator_delabAndM___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t l_Lean_Name_isPrefixOf(lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabseqLeft___lambda__1___closed__1; -lean_object* l_Lean_Delaborator_delabAnd___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabMData___closed__4; -lean_object* l_Lean_Level_quote___lambda__1___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l___regBuiltin_Lean_Delaborator_delabForall___closed__1; -lean_object* l_Lean_Expr_getOptParamDefault_x3f(lean_object*); -lean_object* l_Lean_Delaborator_delabAppMatch___lambda__3___closed__11; -lean_object* l_Lean_Delaborator_delabLam___lambda__3___closed__2; -lean_object* l_Lean_throwError___at_Lean_Delaborator_delabAppMatch___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabseqLeft___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l___kind_term____x40_Init_Notation___hyg_839____closed__1; -lean_object* l___regBuiltin_Lean_Delaborator_delabBind___closed__3; -lean_object* l_Lean_Delaborator_delabMap(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___regBuiltin_Lean_Delaborator_delabFComp___closed__3; -lean_object* l_Lean_Delaborator_delabseqLeft(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t l_Lean_getPPStructureProjections(lean_object*); -lean_object* l_Lean_Delaborator_delabLit___closed__2; -extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__35; -lean_object* l_Lean_Delaborator_delabAndThen___closed__1; -extern lean_object* l_myMacro____x40_Init_Control_Basic___hyg_75____closed__6; -lean_object* l_Lean_Delaborator_liftMetaM___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Level_getOffsetAux(lean_object*, lean_object*); -extern lean_object* l___kind_stx____x40_Init_Notation___hyg_7296____closed__8; -extern lean_object* l_Lean_Meta_evalNat_visit___closed__10; -lean_object* l_Lean_Delaborator_delabListToArray___lambda__1___closed__1; -lean_object* l_Lean_Delaborator_delabAnd___lambda__1___closed__1; -lean_object* l_Lean_Level_quote_match__1(lean_object*); -lean_object* l_Lean_getPPFullNames___closed__1; -extern lean_object* l___regBuiltin_Lean_Elab_Term_elabTypeStx___closed__2; -lean_object* l_Lean_Delaborator_delabAppMatch___closed__2; -lean_object* l_Array_foldrMUnsafe_fold___at_Lean_Delaborator_delabForall___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Level_quote___lambda__4___closed__2; -extern lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_845____closed__4; -lean_object* l_Lean_Delaborator_getExprKind___closed__4; -extern lean_object* l___kind_stx____x40_Init_Notation___hyg_7322____closed__2; -lean_object* l_Lean_Delaborator_annotateCurPos___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___regBuiltin_Lean_Delaborator_delabCons___closed__2; -lean_object* l___regBuiltin_Lean_Delaborator_delabAdd___closed__3; -lean_object* l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1019____spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabZero___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -size_t l_USize_shiftRight(size_t, size_t); -lean_object* l_Lean_Delaborator_delabDoElems_match__1(lean_object*); -lean_object* l_Lean_Level_quote___lambda__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_getPPFullNames___boxed(lean_object*); -lean_object* l_Lean_Delaborator_delabLam_match__1(lean_object*); -lean_object* l_Lean_Delaborator_delabBNot___lambda__1___closed__3; -lean_object* l___regBuiltin_Lean_Delaborator_delabEquiv___closed__1; -lean_object* l_Lean_Delaborator_getPPOption_match__1(lean_object*); -lean_object* l_Std_PersistentHashMap_findAtAux___at_Lean_Delaborator_delabFor___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___regBuiltin_Lean_Delaborator_delabProd(lean_object*); -lean_object* l_Lean_Delaborator_delabBind___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabAppMatch_match__1___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l___regBuiltin_Lean_Delaborator_delabLetE___closed__1; -lean_object* l_Lean_Delaborator_delabAdd___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__28; -lean_object* l___regBuiltin_Lean_Delaborator_delabOfNat(lean_object*); -lean_object* l_Lean_Delaborator_delabDoElems___lambda__4___closed__4; -lean_object* l___regBuiltin_Lean_Delaborator_delabBEq___closed__1; -lean_object* l_Lean_Delaborator_delabBAnd___lambda__1___closed__2; -lean_object* l_Lean_Delaborator_withProj_match__1(lean_object*); -lean_object* l_Lean_Meta_withLetDecl___at_Lean_Delaborator_delabLetE___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l___kind_term____x40_Init_Notation___hyg_1850____closed__1; -lean_object* l_Lean_mkAtom(lean_object*); -lean_object* l_Lean_Delaborator_withAppArg_match__1___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabMap___lambda__1___closed__1; -lean_object* l_Lean_Delaborator_delabOr___lambda__1(uint8_t, 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_Delaborator_delabFor___spec__5(lean_object*, lean_object*); -lean_object* l___regBuiltin_Lean_Delaborator_delabNamedPattern(lean_object*); -lean_object* l___regBuiltin_Lean_Delaborator_delabOr(lean_object*); -lean_object* l___regBuiltin_Lean_Delaborator_delabBEq___closed__2; -extern lean_object* l_Lean_initFn____x40_Lean_Util_PPExt___hyg_3____closed__8; -lean_object* l_Lean_Delaborator_delabEq___closed__1; -lean_object* l___regBuiltin_Lean_Delaborator_delabAppImplicit(lean_object*); -lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabLE___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Level_quote_match__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabStructureInstance___closed__4; -lean_object* l___regBuiltin_Lean_Delaborator_delabMVar(lean_object*); -lean_object* l_Lean_Delaborator_withAppFn___rarg___closed__1; -uint8_t l_USize_decLt(size_t, size_t); -lean_object* l_Lean_Delaborator_withMDataExpr___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabCoe___closed__2; -lean_object* l_Lean_Delaborator_delabAppMatch___closed__1; -extern lean_object* l___kind_term____x40_Init_Notation___hyg_4497____closed__1; -lean_object* l_Lean_Delaborator_delabListToArray___lambda__1___closed__2; -lean_object* l_Lean_Delaborator_delabMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_myMacro____x40_Init_Notation___hyg_1378____closed__6; -lean_object* l_Lean_Delaborator_delabAppExplicit_match__2(lean_object*); -lean_object* l___regBuiltin_Lean_Delaborator_delabAppend___closed__2; -lean_object* l_Lean_Level_quote___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabStructureInstance___lambda__3___closed__2; -lean_object* l_Lean_Delaborator_delabAppImplicit_match__3___rarg(lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabAnd___lambda__1___closed__3; -lean_object* l_Lean_Delaborator_delabCoe___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_myMacro____x40_Init_Notation___hyg_5372____closed__4; -extern lean_object* l_myMacro____x40_Init_Notation___hyg_706____closed__4; -lean_object* l_Lean_Delaborator_delabTuple(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_orElse___rarg(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_8830____closed__2; -lean_object* l___regBuiltin_Lean_Delaborator_delabBind(lean_object*); -lean_object* l_Lean_Delaborator_delabMap___lambda__1___boxed(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_8168____closed__8; -lean_object* l_Lean_Delaborator_delabBAnd___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_PersistentHashMap_findAux___at_Lean_Delaborator_delabFor___spec__3___boxed(lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Meta_Match_Pattern_toExpr_visit___closed__1; -lean_object* l_Lean_Delaborator_instOrElseDelabM___closed__1; -lean_object* l___regBuiltin_Lean_Delaborator_delabCoe___closed__1; -lean_object* l_Array_mapIdxM_map___at_Lean_Delaborator_delabStructureInstance___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Delaborator_0__Lean_Delaborator_delabPatterns___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t l_Lean_getPPUniverses(lean_object*); -extern lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3420____closed__9; -lean_object* l___regBuiltin_Lean_Delaborator_delabHEq(lean_object*); -lean_object* lean_nat_add(lean_object*, lean_object*); -lean_object* lean_get_projection_info(lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabMVar___closed__3; -extern lean_object* l_myMacro____x40_Init_Notation___hyg_4364____closed__6; -lean_object* l___regBuiltin_Lean_Delaborator_delabNil(lean_object*); -lean_object* l_Lean_Delaborator_annotatePos_match__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabLE(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabDoElems___lambda__1___closed__2; -extern lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_isExplicit___closed__1; -extern lean_object* l_Lean_throwUnknownConstant___rarg___closed__2; -lean_object* l_Lean_delab___closed__3; -lean_object* l_Array_mapMUnsafe_map___at_Lean_Delaborator_getParamKinds___spec__1___closed__1; -lean_object* l_Lean_Level_quote___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabAppMatch___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Delaborator_0__Lean_Delaborator_delabBinders(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_instInhabitedException___closed__1; -lean_object* l_Lean_Name_toStringWithSep(lean_object*, lean_object*); -lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Delaborator_withBindingBody___spec__1___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t l_Lean_getPPBinderTypes(lean_object*); -lean_object* l___private_Lean_Delaborator_0__Lean_Delaborator_delabPatterns___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabDo___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabBNe___lambda__1___closed__2; -lean_object* l_Lean_Delaborator_delabGE___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabOfNat_match__1(lean_object*); -lean_object* l_Lean_Delaborator_delabAppImplicit(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabAppExplicit___lambda__2___closed__3; -extern lean_object* l___kind_term____x40_Init_Notation___hyg_3997____closed__1; -lean_object* l_Lean_Delaborator_delabStructureInstance___lambda__3___closed__5; -lean_object* l_Lean_Delaborator_delabDoElems___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabMData_match__1___rarg(lean_object*, lean_object*); -extern lean_object* l_myMacro____x40_Init_Notation___hyg_5036____closed__6; -lean_object* l_Lean_Delaborator_getExprKind___closed__10; -lean_object* l_Lean_Delaborator_delabDo___lambda__1___closed__1; -lean_object* l_Lean_Delaborator_delabSort___closed__3; -lean_object* l_Array_mapMUnsafe_map___at_Lean_Delaborator_getParamKinds___spec__1___closed__2; -lean_object* l_Lean_Delaborator_delabDoElems___lambda__1___closed__1; -lean_object* l_Lean_Delaborator_getExprKind_match__1(lean_object*); -lean_object* l_Lean_Delaborator_delabLT___closed__1; -lean_object* l_Lean_Delaborator_delabDoElems___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t l_Lean_getPPFullNames(lean_object*); -lean_object* l_Lean_Delaborator_delabAppend___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Level_instQuoteLevel___closed__1; -lean_object* l_Lean_Delaborator_delabOne___lambda__1___closed__2; -lean_object* l_Lean_Delaborator_delabAppImplicit___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_myMacro____x40_Init_Notation___hyg_2714____closed__4; -lean_object* l_Lean_Delaborator_delabNot___lambda__1___closed__4; -lean_object* l___private_Lean_Delaborator_0__Lean_Delaborator_skippingBinders_match__1(lean_object*, lean_object*); -extern lean_object* l_myMacro____x40_Init_Notation___hyg_7791____closed__7; -lean_object* l_Lean_Delaborator_delabOne___lambda__1___closed__1; -lean_object* l___regBuiltin_Lean_Delaborator_delabAppend(lean_object*); -lean_object* l_Lean_Meta_inferType___at___private_Lean_Delaborator_0__Lean_Delaborator_delabPatterns___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabMData___closed__1; -lean_object* l_Lean_Delaborator_delabStructureInstance___lambda__3___closed__3; -extern lean_object* l___kind_term____x40_Init_Core___hyg_680____closed__1; -lean_object* l_Lean_Delaborator_getUnusedName___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabForall_match__1(lean_object*); -lean_object* l_Lean_Syntax_mkApp(lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabSort___closed__7; -lean_object* l_Array_anyMUnsafe_any___at_Lean_Delaborator_delabAppExplicit___spec__1___boxed(lean_object*, lean_object*, lean_object*); -extern lean_object* l___kind_term____x40_Init_Core___hyg_150____closed__4; -lean_object* l_Lean_Delaborator_annotateCurPos(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_ReaderT_pure___at_Lean_Delaborator_instMonadQuotationDelabM___spec__1(lean_object*); -lean_object* l_Lean_Delaborator_delabListToArray(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___regBuiltin_Lean_Delaborator_delabModN___closed__3; -lean_object* l_Lean_Delaborator_delabAppExplicit___closed__3; -lean_object* l_Std_RBNode_setBlack___rarg(lean_object*); -lean_object* l_Array_mapIdxM_map___at___private_Lean_Delaborator_0__Lean_Delaborator_delabPatterns___spec__3___closed__1; -lean_object* l___regBuiltin_Lean_Delaborator_delabHEq___closed__2; -lean_object* l___regBuiltin_Lean_Delaborator_delabAnd(lean_object*); -lean_object* l_Lean_Delaborator_Context_pos___default; -lean_object* l_Lean_Delaborator_delabDiv___lambda__1___closed__2; -lean_object* l_Lean_Delaborator_delabAppMatch___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabDo___lambda__1___closed__4; -lean_object* l_List_forIn_loop___at_Lean_Delaborator_delabMData___spec__3___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___regBuiltin_Lean_Delaborator_delabHEq___closed__1; -lean_object* l___regBuiltin_Lean_Delaborator_delabEq___closed__1; -lean_object* l_Lean_Delaborator_delabConst___lambda__2___closed__1; -lean_object* lean_array_fget(lean_object*, lean_object*); -extern lean_object* l___kind_term____x40_Init_Notation___hyg_5337____closed__1; -lean_object* l_Lean_Delaborator_mkDelabAttribute___closed__7; -extern lean_object* l___kind_term____x40_Init_Notation___hyg_1681____closed__1; -lean_object* l_Lean_Delaborator_delabConst___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___regBuiltin_Lean_Delaborator_delabListToArray___closed__2; -lean_object* l_Lean_Delaborator_delabDoElems(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabOne___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabForall___lambda__1___closed__4; -lean_object* l_Lean_Delaborator_delabAppExplicit(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabMod___closed__1; -uint8_t lean_nat_dec_eq(lean_object*, lean_object*); -lean_object* l___regBuiltin_Lean_Delaborator_delabseqLeft___closed__3; -lean_object* l_Lean_Delaborator_delabDiv___lambda__1___boxed(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_874____closed__4; -lean_object* l_Lean_Delaborator_delabFVar_match__1(lean_object*); -lean_object* l_Lean_Delaborator_getExprKind_match__3(lean_object*); -extern lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__7; -extern lean_object* l_Array_forInUnsafe_loop___at___private_Init_NotationExtra_0__Lean_mkHintBody___spec__1___closed__2; -lean_object* l_Lean_Delaborator_delabOrM___lambda__1___closed__1; -lean_object* l___regBuiltin_Lean_Delaborator_delabBAnd___closed__1; -lean_object* l___regBuiltin_Lean_Delaborator_delabDo(lean_object*); -lean_object* l___regBuiltin_Lean_Delaborator_delabOr___closed__2; -lean_object* l___regBuiltin_Lean_Delaborator_delabCoe___closed__2; -lean_object* l_Lean_Delaborator_delabAppMatch___lambda__2___closed__1; -lean_object* l_Lean_Level_quote___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabBNe(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_mapIdxM_map___at___private_Lean_Delaborator_0__Lean_Delaborator_delabPatterns___spec__3___closed__2; -lean_object* l_Lean_Delaborator_delabSort___closed__10; -lean_object* l___regBuiltin_Lean_Delaborator_delabCons(lean_object*); -lean_object* l_Lean_Delaborator_delabBOr___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabMData_match__3(lean_object*); -lean_object* l_Lean_Delaborator_delabBNe___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_numLitKind; -lean_object* l___regBuiltin_Lean_Delaborator_delabEq___closed__2; -lean_object* l_Lean_Delaborator_delabStructureInstance___closed__3; -lean_object* l_Lean_Delaborator_delabTuple___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabNamedPattern___closed__1; -lean_object* l_Lean_Delaborator_delabStructureInstance___lambda__3___closed__7; -lean_object* l_Lean_Delaborator_getExprKind_match__2(lean_object*); -extern lean_object* l_myMacro____x40_Init_Coe___hyg_176____closed__1; -lean_object* l_Array_mapMUnsafe_map___at_Lean_Delaborator_delabDo___spec__1(size_t, size_t, lean_object*); -lean_object* l_Lean_Delaborator_delabForall___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabFVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___regBuiltin_Lean_Delaborator_delabMul___closed__2; -lean_object* lean_nat_sub(lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabLam___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabseqRight___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabBAnd(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabAppImplicit___closed__7; -lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Delaborator_withBindingBody___spec__1(lean_object*); -lean_object* l_Lean_Delaborator_delabMData_match__2___rarg(lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delab___closed__1; -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_Delaborator_getUnusedName(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___regBuiltin_Lean_Delaborator_delabAndThen(lean_object*); -lean_object* l_Array_mapMUnsafe_map___at_Lean_Delaborator_delabAppMatch___spec__3(size_t, size_t, lean_object*); -extern lean_object* l_myMacro____x40_Init_Notation___hyg_3868____closed__1; -lean_object* l___regBuiltin_Lean_Delaborator_delabBOr___closed__2; -lean_object* l_Lean_Delaborator_delabTuple___lambda__1___closed__1; -extern lean_object* l_Lean_Elab_Term_MVarErrorInfo_logError___closed__1; -lean_object* l_Lean_Delaborator_delabAppMatch___lambda__3___closed__12; -lean_object* l_Lean_Delaborator_delabBNe___lambda__1___closed__1; -lean_object* l_Lean_Delaborator_failure(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3420____closed__4; -lean_object* l___regBuiltin_Lean_Delaborator_delabOr___closed__1; -lean_object* l_Lean_Delaborator_delabAppMatch___closed__4; -lean_object* l_Lean_Level_quote___lambda__9___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabDo___lambda__1___closed__2; -lean_object* l_Lean_getPPUnicode___boxed(lean_object*); -lean_object* l_Lean_getPPUnicode___closed__1; -lean_object* l_Lean_Delaborator_withAppFnArgs_match__1___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabLit(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabOrM___lambda__1___closed__2; -lean_object* l_Lean_Delaborator_delabBOr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l___kind_term____x40_Init_Core___hyg_997____closed__1; -lean_object* l___regBuiltin_Lean_Delaborator_delabListToArray___closed__1; -lean_object* l_ReaderT_pure___at_Lean_Delaborator_instMonadQuotationDelabM___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t l_Lean_KVMap_getBool(lean_object*, lean_object*, uint8_t); -lean_object* l___regBuiltin_Lean_Delaborator_delabAndM(lean_object*); -lean_object* l_Lean_Delaborator_delabAppImplicit___closed__3; -lean_object* l___regBuiltin_Lean_Delaborator_delabMod___closed__3; -lean_object* l_Lean_Delaborator_mkDelabAttribute___closed__14; -extern lean_object* l_Lean_Expr_ctorName___closed__5; -extern lean_object* l_Lean_Level_LevelToFormat_Result_format___closed__2; -lean_object* l_Lean_Delaborator_withBindingBodyUnusedName___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabCons(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_initFn____x40_Lean_Delaborator___hyg_574____closed__4; -extern lean_object* l_myMacro____x40_Init_Notation___hyg_8830____closed__14; -lean_object* l_Lean_Delaborator_delabDo___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_instMonadQuotationDelabM___closed__1; -lean_object* l_Lean_Delaborator_delabseq___closed__1; -extern lean_object* l_myMacro____x40_Init_Notation___hyg_5739____closed__18; -extern lean_object* l_Lean_instQuoteProd___rarg___closed__1; -lean_object* l___regBuiltin_Lean_Delaborator_delabBEq___closed__3; -lean_object* l_Lean_Delaborator_mkDelabAttribute___closed__5; -lean_object* l_Lean_Delaborator_delab___closed__2; -extern lean_object* l_myMacro____x40_Init_Notation___hyg_1547____closed__6; -lean_object* l_Lean_Delaborator_delabOfNat___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Level_quote___lambda__8(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabNot___lambda__1___closed__1; -lean_object* l_Lean_Delaborator_whenPPOption(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l___private_Lean_Compiler_ExternAttr_0__Lean_syntaxToExternAttrData___closed__1; -lean_object* l___regBuiltin_Lean_Delaborator_delabAppExplicit(lean_object*); -lean_object* l_Lean_Delaborator_delabLam___closed__1; -extern lean_object* l_Lean_Parser_Tactic_matchAlt___closed__1; -lean_object* l_Lean_Delaborator_delabMul___lambda__1___closed__1; -lean_object* l_Lean_Delaborator_delabProj___closed__1; -lean_object* l___private_Lean_Delaborator_0__Lean_Delaborator_unresolveQualifiedName(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabNe___closed__1; -lean_object* l_Lean_Delaborator_delabStructureInstance___closed__2; -lean_object* l___regBuiltin_Lean_Delaborator_delabAnd___closed__1; -lean_object* l_Lean_Delaborator_delabNot___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); -lean_object* l___regBuiltin_Lean_Delaborator_delabLE(lean_object*); -lean_object* l_Lean_Delaborator_delabStructureInstance_match__2___rarg(lean_object*, lean_object*); -lean_object* l_Lean_Unhygienic_run___rarg(lean_object*); -extern lean_object* l_myMacro____x40_Init_Notation___hyg_7791____closed__3; -extern lean_object* l___kind_term____x40_Init_Notation___hyg_1175____closed__1; -lean_object* l___regBuiltin_Lean_Delaborator_delabLT___closed__3; -lean_object* l_Lean_Delaborator_AppMatchState_discrs___default; -extern lean_object* l_myMacro____x40_Init_Notation___hyg_5739____closed__15; -lean_object* l_Lean_Expr_fvarId_x21(lean_object*); -lean_object* l_Array_mapMUnsafe_map___at_Lean_Delaborator_delabAppMatch___spec__3___closed__1; -lean_object* l_Lean_Delaborator_delabOrM___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Level_quote_match__1___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabLetE_match__1___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabLE___closed__1; -lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*); -lean_object* l_Array_mapIdxM_map___at___private_Lean_Delaborator_0__Lean_Delaborator_delabPatterns___spec__3___closed__4; -lean_object* l_Lean_Delaborator_delabSort___closed__5; -lean_object* l_Lean_Delaborator_delabAppExplicit___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabDoElems_match__1___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabDiv___closed__1; -lean_object* l___regBuiltin_Lean_Delaborator_delabProjectionApp___closed__1; -lean_object* l___regBuiltin_Lean_Delaborator_delabMod___closed__2; -extern lean_object* l_Lean_KeyedDeclsAttribute_instInhabitedKeyedDeclsAttribute___closed__1; -lean_object* l___regBuiltin_Lean_Delaborator_delabSub___closed__2; -lean_object* l___regBuiltin_Lean_Delaborator_delabBNe(lean_object*); -lean_object* l___private_Lean_Delaborator_0__Lean_Delaborator_skippingBinders___rarg___lambda__1(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_1547____closed__4; -lean_object* l_Lean_Delaborator_instOrElseDelabM(lean_object*); -lean_object* l_Lean_Delaborator_getExprKind___closed__11; -lean_object* l_Lean_Delaborator_delabEq___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___regBuiltin_Lean_Delaborator_delabBOr(lean_object*); -lean_object* l_Lean_Delaborator_delabLam___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l___kind_term____x40_Init_Notation___hyg_3505____closed__1; -lean_object* l_Lean_Level_toNat(lean_object*); -lean_object* l_Lean_Delaborator_delabAppend(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___regBuiltin_Lean_Delaborator_delabMapRev___closed__2; -lean_object* l_Lean_Delaborator_delabAndThen___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* lean_instantiate_type_lparams(lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabMData___closed__2; -uint8_t l_Lean_Elab_Term_blockImplicitLambda(lean_object*); -lean_object* l_Lean_Delaborator_delabOfNat___closed__2; -extern lean_object* l___kind_term____x40_Init_Notation___hyg_503____closed__1; -extern lean_object* l_myMacro____x40_Init_Notation___hyg_5739____closed__20; -lean_object* l___regBuiltin_Lean_Delaborator_delabLit(lean_object*); -lean_object* l_Lean_Delaborator_delabConst___lambda__1___closed__4; -lean_object* l_Lean_Delaborator_delabStructureInstance___closed__1; -lean_object* l_Lean_throwError___at_Lean_Delaborator_delabAppMatch___spec__2(lean_object*); -lean_object* l_Array_mapIdxM_map___at___private_Lean_Delaborator_0__Lean_Delaborator_delabPatterns___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*); -uint8_t l_Lean_Delaborator_AppMatchState_hasMotive___default; -uint8_t l_Array_anyMUnsafe_any___at_Lean_Delaborator_delabAppExplicit___spec__1(lean_object*, size_t, size_t); -lean_object* l___regBuiltin_Lean_Delaborator_delabMod___closed__1; -lean_object* l_Lean_Delaborator_delabForall___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabOr___closed__1; -lean_object* l_Lean_Meta_getLocalDecl___at_Lean_Delaborator_delabFVar___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabAppImplicit___closed__5; -extern lean_object* l___kind_term____x40_Init_Control_Basic___hyg_716____closed__1; -lean_object* l_Lean_Delaborator_delabConsList___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Delaborator_0__Lean_Delaborator_delabBinders___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__20; -size_t l_Lean_Name_hash(lean_object*); -lean_object* l_Lean_Delaborator_delab___closed__4; -extern lean_object* l___kind_term____x40_Init_Notation___hyg_4329____closed__1; -uint8_t l_Array_anyMUnsafe_any___at_Lean_Delaborator_delabForall___spec__3(lean_object*, lean_object*, size_t, size_t); -lean_object* l___regBuiltin_Lean_Delaborator_delabDo___closed__1; -lean_object* l_Lean_Delaborator_delabAdd(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Nat_repr(lean_object*); -extern lean_object* l___kind_term____x40_Init_Notation___hyg_5505____closed__1; -lean_object* l___private_Lean_Delaborator_0__Lean_Delaborator_delabBinders_match__2___rarg(lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabAdd___closed__1; -lean_object* l_Lean_Delaborator_delabMul(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabZero___closed__2; -lean_object* l_Lean_Delaborator_delabNamedPattern(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t l_Lean_LocalDecl_binderInfo(lean_object*); -lean_object* l_Lean_Delaborator_delabOr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabHEq___lambda__1___closed__2; -lean_object* l___regBuiltin_Lean_Delaborator_delabListToArray(lean_object*); -lean_object* l_Lean_Meta_instantiateForall___at___private_Lean_Delaborator_0__Lean_Delaborator_delabPatterns___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___regBuiltin_Lean_Delaborator_delabBOr___closed__1; -lean_object* l_Lean_Delaborator_delabTuple___lambda__1___closed__2; -extern lean_object* l_Lean_instInhabitedSourceInfo___closed__1; -lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Delaborator_withBindingBody___spec__1___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabMapRev___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_foldrMUnsafe_fold___at_Lean_Delaborator_delabForall___spec__1___closed__1; -lean_object* l_Lean_Delaborator_delabMul___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Syntax_getId(lean_object*); -lean_object* l_Lean_Delaborator_withAppFn___rarg___closed__3; -lean_object* l_Lean_Delaborator_initFn____x40_Lean_Delaborator___hyg_626____closed__1; -lean_object* l_Lean_Delaborator_delabProjectionApp___closed__3; -lean_object* l_Lean_Delaborator_delabLE___lambda__1___boxed(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_706____closed__6; -lean_object* l_Lean_Delaborator_withAppFnArgs(lean_object*); -lean_object* l_Lean_Delaborator_delabBEq___lambda__1___closed__1; -lean_object* l_Lean_Delaborator_delabAppExplicit_match__1___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabForall___lambda__1___closed__3; -lean_object* l_Lean_Delaborator_delabLE___lambda__1___closed__2; -lean_object* l_Lean_Delaborator_delabLam___lambda__3___closed__1; -lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Delaborator_withBindingBody___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_List_headD___rarg(lean_object*, lean_object*); -lean_object* l_Lean_SMap_find_x3f___at_Lean_Delaborator_delabFor___spec__1(lean_object*, lean_object*); -extern lean_object* l_Lean_Elab_Term_mkExplicitBinder___closed__5; -lean_object* l_Lean_Level_quote___lambda__2___closed__1; -lean_object* l_Array_foldrMUnsafe_fold___at_Lean_Delaborator_delabForall___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_Delaborator_delabMVar___closed__5; -lean_object* l_Lean_Delaborator_delabAndM(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabForall_match__1___rarg(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabLetE___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabBEq___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabLE___lambda__1___closed__1; -lean_object* l_Lean_Delaborator_delabIff(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_myMacro____x40_Init_Notation___hyg_8830____closed__18; -uint8_t l_Lean_getPPStructureInstanceType(lean_object*); -lean_object* l_Lean_Delaborator_delabAppMatch___lambda__3___closed__10; -lean_object* l_Lean_Delaborator_delabOne___closed__2; -lean_object* l_Lean_getStructureFields(lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_getParamKinds_match__1___rarg(lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Expr_ctorName___closed__3; -lean_object* l___regBuiltin_Lean_Delaborator_delabAppMatch(lean_object*); -lean_object* l_Lean_Delaborator_delabPrefixOp___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_getPPOption(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Delaborator_0__Lean_Delaborator_unresolveUsingNamespace___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___regBuiltin_Lean_Delaborator_delabTuple___closed__3; -lean_object* l_Lean_Delaborator_delabAppMatch___closed__5; -extern lean_object* l_myMacro____x40_Init_Notation___hyg_4196____closed__6; -lean_object* l_Lean_Delaborator_annotatePos_match__2(lean_object*); -lean_object* l_Lean_Delaborator_delabProd___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t l_Lean_getPPUnicode(lean_object*); -lean_object* l___private_Lean_Delaborator_0__Lean_Delaborator_skippingBinders_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* lean_array_to_list(lean_object*, lean_object*); -extern lean_object* l_myMacro____x40_Init_Notation___hyg_5540____closed__4; -lean_object* l_Lean_Delaborator_delabModN___lambda__1___closed__2; -uint8_t l_Lean_Name_isAtomic(lean_object*); -extern lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__14; -lean_object* l_Lean_Delaborator_instInhabitedDelabM___closed__1; -lean_object* l___regBuiltin_Lean_Delaborator_delabMul(lean_object*); -lean_object* l_Lean_Delaborator_AppMatchState_rhss___default; -lean_object* l_Lean_Delaborator_delabForall___closed__1; -lean_object* l_Lean_Delaborator_delabOne___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_protectedExt; -lean_object* l_Lean_Delaborator_delabPrefixOp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Expr_isCharLit___closed__3; -extern lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__5; -lean_object* l_Lean_Delaborator_failure___rarg___closed__1; -lean_object* l_Lean_initFn____x40_Lean_Delaborator___hyg_11519_(lean_object*); -lean_object* l_Lean_initFn____x40_Lean_Delaborator___hyg_574_(lean_object*); -lean_object* l_Lean_Delaborator_withAppFn_match__1(lean_object*); -lean_object* l_Lean_Delaborator_delabProd___lambda__1___closed__1; -lean_object* l_Lean_Delaborator_delabHEq___lambda__1___closed__4; -extern lean_object* l___kind_term____x40_Init_Notation___hyg_3177____closed__1; -extern lean_object* l_Lean_Unhygienic_instMonadQuotationUnhygienic___closed__4; -lean_object* l_Lean_Delaborator_hasIdent_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___regBuiltin_Lean_Delaborator_delabOrM___closed__2; -lean_object* l_Lean_Delaborator_delabIff___lambda__1___closed__2; -lean_object* l_Lean_Syntax_mkStrLit(lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_withBindingBody___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l___kind_term____x40_Init_Notation___hyg_3833____closed__1; -lean_object* l_Lean_Delaborator_delabEq___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t l_Lean_Expr_isAppOfArity(lean_object*, lean_object*, lean_object*); -lean_object* l_Array_mapIdxM_map___at___private_Lean_Delaborator_0__Lean_Delaborator_delabPatterns___spec__3___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_mapIdxM_map___at_Lean_Delaborator_delabStructureInstance___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___regBuiltin_Lean_Delaborator_delabOrElse___closed__1; -lean_object* l_Array_anyMUnsafe_any___at_Lean_Delaborator_delabLam___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_myMacro____x40_Init_Notation___hyg_4196____closed__4; -extern lean_object* l_Lean_Parser_Tactic_intro___closed__7; -lean_object* l_Array_mapMUnsafe_map___at_Lean_Delaborator_delabDo___spec__1___closed__1; -lean_object* l_Lean_getRevAliases(lean_object*, lean_object*); -lean_object* l___regBuiltin_Lean_Delaborator_delabOrElse___closed__2; -lean_object* l_Lean_Delaborator_getParamKinds___lambda__1___boxed__const__1; -extern lean_object* l___kind_term____x40_Init_Data_Array_Basic___hyg_3373____closed__7; -lean_object* l_Lean_Delaborator_withAppArg___rarg___closed__2; -lean_object* l_Lean_Level_quote___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabNe(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Array_forInUnsafe_loop___at___private_Init_NotationExtra_0__Lean_mkHintBody___spec__1___closed__3; -lean_object* l___regBuiltin_Lean_Delaborator_delabAndM___closed__2; -lean_object* l_Lean_Delaborator_delabBVar_match__1(lean_object*); -lean_object* l_Lean_Level_quote___lambda__9(lean_object*, lean_object*, lean_object*); -extern lean_object* l___kind_term____x40_Init_Notation___hyg_3____closed__12; -lean_object* l_Lean_getPPStructureInstances___closed__2; -extern lean_object* l_Lean_Elab_Level_elabLevel___closed__2; -lean_object* l_Lean_Delaborator_withProj___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l___regBuiltin_Lean_Elab_Term_elabProp___closed__2; -lean_object* l_Lean_Delaborator_instAlternativeDelabM___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabBEq___lambda__1___closed__2; -extern lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__8; -lean_object* l_Lean_Delaborator_delabGT___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t l_Lean_getPPPrivateNames(lean_object*); -size_t lean_usize_modn(size_t, lean_object*); -lean_object* l_Lean_Delaborator_delabProjectionApp___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabDoElems___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_mapMUnsafe_map___at_Lean_Delaborator_delabDo___spec__1___boxed(lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_mkSimpleThunk___closed__1; -lean_object* l_Lean_Delaborator_delabLam___lambda__3___closed__4; -lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l___private_Init_NotationExtra_0__Lean_mkHintBody___closed__2; -lean_object* l___regBuiltin_Lean_Delaborator_delabOne(lean_object*); -extern lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkEqNDRecImp___closed__6; -uint8_t l_Lean_Expr_isConst(lean_object*); -lean_object* l___private_Lean_Delaborator_0__Lean_Delaborator_delabBinders_match__2(lean_object*); -extern lean_object* l_myMacro____x40_Init_Notation___hyg_5204____closed__4; -lean_object* l___regBuiltin_Lean_Delaborator_delabOne___closed__2; -extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_576____closed__8; -lean_object* l___regBuiltin_Lean_Delaborator_delabMapRev___closed__1; -lean_object* l_Lean_Delaborator_initFn____x40_Lean_Delaborator___hyg_626____closed__2; -extern lean_object* l_Lean_instInhabitedSyntax; -lean_object* l___regBuiltin_Lean_Delaborator_delabFComp___closed__2; -lean_object* l_Lean_Delaborator_delabTuple___closed__2; -lean_object* l_Lean_Delaborator_delabAppMatch(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___regBuiltin_Lean_Delaborator_delabPow(lean_object*); -extern lean_object* l_Lean_Format_getUnicode___closed__1; -lean_object* l___private_Lean_Delaborator_0__Lean_Delaborator_unresolveQualifiedName___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___regBuiltin_Lean_Delaborator_delabseqLeft(lean_object*); -lean_object* l_Lean_Delaborator_delabAppMatch___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_withBindingDomain(lean_object*); -lean_object* l_Lean_Level_quote___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Std_PersistentHashMap_find_x3f___at_Lean_Delaborator_delabFor___spec__2___boxed(lean_object*, lean_object*); -lean_object* l_Lean_mkSepArray(lean_object*, lean_object*); -extern lean_object* l_Lean_throwUnknownConstant___rarg___closed__3; -lean_object* l_Lean_Delaborator_delabProjectionApp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__4; -extern lean_object* l_myMacro____x40_Init_Notation___hyg_8168____closed__10; -lean_object* l_Lean_Delaborator_delabProjectionApp_match__3(lean_object*); -lean_object* l_Lean_Delaborator_mkDelabAttribute___closed__4; -lean_object* l___regBuiltin_Lean_Delaborator_delabGE___closed__1; -extern lean_object* l_Lean_Meta_caseValueAux___lambda__3___closed__3; -lean_object* l_Lean_Delaborator_delabGE___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabNot___lambda__1___closed__3; -extern lean_object* l_myMacro____x40_Init_Notation___hyg_2384____closed__1; -lean_object* l_Lean_Delaborator_delabSort___closed__6; -lean_object* l_Lean_Delaborator_getExprKind___closed__7; -lean_object* l___regBuiltin_Lean_Delaborator_delabIff___closed__2; -uint8_t l_Lean_getPPStructureInstances(lean_object*); -extern lean_object* l___kind_term____x40_Init_Core___hyg_1390____closed__1; -lean_object* l_Lean_Delaborator_getParamKinds_match__1(lean_object*); -lean_object* l_Lean_Delaborator_delabAnd(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabBNe___closed__1; -lean_object* l_Lean_Delaborator_delabOrM(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabGE___lambda__1___closed__1; -lean_object* l___regBuiltin_Lean_Delaborator_delabCoeFun___closed__3; -lean_object* l_Lean_Delaborator_delabDoElems___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___regBuiltin_Lean_Delaborator_delabFComp___closed__1; -lean_object* l_Lean_Delaborator_delabDoElems___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___regBuiltin_Lean_Delaborator_delabMData(lean_object*); -lean_object* l_Lean_Delaborator_delabAndM___lambda__1___closed__2; -lean_object* l_Lean_Delaborator_delabModN___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___regBuiltin_Lean_Delaborator_delabseqRight(lean_object*); -extern lean_object* l___kind_term____x40_Init_Notation___hyg_671____closed__1; -lean_object* l_Lean_Delaborator_delabCons___lambda__1___closed__1; -lean_object* l_Lean_Delaborator_delabDiv___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabBVar___closed__1; -lean_object* l___regBuiltin_Lean_Delaborator_delabMap___closed__3; -lean_object* l_Lean_Delaborator_delabProjectionApp_match__2___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l___regBuiltin_Lean_Delaborator_delabGE___closed__2; -lean_object* l_Lean_Delaborator_delabModN___lambda__1___closed__1; -lean_object* l_Lean_Delaborator_delabAppExplicit___closed__4; -lean_object* l_Lean_Delaborator_delabAppMatch___closed__6; -lean_object* l_Lean_getPPCoercions___closed__2; -lean_object* l___regBuiltin_Lean_Delaborator_delabseq___closed__2; -size_t lean_usize_of_nat(lean_object*); -lean_object* l_Lean_Delaborator_delabDo(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabProjectionApp_match__1___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabAppMatch___lambda__3___closed__7; -lean_object* l_Lean_Delaborator_delabseqLeft___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabHEq___closed__1; -lean_object* l_List_firstM___at_Lean_Delaborator_delabFor___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabProjectionApp___closed__1; -lean_object* l_Lean_Delaborator_liftMetaM___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabTuple___closed__1; -lean_object* l_Array_mapMUnsafe_map___at_Lean_Delaborator_delabAppMatch___spec__3___closed__2; -uint8_t l_Lean_Expr_isAutoParam(lean_object*); -lean_object* l_Array_mapMUnsafe_map___at_Lean_Delaborator_delabDo___spec__1___closed__2; -lean_object* l_Lean_Level_quote_match__2(lean_object*); -lean_object* l_Lean_Delaborator_hasIdent___boxed(lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_instInhabitedDelabM___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_mkDelabAttribute___closed__6; -extern lean_object* l_Lean_NameGenerator_namePrefix___default___closed__2; -lean_object* l_Lean_Delaborator_delabNot___closed__1; -lean_object* l_Lean_Delaborator_withBindingBodyUnusedName(lean_object*); -extern lean_object* l_Lean_Level_LevelToFormat_Result_format___closed__4; -lean_object* l_Lean_getPPCoercions___closed__1; -lean_object* l_Lean_Delaborator_delabConst_match__1(lean_object*); -lean_object* l_Lean_Delaborator_failure___rarg(lean_object*); -lean_object* l_Lean_Delaborator_delabMData___closed__5; -lean_object* l___regBuiltin_Lean_Delaborator_delabOrM___closed__1; -lean_object* l___regBuiltin_Lean_Delaborator_delabBNot___closed__1; -lean_object* l_Lean_Delaborator_delabProj_match__1(lean_object*); -extern lean_object* l___kind_term____x40_Init_Notation___hyg_3341____closed__1; -lean_object* l_Array_mapMUnsafe_map___at_Lean_Delaborator_delabAppMatch___spec__3___boxed(lean_object*, lean_object*, lean_object*); -extern lean_object* l_myMacro____x40_Init_Notation___hyg_5372____closed__6; -lean_object* l_Lean_Delaborator_delabOfNat___closed__1; -extern lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__6; -lean_object* l_Lean_Delaborator_delabDo___closed__2; -lean_object* l_Std_RBNode_find___at_Lean_Delaborator_getPPOption___spec__1___boxed(lean_object*, lean_object*); -extern lean_object* l_Lean_Meta_Match_Pattern_toExpr_visit___closed__3; -size_t l_USize_land(size_t, size_t); -lean_object* l_Lean_Delaborator_delabFor_match__1___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabGE___lambda__1___closed__2; -lean_object* l_Lean_Level_quote___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___regBuiltin_Lean_Delaborator_delabLT___closed__2; -lean_object* l_Std_PersistentHashMap_findAtAux___at_Lean_Delaborator_delabFor___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_getPPCoercions___boxed(lean_object*); -extern lean_object* l_myMacro____x40_Init_Core___hyg_1425____closed__1; -extern lean_object* l_Lean_Meta_Match_Pattern_toMessageData___closed__1; -lean_object* l_Lean_Delaborator_delabCoe___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_registerInternalExceptionId(lean_object*, lean_object*); -lean_object* l___regBuiltin_Lean_Delaborator_delabseqLeft___closed__2; -lean_object* l_Lean_Delaborator_delabNil(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_nullKind___closed__2; -lean_object* l___regBuiltin_Lean_Delaborator_delabModN___closed__2; -lean_object* l_Lean_Meta_forallTelescope___at___private_Lean_Delaborator_0__Lean_Delaborator_delabPatterns___spec__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_withAppFnArgs_match__1(lean_object*); -lean_object* l_Lean_Delaborator_delabAppImplicit___closed__6; -lean_object* l_Lean_Delaborator_delabProjectionApp___closed__2; -lean_object* l_Lean_Delaborator_getExprKind___closed__5; -lean_object* l_Lean_Delaborator_getParamKinds(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabSub___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabBVar___closed__2; -lean_object* l___regBuiltin_Lean_Delaborator_delabAndThen___closed__3; -lean_object* l___regBuiltin_Lean_Delaborator_delabseq___closed__1; -lean_object* l___regBuiltin_Lean_Delaborator_delabSub___closed__1; -lean_object* l_Lean_Delaborator_delabHEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabProj___closed__3; -lean_object* l_Lean_Delaborator_delabIff___lambda__1___closed__4; -lean_object* l_Lean_Delaborator_annotatePos_match__1(lean_object*); -lean_object* l___regBuiltin_Lean_Delaborator_delabModN___closed__1; -extern lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___closed__1; -lean_object* l___regBuiltin_Lean_Delaborator_delabLT___closed__1; -lean_object* l_Std_RBNode_insert___at_Lean_Delaborator_delabMData___spec__1(lean_object*, lean_object*, lean_object*); -extern lean_object* l___kind_term____x40_Init_Notation___hyg_171____closed__1; -lean_object* l_Lean_initFn____x40_Lean_Delaborator___hyg_574____closed__2; -lean_object* l_Lean_delab___closed__6; -lean_object* l_Lean_Delaborator_delabTuple___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_myMacro____x40_Init_Control_Basic___hyg_769____closed__1; -lean_object* l_Lean_Delaborator_delabAndThen(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Delaborator_0__Lean_Delaborator_unresolveUsingNamespace_match__1___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Delaborator_0__Lean_Delaborator_skippingBinders_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Expr_ctorName___closed__9; -lean_object* l_Lean_LocalDecl_type(lean_object*); -extern lean_object* l_myMacro____x40_Init_Notation___hyg_1042____closed__6; -uint8_t l_Lean_getPPNotation(lean_object*); -lean_object* l___regBuiltin_Lean_Delaborator_delabAdd___closed__2; -lean_object* l_Lean_Delaborator_failure___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabDo___closed__1; -lean_object* l_Lean_Delaborator_delabStructureInstance_match__2(lean_object*); -extern lean_object* l_Lean_Parser_Tactic_match___closed__1; -lean_object* l_Std_RBNode_find___at_Lean_Delaborator_getPPOption___spec__1(lean_object*, lean_object*); -lean_object* l___regBuiltin_Lean_Delaborator_delabMul___closed__1; -lean_object* l_Lean_Delaborator_withAppFnArgs_match__2___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l___regBuiltin_Lean_Delaborator_delabCons___closed__3; -lean_object* l_Lean_Delaborator_getPPOption___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t l_List_elem___at_Lean_NameHashSet_insert___spec__2(lean_object*, lean_object*); -extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__21; -lean_object* l_Lean_Delaborator_delabProjectionApp_match__1(lean_object*); -lean_object* l_Lean_Delaborator_instAlternativeDelabM___closed__3; -lean_object* l_Lean_Delaborator_delabGT___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Delaborator_0__Lean_Delaborator_unresolveOpenDecls(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabSort___closed__2; -lean_object* l_Lean_Delaborator_delabOne(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Syntax_mkApp___closed__1; -lean_object* l_Lean_Meta_getMatcherInfo_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_fmt___at_Lean_ppExpr___spec__4(lean_object*); -extern lean_object* l_myMacro____x40_Init_Notation___hyg_370____closed__6; -lean_object* l___regBuiltin_Lean_Delaborator_delabLE___closed__1; -lean_object* l___regBuiltin_Lean_Delaborator_delabNamedPattern___closed__2; -lean_object* l_Lean_Delaborator_delabFor_match__2___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabOrM___closed__1; -lean_object* l_Lean_Delaborator_AppMatchState_params___default; -lean_object* l_Lean_SMap_find_x3f___at_Lean_Delaborator_delabFor___spec__1___boxed(lean_object*, lean_object*); -lean_object* l___regBuiltin_Lean_Delaborator_delabProjectionApp(lean_object*); -lean_object* l_Lean_Delaborator_delabGT___lambda__1___closed__2; -lean_object* l_List_redLength___rarg(lean_object*); -extern lean_object* l___kind_term____x40_Init_Notation___hyg_1512____closed__1; -lean_object* l___regBuiltin_Lean_Delaborator_delabAppExplicit___closed__1; -lean_object* l_Lean_delab(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabConst___lambda__1___closed__1; -lean_object* l___private_Lean_Delaborator_0__Lean_Delaborator_unresolveOpenDecls_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_mkDelabAttribute___closed__13; -lean_object* l_Lean_getPPStructureInstanceType___boxed(lean_object*); -lean_object* l_Lean_Delaborator_delabFor(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_getPPStructureInstanceType___closed__1; -lean_object* l_Lean_Delaborator_delabGT___lambda__1___closed__1; -lean_object* l_Lean_Delaborator_delabOrM___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Delaborator_0__Lean_Delaborator_delabBinders_match__1(lean_object*); -lean_object* l_Lean_Delaborator_delabHEq___lambda__1___closed__3; -lean_object* l_Lean_Expr_getAppNumArgsAux(lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_instAlternativeDelabM___closed__1; -uint8_t l_Lean_BinderInfo_beq(uint8_t, uint8_t); -lean_object* l_Lean_Meta_forallTelescopeReducing___at_Lean_Meta_getParamNamesImp___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_myMacro____x40_Init_Control_Basic___hyg_528____closed__1; -lean_object* l_Lean_Delaborator_delabForall___lambda__1___closed__1; -lean_object* l_Lean_setEnv___at_Lean_Meta_setInlineAttribute___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Syntax_getNumArgs(lean_object*); -lean_object* l_Lean_Delaborator_delabMVar___closed__6; -lean_object* l_Lean_Delaborator_getPPOption_match__1___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_mkDelabAttribute___closed__2; -lean_object* l_Lean_Delaborator_delabLetE(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_getLocalDecl___at_Lean_Meta_getFVarLocalDecl___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Meta_evalNat_visit___closed__8; -extern lean_object* l_Array_foldlMUnsafe_fold___at_Lean_withNestedTraces___spec__5___closed__1; -lean_object* l_Lean_Delaborator_delabDo___lambda__1___closed__5; -lean_object* l_Lean_Expr_bindingName_x21(lean_object*); -extern lean_object* l_Lean_Expr_ctorName___closed__10; -lean_object* l_Std_AssocList_find_x3f___at_Lean_Delaborator_delabFor___spec__6___boxed(lean_object*, lean_object*); -lean_object* l_Array_mapMUnsafe_map___at_Lean_Delaborator_getParamKinds___spec__1___closed__3; -lean_object* l_Lean_Delaborator_delabLam_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabBOr___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l___kind_term____x40_Init_Notation___hyg_2019____closed__1; -lean_object* l_Lean_Delaborator_instMonadQuotationDelabM___closed__3; -extern lean_object* l_Lean_Parser_Tactic_match___closed__5; -uint8_t lean_expr_eqv(lean_object*, lean_object*); -lean_object* l___regBuiltin_Lean_Delaborator_delabNe(lean_object*); -lean_object* l_Lean_Delaborator_delabNe___lambda__1___boxed(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_4868____closed__6; -lean_object* l_Lean_Delaborator_delabAppExplicit___lambda__2___closed__1; -lean_object* l_Lean_Delaborator_delabStructureInstance___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* l_Lean_Delaborator_descend(lean_object*); -lean_object* l_Lean_Delaborator_delabStructureInstance___lambda__2___closed__1; -lean_object* l_Lean_Level_quote___lambda__4___closed__1; -lean_object* l___regBuiltin_Lean_Delaborator_delabNamedPattern___closed__1; -lean_object* l_Lean_Delaborator_delabForall___lambda__1___closed__2; -lean_object* l_Lean_Level_instQuoteLevel; -lean_object* l_Lean_Delaborator_delabDo___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabNe___lambda__1___closed__1; -lean_object* l___regBuiltin_Lean_Delaborator_delabBNot___closed__2; -uint8_t lean_nat_dec_le(lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabBEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Level_quote___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_forallTelescope___at___private_Lean_Delaborator_0__Lean_Delaborator_delabPatterns___spec__4___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l___kind_term____x40_Init_Notation___hyg_3____closed__11; -uint8_t l_Std_RBNode_isRed___rarg(lean_object*); -lean_object* l_Lean_Delaborator_delabBAnd___closed__1; -lean_object* l_Lean_Delaborator_delabConst(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabHEq___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabLit_match__2(lean_object*); -extern lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_Term_0__Lean_Elab_Term_isLambdaWithImplicit___spec__1___closed__1; -lean_object* l_Lean_Delaborator_delabHEq___lambda__1___closed__1; -lean_object* l_Lean_Delaborator_instAlternativeDelabM___closed__2; -extern lean_object* l_Lean_Elab_Level_elabLevel___closed__5; -lean_object* l_Lean_Syntax_getArgs(lean_object*); -lean_object* l_Lean_Name_append(lean_object*, lean_object*); -lean_object* l_Lean_Meta_throwUnknownFVar___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_instAlternativeDelabM; -lean_object* l_Lean_Delaborator_delabAppImplicit___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l___kind_term____x40_Init_Notation___hyg_2184____closed__1; -lean_object* l_Lean_Delaborator_delabBVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t l_Lean_BinderInfo_isExplicit(uint8_t); -lean_object* l_Lean_Delaborator_instMonadQuotationDelabM___closed__4; -lean_object* l_Lean_Delaborator_delabDoElems___lambda__2___closed__1; -extern lean_object* l___kind_term____x40_Init_Notation___hyg_1007____closed__1; -lean_object* l_Lean_Delaborator_delabConst___lambda__1___closed__2; -lean_object* l___regBuiltin_Lean_Delaborator_delabGT___closed__2; -extern lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__2; -lean_object* l_Array_mapIdxM_map___at___private_Lean_Delaborator_0__Lean_Delaborator_delabPatterns___spec__3___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabAppImplicit_match__3(lean_object*); -lean_object* l___regBuiltin_Lean_Delaborator_delabBEq(lean_object*); -lean_object* l_Lean_Delaborator_delabAppExplicit_match__3(lean_object*); -lean_object* l_Lean_Delaborator_delabDoElems___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*); -extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__31; -lean_object* l_Lean_Delaborator_delabMVar___closed__1; -extern lean_object* l_Lean_getSanitizeNames___closed__2; -lean_object* l_Lean_Delaborator_delabDo___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_Term_0__Lean_Elab_Term_isLambdaWithImplicit___spec__1___closed__2; -lean_object* l_Lean_Delaborator_delabConst___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___regBuiltin_Lean_Delaborator_delabCoeFun___closed__1; -uint8_t l_Lean_Name_isAnonymous(lean_object*); -lean_object* l_Lean_Delaborator_delabIff___lambda__1___closed__3; -lean_object* l_Lean_Delaborator_delabMVar___closed__2; -extern lean_object* l_myMacro____x40_Init_Notation___hyg_538____closed__6; -lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_instantiateForallAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabAppExplicit___lambda__2___closed__2; -lean_object* lean_panic_fn(lean_object*, lean_object*); -lean_object* l_Lean_getPPUniverses___closed__2; -lean_object* l_Lean_Delaborator_delabZero(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabLT___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Std_PersistentHashMap_mkCollisionNode___rarg___closed__1; -extern lean_object* l_Lean_getSanitizeNames___closed__1; -lean_object* l_Lean_Delaborator_delabSort_match__3(lean_object*); -lean_object* l_Lean_Delaborator_delabAppImplicit___closed__2; -extern lean_object* l_myMacro____x40_Init_Notation___hyg_370____closed__4; -lean_object* l___private_Lean_Delaborator_0__Lean_Delaborator_unresolveOpenDecls_match__1(lean_object*); -lean_object* l_Lean_Delaborator_delabProd(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___regBuiltin_Lean_Delaborator_delabIff___closed__1; -lean_object* l_Array_appendCore___rarg(lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabAppMatch___lambda__3___closed__5; -lean_object* l_Lean_KVMap_insertCore(lean_object*, lean_object*, lean_object*); -extern lean_object* l_myMacro____x40_Init_Core___hyg_715____closed__6; -lean_object* l___regBuiltin_Lean_Delaborator_delabseqLeft___closed__1; -lean_object* l_Lean_Delaborator_delabNe___lambda__1___closed__2; -lean_object* l_Lean_delab___closed__5; -extern lean_object* l_myMacro____x40_Init_Notation___hyg_5739____closed__22; -extern lean_object* l___kind_term____x40_Init_Notation___hyg_5169____closed__1; -extern lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_isExplicit___closed__2; -lean_object* l___private_Lean_Delaborator_0__Lean_Delaborator_skippingBinders___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabBNot___closed__1; -extern lean_object* l_Lean_Elab_Level_elabLevel___closed__3; -lean_object* l___regBuiltin_Lean_Delaborator_delabCoeFun___closed__2; -lean_object* l___regBuiltin_Lean_Delaborator_delabNil___closed__2; -lean_object* l_Array_mapIdxM_map___at_Lean_Delaborator_delabStructureInstance___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_instMonadQuotationDelabM; -lean_object* l_Lean_Delaborator_delabTuple___lambda__1___closed__3; -lean_object* l_Lean_getPPAll___boxed(lean_object*); -lean_object* l_Lean_Delaborator_withAppFnArgs_match__2(lean_object*, lean_object*); -lean_object* l___regBuiltin_Lean_Delaborator_delabGT___closed__1; -lean_object* l_Lean_Delaborator_delabStructureInstance_match__1___rarg(lean_object*, lean_object*); -lean_object* l_Lean_Level_quote___lambda__1(lean_object*, lean_object*, lean_object*); -uint8_t l_Array_anyMUnsafe_any___at_Lean_Delaborator_hasIdent___spec__1(lean_object*, lean_object*, size_t, size_t); -lean_object* lean_register_option(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabMData___closed__3; -lean_object* l_Lean_Delaborator_delabAppMatch_match__2(lean_object*); -lean_object* l_Lean_Delaborator_delabAppExplicit___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabOr___lambda__1___closed__3; -lean_object* l___regBuiltin_Lean_Delaborator_delabEquiv___closed__3; -lean_object* l_Lean_Delaborator_delabStructureInstance(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_withAppArg_match__1(lean_object*); -lean_object* l_Lean_Delaborator_withBindingDomain___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_getPPAll___closed__1; -lean_object* l___regBuiltin_Lean_Delaborator_delabBVar(lean_object*); -lean_object* l_Lean_Delaborator_mkDelabAttribute___closed__1; -lean_object* l_Lean_Delaborator_delabAppMatch___lambda__3___closed__14; -lean_object* l___regBuiltin_Lean_Delaborator_delabStructureInstance(lean_object*); -lean_object* l_Array_anyMUnsafe_any___at_Lean_Delaborator_hasIdent___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabAppMatch_match__2___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Std_PersistentHashMap_find_x3f___at_Lean_Delaborator_delabFor___spec__2(lean_object*, lean_object*); -lean_object* l_Lean_getPPStructureInstances___boxed(lean_object*); -lean_object* l_Lean_getPPUniverses___closed__1; -lean_object* l_Array_mapIdxM_map___at___private_Lean_Delaborator_0__Lean_Delaborator_delabPatterns___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabAppMatch_match__3(lean_object*); -extern lean_object* l_myMacro____x40_Init_Notation___hyg_1885____closed__6; -lean_object* l_Lean_getPPUniverses___boxed(lean_object*); -lean_object* l_Lean_getPPStructureInstances___closed__1; -lean_object* l___regBuiltin_Lean_Delaborator_delabOrM(lean_object*); -extern lean_object* l_myMacro____x40_Init_Core___hyg_185____closed__1; -lean_object* l_Lean_Delaborator_delabMData(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabDo___lambda__2___closed__1; -lean_object* l_Lean_Delaborator_delabFailureId; -lean_object* l_Array_ofSubarray___rarg(lean_object*); -lean_object* l_Lean_Delaborator_delabOfNat___closed__3; -lean_object* l___private_Lean_Delaborator_0__Lean_Delaborator_skippingBinders___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabConst___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___regBuiltin_Lean_Delaborator_delabseq___closed__3; -extern lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__1; -lean_object* l_Lean_getPPFullNames___closed__2; -lean_object* l_Lean_Delaborator_delabSort_match__3___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_setMCtx___at___private_Lean_Meta_Basic_0__Lean_Meta_liftMkBindingM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabNil___closed__2; -lean_object* lean_nat_mul(lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabDo___lambda__1___closed__3; -lean_object* l___regBuiltin_Lean_Delaborator_delabDiv___closed__3; -lean_object* l_Lean_delab___closed__2; -extern lean_object* l_myMacro____x40_Init_Notation___hyg_1210____closed__6; -lean_object* l_Lean_Delaborator_getExprKind___closed__2; -lean_object* l_Lean_Delaborator_delabConst___closed__1; -lean_object* l_Lean_Delaborator_getExprKind_match__1___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_getPPStructureInstanceType___closed__2; -lean_object* l_Lean_Delaborator_delabGE___lambda__1___closed__3; -lean_object* l_Array_mapIdxM_map___at___private_Lean_Delaborator_0__Lean_Delaborator_delabPatterns___spec__3___closed__3; -lean_object* l_Lean_Delaborator_delabAppMatch___closed__7; -lean_object* l_Lean_getPPExplicit___boxed(lean_object*); -lean_object* l___regBuiltin_Lean_Delaborator_delabNot(lean_object*); -extern lean_object* l___kind_term____x40_Init_Notation___hyg_335____closed__1; -lean_object* l___private_Lean_Delaborator_0__Lean_Delaborator_shouldGroupWithNext___closed__1; -lean_object* l_Lean_Delaborator_delabMap___closed__1; -lean_object* l_Lean_Delaborator_delabHEq___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_getExprKind(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___regBuiltin_Lean_Delaborator_delabBNot(lean_object*); -lean_object* l_Lean_Delaborator_delabDoElems___lambda__4___closed__5; -lean_object* l___regBuiltin_Lean_Delaborator_delabProd___closed__1; -lean_object* l_Lean_Delaborator_delabCons___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabAppImplicit_match__2___rarg(lean_object*, lean_object*); -lean_object* l_Lean_Syntax_setInfo(lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabLT___lambda__1___closed__2; -extern lean_object* l_Lean_instInhabitedName; -lean_object* l_Lean_Delaborator_mkDelabAttribute___closed__8; -lean_object* l_Lean_Delaborator_delabOrElse___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_mapIdxM_map___at_Lean_Delaborator_delabStructureInstance___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Level_quote___lambda__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabIff___lambda__1(uint8_t, 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_1885____closed__4; -lean_object* l_Array_mapIdxM_map___at_Lean_Delaborator_delabStructureInstance___spec__1___closed__1; -lean_object* l_Lean_getPPPrivateNames___closed__2; -lean_object* l_Lean_Delaborator_delabLT___lambda__1___boxed(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_8168____closed__11; -lean_object* l_Lean_Delaborator_delabDoElems___closed__1; -extern lean_object* l_myMacro____x40_Init_Notation___hyg_1042____closed__4; -lean_object* l_List_toArrayAux___rarg(lean_object*, lean_object*); -lean_object* l___regBuiltin_Lean_Delaborator_delabCoe(lean_object*); -lean_object* l_Array_mapIdxM_map___at_Lean_Delaborator_delabStructureInstance___spec__1___closed__2; -lean_object* l_Lean_Delaborator_delabBEq___closed__1; -extern lean_object* l_myMacro____x40_Init_Notation___hyg_3540____closed__1; -lean_object* l_Lean_Level_getLevelOffset(lean_object*); -lean_object* l___regBuiltin_Lean_Delaborator_delabAdd(lean_object*); -lean_object* l_Lean_Delaborator_delabAppMatch___lambda__3___closed__3; -extern lean_object* l_Lean_KeyedDeclsAttribute_instInhabitedDef___closed__1; -extern lean_object* l_myMacro____x40_Init_Notation___hyg_4364____closed__4; -lean_object* l_Lean_Delaborator_delabMapRev___lambda__1___closed__1; -lean_object* l_Lean_Delaborator_delabMData_match__3___rarg(lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabAppExplicit___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_instAlternativeDelabM___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabCons___lambda__1___closed__2; -lean_object* l_Lean_Delaborator_delabseqRight(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_withProj_match__1___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_mkDelabAttribute(lean_object*); -lean_object* l_Lean_Delaborator_delabListToArray___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_getParamKinds___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabSort___closed__9; -lean_object* l_Lean_Delaborator_annotatePos_match__1___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabInfixOp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabMul___closed__1; -extern lean_object* l_Lean_mkOptionalNode___closed__1; -extern lean_object* l___kind_term____x40_Init_Notation___hyg_4833____closed__1; -lean_object* l_Lean_getPPNotation___closed__2; -lean_object* l___regBuiltin_Lean_Delaborator_delabLit___closed__1; -lean_object* l_Lean_Delaborator_delabAppMatch___lambda__3___closed__15; -lean_object* l___regBuiltin_Lean_Delaborator_delabLT(lean_object*); -lean_object* l_Std_AssocList_find_x3f___at_Lean_Delaborator_delabFor___spec__6(lean_object*, lean_object*); -extern lean_object* l___kind_term____x40_Init_Notation___hyg_3013____closed__1; -uint8_t l_Lean_Expr_hasLooseBVars(lean_object*); -lean_object* l_Lean_getPPExplicit___closed__1; -lean_object* l_Array_mapMUnsafe_map___at_Lean_Delaborator_delabConst___spec__1___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabLetE___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_initFn____x40_Lean_Delaborator___hyg_574____closed__1; -extern lean_object* l_myMacro____x40_Init_Notation___hyg_4532____closed__4; -extern lean_object* l___kind_term____x40_Init_Notation___hyg_6289____closed__1; -lean_object* l_Lean_Delaborator_delabLT___lambda__1___closed__1; -lean_object* l_Lean_Delaborator_getExprKind___closed__6; -lean_object* l_Lean_Delaborator_delabDoElems_delabAndRet___closed__2; -lean_object* l_Lean_Delaborator_mkDelabAttribute___closed__12; -lean_object* l___regBuiltin_Lean_Delaborator_delabSub___closed__3; -lean_object* l___regBuiltin_Lean_Delaborator_delabEquiv___closed__2; -lean_object* l___regBuiltin_Lean_Delaborator_delabAppend___closed__3; -lean_object* l___regBuiltin_Lean_Delaborator_delabSort___closed__1; -lean_object* l___regBuiltin_Lean_Delaborator_delabMVar___closed__1; -extern lean_object* l_Lean_Meta_evalNat_visit___closed__2; -lean_object* l_Lean_Delaborator_delabAttribute; -uint8_t l_Lean_TagDeclarationExtension_isTagged(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabConst___closed__2; -extern size_t l_Std_PersistentHashMap_insertAux___rarg___closed__2; -lean_object* l_Lean_Delaborator_delabDoElems___closed__2; -lean_object* l_Lean_Delaborator_delabStructureInstance___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t l_Lean_Expr_binderInfo(lean_object*); -uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); -lean_object* l_Lean_PersistentEnvExtension_getState___rarg(lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabLit_match__1(lean_object*); -lean_object* l_Lean_Delaborator_withAppArg___rarg___closed__1; -lean_object* l_Lean_Delaborator_delabFor_match__2(lean_object*); -extern lean_object* l_Lean_Syntax_expandInterpolatedStr___lambda__1___closed__2; -lean_object* l_Lean_Delaborator_delabDoElems_match__2(lean_object*); -lean_object* l_Lean_Delaborator_delabAppImplicit___closed__4; -lean_object* l___regBuiltin_Lean_Delaborator_delabLam(lean_object*); -lean_object* l_Lean_Delaborator_delabAppMatch___lambda__3___closed__6; -extern lean_object* l_Lean_Expr_ctorName___closed__6; -lean_object* l_Lean_Delaborator_delabSort___closed__8; -lean_object* l_Lean_Delaborator_delabAndThen___lambda__1___closed__1; -lean_object* l_Lean_delab___closed__4; -lean_object* l_Lean_Level_quote___closed__5; -lean_object* l_Lean_Delaborator_delabProj___closed__4; -lean_object* l___private_Lean_Delaborator_0__Lean_Delaborator_skippingBinders___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___regBuiltin_Lean_Delaborator_delabIff(lean_object*); -lean_object* l_Array_anyMUnsafe_any___at_Lean_Delaborator_delabForall___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabFVar___closed__2; -lean_object* l_Lean_Meta_inferType___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabMData_match__2(lean_object*); -lean_object* l_Lean_Delaborator_delabSort___closed__4; -lean_object* l_Lean_Delaborator_delabProjectionApp_match__3___rarg(lean_object*, lean_object*, lean_object*); -extern lean_object* l_Array_instReprArray___rarg___closed__1; -lean_object* l___regBuiltin_Lean_Delaborator_delabAndM___closed__1; -lean_object* l_Lean_Delaborator_instInhabitedDelabM(lean_object*); -lean_object* l___regBuiltin_Lean_Delaborator_delabBVar___closed__1; -lean_object* l_Lean_Delaborator_delabModN(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabDoElems___lambda__4___closed__3; -lean_object* l_Lean_Meta_forallTelescope___at___private_Lean_Delaborator_0__Lean_Delaborator_delabPatterns___spec__4(lean_object*); -lean_object* l_Lean_Delaborator_delabPow___lambda__1(uint8_t, 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_Delaborator_delabFor___spec__5___boxed(lean_object*, lean_object*); -extern lean_object* l_myMacro____x40_Init_Core___hyg_1032____closed__1; -lean_object* l_List_forIn_loop___at_Lean_Delaborator_delabMData___spec__3___lambda__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabBNot___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___regBuiltin_Lean_Delaborator_delabProj(lean_object*); -lean_object* l_Lean_Delaborator_delabBNot___lambda__1___closed__4; -lean_object* l_Lean_Delaborator_delabZero___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* lean_mk_syntax_ident(lean_object*); -lean_object* l_Lean_Delaborator_delabSort___closed__1; -lean_object* l___regBuiltin_Lean_Delaborator_delabLetE(lean_object*); -lean_object* l___regBuiltin_Lean_Delaborator_delabMap___closed__1; -extern lean_object* l___kind_term____x40_Init_Notation___hyg_2848____closed__1; -lean_object* l_Lean_delab___closed__1; -extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__8; -extern lean_object* l___kind_term____x40_Init_Notation___hyg_2679____closed__1; -lean_object* l_Lean_Delaborator_delabConsList___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabConst___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabBNot___lambda__1___closed__1; -lean_object* l_Lean_Delaborator_withBindingBody(lean_object*); -lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabseqLeft___closed__1; -lean_object* l_Lean_Delaborator_delabFComp___closed__1; -lean_object* l___regBuiltin_Lean_Delaborator_delabPow___closed__3; -extern lean_object* l_myMacro____x40_Init_Notation___hyg_2883____closed__1; -extern lean_object* l_Lean_mkOptionalNode___closed__2; -extern lean_object* l_myMacro____x40_Init_Notation___hyg_2054____closed__1; -lean_object* l_Lean_Delaborator_getParamKinds___closed__1; -extern lean_object* l_myMacro____x40_Init_Notation___hyg_7791____closed__8; -extern lean_object* l_myMacro____x40_Init_Notation___hyg_5739____closed__13; -lean_object* l_Array_mapMUnsafe_map___at_Lean_Delaborator_delabConst___spec__1(size_t, size_t, lean_object*); -lean_object* l___regBuiltin_Lean_Delaborator_delabMapRev(lean_object*); -lean_object* l___regBuiltin_Lean_Delaborator_delabNil___closed__1; -lean_object* l_Lean_Delaborator_delabCons___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___regBuiltin_Lean_Delaborator_delabOrElse(lean_object*); -lean_object* l_Lean_Delaborator_delabAndM___closed__1; -lean_object* l_Array_mapIdxM_map___at___private_Lean_Delaborator_0__Lean_Delaborator_delabPatterns___spec__3___closed__5; -lean_object* l_Lean_getConstInfo___at_Lean_Delaborator_delabAppMatch___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_withAppFn___rarg___closed__4; -lean_object* l_Lean_Delaborator_delabAppExplicit_match__3___rarg(lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_descend___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Expr_getAppFn(lean_object*); -lean_object* l_Lean_Delaborator_delabLit___closed__1; -lean_object* l___regBuiltin_Lean_Delaborator_delabOne___closed__1; -lean_object* l_Lean_Delaborator_delabFVar___closed__1; -extern lean_object* l_Lean_Meta_CheckAssignment_checkFVar___closed__1; -lean_object* l_Lean_Delaborator_mkDelabAttribute___closed__11; -lean_object* l_Lean_Delaborator_delabProj(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__7; -lean_object* l_Lean_Delaborator_withAppFnArgs___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_findIdx_x3f_loop___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___regBuiltin_Lean_Delaborator_delabAndThen___closed__1; -lean_object* l_Lean_Delaborator_delabAppMatch___lambda__3___closed__1; -lean_object* l___regBuiltin_Lean_Delaborator_delabMap___closed__2; -lean_object* l_Lean_Delaborator_delabLT(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_withAppArg___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabBEq___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabEquiv___lambda__1___closed__1; -lean_object* l_Lean_Delaborator_delabLam___lambda__3___closed__3; -lean_object* l___regBuiltin_Lean_Delaborator_delabseqRight___closed__3; -extern lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Environment_displayStats___spec__8___lambda__1___closed__1; -lean_object* l_Lean_Delaborator_delabAppend___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabGE___lambda__1___closed__4; -lean_object* l_Lean_Delaborator_delabMapRev___lambda__1___closed__2; -lean_object* l_Lean_Delaborator_delabZero___lambda__1___closed__1; -lean_object* l_Lean_Delaborator_delabDoElems_delabAndRet___closed__1; -lean_object* l_Lean_Delaborator_delabOrElse(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*); -extern lean_object* l_myMacro____x40_Init_Notation___hyg_538____closed__4; -lean_object* l___regBuiltin_Lean_Delaborator_delabTuple___closed__1; -lean_object* l_Lean_Delaborator_delabStructureInstance_match__3___rarg(lean_object*, lean_object*, lean_object*); -uint8_t l_List_isEmpty___rarg(lean_object*); -lean_object* l_Lean_Delaborator_delabNil___lambda__1___closed__3; -lean_object* l_Lean_getPPBinderTypes___closed__2; -lean_object* l_Lean_Delaborator_liftMetaM(lean_object*); -lean_object* l_Lean_Delaborator_delabseq___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabAppExplicit___closed__2; -lean_object* lean_local_ctx_find(lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabEquiv___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l___kind_term____x40_Init_Notation___hyg_4161____closed__1; -lean_object* l_Lean_KeyedDeclsAttribute_init___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabBNot___lambda__1___closed__2; -lean_object* l_Array_foldrMUnsafe_fold___at_Lean_Delaborator_delabForall___spec__2(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabCoe(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabFor_match__1(lean_object*); -extern lean_object* l___kind_stx____x40_Init_Notation___hyg_7348____closed__2; -lean_object* l_Lean_Delaborator_delabAppMatch___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabSub___closed__1; -lean_object* lean_usize_to_nat(size_t); -lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLetDeclImp___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabOne___closed__1; -lean_object* l_Lean_Delaborator_delabAppImplicit___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_withAppFn_match__1___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabAndThen___lambda__1___closed__2; -extern lean_object* l___kind_term____x40_Init_Control_Basic___hyg_38____closed__6; -lean_object* l___regBuiltin_Lean_Delaborator_delabTuple___closed__2; -lean_object* l___regBuiltin_Lean_Delaborator_delabAndThen___closed__2; -lean_object* l_Array_foldrMUnsafe_fold___at_Lean_Delaborator_delabForall___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___regBuiltin_Lean_Delaborator_delabPow___closed__1; -lean_object* l_Lean_Name_getRoot(lean_object*); -lean_object* l_Lean_initFn____x40_Lean_Delaborator___hyg_574____closed__3; -lean_object* l_Lean_Delaborator_delabMapRev(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Parser_Tactic_rwRule___closed__3; -lean_object* l_Lean_Delaborator_delabBNot(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t l_Lean_getPPAll(lean_object*); -lean_object* l_Lean_Delaborator_getExprKind___closed__3; -lean_object* l_Lean_Level_quote___closed__1; -lean_object* l_Lean_Delaborator_delabFComp___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_List_forIn_loop___at_Lean_Delaborator_delabMData___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabOfNat___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_myMacro____x40_Init_Notation___hyg_4868____closed__7; -lean_object* l___private_Lean_Delaborator_0__Lean_Delaborator_delabBinders_match__1___rarg(lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabAndThen___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_initFn____x40_Lean_Delaborator___hyg_626_(lean_object*); -lean_object* l_Lean_Level_quote___closed__3; -lean_object* l_Lean_Delaborator_delabNil___lambda__1___closed__2; -lean_object* l_Lean_Delaborator_delabPow___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabMVar___closed__4; -lean_object* l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(lean_object*); -lean_object* l___regBuiltin_Lean_Delaborator_delabNot___closed__1; -lean_object* l_Lean_Delaborator_annotatePos___closed__1; -lean_object* l_Lean_Delaborator_delabPow___lambda__1___closed__2; -lean_object* l___regBuiltin_Lean_Delaborator_delabAdd___closed__1; -lean_object* l_Lean_Delaborator_delabIff___closed__1; -extern lean_object* l___kind_term____x40_Init_Notation___hyg_1343____closed__1; -lean_object* l___regBuiltin_Lean_Delaborator_delabPow___closed__2; -lean_object* l_Lean_Delaborator_delabAppMatch_match__1(lean_object*); -lean_object* l_Lean_Expr_bindingBody_x21(lean_object*); -lean_object* l___regBuiltin_Lean_Delaborator_delabCons___closed__1; -extern lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3420____closed__10; -lean_object* l_Lean_Delaborator_delabPow___closed__1; -lean_object* l_Lean_Delaborator_delabAppMatch___lambda__3___closed__13; -lean_object* l_Lean_Delaborator_delabDoElems_delabAndRet(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabSort___closed__11; -lean_object* l_Lean_getPPPrivateNames___closed__1; -lean_object* l_Lean_Delaborator_delabBNot___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Expr_isConstructorApp_x3f(lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delab___closed__5; -lean_object* l_Lean_Delaborator_delabConsList(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_mkConst(lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabSub(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__2; -lean_object* l_Lean_Delaborator_delabSort(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabEquiv(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___regBuiltin_Lean_Delaborator_delabBNe___closed__1; -lean_object* l_Lean_Delaborator_delabSub___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_getPPStructureProjections___closed__2; -lean_object* l_Lean_Delaborator_delabNil___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Level_quote(lean_object*); -lean_object* l_Lean_Delaborator_instAlternativeDelabM___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Level_quote___closed__4; -lean_object* l_Lean_Delaborator_delabDoElems___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabConst_match__1___rarg(lean_object*, lean_object*, lean_object*); -extern lean_object* l_myMacro____x40_Init_Notation___hyg_4032____closed__1; -extern lean_object* l_Lean_Meta_evalNat_match__1___rarg___closed__1; -extern lean_object* l___regBuiltin_Lean_Elab_Term_elabSyntheticHole___closed__1; -lean_object* l_Lean_Delaborator_delabDoElems___lambda__1___closed__3; -lean_object* l_Lean_Delaborator_delabConst___closed__3; -lean_object* l___regBuiltin_Lean_Delaborator_delabForall(lean_object*); -extern lean_object* l___kind_term____x40_Init_Notation___hyg_2349____closed__1; -lean_object* l___private_Lean_Delaborator_0__Lean_Delaborator_unresolveUsingNamespace(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Name_replacePrefix(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabDoElems_prependAndRec(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Delaborator_0__Lean_Delaborator_unresolveUsingNamespace_match__1(lean_object*); -lean_object* l_Lean_Delaborator_delabBOr___closed__1; -extern lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoe___closed__3; -lean_object* l_Lean_Delaborator_delabNil___lambda__1___closed__1; -lean_object* l_ReaderT_bind___at_Lean_Level_quote___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabLetE___closed__2; -lean_object* l_Lean_Delaborator_delabNil___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__4; -lean_object* l_Lean_getPPPrivateNames___boxed(lean_object*); -lean_object* l___regBuiltin_Lean_Delaborator_delabModN(lean_object*); -lean_object* l_Lean_Delaborator_delabSub___lambda__1___closed__1; -lean_object* l___regBuiltin_Lean_Delaborator_delabOne___closed__3; -lean_object* l_Lean_Delaborator_delabNil___closed__1; -lean_object* l_Lean_Delaborator_delabMapRev___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabAppMatch___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___regBuiltin_Lean_Delaborator_delabLE___closed__2; -lean_object* l___regBuiltin_Lean_Delaborator_delabBNe___closed__2; -lean_object* l_Lean_Delaborator_delabAppMatch___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabAppMatch___lambda__3___closed__8; -lean_object* l_Lean_Delaborator_delabAndM___lambda__1___closed__1; -lean_object* l_Lean_Delaborator_delabAppExplicit___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_myMacro____x40_Init_Notation___hyg_1378____closed__4; -lean_object* l_Lean_throwError___at_Lean_Delaborator_delabAppMatch___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_getExprKind_match__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_getPPStructureProjections___boxed(lean_object*); -extern lean_object* l_Lean_Meta_evalNat_visit___closed__5; -lean_object* l___regBuiltin_Lean_Delaborator_delabNot___closed__2; -lean_object* l___regBuiltin_Lean_Delaborator_delabOfNat___closed__2; -lean_object* l_Lean_Delaborator_getExprKind_match__2___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_ReaderT_bind___at_Lean_Delaborator_delabAppExplicit___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_instReprChar___closed__1; -lean_object* l_Lean_Delaborator_delabAppExplicit___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabNot___lambda__1___closed__5; -extern lean_object* l_addParenHeuristic___closed__1; -extern lean_object* l___kind_term____x40_Init_Notation___hyg_5001____closed__1; -lean_object* l_Lean_Delaborator_delabPow___lambda__1___closed__1; -lean_object* l_Lean_Delaborator_mkDelabAttribute___closed__9; -lean_object* l_Lean_Level_quote___closed__2; -lean_object* l_Lean_Delaborator_delabIff___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_zipWithAux___at_Lean_Delaborator_delabAppMatch___spec__4(lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t l_Array_anyMUnsafe_any___at_Lean_Delaborator_delabLam___spec__1(lean_object*, lean_object*, size_t, size_t); -lean_object* l_Std_RBNode_ins___at_Lean_Delaborator_delabMData___spec__2(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabDo___lambda__1___closed__6; -extern lean_object* l_myMacro____x40_Init_Notation___hyg_5739____closed__8; -lean_object* l_Lean_Delaborator_hasIdent_match__1(lean_object*); -lean_object* l_Lean_Delaborator_delabLetE___closed__1; -lean_object* l_Lean_getPPBinderTypes___closed__1; -lean_object* l_Lean_Delaborator_delabLam_match__1___rarg(uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t l_Lean_Expr_isLet(lean_object*); -uint8_t l_Lean_isStructure(lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabLE___lambda__1___closed__3; -lean_object* l___regBuiltin_Lean_Delaborator_delabProj___closed__1; -lean_object* l_Lean_Delaborator_delabIff___lambda__1___closed__1; -lean_object* l_Lean_Meta_instantiateForall___at___private_Lean_Delaborator_0__Lean_Delaborator_delabPatterns___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___regBuiltin_Lean_Delaborator_delabseq(lean_object*); -lean_object* l_Lean_Delaborator_delabForall(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___regBuiltin_Lean_Delaborator_delabMap(lean_object*); -lean_object* l_Lean_Delaborator_delabAppMatch___closed__3; -lean_object* l___private_Lean_Delaborator_0__Lean_Delaborator_shouldGroupWithNext___closed__2; -lean_object* l_Lean_Delaborator_delabAppImplicit___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_List_forIn_loop___at_Lean_Delaborator_delabMData___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabAppImplicit___closed__1; -lean_object* l_Lean_Delaborator_instMonadQuotationDelabM___closed__2; -lean_object* l_Lean_Delaborator_delabOfNat_match__1___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabMData_match__1(lean_object*); -lean_object* l___regBuiltin_Lean_Delaborator_delabConsList(lean_object*); -lean_object* l_Lean_Delaborator_delabEquiv___lambda__1___closed__2; -lean_object* l_Lean_Delaborator_delabMap___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_ReaderT_bind___at_Lean_Delaborator_delabAppExplicit___spec__2(lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_withBindingBody___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___regBuiltin_Lean_Delaborator_delabSub(lean_object*); -lean_object* l___regBuiltin_Lean_Delaborator_delabLam___closed__1; -lean_object* l___regBuiltin_Lean_Delaborator_delabEquiv(lean_object*); -lean_object* l___regBuiltin_Lean_Delaborator_delabSort(lean_object*); -lean_object* l_Lean_Delaborator_delabStructureInstance_match__1(lean_object*); -extern lean_object* l_myMacro____x40_Init_Notation___hyg_5739____closed__17; -uint8_t lean_string_dec_eq(lean_object*, lean_object*); -lean_object* l_Lean_Syntax_mkLit(lean_object*, lean_object*, lean_object*); -uint8_t lean_nat_dec_lt(lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabAppExplicit___closed__1; -lean_object* l_Lean_Level_quote___lambda__6___closed__2; -lean_object* l_Lean_Delaborator_delabBVar_match__1___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Delaborator_delabModN___closed__1; -uint8_t l_Lean_Syntax_isIdent(lean_object*); -lean_object* l_Lean_Delaborator_delabNot___lambda__1___closed__2; -lean_object* l_Lean_Delaborator_delabAndM___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___regBuiltin_Lean_Delaborator_delabOfNat___closed__1; -lean_object* l_Lean_getPPBinderTypes___boxed(lean_object*); -lean_object* l_Lean_Level_quote_match__1___rarg(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_object* x_5; -lean_dec(x_2); -x_4 = lean_box(0); -x_5 = lean_apply_1(x_3, x_4); -return x_5; -} -else -{ -lean_object* x_6; lean_object* x_7; -lean_dec(x_3); -x_6 = lean_ctor_get(x_1, 0); -lean_inc(x_6); -lean_dec(x_1); -x_7 = lean_apply_1(x_2, x_6); -return x_7; -} -} -} -lean_object* l_Lean_Level_quote_match__1(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Level_quote_match__1___rarg), 3, 0); -return x_2; -} -} -lean_object* l_Lean_Level_quote_match__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -switch (lean_obj_tag(x_1)) { -case 0: -{ -uint64_t x_8; lean_object* x_9; lean_object* x_10; -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_8 = lean_ctor_get_uint64(x_1, 0); -lean_dec(x_1); -x_9 = lean_box_uint64(x_8); -x_10 = lean_apply_1(x_2, x_9); -return x_10; -} -case 1: -{ -lean_object* x_11; uint64_t x_12; lean_object* x_13; lean_object* x_14; -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -x_11 = lean_ctor_get(x_1, 0); -lean_inc(x_11); -x_12 = lean_ctor_get_uint64(x_1, sizeof(void*)*1); -x_13 = lean_box_uint64(x_12); -x_14 = lean_apply_3(x_3, x_1, x_11, x_13); -return x_14; -} -case 2: -{ -lean_object* x_15; lean_object* x_16; uint64_t x_17; lean_object* x_18; lean_object* x_19; -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_2); -x_15 = lean_ctor_get(x_1, 0); -lean_inc(x_15); -x_16 = lean_ctor_get(x_1, 1); -lean_inc(x_16); -x_17 = lean_ctor_get_uint64(x_1, sizeof(void*)*2); -lean_dec(x_1); -x_18 = lean_box_uint64(x_17); -x_19 = lean_apply_3(x_4, x_15, x_16, x_18); -return x_19; -} -case 3: -{ -lean_object* x_20; lean_object* x_21; uint64_t x_22; lean_object* x_23; lean_object* x_24; -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_20 = lean_ctor_get(x_1, 0); -lean_inc(x_20); -x_21 = lean_ctor_get(x_1, 1); -lean_inc(x_21); -x_22 = lean_ctor_get_uint64(x_1, sizeof(void*)*2); -lean_dec(x_1); -x_23 = lean_box_uint64(x_22); -x_24 = lean_apply_3(x_5, x_20, x_21, x_23); -return x_24; -} -case 4: -{ -lean_object* x_25; uint64_t x_26; lean_object* x_27; lean_object* x_28; -lean_dec(x_7); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_25 = lean_ctor_get(x_1, 0); -lean_inc(x_25); -x_26 = lean_ctor_get_uint64(x_1, sizeof(void*)*1); -lean_dec(x_1); -x_27 = lean_box_uint64(x_26); -x_28 = lean_apply_2(x_6, x_25, x_27); -return x_28; -} -default: -{ -lean_object* x_29; uint64_t x_30; lean_object* x_31; lean_object* x_32; -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_29 = lean_ctor_get(x_1, 0); -lean_inc(x_29); -x_30 = lean_ctor_get_uint64(x_1, sizeof(void*)*1); -lean_dec(x_1); -x_31 = lean_box_uint64(x_30); -x_32 = lean_apply_2(x_7, x_29, x_31); -return x_32; -} -} -} -} -lean_object* l_Lean_Level_quote_match__2(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Level_quote_match__2___rarg), 7, 0); -return x_2; -} -} -lean_object* l_ReaderT_bind___at_Lean_Level_quote___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; -lean_inc(x_3); -x_5 = lean_apply_2(x_1, x_3, x_4); -x_6 = lean_ctor_get(x_5, 0); -lean_inc(x_6); -x_7 = lean_ctor_get(x_5, 1); -lean_inc(x_7); -lean_dec(x_5); -x_8 = lean_apply_3(x_2, x_6, x_3, x_7); -return x_8; -} -} -lean_object* l_ReaderT_bind___at_Lean_Level_quote___spec__1(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Level_quote___spec__1___rarg), 4, 0); -return x_3; -} -} -lean_object* l_Lean_Level_quote___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; lean_object* x_5; -x_4 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_845____closed__4; -x_5 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_5, 0, x_4); -lean_ctor_set(x_5, 1, x_3); -return x_5; -} -} -static lean_object* _init_l_Lean_Level_quote___lambda__2___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_instInhabitedSourceInfo___closed__1; -x_2 = l___kind_stx____x40_Init_Notation___hyg_7296____closed__8; -x_3 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -lean_object* l_Lean_Level_quote___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_5 = l_Lean_Level_getLevelOffset(x_1); -x_6 = l_Lean_Level_quote(x_5); -x_7 = l_Array_empty___closed__1; -x_8 = lean_array_push(x_7, x_6); -x_9 = l_Lean_Level_quote___lambda__2___closed__1; -x_10 = lean_array_push(x_8, x_9); -x_11 = lean_unsigned_to_nat(0u); -x_12 = l_Lean_Level_getOffsetAux(x_1, x_11); -x_13 = l_Nat_repr(x_12); -x_14 = l_Lean_numLitKind; -x_15 = l_Lean_instInhabitedSourceInfo___closed__1; -x_16 = l_Lean_Syntax_mkLit(x_14, x_13, x_15); -x_17 = lean_array_push(x_10, x_16); -x_18 = l_Lean_Elab_Level_elabLevel___closed__5; -x_19 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_19, 0, x_18); -lean_ctor_set(x_19, 1, x_17); -x_20 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_20, 0, x_19); -lean_ctor_set(x_20, 1, x_4); -return x_20; -} -} -lean_object* l_Lean_Level_quote___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; -x_5 = l_Nat_repr(x_1); -x_6 = l_Lean_numLitKind; -x_7 = l_Lean_instInhabitedSourceInfo___closed__1; -x_8 = l_Lean_Syntax_mkLit(x_6, x_5, x_7); -x_9 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_9, 0, x_8); -lean_ctor_set(x_9, 1, x_4); -return x_9; -} -} -static lean_object* _init_l_Lean_Level_quote___lambda__4___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_instInhabitedSourceInfo___closed__1; -x_2 = l_Lean_Level_LevelToFormat_Result_format___closed__2; -x_3 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Level_quote___lambda__4___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_empty___closed__1; -x_2 = l_Lean_Level_quote___lambda__4___closed__1; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -lean_object* l_Lean_Level_quote___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_7 = l_Lean_Level_quote(x_1); -x_8 = l_Array_empty___closed__1; -x_9 = lean_array_push(x_8, x_7); -x_10 = lean_array_push(x_9, x_2); -x_11 = l_Lean_nullKind___closed__2; -x_12 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_12, 0, x_11); -lean_ctor_set(x_12, 1, x_10); -x_13 = l_Lean_Level_quote___lambda__4___closed__2; -x_14 = lean_array_push(x_13, x_12); -x_15 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_15, 0, x_3); -lean_ctor_set(x_15, 1, 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_6); -return x_16; -} -} -lean_object* l_Lean_Level_quote___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_7 = l_Lean_Level_quote(x_1); -x_8 = l_Array_empty___closed__1; -x_9 = lean_array_push(x_8, x_7); -x_10 = l_Array_appendCore___rarg(x_9, x_2); -x_11 = l_Lean_nullKind___closed__2; -x_12 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_12, 0, x_11); -lean_ctor_set(x_12, 1, x_10); -x_13 = l_Lean_Level_quote___lambda__4___closed__2; -x_14 = lean_array_push(x_13, x_12); -x_15 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_15, 0, x_3); -lean_ctor_set(x_15, 1, 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_6); -return x_16; -} -} -static lean_object* _init_l_Lean_Level_quote___lambda__6___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_instInhabitedSourceInfo___closed__1; -x_2 = l_Lean_Level_LevelToFormat_Result_format___closed__4; -x_3 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Level_quote___lambda__6___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_empty___closed__1; -x_2 = l_Lean_Level_quote___lambda__6___closed__1; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -lean_object* l_Lean_Level_quote___lambda__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_7 = l_Lean_Level_quote(x_1); -x_8 = l_Array_empty___closed__1; -x_9 = lean_array_push(x_8, x_7); -x_10 = lean_array_push(x_9, x_2); -x_11 = l_Lean_nullKind___closed__2; -x_12 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_12, 0, x_11); -lean_ctor_set(x_12, 1, x_10); -x_13 = l_Lean_Level_quote___lambda__6___closed__2; -x_14 = lean_array_push(x_13, x_12); -x_15 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_15, 0, x_3); -lean_ctor_set(x_15, 1, 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_6); -return x_16; -} -} -lean_object* l_Lean_Level_quote___lambda__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_7 = l_Lean_Level_quote(x_1); -x_8 = l_Array_empty___closed__1; -x_9 = lean_array_push(x_8, x_7); -x_10 = l_Array_appendCore___rarg(x_9, x_2); -x_11 = l_Lean_nullKind___closed__2; -x_12 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_12, 0, x_11); -lean_ctor_set(x_12, 1, x_10); -x_13 = l_Lean_Level_quote___lambda__6___closed__2; -x_14 = lean_array_push(x_13, x_12); -x_15 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_15, 0, x_3); -lean_ctor_set(x_15, 1, 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_6); -return x_16; -} -} -lean_object* l_Lean_Level_quote___lambda__8(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; lean_object* x_6; -x_5 = lean_mk_syntax_ident(x_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); -return x_6; -} -} -lean_object* l_Lean_Level_quote___lambda__9(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; lean_object* x_5; -x_4 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__35; -x_5 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_5, 0, x_4); -lean_ctor_set(x_5, 1, x_3); -return x_5; -} -} -static lean_object* _init_l_Lean_Level_quote___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Level_quote___lambda__1___boxed), 3, 0); -return x_1; -} -} -static lean_object* _init_l_Lean_Level_quote___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Unhygienic_instMonadQuotationUnhygienic___closed__4; -x_2 = l_Lean_Level_quote___closed__1; -x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Level_quote___spec__1___rarg), 4, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Level_quote___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Level_quote___closed__2; -x_2 = l_Lean_Unhygienic_run___rarg(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Level_quote___closed__4() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Level_quote___lambda__9___boxed), 3, 0); -return x_1; -} -} -static lean_object* _init_l_Lean_Level_quote___closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Unhygienic_instMonadQuotationUnhygienic___closed__4; -x_2 = l_Lean_Level_quote___closed__4; -x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Level_quote___spec__1___rarg), 4, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Level_quote___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Level_quote___closed__5; -x_2 = l_Lean_Unhygienic_run___rarg(x_1); -return x_2; -} -} -lean_object* l_Lean_Level_quote(lean_object* x_1) { -_start: -{ -switch (lean_obj_tag(x_1)) { -case 0: -{ -lean_object* x_2; -lean_dec(x_1); -x_2 = l_Lean_Level_quote___closed__3; -return x_2; -} -case 1: -{ -lean_object* x_3; -x_3 = l_Lean_Level_toNat(x_1); -if (lean_obj_tag(x_3) == 0) -{ -lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_4 = lean_alloc_closure((void*)(l_Lean_Level_quote___lambda__2___boxed), 4, 1); -lean_closure_set(x_4, 0, x_1); -x_5 = l_Lean_Unhygienic_instMonadQuotationUnhygienic___closed__4; -x_6 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Level_quote___spec__1___rarg), 4, 2); -lean_closure_set(x_6, 0, x_5); -lean_closure_set(x_6, 1, x_4); -x_7 = l_Lean_Unhygienic_run___rarg(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; -lean_dec(x_1); -x_8 = lean_ctor_get(x_3, 0); -lean_inc(x_8); -lean_dec(x_3); -x_9 = lean_alloc_closure((void*)(l_Lean_Level_quote___lambda__3___boxed), 4, 1); -lean_closure_set(x_9, 0, x_8); -x_10 = l_Lean_Unhygienic_instMonadQuotationUnhygienic___closed__4; -x_11 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Level_quote___spec__1___rarg), 4, 2); -lean_closure_set(x_11, 0, x_10); -lean_closure_set(x_11, 1, x_9); -x_12 = l_Lean_Unhygienic_run___rarg(x_11); -return x_12; -} -} -case 2: -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; -x_13 = lean_ctor_get(x_1, 0); -lean_inc(x_13); -x_14 = lean_ctor_get(x_1, 1); -lean_inc(x_14); -lean_dec(x_1); -x_15 = l_Lean_Level_quote(x_14); -x_16 = l_Lean_Elab_Level_elabLevel___closed__2; -lean_inc(x_15); -x_17 = l_Lean_Syntax_isOfKind(x_15, x_16); -if (x_17 == 0) -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_18 = lean_alloc_closure((void*)(l_Lean_Level_quote___lambda__4___boxed), 6, 3); -lean_closure_set(x_18, 0, x_13); -lean_closure_set(x_18, 1, x_15); -lean_closure_set(x_18, 2, x_16); -x_19 = l_Lean_Unhygienic_instMonadQuotationUnhygienic___closed__4; -x_20 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Level_quote___spec__1___rarg), 4, 2); -lean_closure_set(x_20, 0, x_19); -lean_closure_set(x_20, 1, x_18); -x_21 = l_Lean_Unhygienic_run___rarg(x_20); -return x_21; -} -else -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; -x_22 = l_Lean_Syntax_getArgs(x_15); -x_23 = lean_array_get_size(x_22); -lean_dec(x_22); -x_24 = lean_unsigned_to_nat(2u); -x_25 = lean_nat_dec_eq(x_23, x_24); -lean_dec(x_23); -if (x_25 == 0) -{ -lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_26 = lean_alloc_closure((void*)(l_Lean_Level_quote___lambda__4___boxed), 6, 3); -lean_closure_set(x_26, 0, x_13); -lean_closure_set(x_26, 1, x_15); -lean_closure_set(x_26, 2, x_16); -x_27 = l_Lean_Unhygienic_instMonadQuotationUnhygienic___closed__4; -x_28 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Level_quote___spec__1___rarg), 4, 2); -lean_closure_set(x_28, 0, x_27); -lean_closure_set(x_28, 1, x_26); -x_29 = l_Lean_Unhygienic_run___rarg(x_28); -return x_29; -} -else -{ -lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_30 = lean_unsigned_to_nat(1u); -x_31 = l_Lean_Syntax_getArg(x_15, x_30); -lean_dec(x_15); -x_32 = l_Lean_Syntax_getArgs(x_31); -lean_dec(x_31); -x_33 = lean_alloc_closure((void*)(l_Lean_Level_quote___lambda__5___boxed), 6, 3); -lean_closure_set(x_33, 0, x_13); -lean_closure_set(x_33, 1, x_32); -lean_closure_set(x_33, 2, x_16); -x_34 = l_Lean_Unhygienic_instMonadQuotationUnhygienic___closed__4; -x_35 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Level_quote___spec__1___rarg), 4, 2); -lean_closure_set(x_35, 0, x_34); -lean_closure_set(x_35, 1, x_33); -x_36 = l_Lean_Unhygienic_run___rarg(x_35); -return x_36; -} -} -} -case 3: -{ -lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; uint8_t x_41; -x_37 = lean_ctor_get(x_1, 0); -lean_inc(x_37); -x_38 = lean_ctor_get(x_1, 1); -lean_inc(x_38); -lean_dec(x_1); -x_39 = l_Lean_Level_quote(x_38); -x_40 = l_Lean_Elab_Level_elabLevel___closed__3; -lean_inc(x_39); -x_41 = l_Lean_Syntax_isOfKind(x_39, x_40); -if (x_41 == 0) -{ -lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; -x_42 = lean_alloc_closure((void*)(l_Lean_Level_quote___lambda__6___boxed), 6, 3); -lean_closure_set(x_42, 0, x_37); -lean_closure_set(x_42, 1, x_39); -lean_closure_set(x_42, 2, x_40); -x_43 = l_Lean_Unhygienic_instMonadQuotationUnhygienic___closed__4; -x_44 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Level_quote___spec__1___rarg), 4, 2); -lean_closure_set(x_44, 0, x_43); -lean_closure_set(x_44, 1, x_42); -x_45 = l_Lean_Unhygienic_run___rarg(x_44); -return x_45; -} -else -{ -lean_object* x_46; lean_object* x_47; lean_object* x_48; uint8_t x_49; -x_46 = l_Lean_Syntax_getArgs(x_39); -x_47 = lean_array_get_size(x_46); -lean_dec(x_46); -x_48 = lean_unsigned_to_nat(2u); -x_49 = lean_nat_dec_eq(x_47, x_48); -lean_dec(x_47); -if (x_49 == 0) -{ -lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; -x_50 = lean_alloc_closure((void*)(l_Lean_Level_quote___lambda__6___boxed), 6, 3); -lean_closure_set(x_50, 0, x_37); -lean_closure_set(x_50, 1, x_39); -lean_closure_set(x_50, 2, x_40); -x_51 = l_Lean_Unhygienic_instMonadQuotationUnhygienic___closed__4; -x_52 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Level_quote___spec__1___rarg), 4, 2); -lean_closure_set(x_52, 0, x_51); -lean_closure_set(x_52, 1, x_50); -x_53 = l_Lean_Unhygienic_run___rarg(x_52); -return x_53; -} -else -{ -lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; -x_54 = lean_unsigned_to_nat(1u); -x_55 = l_Lean_Syntax_getArg(x_39, x_54); -lean_dec(x_39); -x_56 = l_Lean_Syntax_getArgs(x_55); -lean_dec(x_55); -x_57 = lean_alloc_closure((void*)(l_Lean_Level_quote___lambda__7___boxed), 6, 3); -lean_closure_set(x_57, 0, x_37); -lean_closure_set(x_57, 1, x_56); -lean_closure_set(x_57, 2, x_40); -x_58 = l_Lean_Unhygienic_instMonadQuotationUnhygienic___closed__4; -x_59 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Level_quote___spec__1___rarg), 4, 2); -lean_closure_set(x_59, 0, x_58); -lean_closure_set(x_59, 1, x_57); -x_60 = l_Lean_Unhygienic_run___rarg(x_59); -return x_60; -} -} -} -case 4: -{ -lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; -x_61 = lean_ctor_get(x_1, 0); -lean_inc(x_61); -lean_dec(x_1); -x_62 = lean_alloc_closure((void*)(l_Lean_Level_quote___lambda__8___boxed), 4, 1); -lean_closure_set(x_62, 0, x_61); -x_63 = l_Lean_Unhygienic_instMonadQuotationUnhygienic___closed__4; -x_64 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Level_quote___spec__1___rarg), 4, 2); -lean_closure_set(x_64, 0, x_63); -lean_closure_set(x_64, 1, x_62); -x_65 = l_Lean_Unhygienic_run___rarg(x_64); -return x_65; -} -default: -{ -lean_object* x_66; -lean_dec(x_1); -x_66 = l_Lean_Level_quote___closed__6; -return x_66; -} -} -} -} -lean_object* l_Lean_Level_quote___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l_Lean_Level_quote___lambda__1(x_1, x_2, x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_4; -} -} -lean_object* l_Lean_Level_quote___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; -x_5 = l_Lean_Level_quote___lambda__2(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_Lean_Level_quote___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; -x_5 = l_Lean_Level_quote___lambda__3(x_1, x_2, x_3, x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_5; -} -} -lean_object* l_Lean_Level_quote___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; -x_7 = l_Lean_Level_quote___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6); -lean_dec(x_5); -lean_dec(x_4); -return x_7; -} -} -lean_object* l_Lean_Level_quote___lambda__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: -{ -lean_object* x_7; -x_7 = l_Lean_Level_quote___lambda__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); -return x_7; -} -} -lean_object* l_Lean_Level_quote___lambda__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; -x_7 = l_Lean_Level_quote___lambda__6(x_1, x_2, x_3, x_4, x_5, x_6); -lean_dec(x_5); -lean_dec(x_4); -return x_7; -} -} -lean_object* l_Lean_Level_quote___lambda__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; -x_7 = l_Lean_Level_quote___lambda__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); -return x_7; -} -} -lean_object* l_Lean_Level_quote___lambda__8___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; -x_5 = l_Lean_Level_quote___lambda__8(x_1, x_2, x_3, x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_5; -} -} -lean_object* l_Lean_Level_quote___lambda__9___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l_Lean_Level_quote___lambda__9(x_1, x_2, x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_4; -} -} -static lean_object* _init_l_Lean_Level_instQuoteLevel___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Level_quote), 1, 0); -return x_1; -} -} -static lean_object* _init_l_Lean_Level_instQuoteLevel() { -_start: -{ -lean_object* x_1; -x_1 = l_Lean_Level_instQuoteLevel___closed__1; -return x_1; -} -} -static lean_object* _init_l_Lean_getPPBinderTypes___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("binder_types"); -return x_1; -} -} -static lean_object* _init_l_Lean_getPPBinderTypes___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_getSanitizeNames___closed__2; -x_2 = l_Lean_getPPBinderTypes___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -uint8_t l_Lean_getPPBinderTypes(lean_object* x_1) { -_start: -{ -lean_object* x_2; uint8_t x_3; uint8_t x_4; -x_2 = l_Lean_getPPBinderTypes___closed__2; -x_3 = 1; -x_4 = l_Lean_KVMap_getBool(x_1, x_2, x_3); -return x_4; -} -} -lean_object* l_Lean_getPPBinderTypes___boxed(lean_object* x_1) { -_start: -{ -uint8_t x_2; lean_object* x_3; -x_2 = l_Lean_getPPBinderTypes(x_1); -lean_dec(x_1); -x_3 = lean_box(x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_getPPCoercions___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("coercions"); -return x_1; -} -} -static lean_object* _init_l_Lean_getPPCoercions___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_getSanitizeNames___closed__2; -x_2 = l_Lean_getPPCoercions___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -uint8_t l_Lean_getPPCoercions(lean_object* x_1) { -_start: -{ -lean_object* x_2; uint8_t x_3; uint8_t x_4; -x_2 = l_Lean_getPPCoercions___closed__2; -x_3 = 1; -x_4 = l_Lean_KVMap_getBool(x_1, x_2, x_3); -return x_4; -} -} -lean_object* l_Lean_getPPCoercions___boxed(lean_object* x_1) { -_start: -{ -uint8_t x_2; lean_object* x_3; -x_2 = l_Lean_getPPCoercions(x_1); -lean_dec(x_1); -x_3 = lean_box(x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_getPPExplicit___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_getSanitizeNames___closed__2; -x_2 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_isExplicit___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -uint8_t l_Lean_getPPExplicit(lean_object* x_1) { -_start: -{ -lean_object* x_2; uint8_t x_3; uint8_t x_4; -x_2 = l_Lean_getPPExplicit___closed__1; -x_3 = 0; -x_4 = l_Lean_KVMap_getBool(x_1, x_2, x_3); -return x_4; -} -} -lean_object* l_Lean_getPPExplicit___boxed(lean_object* x_1) { -_start: -{ -uint8_t x_2; lean_object* x_3; -x_2 = l_Lean_getPPExplicit(x_1); -lean_dec(x_1); -x_3 = lean_box(x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_getPPNotation___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("notation"); -return x_1; -} -} -static lean_object* _init_l_Lean_getPPNotation___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_getSanitizeNames___closed__2; -x_2 = l_Lean_getPPNotation___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -uint8_t l_Lean_getPPNotation(lean_object* x_1) { -_start: -{ -lean_object* x_2; uint8_t x_3; uint8_t x_4; -x_2 = l_Lean_getPPNotation___closed__2; -x_3 = 1; -x_4 = l_Lean_KVMap_getBool(x_1, x_2, x_3); -return x_4; -} -} -lean_object* l_Lean_getPPNotation___boxed(lean_object* x_1) { -_start: -{ -uint8_t x_2; lean_object* x_3; -x_2 = l_Lean_getPPNotation(x_1); -lean_dec(x_1); -x_3 = lean_box(x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_getPPStructureProjections___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("structure_projections"); -return x_1; -} -} -static lean_object* _init_l_Lean_getPPStructureProjections___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_getSanitizeNames___closed__2; -x_2 = l_Lean_getPPStructureProjections___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -uint8_t l_Lean_getPPStructureProjections(lean_object* x_1) { -_start: -{ -lean_object* x_2; uint8_t x_3; uint8_t x_4; -x_2 = l_Lean_getPPStructureProjections___closed__2; -x_3 = 1; -x_4 = l_Lean_KVMap_getBool(x_1, x_2, x_3); -return x_4; -} -} -lean_object* l_Lean_getPPStructureProjections___boxed(lean_object* x_1) { -_start: -{ -uint8_t x_2; lean_object* x_3; -x_2 = l_Lean_getPPStructureProjections(x_1); -lean_dec(x_1); -x_3 = lean_box(x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_getPPStructureInstances___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("structure_instances"); -return x_1; -} -} -static lean_object* _init_l_Lean_getPPStructureInstances___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_getSanitizeNames___closed__2; -x_2 = l_Lean_getPPStructureInstances___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -uint8_t l_Lean_getPPStructureInstances(lean_object* x_1) { -_start: -{ -lean_object* x_2; uint8_t x_3; uint8_t x_4; -x_2 = l_Lean_getPPStructureInstances___closed__2; -x_3 = 1; -x_4 = l_Lean_KVMap_getBool(x_1, x_2, x_3); -return x_4; -} -} -lean_object* l_Lean_getPPStructureInstances___boxed(lean_object* x_1) { -_start: -{ -uint8_t x_2; lean_object* x_3; -x_2 = l_Lean_getPPStructureInstances(x_1); -lean_dec(x_1); -x_3 = lean_box(x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_getPPStructureInstanceType___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("structure_instance_type"); -return x_1; -} -} -static lean_object* _init_l_Lean_getPPStructureInstanceType___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_getSanitizeNames___closed__2; -x_2 = l_Lean_getPPStructureInstanceType___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -uint8_t l_Lean_getPPStructureInstanceType(lean_object* x_1) { -_start: -{ -lean_object* x_2; uint8_t x_3; uint8_t x_4; -x_2 = l_Lean_getPPStructureInstanceType___closed__2; -x_3 = 0; -x_4 = l_Lean_KVMap_getBool(x_1, x_2, x_3); -return x_4; -} -} -lean_object* l_Lean_getPPStructureInstanceType___boxed(lean_object* x_1) { -_start: -{ -uint8_t x_2; lean_object* x_3; -x_2 = l_Lean_getPPStructureInstanceType(x_1); -lean_dec(x_1); -x_3 = lean_box(x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_getPPUniverses___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("universes"); -return x_1; -} -} -static lean_object* _init_l_Lean_getPPUniverses___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_getSanitizeNames___closed__2; -x_2 = l_Lean_getPPUniverses___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -uint8_t l_Lean_getPPUniverses(lean_object* x_1) { -_start: -{ -lean_object* x_2; uint8_t x_3; uint8_t x_4; -x_2 = l_Lean_getPPUniverses___closed__2; -x_3 = 0; -x_4 = l_Lean_KVMap_getBool(x_1, x_2, x_3); -return x_4; -} -} -lean_object* l_Lean_getPPUniverses___boxed(lean_object* x_1) { -_start: -{ -uint8_t x_2; lean_object* x_3; -x_2 = l_Lean_getPPUniverses(x_1); -lean_dec(x_1); -x_3 = lean_box(x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_getPPFullNames___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("full_names"); -return x_1; -} -} -static lean_object* _init_l_Lean_getPPFullNames___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_getSanitizeNames___closed__2; -x_2 = l_Lean_getPPFullNames___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -uint8_t l_Lean_getPPFullNames(lean_object* x_1) { -_start: -{ -lean_object* x_2; uint8_t x_3; uint8_t x_4; -x_2 = l_Lean_getPPFullNames___closed__2; -x_3 = 0; -x_4 = l_Lean_KVMap_getBool(x_1, x_2, x_3); -return x_4; -} -} -lean_object* l_Lean_getPPFullNames___boxed(lean_object* x_1) { -_start: -{ -uint8_t x_2; lean_object* x_3; -x_2 = l_Lean_getPPFullNames(x_1); -lean_dec(x_1); -x_3 = lean_box(x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_getPPPrivateNames___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("private_names"); -return x_1; -} -} -static lean_object* _init_l_Lean_getPPPrivateNames___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_getSanitizeNames___closed__2; -x_2 = l_Lean_getPPPrivateNames___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -uint8_t l_Lean_getPPPrivateNames(lean_object* x_1) { -_start: -{ -lean_object* x_2; uint8_t x_3; uint8_t x_4; -x_2 = l_Lean_getPPPrivateNames___closed__2; -x_3 = 0; -x_4 = l_Lean_KVMap_getBool(x_1, x_2, x_3); -return x_4; -} -} -lean_object* l_Lean_getPPPrivateNames___boxed(lean_object* x_1) { -_start: -{ -uint8_t x_2; lean_object* x_3; -x_2 = l_Lean_getPPPrivateNames(x_1); -lean_dec(x_1); -x_3 = lean_box(x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_getPPUnicode___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_getSanitizeNames___closed__2; -x_2 = l_Lean_Format_getUnicode___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -uint8_t l_Lean_getPPUnicode(lean_object* x_1) { -_start: -{ -lean_object* x_2; uint8_t x_3; uint8_t x_4; -x_2 = l_Lean_getPPUnicode___closed__1; -x_3 = 1; -x_4 = l_Lean_KVMap_getBool(x_1, x_2, x_3); -return x_4; -} -} -lean_object* l_Lean_getPPUnicode___boxed(lean_object* x_1) { -_start: -{ -uint8_t x_2; lean_object* x_3; -x_2 = l_Lean_getPPUnicode(x_1); -lean_dec(x_1); -x_3 = lean_box(x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_getPPAll___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_getSanitizeNames___closed__2; -x_2 = l___private_Lean_Compiler_ExternAttr_0__Lean_syntaxToExternAttrData___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -uint8_t l_Lean_getPPAll(lean_object* x_1) { -_start: -{ -lean_object* x_2; uint8_t x_3; uint8_t x_4; -x_2 = l_Lean_getPPAll___closed__1; -x_3 = 0; -x_4 = l_Lean_KVMap_getBool(x_1, x_2, x_3); -return x_4; -} -} -lean_object* l_Lean_getPPAll___boxed(lean_object* x_1) { -_start: -{ -uint8_t x_2; lean_object* x_3; -x_2 = l_Lean_getPPAll(x_1); -lean_dec(x_1); -x_3 = lean_box(x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_initFn____x40_Lean_Delaborator___hyg_574____closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("(pretty printer) display implicit arguments"); -return x_1; -} -} -static lean_object* _init_l_Lean_initFn____x40_Lean_Delaborator___hyg_574____closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_initFn____x40_Lean_Util_PPExt___hyg_3____closed__8; -x_2 = l_Lean_getSanitizeNames___closed__1; -x_3 = l_Lean_initFn____x40_Lean_Delaborator___hyg_574____closed__1; -x_4 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lean_initFn____x40_Lean_Delaborator___hyg_574____closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("(pretty printer) display type of structure instances"); -return x_1; -} -} -static lean_object* _init_l_Lean_initFn____x40_Lean_Delaborator___hyg_574____closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_initFn____x40_Lean_Util_PPExt___hyg_3____closed__8; -x_2 = l_Lean_getSanitizeNames___closed__1; -x_3 = l_Lean_initFn____x40_Lean_Delaborator___hyg_574____closed__3; -x_4 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -lean_object* l_Lean_initFn____x40_Lean_Delaborator___hyg_574_(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_2 = l_Lean_getPPExplicit___closed__1; -x_3 = l_Lean_initFn____x40_Lean_Delaborator___hyg_574____closed__2; -x_4 = lean_register_option(x_2, x_3, x_1); -if (lean_obj_tag(x_4) == 0) -{ -lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; -x_5 = lean_ctor_get(x_4, 1); -lean_inc(x_5); -lean_dec(x_4); -x_6 = l_Lean_getPPStructureInstanceType___closed__2; -x_7 = l_Lean_initFn____x40_Lean_Delaborator___hyg_574____closed__4; -x_8 = lean_register_option(x_6, x_7, x_5); -return x_8; -} -else -{ -uint8_t x_9; -x_9 = !lean_is_exclusive(x_4); -if (x_9 == 0) -{ -return x_4; -} -else -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; -x_10 = lean_ctor_get(x_4, 0); -x_11 = lean_ctor_get(x_4, 1); -lean_inc(x_11); -lean_inc(x_10); -lean_dec(x_4); -x_12 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_12, 0, x_10); -lean_ctor_set(x_12, 1, x_11); -return x_12; -} -} -} -} -static lean_object* _init_l_Lean_Delaborator_Context_pos___default() { -_start: -{ -lean_object* x_1; -x_1 = lean_unsigned_to_nat(1u); -return x_1; -} -} -static lean_object* _init_l_Lean_Delaborator_initFn____x40_Lean_Delaborator___hyg_626____closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("delabFailure"); -return x_1; -} -} -static lean_object* _init_l_Lean_Delaborator_initFn____x40_Lean_Delaborator___hyg_626____closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Delaborator_initFn____x40_Lean_Delaborator___hyg_626____closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -lean_object* l_Lean_Delaborator_initFn____x40_Lean_Delaborator___hyg_626_(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Delaborator_initFn____x40_Lean_Delaborator___hyg_626____closed__2; -x_3 = l_Lean_registerInternalExceptionId(x_2, x_1); -return x_3; -} -} -lean_object* l_Lean_Delaborator_instInhabitedDelabM___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; -x_8 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_8, 0, x_1); -lean_ctor_set(x_8, 1, x_7); -return x_8; -} -} -static lean_object* _init_l_Lean_Delaborator_instInhabitedDelabM___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_instInhabitedException___closed__1; -x_2 = lean_alloc_closure((void*)(l_Lean_Delaborator_instInhabitedDelabM___lambda__1___boxed), 7, 1); -lean_closure_set(x_2, 0, x_1); -return x_2; -} -} -lean_object* l_Lean_Delaborator_instInhabitedDelabM(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = l_Lean_Delaborator_instInhabitedDelabM___closed__1; -return x_2; -} -} -lean_object* l_Lean_Delaborator_instInhabitedDelabM___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; -x_8 = l_Lean_Delaborator_instInhabitedDelabM___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_8; -} -} -lean_object* l_Lean_Delaborator_orElse___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -x_9 = lean_apply_6(x_1, x_3, x_4, x_5, x_6, x_7, x_8); -if (lean_obj_tag(x_9) == 0) -{ -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_9; -} -else -{ -lean_object* x_10; -x_10 = lean_ctor_get(x_9, 0); -lean_inc(x_10); -if (lean_obj_tag(x_10) == 0) -{ -uint8_t x_11; -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_11 = !lean_is_exclusive(x_9); -if (x_11 == 0) -{ -lean_object* x_12; -x_12 = lean_ctor_get(x_9, 0); -lean_dec(x_12); -return x_9; -} -else -{ -lean_object* x_13; lean_object* x_14; -x_13 = lean_ctor_get(x_9, 1); -lean_inc(x_13); -lean_dec(x_9); -x_14 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_14, 0, x_10); -lean_ctor_set(x_14, 1, x_13); -return x_14; -} -} -else -{ -uint8_t x_15; -x_15 = !lean_is_exclusive(x_9); -if (x_15 == 0) -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; -x_16 = lean_ctor_get(x_9, 1); -x_17 = lean_ctor_get(x_9, 0); -lean_dec(x_17); -x_18 = lean_ctor_get(x_10, 0); -lean_inc(x_18); -x_19 = l_Lean_Delaborator_delabFailureId; -x_20 = lean_nat_dec_eq(x_19, x_18); -lean_dec(x_18); -if (x_20 == 0) -{ -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_9; -} -else -{ -lean_object* x_21; -lean_free_object(x_9); -lean_dec(x_10); -x_21 = lean_apply_6(x_2, x_3, x_4, x_5, x_6, x_7, x_16); -return x_21; -} -} -else -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; -x_22 = lean_ctor_get(x_9, 1); -lean_inc(x_22); -lean_dec(x_9); -x_23 = lean_ctor_get(x_10, 0); -lean_inc(x_23); -x_24 = l_Lean_Delaborator_delabFailureId; -x_25 = lean_nat_dec_eq(x_24, x_23); -lean_dec(x_23); -if (x_25 == 0) -{ -lean_object* x_26; -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_26 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_26, 0, x_10); -lean_ctor_set(x_26, 1, x_22); -return x_26; -} -else -{ -lean_object* x_27; -lean_dec(x_10); -x_27 = lean_apply_6(x_2, x_3, x_4, x_5, x_6, x_7, x_22); -return x_27; -} -} -} -} -} -} -lean_object* l_Lean_Delaborator_orElse(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Delaborator_orElse___rarg), 8, 0); -return x_2; -} -} -static lean_object* _init_l_Lean_Delaborator_failure___rarg___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Delaborator_delabFailureId; -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_Delaborator_failure___rarg(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Delaborator_failure___rarg___closed__1; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); -return x_3; -} -} -lean_object* l_Lean_Delaborator_failure(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 = lean_alloc_closure((void*)(l_Lean_Delaborator_failure___rarg), 1, 0); -return x_7; -} -} -lean_object* l_Lean_Delaborator_failure___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; -x_7 = l_Lean_Delaborator_failure(x_1, x_2, x_3, x_4, x_5, x_6); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_7; -} -} -lean_object* l_Lean_Delaborator_instAlternativeDelabM___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; -x_8 = l_Lean_Delaborator_failure___rarg(x_7); -return x_8; -} -} -lean_object* l_Lean_Delaborator_instAlternativeDelabM___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -x_10 = lean_apply_6(x_2, x_4, x_5, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_10) == 0) -{ -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -return x_10; -} -else -{ -lean_object* x_11; -x_11 = lean_ctor_get(x_10, 0); -lean_inc(x_11); -if (lean_obj_tag(x_11) == 0) -{ -uint8_t x_12; -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_12 = !lean_is_exclusive(x_10); -if (x_12 == 0) -{ -lean_object* x_13; -x_13 = lean_ctor_get(x_10, 0); -lean_dec(x_13); -return x_10; -} -else -{ -lean_object* x_14; lean_object* x_15; -x_14 = lean_ctor_get(x_10, 1); -lean_inc(x_14); -lean_dec(x_10); -x_15 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_15, 0, x_11); -lean_ctor_set(x_15, 1, x_14); -return x_15; -} -} -else -{ -uint8_t x_16; -x_16 = !lean_is_exclusive(x_10); -if (x_16 == 0) -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; -x_17 = lean_ctor_get(x_10, 1); -x_18 = lean_ctor_get(x_10, 0); -lean_dec(x_18); -x_19 = lean_ctor_get(x_11, 0); -lean_inc(x_19); -x_20 = l_Lean_Delaborator_delabFailureId; -x_21 = lean_nat_dec_eq(x_20, x_19); -lean_dec(x_19); -if (x_21 == 0) -{ -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -return x_10; -} -else -{ -lean_object* x_22; -lean_free_object(x_10); -lean_dec(x_11); -x_22 = lean_apply_6(x_3, x_4, x_5, x_6, x_7, x_8, x_17); -return x_22; -} -} -else -{ -lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; -x_23 = lean_ctor_get(x_10, 1); -lean_inc(x_23); -lean_dec(x_10); -x_24 = lean_ctor_get(x_11, 0); -lean_inc(x_24); -x_25 = l_Lean_Delaborator_delabFailureId; -x_26 = lean_nat_dec_eq(x_25, x_24); -lean_dec(x_24); -if (x_26 == 0) -{ -lean_object* x_27; -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_27 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_27, 0, x_11); -lean_ctor_set(x_27, 1, x_23); -return x_27; -} -else -{ -lean_object* x_28; -lean_dec(x_11); -x_28 = lean_apply_6(x_3, x_4, x_5, x_6, x_7, x_8, x_23); -return x_28; -} -} -} -} -} -} -static lean_object* _init_l_Lean_Delaborator_instAlternativeDelabM___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_instAlternativeDelabM___lambda__1___boxed), 7, 0); -return x_1; -} -} -static lean_object* _init_l_Lean_Delaborator_instAlternativeDelabM___closed__2() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_instAlternativeDelabM___lambda__2), 9, 0); -return x_1; -} -} -static lean_object* _init_l_Lean_Delaborator_instAlternativeDelabM___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = l_Lean_Meta_CheckAssignment_checkFVar___closed__1; -x_2 = lean_ctor_get(x_1, 0); -lean_inc(x_2); -x_3 = l_Lean_Delaborator_instAlternativeDelabM___closed__1; -x_4 = l_Lean_Delaborator_instAlternativeDelabM___closed__2; -x_5 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_5, 0, x_2); -lean_ctor_set(x_5, 1, x_3); -lean_ctor_set(x_5, 2, x_4); -return x_5; -} -} -static lean_object* _init_l_Lean_Delaborator_instAlternativeDelabM() { -_start: -{ -lean_object* x_1; -x_1 = l_Lean_Delaborator_instAlternativeDelabM___closed__3; -return x_1; -} -} -lean_object* l_Lean_Delaborator_instAlternativeDelabM___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; -x_8 = l_Lean_Delaborator_instAlternativeDelabM___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_8; -} -} -static lean_object* _init_l_Lean_Delaborator_instOrElseDelabM___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_orElse___rarg), 8, 0); -return x_1; -} -} -lean_object* l_Lean_Delaborator_instOrElseDelabM(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = l_Lean_Delaborator_instOrElseDelabM___closed__1; -return x_2; -} -} -lean_object* l_ReaderT_pure___at_Lean_Delaborator_instMonadQuotationDelabM___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; -x_8 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_8, 0, x_1); -lean_ctor_set(x_8, 1, x_7); -return x_8; -} -} -lean_object* l_ReaderT_pure___at_Lean_Delaborator_instMonadQuotationDelabM___spec__1(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Delaborator_instMonadQuotationDelabM___spec__1___rarg___boxed), 7, 0); -return x_2; -} -} -lean_object* l_Lean_Delaborator_instMonadQuotationDelabM___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; -x_9 = lean_apply_6(x_2, x_3, x_4, x_5, x_6, x_7, x_8); -return x_9; -} -} -static lean_object* _init_l_Lean_Delaborator_instMonadQuotationDelabM___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = lean_unsigned_to_nat(0u); -x_2 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Delaborator_instMonadQuotationDelabM___spec__1___rarg___boxed), 7, 1); -lean_closure_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Delaborator_instMonadQuotationDelabM___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = lean_box(0); -x_2 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Delaborator_instMonadQuotationDelabM___spec__1___rarg___boxed), 7, 1); -lean_closure_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Delaborator_instMonadQuotationDelabM___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_instMonadQuotationDelabM___lambda__1), 8, 0); -return x_1; -} -} -static lean_object* _init_l_Lean_Delaborator_instMonadQuotationDelabM___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Delaborator_instMonadQuotationDelabM___closed__1; -x_2 = l_Lean_Delaborator_instMonadQuotationDelabM___closed__2; -x_3 = l_Lean_Delaborator_instMonadQuotationDelabM___closed__3; -x_4 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lean_Delaborator_instMonadQuotationDelabM() { -_start: -{ -lean_object* x_1; -x_1 = l_Lean_Delaborator_instMonadQuotationDelabM___closed__4; -return x_1; -} -} -lean_object* l_ReaderT_pure___at_Lean_Delaborator_instMonadQuotationDelabM___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; -x_8 = l_ReaderT_pure___at_Lean_Delaborator_instMonadQuotationDelabM___spec__1___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_8; -} -} -static lean_object* _init_l_Lean_Delaborator_mkDelabAttribute___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("builtinDelab"); -return x_1; -} -} -static lean_object* _init_l_Lean_Delaborator_mkDelabAttribute___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Delaborator_mkDelabAttribute___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Delaborator_mkDelabAttribute___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("delab"); -return x_1; -} -} -static lean_object* _init_l_Lean_Delaborator_mkDelabAttribute___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Delaborator_mkDelabAttribute___closed__3; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Delaborator_mkDelabAttribute___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("PrettyPrinter"); -return x_1; -} -} -static lean_object* _init_l_Lean_Delaborator_mkDelabAttribute___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_38____closed__2; -x_2 = l_Lean_Delaborator_mkDelabAttribute___closed__5; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Delaborator_mkDelabAttribute___closed__7() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("Delaborator"); -return x_1; -} -} -static lean_object* _init_l_Lean_Delaborator_mkDelabAttribute___closed__8() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Delaborator_mkDelabAttribute___closed__6; -x_2 = l_Lean_Delaborator_mkDelabAttribute___closed__7; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Delaborator_mkDelabAttribute___closed__9() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("Delab"); -return x_1; -} -} -static lean_object* _init_l_Lean_Delaborator_mkDelabAttribute___closed__10() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Delaborator_mkDelabAttribute___closed__8; -x_2 = l_Lean_Delaborator_mkDelabAttribute___closed__9; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Delaborator_mkDelabAttribute___closed__11() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("Register a delaborator.\n\n [delab k] registers a declaration of type `Lean.Delaborator.Delab` for the `Lean.Expr`\n constructor `k`. Multiple delaborators for a single constructor are tried in turn until\n the first success. If the term to be delaborated is an application of a constant `c`,\n elaborators for `app.c` are tried first; this is also done for `Expr.const`s (\"nullary applications\")\n to reduce special casing. If the term is an `Expr.mdata` with a single key `k`, `mdata.k`\n is tried first."); -return x_1; -} -} -static lean_object* _init_l_Lean_Delaborator_mkDelabAttribute___closed__12() { -_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_Delaborator_mkDelabAttribute___closed__2; -x_2 = l_Lean_Delaborator_mkDelabAttribute___closed__4; -x_3 = l_Lean_Delaborator_mkDelabAttribute___closed__11; -x_4 = l_Lean_Delaborator_mkDelabAttribute___closed__10; -x_5 = l_Lean_KeyedDeclsAttribute_instInhabitedDef___closed__1; -x_6 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_6, 0, x_1); -lean_ctor_set(x_6, 1, x_2); -lean_ctor_set(x_6, 2, x_3); -lean_ctor_set(x_6, 3, x_4); -lean_ctor_set(x_6, 4, x_5); -return x_6; -} -} -static lean_object* _init_l_Lean_Delaborator_mkDelabAttribute___closed__13() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("delabAttribute"); -return x_1; -} -} -static lean_object* _init_l_Lean_Delaborator_mkDelabAttribute___closed__14() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Delaborator_mkDelabAttribute___closed__8; -x_2 = l_Lean_Delaborator_mkDelabAttribute___closed__13; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -lean_object* l_Lean_Delaborator_mkDelabAttribute(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_2 = l_Lean_Delaborator_mkDelabAttribute___closed__12; -x_3 = l_Lean_Delaborator_mkDelabAttribute___closed__14; -x_4 = l_Lean_KeyedDeclsAttribute_init___rarg(x_2, x_3, x_1); -return x_4; -} -} -lean_object* l_Lean_Delaborator_getExpr(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_1, 0); -lean_inc(x_7); -x_8 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_8, 0, x_7); -lean_ctor_set(x_8, 1, x_6); -return x_8; -} -} -lean_object* l_Lean_Delaborator_getExpr___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; -x_7 = l_Lean_Delaborator_getExpr(x_1, x_2, x_3, x_4, x_5, x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_7; -} -} -lean_object* l_Lean_Delaborator_getExprKind_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -if (lean_obj_tag(x_1) == 4) -{ -lean_object* x_4; lean_object* x_5; uint64_t x_6; lean_object* x_7; lean_object* x_8; -lean_dec(x_3); -x_4 = lean_ctor_get(x_1, 0); -lean_inc(x_4); -x_5 = lean_ctor_get(x_1, 1); -lean_inc(x_5); -x_6 = lean_ctor_get_uint64(x_1, sizeof(void*)*2); -lean_dec(x_1); -x_7 = lean_box_uint64(x_6); -x_8 = lean_apply_3(x_2, x_4, x_5, x_7); -return x_8; -} -else -{ -lean_object* x_9; -lean_dec(x_2); -x_9 = lean_apply_1(x_3, x_1); -return x_9; -} -} -} -lean_object* l_Lean_Delaborator_getExprKind_match__1(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Delaborator_getExprKind_match__1___rarg), 3, 0); -return x_2; -} -} -lean_object* l_Lean_Delaborator_getExprKind_match__2___rarg(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_2); -x_4 = lean_apply_1(x_3, x_1); -return x_4; -} -else -{ -lean_object* x_5; lean_object* x_6; -x_5 = lean_ctor_get(x_1, 0); -lean_inc(x_5); -x_6 = lean_ctor_get(x_1, 1); -lean_inc(x_6); -if (lean_obj_tag(x_6) == 0) -{ -lean_object* x_7; lean_object* x_8; lean_object* x_9; -lean_dec(x_3); -lean_dec(x_1); -x_7 = lean_ctor_get(x_5, 0); -lean_inc(x_7); -x_8 = lean_ctor_get(x_5, 1); -lean_inc(x_8); -lean_dec(x_5); -x_9 = lean_apply_2(x_2, x_7, x_8); -return x_9; -} -else -{ -lean_object* x_10; -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_2); -x_10 = lean_apply_1(x_3, x_1); -return x_10; -} -} -} -} -lean_object* l_Lean_Delaborator_getExprKind_match__2(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Delaborator_getExprKind_match__2___rarg), 3, 0); -return x_2; -} -} -lean_object* l_Lean_Delaborator_getExprKind_match__3___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { -_start: -{ -switch (lean_obj_tag(x_1)) { -case 0: -{ -lean_object* x_14; uint64_t x_15; lean_object* x_16; lean_object* x_17; -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_14 = lean_ctor_get(x_1, 0); -lean_inc(x_14); -x_15 = lean_ctor_get_uint64(x_1, sizeof(void*)*1); -lean_dec(x_1); -x_16 = lean_box_uint64(x_15); -x_17 = lean_apply_2(x_2, x_14, x_16); -return x_17; -} -case 1: -{ -lean_object* x_18; uint64_t x_19; lean_object* x_20; lean_object* x_21; -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -x_18 = lean_ctor_get(x_1, 0); -lean_inc(x_18); -x_19 = lean_ctor_get_uint64(x_1, sizeof(void*)*1); -lean_dec(x_1); -x_20 = lean_box_uint64(x_19); -x_21 = lean_apply_2(x_3, x_18, x_20); -return x_21; -} -case 2: -{ -lean_object* x_22; uint64_t x_23; lean_object* x_24; lean_object* x_25; -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_3); -lean_dec(x_2); -x_22 = lean_ctor_get(x_1, 0); -lean_inc(x_22); -x_23 = lean_ctor_get_uint64(x_1, sizeof(void*)*1); -lean_dec(x_1); -x_24 = lean_box_uint64(x_23); -x_25 = lean_apply_2(x_4, x_22, x_24); -return x_25; -} -case 3: -{ -lean_object* x_26; uint64_t x_27; lean_object* x_28; lean_object* x_29; -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_4); -lean_dec(x_3); -lean_dec(x_2); -x_26 = lean_ctor_get(x_1, 0); -lean_inc(x_26); -x_27 = lean_ctor_get_uint64(x_1, sizeof(void*)*1); -lean_dec(x_1); -x_28 = lean_box_uint64(x_27); -x_29 = lean_apply_2(x_5, x_26, x_28); -return x_29; -} -case 4: -{ -lean_object* x_30; lean_object* x_31; uint64_t x_32; lean_object* x_33; lean_object* x_34; -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_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_30 = lean_ctor_get(x_1, 0); -lean_inc(x_30); -x_31 = lean_ctor_get(x_1, 1); -lean_inc(x_31); -x_32 = lean_ctor_get_uint64(x_1, sizeof(void*)*2); -lean_dec(x_1); -x_33 = lean_box_uint64(x_32); -x_34 = lean_apply_3(x_6, x_30, x_31, x_33); -return x_34; -} -case 5: -{ -lean_object* x_35; lean_object* x_36; uint64_t x_37; lean_object* x_38; lean_object* x_39; -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_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_35 = lean_ctor_get(x_1, 0); -lean_inc(x_35); -x_36 = lean_ctor_get(x_1, 1); -lean_inc(x_36); -x_37 = lean_ctor_get_uint64(x_1, sizeof(void*)*2); -lean_dec(x_1); -x_38 = lean_box_uint64(x_37); -x_39 = lean_apply_3(x_7, x_35, x_36, x_38); -return x_39; -} -case 6: -{ -lean_object* x_40; lean_object* x_41; lean_object* x_42; uint64_t x_43; lean_object* x_44; lean_object* x_45; -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -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_40 = lean_ctor_get(x_1, 0); -lean_inc(x_40); -x_41 = lean_ctor_get(x_1, 1); -lean_inc(x_41); -x_42 = lean_ctor_get(x_1, 2); -lean_inc(x_42); -x_43 = lean_ctor_get_uint64(x_1, sizeof(void*)*3); -lean_dec(x_1); -x_44 = lean_box_uint64(x_43); -x_45 = lean_apply_4(x_8, x_40, x_41, x_42, x_44); -return x_45; -} -case 7: -{ -lean_object* x_46; lean_object* x_47; lean_object* x_48; uint64_t x_49; lean_object* x_50; lean_object* x_51; -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_46 = lean_ctor_get(x_1, 0); -lean_inc(x_46); -x_47 = lean_ctor_get(x_1, 1); -lean_inc(x_47); -x_48 = lean_ctor_get(x_1, 2); -lean_inc(x_48); -x_49 = lean_ctor_get_uint64(x_1, sizeof(void*)*3); -lean_dec(x_1); -x_50 = lean_box_uint64(x_49); -x_51 = lean_apply_4(x_9, x_46, x_47, x_48, x_50); -return x_51; -} -case 8: -{ -lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; uint64_t x_56; lean_object* x_57; lean_object* x_58; -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_52 = lean_ctor_get(x_1, 0); -lean_inc(x_52); -x_53 = lean_ctor_get(x_1, 1); -lean_inc(x_53); -x_54 = lean_ctor_get(x_1, 2); -lean_inc(x_54); -x_55 = lean_ctor_get(x_1, 3); -lean_inc(x_55); -x_56 = lean_ctor_get_uint64(x_1, sizeof(void*)*4); -lean_dec(x_1); -x_57 = lean_box_uint64(x_56); -x_58 = lean_apply_5(x_10, x_52, x_53, x_54, x_55, x_57); -return x_58; -} -case 9: -{ -lean_object* x_59; uint64_t x_60; lean_object* x_61; lean_object* x_62; -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_59 = lean_ctor_get(x_1, 0); -lean_inc(x_59); -x_60 = lean_ctor_get_uint64(x_1, sizeof(void*)*1); -lean_dec(x_1); -x_61 = lean_box_uint64(x_60); -x_62 = lean_apply_2(x_11, x_59, x_61); -return x_62; -} -case 10: -{ -lean_object* x_63; lean_object* x_64; uint64_t x_65; lean_object* x_66; lean_object* x_67; -lean_dec(x_13); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_63 = lean_ctor_get(x_1, 0); -lean_inc(x_63); -x_64 = lean_ctor_get(x_1, 1); -lean_inc(x_64); -x_65 = lean_ctor_get_uint64(x_1, sizeof(void*)*2); -lean_dec(x_1); -x_66 = lean_box_uint64(x_65); -x_67 = lean_apply_3(x_12, x_63, x_64, x_66); -return x_67; -} -default: -{ -lean_object* x_68; lean_object* x_69; lean_object* x_70; uint64_t x_71; lean_object* x_72; lean_object* x_73; -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_68 = lean_ctor_get(x_1, 0); -lean_inc(x_68); -x_69 = lean_ctor_get(x_1, 1); -lean_inc(x_69); -x_70 = lean_ctor_get(x_1, 2); -lean_inc(x_70); -x_71 = lean_ctor_get_uint64(x_1, sizeof(void*)*3); -lean_dec(x_1); -x_72 = lean_box_uint64(x_71); -x_73 = lean_apply_4(x_13, x_68, x_69, x_70, x_72); -return x_73; -} -} -} -} -lean_object* l_Lean_Delaborator_getExprKind_match__3(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Delaborator_getExprKind_match__3___rarg), 13, 0); -return x_2; -} -} -static lean_object* _init_l_Lean_Delaborator_getExprKind___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Expr_ctorName___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Delaborator_getExprKind___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Expr_ctorName___closed__2; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Delaborator_getExprKind___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Expr_ctorName___closed__3; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Delaborator_getExprKind___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__27; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Delaborator_getExprKind___closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_myMacro____x40_Init_Notation___hyg_38____closed__7; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Delaborator_getExprKind___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Expr_ctorName___closed__5; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Delaborator_getExprKind___closed__7() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Expr_ctorName___closed__6; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Delaborator_getExprKind___closed__8() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Expr_ctorName___closed__7; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Delaborator_getExprKind___closed__9() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Expr_ctorName___closed__8; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Delaborator_getExprKind___closed__10() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Expr_ctorName___closed__9; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Delaborator_getExprKind___closed__11() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Expr_ctorName___closed__10; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -lean_object* l_Lean_Delaborator_getExprKind(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; lean_object* x_8; -x_7 = l_Lean_Delaborator_getExpr(x_1, x_2, x_3, x_4, x_5, x_6); -x_8 = lean_ctor_get(x_7, 0); -lean_inc(x_8); -switch (lean_obj_tag(x_8)) { -case 0: -{ -uint8_t x_9; -lean_dec(x_8); -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); -lean_dec(x_10); -x_11 = l_Lean_Delaborator_getExprKind___closed__1; -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, 1); -lean_inc(x_12); -lean_dec(x_7); -x_13 = l_Lean_Delaborator_getExprKind___closed__1; -x_14 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_14, 0, x_13); -lean_ctor_set(x_14, 1, x_12); -return x_14; -} -} -case 1: -{ -uint8_t x_15; -lean_dec(x_8); -x_15 = !lean_is_exclusive(x_7); -if (x_15 == 0) -{ -lean_object* x_16; lean_object* x_17; -x_16 = lean_ctor_get(x_7, 0); -lean_dec(x_16); -x_17 = l_Lean_Delaborator_getExprKind___closed__2; -lean_ctor_set(x_7, 0, x_17); -return x_7; -} -else -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_18 = lean_ctor_get(x_7, 1); -lean_inc(x_18); -lean_dec(x_7); -x_19 = l_Lean_Delaborator_getExprKind___closed__2; -x_20 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_20, 0, x_19); -lean_ctor_set(x_20, 1, x_18); -return x_20; -} -} -case 2: -{ -uint8_t x_21; -lean_dec(x_8); -x_21 = !lean_is_exclusive(x_7); -if (x_21 == 0) -{ -lean_object* x_22; lean_object* x_23; -x_22 = lean_ctor_get(x_7, 0); -lean_dec(x_22); -x_23 = l_Lean_Delaborator_getExprKind___closed__3; -lean_ctor_set(x_7, 0, x_23); -return x_7; -} -else -{ -lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_24 = lean_ctor_get(x_7, 1); -lean_inc(x_24); -lean_dec(x_7); -x_25 = l_Lean_Delaborator_getExprKind___closed__3; -x_26 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_26, 0, x_25); -lean_ctor_set(x_26, 1, x_24); -return x_26; -} -} -case 3: -{ -uint8_t x_27; -lean_dec(x_8); -x_27 = !lean_is_exclusive(x_7); -if (x_27 == 0) -{ -lean_object* x_28; lean_object* x_29; -x_28 = lean_ctor_get(x_7, 0); -lean_dec(x_28); -x_29 = l_Lean_Delaborator_getExprKind___closed__4; -lean_ctor_set(x_7, 0, x_29); -return x_7; -} -else -{ -lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_30 = lean_ctor_get(x_7, 1); -lean_inc(x_30); -lean_dec(x_7); -x_31 = l_Lean_Delaborator_getExprKind___closed__4; -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; -} -} -case 4: -{ -uint8_t x_33; -x_33 = !lean_is_exclusive(x_7); -if (x_33 == 0) -{ -lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_34 = lean_ctor_get(x_7, 0); -lean_dec(x_34); -x_35 = lean_ctor_get(x_8, 0); -lean_inc(x_35); -lean_dec(x_8); -x_36 = l_Lean_Delaborator_getExprKind___closed__5; -x_37 = l_Lean_Name_append(x_36, x_35); -lean_ctor_set(x_7, 0, x_37); -return x_7; -} -else -{ -lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; -x_38 = lean_ctor_get(x_7, 1); -lean_inc(x_38); -lean_dec(x_7); -x_39 = lean_ctor_get(x_8, 0); -lean_inc(x_39); -lean_dec(x_8); -x_40 = l_Lean_Delaborator_getExprKind___closed__5; -x_41 = l_Lean_Name_append(x_40, x_39); -x_42 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_42, 0, x_41); -lean_ctor_set(x_42, 1, x_38); -return x_42; -} -} -case 5: -{ -uint8_t x_43; -x_43 = !lean_is_exclusive(x_7); -if (x_43 == 0) -{ -lean_object* x_44; lean_object* x_45; lean_object* x_46; -x_44 = lean_ctor_get(x_7, 0); -lean_dec(x_44); -x_45 = lean_ctor_get(x_8, 0); -lean_inc(x_45); -lean_dec(x_8); -x_46 = l_Lean_Expr_getAppFn(x_45); -lean_dec(x_45); -if (lean_obj_tag(x_46) == 4) -{ -lean_object* x_47; lean_object* x_48; lean_object* x_49; -x_47 = lean_ctor_get(x_46, 0); -lean_inc(x_47); -lean_dec(x_46); -x_48 = l_Lean_Delaborator_getExprKind___closed__5; -x_49 = l_Lean_Name_append(x_48, x_47); -lean_ctor_set(x_7, 0, x_49); -return x_7; -} -else -{ -lean_object* x_50; -lean_dec(x_46); -x_50 = l_Lean_Delaborator_getExprKind___closed__5; -lean_ctor_set(x_7, 0, x_50); -return x_7; -} -} -else -{ -lean_object* x_51; lean_object* x_52; lean_object* x_53; -x_51 = lean_ctor_get(x_7, 1); -lean_inc(x_51); -lean_dec(x_7); -x_52 = lean_ctor_get(x_8, 0); -lean_inc(x_52); -lean_dec(x_8); -x_53 = l_Lean_Expr_getAppFn(x_52); -lean_dec(x_52); -if (lean_obj_tag(x_53) == 4) -{ -lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; -x_54 = lean_ctor_get(x_53, 0); -lean_inc(x_54); -lean_dec(x_53); -x_55 = l_Lean_Delaborator_getExprKind___closed__5; -x_56 = l_Lean_Name_append(x_55, x_54); -x_57 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_57, 0, x_56); -lean_ctor_set(x_57, 1, x_51); -return x_57; -} -else -{ -lean_object* x_58; lean_object* x_59; -lean_dec(x_53); -x_58 = l_Lean_Delaborator_getExprKind___closed__5; -x_59 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_59, 0, x_58); -lean_ctor_set(x_59, 1, x_51); -return x_59; -} -} -} -case 6: -{ -uint8_t x_60; -lean_dec(x_8); -x_60 = !lean_is_exclusive(x_7); -if (x_60 == 0) -{ -lean_object* x_61; lean_object* x_62; -x_61 = lean_ctor_get(x_7, 0); -lean_dec(x_61); -x_62 = l_Lean_Delaborator_getExprKind___closed__6; -lean_ctor_set(x_7, 0, x_62); -return x_7; -} -else -{ -lean_object* x_63; lean_object* x_64; lean_object* x_65; -x_63 = lean_ctor_get(x_7, 1); -lean_inc(x_63); -lean_dec(x_7); -x_64 = l_Lean_Delaborator_getExprKind___closed__6; -x_65 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_65, 0, x_64); -lean_ctor_set(x_65, 1, x_63); -return x_65; -} -} -case 7: -{ -uint8_t x_66; -lean_dec(x_8); -x_66 = !lean_is_exclusive(x_7); -if (x_66 == 0) -{ -lean_object* x_67; lean_object* x_68; -x_67 = lean_ctor_get(x_7, 0); -lean_dec(x_67); -x_68 = l_Lean_Delaborator_getExprKind___closed__7; -lean_ctor_set(x_7, 0, x_68); -return x_7; -} -else -{ -lean_object* x_69; lean_object* x_70; lean_object* x_71; -x_69 = lean_ctor_get(x_7, 1); -lean_inc(x_69); -lean_dec(x_7); -x_70 = l_Lean_Delaborator_getExprKind___closed__7; -x_71 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_71, 0, x_70); -lean_ctor_set(x_71, 1, x_69); -return x_71; -} -} -case 8: -{ -uint8_t x_72; -lean_dec(x_8); -x_72 = !lean_is_exclusive(x_7); -if (x_72 == 0) -{ -lean_object* x_73; lean_object* x_74; -x_73 = lean_ctor_get(x_7, 0); -lean_dec(x_73); -x_74 = l_Lean_Delaborator_getExprKind___closed__8; -lean_ctor_set(x_7, 0, x_74); -return x_7; -} -else -{ -lean_object* x_75; lean_object* x_76; lean_object* x_77; -x_75 = lean_ctor_get(x_7, 1); -lean_inc(x_75); -lean_dec(x_7); -x_76 = l_Lean_Delaborator_getExprKind___closed__8; -x_77 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_77, 0, x_76); -lean_ctor_set(x_77, 1, x_75); -return x_77; -} -} -case 9: -{ -uint8_t x_78; -lean_dec(x_8); -x_78 = !lean_is_exclusive(x_7); -if (x_78 == 0) -{ -lean_object* x_79; lean_object* x_80; -x_79 = lean_ctor_get(x_7, 0); -lean_dec(x_79); -x_80 = l_Lean_Delaborator_getExprKind___closed__9; -lean_ctor_set(x_7, 0, x_80); -return x_7; -} -else -{ -lean_object* x_81; lean_object* x_82; lean_object* x_83; -x_81 = lean_ctor_get(x_7, 1); -lean_inc(x_81); -lean_dec(x_7); -x_82 = l_Lean_Delaborator_getExprKind___closed__9; -x_83 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_83, 0, x_82); -lean_ctor_set(x_83, 1, x_81); -return x_83; -} -} -case 10: -{ -lean_object* x_84; -x_84 = lean_ctor_get(x_8, 0); -lean_inc(x_84); -lean_dec(x_8); -if (lean_obj_tag(x_84) == 0) -{ -uint8_t x_85; -x_85 = !lean_is_exclusive(x_7); -if (x_85 == 0) -{ -lean_object* x_86; lean_object* x_87; -x_86 = lean_ctor_get(x_7, 0); -lean_dec(x_86); -x_87 = l_Lean_Delaborator_getExprKind___closed__10; -lean_ctor_set(x_7, 0, x_87); -return x_7; -} -else -{ -lean_object* x_88; lean_object* x_89; lean_object* x_90; -x_88 = lean_ctor_get(x_7, 1); -lean_inc(x_88); -lean_dec(x_7); -x_89 = l_Lean_Delaborator_getExprKind___closed__10; -x_90 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_90, 0, x_89); -lean_ctor_set(x_90, 1, x_88); -return x_90; -} -} -else -{ -lean_object* x_91; lean_object* x_92; -x_91 = lean_ctor_get(x_84, 0); -lean_inc(x_91); -x_92 = lean_ctor_get(x_84, 1); -lean_inc(x_92); -lean_dec(x_84); -if (lean_obj_tag(x_92) == 0) -{ -uint8_t x_93; -x_93 = !lean_is_exclusive(x_7); -if (x_93 == 0) -{ -lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; -x_94 = lean_ctor_get(x_7, 0); -lean_dec(x_94); -x_95 = lean_ctor_get(x_91, 0); -lean_inc(x_95); -lean_dec(x_91); -x_96 = l_Lean_Delaborator_getExprKind___closed__10; -x_97 = l_Lean_Name_append(x_96, x_95); -lean_ctor_set(x_7, 0, x_97); -return x_7; -} -else -{ -lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; -x_98 = lean_ctor_get(x_7, 1); -lean_inc(x_98); -lean_dec(x_7); -x_99 = lean_ctor_get(x_91, 0); -lean_inc(x_99); -lean_dec(x_91); -x_100 = l_Lean_Delaborator_getExprKind___closed__10; -x_101 = l_Lean_Name_append(x_100, x_99); -x_102 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_102, 0, x_101); -lean_ctor_set(x_102, 1, x_98); -return x_102; -} -} -else -{ -uint8_t x_103; -lean_dec(x_92); -lean_dec(x_91); -x_103 = !lean_is_exclusive(x_7); -if (x_103 == 0) -{ -lean_object* x_104; lean_object* x_105; -x_104 = lean_ctor_get(x_7, 0); -lean_dec(x_104); -x_105 = l_Lean_Delaborator_getExprKind___closed__10; -lean_ctor_set(x_7, 0, x_105); -return x_7; -} -else -{ -lean_object* x_106; lean_object* x_107; lean_object* x_108; -x_106 = lean_ctor_get(x_7, 1); -lean_inc(x_106); -lean_dec(x_7); -x_107 = l_Lean_Delaborator_getExprKind___closed__10; -x_108 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_108, 0, x_107); -lean_ctor_set(x_108, 1, x_106); -return x_108; -} -} -} -} -default: -{ -uint8_t x_109; -lean_dec(x_8); -x_109 = !lean_is_exclusive(x_7); -if (x_109 == 0) -{ -lean_object* x_110; lean_object* x_111; -x_110 = lean_ctor_get(x_7, 0); -lean_dec(x_110); -x_111 = l_Lean_Delaborator_getExprKind___closed__11; -lean_ctor_set(x_7, 0, x_111); -return x_7; -} -else -{ -lean_object* x_112; lean_object* x_113; lean_object* x_114; -x_112 = lean_ctor_get(x_7, 1); -lean_inc(x_112); -lean_dec(x_7); -x_113 = l_Lean_Delaborator_getExprKind___closed__11; -x_114 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_114, 0, x_113); -lean_ctor_set(x_114, 1, x_112); -return x_114; -} -} -} -} -} -lean_object* l_Lean_Delaborator_getExprKind___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; -x_7 = l_Lean_Delaborator_getExprKind(x_1, x_2, x_3, x_4, x_5, x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_7; -} -} -lean_object* l_Lean_Delaborator_getPPOption_match__1___rarg(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_object* x_5; -lean_dec(x_2); -x_4 = lean_box(0); -x_5 = lean_apply_1(x_3, x_4); -return x_5; -} -else -{ -lean_object* x_6; lean_object* x_7; -lean_dec(x_3); -x_6 = lean_ctor_get(x_1, 0); -lean_inc(x_6); -lean_dec(x_1); -x_7 = lean_apply_1(x_2, x_6); -return x_7; -} -} -} -lean_object* l_Lean_Delaborator_getPPOption_match__1(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Delaborator_getPPOption_match__1___rarg), 3, 0); -return x_2; -} -} -lean_object* l_Std_RBNode_find___at_Lean_Delaborator_getPPOption___spec__1(lean_object* x_1, lean_object* x_2) { -_start: -{ -if (lean_obj_tag(x_1) == 0) -{ -lean_object* x_3; -x_3 = lean_box(0); -return x_3; -} -else -{ -lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; -x_4 = lean_ctor_get(x_1, 0); -x_5 = lean_ctor_get(x_1, 1); -x_6 = lean_ctor_get(x_1, 2); -x_7 = lean_ctor_get(x_1, 3); -x_8 = lean_nat_dec_lt(x_2, x_5); -if (x_8 == 0) -{ -uint8_t x_9; -x_9 = lean_nat_dec_lt(x_5, x_2); -if (x_9 == 0) -{ -lean_object* x_10; -lean_inc(x_6); -x_10 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_10, 0, x_6); -return x_10; -} -else -{ -x_1 = x_7; -goto _start; -} -} -else -{ -x_1 = x_4; -goto _start; -} -} -} -} -lean_object* l_Lean_Delaborator_getPPOption(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; lean_object* x_9; uint8_t x_10; -x_8 = lean_ctor_get(x_2, 2); -lean_inc(x_8); -lean_inc(x_1); -lean_inc(x_8); -x_9 = lean_apply_1(x_1, x_8); -x_10 = lean_unbox(x_9); -lean_dec(x_9); -if (x_10 == 0) -{ -lean_object* x_11; lean_object* x_12; uint8_t x_13; lean_object* x_14; -x_11 = lean_ctor_get(x_2, 3); -lean_inc(x_11); -x_12 = lean_ctor_get(x_2, 1); -lean_inc(x_12); -lean_dec(x_2); -x_13 = l_Lean_getPPAll(x_8); -lean_dec(x_8); -x_14 = l_Std_RBNode_find___at_Lean_Delaborator_getPPOption___spec__1(x_11, x_12); -lean_dec(x_12); -lean_dec(x_11); -if (lean_obj_tag(x_14) == 0) -{ -lean_object* x_15; lean_object* x_16; -lean_dec(x_1); -x_15 = lean_box(x_13); -x_16 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_16, 0, x_15); -lean_ctor_set(x_16, 1, x_7); -return x_16; -} -else -{ -lean_object* x_17; lean_object* x_18; uint8_t x_19; -x_17 = lean_ctor_get(x_14, 0); -lean_inc(x_17); -lean_dec(x_14); -lean_inc(x_17); -x_18 = lean_apply_1(x_1, x_17); -x_19 = lean_unbox(x_18); -lean_dec(x_18); -if (x_19 == 0) -{ -uint8_t x_20; lean_object* x_21; lean_object* x_22; -x_20 = l_Lean_getPPAll(x_17); -lean_dec(x_17); -x_21 = lean_box(x_20); -x_22 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_22, 0, x_21); -lean_ctor_set(x_22, 1, x_7); -return x_22; -} -else -{ -uint8_t x_23; lean_object* x_24; lean_object* x_25; -lean_dec(x_17); -x_23 = 1; -x_24 = lean_box(x_23); -x_25 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_25, 0, x_24); -lean_ctor_set(x_25, 1, x_7); -return x_25; -} -} -} -else -{ -lean_object* x_26; lean_object* x_27; lean_object* x_28; -lean_dec(x_8); -x_26 = lean_ctor_get(x_2, 3); -lean_inc(x_26); -x_27 = lean_ctor_get(x_2, 1); -lean_inc(x_27); -lean_dec(x_2); -x_28 = l_Std_RBNode_find___at_Lean_Delaborator_getPPOption___spec__1(x_26, x_27); -lean_dec(x_27); -lean_dec(x_26); -if (lean_obj_tag(x_28) == 0) -{ -uint8_t x_29; lean_object* x_30; lean_object* x_31; -lean_dec(x_1); -x_29 = 1; -x_30 = lean_box(x_29); -x_31 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_31, 0, x_30); -lean_ctor_set(x_31, 1, x_7); -return x_31; -} -else -{ -lean_object* x_32; lean_object* x_33; uint8_t x_34; -x_32 = lean_ctor_get(x_28, 0); -lean_inc(x_32); -lean_dec(x_28); -lean_inc(x_32); -x_33 = lean_apply_1(x_1, x_32); -x_34 = lean_unbox(x_33); -lean_dec(x_33); -if (x_34 == 0) -{ -uint8_t x_35; lean_object* x_36; lean_object* x_37; -x_35 = l_Lean_getPPAll(x_32); -lean_dec(x_32); -x_36 = lean_box(x_35); -x_37 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_37, 0, x_36); -lean_ctor_set(x_37, 1, x_7); -return x_37; -} -else -{ -uint8_t x_38; lean_object* x_39; lean_object* x_40; -lean_dec(x_32); -x_38 = 1; -x_39 = lean_box(x_38); -x_40 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_40, 0, x_39); -lean_ctor_set(x_40, 1, x_7); -return x_40; -} -} -} -} -} -lean_object* l_Std_RBNode_find___at_Lean_Delaborator_getPPOption___spec__1___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_Std_RBNode_find___at_Lean_Delaborator_getPPOption___spec__1(x_1, x_2); -lean_dec(x_2); -lean_dec(x_1); -return x_3; -} -} -lean_object* l_Lean_Delaborator_getPPOption___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; -x_8 = l_Lean_Delaborator_getPPOption(x_1, x_2, x_3, x_4, x_5, x_6, x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -return x_8; -} -} -lean_object* l_Lean_Delaborator_whenPPOption(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; lean_object* x_10; uint8_t x_11; -lean_inc(x_3); -x_9 = l_Lean_Delaborator_getPPOption(x_1, x_3, x_4, x_5, x_6, x_7, x_8); -x_10 = lean_ctor_get(x_9, 0); -lean_inc(x_10); -x_11 = lean_unbox(x_10); -lean_dec(x_10); -if (x_11 == 0) -{ -lean_object* x_12; lean_object* x_13; -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_12 = lean_ctor_get(x_9, 1); -lean_inc(x_12); -lean_dec(x_9); -x_13 = l_Lean_Delaborator_failure___rarg(x_12); -return x_13; -} -else -{ -lean_object* x_14; lean_object* x_15; -x_14 = lean_ctor_get(x_9, 1); -lean_inc(x_14); -lean_dec(x_9); -x_15 = lean_apply_6(x_2, x_3, x_4, x_5, x_6, x_7, x_14); -return x_15; -} -} -} -lean_object* l_Lean_Delaborator_whenNotPPOption(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; lean_object* x_10; uint8_t x_11; -lean_inc(x_3); -x_9 = l_Lean_Delaborator_getPPOption(x_1, x_3, x_4, x_5, x_6, x_7, x_8); -x_10 = lean_ctor_get(x_9, 0); -lean_inc(x_10); -x_11 = lean_unbox(x_10); -lean_dec(x_10); -if (x_11 == 0) -{ -lean_object* x_12; lean_object* x_13; -x_12 = lean_ctor_get(x_9, 1); -lean_inc(x_12); -lean_dec(x_9); -x_13 = lean_apply_6(x_2, x_3, x_4, x_5, x_6, x_7, x_12); -return x_13; -} -else -{ -lean_object* x_14; lean_object* x_15; -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_14 = lean_ctor_get(x_9, 1); -lean_inc(x_14); -lean_dec(x_9); -x_15 = l_Lean_Delaborator_failure___rarg(x_14); -return x_15; -} -} -} -lean_object* l_Lean_Delaborator_descend___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -uint8_t x_10; -x_10 = !lean_is_exclusive(x_4); -if (x_10 == 0) -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_11 = lean_ctor_get(x_4, 1); -x_12 = lean_ctor_get(x_4, 0); -lean_dec(x_12); -x_13 = lean_unsigned_to_nat(3u); -x_14 = lean_nat_mul(x_11, x_13); -lean_dec(x_11); -x_15 = lean_nat_add(x_14, x_2); -lean_dec(x_14); -lean_ctor_set(x_4, 1, x_15); -lean_ctor_set(x_4, 0, x_1); -x_16 = lean_apply_6(x_3, x_4, x_5, x_6, x_7, x_8, x_9); -return x_16; -} -else -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_17 = lean_ctor_get(x_4, 1); -x_18 = lean_ctor_get(x_4, 2); -x_19 = lean_ctor_get(x_4, 3); -x_20 = lean_ctor_get(x_4, 4); -x_21 = lean_ctor_get(x_4, 5); -lean_inc(x_21); -lean_inc(x_20); -lean_inc(x_19); -lean_inc(x_18); -lean_inc(x_17); -lean_dec(x_4); -x_22 = lean_unsigned_to_nat(3u); -x_23 = lean_nat_mul(x_17, x_22); -lean_dec(x_17); -x_24 = lean_nat_add(x_23, x_2); -lean_dec(x_23); -x_25 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_25, 0, x_1); -lean_ctor_set(x_25, 1, x_24); -lean_ctor_set(x_25, 2, x_18); -lean_ctor_set(x_25, 3, x_19); -lean_ctor_set(x_25, 4, x_20); -lean_ctor_set(x_25, 5, x_21); -x_26 = lean_apply_6(x_3, x_25, x_5, x_6, x_7, x_8, x_9); -return x_26; -} -} -} -lean_object* l_Lean_Delaborator_descend(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Delaborator_descend___rarg___boxed), 9, 0); -return x_2; -} -} -lean_object* l_Lean_Delaborator_descend___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; -x_10 = l_Lean_Delaborator_descend___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_2); -return x_10; -} -} -lean_object* l_Lean_Delaborator_withAppFn_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -if (lean_obj_tag(x_1) == 5) -{ -lean_object* x_4; lean_object* x_5; uint64_t x_6; lean_object* x_7; lean_object* x_8; -lean_dec(x_3); -x_4 = lean_ctor_get(x_1, 0); -lean_inc(x_4); -x_5 = lean_ctor_get(x_1, 1); -lean_inc(x_5); -x_6 = lean_ctor_get_uint64(x_1, sizeof(void*)*2); -lean_dec(x_1); -x_7 = lean_box_uint64(x_6); -x_8 = lean_apply_3(x_2, x_4, x_5, x_7); -return x_8; -} -else -{ -lean_object* x_9; -lean_dec(x_2); -x_9 = lean_apply_1(x_3, x_1); -return x_9; -} -} -} -lean_object* l_Lean_Delaborator_withAppFn_match__1(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Delaborator_withAppFn_match__1___rarg), 3, 0); -return x_2; -} -} -static lean_object* _init_l_Lean_Delaborator_withAppFn___rarg___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = l_Lean_Delaborator_instInhabitedDelabM(lean_box(0)); -return x_1; -} -} -static lean_object* _init_l_Lean_Delaborator_withAppFn___rarg___closed__2() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("Lean.Delaborator"); -return x_1; -} -} -static lean_object* _init_l_Lean_Delaborator_withAppFn___rarg___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("Lean.Delaborator.withAppFn"); -return x_1; -} -} -static lean_object* _init_l_Lean_Delaborator_withAppFn___rarg___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_1 = l_Lean_Delaborator_withAppFn___rarg___closed__2; -x_2 = l_Lean_Delaborator_withAppFn___rarg___closed__3; -x_3 = lean_unsigned_to_nat(189u); -x_4 = lean_unsigned_to_nat(34u); -x_5 = l_Lean_Syntax_strLitToAtom___closed__3; -x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); -return x_6; -} -} -lean_object* l_Lean_Delaborator_withAppFn___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; lean_object* x_9; -x_8 = l_Lean_Delaborator_getExpr(x_2, x_3, x_4, x_5, x_6, x_7); -x_9 = lean_ctor_get(x_8, 0); -lean_inc(x_9); -if (lean_obj_tag(x_9) == 5) -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_10 = lean_ctor_get(x_8, 1); -lean_inc(x_10); -lean_dec(x_8); -x_11 = lean_ctor_get(x_9, 0); -lean_inc(x_11); -lean_dec(x_9); -x_12 = lean_unsigned_to_nat(0u); -x_13 = l_Lean_Delaborator_descend___rarg(x_11, x_12, x_1, x_2, x_3, x_4, x_5, x_6, x_10); -return x_13; -} -else -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; -lean_dec(x_9); -lean_dec(x_1); -x_14 = lean_ctor_get(x_8, 1); -lean_inc(x_14); -lean_dec(x_8); -x_15 = l_Lean_Delaborator_withAppFn___rarg___closed__1; -x_16 = l_Lean_Delaborator_withAppFn___rarg___closed__4; -x_17 = lean_panic_fn(x_15, x_16); -x_18 = lean_apply_6(x_17, x_2, x_3, x_4, x_5, x_6, x_14); -return x_18; -} -} -} -lean_object* l_Lean_Delaborator_withAppFn(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Delaborator_withAppFn___rarg), 7, 0); -return x_2; -} -} -lean_object* l_Lean_Delaborator_withAppArg_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -if (lean_obj_tag(x_1) == 5) -{ -lean_object* x_4; lean_object* x_5; uint64_t x_6; lean_object* x_7; lean_object* x_8; -lean_dec(x_3); -x_4 = lean_ctor_get(x_1, 0); -lean_inc(x_4); -x_5 = lean_ctor_get(x_1, 1); -lean_inc(x_5); -x_6 = lean_ctor_get_uint64(x_1, sizeof(void*)*2); -lean_dec(x_1); -x_7 = lean_box_uint64(x_6); -x_8 = lean_apply_3(x_2, x_4, x_5, x_7); -return x_8; -} -else -{ -lean_object* x_9; -lean_dec(x_2); -x_9 = lean_apply_1(x_3, x_1); -return x_9; -} -} -} -lean_object* l_Lean_Delaborator_withAppArg_match__1(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Delaborator_withAppArg_match__1___rarg), 3, 0); -return x_2; -} -} -static lean_object* _init_l_Lean_Delaborator_withAppArg___rarg___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("Lean.Delaborator.withAppArg"); -return x_1; -} -} -static lean_object* _init_l_Lean_Delaborator_withAppArg___rarg___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_1 = l_Lean_Delaborator_withAppFn___rarg___closed__2; -x_2 = l_Lean_Delaborator_withAppArg___rarg___closed__1; -x_3 = lean_unsigned_to_nat(193u); -x_4 = lean_unsigned_to_nat(35u); -x_5 = l_Lean_Syntax_strLitToAtom___closed__3; -x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); -return x_6; -} -} -lean_object* l_Lean_Delaborator_withAppArg___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; lean_object* x_9; -x_8 = l_Lean_Delaborator_getExpr(x_2, x_3, x_4, x_5, x_6, x_7); -x_9 = lean_ctor_get(x_8, 0); -lean_inc(x_9); -if (lean_obj_tag(x_9) == 5) -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_10 = lean_ctor_get(x_8, 1); -lean_inc(x_10); -lean_dec(x_8); -x_11 = lean_ctor_get(x_9, 1); -lean_inc(x_11); -lean_dec(x_9); -x_12 = lean_unsigned_to_nat(1u); -x_13 = l_Lean_Delaborator_descend___rarg(x_11, x_12, x_1, x_2, x_3, x_4, x_5, x_6, x_10); -return x_13; -} -else -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; -lean_dec(x_9); -lean_dec(x_1); -x_14 = lean_ctor_get(x_8, 1); -lean_inc(x_14); -lean_dec(x_8); -x_15 = l_Lean_Delaborator_withAppFn___rarg___closed__1; -x_16 = l_Lean_Delaborator_withAppArg___rarg___closed__2; -x_17 = lean_panic_fn(x_15, x_16); -x_18 = lean_apply_6(x_17, x_2, x_3, x_4, x_5, x_6, x_14); -return x_18; -} -} -} -lean_object* l_Lean_Delaborator_withAppArg(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Delaborator_withAppArg___rarg), 7, 0); -return x_2; -} -} -lean_object* l_Lean_Delaborator_withAppFnArgs_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -if (lean_obj_tag(x_1) == 5) -{ -lean_object* x_4; lean_object* x_5; uint64_t x_6; lean_object* x_7; lean_object* x_8; -lean_dec(x_3); -x_4 = lean_ctor_get(x_1, 0); -lean_inc(x_4); -x_5 = lean_ctor_get(x_1, 1); -lean_inc(x_5); -x_6 = lean_ctor_get_uint64(x_1, sizeof(void*)*2); -lean_dec(x_1); -x_7 = lean_box_uint64(x_6); -x_8 = lean_apply_3(x_2, x_4, x_5, x_7); -return x_8; -} -else -{ -lean_object* x_9; -lean_dec(x_2); -x_9 = lean_apply_1(x_3, x_1); -return x_9; -} -} -} -lean_object* l_Lean_Delaborator_withAppFnArgs_match__1(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Delaborator_withAppFnArgs_match__1___rarg), 3, 0); -return x_2; -} -} -lean_object* l_Lean_Delaborator_withAppFnArgs_match__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = lean_apply_2(x_3, x_1, x_2); -return x_4; -} -} -lean_object* l_Lean_Delaborator_withAppFnArgs_match__2(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Lean_Delaborator_withAppFnArgs_match__2___rarg), 3, 0); -return x_3; -} -} -lean_object* l_Lean_Delaborator_withAppFnArgs___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; lean_object* x_10; -x_9 = l_Lean_Delaborator_getExpr(x_3, x_4, x_5, x_6, x_7, x_8); -x_10 = lean_ctor_get(x_9, 0); -lean_inc(x_10); -if (lean_obj_tag(x_10) == 5) -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; -lean_dec(x_10); -x_11 = lean_ctor_get(x_9, 1); -lean_inc(x_11); -lean_dec(x_9); -lean_inc(x_2); -x_12 = lean_alloc_closure((void*)(l_Lean_Delaborator_withAppFnArgs___rarg), 8, 2); -lean_closure_set(x_12, 0, x_1); -lean_closure_set(x_12, 1, x_2); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -x_13 = l_Lean_Delaborator_withAppFn___rarg(x_12, x_3, x_4, x_5, x_6, x_7, x_11); -if (lean_obj_tag(x_13) == 0) -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_14 = lean_ctor_get(x_13, 0); -lean_inc(x_14); -x_15 = lean_ctor_get(x_13, 1); -lean_inc(x_15); -lean_dec(x_13); -x_16 = lean_apply_1(x_2, x_14); -x_17 = l_Lean_Delaborator_withAppArg___rarg(x_16, x_3, x_4, x_5, x_6, x_7, x_15); -return x_17; -} -else -{ -uint8_t x_18; -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_18 = !lean_is_exclusive(x_13); -if (x_18 == 0) -{ -return x_13; -} -else -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_19 = lean_ctor_get(x_13, 0); -x_20 = lean_ctor_get(x_13, 1); -lean_inc(x_20); -lean_inc(x_19); -lean_dec(x_13); -x_21 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_21, 0, x_19); -lean_ctor_set(x_21, 1, x_20); -return x_21; -} -} -} -else -{ -lean_object* x_22; lean_object* x_23; -lean_dec(x_10); -lean_dec(x_2); -x_22 = lean_ctor_get(x_9, 1); -lean_inc(x_22); -lean_dec(x_9); -x_23 = lean_apply_6(x_1, x_3, x_4, x_5, x_6, x_7, x_22); -return x_23; -} -} -} -lean_object* l_Lean_Delaborator_withAppFnArgs(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Delaborator_withAppFnArgs___rarg), 8, 0); -return x_2; -} -} -lean_object* l_Lean_Delaborator_withBindingDomain___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_8 = l_Lean_Delaborator_getExpr(x_2, x_3, x_4, x_5, x_6, x_7); -x_9 = lean_ctor_get(x_8, 0); -lean_inc(x_9); -x_10 = lean_ctor_get(x_8, 1); -lean_inc(x_10); -lean_dec(x_8); -x_11 = l_Lean_Expr_bindingDomain_x21(x_9); -lean_dec(x_9); -x_12 = lean_unsigned_to_nat(0u); -x_13 = l_Lean_Delaborator_descend___rarg(x_11, x_12, x_1, x_2, x_3, x_4, x_5, x_6, x_10); -return x_13; -} -} -lean_object* l_Lean_Delaborator_withBindingDomain(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Delaborator_withBindingDomain___rarg), 7, 0); -return x_2; -} -} -lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Delaborator_withBindingBody___spec__1___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; -x_9 = lean_apply_7(x_1, x_3, x_2, x_4, x_5, x_6, x_7, x_8); -return x_9; -} -} -lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Delaborator_withBindingBody___spec__1___rarg(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; lean_object* x_12; -x_11 = lean_alloc_closure((void*)(l_Lean_Meta_withLocalDecl___at_Lean_Delaborator_withBindingBody___spec__1___rarg___lambda__1), 8, 2); -lean_closure_set(x_11, 0, x_4); -lean_closure_set(x_11, 1, x_5); -x_12 = l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDeclImp___rarg(x_1, x_2, x_3, x_11, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_12) == 0) -{ -uint8_t x_13; -x_13 = !lean_is_exclusive(x_12); -if (x_13 == 0) -{ -return x_12; -} -else -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_14 = lean_ctor_get(x_12, 0); -x_15 = lean_ctor_get(x_12, 1); -lean_inc(x_15); -lean_inc(x_14); -lean_dec(x_12); -x_16 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_16, 0, x_14); -lean_ctor_set(x_16, 1, x_15); -return x_16; -} -} -else -{ -uint8_t x_17; -x_17 = !lean_is_exclusive(x_12); -if (x_17 == 0) -{ -return x_12; -} -else -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_18 = lean_ctor_get(x_12, 0); -x_19 = lean_ctor_get(x_12, 1); -lean_inc(x_19); -lean_inc(x_18); -lean_dec(x_12); -x_20 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_20, 0, x_18); -lean_ctor_set(x_20, 1, x_19); -return x_20; -} -} -} -} -lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Delaborator_withBindingBody___spec__1(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Meta_withLocalDecl___at_Lean_Delaborator_withBindingBody___spec__1___rarg___boxed), 10, 0); -return x_2; -} -} -lean_object* l_Lean_Delaborator_withBindingBody___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_10 = l_Lean_Expr_bindingBody_x21(x_1); -x_11 = lean_expr_instantiate1(x_10, x_3); -lean_dec(x_10); -x_12 = lean_unsigned_to_nat(1u); -x_13 = l_Lean_Delaborator_descend___rarg(x_11, x_12, x_2, x_4, x_5, x_6, x_7, x_8, x_9); -return x_13; -} -} -lean_object* l_Lean_Delaborator_withBindingBody___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; -x_9 = l_Lean_Delaborator_getExpr(x_3, x_4, x_5, x_6, x_7, x_8); -x_10 = lean_ctor_get(x_9, 0); -lean_inc(x_10); -x_11 = lean_ctor_get(x_9, 1); -lean_inc(x_11); -lean_dec(x_9); -x_12 = l_Lean_Expr_binderInfo(x_10); -x_13 = l_Lean_Expr_bindingDomain_x21(x_10); -x_14 = lean_alloc_closure((void*)(l_Lean_Delaborator_withBindingBody___rarg___lambda__1___boxed), 9, 2); -lean_closure_set(x_14, 0, x_10); -lean_closure_set(x_14, 1, x_2); -x_15 = l_Lean_Meta_withLocalDecl___at_Lean_Delaborator_withBindingBody___spec__1___rarg(x_1, x_12, x_13, x_14, x_3, x_4, x_5, x_6, x_7, x_11); -return x_15; -} -} -lean_object* l_Lean_Delaborator_withBindingBody(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Delaborator_withBindingBody___rarg), 8, 0); -return x_2; -} -} -lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Delaborator_withBindingBody___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -uint8_t x_11; lean_object* x_12; -x_11 = lean_unbox(x_2); -lean_dec(x_2); -x_12 = l_Lean_Meta_withLocalDecl___at_Lean_Delaborator_withBindingBody___spec__1___rarg(x_1, x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -return x_12; -} -} -lean_object* l_Lean_Delaborator_withBindingBody___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; -x_10 = l_Lean_Delaborator_withBindingBody___rarg___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_3); -lean_dec(x_1); -return x_10; -} -} -lean_object* l_Lean_Delaborator_withProj_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -if (lean_obj_tag(x_1) == 11) -{ -lean_object* x_4; lean_object* x_5; lean_object* x_6; uint64_t x_7; lean_object* x_8; lean_object* x_9; -lean_dec(x_3); -x_4 = lean_ctor_get(x_1, 0); -lean_inc(x_4); -x_5 = lean_ctor_get(x_1, 1); -lean_inc(x_5); -x_6 = lean_ctor_get(x_1, 2); -lean_inc(x_6); -x_7 = lean_ctor_get_uint64(x_1, sizeof(void*)*3); -lean_dec(x_1); -x_8 = lean_box_uint64(x_7); -x_9 = lean_apply_4(x_2, x_4, x_5, x_6, x_8); -return x_9; -} -else -{ -lean_object* x_10; -lean_dec(x_2); -x_10 = lean_apply_1(x_3, x_1); -return x_10; -} -} -} -lean_object* l_Lean_Delaborator_withProj_match__1(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Delaborator_withProj_match__1___rarg), 3, 0); -return x_2; -} -} -static lean_object* _init_l_Lean_Delaborator_withProj___rarg___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("Lean.Delaborator.withProj"); -return x_1; -} -} -static lean_object* _init_l_Lean_Delaborator_withProj___rarg___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_1 = l_Lean_Delaborator_withAppFn___rarg___closed__2; -x_2 = l_Lean_Delaborator_withProj___rarg___closed__1; -x_3 = lean_unsigned_to_nat(213u); -x_4 = lean_unsigned_to_nat(36u); -x_5 = l_Lean_Syntax_strLitToAtom___closed__3; -x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); -return x_6; -} -} -lean_object* l_Lean_Delaborator_withProj___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; lean_object* x_9; -x_8 = l_Lean_Delaborator_getExpr(x_2, x_3, x_4, x_5, x_6, x_7); -x_9 = lean_ctor_get(x_8, 0); -lean_inc(x_9); -if (lean_obj_tag(x_9) == 11) -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_10 = lean_ctor_get(x_8, 1); -lean_inc(x_10); -lean_dec(x_8); -x_11 = lean_ctor_get(x_9, 2); -lean_inc(x_11); -lean_dec(x_9); -x_12 = lean_unsigned_to_nat(0u); -x_13 = l_Lean_Delaborator_descend___rarg(x_11, x_12, x_1, x_2, x_3, x_4, x_5, x_6, x_10); -return x_13; -} -else -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; -lean_dec(x_9); -lean_dec(x_1); -x_14 = lean_ctor_get(x_8, 1); -lean_inc(x_14); -lean_dec(x_8); -x_15 = l_Lean_Delaborator_withAppFn___rarg___closed__1; -x_16 = l_Lean_Delaborator_withProj___rarg___closed__2; -x_17 = lean_panic_fn(x_15, x_16); -x_18 = lean_apply_6(x_17, x_2, x_3, x_4, x_5, x_6, x_14); -return x_18; -} -} -} -lean_object* l_Lean_Delaborator_withProj(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Delaborator_withProj___rarg), 7, 0); -return x_2; -} -} -lean_object* l_Lean_Delaborator_withMDataExpr_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -if (lean_obj_tag(x_1) == 10) -{ -lean_object* x_4; lean_object* x_5; uint64_t x_6; lean_object* x_7; lean_object* x_8; -lean_dec(x_3); -x_4 = lean_ctor_get(x_1, 0); -lean_inc(x_4); -x_5 = lean_ctor_get(x_1, 1); -lean_inc(x_5); -x_6 = lean_ctor_get_uint64(x_1, sizeof(void*)*2); -lean_dec(x_1); -x_7 = lean_box_uint64(x_6); -x_8 = lean_apply_3(x_2, x_4, x_5, x_7); -return x_8; -} -else -{ -lean_object* x_9; -lean_dec(x_2); -x_9 = lean_apply_1(x_3, x_1); -return x_9; -} -} -} -lean_object* l_Lean_Delaborator_withMDataExpr_match__1(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Delaborator_withMDataExpr_match__1___rarg), 3, 0); -return x_2; -} -} -static lean_object* _init_l_Lean_Delaborator_withMDataExpr___rarg___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("Lean.Delaborator.withMDataExpr"); -return x_1; -} -} -static lean_object* _init_l_Lean_Delaborator_withMDataExpr___rarg___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_1 = l_Lean_Delaborator_withAppFn___rarg___closed__2; -x_2 = l_Lean_Delaborator_withMDataExpr___rarg___closed__1; -x_3 = lean_unsigned_to_nat(217u); -x_4 = lean_unsigned_to_nat(35u); -x_5 = l_Lean_Syntax_strLitToAtom___closed__3; -x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); -return x_6; -} -} -lean_object* l_Lean_Delaborator_withMDataExpr___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; lean_object* x_9; -x_8 = l_Lean_Delaborator_getExpr(x_2, x_3, x_4, x_5, x_6, x_7); -x_9 = lean_ctor_get(x_8, 0); -lean_inc(x_9); -if (lean_obj_tag(x_9) == 10) -{ -lean_object* x_10; lean_object* x_11; uint8_t x_12; -x_10 = lean_ctor_get(x_8, 1); -lean_inc(x_10); -lean_dec(x_8); -x_11 = lean_ctor_get(x_9, 1); -lean_inc(x_11); -lean_dec(x_9); -x_12 = !lean_is_exclusive(x_2); -if (x_12 == 0) -{ -lean_object* x_13; lean_object* x_14; -x_13 = lean_ctor_get(x_2, 0); -lean_dec(x_13); -lean_ctor_set(x_2, 0, x_11); -x_14 = lean_apply_6(x_1, x_2, x_3, x_4, x_5, x_6, x_10); -return x_14; -} -else -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_15 = lean_ctor_get(x_2, 1); -x_16 = lean_ctor_get(x_2, 2); -x_17 = lean_ctor_get(x_2, 3); -x_18 = lean_ctor_get(x_2, 4); -x_19 = lean_ctor_get(x_2, 5); -lean_inc(x_19); -lean_inc(x_18); -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -lean_dec(x_2); -x_20 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_20, 0, x_11); -lean_ctor_set(x_20, 1, x_15); -lean_ctor_set(x_20, 2, x_16); -lean_ctor_set(x_20, 3, x_17); -lean_ctor_set(x_20, 4, x_18); -lean_ctor_set(x_20, 5, x_19); -x_21 = lean_apply_6(x_1, x_20, x_3, x_4, x_5, x_6, x_10); -return x_21; -} -} -else -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; -lean_dec(x_9); -lean_dec(x_1); -x_22 = lean_ctor_get(x_8, 1); -lean_inc(x_22); -lean_dec(x_8); -x_23 = l_Lean_Delaborator_withAppFn___rarg___closed__1; -x_24 = l_Lean_Delaborator_withMDataExpr___rarg___closed__2; -x_25 = lean_panic_fn(x_23, x_24); -x_26 = lean_apply_6(x_25, x_2, x_3, x_4, x_5, x_6, x_22); -return x_26; -} -} -} -lean_object* l_Lean_Delaborator_withMDataExpr(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Delaborator_withMDataExpr___rarg), 7, 0); -return x_2; -} -} -lean_object* l_Lean_Delaborator_annotatePos_match__1___rarg(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_object* x_5; -lean_dec(x_2); -x_4 = lean_box(0); -x_5 = lean_apply_1(x_3, x_4); -return x_5; -} -else -{ -lean_object* x_6; lean_object* x_7; -lean_dec(x_3); -x_6 = lean_ctor_get(x_1, 0); -lean_inc(x_6); -lean_dec(x_1); -x_7 = lean_apply_1(x_2, x_6); -return x_7; -} -} -} -lean_object* l_Lean_Delaborator_annotatePos_match__1(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Delaborator_annotatePos_match__1___rarg), 3, 0); -return x_2; -} -} -lean_object* l_Lean_Delaborator_annotatePos_match__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -switch (lean_obj_tag(x_1)) { -case 1: -{ -lean_object* x_5; -lean_dec(x_2); -x_5 = lean_ctor_get(x_1, 0); -lean_inc(x_5); -if (lean_obj_tag(x_5) == 1) -{ -lean_object* x_6; -x_6 = lean_ctor_get(x_5, 0); -lean_inc(x_6); -if (lean_obj_tag(x_6) == 1) -{ -lean_object* x_7; -x_7 = lean_ctor_get(x_6, 0); -lean_inc(x_7); -if (lean_obj_tag(x_7) == 1) -{ -lean_object* x_8; -x_8 = lean_ctor_get(x_7, 0); -lean_inc(x_8); -if (lean_obj_tag(x_8) == 1) -{ -lean_object* x_9; -x_9 = lean_ctor_get(x_8, 0); -lean_inc(x_9); -if (lean_obj_tag(x_9) == 0) -{ -lean_object* x_10; uint8_t x_11; -x_10 = lean_ctor_get(x_1, 1); -lean_inc(x_10); -x_11 = !lean_is_exclusive(x_5); -if (x_11 == 0) -{ -lean_object* x_12; size_t x_13; lean_object* x_14; uint8_t x_15; -x_12 = lean_ctor_get(x_5, 1); -x_13 = lean_ctor_get_usize(x_5, 2); -x_14 = lean_ctor_get(x_5, 0); -lean_dec(x_14); -x_15 = !lean_is_exclusive(x_6); -if (x_15 == 0) -{ -lean_object* x_16; size_t x_17; lean_object* x_18; uint8_t x_19; -x_16 = lean_ctor_get(x_6, 1); -x_17 = lean_ctor_get_usize(x_6, 2); -x_18 = lean_ctor_get(x_6, 0); -lean_dec(x_18); -x_19 = !lean_is_exclusive(x_7); -if (x_19 == 0) -{ -lean_object* x_20; size_t x_21; lean_object* x_22; uint8_t x_23; -x_20 = lean_ctor_get(x_7, 1); -x_21 = lean_ctor_get_usize(x_7, 2); -x_22 = lean_ctor_get(x_7, 0); -lean_dec(x_22); -x_23 = !lean_is_exclusive(x_8); -if (x_23 == 0) -{ -lean_object* x_24; size_t x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; -x_24 = lean_ctor_get(x_8, 1); -x_25 = lean_ctor_get_usize(x_8, 2); -x_26 = lean_ctor_get(x_8, 0); -lean_dec(x_26); -x_27 = l_myMacro____x40_Init_Notation___hyg_38____closed__1; -x_28 = lean_string_dec_eq(x_24, x_27); -lean_dec(x_24); -if (x_28 == 0) -{ -lean_object* x_29; -lean_free_object(x_8); -lean_free_object(x_7); -lean_dec(x_20); -lean_free_object(x_6); -lean_dec(x_16); -lean_free_object(x_5); -lean_dec(x_12); -lean_dec(x_10); -lean_dec(x_3); -x_29 = lean_apply_1(x_4, x_1); -return x_29; -} -else -{ -lean_object* x_30; uint8_t x_31; -x_30 = l_myMacro____x40_Init_Notation___hyg_38____closed__3; -x_31 = lean_string_dec_eq(x_20, x_30); -if (x_31 == 0) -{ -uint8_t x_32; -lean_dec(x_3); -x_32 = !lean_is_exclusive(x_1); -if (x_32 == 0) -{ -lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_33 = lean_ctor_get(x_1, 1); -lean_dec(x_33); -x_34 = lean_ctor_get(x_1, 0); -lean_dec(x_34); -lean_ctor_set(x_8, 1, x_27); -x_35 = lean_apply_1(x_4, x_1); -return x_35; -} -else -{ -lean_object* x_36; lean_object* x_37; -lean_dec(x_1); -lean_ctor_set(x_8, 1, x_27); -x_36 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_36, 0, x_5); -lean_ctor_set(x_36, 1, x_10); -x_37 = lean_apply_1(x_4, x_36); -return x_37; -} -} -else -{ -lean_object* x_38; uint8_t x_39; -lean_dec(x_20); -x_38 = l_myMacro____x40_Init_Notation___hyg_38____closed__5; -x_39 = lean_string_dec_eq(x_16, x_38); -if (x_39 == 0) -{ -uint8_t x_40; -lean_dec(x_3); -x_40 = !lean_is_exclusive(x_1); -if (x_40 == 0) -{ -lean_object* x_41; lean_object* x_42; lean_object* x_43; -x_41 = lean_ctor_get(x_1, 1); -lean_dec(x_41); -x_42 = lean_ctor_get(x_1, 0); -lean_dec(x_42); -lean_ctor_set(x_8, 1, x_27); -lean_ctor_set(x_7, 1, x_30); -x_43 = lean_apply_1(x_4, x_1); -return x_43; -} -else -{ -lean_object* x_44; lean_object* x_45; -lean_dec(x_1); -lean_ctor_set(x_8, 1, x_27); -lean_ctor_set(x_7, 1, x_30); -x_44 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_44, 0, x_5); -lean_ctor_set(x_44, 1, x_10); -x_45 = lean_apply_1(x_4, x_44); -return x_45; -} -} -else -{ -lean_object* x_46; uint8_t x_47; -lean_dec(x_16); -x_46 = l_myMacro____x40_Init_Notation___hyg_38____closed__7; -x_47 = lean_string_dec_eq(x_12, x_46); -if (x_47 == 0) -{ -uint8_t x_48; -lean_dec(x_3); -x_48 = !lean_is_exclusive(x_1); -if (x_48 == 0) -{ -lean_object* x_49; lean_object* x_50; lean_object* x_51; -x_49 = lean_ctor_get(x_1, 1); -lean_dec(x_49); -x_50 = lean_ctor_get(x_1, 0); -lean_dec(x_50); -lean_ctor_set(x_8, 1, x_27); -lean_ctor_set(x_7, 1, x_30); -lean_ctor_set(x_6, 1, x_38); -x_51 = lean_apply_1(x_4, x_1); -return x_51; -} -else -{ -lean_object* x_52; lean_object* x_53; -lean_dec(x_1); -lean_ctor_set(x_8, 1, x_27); -lean_ctor_set(x_7, 1, x_30); -lean_ctor_set(x_6, 1, x_38); -x_52 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_52, 0, x_5); -lean_ctor_set(x_52, 1, x_10); -x_53 = lean_apply_1(x_4, x_52); -return x_53; -} -} -else -{ -lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; -lean_free_object(x_8); -lean_free_object(x_7); -lean_free_object(x_6); -lean_free_object(x_5); -lean_dec(x_12); -lean_dec(x_4); -x_54 = lean_box_usize(x_25); -x_55 = lean_box_usize(x_21); -x_56 = lean_box_usize(x_17); -x_57 = lean_box_usize(x_13); -x_58 = lean_apply_6(x_3, x_1, x_10, x_54, x_55, x_56, x_57); -return x_58; -} -} -} -} -} -else -{ -lean_object* x_59; size_t x_60; lean_object* x_61; uint8_t x_62; -x_59 = lean_ctor_get(x_8, 1); -x_60 = lean_ctor_get_usize(x_8, 2); -lean_inc(x_59); -lean_dec(x_8); -x_61 = l_myMacro____x40_Init_Notation___hyg_38____closed__1; -x_62 = lean_string_dec_eq(x_59, x_61); -lean_dec(x_59); -if (x_62 == 0) -{ -lean_object* x_63; -lean_free_object(x_7); -lean_dec(x_20); -lean_free_object(x_6); -lean_dec(x_16); -lean_free_object(x_5); -lean_dec(x_12); -lean_dec(x_10); -lean_dec(x_3); -x_63 = lean_apply_1(x_4, x_1); -return x_63; -} -else -{ -lean_object* x_64; uint8_t x_65; -x_64 = l_myMacro____x40_Init_Notation___hyg_38____closed__3; -x_65 = lean_string_dec_eq(x_20, x_64); -if (x_65 == 0) -{ -lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; -lean_dec(x_3); -if (lean_is_exclusive(x_1)) { - lean_ctor_release(x_1, 0); - lean_ctor_release(x_1, 1); - x_66 = x_1; -} else { - lean_dec_ref(x_1); - x_66 = lean_box(0); -} -x_67 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -lean_ctor_set(x_67, 0, x_9); -lean_ctor_set(x_67, 1, x_61); -lean_ctor_set_usize(x_67, 2, x_60); -lean_ctor_set(x_7, 0, x_67); -if (lean_is_scalar(x_66)) { - x_68 = lean_alloc_ctor(1, 2, 0); -} else { - x_68 = x_66; -} -lean_ctor_set(x_68, 0, x_5); -lean_ctor_set(x_68, 1, x_10); -x_69 = lean_apply_1(x_4, x_68); -return x_69; -} -else -{ -lean_object* x_70; uint8_t x_71; -lean_dec(x_20); -x_70 = l_myMacro____x40_Init_Notation___hyg_38____closed__5; -x_71 = lean_string_dec_eq(x_16, x_70); -if (x_71 == 0) -{ -lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; -lean_dec(x_3); -if (lean_is_exclusive(x_1)) { - lean_ctor_release(x_1, 0); - lean_ctor_release(x_1, 1); - x_72 = x_1; -} else { - lean_dec_ref(x_1); - x_72 = lean_box(0); -} -x_73 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -lean_ctor_set(x_73, 0, x_9); -lean_ctor_set(x_73, 1, x_61); -lean_ctor_set_usize(x_73, 2, x_60); -lean_ctor_set(x_7, 1, x_64); -lean_ctor_set(x_7, 0, x_73); -if (lean_is_scalar(x_72)) { - x_74 = lean_alloc_ctor(1, 2, 0); -} else { - x_74 = x_72; -} -lean_ctor_set(x_74, 0, x_5); -lean_ctor_set(x_74, 1, x_10); -x_75 = lean_apply_1(x_4, x_74); -return x_75; -} -else -{ -lean_object* x_76; uint8_t x_77; -lean_dec(x_16); -x_76 = l_myMacro____x40_Init_Notation___hyg_38____closed__7; -x_77 = lean_string_dec_eq(x_12, x_76); -if (x_77 == 0) -{ -lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; -lean_dec(x_3); -if (lean_is_exclusive(x_1)) { - lean_ctor_release(x_1, 0); - lean_ctor_release(x_1, 1); - x_78 = x_1; -} else { - lean_dec_ref(x_1); - x_78 = lean_box(0); -} -x_79 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -lean_ctor_set(x_79, 0, x_9); -lean_ctor_set(x_79, 1, x_61); -lean_ctor_set_usize(x_79, 2, x_60); -lean_ctor_set(x_7, 1, x_64); -lean_ctor_set(x_7, 0, x_79); -lean_ctor_set(x_6, 1, x_70); -if (lean_is_scalar(x_78)) { - x_80 = lean_alloc_ctor(1, 2, 0); -} else { - x_80 = x_78; -} -lean_ctor_set(x_80, 0, x_5); -lean_ctor_set(x_80, 1, x_10); -x_81 = lean_apply_1(x_4, x_80); -return x_81; -} -else -{ -lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; -lean_free_object(x_7); -lean_free_object(x_6); -lean_free_object(x_5); -lean_dec(x_12); -lean_dec(x_4); -x_82 = lean_box_usize(x_60); -x_83 = lean_box_usize(x_21); -x_84 = lean_box_usize(x_17); -x_85 = lean_box_usize(x_13); -x_86 = lean_apply_6(x_3, x_1, x_10, x_82, x_83, x_84, x_85); -return x_86; -} -} -} -} -} -} -else -{ -lean_object* x_87; size_t x_88; lean_object* x_89; size_t x_90; lean_object* x_91; lean_object* x_92; uint8_t x_93; -x_87 = lean_ctor_get(x_7, 1); -x_88 = lean_ctor_get_usize(x_7, 2); -lean_inc(x_87); -lean_dec(x_7); -x_89 = lean_ctor_get(x_8, 1); -lean_inc(x_89); -x_90 = lean_ctor_get_usize(x_8, 2); -if (lean_is_exclusive(x_8)) { - lean_ctor_release(x_8, 0); - lean_ctor_release(x_8, 1); - x_91 = x_8; -} else { - lean_dec_ref(x_8); - x_91 = lean_box(0); -} -x_92 = l_myMacro____x40_Init_Notation___hyg_38____closed__1; -x_93 = lean_string_dec_eq(x_89, x_92); -lean_dec(x_89); -if (x_93 == 0) -{ -lean_object* x_94; -lean_dec(x_91); -lean_dec(x_87); -lean_free_object(x_6); -lean_dec(x_16); -lean_free_object(x_5); -lean_dec(x_12); -lean_dec(x_10); -lean_dec(x_3); -x_94 = lean_apply_1(x_4, x_1); -return x_94; -} -else -{ -lean_object* x_95; uint8_t x_96; -x_95 = l_myMacro____x40_Init_Notation___hyg_38____closed__3; -x_96 = lean_string_dec_eq(x_87, x_95); -if (x_96 == 0) -{ -lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; -lean_dec(x_3); -if (lean_is_exclusive(x_1)) { - lean_ctor_release(x_1, 0); - lean_ctor_release(x_1, 1); - x_97 = x_1; -} else { - lean_dec_ref(x_1); - x_97 = lean_box(0); -} -if (lean_is_scalar(x_91)) { - x_98 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -} else { - x_98 = x_91; -} -lean_ctor_set(x_98, 0, x_9); -lean_ctor_set(x_98, 1, x_92); -lean_ctor_set_usize(x_98, 2, x_90); -x_99 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -lean_ctor_set(x_99, 0, x_98); -lean_ctor_set(x_99, 1, x_87); -lean_ctor_set_usize(x_99, 2, x_88); -lean_ctor_set(x_6, 0, x_99); -if (lean_is_scalar(x_97)) { - x_100 = lean_alloc_ctor(1, 2, 0); -} else { - x_100 = x_97; -} -lean_ctor_set(x_100, 0, x_5); -lean_ctor_set(x_100, 1, x_10); -x_101 = lean_apply_1(x_4, x_100); -return x_101; -} -else -{ -lean_object* x_102; uint8_t x_103; -lean_dec(x_87); -x_102 = l_myMacro____x40_Init_Notation___hyg_38____closed__5; -x_103 = lean_string_dec_eq(x_16, x_102); -if (x_103 == 0) -{ -lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; -lean_dec(x_3); -if (lean_is_exclusive(x_1)) { - lean_ctor_release(x_1, 0); - lean_ctor_release(x_1, 1); - x_104 = x_1; -} else { - lean_dec_ref(x_1); - x_104 = lean_box(0); -} -if (lean_is_scalar(x_91)) { - x_105 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -} else { - x_105 = x_91; -} -lean_ctor_set(x_105, 0, x_9); -lean_ctor_set(x_105, 1, x_92); -lean_ctor_set_usize(x_105, 2, x_90); -x_106 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -lean_ctor_set(x_106, 0, x_105); -lean_ctor_set(x_106, 1, x_95); -lean_ctor_set_usize(x_106, 2, x_88); -lean_ctor_set(x_6, 0, x_106); -if (lean_is_scalar(x_104)) { - x_107 = lean_alloc_ctor(1, 2, 0); -} else { - x_107 = x_104; -} -lean_ctor_set(x_107, 0, x_5); -lean_ctor_set(x_107, 1, x_10); -x_108 = lean_apply_1(x_4, x_107); -return x_108; -} -else -{ -lean_object* x_109; uint8_t x_110; -lean_dec(x_16); -x_109 = l_myMacro____x40_Init_Notation___hyg_38____closed__7; -x_110 = lean_string_dec_eq(x_12, x_109); -if (x_110 == 0) -{ -lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; -lean_dec(x_3); -if (lean_is_exclusive(x_1)) { - lean_ctor_release(x_1, 0); - lean_ctor_release(x_1, 1); - x_111 = x_1; -} else { - lean_dec_ref(x_1); - x_111 = lean_box(0); -} -if (lean_is_scalar(x_91)) { - x_112 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -} else { - x_112 = x_91; -} -lean_ctor_set(x_112, 0, x_9); -lean_ctor_set(x_112, 1, x_92); -lean_ctor_set_usize(x_112, 2, x_90); -x_113 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -lean_ctor_set(x_113, 0, x_112); -lean_ctor_set(x_113, 1, x_95); -lean_ctor_set_usize(x_113, 2, x_88); -lean_ctor_set(x_6, 1, x_102); -lean_ctor_set(x_6, 0, x_113); -if (lean_is_scalar(x_111)) { - x_114 = lean_alloc_ctor(1, 2, 0); -} else { - x_114 = x_111; -} -lean_ctor_set(x_114, 0, x_5); -lean_ctor_set(x_114, 1, x_10); -x_115 = lean_apply_1(x_4, x_114); -return x_115; -} -else -{ -lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; -lean_dec(x_91); -lean_free_object(x_6); -lean_free_object(x_5); -lean_dec(x_12); -lean_dec(x_4); -x_116 = lean_box_usize(x_90); -x_117 = lean_box_usize(x_88); -x_118 = lean_box_usize(x_17); -x_119 = lean_box_usize(x_13); -x_120 = lean_apply_6(x_3, x_1, x_10, x_116, x_117, x_118, x_119); -return x_120; -} -} -} -} -} -} -else -{ -lean_object* x_121; size_t x_122; lean_object* x_123; size_t x_124; lean_object* x_125; lean_object* x_126; size_t x_127; lean_object* x_128; lean_object* x_129; uint8_t x_130; -x_121 = lean_ctor_get(x_6, 1); -x_122 = lean_ctor_get_usize(x_6, 2); -lean_inc(x_121); -lean_dec(x_6); -x_123 = lean_ctor_get(x_7, 1); -lean_inc(x_123); -x_124 = lean_ctor_get_usize(x_7, 2); -if (lean_is_exclusive(x_7)) { - lean_ctor_release(x_7, 0); - lean_ctor_release(x_7, 1); - x_125 = x_7; -} else { - lean_dec_ref(x_7); - x_125 = lean_box(0); -} -x_126 = lean_ctor_get(x_8, 1); -lean_inc(x_126); -x_127 = lean_ctor_get_usize(x_8, 2); -if (lean_is_exclusive(x_8)) { - lean_ctor_release(x_8, 0); - lean_ctor_release(x_8, 1); - x_128 = x_8; -} else { - lean_dec_ref(x_8); - x_128 = lean_box(0); -} -x_129 = l_myMacro____x40_Init_Notation___hyg_38____closed__1; -x_130 = lean_string_dec_eq(x_126, x_129); -lean_dec(x_126); -if (x_130 == 0) -{ -lean_object* x_131; -lean_dec(x_128); -lean_dec(x_125); -lean_dec(x_123); -lean_dec(x_121); -lean_free_object(x_5); -lean_dec(x_12); -lean_dec(x_10); -lean_dec(x_3); -x_131 = lean_apply_1(x_4, x_1); -return x_131; -} -else -{ -lean_object* x_132; uint8_t x_133; -x_132 = l_myMacro____x40_Init_Notation___hyg_38____closed__3; -x_133 = lean_string_dec_eq(x_123, x_132); -if (x_133 == 0) -{ -lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; -lean_dec(x_3); -if (lean_is_exclusive(x_1)) { - lean_ctor_release(x_1, 0); - lean_ctor_release(x_1, 1); - x_134 = x_1; -} else { - lean_dec_ref(x_1); - x_134 = lean_box(0); -} -if (lean_is_scalar(x_128)) { - x_135 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -} else { - x_135 = x_128; -} -lean_ctor_set(x_135, 0, x_9); -lean_ctor_set(x_135, 1, x_129); -lean_ctor_set_usize(x_135, 2, x_127); -if (lean_is_scalar(x_125)) { - x_136 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -} else { - x_136 = x_125; -} -lean_ctor_set(x_136, 0, x_135); -lean_ctor_set(x_136, 1, x_123); -lean_ctor_set_usize(x_136, 2, x_124); -x_137 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -lean_ctor_set(x_137, 0, x_136); -lean_ctor_set(x_137, 1, x_121); -lean_ctor_set_usize(x_137, 2, x_122); -lean_ctor_set(x_5, 0, x_137); -if (lean_is_scalar(x_134)) { - x_138 = lean_alloc_ctor(1, 2, 0); -} else { - x_138 = x_134; -} -lean_ctor_set(x_138, 0, x_5); -lean_ctor_set(x_138, 1, x_10); -x_139 = lean_apply_1(x_4, x_138); -return x_139; -} -else -{ -lean_object* x_140; uint8_t x_141; -lean_dec(x_123); -x_140 = l_myMacro____x40_Init_Notation___hyg_38____closed__5; -x_141 = lean_string_dec_eq(x_121, x_140); -if (x_141 == 0) -{ -lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; -lean_dec(x_3); -if (lean_is_exclusive(x_1)) { - lean_ctor_release(x_1, 0); - lean_ctor_release(x_1, 1); - x_142 = x_1; -} else { - lean_dec_ref(x_1); - x_142 = lean_box(0); -} -if (lean_is_scalar(x_128)) { - x_143 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -} else { - x_143 = x_128; -} -lean_ctor_set(x_143, 0, x_9); -lean_ctor_set(x_143, 1, x_129); -lean_ctor_set_usize(x_143, 2, x_127); -if (lean_is_scalar(x_125)) { - x_144 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -} else { - x_144 = x_125; -} -lean_ctor_set(x_144, 0, x_143); -lean_ctor_set(x_144, 1, x_132); -lean_ctor_set_usize(x_144, 2, x_124); -x_145 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -lean_ctor_set(x_145, 0, x_144); -lean_ctor_set(x_145, 1, x_121); -lean_ctor_set_usize(x_145, 2, x_122); -lean_ctor_set(x_5, 0, x_145); -if (lean_is_scalar(x_142)) { - x_146 = lean_alloc_ctor(1, 2, 0); -} else { - x_146 = x_142; -} -lean_ctor_set(x_146, 0, x_5); -lean_ctor_set(x_146, 1, x_10); -x_147 = lean_apply_1(x_4, x_146); -return x_147; -} -else -{ -lean_object* x_148; uint8_t x_149; -lean_dec(x_121); -x_148 = l_myMacro____x40_Init_Notation___hyg_38____closed__7; -x_149 = lean_string_dec_eq(x_12, x_148); -if (x_149 == 0) -{ -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_dec(x_3); -if (lean_is_exclusive(x_1)) { - lean_ctor_release(x_1, 0); - lean_ctor_release(x_1, 1); - x_150 = x_1; -} else { - lean_dec_ref(x_1); - x_150 = lean_box(0); -} -if (lean_is_scalar(x_128)) { - x_151 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -} else { - x_151 = x_128; -} -lean_ctor_set(x_151, 0, x_9); -lean_ctor_set(x_151, 1, x_129); -lean_ctor_set_usize(x_151, 2, x_127); -if (lean_is_scalar(x_125)) { - x_152 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -} else { - x_152 = x_125; -} -lean_ctor_set(x_152, 0, x_151); -lean_ctor_set(x_152, 1, x_132); -lean_ctor_set_usize(x_152, 2, x_124); -x_153 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -lean_ctor_set(x_153, 0, x_152); -lean_ctor_set(x_153, 1, x_140); -lean_ctor_set_usize(x_153, 2, x_122); -lean_ctor_set(x_5, 0, x_153); -if (lean_is_scalar(x_150)) { - x_154 = lean_alloc_ctor(1, 2, 0); -} else { - x_154 = x_150; -} -lean_ctor_set(x_154, 0, x_5); -lean_ctor_set(x_154, 1, x_10); -x_155 = lean_apply_1(x_4, x_154); -return x_155; -} -else -{ -lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; -lean_dec(x_128); -lean_dec(x_125); -lean_free_object(x_5); -lean_dec(x_12); -lean_dec(x_4); -x_156 = lean_box_usize(x_127); -x_157 = lean_box_usize(x_124); -x_158 = lean_box_usize(x_122); -x_159 = lean_box_usize(x_13); -x_160 = lean_apply_6(x_3, x_1, x_10, x_156, x_157, x_158, x_159); -return x_160; -} -} -} -} -} -} -else -{ -lean_object* x_161; size_t x_162; lean_object* x_163; size_t x_164; lean_object* x_165; lean_object* x_166; size_t x_167; lean_object* x_168; lean_object* x_169; size_t x_170; lean_object* x_171; lean_object* x_172; uint8_t x_173; -x_161 = lean_ctor_get(x_5, 1); -x_162 = lean_ctor_get_usize(x_5, 2); -lean_inc(x_161); -lean_dec(x_5); -x_163 = lean_ctor_get(x_6, 1); -lean_inc(x_163); -x_164 = lean_ctor_get_usize(x_6, 2); -if (lean_is_exclusive(x_6)) { - lean_ctor_release(x_6, 0); - lean_ctor_release(x_6, 1); - x_165 = x_6; -} else { - lean_dec_ref(x_6); - x_165 = lean_box(0); -} -x_166 = lean_ctor_get(x_7, 1); -lean_inc(x_166); -x_167 = lean_ctor_get_usize(x_7, 2); -if (lean_is_exclusive(x_7)) { - lean_ctor_release(x_7, 0); - lean_ctor_release(x_7, 1); - x_168 = x_7; -} else { - lean_dec_ref(x_7); - x_168 = lean_box(0); -} -x_169 = lean_ctor_get(x_8, 1); -lean_inc(x_169); -x_170 = lean_ctor_get_usize(x_8, 2); -if (lean_is_exclusive(x_8)) { - lean_ctor_release(x_8, 0); - lean_ctor_release(x_8, 1); - x_171 = x_8; -} else { - lean_dec_ref(x_8); - x_171 = lean_box(0); -} -x_172 = l_myMacro____x40_Init_Notation___hyg_38____closed__1; -x_173 = lean_string_dec_eq(x_169, x_172); -lean_dec(x_169); -if (x_173 == 0) -{ -lean_object* x_174; -lean_dec(x_171); -lean_dec(x_168); -lean_dec(x_166); -lean_dec(x_165); -lean_dec(x_163); -lean_dec(x_161); -lean_dec(x_10); -lean_dec(x_3); -x_174 = lean_apply_1(x_4, x_1); -return x_174; -} -else -{ -lean_object* x_175; uint8_t x_176; -x_175 = l_myMacro____x40_Init_Notation___hyg_38____closed__3; -x_176 = lean_string_dec_eq(x_166, x_175); -if (x_176 == 0) -{ -lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; -lean_dec(x_3); -if (lean_is_exclusive(x_1)) { - lean_ctor_release(x_1, 0); - lean_ctor_release(x_1, 1); - x_177 = x_1; -} else { - lean_dec_ref(x_1); - x_177 = lean_box(0); -} -if (lean_is_scalar(x_171)) { - x_178 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -} else { - x_178 = x_171; -} -lean_ctor_set(x_178, 0, x_9); -lean_ctor_set(x_178, 1, x_172); -lean_ctor_set_usize(x_178, 2, x_170); -if (lean_is_scalar(x_168)) { - x_179 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -} else { - x_179 = x_168; -} -lean_ctor_set(x_179, 0, x_178); -lean_ctor_set(x_179, 1, x_166); -lean_ctor_set_usize(x_179, 2, x_167); -if (lean_is_scalar(x_165)) { - x_180 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -} else { - x_180 = x_165; -} -lean_ctor_set(x_180, 0, x_179); -lean_ctor_set(x_180, 1, x_163); -lean_ctor_set_usize(x_180, 2, x_164); -x_181 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -lean_ctor_set(x_181, 0, x_180); -lean_ctor_set(x_181, 1, x_161); -lean_ctor_set_usize(x_181, 2, x_162); -if (lean_is_scalar(x_177)) { - x_182 = lean_alloc_ctor(1, 2, 0); -} else { - x_182 = x_177; -} -lean_ctor_set(x_182, 0, x_181); -lean_ctor_set(x_182, 1, x_10); -x_183 = lean_apply_1(x_4, x_182); -return x_183; -} -else -{ -lean_object* x_184; uint8_t x_185; -lean_dec(x_166); -x_184 = l_myMacro____x40_Init_Notation___hyg_38____closed__5; -x_185 = lean_string_dec_eq(x_163, x_184); -if (x_185 == 0) -{ -lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; -lean_dec(x_3); -if (lean_is_exclusive(x_1)) { - lean_ctor_release(x_1, 0); - lean_ctor_release(x_1, 1); - x_186 = x_1; -} else { - lean_dec_ref(x_1); - x_186 = lean_box(0); -} -if (lean_is_scalar(x_171)) { - x_187 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -} else { - x_187 = x_171; -} -lean_ctor_set(x_187, 0, x_9); -lean_ctor_set(x_187, 1, x_172); -lean_ctor_set_usize(x_187, 2, x_170); -if (lean_is_scalar(x_168)) { - x_188 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -} else { - x_188 = x_168; -} -lean_ctor_set(x_188, 0, x_187); -lean_ctor_set(x_188, 1, x_175); -lean_ctor_set_usize(x_188, 2, x_167); -if (lean_is_scalar(x_165)) { - x_189 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -} else { - x_189 = x_165; -} -lean_ctor_set(x_189, 0, x_188); -lean_ctor_set(x_189, 1, x_163); -lean_ctor_set_usize(x_189, 2, x_164); -x_190 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -lean_ctor_set(x_190, 0, x_189); -lean_ctor_set(x_190, 1, x_161); -lean_ctor_set_usize(x_190, 2, x_162); -if (lean_is_scalar(x_186)) { - x_191 = lean_alloc_ctor(1, 2, 0); -} else { - x_191 = x_186; -} -lean_ctor_set(x_191, 0, x_190); -lean_ctor_set(x_191, 1, x_10); -x_192 = lean_apply_1(x_4, x_191); -return x_192; -} -else -{ -lean_object* x_193; uint8_t x_194; -lean_dec(x_163); -x_193 = l_myMacro____x40_Init_Notation___hyg_38____closed__7; -x_194 = lean_string_dec_eq(x_161, x_193); -if (x_194 == 0) -{ -lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; -lean_dec(x_3); -if (lean_is_exclusive(x_1)) { - lean_ctor_release(x_1, 0); - lean_ctor_release(x_1, 1); - x_195 = x_1; -} else { - lean_dec_ref(x_1); - x_195 = lean_box(0); -} -if (lean_is_scalar(x_171)) { - x_196 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -} else { - x_196 = x_171; -} -lean_ctor_set(x_196, 0, x_9); -lean_ctor_set(x_196, 1, x_172); -lean_ctor_set_usize(x_196, 2, x_170); -if (lean_is_scalar(x_168)) { - x_197 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -} else { - x_197 = x_168; -} -lean_ctor_set(x_197, 0, x_196); -lean_ctor_set(x_197, 1, x_175); -lean_ctor_set_usize(x_197, 2, x_167); -if (lean_is_scalar(x_165)) { - x_198 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -} else { - x_198 = x_165; -} -lean_ctor_set(x_198, 0, x_197); -lean_ctor_set(x_198, 1, x_184); -lean_ctor_set_usize(x_198, 2, x_164); -x_199 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -lean_ctor_set(x_199, 0, x_198); -lean_ctor_set(x_199, 1, x_161); -lean_ctor_set_usize(x_199, 2, x_162); -if (lean_is_scalar(x_195)) { - x_200 = lean_alloc_ctor(1, 2, 0); -} else { - x_200 = x_195; -} -lean_ctor_set(x_200, 0, x_199); -lean_ctor_set(x_200, 1, x_10); -x_201 = lean_apply_1(x_4, x_200); -return x_201; -} -else -{ -lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; -lean_dec(x_171); -lean_dec(x_168); -lean_dec(x_165); -lean_dec(x_161); -lean_dec(x_4); -x_202 = lean_box_usize(x_170); -x_203 = lean_box_usize(x_167); -x_204 = lean_box_usize(x_164); -x_205 = lean_box_usize(x_162); -x_206 = lean_apply_6(x_3, x_1, x_10, x_202, x_203, x_204, x_205); -return x_206; -} -} -} -} -} -} -else -{ -lean_object* x_207; -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_3); -x_207 = lean_apply_1(x_4, x_1); -return x_207; -} -} -else -{ -lean_object* x_208; -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_3); -x_208 = lean_apply_1(x_4, x_1); -return x_208; -} -} -else -{ -lean_object* x_209; -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_3); -x_209 = lean_apply_1(x_4, x_1); -return x_209; -} -} -else -{ -lean_object* x_210; -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_3); -x_210 = lean_apply_1(x_4, x_1); -return x_210; -} -} -else -{ -lean_object* x_211; -lean_dec(x_5); -lean_dec(x_3); -x_211 = lean_apply_1(x_4, x_1); -return x_211; -} -} -case 3: -{ -lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; -lean_dec(x_4); -lean_dec(x_3); -x_212 = lean_ctor_get(x_1, 0); -lean_inc(x_212); -x_213 = lean_ctor_get(x_1, 1); -lean_inc(x_213); -x_214 = lean_ctor_get(x_1, 2); -lean_inc(x_214); -x_215 = lean_ctor_get(x_1, 3); -lean_inc(x_215); -x_216 = lean_apply_5(x_2, x_1, x_212, x_213, x_214, x_215); -return x_216; -} -default: -{ -lean_object* x_217; -lean_dec(x_3); -lean_dec(x_2); -x_217 = lean_apply_1(x_4, x_1); -return x_217; -} -} -} -} -lean_object* l_Lean_Delaborator_annotatePos_match__2(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Delaborator_annotatePos_match__2___rarg), 4, 0); -return x_2; -} -} -static lean_object* _init_l_Lean_Delaborator_annotatePos___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Syntax_isAtom___boxed), 1, 0); -return x_1; -} -} -lean_object* l_Lean_Delaborator_annotatePos(lean_object* x_1, lean_object* x_2) { -_start: -{ -switch (lean_obj_tag(x_2)) { -case 1: -{ -lean_object* x_3; -x_3 = lean_ctor_get(x_2, 0); -lean_inc(x_3); -if (lean_obj_tag(x_3) == 1) -{ -lean_object* x_4; -x_4 = lean_ctor_get(x_3, 0); -lean_inc(x_4); -if (lean_obj_tag(x_4) == 1) -{ -lean_object* x_5; -x_5 = lean_ctor_get(x_4, 0); -lean_inc(x_5); -if (lean_obj_tag(x_5) == 1) -{ -lean_object* x_6; -x_6 = lean_ctor_get(x_5, 0); -lean_inc(x_6); -if (lean_obj_tag(x_6) == 1) -{ -lean_object* x_7; -x_7 = lean_ctor_get(x_6, 0); -lean_inc(x_7); -if (lean_obj_tag(x_7) == 0) -{ -lean_object* x_8; lean_object* x_9; uint8_t x_10; -x_8 = lean_ctor_get(x_2, 1); -lean_inc(x_8); -x_9 = lean_ctor_get(x_3, 1); -lean_inc(x_9); -x_10 = !lean_is_exclusive(x_4); -if (x_10 == 0) -{ -size_t x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; -x_11 = lean_ctor_get_usize(x_3, 2); -x_12 = lean_ctor_get(x_4, 1); -x_13 = lean_ctor_get(x_4, 0); -lean_dec(x_13); -x_14 = !lean_is_exclusive(x_5); -if (x_14 == 0) -{ -lean_object* x_15; lean_object* x_16; uint8_t x_17; -x_15 = lean_ctor_get(x_5, 1); -x_16 = lean_ctor_get(x_5, 0); -lean_dec(x_16); -x_17 = !lean_is_exclusive(x_6); -if (x_17 == 0) -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; -x_18 = lean_ctor_get(x_6, 1); -x_19 = lean_ctor_get(x_6, 0); -lean_dec(x_19); -x_20 = l_myMacro____x40_Init_Notation___hyg_38____closed__1; -x_21 = lean_string_dec_eq(x_18, x_20); -lean_dec(x_18); -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_free_object(x_6); -lean_free_object(x_5); -lean_dec(x_15); -lean_free_object(x_4); -lean_dec(x_12); -lean_dec(x_9); -x_22 = l_Lean_Syntax_getArgs(x_2); -x_23 = lean_array_get_size(x_22); -x_24 = l_Lean_Delaborator_annotatePos___closed__1; -x_25 = lean_unsigned_to_nat(0u); -x_26 = l_Array_findIdx_x3f_loop___rarg(x_22, x_24, x_23, x_25, lean_box(0)); -lean_dec(x_22); -if (lean_obj_tag(x_26) == 0) -{ -lean_dec(x_8); -lean_dec(x_3); -lean_dec(x_1); -return x_2; -} -else -{ -uint8_t x_27; -x_27 = !lean_is_exclusive(x_2); -if (x_27 == 0) -{ -lean_object* x_28; lean_object* x_29; uint8_t x_30; -x_28 = lean_ctor_get(x_2, 1); -lean_dec(x_28); -x_29 = lean_ctor_get(x_2, 0); -lean_dec(x_29); -x_30 = !lean_is_exclusive(x_26); -if (x_30 == 0) -{ -lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35; -x_31 = lean_ctor_get(x_26, 0); -x_32 = lean_box(0); -lean_ctor_set(x_26, 0, x_1); -x_33 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_33, 0, x_32); -lean_ctor_set(x_33, 1, x_26); -lean_ctor_set(x_33, 2, x_32); -x_34 = lean_array_get_size(x_8); -x_35 = lean_nat_dec_lt(x_31, x_34); -lean_dec(x_34); -if (x_35 == 0) -{ -lean_dec(x_33); -lean_dec(x_31); -return x_2; -} -else -{ -lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; -x_36 = lean_array_fget(x_8, x_31); -x_37 = lean_box(0); -x_38 = lean_array_fset(x_8, x_31, x_37); -x_39 = l_Lean_Syntax_setInfo(x_33, x_36); -x_40 = lean_array_fset(x_38, x_31, x_39); -lean_dec(x_31); -lean_ctor_set(x_2, 1, x_40); -return x_2; -} -} -else -{ -lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; uint8_t x_46; -x_41 = lean_ctor_get(x_26, 0); -lean_inc(x_41); -lean_dec(x_26); -x_42 = lean_box(0); -x_43 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_43, 0, x_1); -x_44 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_44, 0, x_42); -lean_ctor_set(x_44, 1, x_43); -lean_ctor_set(x_44, 2, x_42); -x_45 = lean_array_get_size(x_8); -x_46 = lean_nat_dec_lt(x_41, x_45); -lean_dec(x_45); -if (x_46 == 0) -{ -lean_dec(x_44); -lean_dec(x_41); -return x_2; -} -else -{ -lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; -x_47 = lean_array_fget(x_8, x_41); -x_48 = lean_box(0); -x_49 = lean_array_fset(x_8, x_41, x_48); -x_50 = l_Lean_Syntax_setInfo(x_44, x_47); -x_51 = lean_array_fset(x_49, x_41, x_50); -lean_dec(x_41); -lean_ctor_set(x_2, 1, x_51); -return x_2; -} -} -} -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; uint8_t x_58; -lean_dec(x_2); -x_52 = lean_ctor_get(x_26, 0); -lean_inc(x_52); -if (lean_is_exclusive(x_26)) { - lean_ctor_release(x_26, 0); - x_53 = x_26; -} else { - lean_dec_ref(x_26); - x_53 = lean_box(0); -} -x_54 = lean_box(0); -if (lean_is_scalar(x_53)) { - x_55 = lean_alloc_ctor(1, 1, 0); -} else { - x_55 = x_53; -} -lean_ctor_set(x_55, 0, x_1); -x_56 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_56, 0, x_54); -lean_ctor_set(x_56, 1, x_55); -lean_ctor_set(x_56, 2, x_54); -x_57 = lean_array_get_size(x_8); -x_58 = lean_nat_dec_lt(x_52, x_57); -lean_dec(x_57); -if (x_58 == 0) -{ -lean_object* x_59; -lean_dec(x_56); -lean_dec(x_52); -x_59 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_59, 0, x_3); -lean_ctor_set(x_59, 1, x_8); -return x_59; -} -else -{ -lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; -x_60 = lean_array_fget(x_8, x_52); -x_61 = lean_box(0); -x_62 = lean_array_fset(x_8, x_52, x_61); -x_63 = l_Lean_Syntax_setInfo(x_56, x_60); -x_64 = lean_array_fset(x_62, x_52, x_63); -lean_dec(x_52); -x_65 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_65, 0, x_3); -lean_ctor_set(x_65, 1, x_64); -return x_65; -} -} -} -} -else -{ -uint8_t x_66; -x_66 = !lean_is_exclusive(x_2); -if (x_66 == 0) -{ -lean_object* x_67; lean_object* x_68; lean_object* x_69; uint8_t x_70; -x_67 = lean_ctor_get(x_2, 1); -lean_dec(x_67); -x_68 = lean_ctor_get(x_2, 0); -lean_dec(x_68); -x_69 = l_myMacro____x40_Init_Notation___hyg_38____closed__3; -x_70 = lean_string_dec_eq(x_15, x_69); -if (x_70 == 0) -{ -uint8_t x_71; -x_71 = !lean_is_exclusive(x_3); -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; lean_object* x_78; -x_72 = lean_ctor_get(x_3, 1); -lean_dec(x_72); -x_73 = lean_ctor_get(x_3, 0); -lean_dec(x_73); -lean_ctor_set(x_6, 1, x_20); -lean_inc(x_8); -lean_inc(x_3); -x_74 = l_Lean_Syntax_getArgs(x_2); -x_75 = lean_array_get_size(x_74); -x_76 = l_Lean_Delaborator_annotatePos___closed__1; -x_77 = lean_unsigned_to_nat(0u); -x_78 = l_Array_findIdx_x3f_loop___rarg(x_74, x_76, x_75, x_77, lean_box(0)); -lean_dec(x_74); -if (lean_obj_tag(x_78) == 0) -{ -lean_dec(x_3); -lean_dec(x_8); -lean_dec(x_1); -return x_2; -} -else -{ -uint8_t x_79; -lean_dec(x_2); -x_79 = !lean_is_exclusive(x_78); -if (x_79 == 0) -{ -lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; uint8_t x_84; -x_80 = lean_ctor_get(x_78, 0); -x_81 = lean_box(0); -lean_ctor_set(x_78, 0, x_1); -x_82 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_82, 0, x_81); -lean_ctor_set(x_82, 1, x_78); -lean_ctor_set(x_82, 2, x_81); -x_83 = lean_array_get_size(x_8); -x_84 = lean_nat_dec_lt(x_80, x_83); -lean_dec(x_83); -if (x_84 == 0) -{ -lean_object* x_85; -lean_dec(x_82); -lean_dec(x_80); -x_85 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_85, 0, x_3); -lean_ctor_set(x_85, 1, x_8); -return x_85; -} -else -{ -lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; -x_86 = lean_array_fget(x_8, x_80); -x_87 = lean_box(0); -x_88 = lean_array_fset(x_8, x_80, x_87); -x_89 = l_Lean_Syntax_setInfo(x_82, x_86); -x_90 = lean_array_fset(x_88, x_80, x_89); -lean_dec(x_80); -x_91 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_91, 0, x_3); -lean_ctor_set(x_91, 1, x_90); -return x_91; -} -} -else -{ -lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; uint8_t x_97; -x_92 = lean_ctor_get(x_78, 0); -lean_inc(x_92); -lean_dec(x_78); -x_93 = lean_box(0); -x_94 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_94, 0, x_1); -x_95 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_95, 0, x_93); -lean_ctor_set(x_95, 1, x_94); -lean_ctor_set(x_95, 2, x_93); -x_96 = lean_array_get_size(x_8); -x_97 = lean_nat_dec_lt(x_92, x_96); -lean_dec(x_96); -if (x_97 == 0) -{ -lean_object* x_98; -lean_dec(x_95); -lean_dec(x_92); -x_98 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_98, 0, x_3); -lean_ctor_set(x_98, 1, x_8); -return x_98; -} -else -{ -lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; -x_99 = lean_array_fget(x_8, x_92); -x_100 = lean_box(0); -x_101 = lean_array_fset(x_8, x_92, x_100); -x_102 = l_Lean_Syntax_setInfo(x_95, x_99); -x_103 = lean_array_fset(x_101, x_92, x_102); -lean_dec(x_92); -x_104 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_104, 0, x_3); -lean_ctor_set(x_104, 1, x_103); -return x_104; -} -} -} -} -else -{ -lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; -lean_dec(x_3); -lean_ctor_set(x_6, 1, x_20); -x_105 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -lean_ctor_set(x_105, 0, x_4); -lean_ctor_set(x_105, 1, x_9); -lean_ctor_set_usize(x_105, 2, x_11); -lean_inc(x_8); -lean_inc(x_105); -lean_ctor_set(x_2, 0, x_105); -x_106 = l_Lean_Syntax_getArgs(x_2); -x_107 = lean_array_get_size(x_106); -x_108 = l_Lean_Delaborator_annotatePos___closed__1; -x_109 = lean_unsigned_to_nat(0u); -x_110 = l_Array_findIdx_x3f_loop___rarg(x_106, x_108, x_107, x_109, lean_box(0)); -lean_dec(x_106); -if (lean_obj_tag(x_110) == 0) -{ -lean_dec(x_105); -lean_dec(x_8); -lean_dec(x_1); -return x_2; -} -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; uint8_t x_117; -lean_dec(x_2); -x_111 = lean_ctor_get(x_110, 0); -lean_inc(x_111); -if (lean_is_exclusive(x_110)) { - lean_ctor_release(x_110, 0); - x_112 = x_110; -} else { - lean_dec_ref(x_110); - x_112 = lean_box(0); -} -x_113 = lean_box(0); -if (lean_is_scalar(x_112)) { - x_114 = lean_alloc_ctor(1, 1, 0); -} else { - x_114 = x_112; -} -lean_ctor_set(x_114, 0, x_1); -x_115 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_115, 0, x_113); -lean_ctor_set(x_115, 1, x_114); -lean_ctor_set(x_115, 2, x_113); -x_116 = lean_array_get_size(x_8); -x_117 = lean_nat_dec_lt(x_111, x_116); -lean_dec(x_116); -if (x_117 == 0) -{ -lean_object* x_118; -lean_dec(x_115); -lean_dec(x_111); -x_118 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_118, 0, x_105); -lean_ctor_set(x_118, 1, x_8); -return x_118; -} -else -{ -lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; -x_119 = lean_array_fget(x_8, x_111); -x_120 = lean_box(0); -x_121 = lean_array_fset(x_8, x_111, x_120); -x_122 = l_Lean_Syntax_setInfo(x_115, x_119); -x_123 = lean_array_fset(x_121, x_111, x_122); -lean_dec(x_111); -x_124 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_124, 0, x_105); -lean_ctor_set(x_124, 1, x_123); -return x_124; -} -} -} -} -else -{ -lean_object* x_125; uint8_t x_126; -lean_dec(x_15); -x_125 = l_myMacro____x40_Init_Notation___hyg_38____closed__5; -x_126 = lean_string_dec_eq(x_12, x_125); -if (x_126 == 0) -{ -uint8_t x_127; -x_127 = !lean_is_exclusive(x_3); -if (x_127 == 0) -{ -lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; -x_128 = lean_ctor_get(x_3, 1); -lean_dec(x_128); -x_129 = lean_ctor_get(x_3, 0); -lean_dec(x_129); -lean_ctor_set(x_6, 1, x_20); -lean_ctor_set(x_5, 1, x_69); -lean_inc(x_8); -lean_inc(x_3); -x_130 = l_Lean_Syntax_getArgs(x_2); -x_131 = lean_array_get_size(x_130); -x_132 = l_Lean_Delaborator_annotatePos___closed__1; -x_133 = lean_unsigned_to_nat(0u); -x_134 = l_Array_findIdx_x3f_loop___rarg(x_130, x_132, x_131, x_133, lean_box(0)); -lean_dec(x_130); -if (lean_obj_tag(x_134) == 0) -{ -lean_dec(x_3); -lean_dec(x_8); -lean_dec(x_1); -return x_2; -} -else -{ -uint8_t x_135; -lean_dec(x_2); -x_135 = !lean_is_exclusive(x_134); -if (x_135 == 0) -{ -lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; uint8_t x_140; -x_136 = lean_ctor_get(x_134, 0); -x_137 = lean_box(0); -lean_ctor_set(x_134, 0, x_1); -x_138 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_138, 0, x_137); -lean_ctor_set(x_138, 1, x_134); -lean_ctor_set(x_138, 2, x_137); -x_139 = lean_array_get_size(x_8); -x_140 = lean_nat_dec_lt(x_136, x_139); -lean_dec(x_139); -if (x_140 == 0) -{ -lean_object* x_141; -lean_dec(x_138); -lean_dec(x_136); -x_141 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_141, 0, x_3); -lean_ctor_set(x_141, 1, x_8); -return x_141; -} -else -{ -lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; -x_142 = lean_array_fget(x_8, x_136); -x_143 = lean_box(0); -x_144 = lean_array_fset(x_8, x_136, x_143); -x_145 = l_Lean_Syntax_setInfo(x_138, x_142); -x_146 = lean_array_fset(x_144, x_136, x_145); -lean_dec(x_136); -x_147 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_147, 0, x_3); -lean_ctor_set(x_147, 1, x_146); -return x_147; -} -} -else -{ -lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; uint8_t x_153; -x_148 = lean_ctor_get(x_134, 0); -lean_inc(x_148); -lean_dec(x_134); -x_149 = lean_box(0); -x_150 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_150, 0, x_1); -x_151 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_151, 0, x_149); -lean_ctor_set(x_151, 1, x_150); -lean_ctor_set(x_151, 2, x_149); -x_152 = lean_array_get_size(x_8); -x_153 = lean_nat_dec_lt(x_148, x_152); -lean_dec(x_152); -if (x_153 == 0) -{ -lean_object* x_154; -lean_dec(x_151); -lean_dec(x_148); -x_154 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_154, 0, x_3); -lean_ctor_set(x_154, 1, x_8); -return x_154; -} -else -{ -lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; -x_155 = lean_array_fget(x_8, x_148); -x_156 = lean_box(0); -x_157 = lean_array_fset(x_8, x_148, x_156); -x_158 = l_Lean_Syntax_setInfo(x_151, x_155); -x_159 = lean_array_fset(x_157, x_148, x_158); -lean_dec(x_148); -x_160 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_160, 0, x_3); -lean_ctor_set(x_160, 1, x_159); -return x_160; -} -} -} -} -else -{ -lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; -lean_dec(x_3); -lean_ctor_set(x_6, 1, x_20); -lean_ctor_set(x_5, 1, x_69); -x_161 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -lean_ctor_set(x_161, 0, x_4); -lean_ctor_set(x_161, 1, x_9); -lean_ctor_set_usize(x_161, 2, x_11); -lean_inc(x_8); -lean_inc(x_161); -lean_ctor_set(x_2, 0, x_161); -x_162 = l_Lean_Syntax_getArgs(x_2); -x_163 = lean_array_get_size(x_162); -x_164 = l_Lean_Delaborator_annotatePos___closed__1; -x_165 = lean_unsigned_to_nat(0u); -x_166 = l_Array_findIdx_x3f_loop___rarg(x_162, x_164, x_163, x_165, lean_box(0)); -lean_dec(x_162); -if (lean_obj_tag(x_166) == 0) -{ -lean_dec(x_161); -lean_dec(x_8); -lean_dec(x_1); -return x_2; -} -else -{ -lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; uint8_t x_173; -lean_dec(x_2); -x_167 = lean_ctor_get(x_166, 0); -lean_inc(x_167); -if (lean_is_exclusive(x_166)) { - lean_ctor_release(x_166, 0); - x_168 = x_166; -} else { - lean_dec_ref(x_166); - x_168 = lean_box(0); -} -x_169 = lean_box(0); -if (lean_is_scalar(x_168)) { - x_170 = lean_alloc_ctor(1, 1, 0); -} else { - x_170 = x_168; -} -lean_ctor_set(x_170, 0, x_1); -x_171 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_171, 0, x_169); -lean_ctor_set(x_171, 1, x_170); -lean_ctor_set(x_171, 2, x_169); -x_172 = lean_array_get_size(x_8); -x_173 = lean_nat_dec_lt(x_167, x_172); -lean_dec(x_172); -if (x_173 == 0) -{ -lean_object* x_174; -lean_dec(x_171); -lean_dec(x_167); -x_174 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_174, 0, x_161); -lean_ctor_set(x_174, 1, x_8); -return x_174; -} -else -{ -lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; -x_175 = lean_array_fget(x_8, x_167); -x_176 = lean_box(0); -x_177 = lean_array_fset(x_8, x_167, x_176); -x_178 = l_Lean_Syntax_setInfo(x_171, x_175); -x_179 = lean_array_fset(x_177, x_167, x_178); -lean_dec(x_167); -x_180 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_180, 0, x_161); -lean_ctor_set(x_180, 1, x_179); -return x_180; -} -} -} -} -else -{ -lean_object* x_181; uint8_t x_182; -lean_dec(x_12); -x_181 = l_myMacro____x40_Init_Notation___hyg_38____closed__7; -x_182 = lean_string_dec_eq(x_9, x_181); -if (x_182 == 0) -{ -uint8_t x_183; -x_183 = !lean_is_exclusive(x_3); -if (x_183 == 0) -{ -lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; -x_184 = lean_ctor_get(x_3, 1); -lean_dec(x_184); -x_185 = lean_ctor_get(x_3, 0); -lean_dec(x_185); -lean_ctor_set(x_6, 1, x_20); -lean_ctor_set(x_5, 1, x_69); -lean_ctor_set(x_4, 1, x_125); -lean_inc(x_8); -lean_inc(x_3); -x_186 = l_Lean_Syntax_getArgs(x_2); -x_187 = lean_array_get_size(x_186); -x_188 = l_Lean_Delaborator_annotatePos___closed__1; -x_189 = lean_unsigned_to_nat(0u); -x_190 = l_Array_findIdx_x3f_loop___rarg(x_186, x_188, x_187, x_189, lean_box(0)); -lean_dec(x_186); -if (lean_obj_tag(x_190) == 0) -{ -lean_dec(x_3); -lean_dec(x_8); -lean_dec(x_1); -return x_2; -} -else -{ -uint8_t x_191; -lean_dec(x_2); -x_191 = !lean_is_exclusive(x_190); -if (x_191 == 0) -{ -lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; uint8_t x_196; -x_192 = lean_ctor_get(x_190, 0); -x_193 = lean_box(0); -lean_ctor_set(x_190, 0, x_1); -x_194 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_194, 0, x_193); -lean_ctor_set(x_194, 1, x_190); -lean_ctor_set(x_194, 2, x_193); -x_195 = lean_array_get_size(x_8); -x_196 = lean_nat_dec_lt(x_192, x_195); -lean_dec(x_195); -if (x_196 == 0) -{ -lean_object* x_197; -lean_dec(x_194); -lean_dec(x_192); -x_197 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_197, 0, x_3); -lean_ctor_set(x_197, 1, x_8); -return x_197; -} -else -{ -lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; -x_198 = lean_array_fget(x_8, x_192); -x_199 = lean_box(0); -x_200 = lean_array_fset(x_8, x_192, x_199); -x_201 = l_Lean_Syntax_setInfo(x_194, x_198); -x_202 = lean_array_fset(x_200, x_192, x_201); -lean_dec(x_192); -x_203 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_203, 0, x_3); -lean_ctor_set(x_203, 1, x_202); -return x_203; -} -} -else -{ -lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; uint8_t x_209; -x_204 = lean_ctor_get(x_190, 0); -lean_inc(x_204); -lean_dec(x_190); -x_205 = lean_box(0); -x_206 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_206, 0, x_1); -x_207 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_207, 0, x_205); -lean_ctor_set(x_207, 1, x_206); -lean_ctor_set(x_207, 2, x_205); -x_208 = lean_array_get_size(x_8); -x_209 = lean_nat_dec_lt(x_204, x_208); -lean_dec(x_208); -if (x_209 == 0) -{ -lean_object* x_210; -lean_dec(x_207); -lean_dec(x_204); -x_210 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_210, 0, x_3); -lean_ctor_set(x_210, 1, x_8); -return x_210; -} -else -{ -lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; -x_211 = lean_array_fget(x_8, x_204); -x_212 = lean_box(0); -x_213 = lean_array_fset(x_8, x_204, x_212); -x_214 = l_Lean_Syntax_setInfo(x_207, x_211); -x_215 = lean_array_fset(x_213, x_204, x_214); -lean_dec(x_204); -x_216 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_216, 0, x_3); -lean_ctor_set(x_216, 1, x_215); -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_dec(x_3); -lean_ctor_set(x_6, 1, x_20); -lean_ctor_set(x_5, 1, x_69); -lean_ctor_set(x_4, 1, x_125); -x_217 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -lean_ctor_set(x_217, 0, x_4); -lean_ctor_set(x_217, 1, x_9); -lean_ctor_set_usize(x_217, 2, x_11); -lean_inc(x_8); -lean_inc(x_217); -lean_ctor_set(x_2, 0, x_217); -x_218 = l_Lean_Syntax_getArgs(x_2); -x_219 = lean_array_get_size(x_218); -x_220 = l_Lean_Delaborator_annotatePos___closed__1; -x_221 = lean_unsigned_to_nat(0u); -x_222 = l_Array_findIdx_x3f_loop___rarg(x_218, x_220, x_219, x_221, lean_box(0)); -lean_dec(x_218); -if (lean_obj_tag(x_222) == 0) -{ -lean_dec(x_217); -lean_dec(x_8); -lean_dec(x_1); -return x_2; -} -else -{ -lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; uint8_t x_229; -lean_dec(x_2); -x_223 = lean_ctor_get(x_222, 0); -lean_inc(x_223); -if (lean_is_exclusive(x_222)) { - lean_ctor_release(x_222, 0); - x_224 = x_222; -} else { - lean_dec_ref(x_222); - x_224 = lean_box(0); -} -x_225 = lean_box(0); -if (lean_is_scalar(x_224)) { - x_226 = lean_alloc_ctor(1, 1, 0); -} else { - x_226 = x_224; -} -lean_ctor_set(x_226, 0, x_1); -x_227 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_227, 0, x_225); -lean_ctor_set(x_227, 1, x_226); -lean_ctor_set(x_227, 2, x_225); -x_228 = lean_array_get_size(x_8); -x_229 = lean_nat_dec_lt(x_223, x_228); -lean_dec(x_228); -if (x_229 == 0) -{ -lean_object* x_230; -lean_dec(x_227); -lean_dec(x_223); -x_230 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_230, 0, x_217); -lean_ctor_set(x_230, 1, x_8); -return x_230; -} -else -{ -lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; -x_231 = lean_array_fget(x_8, x_223); -x_232 = lean_box(0); -x_233 = lean_array_fset(x_8, x_223, x_232); -x_234 = l_Lean_Syntax_setInfo(x_227, x_231); -x_235 = lean_array_fset(x_233, x_223, x_234); -lean_dec(x_223); -x_236 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_236, 0, x_217); -lean_ctor_set(x_236, 1, x_235); -return x_236; -} -} -} -} -else -{ -lean_object* x_237; lean_object* x_238; uint8_t x_239; -lean_free_object(x_6); -lean_free_object(x_5); -lean_free_object(x_4); -lean_dec(x_9); -x_237 = lean_array_get_size(x_8); -x_238 = lean_unsigned_to_nat(0u); -x_239 = lean_nat_dec_lt(x_238, x_237); -lean_dec(x_237); -if (x_239 == 0) -{ -lean_dec(x_1); -return x_2; -} -else -{ -lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; -x_240 = lean_array_fget(x_8, x_238); -x_241 = lean_box(0); -x_242 = lean_array_fset(x_8, x_238, x_241); -x_243 = l_Lean_Delaborator_annotatePos(x_1, x_240); -x_244 = lean_array_fset(x_242, x_238, x_243); -lean_ctor_set(x_2, 1, x_244); -return x_2; -} -} -} -} -} -else -{ -lean_object* x_245; uint8_t x_246; -lean_dec(x_2); -x_245 = l_myMacro____x40_Init_Notation___hyg_38____closed__3; -x_246 = lean_string_dec_eq(x_15, x_245); -if (x_246 == 0) -{ -lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; -if (lean_is_exclusive(x_3)) { - lean_ctor_release(x_3, 0); - lean_ctor_release(x_3, 1); - x_247 = x_3; -} else { - lean_dec_ref(x_3); - x_247 = lean_box(0); -} -lean_ctor_set(x_6, 1, x_20); -if (lean_is_scalar(x_247)) { - x_248 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -} else { - x_248 = x_247; -} -lean_ctor_set(x_248, 0, x_4); -lean_ctor_set(x_248, 1, x_9); -lean_ctor_set_usize(x_248, 2, x_11); -lean_inc(x_8); -lean_inc(x_248); -x_249 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_249, 0, x_248); -lean_ctor_set(x_249, 1, x_8); -x_250 = l_Lean_Syntax_getArgs(x_249); -x_251 = lean_array_get_size(x_250); -x_252 = l_Lean_Delaborator_annotatePos___closed__1; -x_253 = lean_unsigned_to_nat(0u); -x_254 = l_Array_findIdx_x3f_loop___rarg(x_250, x_252, x_251, x_253, lean_box(0)); -lean_dec(x_250); -if (lean_obj_tag(x_254) == 0) -{ -lean_dec(x_248); -lean_dec(x_8); -lean_dec(x_1); -return x_249; -} -else -{ -lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; uint8_t x_261; -lean_dec(x_249); -x_255 = lean_ctor_get(x_254, 0); -lean_inc(x_255); -if (lean_is_exclusive(x_254)) { - lean_ctor_release(x_254, 0); - x_256 = x_254; -} else { - lean_dec_ref(x_254); - x_256 = lean_box(0); -} -x_257 = lean_box(0); -if (lean_is_scalar(x_256)) { - x_258 = lean_alloc_ctor(1, 1, 0); -} else { - x_258 = x_256; -} -lean_ctor_set(x_258, 0, x_1); -x_259 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_259, 0, x_257); -lean_ctor_set(x_259, 1, x_258); -lean_ctor_set(x_259, 2, x_257); -x_260 = lean_array_get_size(x_8); -x_261 = lean_nat_dec_lt(x_255, x_260); -lean_dec(x_260); -if (x_261 == 0) -{ -lean_object* x_262; -lean_dec(x_259); -lean_dec(x_255); -x_262 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_262, 0, x_248); -lean_ctor_set(x_262, 1, x_8); -return x_262; -} -else -{ -lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; -x_263 = lean_array_fget(x_8, x_255); -x_264 = lean_box(0); -x_265 = lean_array_fset(x_8, x_255, x_264); -x_266 = l_Lean_Syntax_setInfo(x_259, x_263); -x_267 = lean_array_fset(x_265, x_255, x_266); -lean_dec(x_255); -x_268 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_268, 0, x_248); -lean_ctor_set(x_268, 1, x_267); -return x_268; -} -} -} -else -{ -lean_object* x_269; uint8_t x_270; -lean_dec(x_15); -x_269 = l_myMacro____x40_Init_Notation___hyg_38____closed__5; -x_270 = lean_string_dec_eq(x_12, x_269); -if (x_270 == 0) -{ -lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; -if (lean_is_exclusive(x_3)) { - lean_ctor_release(x_3, 0); - lean_ctor_release(x_3, 1); - x_271 = x_3; -} else { - lean_dec_ref(x_3); - x_271 = lean_box(0); -} -lean_ctor_set(x_6, 1, x_20); -lean_ctor_set(x_5, 1, x_245); -if (lean_is_scalar(x_271)) { - x_272 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -} else { - x_272 = x_271; -} -lean_ctor_set(x_272, 0, x_4); -lean_ctor_set(x_272, 1, x_9); -lean_ctor_set_usize(x_272, 2, x_11); -lean_inc(x_8); -lean_inc(x_272); -x_273 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_273, 0, x_272); -lean_ctor_set(x_273, 1, x_8); -x_274 = l_Lean_Syntax_getArgs(x_273); -x_275 = lean_array_get_size(x_274); -x_276 = l_Lean_Delaborator_annotatePos___closed__1; -x_277 = lean_unsigned_to_nat(0u); -x_278 = l_Array_findIdx_x3f_loop___rarg(x_274, x_276, x_275, x_277, lean_box(0)); -lean_dec(x_274); -if (lean_obj_tag(x_278) == 0) -{ -lean_dec(x_272); -lean_dec(x_8); -lean_dec(x_1); -return x_273; -} -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; uint8_t x_285; -lean_dec(x_273); -x_279 = lean_ctor_get(x_278, 0); -lean_inc(x_279); -if (lean_is_exclusive(x_278)) { - lean_ctor_release(x_278, 0); - x_280 = x_278; -} else { - lean_dec_ref(x_278); - x_280 = lean_box(0); -} -x_281 = lean_box(0); -if (lean_is_scalar(x_280)) { - x_282 = lean_alloc_ctor(1, 1, 0); -} else { - x_282 = x_280; -} -lean_ctor_set(x_282, 0, x_1); -x_283 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_283, 0, x_281); -lean_ctor_set(x_283, 1, x_282); -lean_ctor_set(x_283, 2, x_281); -x_284 = lean_array_get_size(x_8); -x_285 = lean_nat_dec_lt(x_279, x_284); -lean_dec(x_284); -if (x_285 == 0) -{ -lean_object* x_286; -lean_dec(x_283); -lean_dec(x_279); -x_286 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_286, 0, x_272); -lean_ctor_set(x_286, 1, x_8); -return x_286; -} -else -{ -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_287 = lean_array_fget(x_8, x_279); -x_288 = lean_box(0); -x_289 = lean_array_fset(x_8, x_279, x_288); -x_290 = l_Lean_Syntax_setInfo(x_283, x_287); -x_291 = lean_array_fset(x_289, x_279, x_290); -lean_dec(x_279); -x_292 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_292, 0, x_272); -lean_ctor_set(x_292, 1, x_291); -return x_292; -} -} -} -else -{ -lean_object* x_293; uint8_t x_294; -lean_dec(x_12); -x_293 = l_myMacro____x40_Init_Notation___hyg_38____closed__7; -x_294 = lean_string_dec_eq(x_9, x_293); -if (x_294 == 0) -{ -lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; -if (lean_is_exclusive(x_3)) { - lean_ctor_release(x_3, 0); - lean_ctor_release(x_3, 1); - x_295 = x_3; -} else { - lean_dec_ref(x_3); - x_295 = lean_box(0); -} -lean_ctor_set(x_6, 1, x_20); -lean_ctor_set(x_5, 1, x_245); -lean_ctor_set(x_4, 1, x_269); -if (lean_is_scalar(x_295)) { - x_296 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -} else { - x_296 = x_295; -} -lean_ctor_set(x_296, 0, x_4); -lean_ctor_set(x_296, 1, x_9); -lean_ctor_set_usize(x_296, 2, x_11); -lean_inc(x_8); -lean_inc(x_296); -x_297 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_297, 0, x_296); -lean_ctor_set(x_297, 1, x_8); -x_298 = l_Lean_Syntax_getArgs(x_297); -x_299 = lean_array_get_size(x_298); -x_300 = l_Lean_Delaborator_annotatePos___closed__1; -x_301 = lean_unsigned_to_nat(0u); -x_302 = l_Array_findIdx_x3f_loop___rarg(x_298, x_300, x_299, x_301, lean_box(0)); -lean_dec(x_298); -if (lean_obj_tag(x_302) == 0) -{ -lean_dec(x_296); -lean_dec(x_8); -lean_dec(x_1); -return x_297; -} -else -{ -lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; uint8_t x_309; -lean_dec(x_297); -x_303 = lean_ctor_get(x_302, 0); -lean_inc(x_303); -if (lean_is_exclusive(x_302)) { - lean_ctor_release(x_302, 0); - x_304 = x_302; -} else { - lean_dec_ref(x_302); - x_304 = lean_box(0); -} -x_305 = lean_box(0); -if (lean_is_scalar(x_304)) { - x_306 = lean_alloc_ctor(1, 1, 0); -} else { - x_306 = x_304; -} -lean_ctor_set(x_306, 0, x_1); -x_307 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_307, 0, x_305); -lean_ctor_set(x_307, 1, x_306); -lean_ctor_set(x_307, 2, x_305); -x_308 = lean_array_get_size(x_8); -x_309 = lean_nat_dec_lt(x_303, x_308); -lean_dec(x_308); -if (x_309 == 0) -{ -lean_object* x_310; -lean_dec(x_307); -lean_dec(x_303); -x_310 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_310, 0, x_296); -lean_ctor_set(x_310, 1, x_8); -return x_310; -} -else -{ -lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; -x_311 = lean_array_fget(x_8, x_303); -x_312 = lean_box(0); -x_313 = lean_array_fset(x_8, x_303, x_312); -x_314 = l_Lean_Syntax_setInfo(x_307, x_311); -x_315 = lean_array_fset(x_313, x_303, x_314); -lean_dec(x_303); -x_316 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_316, 0, x_296); -lean_ctor_set(x_316, 1, x_315); -return x_316; -} -} -} -else -{ -lean_object* x_317; lean_object* x_318; uint8_t x_319; -lean_free_object(x_6); -lean_free_object(x_5); -lean_free_object(x_4); -lean_dec(x_9); -x_317 = lean_array_get_size(x_8); -x_318 = lean_unsigned_to_nat(0u); -x_319 = lean_nat_dec_lt(x_318, x_317); -lean_dec(x_317); -if (x_319 == 0) -{ -lean_object* x_320; -lean_dec(x_1); -x_320 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_320, 0, x_3); -lean_ctor_set(x_320, 1, x_8); -return x_320; -} -else -{ -lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; -x_321 = lean_array_fget(x_8, x_318); -x_322 = lean_box(0); -x_323 = lean_array_fset(x_8, x_318, x_322); -x_324 = l_Lean_Delaborator_annotatePos(x_1, x_321); -x_325 = lean_array_fset(x_323, x_318, x_324); -x_326 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_326, 0, x_3); -lean_ctor_set(x_326, 1, x_325); -return x_326; -} -} -} -} -} -} -} -else -{ -lean_object* x_327; size_t x_328; lean_object* x_329; uint8_t x_330; -x_327 = lean_ctor_get(x_6, 1); -x_328 = lean_ctor_get_usize(x_6, 2); -lean_inc(x_327); -lean_dec(x_6); -x_329 = l_myMacro____x40_Init_Notation___hyg_38____closed__1; -x_330 = lean_string_dec_eq(x_327, x_329); -lean_dec(x_327); -if (x_330 == 0) -{ -lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; -lean_free_object(x_5); -lean_dec(x_15); -lean_free_object(x_4); -lean_dec(x_12); -lean_dec(x_9); -x_331 = l_Lean_Syntax_getArgs(x_2); -x_332 = lean_array_get_size(x_331); -x_333 = l_Lean_Delaborator_annotatePos___closed__1; -x_334 = lean_unsigned_to_nat(0u); -x_335 = l_Array_findIdx_x3f_loop___rarg(x_331, x_333, x_332, x_334, lean_box(0)); -lean_dec(x_331); -if (lean_obj_tag(x_335) == 0) -{ -lean_dec(x_8); -lean_dec(x_3); -lean_dec(x_1); -return x_2; -} -else -{ -lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; uint8_t x_343; -if (lean_is_exclusive(x_2)) { - lean_ctor_release(x_2, 0); - lean_ctor_release(x_2, 1); - x_336 = x_2; -} else { - lean_dec_ref(x_2); - x_336 = lean_box(0); -} -x_337 = lean_ctor_get(x_335, 0); -lean_inc(x_337); -if (lean_is_exclusive(x_335)) { - lean_ctor_release(x_335, 0); - x_338 = x_335; -} else { - lean_dec_ref(x_335); - x_338 = lean_box(0); -} -x_339 = lean_box(0); -if (lean_is_scalar(x_338)) { - x_340 = lean_alloc_ctor(1, 1, 0); -} else { - x_340 = x_338; -} -lean_ctor_set(x_340, 0, x_1); -x_341 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_341, 0, x_339); -lean_ctor_set(x_341, 1, x_340); -lean_ctor_set(x_341, 2, x_339); -x_342 = lean_array_get_size(x_8); -x_343 = lean_nat_dec_lt(x_337, x_342); -lean_dec(x_342); -if (x_343 == 0) -{ -lean_object* x_344; -lean_dec(x_341); -lean_dec(x_337); -if (lean_is_scalar(x_336)) { - x_344 = lean_alloc_ctor(1, 2, 0); -} else { - x_344 = x_336; -} -lean_ctor_set(x_344, 0, x_3); -lean_ctor_set(x_344, 1, x_8); -return x_344; -} -else -{ -lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; -x_345 = lean_array_fget(x_8, x_337); -x_346 = lean_box(0); -x_347 = lean_array_fset(x_8, x_337, x_346); -x_348 = l_Lean_Syntax_setInfo(x_341, x_345); -x_349 = lean_array_fset(x_347, x_337, x_348); -lean_dec(x_337); -if (lean_is_scalar(x_336)) { - x_350 = lean_alloc_ctor(1, 2, 0); -} else { - x_350 = x_336; -} -lean_ctor_set(x_350, 0, x_3); -lean_ctor_set(x_350, 1, x_349); -return x_350; -} -} -} -else -{ -lean_object* x_351; lean_object* x_352; uint8_t x_353; -if (lean_is_exclusive(x_2)) { - lean_ctor_release(x_2, 0); - lean_ctor_release(x_2, 1); - x_351 = x_2; -} else { - lean_dec_ref(x_2); - x_351 = lean_box(0); -} -x_352 = l_myMacro____x40_Init_Notation___hyg_38____closed__3; -x_353 = lean_string_dec_eq(x_15, x_352); -if (x_353 == 0) -{ -lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; -if (lean_is_exclusive(x_3)) { - lean_ctor_release(x_3, 0); - lean_ctor_release(x_3, 1); - x_354 = x_3; -} else { - lean_dec_ref(x_3); - x_354 = lean_box(0); -} -x_355 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -lean_ctor_set(x_355, 0, x_7); -lean_ctor_set(x_355, 1, x_329); -lean_ctor_set_usize(x_355, 2, x_328); -lean_ctor_set(x_5, 0, x_355); -if (lean_is_scalar(x_354)) { - x_356 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -} else { - x_356 = x_354; -} -lean_ctor_set(x_356, 0, x_4); -lean_ctor_set(x_356, 1, x_9); -lean_ctor_set_usize(x_356, 2, x_11); -lean_inc(x_8); -lean_inc(x_356); -if (lean_is_scalar(x_351)) { - x_357 = lean_alloc_ctor(1, 2, 0); -} else { - x_357 = x_351; -} -lean_ctor_set(x_357, 0, x_356); -lean_ctor_set(x_357, 1, x_8); -x_358 = l_Lean_Syntax_getArgs(x_357); -x_359 = lean_array_get_size(x_358); -x_360 = l_Lean_Delaborator_annotatePos___closed__1; -x_361 = lean_unsigned_to_nat(0u); -x_362 = l_Array_findIdx_x3f_loop___rarg(x_358, x_360, x_359, x_361, lean_box(0)); -lean_dec(x_358); -if (lean_obj_tag(x_362) == 0) -{ -lean_dec(x_356); -lean_dec(x_8); -lean_dec(x_1); -return x_357; -} -else -{ -lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; uint8_t x_369; -lean_dec(x_357); -x_363 = lean_ctor_get(x_362, 0); -lean_inc(x_363); -if (lean_is_exclusive(x_362)) { - lean_ctor_release(x_362, 0); - x_364 = x_362; -} else { - lean_dec_ref(x_362); - x_364 = lean_box(0); -} -x_365 = lean_box(0); -if (lean_is_scalar(x_364)) { - x_366 = lean_alloc_ctor(1, 1, 0); -} else { - x_366 = x_364; -} -lean_ctor_set(x_366, 0, x_1); -x_367 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_367, 0, x_365); -lean_ctor_set(x_367, 1, x_366); -lean_ctor_set(x_367, 2, x_365); -x_368 = lean_array_get_size(x_8); -x_369 = lean_nat_dec_lt(x_363, x_368); -lean_dec(x_368); -if (x_369 == 0) -{ -lean_object* x_370; -lean_dec(x_367); -lean_dec(x_363); -x_370 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_370, 0, x_356); -lean_ctor_set(x_370, 1, x_8); -return x_370; -} -else -{ -lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; lean_object* x_376; -x_371 = lean_array_fget(x_8, x_363); -x_372 = lean_box(0); -x_373 = lean_array_fset(x_8, x_363, x_372); -x_374 = l_Lean_Syntax_setInfo(x_367, x_371); -x_375 = lean_array_fset(x_373, x_363, x_374); -lean_dec(x_363); -x_376 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_376, 0, x_356); -lean_ctor_set(x_376, 1, x_375); -return x_376; -} -} -} -else -{ -lean_object* x_377; uint8_t x_378; -lean_dec(x_15); -x_377 = l_myMacro____x40_Init_Notation___hyg_38____closed__5; -x_378 = lean_string_dec_eq(x_12, x_377); -if (x_378 == 0) -{ -lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; -if (lean_is_exclusive(x_3)) { - lean_ctor_release(x_3, 0); - lean_ctor_release(x_3, 1); - x_379 = x_3; -} else { - lean_dec_ref(x_3); - x_379 = lean_box(0); -} -x_380 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -lean_ctor_set(x_380, 0, x_7); -lean_ctor_set(x_380, 1, x_329); -lean_ctor_set_usize(x_380, 2, x_328); -lean_ctor_set(x_5, 1, x_352); -lean_ctor_set(x_5, 0, x_380); -if (lean_is_scalar(x_379)) { - x_381 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -} else { - x_381 = x_379; -} -lean_ctor_set(x_381, 0, x_4); -lean_ctor_set(x_381, 1, x_9); -lean_ctor_set_usize(x_381, 2, x_11); -lean_inc(x_8); -lean_inc(x_381); -if (lean_is_scalar(x_351)) { - x_382 = lean_alloc_ctor(1, 2, 0); -} else { - x_382 = x_351; -} -lean_ctor_set(x_382, 0, x_381); -lean_ctor_set(x_382, 1, x_8); -x_383 = l_Lean_Syntax_getArgs(x_382); -x_384 = lean_array_get_size(x_383); -x_385 = l_Lean_Delaborator_annotatePos___closed__1; -x_386 = lean_unsigned_to_nat(0u); -x_387 = l_Array_findIdx_x3f_loop___rarg(x_383, x_385, x_384, x_386, lean_box(0)); -lean_dec(x_383); -if (lean_obj_tag(x_387) == 0) -{ -lean_dec(x_381); -lean_dec(x_8); -lean_dec(x_1); -return x_382; -} -else -{ -lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; uint8_t x_394; -lean_dec(x_382); -x_388 = lean_ctor_get(x_387, 0); -lean_inc(x_388); -if (lean_is_exclusive(x_387)) { - lean_ctor_release(x_387, 0); - x_389 = x_387; -} else { - lean_dec_ref(x_387); - x_389 = lean_box(0); -} -x_390 = lean_box(0); -if (lean_is_scalar(x_389)) { - x_391 = lean_alloc_ctor(1, 1, 0); -} else { - x_391 = x_389; -} -lean_ctor_set(x_391, 0, x_1); -x_392 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_392, 0, x_390); -lean_ctor_set(x_392, 1, x_391); -lean_ctor_set(x_392, 2, x_390); -x_393 = lean_array_get_size(x_8); -x_394 = lean_nat_dec_lt(x_388, x_393); -lean_dec(x_393); -if (x_394 == 0) -{ -lean_object* x_395; -lean_dec(x_392); -lean_dec(x_388); -x_395 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_395, 0, x_381); -lean_ctor_set(x_395, 1, x_8); -return x_395; -} -else -{ -lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; -x_396 = lean_array_fget(x_8, x_388); -x_397 = lean_box(0); -x_398 = lean_array_fset(x_8, x_388, x_397); -x_399 = l_Lean_Syntax_setInfo(x_392, x_396); -x_400 = lean_array_fset(x_398, x_388, x_399); -lean_dec(x_388); -x_401 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_401, 0, x_381); -lean_ctor_set(x_401, 1, x_400); -return x_401; -} -} -} -else -{ -lean_object* x_402; uint8_t x_403; -lean_dec(x_12); -x_402 = l_myMacro____x40_Init_Notation___hyg_38____closed__7; -x_403 = lean_string_dec_eq(x_9, x_402); -if (x_403 == 0) -{ -lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; -if (lean_is_exclusive(x_3)) { - lean_ctor_release(x_3, 0); - lean_ctor_release(x_3, 1); - x_404 = x_3; -} else { - lean_dec_ref(x_3); - x_404 = lean_box(0); -} -x_405 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -lean_ctor_set(x_405, 0, x_7); -lean_ctor_set(x_405, 1, x_329); -lean_ctor_set_usize(x_405, 2, x_328); -lean_ctor_set(x_5, 1, x_352); -lean_ctor_set(x_5, 0, x_405); -lean_ctor_set(x_4, 1, x_377); -if (lean_is_scalar(x_404)) { - x_406 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -} else { - x_406 = x_404; -} -lean_ctor_set(x_406, 0, x_4); -lean_ctor_set(x_406, 1, x_9); -lean_ctor_set_usize(x_406, 2, x_11); -lean_inc(x_8); -lean_inc(x_406); -if (lean_is_scalar(x_351)) { - x_407 = lean_alloc_ctor(1, 2, 0); -} else { - x_407 = x_351; -} -lean_ctor_set(x_407, 0, x_406); -lean_ctor_set(x_407, 1, x_8); -x_408 = l_Lean_Syntax_getArgs(x_407); -x_409 = lean_array_get_size(x_408); -x_410 = l_Lean_Delaborator_annotatePos___closed__1; -x_411 = lean_unsigned_to_nat(0u); -x_412 = l_Array_findIdx_x3f_loop___rarg(x_408, x_410, x_409, x_411, lean_box(0)); -lean_dec(x_408); -if (lean_obj_tag(x_412) == 0) -{ -lean_dec(x_406); -lean_dec(x_8); -lean_dec(x_1); -return x_407; -} -else -{ -lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; uint8_t x_419; -lean_dec(x_407); -x_413 = lean_ctor_get(x_412, 0); -lean_inc(x_413); -if (lean_is_exclusive(x_412)) { - lean_ctor_release(x_412, 0); - x_414 = x_412; -} else { - lean_dec_ref(x_412); - x_414 = lean_box(0); -} -x_415 = lean_box(0); -if (lean_is_scalar(x_414)) { - x_416 = lean_alloc_ctor(1, 1, 0); -} else { - x_416 = x_414; -} -lean_ctor_set(x_416, 0, x_1); -x_417 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_417, 0, x_415); -lean_ctor_set(x_417, 1, x_416); -lean_ctor_set(x_417, 2, x_415); -x_418 = lean_array_get_size(x_8); -x_419 = lean_nat_dec_lt(x_413, x_418); -lean_dec(x_418); -if (x_419 == 0) -{ -lean_object* x_420; -lean_dec(x_417); -lean_dec(x_413); -x_420 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_420, 0, x_406); -lean_ctor_set(x_420, 1, x_8); -return x_420; -} -else -{ -lean_object* x_421; lean_object* x_422; lean_object* x_423; lean_object* x_424; lean_object* x_425; lean_object* x_426; -x_421 = lean_array_fget(x_8, x_413); -x_422 = lean_box(0); -x_423 = lean_array_fset(x_8, x_413, x_422); -x_424 = l_Lean_Syntax_setInfo(x_417, x_421); -x_425 = lean_array_fset(x_423, x_413, x_424); -lean_dec(x_413); -x_426 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_426, 0, x_406); -lean_ctor_set(x_426, 1, x_425); -return x_426; -} -} -} -else -{ -lean_object* x_427; lean_object* x_428; uint8_t x_429; -lean_free_object(x_5); -lean_free_object(x_4); -lean_dec(x_9); -x_427 = lean_array_get_size(x_8); -x_428 = lean_unsigned_to_nat(0u); -x_429 = lean_nat_dec_lt(x_428, x_427); -lean_dec(x_427); -if (x_429 == 0) -{ -lean_object* x_430; -lean_dec(x_1); -if (lean_is_scalar(x_351)) { - x_430 = lean_alloc_ctor(1, 2, 0); -} else { - x_430 = x_351; -} -lean_ctor_set(x_430, 0, x_3); -lean_ctor_set(x_430, 1, x_8); -return x_430; -} -else -{ -lean_object* x_431; lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; lean_object* x_436; -x_431 = lean_array_fget(x_8, x_428); -x_432 = lean_box(0); -x_433 = lean_array_fset(x_8, x_428, x_432); -x_434 = l_Lean_Delaborator_annotatePos(x_1, x_431); -x_435 = lean_array_fset(x_433, x_428, x_434); -if (lean_is_scalar(x_351)) { - x_436 = lean_alloc_ctor(1, 2, 0); -} else { - x_436 = x_351; -} -lean_ctor_set(x_436, 0, x_3); -lean_ctor_set(x_436, 1, x_435); -return x_436; -} -} -} -} -} -} -} -else -{ -lean_object* x_437; size_t x_438; lean_object* x_439; size_t x_440; lean_object* x_441; lean_object* x_442; uint8_t x_443; -x_437 = lean_ctor_get(x_5, 1); -x_438 = lean_ctor_get_usize(x_5, 2); -lean_inc(x_437); -lean_dec(x_5); -x_439 = lean_ctor_get(x_6, 1); -lean_inc(x_439); -x_440 = lean_ctor_get_usize(x_6, 2); -if (lean_is_exclusive(x_6)) { - lean_ctor_release(x_6, 0); - lean_ctor_release(x_6, 1); - x_441 = x_6; -} else { - lean_dec_ref(x_6); - x_441 = lean_box(0); -} -x_442 = l_myMacro____x40_Init_Notation___hyg_38____closed__1; -x_443 = lean_string_dec_eq(x_439, x_442); -lean_dec(x_439); -if (x_443 == 0) -{ -lean_object* x_444; lean_object* x_445; lean_object* x_446; lean_object* x_447; lean_object* x_448; -lean_dec(x_441); -lean_dec(x_437); -lean_free_object(x_4); -lean_dec(x_12); -lean_dec(x_9); -x_444 = l_Lean_Syntax_getArgs(x_2); -x_445 = lean_array_get_size(x_444); -x_446 = l_Lean_Delaborator_annotatePos___closed__1; -x_447 = lean_unsigned_to_nat(0u); -x_448 = l_Array_findIdx_x3f_loop___rarg(x_444, x_446, x_445, x_447, lean_box(0)); -lean_dec(x_444); -if (lean_obj_tag(x_448) == 0) -{ -lean_dec(x_8); -lean_dec(x_3); -lean_dec(x_1); -return x_2; -} -else -{ -lean_object* x_449; lean_object* x_450; lean_object* x_451; lean_object* x_452; lean_object* x_453; lean_object* x_454; lean_object* x_455; uint8_t x_456; -if (lean_is_exclusive(x_2)) { - lean_ctor_release(x_2, 0); - lean_ctor_release(x_2, 1); - x_449 = x_2; -} else { - lean_dec_ref(x_2); - x_449 = lean_box(0); -} -x_450 = lean_ctor_get(x_448, 0); -lean_inc(x_450); -if (lean_is_exclusive(x_448)) { - lean_ctor_release(x_448, 0); - x_451 = x_448; -} else { - lean_dec_ref(x_448); - x_451 = lean_box(0); -} -x_452 = lean_box(0); -if (lean_is_scalar(x_451)) { - x_453 = lean_alloc_ctor(1, 1, 0); -} else { - x_453 = x_451; -} -lean_ctor_set(x_453, 0, x_1); -x_454 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_454, 0, x_452); -lean_ctor_set(x_454, 1, x_453); -lean_ctor_set(x_454, 2, x_452); -x_455 = lean_array_get_size(x_8); -x_456 = lean_nat_dec_lt(x_450, x_455); -lean_dec(x_455); -if (x_456 == 0) -{ -lean_object* x_457; -lean_dec(x_454); -lean_dec(x_450); -if (lean_is_scalar(x_449)) { - x_457 = lean_alloc_ctor(1, 2, 0); -} else { - x_457 = x_449; -} -lean_ctor_set(x_457, 0, x_3); -lean_ctor_set(x_457, 1, x_8); -return x_457; -} -else -{ -lean_object* x_458; lean_object* x_459; lean_object* x_460; lean_object* x_461; lean_object* x_462; lean_object* x_463; -x_458 = lean_array_fget(x_8, x_450); -x_459 = lean_box(0); -x_460 = lean_array_fset(x_8, x_450, x_459); -x_461 = l_Lean_Syntax_setInfo(x_454, x_458); -x_462 = lean_array_fset(x_460, x_450, x_461); -lean_dec(x_450); -if (lean_is_scalar(x_449)) { - x_463 = lean_alloc_ctor(1, 2, 0); -} else { - x_463 = x_449; -} -lean_ctor_set(x_463, 0, x_3); -lean_ctor_set(x_463, 1, x_462); -return x_463; -} -} -} -else -{ -lean_object* x_464; lean_object* x_465; uint8_t x_466; -if (lean_is_exclusive(x_2)) { - lean_ctor_release(x_2, 0); - lean_ctor_release(x_2, 1); - x_464 = x_2; -} else { - lean_dec_ref(x_2); - x_464 = lean_box(0); -} -x_465 = l_myMacro____x40_Init_Notation___hyg_38____closed__3; -x_466 = lean_string_dec_eq(x_437, x_465); -if (x_466 == 0) -{ -lean_object* x_467; lean_object* x_468; lean_object* x_469; lean_object* x_470; lean_object* x_471; lean_object* x_472; lean_object* x_473; lean_object* x_474; lean_object* x_475; lean_object* x_476; -if (lean_is_exclusive(x_3)) { - lean_ctor_release(x_3, 0); - lean_ctor_release(x_3, 1); - x_467 = x_3; -} else { - lean_dec_ref(x_3); - x_467 = lean_box(0); -} -if (lean_is_scalar(x_441)) { - x_468 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -} else { - x_468 = x_441; -} -lean_ctor_set(x_468, 0, x_7); -lean_ctor_set(x_468, 1, x_442); -lean_ctor_set_usize(x_468, 2, x_440); -x_469 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -lean_ctor_set(x_469, 0, x_468); -lean_ctor_set(x_469, 1, x_437); -lean_ctor_set_usize(x_469, 2, x_438); -lean_ctor_set(x_4, 0, x_469); -if (lean_is_scalar(x_467)) { - x_470 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -} else { - x_470 = x_467; -} -lean_ctor_set(x_470, 0, x_4); -lean_ctor_set(x_470, 1, x_9); -lean_ctor_set_usize(x_470, 2, x_11); -lean_inc(x_8); -lean_inc(x_470); -if (lean_is_scalar(x_464)) { - x_471 = lean_alloc_ctor(1, 2, 0); -} else { - x_471 = x_464; -} -lean_ctor_set(x_471, 0, x_470); -lean_ctor_set(x_471, 1, x_8); -x_472 = l_Lean_Syntax_getArgs(x_471); -x_473 = lean_array_get_size(x_472); -x_474 = l_Lean_Delaborator_annotatePos___closed__1; -x_475 = lean_unsigned_to_nat(0u); -x_476 = l_Array_findIdx_x3f_loop___rarg(x_472, x_474, x_473, x_475, lean_box(0)); -lean_dec(x_472); -if (lean_obj_tag(x_476) == 0) -{ -lean_dec(x_470); -lean_dec(x_8); -lean_dec(x_1); -return x_471; -} -else -{ -lean_object* x_477; lean_object* x_478; lean_object* x_479; lean_object* x_480; lean_object* x_481; lean_object* x_482; uint8_t x_483; -lean_dec(x_471); -x_477 = lean_ctor_get(x_476, 0); -lean_inc(x_477); -if (lean_is_exclusive(x_476)) { - lean_ctor_release(x_476, 0); - x_478 = x_476; -} else { - lean_dec_ref(x_476); - x_478 = lean_box(0); -} -x_479 = lean_box(0); -if (lean_is_scalar(x_478)) { - x_480 = lean_alloc_ctor(1, 1, 0); -} else { - x_480 = x_478; -} -lean_ctor_set(x_480, 0, x_1); -x_481 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_481, 0, x_479); -lean_ctor_set(x_481, 1, x_480); -lean_ctor_set(x_481, 2, x_479); -x_482 = lean_array_get_size(x_8); -x_483 = lean_nat_dec_lt(x_477, x_482); -lean_dec(x_482); -if (x_483 == 0) -{ -lean_object* x_484; -lean_dec(x_481); -lean_dec(x_477); -x_484 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_484, 0, x_470); -lean_ctor_set(x_484, 1, x_8); -return x_484; -} -else -{ -lean_object* x_485; lean_object* x_486; lean_object* x_487; lean_object* x_488; lean_object* x_489; lean_object* x_490; -x_485 = lean_array_fget(x_8, x_477); -x_486 = lean_box(0); -x_487 = lean_array_fset(x_8, x_477, x_486); -x_488 = l_Lean_Syntax_setInfo(x_481, x_485); -x_489 = lean_array_fset(x_487, x_477, x_488); -lean_dec(x_477); -x_490 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_490, 0, x_470); -lean_ctor_set(x_490, 1, x_489); -return x_490; -} -} -} -else -{ -lean_object* x_491; uint8_t x_492; -lean_dec(x_437); -x_491 = l_myMacro____x40_Init_Notation___hyg_38____closed__5; -x_492 = lean_string_dec_eq(x_12, x_491); -if (x_492 == 0) -{ -lean_object* x_493; lean_object* x_494; lean_object* x_495; lean_object* x_496; lean_object* x_497; lean_object* x_498; lean_object* x_499; lean_object* x_500; lean_object* x_501; lean_object* x_502; -if (lean_is_exclusive(x_3)) { - lean_ctor_release(x_3, 0); - lean_ctor_release(x_3, 1); - x_493 = x_3; -} else { - lean_dec_ref(x_3); - x_493 = lean_box(0); -} -if (lean_is_scalar(x_441)) { - x_494 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -} else { - x_494 = x_441; -} -lean_ctor_set(x_494, 0, x_7); -lean_ctor_set(x_494, 1, x_442); -lean_ctor_set_usize(x_494, 2, x_440); -x_495 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -lean_ctor_set(x_495, 0, x_494); -lean_ctor_set(x_495, 1, x_465); -lean_ctor_set_usize(x_495, 2, x_438); -lean_ctor_set(x_4, 0, x_495); -if (lean_is_scalar(x_493)) { - x_496 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -} else { - x_496 = x_493; -} -lean_ctor_set(x_496, 0, x_4); -lean_ctor_set(x_496, 1, x_9); -lean_ctor_set_usize(x_496, 2, x_11); -lean_inc(x_8); -lean_inc(x_496); -if (lean_is_scalar(x_464)) { - x_497 = lean_alloc_ctor(1, 2, 0); -} else { - x_497 = x_464; -} -lean_ctor_set(x_497, 0, x_496); -lean_ctor_set(x_497, 1, x_8); -x_498 = l_Lean_Syntax_getArgs(x_497); -x_499 = lean_array_get_size(x_498); -x_500 = l_Lean_Delaborator_annotatePos___closed__1; -x_501 = lean_unsigned_to_nat(0u); -x_502 = l_Array_findIdx_x3f_loop___rarg(x_498, x_500, x_499, x_501, lean_box(0)); -lean_dec(x_498); -if (lean_obj_tag(x_502) == 0) -{ -lean_dec(x_496); -lean_dec(x_8); -lean_dec(x_1); -return x_497; -} -else -{ -lean_object* x_503; lean_object* x_504; lean_object* x_505; lean_object* x_506; lean_object* x_507; lean_object* x_508; uint8_t x_509; -lean_dec(x_497); -x_503 = lean_ctor_get(x_502, 0); -lean_inc(x_503); -if (lean_is_exclusive(x_502)) { - lean_ctor_release(x_502, 0); - x_504 = x_502; -} else { - lean_dec_ref(x_502); - x_504 = lean_box(0); -} -x_505 = lean_box(0); -if (lean_is_scalar(x_504)) { - x_506 = lean_alloc_ctor(1, 1, 0); -} else { - x_506 = x_504; -} -lean_ctor_set(x_506, 0, x_1); -x_507 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_507, 0, x_505); -lean_ctor_set(x_507, 1, x_506); -lean_ctor_set(x_507, 2, x_505); -x_508 = lean_array_get_size(x_8); -x_509 = lean_nat_dec_lt(x_503, x_508); -lean_dec(x_508); -if (x_509 == 0) -{ -lean_object* x_510; -lean_dec(x_507); -lean_dec(x_503); -x_510 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_510, 0, x_496); -lean_ctor_set(x_510, 1, x_8); -return x_510; -} -else -{ -lean_object* x_511; lean_object* x_512; lean_object* x_513; lean_object* x_514; lean_object* x_515; lean_object* x_516; -x_511 = lean_array_fget(x_8, x_503); -x_512 = lean_box(0); -x_513 = lean_array_fset(x_8, x_503, x_512); -x_514 = l_Lean_Syntax_setInfo(x_507, x_511); -x_515 = lean_array_fset(x_513, x_503, x_514); -lean_dec(x_503); -x_516 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_516, 0, x_496); -lean_ctor_set(x_516, 1, x_515); -return x_516; -} -} -} -else -{ -lean_object* x_517; uint8_t x_518; -lean_dec(x_12); -x_517 = l_myMacro____x40_Init_Notation___hyg_38____closed__7; -x_518 = lean_string_dec_eq(x_9, x_517); -if (x_518 == 0) -{ -lean_object* x_519; lean_object* x_520; lean_object* x_521; lean_object* x_522; lean_object* x_523; lean_object* x_524; lean_object* x_525; lean_object* x_526; lean_object* x_527; lean_object* x_528; -if (lean_is_exclusive(x_3)) { - lean_ctor_release(x_3, 0); - lean_ctor_release(x_3, 1); - x_519 = x_3; -} else { - lean_dec_ref(x_3); - x_519 = lean_box(0); -} -if (lean_is_scalar(x_441)) { - x_520 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -} else { - x_520 = x_441; -} -lean_ctor_set(x_520, 0, x_7); -lean_ctor_set(x_520, 1, x_442); -lean_ctor_set_usize(x_520, 2, x_440); -x_521 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -lean_ctor_set(x_521, 0, x_520); -lean_ctor_set(x_521, 1, x_465); -lean_ctor_set_usize(x_521, 2, x_438); -lean_ctor_set(x_4, 1, x_491); -lean_ctor_set(x_4, 0, x_521); -if (lean_is_scalar(x_519)) { - x_522 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -} else { - x_522 = x_519; -} -lean_ctor_set(x_522, 0, x_4); -lean_ctor_set(x_522, 1, x_9); -lean_ctor_set_usize(x_522, 2, x_11); -lean_inc(x_8); -lean_inc(x_522); -if (lean_is_scalar(x_464)) { - x_523 = lean_alloc_ctor(1, 2, 0); -} else { - x_523 = x_464; -} -lean_ctor_set(x_523, 0, x_522); -lean_ctor_set(x_523, 1, x_8); -x_524 = l_Lean_Syntax_getArgs(x_523); -x_525 = lean_array_get_size(x_524); -x_526 = l_Lean_Delaborator_annotatePos___closed__1; -x_527 = lean_unsigned_to_nat(0u); -x_528 = l_Array_findIdx_x3f_loop___rarg(x_524, x_526, x_525, x_527, lean_box(0)); -lean_dec(x_524); -if (lean_obj_tag(x_528) == 0) -{ -lean_dec(x_522); -lean_dec(x_8); -lean_dec(x_1); -return x_523; -} -else -{ -lean_object* x_529; lean_object* x_530; lean_object* x_531; lean_object* x_532; lean_object* x_533; lean_object* x_534; uint8_t x_535; -lean_dec(x_523); -x_529 = lean_ctor_get(x_528, 0); -lean_inc(x_529); -if (lean_is_exclusive(x_528)) { - lean_ctor_release(x_528, 0); - x_530 = x_528; -} else { - lean_dec_ref(x_528); - x_530 = lean_box(0); -} -x_531 = lean_box(0); -if (lean_is_scalar(x_530)) { - x_532 = lean_alloc_ctor(1, 1, 0); -} else { - x_532 = x_530; -} -lean_ctor_set(x_532, 0, x_1); -x_533 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_533, 0, x_531); -lean_ctor_set(x_533, 1, x_532); -lean_ctor_set(x_533, 2, x_531); -x_534 = lean_array_get_size(x_8); -x_535 = lean_nat_dec_lt(x_529, x_534); -lean_dec(x_534); -if (x_535 == 0) -{ -lean_object* x_536; -lean_dec(x_533); -lean_dec(x_529); -x_536 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_536, 0, x_522); -lean_ctor_set(x_536, 1, x_8); -return x_536; -} -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; -x_537 = lean_array_fget(x_8, x_529); -x_538 = lean_box(0); -x_539 = lean_array_fset(x_8, x_529, x_538); -x_540 = l_Lean_Syntax_setInfo(x_533, x_537); -x_541 = lean_array_fset(x_539, x_529, x_540); -lean_dec(x_529); -x_542 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_542, 0, x_522); -lean_ctor_set(x_542, 1, x_541); -return x_542; -} -} -} -else -{ -lean_object* x_543; lean_object* x_544; uint8_t x_545; -lean_dec(x_441); -lean_free_object(x_4); -lean_dec(x_9); -x_543 = lean_array_get_size(x_8); -x_544 = lean_unsigned_to_nat(0u); -x_545 = lean_nat_dec_lt(x_544, x_543); -lean_dec(x_543); -if (x_545 == 0) -{ -lean_object* x_546; -lean_dec(x_1); -if (lean_is_scalar(x_464)) { - x_546 = lean_alloc_ctor(1, 2, 0); -} else { - x_546 = x_464; -} -lean_ctor_set(x_546, 0, x_3); -lean_ctor_set(x_546, 1, x_8); -return x_546; -} -else -{ -lean_object* x_547; lean_object* x_548; lean_object* x_549; lean_object* x_550; lean_object* x_551; lean_object* x_552; -x_547 = lean_array_fget(x_8, x_544); -x_548 = lean_box(0); -x_549 = lean_array_fset(x_8, x_544, x_548); -x_550 = l_Lean_Delaborator_annotatePos(x_1, x_547); -x_551 = lean_array_fset(x_549, x_544, x_550); -if (lean_is_scalar(x_464)) { - x_552 = lean_alloc_ctor(1, 2, 0); -} else { - x_552 = x_464; -} -lean_ctor_set(x_552, 0, x_3); -lean_ctor_set(x_552, 1, x_551); -return x_552; -} -} -} -} -} -} -} -else -{ -size_t x_553; lean_object* x_554; size_t x_555; lean_object* x_556; size_t x_557; lean_object* x_558; lean_object* x_559; size_t x_560; lean_object* x_561; lean_object* x_562; uint8_t x_563; -x_553 = lean_ctor_get_usize(x_3, 2); -x_554 = lean_ctor_get(x_4, 1); -x_555 = lean_ctor_get_usize(x_4, 2); -lean_inc(x_554); -lean_dec(x_4); -x_556 = lean_ctor_get(x_5, 1); -lean_inc(x_556); -x_557 = lean_ctor_get_usize(x_5, 2); -if (lean_is_exclusive(x_5)) { - lean_ctor_release(x_5, 0); - lean_ctor_release(x_5, 1); - x_558 = x_5; -} else { - lean_dec_ref(x_5); - x_558 = lean_box(0); -} -x_559 = lean_ctor_get(x_6, 1); -lean_inc(x_559); -x_560 = lean_ctor_get_usize(x_6, 2); -if (lean_is_exclusive(x_6)) { - lean_ctor_release(x_6, 0); - lean_ctor_release(x_6, 1); - x_561 = x_6; -} else { - lean_dec_ref(x_6); - x_561 = lean_box(0); -} -x_562 = l_myMacro____x40_Init_Notation___hyg_38____closed__1; -x_563 = lean_string_dec_eq(x_559, x_562); -lean_dec(x_559); -if (x_563 == 0) -{ -lean_object* x_564; lean_object* x_565; lean_object* x_566; lean_object* x_567; lean_object* x_568; -lean_dec(x_561); -lean_dec(x_558); -lean_dec(x_556); -lean_dec(x_554); -lean_dec(x_9); -x_564 = l_Lean_Syntax_getArgs(x_2); -x_565 = lean_array_get_size(x_564); -x_566 = l_Lean_Delaborator_annotatePos___closed__1; -x_567 = lean_unsigned_to_nat(0u); -x_568 = l_Array_findIdx_x3f_loop___rarg(x_564, x_566, x_565, x_567, lean_box(0)); -lean_dec(x_564); -if (lean_obj_tag(x_568) == 0) -{ -lean_dec(x_8); -lean_dec(x_3); -lean_dec(x_1); -return x_2; -} -else -{ -lean_object* x_569; lean_object* x_570; lean_object* x_571; lean_object* x_572; lean_object* x_573; lean_object* x_574; lean_object* x_575; uint8_t x_576; -if (lean_is_exclusive(x_2)) { - lean_ctor_release(x_2, 0); - lean_ctor_release(x_2, 1); - x_569 = x_2; -} else { - lean_dec_ref(x_2); - x_569 = lean_box(0); -} -x_570 = lean_ctor_get(x_568, 0); -lean_inc(x_570); -if (lean_is_exclusive(x_568)) { - lean_ctor_release(x_568, 0); - x_571 = x_568; -} else { - lean_dec_ref(x_568); - x_571 = lean_box(0); -} -x_572 = lean_box(0); -if (lean_is_scalar(x_571)) { - x_573 = lean_alloc_ctor(1, 1, 0); -} else { - x_573 = x_571; -} -lean_ctor_set(x_573, 0, x_1); -x_574 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_574, 0, x_572); -lean_ctor_set(x_574, 1, x_573); -lean_ctor_set(x_574, 2, x_572); -x_575 = lean_array_get_size(x_8); -x_576 = lean_nat_dec_lt(x_570, x_575); -lean_dec(x_575); -if (x_576 == 0) -{ -lean_object* x_577; -lean_dec(x_574); -lean_dec(x_570); -if (lean_is_scalar(x_569)) { - x_577 = lean_alloc_ctor(1, 2, 0); -} else { - x_577 = x_569; -} -lean_ctor_set(x_577, 0, x_3); -lean_ctor_set(x_577, 1, x_8); -return x_577; -} -else -{ -lean_object* x_578; lean_object* x_579; lean_object* x_580; lean_object* x_581; lean_object* x_582; lean_object* x_583; -x_578 = lean_array_fget(x_8, x_570); -x_579 = lean_box(0); -x_580 = lean_array_fset(x_8, x_570, x_579); -x_581 = l_Lean_Syntax_setInfo(x_574, x_578); -x_582 = lean_array_fset(x_580, x_570, x_581); -lean_dec(x_570); -if (lean_is_scalar(x_569)) { - x_583 = lean_alloc_ctor(1, 2, 0); -} else { - x_583 = x_569; -} -lean_ctor_set(x_583, 0, x_3); -lean_ctor_set(x_583, 1, x_582); -return x_583; -} -} -} -else -{ -lean_object* x_584; lean_object* x_585; uint8_t x_586; -if (lean_is_exclusive(x_2)) { - lean_ctor_release(x_2, 0); - lean_ctor_release(x_2, 1); - x_584 = x_2; -} else { - lean_dec_ref(x_2); - x_584 = lean_box(0); -} -x_585 = l_myMacro____x40_Init_Notation___hyg_38____closed__3; -x_586 = lean_string_dec_eq(x_556, x_585); -if (x_586 == 0) -{ -lean_object* x_587; lean_object* x_588; lean_object* x_589; lean_object* x_590; lean_object* x_591; lean_object* x_592; lean_object* x_593; lean_object* x_594; lean_object* x_595; lean_object* x_596; lean_object* x_597; -if (lean_is_exclusive(x_3)) { - lean_ctor_release(x_3, 0); - lean_ctor_release(x_3, 1); - x_587 = x_3; -} else { - lean_dec_ref(x_3); - x_587 = lean_box(0); -} -if (lean_is_scalar(x_561)) { - x_588 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -} else { - x_588 = x_561; -} -lean_ctor_set(x_588, 0, x_7); -lean_ctor_set(x_588, 1, x_562); -lean_ctor_set_usize(x_588, 2, x_560); -if (lean_is_scalar(x_558)) { - x_589 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -} else { - x_589 = x_558; -} -lean_ctor_set(x_589, 0, x_588); -lean_ctor_set(x_589, 1, x_556); -lean_ctor_set_usize(x_589, 2, x_557); -x_590 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -lean_ctor_set(x_590, 0, x_589); -lean_ctor_set(x_590, 1, x_554); -lean_ctor_set_usize(x_590, 2, x_555); -if (lean_is_scalar(x_587)) { - x_591 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -} else { - x_591 = x_587; -} -lean_ctor_set(x_591, 0, x_590); -lean_ctor_set(x_591, 1, x_9); -lean_ctor_set_usize(x_591, 2, x_553); -lean_inc(x_8); -lean_inc(x_591); -if (lean_is_scalar(x_584)) { - x_592 = lean_alloc_ctor(1, 2, 0); -} else { - x_592 = x_584; -} -lean_ctor_set(x_592, 0, x_591); -lean_ctor_set(x_592, 1, x_8); -x_593 = l_Lean_Syntax_getArgs(x_592); -x_594 = lean_array_get_size(x_593); -x_595 = l_Lean_Delaborator_annotatePos___closed__1; -x_596 = lean_unsigned_to_nat(0u); -x_597 = l_Array_findIdx_x3f_loop___rarg(x_593, x_595, x_594, x_596, lean_box(0)); -lean_dec(x_593); -if (lean_obj_tag(x_597) == 0) -{ -lean_dec(x_591); -lean_dec(x_8); -lean_dec(x_1); -return x_592; -} -else -{ -lean_object* x_598; lean_object* x_599; lean_object* x_600; lean_object* x_601; lean_object* x_602; lean_object* x_603; uint8_t x_604; -lean_dec(x_592); -x_598 = lean_ctor_get(x_597, 0); -lean_inc(x_598); -if (lean_is_exclusive(x_597)) { - lean_ctor_release(x_597, 0); - x_599 = x_597; -} else { - lean_dec_ref(x_597); - x_599 = lean_box(0); -} -x_600 = lean_box(0); -if (lean_is_scalar(x_599)) { - x_601 = lean_alloc_ctor(1, 1, 0); -} else { - x_601 = x_599; -} -lean_ctor_set(x_601, 0, x_1); -x_602 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_602, 0, x_600); -lean_ctor_set(x_602, 1, x_601); -lean_ctor_set(x_602, 2, x_600); -x_603 = lean_array_get_size(x_8); -x_604 = lean_nat_dec_lt(x_598, x_603); -lean_dec(x_603); -if (x_604 == 0) -{ -lean_object* x_605; -lean_dec(x_602); -lean_dec(x_598); -x_605 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_605, 0, x_591); -lean_ctor_set(x_605, 1, x_8); -return x_605; -} -else -{ -lean_object* x_606; lean_object* x_607; lean_object* x_608; lean_object* x_609; lean_object* x_610; lean_object* x_611; -x_606 = lean_array_fget(x_8, x_598); -x_607 = lean_box(0); -x_608 = lean_array_fset(x_8, x_598, x_607); -x_609 = l_Lean_Syntax_setInfo(x_602, x_606); -x_610 = lean_array_fset(x_608, x_598, x_609); -lean_dec(x_598); -x_611 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_611, 0, x_591); -lean_ctor_set(x_611, 1, x_610); -return x_611; -} -} -} -else -{ -lean_object* x_612; uint8_t x_613; -lean_dec(x_556); -x_612 = l_myMacro____x40_Init_Notation___hyg_38____closed__5; -x_613 = lean_string_dec_eq(x_554, x_612); -if (x_613 == 0) -{ -lean_object* x_614; lean_object* x_615; lean_object* x_616; lean_object* x_617; lean_object* x_618; lean_object* x_619; lean_object* x_620; lean_object* x_621; lean_object* x_622; lean_object* x_623; lean_object* x_624; -if (lean_is_exclusive(x_3)) { - lean_ctor_release(x_3, 0); - lean_ctor_release(x_3, 1); - x_614 = x_3; -} else { - lean_dec_ref(x_3); - x_614 = lean_box(0); -} -if (lean_is_scalar(x_561)) { - x_615 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -} else { - x_615 = x_561; -} -lean_ctor_set(x_615, 0, x_7); -lean_ctor_set(x_615, 1, x_562); -lean_ctor_set_usize(x_615, 2, x_560); -if (lean_is_scalar(x_558)) { - x_616 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -} else { - x_616 = x_558; -} -lean_ctor_set(x_616, 0, x_615); -lean_ctor_set(x_616, 1, x_585); -lean_ctor_set_usize(x_616, 2, x_557); -x_617 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -lean_ctor_set(x_617, 0, x_616); -lean_ctor_set(x_617, 1, x_554); -lean_ctor_set_usize(x_617, 2, x_555); -if (lean_is_scalar(x_614)) { - x_618 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -} else { - x_618 = x_614; -} -lean_ctor_set(x_618, 0, x_617); -lean_ctor_set(x_618, 1, x_9); -lean_ctor_set_usize(x_618, 2, x_553); -lean_inc(x_8); -lean_inc(x_618); -if (lean_is_scalar(x_584)) { - x_619 = lean_alloc_ctor(1, 2, 0); -} else { - x_619 = x_584; -} -lean_ctor_set(x_619, 0, x_618); -lean_ctor_set(x_619, 1, x_8); -x_620 = l_Lean_Syntax_getArgs(x_619); -x_621 = lean_array_get_size(x_620); -x_622 = l_Lean_Delaborator_annotatePos___closed__1; -x_623 = lean_unsigned_to_nat(0u); -x_624 = l_Array_findIdx_x3f_loop___rarg(x_620, x_622, x_621, x_623, lean_box(0)); -lean_dec(x_620); -if (lean_obj_tag(x_624) == 0) -{ -lean_dec(x_618); -lean_dec(x_8); -lean_dec(x_1); -return x_619; -} -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; uint8_t x_631; -lean_dec(x_619); -x_625 = lean_ctor_get(x_624, 0); -lean_inc(x_625); -if (lean_is_exclusive(x_624)) { - lean_ctor_release(x_624, 0); - x_626 = x_624; -} else { - lean_dec_ref(x_624); - x_626 = lean_box(0); -} -x_627 = lean_box(0); -if (lean_is_scalar(x_626)) { - x_628 = lean_alloc_ctor(1, 1, 0); -} else { - x_628 = x_626; -} -lean_ctor_set(x_628, 0, x_1); -x_629 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_629, 0, x_627); -lean_ctor_set(x_629, 1, x_628); -lean_ctor_set(x_629, 2, x_627); -x_630 = lean_array_get_size(x_8); -x_631 = lean_nat_dec_lt(x_625, x_630); -lean_dec(x_630); -if (x_631 == 0) -{ -lean_object* x_632; -lean_dec(x_629); -lean_dec(x_625); -x_632 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_632, 0, x_618); -lean_ctor_set(x_632, 1, x_8); -return x_632; -} -else -{ -lean_object* x_633; lean_object* x_634; lean_object* x_635; lean_object* x_636; lean_object* x_637; lean_object* x_638; -x_633 = lean_array_fget(x_8, x_625); -x_634 = lean_box(0); -x_635 = lean_array_fset(x_8, x_625, x_634); -x_636 = l_Lean_Syntax_setInfo(x_629, x_633); -x_637 = lean_array_fset(x_635, x_625, x_636); -lean_dec(x_625); -x_638 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_638, 0, x_618); -lean_ctor_set(x_638, 1, x_637); -return x_638; -} -} -} -else -{ -lean_object* x_639; uint8_t x_640; -lean_dec(x_554); -x_639 = l_myMacro____x40_Init_Notation___hyg_38____closed__7; -x_640 = lean_string_dec_eq(x_9, x_639); -if (x_640 == 0) -{ -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; lean_object* x_650; lean_object* x_651; -if (lean_is_exclusive(x_3)) { - lean_ctor_release(x_3, 0); - lean_ctor_release(x_3, 1); - x_641 = x_3; -} else { - lean_dec_ref(x_3); - x_641 = lean_box(0); -} -if (lean_is_scalar(x_561)) { - x_642 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -} else { - x_642 = x_561; -} -lean_ctor_set(x_642, 0, x_7); -lean_ctor_set(x_642, 1, x_562); -lean_ctor_set_usize(x_642, 2, x_560); -if (lean_is_scalar(x_558)) { - x_643 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -} else { - x_643 = x_558; -} -lean_ctor_set(x_643, 0, x_642); -lean_ctor_set(x_643, 1, x_585); -lean_ctor_set_usize(x_643, 2, x_557); -x_644 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -lean_ctor_set(x_644, 0, x_643); -lean_ctor_set(x_644, 1, x_612); -lean_ctor_set_usize(x_644, 2, x_555); -if (lean_is_scalar(x_641)) { - x_645 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -} else { - x_645 = x_641; -} -lean_ctor_set(x_645, 0, x_644); -lean_ctor_set(x_645, 1, x_9); -lean_ctor_set_usize(x_645, 2, x_553); -lean_inc(x_8); -lean_inc(x_645); -if (lean_is_scalar(x_584)) { - x_646 = lean_alloc_ctor(1, 2, 0); -} else { - x_646 = x_584; -} -lean_ctor_set(x_646, 0, x_645); -lean_ctor_set(x_646, 1, x_8); -x_647 = l_Lean_Syntax_getArgs(x_646); -x_648 = lean_array_get_size(x_647); -x_649 = l_Lean_Delaborator_annotatePos___closed__1; -x_650 = lean_unsigned_to_nat(0u); -x_651 = l_Array_findIdx_x3f_loop___rarg(x_647, x_649, x_648, x_650, lean_box(0)); -lean_dec(x_647); -if (lean_obj_tag(x_651) == 0) -{ -lean_dec(x_645); -lean_dec(x_8); -lean_dec(x_1); -return x_646; -} -else -{ -lean_object* x_652; lean_object* x_653; lean_object* x_654; lean_object* x_655; lean_object* x_656; lean_object* x_657; uint8_t x_658; -lean_dec(x_646); -x_652 = lean_ctor_get(x_651, 0); -lean_inc(x_652); -if (lean_is_exclusive(x_651)) { - lean_ctor_release(x_651, 0); - x_653 = x_651; -} else { - lean_dec_ref(x_651); - x_653 = lean_box(0); -} -x_654 = lean_box(0); -if (lean_is_scalar(x_653)) { - x_655 = lean_alloc_ctor(1, 1, 0); -} else { - x_655 = x_653; -} -lean_ctor_set(x_655, 0, x_1); -x_656 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_656, 0, x_654); -lean_ctor_set(x_656, 1, x_655); -lean_ctor_set(x_656, 2, x_654); -x_657 = lean_array_get_size(x_8); -x_658 = lean_nat_dec_lt(x_652, x_657); -lean_dec(x_657); -if (x_658 == 0) -{ -lean_object* x_659; -lean_dec(x_656); -lean_dec(x_652); -x_659 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_659, 0, x_645); -lean_ctor_set(x_659, 1, x_8); -return x_659; -} -else -{ -lean_object* x_660; lean_object* x_661; lean_object* x_662; lean_object* x_663; lean_object* x_664; lean_object* x_665; -x_660 = lean_array_fget(x_8, x_652); -x_661 = lean_box(0); -x_662 = lean_array_fset(x_8, x_652, x_661); -x_663 = l_Lean_Syntax_setInfo(x_656, x_660); -x_664 = lean_array_fset(x_662, x_652, x_663); -lean_dec(x_652); -x_665 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_665, 0, x_645); -lean_ctor_set(x_665, 1, x_664); -return x_665; -} -} -} -else -{ -lean_object* x_666; lean_object* x_667; uint8_t x_668; -lean_dec(x_561); -lean_dec(x_558); -lean_dec(x_9); -x_666 = lean_array_get_size(x_8); -x_667 = lean_unsigned_to_nat(0u); -x_668 = lean_nat_dec_lt(x_667, x_666); -lean_dec(x_666); -if (x_668 == 0) -{ -lean_object* x_669; -lean_dec(x_1); -if (lean_is_scalar(x_584)) { - x_669 = lean_alloc_ctor(1, 2, 0); -} else { - x_669 = x_584; -} -lean_ctor_set(x_669, 0, x_3); -lean_ctor_set(x_669, 1, x_8); -return x_669; -} -else -{ -lean_object* x_670; lean_object* x_671; lean_object* x_672; lean_object* x_673; lean_object* x_674; lean_object* x_675; -x_670 = lean_array_fget(x_8, x_667); -x_671 = lean_box(0); -x_672 = lean_array_fset(x_8, x_667, x_671); -x_673 = l_Lean_Delaborator_annotatePos(x_1, x_670); -x_674 = lean_array_fset(x_672, x_667, x_673); -if (lean_is_scalar(x_584)) { - x_675 = lean_alloc_ctor(1, 2, 0); -} else { - x_675 = x_584; -} -lean_ctor_set(x_675, 0, x_3); -lean_ctor_set(x_675, 1, x_674); -return x_675; -} -} -} -} -} -} -} -else -{ -lean_object* x_676; lean_object* x_677; lean_object* x_678; lean_object* x_679; lean_object* x_680; lean_object* x_681; -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_676 = lean_ctor_get(x_2, 1); -lean_inc(x_676); -x_677 = l_Lean_Syntax_getArgs(x_2); -x_678 = lean_array_get_size(x_677); -x_679 = l_Lean_Delaborator_annotatePos___closed__1; -x_680 = lean_unsigned_to_nat(0u); -x_681 = l_Array_findIdx_x3f_loop___rarg(x_677, x_679, x_678, x_680, lean_box(0)); -lean_dec(x_677); -if (lean_obj_tag(x_681) == 0) -{ -lean_dec(x_676); -lean_dec(x_3); -lean_dec(x_1); -return x_2; -} -else -{ -uint8_t x_682; -x_682 = !lean_is_exclusive(x_2); -if (x_682 == 0) -{ -lean_object* x_683; lean_object* x_684; uint8_t x_685; -x_683 = lean_ctor_get(x_2, 1); -lean_dec(x_683); -x_684 = lean_ctor_get(x_2, 0); -lean_dec(x_684); -x_685 = !lean_is_exclusive(x_681); -if (x_685 == 0) -{ -lean_object* x_686; lean_object* x_687; lean_object* x_688; lean_object* x_689; uint8_t x_690; -x_686 = lean_ctor_get(x_681, 0); -x_687 = lean_box(0); -lean_ctor_set(x_681, 0, x_1); -x_688 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_688, 0, x_687); -lean_ctor_set(x_688, 1, x_681); -lean_ctor_set(x_688, 2, x_687); -x_689 = lean_array_get_size(x_676); -x_690 = lean_nat_dec_lt(x_686, x_689); -lean_dec(x_689); -if (x_690 == 0) -{ -lean_dec(x_688); -lean_dec(x_686); -return x_2; -} -else -{ -lean_object* x_691; lean_object* x_692; lean_object* x_693; lean_object* x_694; lean_object* x_695; -x_691 = lean_array_fget(x_676, x_686); -x_692 = lean_box(0); -x_693 = lean_array_fset(x_676, x_686, x_692); -x_694 = l_Lean_Syntax_setInfo(x_688, x_691); -x_695 = lean_array_fset(x_693, x_686, x_694); -lean_dec(x_686); -lean_ctor_set(x_2, 1, x_695); -return x_2; -} -} -else -{ -lean_object* x_696; lean_object* x_697; lean_object* x_698; lean_object* x_699; lean_object* x_700; uint8_t x_701; -x_696 = lean_ctor_get(x_681, 0); -lean_inc(x_696); -lean_dec(x_681); -x_697 = lean_box(0); -x_698 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_698, 0, x_1); -x_699 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_699, 0, x_697); -lean_ctor_set(x_699, 1, x_698); -lean_ctor_set(x_699, 2, x_697); -x_700 = lean_array_get_size(x_676); -x_701 = lean_nat_dec_lt(x_696, x_700); -lean_dec(x_700); -if (x_701 == 0) -{ -lean_dec(x_699); -lean_dec(x_696); -return x_2; -} -else -{ -lean_object* x_702; lean_object* x_703; lean_object* x_704; lean_object* x_705; lean_object* x_706; -x_702 = lean_array_fget(x_676, x_696); -x_703 = lean_box(0); -x_704 = lean_array_fset(x_676, x_696, x_703); -x_705 = l_Lean_Syntax_setInfo(x_699, x_702); -x_706 = lean_array_fset(x_704, x_696, x_705); -lean_dec(x_696); -lean_ctor_set(x_2, 1, x_706); -return x_2; -} -} -} -else -{ -lean_object* x_707; lean_object* x_708; lean_object* x_709; lean_object* x_710; lean_object* x_711; lean_object* x_712; uint8_t x_713; -lean_dec(x_2); -x_707 = lean_ctor_get(x_681, 0); -lean_inc(x_707); -if (lean_is_exclusive(x_681)) { - lean_ctor_release(x_681, 0); - x_708 = x_681; -} else { - lean_dec_ref(x_681); - x_708 = lean_box(0); -} -x_709 = lean_box(0); -if (lean_is_scalar(x_708)) { - x_710 = lean_alloc_ctor(1, 1, 0); -} else { - x_710 = x_708; -} -lean_ctor_set(x_710, 0, x_1); -x_711 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_711, 0, x_709); -lean_ctor_set(x_711, 1, x_710); -lean_ctor_set(x_711, 2, x_709); -x_712 = lean_array_get_size(x_676); -x_713 = lean_nat_dec_lt(x_707, x_712); -lean_dec(x_712); -if (x_713 == 0) -{ -lean_object* x_714; -lean_dec(x_711); -lean_dec(x_707); -x_714 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_714, 0, x_3); -lean_ctor_set(x_714, 1, x_676); -return x_714; -} -else -{ -lean_object* x_715; lean_object* x_716; lean_object* x_717; lean_object* x_718; lean_object* x_719; lean_object* x_720; -x_715 = lean_array_fget(x_676, x_707); -x_716 = lean_box(0); -x_717 = lean_array_fset(x_676, x_707, x_716); -x_718 = l_Lean_Syntax_setInfo(x_711, x_715); -x_719 = lean_array_fset(x_717, x_707, x_718); -lean_dec(x_707); -x_720 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_720, 0, x_3); -lean_ctor_set(x_720, 1, x_719); -return x_720; -} -} -} -} -} -else -{ -lean_object* x_721; lean_object* x_722; lean_object* x_723; lean_object* x_724; lean_object* x_725; lean_object* x_726; -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_721 = lean_ctor_get(x_2, 1); -lean_inc(x_721); -x_722 = l_Lean_Syntax_getArgs(x_2); -x_723 = lean_array_get_size(x_722); -x_724 = l_Lean_Delaborator_annotatePos___closed__1; -x_725 = lean_unsigned_to_nat(0u); -x_726 = l_Array_findIdx_x3f_loop___rarg(x_722, x_724, x_723, x_725, lean_box(0)); -lean_dec(x_722); -if (lean_obj_tag(x_726) == 0) -{ -lean_dec(x_721); -lean_dec(x_3); -lean_dec(x_1); -return x_2; -} -else -{ -uint8_t x_727; -x_727 = !lean_is_exclusive(x_2); -if (x_727 == 0) -{ -lean_object* x_728; lean_object* x_729; uint8_t x_730; -x_728 = lean_ctor_get(x_2, 1); -lean_dec(x_728); -x_729 = lean_ctor_get(x_2, 0); -lean_dec(x_729); -x_730 = !lean_is_exclusive(x_726); -if (x_730 == 0) -{ -lean_object* x_731; lean_object* x_732; lean_object* x_733; lean_object* x_734; uint8_t x_735; -x_731 = lean_ctor_get(x_726, 0); -x_732 = lean_box(0); -lean_ctor_set(x_726, 0, x_1); -x_733 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_733, 0, x_732); -lean_ctor_set(x_733, 1, x_726); -lean_ctor_set(x_733, 2, x_732); -x_734 = lean_array_get_size(x_721); -x_735 = lean_nat_dec_lt(x_731, x_734); -lean_dec(x_734); -if (x_735 == 0) -{ -lean_dec(x_733); -lean_dec(x_731); -return x_2; -} -else -{ -lean_object* x_736; lean_object* x_737; lean_object* x_738; lean_object* x_739; lean_object* x_740; -x_736 = lean_array_fget(x_721, x_731); -x_737 = lean_box(0); -x_738 = lean_array_fset(x_721, x_731, x_737); -x_739 = l_Lean_Syntax_setInfo(x_733, x_736); -x_740 = lean_array_fset(x_738, x_731, x_739); -lean_dec(x_731); -lean_ctor_set(x_2, 1, x_740); -return x_2; -} -} -else -{ -lean_object* x_741; lean_object* x_742; lean_object* x_743; lean_object* x_744; lean_object* x_745; uint8_t x_746; -x_741 = lean_ctor_get(x_726, 0); -lean_inc(x_741); -lean_dec(x_726); -x_742 = lean_box(0); -x_743 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_743, 0, x_1); -x_744 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_744, 0, x_742); -lean_ctor_set(x_744, 1, x_743); -lean_ctor_set(x_744, 2, x_742); -x_745 = lean_array_get_size(x_721); -x_746 = lean_nat_dec_lt(x_741, x_745); -lean_dec(x_745); -if (x_746 == 0) -{ -lean_dec(x_744); -lean_dec(x_741); -return x_2; -} -else -{ -lean_object* x_747; lean_object* x_748; lean_object* x_749; lean_object* x_750; lean_object* x_751; -x_747 = lean_array_fget(x_721, x_741); -x_748 = lean_box(0); -x_749 = lean_array_fset(x_721, x_741, x_748); -x_750 = l_Lean_Syntax_setInfo(x_744, x_747); -x_751 = lean_array_fset(x_749, x_741, x_750); -lean_dec(x_741); -lean_ctor_set(x_2, 1, x_751); -return x_2; -} -} -} -else -{ -lean_object* x_752; lean_object* x_753; lean_object* x_754; lean_object* x_755; lean_object* x_756; lean_object* x_757; uint8_t x_758; -lean_dec(x_2); -x_752 = lean_ctor_get(x_726, 0); -lean_inc(x_752); -if (lean_is_exclusive(x_726)) { - lean_ctor_release(x_726, 0); - x_753 = x_726; -} else { - lean_dec_ref(x_726); - x_753 = lean_box(0); -} -x_754 = lean_box(0); -if (lean_is_scalar(x_753)) { - x_755 = lean_alloc_ctor(1, 1, 0); -} else { - x_755 = x_753; -} -lean_ctor_set(x_755, 0, x_1); -x_756 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_756, 0, x_754); -lean_ctor_set(x_756, 1, x_755); -lean_ctor_set(x_756, 2, x_754); -x_757 = lean_array_get_size(x_721); -x_758 = lean_nat_dec_lt(x_752, x_757); -lean_dec(x_757); -if (x_758 == 0) -{ -lean_object* x_759; -lean_dec(x_756); -lean_dec(x_752); -x_759 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_759, 0, x_3); -lean_ctor_set(x_759, 1, x_721); -return x_759; -} -else -{ -lean_object* x_760; lean_object* x_761; lean_object* x_762; lean_object* x_763; lean_object* x_764; lean_object* x_765; -x_760 = lean_array_fget(x_721, x_752); -x_761 = lean_box(0); -x_762 = lean_array_fset(x_721, x_752, x_761); -x_763 = l_Lean_Syntax_setInfo(x_756, x_760); -x_764 = lean_array_fset(x_762, x_752, x_763); -lean_dec(x_752); -x_765 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_765, 0, x_3); -lean_ctor_set(x_765, 1, x_764); -return x_765; -} -} -} -} -} -else -{ -lean_object* x_766; lean_object* x_767; lean_object* x_768; lean_object* x_769; lean_object* x_770; lean_object* x_771; -lean_dec(x_5); -lean_dec(x_4); -x_766 = lean_ctor_get(x_2, 1); -lean_inc(x_766); -x_767 = l_Lean_Syntax_getArgs(x_2); -x_768 = lean_array_get_size(x_767); -x_769 = l_Lean_Delaborator_annotatePos___closed__1; -x_770 = lean_unsigned_to_nat(0u); -x_771 = l_Array_findIdx_x3f_loop___rarg(x_767, x_769, x_768, x_770, lean_box(0)); -lean_dec(x_767); -if (lean_obj_tag(x_771) == 0) -{ -lean_dec(x_766); -lean_dec(x_3); -lean_dec(x_1); -return x_2; -} -else -{ -uint8_t x_772; -x_772 = !lean_is_exclusive(x_2); -if (x_772 == 0) -{ -lean_object* x_773; lean_object* x_774; uint8_t x_775; -x_773 = lean_ctor_get(x_2, 1); -lean_dec(x_773); -x_774 = lean_ctor_get(x_2, 0); -lean_dec(x_774); -x_775 = !lean_is_exclusive(x_771); -if (x_775 == 0) -{ -lean_object* x_776; lean_object* x_777; lean_object* x_778; lean_object* x_779; uint8_t x_780; -x_776 = lean_ctor_get(x_771, 0); -x_777 = lean_box(0); -lean_ctor_set(x_771, 0, x_1); -x_778 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_778, 0, x_777); -lean_ctor_set(x_778, 1, x_771); -lean_ctor_set(x_778, 2, x_777); -x_779 = lean_array_get_size(x_766); -x_780 = lean_nat_dec_lt(x_776, x_779); -lean_dec(x_779); -if (x_780 == 0) -{ -lean_dec(x_778); -lean_dec(x_776); -return x_2; -} -else -{ -lean_object* x_781; lean_object* x_782; lean_object* x_783; lean_object* x_784; lean_object* x_785; -x_781 = lean_array_fget(x_766, x_776); -x_782 = lean_box(0); -x_783 = lean_array_fset(x_766, x_776, x_782); -x_784 = l_Lean_Syntax_setInfo(x_778, x_781); -x_785 = lean_array_fset(x_783, x_776, x_784); -lean_dec(x_776); -lean_ctor_set(x_2, 1, x_785); -return x_2; -} -} -else -{ -lean_object* x_786; lean_object* x_787; lean_object* x_788; lean_object* x_789; lean_object* x_790; uint8_t x_791; -x_786 = lean_ctor_get(x_771, 0); -lean_inc(x_786); -lean_dec(x_771); -x_787 = lean_box(0); -x_788 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_788, 0, x_1); -x_789 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_789, 0, x_787); -lean_ctor_set(x_789, 1, x_788); -lean_ctor_set(x_789, 2, x_787); -x_790 = lean_array_get_size(x_766); -x_791 = lean_nat_dec_lt(x_786, x_790); -lean_dec(x_790); -if (x_791 == 0) -{ -lean_dec(x_789); -lean_dec(x_786); -return x_2; -} -else -{ -lean_object* x_792; lean_object* x_793; lean_object* x_794; lean_object* x_795; lean_object* x_796; -x_792 = lean_array_fget(x_766, x_786); -x_793 = lean_box(0); -x_794 = lean_array_fset(x_766, x_786, x_793); -x_795 = l_Lean_Syntax_setInfo(x_789, x_792); -x_796 = lean_array_fset(x_794, x_786, x_795); -lean_dec(x_786); -lean_ctor_set(x_2, 1, x_796); -return x_2; -} -} -} -else -{ -lean_object* x_797; lean_object* x_798; lean_object* x_799; lean_object* x_800; lean_object* x_801; lean_object* x_802; uint8_t x_803; -lean_dec(x_2); -x_797 = lean_ctor_get(x_771, 0); -lean_inc(x_797); -if (lean_is_exclusive(x_771)) { - lean_ctor_release(x_771, 0); - x_798 = x_771; -} else { - lean_dec_ref(x_771); - x_798 = lean_box(0); -} -x_799 = lean_box(0); -if (lean_is_scalar(x_798)) { - x_800 = lean_alloc_ctor(1, 1, 0); -} else { - x_800 = x_798; -} -lean_ctor_set(x_800, 0, x_1); -x_801 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_801, 0, x_799); -lean_ctor_set(x_801, 1, x_800); -lean_ctor_set(x_801, 2, x_799); -x_802 = lean_array_get_size(x_766); -x_803 = lean_nat_dec_lt(x_797, x_802); -lean_dec(x_802); -if (x_803 == 0) -{ -lean_object* x_804; -lean_dec(x_801); -lean_dec(x_797); -x_804 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_804, 0, x_3); -lean_ctor_set(x_804, 1, x_766); -return x_804; -} -else -{ -lean_object* x_805; lean_object* x_806; lean_object* x_807; lean_object* x_808; lean_object* x_809; lean_object* x_810; -x_805 = lean_array_fget(x_766, x_797); -x_806 = lean_box(0); -x_807 = lean_array_fset(x_766, x_797, x_806); -x_808 = l_Lean_Syntax_setInfo(x_801, x_805); -x_809 = lean_array_fset(x_807, x_797, x_808); -lean_dec(x_797); -x_810 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_810, 0, x_3); -lean_ctor_set(x_810, 1, x_809); -return x_810; -} -} -} -} -} -else -{ -lean_object* x_811; lean_object* x_812; lean_object* x_813; lean_object* x_814; lean_object* x_815; lean_object* x_816; -lean_dec(x_4); -x_811 = lean_ctor_get(x_2, 1); -lean_inc(x_811); -x_812 = l_Lean_Syntax_getArgs(x_2); -x_813 = lean_array_get_size(x_812); -x_814 = l_Lean_Delaborator_annotatePos___closed__1; -x_815 = lean_unsigned_to_nat(0u); -x_816 = l_Array_findIdx_x3f_loop___rarg(x_812, x_814, x_813, x_815, lean_box(0)); -lean_dec(x_812); -if (lean_obj_tag(x_816) == 0) -{ -lean_dec(x_811); -lean_dec(x_3); -lean_dec(x_1); -return x_2; -} -else -{ -uint8_t x_817; -x_817 = !lean_is_exclusive(x_2); -if (x_817 == 0) -{ -lean_object* x_818; lean_object* x_819; uint8_t x_820; -x_818 = lean_ctor_get(x_2, 1); -lean_dec(x_818); -x_819 = lean_ctor_get(x_2, 0); -lean_dec(x_819); -x_820 = !lean_is_exclusive(x_816); -if (x_820 == 0) -{ -lean_object* x_821; lean_object* x_822; lean_object* x_823; lean_object* x_824; uint8_t x_825; -x_821 = lean_ctor_get(x_816, 0); -x_822 = lean_box(0); -lean_ctor_set(x_816, 0, x_1); -x_823 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_823, 0, x_822); -lean_ctor_set(x_823, 1, x_816); -lean_ctor_set(x_823, 2, x_822); -x_824 = lean_array_get_size(x_811); -x_825 = lean_nat_dec_lt(x_821, x_824); -lean_dec(x_824); -if (x_825 == 0) -{ -lean_dec(x_823); -lean_dec(x_821); -return x_2; -} -else -{ -lean_object* x_826; lean_object* x_827; lean_object* x_828; lean_object* x_829; lean_object* x_830; -x_826 = lean_array_fget(x_811, x_821); -x_827 = lean_box(0); -x_828 = lean_array_fset(x_811, x_821, x_827); -x_829 = l_Lean_Syntax_setInfo(x_823, x_826); -x_830 = lean_array_fset(x_828, x_821, x_829); -lean_dec(x_821); -lean_ctor_set(x_2, 1, x_830); -return x_2; -} -} -else -{ -lean_object* x_831; lean_object* x_832; lean_object* x_833; lean_object* x_834; lean_object* x_835; uint8_t x_836; -x_831 = lean_ctor_get(x_816, 0); -lean_inc(x_831); -lean_dec(x_816); -x_832 = lean_box(0); -x_833 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_833, 0, x_1); -x_834 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_834, 0, x_832); -lean_ctor_set(x_834, 1, x_833); -lean_ctor_set(x_834, 2, x_832); -x_835 = lean_array_get_size(x_811); -x_836 = lean_nat_dec_lt(x_831, x_835); -lean_dec(x_835); -if (x_836 == 0) -{ -lean_dec(x_834); -lean_dec(x_831); -return x_2; -} -else -{ -lean_object* x_837; lean_object* x_838; lean_object* x_839; lean_object* x_840; lean_object* x_841; -x_837 = lean_array_fget(x_811, x_831); -x_838 = lean_box(0); -x_839 = lean_array_fset(x_811, x_831, x_838); -x_840 = l_Lean_Syntax_setInfo(x_834, x_837); -x_841 = lean_array_fset(x_839, x_831, x_840); -lean_dec(x_831); -lean_ctor_set(x_2, 1, x_841); -return x_2; -} -} -} -else -{ -lean_object* x_842; lean_object* x_843; lean_object* x_844; lean_object* x_845; lean_object* x_846; lean_object* x_847; uint8_t x_848; -lean_dec(x_2); -x_842 = lean_ctor_get(x_816, 0); -lean_inc(x_842); -if (lean_is_exclusive(x_816)) { - lean_ctor_release(x_816, 0); - x_843 = x_816; -} else { - lean_dec_ref(x_816); - x_843 = lean_box(0); -} -x_844 = lean_box(0); -if (lean_is_scalar(x_843)) { - x_845 = lean_alloc_ctor(1, 1, 0); -} else { - x_845 = x_843; -} -lean_ctor_set(x_845, 0, x_1); -x_846 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_846, 0, x_844); -lean_ctor_set(x_846, 1, x_845); -lean_ctor_set(x_846, 2, x_844); -x_847 = lean_array_get_size(x_811); -x_848 = lean_nat_dec_lt(x_842, x_847); -lean_dec(x_847); -if (x_848 == 0) -{ -lean_object* x_849; -lean_dec(x_846); -lean_dec(x_842); -x_849 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_849, 0, x_3); -lean_ctor_set(x_849, 1, x_811); -return x_849; -} -else -{ -lean_object* x_850; lean_object* x_851; lean_object* x_852; lean_object* x_853; lean_object* x_854; lean_object* x_855; -x_850 = lean_array_fget(x_811, x_842); -x_851 = lean_box(0); -x_852 = lean_array_fset(x_811, x_842, x_851); -x_853 = l_Lean_Syntax_setInfo(x_846, x_850); -x_854 = lean_array_fset(x_852, x_842, x_853); -lean_dec(x_842); -x_855 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_855, 0, x_3); -lean_ctor_set(x_855, 1, x_854); -return x_855; -} -} -} -} -} -else -{ -lean_object* x_856; lean_object* x_857; lean_object* x_858; lean_object* x_859; lean_object* x_860; lean_object* x_861; -x_856 = lean_ctor_get(x_2, 1); -lean_inc(x_856); -x_857 = l_Lean_Syntax_getArgs(x_2); -x_858 = lean_array_get_size(x_857); -x_859 = l_Lean_Delaborator_annotatePos___closed__1; -x_860 = lean_unsigned_to_nat(0u); -x_861 = l_Array_findIdx_x3f_loop___rarg(x_857, x_859, x_858, x_860, lean_box(0)); -lean_dec(x_857); -if (lean_obj_tag(x_861) == 0) -{ -lean_dec(x_856); -lean_dec(x_3); -lean_dec(x_1); -return x_2; -} -else -{ -uint8_t x_862; -x_862 = !lean_is_exclusive(x_2); -if (x_862 == 0) -{ -lean_object* x_863; lean_object* x_864; uint8_t x_865; -x_863 = lean_ctor_get(x_2, 1); -lean_dec(x_863); -x_864 = lean_ctor_get(x_2, 0); -lean_dec(x_864); -x_865 = !lean_is_exclusive(x_861); -if (x_865 == 0) -{ -lean_object* x_866; lean_object* x_867; lean_object* x_868; lean_object* x_869; uint8_t x_870; -x_866 = lean_ctor_get(x_861, 0); -x_867 = lean_box(0); -lean_ctor_set(x_861, 0, x_1); -x_868 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_868, 0, x_867); -lean_ctor_set(x_868, 1, x_861); -lean_ctor_set(x_868, 2, x_867); -x_869 = lean_array_get_size(x_856); -x_870 = lean_nat_dec_lt(x_866, x_869); -lean_dec(x_869); -if (x_870 == 0) -{ -lean_dec(x_868); -lean_dec(x_866); -return x_2; -} -else -{ -lean_object* x_871; lean_object* x_872; lean_object* x_873; lean_object* x_874; lean_object* x_875; -x_871 = lean_array_fget(x_856, x_866); -x_872 = lean_box(0); -x_873 = lean_array_fset(x_856, x_866, x_872); -x_874 = l_Lean_Syntax_setInfo(x_868, x_871); -x_875 = lean_array_fset(x_873, x_866, x_874); -lean_dec(x_866); -lean_ctor_set(x_2, 1, x_875); -return x_2; -} -} -else -{ -lean_object* x_876; lean_object* x_877; lean_object* x_878; lean_object* x_879; lean_object* x_880; uint8_t x_881; -x_876 = lean_ctor_get(x_861, 0); -lean_inc(x_876); -lean_dec(x_861); -x_877 = lean_box(0); -x_878 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_878, 0, x_1); -x_879 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_879, 0, x_877); -lean_ctor_set(x_879, 1, x_878); -lean_ctor_set(x_879, 2, x_877); -x_880 = lean_array_get_size(x_856); -x_881 = lean_nat_dec_lt(x_876, x_880); -lean_dec(x_880); -if (x_881 == 0) -{ -lean_dec(x_879); -lean_dec(x_876); -return x_2; -} -else -{ -lean_object* x_882; lean_object* x_883; lean_object* x_884; lean_object* x_885; lean_object* x_886; -x_882 = lean_array_fget(x_856, x_876); -x_883 = lean_box(0); -x_884 = lean_array_fset(x_856, x_876, x_883); -x_885 = l_Lean_Syntax_setInfo(x_879, x_882); -x_886 = lean_array_fset(x_884, x_876, x_885); -lean_dec(x_876); -lean_ctor_set(x_2, 1, x_886); -return x_2; -} -} -} -else -{ -lean_object* x_887; lean_object* x_888; lean_object* x_889; lean_object* x_890; lean_object* x_891; lean_object* x_892; uint8_t x_893; -lean_dec(x_2); -x_887 = lean_ctor_get(x_861, 0); -lean_inc(x_887); -if (lean_is_exclusive(x_861)) { - lean_ctor_release(x_861, 0); - x_888 = x_861; -} else { - lean_dec_ref(x_861); - x_888 = lean_box(0); -} -x_889 = lean_box(0); -if (lean_is_scalar(x_888)) { - x_890 = lean_alloc_ctor(1, 1, 0); -} else { - x_890 = x_888; -} -lean_ctor_set(x_890, 0, x_1); -x_891 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_891, 0, x_889); -lean_ctor_set(x_891, 1, x_890); -lean_ctor_set(x_891, 2, x_889); -x_892 = lean_array_get_size(x_856); -x_893 = lean_nat_dec_lt(x_887, x_892); -lean_dec(x_892); -if (x_893 == 0) -{ -lean_object* x_894; -lean_dec(x_891); -lean_dec(x_887); -x_894 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_894, 0, x_3); -lean_ctor_set(x_894, 1, x_856); -return x_894; -} -else -{ -lean_object* x_895; lean_object* x_896; lean_object* x_897; lean_object* x_898; lean_object* x_899; lean_object* x_900; -x_895 = lean_array_fget(x_856, x_887); -x_896 = lean_box(0); -x_897 = lean_array_fset(x_856, x_887, x_896); -x_898 = l_Lean_Syntax_setInfo(x_891, x_895); -x_899 = lean_array_fset(x_897, x_887, x_898); -lean_dec(x_887); -x_900 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_900, 0, x_3); -lean_ctor_set(x_900, 1, x_899); -return x_900; -} -} -} -} -} -case 3: -{ -lean_object* x_901; lean_object* x_902; lean_object* x_903; lean_object* x_904; -x_901 = lean_box(0); -x_902 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_902, 0, x_1); -x_903 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_903, 0, x_901); -lean_ctor_set(x_903, 1, x_902); -lean_ctor_set(x_903, 2, x_901); -x_904 = l_Lean_Syntax_setInfo(x_903, x_2); -return x_904; -} -default: -{ -lean_dec(x_1); -return x_2; -} -} -} -} -lean_object* l_Lean_Delaborator_annotateCurPos(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; lean_object* x_9; lean_object* x_10; -x_8 = lean_ctor_get(x_2, 1); -lean_inc(x_8); -lean_dec(x_2); -x_9 = l_Lean_Delaborator_annotatePos(x_8, x_1); -x_10 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_10, 0, x_9); -lean_ctor_set(x_10, 1, x_7); -return x_10; -} -} -lean_object* l_Lean_Delaborator_annotateCurPos___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; -x_8 = l_Lean_Delaborator_annotateCurPos(x_1, x_2, x_3, x_4, x_5, x_6, x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -return x_8; -} -} -lean_object* l_Lean_Delaborator_getUnusedName(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -uint8_t x_8; -x_8 = l_Lean_Name_isAnonymous(x_1); -if (x_8 == 0) -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; -x_9 = lean_ctor_get(x_3, 1); -lean_inc(x_9); -lean_dec(x_3); -x_10 = lean_local_ctx_get_unused_name(x_9, x_1); -x_11 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_11, 0, x_10); -lean_ctor_set(x_11, 1, x_7); -return x_11; -} -else -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; -lean_dec(x_1); -x_12 = lean_ctor_get(x_3, 1); -lean_inc(x_12); -lean_dec(x_3); -x_13 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__4; -x_14 = lean_local_ctx_get_unused_name(x_12, x_13); -x_15 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_15, 0, x_14); -lean_ctor_set(x_15, 1, x_7); -return x_15; -} -} -} -lean_object* l_Lean_Delaborator_getUnusedName___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; -x_8 = l_Lean_Delaborator_getUnusedName(x_1, x_2, x_3, x_4, x_5, x_6, x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -return x_8; -} -} -lean_object* l_Lean_Delaborator_withBindingBodyUnusedName___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_8 = l_Lean_Delaborator_getExpr(x_2, x_3, x_4, x_5, x_6, x_7); -x_9 = lean_ctor_get(x_8, 0); -lean_inc(x_9); -x_10 = lean_ctor_get(x_8, 1); -lean_inc(x_10); -lean_dec(x_8); -x_11 = l_Lean_Expr_bindingName_x21(x_9); -lean_dec(x_9); -lean_inc(x_3); -x_12 = l_Lean_Delaborator_getUnusedName(x_11, x_2, x_3, x_4, x_5, x_6, x_10); -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); -lean_inc(x_13); -x_15 = lean_mk_syntax_ident(x_13); -lean_inc(x_2); -x_16 = l_Lean_Delaborator_annotateCurPos(x_15, 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 = lean_apply_1(x_1, x_17); -x_20 = l_Lean_Delaborator_withBindingBody___rarg(x_13, x_19, x_2, x_3, x_4, x_5, x_6, x_18); -return x_20; -} -} -lean_object* l_Lean_Delaborator_withBindingBodyUnusedName(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Delaborator_withBindingBodyUnusedName___rarg), 7, 0); -return x_2; -} -} -lean_object* l_Lean_Delaborator_liftMetaM___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; -x_8 = lean_apply_5(x_1, x_3, x_4, x_5, x_6, x_7); -return x_8; -} -} -lean_object* l_Lean_Delaborator_liftMetaM(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Delaborator_liftMetaM___rarg___boxed), 7, 0); -return x_2; -} -} -lean_object* l_Lean_Delaborator_liftMetaM___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; -x_8 = l_Lean_Delaborator_liftMetaM___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7); -lean_dec(x_2); -return x_8; -} -} -lean_object* l_Lean_Delaborator_delabFor_match__1___rarg(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_object* x_5; -lean_dec(x_2); -x_4 = lean_box(0); -x_5 = lean_apply_1(x_3, x_4); -return x_5; -} -else -{ -lean_object* x_6; lean_object* x_7; -lean_dec(x_3); -x_6 = lean_ctor_get(x_1, 0); -lean_inc(x_6); -lean_dec(x_1); -x_7 = lean_apply_1(x_2, x_6); -return x_7; -} -} -} -lean_object* l_Lean_Delaborator_delabFor_match__1(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabFor_match__1___rarg), 3, 0); -return x_2; -} -} -lean_object* l_Lean_Delaborator_delabFor_match__2___rarg(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_object* x_5; -lean_dec(x_3); -x_4 = lean_box(0); -x_5 = lean_apply_1(x_2, x_4); -return x_5; -} -else -{ -lean_object* x_6; -lean_dec(x_2); -x_6 = lean_apply_1(x_3, x_1); -return x_6; -} -} -} -lean_object* l_Lean_Delaborator_delabFor_match__2(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabFor_match__2___rarg), 3, 0); -return x_2; -} -} -lean_object* l_Std_PersistentHashMap_findAtAux___at_Lean_Delaborator_delabFor___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; uint8_t x_7; -x_6 = lean_array_get_size(x_1); -x_7 = lean_nat_dec_lt(x_4, x_6); -lean_dec(x_6); -if (x_7 == 0) -{ -lean_object* x_8; -lean_dec(x_4); -x_8 = lean_box(0); -return x_8; -} -else -{ -lean_object* x_9; uint8_t x_10; -x_9 = lean_array_fget(x_1, x_4); -x_10 = lean_name_eq(x_5, x_9); -lean_dec(x_9); -if (x_10 == 0) -{ -lean_object* x_11; lean_object* x_12; -x_11 = lean_unsigned_to_nat(1u); -x_12 = lean_nat_add(x_4, x_11); -lean_dec(x_4); -x_3 = lean_box(0); -x_4 = x_12; -goto _start; -} -else -{ -lean_object* x_14; lean_object* x_15; -x_14 = lean_array_fget(x_2, x_4); -lean_dec(x_4); -x_15 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_15, 0, x_14); -return x_15; -} -} -} -} -lean_object* l_Std_PersistentHashMap_findAux___at_Lean_Delaborator_delabFor___spec__3(lean_object* x_1, size_t x_2, lean_object* x_3) { -_start: -{ -if (lean_obj_tag(x_1) == 0) -{ -lean_object* x_4; size_t x_5; size_t x_6; size_t x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; -x_4 = lean_ctor_get(x_1, 0); -lean_inc(x_4); -lean_dec(x_1); -x_5 = 5; -x_6 = l_Std_PersistentHashMap_insertAux___rarg___closed__2; -x_7 = x_2 & x_6; -x_8 = lean_usize_to_nat(x_7); -x_9 = lean_box(2); -x_10 = lean_array_get(x_9, x_4, x_8); -lean_dec(x_8); -lean_dec(x_4); -switch (lean_obj_tag(x_10)) { -case 0: -{ -lean_object* x_11; lean_object* x_12; uint8_t x_13; -x_11 = lean_ctor_get(x_10, 0); -lean_inc(x_11); -x_12 = lean_ctor_get(x_10, 1); -lean_inc(x_12); -lean_dec(x_10); -x_13 = lean_name_eq(x_3, x_11); -lean_dec(x_11); -if (x_13 == 0) -{ -lean_object* x_14; -lean_dec(x_12); -x_14 = lean_box(0); -return x_14; -} -else -{ -lean_object* x_15; -x_15 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_15, 0, x_12); -return x_15; -} -} -case 1: -{ -lean_object* x_16; size_t x_17; -x_16 = lean_ctor_get(x_10, 0); -lean_inc(x_16); -lean_dec(x_10); -x_17 = x_2 >> x_5; -x_1 = x_16; -x_2 = x_17; -goto _start; -} -default: -{ -lean_object* x_19; -x_19 = lean_box(0); -return x_19; -} -} -} -else -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; -x_20 = lean_ctor_get(x_1, 0); -lean_inc(x_20); -x_21 = lean_ctor_get(x_1, 1); -lean_inc(x_21); -lean_dec(x_1); -x_22 = lean_unsigned_to_nat(0u); -x_23 = l_Std_PersistentHashMap_findAtAux___at_Lean_Delaborator_delabFor___spec__4(x_20, x_21, lean_box(0), x_22, x_3); -lean_dec(x_21); -lean_dec(x_20); -return x_23; -} -} -} -lean_object* l_Std_PersistentHashMap_find_x3f___at_Lean_Delaborator_delabFor___spec__2(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; size_t x_4; lean_object* x_5; -x_3 = lean_ctor_get(x_1, 0); -lean_inc(x_3); -lean_dec(x_1); -x_4 = l_Lean_Name_hash(x_2); -x_5 = l_Std_PersistentHashMap_findAux___at_Lean_Delaborator_delabFor___spec__3(x_3, x_4, x_2); -return x_5; -} -} -lean_object* l_Std_AssocList_find_x3f___at_Lean_Delaborator_delabFor___spec__6(lean_object* x_1, lean_object* x_2) { -_start: -{ -if (lean_obj_tag(x_2) == 0) -{ -lean_object* x_3; -x_3 = lean_box(0); -return x_3; -} -else -{ -lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7; -x_4 = lean_ctor_get(x_2, 0); -x_5 = lean_ctor_get(x_2, 1); -x_6 = lean_ctor_get(x_2, 2); -x_7 = lean_name_eq(x_4, x_1); -if (x_7 == 0) -{ -x_2 = x_6; -goto _start; -} -else -{ -lean_object* x_9; -lean_inc(x_5); -x_9 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_9, 0, x_5); -return x_9; -} -} -} -} -lean_object* l_Std_HashMapImp_find_x3f___at_Lean_Delaborator_delabFor___spec__5(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; lean_object* x_4; size_t x_5; size_t x_6; lean_object* x_7; lean_object* x_8; -x_3 = lean_ctor_get(x_1, 1); -x_4 = lean_array_get_size(x_3); -x_5 = l_Lean_Name_hash(x_2); -x_6 = lean_usize_modn(x_5, x_4); -lean_dec(x_4); -x_7 = lean_array_uget(x_3, x_6); -x_8 = l_Std_AssocList_find_x3f___at_Lean_Delaborator_delabFor___spec__6(x_2, x_7); -lean_dec(x_7); -return x_8; -} -} -lean_object* l_Lean_SMap_find_x3f___at_Lean_Delaborator_delabFor___spec__1(lean_object* x_1, lean_object* x_2) { -_start: -{ -uint8_t x_3; -x_3 = lean_ctor_get_uint8(x_1, sizeof(void*)*2); -if (x_3 == 0) -{ -lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_4 = lean_ctor_get(x_1, 0); -lean_inc(x_4); -x_5 = lean_ctor_get(x_1, 1); -lean_inc(x_5); -lean_dec(x_1); -x_6 = l_Std_PersistentHashMap_find_x3f___at_Lean_Delaborator_delabFor___spec__2(x_5, x_2); -if (lean_obj_tag(x_6) == 0) -{ -lean_object* x_7; -x_7 = l_Std_HashMapImp_find_x3f___at_Lean_Delaborator_delabFor___spec__5(x_4, x_2); -lean_dec(x_4); -return x_7; -} -else -{ -uint8_t x_8; -lean_dec(x_4); -x_8 = !lean_is_exclusive(x_6); -if (x_8 == 0) -{ -return x_6; -} -else -{ -lean_object* x_9; lean_object* x_10; -x_9 = lean_ctor_get(x_6, 0); -lean_inc(x_9); -lean_dec(x_6); -x_10 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_10, 0, x_9); -return x_10; -} -} -} -else -{ -lean_object* x_11; lean_object* x_12; -x_11 = lean_ctor_get(x_1, 0); -lean_inc(x_11); -lean_dec(x_1); -x_12 = l_Std_HashMapImp_find_x3f___at_Lean_Delaborator_delabFor___spec__5(x_11, x_2); -lean_dec(x_11); -return x_12; -} -} -} -lean_object* l_List_firstM___at_Lean_Delaborator_delabFor___spec__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -if (lean_obj_tag(x_1) == 0) -{ -lean_object* x_8; -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_8 = l_Lean_Delaborator_failure___rarg(x_7); -return x_8; -} -else -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; -x_9 = lean_ctor_get(x_1, 0); -lean_inc(x_9); -x_10 = lean_ctor_get(x_1, 1); -lean_inc(x_10); -lean_dec(x_1); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); -x_11 = lean_apply_6(x_9, x_2, x_3, x_4, x_5, x_6, x_7); -if (lean_obj_tag(x_11) == 0) -{ -lean_dec(x_10); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_11; -} -else -{ -lean_object* x_12; -x_12 = lean_ctor_get(x_11, 0); -lean_inc(x_12); -if (lean_obj_tag(x_12) == 0) -{ -uint8_t x_13; -lean_dec(x_10); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_13 = !lean_is_exclusive(x_11); -if (x_13 == 0) -{ -lean_object* x_14; -x_14 = lean_ctor_get(x_11, 0); -lean_dec(x_14); -return x_11; -} -else -{ -lean_object* x_15; lean_object* x_16; -x_15 = lean_ctor_get(x_11, 1); -lean_inc(x_15); -lean_dec(x_11); -x_16 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_16, 0, x_12); -lean_ctor_set(x_16, 1, x_15); -return x_16; -} -} -else -{ -uint8_t x_17; -x_17 = !lean_is_exclusive(x_11); -if (x_17 == 0) -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; -x_18 = lean_ctor_get(x_11, 1); -x_19 = lean_ctor_get(x_11, 0); -lean_dec(x_19); -x_20 = lean_ctor_get(x_12, 0); -lean_inc(x_20); -x_21 = l_Lean_Delaborator_delabFailureId; -x_22 = lean_nat_dec_eq(x_21, x_20); -lean_dec(x_20); -if (x_22 == 0) -{ -lean_dec(x_10); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_11; -} -else -{ -lean_free_object(x_11); -lean_dec(x_12); -x_1 = x_10; -x_7 = x_18; -goto _start; -} -} -else -{ -lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; -x_24 = lean_ctor_get(x_11, 1); -lean_inc(x_24); -lean_dec(x_11); -x_25 = lean_ctor_get(x_12, 0); -lean_inc(x_25); -x_26 = l_Lean_Delaborator_delabFailureId; -x_27 = lean_nat_dec_eq(x_26, x_25); -lean_dec(x_25); -if (x_27 == 0) -{ -lean_object* x_28; -lean_dec(x_10); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_28 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_28, 0, x_12); -lean_ctor_set(x_28, 1, x_24); -return x_28; -} -else -{ -lean_dec(x_12); -x_1 = x_10; -x_7 = x_24; -goto _start; -} -} -} -} -} -} -} -lean_object* l_Lean_Delaborator_delabFor(lean_object* x_1, 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_1) == 0) -{ -lean_object* x_8; -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_8 = l_Lean_Delaborator_failure___rarg(x_7); -return x_8; -} -else -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_9 = lean_st_ref_get(x_6, x_7); -x_10 = lean_ctor_get(x_9, 0); -lean_inc(x_10); -x_11 = lean_ctor_get(x_9, 1); -lean_inc(x_11); -lean_dec(x_9); -x_12 = lean_ctor_get(x_10, 0); -lean_inc(x_12); -lean_dec(x_10); -x_13 = l_Lean_Delaborator_delabAttribute; -x_14 = lean_ctor_get(x_13, 2); -lean_inc(x_14); -x_15 = l_Lean_PersistentEnvExtension_getState___rarg(x_14, x_12); -lean_dec(x_12); -lean_dec(x_14); -x_16 = lean_ctor_get(x_15, 1); -lean_inc(x_16); -lean_dec(x_15); -x_17 = l_Lean_SMap_find_x3f___at_Lean_Delaborator_delabFor___spec__1(x_16, x_1); -x_18 = l_Lean_Name_getRoot(x_1); -lean_dec(x_1); -if (lean_obj_tag(x_17) == 0) -{ -lean_object* x_19; uint8_t x_20; -x_19 = l_Lean_Delaborator_failure___rarg(x_11); -x_20 = !lean_is_exclusive(x_19); -if (x_20 == 0) -{ -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; -x_21 = lean_ctor_get(x_19, 0); -x_22 = lean_ctor_get(x_19, 1); -x_23 = lean_ctor_get(x_21, 0); -lean_inc(x_23); -x_24 = l_Lean_Delaborator_delabFailureId; -x_25 = lean_nat_dec_eq(x_24, x_23); -lean_dec(x_23); -if (x_25 == 0) -{ -lean_dec(x_18); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_19; -} -else -{ -lean_free_object(x_19); -lean_dec(x_21); -x_1 = x_18; -x_7 = x_22; -goto _start; -} -} -else -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; -x_27 = lean_ctor_get(x_19, 0); -x_28 = lean_ctor_get(x_19, 1); -lean_inc(x_28); -lean_inc(x_27); -lean_dec(x_19); -x_29 = lean_ctor_get(x_27, 0); -lean_inc(x_29); -x_30 = l_Lean_Delaborator_delabFailureId; -x_31 = lean_nat_dec_eq(x_30, x_29); -lean_dec(x_29); -if (x_31 == 0) -{ -lean_object* x_32; -lean_dec(x_18); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_32 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_32, 0, x_27); -lean_ctor_set(x_32, 1, x_28); -return x_32; -} -else -{ -lean_dec(x_27); -x_1 = x_18; -x_7 = x_28; -goto _start; -} -} -} -else -{ -lean_object* x_34; lean_object* x_35; -x_34 = lean_ctor_get(x_17, 0); -lean_inc(x_34); -lean_dec(x_17); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); -x_35 = l_List_firstM___at_Lean_Delaborator_delabFor___spec__7(x_34, x_2, x_3, x_4, x_5, x_6, x_11); -if (lean_obj_tag(x_35) == 0) -{ -lean_object* x_36; lean_object* x_37; lean_object* x_38; -lean_dec(x_18); -x_36 = lean_ctor_get(x_35, 0); -lean_inc(x_36); -x_37 = lean_ctor_get(x_35, 1); -lean_inc(x_37); -lean_dec(x_35); -x_38 = l_Lean_Delaborator_annotateCurPos(x_36, x_2, x_3, x_4, x_5, x_6, x_37); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -return x_38; -} -else -{ -lean_object* x_39; -x_39 = lean_ctor_get(x_35, 0); -lean_inc(x_39); -if (lean_obj_tag(x_39) == 0) -{ -uint8_t x_40; -lean_dec(x_18); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_40 = !lean_is_exclusive(x_35); -if (x_40 == 0) -{ -lean_object* x_41; -x_41 = lean_ctor_get(x_35, 0); -lean_dec(x_41); -return x_35; -} -else -{ -lean_object* x_42; lean_object* x_43; -x_42 = lean_ctor_get(x_35, 1); -lean_inc(x_42); -lean_dec(x_35); -x_43 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_43, 0, x_39); -lean_ctor_set(x_43, 1, x_42); -return x_43; -} -} -else -{ -uint8_t x_44; -x_44 = !lean_is_exclusive(x_35); -if (x_44 == 0) -{ -lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; uint8_t x_49; -x_45 = lean_ctor_get(x_35, 1); -x_46 = lean_ctor_get(x_35, 0); -lean_dec(x_46); -x_47 = lean_ctor_get(x_39, 0); -lean_inc(x_47); -x_48 = l_Lean_Delaborator_delabFailureId; -x_49 = lean_nat_dec_eq(x_48, x_47); -lean_dec(x_47); -if (x_49 == 0) -{ -lean_dec(x_18); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_35; -} -else -{ -lean_free_object(x_35); -lean_dec(x_39); -x_1 = x_18; -x_7 = x_45; -goto _start; -} -} -else -{ -lean_object* x_51; lean_object* x_52; lean_object* x_53; uint8_t x_54; -x_51 = lean_ctor_get(x_35, 1); -lean_inc(x_51); -lean_dec(x_35); -x_52 = lean_ctor_get(x_39, 0); -lean_inc(x_52); -x_53 = l_Lean_Delaborator_delabFailureId; -x_54 = lean_nat_dec_eq(x_53, x_52); -lean_dec(x_52); -if (x_54 == 0) -{ -lean_object* x_55; -lean_dec(x_18); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_55 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_55, 0, x_39); -lean_ctor_set(x_55, 1, x_51); -return x_55; -} -else -{ -lean_dec(x_39); -x_1 = x_18; -x_7 = x_51; -goto _start; -} -} -} -} -} -} -} -} -lean_object* l_Std_PersistentHashMap_findAtAux___at_Lean_Delaborator_delabFor___spec__4___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_PersistentHashMap_findAtAux___at_Lean_Delaborator_delabFor___spec__4(x_1, x_2, x_3, x_4, x_5); -lean_dec(x_5); -lean_dec(x_2); -lean_dec(x_1); -return x_6; -} -} -lean_object* l_Std_PersistentHashMap_findAux___at_Lean_Delaborator_delabFor___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -size_t x_4; lean_object* x_5; -x_4 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_5 = l_Std_PersistentHashMap_findAux___at_Lean_Delaborator_delabFor___spec__3(x_1, x_4, x_3); -lean_dec(x_3); -return x_5; -} -} -lean_object* l_Std_PersistentHashMap_find_x3f___at_Lean_Delaborator_delabFor___spec__2___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_Std_PersistentHashMap_find_x3f___at_Lean_Delaborator_delabFor___spec__2(x_1, x_2); -lean_dec(x_2); -return x_3; -} -} -lean_object* l_Std_AssocList_find_x3f___at_Lean_Delaborator_delabFor___spec__6___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_Std_AssocList_find_x3f___at_Lean_Delaborator_delabFor___spec__6(x_1, x_2); -lean_dec(x_2); -lean_dec(x_1); -return x_3; -} -} -lean_object* l_Std_HashMapImp_find_x3f___at_Lean_Delaborator_delabFor___spec__5___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_Std_HashMapImp_find_x3f___at_Lean_Delaborator_delabFor___spec__5(x_1, x_2); -lean_dec(x_2); -lean_dec(x_1); -return x_3; -} -} -lean_object* l_Lean_SMap_find_x3f___at_Lean_Delaborator_delabFor___spec__1___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_Lean_SMap_find_x3f___at_Lean_Delaborator_delabFor___spec__1(x_1, x_2); -lean_dec(x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Delaborator_delab___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("don't know how to delaborate '"); -return x_1; -} -} -static lean_object* _init_l_Lean_Delaborator_delab___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Delaborator_delab___closed__1; -x_2 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Delaborator_delab___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Delaborator_delab___closed__2; -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_Delaborator_delab___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_instReprChar___closed__1; -x_2 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Delaborator_delab___closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Delaborator_delab___closed__4; -x_2 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -lean_object* l_Lean_Delaborator_delab(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_7 = l_Lean_Delaborator_getExprKind(x_1, x_2, x_3, x_4, x_5, x_6); -x_8 = lean_ctor_get(x_7, 0); -lean_inc(x_8); -x_9 = lean_ctor_get(x_7, 1); -lean_inc(x_9); -lean_dec(x_7); -x_10 = l_Lean_Name_toString___closed__1; -lean_inc(x_8); -x_11 = l_Lean_Name_toStringWithSep(x_10, x_8); -x_12 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_12, 0, x_11); -x_13 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_13, 0, x_12); -x_14 = l_Lean_Delaborator_delab___closed__3; -x_15 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_15, 0, x_14); -lean_ctor_set(x_15, 1, x_13); -x_16 = l_Lean_Delaborator_delab___closed__5; -x_17 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_17, 0, x_15); -lean_ctor_set(x_17, 1, x_16); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); -x_18 = l_Lean_Delaborator_delabFor(x_8, x_1, x_2, x_3, x_4, x_5, x_9); -if (lean_obj_tag(x_18) == 0) -{ -lean_dec(x_17); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_18; -} -else -{ -lean_object* x_19; -x_19 = lean_ctor_get(x_18, 0); -lean_inc(x_19); -if (lean_obj_tag(x_19) == 0) -{ -uint8_t x_20; -lean_dec(x_17); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_20 = !lean_is_exclusive(x_18); -if (x_20 == 0) -{ -lean_object* x_21; -x_21 = lean_ctor_get(x_18, 0); -lean_dec(x_21); -return x_18; -} -else -{ -lean_object* x_22; lean_object* x_23; -x_22 = lean_ctor_get(x_18, 1); -lean_inc(x_22); -lean_dec(x_18); -x_23 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_23, 0, x_19); -lean_ctor_set(x_23, 1, x_22); -return x_23; -} -} -else -{ -uint8_t x_24; -x_24 = !lean_is_exclusive(x_18); -if (x_24 == 0) -{ -lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; -x_25 = lean_ctor_get(x_18, 1); -x_26 = lean_ctor_get(x_18, 0); -lean_dec(x_26); -x_27 = lean_ctor_get(x_19, 0); -lean_inc(x_27); -x_28 = l_Lean_Delaborator_delabFailureId; -x_29 = lean_nat_dec_eq(x_28, x_27); -lean_dec(x_27); -if (x_29 == 0) -{ -lean_dec(x_17); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_18; -} -else -{ -lean_object* x_30; -lean_free_object(x_18); -lean_dec(x_19); -x_30 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1019____spec__1___rarg(x_17, x_2, x_3, x_4, x_5, x_25); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_30; -} -} -else -{ -lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; -x_31 = lean_ctor_get(x_18, 1); -lean_inc(x_31); -lean_dec(x_18); -x_32 = lean_ctor_get(x_19, 0); -lean_inc(x_32); -x_33 = l_Lean_Delaborator_delabFailureId; -x_34 = lean_nat_dec_eq(x_33, x_32); -lean_dec(x_32); -if (x_34 == 0) -{ -lean_object* x_35; -lean_dec(x_17); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_35 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_35, 0, x_19); -lean_ctor_set(x_35, 1, x_31); -return x_35; -} -else -{ -lean_object* x_36; -lean_dec(x_19); -x_36 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1019____spec__1___rarg(x_17, x_2, x_3, x_4, x_5, x_31); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_36; -} -} -} -} -} -} -lean_object* l_Lean_Delaborator_delabFVar_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -if (lean_obj_tag(x_1) == 1) -{ -lean_object* x_4; uint64_t x_5; lean_object* x_6; lean_object* x_7; -lean_dec(x_3); -x_4 = lean_ctor_get(x_1, 0); -lean_inc(x_4); -x_5 = lean_ctor_get_uint64(x_1, sizeof(void*)*1); -lean_dec(x_1); -x_6 = lean_box_uint64(x_5); -x_7 = lean_apply_2(x_2, x_4, x_6); -return x_7; -} -else -{ -lean_object* x_8; -lean_dec(x_2); -x_8 = lean_apply_1(x_3, x_1); -return x_8; -} -} -} -lean_object* l_Lean_Delaborator_delabFVar_match__1(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabFVar_match__1___rarg), 3, 0); -return x_2; -} -} -lean_object* l_Lean_Meta_getLocalDecl___at_Lean_Delaborator_delabFVar___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; lean_object* x_9; -x_8 = lean_ctor_get(x_3, 1); -lean_inc(x_8); -lean_inc(x_1); -x_9 = lean_local_ctx_find(x_8, x_1); -if (lean_obj_tag(x_9) == 0) -{ -lean_object* x_10; -x_10 = l_Lean_Meta_throwUnknownFVar___rarg(x_1, x_3, x_4, x_5, x_6, x_7); -lean_dec(x_3); -return x_10; -} -else -{ -lean_object* x_11; lean_object* x_12; -lean_dec(x_3); -lean_dec(x_1); -x_11 = lean_ctor_get(x_9, 0); -lean_inc(x_11); -lean_dec(x_9); -x_12 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_12, 0, x_11); -lean_ctor_set(x_12, 1, x_7); -return x_12; -} -} -} -static lean_object* _init_l_Lean_Delaborator_delabFVar___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("Lean.Delaborator.delabFVar"); -return x_1; -} -} -static lean_object* _init_l_Lean_Delaborator_delabFVar___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_1 = l_Lean_Delaborator_withAppFn___rarg___closed__2; -x_2 = l_Lean_Delaborator_delabFVar___closed__1; -x_3 = lean_unsigned_to_nat(264u); -x_4 = lean_unsigned_to_nat(31u); -x_5 = l_Lean_Syntax_strLitToAtom___closed__3; -x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); -return x_6; -} -} -lean_object* l_Lean_Delaborator_delabFVar(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; lean_object* x_8; -x_7 = l_Lean_Delaborator_getExpr(x_1, x_2, x_3, x_4, x_5, x_6); -x_8 = lean_ctor_get(x_7, 0); -lean_inc(x_8); -if (lean_obj_tag(x_8) == 1) -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; -x_9 = lean_ctor_get(x_7, 1); -lean_inc(x_9); -lean_dec(x_7); -x_10 = lean_ctor_get(x_8, 0); -lean_inc(x_10); -lean_dec(x_8); -lean_inc(x_10); -x_11 = l_Lean_Meta_getLocalDecl___at_Lean_Delaborator_delabFVar___spec__1(x_10, x_1, x_2, x_3, x_4, x_5, x_9); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -if (lean_obj_tag(x_11) == 0) -{ -uint8_t x_12; -lean_dec(x_10); -x_12 = !lean_is_exclusive(x_11); -if (x_12 == 0) -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; -x_13 = lean_ctor_get(x_11, 0); -x_14 = l_Lean_LocalDecl_userName(x_13); -lean_dec(x_13); -x_15 = lean_mk_syntax_ident(x_14); -lean_ctor_set(x_11, 0, x_15); -return x_11; -} -else -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_16 = lean_ctor_get(x_11, 0); -x_17 = lean_ctor_get(x_11, 1); -lean_inc(x_17); -lean_inc(x_16); -lean_dec(x_11); -x_18 = l_Lean_LocalDecl_userName(x_16); -lean_dec(x_16); -x_19 = lean_mk_syntax_ident(x_18); -x_20 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_20, 0, x_19); -lean_ctor_set(x_20, 1, x_17); -return x_20; -} -} -else -{ -uint8_t x_21; -x_21 = !lean_is_exclusive(x_11); -if (x_21 == 0) -{ -lean_object* x_22; lean_object* x_23; -x_22 = lean_ctor_get(x_11, 0); -lean_dec(x_22); -x_23 = lean_mk_syntax_ident(x_10); -lean_ctor_set_tag(x_11, 0); -lean_ctor_set(x_11, 0, x_23); -return x_11; -} -else -{ -lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_24 = lean_ctor_get(x_11, 1); -lean_inc(x_24); -lean_dec(x_11); -x_25 = lean_mk_syntax_ident(x_10); -x_26 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_26, 0, x_25); -lean_ctor_set(x_26, 1, x_24); -return x_26; -} -} -} -else -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; -lean_dec(x_8); -x_27 = lean_ctor_get(x_7, 1); -lean_inc(x_27); -lean_dec(x_7); -x_28 = l_Lean_Delaborator_withAppFn___rarg___closed__1; -x_29 = l_Lean_Delaborator_delabFVar___closed__2; -x_30 = lean_panic_fn(x_28, x_29); -x_31 = lean_apply_6(x_30, x_1, x_2, x_3, x_4, x_5, x_27); -return x_31; -} -} -} -lean_object* l_Lean_Meta_getLocalDecl___at_Lean_Delaborator_delabFVar___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) { -_start: -{ -lean_object* x_8; -x_8 = l_Lean_Meta_getLocalDecl___at_Lean_Delaborator_delabFVar___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -return x_8; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabFVar___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabFVar), 6, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Delaborator_delabFVar(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_Delaborator_delabAttribute; -x_3 = l_Lean_Delaborator_getExprKind___closed__2; -x_4 = l___regBuiltin_Lean_Delaborator_delabFVar___closed__1; -x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); -return x_5; -} -} -lean_object* l_Lean_Delaborator_delabBVar_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -if (lean_obj_tag(x_1) == 0) -{ -lean_object* x_4; uint64_t x_5; lean_object* x_6; lean_object* x_7; -lean_dec(x_3); -x_4 = lean_ctor_get(x_1, 0); -lean_inc(x_4); -x_5 = lean_ctor_get_uint64(x_1, sizeof(void*)*1); -lean_dec(x_1); -x_6 = lean_box_uint64(x_5); -x_7 = lean_apply_2(x_2, x_4, x_6); -return x_7; -} -else -{ -lean_object* x_8; -lean_dec(x_2); -x_8 = lean_apply_1(x_3, x_1); -return x_8; -} -} -} -lean_object* l_Lean_Delaborator_delabBVar_match__1(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabBVar_match__1___rarg), 3, 0); -return x_2; -} -} -static lean_object* _init_l_Lean_Delaborator_delabBVar___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("Lean.Delaborator.delabBVar"); -return x_1; -} -} -static lean_object* _init_l_Lean_Delaborator_delabBVar___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_1 = l_Lean_Delaborator_withAppFn___rarg___closed__2; -x_2 = l_Lean_Delaborator_delabBVar___closed__1; -x_3 = lean_unsigned_to_nat(275u); -x_4 = lean_unsigned_to_nat(34u); -x_5 = l_Lean_Syntax_strLitToAtom___closed__3; -x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); -return x_6; -} -} -lean_object* l_Lean_Delaborator_delabBVar(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; lean_object* x_8; -x_7 = l_Lean_Delaborator_getExpr(x_1, x_2, x_3, x_4, x_5, x_6); -x_8 = lean_ctor_get(x_7, 0); -lean_inc(x_8); -if (lean_obj_tag(x_8) == 0) -{ -uint8_t x_9; -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_9 = !lean_is_exclusive(x_7); -if (x_9 == 0) -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_10 = lean_ctor_get(x_7, 0); -lean_dec(x_10); -x_11 = lean_ctor_get(x_8, 0); -lean_inc(x_11); -lean_dec(x_8); -x_12 = l_Nat_repr(x_11); -x_13 = l_Array_instReprArray___rarg___closed__1; -x_14 = lean_string_append(x_13, x_12); -lean_dec(x_12); -x_15 = lean_box(0); -x_16 = lean_name_mk_string(x_15, x_14); -x_17 = lean_mk_syntax_ident(x_16); -lean_ctor_set(x_7, 0, x_17); -return x_7; -} -else -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_18 = lean_ctor_get(x_7, 1); -lean_inc(x_18); -lean_dec(x_7); -x_19 = lean_ctor_get(x_8, 0); -lean_inc(x_19); -lean_dec(x_8); -x_20 = l_Nat_repr(x_19); -x_21 = l_Array_instReprArray___rarg___closed__1; -x_22 = lean_string_append(x_21, x_20); -lean_dec(x_20); -x_23 = lean_box(0); -x_24 = lean_name_mk_string(x_23, x_22); -x_25 = lean_mk_syntax_ident(x_24); -x_26 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_26, 0, x_25); -lean_ctor_set(x_26, 1, x_18); -return x_26; -} -} -else -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; -lean_dec(x_8); -x_27 = lean_ctor_get(x_7, 1); -lean_inc(x_27); -lean_dec(x_7); -x_28 = l_Lean_Delaborator_withAppFn___rarg___closed__1; -x_29 = l_Lean_Delaborator_delabBVar___closed__2; -x_30 = lean_panic_fn(x_28, x_29); -x_31 = lean_apply_6(x_30, x_1, x_2, x_3, x_4, x_5, x_27); -return x_31; -} -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabBVar___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabBVar), 6, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Delaborator_delabBVar(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_Delaborator_delabAttribute; -x_3 = l_Lean_Delaborator_getExprKind___closed__1; -x_4 = l___regBuiltin_Lean_Delaborator_delabBVar___closed__1; -x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); -return x_5; -} -} -lean_object* l_Lean_Delaborator_delabMVar_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -if (lean_obj_tag(x_1) == 2) -{ -lean_object* x_4; uint64_t x_5; lean_object* x_6; lean_object* x_7; -lean_dec(x_3); -x_4 = lean_ctor_get(x_1, 0); -lean_inc(x_4); -x_5 = lean_ctor_get_uint64(x_1, sizeof(void*)*1); -lean_dec(x_1); -x_6 = lean_box_uint64(x_5); -x_7 = lean_apply_2(x_2, x_4, x_6); -return x_7; -} -else -{ -lean_object* x_8; -lean_dec(x_2); -x_8 = lean_apply_1(x_3, x_1); -return x_8; -} -} -} -lean_object* l_Lean_Delaborator_delabMVar_match__1(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabMVar_match__1___rarg), 3, 0); -return x_2; -} -} -static lean_object* _init_l_Lean_Delaborator_delabMVar___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("Lean.Delaborator.delabMVar"); -return x_1; -} -} -static lean_object* _init_l_Lean_Delaborator_delabMVar___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_1 = l_Lean_Delaborator_withAppFn___rarg___closed__2; -x_2 = l_Lean_Delaborator_delabMVar___closed__1; -x_3 = lean_unsigned_to_nat(280u); -x_4 = lean_unsigned_to_nat(32u); -x_5 = l_Lean_Syntax_strLitToAtom___closed__3; -x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); -return x_6; -} -} -static lean_object* _init_l_Lean_Delaborator_delabMVar___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("m"); -return x_1; -} -} -static lean_object* _init_l_Lean_Delaborator_delabMVar___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Delaborator_delabMVar___closed__3; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Delaborator_delabMVar___closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_instInhabitedSourceInfo___closed__1; -x_2 = l___kind_stx____x40_Init_Notation___hyg_7348____closed__2; -x_3 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Delaborator_delabMVar___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_empty___closed__1; -x_2 = l_Lean_Delaborator_delabMVar___closed__5; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -lean_object* l_Lean_Delaborator_delabMVar(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; lean_object* x_8; -x_7 = l_Lean_Delaborator_getExpr(x_1, x_2, x_3, x_4, x_5, x_6); -x_8 = lean_ctor_get(x_7, 0); -lean_inc(x_8); -if (lean_obj_tag(x_8) == 2) -{ -uint8_t x_9; -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_9 = !lean_is_exclusive(x_7); -if (x_9 == 0) -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_10 = lean_ctor_get(x_7, 0); -lean_dec(x_10); -x_11 = lean_ctor_get(x_8, 0); -lean_inc(x_11); -lean_dec(x_8); -x_12 = l_Lean_NameGenerator_namePrefix___default___closed__2; -x_13 = l_Lean_Delaborator_delabMVar___closed__4; -x_14 = l_Lean_Name_replacePrefix(x_11, x_12, x_13); -x_15 = lean_mk_syntax_ident(x_14); -x_16 = l_Lean_Delaborator_delabMVar___closed__6; -x_17 = lean_array_push(x_16, x_15); -x_18 = l___regBuiltin_Lean_Elab_Term_elabSyntheticHole___closed__1; -x_19 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_19, 0, x_18); -lean_ctor_set(x_19, 1, x_17); -lean_ctor_set(x_7, 0, x_19); -return x_7; -} -else -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_20 = lean_ctor_get(x_7, 1); -lean_inc(x_20); -lean_dec(x_7); -x_21 = lean_ctor_get(x_8, 0); -lean_inc(x_21); -lean_dec(x_8); -x_22 = l_Lean_NameGenerator_namePrefix___default___closed__2; -x_23 = l_Lean_Delaborator_delabMVar___closed__4; -x_24 = l_Lean_Name_replacePrefix(x_21, x_22, x_23); -x_25 = lean_mk_syntax_ident(x_24); -x_26 = l_Lean_Delaborator_delabMVar___closed__6; -x_27 = lean_array_push(x_26, x_25); -x_28 = l___regBuiltin_Lean_Elab_Term_elabSyntheticHole___closed__1; -x_29 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_29, 0, x_28); -lean_ctor_set(x_29, 1, x_27); -x_30 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_30, 0, x_29); -lean_ctor_set(x_30, 1, x_20); -return x_30; -} -} -else -{ -lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; -lean_dec(x_8); -x_31 = lean_ctor_get(x_7, 1); -lean_inc(x_31); -lean_dec(x_7); -x_32 = l_Lean_Delaborator_withAppFn___rarg___closed__1; -x_33 = l_Lean_Delaborator_delabMVar___closed__2; -x_34 = lean_panic_fn(x_32, x_33); -x_35 = lean_apply_6(x_34, x_1, x_2, x_3, x_4, x_5, x_31); -return x_35; -} -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabMVar___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabMVar), 6, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Delaborator_delabMVar(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_Delaborator_delabAttribute; -x_3 = l_Lean_Delaborator_getExprKind___closed__3; -x_4 = l___regBuiltin_Lean_Delaborator_delabMVar___closed__1; -x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); -return x_5; -} -} -lean_object* l_Lean_Delaborator_delabSort_match__1___rarg(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_object* x_5; -lean_dec(x_2); -x_4 = lean_box(0); -x_5 = lean_apply_1(x_3, x_4); -return x_5; -} -else -{ -lean_object* x_6; lean_object* x_7; -lean_dec(x_3); -x_6 = lean_ctor_get(x_1, 0); -lean_inc(x_6); -lean_dec(x_1); -x_7 = lean_apply_1(x_2, x_6); -return x_7; -} -} -} -lean_object* l_Lean_Delaborator_delabSort_match__1(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabSort_match__1___rarg), 3, 0); -return x_2; -} -} -lean_object* l_Lean_Delaborator_delabSort_match__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -switch (lean_obj_tag(x_1)) { -case 0: -{ -uint64_t x_5; lean_object* x_6; lean_object* x_7; -lean_dec(x_4); -lean_dec(x_3); -x_5 = lean_ctor_get_uint64(x_1, 0); -lean_dec(x_1); -x_6 = lean_box_uint64(x_5); -x_7 = lean_apply_1(x_2, x_6); -return x_7; -} -case 1: -{ -lean_object* x_8; -lean_dec(x_2); -x_8 = lean_ctor_get(x_1, 0); -lean_inc(x_8); -if (lean_obj_tag(x_8) == 0) -{ -uint64_t x_9; uint64_t x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; -lean_dec(x_4); -x_9 = lean_ctor_get_uint64(x_1, sizeof(void*)*1); -lean_dec(x_1); -x_10 = lean_ctor_get_uint64(x_8, 0); -lean_dec(x_8); -x_11 = lean_box_uint64(x_10); -x_12 = lean_box_uint64(x_9); -x_13 = lean_apply_2(x_3, x_11, x_12); -return x_13; -} -else -{ -lean_object* x_14; -lean_dec(x_8); -lean_dec(x_3); -x_14 = lean_apply_1(x_4, x_1); -return x_14; -} -} -default: -{ -lean_object* x_15; -lean_dec(x_3); -lean_dec(x_2); -x_15 = lean_apply_1(x_4, x_1); -return x_15; -} -} -} -} -lean_object* l_Lean_Delaborator_delabSort_match__2(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabSort_match__2___rarg), 4, 0); -return x_2; -} -} -lean_object* l_Lean_Delaborator_delabSort_match__3___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -if (lean_obj_tag(x_1) == 3) -{ -lean_object* x_4; uint64_t x_5; lean_object* x_6; lean_object* x_7; -lean_dec(x_3); -x_4 = lean_ctor_get(x_1, 0); -lean_inc(x_4); -x_5 = lean_ctor_get_uint64(x_1, sizeof(void*)*1); -lean_dec(x_1); -x_6 = lean_box_uint64(x_5); -x_7 = lean_apply_2(x_2, x_4, x_6); -return x_7; -} -else -{ -lean_object* x_8; -lean_dec(x_2); -x_8 = lean_apply_1(x_3, x_1); -return x_8; -} -} -} -lean_object* l_Lean_Delaborator_delabSort_match__3(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabSort_match__3___rarg), 3, 0); -return x_2; -} -} -static lean_object* _init_l_Lean_Delaborator_delabSort___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("Lean.Delaborator.delabSort"); -return x_1; -} -} -static lean_object* _init_l_Lean_Delaborator_delabSort___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_1 = l_Lean_Delaborator_withAppFn___rarg___closed__2; -x_2 = l_Lean_Delaborator_delabSort___closed__1; -x_3 = lean_unsigned_to_nat(286u); -x_4 = lean_unsigned_to_nat(32u); -x_5 = l_Lean_Syntax_strLitToAtom___closed__3; -x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); -return x_6; -} -} -static lean_object* _init_l_Lean_Delaborator_delabSort___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("Prop"); -return x_1; -} -} -static lean_object* _init_l_Lean_Delaborator_delabSort___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_instInhabitedSourceInfo___closed__1; -x_2 = l_Lean_Delaborator_delabSort___closed__3; -x_3 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Delaborator_delabSort___closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_empty___closed__1; -x_2 = l_Lean_Delaborator_delabSort___closed__4; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Delaborator_delabSort___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Lean_Elab_Term_elabProp___closed__2; -x_2 = l_Lean_Delaborator_delabSort___closed__5; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Delaborator_delabSort___closed__7() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("Type"); -return x_1; -} -} -static lean_object* _init_l_Lean_Delaborator_delabSort___closed__8() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_instInhabitedSourceInfo___closed__1; -x_2 = l_Lean_Delaborator_delabSort___closed__7; -x_3 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Delaborator_delabSort___closed__9() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_empty___closed__1; -x_2 = l_Lean_Delaborator_delabSort___closed__8; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Delaborator_delabSort___closed__10() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Delaborator_delabSort___closed__9; -x_2 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Delaborator_delabSort___closed__11() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Lean_Elab_Term_elabTypeStx___closed__2; -x_2 = l_Lean_Delaborator_delabSort___closed__10; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -lean_object* l_Lean_Delaborator_delabSort(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; lean_object* x_8; -x_7 = l_Lean_Delaborator_getExpr(x_1, x_2, x_3, x_4, x_5, x_6); -x_8 = lean_ctor_get(x_7, 0); -lean_inc(x_8); -if (lean_obj_tag(x_8) == 3) -{ -lean_object* x_9; -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_9 = lean_ctor_get(x_8, 0); -lean_inc(x_9); -lean_dec(x_8); -switch (lean_obj_tag(x_9)) { -case 0: -{ -uint8_t x_10; -lean_dec(x_9); -x_10 = !lean_is_exclusive(x_7); -if (x_10 == 0) -{ -lean_object* x_11; lean_object* x_12; -x_11 = lean_ctor_get(x_7, 0); -lean_dec(x_11); -x_12 = l_Lean_Delaborator_delabSort___closed__6; -lean_ctor_set(x_7, 0, x_12); -return x_7; -} -else -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; -x_13 = lean_ctor_get(x_7, 1); -lean_inc(x_13); -lean_dec(x_7); -x_14 = l_Lean_Delaborator_delabSort___closed__6; -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; -} -} -case 1: -{ -lean_object* x_16; -x_16 = lean_ctor_get(x_9, 0); -lean_inc(x_16); -if (lean_obj_tag(x_16) == 0) -{ -uint8_t x_17; -lean_dec(x_16); -lean_dec(x_9); -x_17 = !lean_is_exclusive(x_7); -if (x_17 == 0) -{ -lean_object* x_18; lean_object* x_19; -x_18 = lean_ctor_get(x_7, 0); -lean_dec(x_18); -x_19 = l_Lean_Delaborator_delabSort___closed__11; -lean_ctor_set(x_7, 0, x_19); -return x_7; -} -else -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_20 = lean_ctor_get(x_7, 1); -lean_inc(x_20); -lean_dec(x_7); -x_21 = l_Lean_Delaborator_delabSort___closed__11; -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 -{ -uint8_t x_23; -lean_dec(x_16); -x_23 = !lean_is_exclusive(x_7); -if (x_23 == 0) -{ -lean_object* x_24; lean_object* x_25; -x_24 = lean_ctor_get(x_7, 0); -lean_dec(x_24); -x_25 = l_Lean_Level_dec(x_9); -if (lean_obj_tag(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; -x_26 = l_Lean_Level_quote(x_9); -x_27 = l_Array_empty___closed__1; -x_28 = lean_array_push(x_27, x_26); -x_29 = l_Lean_nullKind___closed__2; -x_30 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_30, 0, x_29); -lean_ctor_set(x_30, 1, x_28); -x_31 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__31; -x_32 = lean_array_push(x_31, x_30); -x_33 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__28; -x_34 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_34, 0, x_33); -lean_ctor_set(x_34, 1, x_32); -lean_ctor_set(x_7, 0, x_34); -return x_7; -} -else -{ -lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; -lean_dec(x_9); -x_35 = lean_ctor_get(x_25, 0); -lean_inc(x_35); -lean_dec(x_25); -x_36 = l_Lean_Level_quote(x_35); -x_37 = l_Array_empty___closed__1; -x_38 = lean_array_push(x_37, x_36); -x_39 = l_Lean_nullKind___closed__2; -x_40 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_40, 0, x_39); -lean_ctor_set(x_40, 1, x_38); -x_41 = l_Lean_Delaborator_delabSort___closed__9; -x_42 = lean_array_push(x_41, x_40); -x_43 = l___regBuiltin_Lean_Elab_Term_elabTypeStx___closed__2; -x_44 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_44, 0, x_43); -lean_ctor_set(x_44, 1, x_42); -lean_ctor_set(x_7, 0, x_44); -return x_7; -} -} -else -{ -lean_object* x_45; lean_object* x_46; -x_45 = lean_ctor_get(x_7, 1); -lean_inc(x_45); -lean_dec(x_7); -x_46 = l_Lean_Level_dec(x_9); -if (lean_obj_tag(x_46) == 0) -{ -lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; -x_47 = l_Lean_Level_quote(x_9); -x_48 = l_Array_empty___closed__1; -x_49 = lean_array_push(x_48, x_47); -x_50 = l_Lean_nullKind___closed__2; -x_51 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_51, 0, x_50); -lean_ctor_set(x_51, 1, x_49); -x_52 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__31; -x_53 = lean_array_push(x_52, x_51); -x_54 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__28; -x_55 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_55, 0, x_54); -lean_ctor_set(x_55, 1, x_53); -x_56 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_56, 0, x_55); -lean_ctor_set(x_56, 1, x_45); -return x_56; -} -else -{ -lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; -lean_dec(x_9); -x_57 = lean_ctor_get(x_46, 0); -lean_inc(x_57); -lean_dec(x_46); -x_58 = l_Lean_Level_quote(x_57); -x_59 = l_Array_empty___closed__1; -x_60 = lean_array_push(x_59, x_58); -x_61 = l_Lean_nullKind___closed__2; -x_62 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_62, 0, x_61); -lean_ctor_set(x_62, 1, x_60); -x_63 = l_Lean_Delaborator_delabSort___closed__9; -x_64 = lean_array_push(x_63, x_62); -x_65 = l___regBuiltin_Lean_Elab_Term_elabTypeStx___closed__2; -x_66 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_66, 0, x_65); -lean_ctor_set(x_66, 1, x_64); -x_67 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_67, 0, x_66); -lean_ctor_set(x_67, 1, x_45); -return x_67; -} -} -} -} -default: -{ -uint8_t x_68; -x_68 = !lean_is_exclusive(x_7); -if (x_68 == 0) -{ -lean_object* x_69; lean_object* x_70; -x_69 = lean_ctor_get(x_7, 0); -lean_dec(x_69); -x_70 = l_Lean_Level_dec(x_9); -if (lean_obj_tag(x_70) == 0) -{ -lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; -x_71 = l_Lean_Level_quote(x_9); -x_72 = l_Array_empty___closed__1; -x_73 = lean_array_push(x_72, x_71); -x_74 = l_Lean_nullKind___closed__2; -x_75 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_75, 0, x_74); -lean_ctor_set(x_75, 1, x_73); -x_76 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__31; -x_77 = lean_array_push(x_76, x_75); -x_78 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__28; -x_79 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_79, 0, x_78); -lean_ctor_set(x_79, 1, x_77); -lean_ctor_set(x_7, 0, x_79); -return x_7; -} -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_dec(x_9); -x_80 = lean_ctor_get(x_70, 0); -lean_inc(x_80); -lean_dec(x_70); -x_81 = l_Lean_Level_quote(x_80); -x_82 = l_Array_empty___closed__1; -x_83 = lean_array_push(x_82, x_81); -x_84 = l_Lean_nullKind___closed__2; -x_85 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_85, 0, x_84); -lean_ctor_set(x_85, 1, x_83); -x_86 = l_Lean_Delaborator_delabSort___closed__9; -x_87 = lean_array_push(x_86, x_85); -x_88 = l___regBuiltin_Lean_Elab_Term_elabTypeStx___closed__2; -x_89 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_89, 0, x_88); -lean_ctor_set(x_89, 1, x_87); -lean_ctor_set(x_7, 0, x_89); -return x_7; -} -} -else -{ -lean_object* x_90; lean_object* x_91; -x_90 = lean_ctor_get(x_7, 1); -lean_inc(x_90); -lean_dec(x_7); -x_91 = l_Lean_Level_dec(x_9); -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_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; -x_92 = l_Lean_Level_quote(x_9); -x_93 = l_Array_empty___closed__1; -x_94 = lean_array_push(x_93, x_92); -x_95 = l_Lean_nullKind___closed__2; -x_96 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_96, 0, x_95); -lean_ctor_set(x_96, 1, x_94); -x_97 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__31; -x_98 = lean_array_push(x_97, x_96); -x_99 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__28; -x_100 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_100, 0, x_99); -lean_ctor_set(x_100, 1, x_98); -x_101 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_101, 0, x_100); -lean_ctor_set(x_101, 1, x_90); -return x_101; -} -else -{ -lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; -lean_dec(x_9); -x_102 = lean_ctor_get(x_91, 0); -lean_inc(x_102); -lean_dec(x_91); -x_103 = l_Lean_Level_quote(x_102); -x_104 = l_Array_empty___closed__1; -x_105 = lean_array_push(x_104, x_103); -x_106 = l_Lean_nullKind___closed__2; -x_107 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_107, 0, x_106); -lean_ctor_set(x_107, 1, x_105); -x_108 = l_Lean_Delaborator_delabSort___closed__9; -x_109 = lean_array_push(x_108, x_107); -x_110 = l___regBuiltin_Lean_Elab_Term_elabTypeStx___closed__2; -x_111 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_111, 0, x_110); -lean_ctor_set(x_111, 1, x_109); -x_112 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_112, 0, x_111); -lean_ctor_set(x_112, 1, x_90); -return x_112; -} -} -} -} -} -else -{ -lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; -lean_dec(x_8); -x_113 = lean_ctor_get(x_7, 1); -lean_inc(x_113); -lean_dec(x_7); -x_114 = l_Lean_Delaborator_withAppFn___rarg___closed__1; -x_115 = l_Lean_Delaborator_delabSort___closed__2; -x_116 = lean_panic_fn(x_114, x_115); -x_117 = lean_apply_6(x_116, x_1, x_2, x_3, x_4, x_5, x_113); -return x_117; -} -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabSort___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabSort), 6, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Delaborator_delabSort(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_Delaborator_delabAttribute; -x_3 = l_Lean_Delaborator_getExprKind___closed__4; -x_4 = l___regBuiltin_Lean_Delaborator_delabSort___closed__1; -x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); -return x_5; -} -} -lean_object* l___private_Lean_Delaborator_0__Lean_Delaborator_unresolveQualifiedName(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; -x_9 = lean_box(0); -lean_inc(x_2); -x_10 = l_Lean_Name_replacePrefix(x_2, x_1, x_9); -x_11 = lean_st_ref_get(x_7, x_8); -x_12 = !lean_is_exclusive(x_11); -if (x_12 == 0) -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; -x_13 = lean_ctor_get(x_11, 0); -x_14 = lean_ctor_get(x_11, 1); -x_15 = lean_ctor_get(x_13, 0); -lean_inc(x_15); -lean_dec(x_13); -x_16 = lean_name_eq(x_10, x_2); -if (x_16 == 0) -{ -uint8_t x_17; -x_17 = l_Lean_Name_isAnonymous(x_10); -if (x_17 == 0) -{ -uint8_t x_18; -x_18 = l_Lean_Name_isAtomic(x_10); -if (x_18 == 0) -{ -lean_dec(x_15); -lean_dec(x_2); -lean_ctor_set(x_11, 0, x_10); -return x_11; -} -else -{ -lean_object* x_19; uint8_t x_20; -x_19 = l_Lean_protectedExt; -x_20 = l_Lean_TagDeclarationExtension_isTagged(x_19, x_15, x_2); -lean_dec(x_2); -lean_dec(x_15); -if (x_20 == 0) -{ -lean_ctor_set(x_11, 0, x_10); -return x_11; -} -else -{ -lean_object* x_21; uint8_t x_22; -lean_free_object(x_11); -lean_dec(x_10); -x_21 = l_Lean_Delaborator_failure___rarg(x_14); -x_22 = !lean_is_exclusive(x_21); -if (x_22 == 0) -{ -return x_21; -} -else -{ -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(1, 2, 0); -lean_ctor_set(x_25, 0, x_23); -lean_ctor_set(x_25, 1, x_24); -return x_25; -} -} -} -} -else -{ -lean_object* x_26; uint8_t x_27; -lean_dec(x_15); -lean_free_object(x_11); -lean_dec(x_10); -lean_dec(x_2); -x_26 = l_Lean_Delaborator_failure___rarg(x_14); -x_27 = !lean_is_exclusive(x_26); -if (x_27 == 0) -{ -return x_26; -} -else -{ -lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_28 = lean_ctor_get(x_26, 0); -x_29 = lean_ctor_get(x_26, 1); -lean_inc(x_29); -lean_inc(x_28); -lean_dec(x_26); -x_30 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_30, 0, x_28); -lean_ctor_set(x_30, 1, x_29); -return x_30; -} -} -} -else -{ -lean_object* x_31; uint8_t x_32; -lean_dec(x_15); -lean_free_object(x_11); -lean_dec(x_10); -lean_dec(x_2); -x_31 = l_Lean_Delaborator_failure___rarg(x_14); -x_32 = !lean_is_exclusive(x_31); -if (x_32 == 0) -{ -return x_31; -} -else -{ -lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_33 = lean_ctor_get(x_31, 0); -x_34 = lean_ctor_get(x_31, 1); -lean_inc(x_34); -lean_inc(x_33); -lean_dec(x_31); -x_35 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_35, 0, x_33); -lean_ctor_set(x_35, 1, x_34); -return x_35; -} -} -} -else -{ -lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; -x_36 = lean_ctor_get(x_11, 0); -x_37 = lean_ctor_get(x_11, 1); -lean_inc(x_37); -lean_inc(x_36); -lean_dec(x_11); -x_38 = lean_ctor_get(x_36, 0); -lean_inc(x_38); -lean_dec(x_36); -x_39 = lean_name_eq(x_10, x_2); -if (x_39 == 0) -{ -uint8_t x_40; -x_40 = l_Lean_Name_isAnonymous(x_10); -if (x_40 == 0) -{ -uint8_t x_41; -x_41 = l_Lean_Name_isAtomic(x_10); -if (x_41 == 0) -{ -lean_object* x_42; -lean_dec(x_38); -lean_dec(x_2); -x_42 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_42, 0, x_10); -lean_ctor_set(x_42, 1, x_37); -return x_42; -} -else -{ -lean_object* x_43; uint8_t x_44; -x_43 = l_Lean_protectedExt; -x_44 = l_Lean_TagDeclarationExtension_isTagged(x_43, x_38, x_2); -lean_dec(x_2); -lean_dec(x_38); -if (x_44 == 0) -{ -lean_object* x_45; -x_45 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_45, 0, x_10); -lean_ctor_set(x_45, 1, x_37); -return x_45; -} -else -{ -lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; -lean_dec(x_10); -x_46 = l_Lean_Delaborator_failure___rarg(x_37); -x_47 = lean_ctor_get(x_46, 0); -lean_inc(x_47); -x_48 = lean_ctor_get(x_46, 1); -lean_inc(x_48); -if (lean_is_exclusive(x_46)) { - lean_ctor_release(x_46, 0); - lean_ctor_release(x_46, 1); - x_49 = x_46; -} else { - lean_dec_ref(x_46); - x_49 = lean_box(0); -} -if (lean_is_scalar(x_49)) { - x_50 = lean_alloc_ctor(1, 2, 0); -} else { - x_50 = x_49; -} -lean_ctor_set(x_50, 0, x_47); -lean_ctor_set(x_50, 1, x_48); -return x_50; -} -} -} -else -{ -lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; -lean_dec(x_38); -lean_dec(x_10); -lean_dec(x_2); -x_51 = l_Lean_Delaborator_failure___rarg(x_37); -x_52 = lean_ctor_get(x_51, 0); -lean_inc(x_52); -x_53 = lean_ctor_get(x_51, 1); -lean_inc(x_53); -if (lean_is_exclusive(x_51)) { - lean_ctor_release(x_51, 0); - lean_ctor_release(x_51, 1); - x_54 = x_51; -} else { - lean_dec_ref(x_51); - x_54 = lean_box(0); -} -if (lean_is_scalar(x_54)) { - x_55 = lean_alloc_ctor(1, 2, 0); -} else { - x_55 = x_54; -} -lean_ctor_set(x_55, 0, x_52); -lean_ctor_set(x_55, 1, x_53); -return x_55; -} -} -else -{ -lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; -lean_dec(x_38); -lean_dec(x_10); -lean_dec(x_2); -x_56 = l_Lean_Delaborator_failure___rarg(x_37); -x_57 = lean_ctor_get(x_56, 0); -lean_inc(x_57); -x_58 = lean_ctor_get(x_56, 1); -lean_inc(x_58); -if (lean_is_exclusive(x_56)) { - lean_ctor_release(x_56, 0); - lean_ctor_release(x_56, 1); - x_59 = x_56; -} else { - lean_dec_ref(x_56); - x_59 = lean_box(0); -} -if (lean_is_scalar(x_59)) { - x_60 = lean_alloc_ctor(1, 2, 0); -} else { - x_60 = x_59; -} -lean_ctor_set(x_60, 0, x_57); -lean_ctor_set(x_60, 1, x_58); -return x_60; -} -} -} -} -lean_object* l___private_Lean_Delaborator_0__Lean_Delaborator_unresolveQualifiedName___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; -x_9 = l___private_Lean_Delaborator_0__Lean_Delaborator_unresolveQualifiedName(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -return x_9; -} -} -lean_object* l___private_Lean_Delaborator_0__Lean_Delaborator_unresolveUsingNamespace_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -if (lean_obj_tag(x_1) == 1) -{ -lean_object* x_4; lean_object* x_5; size_t x_6; lean_object* x_7; lean_object* x_8; -lean_dec(x_3); -x_4 = lean_ctor_get(x_1, 0); -lean_inc(x_4); -x_5 = lean_ctor_get(x_1, 1); -lean_inc(x_5); -x_6 = lean_ctor_get_usize(x_1, 2); -x_7 = lean_box_usize(x_6); -x_8 = lean_apply_4(x_2, x_1, x_4, x_5, x_7); -return x_8; -} -else -{ -lean_object* x_9; -lean_dec(x_2); -x_9 = lean_apply_1(x_3, x_1); -return x_9; -} -} -} -lean_object* l___private_Lean_Delaborator_0__Lean_Delaborator_unresolveUsingNamespace_match__1(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Lean_Delaborator_0__Lean_Delaborator_unresolveUsingNamespace_match__1___rarg), 3, 0); -return x_2; -} -} -lean_object* l___private_Lean_Delaborator_0__Lean_Delaborator_unresolveUsingNamespace(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -if (lean_obj_tag(x_2) == 1) -{ -lean_object* x_9; lean_object* x_10; -x_9 = lean_ctor_get(x_2, 0); -lean_inc(x_1); -x_10 = l___private_Lean_Delaborator_0__Lean_Delaborator_unresolveQualifiedName(x_2, x_1, x_3, x_4, x_5, x_6, x_7, x_8); -if (lean_obj_tag(x_10) == 0) -{ -lean_dec(x_1); -return x_10; -} -else -{ -lean_object* x_11; -x_11 = lean_ctor_get(x_10, 0); -lean_inc(x_11); -if (lean_obj_tag(x_11) == 0) -{ -uint8_t x_12; -lean_dec(x_1); -x_12 = !lean_is_exclusive(x_10); -if (x_12 == 0) -{ -lean_object* x_13; -x_13 = lean_ctor_get(x_10, 0); -lean_dec(x_13); -return x_10; -} -else -{ -lean_object* x_14; lean_object* x_15; -x_14 = lean_ctor_get(x_10, 1); -lean_inc(x_14); -lean_dec(x_10); -x_15 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_15, 0, x_11); -lean_ctor_set(x_15, 1, x_14); -return x_15; -} -} -else -{ -uint8_t x_16; -x_16 = !lean_is_exclusive(x_10); -if (x_16 == 0) -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; -x_17 = lean_ctor_get(x_10, 1); -x_18 = lean_ctor_get(x_10, 0); -lean_dec(x_18); -x_19 = lean_ctor_get(x_11, 0); -lean_inc(x_19); -x_20 = l_Lean_Delaborator_delabFailureId; -x_21 = lean_nat_dec_eq(x_20, x_19); -lean_dec(x_19); -if (x_21 == 0) -{ -lean_dec(x_1); -return x_10; -} -else -{ -lean_free_object(x_10); -lean_dec(x_11); -x_2 = x_9; -x_8 = x_17; -goto _start; -} -} -else -{ -lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; -x_23 = lean_ctor_get(x_10, 1); -lean_inc(x_23); -lean_dec(x_10); -x_24 = lean_ctor_get(x_11, 0); -lean_inc(x_24); -x_25 = l_Lean_Delaborator_delabFailureId; -x_26 = lean_nat_dec_eq(x_25, x_24); -lean_dec(x_24); -if (x_26 == 0) -{ -lean_object* x_27; -lean_dec(x_1); -x_27 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_27, 0, x_11); -lean_ctor_set(x_27, 1, x_23); -return x_27; -} -else -{ -lean_dec(x_11); -x_2 = x_9; -x_8 = x_23; -goto _start; -} -} -} -} -} -else -{ -lean_object* x_29; -lean_dec(x_1); -x_29 = l_Lean_Delaborator_failure___rarg(x_8); -return x_29; -} -} -} -lean_object* l___private_Lean_Delaborator_0__Lean_Delaborator_unresolveUsingNamespace___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; -x_9 = l___private_Lean_Delaborator_0__Lean_Delaborator_unresolveUsingNamespace(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_9; -} -} -lean_object* l___private_Lean_Delaborator_0__Lean_Delaborator_unresolveOpenDecls_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -if (lean_obj_tag(x_1) == 0) -{ -lean_object* x_5; lean_object* x_6; -lean_dec(x_4); -lean_dec(x_3); -x_5 = lean_box(0); -x_6 = lean_apply_1(x_2, x_5); -return x_6; -} -else -{ -lean_object* x_7; -lean_dec(x_2); -x_7 = lean_ctor_get(x_1, 0); -lean_inc(x_7); -if (lean_obj_tag(x_7) == 0) -{ -lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; -lean_dec(x_4); -x_8 = lean_ctor_get(x_1, 1); -lean_inc(x_8); -lean_dec(x_1); -x_9 = lean_ctor_get(x_7, 0); -lean_inc(x_9); -x_10 = lean_ctor_get(x_7, 1); -lean_inc(x_10); -lean_dec(x_7); -x_11 = lean_apply_3(x_3, x_9, x_10, x_8); -return x_11; -} -else -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; -lean_dec(x_3); -x_12 = lean_ctor_get(x_1, 1); -lean_inc(x_12); -lean_dec(x_1); -x_13 = lean_ctor_get(x_7, 0); -lean_inc(x_13); -x_14 = lean_ctor_get(x_7, 1); -lean_inc(x_14); -lean_dec(x_7); -x_15 = lean_apply_3(x_4, x_13, x_14, x_12); -return x_15; -} -} -} -} -lean_object* l___private_Lean_Delaborator_0__Lean_Delaborator_unresolveOpenDecls_match__1(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Lean_Delaborator_0__Lean_Delaborator_unresolveOpenDecls_match__1___rarg), 4, 0); -return x_2; -} -} -lean_object* l___private_Lean_Delaborator_0__Lean_Delaborator_unresolveOpenDecls(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -if (lean_obj_tag(x_2) == 0) -{ -lean_object* x_9; -lean_dec(x_1); -x_9 = l_Lean_Delaborator_failure___rarg(x_8); -return x_9; -} -else -{ -lean_object* x_10; -x_10 = lean_ctor_get(x_2, 0); -if (lean_obj_tag(x_10) == 0) -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; -x_11 = lean_ctor_get(x_2, 1); -x_12 = lean_ctor_get(x_10, 0); -x_13 = lean_ctor_get(x_10, 1); -x_14 = lean_box(0); -lean_inc(x_1); -x_15 = l_Lean_Name_replacePrefix(x_1, x_12, x_14); -x_16 = lean_name_eq(x_15, x_1); -if (x_16 == 0) -{ -uint8_t x_17; -x_17 = l_List_elem___at_Lean_NameHashSet_insert___spec__2(x_15, x_13); -lean_dec(x_15); -if (x_17 == 0) -{ -lean_object* x_18; -lean_inc(x_1); -x_18 = l___private_Lean_Delaborator_0__Lean_Delaborator_unresolveQualifiedName(x_12, x_1, x_3, x_4, x_5, x_6, x_7, x_8); -if (lean_obj_tag(x_18) == 0) -{ -lean_dec(x_1); -return x_18; -} -else -{ -lean_object* x_19; -x_19 = lean_ctor_get(x_18, 0); -lean_inc(x_19); -if (lean_obj_tag(x_19) == 0) -{ -uint8_t x_20; -lean_dec(x_1); -x_20 = !lean_is_exclusive(x_18); -if (x_20 == 0) -{ -lean_object* x_21; -x_21 = lean_ctor_get(x_18, 0); -lean_dec(x_21); -return x_18; -} -else -{ -lean_object* x_22; lean_object* x_23; -x_22 = lean_ctor_get(x_18, 1); -lean_inc(x_22); -lean_dec(x_18); -x_23 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_23, 0, x_19); -lean_ctor_set(x_23, 1, x_22); -return x_23; -} -} -else -{ -uint8_t x_24; -x_24 = !lean_is_exclusive(x_18); -if (x_24 == 0) -{ -lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; -x_25 = lean_ctor_get(x_18, 1); -x_26 = lean_ctor_get(x_18, 0); -lean_dec(x_26); -x_27 = lean_ctor_get(x_19, 0); -lean_inc(x_27); -x_28 = l_Lean_Delaborator_delabFailureId; -x_29 = lean_nat_dec_eq(x_28, x_27); -lean_dec(x_27); -if (x_29 == 0) -{ -lean_dec(x_1); -return x_18; -} -else -{ -lean_free_object(x_18); -lean_dec(x_19); -x_2 = x_11; -x_8 = x_25; -goto _start; -} -} -else -{ -lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; -x_31 = lean_ctor_get(x_18, 1); -lean_inc(x_31); -lean_dec(x_18); -x_32 = lean_ctor_get(x_19, 0); -lean_inc(x_32); -x_33 = l_Lean_Delaborator_delabFailureId; -x_34 = lean_nat_dec_eq(x_33, x_32); -lean_dec(x_32); -if (x_34 == 0) -{ -lean_object* x_35; -lean_dec(x_1); -x_35 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_35, 0, x_19); -lean_ctor_set(x_35, 1, x_31); -return x_35; -} -else -{ -lean_dec(x_19); -x_2 = x_11; -x_8 = x_31; -goto _start; -} -} -} -} -} -else -{ -x_2 = x_11; -goto _start; -} -} -else -{ -lean_object* x_38; -lean_dec(x_15); -lean_inc(x_1); -x_38 = l___private_Lean_Delaborator_0__Lean_Delaborator_unresolveQualifiedName(x_12, x_1, x_3, x_4, x_5, x_6, x_7, x_8); -if (lean_obj_tag(x_38) == 0) -{ -lean_dec(x_1); -return x_38; -} -else -{ -lean_object* x_39; -x_39 = lean_ctor_get(x_38, 0); -lean_inc(x_39); -if (lean_obj_tag(x_39) == 0) -{ -uint8_t x_40; -lean_dec(x_1); -x_40 = !lean_is_exclusive(x_38); -if (x_40 == 0) -{ -lean_object* x_41; -x_41 = lean_ctor_get(x_38, 0); -lean_dec(x_41); -return x_38; -} -else -{ -lean_object* x_42; lean_object* x_43; -x_42 = lean_ctor_get(x_38, 1); -lean_inc(x_42); -lean_dec(x_38); -x_43 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_43, 0, x_39); -lean_ctor_set(x_43, 1, x_42); -return x_43; -} -} -else -{ -uint8_t x_44; -x_44 = !lean_is_exclusive(x_38); -if (x_44 == 0) -{ -lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; uint8_t x_49; -x_45 = lean_ctor_get(x_38, 1); -x_46 = lean_ctor_get(x_38, 0); -lean_dec(x_46); -x_47 = lean_ctor_get(x_39, 0); -lean_inc(x_47); -x_48 = l_Lean_Delaborator_delabFailureId; -x_49 = lean_nat_dec_eq(x_48, x_47); -lean_dec(x_47); -if (x_49 == 0) -{ -lean_dec(x_1); -return x_38; -} -else -{ -lean_free_object(x_38); -lean_dec(x_39); -x_2 = x_11; -x_8 = x_45; -goto _start; -} -} -else -{ -lean_object* x_51; lean_object* x_52; lean_object* x_53; uint8_t x_54; -x_51 = lean_ctor_get(x_38, 1); -lean_inc(x_51); -lean_dec(x_38); -x_52 = lean_ctor_get(x_39, 0); -lean_inc(x_52); -x_53 = l_Lean_Delaborator_delabFailureId; -x_54 = lean_nat_dec_eq(x_53, x_52); -lean_dec(x_52); -if (x_54 == 0) -{ -lean_object* x_55; -lean_dec(x_1); -x_55 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_55, 0, x_39); -lean_ctor_set(x_55, 1, x_51); -return x_55; -} -else -{ -lean_dec(x_39); -x_2 = x_11; -x_8 = x_51; -goto _start; -} -} -} -} -} -} -else -{ -lean_object* x_57; lean_object* x_58; lean_object* x_59; uint8_t x_60; -x_57 = lean_ctor_get(x_2, 1); -x_58 = lean_ctor_get(x_10, 0); -x_59 = lean_ctor_get(x_10, 1); -x_60 = lean_name_eq(x_1, x_59); -if (x_60 == 0) -{ -lean_object* x_61; uint8_t x_62; -x_61 = l_Lean_Delaborator_failure___rarg(x_8); -x_62 = !lean_is_exclusive(x_61); -if (x_62 == 0) -{ -lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; uint8_t x_67; -x_63 = lean_ctor_get(x_61, 0); -x_64 = lean_ctor_get(x_61, 1); -x_65 = lean_ctor_get(x_63, 0); -lean_inc(x_65); -x_66 = l_Lean_Delaborator_delabFailureId; -x_67 = lean_nat_dec_eq(x_66, x_65); -lean_dec(x_65); -if (x_67 == 0) -{ -lean_dec(x_1); -return x_61; -} -else -{ -lean_free_object(x_61); -lean_dec(x_63); -x_2 = x_57; -x_8 = x_64; -goto _start; -} -} -else -{ -lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; uint8_t x_73; -x_69 = lean_ctor_get(x_61, 0); -x_70 = lean_ctor_get(x_61, 1); -lean_inc(x_70); -lean_inc(x_69); -lean_dec(x_61); -x_71 = lean_ctor_get(x_69, 0); -lean_inc(x_71); -x_72 = l_Lean_Delaborator_delabFailureId; -x_73 = lean_nat_dec_eq(x_72, x_71); -lean_dec(x_71); -if (x_73 == 0) -{ -lean_object* x_74; -lean_dec(x_1); -x_74 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_74, 0, x_69); -lean_ctor_set(x_74, 1, x_70); -return x_74; -} -else -{ -lean_dec(x_69); -x_2 = x_57; -x_8 = x_70; -goto _start; -} -} -} -else -{ -lean_object* x_76; -lean_dec(x_1); -lean_inc(x_58); -x_76 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_76, 0, x_58); -lean_ctor_set(x_76, 1, x_8); -return x_76; -} -} -} -} -} -lean_object* l___private_Lean_Delaborator_0__Lean_Delaborator_unresolveOpenDecls___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; -x_9 = l___private_Lean_Delaborator_0__Lean_Delaborator_unresolveOpenDecls(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_9; -} -} -lean_object* l_Lean_Delaborator_delabConst_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -if (lean_obj_tag(x_1) == 4) -{ -lean_object* x_4; lean_object* x_5; uint64_t x_6; lean_object* x_7; lean_object* x_8; -lean_dec(x_3); -x_4 = lean_ctor_get(x_1, 0); -lean_inc(x_4); -x_5 = lean_ctor_get(x_1, 1); -lean_inc(x_5); -x_6 = lean_ctor_get_uint64(x_1, sizeof(void*)*2); -lean_dec(x_1); -x_7 = lean_box_uint64(x_6); -x_8 = lean_apply_3(x_2, x_4, x_5, x_7); -return x_8; -} -else -{ -lean_object* x_9; -lean_dec(x_2); -x_9 = lean_apply_1(x_3, x_1); -return x_9; -} -} -} -lean_object* l_Lean_Delaborator_delabConst_match__1(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabConst_match__1___rarg), 3, 0); -return x_2; -} -} -lean_object* l_Array_mapMUnsafe_map___at_Lean_Delaborator_delabConst___spec__1(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; -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 = l_Lean_Level_quote(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; -} -} -} -static lean_object* _init_l_Lean_Delaborator_delabConst___lambda__1___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_getPPUniverses___boxed), 1, 0); -return x_1; -} -} -static lean_object* _init_l_Lean_Delaborator_delabConst___lambda__1___closed__2() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("explicitUniv"); -return x_1; -} -} -static lean_object* _init_l_Lean_Delaborator_delabConst___lambda__1___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_38____closed__6; -x_2 = l_Lean_Delaborator_delabConst___lambda__1___closed__2; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Delaborator_delabConst___lambda__1___closed__4() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string(".{"); -return x_1; -} -} -static lean_object* _init_l_Lean_Delaborator_delabConst___lambda__1___closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_instInhabitedSourceInfo___closed__1; -x_2 = l_Lean_Delaborator_delabConst___lambda__1___closed__4; -x_3 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Delaborator_delabConst___lambda__1___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_myMacro____x40_Init_Notation___hyg_7791____closed__7; -x_2 = l_Lean_mkAtom(x_1); -return x_2; -} -} -lean_object* l_Lean_Delaborator_delabConst___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; -x_9 = l_Lean_Delaborator_delabConst___lambda__1___closed__1; -x_10 = l_Lean_Delaborator_getPPOption(x_9, x_3, x_4, x_5, x_6, x_7, x_8); -x_11 = lean_ctor_get(x_10, 0); -lean_inc(x_11); -x_12 = lean_unbox(x_11); -lean_dec(x_11); -if (x_12 == 0) -{ -uint8_t x_13; -lean_dec(x_1); -x_13 = !lean_is_exclusive(x_10); -if (x_13 == 0) -{ -lean_object* x_14; lean_object* x_15; -x_14 = lean_ctor_get(x_10, 0); -lean_dec(x_14); -x_15 = lean_mk_syntax_ident(x_2); -lean_ctor_set(x_10, 0, x_15); -return x_10; -} -else -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_16 = lean_ctor_get(x_10, 1); -lean_inc(x_16); -lean_dec(x_10); -x_17 = lean_mk_syntax_ident(x_2); -x_18 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_18, 0, x_17); -lean_ctor_set(x_18, 1, x_16); -return x_18; -} -} -else -{ -uint8_t x_19; -x_19 = !lean_is_exclusive(x_10); -if (x_19 == 0) -{ -lean_object* x_20; uint8_t x_21; -x_20 = lean_ctor_get(x_10, 0); -lean_dec(x_20); -x_21 = l_List_isEmpty___rarg(x_1); -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; size_t x_31; size_t x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; -x_22 = lean_mk_syntax_ident(x_2); -x_23 = l_Array_empty___closed__1; -x_24 = lean_array_push(x_23, x_22); -x_25 = l_Lean_Delaborator_delabConst___lambda__1___closed__5; -x_26 = lean_array_push(x_24, x_25); -x_27 = l_List_redLength___rarg(x_1); -x_28 = lean_mk_empty_array_with_capacity(x_27); -lean_dec(x_27); -x_29 = l_List_toArrayAux___rarg(x_1, x_28); -x_30 = lean_array_get_size(x_29); -x_31 = lean_usize_of_nat(x_30); -lean_dec(x_30); -x_32 = 0; -x_33 = x_29; -x_34 = l_Array_mapMUnsafe_map___at_Lean_Delaborator_delabConst___spec__1(x_31, x_32, x_33); -x_35 = x_34; -x_36 = l_Lean_Delaborator_delabConst___lambda__1___closed__6; -x_37 = l_Lean_mkSepArray(x_35, x_36); -lean_dec(x_35); -x_38 = l_Array_appendCore___rarg(x_23, x_37); -lean_dec(x_37); -x_39 = l_Lean_nullKind___closed__2; -x_40 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_40, 0, x_39); -lean_ctor_set(x_40, 1, x_38); -x_41 = lean_array_push(x_26, x_40); -x_42 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__21; -x_43 = lean_array_push(x_41, x_42); -x_44 = l_Lean_Delaborator_delabConst___lambda__1___closed__3; -x_45 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_45, 0, x_44); -lean_ctor_set(x_45, 1, x_43); -lean_ctor_set(x_10, 0, x_45); -return x_10; -} -else -{ -lean_object* x_46; -lean_dec(x_1); -x_46 = lean_mk_syntax_ident(x_2); -lean_ctor_set(x_10, 0, x_46); -return x_10; -} -} -else -{ -lean_object* x_47; uint8_t x_48; -x_47 = lean_ctor_get(x_10, 1); -lean_inc(x_47); -lean_dec(x_10); -x_48 = l_List_isEmpty___rarg(x_1); -if (x_48 == 0) -{ -lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; size_t x_58; size_t x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; 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_49 = lean_mk_syntax_ident(x_2); -x_50 = l_Array_empty___closed__1; -x_51 = lean_array_push(x_50, x_49); -x_52 = l_Lean_Delaborator_delabConst___lambda__1___closed__5; -x_53 = lean_array_push(x_51, x_52); -x_54 = l_List_redLength___rarg(x_1); -x_55 = lean_mk_empty_array_with_capacity(x_54); -lean_dec(x_54); -x_56 = l_List_toArrayAux___rarg(x_1, x_55); -x_57 = lean_array_get_size(x_56); -x_58 = lean_usize_of_nat(x_57); -lean_dec(x_57); -x_59 = 0; -x_60 = x_56; -x_61 = l_Array_mapMUnsafe_map___at_Lean_Delaborator_delabConst___spec__1(x_58, x_59, x_60); -x_62 = x_61; -x_63 = l_Lean_Delaborator_delabConst___lambda__1___closed__6; -x_64 = l_Lean_mkSepArray(x_62, x_63); -lean_dec(x_62); -x_65 = l_Array_appendCore___rarg(x_50, x_64); -lean_dec(x_64); -x_66 = l_Lean_nullKind___closed__2; -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_53, x_67); -x_69 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__21; -x_70 = lean_array_push(x_68, x_69); -x_71 = l_Lean_Delaborator_delabConst___lambda__1___closed__3; -x_72 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_72, 0, x_71); -lean_ctor_set(x_72, 1, x_70); -x_73 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_73, 0, x_72); -lean_ctor_set(x_73, 1, x_47); -return x_73; -} -else -{ -lean_object* x_74; lean_object* x_75; -lean_dec(x_1); -x_74 = lean_mk_syntax_ident(x_2); -x_75 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_75, 0, x_74); -lean_ctor_set(x_75, 1, x_47); -return x_75; -} -} -} -} -} -static lean_object* _init_l_Lean_Delaborator_delabConst___lambda__2___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_getPPPrivateNames___boxed), 1, 0); -return x_1; -} -} -lean_object* l_Lean_Delaborator_delabConst___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; -x_9 = l_Lean_Delaborator_delabConst___lambda__2___closed__1; -lean_inc(x_3); -x_10 = l_Lean_Delaborator_getPPOption(x_9, x_3, x_4, x_5, x_6, x_7, x_8); -x_11 = lean_ctor_get(x_10, 0); -lean_inc(x_11); -x_12 = lean_unbox(x_11); -lean_dec(x_11); -if (x_12 == 0) -{ -lean_object* x_13; lean_object* x_14; -x_13 = lean_ctor_get(x_10, 1); -lean_inc(x_13); -lean_dec(x_10); -lean_inc(x_2); -x_14 = lean_private_to_user_name(x_2); -if (lean_obj_tag(x_14) == 0) -{ -lean_object* x_15; -x_15 = l_Lean_Delaborator_delabConst___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_13); -return x_15; -} -else -{ -lean_object* x_16; lean_object* x_17; -lean_dec(x_2); -x_16 = lean_ctor_get(x_14, 0); -lean_inc(x_16); -lean_dec(x_14); -x_17 = l_Lean_Delaborator_delabConst___lambda__1(x_1, x_16, x_3, x_4, x_5, x_6, x_7, x_13); -return x_17; -} -} -else -{ -lean_object* x_18; lean_object* x_19; -x_18 = lean_ctor_get(x_10, 1); -lean_inc(x_18); -lean_dec(x_10); -x_19 = l_Lean_Delaborator_delabConst___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_18); -return x_19; -} -} -} -static lean_object* _init_l_Lean_Delaborator_delabConst___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("Lean.Delaborator.delabConst"); -return x_1; -} -} -static lean_object* _init_l_Lean_Delaborator_delabConst___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_1 = l_Lean_Delaborator_withAppFn___rarg___closed__2; -x_2 = l_Lean_Delaborator_delabConst___closed__1; -x_3 = lean_unsigned_to_nat(318u); -x_4 = lean_unsigned_to_nat(36u); -x_5 = l_Lean_Syntax_strLitToAtom___closed__3; -x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); -return x_6; -} -} -static lean_object* _init_l_Lean_Delaborator_delabConst___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_getPPFullNames___boxed), 1, 0); -return x_1; -} -} -lean_object* l_Lean_Delaborator_delabConst(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; lean_object* x_8; -x_7 = l_Lean_Delaborator_getExpr(x_1, x_2, x_3, x_4, x_5, x_6); -x_8 = lean_ctor_get(x_7, 0); -lean_inc(x_8); -if (lean_obj_tag(x_8) == 4) -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; -x_9 = lean_ctor_get(x_7, 1); -lean_inc(x_9); -lean_dec(x_7); -x_10 = lean_ctor_get(x_8, 0); -lean_inc(x_10); -x_11 = lean_ctor_get(x_8, 1); -lean_inc(x_11); -lean_dec(x_8); -x_12 = l_Lean_Delaborator_delabConst___closed__3; -lean_inc(x_1); -x_13 = l_Lean_Delaborator_getPPOption(x_12, x_1, x_2, x_3, x_4, x_5, x_9); -x_14 = lean_ctor_get(x_13, 0); -lean_inc(x_14); -x_15 = lean_unbox(x_14); -lean_dec(x_14); -if (x_15 == 0) -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_16 = lean_ctor_get(x_13, 1); -lean_inc(x_16); -lean_dec(x_13); -x_17 = lean_st_ref_get(x_5, x_16); -x_18 = lean_ctor_get(x_17, 0); -lean_inc(x_18); -x_19 = lean_ctor_get(x_17, 1); -lean_inc(x_19); -lean_dec(x_17); -x_20 = lean_ctor_get(x_18, 0); -lean_inc(x_20); -lean_dec(x_18); -lean_inc(x_10); -x_21 = l_Lean_getRevAliases(x_20, x_10); -lean_dec(x_20); -x_22 = l_List_headD___rarg(x_21, x_10); -lean_dec(x_10); -lean_dec(x_21); -x_23 = lean_ctor_get(x_1, 4); -lean_inc(x_23); -x_24 = lean_ctor_get(x_1, 5); -lean_inc(x_24); -lean_inc(x_22); -x_25 = l___private_Lean_Delaborator_0__Lean_Delaborator_unresolveUsingNamespace(x_22, x_23, x_1, x_2, x_3, x_4, x_5, x_19); -lean_dec(x_23); -if (lean_obj_tag(x_25) == 0) -{ -lean_object* x_26; lean_object* x_27; lean_object* x_28; -lean_dec(x_24); -lean_dec(x_22); -x_26 = lean_ctor_get(x_25, 0); -lean_inc(x_26); -x_27 = lean_ctor_get(x_25, 1); -lean_inc(x_27); -lean_dec(x_25); -x_28 = l_Lean_Delaborator_delabConst___lambda__2(x_11, x_26, x_1, x_2, x_3, x_4, x_5, x_27); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_28; -} -else -{ -lean_object* x_29; -x_29 = lean_ctor_get(x_25, 0); -lean_inc(x_29); -if (lean_obj_tag(x_29) == 0) -{ -uint8_t x_30; -lean_dec(x_24); -lean_dec(x_22); -lean_dec(x_11); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_30 = !lean_is_exclusive(x_25); -if (x_30 == 0) -{ -lean_object* x_31; -x_31 = lean_ctor_get(x_25, 0); -lean_dec(x_31); -return x_25; -} -else -{ -lean_object* x_32; lean_object* x_33; -x_32 = lean_ctor_get(x_25, 1); -lean_inc(x_32); -lean_dec(x_25); -x_33 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_33, 0, x_29); -lean_ctor_set(x_33, 1, x_32); -return x_33; -} -} -else -{ -uint8_t x_34; -x_34 = !lean_is_exclusive(x_25); -if (x_34 == 0) -{ -lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; -x_35 = lean_ctor_get(x_25, 1); -x_36 = lean_ctor_get(x_25, 0); -lean_dec(x_36); -x_37 = lean_ctor_get(x_29, 0); -lean_inc(x_37); -x_38 = l_Lean_Delaborator_delabFailureId; -x_39 = lean_nat_dec_eq(x_38, x_37); -lean_dec(x_37); -if (x_39 == 0) -{ -lean_dec(x_24); -lean_dec(x_22); -lean_dec(x_11); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_25; -} -else -{ -lean_object* x_40; -lean_free_object(x_25); -lean_dec(x_29); -lean_inc(x_22); -x_40 = l___private_Lean_Delaborator_0__Lean_Delaborator_unresolveOpenDecls(x_22, x_24, x_1, x_2, x_3, x_4, x_5, x_35); -lean_dec(x_24); -if (lean_obj_tag(x_40) == 0) -{ -lean_object* x_41; lean_object* x_42; lean_object* x_43; -lean_dec(x_22); -x_41 = lean_ctor_get(x_40, 0); -lean_inc(x_41); -x_42 = lean_ctor_get(x_40, 1); -lean_inc(x_42); -lean_dec(x_40); -x_43 = l_Lean_Delaborator_delabConst___lambda__2(x_11, x_41, x_1, x_2, x_3, x_4, x_5, x_42); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_43; -} -else -{ -lean_object* x_44; -x_44 = lean_ctor_get(x_40, 0); -lean_inc(x_44); -if (lean_obj_tag(x_44) == 0) -{ -uint8_t x_45; -lean_dec(x_22); -lean_dec(x_11); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_45 = !lean_is_exclusive(x_40); -if (x_45 == 0) -{ -lean_object* x_46; -x_46 = lean_ctor_get(x_40, 0); -lean_dec(x_46); -return x_40; -} -else -{ -lean_object* x_47; lean_object* x_48; -x_47 = lean_ctor_get(x_40, 1); -lean_inc(x_47); -lean_dec(x_40); -x_48 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_48, 0, x_44); -lean_ctor_set(x_48, 1, x_47); -return x_48; -} -} -else -{ -uint8_t x_49; -x_49 = !lean_is_exclusive(x_40); -if (x_49 == 0) -{ -lean_object* x_50; lean_object* x_51; lean_object* x_52; uint8_t x_53; -x_50 = lean_ctor_get(x_40, 1); -x_51 = lean_ctor_get(x_40, 0); -lean_dec(x_51); -x_52 = lean_ctor_get(x_44, 0); -lean_inc(x_52); -x_53 = lean_nat_dec_eq(x_38, x_52); -lean_dec(x_52); -if (x_53 == 0) -{ -lean_dec(x_22); -lean_dec(x_11); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_40; -} -else -{ -lean_object* x_54; -lean_free_object(x_40); -lean_dec(x_44); -x_54 = l_Lean_Delaborator_delabConst___lambda__2(x_11, x_22, x_1, x_2, x_3, x_4, x_5, x_50); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_54; -} -} -else -{ -lean_object* x_55; lean_object* x_56; uint8_t x_57; -x_55 = lean_ctor_get(x_40, 1); -lean_inc(x_55); -lean_dec(x_40); -x_56 = lean_ctor_get(x_44, 0); -lean_inc(x_56); -x_57 = lean_nat_dec_eq(x_38, x_56); -lean_dec(x_56); -if (x_57 == 0) -{ -lean_object* x_58; -lean_dec(x_22); -lean_dec(x_11); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_58 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_58, 0, x_44); -lean_ctor_set(x_58, 1, x_55); -return x_58; -} -else -{ -lean_object* x_59; -lean_dec(x_44); -x_59 = l_Lean_Delaborator_delabConst___lambda__2(x_11, x_22, x_1, 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); -return x_59; -} -} -} -} -} -} -else -{ -lean_object* x_60; lean_object* x_61; lean_object* x_62; uint8_t x_63; -x_60 = lean_ctor_get(x_25, 1); -lean_inc(x_60); -lean_dec(x_25); -x_61 = lean_ctor_get(x_29, 0); -lean_inc(x_61); -x_62 = l_Lean_Delaborator_delabFailureId; -x_63 = lean_nat_dec_eq(x_62, x_61); -lean_dec(x_61); -if (x_63 == 0) -{ -lean_object* x_64; -lean_dec(x_24); -lean_dec(x_22); -lean_dec(x_11); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_64 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_64, 0, x_29); -lean_ctor_set(x_64, 1, x_60); -return x_64; -} -else -{ -lean_object* x_65; -lean_dec(x_29); -lean_inc(x_22); -x_65 = l___private_Lean_Delaborator_0__Lean_Delaborator_unresolveOpenDecls(x_22, x_24, x_1, x_2, x_3, x_4, x_5, x_60); -lean_dec(x_24); -if (lean_obj_tag(x_65) == 0) -{ -lean_object* x_66; lean_object* x_67; lean_object* x_68; -lean_dec(x_22); -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_Lean_Delaborator_delabConst___lambda__2(x_11, x_66, x_1, x_2, x_3, x_4, x_5, x_67); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_68; -} -else -{ -lean_object* x_69; -x_69 = lean_ctor_get(x_65, 0); -lean_inc(x_69); -if (lean_obj_tag(x_69) == 0) -{ -lean_object* x_70; lean_object* x_71; lean_object* x_72; -lean_dec(x_22); -lean_dec(x_11); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_70 = lean_ctor_get(x_65, 1); -lean_inc(x_70); -if (lean_is_exclusive(x_65)) { - lean_ctor_release(x_65, 0); - lean_ctor_release(x_65, 1); - x_71 = x_65; -} else { - lean_dec_ref(x_65); - x_71 = lean_box(0); -} -if (lean_is_scalar(x_71)) { - x_72 = lean_alloc_ctor(1, 2, 0); -} else { - x_72 = x_71; -} -lean_ctor_set(x_72, 0, x_69); -lean_ctor_set(x_72, 1, x_70); -return x_72; -} -else -{ -lean_object* x_73; lean_object* x_74; lean_object* x_75; uint8_t x_76; -x_73 = lean_ctor_get(x_65, 1); -lean_inc(x_73); -if (lean_is_exclusive(x_65)) { - lean_ctor_release(x_65, 0); - lean_ctor_release(x_65, 1); - x_74 = x_65; -} else { - lean_dec_ref(x_65); - x_74 = lean_box(0); -} -x_75 = lean_ctor_get(x_69, 0); -lean_inc(x_75); -x_76 = lean_nat_dec_eq(x_62, x_75); -lean_dec(x_75); -if (x_76 == 0) -{ -lean_object* x_77; -lean_dec(x_22); -lean_dec(x_11); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -if (lean_is_scalar(x_74)) { - x_77 = lean_alloc_ctor(1, 2, 0); -} else { - x_77 = x_74; -} -lean_ctor_set(x_77, 0, x_69); -lean_ctor_set(x_77, 1, x_73); -return x_77; -} -else -{ -lean_object* x_78; -lean_dec(x_74); -lean_dec(x_69); -x_78 = l_Lean_Delaborator_delabConst___lambda__2(x_11, x_22, x_1, x_2, x_3, x_4, x_5, x_73); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_78; -} -} -} -} -} -} -} -} -else -{ -lean_object* x_79; lean_object* x_80; -x_79 = lean_ctor_get(x_13, 1); -lean_inc(x_79); -lean_dec(x_13); -x_80 = l_Lean_Delaborator_delabConst___lambda__2(x_11, x_10, x_1, x_2, x_3, x_4, x_5, x_79); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -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_dec(x_8); -x_81 = lean_ctor_get(x_7, 1); -lean_inc(x_81); -lean_dec(x_7); -x_82 = l_Lean_Delaborator_withAppFn___rarg___closed__1; -x_83 = l_Lean_Delaborator_delabConst___closed__2; -x_84 = lean_panic_fn(x_82, x_83); -x_85 = lean_apply_6(x_84, x_1, x_2, x_3, x_4, x_5, x_81); -return x_85; -} -} -} -lean_object* l_Array_mapMUnsafe_map___at_Lean_Delaborator_delabConst___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_Lean_Delaborator_delabConst___spec__1(x_4, x_5, x_3); -return x_6; -} -} -lean_object* l_Lean_Delaborator_delabConst___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; -x_9 = l_Lean_Delaborator_delabConst___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -return x_9; -} -} -lean_object* l_Lean_Delaborator_delabConst___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; -x_9 = l_Lean_Delaborator_delabConst___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -return x_9; -} -} -lean_object* l_Lean_Delaborator_getParamKinds_match__1___rarg(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_2); -x_4 = lean_apply_1(x_3, x_1); -return x_4; -} -else -{ -lean_object* x_5; lean_object* x_6; -lean_dec(x_3); -x_5 = lean_ctor_get(x_1, 0); -lean_inc(x_5); -lean_dec(x_1); -x_6 = lean_apply_1(x_2, x_5); -return x_6; -} -} -} -lean_object* l_Lean_Delaborator_getParamKinds_match__1(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Delaborator_getParamKinds_match__1___rarg), 3, 0); -return x_2; -} -} -static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Delaborator_getParamKinds___spec__1___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = lean_box(0); -x_2 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Delaborator_getParamKinds___spec__1___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Array_mapMUnsafe_map___at_Lean_Delaborator_getParamKinds___spec__1___closed__1; -x_2 = x_1; -return x_2; -} -} -static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Delaborator_getParamKinds___spec__1___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = lean_box(0); -x_2 = x_1; -return x_2; -} -} -lean_object* l_Array_mapMUnsafe_map___at_Lean_Delaborator_getParamKinds___spec__1(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -uint8_t x_9; -x_9 = x_2 < x_1; -if (x_9 == 0) -{ -lean_object* x_10; lean_object* x_11; -lean_dec(x_4); -x_10 = x_3; -x_11 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_11, 0, x_10); -lean_ctor_set(x_11, 1, x_8); -return x_11; -} -else -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_12 = lean_array_uget(x_3, x_2); -x_13 = lean_unsigned_to_nat(0u); -x_14 = lean_array_uset(x_3, x_2, x_13); -x_15 = x_12; -x_16 = l_Lean_Expr_fvarId_x21(x_15); -lean_dec(x_15); -lean_inc(x_4); -x_17 = l_Lean_Meta_getLocalDecl___at_Lean_Meta_getFVarLocalDecl___spec__1(x_16, x_4, x_5, x_6, x_7, x_8); -if (lean_obj_tag(x_17) == 0) -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_18 = lean_ctor_get(x_17, 0); -lean_inc(x_18); -x_19 = lean_ctor_get(x_17, 1); -lean_inc(x_19); -lean_dec(x_17); -x_20 = l_Lean_LocalDecl_type(x_18); -x_21 = l_Lean_Expr_getOptParamDefault_x3f(x_20); -if (lean_obj_tag(x_21) == 0) -{ -uint8_t x_22; uint8_t x_23; uint8_t x_24; -x_22 = l_Lean_Expr_isAutoParam(x_20); -lean_dec(x_20); -x_23 = l_Lean_LocalDecl_binderInfo(x_18); -lean_dec(x_18); -x_24 = l_Lean_BinderInfo_isExplicit(x_23); -if (x_24 == 0) -{ -size_t x_25; size_t x_26; lean_object* x_27; lean_object* x_28; -x_25 = 1; -x_26 = x_2 + x_25; -x_27 = l_Array_mapMUnsafe_map___at_Lean_Delaborator_getParamKinds___spec__1___closed__2; -x_28 = lean_array_uset(x_14, x_2, x_27); -x_2 = x_26; -x_3 = x_28; -x_8 = x_19; -goto _start; -} -else -{ -if (x_22 == 0) -{ -size_t x_30; size_t x_31; lean_object* x_32; lean_object* x_33; -x_30 = 1; -x_31 = x_2 + x_30; -x_32 = l_Array_mapMUnsafe_map___at_Lean_Delaborator_getParamKinds___spec__1___closed__3; -x_33 = lean_array_uset(x_14, x_2, x_32); -x_2 = x_31; -x_3 = x_33; -x_8 = x_19; -goto _start; -} -else -{ -size_t x_35; size_t x_36; lean_object* x_37; lean_object* x_38; -x_35 = 1; -x_36 = x_2 + x_35; -x_37 = l_Array_mapMUnsafe_map___at_Lean_Delaborator_getParamKinds___spec__1___closed__2; -x_38 = lean_array_uset(x_14, x_2, x_37); -x_2 = x_36; -x_3 = x_38; -x_8 = x_19; -goto _start; -} -} -} -else -{ -uint8_t x_40; -lean_dec(x_20); -lean_dec(x_18); -x_40 = !lean_is_exclusive(x_21); -if (x_40 == 0) -{ -lean_object* x_41; size_t x_42; size_t x_43; lean_object* x_44; lean_object* x_45; -x_41 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_41, 0, x_21); -x_42 = 1; -x_43 = x_2 + x_42; -x_44 = x_41; -x_45 = lean_array_uset(x_14, x_2, x_44); -x_2 = x_43; -x_3 = x_45; -x_8 = x_19; -goto _start; -} -else -{ -lean_object* x_47; lean_object* x_48; lean_object* x_49; size_t x_50; size_t x_51; lean_object* x_52; lean_object* x_53; -x_47 = lean_ctor_get(x_21, 0); -lean_inc(x_47); -lean_dec(x_21); -x_48 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_48, 0, x_47); -x_49 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_49, 0, x_48); -x_50 = 1; -x_51 = x_2 + x_50; -x_52 = x_49; -x_53 = lean_array_uset(x_14, x_2, x_52); -x_2 = x_51; -x_3 = x_53; -x_8 = x_19; -goto _start; -} -} -} -else -{ -uint8_t x_55; -lean_dec(x_14); -lean_dec(x_4); -x_55 = !lean_is_exclusive(x_17); -if (x_55 == 0) -{ -return x_17; -} -else -{ -lean_object* x_56; lean_object* x_57; lean_object* x_58; -x_56 = lean_ctor_get(x_17, 0); -x_57 = lean_ctor_get(x_17, 1); -lean_inc(x_57); -lean_inc(x_56); -lean_dec(x_17); -x_58 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_58, 0, x_56); -lean_ctor_set(x_58, 1, x_57); -return x_58; -} -} -} -} -} -static lean_object* _init_l_Lean_Delaborator_getParamKinds___lambda__1___boxed__const__1() { -_start: -{ -size_t x_1; lean_object* x_2; -x_1 = 0; -x_2 = lean_box_usize(x_1); -return x_2; -} -} -lean_object* l_Lean_Delaborator_getParamKinds___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; size_t x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; -x_8 = lean_array_get_size(x_1); -x_9 = lean_usize_of_nat(x_8); -lean_dec(x_8); -x_10 = x_1; -x_11 = lean_box_usize(x_9); -x_12 = l_Lean_Delaborator_getParamKinds___lambda__1___boxed__const__1; -x_13 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Delaborator_getParamKinds___spec__1___boxed), 8, 3); -lean_closure_set(x_13, 0, x_11); -lean_closure_set(x_13, 1, x_12); -lean_closure_set(x_13, 2, x_10); -x_14 = x_13; -x_15 = lean_apply_5(x_14, x_3, x_4, x_5, x_6, x_7); -return x_15; -} -} -static lean_object* _init_l_Lean_Delaborator_getParamKinds___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_getParamKinds___lambda__1___boxed), 7, 0); -return x_1; -} -} -lean_object* l_Lean_Delaborator_getParamKinds(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); -x_7 = l_Lean_Meta_inferType___at___private_Lean_Meta_InferType_0__Lean_Meta_inferAppType___spec__1(x_1, x_2, x_3, x_4, x_5, x_6); -if (lean_obj_tag(x_7) == 0) -{ -lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; -x_8 = lean_ctor_get(x_7, 0); -lean_inc(x_8); -x_9 = lean_ctor_get(x_7, 1); -lean_inc(x_9); -lean_dec(x_7); -x_10 = l_Lean_Delaborator_getParamKinds___closed__1; -x_11 = l_Lean_Meta_forallTelescopeReducing___at_Lean_Meta_getParamNamesImp___spec__3___rarg(x_8, x_10, x_2, x_3, x_4, x_5, x_9); -return x_11; -} -else -{ -uint8_t x_12; -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_12 = !lean_is_exclusive(x_7); -if (x_12 == 0) -{ -return x_7; -} -else -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; -x_13 = lean_ctor_get(x_7, 0); -x_14 = lean_ctor_get(x_7, 1); -lean_inc(x_14); -lean_inc(x_13); -lean_dec(x_7); -x_15 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_15, 0, x_13); -lean_ctor_set(x_15, 1, x_14); -return x_15; -} -} -} -} -lean_object* l_Array_mapMUnsafe_map___at_Lean_Delaborator_getParamKinds___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -size_t x_9; size_t x_10; lean_object* x_11; -x_9 = lean_unbox_usize(x_1); -lean_dec(x_1); -x_10 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_11 = l_Array_mapMUnsafe_map___at_Lean_Delaborator_getParamKinds___spec__1(x_9, x_10, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -return x_11; -} -} -lean_object* l_Lean_Delaborator_getParamKinds___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; -x_8 = l_Lean_Delaborator_getParamKinds___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); -lean_dec(x_2); -return x_8; -} -} -lean_object* l_Lean_Delaborator_delabAppExplicit_match__1___rarg(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_object* x_5; -lean_dec(x_3); -x_4 = lean_box(0); -x_5 = lean_apply_1(x_2, x_4); -return x_5; -} -else -{ -lean_object* x_6; -lean_dec(x_2); -x_6 = lean_apply_1(x_3, x_1); -return x_6; -} -} -} -lean_object* l_Lean_Delaborator_delabAppExplicit_match__1(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabAppExplicit_match__1___rarg), 3, 0); -return x_2; -} -} -lean_object* l_Lean_Delaborator_delabAppExplicit_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_Lean_Delaborator_delabAppExplicit_match__2(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabAppExplicit_match__2___rarg), 2, 0); -return x_2; -} -} -lean_object* l_Lean_Delaborator_delabAppExplicit_match__3___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_Lean_Delaborator_delabAppExplicit_match__3(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabAppExplicit_match__3___rarg), 2, 0); -return x_2; -} -} -uint8_t l_Array_anyMUnsafe_any___at_Lean_Delaborator_delabAppExplicit___spec__1(lean_object* x_1, size_t x_2, size_t x_3) { -_start: -{ -uint8_t x_4; -x_4 = x_2 == x_3; -if (x_4 == 0) -{ -lean_object* x_5; -x_5 = lean_array_uget(x_1, x_2); -if (lean_obj_tag(x_5) == 0) -{ -size_t x_6; size_t x_7; -x_6 = 1; -x_7 = x_2 + x_6; -x_2 = x_7; -goto _start; -} -else -{ -uint8_t x_9; -lean_dec(x_5); -x_9 = 1; -return x_9; -} -} -else -{ -uint8_t x_10; -x_10 = 0; -return x_10; -} -} -} -lean_object* l_ReaderT_bind___at_Lean_Delaborator_delabAppExplicit___spec__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -x_9 = lean_apply_6(x_1, 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; -x_10 = lean_ctor_get(x_9, 0); -lean_inc(x_10); -x_11 = lean_ctor_get(x_9, 1); -lean_inc(x_11); -lean_dec(x_9); -x_12 = lean_apply_7(x_2, x_10, x_3, x_4, x_5, x_6, x_7, x_11); -return x_12; -} -else -{ -uint8_t x_13; -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_13 = !lean_is_exclusive(x_9); -if (x_13 == 0) -{ -return x_9; -} -else -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_14 = lean_ctor_get(x_9, 0); -x_15 = lean_ctor_get(x_9, 1); -lean_inc(x_15); -lean_inc(x_14); -lean_dec(x_9); -x_16 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_16, 0, x_14); -lean_ctor_set(x_16, 1, x_15); -return x_16; -} -} -} -} -lean_object* l_ReaderT_bind___at_Lean_Delaborator_delabAppExplicit___spec__2(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Delaborator_delabAppExplicit___spec__2___rarg), 8, 0); -return x_3; -} -} -lean_object* l_Lean_Delaborator_delabAppExplicit___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; lean_object* x_9; lean_object* x_10; -x_8 = l_Array_empty___closed__1; -x_9 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_9, 0, x_1); -lean_ctor_set(x_9, 1, 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_7); -return x_10; -} -} -static lean_object* _init_l_Lean_Delaborator_delabAppExplicit___lambda__2___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabAppExplicit___lambda__1___boxed), 7, 0); -return x_1; -} -} -static lean_object* _init_l_Lean_Delaborator_delabAppExplicit___lambda__2___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_instInhabitedSourceInfo___closed__1; -x_2 = l_Lean_Elab_Term_MVarErrorInfo_logError___closed__1; -x_3 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Delaborator_delabAppExplicit___lambda__2___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_empty___closed__1; -x_2 = l_Lean_Delaborator_delabAppExplicit___lambda__2___closed__2; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -lean_object* l_Lean_Delaborator_delabAppExplicit___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; lean_object* x_10; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; -x_28 = lean_st_ref_get(x_7, x_8); -x_29 = lean_ctor_get(x_28, 0); -lean_inc(x_29); -x_30 = lean_ctor_get(x_28, 1); -lean_inc(x_30); -lean_dec(x_28); -x_31 = lean_ctor_get(x_29, 0); -lean_inc(x_31); -lean_dec(x_29); -x_32 = lean_st_ref_get(x_7, x_30); -x_33 = lean_ctor_get(x_32, 1); -lean_inc(x_33); -lean_dec(x_32); -x_34 = lean_st_ref_get(x_5, x_33); -x_35 = lean_ctor_get(x_34, 0); -lean_inc(x_35); -x_36 = lean_ctor_get(x_34, 1); -lean_inc(x_36); -lean_dec(x_34); -x_37 = lean_ctor_get(x_35, 0); -lean_inc(x_37); -lean_dec(x_35); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -x_38 = l_Lean_Delaborator_getParamKinds(x_1, x_4, x_5, x_6, x_7, x_36); -if (lean_obj_tag(x_38) == 0) -{ -lean_object* x_39; lean_object* x_40; -lean_dec(x_37); -lean_dec(x_31); -x_39 = lean_ctor_get(x_38, 0); -lean_inc(x_39); -x_40 = lean_ctor_get(x_38, 1); -lean_inc(x_40); -lean_dec(x_38); -x_9 = x_39; -x_10 = x_40; -goto block_27; -} -else -{ -lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; -x_41 = lean_ctor_get(x_38, 1); -lean_inc(x_41); -lean_dec(x_38); -x_42 = l_Lean_setEnv___at_Lean_Meta_setInlineAttribute___spec__1(x_31, x_4, x_5, x_6, x_7, x_41); -x_43 = lean_ctor_get(x_42, 1); -lean_inc(x_43); -lean_dec(x_42); -x_44 = l_Lean_Meta_setMCtx___at___private_Lean_Meta_Basic_0__Lean_Meta_liftMkBindingM___spec__1(x_37, x_4, x_5, x_6, x_7, x_43); -x_45 = lean_ctor_get(x_44, 1); -lean_inc(x_45); -lean_dec(x_44); -x_46 = l_Array_empty___closed__1; -x_9 = x_46; -x_10 = x_45; -goto block_27; -} -block_27: -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; -x_11 = l_Lean_Delaborator_delabAppExplicit___lambda__2___closed__1; -x_12 = lean_array_get_size(x_9); -x_13 = lean_unsigned_to_nat(0u); -x_14 = lean_nat_dec_lt(x_13, x_12); -if (x_14 == 0) -{ -lean_object* x_15; -lean_dec(x_12); -lean_dec(x_9); -x_15 = lean_apply_7(x_11, x_2, x_3, x_4, x_5, x_6, x_7, x_10); -return x_15; -} -else -{ -uint8_t x_16; -x_16 = lean_nat_dec_le(x_12, x_12); -if (x_16 == 0) -{ -lean_object* x_17; -lean_dec(x_12); -lean_dec(x_9); -x_17 = lean_apply_7(x_11, x_2, x_3, x_4, x_5, x_6, x_7, x_10); -return x_17; -} -else -{ -size_t x_18; size_t x_19; uint8_t x_20; -x_18 = 0; -x_19 = lean_usize_of_nat(x_12); -lean_dec(x_12); -x_20 = l_Array_anyMUnsafe_any___at_Lean_Delaborator_delabAppExplicit___spec__1(x_9, x_18, x_19); -lean_dec(x_9); -if (x_20 == 0) -{ -lean_object* x_21; -x_21 = lean_apply_7(x_11, x_2, x_3, x_4, x_5, x_6, x_7, x_10); -return x_21; -} -else -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_22 = l_Lean_Delaborator_delabAppExplicit___lambda__2___closed__3; -x_23 = lean_array_push(x_22, x_2); -x_24 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_isExplicit___closed__2; -x_25 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_25, 0, x_24); -lean_ctor_set(x_25, 1, x_23); -x_26 = lean_apply_7(x_11, x_25, x_3, x_4, x_5, x_6, x_7, x_10); -return x_26; -} -} -} -} -} -} -lean_object* l_Lean_Delaborator_delabAppExplicit___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -uint8_t x_8; -x_8 = l_Lean_Expr_isConst(x_1); -if (x_8 == 0) -{ -lean_object* x_9; -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); -x_9 = l_Lean_Delaborator_delab(x_2, x_3, x_4, x_5, x_6, x_7); -if (lean_obj_tag(x_9) == 0) -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; -x_10 = lean_ctor_get(x_9, 0); -lean_inc(x_10); -x_11 = lean_ctor_get(x_9, 1); -lean_inc(x_11); -lean_dec(x_9); -x_12 = l_Lean_Delaborator_delabAppExplicit___lambda__2(x_1, x_10, x_2, x_3, x_4, x_5, x_6, x_11); -return x_12; -} -else -{ -uint8_t x_13; -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_13 = !lean_is_exclusive(x_9); -if (x_13 == 0) -{ -return x_9; -} -else -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_14 = lean_ctor_get(x_9, 0); -x_15 = lean_ctor_get(x_9, 1); -lean_inc(x_15); -lean_inc(x_14); -lean_dec(x_9); -x_16 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_16, 0, x_14); -lean_ctor_set(x_16, 1, x_15); -return x_16; -} -} -} -else -{ -lean_object* x_17; -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); -x_17 = l_Lean_Delaborator_delabConst(x_2, x_3, x_4, x_5, x_6, x_7); -if (lean_obj_tag(x_17) == 0) -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_18 = lean_ctor_get(x_17, 0); -lean_inc(x_18); -x_19 = lean_ctor_get(x_17, 1); -lean_inc(x_19); -lean_dec(x_17); -x_20 = l_Lean_Delaborator_delabAppExplicit___lambda__2(x_1, x_18, x_2, x_3, x_4, x_5, x_6, x_19); -return x_20; -} -else -{ -uint8_t x_21; -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_21 = !lean_is_exclusive(x_17); -if (x_21 == 0) -{ -return x_17; -} -else -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_22 = lean_ctor_get(x_17, 0); -x_23 = lean_ctor_get(x_17, 1); -lean_inc(x_23); -lean_inc(x_22); -lean_dec(x_17); -x_24 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_24, 0, x_22); -lean_ctor_set(x_24, 1, x_23); -return x_24; -} -} -} -} -} -lean_object* l_Lean_Delaborator_delabAppExplicit___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -uint8_t x_8; -x_8 = !lean_is_exclusive(x_1); -if (x_8 == 0) -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; -x_9 = lean_ctor_get(x_1, 0); -x_10 = lean_ctor_get(x_1, 1); -x_11 = l_Lean_Delaborator_delab(x_2, x_3, x_4, x_5, x_6, x_7); -if (lean_obj_tag(x_11) == 0) -{ -uint8_t x_12; -x_12 = !lean_is_exclusive(x_11); -if (x_12 == 0) -{ -lean_object* x_13; lean_object* x_14; -x_13 = lean_ctor_get(x_11, 0); -x_14 = lean_array_push(x_10, x_13); -lean_ctor_set(x_1, 1, x_14); -lean_ctor_set(x_11, 0, x_1); -return x_11; -} -else -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_15 = lean_ctor_get(x_11, 0); -x_16 = lean_ctor_get(x_11, 1); -lean_inc(x_16); -lean_inc(x_15); -lean_dec(x_11); -x_17 = lean_array_push(x_10, x_15); -lean_ctor_set(x_1, 1, x_17); -x_18 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_18, 0, x_1); -lean_ctor_set(x_18, 1, x_16); -return x_18; -} -} -else -{ -uint8_t x_19; -lean_free_object(x_1); -lean_dec(x_10); -lean_dec(x_9); -x_19 = !lean_is_exclusive(x_11); -if (x_19 == 0) -{ -return x_11; -} -else -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_20 = lean_ctor_get(x_11, 0); -x_21 = lean_ctor_get(x_11, 1); -lean_inc(x_21); -lean_inc(x_20); -lean_dec(x_11); -x_22 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_22, 0, x_20); -lean_ctor_set(x_22, 1, x_21); -return x_22; -} -} -} -else -{ -lean_object* x_23; lean_object* x_24; lean_object* x_25; -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 = l_Lean_Delaborator_delab(x_2, x_3, x_4, x_5, x_6, x_7); -if (lean_obj_tag(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; -x_26 = lean_ctor_get(x_25, 0); -lean_inc(x_26); -x_27 = lean_ctor_get(x_25, 1); -lean_inc(x_27); -if (lean_is_exclusive(x_25)) { - lean_ctor_release(x_25, 0); - lean_ctor_release(x_25, 1); - x_28 = x_25; -} else { - lean_dec_ref(x_25); - x_28 = lean_box(0); -} -x_29 = lean_array_push(x_24, x_26); -x_30 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_30, 0, x_23); -lean_ctor_set(x_30, 1, x_29); -if (lean_is_scalar(x_28)) { - x_31 = lean_alloc_ctor(0, 2, 0); -} else { - x_31 = x_28; -} -lean_ctor_set(x_31, 0, x_30); -lean_ctor_set(x_31, 1, x_27); -return x_31; -} -else -{ -lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; -lean_dec(x_24); -lean_dec(x_23); -x_32 = lean_ctor_get(x_25, 0); -lean_inc(x_32); -x_33 = lean_ctor_get(x_25, 1); -lean_inc(x_33); -if (lean_is_exclusive(x_25)) { - lean_ctor_release(x_25, 0); - lean_ctor_release(x_25, 1); - x_34 = x_25; -} else { - lean_dec_ref(x_25); - x_34 = lean_box(0); -} -if (lean_is_scalar(x_34)) { - x_35 = lean_alloc_ctor(1, 2, 0); -} else { - x_35 = x_34; -} -lean_ctor_set(x_35, 0, x_32); -lean_ctor_set(x_35, 1, x_33); -return x_35; -} -} -} -} -static lean_object* _init_l_Lean_Delaborator_delabAppExplicit___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_getExpr___boxed), 6, 0); -return x_1; -} -} -static lean_object* _init_l_Lean_Delaborator_delabAppExplicit___closed__2() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabAppExplicit___lambda__3), 7, 0); -return x_1; -} -} -static lean_object* _init_l_Lean_Delaborator_delabAppExplicit___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Delaborator_delabAppExplicit___closed__1; -x_2 = l_Lean_Delaborator_delabAppExplicit___closed__2; -x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Delaborator_delabAppExplicit___spec__2___rarg), 8, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Delaborator_delabAppExplicit___closed__4() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabAppExplicit___lambda__4), 7, 0); -return x_1; -} -} -lean_object* l_Lean_Delaborator_delabAppExplicit(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; lean_object* x_8; lean_object* x_9; -x_7 = l_Lean_Delaborator_delabAppExplicit___closed__3; -x_8 = l_Lean_Delaborator_delabAppExplicit___closed__4; -x_9 = l_Lean_Delaborator_withAppFnArgs___rarg(x_7, x_8, x_1, x_2, x_3, x_4, x_5, x_6); -if (lean_obj_tag(x_9) == 0) -{ -uint8_t x_10; -x_10 = !lean_is_exclusive(x_9); -if (x_10 == 0) -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_11 = lean_ctor_get(x_9, 0); -x_12 = lean_ctor_get(x_11, 0); -lean_inc(x_12); -x_13 = lean_ctor_get(x_11, 1); -lean_inc(x_13); -lean_dec(x_11); -x_14 = l_Lean_Syntax_mkApp(x_12, x_13); -lean_ctor_set(x_9, 0, x_14); -return x_9; -} -else -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_15 = lean_ctor_get(x_9, 0); -x_16 = lean_ctor_get(x_9, 1); -lean_inc(x_16); -lean_inc(x_15); -lean_dec(x_9); -x_17 = lean_ctor_get(x_15, 0); -lean_inc(x_17); -x_18 = lean_ctor_get(x_15, 1); -lean_inc(x_18); -lean_dec(x_15); -x_19 = l_Lean_Syntax_mkApp(x_17, x_18); -x_20 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_20, 0, x_19); -lean_ctor_set(x_20, 1, x_16); -return x_20; -} -} -else -{ -uint8_t x_21; -x_21 = !lean_is_exclusive(x_9); -if (x_21 == 0) -{ -return x_9; -} -else -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_22 = lean_ctor_get(x_9, 0); -x_23 = lean_ctor_get(x_9, 1); -lean_inc(x_23); -lean_inc(x_22); -lean_dec(x_9); -x_24 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_24, 0, x_22); -lean_ctor_set(x_24, 1, x_23); -return x_24; -} -} -} -} -lean_object* l_Array_anyMUnsafe_any___at_Lean_Delaborator_delabAppExplicit___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -size_t x_4; size_t x_5; uint8_t x_6; lean_object* x_7; -x_4 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_5 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_6 = l_Array_anyMUnsafe_any___at_Lean_Delaborator_delabAppExplicit___spec__1(x_1, x_4, x_5); -lean_dec(x_1); -x_7 = lean_box(x_6); -return x_7; -} -} -lean_object* l_Lean_Delaborator_delabAppExplicit___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; -x_8 = l_Lean_Delaborator_delabAppExplicit___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_8; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabAppExplicit___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabAppExplicit), 6, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Delaborator_delabAppExplicit(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_Delaborator_delabAttribute; -x_3 = l_Lean_Delaborator_getExprKind___closed__5; -x_4 = l___regBuiltin_Lean_Delaborator_delabAppExplicit___closed__1; -x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); -return x_5; -} -} -lean_object* l_Lean_Delaborator_delabAppImplicit_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -if (lean_obj_tag(x_1) == 0) -{ -lean_object* x_5; -lean_dec(x_3); -lean_dec(x_2); -x_5 = lean_apply_1(x_4, x_1); -return x_5; -} -else -{ -lean_object* x_6; -x_6 = lean_ctor_get(x_1, 0); -lean_inc(x_6); -if (lean_obj_tag(x_6) == 0) -{ -lean_object* x_7; -lean_dec(x_3); -lean_dec(x_2); -x_7 = lean_apply_1(x_4, x_1); -return x_7; -} -else -{ -lean_object* x_8; -x_8 = lean_ctor_get(x_6, 0); -lean_inc(x_8); -lean_dec(x_6); -if (lean_obj_tag(x_8) == 0) -{ -lean_object* x_9; lean_object* x_10; -lean_dec(x_4); -lean_dec(x_2); -x_9 = lean_ctor_get(x_1, 1); -lean_inc(x_9); -lean_dec(x_1); -x_10 = lean_apply_1(x_3, x_9); -return x_10; -} -else -{ -lean_object* x_11; -lean_dec(x_3); -x_11 = lean_ctor_get(x_1, 1); -lean_inc(x_11); -if (lean_obj_tag(x_11) == 0) -{ -lean_object* x_12; lean_object* x_13; -lean_dec(x_4); -lean_dec(x_1); -x_12 = lean_ctor_get(x_8, 0); -lean_inc(x_12); -lean_dec(x_8); -x_13 = lean_apply_1(x_2, x_12); -return x_13; -} -else -{ -lean_object* x_14; -lean_dec(x_11); -lean_dec(x_8); -lean_dec(x_2); -x_14 = lean_apply_1(x_4, x_1); -return x_14; -} -} -} -} -} -} -lean_object* l_Lean_Delaborator_delabAppImplicit_match__1(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabAppImplicit_match__1___rarg), 4, 0); -return x_2; -} -} -lean_object* l_Lean_Delaborator_delabAppImplicit_match__2___rarg(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_3 = lean_ctor_get(x_1, 1); -lean_inc(x_3); -x_4 = lean_ctor_get(x_1, 0); -lean_inc(x_4); -lean_dec(x_1); -x_5 = lean_ctor_get(x_3, 0); -lean_inc(x_5); -x_6 = lean_ctor_get(x_3, 1); -lean_inc(x_6); -lean_dec(x_3); -x_7 = lean_apply_3(x_2, x_4, x_5, x_6); -return x_7; -} -} -lean_object* l_Lean_Delaborator_delabAppImplicit_match__2(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabAppImplicit_match__2___rarg), 2, 0); -return x_2; -} -} -lean_object* l_Lean_Delaborator_delabAppImplicit_match__3___rarg(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_3 = lean_ctor_get(x_1, 1); -lean_inc(x_3); -x_4 = lean_ctor_get(x_1, 0); -lean_inc(x_4); -lean_dec(x_1); -x_5 = lean_ctor_get(x_3, 0); -lean_inc(x_5); -x_6 = lean_ctor_get(x_3, 1); -lean_inc(x_6); -lean_dec(x_3); -x_7 = lean_apply_3(x_2, x_4, x_5, x_6); -return x_7; -} -} -lean_object* l_Lean_Delaborator_delabAppImplicit_match__3(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabAppImplicit_match__3___rarg), 2, 0); -return x_2; -} -} -lean_object* l_Lean_Delaborator_delabAppImplicit___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; lean_object* x_10; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_17 = lean_st_ref_get(x_7, x_8); -x_18 = lean_ctor_get(x_17, 0); -lean_inc(x_18); -x_19 = lean_ctor_get(x_17, 1); -lean_inc(x_19); -lean_dec(x_17); -x_20 = lean_ctor_get(x_18, 0); -lean_inc(x_20); -lean_dec(x_18); -x_21 = lean_st_ref_get(x_7, x_19); -x_22 = lean_ctor_get(x_21, 1); -lean_inc(x_22); -lean_dec(x_21); -x_23 = lean_st_ref_get(x_5, x_22); -x_24 = lean_ctor_get(x_23, 0); -lean_inc(x_24); -x_25 = lean_ctor_get(x_23, 1); -lean_inc(x_25); -lean_dec(x_23); -x_26 = lean_ctor_get(x_24, 0); -lean_inc(x_26); -lean_dec(x_24); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -x_27 = l_Lean_Delaborator_getParamKinds(x_1, x_4, x_5, x_6, x_7, x_25); -if (lean_obj_tag(x_27) == 0) -{ -lean_object* x_28; lean_object* x_29; -lean_dec(x_26); -lean_dec(x_20); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_28 = lean_ctor_get(x_27, 0); -lean_inc(x_28); -x_29 = lean_ctor_get(x_27, 1); -lean_inc(x_29); -lean_dec(x_27); -x_9 = x_28; -x_10 = x_29; -goto block_16; -} -else -{ -lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_30 = lean_ctor_get(x_27, 1); -lean_inc(x_30); -lean_dec(x_27); -x_31 = l_Lean_setEnv___at_Lean_Meta_setInlineAttribute___spec__1(x_20, x_4, x_5, x_6, x_7, x_30); -x_32 = lean_ctor_get(x_31, 1); -lean_inc(x_32); -lean_dec(x_31); -x_33 = l_Lean_Meta_setMCtx___at___private_Lean_Meta_Basic_0__Lean_Meta_liftMkBindingM___spec__1(x_26, x_4, x_5, x_6, x_7, x_32); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_34 = lean_ctor_get(x_33, 1); -lean_inc(x_34); -lean_dec(x_33); -x_35 = l_Array_empty___closed__1; -x_9 = x_35; -x_10 = x_34; -goto block_16; -} -block_16: -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; -x_11 = lean_array_to_list(lean_box(0), x_9); -x_12 = l_Array_empty___closed__1; -x_13 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_13, 0, x_11); -lean_ctor_set(x_13, 1, x_12); -x_14 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_14, 0, x_2); -lean_ctor_set(x_14, 1, x_13); -x_15 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_15, 0, x_14); -lean_ctor_set(x_15, 1, x_10); -return x_15; -} -} -} -lean_object* l_Lean_Delaborator_delabAppImplicit___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -uint8_t x_8; -x_8 = l_Lean_Expr_isConst(x_1); -if (x_8 == 0) -{ -lean_object* x_9; -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); -x_9 = l_Lean_Delaborator_delab(x_2, x_3, x_4, x_5, x_6, x_7); -if (lean_obj_tag(x_9) == 0) -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; -x_10 = lean_ctor_get(x_9, 0); -lean_inc(x_10); -x_11 = lean_ctor_get(x_9, 1); -lean_inc(x_11); -lean_dec(x_9); -x_12 = l_Lean_Delaborator_delabAppImplicit___lambda__1(x_1, x_10, x_2, x_3, x_4, x_5, x_6, x_11); -lean_dec(x_2); -return x_12; -} -else -{ -uint8_t x_13; -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_13 = !lean_is_exclusive(x_9); -if (x_13 == 0) -{ -return x_9; -} -else -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_14 = lean_ctor_get(x_9, 0); -x_15 = lean_ctor_get(x_9, 1); -lean_inc(x_15); -lean_inc(x_14); -lean_dec(x_9); -x_16 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_16, 0, x_14); -lean_ctor_set(x_16, 1, x_15); -return x_16; -} -} -} -else -{ -lean_object* x_17; -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); -x_17 = l_Lean_Delaborator_delabConst(x_2, x_3, x_4, x_5, x_6, x_7); -if (lean_obj_tag(x_17) == 0) -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_18 = lean_ctor_get(x_17, 0); -lean_inc(x_18); -x_19 = lean_ctor_get(x_17, 1); -lean_inc(x_19); -lean_dec(x_17); -x_20 = l_Lean_Delaborator_delabAppImplicit___lambda__1(x_1, x_18, x_2, x_3, x_4, x_5, x_6, x_19); -lean_dec(x_2); -return x_20; -} -else -{ -uint8_t x_21; -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_21 = !lean_is_exclusive(x_17); -if (x_21 == 0) -{ -return x_17; -} -else -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_22 = lean_ctor_get(x_17, 0); -x_23 = lean_ctor_get(x_17, 1); -lean_inc(x_23); -lean_inc(x_22); -lean_dec(x_17); -x_24 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_24, 0, x_22); -lean_ctor_set(x_24, 1, x_23); -return x_24; -} -} -} -} -} -lean_object* l_Lean_Delaborator_delabAppImplicit___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_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_40; -x_8 = lean_ctor_get(x_1, 1); -lean_inc(x_8); -x_9 = lean_ctor_get(x_1, 0); -lean_inc(x_9); -if (lean_is_exclusive(x_1)) { - lean_ctor_release(x_1, 0); - lean_ctor_release(x_1, 1); - x_10 = x_1; -} else { - lean_dec_ref(x_1); - x_10 = lean_box(0); -} -x_11 = lean_ctor_get(x_8, 0); -lean_inc(x_11); -x_12 = lean_ctor_get(x_8, 1); -lean_inc(x_12); -if (lean_is_exclusive(x_8)) { - lean_ctor_release(x_8, 0); - lean_ctor_release(x_8, 1); - x_13 = x_8; -} else { - lean_dec_ref(x_8); - x_13 = lean_box(0); -} -x_14 = l_Lean_Delaborator_getExpr(x_2, x_3, x_4, x_5, x_6, x_7); -x_15 = lean_ctor_get(x_14, 0); -lean_inc(x_15); -x_16 = lean_ctor_get(x_14, 1); -lean_inc(x_16); -if (lean_is_exclusive(x_14)) { - lean_ctor_release(x_14, 0); - lean_ctor_release(x_14, 1); - x_17 = x_14; -} else { - lean_dec_ref(x_14); - x_17 = lean_box(0); -} -if (lean_obj_tag(x_11) == 0) -{ -lean_object* x_47; -lean_dec(x_17); -lean_dec(x_15); -x_47 = lean_box(0); -x_18 = x_47; -goto block_39; -} -else -{ -lean_object* x_48; -x_48 = lean_ctor_get(x_11, 0); -lean_inc(x_48); -if (lean_obj_tag(x_48) == 0) -{ -lean_object* x_49; -lean_dec(x_17); -lean_dec(x_15); -x_49 = lean_box(0); -x_18 = x_49; -goto block_39; -} -else -{ -lean_object* x_50; -x_50 = lean_ctor_get(x_48, 0); -lean_inc(x_50); -lean_dec(x_48); -if (lean_obj_tag(x_50) == 0) -{ -lean_object* x_51; -lean_dec(x_15); -lean_dec(x_13); -lean_dec(x_10); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_51 = lean_box(0); -x_40 = x_51; -goto block_46; -} -else -{ -lean_object* x_52; -x_52 = lean_ctor_get(x_11, 1); -lean_inc(x_52); -if (lean_obj_tag(x_52) == 0) -{ -lean_object* x_53; uint8_t x_54; -x_53 = lean_ctor_get(x_50, 0); -lean_inc(x_53); -lean_dec(x_50); -x_54 = l_Lean_Expr_hasLooseBVars(x_53); -if (x_54 == 0) -{ -uint8_t x_55; -x_55 = lean_expr_eqv(x_53, x_15); -lean_dec(x_15); -lean_dec(x_53); -if (x_55 == 0) -{ -lean_object* x_56; -lean_dec(x_17); -x_56 = lean_box(0); -x_18 = x_56; -goto block_39; -} -else -{ -lean_object* x_57; -lean_dec(x_13); -lean_dec(x_10); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_57 = lean_box(0); -x_40 = x_57; -goto block_46; -} -} -else -{ -lean_object* x_58; -lean_dec(x_53); -lean_dec(x_17); -lean_dec(x_15); -x_58 = lean_box(0); -x_18 = x_58; -goto block_39; -} -} -else -{ -lean_object* x_59; -lean_dec(x_52); -lean_dec(x_50); -lean_dec(x_17); -lean_dec(x_15); -x_59 = lean_box(0); -x_18 = x_59; -goto block_39; -} -} -} -} -block_39: -{ -lean_object* x_19; -lean_dec(x_18); -x_19 = l_Lean_Delaborator_delab(x_2, x_3, x_4, x_5, x_6, x_16); -if (lean_obj_tag(x_19) == 0) -{ -uint8_t x_20; -x_20 = !lean_is_exclusive(x_19); -if (x_20 == 0) -{ -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_21 = lean_ctor_get(x_19, 0); -x_22 = lean_box(0); -x_23 = l_List_tailD___rarg(x_11, x_22); -lean_dec(x_11); -x_24 = lean_array_push(x_12, x_21); -if (lean_is_scalar(x_13)) { - x_25 = lean_alloc_ctor(0, 2, 0); -} else { - x_25 = x_13; -} -lean_ctor_set(x_25, 0, x_23); -lean_ctor_set(x_25, 1, x_24); -if (lean_is_scalar(x_10)) { - x_26 = lean_alloc_ctor(0, 2, 0); -} else { - x_26 = x_10; -} -lean_ctor_set(x_26, 0, x_9); -lean_ctor_set(x_26, 1, x_25); -lean_ctor_set(x_19, 0, x_26); -return x_19; -} -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; -x_27 = lean_ctor_get(x_19, 0); -x_28 = lean_ctor_get(x_19, 1); -lean_inc(x_28); -lean_inc(x_27); -lean_dec(x_19); -x_29 = lean_box(0); -x_30 = l_List_tailD___rarg(x_11, x_29); -lean_dec(x_11); -x_31 = lean_array_push(x_12, x_27); -if (lean_is_scalar(x_13)) { - x_32 = lean_alloc_ctor(0, 2, 0); -} else { - x_32 = x_13; -} -lean_ctor_set(x_32, 0, x_30); -lean_ctor_set(x_32, 1, x_31); -if (lean_is_scalar(x_10)) { - x_33 = lean_alloc_ctor(0, 2, 0); -} else { - x_33 = x_10; -} -lean_ctor_set(x_33, 0, x_9); -lean_ctor_set(x_33, 1, x_32); -x_34 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_34, 0, x_33); -lean_ctor_set(x_34, 1, x_28); -return x_34; -} -} -else -{ -uint8_t x_35; -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -x_35 = !lean_is_exclusive(x_19); -if (x_35 == 0) -{ -return x_19; -} -else -{ -lean_object* x_36; lean_object* x_37; lean_object* x_38; -x_36 = lean_ctor_get(x_19, 0); -x_37 = lean_ctor_get(x_19, 1); -lean_inc(x_37); -lean_inc(x_36); -lean_dec(x_19); -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; -} -} -} -block_46: -{ -lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; -lean_dec(x_40); -x_41 = lean_box(0); -x_42 = l_List_tailD___rarg(x_11, x_41); -lean_dec(x_11); -x_43 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_43, 0, x_42); -lean_ctor_set(x_43, 1, x_12); -x_44 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_44, 0, x_9); -lean_ctor_set(x_44, 1, x_43); -if (lean_is_scalar(x_17)) { - x_45 = lean_alloc_ctor(0, 2, 0); -} else { - x_45 = x_17; -} -lean_ctor_set(x_45, 0, x_44); -lean_ctor_set(x_45, 1, x_16); -return x_45; -} -} -} -lean_object* l_Lean_Delaborator_delabAppImplicit___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; -x_8 = lean_ctor_get(x_1, 1); -lean_inc(x_8); -x_9 = lean_ctor_get(x_1, 0); -lean_inc(x_9); -lean_dec(x_1); -x_10 = lean_ctor_get(x_8, 1); -lean_inc(x_10); -lean_dec(x_8); -x_11 = l_Lean_Syntax_mkApp(x_9, x_10); -x_12 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_12, 0, x_11); -lean_ctor_set(x_12, 1, x_7); -return x_12; -} -} -static lean_object* _init_l_Lean_Delaborator_delabAppImplicit___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabAppImplicit___lambda__2), 7, 0); -return x_1; -} -} -static lean_object* _init_l_Lean_Delaborator_delabAppImplicit___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Delaborator_delabAppExplicit___closed__1; -x_2 = l_Lean_Delaborator_delabAppImplicit___closed__1; -x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Delaborator_delabAppExplicit___spec__2___rarg), 8, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Delaborator_delabAppImplicit___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabAppImplicit___lambda__3), 7, 0); -return x_1; -} -} -static lean_object* _init_l_Lean_Delaborator_delabAppImplicit___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Delaborator_delabAppImplicit___closed__2; -x_2 = l_Lean_Delaborator_delabAppImplicit___closed__3; -x_3 = lean_alloc_closure((void*)(l_Lean_Delaborator_withAppFnArgs___rarg), 8, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Delaborator_delabAppImplicit___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabAppImplicit___lambda__4___boxed), 7, 0); -return x_1; -} -} -static lean_object* _init_l_Lean_Delaborator_delabAppImplicit___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Delaborator_delabAppImplicit___closed__4; -x_2 = l_Lean_Delaborator_delabAppImplicit___closed__5; -x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Delaborator_delabAppExplicit___spec__2___rarg), 8, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Delaborator_delabAppImplicit___closed__7() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_getPPExplicit___boxed), 1, 0); -return x_1; -} -} -lean_object* l_Lean_Delaborator_delabAppImplicit(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; lean_object* x_8; lean_object* x_9; -x_7 = l_Lean_Delaborator_delabAppImplicit___closed__7; -x_8 = l_Lean_Delaborator_delabAppImplicit___closed__6; -x_9 = l_Lean_Delaborator_whenNotPPOption(x_7, x_8, x_1, x_2, x_3, x_4, x_5, x_6); -return x_9; -} -} -lean_object* l_Lean_Delaborator_delabAppImplicit___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; -x_9 = l_Lean_Delaborator_delabAppImplicit___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_3); -return x_9; -} -} -lean_object* l_Lean_Delaborator_delabAppImplicit___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; -x_8 = l_Lean_Delaborator_delabAppImplicit___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_8; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabAppImplicit___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabAppImplicit), 6, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Delaborator_delabAppImplicit(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_Delaborator_delabAttribute; -x_3 = l_Lean_Delaborator_getExprKind___closed__5; -x_4 = l___regBuiltin_Lean_Delaborator_delabAppImplicit___closed__1; -x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); -return x_5; -} -} -static lean_object* _init_l_Lean_Delaborator_AppMatchState_params___default() { -_start: -{ -lean_object* x_1; -x_1 = l_Array_empty___closed__1; -return x_1; -} -} -static uint8_t _init_l_Lean_Delaborator_AppMatchState_hasMotive___default() { -_start: -{ -uint8_t x_1; -x_1 = 0; -return x_1; -} -} -static lean_object* _init_l_Lean_Delaborator_AppMatchState_discrs___default() { -_start: -{ -lean_object* x_1; -x_1 = l_Array_empty___closed__1; -return x_1; -} -} -static lean_object* _init_l_Lean_Delaborator_AppMatchState_rhss___default() { -_start: -{ -lean_object* x_1; -x_1 = l_Array_empty___closed__1; -return x_1; -} -} -static lean_object* _init_l_Lean_Delaborator_AppMatchState_moreArgs___default() { -_start: -{ -lean_object* x_1; -x_1 = l_Array_empty___closed__1; -return x_1; -} -} -lean_object* l___private_Lean_Delaborator_0__Lean_Delaborator_skippingBinders_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; uint8_t x_6; -x_5 = lean_unsigned_to_nat(0u); -x_6 = lean_nat_dec_eq(x_1, x_5); -if (x_6 == 0) -{ -lean_object* x_7; lean_object* x_8; lean_object* x_9; -lean_dec(x_3); -x_7 = lean_unsigned_to_nat(1u); -x_8 = lean_nat_sub(x_1, x_7); -x_9 = lean_apply_2(x_4, x_8, x_2); -return x_9; -} -else -{ -lean_object* x_10; -lean_dec(x_4); -x_10 = lean_apply_1(x_3, x_2); -return x_10; -} -} -} -lean_object* l___private_Lean_Delaborator_0__Lean_Delaborator_skippingBinders_match__1(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l___private_Lean_Delaborator_0__Lean_Delaborator_skippingBinders_match__1___rarg___boxed), 4, 0); -return x_3; -} -} -lean_object* l___private_Lean_Delaborator_0__Lean_Delaborator_skippingBinders_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_Delaborator_0__Lean_Delaborator_skippingBinders_match__1___rarg(x_1, x_2, x_3, x_4); -lean_dec(x_1); -return x_5; -} -} -lean_object* l___private_Lean_Delaborator_0__Lean_Delaborator_skippingBinders___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; -x_10 = l___private_Lean_Delaborator_0__Lean_Delaborator_skippingBinders___rarg(x_1, x_2, x_4, x_5, x_6, x_7, x_8, x_9); -return x_10; -} -} -lean_object* l___private_Lean_Delaborator_0__Lean_Delaborator_skippingBinders___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; uint8_t x_10; -x_9 = lean_unsigned_to_nat(0u); -x_10 = lean_nat_dec_eq(x_1, x_9); -if (x_10 == 0) -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_11 = lean_unsigned_to_nat(1u); -x_12 = lean_nat_sub(x_1, x_11); -x_13 = lean_alloc_closure((void*)(l___private_Lean_Delaborator_0__Lean_Delaborator_skippingBinders___rarg___lambda__1___boxed), 9, 2); -lean_closure_set(x_13, 0, x_12); -lean_closure_set(x_13, 1, x_2); -x_14 = l_Lean_Delaborator_withBindingBodyUnusedName___rarg(x_13, x_3, x_4, x_5, x_6, x_7, x_8); -return x_14; -} -else -{ -lean_object* x_15; -x_15 = lean_apply_6(x_2, x_3, x_4, x_5, x_6, x_7, x_8); -return x_15; -} -} -} -lean_object* l___private_Lean_Delaborator_0__Lean_Delaborator_skippingBinders(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Lean_Delaborator_0__Lean_Delaborator_skippingBinders___rarg___boxed), 8, 0); -return x_2; -} -} -lean_object* l___private_Lean_Delaborator_0__Lean_Delaborator_skippingBinders___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; -x_10 = l___private_Lean_Delaborator_0__Lean_Delaborator_skippingBinders___rarg___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_3); -lean_dec(x_1); -return x_10; -} -} -lean_object* l___private_Lean_Delaborator_0__Lean_Delaborator_skippingBinders___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; -x_9 = l___private_Lean_Delaborator_0__Lean_Delaborator_skippingBinders___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_1); -return x_9; -} -} -lean_object* l_Lean_Meta_instantiateForall___at___private_Lean_Delaborator_0__Lean_Delaborator_delabPatterns___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; lean_object* x_10; -x_9 = lean_unsigned_to_nat(0u); -x_10 = l___private_Lean_Meta_Basic_0__Lean_Meta_instantiateForallAux(x_2, x_9, x_1, x_4, x_5, x_6, x_7, x_8); -return x_10; -} -} -lean_object* l_Lean_Meta_inferType___at___private_Lean_Delaborator_0__Lean_Delaborator_delabPatterns___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; lean_object* x_9; uint8_t x_10; -x_8 = lean_ctor_get(x_5, 1); -lean_inc(x_8); -x_9 = lean_ctor_get(x_5, 2); -lean_inc(x_9); -x_10 = lean_nat_dec_eq(x_8, x_9); -lean_dec(x_9); -if (x_10 == 0) -{ -lean_object* x_11; lean_object* x_12; -x_11 = lean_box(0); -x_12 = l_Lean_Meta_inferType___rarg___lambda__1(x_8, x_1, x_11, x_3, x_4, x_5, x_6, x_7); -lean_dec(x_8); -return x_12; -} -else -{ -lean_object* x_13; lean_object* x_14; uint8_t x_15; -lean_dec(x_8); -lean_dec(x_1); -x_13 = l_Lean_withIncRecDepth___rarg___lambda__2___closed__2; -x_14 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1019____spec__1___rarg(x_13, x_3, x_4, x_5, x_6, x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_15 = !lean_is_exclusive(x_14); -if (x_15 == 0) -{ -return x_14; -} -else -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_16 = lean_ctor_get(x_14, 0); -x_17 = lean_ctor_get(x_14, 1); -lean_inc(x_17); -lean_inc(x_16); -lean_dec(x_14); -x_18 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_18, 0, x_16); -lean_ctor_set(x_18, 1, x_17); -return x_18; -} -} -} -} -lean_object* l_Array_mapIdxM_map___at___private_Lean_Delaborator_0__Lean_Delaborator_delabPatterns___spec__3___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; -x_8 = l_Lean_Delaborator_delab(x_2, x_3, x_4, x_5, x_6, x_7); -if (lean_obj_tag(x_8) == 0) -{ -uint8_t x_9; -x_9 = !lean_is_exclusive(x_8); -if (x_9 == 0) -{ -lean_object* x_10; lean_object* x_11; -x_10 = lean_ctor_get(x_8, 0); -x_11 = lean_array_push(x_1, x_10); -lean_ctor_set(x_8, 0, x_11); -return x_8; -} -else -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; -x_12 = lean_ctor_get(x_8, 0); -x_13 = lean_ctor_get(x_8, 1); -lean_inc(x_13); -lean_inc(x_12); -lean_dec(x_8); -x_14 = lean_array_push(x_1, x_12); -x_15 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_15, 0, x_14); -lean_ctor_set(x_15, 1, x_13); -return x_15; -} -} -else -{ -uint8_t x_16; -lean_dec(x_1); -x_16 = !lean_is_exclusive(x_8); -if (x_16 == 0) -{ -return x_8; -} -else -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_17 = lean_ctor_get(x_8, 0); -x_18 = lean_ctor_get(x_8, 1); -lean_inc(x_18); -lean_inc(x_17); -lean_dec(x_8); -x_19 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_19, 0, x_17); -lean_ctor_set(x_19, 1, x_18); -return x_19; -} -} -} -} -lean_object* l_Array_mapIdxM_map___at___private_Lean_Delaborator_0__Lean_Delaborator_delabPatterns___spec__3___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; lean_object* x_9; lean_object* x_10; -x_8 = l_Lean_Delaborator_delabConst___lambda__1___closed__6; -x_9 = l_Lean_Syntax_mkSep(x_1, 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_7); -return x_10; -} -} -static lean_object* _init_l_Array_mapIdxM_map___at___private_Lean_Delaborator_0__Lean_Delaborator_delabPatterns___spec__3___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Array_empty___closed__1; -x_2 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Delaborator_instMonadQuotationDelabM___spec__1___rarg___boxed), 7, 1); -lean_closure_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Array_mapIdxM_map___at___private_Lean_Delaborator_0__Lean_Delaborator_delabPatterns___spec__3___closed__2() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Array_mapIdxM_map___at___private_Lean_Delaborator_0__Lean_Delaborator_delabPatterns___spec__3___lambda__1), 7, 0); -return x_1; -} -} -static lean_object* _init_l_Array_mapIdxM_map___at___private_Lean_Delaborator_0__Lean_Delaborator_delabPatterns___spec__3___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_mapIdxM_map___at___private_Lean_Delaborator_0__Lean_Delaborator_delabPatterns___spec__3___closed__1; -x_2 = l_Array_mapIdxM_map___at___private_Lean_Delaborator_0__Lean_Delaborator_delabPatterns___spec__3___closed__2; -x_3 = lean_alloc_closure((void*)(l_Lean_Delaborator_withAppFnArgs___rarg), 8, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Array_mapIdxM_map___at___private_Lean_Delaborator_0__Lean_Delaborator_delabPatterns___spec__3___closed__4() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Array_mapIdxM_map___at___private_Lean_Delaborator_0__Lean_Delaborator_delabPatterns___spec__3___lambda__2___boxed), 7, 0); -return x_1; -} -} -static lean_object* _init_l_Array_mapIdxM_map___at___private_Lean_Delaborator_0__Lean_Delaborator_delabPatterns___spec__3___closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_mapIdxM_map___at___private_Lean_Delaborator_0__Lean_Delaborator_delabPatterns___spec__3___closed__3; -x_2 = l_Array_mapIdxM_map___at___private_Lean_Delaborator_0__Lean_Delaborator_delabPatterns___spec__3___closed__4; -x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Delaborator_delabAppExplicit___spec__2___rarg), 8, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; -} -} -lean_object* l_Array_mapIdxM_map___at___private_Lean_Delaborator_0__Lean_Delaborator_delabPatterns___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { -_start: -{ -lean_object* x_14; uint8_t x_15; -x_14 = lean_unsigned_to_nat(0u); -x_15 = lean_nat_dec_eq(x_4, x_14); -if (x_15 == 0) -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_16 = lean_unsigned_to_nat(1u); -x_17 = lean_nat_sub(x_4, x_16); -lean_dec(x_4); -x_18 = lean_array_fget(x_3, x_5); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -x_19 = l_Lean_Meta_inferType___at___private_Lean_Delaborator_0__Lean_Delaborator_delabPatterns___spec__2(x_18, x_8, x_9, x_10, x_11, x_12, x_13); -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_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_20 = lean_ctor_get(x_19, 0); -lean_inc(x_20); -x_21 = lean_ctor_get(x_19, 1); -lean_inc(x_21); -lean_dec(x_19); -x_22 = lean_ctor_get(x_1, 0); -x_23 = lean_ctor_get(x_22, 2); -x_24 = l_instInhabitedNat; -x_25 = lean_array_get(x_24, x_23, x_5); -x_26 = lean_ctor_get(x_8, 1); -x_27 = lean_ctor_get(x_8, 2); -x_28 = lean_ctor_get(x_8, 3); -x_29 = lean_ctor_get(x_8, 4); -x_30 = lean_ctor_get(x_8, 5); -lean_inc(x_30); -lean_inc(x_29); -lean_inc(x_28); -lean_inc(x_27); -lean_inc(x_26); -x_31 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_31, 0, x_20); -lean_ctor_set(x_31, 1, x_26); -lean_ctor_set(x_31, 2, x_27); -lean_ctor_set(x_31, 3, x_28); -lean_ctor_set(x_31, 4, x_29); -lean_ctor_set(x_31, 5, x_30); -x_32 = l_Array_mapIdxM_map___at___private_Lean_Delaborator_0__Lean_Delaborator_delabPatterns___spec__3___closed__5; -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -x_33 = l___private_Lean_Delaborator_0__Lean_Delaborator_skippingBinders___rarg(x_25, x_32, x_31, x_9, x_10, x_11, x_12, x_21); -lean_dec(x_25); -if (lean_obj_tag(x_33) == 0) -{ -lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_34 = lean_ctor_get(x_33, 0); -lean_inc(x_34); -x_35 = lean_ctor_get(x_33, 1); -lean_inc(x_35); -lean_dec(x_33); -x_36 = lean_nat_add(x_5, x_16); -lean_dec(x_5); -x_37 = lean_array_push(x_7, x_34); -x_4 = x_17; -x_5 = x_36; -x_6 = lean_box(0); -x_7 = x_37; -x_13 = x_35; -goto _start; -} -else -{ -uint8_t x_39; -lean_dec(x_17); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_5); -x_39 = !lean_is_exclusive(x_33); -if (x_39 == 0) -{ -return x_33; -} -else -{ -lean_object* x_40; lean_object* x_41; lean_object* x_42; -x_40 = lean_ctor_get(x_33, 0); -x_41 = lean_ctor_get(x_33, 1); -lean_inc(x_41); -lean_inc(x_40); -lean_dec(x_33); -x_42 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_42, 0, x_40); -lean_ctor_set(x_42, 1, x_41); -return x_42; -} -} -} -else -{ -uint8_t x_43; -lean_dec(x_17); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_5); -x_43 = !lean_is_exclusive(x_19); -if (x_43 == 0) -{ -return x_19; -} -else -{ -lean_object* x_44; lean_object* x_45; lean_object* x_46; -x_44 = lean_ctor_get(x_19, 0); -x_45 = lean_ctor_get(x_19, 1); -lean_inc(x_45); -lean_inc(x_44); -lean_dec(x_19); -x_46 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_46, 0, x_44); -lean_ctor_set(x_46, 1, x_45); -return x_46; -} -} -} -else -{ -lean_object* x_47; -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_5); -lean_dec(x_4); -x_47 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_47, 0, x_7); -lean_ctor_set(x_47, 1, x_13); -return x_47; -} -} -} -lean_object* l_Lean_Meta_forallTelescope___at___private_Lean_Delaborator_0__Lean_Delaborator_delabPatterns___spec__4___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; -x_10 = lean_apply_8(x_1, x_3, x_4, x_2, x_5, x_6, x_7, x_8, x_9); -return x_10; -} -} -lean_object* l_Lean_Meta_forallTelescope___at___private_Lean_Delaborator_0__Lean_Delaborator_delabPatterns___spec__4___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; lean_object* x_10; uint8_t x_11; lean_object* x_12; -x_9 = lean_alloc_closure((void*)(l_Lean_Meta_forallTelescope___at___private_Lean_Delaborator_0__Lean_Delaborator_delabPatterns___spec__4___rarg___lambda__1), 9, 2); -lean_closure_set(x_9, 0, x_2); -lean_closure_set(x_9, 1, x_3); -x_10 = lean_box(0); -x_11 = 0; -x_12 = l___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingAuxAux___rarg(x_11, x_10, x_1, x_9, x_4, x_5, x_6, x_7, x_8); -if (lean_obj_tag(x_12) == 0) -{ -uint8_t x_13; -x_13 = !lean_is_exclusive(x_12); -if (x_13 == 0) -{ -return x_12; -} -else -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_14 = lean_ctor_get(x_12, 0); -x_15 = lean_ctor_get(x_12, 1); -lean_inc(x_15); -lean_inc(x_14); -lean_dec(x_12); -x_16 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_16, 0, x_14); -lean_ctor_set(x_16, 1, x_15); -return x_16; -} -} -else -{ -uint8_t x_17; -x_17 = !lean_is_exclusive(x_12); -if (x_17 == 0) -{ -return x_12; -} -else -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_18 = lean_ctor_get(x_12, 0); -x_19 = lean_ctor_get(x_12, 1); -lean_inc(x_19); -lean_inc(x_18); -lean_dec(x_12); -x_20 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_20, 0, x_18); -lean_ctor_set(x_20, 1, x_19); -return x_20; -} -} -} -} -lean_object* l_Lean_Meta_forallTelescope___at___private_Lean_Delaborator_0__Lean_Delaborator_delabPatterns___spec__4(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Meta_forallTelescope___at___private_Lean_Delaborator_0__Lean_Delaborator_delabPatterns___spec__4___rarg), 8, 0); -return x_2; -} -} -lean_object* l___private_Lean_Delaborator_0__Lean_Delaborator_delabPatterns___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_10 = lean_ctor_get(x_1, 3); -x_11 = lean_array_get_size(x_10); -x_12 = lean_unsigned_to_nat(1u); -x_13 = lean_nat_add(x_12, x_11); -lean_dec(x_11); -x_14 = lean_array_get_size(x_2); -lean_inc(x_2); -x_15 = l_Array_toSubarray___rarg(x_2, x_13, x_14); -x_16 = l_Array_ofSubarray___rarg(x_15); -lean_dec(x_15); -x_17 = lean_array_get_size(x_16); -x_18 = lean_mk_empty_array_with_capacity(x_17); -x_19 = lean_unsigned_to_nat(0u); -x_20 = l_Array_mapIdxM_map___at___private_Lean_Delaborator_0__Lean_Delaborator_delabPatterns___spec__3(x_1, x_2, x_16, x_17, x_19, lean_box(0), x_18, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_16); -lean_dec(x_2); -return x_20; -} -} -lean_object* l___private_Lean_Delaborator_0__Lean_Delaborator_delabPatterns(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; -x_8 = lean_ctor_get(x_1, 1); -lean_inc(x_8); -x_9 = lean_ctor_get(x_1, 2); -lean_inc(x_9); -x_10 = lean_unsigned_to_nat(0u); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -x_11 = l___private_Lean_Meta_Basic_0__Lean_Meta_instantiateForallAux(x_9, x_10, x_8, x_3, x_4, x_5, x_6, x_7); -lean_dec(x_9); -if (lean_obj_tag(x_11) == 0) -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; -x_12 = lean_ctor_get(x_11, 0); -lean_inc(x_12); -x_13 = lean_ctor_get(x_11, 1); -lean_inc(x_13); -lean_dec(x_11); -x_14 = lean_alloc_closure((void*)(l___private_Lean_Delaborator_0__Lean_Delaborator_delabPatterns___lambda__1___boxed), 9, 1); -lean_closure_set(x_14, 0, x_1); -x_15 = l_Lean_Meta_forallTelescope___at___private_Lean_Delaborator_0__Lean_Delaborator_delabPatterns___spec__4___rarg(x_12, x_14, x_2, x_3, x_4, x_5, x_6, x_13); -return x_15; -} -else -{ -uint8_t x_16; -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_16 = !lean_is_exclusive(x_11); -if (x_16 == 0) -{ -return x_11; -} -else -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_17 = lean_ctor_get(x_11, 0); -x_18 = lean_ctor_get(x_11, 1); -lean_inc(x_18); -lean_inc(x_17); -lean_dec(x_11); -x_19 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_19, 0, x_17); -lean_ctor_set(x_19, 1, x_18); -return x_19; -} -} -} -} -lean_object* l_Lean_Meta_instantiateForall___at___private_Lean_Delaborator_0__Lean_Delaborator_delabPatterns___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; -x_9 = l_Lean_Meta_instantiateForall___at___private_Lean_Delaborator_0__Lean_Delaborator_delabPatterns___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_3); -lean_dec(x_2); -return x_9; -} -} -lean_object* l_Lean_Meta_inferType___at___private_Lean_Delaborator_0__Lean_Delaborator_delabPatterns___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; -x_8 = l_Lean_Meta_inferType___at___private_Lean_Delaborator_0__Lean_Delaborator_delabPatterns___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7); -lean_dec(x_2); -return x_8; -} -} -lean_object* l_Array_mapIdxM_map___at___private_Lean_Delaborator_0__Lean_Delaborator_delabPatterns___spec__3___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; -x_8 = l_Array_mapIdxM_map___at___private_Lean_Delaborator_0__Lean_Delaborator_delabPatterns___spec__3___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_8; -} -} -lean_object* l_Array_mapIdxM_map___at___private_Lean_Delaborator_0__Lean_Delaborator_delabPatterns___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { -_start: -{ -lean_object* x_14; -x_14 = l_Array_mapIdxM_map___at___private_Lean_Delaborator_0__Lean_Delaborator_delabPatterns___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -lean_dec(x_8); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_14; -} -} -lean_object* l___private_Lean_Delaborator_0__Lean_Delaborator_delabPatterns___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; -x_10 = l___private_Lean_Delaborator_0__Lean_Delaborator_delabPatterns___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -return x_10; -} -} -lean_object* l_Lean_Delaborator_delabAppMatch_match__1___rarg(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_2); -x_4 = lean_apply_1(x_3, x_1); -return x_4; -} -else -{ -lean_object* x_5; lean_object* x_6; -lean_dec(x_3); -x_5 = lean_ctor_get(x_1, 0); -lean_inc(x_5); -lean_dec(x_1); -x_6 = lean_apply_1(x_2, x_5); -return x_6; -} -} -} -lean_object* l_Lean_Delaborator_delabAppMatch_match__1(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabAppMatch_match__1___rarg), 3, 0); -return x_2; -} -} -lean_object* l_Lean_Delaborator_delabAppMatch_match__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -if (lean_obj_tag(x_1) == 4) -{ -lean_object* x_4; lean_object* x_5; uint64_t x_6; lean_object* x_7; lean_object* x_8; -lean_dec(x_3); -x_4 = lean_ctor_get(x_1, 0); -lean_inc(x_4); -x_5 = lean_ctor_get(x_1, 1); -lean_inc(x_5); -x_6 = lean_ctor_get_uint64(x_1, sizeof(void*)*2); -lean_dec(x_1); -x_7 = lean_box_uint64(x_6); -x_8 = lean_apply_3(x_2, x_4, x_5, x_7); -return x_8; -} -else -{ -lean_object* x_9; -lean_dec(x_2); -x_9 = lean_apply_1(x_3, x_1); -return x_9; -} -} -} -lean_object* l_Lean_Delaborator_delabAppMatch_match__2(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabAppMatch_match__2___rarg), 3, 0); -return x_2; -} -} -lean_object* l_Lean_Delaborator_delabAppMatch_match__3___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; lean_object* x_7; uint8_t x_8; -x_6 = lean_array_get_size(x_1); -x_7 = lean_unsigned_to_nat(1u); -x_8 = lean_nat_dec_eq(x_6, x_7); -lean_dec(x_6); -if (x_8 == 0) -{ -lean_object* x_9; lean_object* x_10; uint8_t x_11; -lean_dec(x_3); -x_9 = lean_array_get_size(x_2); -x_10 = lean_unsigned_to_nat(0u); -x_11 = lean_nat_dec_eq(x_9, x_10); -lean_dec(x_9); -if (x_11 == 0) -{ -lean_object* x_12; -lean_dec(x_4); -x_12 = lean_apply_2(x_5, x_1, x_2); -return x_12; -} -else -{ -lean_object* x_13; -lean_dec(x_5); -lean_dec(x_2); -x_13 = lean_apply_1(x_4, x_1); -return x_13; -} -} -else -{ -lean_object* x_14; lean_object* x_15; uint8_t x_16; -lean_dec(x_4); -x_14 = lean_array_get_size(x_2); -x_15 = lean_unsigned_to_nat(0u); -x_16 = lean_nat_dec_eq(x_14, x_15); -lean_dec(x_14); -if (x_16 == 0) -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; -lean_dec(x_3); -x_17 = lean_array_fget(x_1, x_15); -lean_dec(x_1); -x_18 = l_Lean_mkOptionalNode___closed__2; -x_19 = lean_array_push(x_18, x_17); -x_20 = lean_apply_2(x_5, x_19, x_2); -return x_20; -} -else -{ -lean_object* x_21; lean_object* x_22; -lean_dec(x_5); -lean_dec(x_2); -x_21 = lean_array_fget(x_1, x_15); -lean_dec(x_1); -x_22 = lean_apply_1(x_3, x_21); -return x_22; -} -} -} -} -lean_object* l_Lean_Delaborator_delabAppMatch_match__3(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabAppMatch_match__3___rarg), 5, 0); -return x_2; -} -} -lean_object* l_Lean_throwError___at_Lean_Delaborator_delabAppMatch___spec__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; lean_object* x_9; uint8_t x_10; -x_8 = lean_ctor_get(x_5, 3); -x_9 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_1, x_3, x_4, x_5, x_6, x_7); -x_10 = !lean_is_exclusive(x_9); -if (x_10 == 0) -{ -lean_object* x_11; lean_object* x_12; -x_11 = lean_ctor_get(x_9, 0); -lean_inc(x_8); -x_12 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_12, 0, x_8); -lean_ctor_set(x_12, 1, x_11); -lean_ctor_set_tag(x_9, 1); -lean_ctor_set(x_9, 0, x_12); -return x_9; -} -else -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_13 = lean_ctor_get(x_9, 0); -x_14 = lean_ctor_get(x_9, 1); -lean_inc(x_14); -lean_inc(x_13); -lean_dec(x_9); -lean_inc(x_8); -x_15 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_15, 0, x_8); -lean_ctor_set(x_15, 1, x_13); -x_16 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_16, 0, x_15); -lean_ctor_set(x_16, 1, x_14); -return x_16; -} -} -} -lean_object* l_Lean_throwError___at_Lean_Delaborator_delabAppMatch___spec__2(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_throwError___at_Lean_Delaborator_delabAppMatch___spec__2___rarg___boxed), 7, 0); -return x_2; -} -} -lean_object* l_Lean_getConstInfo___at_Lean_Delaborator_delabAppMatch___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; uint8_t x_9; -x_8 = lean_st_ref_get(x_6, x_7); -x_9 = !lean_is_exclusive(x_8); -if (x_9 == 0) -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_10 = lean_ctor_get(x_8, 0); -x_11 = lean_ctor_get(x_8, 1); -x_12 = lean_ctor_get(x_10, 0); -lean_inc(x_12); -lean_dec(x_10); -lean_inc(x_1); -x_13 = lean_environment_find(x_12, x_1); -if (lean_obj_tag(x_13) == 0) -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; -lean_free_object(x_8); -x_14 = lean_box(0); -x_15 = l_Lean_mkConst(x_1, x_14); -x_16 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_16, 0, x_15); -x_17 = l_Lean_throwUnknownConstant___rarg___closed__2; -x_18 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_18, 0, x_17); -lean_ctor_set(x_18, 1, x_16); -x_19 = l_Lean_throwUnknownConstant___rarg___closed__3; -x_20 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_20, 0, x_18); -lean_ctor_set(x_20, 1, x_19); -x_21 = l_Lean_throwError___at_Lean_Delaborator_delabAppMatch___spec__2___rarg(x_20, x_2, x_3, x_4, x_5, x_6, x_11); -return x_21; -} -else -{ -lean_object* x_22; -lean_dec(x_1); -x_22 = lean_ctor_get(x_13, 0); -lean_inc(x_22); -lean_dec(x_13); -lean_ctor_set(x_8, 0, x_22); -return x_8; -} -} -else -{ -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_23 = lean_ctor_get(x_8, 0); -x_24 = lean_ctor_get(x_8, 1); -lean_inc(x_24); -lean_inc(x_23); -lean_dec(x_8); -x_25 = lean_ctor_get(x_23, 0); -lean_inc(x_25); -lean_dec(x_23); -lean_inc(x_1); -x_26 = lean_environment_find(x_25, x_1); -if (lean_obj_tag(x_26) == 0) -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; -x_27 = lean_box(0); -x_28 = l_Lean_mkConst(x_1, x_27); -x_29 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_29, 0, x_28); -x_30 = l_Lean_throwUnknownConstant___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_throwUnknownConstant___rarg___closed__3; -x_33 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_33, 0, x_31); -lean_ctor_set(x_33, 1, x_32); -x_34 = l_Lean_throwError___at_Lean_Delaborator_delabAppMatch___spec__2___rarg(x_33, x_2, x_3, x_4, x_5, x_6, x_24); -return x_34; -} -else -{ -lean_object* x_35; lean_object* x_36; -lean_dec(x_1); -x_35 = lean_ctor_get(x_26, 0); -lean_inc(x_35); -lean_dec(x_26); -x_36 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_36, 0, x_35); -lean_ctor_set(x_36, 1, x_24); -return x_36; -} -} -} -} -static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Delaborator_delabAppMatch___spec__3___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_38____closed__6; -x_2 = l_Lean_Parser_Tactic_match___closed__5; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Delaborator_delabAppMatch___spec__3___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Syntax_mkApp___closed__1; -x_2 = l_Lean_mkOptionalNode___closed__1; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -lean_object* l_Array_mapMUnsafe_map___at_Lean_Delaborator_delabAppMatch___spec__3(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; -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; lean_object* x_11; lean_object* x_12; lean_object* x_13; size_t x_14; size_t x_15; lean_object* x_16; lean_object* x_17; -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_Array_mapMUnsafe_map___at_Lean_Delaborator_delabAppMatch___spec__3___closed__2; -x_11 = lean_array_push(x_10, x_9); -x_12 = l_Array_mapMUnsafe_map___at_Lean_Delaborator_delabAppMatch___spec__3___closed__1; -x_13 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_13, 0, x_12); -lean_ctor_set(x_13, 1, x_11); -x_14 = 1; -x_15 = x_2 + x_14; -x_16 = x_13; -x_17 = lean_array_uset(x_8, x_2, x_16); -x_2 = x_15; -x_3 = x_17; -goto _start; -} -} -} -static lean_object* _init_l_Array_zipWithAux___at_Lean_Delaborator_delabAppMatch___spec__4___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_38____closed__6; -x_2 = l_Lean_Parser_Tactic_matchAlt___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Array_zipWithAux___at_Lean_Delaborator_delabAppMatch___spec__4___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_myMacro____x40_Init_Notation___hyg_5739____closed__18; -x_2 = l_Lean_mkAtom(x_1); -return x_2; -} -} -lean_object* l_Array_zipWithAux___at_Lean_Delaborator_delabAppMatch___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; uint8_t x_6; -x_5 = lean_array_get_size(x_1); -x_6 = lean_nat_dec_lt(x_3, x_5); -lean_dec(x_5); -if (x_6 == 0) -{ -lean_dec(x_3); -return x_4; -} -else -{ -lean_object* x_7; lean_object* x_8; uint8_t x_9; -x_7 = lean_array_fget(x_1, x_3); -x_8 = lean_array_get_size(x_2); -x_9 = lean_nat_dec_lt(x_3, x_8); -lean_dec(x_8); -if (x_9 == 0) -{ -lean_dec(x_7); -lean_dec(x_3); -return x_4; -} -else -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_10 = lean_array_fget(x_2, x_3); -x_11 = lean_unsigned_to_nat(1u); -x_12 = lean_nat_add(x_3, x_11); -lean_dec(x_3); -x_13 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoe___closed__3; -x_14 = lean_array_push(x_13, x_7); -x_15 = l_Array_zipWithAux___at_Lean_Delaborator_delabAppMatch___spec__4___closed__2; -x_16 = lean_array_push(x_14, x_15); -x_17 = lean_array_push(x_16, x_10); -x_18 = l_Array_zipWithAux___at_Lean_Delaborator_delabAppMatch___spec__4___closed__1; -x_19 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_19, 0, x_18); -lean_ctor_set(x_19, 1, x_17); -x_20 = lean_array_push(x_4, x_19); -x_3 = x_12; -x_4 = x_20; -goto _start; -} -} -} -} -lean_object* l_Lean_Delaborator_delabAppMatch___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -if (lean_obj_tag(x_1) == 4) -{ -lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; -x_8 = lean_ctor_get(x_1, 0); -lean_inc(x_8); -x_9 = lean_ctor_get(x_1, 1); -lean_inc(x_9); -lean_dec(x_1); -x_10 = l_Lean_Meta_getMatcherInfo_x3f(x_8, x_3, x_4, x_5, x_6, x_7); -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; -lean_dec(x_9); -lean_dec(x_8); -x_12 = lean_ctor_get(x_10, 1); -lean_inc(x_12); -lean_dec(x_10); -x_13 = l_Lean_Delaborator_failure___rarg(x_12); -return x_13; -} -else -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_14 = lean_ctor_get(x_10, 1); -lean_inc(x_14); -lean_dec(x_10); -x_15 = lean_ctor_get(x_11, 0); -lean_inc(x_15); -lean_dec(x_11); -x_16 = l_Lean_getConstInfo___at_Lean_Delaborator_delabAppMatch___spec__1(x_8, x_2, x_3, x_4, x_5, x_6, x_14); -if (lean_obj_tag(x_16) == 0) -{ -uint8_t x_17; -x_17 = !lean_is_exclusive(x_16); -if (x_17 == 0) -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; lean_object* x_22; -x_18 = lean_ctor_get(x_16, 0); -x_19 = lean_instantiate_type_lparams(x_18, x_9); -lean_dec(x_9); -lean_dec(x_18); -x_20 = l_Array_empty___closed__1; -x_21 = 0; -x_22 = lean_alloc_ctor(0, 6, 1); -lean_ctor_set(x_22, 0, x_15); -lean_ctor_set(x_22, 1, x_19); -lean_ctor_set(x_22, 2, x_20); -lean_ctor_set(x_22, 3, x_20); -lean_ctor_set(x_22, 4, x_20); -lean_ctor_set(x_22, 5, x_20); -lean_ctor_set_uint8(x_22, sizeof(void*)*6, x_21); -lean_ctor_set(x_16, 0, x_22); -return x_16; -} -else -{ -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; lean_object* x_28; lean_object* x_29; -x_23 = lean_ctor_get(x_16, 0); -x_24 = lean_ctor_get(x_16, 1); -lean_inc(x_24); -lean_inc(x_23); -lean_dec(x_16); -x_25 = lean_instantiate_type_lparams(x_23, x_9); -lean_dec(x_9); -lean_dec(x_23); -x_26 = l_Array_empty___closed__1; -x_27 = 0; -x_28 = lean_alloc_ctor(0, 6, 1); -lean_ctor_set(x_28, 0, x_15); -lean_ctor_set(x_28, 1, x_25); -lean_ctor_set(x_28, 2, x_26); -lean_ctor_set(x_28, 3, x_26); -lean_ctor_set(x_28, 4, x_26); -lean_ctor_set(x_28, 5, x_26); -lean_ctor_set_uint8(x_28, sizeof(void*)*6, x_27); -x_29 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_29, 0, x_28); -lean_ctor_set(x_29, 1, x_24); -return x_29; -} -} -else -{ -uint8_t x_30; -lean_dec(x_15); -lean_dec(x_9); -x_30 = !lean_is_exclusive(x_16); -if (x_30 == 0) -{ -return x_16; -} -else -{ -lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_31 = lean_ctor_get(x_16, 0); -x_32 = lean_ctor_get(x_16, 1); -lean_inc(x_32); -lean_inc(x_31); -lean_dec(x_16); -x_33 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_33, 0, x_31); -lean_ctor_set(x_33, 1, x_32); -return x_33; -} -} -} -} -else -{ -lean_object* x_34; -lean_dec(x_1); -x_34 = l_Lean_Delaborator_failure___rarg(x_7); -return x_34; -} -} -} -static lean_object* _init_l_Lean_Delaborator_delabAppMatch___lambda__2___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delab), 6, 0); -return x_1; -} -} -lean_object* l_Lean_Delaborator_delabAppMatch___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -uint8_t x_8; -x_8 = !lean_is_exclusive(x_1); -if (x_8 == 0) -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; -x_9 = lean_ctor_get(x_1, 0); -x_10 = lean_ctor_get(x_1, 1); -x_11 = lean_ctor_get(x_1, 2); -x_12 = lean_ctor_get_uint8(x_1, sizeof(void*)*6); -x_13 = lean_ctor_get(x_1, 3); -x_14 = lean_ctor_get(x_1, 4); -x_15 = lean_ctor_get(x_1, 5); -x_16 = lean_array_get_size(x_11); -x_17 = lean_ctor_get(x_9, 0); -lean_inc(x_17); -x_18 = lean_nat_dec_lt(x_16, x_17); -lean_dec(x_17); -lean_dec(x_16); -if (x_18 == 0) -{ -if (x_12 == 0) -{ -uint8_t x_19; lean_object* x_20; -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_19 = 1; -lean_ctor_set_uint8(x_1, sizeof(void*)*6, x_19); -x_20 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_20, 0, x_1); -lean_ctor_set(x_20, 1, x_7); -return x_20; -} -else -{ -lean_object* x_21; lean_object* x_22; uint8_t x_23; -x_21 = lean_array_get_size(x_13); -x_22 = lean_ctor_get(x_9, 1); -lean_inc(x_22); -x_23 = lean_nat_dec_lt(x_21, x_22); -lean_dec(x_22); -lean_dec(x_21); -if (x_23 == 0) -{ -lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; -x_24 = lean_array_get_size(x_14); -x_25 = lean_ctor_get(x_9, 2); -lean_inc(x_25); -x_26 = lean_array_get_size(x_25); -x_27 = lean_nat_dec_lt(x_24, x_26); -lean_dec(x_26); -if (x_27 == 0) -{ -lean_object* x_28; -lean_dec(x_25); -lean_dec(x_24); -x_28 = l_Lean_Delaborator_delab(x_2, x_3, x_4, x_5, x_6, x_7); -if (lean_obj_tag(x_28) == 0) -{ -uint8_t x_29; -x_29 = !lean_is_exclusive(x_28); -if (x_29 == 0) -{ -lean_object* x_30; lean_object* x_31; -x_30 = lean_ctor_get(x_28, 0); -x_31 = lean_array_push(x_15, x_30); -lean_ctor_set(x_1, 5, x_31); -lean_ctor_set(x_28, 0, x_1); -return x_28; -} -else -{ -lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_32 = lean_ctor_get(x_28, 0); -x_33 = lean_ctor_get(x_28, 1); -lean_inc(x_33); -lean_inc(x_32); -lean_dec(x_28); -x_34 = lean_array_push(x_15, x_32); -lean_ctor_set(x_1, 5, x_34); -x_35 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_35, 0, x_1); -lean_ctor_set(x_35, 1, x_33); -return x_35; -} -} -else -{ -uint8_t x_36; -lean_free_object(x_1); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -x_36 = !lean_is_exclusive(x_28); -if (x_36 == 0) -{ -return x_28; -} -else -{ -lean_object* x_37; lean_object* x_38; lean_object* x_39; -x_37 = lean_ctor_get(x_28, 0); -x_38 = lean_ctor_get(x_28, 1); -lean_inc(x_38); -lean_inc(x_37); -lean_dec(x_28); -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; -} -} -} -else -{ -lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; -x_40 = l_instInhabitedNat; -x_41 = lean_array_get(x_40, x_25, x_24); -lean_dec(x_24); -lean_dec(x_25); -x_42 = l_Lean_Delaborator_delabAppMatch___lambda__2___closed__1; -x_43 = l___private_Lean_Delaborator_0__Lean_Delaborator_skippingBinders___rarg(x_41, x_42, x_2, x_3, x_4, x_5, x_6, x_7); -lean_dec(x_41); -if (lean_obj_tag(x_43) == 0) -{ -uint8_t x_44; -x_44 = !lean_is_exclusive(x_43); -if (x_44 == 0) -{ -lean_object* x_45; lean_object* x_46; -x_45 = lean_ctor_get(x_43, 0); -x_46 = lean_array_push(x_14, x_45); -lean_ctor_set(x_1, 4, x_46); -lean_ctor_set(x_43, 0, x_1); -return x_43; -} -else -{ -lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; -x_47 = lean_ctor_get(x_43, 0); -x_48 = lean_ctor_get(x_43, 1); -lean_inc(x_48); -lean_inc(x_47); -lean_dec(x_43); -x_49 = lean_array_push(x_14, x_47); -lean_ctor_set(x_1, 4, x_49); -x_50 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_50, 0, x_1); -lean_ctor_set(x_50, 1, x_48); -return x_50; -} -} -else -{ -uint8_t x_51; -lean_free_object(x_1); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -x_51 = !lean_is_exclusive(x_43); -if (x_51 == 0) -{ -return x_43; -} -else -{ -lean_object* x_52; lean_object* x_53; lean_object* x_54; -x_52 = lean_ctor_get(x_43, 0); -x_53 = lean_ctor_get(x_43, 1); -lean_inc(x_53); -lean_inc(x_52); -lean_dec(x_43); -x_54 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_54, 0, x_52); -lean_ctor_set(x_54, 1, x_53); -return x_54; -} -} -} -} -else -{ -lean_object* x_55; -x_55 = l_Lean_Delaborator_delab(x_2, x_3, x_4, x_5, x_6, x_7); -if (lean_obj_tag(x_55) == 0) -{ -uint8_t x_56; -x_56 = !lean_is_exclusive(x_55); -if (x_56 == 0) -{ -lean_object* x_57; lean_object* x_58; -x_57 = lean_ctor_get(x_55, 0); -x_58 = lean_array_push(x_13, x_57); -lean_ctor_set(x_1, 3, x_58); -lean_ctor_set(x_55, 0, x_1); -return x_55; -} -else -{ -lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; -x_59 = lean_ctor_get(x_55, 0); -x_60 = lean_ctor_get(x_55, 1); -lean_inc(x_60); -lean_inc(x_59); -lean_dec(x_55); -x_61 = lean_array_push(x_13, x_59); -lean_ctor_set(x_1, 3, x_61); -x_62 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_62, 0, x_1); -lean_ctor_set(x_62, 1, x_60); -return x_62; -} -} -else -{ -uint8_t x_63; -lean_free_object(x_1); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -x_63 = !lean_is_exclusive(x_55); -if (x_63 == 0) -{ -return x_55; -} -else -{ -lean_object* x_64; lean_object* x_65; lean_object* x_66; -x_64 = lean_ctor_get(x_55, 0); -x_65 = lean_ctor_get(x_55, 1); -lean_inc(x_65); -lean_inc(x_64); -lean_dec(x_55); -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; -} -} -} -} -} -else -{ -lean_object* x_67; uint8_t x_68; -x_67 = l_Lean_Delaborator_getExpr(x_2, x_3, x_4, x_5, x_6, x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_68 = !lean_is_exclusive(x_67); -if (x_68 == 0) -{ -lean_object* x_69; lean_object* x_70; -x_69 = lean_ctor_get(x_67, 0); -x_70 = lean_array_push(x_11, x_69); -lean_ctor_set(x_1, 2, x_70); -lean_ctor_set(x_67, 0, x_1); -return x_67; -} -else -{ -lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; -x_71 = lean_ctor_get(x_67, 0); -x_72 = lean_ctor_get(x_67, 1); -lean_inc(x_72); -lean_inc(x_71); -lean_dec(x_67); -x_73 = lean_array_push(x_11, x_71); -lean_ctor_set(x_1, 2, x_73); -x_74 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_74, 0, x_1); -lean_ctor_set(x_74, 1, x_72); -return x_74; -} -} -} -else -{ -lean_object* x_75; lean_object* x_76; lean_object* x_77; uint8_t x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; uint8_t x_84; -x_75 = lean_ctor_get(x_1, 0); -x_76 = lean_ctor_get(x_1, 1); -x_77 = lean_ctor_get(x_1, 2); -x_78 = lean_ctor_get_uint8(x_1, sizeof(void*)*6); -x_79 = lean_ctor_get(x_1, 3); -x_80 = lean_ctor_get(x_1, 4); -x_81 = lean_ctor_get(x_1, 5); -lean_inc(x_81); -lean_inc(x_80); -lean_inc(x_79); -lean_inc(x_77); -lean_inc(x_76); -lean_inc(x_75); -lean_dec(x_1); -x_82 = lean_array_get_size(x_77); -x_83 = lean_ctor_get(x_75, 0); -lean_inc(x_83); -x_84 = lean_nat_dec_lt(x_82, x_83); -lean_dec(x_83); -lean_dec(x_82); -if (x_84 == 0) -{ -if (x_78 == 0) -{ -uint8_t x_85; lean_object* 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); -x_85 = 1; -x_86 = lean_alloc_ctor(0, 6, 1); -lean_ctor_set(x_86, 0, x_75); -lean_ctor_set(x_86, 1, x_76); -lean_ctor_set(x_86, 2, x_77); -lean_ctor_set(x_86, 3, x_79); -lean_ctor_set(x_86, 4, x_80); -lean_ctor_set(x_86, 5, x_81); -lean_ctor_set_uint8(x_86, sizeof(void*)*6, x_85); -x_87 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_87, 0, x_86); -lean_ctor_set(x_87, 1, x_7); -return x_87; -} -else -{ -lean_object* x_88; lean_object* x_89; uint8_t x_90; -x_88 = lean_array_get_size(x_79); -x_89 = lean_ctor_get(x_75, 1); -lean_inc(x_89); -x_90 = lean_nat_dec_lt(x_88, x_89); -lean_dec(x_89); -lean_dec(x_88); -if (x_90 == 0) -{ -lean_object* x_91; lean_object* x_92; lean_object* x_93; uint8_t x_94; -x_91 = lean_array_get_size(x_80); -x_92 = lean_ctor_get(x_75, 2); -lean_inc(x_92); -x_93 = lean_array_get_size(x_92); -x_94 = lean_nat_dec_lt(x_91, x_93); -lean_dec(x_93); -if (x_94 == 0) -{ -lean_object* x_95; -lean_dec(x_92); -lean_dec(x_91); -x_95 = l_Lean_Delaborator_delab(x_2, x_3, x_4, x_5, x_6, x_7); -if (lean_obj_tag(x_95) == 0) -{ -lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; -x_96 = lean_ctor_get(x_95, 0); -lean_inc(x_96); -x_97 = lean_ctor_get(x_95, 1); -lean_inc(x_97); -if (lean_is_exclusive(x_95)) { - lean_ctor_release(x_95, 0); - lean_ctor_release(x_95, 1); - x_98 = x_95; -} else { - lean_dec_ref(x_95); - x_98 = lean_box(0); -} -x_99 = lean_array_push(x_81, x_96); -x_100 = lean_alloc_ctor(0, 6, 1); -lean_ctor_set(x_100, 0, x_75); -lean_ctor_set(x_100, 1, x_76); -lean_ctor_set(x_100, 2, x_77); -lean_ctor_set(x_100, 3, x_79); -lean_ctor_set(x_100, 4, x_80); -lean_ctor_set(x_100, 5, x_99); -lean_ctor_set_uint8(x_100, sizeof(void*)*6, x_78); -if (lean_is_scalar(x_98)) { - x_101 = lean_alloc_ctor(0, 2, 0); -} else { - x_101 = x_98; -} -lean_ctor_set(x_101, 0, x_100); -lean_ctor_set(x_101, 1, x_97); -return x_101; -} -else -{ -lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; -lean_dec(x_81); -lean_dec(x_80); -lean_dec(x_79); -lean_dec(x_77); -lean_dec(x_76); -lean_dec(x_75); -x_102 = lean_ctor_get(x_95, 0); -lean_inc(x_102); -x_103 = lean_ctor_get(x_95, 1); -lean_inc(x_103); -if (lean_is_exclusive(x_95)) { - lean_ctor_release(x_95, 0); - lean_ctor_release(x_95, 1); - x_104 = x_95; -} else { - lean_dec_ref(x_95); - x_104 = lean_box(0); -} -if (lean_is_scalar(x_104)) { - x_105 = lean_alloc_ctor(1, 2, 0); -} else { - x_105 = x_104; -} -lean_ctor_set(x_105, 0, x_102); -lean_ctor_set(x_105, 1, x_103); -return x_105; -} -} -else -{ -lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; -x_106 = l_instInhabitedNat; -x_107 = lean_array_get(x_106, x_92, x_91); -lean_dec(x_91); -lean_dec(x_92); -x_108 = l_Lean_Delaborator_delabAppMatch___lambda__2___closed__1; -x_109 = l___private_Lean_Delaborator_0__Lean_Delaborator_skippingBinders___rarg(x_107, x_108, x_2, x_3, x_4, x_5, x_6, x_7); -lean_dec(x_107); -if (lean_obj_tag(x_109) == 0) -{ -lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; -x_110 = lean_ctor_get(x_109, 0); -lean_inc(x_110); -x_111 = lean_ctor_get(x_109, 1); -lean_inc(x_111); -if (lean_is_exclusive(x_109)) { - lean_ctor_release(x_109, 0); - lean_ctor_release(x_109, 1); - x_112 = x_109; -} else { - lean_dec_ref(x_109); - x_112 = lean_box(0); -} -x_113 = lean_array_push(x_80, x_110); -x_114 = lean_alloc_ctor(0, 6, 1); -lean_ctor_set(x_114, 0, x_75); -lean_ctor_set(x_114, 1, x_76); -lean_ctor_set(x_114, 2, x_77); -lean_ctor_set(x_114, 3, x_79); -lean_ctor_set(x_114, 4, x_113); -lean_ctor_set(x_114, 5, x_81); -lean_ctor_set_uint8(x_114, sizeof(void*)*6, x_78); -if (lean_is_scalar(x_112)) { - x_115 = lean_alloc_ctor(0, 2, 0); -} else { - x_115 = x_112; -} -lean_ctor_set(x_115, 0, x_114); -lean_ctor_set(x_115, 1, x_111); -return x_115; -} -else -{ -lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; -lean_dec(x_81); -lean_dec(x_80); -lean_dec(x_79); -lean_dec(x_77); -lean_dec(x_76); -lean_dec(x_75); -x_116 = lean_ctor_get(x_109, 0); -lean_inc(x_116); -x_117 = lean_ctor_get(x_109, 1); -lean_inc(x_117); -if (lean_is_exclusive(x_109)) { - lean_ctor_release(x_109, 0); - lean_ctor_release(x_109, 1); - x_118 = x_109; -} else { - lean_dec_ref(x_109); - x_118 = lean_box(0); -} -if (lean_is_scalar(x_118)) { - x_119 = lean_alloc_ctor(1, 2, 0); -} else { - x_119 = x_118; -} -lean_ctor_set(x_119, 0, x_116); -lean_ctor_set(x_119, 1, x_117); -return x_119; -} -} -} -else -{ -lean_object* x_120; -x_120 = l_Lean_Delaborator_delab(x_2, x_3, x_4, x_5, x_6, x_7); -if (lean_obj_tag(x_120) == 0) -{ -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_121 = lean_ctor_get(x_120, 0); -lean_inc(x_121); -x_122 = lean_ctor_get(x_120, 1); -lean_inc(x_122); -if (lean_is_exclusive(x_120)) { - lean_ctor_release(x_120, 0); - lean_ctor_release(x_120, 1); - x_123 = x_120; -} else { - lean_dec_ref(x_120); - x_123 = lean_box(0); -} -x_124 = lean_array_push(x_79, x_121); -x_125 = lean_alloc_ctor(0, 6, 1); -lean_ctor_set(x_125, 0, x_75); -lean_ctor_set(x_125, 1, x_76); -lean_ctor_set(x_125, 2, x_77); -lean_ctor_set(x_125, 3, x_124); -lean_ctor_set(x_125, 4, x_80); -lean_ctor_set(x_125, 5, x_81); -lean_ctor_set_uint8(x_125, sizeof(void*)*6, x_78); -if (lean_is_scalar(x_123)) { - x_126 = lean_alloc_ctor(0, 2, 0); -} else { - x_126 = x_123; -} -lean_ctor_set(x_126, 0, x_125); -lean_ctor_set(x_126, 1, x_122); -return x_126; -} -else -{ -lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; -lean_dec(x_81); -lean_dec(x_80); -lean_dec(x_79); -lean_dec(x_77); -lean_dec(x_76); -lean_dec(x_75); -x_127 = lean_ctor_get(x_120, 0); -lean_inc(x_127); -x_128 = lean_ctor_get(x_120, 1); -lean_inc(x_128); -if (lean_is_exclusive(x_120)) { - lean_ctor_release(x_120, 0); - lean_ctor_release(x_120, 1); - x_129 = x_120; -} else { - lean_dec_ref(x_120); - x_129 = lean_box(0); -} -if (lean_is_scalar(x_129)) { - x_130 = lean_alloc_ctor(1, 2, 0); -} else { - x_130 = x_129; -} -lean_ctor_set(x_130, 0, x_127); -lean_ctor_set(x_130, 1, x_128); -return x_130; -} -} -} -} -else -{ -lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; -x_131 = l_Lean_Delaborator_getExpr(x_2, x_3, x_4, x_5, x_6, x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_132 = lean_ctor_get(x_131, 0); -lean_inc(x_132); -x_133 = lean_ctor_get(x_131, 1); -lean_inc(x_133); -if (lean_is_exclusive(x_131)) { - lean_ctor_release(x_131, 0); - lean_ctor_release(x_131, 1); - x_134 = x_131; -} else { - lean_dec_ref(x_131); - x_134 = lean_box(0); -} -x_135 = lean_array_push(x_77, x_132); -x_136 = lean_alloc_ctor(0, 6, 1); -lean_ctor_set(x_136, 0, x_75); -lean_ctor_set(x_136, 1, x_76); -lean_ctor_set(x_136, 2, x_135); -lean_ctor_set(x_136, 3, x_79); -lean_ctor_set(x_136, 4, x_80); -lean_ctor_set(x_136, 5, x_81); -lean_ctor_set_uint8(x_136, sizeof(void*)*6, x_78); -if (lean_is_scalar(x_134)) { - x_137 = lean_alloc_ctor(0, 2, 0); -} else { - x_137 = x_134; -} -lean_ctor_set(x_137, 0, x_136); -lean_ctor_set(x_137, 1, x_133); -return x_137; -} -} -} -} -static lean_object* _init_l_Lean_Delaborator_delabAppMatch___lambda__3___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_38____closed__6; -x_2 = l_Lean_Parser_Tactic_match___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Delaborator_delabAppMatch___lambda__3___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_instInhabitedSourceInfo___closed__1; -x_2 = l_Lean_Parser_Tactic_match___closed__1; -x_3 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Delaborator_delabAppMatch___lambda__3___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_empty___closed__1; -x_2 = l_Lean_Delaborator_delabAppMatch___lambda__3___closed__2; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Delaborator_delabAppMatch___lambda__3___closed__4() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("with"); -return x_1; -} -} -static lean_object* _init_l_Lean_Delaborator_delabAppMatch___lambda__3___closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_instInhabitedSourceInfo___closed__1; -x_2 = l_Lean_Delaborator_delabAppMatch___lambda__3___closed__4; -x_3 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Delaborator_delabAppMatch___lambda__3___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_38____closed__6; -x_2 = l_Lean_Parser_Tactic_matchAlts___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Delaborator_delabAppMatch___lambda__3___closed__7() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_instInhabitedSourceInfo___closed__1; -x_2 = l_Lean_Parser_Tactic_intro___closed__7; -x_3 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Delaborator_delabAppMatch___lambda__3___closed__8() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_empty___closed__1; -x_2 = l_Lean_Delaborator_delabAppMatch___lambda__3___closed__7; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Delaborator_delabAppMatch___lambda__3___closed__9() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_nullKind___closed__2; -x_2 = l_Lean_Delaborator_delabAppMatch___lambda__3___closed__8; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Delaborator_delabAppMatch___lambda__3___closed__10() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_empty___closed__1; -x_2 = l_Lean_Delaborator_delabAppMatch___lambda__3___closed__9; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Delaborator_delabAppMatch___lambda__3___closed__11() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Tactic_intro___closed__7; -x_2 = l_Lean_mkAtom(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Delaborator_delabAppMatch___lambda__3___closed__12() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("nomatch"); -return x_1; -} -} -static lean_object* _init_l_Lean_Delaborator_delabAppMatch___lambda__3___closed__13() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_38____closed__6; -x_2 = l_Lean_Delaborator_delabAppMatch___lambda__3___closed__12; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Delaborator_delabAppMatch___lambda__3___closed__14() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_instInhabitedSourceInfo___closed__1; -x_2 = l_Lean_Delaborator_delabAppMatch___lambda__3___closed__12; -x_3 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Delaborator_delabAppMatch___lambda__3___closed__15() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_empty___closed__1; -x_2 = l_Lean_Delaborator_delabAppMatch___lambda__3___closed__14; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -lean_object* l_Lean_Delaborator_delabAppMatch___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; -x_9 = lean_ctor_get(x_1, 3); -lean_inc(x_9); -x_10 = lean_ctor_get(x_1, 4); -lean_inc(x_10); -x_11 = lean_array_get_size(x_9); -x_12 = lean_unsigned_to_nat(1u); -x_13 = lean_nat_dec_eq(x_11, x_12); -if (x_13 == 0) -{ -lean_object* x_14; lean_object* x_15; uint8_t x_16; -x_14 = lean_array_get_size(x_10); -x_15 = lean_unsigned_to_nat(0u); -x_16 = lean_nat_dec_eq(x_14, x_15); -lean_dec(x_14); -if (x_16 == 0) -{ -size_t x_17; size_t x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_17 = lean_usize_of_nat(x_11); -lean_dec(x_11); -x_18 = 0; -x_19 = x_9; -x_20 = l_Array_mapMUnsafe_map___at_Lean_Delaborator_delabAppMatch___spec__3(x_17, x_18, x_19); -x_21 = x_20; -lean_inc(x_1); -x_22 = l___private_Lean_Delaborator_0__Lean_Delaborator_delabPatterns(x_1, x_3, x_4, x_5, x_6, x_7, x_8); -if (lean_obj_tag(x_22) == 0) -{ -uint8_t x_23; -x_23 = !lean_is_exclusive(x_22); -if (x_23 == 0) -{ -lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; 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; -x_24 = lean_ctor_get(x_22, 0); -x_25 = l_Array_empty___closed__1; -x_26 = l_Array_zipWithAux___at_Lean_Delaborator_delabAppMatch___spec__4(x_24, x_10, x_15, x_25); -lean_dec(x_10); -lean_dec(x_24); -x_27 = l_Lean_Delaborator_delabConst___lambda__1___closed__6; -x_28 = l_Lean_mkSepArray(x_21, x_27); -lean_dec(x_21); -x_29 = l_Array_appendCore___rarg(x_25, x_28); -lean_dec(x_28); -x_30 = l_Lean_nullKind___closed__2; -x_31 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_31, 0, x_30); -lean_ctor_set(x_31, 1, x_29); -x_32 = l_Lean_Delaborator_delabAppMatch___lambda__3___closed__3; -x_33 = lean_array_push(x_32, x_31); -x_34 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; -x_35 = lean_array_push(x_33, x_34); -x_36 = l_Lean_Delaborator_delabAppMatch___lambda__3___closed__5; -x_37 = lean_array_push(x_35, x_36); -x_38 = l_Lean_Delaborator_delabAppMatch___lambda__3___closed__11; -x_39 = l_Lean_mkSepArray(x_26, x_38); -lean_dec(x_26); -x_40 = l_Array_appendCore___rarg(x_25, x_39); -lean_dec(x_39); -x_41 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_41, 0, x_30); -lean_ctor_set(x_41, 1, x_40); -x_42 = l_Lean_Delaborator_delabAppMatch___lambda__3___closed__10; -x_43 = lean_array_push(x_42, x_41); -x_44 = l_Lean_Delaborator_delabAppMatch___lambda__3___closed__6; -x_45 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_45, 0, x_44); -lean_ctor_set(x_45, 1, x_43); -x_46 = lean_array_push(x_37, x_45); -x_47 = l_Lean_Delaborator_delabAppMatch___lambda__3___closed__1; -x_48 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_48, 0, x_47); -lean_ctor_set(x_48, 1, x_46); -x_49 = lean_ctor_get(x_1, 5); -lean_inc(x_49); -lean_dec(x_1); -x_50 = l_Lean_Syntax_mkApp(x_48, x_49); -lean_ctor_set(x_22, 0, x_50); -return x_22; -} -else -{ -lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; -x_51 = lean_ctor_get(x_22, 0); -x_52 = lean_ctor_get(x_22, 1); -lean_inc(x_52); -lean_inc(x_51); -lean_dec(x_22); -x_53 = l_Array_empty___closed__1; -x_54 = l_Array_zipWithAux___at_Lean_Delaborator_delabAppMatch___spec__4(x_51, x_10, x_15, x_53); -lean_dec(x_10); -lean_dec(x_51); -x_55 = l_Lean_Delaborator_delabConst___lambda__1___closed__6; -x_56 = l_Lean_mkSepArray(x_21, x_55); -lean_dec(x_21); -x_57 = l_Array_appendCore___rarg(x_53, x_56); -lean_dec(x_56); -x_58 = l_Lean_nullKind___closed__2; -x_59 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_59, 0, x_58); -lean_ctor_set(x_59, 1, x_57); -x_60 = l_Lean_Delaborator_delabAppMatch___lambda__3___closed__3; -x_61 = lean_array_push(x_60, x_59); -x_62 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; -x_63 = lean_array_push(x_61, x_62); -x_64 = l_Lean_Delaborator_delabAppMatch___lambda__3___closed__5; -x_65 = lean_array_push(x_63, x_64); -x_66 = l_Lean_Delaborator_delabAppMatch___lambda__3___closed__11; -x_67 = l_Lean_mkSepArray(x_54, x_66); -lean_dec(x_54); -x_68 = l_Array_appendCore___rarg(x_53, x_67); -lean_dec(x_67); -x_69 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_69, 0, x_58); -lean_ctor_set(x_69, 1, x_68); -x_70 = l_Lean_Delaborator_delabAppMatch___lambda__3___closed__10; -x_71 = lean_array_push(x_70, x_69); -x_72 = l_Lean_Delaborator_delabAppMatch___lambda__3___closed__6; -x_73 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_73, 0, x_72); -lean_ctor_set(x_73, 1, x_71); -x_74 = lean_array_push(x_65, x_73); -x_75 = l_Lean_Delaborator_delabAppMatch___lambda__3___closed__1; -x_76 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_76, 0, x_75); -lean_ctor_set(x_76, 1, x_74); -x_77 = lean_ctor_get(x_1, 5); -lean_inc(x_77); -lean_dec(x_1); -x_78 = l_Lean_Syntax_mkApp(x_76, 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_52); -return x_79; -} -} -else -{ -uint8_t x_80; -lean_dec(x_21); -lean_dec(x_10); -lean_dec(x_1); -x_80 = !lean_is_exclusive(x_22); -if (x_80 == 0) -{ -return x_22; -} -else -{ -lean_object* x_81; lean_object* x_82; lean_object* x_83; -x_81 = lean_ctor_get(x_22, 0); -x_82 = lean_ctor_get(x_22, 1); -lean_inc(x_82); -lean_inc(x_81); -lean_dec(x_22); -x_83 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_83, 0, x_81); -lean_ctor_set(x_83, 1, x_82); -return x_83; -} -} -} -else -{ -lean_object* x_84; -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_84 = l_Lean_Delaborator_failure___rarg(x_8); -return x_84; -} -} -else -{ -lean_object* x_85; lean_object* x_86; uint8_t x_87; -x_85 = lean_array_get_size(x_10); -x_86 = lean_unsigned_to_nat(0u); -x_87 = lean_nat_dec_eq(x_85, x_86); -lean_dec(x_85); -if (x_87 == 0) -{ -size_t x_88; size_t x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; -x_88 = lean_usize_of_nat(x_11); -lean_dec(x_11); -x_89 = 0; -x_90 = x_9; -x_91 = l_Array_mapMUnsafe_map___at_Lean_Delaborator_delabAppMatch___spec__3(x_88, x_89, x_90); -x_92 = x_91; -lean_inc(x_1); -x_93 = l___private_Lean_Delaborator_0__Lean_Delaborator_delabPatterns(x_1, x_3, x_4, x_5, x_6, x_7, x_8); -if (lean_obj_tag(x_93) == 0) -{ -uint8_t x_94; -x_94 = !lean_is_exclusive(x_93); -if (x_94 == 0) -{ -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; -x_95 = lean_ctor_get(x_93, 0); -x_96 = l_Array_empty___closed__1; -x_97 = l_Array_zipWithAux___at_Lean_Delaborator_delabAppMatch___spec__4(x_95, x_10, x_86, x_96); -lean_dec(x_10); -lean_dec(x_95); -x_98 = l_Lean_Delaborator_delabConst___lambda__1___closed__6; -x_99 = l_Lean_mkSepArray(x_92, x_98); -lean_dec(x_92); -x_100 = l_Array_appendCore___rarg(x_96, x_99); -lean_dec(x_99); -x_101 = l_Lean_nullKind___closed__2; -x_102 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_102, 0, x_101); -lean_ctor_set(x_102, 1, x_100); -x_103 = l_Lean_Delaborator_delabAppMatch___lambda__3___closed__3; -x_104 = lean_array_push(x_103, x_102); -x_105 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; -x_106 = lean_array_push(x_104, x_105); -x_107 = l_Lean_Delaborator_delabAppMatch___lambda__3___closed__5; -x_108 = lean_array_push(x_106, x_107); -x_109 = l_Lean_Delaborator_delabAppMatch___lambda__3___closed__11; -x_110 = l_Lean_mkSepArray(x_97, x_109); -lean_dec(x_97); -x_111 = l_Array_appendCore___rarg(x_96, x_110); -lean_dec(x_110); -x_112 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_112, 0, x_101); -lean_ctor_set(x_112, 1, x_111); -x_113 = l_Lean_Delaborator_delabAppMatch___lambda__3___closed__10; -x_114 = lean_array_push(x_113, x_112); -x_115 = l_Lean_Delaborator_delabAppMatch___lambda__3___closed__6; -x_116 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_116, 0, x_115); -lean_ctor_set(x_116, 1, x_114); -x_117 = lean_array_push(x_108, x_116); -x_118 = l_Lean_Delaborator_delabAppMatch___lambda__3___closed__1; -x_119 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_119, 0, x_118); -lean_ctor_set(x_119, 1, x_117); -x_120 = lean_ctor_get(x_1, 5); -lean_inc(x_120); -lean_dec(x_1); -x_121 = l_Lean_Syntax_mkApp(x_119, x_120); -lean_ctor_set(x_93, 0, x_121); -return x_93; -} -else -{ -lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; -x_122 = lean_ctor_get(x_93, 0); -x_123 = lean_ctor_get(x_93, 1); -lean_inc(x_123); -lean_inc(x_122); -lean_dec(x_93); -x_124 = l_Array_empty___closed__1; -x_125 = l_Array_zipWithAux___at_Lean_Delaborator_delabAppMatch___spec__4(x_122, x_10, x_86, x_124); -lean_dec(x_10); -lean_dec(x_122); -x_126 = l_Lean_Delaborator_delabConst___lambda__1___closed__6; -x_127 = l_Lean_mkSepArray(x_92, x_126); -lean_dec(x_92); -x_128 = l_Array_appendCore___rarg(x_124, x_127); -lean_dec(x_127); -x_129 = l_Lean_nullKind___closed__2; -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 = l_Lean_Delaborator_delabAppMatch___lambda__3___closed__3; -x_132 = lean_array_push(x_131, x_130); -x_133 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; -x_134 = lean_array_push(x_132, x_133); -x_135 = l_Lean_Delaborator_delabAppMatch___lambda__3___closed__5; -x_136 = lean_array_push(x_134, x_135); -x_137 = l_Lean_Delaborator_delabAppMatch___lambda__3___closed__11; -x_138 = l_Lean_mkSepArray(x_125, x_137); -lean_dec(x_125); -x_139 = l_Array_appendCore___rarg(x_124, x_138); -lean_dec(x_138); -x_140 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_140, 0, x_129); -lean_ctor_set(x_140, 1, x_139); -x_141 = l_Lean_Delaborator_delabAppMatch___lambda__3___closed__10; -x_142 = lean_array_push(x_141, x_140); -x_143 = l_Lean_Delaborator_delabAppMatch___lambda__3___closed__6; -x_144 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_144, 0, x_143); -lean_ctor_set(x_144, 1, x_142); -x_145 = lean_array_push(x_136, x_144); -x_146 = l_Lean_Delaborator_delabAppMatch___lambda__3___closed__1; -x_147 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_147, 0, x_146); -lean_ctor_set(x_147, 1, x_145); -x_148 = lean_ctor_get(x_1, 5); -lean_inc(x_148); -lean_dec(x_1); -x_149 = l_Lean_Syntax_mkApp(x_147, x_148); -x_150 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_150, 0, x_149); -lean_ctor_set(x_150, 1, x_123); -return x_150; -} -} -else -{ -uint8_t x_151; -lean_dec(x_92); -lean_dec(x_10); -lean_dec(x_1); -x_151 = !lean_is_exclusive(x_93); -if (x_151 == 0) -{ -return x_93; -} -else -{ -lean_object* x_152; lean_object* x_153; lean_object* x_154; -x_152 = lean_ctor_get(x_93, 0); -x_153 = lean_ctor_get(x_93, 1); -lean_inc(x_153); -lean_inc(x_152); -lean_dec(x_93); -x_154 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_154, 0, x_152); -lean_ctor_set(x_154, 1, x_153); -return x_154; -} -} -} -else -{ -lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_155 = lean_array_fget(x_9, x_86); -lean_dec(x_9); -x_156 = l_Lean_Delaborator_delabAppMatch___lambda__3___closed__15; -x_157 = lean_array_push(x_156, x_155); -x_158 = l_Lean_Delaborator_delabAppMatch___lambda__3___closed__13; -x_159 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_159, 0, x_158); -lean_ctor_set(x_159, 1, x_157); -x_160 = lean_ctor_get(x_1, 5); -lean_inc(x_160); -lean_dec(x_1); -x_161 = l_Lean_Syntax_mkApp(x_159, x_160); -x_162 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_162, 0, x_161); -lean_ctor_set(x_162, 1, x_8); -return x_162; -} -} -} -} -lean_object* l_Lean_Delaborator_delabAppMatch___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; -x_8 = lean_ctor_get(x_1, 3); -lean_inc(x_8); -x_9 = lean_array_get_size(x_8); -lean_dec(x_8); -x_10 = lean_ctor_get(x_1, 0); -lean_inc(x_10); -x_11 = lean_ctor_get(x_10, 1); -lean_inc(x_11); -x_12 = lean_nat_dec_lt(x_9, x_11); -lean_dec(x_11); -lean_dec(x_9); -if (x_12 == 0) -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; -x_13 = lean_ctor_get(x_1, 4); -lean_inc(x_13); -x_14 = lean_array_get_size(x_13); -lean_dec(x_13); -x_15 = lean_ctor_get(x_10, 2); -lean_inc(x_15); -lean_dec(x_10); -x_16 = lean_array_get_size(x_15); -lean_dec(x_15); -x_17 = lean_nat_dec_lt(x_14, x_16); -lean_dec(x_16); -lean_dec(x_14); -if (x_17 == 0) -{ -lean_object* x_18; lean_object* x_19; -x_18 = lean_box(0); -x_19 = l_Lean_Delaborator_delabAppMatch___lambda__3(x_1, x_18, x_2, x_3, x_4, x_5, x_6, x_7); -return x_19; -} -else -{ -lean_object* x_20; uint8_t x_21; -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_20 = l_Lean_Delaborator_failure___rarg(x_7); -x_21 = !lean_is_exclusive(x_20); -if (x_21 == 0) -{ -return x_20; -} -else -{ -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_20, 1); -lean_inc(x_23); -lean_inc(x_22); -lean_dec(x_20); -x_24 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_24, 0, x_22); -lean_ctor_set(x_24, 1, x_23); -return x_24; -} -} -} -else -{ -lean_object* x_25; uint8_t x_26; -lean_dec(x_10); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_25 = l_Lean_Delaborator_failure___rarg(x_7); -x_26 = !lean_is_exclusive(x_25); -if (x_26 == 0) -{ -return x_25; -} -else -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_27 = lean_ctor_get(x_25, 0); -x_28 = lean_ctor_get(x_25, 1); -lean_inc(x_28); -lean_inc(x_27); -lean_dec(x_25); -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; -} -} -} -} -static lean_object* _init_l_Lean_Delaborator_delabAppMatch___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabAppMatch___lambda__1___boxed), 7, 0); -return x_1; -} -} -static lean_object* _init_l_Lean_Delaborator_delabAppMatch___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Delaborator_delabAppExplicit___closed__1; -x_2 = l_Lean_Delaborator_delabAppMatch___closed__1; -x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Delaborator_delabAppExplicit___spec__2___rarg), 8, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Delaborator_delabAppMatch___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabAppMatch___lambda__2), 7, 0); -return x_1; -} -} -static lean_object* _init_l_Lean_Delaborator_delabAppMatch___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Delaborator_delabAppMatch___closed__2; -x_2 = l_Lean_Delaborator_delabAppMatch___closed__3; -x_3 = lean_alloc_closure((void*)(l_Lean_Delaborator_withAppFnArgs___rarg), 8, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Delaborator_delabAppMatch___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabAppMatch___lambda__4), 7, 0); -return x_1; -} -} -static lean_object* _init_l_Lean_Delaborator_delabAppMatch___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Delaborator_delabAppMatch___closed__4; -x_2 = l_Lean_Delaborator_delabAppMatch___closed__5; -x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Delaborator_delabAppExplicit___spec__2___rarg), 8, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Delaborator_delabAppMatch___closed__7() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_getPPNotation___boxed), 1, 0); -return x_1; -} -} -lean_object* l_Lean_Delaborator_delabAppMatch(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; lean_object* x_8; lean_object* x_9; -x_7 = l_Lean_Delaborator_delabAppMatch___closed__7; -x_8 = l_Lean_Delaborator_delabAppMatch___closed__6; -x_9 = l_Lean_Delaborator_whenPPOption(x_7, x_8, x_1, x_2, x_3, x_4, x_5, x_6); -return x_9; -} -} -lean_object* l_Lean_throwError___at_Lean_Delaborator_delabAppMatch___spec__2___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; -x_8 = l_Lean_throwError___at_Lean_Delaborator_delabAppMatch___spec__2___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_8; -} -} -lean_object* l_Lean_getConstInfo___at_Lean_Delaborator_delabAppMatch___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) { -_start: -{ -lean_object* x_8; -x_8 = l_Lean_getConstInfo___at_Lean_Delaborator_delabAppMatch___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_8; -} -} -lean_object* l_Array_mapMUnsafe_map___at_Lean_Delaborator_delabAppMatch___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; -x_4 = lean_unbox_usize(x_1); -lean_dec(x_1); -x_5 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_6 = l_Array_mapMUnsafe_map___at_Lean_Delaborator_delabAppMatch___spec__3(x_4, x_5, x_3); -return x_6; -} -} -lean_object* l_Array_zipWithAux___at_Lean_Delaborator_delabAppMatch___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; -x_5 = l_Array_zipWithAux___at_Lean_Delaborator_delabAppMatch___spec__4(x_1, x_2, x_3, x_4); -lean_dec(x_2); -lean_dec(x_1); -return x_5; -} -} -lean_object* l_Lean_Delaborator_delabAppMatch___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; -x_8 = l_Lean_Delaborator_delabAppMatch___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_8; -} -} -lean_object* l_Lean_Delaborator_delabAppMatch___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; -x_9 = l_Lean_Delaborator_delabAppMatch___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_2); -return x_9; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabAppMatch___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabAppMatch), 6, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Delaborator_delabAppMatch(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_Delaborator_delabAttribute; -x_3 = l_Lean_Delaborator_getExprKind___closed__5; -x_4 = l___regBuiltin_Lean_Delaborator_delabAppMatch___closed__1; -x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); -return x_5; -} -} -lean_object* l_Lean_Delaborator_delabMData_match__1___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_Lean_Delaborator_delabMData_match__1(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabMData_match__1___rarg), 2, 0); -return x_2; -} -} -lean_object* l_Lean_Delaborator_delabMData_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_Lean_Delaborator_delabMData_match__2(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabMData_match__2___rarg), 2, 0); -return x_2; -} -} -lean_object* l_Lean_Delaborator_delabMData_match__3___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_Lean_Delaborator_delabMData_match__3(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabMData_match__3___rarg), 2, 0); -return x_2; -} -} -lean_object* l_Lean_Delaborator_delabMData_match__4___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -if (lean_obj_tag(x_1) == 10) -{ -lean_object* x_4; lean_object* x_5; uint64_t x_6; lean_object* x_7; lean_object* x_8; -lean_dec(x_3); -x_4 = lean_ctor_get(x_1, 0); -lean_inc(x_4); -x_5 = lean_ctor_get(x_1, 1); -lean_inc(x_5); -x_6 = lean_ctor_get_uint64(x_1, sizeof(void*)*2); -lean_dec(x_1); -x_7 = lean_box_uint64(x_6); -x_8 = lean_apply_3(x_2, x_4, x_5, x_7); -return x_8; -} -else -{ -lean_object* x_9; -lean_dec(x_2); -x_9 = lean_apply_1(x_3, x_1); -return x_9; -} -} -} -lean_object* l_Lean_Delaborator_delabMData_match__4(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabMData_match__4___rarg), 3, 0); -return x_2; -} -} -lean_object* l_Std_RBNode_ins___at_Lean_Delaborator_delabMData___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -if (lean_obj_tag(x_1) == 0) -{ -lean_object* x_4; uint8_t x_5; lean_object* x_6; -x_4 = lean_box(0); -x_5 = 0; -x_6 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_6, 0, x_4); -lean_ctor_set(x_6, 1, x_2); -lean_ctor_set(x_6, 2, x_3); -lean_ctor_set(x_6, 3, x_4); -lean_ctor_set_uint8(x_6, sizeof(void*)*4, x_5); -return x_6; -} -else -{ -uint8_t x_7; -x_7 = lean_ctor_get_uint8(x_1, sizeof(void*)*4); -if (x_7 == 0) -{ -uint8_t x_8; -x_8 = !lean_is_exclusive(x_1); -if (x_8 == 0) -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; -x_9 = lean_ctor_get(x_1, 0); -x_10 = lean_ctor_get(x_1, 1); -x_11 = lean_ctor_get(x_1, 2); -x_12 = lean_ctor_get(x_1, 3); -x_13 = lean_nat_dec_lt(x_2, x_10); -if (x_13 == 0) -{ -uint8_t x_14; -x_14 = lean_nat_dec_lt(x_10, x_2); -if (x_14 == 0) -{ -uint8_t x_15; -lean_dec(x_11); -lean_dec(x_10); -x_15 = 0; -lean_ctor_set(x_1, 2, x_3); -lean_ctor_set(x_1, 1, x_2); -lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_15); -return x_1; -} -else -{ -lean_object* x_16; uint8_t x_17; -x_16 = l_Std_RBNode_ins___at_Lean_Delaborator_delabMData___spec__2(x_12, x_2, x_3); -x_17 = 0; -lean_ctor_set(x_1, 3, x_16); -lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_17); -return x_1; -} -} -else -{ -lean_object* x_18; uint8_t x_19; -x_18 = l_Std_RBNode_ins___at_Lean_Delaborator_delabMData___spec__2(x_9, x_2, x_3); -x_19 = 0; -lean_ctor_set(x_1, 0, x_18); -lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_19); -return x_1; -} -} -else -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; -x_20 = lean_ctor_get(x_1, 0); -x_21 = lean_ctor_get(x_1, 1); -x_22 = lean_ctor_get(x_1, 2); -x_23 = lean_ctor_get(x_1, 3); -lean_inc(x_23); -lean_inc(x_22); -lean_inc(x_21); -lean_inc(x_20); -lean_dec(x_1); -x_24 = lean_nat_dec_lt(x_2, x_21); -if (x_24 == 0) -{ -uint8_t x_25; -x_25 = lean_nat_dec_lt(x_21, x_2); -if (x_25 == 0) -{ -uint8_t x_26; lean_object* x_27; -lean_dec(x_22); -lean_dec(x_21); -x_26 = 0; -x_27 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_27, 0, x_20); -lean_ctor_set(x_27, 1, x_2); -lean_ctor_set(x_27, 2, x_3); -lean_ctor_set(x_27, 3, x_23); -lean_ctor_set_uint8(x_27, sizeof(void*)*4, x_26); -return x_27; -} -else -{ -lean_object* x_28; uint8_t x_29; lean_object* x_30; -x_28 = l_Std_RBNode_ins___at_Lean_Delaborator_delabMData___spec__2(x_23, x_2, x_3); -x_29 = 0; -x_30 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_30, 0, x_20); -lean_ctor_set(x_30, 1, x_21); -lean_ctor_set(x_30, 2, x_22); -lean_ctor_set(x_30, 3, x_28); -lean_ctor_set_uint8(x_30, sizeof(void*)*4, x_29); -return x_30; -} -} -else -{ -lean_object* x_31; uint8_t x_32; lean_object* x_33; -x_31 = l_Std_RBNode_ins___at_Lean_Delaborator_delabMData___spec__2(x_20, x_2, x_3); -x_32 = 0; -x_33 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_33, 0, x_31); -lean_ctor_set(x_33, 1, x_21); -lean_ctor_set(x_33, 2, x_22); -lean_ctor_set(x_33, 3, x_23); -lean_ctor_set_uint8(x_33, sizeof(void*)*4, x_32); -return x_33; -} -} -} -else -{ -uint8_t x_34; -x_34 = !lean_is_exclusive(x_1); -if (x_34 == 0) -{ -lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; -x_35 = lean_ctor_get(x_1, 0); -x_36 = lean_ctor_get(x_1, 1); -x_37 = lean_ctor_get(x_1, 2); -x_38 = lean_ctor_get(x_1, 3); -x_39 = lean_nat_dec_lt(x_2, x_36); -if (x_39 == 0) -{ -uint8_t x_40; -x_40 = lean_nat_dec_lt(x_36, x_2); -if (x_40 == 0) -{ -uint8_t x_41; -lean_dec(x_37); -lean_dec(x_36); -x_41 = 1; -lean_ctor_set(x_1, 2, x_3); -lean_ctor_set(x_1, 1, x_2); -lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_41); -return x_1; -} -else -{ -uint8_t x_42; -x_42 = l_Std_RBNode_isRed___rarg(x_38); -if (x_42 == 0) -{ -lean_object* x_43; uint8_t x_44; -x_43 = l_Std_RBNode_ins___at_Lean_Delaborator_delabMData___spec__2(x_38, x_2, x_3); -x_44 = 1; -lean_ctor_set(x_1, 3, x_43); -lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_44); -return x_1; -} -else -{ -lean_object* x_45; lean_object* x_46; -x_45 = l_Std_RBNode_ins___at_Lean_Delaborator_delabMData___spec__2(x_38, x_2, x_3); -x_46 = lean_ctor_get(x_45, 0); -lean_inc(x_46); -if (lean_obj_tag(x_46) == 0) -{ -lean_object* x_47; -x_47 = lean_ctor_get(x_45, 3); -lean_inc(x_47); -if (lean_obj_tag(x_47) == 0) -{ -uint8_t x_48; -x_48 = !lean_is_exclusive(x_45); -if (x_48 == 0) -{ -lean_object* x_49; lean_object* x_50; uint8_t x_51; uint8_t x_52; -x_49 = lean_ctor_get(x_45, 3); -lean_dec(x_49); -x_50 = lean_ctor_get(x_45, 0); -lean_dec(x_50); -x_51 = 0; -lean_ctor_set(x_45, 0, x_47); -lean_ctor_set_uint8(x_45, sizeof(void*)*4, x_51); -x_52 = 1; -lean_ctor_set(x_1, 3, x_45); -lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_52); -return x_1; -} -else -{ -lean_object* x_53; lean_object* x_54; uint8_t x_55; lean_object* x_56; uint8_t x_57; -x_53 = lean_ctor_get(x_45, 1); -x_54 = lean_ctor_get(x_45, 2); -lean_inc(x_54); -lean_inc(x_53); -lean_dec(x_45); -x_55 = 0; -x_56 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_56, 0, x_47); -lean_ctor_set(x_56, 1, x_53); -lean_ctor_set(x_56, 2, x_54); -lean_ctor_set(x_56, 3, x_47); -lean_ctor_set_uint8(x_56, sizeof(void*)*4, x_55); -x_57 = 1; -lean_ctor_set(x_1, 3, x_56); -lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_57); -return x_1; -} -} -else -{ -uint8_t x_58; -x_58 = lean_ctor_get_uint8(x_47, sizeof(void*)*4); -if (x_58 == 0) -{ -uint8_t x_59; -x_59 = !lean_is_exclusive(x_45); -if (x_59 == 0) -{ -lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; uint8_t x_64; -x_60 = lean_ctor_get(x_45, 1); -x_61 = lean_ctor_get(x_45, 2); -x_62 = lean_ctor_get(x_45, 3); -lean_dec(x_62); -x_63 = lean_ctor_get(x_45, 0); -lean_dec(x_63); -x_64 = !lean_is_exclusive(x_47); -if (x_64 == 0) -{ -lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; uint8_t x_69; uint8_t x_70; -x_65 = lean_ctor_get(x_47, 0); -x_66 = lean_ctor_get(x_47, 1); -x_67 = lean_ctor_get(x_47, 2); -x_68 = lean_ctor_get(x_47, 3); -x_69 = 1; -lean_ctor_set(x_47, 3, x_46); -lean_ctor_set(x_47, 2, x_37); -lean_ctor_set(x_47, 1, x_36); -lean_ctor_set(x_47, 0, x_35); -lean_ctor_set_uint8(x_47, sizeof(void*)*4, x_69); -lean_ctor_set(x_45, 3, x_68); -lean_ctor_set(x_45, 2, x_67); -lean_ctor_set(x_45, 1, x_66); -lean_ctor_set(x_45, 0, x_65); -lean_ctor_set_uint8(x_45, sizeof(void*)*4, x_69); -x_70 = 0; -lean_ctor_set(x_1, 3, x_45); -lean_ctor_set(x_1, 2, x_61); -lean_ctor_set(x_1, 1, x_60); -lean_ctor_set(x_1, 0, x_47); -lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_70); -return x_1; -} -else -{ -lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; uint8_t x_75; lean_object* x_76; uint8_t x_77; -x_71 = lean_ctor_get(x_47, 0); -x_72 = lean_ctor_get(x_47, 1); -x_73 = lean_ctor_get(x_47, 2); -x_74 = lean_ctor_get(x_47, 3); -lean_inc(x_74); -lean_inc(x_73); -lean_inc(x_72); -lean_inc(x_71); -lean_dec(x_47); -x_75 = 1; -x_76 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_76, 0, x_35); -lean_ctor_set(x_76, 1, x_36); -lean_ctor_set(x_76, 2, x_37); -lean_ctor_set(x_76, 3, x_46); -lean_ctor_set_uint8(x_76, sizeof(void*)*4, x_75); -lean_ctor_set(x_45, 3, x_74); -lean_ctor_set(x_45, 2, x_73); -lean_ctor_set(x_45, 1, x_72); -lean_ctor_set(x_45, 0, x_71); -lean_ctor_set_uint8(x_45, sizeof(void*)*4, x_75); -x_77 = 0; -lean_ctor_set(x_1, 3, x_45); -lean_ctor_set(x_1, 2, x_61); -lean_ctor_set(x_1, 1, x_60); -lean_ctor_set(x_1, 0, x_76); -lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_77); -return x_1; -} -} -else -{ -lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; uint8_t x_85; lean_object* x_86; lean_object* x_87; uint8_t x_88; -x_78 = lean_ctor_get(x_45, 1); -x_79 = lean_ctor_get(x_45, 2); -lean_inc(x_79); -lean_inc(x_78); -lean_dec(x_45); -x_80 = lean_ctor_get(x_47, 0); -lean_inc(x_80); -x_81 = lean_ctor_get(x_47, 1); -lean_inc(x_81); -x_82 = lean_ctor_get(x_47, 2); -lean_inc(x_82); -x_83 = lean_ctor_get(x_47, 3); -lean_inc(x_83); -if (lean_is_exclusive(x_47)) { - lean_ctor_release(x_47, 0); - lean_ctor_release(x_47, 1); - lean_ctor_release(x_47, 2); - lean_ctor_release(x_47, 3); - x_84 = x_47; -} else { - lean_dec_ref(x_47); - x_84 = lean_box(0); -} -x_85 = 1; -if (lean_is_scalar(x_84)) { - x_86 = lean_alloc_ctor(1, 4, 1); -} else { - x_86 = x_84; -} -lean_ctor_set(x_86, 0, x_35); -lean_ctor_set(x_86, 1, x_36); -lean_ctor_set(x_86, 2, x_37); -lean_ctor_set(x_86, 3, x_46); -lean_ctor_set_uint8(x_86, sizeof(void*)*4, x_85); -x_87 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_87, 0, x_80); -lean_ctor_set(x_87, 1, x_81); -lean_ctor_set(x_87, 2, x_82); -lean_ctor_set(x_87, 3, x_83); -lean_ctor_set_uint8(x_87, sizeof(void*)*4, x_85); -x_88 = 0; -lean_ctor_set(x_1, 3, x_87); -lean_ctor_set(x_1, 2, x_79); -lean_ctor_set(x_1, 1, x_78); -lean_ctor_set(x_1, 0, x_86); -lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_88); -return x_1; -} -} -else -{ -uint8_t x_89; -x_89 = !lean_is_exclusive(x_45); -if (x_89 == 0) -{ -lean_object* x_90; lean_object* x_91; uint8_t x_92; uint8_t x_93; -x_90 = lean_ctor_get(x_45, 3); -lean_dec(x_90); -x_91 = lean_ctor_get(x_45, 0); -lean_dec(x_91); -x_92 = 0; -lean_ctor_set_uint8(x_45, sizeof(void*)*4, x_92); -x_93 = 1; -lean_ctor_set(x_1, 3, x_45); -lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_93); -return x_1; -} -else -{ -lean_object* x_94; lean_object* x_95; uint8_t x_96; lean_object* x_97; uint8_t x_98; -x_94 = lean_ctor_get(x_45, 1); -x_95 = lean_ctor_get(x_45, 2); -lean_inc(x_95); -lean_inc(x_94); -lean_dec(x_45); -x_96 = 0; -x_97 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_97, 0, x_46); -lean_ctor_set(x_97, 1, x_94); -lean_ctor_set(x_97, 2, x_95); -lean_ctor_set(x_97, 3, x_47); -lean_ctor_set_uint8(x_97, sizeof(void*)*4, x_96); -x_98 = 1; -lean_ctor_set(x_1, 3, x_97); -lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_98); -return x_1; -} -} -} -} -else -{ -uint8_t x_99; -x_99 = lean_ctor_get_uint8(x_46, sizeof(void*)*4); -if (x_99 == 0) -{ -uint8_t x_100; -x_100 = !lean_is_exclusive(x_45); -if (x_100 == 0) -{ -lean_object* x_101; uint8_t x_102; -x_101 = lean_ctor_get(x_45, 0); -lean_dec(x_101); -x_102 = !lean_is_exclusive(x_46); -if (x_102 == 0) -{ -lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; uint8_t x_107; uint8_t x_108; -x_103 = lean_ctor_get(x_46, 0); -x_104 = lean_ctor_get(x_46, 1); -x_105 = lean_ctor_get(x_46, 2); -x_106 = lean_ctor_get(x_46, 3); -x_107 = 1; -lean_ctor_set(x_46, 3, x_103); -lean_ctor_set(x_46, 2, x_37); -lean_ctor_set(x_46, 1, x_36); -lean_ctor_set(x_46, 0, x_35); -lean_ctor_set_uint8(x_46, sizeof(void*)*4, x_107); -lean_ctor_set(x_45, 0, x_106); -lean_ctor_set_uint8(x_45, sizeof(void*)*4, x_107); -x_108 = 0; -lean_ctor_set(x_1, 3, x_45); -lean_ctor_set(x_1, 2, x_105); -lean_ctor_set(x_1, 1, x_104); -lean_ctor_set(x_1, 0, x_46); -lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_108); -return x_1; -} -else -{ -lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; uint8_t x_113; lean_object* x_114; uint8_t x_115; -x_109 = lean_ctor_get(x_46, 0); -x_110 = lean_ctor_get(x_46, 1); -x_111 = lean_ctor_get(x_46, 2); -x_112 = lean_ctor_get(x_46, 3); -lean_inc(x_112); -lean_inc(x_111); -lean_inc(x_110); -lean_inc(x_109); -lean_dec(x_46); -x_113 = 1; -x_114 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_114, 0, x_35); -lean_ctor_set(x_114, 1, x_36); -lean_ctor_set(x_114, 2, x_37); -lean_ctor_set(x_114, 3, x_109); -lean_ctor_set_uint8(x_114, sizeof(void*)*4, x_113); -lean_ctor_set(x_45, 0, x_112); -lean_ctor_set_uint8(x_45, sizeof(void*)*4, x_113); -x_115 = 0; -lean_ctor_set(x_1, 3, x_45); -lean_ctor_set(x_1, 2, x_111); -lean_ctor_set(x_1, 1, x_110); -lean_ctor_set(x_1, 0, x_114); -lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_115); -return x_1; -} -} -else -{ -lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; uint8_t x_124; lean_object* x_125; lean_object* x_126; uint8_t x_127; -x_116 = lean_ctor_get(x_45, 1); -x_117 = lean_ctor_get(x_45, 2); -x_118 = lean_ctor_get(x_45, 3); -lean_inc(x_118); -lean_inc(x_117); -lean_inc(x_116); -lean_dec(x_45); -x_119 = lean_ctor_get(x_46, 0); -lean_inc(x_119); -x_120 = lean_ctor_get(x_46, 1); -lean_inc(x_120); -x_121 = lean_ctor_get(x_46, 2); -lean_inc(x_121); -x_122 = lean_ctor_get(x_46, 3); -lean_inc(x_122); -if (lean_is_exclusive(x_46)) { - lean_ctor_release(x_46, 0); - lean_ctor_release(x_46, 1); - lean_ctor_release(x_46, 2); - lean_ctor_release(x_46, 3); - x_123 = x_46; -} else { - lean_dec_ref(x_46); - x_123 = lean_box(0); -} -x_124 = 1; -if (lean_is_scalar(x_123)) { - x_125 = lean_alloc_ctor(1, 4, 1); -} else { - x_125 = x_123; -} -lean_ctor_set(x_125, 0, x_35); -lean_ctor_set(x_125, 1, x_36); -lean_ctor_set(x_125, 2, x_37); -lean_ctor_set(x_125, 3, x_119); -lean_ctor_set_uint8(x_125, sizeof(void*)*4, x_124); -x_126 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_126, 0, x_122); -lean_ctor_set(x_126, 1, x_116); -lean_ctor_set(x_126, 2, x_117); -lean_ctor_set(x_126, 3, x_118); -lean_ctor_set_uint8(x_126, sizeof(void*)*4, x_124); -x_127 = 0; -lean_ctor_set(x_1, 3, x_126); -lean_ctor_set(x_1, 2, x_121); -lean_ctor_set(x_1, 1, x_120); -lean_ctor_set(x_1, 0, x_125); -lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_127); -return x_1; -} -} -else -{ -lean_object* x_128; -x_128 = lean_ctor_get(x_45, 3); -lean_inc(x_128); -if (lean_obj_tag(x_128) == 0) -{ -uint8_t x_129; -x_129 = !lean_is_exclusive(x_45); -if (x_129 == 0) -{ -lean_object* x_130; lean_object* x_131; uint8_t x_132; uint8_t x_133; -x_130 = lean_ctor_get(x_45, 3); -lean_dec(x_130); -x_131 = lean_ctor_get(x_45, 0); -lean_dec(x_131); -x_132 = 0; -lean_ctor_set_uint8(x_45, sizeof(void*)*4, x_132); -x_133 = 1; -lean_ctor_set(x_1, 3, x_45); -lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_133); -return x_1; -} -else -{ -lean_object* x_134; lean_object* x_135; uint8_t x_136; lean_object* x_137; uint8_t x_138; -x_134 = lean_ctor_get(x_45, 1); -x_135 = lean_ctor_get(x_45, 2); -lean_inc(x_135); -lean_inc(x_134); -lean_dec(x_45); -x_136 = 0; -x_137 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_137, 0, x_46); -lean_ctor_set(x_137, 1, x_134); -lean_ctor_set(x_137, 2, x_135); -lean_ctor_set(x_137, 3, x_128); -lean_ctor_set_uint8(x_137, sizeof(void*)*4, x_136); -x_138 = 1; -lean_ctor_set(x_1, 3, x_137); -lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_138); -return x_1; -} -} -else -{ -uint8_t x_139; -x_139 = lean_ctor_get_uint8(x_128, sizeof(void*)*4); -if (x_139 == 0) -{ -uint8_t x_140; -lean_free_object(x_1); -x_140 = !lean_is_exclusive(x_45); -if (x_140 == 0) -{ -lean_object* x_141; lean_object* x_142; uint8_t x_143; -x_141 = lean_ctor_get(x_45, 3); -lean_dec(x_141); -x_142 = lean_ctor_get(x_45, 0); -lean_dec(x_142); -x_143 = !lean_is_exclusive(x_128); -if (x_143 == 0) -{ -lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; uint8_t x_148; uint8_t x_149; -x_144 = lean_ctor_get(x_128, 0); -x_145 = lean_ctor_get(x_128, 1); -x_146 = lean_ctor_get(x_128, 2); -x_147 = lean_ctor_get(x_128, 3); -x_148 = 1; -lean_inc(x_46); -lean_ctor_set(x_128, 3, x_46); -lean_ctor_set(x_128, 2, x_37); -lean_ctor_set(x_128, 1, x_36); -lean_ctor_set(x_128, 0, x_35); -x_149 = !lean_is_exclusive(x_46); -if (x_149 == 0) -{ -lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; uint8_t x_154; -x_150 = lean_ctor_get(x_46, 3); -lean_dec(x_150); -x_151 = lean_ctor_get(x_46, 2); -lean_dec(x_151); -x_152 = lean_ctor_get(x_46, 1); -lean_dec(x_152); -x_153 = lean_ctor_get(x_46, 0); -lean_dec(x_153); -lean_ctor_set_uint8(x_128, sizeof(void*)*4, x_148); -lean_ctor_set(x_46, 3, x_147); -lean_ctor_set(x_46, 2, x_146); -lean_ctor_set(x_46, 1, x_145); -lean_ctor_set(x_46, 0, x_144); -lean_ctor_set_uint8(x_46, sizeof(void*)*4, x_148); -x_154 = 0; -lean_ctor_set(x_45, 3, x_46); -lean_ctor_set(x_45, 0, x_128); -lean_ctor_set_uint8(x_45, sizeof(void*)*4, x_154); -return x_45; -} -else -{ -lean_object* x_155; uint8_t x_156; -lean_dec(x_46); -lean_ctor_set_uint8(x_128, sizeof(void*)*4, x_148); -x_155 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_155, 0, x_144); -lean_ctor_set(x_155, 1, x_145); -lean_ctor_set(x_155, 2, x_146); -lean_ctor_set(x_155, 3, x_147); -lean_ctor_set_uint8(x_155, sizeof(void*)*4, x_148); -x_156 = 0; -lean_ctor_set(x_45, 3, x_155); -lean_ctor_set(x_45, 0, x_128); -lean_ctor_set_uint8(x_45, sizeof(void*)*4, x_156); -return x_45; -} -} -else -{ -lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; uint8_t x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; uint8_t x_165; -x_157 = lean_ctor_get(x_128, 0); -x_158 = lean_ctor_get(x_128, 1); -x_159 = lean_ctor_get(x_128, 2); -x_160 = lean_ctor_get(x_128, 3); -lean_inc(x_160); -lean_inc(x_159); -lean_inc(x_158); -lean_inc(x_157); -lean_dec(x_128); -x_161 = 1; -lean_inc(x_46); -x_162 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_162, 0, x_35); -lean_ctor_set(x_162, 1, x_36); -lean_ctor_set(x_162, 2, x_37); -lean_ctor_set(x_162, 3, x_46); -if (lean_is_exclusive(x_46)) { - lean_ctor_release(x_46, 0); - lean_ctor_release(x_46, 1); - lean_ctor_release(x_46, 2); - lean_ctor_release(x_46, 3); - x_163 = x_46; -} else { - lean_dec_ref(x_46); - x_163 = lean_box(0); -} -lean_ctor_set_uint8(x_162, sizeof(void*)*4, x_161); -if (lean_is_scalar(x_163)) { - x_164 = lean_alloc_ctor(1, 4, 1); -} else { - x_164 = x_163; -} -lean_ctor_set(x_164, 0, x_157); -lean_ctor_set(x_164, 1, x_158); -lean_ctor_set(x_164, 2, x_159); -lean_ctor_set(x_164, 3, x_160); -lean_ctor_set_uint8(x_164, sizeof(void*)*4, x_161); -x_165 = 0; -lean_ctor_set(x_45, 3, x_164); -lean_ctor_set(x_45, 0, x_162); -lean_ctor_set_uint8(x_45, sizeof(void*)*4, x_165); -return x_45; -} -} -else -{ -lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; uint8_t x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; uint8_t x_177; lean_object* x_178; -x_166 = lean_ctor_get(x_45, 1); -x_167 = lean_ctor_get(x_45, 2); -lean_inc(x_167); -lean_inc(x_166); -lean_dec(x_45); -x_168 = lean_ctor_get(x_128, 0); -lean_inc(x_168); -x_169 = lean_ctor_get(x_128, 1); -lean_inc(x_169); -x_170 = lean_ctor_get(x_128, 2); -lean_inc(x_170); -x_171 = lean_ctor_get(x_128, 3); -lean_inc(x_171); -if (lean_is_exclusive(x_128)) { - lean_ctor_release(x_128, 0); - lean_ctor_release(x_128, 1); - lean_ctor_release(x_128, 2); - lean_ctor_release(x_128, 3); - x_172 = x_128; -} else { - lean_dec_ref(x_128); - x_172 = lean_box(0); -} -x_173 = 1; -lean_inc(x_46); -if (lean_is_scalar(x_172)) { - x_174 = lean_alloc_ctor(1, 4, 1); -} else { - x_174 = x_172; -} -lean_ctor_set(x_174, 0, x_35); -lean_ctor_set(x_174, 1, x_36); -lean_ctor_set(x_174, 2, x_37); -lean_ctor_set(x_174, 3, x_46); -if (lean_is_exclusive(x_46)) { - lean_ctor_release(x_46, 0); - lean_ctor_release(x_46, 1); - lean_ctor_release(x_46, 2); - lean_ctor_release(x_46, 3); - x_175 = x_46; -} else { - lean_dec_ref(x_46); - x_175 = lean_box(0); -} -lean_ctor_set_uint8(x_174, sizeof(void*)*4, x_173); -if (lean_is_scalar(x_175)) { - x_176 = lean_alloc_ctor(1, 4, 1); -} else { - x_176 = x_175; -} -lean_ctor_set(x_176, 0, x_168); -lean_ctor_set(x_176, 1, x_169); -lean_ctor_set(x_176, 2, x_170); -lean_ctor_set(x_176, 3, x_171); -lean_ctor_set_uint8(x_176, sizeof(void*)*4, x_173); -x_177 = 0; -x_178 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_178, 0, x_174); -lean_ctor_set(x_178, 1, x_166); -lean_ctor_set(x_178, 2, x_167); -lean_ctor_set(x_178, 3, x_176); -lean_ctor_set_uint8(x_178, sizeof(void*)*4, x_177); -return x_178; -} -} -else -{ -uint8_t x_179; -x_179 = !lean_is_exclusive(x_45); -if (x_179 == 0) -{ -lean_object* x_180; lean_object* x_181; uint8_t x_182; -x_180 = lean_ctor_get(x_45, 3); -lean_dec(x_180); -x_181 = lean_ctor_get(x_45, 0); -lean_dec(x_181); -x_182 = !lean_is_exclusive(x_46); -if (x_182 == 0) -{ -uint8_t x_183; uint8_t x_184; -lean_ctor_set_uint8(x_46, sizeof(void*)*4, x_139); -x_183 = 0; -lean_ctor_set_uint8(x_45, sizeof(void*)*4, x_183); -x_184 = 1; -lean_ctor_set(x_1, 3, x_45); -lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_184); -return x_1; -} -else -{ -lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; uint8_t x_190; uint8_t x_191; -x_185 = lean_ctor_get(x_46, 0); -x_186 = lean_ctor_get(x_46, 1); -x_187 = lean_ctor_get(x_46, 2); -x_188 = lean_ctor_get(x_46, 3); -lean_inc(x_188); -lean_inc(x_187); -lean_inc(x_186); -lean_inc(x_185); -lean_dec(x_46); -x_189 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_189, 0, x_185); -lean_ctor_set(x_189, 1, x_186); -lean_ctor_set(x_189, 2, x_187); -lean_ctor_set(x_189, 3, x_188); -lean_ctor_set_uint8(x_189, sizeof(void*)*4, x_139); -x_190 = 0; -lean_ctor_set(x_45, 0, x_189); -lean_ctor_set_uint8(x_45, sizeof(void*)*4, x_190); -x_191 = 1; -lean_ctor_set(x_1, 3, x_45); -lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_191); -return x_1; -} -} -else -{ -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; uint8_t x_200; lean_object* x_201; uint8_t x_202; -x_192 = lean_ctor_get(x_45, 1); -x_193 = lean_ctor_get(x_45, 2); -lean_inc(x_193); -lean_inc(x_192); -lean_dec(x_45); -x_194 = lean_ctor_get(x_46, 0); -lean_inc(x_194); -x_195 = lean_ctor_get(x_46, 1); -lean_inc(x_195); -x_196 = lean_ctor_get(x_46, 2); -lean_inc(x_196); -x_197 = lean_ctor_get(x_46, 3); -lean_inc(x_197); -if (lean_is_exclusive(x_46)) { - lean_ctor_release(x_46, 0); - lean_ctor_release(x_46, 1); - lean_ctor_release(x_46, 2); - lean_ctor_release(x_46, 3); - x_198 = x_46; -} else { - lean_dec_ref(x_46); - x_198 = lean_box(0); -} -if (lean_is_scalar(x_198)) { - x_199 = lean_alloc_ctor(1, 4, 1); -} else { - x_199 = x_198; -} -lean_ctor_set(x_199, 0, x_194); -lean_ctor_set(x_199, 1, x_195); -lean_ctor_set(x_199, 2, x_196); -lean_ctor_set(x_199, 3, x_197); -lean_ctor_set_uint8(x_199, sizeof(void*)*4, x_139); -x_200 = 0; -x_201 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_201, 0, x_199); -lean_ctor_set(x_201, 1, x_192); -lean_ctor_set(x_201, 2, x_193); -lean_ctor_set(x_201, 3, x_128); -lean_ctor_set_uint8(x_201, sizeof(void*)*4, x_200); -x_202 = 1; -lean_ctor_set(x_1, 3, x_201); -lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_202); -return x_1; -} -} -} -} -} -} -} -} -else -{ -uint8_t x_203; -x_203 = l_Std_RBNode_isRed___rarg(x_35); -if (x_203 == 0) -{ -lean_object* x_204; uint8_t x_205; -x_204 = l_Std_RBNode_ins___at_Lean_Delaborator_delabMData___spec__2(x_35, x_2, x_3); -x_205 = 1; -lean_ctor_set(x_1, 0, x_204); -lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_205); -return x_1; -} -else -{ -lean_object* x_206; lean_object* x_207; -x_206 = l_Std_RBNode_ins___at_Lean_Delaborator_delabMData___spec__2(x_35, x_2, x_3); -x_207 = lean_ctor_get(x_206, 0); -lean_inc(x_207); -if (lean_obj_tag(x_207) == 0) -{ -lean_object* x_208; -x_208 = lean_ctor_get(x_206, 3); -lean_inc(x_208); -if (lean_obj_tag(x_208) == 0) -{ -uint8_t x_209; -x_209 = !lean_is_exclusive(x_206); -if (x_209 == 0) -{ -lean_object* x_210; lean_object* x_211; uint8_t x_212; uint8_t x_213; -x_210 = lean_ctor_get(x_206, 3); -lean_dec(x_210); -x_211 = lean_ctor_get(x_206, 0); -lean_dec(x_211); -x_212 = 0; -lean_ctor_set(x_206, 0, x_208); -lean_ctor_set_uint8(x_206, sizeof(void*)*4, x_212); -x_213 = 1; -lean_ctor_set(x_1, 0, x_206); -lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_213); -return x_1; -} -else -{ -lean_object* x_214; lean_object* x_215; uint8_t x_216; lean_object* x_217; uint8_t x_218; -x_214 = lean_ctor_get(x_206, 1); -x_215 = lean_ctor_get(x_206, 2); -lean_inc(x_215); -lean_inc(x_214); -lean_dec(x_206); -x_216 = 0; -x_217 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_217, 0, x_208); -lean_ctor_set(x_217, 1, x_214); -lean_ctor_set(x_217, 2, x_215); -lean_ctor_set(x_217, 3, x_208); -lean_ctor_set_uint8(x_217, sizeof(void*)*4, x_216); -x_218 = 1; -lean_ctor_set(x_1, 0, x_217); -lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_218); -return x_1; -} -} -else -{ -uint8_t x_219; -x_219 = lean_ctor_get_uint8(x_208, sizeof(void*)*4); -if (x_219 == 0) -{ -uint8_t x_220; -x_220 = !lean_is_exclusive(x_206); -if (x_220 == 0) -{ -lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; uint8_t x_225; -x_221 = lean_ctor_get(x_206, 1); -x_222 = lean_ctor_get(x_206, 2); -x_223 = lean_ctor_get(x_206, 3); -lean_dec(x_223); -x_224 = lean_ctor_get(x_206, 0); -lean_dec(x_224); -x_225 = !lean_is_exclusive(x_208); -if (x_225 == 0) -{ -lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; uint8_t x_230; uint8_t x_231; -x_226 = lean_ctor_get(x_208, 0); -x_227 = lean_ctor_get(x_208, 1); -x_228 = lean_ctor_get(x_208, 2); -x_229 = lean_ctor_get(x_208, 3); -x_230 = 1; -lean_ctor_set(x_208, 3, x_226); -lean_ctor_set(x_208, 2, x_222); -lean_ctor_set(x_208, 1, x_221); -lean_ctor_set(x_208, 0, x_207); -lean_ctor_set_uint8(x_208, sizeof(void*)*4, x_230); -lean_ctor_set(x_206, 3, x_38); -lean_ctor_set(x_206, 2, x_37); -lean_ctor_set(x_206, 1, x_36); -lean_ctor_set(x_206, 0, x_229); -lean_ctor_set_uint8(x_206, sizeof(void*)*4, x_230); -x_231 = 0; -lean_ctor_set(x_1, 3, x_206); -lean_ctor_set(x_1, 2, x_228); -lean_ctor_set(x_1, 1, x_227); -lean_ctor_set(x_1, 0, x_208); -lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_231); -return x_1; -} -else -{ -lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; uint8_t x_236; lean_object* x_237; uint8_t x_238; -x_232 = lean_ctor_get(x_208, 0); -x_233 = lean_ctor_get(x_208, 1); -x_234 = lean_ctor_get(x_208, 2); -x_235 = lean_ctor_get(x_208, 3); -lean_inc(x_235); -lean_inc(x_234); -lean_inc(x_233); -lean_inc(x_232); -lean_dec(x_208); -x_236 = 1; -x_237 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_237, 0, x_207); -lean_ctor_set(x_237, 1, x_221); -lean_ctor_set(x_237, 2, x_222); -lean_ctor_set(x_237, 3, x_232); -lean_ctor_set_uint8(x_237, sizeof(void*)*4, x_236); -lean_ctor_set(x_206, 3, x_38); -lean_ctor_set(x_206, 2, x_37); -lean_ctor_set(x_206, 1, x_36); -lean_ctor_set(x_206, 0, x_235); -lean_ctor_set_uint8(x_206, sizeof(void*)*4, x_236); -x_238 = 0; -lean_ctor_set(x_1, 3, x_206); -lean_ctor_set(x_1, 2, x_234); -lean_ctor_set(x_1, 1, x_233); -lean_ctor_set(x_1, 0, x_237); -lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_238); -return x_1; -} -} -else -{ -lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; uint8_t x_246; lean_object* x_247; lean_object* x_248; uint8_t x_249; -x_239 = lean_ctor_get(x_206, 1); -x_240 = lean_ctor_get(x_206, 2); -lean_inc(x_240); -lean_inc(x_239); -lean_dec(x_206); -x_241 = lean_ctor_get(x_208, 0); -lean_inc(x_241); -x_242 = lean_ctor_get(x_208, 1); -lean_inc(x_242); -x_243 = lean_ctor_get(x_208, 2); -lean_inc(x_243); -x_244 = lean_ctor_get(x_208, 3); -lean_inc(x_244); -if (lean_is_exclusive(x_208)) { - lean_ctor_release(x_208, 0); - lean_ctor_release(x_208, 1); - lean_ctor_release(x_208, 2); - lean_ctor_release(x_208, 3); - x_245 = x_208; -} else { - lean_dec_ref(x_208); - x_245 = lean_box(0); -} -x_246 = 1; -if (lean_is_scalar(x_245)) { - x_247 = lean_alloc_ctor(1, 4, 1); -} else { - x_247 = x_245; -} -lean_ctor_set(x_247, 0, x_207); -lean_ctor_set(x_247, 1, x_239); -lean_ctor_set(x_247, 2, x_240); -lean_ctor_set(x_247, 3, x_241); -lean_ctor_set_uint8(x_247, sizeof(void*)*4, x_246); -x_248 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_248, 0, x_244); -lean_ctor_set(x_248, 1, x_36); -lean_ctor_set(x_248, 2, x_37); -lean_ctor_set(x_248, 3, x_38); -lean_ctor_set_uint8(x_248, sizeof(void*)*4, x_246); -x_249 = 0; -lean_ctor_set(x_1, 3, x_248); -lean_ctor_set(x_1, 2, x_243); -lean_ctor_set(x_1, 1, x_242); -lean_ctor_set(x_1, 0, x_247); -lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_249); -return x_1; -} -} -else -{ -uint8_t x_250; -x_250 = !lean_is_exclusive(x_206); -if (x_250 == 0) -{ -lean_object* x_251; lean_object* x_252; uint8_t x_253; uint8_t x_254; -x_251 = lean_ctor_get(x_206, 3); -lean_dec(x_251); -x_252 = lean_ctor_get(x_206, 0); -lean_dec(x_252); -x_253 = 0; -lean_ctor_set_uint8(x_206, sizeof(void*)*4, x_253); -x_254 = 1; -lean_ctor_set(x_1, 0, x_206); -lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_254); -return x_1; -} -else -{ -lean_object* x_255; lean_object* x_256; uint8_t x_257; lean_object* x_258; uint8_t x_259; -x_255 = lean_ctor_get(x_206, 1); -x_256 = lean_ctor_get(x_206, 2); -lean_inc(x_256); -lean_inc(x_255); -lean_dec(x_206); -x_257 = 0; -x_258 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_258, 0, x_207); -lean_ctor_set(x_258, 1, x_255); -lean_ctor_set(x_258, 2, x_256); -lean_ctor_set(x_258, 3, x_208); -lean_ctor_set_uint8(x_258, sizeof(void*)*4, x_257); -x_259 = 1; -lean_ctor_set(x_1, 0, x_258); -lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_259); -return x_1; -} -} -} -} -else -{ -uint8_t x_260; -x_260 = lean_ctor_get_uint8(x_207, sizeof(void*)*4); -if (x_260 == 0) -{ -uint8_t x_261; -x_261 = !lean_is_exclusive(x_206); -if (x_261 == 0) -{ -lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; uint8_t x_266; -x_262 = lean_ctor_get(x_206, 1); -x_263 = lean_ctor_get(x_206, 2); -x_264 = lean_ctor_get(x_206, 3); -x_265 = lean_ctor_get(x_206, 0); -lean_dec(x_265); -x_266 = !lean_is_exclusive(x_207); -if (x_266 == 0) -{ -uint8_t x_267; uint8_t x_268; -x_267 = 1; -lean_ctor_set_uint8(x_207, sizeof(void*)*4, x_267); -lean_ctor_set(x_206, 3, x_38); -lean_ctor_set(x_206, 2, x_37); -lean_ctor_set(x_206, 1, x_36); -lean_ctor_set(x_206, 0, x_264); -lean_ctor_set_uint8(x_206, sizeof(void*)*4, x_267); -x_268 = 0; -lean_ctor_set(x_1, 3, x_206); -lean_ctor_set(x_1, 2, x_263); -lean_ctor_set(x_1, 1, x_262); -lean_ctor_set(x_1, 0, x_207); -lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_268); -return x_1; -} -else -{ -lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; uint8_t x_273; lean_object* x_274; uint8_t x_275; -x_269 = lean_ctor_get(x_207, 0); -x_270 = lean_ctor_get(x_207, 1); -x_271 = lean_ctor_get(x_207, 2); -x_272 = lean_ctor_get(x_207, 3); -lean_inc(x_272); -lean_inc(x_271); -lean_inc(x_270); -lean_inc(x_269); -lean_dec(x_207); -x_273 = 1; -x_274 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_274, 0, x_269); -lean_ctor_set(x_274, 1, x_270); -lean_ctor_set(x_274, 2, x_271); -lean_ctor_set(x_274, 3, x_272); -lean_ctor_set_uint8(x_274, sizeof(void*)*4, x_273); -lean_ctor_set(x_206, 3, x_38); -lean_ctor_set(x_206, 2, x_37); -lean_ctor_set(x_206, 1, x_36); -lean_ctor_set(x_206, 0, x_264); -lean_ctor_set_uint8(x_206, sizeof(void*)*4, x_273); -x_275 = 0; -lean_ctor_set(x_1, 3, x_206); -lean_ctor_set(x_1, 2, x_263); -lean_ctor_set(x_1, 1, x_262); -lean_ctor_set(x_1, 0, x_274); -lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_275); -return x_1; -} -} -else -{ -lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; uint8_t x_284; lean_object* x_285; lean_object* x_286; uint8_t x_287; -x_276 = lean_ctor_get(x_206, 1); -x_277 = lean_ctor_get(x_206, 2); -x_278 = lean_ctor_get(x_206, 3); -lean_inc(x_278); -lean_inc(x_277); -lean_inc(x_276); -lean_dec(x_206); -x_279 = lean_ctor_get(x_207, 0); -lean_inc(x_279); -x_280 = lean_ctor_get(x_207, 1); -lean_inc(x_280); -x_281 = lean_ctor_get(x_207, 2); -lean_inc(x_281); -x_282 = lean_ctor_get(x_207, 3); -lean_inc(x_282); -if (lean_is_exclusive(x_207)) { - lean_ctor_release(x_207, 0); - lean_ctor_release(x_207, 1); - lean_ctor_release(x_207, 2); - lean_ctor_release(x_207, 3); - x_283 = x_207; -} else { - lean_dec_ref(x_207); - x_283 = lean_box(0); -} -x_284 = 1; -if (lean_is_scalar(x_283)) { - x_285 = lean_alloc_ctor(1, 4, 1); -} else { - x_285 = x_283; -} -lean_ctor_set(x_285, 0, x_279); -lean_ctor_set(x_285, 1, x_280); -lean_ctor_set(x_285, 2, x_281); -lean_ctor_set(x_285, 3, x_282); -lean_ctor_set_uint8(x_285, sizeof(void*)*4, x_284); -x_286 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_286, 0, x_278); -lean_ctor_set(x_286, 1, x_36); -lean_ctor_set(x_286, 2, x_37); -lean_ctor_set(x_286, 3, x_38); -lean_ctor_set_uint8(x_286, sizeof(void*)*4, x_284); -x_287 = 0; -lean_ctor_set(x_1, 3, x_286); -lean_ctor_set(x_1, 2, x_277); -lean_ctor_set(x_1, 1, x_276); -lean_ctor_set(x_1, 0, x_285); -lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_287); -return x_1; -} -} -else -{ -lean_object* x_288; -x_288 = lean_ctor_get(x_206, 3); -lean_inc(x_288); -if (lean_obj_tag(x_288) == 0) -{ -uint8_t x_289; -x_289 = !lean_is_exclusive(x_206); -if (x_289 == 0) -{ -lean_object* x_290; lean_object* x_291; uint8_t x_292; uint8_t x_293; -x_290 = lean_ctor_get(x_206, 3); -lean_dec(x_290); -x_291 = lean_ctor_get(x_206, 0); -lean_dec(x_291); -x_292 = 0; -lean_ctor_set_uint8(x_206, sizeof(void*)*4, x_292); -x_293 = 1; -lean_ctor_set(x_1, 0, x_206); -lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_293); -return x_1; -} -else -{ -lean_object* x_294; lean_object* x_295; uint8_t x_296; lean_object* x_297; uint8_t x_298; -x_294 = lean_ctor_get(x_206, 1); -x_295 = lean_ctor_get(x_206, 2); -lean_inc(x_295); -lean_inc(x_294); -lean_dec(x_206); -x_296 = 0; -x_297 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_297, 0, x_207); -lean_ctor_set(x_297, 1, x_294); -lean_ctor_set(x_297, 2, x_295); -lean_ctor_set(x_297, 3, x_288); -lean_ctor_set_uint8(x_297, sizeof(void*)*4, x_296); -x_298 = 1; -lean_ctor_set(x_1, 0, x_297); -lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_298); -return x_1; -} -} -else -{ -uint8_t x_299; -x_299 = lean_ctor_get_uint8(x_288, sizeof(void*)*4); -if (x_299 == 0) -{ -uint8_t x_300; -lean_free_object(x_1); -x_300 = !lean_is_exclusive(x_206); -if (x_300 == 0) -{ -lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; uint8_t x_305; -x_301 = lean_ctor_get(x_206, 1); -x_302 = lean_ctor_get(x_206, 2); -x_303 = lean_ctor_get(x_206, 3); -lean_dec(x_303); -x_304 = lean_ctor_get(x_206, 0); -lean_dec(x_304); -x_305 = !lean_is_exclusive(x_288); -if (x_305 == 0) -{ -lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; uint8_t x_310; uint8_t x_311; -x_306 = lean_ctor_get(x_288, 0); -x_307 = lean_ctor_get(x_288, 1); -x_308 = lean_ctor_get(x_288, 2); -x_309 = lean_ctor_get(x_288, 3); -x_310 = 1; -lean_inc(x_207); -lean_ctor_set(x_288, 3, x_306); -lean_ctor_set(x_288, 2, x_302); -lean_ctor_set(x_288, 1, x_301); -lean_ctor_set(x_288, 0, x_207); -x_311 = !lean_is_exclusive(x_207); -if (x_311 == 0) -{ -lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; uint8_t x_316; -x_312 = lean_ctor_get(x_207, 3); -lean_dec(x_312); -x_313 = lean_ctor_get(x_207, 2); -lean_dec(x_313); -x_314 = lean_ctor_get(x_207, 1); -lean_dec(x_314); -x_315 = lean_ctor_get(x_207, 0); -lean_dec(x_315); -lean_ctor_set_uint8(x_288, sizeof(void*)*4, x_310); -lean_ctor_set(x_207, 3, x_38); -lean_ctor_set(x_207, 2, x_37); -lean_ctor_set(x_207, 1, x_36); -lean_ctor_set(x_207, 0, x_309); -lean_ctor_set_uint8(x_207, sizeof(void*)*4, x_310); -x_316 = 0; -lean_ctor_set(x_206, 3, x_207); -lean_ctor_set(x_206, 2, x_308); -lean_ctor_set(x_206, 1, x_307); -lean_ctor_set(x_206, 0, x_288); -lean_ctor_set_uint8(x_206, sizeof(void*)*4, x_316); -return x_206; -} -else -{ -lean_object* x_317; uint8_t x_318; -lean_dec(x_207); -lean_ctor_set_uint8(x_288, sizeof(void*)*4, x_310); -x_317 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_317, 0, x_309); -lean_ctor_set(x_317, 1, x_36); -lean_ctor_set(x_317, 2, x_37); -lean_ctor_set(x_317, 3, x_38); -lean_ctor_set_uint8(x_317, sizeof(void*)*4, x_310); -x_318 = 0; -lean_ctor_set(x_206, 3, x_317); -lean_ctor_set(x_206, 2, x_308); -lean_ctor_set(x_206, 1, x_307); -lean_ctor_set(x_206, 0, x_288); -lean_ctor_set_uint8(x_206, sizeof(void*)*4, x_318); -return x_206; -} -} -else -{ -lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; uint8_t x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; uint8_t x_327; -x_319 = lean_ctor_get(x_288, 0); -x_320 = lean_ctor_get(x_288, 1); -x_321 = lean_ctor_get(x_288, 2); -x_322 = lean_ctor_get(x_288, 3); -lean_inc(x_322); -lean_inc(x_321); -lean_inc(x_320); -lean_inc(x_319); -lean_dec(x_288); -x_323 = 1; -lean_inc(x_207); -x_324 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_324, 0, x_207); -lean_ctor_set(x_324, 1, x_301); -lean_ctor_set(x_324, 2, x_302); -lean_ctor_set(x_324, 3, x_319); -if (lean_is_exclusive(x_207)) { - lean_ctor_release(x_207, 0); - lean_ctor_release(x_207, 1); - lean_ctor_release(x_207, 2); - lean_ctor_release(x_207, 3); - x_325 = x_207; -} else { - lean_dec_ref(x_207); - x_325 = lean_box(0); -} -lean_ctor_set_uint8(x_324, sizeof(void*)*4, x_323); -if (lean_is_scalar(x_325)) { - x_326 = lean_alloc_ctor(1, 4, 1); -} else { - x_326 = x_325; -} -lean_ctor_set(x_326, 0, x_322); -lean_ctor_set(x_326, 1, x_36); -lean_ctor_set(x_326, 2, x_37); -lean_ctor_set(x_326, 3, x_38); -lean_ctor_set_uint8(x_326, sizeof(void*)*4, x_323); -x_327 = 0; -lean_ctor_set(x_206, 3, x_326); -lean_ctor_set(x_206, 2, x_321); -lean_ctor_set(x_206, 1, x_320); -lean_ctor_set(x_206, 0, x_324); -lean_ctor_set_uint8(x_206, sizeof(void*)*4, x_327); -return x_206; -} -} -else -{ -lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; uint8_t x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; uint8_t x_339; lean_object* x_340; -x_328 = lean_ctor_get(x_206, 1); -x_329 = lean_ctor_get(x_206, 2); -lean_inc(x_329); -lean_inc(x_328); -lean_dec(x_206); -x_330 = lean_ctor_get(x_288, 0); -lean_inc(x_330); -x_331 = lean_ctor_get(x_288, 1); -lean_inc(x_331); -x_332 = lean_ctor_get(x_288, 2); -lean_inc(x_332); -x_333 = lean_ctor_get(x_288, 3); -lean_inc(x_333); -if (lean_is_exclusive(x_288)) { - lean_ctor_release(x_288, 0); - lean_ctor_release(x_288, 1); - lean_ctor_release(x_288, 2); - lean_ctor_release(x_288, 3); - x_334 = x_288; -} else { - lean_dec_ref(x_288); - x_334 = lean_box(0); -} -x_335 = 1; -lean_inc(x_207); -if (lean_is_scalar(x_334)) { - x_336 = lean_alloc_ctor(1, 4, 1); -} else { - x_336 = x_334; -} -lean_ctor_set(x_336, 0, x_207); -lean_ctor_set(x_336, 1, x_328); -lean_ctor_set(x_336, 2, x_329); -lean_ctor_set(x_336, 3, x_330); -if (lean_is_exclusive(x_207)) { - lean_ctor_release(x_207, 0); - lean_ctor_release(x_207, 1); - lean_ctor_release(x_207, 2); - lean_ctor_release(x_207, 3); - x_337 = x_207; -} else { - lean_dec_ref(x_207); - x_337 = lean_box(0); -} -lean_ctor_set_uint8(x_336, sizeof(void*)*4, x_335); -if (lean_is_scalar(x_337)) { - x_338 = lean_alloc_ctor(1, 4, 1); -} else { - x_338 = x_337; -} -lean_ctor_set(x_338, 0, x_333); -lean_ctor_set(x_338, 1, x_36); -lean_ctor_set(x_338, 2, x_37); -lean_ctor_set(x_338, 3, x_38); -lean_ctor_set_uint8(x_338, sizeof(void*)*4, x_335); -x_339 = 0; -x_340 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_340, 0, x_336); -lean_ctor_set(x_340, 1, x_331); -lean_ctor_set(x_340, 2, x_332); -lean_ctor_set(x_340, 3, x_338); -lean_ctor_set_uint8(x_340, sizeof(void*)*4, x_339); -return x_340; -} -} -else -{ -uint8_t x_341; -x_341 = !lean_is_exclusive(x_206); -if (x_341 == 0) -{ -lean_object* x_342; lean_object* x_343; uint8_t x_344; -x_342 = lean_ctor_get(x_206, 3); -lean_dec(x_342); -x_343 = lean_ctor_get(x_206, 0); -lean_dec(x_343); -x_344 = !lean_is_exclusive(x_207); -if (x_344 == 0) -{ -uint8_t x_345; uint8_t x_346; -lean_ctor_set_uint8(x_207, sizeof(void*)*4, x_299); -x_345 = 0; -lean_ctor_set_uint8(x_206, sizeof(void*)*4, x_345); -x_346 = 1; -lean_ctor_set(x_1, 0, x_206); -lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_346); -return x_1; -} -else -{ -lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; uint8_t x_352; uint8_t x_353; -x_347 = lean_ctor_get(x_207, 0); -x_348 = lean_ctor_get(x_207, 1); -x_349 = lean_ctor_get(x_207, 2); -x_350 = lean_ctor_get(x_207, 3); -lean_inc(x_350); -lean_inc(x_349); -lean_inc(x_348); -lean_inc(x_347); -lean_dec(x_207); -x_351 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_351, 0, x_347); -lean_ctor_set(x_351, 1, x_348); -lean_ctor_set(x_351, 2, x_349); -lean_ctor_set(x_351, 3, x_350); -lean_ctor_set_uint8(x_351, sizeof(void*)*4, x_299); -x_352 = 0; -lean_ctor_set(x_206, 0, x_351); -lean_ctor_set_uint8(x_206, sizeof(void*)*4, x_352); -x_353 = 1; -lean_ctor_set(x_1, 0, x_206); -lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_353); -return x_1; -} -} -else -{ -lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; uint8_t x_362; lean_object* x_363; uint8_t x_364; -x_354 = lean_ctor_get(x_206, 1); -x_355 = lean_ctor_get(x_206, 2); -lean_inc(x_355); -lean_inc(x_354); -lean_dec(x_206); -x_356 = lean_ctor_get(x_207, 0); -lean_inc(x_356); -x_357 = lean_ctor_get(x_207, 1); -lean_inc(x_357); -x_358 = lean_ctor_get(x_207, 2); -lean_inc(x_358); -x_359 = lean_ctor_get(x_207, 3); -lean_inc(x_359); -if (lean_is_exclusive(x_207)) { - lean_ctor_release(x_207, 0); - lean_ctor_release(x_207, 1); - lean_ctor_release(x_207, 2); - lean_ctor_release(x_207, 3); - x_360 = x_207; -} else { - lean_dec_ref(x_207); - x_360 = lean_box(0); -} -if (lean_is_scalar(x_360)) { - x_361 = lean_alloc_ctor(1, 4, 1); -} else { - x_361 = x_360; -} -lean_ctor_set(x_361, 0, x_356); -lean_ctor_set(x_361, 1, x_357); -lean_ctor_set(x_361, 2, x_358); -lean_ctor_set(x_361, 3, x_359); -lean_ctor_set_uint8(x_361, sizeof(void*)*4, x_299); -x_362 = 0; -x_363 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_363, 0, x_361); -lean_ctor_set(x_363, 1, x_354); -lean_ctor_set(x_363, 2, x_355); -lean_ctor_set(x_363, 3, x_288); -lean_ctor_set_uint8(x_363, sizeof(void*)*4, x_362); -x_364 = 1; -lean_ctor_set(x_1, 0, x_363); -lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_364); -return x_1; -} -} -} -} -} -} -} -} -else -{ -lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; uint8_t x_369; -x_365 = lean_ctor_get(x_1, 0); -x_366 = lean_ctor_get(x_1, 1); -x_367 = lean_ctor_get(x_1, 2); -x_368 = lean_ctor_get(x_1, 3); -lean_inc(x_368); -lean_inc(x_367); -lean_inc(x_366); -lean_inc(x_365); -lean_dec(x_1); -x_369 = lean_nat_dec_lt(x_2, x_366); -if (x_369 == 0) -{ -uint8_t x_370; -x_370 = lean_nat_dec_lt(x_366, x_2); -if (x_370 == 0) -{ -uint8_t x_371; lean_object* x_372; -lean_dec(x_367); -lean_dec(x_366); -x_371 = 1; -x_372 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_372, 0, x_365); -lean_ctor_set(x_372, 1, x_2); -lean_ctor_set(x_372, 2, x_3); -lean_ctor_set(x_372, 3, x_368); -lean_ctor_set_uint8(x_372, sizeof(void*)*4, x_371); -return x_372; -} -else -{ -uint8_t x_373; -x_373 = l_Std_RBNode_isRed___rarg(x_368); -if (x_373 == 0) -{ -lean_object* x_374; uint8_t x_375; lean_object* x_376; -x_374 = l_Std_RBNode_ins___at_Lean_Delaborator_delabMData___spec__2(x_368, x_2, x_3); -x_375 = 1; -x_376 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_376, 0, x_365); -lean_ctor_set(x_376, 1, x_366); -lean_ctor_set(x_376, 2, x_367); -lean_ctor_set(x_376, 3, x_374); -lean_ctor_set_uint8(x_376, sizeof(void*)*4, x_375); -return x_376; -} -else -{ -lean_object* x_377; lean_object* x_378; -x_377 = l_Std_RBNode_ins___at_Lean_Delaborator_delabMData___spec__2(x_368, x_2, x_3); -x_378 = lean_ctor_get(x_377, 0); -lean_inc(x_378); -if (lean_obj_tag(x_378) == 0) -{ -lean_object* x_379; -x_379 = lean_ctor_get(x_377, 3); -lean_inc(x_379); -if (lean_obj_tag(x_379) == 0) -{ -lean_object* x_380; lean_object* x_381; lean_object* x_382; uint8_t x_383; lean_object* x_384; uint8_t x_385; lean_object* x_386; -x_380 = lean_ctor_get(x_377, 1); -lean_inc(x_380); -x_381 = lean_ctor_get(x_377, 2); -lean_inc(x_381); -if (lean_is_exclusive(x_377)) { - lean_ctor_release(x_377, 0); - lean_ctor_release(x_377, 1); - lean_ctor_release(x_377, 2); - lean_ctor_release(x_377, 3); - x_382 = x_377; -} else { - lean_dec_ref(x_377); - x_382 = lean_box(0); -} -x_383 = 0; -if (lean_is_scalar(x_382)) { - x_384 = lean_alloc_ctor(1, 4, 1); -} else { - x_384 = x_382; -} -lean_ctor_set(x_384, 0, x_379); -lean_ctor_set(x_384, 1, x_380); -lean_ctor_set(x_384, 2, x_381); -lean_ctor_set(x_384, 3, x_379); -lean_ctor_set_uint8(x_384, sizeof(void*)*4, x_383); -x_385 = 1; -x_386 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_386, 0, x_365); -lean_ctor_set(x_386, 1, x_366); -lean_ctor_set(x_386, 2, x_367); -lean_ctor_set(x_386, 3, x_384); -lean_ctor_set_uint8(x_386, sizeof(void*)*4, x_385); -return x_386; -} -else -{ -uint8_t x_387; -x_387 = lean_ctor_get_uint8(x_379, sizeof(void*)*4); -if (x_387 == 0) -{ -lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; lean_object* x_395; uint8_t x_396; lean_object* x_397; lean_object* x_398; uint8_t x_399; lean_object* x_400; -x_388 = lean_ctor_get(x_377, 1); -lean_inc(x_388); -x_389 = lean_ctor_get(x_377, 2); -lean_inc(x_389); -if (lean_is_exclusive(x_377)) { - lean_ctor_release(x_377, 0); - lean_ctor_release(x_377, 1); - lean_ctor_release(x_377, 2); - lean_ctor_release(x_377, 3); - x_390 = x_377; -} else { - lean_dec_ref(x_377); - x_390 = lean_box(0); -} -x_391 = lean_ctor_get(x_379, 0); -lean_inc(x_391); -x_392 = lean_ctor_get(x_379, 1); -lean_inc(x_392); -x_393 = lean_ctor_get(x_379, 2); -lean_inc(x_393); -x_394 = lean_ctor_get(x_379, 3); -lean_inc(x_394); -if (lean_is_exclusive(x_379)) { - lean_ctor_release(x_379, 0); - lean_ctor_release(x_379, 1); - lean_ctor_release(x_379, 2); - lean_ctor_release(x_379, 3); - x_395 = x_379; -} else { - lean_dec_ref(x_379); - x_395 = lean_box(0); -} -x_396 = 1; -if (lean_is_scalar(x_395)) { - x_397 = lean_alloc_ctor(1, 4, 1); -} else { - x_397 = x_395; -} -lean_ctor_set(x_397, 0, x_365); -lean_ctor_set(x_397, 1, x_366); -lean_ctor_set(x_397, 2, x_367); -lean_ctor_set(x_397, 3, x_378); -lean_ctor_set_uint8(x_397, sizeof(void*)*4, x_396); -if (lean_is_scalar(x_390)) { - x_398 = lean_alloc_ctor(1, 4, 1); -} else { - x_398 = x_390; -} -lean_ctor_set(x_398, 0, x_391); -lean_ctor_set(x_398, 1, x_392); -lean_ctor_set(x_398, 2, x_393); -lean_ctor_set(x_398, 3, x_394); -lean_ctor_set_uint8(x_398, sizeof(void*)*4, x_396); -x_399 = 0; -x_400 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_400, 0, x_397); -lean_ctor_set(x_400, 1, x_388); -lean_ctor_set(x_400, 2, x_389); -lean_ctor_set(x_400, 3, x_398); -lean_ctor_set_uint8(x_400, sizeof(void*)*4, x_399); -return x_400; -} -else -{ -lean_object* x_401; lean_object* x_402; lean_object* x_403; uint8_t x_404; lean_object* x_405; uint8_t x_406; lean_object* x_407; -x_401 = lean_ctor_get(x_377, 1); -lean_inc(x_401); -x_402 = lean_ctor_get(x_377, 2); -lean_inc(x_402); -if (lean_is_exclusive(x_377)) { - lean_ctor_release(x_377, 0); - lean_ctor_release(x_377, 1); - lean_ctor_release(x_377, 2); - lean_ctor_release(x_377, 3); - x_403 = x_377; -} else { - lean_dec_ref(x_377); - x_403 = lean_box(0); -} -x_404 = 0; -if (lean_is_scalar(x_403)) { - x_405 = lean_alloc_ctor(1, 4, 1); -} else { - x_405 = x_403; -} -lean_ctor_set(x_405, 0, x_378); -lean_ctor_set(x_405, 1, x_401); -lean_ctor_set(x_405, 2, x_402); -lean_ctor_set(x_405, 3, x_379); -lean_ctor_set_uint8(x_405, sizeof(void*)*4, x_404); -x_406 = 1; -x_407 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_407, 0, x_365); -lean_ctor_set(x_407, 1, x_366); -lean_ctor_set(x_407, 2, x_367); -lean_ctor_set(x_407, 3, x_405); -lean_ctor_set_uint8(x_407, sizeof(void*)*4, x_406); -return x_407; -} -} -} -else -{ -uint8_t x_408; -x_408 = lean_ctor_get_uint8(x_378, sizeof(void*)*4); -if (x_408 == 0) -{ -lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; uint8_t x_418; lean_object* x_419; lean_object* x_420; uint8_t x_421; lean_object* x_422; -x_409 = lean_ctor_get(x_377, 1); -lean_inc(x_409); -x_410 = lean_ctor_get(x_377, 2); -lean_inc(x_410); -x_411 = lean_ctor_get(x_377, 3); -lean_inc(x_411); -if (lean_is_exclusive(x_377)) { - lean_ctor_release(x_377, 0); - lean_ctor_release(x_377, 1); - lean_ctor_release(x_377, 2); - lean_ctor_release(x_377, 3); - x_412 = x_377; -} else { - lean_dec_ref(x_377); - x_412 = lean_box(0); -} -x_413 = lean_ctor_get(x_378, 0); -lean_inc(x_413); -x_414 = lean_ctor_get(x_378, 1); -lean_inc(x_414); -x_415 = lean_ctor_get(x_378, 2); -lean_inc(x_415); -x_416 = lean_ctor_get(x_378, 3); -lean_inc(x_416); -if (lean_is_exclusive(x_378)) { - lean_ctor_release(x_378, 0); - lean_ctor_release(x_378, 1); - lean_ctor_release(x_378, 2); - lean_ctor_release(x_378, 3); - x_417 = x_378; -} else { - lean_dec_ref(x_378); - x_417 = lean_box(0); -} -x_418 = 1; -if (lean_is_scalar(x_417)) { - x_419 = lean_alloc_ctor(1, 4, 1); -} else { - x_419 = x_417; -} -lean_ctor_set(x_419, 0, x_365); -lean_ctor_set(x_419, 1, x_366); -lean_ctor_set(x_419, 2, x_367); -lean_ctor_set(x_419, 3, x_413); -lean_ctor_set_uint8(x_419, sizeof(void*)*4, x_418); -if (lean_is_scalar(x_412)) { - x_420 = lean_alloc_ctor(1, 4, 1); -} else { - x_420 = x_412; -} -lean_ctor_set(x_420, 0, x_416); -lean_ctor_set(x_420, 1, x_409); -lean_ctor_set(x_420, 2, x_410); -lean_ctor_set(x_420, 3, x_411); -lean_ctor_set_uint8(x_420, sizeof(void*)*4, x_418); -x_421 = 0; -x_422 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_422, 0, x_419); -lean_ctor_set(x_422, 1, x_414); -lean_ctor_set(x_422, 2, x_415); -lean_ctor_set(x_422, 3, x_420); -lean_ctor_set_uint8(x_422, sizeof(void*)*4, x_421); -return x_422; -} -else -{ -lean_object* x_423; -x_423 = lean_ctor_get(x_377, 3); -lean_inc(x_423); -if (lean_obj_tag(x_423) == 0) -{ -lean_object* x_424; lean_object* x_425; lean_object* x_426; uint8_t x_427; lean_object* x_428; uint8_t x_429; lean_object* x_430; -x_424 = lean_ctor_get(x_377, 1); -lean_inc(x_424); -x_425 = lean_ctor_get(x_377, 2); -lean_inc(x_425); -if (lean_is_exclusive(x_377)) { - lean_ctor_release(x_377, 0); - lean_ctor_release(x_377, 1); - lean_ctor_release(x_377, 2); - lean_ctor_release(x_377, 3); - x_426 = x_377; -} else { - lean_dec_ref(x_377); - x_426 = lean_box(0); -} -x_427 = 0; -if (lean_is_scalar(x_426)) { - x_428 = lean_alloc_ctor(1, 4, 1); -} else { - x_428 = x_426; -} -lean_ctor_set(x_428, 0, x_378); -lean_ctor_set(x_428, 1, x_424); -lean_ctor_set(x_428, 2, x_425); -lean_ctor_set(x_428, 3, x_423); -lean_ctor_set_uint8(x_428, sizeof(void*)*4, x_427); -x_429 = 1; -x_430 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_430, 0, x_365); -lean_ctor_set(x_430, 1, x_366); -lean_ctor_set(x_430, 2, x_367); -lean_ctor_set(x_430, 3, x_428); -lean_ctor_set_uint8(x_430, sizeof(void*)*4, x_429); -return x_430; -} -else -{ -uint8_t x_431; -x_431 = lean_ctor_get_uint8(x_423, sizeof(void*)*4); -if (x_431 == 0) -{ -lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; lean_object* x_436; lean_object* x_437; lean_object* x_438; lean_object* x_439; uint8_t x_440; lean_object* x_441; lean_object* x_442; lean_object* x_443; uint8_t x_444; lean_object* x_445; -x_432 = lean_ctor_get(x_377, 1); -lean_inc(x_432); -x_433 = lean_ctor_get(x_377, 2); -lean_inc(x_433); -if (lean_is_exclusive(x_377)) { - lean_ctor_release(x_377, 0); - lean_ctor_release(x_377, 1); - lean_ctor_release(x_377, 2); - lean_ctor_release(x_377, 3); - x_434 = x_377; -} else { - lean_dec_ref(x_377); - x_434 = lean_box(0); -} -x_435 = lean_ctor_get(x_423, 0); -lean_inc(x_435); -x_436 = lean_ctor_get(x_423, 1); -lean_inc(x_436); -x_437 = lean_ctor_get(x_423, 2); -lean_inc(x_437); -x_438 = lean_ctor_get(x_423, 3); -lean_inc(x_438); -if (lean_is_exclusive(x_423)) { - lean_ctor_release(x_423, 0); - lean_ctor_release(x_423, 1); - lean_ctor_release(x_423, 2); - lean_ctor_release(x_423, 3); - x_439 = x_423; -} else { - lean_dec_ref(x_423); - x_439 = lean_box(0); -} -x_440 = 1; -lean_inc(x_378); -if (lean_is_scalar(x_439)) { - x_441 = lean_alloc_ctor(1, 4, 1); -} else { - x_441 = x_439; -} -lean_ctor_set(x_441, 0, x_365); -lean_ctor_set(x_441, 1, x_366); -lean_ctor_set(x_441, 2, x_367); -lean_ctor_set(x_441, 3, x_378); -if (lean_is_exclusive(x_378)) { - lean_ctor_release(x_378, 0); - lean_ctor_release(x_378, 1); - lean_ctor_release(x_378, 2); - lean_ctor_release(x_378, 3); - x_442 = x_378; -} else { - lean_dec_ref(x_378); - x_442 = lean_box(0); -} -lean_ctor_set_uint8(x_441, sizeof(void*)*4, x_440); -if (lean_is_scalar(x_442)) { - x_443 = lean_alloc_ctor(1, 4, 1); -} else { - x_443 = x_442; -} -lean_ctor_set(x_443, 0, x_435); -lean_ctor_set(x_443, 1, x_436); -lean_ctor_set(x_443, 2, x_437); -lean_ctor_set(x_443, 3, x_438); -lean_ctor_set_uint8(x_443, sizeof(void*)*4, x_440); -x_444 = 0; -if (lean_is_scalar(x_434)) { - x_445 = lean_alloc_ctor(1, 4, 1); -} else { - x_445 = x_434; -} -lean_ctor_set(x_445, 0, x_441); -lean_ctor_set(x_445, 1, x_432); -lean_ctor_set(x_445, 2, x_433); -lean_ctor_set(x_445, 3, x_443); -lean_ctor_set_uint8(x_445, sizeof(void*)*4, x_444); -return x_445; -} -else -{ -lean_object* x_446; lean_object* x_447; lean_object* x_448; lean_object* x_449; lean_object* x_450; lean_object* x_451; lean_object* x_452; lean_object* x_453; lean_object* x_454; uint8_t x_455; lean_object* x_456; uint8_t x_457; lean_object* x_458; -x_446 = lean_ctor_get(x_377, 1); -lean_inc(x_446); -x_447 = lean_ctor_get(x_377, 2); -lean_inc(x_447); -if (lean_is_exclusive(x_377)) { - lean_ctor_release(x_377, 0); - lean_ctor_release(x_377, 1); - lean_ctor_release(x_377, 2); - lean_ctor_release(x_377, 3); - x_448 = x_377; -} else { - lean_dec_ref(x_377); - x_448 = lean_box(0); -} -x_449 = lean_ctor_get(x_378, 0); -lean_inc(x_449); -x_450 = lean_ctor_get(x_378, 1); -lean_inc(x_450); -x_451 = lean_ctor_get(x_378, 2); -lean_inc(x_451); -x_452 = lean_ctor_get(x_378, 3); -lean_inc(x_452); -if (lean_is_exclusive(x_378)) { - lean_ctor_release(x_378, 0); - lean_ctor_release(x_378, 1); - lean_ctor_release(x_378, 2); - lean_ctor_release(x_378, 3); - x_453 = x_378; -} else { - lean_dec_ref(x_378); - x_453 = lean_box(0); -} -if (lean_is_scalar(x_453)) { - x_454 = lean_alloc_ctor(1, 4, 1); -} else { - x_454 = x_453; -} -lean_ctor_set(x_454, 0, x_449); -lean_ctor_set(x_454, 1, x_450); -lean_ctor_set(x_454, 2, x_451); -lean_ctor_set(x_454, 3, x_452); -lean_ctor_set_uint8(x_454, sizeof(void*)*4, x_431); -x_455 = 0; -if (lean_is_scalar(x_448)) { - x_456 = lean_alloc_ctor(1, 4, 1); -} else { - x_456 = x_448; -} -lean_ctor_set(x_456, 0, x_454); -lean_ctor_set(x_456, 1, x_446); -lean_ctor_set(x_456, 2, x_447); -lean_ctor_set(x_456, 3, x_423); -lean_ctor_set_uint8(x_456, sizeof(void*)*4, x_455); -x_457 = 1; -x_458 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_458, 0, x_365); -lean_ctor_set(x_458, 1, x_366); -lean_ctor_set(x_458, 2, x_367); -lean_ctor_set(x_458, 3, x_456); -lean_ctor_set_uint8(x_458, sizeof(void*)*4, x_457); -return x_458; -} -} -} -} -} -} -} -else -{ -uint8_t x_459; -x_459 = l_Std_RBNode_isRed___rarg(x_365); -if (x_459 == 0) -{ -lean_object* x_460; uint8_t x_461; lean_object* x_462; -x_460 = l_Std_RBNode_ins___at_Lean_Delaborator_delabMData___spec__2(x_365, x_2, x_3); -x_461 = 1; -x_462 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_462, 0, x_460); -lean_ctor_set(x_462, 1, x_366); -lean_ctor_set(x_462, 2, x_367); -lean_ctor_set(x_462, 3, x_368); -lean_ctor_set_uint8(x_462, sizeof(void*)*4, x_461); -return x_462; -} -else -{ -lean_object* x_463; lean_object* x_464; -x_463 = l_Std_RBNode_ins___at_Lean_Delaborator_delabMData___spec__2(x_365, x_2, x_3); -x_464 = lean_ctor_get(x_463, 0); -lean_inc(x_464); -if (lean_obj_tag(x_464) == 0) -{ -lean_object* x_465; -x_465 = lean_ctor_get(x_463, 3); -lean_inc(x_465); -if (lean_obj_tag(x_465) == 0) -{ -lean_object* x_466; lean_object* x_467; lean_object* x_468; uint8_t x_469; lean_object* x_470; uint8_t x_471; lean_object* x_472; -x_466 = lean_ctor_get(x_463, 1); -lean_inc(x_466); -x_467 = lean_ctor_get(x_463, 2); -lean_inc(x_467); -if (lean_is_exclusive(x_463)) { - lean_ctor_release(x_463, 0); - lean_ctor_release(x_463, 1); - lean_ctor_release(x_463, 2); - lean_ctor_release(x_463, 3); - x_468 = x_463; -} else { - lean_dec_ref(x_463); - x_468 = lean_box(0); -} -x_469 = 0; -if (lean_is_scalar(x_468)) { - x_470 = lean_alloc_ctor(1, 4, 1); -} else { - x_470 = x_468; -} -lean_ctor_set(x_470, 0, x_465); -lean_ctor_set(x_470, 1, x_466); -lean_ctor_set(x_470, 2, x_467); -lean_ctor_set(x_470, 3, x_465); -lean_ctor_set_uint8(x_470, sizeof(void*)*4, x_469); -x_471 = 1; -x_472 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_472, 0, x_470); -lean_ctor_set(x_472, 1, x_366); -lean_ctor_set(x_472, 2, x_367); -lean_ctor_set(x_472, 3, x_368); -lean_ctor_set_uint8(x_472, sizeof(void*)*4, x_471); -return x_472; -} -else -{ -uint8_t x_473; -x_473 = lean_ctor_get_uint8(x_465, sizeof(void*)*4); -if (x_473 == 0) -{ -lean_object* x_474; lean_object* x_475; lean_object* x_476; lean_object* x_477; lean_object* x_478; lean_object* x_479; lean_object* x_480; lean_object* x_481; uint8_t x_482; lean_object* x_483; lean_object* x_484; uint8_t x_485; lean_object* x_486; -x_474 = lean_ctor_get(x_463, 1); -lean_inc(x_474); -x_475 = lean_ctor_get(x_463, 2); -lean_inc(x_475); -if (lean_is_exclusive(x_463)) { - lean_ctor_release(x_463, 0); - lean_ctor_release(x_463, 1); - lean_ctor_release(x_463, 2); - lean_ctor_release(x_463, 3); - x_476 = x_463; -} else { - lean_dec_ref(x_463); - x_476 = lean_box(0); -} -x_477 = lean_ctor_get(x_465, 0); -lean_inc(x_477); -x_478 = lean_ctor_get(x_465, 1); -lean_inc(x_478); -x_479 = lean_ctor_get(x_465, 2); -lean_inc(x_479); -x_480 = lean_ctor_get(x_465, 3); -lean_inc(x_480); -if (lean_is_exclusive(x_465)) { - lean_ctor_release(x_465, 0); - lean_ctor_release(x_465, 1); - lean_ctor_release(x_465, 2); - lean_ctor_release(x_465, 3); - x_481 = x_465; -} else { - lean_dec_ref(x_465); - x_481 = lean_box(0); -} -x_482 = 1; -if (lean_is_scalar(x_481)) { - x_483 = lean_alloc_ctor(1, 4, 1); -} else { - x_483 = x_481; -} -lean_ctor_set(x_483, 0, x_464); -lean_ctor_set(x_483, 1, x_474); -lean_ctor_set(x_483, 2, x_475); -lean_ctor_set(x_483, 3, x_477); -lean_ctor_set_uint8(x_483, sizeof(void*)*4, x_482); -if (lean_is_scalar(x_476)) { - x_484 = lean_alloc_ctor(1, 4, 1); -} else { - x_484 = x_476; -} -lean_ctor_set(x_484, 0, x_480); -lean_ctor_set(x_484, 1, x_366); -lean_ctor_set(x_484, 2, x_367); -lean_ctor_set(x_484, 3, x_368); -lean_ctor_set_uint8(x_484, sizeof(void*)*4, x_482); -x_485 = 0; -x_486 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_486, 0, x_483); -lean_ctor_set(x_486, 1, x_478); -lean_ctor_set(x_486, 2, x_479); -lean_ctor_set(x_486, 3, x_484); -lean_ctor_set_uint8(x_486, sizeof(void*)*4, x_485); -return x_486; -} -else -{ -lean_object* x_487; lean_object* x_488; lean_object* x_489; uint8_t x_490; lean_object* x_491; uint8_t x_492; lean_object* x_493; -x_487 = lean_ctor_get(x_463, 1); -lean_inc(x_487); -x_488 = lean_ctor_get(x_463, 2); -lean_inc(x_488); -if (lean_is_exclusive(x_463)) { - lean_ctor_release(x_463, 0); - lean_ctor_release(x_463, 1); - lean_ctor_release(x_463, 2); - lean_ctor_release(x_463, 3); - x_489 = x_463; -} else { - lean_dec_ref(x_463); - x_489 = lean_box(0); -} -x_490 = 0; -if (lean_is_scalar(x_489)) { - x_491 = lean_alloc_ctor(1, 4, 1); -} else { - x_491 = x_489; -} -lean_ctor_set(x_491, 0, x_464); -lean_ctor_set(x_491, 1, x_487); -lean_ctor_set(x_491, 2, x_488); -lean_ctor_set(x_491, 3, x_465); -lean_ctor_set_uint8(x_491, sizeof(void*)*4, x_490); -x_492 = 1; -x_493 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_493, 0, x_491); -lean_ctor_set(x_493, 1, x_366); -lean_ctor_set(x_493, 2, x_367); -lean_ctor_set(x_493, 3, x_368); -lean_ctor_set_uint8(x_493, sizeof(void*)*4, x_492); -return x_493; -} -} -} -else -{ -uint8_t x_494; -x_494 = lean_ctor_get_uint8(x_464, sizeof(void*)*4); -if (x_494 == 0) -{ -lean_object* x_495; lean_object* x_496; lean_object* x_497; lean_object* x_498; lean_object* x_499; lean_object* x_500; lean_object* x_501; lean_object* x_502; lean_object* x_503; uint8_t x_504; lean_object* x_505; lean_object* x_506; uint8_t x_507; lean_object* x_508; -x_495 = lean_ctor_get(x_463, 1); -lean_inc(x_495); -x_496 = lean_ctor_get(x_463, 2); -lean_inc(x_496); -x_497 = lean_ctor_get(x_463, 3); -lean_inc(x_497); -if (lean_is_exclusive(x_463)) { - lean_ctor_release(x_463, 0); - lean_ctor_release(x_463, 1); - lean_ctor_release(x_463, 2); - lean_ctor_release(x_463, 3); - x_498 = x_463; -} else { - lean_dec_ref(x_463); - x_498 = lean_box(0); -} -x_499 = lean_ctor_get(x_464, 0); -lean_inc(x_499); -x_500 = lean_ctor_get(x_464, 1); -lean_inc(x_500); -x_501 = lean_ctor_get(x_464, 2); -lean_inc(x_501); -x_502 = lean_ctor_get(x_464, 3); -lean_inc(x_502); -if (lean_is_exclusive(x_464)) { - lean_ctor_release(x_464, 0); - lean_ctor_release(x_464, 1); - lean_ctor_release(x_464, 2); - lean_ctor_release(x_464, 3); - x_503 = x_464; -} else { - lean_dec_ref(x_464); - x_503 = lean_box(0); -} -x_504 = 1; -if (lean_is_scalar(x_503)) { - x_505 = lean_alloc_ctor(1, 4, 1); -} else { - x_505 = x_503; -} -lean_ctor_set(x_505, 0, x_499); -lean_ctor_set(x_505, 1, x_500); -lean_ctor_set(x_505, 2, x_501); -lean_ctor_set(x_505, 3, x_502); -lean_ctor_set_uint8(x_505, sizeof(void*)*4, x_504); -if (lean_is_scalar(x_498)) { - x_506 = lean_alloc_ctor(1, 4, 1); -} else { - x_506 = x_498; -} -lean_ctor_set(x_506, 0, x_497); -lean_ctor_set(x_506, 1, x_366); -lean_ctor_set(x_506, 2, x_367); -lean_ctor_set(x_506, 3, x_368); -lean_ctor_set_uint8(x_506, sizeof(void*)*4, x_504); -x_507 = 0; -x_508 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_508, 0, x_505); -lean_ctor_set(x_508, 1, x_495); -lean_ctor_set(x_508, 2, x_496); -lean_ctor_set(x_508, 3, x_506); -lean_ctor_set_uint8(x_508, sizeof(void*)*4, x_507); -return x_508; -} -else -{ -lean_object* x_509; -x_509 = lean_ctor_get(x_463, 3); -lean_inc(x_509); -if (lean_obj_tag(x_509) == 0) -{ -lean_object* x_510; lean_object* x_511; lean_object* x_512; uint8_t x_513; lean_object* x_514; uint8_t x_515; lean_object* x_516; -x_510 = lean_ctor_get(x_463, 1); -lean_inc(x_510); -x_511 = lean_ctor_get(x_463, 2); -lean_inc(x_511); -if (lean_is_exclusive(x_463)) { - lean_ctor_release(x_463, 0); - lean_ctor_release(x_463, 1); - lean_ctor_release(x_463, 2); - lean_ctor_release(x_463, 3); - x_512 = x_463; -} else { - lean_dec_ref(x_463); - x_512 = lean_box(0); -} -x_513 = 0; -if (lean_is_scalar(x_512)) { - x_514 = lean_alloc_ctor(1, 4, 1); -} else { - x_514 = x_512; -} -lean_ctor_set(x_514, 0, x_464); -lean_ctor_set(x_514, 1, x_510); -lean_ctor_set(x_514, 2, x_511); -lean_ctor_set(x_514, 3, x_509); -lean_ctor_set_uint8(x_514, sizeof(void*)*4, x_513); -x_515 = 1; -x_516 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_516, 0, x_514); -lean_ctor_set(x_516, 1, x_366); -lean_ctor_set(x_516, 2, x_367); -lean_ctor_set(x_516, 3, x_368); -lean_ctor_set_uint8(x_516, sizeof(void*)*4, x_515); -return x_516; -} -else -{ -uint8_t x_517; -x_517 = lean_ctor_get_uint8(x_509, sizeof(void*)*4); -if (x_517 == 0) -{ -lean_object* x_518; lean_object* x_519; lean_object* x_520; lean_object* x_521; lean_object* x_522; lean_object* x_523; lean_object* x_524; lean_object* x_525; uint8_t x_526; lean_object* x_527; lean_object* x_528; lean_object* x_529; uint8_t x_530; lean_object* x_531; -x_518 = lean_ctor_get(x_463, 1); -lean_inc(x_518); -x_519 = lean_ctor_get(x_463, 2); -lean_inc(x_519); -if (lean_is_exclusive(x_463)) { - lean_ctor_release(x_463, 0); - lean_ctor_release(x_463, 1); - lean_ctor_release(x_463, 2); - lean_ctor_release(x_463, 3); - x_520 = x_463; -} else { - lean_dec_ref(x_463); - x_520 = lean_box(0); -} -x_521 = lean_ctor_get(x_509, 0); -lean_inc(x_521); -x_522 = lean_ctor_get(x_509, 1); -lean_inc(x_522); -x_523 = lean_ctor_get(x_509, 2); -lean_inc(x_523); -x_524 = lean_ctor_get(x_509, 3); -lean_inc(x_524); -if (lean_is_exclusive(x_509)) { - lean_ctor_release(x_509, 0); - lean_ctor_release(x_509, 1); - lean_ctor_release(x_509, 2); - lean_ctor_release(x_509, 3); - x_525 = x_509; -} else { - lean_dec_ref(x_509); - x_525 = lean_box(0); -} -x_526 = 1; -lean_inc(x_464); -if (lean_is_scalar(x_525)) { - x_527 = lean_alloc_ctor(1, 4, 1); -} else { - x_527 = x_525; -} -lean_ctor_set(x_527, 0, x_464); -lean_ctor_set(x_527, 1, x_518); -lean_ctor_set(x_527, 2, x_519); -lean_ctor_set(x_527, 3, x_521); -if (lean_is_exclusive(x_464)) { - lean_ctor_release(x_464, 0); - lean_ctor_release(x_464, 1); - lean_ctor_release(x_464, 2); - lean_ctor_release(x_464, 3); - x_528 = x_464; -} else { - lean_dec_ref(x_464); - x_528 = lean_box(0); -} -lean_ctor_set_uint8(x_527, sizeof(void*)*4, x_526); -if (lean_is_scalar(x_528)) { - x_529 = lean_alloc_ctor(1, 4, 1); -} else { - x_529 = x_528; -} -lean_ctor_set(x_529, 0, x_524); -lean_ctor_set(x_529, 1, x_366); -lean_ctor_set(x_529, 2, x_367); -lean_ctor_set(x_529, 3, x_368); -lean_ctor_set_uint8(x_529, sizeof(void*)*4, x_526); -x_530 = 0; -if (lean_is_scalar(x_520)) { - x_531 = lean_alloc_ctor(1, 4, 1); -} else { - x_531 = x_520; -} -lean_ctor_set(x_531, 0, x_527); -lean_ctor_set(x_531, 1, x_522); -lean_ctor_set(x_531, 2, x_523); -lean_ctor_set(x_531, 3, x_529); -lean_ctor_set_uint8(x_531, sizeof(void*)*4, x_530); -return x_531; -} -else -{ -lean_object* x_532; lean_object* x_533; lean_object* x_534; lean_object* x_535; lean_object* x_536; lean_object* x_537; lean_object* x_538; lean_object* x_539; lean_object* x_540; uint8_t x_541; lean_object* x_542; uint8_t x_543; lean_object* x_544; -x_532 = lean_ctor_get(x_463, 1); -lean_inc(x_532); -x_533 = lean_ctor_get(x_463, 2); -lean_inc(x_533); -if (lean_is_exclusive(x_463)) { - lean_ctor_release(x_463, 0); - lean_ctor_release(x_463, 1); - lean_ctor_release(x_463, 2); - lean_ctor_release(x_463, 3); - x_534 = x_463; -} else { - lean_dec_ref(x_463); - x_534 = lean_box(0); -} -x_535 = lean_ctor_get(x_464, 0); -lean_inc(x_535); -x_536 = lean_ctor_get(x_464, 1); -lean_inc(x_536); -x_537 = lean_ctor_get(x_464, 2); -lean_inc(x_537); -x_538 = lean_ctor_get(x_464, 3); -lean_inc(x_538); -if (lean_is_exclusive(x_464)) { - lean_ctor_release(x_464, 0); - lean_ctor_release(x_464, 1); - lean_ctor_release(x_464, 2); - lean_ctor_release(x_464, 3); - x_539 = x_464; -} else { - lean_dec_ref(x_464); - x_539 = lean_box(0); -} -if (lean_is_scalar(x_539)) { - x_540 = lean_alloc_ctor(1, 4, 1); -} else { - x_540 = x_539; -} -lean_ctor_set(x_540, 0, x_535); -lean_ctor_set(x_540, 1, x_536); -lean_ctor_set(x_540, 2, x_537); -lean_ctor_set(x_540, 3, x_538); -lean_ctor_set_uint8(x_540, sizeof(void*)*4, x_517); -x_541 = 0; -if (lean_is_scalar(x_534)) { - x_542 = lean_alloc_ctor(1, 4, 1); -} else { - x_542 = x_534; -} -lean_ctor_set(x_542, 0, x_540); -lean_ctor_set(x_542, 1, x_532); -lean_ctor_set(x_542, 2, x_533); -lean_ctor_set(x_542, 3, x_509); -lean_ctor_set_uint8(x_542, sizeof(void*)*4, x_541); -x_543 = 1; -x_544 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_544, 0, x_542); -lean_ctor_set(x_544, 1, x_366); -lean_ctor_set(x_544, 2, x_367); -lean_ctor_set(x_544, 3, x_368); -lean_ctor_set_uint8(x_544, sizeof(void*)*4, x_543); -return x_544; -} -} -} -} -} -} -} -} -} -} -} -lean_object* l_Std_RBNode_insert___at_Lean_Delaborator_delabMData___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -uint8_t x_4; -x_4 = l_Std_RBNode_isRed___rarg(x_1); -if (x_4 == 0) -{ -lean_object* x_5; -x_5 = l_Std_RBNode_ins___at_Lean_Delaborator_delabMData___spec__2(x_1, x_2, x_3); -return x_5; -} -else -{ -lean_object* x_6; lean_object* x_7; -x_6 = l_Std_RBNode_ins___at_Lean_Delaborator_delabMData___spec__2(x_1, x_2, x_3); -x_7 = l_Std_RBNode_setBlack___rarg(x_6); -return x_7; -} -} -} -lean_object* l_List_forIn_loop___at_Lean_Delaborator_delabMData___spec__3___lambda__1(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; uint8_t x_12; -x_11 = l_Lean_Meta_Match_Pattern_toExpr_visit___closed__2; -x_12 = lean_name_eq(x_1, x_11); -if (x_12 == 0) -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_13 = lean_box(x_2); -x_14 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_14, 0, x_13); -lean_ctor_set(x_14, 1, x_3); -x_15 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_15, 0, x_14); -x_16 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_16, 0, x_15); -lean_ctor_set(x_16, 1, x_10); -return x_16; -} -else -{ -uint8_t x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_17 = 1; -x_18 = lean_box(x_17); -x_19 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_19, 0, x_18); -lean_ctor_set(x_19, 1, x_3); -x_20 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_20, 0, x_19); -x_21 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_21, 0, x_20); -lean_ctor_set(x_21, 1, x_10); -return x_21; -} -} -} -lean_object* l_List_forIn_loop___at_Lean_Delaborator_delabMData___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -if (lean_obj_tag(x_2) == 0) -{ -lean_object* x_10; -lean_dec(x_1); -x_10 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_10, 0, x_3); -lean_ctor_set(x_10, 1, x_9); -return x_10; -} -else -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; -x_11 = lean_ctor_get(x_2, 0); -lean_inc(x_11); -x_12 = lean_ctor_get(x_2, 1); -lean_inc(x_12); -lean_dec(x_2); -x_13 = lean_ctor_get(x_11, 0); -lean_inc(x_13); -x_14 = lean_ctor_get(x_11, 1); -lean_inc(x_14); -lean_dec(x_11); -x_15 = lean_ctor_get(x_3, 0); -lean_inc(x_15); -x_16 = lean_ctor_get(x_3, 1); -lean_inc(x_16); -lean_dec(x_3); -x_17 = l_Lean_getSanitizeNames___closed__2; -x_18 = l_Lean_Name_isPrefixOf(x_17, x_13); -if (x_18 == 0) -{ -lean_object* x_19; uint8_t x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; -lean_dec(x_14); -x_19 = lean_box(0); -x_20 = lean_unbox(x_15); -lean_dec(x_15); -x_21 = l_List_forIn_loop___at_Lean_Delaborator_delabMData___spec__3___lambda__1(x_13, x_20, x_16, x_19, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_13); -x_22 = lean_ctor_get(x_21, 0); -lean_inc(x_22); -x_23 = lean_ctor_get(x_21, 1); -lean_inc(x_23); -lean_dec(x_21); -x_24 = lean_ctor_get(x_22, 0); -lean_inc(x_24); -lean_dec(x_22); -x_2 = x_12; -x_3 = x_24; -x_9 = x_23; -goto _start; -} -else -{ -lean_object* x_26; lean_object* x_27; -x_26 = lean_box(0); -x_27 = l_Std_RBNode_find___at_Lean_Delaborator_getPPOption___spec__1(x_16, x_1); -if (lean_obj_tag(x_27) == 0) -{ -lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; -lean_inc(x_13); -x_28 = l_Lean_KVMap_insertCore(x_26, x_13, x_14); -lean_inc(x_1); -x_29 = l_Std_RBNode_insert___at_Lean_Delaborator_delabMData___spec__1(x_16, x_1, x_28); -x_30 = lean_box(0); -x_31 = lean_unbox(x_15); -lean_dec(x_15); -x_32 = l_List_forIn_loop___at_Lean_Delaborator_delabMData___spec__3___lambda__1(x_13, x_31, x_29, x_30, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_13); -x_33 = lean_ctor_get(x_32, 0); -lean_inc(x_33); -x_34 = lean_ctor_get(x_32, 1); -lean_inc(x_34); -lean_dec(x_32); -x_35 = lean_ctor_get(x_33, 0); -lean_inc(x_35); -lean_dec(x_33); -x_2 = x_12; -x_3 = x_35; -x_9 = x_34; -goto _start; -} -else -{ -lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; uint8_t x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; -x_37 = lean_ctor_get(x_27, 0); -lean_inc(x_37); -lean_dec(x_27); -lean_inc(x_13); -x_38 = l_Lean_KVMap_insertCore(x_37, x_13, x_14); -lean_inc(x_1); -x_39 = l_Std_RBNode_insert___at_Lean_Delaborator_delabMData___spec__1(x_16, x_1, x_38); -x_40 = lean_box(0); -x_41 = lean_unbox(x_15); -lean_dec(x_15); -x_42 = l_List_forIn_loop___at_Lean_Delaborator_delabMData___spec__3___lambda__1(x_13, x_41, x_39, x_40, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_13); -x_43 = lean_ctor_get(x_42, 0); -lean_inc(x_43); -x_44 = lean_ctor_get(x_42, 1); -lean_inc(x_44); -lean_dec(x_42); -x_45 = lean_ctor_get(x_43, 0); -lean_inc(x_45); -lean_dec(x_43); -x_2 = x_12; -x_3 = x_45; -x_9 = x_44; -goto _start; -} -} -} -} -} -static lean_object* _init_l_Lean_Delaborator_delabMData___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("Lean.Delaborator.delabMData"); -return x_1; -} -} -static lean_object* _init_l_Lean_Delaborator_delabMData___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_1 = l_Lean_Delaborator_withAppFn___rarg___closed__2; -x_2 = l_Lean_Delaborator_delabMData___closed__1; -x_3 = lean_unsigned_to_nat(467u); -x_4 = lean_unsigned_to_nat(35u); -x_5 = l_Lean_Syntax_strLitToAtom___closed__3; -x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); -return x_6; -} -} -static lean_object* _init_l_Lean_Delaborator_delabMData___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_38____closed__6; -x_2 = l_Lean_Meta_Match_Pattern_toExpr_visit___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Delaborator_delabMData___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_instInhabitedSourceInfo___closed__1; -x_2 = l_Lean_Meta_Match_Pattern_toMessageData___closed__1; -x_3 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Delaborator_delabMData___closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_empty___closed__1; -x_2 = l_Lean_Delaborator_delabMData___closed__4; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -lean_object* l_Lean_Delaborator_delabMData(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; lean_object* x_8; -x_7 = l_Lean_Delaborator_getExpr(x_1, x_2, x_3, x_4, x_5, x_6); -x_8 = lean_ctor_get(x_7, 0); -lean_inc(x_8); -if (lean_obj_tag(x_8) == 10) -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; -x_9 = lean_ctor_get(x_7, 1); -lean_inc(x_9); -lean_dec(x_7); -x_10 = lean_ctor_get(x_8, 0); -lean_inc(x_10); -lean_dec(x_8); -x_11 = lean_ctor_get(x_1, 0); -lean_inc(x_11); -x_12 = lean_ctor_get(x_1, 1); -lean_inc(x_12); -x_13 = lean_ctor_get(x_1, 2); -lean_inc(x_13); -x_14 = lean_ctor_get(x_1, 3); -lean_inc(x_14); -x_15 = lean_ctor_get(x_1, 4); -lean_inc(x_15); -x_16 = lean_ctor_get(x_1, 5); -lean_inc(x_16); -x_17 = 0; -x_18 = lean_box(x_17); -x_19 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_19, 0, x_18); -lean_ctor_set(x_19, 1, x_14); -lean_inc(x_12); -x_20 = l_List_forIn_loop___at_Lean_Delaborator_delabMData___spec__3(x_12, x_10, x_19, x_1, x_2, x_3, x_4, x_5, x_9); -x_21 = !lean_is_exclusive(x_1); -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; -x_22 = lean_ctor_get(x_1, 5); -lean_dec(x_22); -x_23 = lean_ctor_get(x_1, 4); -lean_dec(x_23); -x_24 = lean_ctor_get(x_1, 3); -lean_dec(x_24); -x_25 = lean_ctor_get(x_1, 2); -lean_dec(x_25); -x_26 = lean_ctor_get(x_1, 1); -lean_dec(x_26); -x_27 = lean_ctor_get(x_1, 0); -lean_dec(x_27); -x_28 = lean_ctor_get(x_20, 0); -lean_inc(x_28); -x_29 = lean_ctor_get(x_20, 1); -lean_inc(x_29); -lean_dec(x_20); -x_30 = lean_ctor_get(x_28, 0); -lean_inc(x_30); -x_31 = lean_ctor_get(x_28, 1); -lean_inc(x_31); -lean_dec(x_28); -lean_ctor_set(x_1, 3, x_31); -x_32 = l_Lean_Delaborator_delabAppMatch___lambda__2___closed__1; -x_33 = l_Lean_Delaborator_withMDataExpr___rarg(x_32, x_1, x_2, x_3, x_4, x_5, x_29); -if (lean_obj_tag(x_33) == 0) -{ -uint8_t x_34; -x_34 = lean_unbox(x_30); -lean_dec(x_30); -if (x_34 == 0) -{ -uint8_t x_35; -x_35 = !lean_is_exclusive(x_33); -if (x_35 == 0) -{ -return x_33; -} -else -{ -lean_object* x_36; lean_object* x_37; lean_object* x_38; -x_36 = lean_ctor_get(x_33, 0); -x_37 = lean_ctor_get(x_33, 1); -lean_inc(x_37); -lean_inc(x_36); -lean_dec(x_33); -x_38 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_38, 0, x_36); -lean_ctor_set(x_38, 1, x_37); -return x_38; -} -} -else -{ -uint8_t x_39; -x_39 = !lean_is_exclusive(x_33); -if (x_39 == 0) -{ -lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; -x_40 = lean_ctor_get(x_33, 0); -x_41 = l_Lean_Delaborator_delabMData___closed__5; -x_42 = lean_array_push(x_41, x_40); -x_43 = l_myMacro____x40_Init_Notation___hyg_5739____closed__22; -x_44 = lean_array_push(x_42, x_43); -x_45 = l_Lean_Delaborator_delabMData___closed__3; -x_46 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_46, 0, x_45); -lean_ctor_set(x_46, 1, x_44); -lean_ctor_set(x_33, 0, x_46); -return x_33; -} -else -{ -lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; -x_47 = lean_ctor_get(x_33, 0); -x_48 = lean_ctor_get(x_33, 1); -lean_inc(x_48); -lean_inc(x_47); -lean_dec(x_33); -x_49 = l_Lean_Delaborator_delabMData___closed__5; -x_50 = lean_array_push(x_49, x_47); -x_51 = l_myMacro____x40_Init_Notation___hyg_5739____closed__22; -x_52 = lean_array_push(x_50, x_51); -x_53 = l_Lean_Delaborator_delabMData___closed__3; -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_alloc_ctor(0, 2, 0); -lean_ctor_set(x_55, 0, x_54); -lean_ctor_set(x_55, 1, x_48); -return x_55; -} -} -} -else -{ -uint8_t x_56; -lean_dec(x_30); -x_56 = !lean_is_exclusive(x_33); -if (x_56 == 0) -{ -return x_33; -} -else -{ -lean_object* x_57; lean_object* x_58; lean_object* x_59; -x_57 = lean_ctor_get(x_33, 0); -x_58 = lean_ctor_get(x_33, 1); -lean_inc(x_58); -lean_inc(x_57); -lean_dec(x_33); -x_59 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_59, 0, x_57); -lean_ctor_set(x_59, 1, x_58); -return x_59; -} -} -} -else -{ -lean_object* x_60; 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_dec(x_1); -x_60 = lean_ctor_get(x_20, 0); -lean_inc(x_60); -x_61 = lean_ctor_get(x_20, 1); -lean_inc(x_61); -lean_dec(x_20); -x_62 = lean_ctor_get(x_60, 0); -lean_inc(x_62); -x_63 = lean_ctor_get(x_60, 1); -lean_inc(x_63); -lean_dec(x_60); -x_64 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_64, 0, x_11); -lean_ctor_set(x_64, 1, x_12); -lean_ctor_set(x_64, 2, x_13); -lean_ctor_set(x_64, 3, x_63); -lean_ctor_set(x_64, 4, x_15); -lean_ctor_set(x_64, 5, x_16); -x_65 = l_Lean_Delaborator_delabAppMatch___lambda__2___closed__1; -x_66 = l_Lean_Delaborator_withMDataExpr___rarg(x_65, x_64, x_2, x_3, x_4, x_5, x_61); -if (lean_obj_tag(x_66) == 0) -{ -uint8_t x_67; -x_67 = lean_unbox(x_62); -lean_dec(x_62); -if (x_67 == 0) -{ -lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; -x_68 = lean_ctor_get(x_66, 0); -lean_inc(x_68); -x_69 = lean_ctor_get(x_66, 1); -lean_inc(x_69); -if (lean_is_exclusive(x_66)) { - lean_ctor_release(x_66, 0); - lean_ctor_release(x_66, 1); - x_70 = x_66; -} else { - lean_dec_ref(x_66); - x_70 = lean_box(0); -} -if (lean_is_scalar(x_70)) { - x_71 = lean_alloc_ctor(0, 2, 0); -} else { - x_71 = x_70; -} -lean_ctor_set(x_71, 0, x_68); -lean_ctor_set(x_71, 1, x_69); -return x_71; -} -else -{ -lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; -x_72 = lean_ctor_get(x_66, 0); -lean_inc(x_72); -x_73 = lean_ctor_get(x_66, 1); -lean_inc(x_73); -if (lean_is_exclusive(x_66)) { - lean_ctor_release(x_66, 0); - lean_ctor_release(x_66, 1); - x_74 = x_66; -} else { - lean_dec_ref(x_66); - x_74 = lean_box(0); -} -x_75 = l_Lean_Delaborator_delabMData___closed__5; -x_76 = lean_array_push(x_75, x_72); -x_77 = l_myMacro____x40_Init_Notation___hyg_5739____closed__22; -x_78 = lean_array_push(x_76, x_77); -x_79 = l_Lean_Delaborator_delabMData___closed__3; -x_80 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_80, 0, x_79); -lean_ctor_set(x_80, 1, x_78); -if (lean_is_scalar(x_74)) { - x_81 = lean_alloc_ctor(0, 2, 0); -} else { - x_81 = x_74; -} -lean_ctor_set(x_81, 0, x_80); -lean_ctor_set(x_81, 1, x_73); -return x_81; -} -} -else -{ -lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; -lean_dec(x_62); -x_82 = lean_ctor_get(x_66, 0); -lean_inc(x_82); -x_83 = lean_ctor_get(x_66, 1); -lean_inc(x_83); -if (lean_is_exclusive(x_66)) { - lean_ctor_release(x_66, 0); - lean_ctor_release(x_66, 1); - x_84 = x_66; -} else { - lean_dec_ref(x_66); - x_84 = lean_box(0); -} -if (lean_is_scalar(x_84)) { - x_85 = lean_alloc_ctor(1, 2, 0); -} else { - x_85 = x_84; -} -lean_ctor_set(x_85, 0, x_82); -lean_ctor_set(x_85, 1, x_83); -return x_85; -} -} -} -else -{ -lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; -lean_dec(x_8); -x_86 = lean_ctor_get(x_7, 1); -lean_inc(x_86); -lean_dec(x_7); -x_87 = l_Lean_Delaborator_withAppFn___rarg___closed__1; -x_88 = l_Lean_Delaborator_delabMData___closed__2; -x_89 = lean_panic_fn(x_87, x_88); -x_90 = lean_apply_6(x_89, x_1, x_2, x_3, x_4, x_5, x_86); -return x_90; -} -} -} -lean_object* l_List_forIn_loop___at_Lean_Delaborator_delabMData___spec__3___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -uint8_t x_11; lean_object* x_12; -x_11 = lean_unbox(x_2); -lean_dec(x_2); -x_12 = l_List_forIn_loop___at_Lean_Delaborator_delabMData___spec__3___lambda__1(x_1, x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_1); -return x_12; -} -} -lean_object* l_List_forIn_loop___at_Lean_Delaborator_delabMData___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; -x_10 = l_List_forIn_loop___at_Lean_Delaborator_delabMData___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -return x_10; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabMData___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabMData), 6, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Delaborator_delabMData(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_Delaborator_delabAttribute; -x_3 = l_Lean_Delaborator_getExprKind___closed__10; -x_4 = l___regBuiltin_Lean_Delaborator_delabMData___closed__1; -x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); -return x_5; -} -} -lean_object* l_Lean_Delaborator_hasIdent_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -switch (lean_obj_tag(x_1)) { -case 1: -{ -lean_object* x_5; lean_object* x_6; lean_object* x_7; -lean_dec(x_4); -lean_dec(x_2); -x_5 = lean_ctor_get(x_1, 0); -lean_inc(x_5); -x_6 = lean_ctor_get(x_1, 1); -lean_inc(x_6); -lean_dec(x_1); -x_7 = lean_apply_2(x_3, x_5, x_6); -return x_7; -} -case 3: -{ -lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; -lean_dec(x_4); -lean_dec(x_3); -x_8 = lean_ctor_get(x_1, 0); -lean_inc(x_8); -x_9 = lean_ctor_get(x_1, 1); -lean_inc(x_9); -x_10 = lean_ctor_get(x_1, 2); -lean_inc(x_10); -x_11 = lean_ctor_get(x_1, 3); -lean_inc(x_11); -lean_dec(x_1); -x_12 = lean_apply_4(x_2, x_8, x_9, x_10, x_11); -return x_12; -} -default: -{ -lean_object* x_13; -lean_dec(x_3); -lean_dec(x_2); -x_13 = lean_apply_1(x_4, x_1); -return x_13; -} -} -} -} -lean_object* l_Lean_Delaborator_hasIdent_match__1(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Delaborator_hasIdent_match__1___rarg), 4, 0); -return x_2; -} -} -uint8_t l_Array_anyMUnsafe_any___at_Lean_Delaborator_hasIdent___spec__1(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4) { -_start: -{ -uint8_t x_5; -x_5 = x_3 == x_4; -if (x_5 == 0) -{ -lean_object* x_6; uint8_t x_7; -x_6 = lean_array_uget(x_2, x_3); -x_7 = l_Lean_Delaborator_hasIdent(x_1, x_6); -lean_dec(x_6); -if (x_7 == 0) -{ -size_t x_8; size_t x_9; -x_8 = 1; -x_9 = x_3 + x_8; -x_3 = x_9; -goto _start; -} -else -{ -uint8_t x_11; -x_11 = 1; -return x_11; -} -} -else -{ -uint8_t x_12; -x_12 = 0; -return x_12; -} -} -} -uint8_t l_Lean_Delaborator_hasIdent(lean_object* x_1, lean_object* x_2) { -_start: -{ -switch (lean_obj_tag(x_2)) { -case 1: -{ -lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; -x_3 = lean_ctor_get(x_2, 1); -x_4 = lean_array_get_size(x_3); -x_5 = lean_unsigned_to_nat(0u); -x_6 = lean_nat_dec_lt(x_5, x_4); -if (x_6 == 0) -{ -uint8_t x_7; -lean_dec(x_4); -x_7 = 0; -return x_7; -} -else -{ -uint8_t x_8; -x_8 = lean_nat_dec_le(x_4, x_4); -if (x_8 == 0) -{ -uint8_t x_9; -lean_dec(x_4); -x_9 = 0; -return x_9; -} -else -{ -size_t x_10; size_t x_11; uint8_t x_12; -x_10 = 0; -x_11 = lean_usize_of_nat(x_4); -lean_dec(x_4); -x_12 = l_Array_anyMUnsafe_any___at_Lean_Delaborator_hasIdent___spec__1(x_1, x_3, x_10, x_11); -return x_12; -} -} -} -case 3: -{ -lean_object* x_13; uint8_t x_14; -x_13 = lean_ctor_get(x_2, 2); -x_14 = lean_name_eq(x_1, x_13); -return x_14; -} -default: -{ -uint8_t x_15; -x_15 = 0; -return x_15; -} -} -} -} -lean_object* l_Array_anyMUnsafe_any___at_Lean_Delaborator_hasIdent___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -size_t x_5; size_t x_6; uint8_t x_7; lean_object* x_8; -x_5 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_6 = lean_unbox_usize(x_4); -lean_dec(x_4); -x_7 = l_Array_anyMUnsafe_any___at_Lean_Delaborator_hasIdent___spec__1(x_1, x_2, x_5, x_6); -lean_dec(x_2); -lean_dec(x_1); -x_8 = lean_box(x_7); -return x_8; -} -} -lean_object* l_Lean_Delaborator_hasIdent___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -uint8_t x_3; lean_object* x_4; -x_3 = l_Lean_Delaborator_hasIdent(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_Delaborator_0__Lean_Delaborator_shouldGroupWithNext_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -switch (lean_obj_tag(x_1)) { -case 6: -{ -lean_object* x_5; -lean_dec(x_3); -x_5 = lean_ctor_get(x_1, 2); -lean_inc(x_5); -if (lean_obj_tag(x_5) == 6) -{ -lean_object* x_6; lean_object* x_7; uint64_t x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; uint64_t x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; -lean_dec(x_4); -x_6 = lean_ctor_get(x_1, 0); -lean_inc(x_6); -x_7 = lean_ctor_get(x_1, 1); -lean_inc(x_7); -x_8 = lean_ctor_get_uint64(x_1, sizeof(void*)*3); -lean_dec(x_1); -x_9 = lean_ctor_get(x_5, 0); -lean_inc(x_9); -x_10 = lean_ctor_get(x_5, 1); -lean_inc(x_10); -x_11 = lean_ctor_get(x_5, 2); -lean_inc(x_11); -x_12 = lean_ctor_get_uint64(x_5, sizeof(void*)*3); -x_13 = lean_box_uint64(x_12); -x_14 = lean_box_uint64(x_8); -x_15 = lean_apply_8(x_2, x_6, x_7, x_5, x_9, x_10, x_11, x_13, x_14); -return x_15; -} -else -{ -lean_object* x_16; -lean_dec(x_5); -lean_dec(x_2); -x_16 = lean_apply_1(x_4, x_1); -return x_16; -} -} -case 7: -{ -lean_object* x_17; -lean_dec(x_2); -x_17 = lean_ctor_get(x_1, 2); -lean_inc(x_17); -if (lean_obj_tag(x_17) == 7) -{ -lean_object* x_18; lean_object* x_19; uint64_t x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint64_t x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; -lean_dec(x_4); -x_18 = lean_ctor_get(x_1, 0); -lean_inc(x_18); -x_19 = lean_ctor_get(x_1, 1); -lean_inc(x_19); -x_20 = lean_ctor_get_uint64(x_1, sizeof(void*)*3); -lean_dec(x_1); -x_21 = lean_ctor_get(x_17, 0); -lean_inc(x_21); -x_22 = lean_ctor_get(x_17, 1); -lean_inc(x_22); -x_23 = lean_ctor_get(x_17, 2); -lean_inc(x_23); -x_24 = lean_ctor_get_uint64(x_17, sizeof(void*)*3); -x_25 = lean_box_uint64(x_24); -x_26 = lean_box_uint64(x_20); -x_27 = lean_apply_8(x_3, x_18, x_19, x_17, x_21, x_22, x_23, x_25, x_26); -return x_27; -} -else -{ -lean_object* x_28; -lean_dec(x_17); -lean_dec(x_3); -x_28 = lean_apply_1(x_4, x_1); -return x_28; -} -} -default: -{ -lean_object* x_29; -lean_dec(x_3); -lean_dec(x_2); -x_29 = lean_apply_1(x_4, x_1); -return x_29; -} -} -} -} -lean_object* l___private_Lean_Delaborator_0__Lean_Delaborator_shouldGroupWithNext_match__1(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Lean_Delaborator_0__Lean_Delaborator_shouldGroupWithNext_match__1___rarg), 4, 0); -return x_2; -} -} -static lean_object* _init_l___private_Lean_Delaborator_0__Lean_Delaborator_shouldGroupWithNext___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_getPPBinderTypes___boxed), 1, 0); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Delaborator_0__Lean_Delaborator_shouldGroupWithNext___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Delaborator_0__Lean_Delaborator_shouldGroupWithNext___closed__1; -x_2 = lean_alloc_closure((void*)(l_Lean_Delaborator_getPPOption___boxed), 7, 1); -lean_closure_set(x_2, 0, x_1); -return x_2; -} -} -lean_object* l___private_Lean_Delaborator_0__Lean_Delaborator_shouldGroupWithNext(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; -x_7 = l_Lean_Delaborator_getExpr(x_1, x_2, x_3, x_4, x_5, x_6); -x_8 = lean_ctor_get(x_7, 0); -lean_inc(x_8); -x_9 = lean_ctor_get(x_7, 1); -lean_inc(x_9); -lean_dec(x_7); -x_10 = l___private_Lean_Delaborator_0__Lean_Delaborator_shouldGroupWithNext___closed__1; -lean_inc(x_1); -x_11 = l_Lean_Delaborator_getPPOption(x_10, x_1, x_2, x_3, x_4, x_5, x_9); -switch (lean_obj_tag(x_8)) { -case 6: -{ -lean_object* x_12; -x_12 = lean_ctor_get(x_8, 2); -lean_inc(x_12); -if (lean_obj_tag(x_12) == 6) -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_13 = lean_ctor_get(x_11, 0); -lean_inc(x_13); -x_14 = lean_ctor_get(x_11, 1); -lean_inc(x_14); -lean_dec(x_11); -x_15 = l_Lean_mkSimpleThunk___closed__1; -x_16 = l___private_Lean_Delaborator_0__Lean_Delaborator_shouldGroupWithNext___closed__2; -x_17 = l_Lean_Delaborator_withBindingBody___rarg(x_15, x_16, x_1, x_2, x_3, x_4, x_5, x_14); -if (lean_obj_tag(x_17) == 0) -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; uint8_t x_22; uint8_t x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; uint8_t x_27; uint8_t x_28; uint8_t x_29; uint8_t x_30; uint8_t x_31; -x_18 = lean_ctor_get(x_17, 0); -lean_inc(x_18); -x_19 = lean_ctor_get(x_17, 1); -lean_inc(x_19); -if (lean_is_exclusive(x_17)) { - lean_ctor_release(x_17, 0); - lean_ctor_release(x_17, 1); - x_20 = x_17; -} else { - lean_dec_ref(x_17); - x_20 = lean_box(0); -} -x_21 = l_Lean_Expr_binderInfo(x_8); -x_22 = l_Lean_Expr_binderInfo(x_12); -x_23 = l_Lean_BinderInfo_beq(x_21, x_22); -x_24 = l_Lean_Expr_bindingDomain_x21(x_8); -lean_dec(x_8); -x_25 = l_Lean_Expr_bindingDomain_x21(x_12); -lean_dec(x_12); -x_26 = lean_expr_eqv(x_24, x_25); -lean_dec(x_25); -lean_dec(x_24); -x_27 = 3; -x_28 = l_Lean_BinderInfo_beq(x_22, x_27); -x_29 = 0; -x_30 = l_Lean_BinderInfo_beq(x_22, x_29); -if (x_23 == 0) -{ -uint8_t x_55; -x_55 = 0; -x_31 = x_55; -goto block_54; -} -else -{ -if (x_28 == 0) -{ -if (x_26 == 0) -{ -uint8_t x_56; -x_56 = 0; -x_31 = x_56; -goto block_54; -} -else -{ -uint8_t x_57; -x_57 = 1; -x_31 = x_57; -goto block_54; -} -} -else -{ -uint8_t x_58; -x_58 = 0; -x_31 = x_58; -goto block_54; -} -} -block_54: -{ -uint8_t x_32; uint8_t x_47; -x_47 = lean_unbox(x_13); -lean_dec(x_13); -if (x_47 == 0) -{ -uint8_t x_48; -x_48 = lean_unbox(x_18); -if (x_48 == 0) -{ -uint8_t x_49; -x_49 = 1; -x_32 = x_49; -goto block_46; -} -else -{ -uint8_t x_50; -x_50 = 0; -x_32 = x_50; -goto block_46; -} -} -else -{ -uint8_t x_51; -x_51 = lean_unbox(x_18); -if (x_51 == 0) -{ -uint8_t x_52; -x_52 = 0; -x_32 = x_52; -goto block_46; -} -else -{ -uint8_t x_53; -x_53 = 1; -x_32 = x_53; -goto block_46; -} -} -block_46: -{ -if (x_31 == 0) -{ -uint8_t x_33; lean_object* x_34; lean_object* x_35; -lean_dec(x_18); -x_33 = 0; -x_34 = lean_box(x_33); -if (lean_is_scalar(x_20)) { - x_35 = lean_alloc_ctor(0, 2, 0); -} else { - x_35 = x_20; -} -lean_ctor_set(x_35, 0, x_34); -lean_ctor_set(x_35, 1, x_19); -return x_35; -} -else -{ -if (x_30 == 0) -{ -lean_dec(x_18); -if (x_32 == 0) -{ -uint8_t x_36; lean_object* x_37; lean_object* x_38; -x_36 = 0; -x_37 = lean_box(x_36); -if (lean_is_scalar(x_20)) { - x_38 = lean_alloc_ctor(0, 2, 0); -} else { - x_38 = x_20; -} -lean_ctor_set(x_38, 0, x_37); -lean_ctor_set(x_38, 1, x_19); -return x_38; -} -else -{ -uint8_t x_39; lean_object* x_40; lean_object* x_41; -x_39 = 1; -x_40 = lean_box(x_39); -if (lean_is_scalar(x_20)) { - x_41 = lean_alloc_ctor(0, 2, 0); -} else { - x_41 = x_20; -} -lean_ctor_set(x_41, 0, x_40); -lean_ctor_set(x_41, 1, x_19); -return x_41; -} -} -else -{ -if (x_32 == 0) -{ -uint8_t x_42; lean_object* x_43; lean_object* x_44; -lean_dec(x_18); -x_42 = 0; -x_43 = lean_box(x_42); -if (lean_is_scalar(x_20)) { - x_44 = lean_alloc_ctor(0, 2, 0); -} else { - x_44 = x_20; -} -lean_ctor_set(x_44, 0, x_43); -lean_ctor_set(x_44, 1, x_19); -return x_44; -} -else -{ -lean_object* x_45; -if (lean_is_scalar(x_20)) { - x_45 = lean_alloc_ctor(0, 2, 0); -} else { - x_45 = x_20; -} -lean_ctor_set(x_45, 0, x_18); -lean_ctor_set(x_45, 1, x_19); -return x_45; -} -} -} -} -} -} -else -{ -uint8_t x_59; -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_8); -x_59 = !lean_is_exclusive(x_17); -if (x_59 == 0) -{ -return x_17; -} -else -{ -lean_object* x_60; lean_object* x_61; lean_object* x_62; -x_60 = lean_ctor_get(x_17, 0); -x_61 = lean_ctor_get(x_17, 1); -lean_inc(x_61); -lean_inc(x_60); -lean_dec(x_17); -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; -} -} -} -else -{ -uint8_t x_63; -lean_dec(x_12); -lean_dec(x_8); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_63 = !lean_is_exclusive(x_11); -if (x_63 == 0) -{ -lean_object* x_64; uint8_t x_65; lean_object* x_66; -x_64 = lean_ctor_get(x_11, 0); -lean_dec(x_64); -x_65 = 0; -x_66 = lean_box(x_65); -lean_ctor_set(x_11, 0, x_66); -return x_11; -} -else -{ -lean_object* x_67; uint8_t x_68; lean_object* x_69; lean_object* x_70; -x_67 = lean_ctor_get(x_11, 1); -lean_inc(x_67); -lean_dec(x_11); -x_68 = 0; -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; -} -} -} -case 7: -{ -lean_object* x_71; -x_71 = lean_ctor_get(x_8, 2); -lean_inc(x_71); -if (lean_obj_tag(x_71) == 7) -{ -lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; -x_72 = lean_ctor_get(x_11, 0); -lean_inc(x_72); -x_73 = lean_ctor_get(x_11, 1); -lean_inc(x_73); -lean_dec(x_11); -x_74 = l_Lean_mkSimpleThunk___closed__1; -x_75 = l___private_Lean_Delaborator_0__Lean_Delaborator_shouldGroupWithNext___closed__2; -x_76 = l_Lean_Delaborator_withBindingBody___rarg(x_74, x_75, x_1, x_2, x_3, x_4, x_5, x_73); -if (lean_obj_tag(x_76) == 0) -{ -lean_object* x_77; lean_object* x_78; lean_object* x_79; uint8_t x_80; uint8_t x_81; uint8_t x_82; lean_object* x_83; lean_object* x_84; uint8_t x_85; uint8_t x_86; uint8_t x_87; uint8_t x_88; uint8_t x_89; uint8_t x_90; -x_77 = lean_ctor_get(x_76, 0); -lean_inc(x_77); -x_78 = lean_ctor_get(x_76, 1); -lean_inc(x_78); -if (lean_is_exclusive(x_76)) { - lean_ctor_release(x_76, 0); - lean_ctor_release(x_76, 1); - x_79 = x_76; -} else { - lean_dec_ref(x_76); - x_79 = lean_box(0); -} -x_80 = l_Lean_Expr_binderInfo(x_8); -x_81 = l_Lean_Expr_binderInfo(x_71); -x_82 = l_Lean_BinderInfo_beq(x_80, x_81); -x_83 = l_Lean_Expr_bindingDomain_x21(x_8); -lean_dec(x_8); -x_84 = l_Lean_Expr_bindingDomain_x21(x_71); -lean_dec(x_71); -x_85 = lean_expr_eqv(x_83, x_84); -lean_dec(x_84); -lean_dec(x_83); -x_86 = 3; -x_87 = l_Lean_BinderInfo_beq(x_81, x_86); -x_88 = 0; -x_89 = l_Lean_BinderInfo_beq(x_81, x_88); -if (x_82 == 0) -{ -uint8_t x_114; -x_114 = 0; -x_90 = x_114; -goto block_113; -} -else -{ -if (x_87 == 0) -{ -if (x_85 == 0) -{ -uint8_t x_115; -x_115 = 0; -x_90 = x_115; -goto block_113; -} -else -{ -uint8_t x_116; -x_116 = 1; -x_90 = x_116; -goto block_113; -} -} -else -{ -uint8_t x_117; -x_117 = 0; -x_90 = x_117; -goto block_113; -} -} -block_113: -{ -uint8_t x_91; uint8_t x_106; -x_106 = lean_unbox(x_72); -lean_dec(x_72); -if (x_106 == 0) -{ -uint8_t x_107; -x_107 = lean_unbox(x_77); -if (x_107 == 0) -{ -uint8_t x_108; -x_108 = 1; -x_91 = x_108; -goto block_105; -} -else -{ -uint8_t x_109; -x_109 = 0; -x_91 = x_109; -goto block_105; -} -} -else -{ -uint8_t x_110; -x_110 = lean_unbox(x_77); -if (x_110 == 0) -{ -uint8_t x_111; -x_111 = 0; -x_91 = x_111; -goto block_105; -} -else -{ -uint8_t x_112; -x_112 = 1; -x_91 = x_112; -goto block_105; -} -} -block_105: -{ -if (x_90 == 0) -{ -uint8_t x_92; lean_object* x_93; lean_object* x_94; -lean_dec(x_77); -x_92 = 0; -x_93 = lean_box(x_92); -if (lean_is_scalar(x_79)) { - x_94 = lean_alloc_ctor(0, 2, 0); -} else { - x_94 = x_79; -} -lean_ctor_set(x_94, 0, x_93); -lean_ctor_set(x_94, 1, x_78); -return x_94; -} -else -{ -if (x_89 == 0) -{ -lean_dec(x_77); -if (x_91 == 0) -{ -uint8_t x_95; lean_object* x_96; lean_object* x_97; -x_95 = 0; -x_96 = lean_box(x_95); -if (lean_is_scalar(x_79)) { - x_97 = lean_alloc_ctor(0, 2, 0); -} else { - x_97 = x_79; -} -lean_ctor_set(x_97, 0, x_96); -lean_ctor_set(x_97, 1, x_78); -return x_97; -} -else -{ -uint8_t x_98; lean_object* x_99; lean_object* x_100; -x_98 = 1; -x_99 = lean_box(x_98); -if (lean_is_scalar(x_79)) { - x_100 = lean_alloc_ctor(0, 2, 0); -} else { - x_100 = x_79; -} -lean_ctor_set(x_100, 0, x_99); -lean_ctor_set(x_100, 1, x_78); -return x_100; -} -} -else -{ -if (x_91 == 0) -{ -uint8_t x_101; lean_object* x_102; lean_object* x_103; -lean_dec(x_77); -x_101 = 0; -x_102 = lean_box(x_101); -if (lean_is_scalar(x_79)) { - x_103 = lean_alloc_ctor(0, 2, 0); -} else { - x_103 = x_79; -} -lean_ctor_set(x_103, 0, x_102); -lean_ctor_set(x_103, 1, x_78); -return x_103; -} -else -{ -lean_object* x_104; -if (lean_is_scalar(x_79)) { - x_104 = lean_alloc_ctor(0, 2, 0); -} else { - x_104 = x_79; -} -lean_ctor_set(x_104, 0, x_77); -lean_ctor_set(x_104, 1, x_78); -return x_104; -} -} -} -} -} -} -else -{ -uint8_t x_118; -lean_dec(x_72); -lean_dec(x_71); -lean_dec(x_8); -x_118 = !lean_is_exclusive(x_76); -if (x_118 == 0) -{ -return x_76; -} -else -{ -lean_object* x_119; lean_object* x_120; lean_object* x_121; -x_119 = lean_ctor_get(x_76, 0); -x_120 = lean_ctor_get(x_76, 1); -lean_inc(x_120); -lean_inc(x_119); -lean_dec(x_76); -x_121 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_121, 0, x_119); -lean_ctor_set(x_121, 1, x_120); -return x_121; -} -} -} -else -{ -uint8_t x_122; -lean_dec(x_71); -lean_dec(x_8); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_122 = !lean_is_exclusive(x_11); -if (x_122 == 0) -{ -lean_object* x_123; uint8_t x_124; lean_object* x_125; -x_123 = lean_ctor_get(x_11, 0); -lean_dec(x_123); -x_124 = 0; -x_125 = lean_box(x_124); -lean_ctor_set(x_11, 0, x_125); -return x_11; -} -else -{ -lean_object* x_126; uint8_t x_127; lean_object* x_128; lean_object* x_129; -x_126 = lean_ctor_get(x_11, 1); -lean_inc(x_126); -lean_dec(x_11); -x_127 = 0; -x_128 = lean_box(x_127); -x_129 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_129, 0, x_128); -lean_ctor_set(x_129, 1, x_126); -return x_129; -} -} -} -default: -{ -uint8_t x_130; -lean_dec(x_8); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_130 = !lean_is_exclusive(x_11); -if (x_130 == 0) -{ -lean_object* x_131; uint8_t x_132; lean_object* x_133; -x_131 = lean_ctor_get(x_11, 0); -lean_dec(x_131); -x_132 = 0; -x_133 = lean_box(x_132); -lean_ctor_set(x_11, 0, x_133); -return x_11; -} -else -{ -lean_object* x_134; uint8_t x_135; lean_object* x_136; lean_object* x_137; -x_134 = lean_ctor_get(x_11, 1); -lean_inc(x_134); -lean_dec(x_11); -x_135 = 0; -x_136 = lean_box(x_135); -x_137 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_137, 0, x_136); -lean_ctor_set(x_137, 1, x_134); -return x_137; -} -} -} -} -} -lean_object* l___private_Lean_Delaborator_0__Lean_Delaborator_delabBinders_match__1___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_Delaborator_0__Lean_Delaborator_delabBinders_match__1(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Lean_Delaborator_0__Lean_Delaborator_delabBinders_match__1___rarg), 2, 0); -return x_2; -} -} -lean_object* l___private_Lean_Delaborator_0__Lean_Delaborator_delabBinders_match__2___rarg(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = lean_apply_1(x_2, x_1); -return x_3; -} -} -lean_object* l___private_Lean_Delaborator_0__Lean_Delaborator_delabBinders_match__2(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Lean_Delaborator_0__Lean_Delaborator_delabBinders_match__2___rarg), 2, 0); -return x_2; -} -} -lean_object* l___private_Lean_Delaborator_0__Lean_Delaborator_delabBinders___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; -x_8 = l_Lean_Delaborator_delab(x_2, x_3, x_4, x_5, x_6, x_7); -if (lean_obj_tag(x_8) == 0) -{ -uint8_t x_9; -x_9 = !lean_is_exclusive(x_8); -if (x_9 == 0) -{ -lean_object* x_10; lean_object* x_11; -x_10 = lean_ctor_get(x_8, 0); -x_11 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_11, 0, x_10); -lean_ctor_set(x_11, 1, x_1); -lean_ctor_set(x_8, 0, x_11); -return x_8; -} -else -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; -x_12 = lean_ctor_get(x_8, 0); -x_13 = lean_ctor_get(x_8, 1); -lean_inc(x_13); -lean_inc(x_12); -lean_dec(x_8); -x_14 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_14, 0, x_12); -lean_ctor_set(x_14, 1, x_1); -x_15 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_15, 0, x_14); -lean_ctor_set(x_15, 1, x_13); -return x_15; -} -} -else -{ -uint8_t x_16; -lean_dec(x_1); -x_16 = !lean_is_exclusive(x_8); -if (x_16 == 0) -{ -return x_8; -} -else -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_17 = lean_ctor_get(x_8, 0); -x_18 = lean_ctor_get(x_8, 1); -lean_inc(x_18); -lean_inc(x_17); -lean_dec(x_8); -x_19 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_19, 0, x_17); -lean_ctor_set(x_19, 1, x_18); -return x_19; -} -} -} -} -lean_object* l___private_Lean_Delaborator_0__Lean_Delaborator_delabBinders___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; lean_object* x_11; -x_10 = lean_array_push(x_1, x_3); -x_11 = l___private_Lean_Delaborator_0__Lean_Delaborator_delabBinders(x_2, x_10, x_4, x_5, x_6, x_7, x_8, x_9); -return x_11; -} -} -static lean_object* _init_l___private_Lean_Delaborator_0__Lean_Delaborator_delabBinders___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Delaborator_0__Lean_Delaborator_delabBinders___lambda__1), 7, 0); -return x_1; -} -} -lean_object* l___private_Lean_Delaborator_0__Lean_Delaborator_delabBinders(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -x_9 = l___private_Lean_Delaborator_0__Lean_Delaborator_shouldGroupWithNext(x_3, x_4, x_5, x_6, x_7, x_8); -if (lean_obj_tag(x_9) == 0) -{ -lean_object* x_10; uint8_t x_11; -x_10 = lean_ctor_get(x_9, 0); -lean_inc(x_10); -x_11 = lean_unbox(x_10); -lean_dec(x_10); -if (x_11 == 0) -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_12 = lean_ctor_get(x_9, 1); -lean_inc(x_12); -lean_dec(x_9); -x_13 = l___private_Lean_Delaborator_0__Lean_Delaborator_delabBinders___closed__1; -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -x_14 = l_Lean_Delaborator_withBindingBodyUnusedName___rarg(x_13, x_3, x_4, x_5, x_6, x_7, x_12); -if (lean_obj_tag(x_14) == 0) -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_15 = lean_ctor_get(x_14, 0); -lean_inc(x_15); -x_16 = lean_ctor_get(x_14, 1); -lean_inc(x_16); -lean_dec(x_14); -x_17 = lean_ctor_get(x_15, 0); -lean_inc(x_17); -x_18 = lean_ctor_get(x_15, 1); -lean_inc(x_18); -lean_dec(x_15); -x_19 = lean_array_push(x_2, x_18); -x_20 = lean_apply_8(x_1, x_19, x_17, x_3, x_4, x_5, x_6, x_7, x_16); -return x_20; -} -else -{ -uint8_t x_21; -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_21 = !lean_is_exclusive(x_14); -if (x_21 == 0) -{ -return x_14; -} -else -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_22 = lean_ctor_get(x_14, 0); -x_23 = lean_ctor_get(x_14, 1); -lean_inc(x_23); -lean_inc(x_22); -lean_dec(x_14); -x_24 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_24, 0, x_22); -lean_ctor_set(x_24, 1, x_23); -return x_24; -} -} -} -else -{ -lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_25 = lean_ctor_get(x_9, 1); -lean_inc(x_25); -lean_dec(x_9); -x_26 = lean_alloc_closure((void*)(l___private_Lean_Delaborator_0__Lean_Delaborator_delabBinders___lambda__2), 9, 2); -lean_closure_set(x_26, 0, x_2); -lean_closure_set(x_26, 1, x_1); -x_27 = l_Lean_Delaborator_withBindingBodyUnusedName___rarg(x_26, x_3, x_4, x_5, x_6, x_7, x_25); -return x_27; -} -} -else -{ -uint8_t x_28; -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_28 = !lean_is_exclusive(x_9); -if (x_28 == 0) -{ -return x_9; -} -else -{ -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_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; -} -} -} -} -lean_object* l_Lean_Delaborator_delabLam_match__1___rarg(uint8_t x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; -x_9 = lean_box(x_1); -switch (lean_obj_tag(x_9)) { -case 0: -{ -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -if (x_2 == 0) -{ -lean_object* x_10; lean_object* x_11; -lean_dec(x_3); -x_10 = lean_box(0); -x_11 = lean_apply_1(x_4, x_10); -return x_11; -} -else -{ -lean_object* x_12; lean_object* x_13; -lean_dec(x_4); -x_12 = lean_box(0); -x_13 = lean_apply_1(x_3, x_12); -return x_13; -} -} -case 1: -{ -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_4); -lean_dec(x_3); -if (x_2 == 0) -{ -lean_object* x_14; lean_object* x_15; -lean_dec(x_5); -x_14 = lean_box(0); -x_15 = lean_apply_1(x_6, x_14); -return x_15; -} -else -{ -lean_object* x_16; lean_object* x_17; -lean_dec(x_6); -x_16 = lean_box(0); -x_17 = lean_apply_1(x_5, x_16); -return x_17; -} -} -case 3: -{ -lean_object* x_18; lean_object* x_19; -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_18 = lean_box(x_2); -x_19 = lean_apply_1(x_7, x_18); -return x_19; -} -default: -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_20 = lean_box(x_1); -x_21 = lean_box(x_2); -x_22 = lean_apply_2(x_8, x_20, x_21); -return x_22; -} -} -} -} -lean_object* l_Lean_Delaborator_delabLam_match__1(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabLam_match__1___rarg___boxed), 8, 0); -return x_2; -} -} -lean_object* l_Lean_Delaborator_delabLam_match__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -uint8_t x_9; uint8_t x_10; lean_object* x_11; -x_9 = lean_unbox(x_1); -lean_dec(x_1); -x_10 = lean_unbox(x_2); -lean_dec(x_2); -x_11 = l_Lean_Delaborator_delabLam_match__1___rarg(x_9, x_10, x_3, x_4, x_5, x_6, x_7, x_8); -return x_11; -} -} -uint8_t l_Array_anyMUnsafe_any___at_Lean_Delaborator_delabLam___spec__1(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4) { -_start: -{ -uint8_t x_5; -x_5 = x_3 == x_4; -if (x_5 == 0) -{ -lean_object* x_6; lean_object* x_7; uint8_t x_8; -x_6 = lean_array_uget(x_2, x_3); -x_7 = l_Lean_Syntax_getId(x_6); -lean_dec(x_6); -x_8 = l_Lean_Delaborator_hasIdent(x_7, x_1); -lean_dec(x_7); -if (x_8 == 0) -{ -size_t x_9; size_t x_10; -x_9 = 1; -x_10 = x_3 + x_9; -x_3 = x_10; -goto _start; -} -else -{ -uint8_t x_12; -x_12 = 1; -return x_12; -} -} -else -{ -uint8_t x_13; -x_13 = 0; -return x_13; -} -} -} -lean_object* l_Lean_Delaborator_delabLam___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; uint8_t x_10; -x_9 = l_myMacro____x40_Init_Notation___hyg_5739____closed__13; -lean_inc(x_1); -x_10 = l_Lean_Syntax_isOfKind(x_1, x_9); -if (x_10 == 0) -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; 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_11 = l_Array_empty___closed__1; -x_12 = lean_array_push(x_11, x_2); -x_13 = l_Lean_nullKind___closed__2; -x_14 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_14, 0, x_13); -lean_ctor_set(x_14, 1, x_12); -x_15 = lean_array_push(x_11, x_14); -x_16 = l_myMacro____x40_Init_Notation___hyg_5739____closed__19; -x_17 = lean_array_push(x_15, x_16); -x_18 = lean_array_push(x_17, x_1); -x_19 = l_myMacro____x40_Init_Notation___hyg_5739____closed__17; -x_20 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_20, 0, x_19); -lean_ctor_set(x_20, 1, x_18); -x_21 = l_myMacro____x40_Init_Notation___hyg_5739____closed__15; -x_22 = lean_array_push(x_21, x_20); -x_23 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_23, 0, x_9); -lean_ctor_set(x_23, 1, x_22); -x_24 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_24, 0, x_23); -lean_ctor_set(x_24, 1, x_8); -return x_24; -} -else -{ -lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; -x_25 = l_Lean_Syntax_getArgs(x_1); -x_26 = lean_array_get_size(x_25); -lean_dec(x_25); -x_27 = lean_unsigned_to_nat(2u); -x_28 = lean_nat_dec_eq(x_26, x_27); -lean_dec(x_26); -if (x_28 == 0) -{ -lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; -x_29 = l_Array_empty___closed__1; -x_30 = lean_array_push(x_29, x_2); -x_31 = l_Lean_nullKind___closed__2; -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_29, x_32); -x_34 = l_myMacro____x40_Init_Notation___hyg_5739____closed__19; -x_35 = lean_array_push(x_33, x_34); -x_36 = lean_array_push(x_35, x_1); -x_37 = l_myMacro____x40_Init_Notation___hyg_5739____closed__17; -x_38 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_38, 0, x_37); -lean_ctor_set(x_38, 1, x_36); -x_39 = l_myMacro____x40_Init_Notation___hyg_5739____closed__15; -x_40 = lean_array_push(x_39, x_38); -x_41 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_41, 0, x_9); -lean_ctor_set(x_41, 1, x_40); -x_42 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_42, 0, x_41); -lean_ctor_set(x_42, 1, x_8); -return x_42; -} -else -{ -lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_61; uint8_t x_62; -x_43 = lean_unsigned_to_nat(1u); -x_44 = l_Lean_Syntax_getArg(x_1, x_43); -x_61 = l_myMacro____x40_Init_Notation___hyg_5739____closed__17; -lean_inc(x_44); -x_62 = l_Lean_Syntax_isOfKind(x_44, x_61); -if (x_62 == 0) -{ -lean_object* x_63; -lean_dec(x_44); -x_63 = lean_box(0); -x_45 = x_63; -goto block_60; -} -else -{ -lean_object* x_64; lean_object* x_65; lean_object* x_66; uint8_t x_67; -x_64 = l_Lean_Syntax_getArgs(x_44); -x_65 = lean_array_get_size(x_64); -lean_dec(x_64); -x_66 = lean_unsigned_to_nat(3u); -x_67 = lean_nat_dec_eq(x_65, x_66); -lean_dec(x_65); -if (x_67 == 0) -{ -lean_object* x_68; -lean_dec(x_44); -x_68 = lean_box(0); -x_45 = x_68; -goto block_60; -} -else -{ -lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; -lean_dec(x_1); -x_69 = lean_unsigned_to_nat(0u); -x_70 = l_Lean_Syntax_getArg(x_44, x_69); -x_71 = l_Lean_Syntax_getArg(x_44, x_27); -lean_dec(x_44); -x_72 = l_Lean_Syntax_getArgs(x_70); -lean_dec(x_70); -x_73 = l_Array_empty___closed__1; -x_74 = lean_array_push(x_73, x_2); -x_75 = l_Array_appendCore___rarg(x_74, x_72); -lean_dec(x_72); -x_76 = l_Lean_nullKind___closed__2; -x_77 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_77, 0, x_76); -lean_ctor_set(x_77, 1, x_75); -x_78 = lean_array_push(x_73, x_77); -x_79 = l_myMacro____x40_Init_Notation___hyg_5739____closed__19; -x_80 = lean_array_push(x_78, x_79); -x_81 = lean_array_push(x_80, x_71); -x_82 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_82, 0, x_61); -lean_ctor_set(x_82, 1, x_81); -x_83 = l_myMacro____x40_Init_Notation___hyg_5739____closed__15; -x_84 = lean_array_push(x_83, x_82); -x_85 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_85, 0, x_9); -lean_ctor_set(x_85, 1, 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_8); -return x_86; -} -} -block_60: -{ -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_dec(x_45); -x_46 = l_Array_empty___closed__1; -x_47 = lean_array_push(x_46, x_2); -x_48 = l_Lean_nullKind___closed__2; -x_49 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_49, 0, x_48); -lean_ctor_set(x_49, 1, x_47); -x_50 = lean_array_push(x_46, x_49); -x_51 = l_myMacro____x40_Init_Notation___hyg_5739____closed__19; -x_52 = lean_array_push(x_50, x_51); -x_53 = lean_array_push(x_52, x_1); -x_54 = l_myMacro____x40_Init_Notation___hyg_5739____closed__17; -x_55 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_55, 0, x_54); -lean_ctor_set(x_55, 1, x_53); -x_56 = l_myMacro____x40_Init_Notation___hyg_5739____closed__15; -x_57 = lean_array_push(x_56, x_55); -x_58 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_58, 0, x_9); -lean_ctor_set(x_58, 1, x_57); -x_59 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_59, 0, x_58); -lean_ctor_set(x_59, 1, x_8); -return x_59; -} -} -} -} -} -lean_object* l_Lean_Delaborator_delabLam___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; 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; -x_10 = l_Array_empty___closed__1; -x_11 = lean_array_push(x_10, x_3); -x_12 = l_myMacro____x40_Init_Notation___hyg_8168____closed__11; -x_13 = lean_array_push(x_12, x_1); -x_14 = l_myMacro____x40_Init_Notation___hyg_8168____closed__8; -x_15 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_15, 0, x_14); -lean_ctor_set(x_15, 1, x_13); -x_16 = lean_array_push(x_10, x_15); -x_17 = l_Lean_nullKind___closed__2; -x_18 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_18, 0, x_17); -lean_ctor_set(x_18, 1, x_16); -x_19 = lean_array_push(x_11, x_18); -x_20 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_20, 0, x_17); -lean_ctor_set(x_20, 1, x_19); -x_21 = l_myMacro____x40_Init_Notation___hyg_5739____closed__11; -x_22 = lean_array_push(x_21, x_20); -x_23 = l_myMacro____x40_Init_Notation___hyg_5739____closed__22; -x_24 = lean_array_push(x_22, x_23); -x_25 = l_myMacro____x40_Init_Notation___hyg_5739____closed__8; -x_26 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_26, 0, x_25); -lean_ctor_set(x_26, 1, x_24); -x_27 = lean_apply_7(x_2, x_26, x_4, x_5, x_6, x_7, x_8, x_9); -return x_27; -} -} -static lean_object* _init_l_Lean_Delaborator_delabLam___lambda__3___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_38____closed__6; -x_2 = l_Array_anyMUnsafe_any___at___private_Lean_Elab_Term_0__Lean_Elab_Term_isLambdaWithImplicit___spec__1___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Delaborator_delabLam___lambda__3___closed__2() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("Lean.Delaborator.delabLam"); -return x_1; -} -} -static lean_object* _init_l_Lean_Delaborator_delabLam___lambda__3___closed__3() { -_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_Delaborator_withAppFn___rarg___closed__2; -x_2 = l_Lean_Delaborator_delabLam___lambda__3___closed__2; -x_3 = lean_unsigned_to_nat(559u); -x_4 = lean_unsigned_to_nat(44u); -x_5 = l_Lean_Syntax_strLitToAtom___closed__3; -x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); -return x_6; -} -} -static lean_object* _init_l_Lean_Delaborator_delabLam___lambda__3___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_38____closed__6; -x_2 = l_Array_anyMUnsafe_any___at___private_Lean_Elab_Term_0__Lean_Elab_Term_isLambdaWithImplicit___spec__1___closed__2; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -lean_object* l_Lean_Delaborator_delabLam___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_9 = l_Lean_Delaborator_getExpr(x_3, x_4, x_5, x_6, x_7, x_8); -x_10 = lean_ctor_get(x_9, 0); -lean_inc(x_10); -x_11 = lean_ctor_get(x_9, 1); -lean_inc(x_11); -lean_dec(x_9); -x_12 = l_Lean_Delaborator_delabAppMatch___lambda__2___closed__1; -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -x_13 = l_Lean_Delaborator_withBindingDomain___rarg(x_12, x_3, x_4, x_5, x_6, x_7, x_11); -if (lean_obj_tag(x_13) == 0) -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; -x_14 = lean_ctor_get(x_13, 0); -lean_inc(x_14); -x_15 = lean_ctor_get(x_13, 1); -lean_inc(x_15); -lean_dec(x_13); -x_16 = l___private_Lean_Delaborator_0__Lean_Delaborator_shouldGroupWithNext___closed__1; -lean_inc(x_3); -x_17 = l_Lean_Delaborator_getPPOption(x_16, x_3, x_4, x_5, x_6, x_7, x_15); -x_18 = lean_ctor_get(x_17, 0); -lean_inc(x_18); -x_19 = lean_ctor_get(x_17, 1); -lean_inc(x_19); -lean_dec(x_17); -x_20 = l_Lean_Delaborator_delabAppImplicit___closed__7; -lean_inc(x_3); -x_21 = l_Lean_Delaborator_getPPOption(x_20, x_3, x_4, x_5, x_6, x_7, x_19); -x_22 = !lean_is_exclusive(x_21); -if (x_22 == 0) -{ -lean_object* x_23; lean_object* x_24; uint8_t x_25; uint8_t x_26; uint8_t x_27; uint8_t x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; lean_object* x_32; uint8_t x_111; -x_23 = lean_ctor_get(x_21, 0); -x_24 = lean_ctor_get(x_21, 1); -x_25 = l_Lean_Expr_binderInfo(x_10); -lean_dec(x_10); -x_26 = 0; -x_27 = l_Lean_BinderInfo_beq(x_25, x_26); -lean_inc(x_2); -x_28 = l_Lean_Elab_Term_blockImplicitLambda(x_2); -x_29 = lean_array_get_size(x_1); -x_30 = lean_unsigned_to_nat(0u); -x_31 = lean_nat_dec_lt(x_30, x_29); -x_111 = lean_unbox(x_23); -lean_dec(x_23); -if (x_111 == 0) -{ -if (x_27 == 0) -{ -if (x_31 == 0) -{ -if (x_28 == 0) -{ -lean_dec(x_29); -lean_dec(x_18); -lean_dec(x_14); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -lean_ctor_set(x_21, 0, x_2); -return x_21; -} -else -{ -lean_object* x_112; -lean_free_object(x_21); -x_112 = lean_box(0); -x_32 = x_112; -goto block_110; -} -} -else -{ -uint8_t x_113; -x_113 = lean_nat_dec_le(x_29, x_29); -if (x_113 == 0) -{ -if (x_28 == 0) -{ -lean_dec(x_29); -lean_dec(x_18); -lean_dec(x_14); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -lean_ctor_set(x_21, 0, x_2); -return x_21; -} -else -{ -lean_object* x_114; -lean_free_object(x_21); -x_114 = lean_box(0); -x_32 = x_114; -goto block_110; -} -} -else -{ -if (x_28 == 0) -{ -size_t x_115; size_t x_116; uint8_t x_117; -x_115 = 0; -x_116 = lean_usize_of_nat(x_29); -x_117 = l_Array_anyMUnsafe_any___at_Lean_Delaborator_delabLam___spec__1(x_2, x_1, x_115, x_116); -if (x_117 == 0) -{ -lean_dec(x_29); -lean_dec(x_18); -lean_dec(x_14); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -lean_ctor_set(x_21, 0, x_2); -return x_21; -} -else -{ -lean_object* x_118; -lean_free_object(x_21); -x_118 = lean_box(0); -x_32 = x_118; -goto block_110; -} -} -else -{ -lean_object* x_119; -lean_free_object(x_21); -x_119 = lean_box(0); -x_32 = x_119; -goto block_110; -} -} -} -} -else -{ -lean_free_object(x_21); -if (x_31 == 0) -{ -lean_object* x_120; -x_120 = lean_box(0); -x_32 = x_120; -goto block_110; -} -else -{ -lean_object* x_121; -x_121 = lean_box(0); -x_32 = x_121; -goto block_110; -} -} -} -else -{ -lean_free_object(x_21); -if (x_31 == 0) -{ -lean_object* x_122; -x_122 = lean_box(0); -x_32 = x_122; -goto block_110; -} -else -{ -lean_object* x_123; -x_123 = lean_box(0); -x_32 = x_123; -goto block_110; -} -} -block_110: -{ -lean_object* x_33; -lean_dec(x_32); -x_33 = lean_box(x_25); -switch (lean_obj_tag(x_33)) { -case 0: -{ -uint8_t x_34; -x_34 = lean_unbox(x_18); -lean_dec(x_18); -if (x_34 == 0) -{ -lean_object* x_35; lean_object* x_36; -lean_dec(x_29); -lean_dec(x_14); -x_35 = l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(x_1); -lean_dec(x_1); -x_36 = l_Lean_Delaborator_delabLam___lambda__1(x_2, x_35, x_3, x_4, x_5, x_6, x_7, x_24); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -return x_36; -} -else -{ -lean_object* x_37; lean_object* x_38; uint8_t x_39; -x_37 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabLam___lambda__1___boxed), 8, 1); -lean_closure_set(x_37, 0, x_2); -x_38 = lean_unsigned_to_nat(1u); -x_39 = lean_nat_dec_lt(x_38, x_29); -lean_dec(x_29); -if (x_39 == 0) -{ -lean_object* x_40; lean_object* x_41; lean_object* x_42; -x_40 = l_Lean_instInhabitedSyntax; -x_41 = lean_array_get(x_40, x_1, x_30); -lean_dec(x_1); -x_42 = l_Lean_Delaborator_delabLam___lambda__2(x_14, x_37, x_41, x_3, x_4, x_5, x_6, x_7, x_24); -return x_42; -} -else -{ -lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; -x_43 = l_Lean_instInhabitedSyntax; -x_44 = lean_array_get(x_43, x_1, x_30); -x_45 = l_Array_empty___closed__1; -x_46 = lean_array_push(x_45, x_44); -x_47 = l_Array_eraseIdx___rarg(x_1, x_30); -x_48 = l_Array_appendCore___rarg(x_45, x_47); -lean_dec(x_47); -x_49 = l_Lean_nullKind___closed__2; -x_50 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_50, 0, x_49); -lean_ctor_set(x_50, 1, x_48); -x_51 = lean_array_push(x_46, x_50); -x_52 = l_myMacro____x40_Init_Notation___hyg_38____closed__8; -x_53 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_53, 0, x_52); -lean_ctor_set(x_53, 1, x_51); -x_54 = l_Lean_Delaborator_delabLam___lambda__2(x_14, x_37, x_53, x_3, x_4, x_5, x_6, x_7, x_24); -return x_54; -} -} -} -case 1: -{ -uint8_t x_55; -lean_dec(x_29); -x_55 = lean_unbox(x_18); -lean_dec(x_18); -if (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; 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_dec(x_14); -x_56 = l_Array_empty___closed__1; -x_57 = l_Array_appendCore___rarg(x_56, x_1); -lean_dec(x_1); -x_58 = l_Lean_nullKind___closed__2; -x_59 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_59, 0, x_58); -lean_ctor_set(x_59, 1, x_57); -x_60 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__4; -x_61 = lean_array_push(x_60, x_59); -x_62 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; -x_63 = lean_array_push(x_61, x_62); -x_64 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__21; -x_65 = lean_array_push(x_63, x_64); -x_66 = l_Lean_Delaborator_delabLam___lambda__3___closed__1; -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 = l_Lean_Delaborator_delabLam___lambda__1(x_2, x_67, x_3, x_4, x_5, x_6, x_7, x_24); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -return x_68; -} -else -{ -lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; -x_69 = l_Array_empty___closed__1; -x_70 = l_Array_appendCore___rarg(x_69, x_1); -lean_dec(x_1); -x_71 = l_Lean_nullKind___closed__2; -x_72 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_72, 0, x_71); -lean_ctor_set(x_72, 1, x_70); -x_73 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__4; -x_74 = lean_array_push(x_73, x_72); -x_75 = l_myMacro____x40_Init_Notation___hyg_8168____closed__11; -x_76 = lean_array_push(x_75, x_14); -x_77 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_77, 0, x_71); -lean_ctor_set(x_77, 1, x_76); -x_78 = lean_array_push(x_74, x_77); -x_79 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__21; -x_80 = lean_array_push(x_78, x_79); -x_81 = l_Lean_Delaborator_delabLam___lambda__3___closed__1; -x_82 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_82, 0, x_81); -lean_ctor_set(x_82, 1, x_80); -x_83 = l_Lean_Delaborator_delabLam___lambda__1(x_2, x_82, x_3, x_4, x_5, x_6, x_7, x_24); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -return x_83; -} -} -case 3: -{ -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_dec(x_29); -lean_dec(x_18); -x_84 = l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(x_1); -lean_dec(x_1); -x_85 = l_Array_empty___closed__1; -x_86 = lean_array_push(x_85, x_84); -x_87 = l_myMacro____x40_Init_Notation___hyg_8168____closed__10; -x_88 = lean_array_push(x_86, x_87); -x_89 = l_Lean_nullKind___closed__2; -x_90 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_90, 0, x_89); -lean_ctor_set(x_90, 1, x_88); -x_91 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3420____closed__9; -x_92 = lean_array_push(x_91, x_90); -x_93 = lean_array_push(x_92, x_14); -x_94 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3420____closed__10; -x_95 = lean_array_push(x_93, x_94); -x_96 = l_Lean_Delaborator_delabLam___lambda__3___closed__4; -x_97 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_97, 0, x_96); -lean_ctor_set(x_97, 1, x_95); -x_98 = l_Lean_Delaborator_delabLam___lambda__1(x_2, x_97, x_3, x_4, x_5, x_6, x_7, x_24); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -return x_98; -} -default: -{ -lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; -lean_dec(x_33); -lean_dec(x_29); -lean_dec(x_18); -lean_dec(x_14); -lean_dec(x_1); -x_99 = l_Lean_Delaborator_withAppFn___rarg___closed__1; -x_100 = l_Lean_Delaborator_delabLam___lambda__3___closed__3; -x_101 = lean_panic_fn(x_99, x_100); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -x_102 = lean_apply_6(x_101, x_3, x_4, x_5, x_6, x_7, x_24); -if (lean_obj_tag(x_102) == 0) -{ -lean_object* x_103; lean_object* x_104; lean_object* x_105; -x_103 = lean_ctor_get(x_102, 0); -lean_inc(x_103); -x_104 = lean_ctor_get(x_102, 1); -lean_inc(x_104); -lean_dec(x_102); -x_105 = l_Lean_Delaborator_delabLam___lambda__1(x_2, x_103, x_3, x_4, x_5, x_6, x_7, x_104); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -return x_105; -} -else -{ -uint8_t x_106; -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_106 = !lean_is_exclusive(x_102); -if (x_106 == 0) -{ -return x_102; -} -else -{ -lean_object* x_107; lean_object* x_108; lean_object* x_109; -x_107 = lean_ctor_get(x_102, 0); -x_108 = lean_ctor_get(x_102, 1); -lean_inc(x_108); -lean_inc(x_107); -lean_dec(x_102); -x_109 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_109, 0, x_107); -lean_ctor_set(x_109, 1, x_108); -return x_109; -} -} -} -} -} -} -else -{ -lean_object* x_124; lean_object* x_125; uint8_t x_126; uint8_t x_127; uint8_t x_128; uint8_t x_129; lean_object* x_130; lean_object* x_131; uint8_t x_132; lean_object* x_133; uint8_t x_212; -x_124 = lean_ctor_get(x_21, 0); -x_125 = lean_ctor_get(x_21, 1); -lean_inc(x_125); -lean_inc(x_124); -lean_dec(x_21); -x_126 = l_Lean_Expr_binderInfo(x_10); -lean_dec(x_10); -x_127 = 0; -x_128 = l_Lean_BinderInfo_beq(x_126, x_127); -lean_inc(x_2); -x_129 = l_Lean_Elab_Term_blockImplicitLambda(x_2); -x_130 = lean_array_get_size(x_1); -x_131 = lean_unsigned_to_nat(0u); -x_132 = lean_nat_dec_lt(x_131, x_130); -x_212 = lean_unbox(x_124); -lean_dec(x_124); -if (x_212 == 0) -{ -if (x_128 == 0) -{ -if (x_132 == 0) -{ -if (x_129 == 0) -{ -lean_object* x_213; -lean_dec(x_130); -lean_dec(x_18); -lean_dec(x_14); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_213 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_213, 0, x_2); -lean_ctor_set(x_213, 1, x_125); -return x_213; -} -else -{ -lean_object* x_214; -x_214 = lean_box(0); -x_133 = x_214; -goto block_211; -} -} -else -{ -uint8_t x_215; -x_215 = lean_nat_dec_le(x_130, x_130); -if (x_215 == 0) -{ -if (x_129 == 0) -{ -lean_object* x_216; -lean_dec(x_130); -lean_dec(x_18); -lean_dec(x_14); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_216 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_216, 0, x_2); -lean_ctor_set(x_216, 1, x_125); -return x_216; -} -else -{ -lean_object* x_217; -x_217 = lean_box(0); -x_133 = x_217; -goto block_211; -} -} -else -{ -if (x_129 == 0) -{ -size_t x_218; size_t x_219; uint8_t x_220; -x_218 = 0; -x_219 = lean_usize_of_nat(x_130); -x_220 = l_Array_anyMUnsafe_any___at_Lean_Delaborator_delabLam___spec__1(x_2, x_1, x_218, x_219); -if (x_220 == 0) -{ -lean_object* x_221; -lean_dec(x_130); -lean_dec(x_18); -lean_dec(x_14); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_221 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_221, 0, x_2); -lean_ctor_set(x_221, 1, x_125); -return x_221; -} -else -{ -lean_object* x_222; -x_222 = lean_box(0); -x_133 = x_222; -goto block_211; -} -} -else -{ -lean_object* x_223; -x_223 = lean_box(0); -x_133 = x_223; -goto block_211; -} -} -} -} -else -{ -if (x_132 == 0) -{ -lean_object* x_224; -x_224 = lean_box(0); -x_133 = x_224; -goto block_211; -} -else -{ -lean_object* x_225; -x_225 = lean_box(0); -x_133 = x_225; -goto block_211; -} -} -} -else -{ -if (x_132 == 0) -{ -lean_object* x_226; -x_226 = lean_box(0); -x_133 = x_226; -goto block_211; -} -else -{ -lean_object* x_227; -x_227 = lean_box(0); -x_133 = x_227; -goto block_211; -} -} -block_211: -{ -lean_object* x_134; -lean_dec(x_133); -x_134 = lean_box(x_126); -switch (lean_obj_tag(x_134)) { -case 0: -{ -uint8_t x_135; -x_135 = lean_unbox(x_18); -lean_dec(x_18); -if (x_135 == 0) -{ -lean_object* x_136; lean_object* x_137; -lean_dec(x_130); -lean_dec(x_14); -x_136 = l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(x_1); -lean_dec(x_1); -x_137 = l_Lean_Delaborator_delabLam___lambda__1(x_2, x_136, x_3, x_4, x_5, x_6, x_7, x_125); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -return x_137; -} -else -{ -lean_object* x_138; lean_object* x_139; uint8_t x_140; -x_138 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabLam___lambda__1___boxed), 8, 1); -lean_closure_set(x_138, 0, x_2); -x_139 = lean_unsigned_to_nat(1u); -x_140 = lean_nat_dec_lt(x_139, x_130); -lean_dec(x_130); -if (x_140 == 0) -{ -lean_object* x_141; lean_object* x_142; lean_object* x_143; -x_141 = l_Lean_instInhabitedSyntax; -x_142 = lean_array_get(x_141, x_1, x_131); -lean_dec(x_1); -x_143 = l_Lean_Delaborator_delabLam___lambda__2(x_14, x_138, x_142, x_3, x_4, x_5, x_6, x_7, x_125); -return x_143; -} -else -{ -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; -x_144 = l_Lean_instInhabitedSyntax; -x_145 = lean_array_get(x_144, x_1, x_131); -x_146 = l_Array_empty___closed__1; -x_147 = lean_array_push(x_146, x_145); -x_148 = l_Array_eraseIdx___rarg(x_1, x_131); -x_149 = l_Array_appendCore___rarg(x_146, x_148); -lean_dec(x_148); -x_150 = l_Lean_nullKind___closed__2; -x_151 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_151, 0, x_150); -lean_ctor_set(x_151, 1, x_149); -x_152 = lean_array_push(x_147, x_151); -x_153 = l_myMacro____x40_Init_Notation___hyg_38____closed__8; -x_154 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_154, 0, x_153); -lean_ctor_set(x_154, 1, x_152); -x_155 = l_Lean_Delaborator_delabLam___lambda__2(x_14, x_138, x_154, x_3, x_4, x_5, x_6, x_7, x_125); -return x_155; -} -} -} -case 1: -{ -uint8_t x_156; -lean_dec(x_130); -x_156 = lean_unbox(x_18); -lean_dec(x_18); -if (x_156 == 0) -{ -lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; -lean_dec(x_14); -x_157 = l_Array_empty___closed__1; -x_158 = l_Array_appendCore___rarg(x_157, x_1); -lean_dec(x_1); -x_159 = l_Lean_nullKind___closed__2; -x_160 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_160, 0, x_159); -lean_ctor_set(x_160, 1, x_158); -x_161 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__4; -x_162 = lean_array_push(x_161, x_160); -x_163 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; -x_164 = lean_array_push(x_162, x_163); -x_165 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__21; -x_166 = lean_array_push(x_164, x_165); -x_167 = l_Lean_Delaborator_delabLam___lambda__3___closed__1; -x_168 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_168, 0, x_167); -lean_ctor_set(x_168, 1, x_166); -x_169 = l_Lean_Delaborator_delabLam___lambda__1(x_2, x_168, x_3, x_4, x_5, x_6, x_7, x_125); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -return x_169; -} -else -{ -lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; -x_170 = l_Array_empty___closed__1; -x_171 = l_Array_appendCore___rarg(x_170, x_1); -lean_dec(x_1); -x_172 = l_Lean_nullKind___closed__2; -x_173 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_173, 0, x_172); -lean_ctor_set(x_173, 1, x_171); -x_174 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__4; -x_175 = lean_array_push(x_174, x_173); -x_176 = l_myMacro____x40_Init_Notation___hyg_8168____closed__11; -x_177 = lean_array_push(x_176, x_14); -x_178 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_178, 0, x_172); -lean_ctor_set(x_178, 1, x_177); -x_179 = lean_array_push(x_175, x_178); -x_180 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__21; -x_181 = lean_array_push(x_179, x_180); -x_182 = l_Lean_Delaborator_delabLam___lambda__3___closed__1; -x_183 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_183, 0, x_182); -lean_ctor_set(x_183, 1, x_181); -x_184 = l_Lean_Delaborator_delabLam___lambda__1(x_2, x_183, x_3, x_4, x_5, x_6, x_7, x_125); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -return x_184; -} -} -case 3: -{ -lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; -lean_dec(x_130); -lean_dec(x_18); -x_185 = l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(x_1); -lean_dec(x_1); -x_186 = l_Array_empty___closed__1; -x_187 = lean_array_push(x_186, x_185); -x_188 = l_myMacro____x40_Init_Notation___hyg_8168____closed__10; -x_189 = lean_array_push(x_187, x_188); -x_190 = l_Lean_nullKind___closed__2; -x_191 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_191, 0, x_190); -lean_ctor_set(x_191, 1, x_189); -x_192 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3420____closed__9; -x_193 = lean_array_push(x_192, x_191); -x_194 = lean_array_push(x_193, x_14); -x_195 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3420____closed__10; -x_196 = lean_array_push(x_194, x_195); -x_197 = l_Lean_Delaborator_delabLam___lambda__3___closed__4; -x_198 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_198, 0, x_197); -lean_ctor_set(x_198, 1, x_196); -x_199 = l_Lean_Delaborator_delabLam___lambda__1(x_2, x_198, x_3, x_4, x_5, x_6, x_7, x_125); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -return x_199; -} -default: -{ -lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; -lean_dec(x_134); -lean_dec(x_130); -lean_dec(x_18); -lean_dec(x_14); -lean_dec(x_1); -x_200 = l_Lean_Delaborator_withAppFn___rarg___closed__1; -x_201 = l_Lean_Delaborator_delabLam___lambda__3___closed__3; -x_202 = lean_panic_fn(x_200, x_201); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -x_203 = lean_apply_6(x_202, x_3, x_4, x_5, x_6, x_7, x_125); -if (lean_obj_tag(x_203) == 0) -{ -lean_object* x_204; lean_object* x_205; lean_object* x_206; -x_204 = lean_ctor_get(x_203, 0); -lean_inc(x_204); -x_205 = lean_ctor_get(x_203, 1); -lean_inc(x_205); -lean_dec(x_203); -x_206 = l_Lean_Delaborator_delabLam___lambda__1(x_2, x_204, x_3, x_4, x_5, x_6, x_7, x_205); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -return x_206; -} -else -{ -lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; -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_207 = lean_ctor_get(x_203, 0); -lean_inc(x_207); -x_208 = lean_ctor_get(x_203, 1); -lean_inc(x_208); -if (lean_is_exclusive(x_203)) { - lean_ctor_release(x_203, 0); - lean_ctor_release(x_203, 1); - x_209 = x_203; -} else { - lean_dec_ref(x_203); - x_209 = lean_box(0); -} -if (lean_is_scalar(x_209)) { - x_210 = lean_alloc_ctor(1, 2, 0); -} else { - x_210 = x_209; -} -lean_ctor_set(x_210, 0, x_207); -lean_ctor_set(x_210, 1, x_208); -return x_210; -} -} -} -} -} -} -else -{ -uint8_t x_228; -lean_dec(x_10); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_228 = !lean_is_exclusive(x_13); -if (x_228 == 0) -{ -return x_13; -} -else -{ -lean_object* x_229; lean_object* x_230; lean_object* x_231; -x_229 = lean_ctor_get(x_13, 0); -x_230 = lean_ctor_get(x_13, 1); -lean_inc(x_230); -lean_inc(x_229); -lean_dec(x_13); -x_231 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_231, 0, x_229); -lean_ctor_set(x_231, 1, x_230); -return x_231; -} -} -} -} -static lean_object* _init_l_Lean_Delaborator_delabLam___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabLam___lambda__3), 8, 0); -return x_1; -} -} -lean_object* l_Lean_Delaborator_delabLam(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; lean_object* x_8; lean_object* x_9; -x_7 = l_Lean_Delaborator_delabLam___closed__1; -x_8 = l_Array_empty___closed__1; -x_9 = l___private_Lean_Delaborator_0__Lean_Delaborator_delabBinders(x_7, x_8, x_1, x_2, x_3, x_4, x_5, x_6); -return x_9; -} -} -lean_object* l_Array_anyMUnsafe_any___at_Lean_Delaborator_delabLam___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -size_t x_5; size_t x_6; uint8_t x_7; lean_object* x_8; -x_5 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_6 = lean_unbox_usize(x_4); -lean_dec(x_4); -x_7 = l_Array_anyMUnsafe_any___at_Lean_Delaborator_delabLam___spec__1(x_1, x_2, x_5, x_6); -lean_dec(x_2); -lean_dec(x_1); -x_8 = lean_box(x_7); -return x_8; -} -} -lean_object* l_Lean_Delaborator_delabLam___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; -x_9 = l_Lean_Delaborator_delabLam___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -return x_9; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabLam___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabLam), 6, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Delaborator_delabLam(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_Delaborator_delabAttribute; -x_3 = l_Lean_Delaborator_getExprKind___closed__6; -x_4 = l___regBuiltin_Lean_Delaborator_delabLam___closed__1; -x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); -return x_5; -} -} -lean_object* l_Lean_Delaborator_delabForall_match__1___rarg(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; -x_6 = lean_box(x_1); -switch (lean_obj_tag(x_6)) { -case 0: -{ -lean_object* x_7; lean_object* x_8; -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_7 = lean_box(0); -x_8 = lean_apply_1(x_2, x_7); -return x_8; -} -case 1: -{ -lean_object* x_9; lean_object* x_10; -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -x_9 = lean_box(0); -x_10 = lean_apply_1(x_3, x_9); -return x_10; -} -case 3: -{ -lean_object* x_11; lean_object* x_12; -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_2); -x_11 = lean_box(0); -x_12 = lean_apply_1(x_4, x_11); -return x_12; -} -default: -{ -lean_object* x_13; lean_object* x_14; -lean_dec(x_6); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_13 = lean_box(x_1); -x_14 = lean_apply_1(x_5, x_13); -return x_14; -} -} -} -} -lean_object* l_Lean_Delaborator_delabForall_match__1(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabForall_match__1___rarg___boxed), 5, 0); -return x_2; -} -} -lean_object* l_Lean_Delaborator_delabForall_match__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -uint8_t x_6; lean_object* x_7; -x_6 = lean_unbox(x_1); -lean_dec(x_1); -x_7 = l_Lean_Delaborator_delabForall_match__1___rarg(x_6, x_2, x_3, x_4, x_5); -return x_7; -} -} -static lean_object* _init_l_Array_foldrMUnsafe_fold___at_Lean_Delaborator_delabForall___spec__1___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_instInhabitedSourceInfo___closed__1; -x_2 = l_Array_forInUnsafe_loop___at___private_Init_NotationExtra_0__Lean_mkHintBody___spec__1___closed__3; -x_3 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -lean_object* l_Array_foldrMUnsafe_fold___at_Lean_Delaborator_delabForall___spec__1(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -uint8_t x_12; -x_12 = x_3 == x_4; -if (x_12 == 0) -{ -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; -x_13 = 1; -x_14 = x_3 - x_13; -x_15 = l_Array_empty___closed__1; -lean_inc(x_1); -x_16 = lean_array_push(x_15, x_1); -x_17 = l_Array_foldrMUnsafe_fold___at_Lean_Delaborator_delabForall___spec__1___closed__1; -x_18 = lean_array_push(x_16, x_17); -x_19 = lean_array_push(x_18, x_5); -x_20 = l_Array_forInUnsafe_loop___at___private_Init_NotationExtra_0__Lean_mkHintBody___spec__1___closed__2; -x_21 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_21, 0, x_20); -lean_ctor_set(x_21, 1, x_19); -x_3 = x_14; -x_5 = x_21; -goto _start; -} -else -{ -lean_object* x_23; -lean_dec(x_1); -x_23 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_23, 0, x_5); -lean_ctor_set(x_23, 1, x_11); -return x_23; -} -} -} -lean_object* l_Array_foldrMUnsafe_fold___at_Lean_Delaborator_delabForall___spec__2(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -uint8_t x_12; -x_12 = x_3 == x_4; -if (x_12 == 0) -{ -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; -x_13 = 1; -x_14 = x_3 - x_13; -x_15 = l_Array_empty___closed__1; -lean_inc(x_1); -x_16 = lean_array_push(x_15, x_1); -x_17 = l_Array_foldrMUnsafe_fold___at_Lean_Delaborator_delabForall___spec__1___closed__1; -x_18 = lean_array_push(x_16, x_17); -x_19 = lean_array_push(x_18, x_5); -x_20 = l_Array_forInUnsafe_loop___at___private_Init_NotationExtra_0__Lean_mkHintBody___spec__1___closed__2; -x_21 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_21, 0, x_20); -lean_ctor_set(x_21, 1, x_19); -x_3 = x_14; -x_5 = x_21; -goto _start; -} -else -{ -lean_object* x_23; -lean_dec(x_1); -x_23 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_23, 0, x_5); -lean_ctor_set(x_23, 1, x_11); -return x_23; -} -} -} -uint8_t l_Array_anyMUnsafe_any___at_Lean_Delaborator_delabForall___spec__3(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4) { -_start: -{ -uint8_t x_5; -x_5 = x_3 == x_4; -if (x_5 == 0) -{ -lean_object* x_6; lean_object* x_7; uint8_t x_8; -x_6 = lean_array_uget(x_2, x_3); -x_7 = l_Lean_Syntax_getId(x_6); -lean_dec(x_6); -x_8 = l_Lean_Delaborator_hasIdent(x_7, x_1); -lean_dec(x_7); -if (x_8 == 0) -{ -size_t x_9; size_t x_10; -x_9 = 1; -x_10 = x_3 + x_9; -x_3 = x_10; -goto _start; -} -else -{ -uint8_t x_12; -x_12 = 1; -return x_12; -} -} -else -{ -uint8_t x_13; -x_13 = 0; -return x_13; -} -} -} -static lean_object* _init_l_Lean_Delaborator_delabForall___lambda__1___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("depArrow"); -return x_1; -} -} -static lean_object* _init_l_Lean_Delaborator_delabForall___lambda__1___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_38____closed__6; -x_2 = l_Lean_Delaborator_delabForall___lambda__1___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Delaborator_delabForall___lambda__1___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("Lean.Delaborator.delabForall"); -return x_1; -} -} -static lean_object* _init_l_Lean_Delaborator_delabForall___lambda__1___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_1 = l_Lean_Delaborator_withAppFn___rarg___closed__2; -x_2 = l_Lean_Delaborator_delabForall___lambda__1___closed__3; -x_3 = lean_unsigned_to_nat(582u); -x_4 = lean_unsigned_to_nat(33u); -x_5 = l_Lean_Syntax_strLitToAtom___closed__3; -x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); -return x_6; -} -} -lean_object* l_Lean_Delaborator_delabForall___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; uint8_t x_10; -x_9 = l_Lean_Delaborator_getExpr(x_3, x_4, x_5, x_6, x_7, x_8); -x_10 = !lean_is_exclusive(x_9); -if (x_10 == 0) -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_11 = lean_ctor_get(x_9, 0); -x_12 = lean_ctor_get(x_9, 1); -x_13 = l_Lean_Delaborator_delabAppMatch___lambda__2___closed__1; -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -x_14 = l_Lean_Delaborator_withBindingDomain___rarg(x_13, x_3, x_4, x_5, x_6, x_7, x_12); -if (lean_obj_tag(x_14) == 0) -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; lean_object* x_19; -x_15 = lean_ctor_get(x_14, 0); -lean_inc(x_15); -x_16 = lean_ctor_get(x_14, 1); -lean_inc(x_16); -if (lean_is_exclusive(x_14)) { - lean_ctor_release(x_14, 0); - lean_ctor_release(x_14, 1); - x_17 = x_14; -} else { - lean_dec_ref(x_14); - x_17 = lean_box(0); -} -x_18 = l_Lean_Expr_binderInfo(x_11); -lean_dec(x_11); -x_19 = lean_box(x_18); -switch (lean_obj_tag(x_19)) { -case 0: -{ -lean_object* x_20; lean_object* x_21; lean_object* x_36; uint8_t x_37; -x_20 = lean_array_get_size(x_1); -x_36 = lean_unsigned_to_nat(0u); -x_37 = lean_nat_dec_lt(x_36, x_20); -if (x_37 == 0) -{ -lean_object* x_38; -lean_free_object(x_9); -x_38 = lean_box(0); -x_21 = x_38; -goto block_35; -} -else -{ -uint8_t x_39; -x_39 = lean_nat_dec_le(x_20, x_20); -if (x_39 == 0) -{ -lean_object* x_40; -lean_free_object(x_9); -x_40 = lean_box(0); -x_21 = x_40; -goto block_35; -} -else -{ -size_t x_41; size_t x_42; uint8_t x_43; -x_41 = 0; -x_42 = lean_usize_of_nat(x_20); -x_43 = l_Array_anyMUnsafe_any___at_Lean_Delaborator_delabForall___spec__3(x_2, x_1, x_41, x_42); -if (x_43 == 0) -{ -lean_object* x_44; -lean_free_object(x_9); -x_44 = lean_box(0); -x_21 = x_44; -goto block_35; -} -else -{ -lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; -lean_dec(x_20); -lean_dec(x_17); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_45 = l_Array_empty___closed__1; -x_46 = l_Array_appendCore___rarg(x_45, x_1); -x_47 = l_Lean_nullKind___closed__2; -x_48 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_48, 0, x_47); -lean_ctor_set(x_48, 1, x_46); -x_49 = l_myMacro____x40_Init_Notation___hyg_5739____closed__11; -x_50 = lean_array_push(x_49, x_48); -x_51 = l_myMacro____x40_Init_Notation___hyg_8168____closed__11; -x_52 = lean_array_push(x_51, x_15); -x_53 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_53, 0, x_47); -lean_ctor_set(x_53, 1, x_52); -x_54 = lean_array_push(x_50, x_53); -x_55 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; -x_56 = lean_array_push(x_54, x_55); -x_57 = l_myMacro____x40_Init_Notation___hyg_5739____closed__22; -x_58 = lean_array_push(x_56, x_57); -x_59 = l_Lean_Elab_Term_mkExplicitBinder___closed__2; -x_60 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_60, 0, x_59); -lean_ctor_set(x_60, 1, x_58); -x_61 = lean_array_push(x_45, x_60); -x_62 = l_Array_foldrMUnsafe_fold___at_Lean_Delaborator_delabForall___spec__1___closed__1; -x_63 = lean_array_push(x_61, x_62); -x_64 = lean_array_push(x_63, x_2); -x_65 = l_Lean_Delaborator_delabForall___lambda__1___closed__2; -x_66 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_66, 0, x_65); -lean_ctor_set(x_66, 1, x_64); -lean_ctor_set(x_9, 1, x_16); -lean_ctor_set(x_9, 0, x_66); -return x_9; -} -} -} -block_35: -{ -uint8_t x_22; -lean_dec(x_21); -x_22 = lean_nat_dec_le(x_20, x_20); -if (x_22 == 0) -{ -lean_object* x_23; uint8_t x_24; -x_23 = lean_unsigned_to_nat(0u); -x_24 = lean_nat_dec_lt(x_23, x_20); -if (x_24 == 0) -{ -lean_object* x_25; -lean_dec(x_20); -lean_dec(x_15); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -if (lean_is_scalar(x_17)) { - x_25 = lean_alloc_ctor(0, 2, 0); -} else { - x_25 = x_17; -} -lean_ctor_set(x_25, 0, x_2); -lean_ctor_set(x_25, 1, x_16); -return x_25; -} -else -{ -size_t x_26; size_t x_27; lean_object* x_28; -lean_dec(x_17); -x_26 = lean_usize_of_nat(x_20); -lean_dec(x_20); -x_27 = 0; -x_28 = l_Array_foldrMUnsafe_fold___at_Lean_Delaborator_delabForall___spec__1(x_15, x_1, x_26, x_27, x_2, x_3, x_4, x_5, x_6, x_7, x_16); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -return x_28; -} -} -else -{ -lean_object* x_29; uint8_t x_30; -x_29 = lean_unsigned_to_nat(0u); -x_30 = lean_nat_dec_lt(x_29, x_20); -if (x_30 == 0) -{ -lean_object* x_31; -lean_dec(x_20); -lean_dec(x_15); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -if (lean_is_scalar(x_17)) { - x_31 = lean_alloc_ctor(0, 2, 0); -} else { - x_31 = x_17; -} -lean_ctor_set(x_31, 0, x_2); -lean_ctor_set(x_31, 1, x_16); -return x_31; -} -else -{ -size_t x_32; size_t x_33; lean_object* x_34; -lean_dec(x_17); -x_32 = lean_usize_of_nat(x_20); -lean_dec(x_20); -x_33 = 0; -x_34 = l_Array_foldrMUnsafe_fold___at_Lean_Delaborator_delabForall___spec__2(x_15, x_1, x_32, x_33, x_2, x_3, x_4, x_5, x_6, x_7, x_16); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -return x_34; -} -} -} -} -case 1: -{ -lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; -lean_free_object(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_67 = l_Array_empty___closed__1; -x_68 = l_Array_appendCore___rarg(x_67, x_1); -x_69 = l_Lean_nullKind___closed__2; -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 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__4; -x_72 = lean_array_push(x_71, x_70); -x_73 = l_myMacro____x40_Init_Notation___hyg_8168____closed__11; -x_74 = lean_array_push(x_73, x_15); -x_75 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_75, 0, x_69); -lean_ctor_set(x_75, 1, x_74); -x_76 = lean_array_push(x_72, x_75); -x_77 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__21; -x_78 = lean_array_push(x_76, x_77); -x_79 = l_Lean_Delaborator_delabLam___lambda__3___closed__1; -x_80 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_80, 0, x_79); -lean_ctor_set(x_80, 1, x_78); -x_81 = lean_array_push(x_67, x_80); -x_82 = l_Array_foldrMUnsafe_fold___at_Lean_Delaborator_delabForall___spec__1___closed__1; -x_83 = lean_array_push(x_81, x_82); -x_84 = lean_array_push(x_83, x_2); -x_85 = l_Lean_Delaborator_delabForall___lambda__1___closed__2; -x_86 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_86, 0, x_85); -lean_ctor_set(x_86, 1, x_84); -if (lean_is_scalar(x_17)) { - x_87 = lean_alloc_ctor(0, 2, 0); -} else { - x_87 = x_17; -} -lean_ctor_set(x_87, 0, x_86); -lean_ctor_set(x_87, 1, x_16); -return x_87; -} -case 3: -{ -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_free_object(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_88 = l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(x_1); -x_89 = l_Array_empty___closed__1; -x_90 = lean_array_push(x_89, x_88); -x_91 = l_myMacro____x40_Init_Notation___hyg_8168____closed__10; -x_92 = lean_array_push(x_90, x_91); -x_93 = l_Lean_nullKind___closed__2; -x_94 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_94, 0, x_93); -lean_ctor_set(x_94, 1, x_92); -x_95 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3420____closed__9; -x_96 = lean_array_push(x_95, x_94); -x_97 = lean_array_push(x_96, x_15); -x_98 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3420____closed__10; -x_99 = lean_array_push(x_97, x_98); -x_100 = l_Lean_Delaborator_delabLam___lambda__3___closed__4; -x_101 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_101, 0, x_100); -lean_ctor_set(x_101, 1, x_99); -x_102 = lean_array_push(x_89, x_101); -x_103 = l_Array_foldrMUnsafe_fold___at_Lean_Delaborator_delabForall___spec__1___closed__1; -x_104 = lean_array_push(x_102, x_103); -x_105 = lean_array_push(x_104, x_2); -x_106 = l_Lean_Delaborator_delabForall___lambda__1___closed__2; -x_107 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_107, 0, x_106); -lean_ctor_set(x_107, 1, x_105); -if (lean_is_scalar(x_17)) { - x_108 = lean_alloc_ctor(0, 2, 0); -} else { - x_108 = x_17; -} -lean_ctor_set(x_108, 0, x_107); -lean_ctor_set(x_108, 1, x_16); -return x_108; -} -default: -{ -lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; -lean_dec(x_19); -lean_dec(x_17); -lean_dec(x_15); -lean_free_object(x_9); -lean_dec(x_2); -x_109 = l_Lean_Delaborator_withAppFn___rarg___closed__1; -x_110 = l_Lean_Delaborator_delabForall___lambda__1___closed__4; -x_111 = lean_panic_fn(x_109, x_110); -x_112 = lean_apply_6(x_111, x_3, x_4, x_5, x_6, x_7, x_16); -return x_112; -} -} -} -else -{ -uint8_t x_113; -lean_free_object(x_9); -lean_dec(x_11); -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_113 = !lean_is_exclusive(x_14); -if (x_113 == 0) -{ -return x_14; -} -else -{ -lean_object* x_114; lean_object* x_115; lean_object* x_116; -x_114 = lean_ctor_get(x_14, 0); -x_115 = lean_ctor_get(x_14, 1); -lean_inc(x_115); -lean_inc(x_114); -lean_dec(x_14); -x_116 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_116, 0, x_114); -lean_ctor_set(x_116, 1, x_115); -return x_116; -} -} -} -else -{ -lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; -x_117 = lean_ctor_get(x_9, 0); -x_118 = lean_ctor_get(x_9, 1); -lean_inc(x_118); -lean_inc(x_117); -lean_dec(x_9); -x_119 = l_Lean_Delaborator_delabAppMatch___lambda__2___closed__1; -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -x_120 = l_Lean_Delaborator_withBindingDomain___rarg(x_119, x_3, x_4, x_5, x_6, x_7, x_118); -if (lean_obj_tag(x_120) == 0) -{ -lean_object* x_121; lean_object* x_122; lean_object* x_123; uint8_t x_124; lean_object* x_125; -x_121 = lean_ctor_get(x_120, 0); -lean_inc(x_121); -x_122 = lean_ctor_get(x_120, 1); -lean_inc(x_122); -if (lean_is_exclusive(x_120)) { - lean_ctor_release(x_120, 0); - lean_ctor_release(x_120, 1); - x_123 = x_120; -} else { - lean_dec_ref(x_120); - x_123 = lean_box(0); -} -x_124 = l_Lean_Expr_binderInfo(x_117); -lean_dec(x_117); -x_125 = lean_box(x_124); -switch (lean_obj_tag(x_125)) { -case 0: -{ -lean_object* x_126; lean_object* x_127; lean_object* x_142; uint8_t x_143; -x_126 = lean_array_get_size(x_1); -x_142 = lean_unsigned_to_nat(0u); -x_143 = lean_nat_dec_lt(x_142, x_126); -if (x_143 == 0) -{ -lean_object* x_144; -x_144 = lean_box(0); -x_127 = x_144; -goto block_141; -} -else -{ -uint8_t x_145; -x_145 = lean_nat_dec_le(x_126, x_126); -if (x_145 == 0) -{ -lean_object* x_146; -x_146 = lean_box(0); -x_127 = x_146; -goto block_141; -} -else -{ -size_t x_147; size_t x_148; uint8_t x_149; -x_147 = 0; -x_148 = lean_usize_of_nat(x_126); -x_149 = l_Array_anyMUnsafe_any___at_Lean_Delaborator_delabForall___spec__3(x_2, x_1, x_147, x_148); -if (x_149 == 0) -{ -lean_object* x_150; -x_150 = lean_box(0); -x_127 = x_150; -goto block_141; -} -else -{ -lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_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_dec(x_126); -lean_dec(x_123); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_151 = l_Array_empty___closed__1; -x_152 = l_Array_appendCore___rarg(x_151, x_1); -x_153 = l_Lean_nullKind___closed__2; -x_154 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_154, 0, x_153); -lean_ctor_set(x_154, 1, x_152); -x_155 = l_myMacro____x40_Init_Notation___hyg_5739____closed__11; -x_156 = lean_array_push(x_155, x_154); -x_157 = l_myMacro____x40_Init_Notation___hyg_8168____closed__11; -x_158 = lean_array_push(x_157, x_121); -x_159 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_159, 0, x_153); -lean_ctor_set(x_159, 1, x_158); -x_160 = lean_array_push(x_156, x_159); -x_161 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; -x_162 = lean_array_push(x_160, x_161); -x_163 = l_myMacro____x40_Init_Notation___hyg_5739____closed__22; -x_164 = lean_array_push(x_162, x_163); -x_165 = l_Lean_Elab_Term_mkExplicitBinder___closed__2; -x_166 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_166, 0, x_165); -lean_ctor_set(x_166, 1, x_164); -x_167 = lean_array_push(x_151, x_166); -x_168 = l_Array_foldrMUnsafe_fold___at_Lean_Delaborator_delabForall___spec__1___closed__1; -x_169 = lean_array_push(x_167, x_168); -x_170 = lean_array_push(x_169, x_2); -x_171 = l_Lean_Delaborator_delabForall___lambda__1___closed__2; -x_172 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_172, 0, x_171); -lean_ctor_set(x_172, 1, x_170); -x_173 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_173, 0, x_172); -lean_ctor_set(x_173, 1, x_122); -return x_173; -} -} -} -block_141: -{ -uint8_t x_128; -lean_dec(x_127); -x_128 = lean_nat_dec_le(x_126, x_126); -if (x_128 == 0) -{ -lean_object* x_129; uint8_t x_130; -x_129 = lean_unsigned_to_nat(0u); -x_130 = lean_nat_dec_lt(x_129, x_126); -if (x_130 == 0) -{ -lean_object* x_131; -lean_dec(x_126); -lean_dec(x_121); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -if (lean_is_scalar(x_123)) { - x_131 = lean_alloc_ctor(0, 2, 0); -} else { - x_131 = x_123; -} -lean_ctor_set(x_131, 0, x_2); -lean_ctor_set(x_131, 1, x_122); -return x_131; -} -else -{ -size_t x_132; size_t x_133; lean_object* x_134; -lean_dec(x_123); -x_132 = lean_usize_of_nat(x_126); -lean_dec(x_126); -x_133 = 0; -x_134 = l_Array_foldrMUnsafe_fold___at_Lean_Delaborator_delabForall___spec__1(x_121, x_1, x_132, x_133, x_2, x_3, x_4, x_5, x_6, x_7, x_122); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -return x_134; -} -} -else -{ -lean_object* x_135; uint8_t x_136; -x_135 = lean_unsigned_to_nat(0u); -x_136 = lean_nat_dec_lt(x_135, x_126); -if (x_136 == 0) -{ -lean_object* x_137; -lean_dec(x_126); -lean_dec(x_121); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -if (lean_is_scalar(x_123)) { - x_137 = lean_alloc_ctor(0, 2, 0); -} else { - x_137 = x_123; -} -lean_ctor_set(x_137, 0, x_2); -lean_ctor_set(x_137, 1, x_122); -return x_137; -} -else -{ -size_t x_138; size_t x_139; lean_object* x_140; -lean_dec(x_123); -x_138 = lean_usize_of_nat(x_126); -lean_dec(x_126); -x_139 = 0; -x_140 = l_Array_foldrMUnsafe_fold___at_Lean_Delaborator_delabForall___spec__2(x_121, x_1, x_138, x_139, x_2, x_3, x_4, x_5, x_6, x_7, x_122); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -return x_140; -} -} -} -} -case 1: -{ -lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_174 = l_Array_empty___closed__1; -x_175 = l_Array_appendCore___rarg(x_174, x_1); -x_176 = l_Lean_nullKind___closed__2; -x_177 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_177, 0, x_176); -lean_ctor_set(x_177, 1, x_175); -x_178 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__4; -x_179 = lean_array_push(x_178, x_177); -x_180 = l_myMacro____x40_Init_Notation___hyg_8168____closed__11; -x_181 = lean_array_push(x_180, x_121); -x_182 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_182, 0, x_176); -lean_ctor_set(x_182, 1, x_181); -x_183 = lean_array_push(x_179, x_182); -x_184 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__21; -x_185 = lean_array_push(x_183, x_184); -x_186 = l_Lean_Delaborator_delabLam___lambda__3___closed__1; -x_187 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_187, 0, x_186); -lean_ctor_set(x_187, 1, x_185); -x_188 = lean_array_push(x_174, x_187); -x_189 = l_Array_foldrMUnsafe_fold___at_Lean_Delaborator_delabForall___spec__1___closed__1; -x_190 = lean_array_push(x_188, x_189); -x_191 = lean_array_push(x_190, x_2); -x_192 = l_Lean_Delaborator_delabForall___lambda__1___closed__2; -x_193 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_193, 0, x_192); -lean_ctor_set(x_193, 1, x_191); -if (lean_is_scalar(x_123)) { - x_194 = lean_alloc_ctor(0, 2, 0); -} else { - x_194 = x_123; -} -lean_ctor_set(x_194, 0, x_193); -lean_ctor_set(x_194, 1, x_122); -return x_194; -} -case 3: -{ -lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_195 = l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(x_1); -x_196 = l_Array_empty___closed__1; -x_197 = lean_array_push(x_196, x_195); -x_198 = l_myMacro____x40_Init_Notation___hyg_8168____closed__10; -x_199 = lean_array_push(x_197, x_198); -x_200 = l_Lean_nullKind___closed__2; -x_201 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_201, 0, x_200); -lean_ctor_set(x_201, 1, x_199); -x_202 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3420____closed__9; -x_203 = lean_array_push(x_202, x_201); -x_204 = lean_array_push(x_203, x_121); -x_205 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3420____closed__10; -x_206 = lean_array_push(x_204, x_205); -x_207 = l_Lean_Delaborator_delabLam___lambda__3___closed__4; -x_208 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_208, 0, x_207); -lean_ctor_set(x_208, 1, x_206); -x_209 = lean_array_push(x_196, x_208); -x_210 = l_Array_foldrMUnsafe_fold___at_Lean_Delaborator_delabForall___spec__1___closed__1; -x_211 = lean_array_push(x_209, x_210); -x_212 = lean_array_push(x_211, x_2); -x_213 = l_Lean_Delaborator_delabForall___lambda__1___closed__2; -x_214 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_214, 0, x_213); -lean_ctor_set(x_214, 1, x_212); -if (lean_is_scalar(x_123)) { - x_215 = lean_alloc_ctor(0, 2, 0); -} else { - x_215 = x_123; -} -lean_ctor_set(x_215, 0, x_214); -lean_ctor_set(x_215, 1, x_122); -return x_215; -} -default: -{ -lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; -lean_dec(x_125); -lean_dec(x_123); -lean_dec(x_121); -lean_dec(x_2); -x_216 = l_Lean_Delaborator_withAppFn___rarg___closed__1; -x_217 = l_Lean_Delaborator_delabForall___lambda__1___closed__4; -x_218 = lean_panic_fn(x_216, x_217); -x_219 = lean_apply_6(x_218, x_3, x_4, x_5, x_6, x_7, x_122); -return x_219; -} -} -} -else -{ -lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; -lean_dec(x_117); -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_220 = lean_ctor_get(x_120, 0); -lean_inc(x_220); -x_221 = lean_ctor_get(x_120, 1); -lean_inc(x_221); -if (lean_is_exclusive(x_120)) { - lean_ctor_release(x_120, 0); - lean_ctor_release(x_120, 1); - x_222 = x_120; -} else { - lean_dec_ref(x_120); - x_222 = lean_box(0); -} -if (lean_is_scalar(x_222)) { - x_223 = lean_alloc_ctor(1, 2, 0); -} else { - x_223 = x_222; -} -lean_ctor_set(x_223, 0, x_220); -lean_ctor_set(x_223, 1, x_221); -return x_223; -} -} -} -} -static lean_object* _init_l_Lean_Delaborator_delabForall___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabForall___lambda__1___boxed), 8, 0); -return x_1; -} -} -lean_object* l_Lean_Delaborator_delabForall(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; lean_object* x_8; lean_object* x_9; -x_7 = l_Lean_Delaborator_delabForall___closed__1; -x_8 = l_Array_empty___closed__1; -x_9 = l___private_Lean_Delaborator_0__Lean_Delaborator_delabBinders(x_7, x_8, x_1, x_2, x_3, x_4, x_5, x_6); -return x_9; -} -} -lean_object* l_Array_foldrMUnsafe_fold___at_Lean_Delaborator_delabForall___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) { -_start: -{ -size_t x_12; size_t x_13; lean_object* x_14; -x_12 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_13 = lean_unbox_usize(x_4); -lean_dec(x_4); -x_14 = l_Array_foldrMUnsafe_fold___at_Lean_Delaborator_delabForall___spec__1(x_1, x_2, x_12, x_13, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_2); -return x_14; -} -} -lean_object* l_Array_foldrMUnsafe_fold___at_Lean_Delaborator_delabForall___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -size_t x_12; size_t x_13; lean_object* x_14; -x_12 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_13 = lean_unbox_usize(x_4); -lean_dec(x_4); -x_14 = l_Array_foldrMUnsafe_fold___at_Lean_Delaborator_delabForall___spec__2(x_1, x_2, x_12, x_13, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_2); -return x_14; -} -} -lean_object* l_Array_anyMUnsafe_any___at_Lean_Delaborator_delabForall___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -size_t x_5; size_t x_6; uint8_t x_7; lean_object* x_8; -x_5 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_6 = lean_unbox_usize(x_4); -lean_dec(x_4); -x_7 = l_Array_anyMUnsafe_any___at_Lean_Delaborator_delabForall___spec__3(x_1, x_2, x_5, x_6); -lean_dec(x_2); -lean_dec(x_1); -x_8 = lean_box(x_7); -return x_8; -} -} -lean_object* l_Lean_Delaborator_delabForall___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; -x_9 = l_Lean_Delaborator_delabForall___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_1); -return x_9; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabForall___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabForall), 6, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Delaborator_delabForall(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_Delaborator_delabAttribute; -x_3 = l_Lean_Delaborator_getExprKind___closed__7; -x_4 = l___regBuiltin_Lean_Delaborator_delabForall___closed__1; -x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); -return x_5; -} -} -lean_object* l_Lean_Delaborator_delabLetE_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -if (lean_obj_tag(x_1) == 8) -{ -lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; uint64_t x_8; lean_object* x_9; lean_object* x_10; -lean_dec(x_3); -x_4 = lean_ctor_get(x_1, 0); -lean_inc(x_4); -x_5 = lean_ctor_get(x_1, 1); -lean_inc(x_5); -x_6 = lean_ctor_get(x_1, 2); -lean_inc(x_6); -x_7 = lean_ctor_get(x_1, 3); -lean_inc(x_7); -x_8 = lean_ctor_get_uint64(x_1, sizeof(void*)*4); -lean_dec(x_1); -x_9 = lean_box_uint64(x_8); -x_10 = lean_apply_5(x_2, x_4, x_5, x_6, x_7, x_9); -return x_10; -} -else -{ -lean_object* x_11; -lean_dec(x_2); -x_11 = lean_apply_1(x_3, x_1); -return x_11; -} -} -} -lean_object* l_Lean_Delaborator_delabLetE_match__1(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabLetE_match__1___rarg), 3, 0); -return x_2; -} -} -lean_object* l_Lean_Meta_withLetDecl___at_Lean_Delaborator_delabLetE___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; lean_object* x_12; -x_11 = lean_alloc_closure((void*)(l_Lean_Meta_withLocalDecl___at_Lean_Delaborator_withBindingBody___spec__1___rarg___lambda__1), 8, 2); -lean_closure_set(x_11, 0, x_4); -lean_closure_set(x_11, 1, x_5); -x_12 = l___private_Lean_Meta_Basic_0__Lean_Meta_withLetDeclImp___rarg(x_1, x_2, x_3, x_11, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_12) == 0) -{ -uint8_t x_13; -x_13 = !lean_is_exclusive(x_12); -if (x_13 == 0) -{ -return x_12; -} -else -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_14 = lean_ctor_get(x_12, 0); -x_15 = lean_ctor_get(x_12, 1); -lean_inc(x_15); -lean_inc(x_14); -lean_dec(x_12); -x_16 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_16, 0, x_14); -lean_ctor_set(x_16, 1, x_15); -return x_16; -} -} -else -{ -uint8_t x_17; -x_17 = !lean_is_exclusive(x_12); -if (x_17 == 0) -{ -return x_12; -} -else -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_18 = lean_ctor_get(x_12, 0); -x_19 = lean_ctor_get(x_12, 1); -lean_inc(x_19); -lean_inc(x_18); -lean_dec(x_12); -x_20 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_20, 0, x_18); -lean_ctor_set(x_20, 1, x_19); -return x_20; -} -} -} -} -lean_object* l_Lean_Meta_withLetDecl___at_Lean_Delaborator_delabLetE___spec__1(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Meta_withLetDecl___at_Lean_Delaborator_delabLetE___spec__1___rarg), 10, 0); -return x_2; -} -} -lean_object* l_Lean_Delaborator_delabLetE___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; -x_9 = lean_expr_instantiate1(x_1, x_2); -x_10 = lean_unsigned_to_nat(2u); -x_11 = l_Lean_Delaborator_delabAppMatch___lambda__2___closed__1; -x_12 = l_Lean_Delaborator_descend___rarg(x_9, x_10, x_11, x_3, x_4, x_5, x_6, x_7, x_8); -return x_12; -} -} -static lean_object* _init_l_Lean_Delaborator_delabLetE___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("Lean.Delaborator.delabLetE"); -return x_1; -} -} -static lean_object* _init_l_Lean_Delaborator_delabLetE___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_1 = l_Lean_Delaborator_withAppFn___rarg___closed__2; -x_2 = l_Lean_Delaborator_delabLetE___closed__1; -x_3 = lean_unsigned_to_nat(586u); -x_4 = lean_unsigned_to_nat(38u); -x_5 = l_Lean_Syntax_strLitToAtom___closed__3; -x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); -return x_6; -} -} -lean_object* l_Lean_Delaborator_delabLetE(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; lean_object* x_8; -x_7 = l_Lean_Delaborator_getExpr(x_1, x_2, x_3, x_4, x_5, x_6); -x_8 = lean_ctor_get(x_7, 0); -lean_inc(x_8); -if (lean_obj_tag(x_8) == 8) -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_9 = lean_ctor_get(x_7, 1); -lean_inc(x_9); -lean_dec(x_7); -x_10 = lean_ctor_get(x_8, 0); -lean_inc(x_10); -x_11 = lean_ctor_get(x_8, 1); -lean_inc(x_11); -x_12 = lean_ctor_get(x_8, 2); -lean_inc(x_12); -x_13 = lean_ctor_get(x_8, 3); -lean_inc(x_13); -lean_dec(x_8); -lean_inc(x_2); -x_14 = l_Lean_Delaborator_getUnusedName(x_10, x_1, x_2, x_3, x_4, x_5, x_9); -x_15 = lean_ctor_get(x_14, 0); -lean_inc(x_15); -x_16 = lean_ctor_get(x_14, 1); -lean_inc(x_16); -lean_dec(x_14); -x_17 = lean_unsigned_to_nat(0u); -x_18 = l_Lean_Delaborator_delabAppMatch___lambda__2___closed__1; -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); -lean_inc(x_1); -lean_inc(x_11); -x_19 = l_Lean_Delaborator_descend___rarg(x_11, x_17, x_18, x_1, x_2, x_3, x_4, x_5, 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; -x_20 = lean_ctor_get(x_19, 0); -lean_inc(x_20); -x_21 = lean_ctor_get(x_19, 1); -lean_inc(x_21); -lean_dec(x_19); -x_22 = lean_unsigned_to_nat(1u); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); -lean_inc(x_1); -lean_inc(x_12); -x_23 = l_Lean_Delaborator_descend___rarg(x_12, x_22, x_18, x_1, x_2, x_3, x_4, x_5, x_21); -if (lean_obj_tag(x_23) == 0) -{ -lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_24 = lean_ctor_get(x_23, 0); -lean_inc(x_24); -x_25 = lean_ctor_get(x_23, 1); -lean_inc(x_25); -lean_dec(x_23); -x_26 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabLetE___lambda__1___boxed), 8, 1); -lean_closure_set(x_26, 0, x_13); -lean_inc(x_15); -x_27 = l_Lean_Meta_withLetDecl___at_Lean_Delaborator_delabLetE___spec__1___rarg(x_15, x_11, x_12, x_26, x_1, x_2, x_3, x_4, x_5, x_25); -if (lean_obj_tag(x_27) == 0) -{ -uint8_t x_28; -x_28 = !lean_is_exclusive(x_27); -if (x_28 == 0) -{ -lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; -x_29 = lean_ctor_get(x_27, 0); -x_30 = lean_mk_syntax_ident(x_15); -x_31 = l_Array_empty___closed__1; -x_32 = lean_array_push(x_31, x_30); -x_33 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; -x_34 = lean_array_push(x_32, x_33); -x_35 = l_myMacro____x40_Init_Notation___hyg_8168____closed__11; -x_36 = lean_array_push(x_35, x_20); -x_37 = l_Lean_expandExplicitBindersAux_loop___closed__8; -x_38 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_38, 0, x_37); -lean_ctor_set(x_38, 1, x_36); -x_39 = lean_array_push(x_31, x_38); -x_40 = l_Lean_nullKind___closed__2; -x_41 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_41, 0, x_40); -lean_ctor_set(x_41, 1, x_39); -x_42 = lean_array_push(x_34, x_41); -x_43 = l_myMacro____x40_Init_Notation___hyg_8830____closed__14; -x_44 = lean_array_push(x_42, x_43); -x_45 = lean_array_push(x_44, x_24); -x_46 = l_myMacro____x40_Init_Notation___hyg_8830____closed__8; -x_47 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_47, 0, x_46); -lean_ctor_set(x_47, 1, x_45); -x_48 = lean_array_push(x_31, x_47); -x_49 = l_myMacro____x40_Init_Notation___hyg_8830____closed__6; -x_50 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_50, 0, x_49); -lean_ctor_set(x_50, 1, x_48); -x_51 = l_myMacro____x40_Init_Notation___hyg_8830____closed__4; -x_52 = lean_array_push(x_51, x_50); -x_53 = l_myMacro____x40_Init_Notation___hyg_8830____closed__18; -x_54 = lean_array_push(x_52, x_53); -x_55 = lean_array_push(x_54, x_29); -x_56 = l_myMacro____x40_Init_Notation___hyg_8830____closed__2; -x_57 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_57, 0, x_56); -lean_ctor_set(x_57, 1, x_55); -lean_ctor_set(x_27, 0, x_57); -return x_27; -} -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; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; -x_58 = lean_ctor_get(x_27, 0); -x_59 = lean_ctor_get(x_27, 1); -lean_inc(x_59); -lean_inc(x_58); -lean_dec(x_27); -x_60 = lean_mk_syntax_ident(x_15); -x_61 = l_Array_empty___closed__1; -x_62 = lean_array_push(x_61, x_60); -x_63 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; -x_64 = lean_array_push(x_62, x_63); -x_65 = l_myMacro____x40_Init_Notation___hyg_8168____closed__11; -x_66 = lean_array_push(x_65, x_20); -x_67 = l_Lean_expandExplicitBindersAux_loop___closed__8; -x_68 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_68, 0, x_67); -lean_ctor_set(x_68, 1, x_66); -x_69 = lean_array_push(x_61, x_68); -x_70 = l_Lean_nullKind___closed__2; -x_71 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_71, 0, x_70); -lean_ctor_set(x_71, 1, x_69); -x_72 = lean_array_push(x_64, x_71); -x_73 = l_myMacro____x40_Init_Notation___hyg_8830____closed__14; -x_74 = lean_array_push(x_72, x_73); -x_75 = lean_array_push(x_74, x_24); -x_76 = l_myMacro____x40_Init_Notation___hyg_8830____closed__8; -x_77 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_77, 0, x_76); -lean_ctor_set(x_77, 1, x_75); -x_78 = lean_array_push(x_61, x_77); -x_79 = l_myMacro____x40_Init_Notation___hyg_8830____closed__6; -x_80 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_80, 0, x_79); -lean_ctor_set(x_80, 1, x_78); -x_81 = l_myMacro____x40_Init_Notation___hyg_8830____closed__4; -x_82 = lean_array_push(x_81, x_80); -x_83 = l_myMacro____x40_Init_Notation___hyg_8830____closed__18; -x_84 = lean_array_push(x_82, x_83); -x_85 = lean_array_push(x_84, x_58); -x_86 = l_myMacro____x40_Init_Notation___hyg_8830____closed__2; -x_87 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_87, 0, x_86); -lean_ctor_set(x_87, 1, 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_59); -return x_88; -} -} -else -{ -uint8_t x_89; -lean_dec(x_24); -lean_dec(x_20); -lean_dec(x_15); -x_89 = !lean_is_exclusive(x_27); -if (x_89 == 0) -{ -return x_27; -} -else -{ -lean_object* x_90; lean_object* x_91; lean_object* x_92; -x_90 = lean_ctor_get(x_27, 0); -x_91 = lean_ctor_get(x_27, 1); -lean_inc(x_91); -lean_inc(x_90); -lean_dec(x_27); -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 -{ -uint8_t x_93; -lean_dec(x_20); -lean_dec(x_15); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_93 = !lean_is_exclusive(x_23); -if (x_93 == 0) -{ -return x_23; -} -else -{ -lean_object* x_94; lean_object* x_95; lean_object* x_96; -x_94 = lean_ctor_get(x_23, 0); -x_95 = lean_ctor_get(x_23, 1); -lean_inc(x_95); -lean_inc(x_94); -lean_dec(x_23); -x_96 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_96, 0, x_94); -lean_ctor_set(x_96, 1, x_95); -return x_96; -} -} -} -else -{ -uint8_t x_97; -lean_dec(x_15); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_97 = !lean_is_exclusive(x_19); -if (x_97 == 0) -{ -return x_19; -} -else -{ -lean_object* x_98; lean_object* x_99; lean_object* x_100; -x_98 = lean_ctor_get(x_19, 0); -x_99 = lean_ctor_get(x_19, 1); -lean_inc(x_99); -lean_inc(x_98); -lean_dec(x_19); -x_100 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_100, 0, x_98); -lean_ctor_set(x_100, 1, x_99); -return x_100; -} -} -} -else -{ -lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; -lean_dec(x_8); -x_101 = lean_ctor_get(x_7, 1); -lean_inc(x_101); -lean_dec(x_7); -x_102 = l_Lean_Delaborator_withAppFn___rarg___closed__1; -x_103 = l_Lean_Delaborator_delabLetE___closed__2; -x_104 = lean_panic_fn(x_102, x_103); -x_105 = lean_apply_6(x_104, x_1, x_2, x_3, x_4, x_5, x_101); -return x_105; -} -} -} -lean_object* l_Lean_Delaborator_delabLetE___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; -x_9 = l_Lean_Delaborator_delabLetE___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_2); -lean_dec(x_1); -return x_9; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabLetE___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabLetE), 6, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Delaborator_delabLetE(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_Delaborator_delabAttribute; -x_3 = l_Lean_Delaborator_getExprKind___closed__8; -x_4 = l___regBuiltin_Lean_Delaborator_delabLetE___closed__1; -x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); -return x_5; -} -} -lean_object* l_Lean_Delaborator_delabLit_match__1___rarg(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_object* x_5; -lean_dec(x_3); -x_4 = lean_ctor_get(x_1, 0); -lean_inc(x_4); -lean_dec(x_1); -x_5 = lean_apply_1(x_2, x_4); -return x_5; -} -else -{ -lean_object* x_6; lean_object* x_7; -lean_dec(x_2); -x_6 = lean_ctor_get(x_1, 0); -lean_inc(x_6); -lean_dec(x_1); -x_7 = lean_apply_1(x_3, x_6); -return x_7; -} -} -} -lean_object* l_Lean_Delaborator_delabLit_match__1(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabLit_match__1___rarg), 3, 0); -return x_2; -} -} -lean_object* l_Lean_Delaborator_delabLit_match__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -if (lean_obj_tag(x_1) == 9) -{ -lean_object* x_4; uint64_t x_5; lean_object* x_6; lean_object* x_7; -lean_dec(x_3); -x_4 = lean_ctor_get(x_1, 0); -lean_inc(x_4); -x_5 = lean_ctor_get_uint64(x_1, sizeof(void*)*1); -lean_dec(x_1); -x_6 = lean_box_uint64(x_5); -x_7 = lean_apply_2(x_2, x_4, x_6); -return x_7; -} -else -{ -lean_object* x_8; -lean_dec(x_2); -x_8 = lean_apply_1(x_3, x_1); -return x_8; -} -} -} -lean_object* l_Lean_Delaborator_delabLit_match__2(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabLit_match__2___rarg), 3, 0); -return x_2; -} -} -static lean_object* _init_l_Lean_Delaborator_delabLit___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("Lean.Delaborator.delabLit"); -return x_1; -} -} -static lean_object* _init_l_Lean_Delaborator_delabLit___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_1 = l_Lean_Delaborator_withAppFn___rarg___closed__2; -x_2 = l_Lean_Delaborator_delabLit___closed__1; -x_3 = lean_unsigned_to_nat(597u); -x_4 = lean_unsigned_to_nat(31u); -x_5 = l_Lean_Syntax_strLitToAtom___closed__3; -x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); -return x_6; -} -} -lean_object* l_Lean_Delaborator_delabLit(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; lean_object* x_8; -x_7 = l_Lean_Delaborator_getExpr(x_1, x_2, x_3, x_4, x_5, x_6); -x_8 = lean_ctor_get(x_7, 0); -lean_inc(x_8); -if (lean_obj_tag(x_8) == 9) -{ -lean_object* x_9; -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_9 = lean_ctor_get(x_8, 0); -lean_inc(x_9); -lean_dec(x_8); -if (lean_obj_tag(x_9) == 0) -{ -uint8_t x_10; -x_10 = !lean_is_exclusive(x_7); -if (x_10 == 0) -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_11 = lean_ctor_get(x_7, 0); -lean_dec(x_11); -x_12 = lean_ctor_get(x_9, 0); -lean_inc(x_12); -lean_dec(x_9); -x_13 = l_Nat_repr(x_12); -x_14 = l_Lean_numLitKind; -x_15 = l_Lean_instInhabitedSourceInfo___closed__1; -x_16 = l_Lean_Syntax_mkLit(x_14, x_13, x_15); -lean_ctor_set(x_7, 0, x_16); -return x_7; -} -else -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; -x_17 = lean_ctor_get(x_7, 1); -lean_inc(x_17); -lean_dec(x_7); -x_18 = lean_ctor_get(x_9, 0); -lean_inc(x_18); -lean_dec(x_9); -x_19 = l_Nat_repr(x_18); -x_20 = l_Lean_numLitKind; -x_21 = l_Lean_instInhabitedSourceInfo___closed__1; -x_22 = l_Lean_Syntax_mkLit(x_20, x_19, 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_17); -return x_23; -} -} -else -{ -uint8_t x_24; -x_24 = !lean_is_exclusive(x_7); -if (x_24 == 0) -{ -lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_25 = lean_ctor_get(x_7, 0); -lean_dec(x_25); -x_26 = lean_ctor_get(x_9, 0); -lean_inc(x_26); -lean_dec(x_9); -x_27 = l_Lean_instInhabitedSourceInfo___closed__1; -x_28 = l_Lean_Syntax_mkStrLit(x_26, x_27); -lean_dec(x_26); -lean_ctor_set(x_7, 0, x_28); -return x_7; -} -else -{ -lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_29 = lean_ctor_get(x_7, 1); -lean_inc(x_29); -lean_dec(x_7); -x_30 = lean_ctor_get(x_9, 0); -lean_inc(x_30); -lean_dec(x_9); -x_31 = l_Lean_instInhabitedSourceInfo___closed__1; -x_32 = l_Lean_Syntax_mkStrLit(x_30, x_31); -lean_dec(x_30); -x_33 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_33, 0, x_32); -lean_ctor_set(x_33, 1, x_29); -return x_33; -} -} -} -else -{ -lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; -lean_dec(x_8); -x_34 = lean_ctor_get(x_7, 1); -lean_inc(x_34); -lean_dec(x_7); -x_35 = l_Lean_Delaborator_withAppFn___rarg___closed__1; -x_36 = l_Lean_Delaborator_delabLit___closed__2; -x_37 = lean_panic_fn(x_35, x_36); -x_38 = lean_apply_6(x_37, x_1, x_2, x_3, x_4, x_5, x_34); -return x_38; -} -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabLit___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabLit), 6, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Delaborator_delabLit(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_Delaborator_delabAttribute; -x_3 = l_Lean_Delaborator_getExprKind___closed__9; -x_4 = l___regBuiltin_Lean_Delaborator_delabLit___closed__1; -x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); -return x_5; -} -} -lean_object* l_Lean_Delaborator_delabOfNat_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -if (lean_obj_tag(x_1) == 5) -{ -lean_object* x_4; -x_4 = lean_ctor_get(x_1, 1); -lean_inc(x_4); -if (lean_obj_tag(x_4) == 9) -{ -lean_object* x_5; -x_5 = lean_ctor_get(x_4, 0); -lean_inc(x_5); -if (lean_obj_tag(x_5) == 0) -{ -lean_object* x_6; uint64_t x_7; uint64_t x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; -lean_dec(x_3); -x_6 = lean_ctor_get(x_1, 0); -lean_inc(x_6); -x_7 = lean_ctor_get_uint64(x_1, sizeof(void*)*2); -x_8 = lean_ctor_get_uint64(x_4, sizeof(void*)*1); -lean_dec(x_4); -x_9 = lean_ctor_get(x_5, 0); -lean_inc(x_9); -lean_dec(x_5); -x_10 = lean_box_uint64(x_8); -x_11 = lean_box_uint64(x_7); -x_12 = lean_apply_5(x_2, x_1, x_6, x_9, x_10, x_11); -return x_12; -} -else -{ -lean_object* x_13; -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -x_13 = lean_apply_1(x_3, x_1); -return x_13; -} -} -else -{ -lean_object* x_14; -lean_dec(x_4); -lean_dec(x_2); -x_14 = lean_apply_1(x_3, x_1); -return x_14; -} -} -else -{ -lean_object* x_15; -lean_dec(x_2); -x_15 = lean_apply_1(x_3, x_1); -return x_15; -} -} -} -lean_object* l_Lean_Delaborator_delabOfNat_match__1(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabOfNat_match__1___rarg), 3, 0); -return x_2; -} -} -lean_object* l_Lean_Delaborator_delabOfNat___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -if (lean_obj_tag(x_1) == 5) -{ -lean_object* x_8; -x_8 = lean_ctor_get(x_1, 1); -lean_inc(x_8); -lean_dec(x_1); -if (lean_obj_tag(x_8) == 9) -{ -lean_object* x_9; -x_9 = lean_ctor_get(x_8, 0); -lean_inc(x_9); -lean_dec(x_8); -if (lean_obj_tag(x_9) == 0) -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; -x_10 = lean_ctor_get(x_9, 0); -lean_inc(x_10); -lean_dec(x_9); -x_11 = l_Nat_repr(x_10); -x_12 = l_Lean_numLitKind; -x_13 = l_Lean_instInhabitedSourceInfo___closed__1; -x_14 = l_Lean_Syntax_mkLit(x_12, x_11, x_13); -x_15 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_15, 0, x_14); -lean_ctor_set(x_15, 1, x_7); -return x_15; -} -else -{ -lean_object* x_16; -lean_dec(x_9); -x_16 = l_Lean_Delaborator_failure___rarg(x_7); -return x_16; -} -} -else -{ -lean_object* x_17; -lean_dec(x_8); -x_17 = l_Lean_Delaborator_failure___rarg(x_7); -return x_17; -} -} -else -{ -lean_object* x_18; -lean_dec(x_1); -x_18 = l_Lean_Delaborator_failure___rarg(x_7); -return x_18; -} -} -} -static lean_object* _init_l_Lean_Delaborator_delabOfNat___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabOfNat___lambda__1___boxed), 7, 0); -return x_1; -} -} -static lean_object* _init_l_Lean_Delaborator_delabOfNat___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Delaborator_delabAppExplicit___closed__1; -x_2 = l_Lean_Delaborator_delabOfNat___closed__1; -x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Delaborator_delabAppExplicit___spec__2___rarg), 8, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Delaborator_delabOfNat___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_getPPCoercions___boxed), 1, 0); -return x_1; -} -} -lean_object* l_Lean_Delaborator_delabOfNat(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; lean_object* x_8; lean_object* x_9; -x_7 = l_Lean_Delaborator_delabOfNat___closed__3; -x_8 = l_Lean_Delaborator_delabOfNat___closed__2; -x_9 = l_Lean_Delaborator_whenPPOption(x_7, x_8, x_1, x_2, x_3, x_4, x_5, x_6); -return x_9; -} -} -lean_object* l_Lean_Delaborator_delabOfNat___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; -x_8 = l_Lean_Delaborator_delabOfNat___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_8; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabOfNat___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Delaborator_getExprKind___closed__5; -x_2 = l_Lean_Meta_evalNat_visit___closed__5; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabOfNat___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Lean_Delaborator_delabOfNat___closed__1; -x_2 = l_Lean_Expr_isCharLit___closed__3; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabOfNat___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabOfNat), 6, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Delaborator_delabOfNat(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_Delaborator_delabAttribute; -x_3 = l___regBuiltin_Lean_Delaborator_delabOfNat___closed__2; -x_4 = l___regBuiltin_Lean_Delaborator_delabOfNat___closed__3; -x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); -return x_5; -} -} -static lean_object* _init_l_Lean_Delaborator_delabOne___lambda__1___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = lean_unsigned_to_nat(1u); -x_2 = l_Nat_repr(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Delaborator_delabOne___lambda__1___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_numLitKind; -x_2 = l_Lean_Delaborator_delabOne___lambda__1___closed__1; -x_3 = l_Lean_instInhabitedSourceInfo___closed__1; -x_4 = l_Lean_Syntax_mkLit(x_1, x_2, x_3); -return x_4; -} -} -lean_object* l_Lean_Delaborator_delabOne___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; -x_8 = lean_unsigned_to_nat(0u); -x_9 = l_Lean_Expr_getAppNumArgsAux(x_1, x_8); -x_10 = lean_unsigned_to_nat(2u); -x_11 = lean_nat_dec_eq(x_9, x_10); -lean_dec(x_9); -if (x_11 == 0) -{ -lean_object* x_12; uint8_t x_13; -x_12 = l_Lean_Delaborator_failure___rarg(x_7); -x_13 = !lean_is_exclusive(x_12); -if (x_13 == 0) -{ -return x_12; -} -else -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_14 = lean_ctor_get(x_12, 0); -x_15 = lean_ctor_get(x_12, 1); -lean_inc(x_15); -lean_inc(x_14); -lean_dec(x_12); -x_16 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_16, 0, x_14); -lean_ctor_set(x_16, 1, x_15); -return x_16; -} -} -else -{ -lean_object* x_17; lean_object* x_18; -x_17 = l_Lean_Delaborator_delabOne___lambda__1___closed__2; -x_18 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_18, 0, x_17); -lean_ctor_set(x_18, 1, x_7); -return x_18; -} -} -} -static lean_object* _init_l_Lean_Delaborator_delabOne___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabOne___lambda__1___boxed), 7, 0); -return x_1; -} -} -static lean_object* _init_l_Lean_Delaborator_delabOne___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Delaborator_delabAppExplicit___closed__1; -x_2 = l_Lean_Delaborator_delabOne___closed__1; -x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Delaborator_delabAppExplicit___spec__2___rarg), 8, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; -} -} -lean_object* l_Lean_Delaborator_delabOne(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; lean_object* x_8; lean_object* x_9; -x_7 = l_Lean_Delaborator_delabOfNat___closed__3; -x_8 = l_Lean_Delaborator_delabOne___closed__2; -x_9 = l_Lean_Delaborator_whenPPOption(x_7, x_8, x_1, x_2, x_3, x_4, x_5, x_6); -return x_9; -} -} -lean_object* l_Lean_Delaborator_delabOne___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; -x_8 = l_Lean_Delaborator_delabOne___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_8; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabOne___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Delaborator_getExprKind___closed__5; -x_2 = l_Lean_Meta_evalNat_visit___closed__8; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabOne___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Lean_Delaborator_delabOne___closed__1; -x_2 = l_Lean_Meta_evalNat_visit___closed__10; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabOne___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabOne), 6, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Delaborator_delabOne(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_Delaborator_delabAttribute; -x_3 = l___regBuiltin_Lean_Delaborator_delabOne___closed__2; -x_4 = l___regBuiltin_Lean_Delaborator_delabOne___closed__3; -x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); -return x_5; -} -} -static lean_object* _init_l_Lean_Delaborator_delabZero___lambda__1___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_numLitKind; -x_2 = l_Array_foldlMUnsafe_fold___at_Lean_Environment_displayStats___spec__8___lambda__1___closed__1; -x_3 = l_Lean_instInhabitedSourceInfo___closed__1; -x_4 = l_Lean_Syntax_mkLit(x_1, x_2, x_3); -return x_4; -} -} -lean_object* l_Lean_Delaborator_delabZero___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; -x_8 = lean_unsigned_to_nat(0u); -x_9 = l_Lean_Expr_getAppNumArgsAux(x_1, x_8); -x_10 = lean_unsigned_to_nat(2u); -x_11 = lean_nat_dec_eq(x_9, x_10); -lean_dec(x_9); -if (x_11 == 0) -{ -lean_object* x_12; uint8_t x_13; -x_12 = l_Lean_Delaborator_failure___rarg(x_7); -x_13 = !lean_is_exclusive(x_12); -if (x_13 == 0) -{ -return x_12; -} -else -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_14 = lean_ctor_get(x_12, 0); -x_15 = lean_ctor_get(x_12, 1); -lean_inc(x_15); -lean_inc(x_14); -lean_dec(x_12); -x_16 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_16, 0, x_14); -lean_ctor_set(x_16, 1, x_15); -return x_16; -} -} -else -{ -lean_object* x_17; lean_object* x_18; -x_17 = l_Lean_Delaborator_delabZero___lambda__1___closed__1; -x_18 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_18, 0, x_17); -lean_ctor_set(x_18, 1, x_7); -return x_18; -} -} -} -static lean_object* _init_l_Lean_Delaborator_delabZero___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabZero___lambda__1___boxed), 7, 0); -return x_1; -} -} -static lean_object* _init_l_Lean_Delaborator_delabZero___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Delaborator_delabAppExplicit___closed__1; -x_2 = l_Lean_Delaborator_delabZero___closed__1; -x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Delaborator_delabAppExplicit___spec__2___rarg), 8, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; -} -} -lean_object* l_Lean_Delaborator_delabZero(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; lean_object* x_8; lean_object* x_9; -x_7 = l_Lean_Delaborator_delabOfNat___closed__3; -x_8 = l_Lean_Delaborator_delabZero___closed__2; -x_9 = l_Lean_Delaborator_whenPPOption(x_7, x_8, x_1, x_2, x_3, x_4, x_5, x_6); -return x_9; -} -} -lean_object* l_Lean_Delaborator_delabZero___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; -x_8 = l_Lean_Delaborator_delabZero___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_8; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabZero___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Delaborator_getExprKind___closed__5; -x_2 = l_Lean_Meta_evalNat_visit___closed__2; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabZero___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Lean_Delaborator_delabZero___closed__1; -x_2 = l_Lean_Meta_evalNat_match__1___rarg___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabZero___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabZero), 6, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Delaborator_delabZero(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_Delaborator_delabAttribute; -x_3 = l___regBuiltin_Lean_Delaborator_delabZero___closed__2; -x_4 = l___regBuiltin_Lean_Delaborator_delabZero___closed__3; -x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); -return x_5; -} -} -lean_object* l_Lean_Delaborator_delabProj_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -if (lean_obj_tag(x_1) == 11) -{ -lean_object* x_4; lean_object* x_5; lean_object* x_6; uint64_t x_7; lean_object* x_8; lean_object* x_9; -lean_dec(x_3); -x_4 = lean_ctor_get(x_1, 0); -lean_inc(x_4); -x_5 = lean_ctor_get(x_1, 1); -lean_inc(x_5); -x_6 = lean_ctor_get(x_1, 2); -lean_inc(x_6); -x_7 = lean_ctor_get_uint64(x_1, sizeof(void*)*3); -lean_dec(x_1); -x_8 = lean_box_uint64(x_7); -x_9 = lean_apply_4(x_2, x_4, x_5, x_6, x_8); -return x_9; -} -else -{ -lean_object* x_10; -lean_dec(x_2); -x_10 = lean_apply_1(x_3, x_1); -return x_10; -} -} -} -lean_object* l_Lean_Delaborator_delabProj_match__1(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabProj_match__1___rarg), 3, 0); -return x_2; -} -} -static lean_object* _init_l_Lean_Delaborator_delabProj___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("Lean.Delaborator.delabProj"); -return x_1; -} -} -static lean_object* _init_l_Lean_Delaborator_delabProj___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_1 = l_Lean_Delaborator_withAppFn___rarg___closed__2; -x_2 = l_Lean_Delaborator_delabProj___closed__1; -x_3 = lean_unsigned_to_nat(629u); -x_4 = lean_unsigned_to_nat(38u); -x_5 = l_Lean_Syntax_strLitToAtom___closed__3; -x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); -return x_6; -} -} -static lean_object* _init_l_Lean_Delaborator_delabProj___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_38____closed__6; -x_2 = l_Lean_Expr_ctorName___closed__10; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Delaborator_delabProj___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_instInhabitedSourceInfo___closed__1; -x_2 = l_Lean_Name_toString___closed__1; -x_3 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -lean_object* l_Lean_Delaborator_delabProj(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; lean_object* x_8; -x_7 = l_Lean_Delaborator_getExpr(x_1, x_2, x_3, x_4, x_5, x_6); -x_8 = lean_ctor_get(x_7, 0); -lean_inc(x_8); -if (lean_obj_tag(x_8) == 11) -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; -x_9 = lean_ctor_get(x_7, 1); -lean_inc(x_9); -lean_dec(x_7); -x_10 = lean_ctor_get(x_8, 1); -lean_inc(x_10); -lean_dec(x_8); -x_11 = l_Lean_Delaborator_delabAppMatch___lambda__2___closed__1; -x_12 = l_Lean_Delaborator_withProj___rarg(x_11, x_1, x_2, x_3, x_4, x_5, x_9); -if (lean_obj_tag(x_12) == 0) -{ -uint8_t x_13; -x_13 = !lean_is_exclusive(x_12); -if (x_13 == 0) -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_14 = lean_ctor_get(x_12, 0); -x_15 = lean_unsigned_to_nat(1u); -x_16 = lean_nat_add(x_10, x_15); -lean_dec(x_10); -x_17 = l_Nat_repr(x_16); -x_18 = l_Lean_fieldIdxKind; -x_19 = l_Lean_instInhabitedSourceInfo___closed__1; -x_20 = l_Lean_Syntax_mkLit(x_18, x_17, x_19); -x_21 = l_Array_empty___closed__1; -x_22 = lean_array_push(x_21, x_14); -x_23 = l_Lean_Delaborator_delabProj___closed__4; -x_24 = lean_array_push(x_22, x_23); -x_25 = lean_array_push(x_24, x_20); -x_26 = l_Lean_Delaborator_delabProj___closed__3; -x_27 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_27, 0, x_26); -lean_ctor_set(x_27, 1, x_25); -lean_ctor_set(x_12, 0, x_27); -return x_12; -} -else -{ -lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; -x_28 = lean_ctor_get(x_12, 0); -x_29 = lean_ctor_get(x_12, 1); -lean_inc(x_29); -lean_inc(x_28); -lean_dec(x_12); -x_30 = lean_unsigned_to_nat(1u); -x_31 = lean_nat_add(x_10, x_30); -lean_dec(x_10); -x_32 = l_Nat_repr(x_31); -x_33 = l_Lean_fieldIdxKind; -x_34 = l_Lean_instInhabitedSourceInfo___closed__1; -x_35 = l_Lean_Syntax_mkLit(x_33, x_32, x_34); -x_36 = l_Array_empty___closed__1; -x_37 = lean_array_push(x_36, x_28); -x_38 = l_Lean_Delaborator_delabProj___closed__4; -x_39 = lean_array_push(x_37, x_38); -x_40 = lean_array_push(x_39, x_35); -x_41 = l_Lean_Delaborator_delabProj___closed__3; -x_42 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_42, 0, x_41); -lean_ctor_set(x_42, 1, 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_29); -return x_43; -} -} -else -{ -uint8_t x_44; -lean_dec(x_10); -x_44 = !lean_is_exclusive(x_12); -if (x_44 == 0) -{ -return x_12; -} -else -{ -lean_object* x_45; lean_object* x_46; lean_object* x_47; -x_45 = lean_ctor_get(x_12, 0); -x_46 = lean_ctor_get(x_12, 1); -lean_inc(x_46); -lean_inc(x_45); -lean_dec(x_12); -x_47 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_47, 0, x_45); -lean_ctor_set(x_47, 1, x_46); -return x_47; -} -} -} -else -{ -lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; -lean_dec(x_8); -x_48 = lean_ctor_get(x_7, 1); -lean_inc(x_48); -lean_dec(x_7); -x_49 = l_Lean_Delaborator_withAppFn___rarg___closed__1; -x_50 = l_Lean_Delaborator_delabProj___closed__2; -x_51 = lean_panic_fn(x_49, x_50); -x_52 = lean_apply_6(x_51, x_1, x_2, x_3, x_4, x_5, x_48); -return x_52; -} -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabProj___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabProj), 6, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Delaborator_delabProj(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_Delaborator_delabAttribute; -x_3 = l_Lean_Delaborator_getExprKind___closed__11; -x_4 = l___regBuiltin_Lean_Delaborator_delabProj___closed__1; -x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); -return x_5; -} -} -lean_object* l_Lean_Delaborator_delabProjectionApp_match__1___rarg(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_2); -x_4 = lean_apply_1(x_3, x_1); -return x_4; -} -else -{ -lean_object* x_5; lean_object* x_6; -lean_dec(x_3); -x_5 = lean_ctor_get(x_1, 0); -lean_inc(x_5); -lean_dec(x_1); -x_6 = lean_apply_1(x_2, x_5); -return x_6; -} -} -} -lean_object* l_Lean_Delaborator_delabProjectionApp_match__1(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabProjectionApp_match__1___rarg), 3, 0); -return x_2; -} -} -lean_object* l_Lean_Delaborator_delabProjectionApp_match__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -if (lean_obj_tag(x_1) == 4) -{ -lean_object* x_4; -x_4 = lean_ctor_get(x_1, 0); -lean_inc(x_4); -if (lean_obj_tag(x_4) == 1) -{ -lean_object* x_5; uint64_t x_6; lean_object* x_7; lean_object* x_8; size_t x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; -lean_dec(x_3); -x_5 = lean_ctor_get(x_1, 1); -lean_inc(x_5); -x_6 = lean_ctor_get_uint64(x_1, sizeof(void*)*2); -lean_dec(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 = lean_ctor_get_usize(x_4, 2); -x_10 = lean_box_usize(x_9); -x_11 = lean_box_uint64(x_6); -x_12 = lean_apply_6(x_2, x_4, x_7, x_8, x_10, x_5, x_11); -return x_12; -} -else -{ -lean_object* x_13; -lean_dec(x_4); -lean_dec(x_2); -x_13 = lean_apply_1(x_3, x_1); -return x_13; -} -} -else -{ -lean_object* x_14; -lean_dec(x_2); -x_14 = lean_apply_1(x_3, x_1); -return x_14; -} -} -} -lean_object* l_Lean_Delaborator_delabProjectionApp_match__2(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabProjectionApp_match__2___rarg), 3, 0); -return x_2; -} -} -lean_object* l_Lean_Delaborator_delabProjectionApp_match__3___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -if (lean_obj_tag(x_1) == 5) -{ -lean_object* x_4; lean_object* x_5; uint64_t x_6; lean_object* x_7; lean_object* x_8; -lean_dec(x_3); -x_4 = lean_ctor_get(x_1, 0); -lean_inc(x_4); -x_5 = lean_ctor_get(x_1, 1); -lean_inc(x_5); -x_6 = lean_ctor_get_uint64(x_1, sizeof(void*)*2); -x_7 = lean_box_uint64(x_6); -x_8 = lean_apply_4(x_2, x_1, x_4, x_5, x_7); -return x_8; -} -else -{ -lean_object* x_9; -lean_dec(x_2); -x_9 = lean_apply_1(x_3, x_1); -return x_9; -} -} -} -lean_object* l_Lean_Delaborator_delabProjectionApp_match__3(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabProjectionApp_match__3___rarg), 3, 0); -return x_2; -} -} -lean_object* l_Lean_Delaborator_delabProjectionApp___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -if (lean_obj_tag(x_1) == 5) -{ -lean_object* x_8; lean_object* x_9; -x_8 = lean_ctor_get(x_1, 0); -x_9 = l_Lean_Expr_getAppFn(x_8); -if (lean_obj_tag(x_9) == 4) -{ -lean_object* x_10; -x_10 = lean_ctor_get(x_9, 0); -lean_inc(x_10); -lean_dec(x_9); -if (lean_obj_tag(x_10) == 1) -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_11 = lean_ctor_get(x_10, 1); -lean_inc(x_11); -x_12 = lean_st_ref_get(x_6, x_7); -x_13 = lean_ctor_get(x_12, 0); -lean_inc(x_13); -x_14 = lean_ctor_get(x_12, 1); -lean_inc(x_14); -lean_dec(x_12); -x_15 = lean_ctor_get(x_13, 0); -lean_inc(x_15); -lean_dec(x_13); -x_16 = lean_get_projection_info(x_15, x_10); -if (lean_obj_tag(x_16) == 0) -{ -lean_object* x_17; -lean_dec(x_11); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_17 = l_Lean_Delaborator_failure___rarg(x_14); -return x_17; -} -else -{ -lean_object* x_18; uint8_t x_19; -x_18 = lean_ctor_get(x_16, 0); -lean_inc(x_18); -lean_dec(x_16); -x_19 = lean_ctor_get_uint8(x_18, sizeof(void*)*3); -if (x_19 == 0) -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_99; lean_object* x_100; uint8_t x_101; -x_20 = lean_unsigned_to_nat(0u); -x_21 = l_Lean_Expr_getAppNumArgsAux(x_1, x_20); -x_22 = lean_ctor_get(x_18, 1); -lean_inc(x_22); -lean_dec(x_18); -x_99 = lean_unsigned_to_nat(1u); -x_100 = lean_nat_add(x_22, x_99); -x_101 = lean_nat_dec_eq(x_21, x_100); -lean_dec(x_100); -lean_dec(x_21); -if (x_101 == 0) -{ -lean_object* x_102; uint8_t x_103; -lean_dec(x_22); -lean_dec(x_11); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_102 = l_Lean_Delaborator_failure___rarg(x_14); -x_103 = !lean_is_exclusive(x_102); -if (x_103 == 0) -{ -return x_102; -} -else -{ -lean_object* x_104; lean_object* x_105; lean_object* x_106; -x_104 = lean_ctor_get(x_102, 0); -x_105 = lean_ctor_get(x_102, 1); -lean_inc(x_105); -lean_inc(x_104); -lean_dec(x_102); -x_106 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_106, 0, x_104); -lean_ctor_set(x_106, 1, x_105); -return x_106; -} -} -else -{ -x_23 = x_14; -goto block_98; -} -block_98: -{ -lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; -x_24 = l_Lean_Delaborator_delabAppImplicit___closed__7; -lean_inc(x_2); -x_25 = l_Lean_Delaborator_getPPOption(x_24, x_2, x_3, x_4, x_5, x_6, x_23); -x_26 = lean_ctor_get(x_25, 0); -lean_inc(x_26); -x_27 = lean_unbox(x_26); -lean_dec(x_26); -if (x_27 == 0) -{ -lean_object* x_28; lean_object* x_29; lean_object* x_30; -lean_dec(x_22); -x_28 = lean_ctor_get(x_25, 1); -lean_inc(x_28); -lean_dec(x_25); -x_29 = l_Lean_Delaborator_delabAppMatch___lambda__2___closed__1; -x_30 = l_Lean_Delaborator_withAppArg___rarg(x_29, x_2, x_3, x_4, x_5, x_6, x_28); -if (lean_obj_tag(x_30) == 0) -{ -uint8_t x_31; -x_31 = !lean_is_exclusive(x_30); -if (x_31 == 0) -{ -lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; -x_32 = lean_ctor_get(x_30, 0); -x_33 = l_Array_empty___closed__1; -x_34 = lean_array_push(x_33, x_32); -x_35 = l_Lean_Delaborator_delabProj___closed__4; -x_36 = lean_array_push(x_34, x_35); -x_37 = lean_box(0); -x_38 = lean_name_mk_string(x_37, x_11); -x_39 = lean_mk_syntax_ident(x_38); -x_40 = lean_array_push(x_36, x_39); -x_41 = l_Lean_Delaborator_delabProj___closed__3; -x_42 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_42, 0, x_41); -lean_ctor_set(x_42, 1, x_40); -lean_ctor_set(x_30, 0, x_42); -return x_30; -} -else -{ -lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; -x_43 = lean_ctor_get(x_30, 0); -x_44 = lean_ctor_get(x_30, 1); -lean_inc(x_44); -lean_inc(x_43); -lean_dec(x_30); -x_45 = l_Array_empty___closed__1; -x_46 = lean_array_push(x_45, x_43); -x_47 = l_Lean_Delaborator_delabProj___closed__4; -x_48 = lean_array_push(x_46, x_47); -x_49 = lean_box(0); -x_50 = lean_name_mk_string(x_49, x_11); -x_51 = lean_mk_syntax_ident(x_50); -x_52 = lean_array_push(x_48, x_51); -x_53 = l_Lean_Delaborator_delabProj___closed__3; -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_alloc_ctor(0, 2, 0); -lean_ctor_set(x_55, 0, x_54); -lean_ctor_set(x_55, 1, x_44); -return x_55; -} -} -else -{ -uint8_t x_56; -lean_dec(x_11); -x_56 = !lean_is_exclusive(x_30); -if (x_56 == 0) -{ -return x_30; -} -else -{ -lean_object* x_57; lean_object* x_58; lean_object* x_59; -x_57 = lean_ctor_get(x_30, 0); -x_58 = lean_ctor_get(x_30, 1); -lean_inc(x_58); -lean_inc(x_57); -lean_dec(x_30); -x_59 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_59, 0, x_57); -lean_ctor_set(x_59, 1, x_58); -return x_59; -} -} -} -else -{ -lean_object* x_60; uint8_t x_61; -x_60 = lean_ctor_get(x_25, 1); -lean_inc(x_60); -lean_dec(x_25); -x_61 = lean_nat_dec_eq(x_22, x_20); -lean_dec(x_22); -if (x_61 == 0) -{ -lean_object* x_62; uint8_t x_63; -lean_dec(x_11); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_62 = l_Lean_Delaborator_failure___rarg(x_60); -x_63 = !lean_is_exclusive(x_62); -if (x_63 == 0) -{ -return x_62; -} -else -{ -lean_object* x_64; lean_object* x_65; lean_object* x_66; -x_64 = lean_ctor_get(x_62, 0); -x_65 = lean_ctor_get(x_62, 1); -lean_inc(x_65); -lean_inc(x_64); -lean_dec(x_62); -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; -} -} -else -{ -lean_object* x_67; lean_object* x_68; -x_67 = l_Lean_Delaborator_delabAppMatch___lambda__2___closed__1; -x_68 = l_Lean_Delaborator_withAppArg___rarg(x_67, x_2, x_3, x_4, x_5, x_6, x_60); -if (lean_obj_tag(x_68) == 0) -{ -uint8_t x_69; -x_69 = !lean_is_exclusive(x_68); -if (x_69 == 0) -{ -lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; -x_70 = lean_ctor_get(x_68, 0); -x_71 = l_Array_empty___closed__1; -x_72 = lean_array_push(x_71, x_70); -x_73 = l_Lean_Delaborator_delabProj___closed__4; -x_74 = lean_array_push(x_72, x_73); -x_75 = lean_box(0); -x_76 = lean_name_mk_string(x_75, x_11); -x_77 = lean_mk_syntax_ident(x_76); -x_78 = lean_array_push(x_74, x_77); -x_79 = l_Lean_Delaborator_delabProj___closed__3; -x_80 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_80, 0, x_79); -lean_ctor_set(x_80, 1, x_78); -lean_ctor_set(x_68, 0, x_80); -return x_68; -} -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; 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_81 = lean_ctor_get(x_68, 0); -x_82 = lean_ctor_get(x_68, 1); -lean_inc(x_82); -lean_inc(x_81); -lean_dec(x_68); -x_83 = l_Array_empty___closed__1; -x_84 = lean_array_push(x_83, x_81); -x_85 = l_Lean_Delaborator_delabProj___closed__4; -x_86 = lean_array_push(x_84, x_85); -x_87 = lean_box(0); -x_88 = lean_name_mk_string(x_87, x_11); -x_89 = lean_mk_syntax_ident(x_88); -x_90 = lean_array_push(x_86, x_89); -x_91 = l_Lean_Delaborator_delabProj___closed__3; -x_92 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_92, 0, x_91); -lean_ctor_set(x_92, 1, x_90); -x_93 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_93, 0, x_92); -lean_ctor_set(x_93, 1, x_82); -return x_93; -} -} -else -{ -uint8_t x_94; -lean_dec(x_11); -x_94 = !lean_is_exclusive(x_68); -if (x_94 == 0) -{ -return x_68; -} -else -{ -lean_object* x_95; lean_object* x_96; lean_object* x_97; -x_95 = lean_ctor_get(x_68, 0); -x_96 = lean_ctor_get(x_68, 1); -lean_inc(x_96); -lean_inc(x_95); -lean_dec(x_68); -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_107; uint8_t x_108; -lean_dec(x_18); -lean_dec(x_11); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_107 = l_Lean_Delaborator_failure___rarg(x_14); -x_108 = !lean_is_exclusive(x_107); -if (x_108 == 0) -{ -return x_107; -} -else -{ -lean_object* x_109; lean_object* x_110; lean_object* x_111; -x_109 = lean_ctor_get(x_107, 0); -x_110 = lean_ctor_get(x_107, 1); -lean_inc(x_110); -lean_inc(x_109); -lean_dec(x_107); -x_111 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_111, 0, x_109); -lean_ctor_set(x_111, 1, x_110); -return x_111; -} -} -} -} -else -{ -lean_object* x_112; -lean_dec(x_10); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_112 = l_Lean_Delaborator_failure___rarg(x_7); -return x_112; -} -} -else -{ -lean_object* x_113; -lean_dec(x_9); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_113 = l_Lean_Delaborator_failure___rarg(x_7); -return x_113; -} -} -else -{ -lean_object* x_114; -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_114 = l_Lean_Delaborator_failure___rarg(x_7); -return x_114; -} -} -} -static lean_object* _init_l_Lean_Delaborator_delabProjectionApp___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabProjectionApp___lambda__1___boxed), 7, 0); -return x_1; -} -} -static lean_object* _init_l_Lean_Delaborator_delabProjectionApp___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Delaborator_delabAppExplicit___closed__1; -x_2 = l_Lean_Delaborator_delabProjectionApp___closed__1; -x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Delaborator_delabAppExplicit___spec__2___rarg), 8, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Delaborator_delabProjectionApp___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_getPPStructureProjections___boxed), 1, 0); -return x_1; -} -} -lean_object* l_Lean_Delaborator_delabProjectionApp(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; lean_object* x_8; lean_object* x_9; -x_7 = l_Lean_Delaborator_delabProjectionApp___closed__3; -x_8 = l_Lean_Delaborator_delabProjectionApp___closed__2; -x_9 = l_Lean_Delaborator_whenPPOption(x_7, x_8, x_1, x_2, x_3, x_4, x_5, x_6); -return x_9; -} -} -lean_object* l_Lean_Delaborator_delabProjectionApp___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; -x_8 = l_Lean_Delaborator_delabProjectionApp___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); -lean_dec(x_1); -return x_8; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabProjectionApp___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabProjectionApp), 6, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Delaborator_delabProjectionApp(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_Delaborator_delabAttribute; -x_3 = l_Lean_Delaborator_getExprKind___closed__5; -x_4 = l___regBuiltin_Lean_Delaborator_delabProjectionApp___closed__1; -x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); -return x_5; -} -} -lean_object* l_Lean_Delaborator_delabStructureInstance_match__1___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_Lean_Delaborator_delabStructureInstance_match__1(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabStructureInstance_match__1___rarg), 2, 0); -return x_2; -} -} -lean_object* l_Lean_Delaborator_delabStructureInstance_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_Lean_Delaborator_delabStructureInstance_match__2(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabStructureInstance_match__2___rarg), 2, 0); -return x_2; -} -} -lean_object* l_Lean_Delaborator_delabStructureInstance_match__3___rarg(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_2); -x_4 = lean_apply_1(x_3, x_1); -return x_4; -} -else -{ -lean_object* x_5; lean_object* x_6; -lean_dec(x_3); -x_5 = lean_ctor_get(x_1, 0); -lean_inc(x_5); -lean_dec(x_1); -x_6 = lean_apply_1(x_2, x_5); -return x_6; -} -} -} -lean_object* l_Lean_Delaborator_delabStructureInstance_match__3(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabStructureInstance_match__3___rarg), 3, 0); -return x_2; -} -} -static lean_object* _init_l_Array_mapIdxM_map___at_Lean_Delaborator_delabStructureInstance___spec__1___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_mkOptionalNode___closed__2; -x_2 = l_Lean_Delaborator_delabConst___lambda__1___closed__6; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Array_mapIdxM_map___at_Lean_Delaborator_delabStructureInstance___spec__1___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_nullKind; -x_2 = l_Array_mapIdxM_map___at_Lean_Delaborator_delabStructureInstance___spec__1___closed__1; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -lean_object* l_Array_mapIdxM_map___at_Lean_Delaborator_delabStructureInstance___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; uint8_t x_9; -x_8 = lean_unsigned_to_nat(0u); -x_9 = lean_nat_dec_eq(x_4, x_8); -if (x_9 == 0) -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_10 = lean_unsigned_to_nat(1u); -x_11 = lean_nat_sub(x_4, x_10); -lean_dec(x_4); -x_12 = lean_array_fget(x_3, x_5); -x_13 = lean_array_get_size(x_2); -x_14 = lean_nat_sub(x_13, x_10); -lean_dec(x_13); -x_15 = lean_nat_dec_lt(x_5, x_14); -lean_dec(x_14); -x_16 = l_Lean_Syntax_mkApp___closed__1; -x_17 = lean_array_push(x_16, x_12); -x_18 = lean_nat_add(x_5, x_10); -lean_dec(x_5); -if (x_15 == 0) -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; -x_19 = l_Lean_nullKind; -lean_inc(x_1); -x_20 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_20, 0, x_19); -lean_ctor_set(x_20, 1, x_1); -x_21 = lean_array_push(x_17, x_20); -x_22 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_22, 0, x_19); -lean_ctor_set(x_22, 1, x_21); -x_23 = lean_array_push(x_7, x_22); -x_4 = x_11; -x_5 = x_18; -x_6 = lean_box(0); -x_7 = x_23; -goto _start; -} -else -{ -lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_25 = l_Array_mapIdxM_map___at_Lean_Delaborator_delabStructureInstance___spec__1___closed__2; -x_26 = lean_array_push(x_17, x_25); -x_27 = l_Lean_nullKind; -x_28 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_28, 0, x_27); -lean_ctor_set(x_28, 1, x_26); -x_29 = lean_array_push(x_7, x_28); -x_4 = x_11; -x_5 = x_18; -x_6 = lean_box(0); -x_7 = x_29; -goto _start; -} -} -else -{ -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_1); -return x_7; -} -} -} -lean_object* l_Array_mapIdxM_map___at_Lean_Delaborator_delabStructureInstance___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; uint8_t x_9; -x_8 = lean_unsigned_to_nat(0u); -x_9 = lean_nat_dec_eq(x_4, x_8); -if (x_9 == 0) -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_10 = lean_unsigned_to_nat(1u); -x_11 = lean_nat_sub(x_4, x_10); -lean_dec(x_4); -x_12 = lean_array_fget(x_3, x_5); -x_13 = lean_array_get_size(x_2); -x_14 = lean_nat_sub(x_13, x_10); -lean_dec(x_13); -x_15 = lean_nat_dec_lt(x_5, x_14); -lean_dec(x_14); -x_16 = l_Lean_Syntax_mkApp___closed__1; -x_17 = lean_array_push(x_16, x_12); -x_18 = lean_nat_add(x_5, x_10); -lean_dec(x_5); -if (x_15 == 0) -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; -x_19 = l_Lean_nullKind; -lean_inc(x_1); -x_20 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_20, 0, x_19); -lean_ctor_set(x_20, 1, x_1); -x_21 = lean_array_push(x_17, x_20); -x_22 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_22, 0, x_19); -lean_ctor_set(x_22, 1, x_21); -x_23 = lean_array_push(x_7, x_22); -x_4 = x_11; -x_5 = x_18; -x_6 = lean_box(0); -x_7 = x_23; -goto _start; -} -else -{ -lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_25 = l_Array_mapIdxM_map___at_Lean_Delaborator_delabStructureInstance___spec__1___closed__2; -x_26 = lean_array_push(x_17, x_25); -x_27 = l_Lean_nullKind; -x_28 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_28, 0, x_27); -lean_ctor_set(x_28, 1, x_26); -x_29 = lean_array_push(x_7, x_28); -x_4 = x_11; -x_5 = x_18; -x_6 = lean_box(0); -x_7 = x_29; -goto _start; -} -} -else -{ -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_1); -return x_7; -} -} -} -lean_object* l_Lean_Delaborator_delabStructureInstance___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; uint8_t x_8; -x_7 = lean_st_ref_get(x_5, x_6); -x_8 = !lean_is_exclusive(x_7); -if (x_8 == 0) -{ -lean_object* x_9; lean_object* x_10; -x_9 = lean_ctor_get(x_7, 0); -x_10 = lean_ctor_get(x_9, 0); -lean_inc(x_10); -lean_dec(x_9); -lean_ctor_set(x_7, 0, x_10); -return x_7; -} -else -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_11 = lean_ctor_get(x_7, 0); -x_12 = lean_ctor_get(x_7, 1); -lean_inc(x_12); -lean_inc(x_11); -lean_dec(x_7); -x_13 = lean_ctor_get(x_11, 0); -lean_inc(x_13); -lean_dec(x_11); -x_14 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_14, 0, x_13); -lean_ctor_set(x_14, 1, x_12); -return x_14; -} -} -} -static lean_object* _init_l_Lean_Delaborator_delabStructureInstance___lambda__2___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_myMacro____x40_Init_Notation___hyg_8830____closed__13; -x_2 = l_Lean_mkAtom(x_1); -return x_2; -} -} -lean_object* l_Lean_Delaborator_delabStructureInstance___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -uint8_t x_11; -x_11 = !lean_is_exclusive(x_4); -if (x_11 == 0) -{ -lean_object* x_12; lean_object* x_13; uint8_t x_14; -x_12 = lean_ctor_get(x_4, 0); -x_13 = lean_ctor_get(x_4, 1); -x_14 = lean_nat_dec_lt(x_12, x_1); -if (x_14 == 0) -{ -lean_object* x_15; -x_15 = l_Lean_Delaborator_delab(x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_15) == 0) -{ -uint8_t x_16; -x_16 = !lean_is_exclusive(x_15); -if (x_16 == 0) -{ -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; -x_17 = lean_ctor_get(x_15, 0); -x_18 = lean_nat_sub(x_12, x_1); -x_19 = l_Lean_instInhabitedName; -x_20 = lean_array_get(x_19, x_2, x_18); -lean_dec(x_18); -x_21 = lean_mk_syntax_ident(x_20); -x_22 = l_Lean_nullKind; -x_23 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_23, 0, x_22); -lean_ctor_set(x_23, 1, x_3); -x_24 = l_Std_PersistentHashMap_mkCollisionNode___rarg___closed__1; -x_25 = lean_array_push(x_24, x_21); -x_26 = lean_array_push(x_25, x_23); -x_27 = l_Lean_Delaborator_delabStructureInstance___lambda__2___closed__1; -x_28 = lean_array_push(x_26, x_27); -x_29 = lean_array_push(x_28, x_17); -x_30 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__7; -x_31 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_31, 0, x_30); -lean_ctor_set(x_31, 1, x_29); -x_32 = lean_unsigned_to_nat(1u); -x_33 = lean_nat_add(x_12, x_32); -lean_dec(x_12); -x_34 = lean_array_push(x_13, x_31); -lean_ctor_set(x_4, 1, x_34); -lean_ctor_set(x_4, 0, x_33); -lean_ctor_set(x_15, 0, x_4); -return x_15; -} -else -{ -lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; -x_35 = lean_ctor_get(x_15, 0); -x_36 = lean_ctor_get(x_15, 1); -lean_inc(x_36); -lean_inc(x_35); -lean_dec(x_15); -x_37 = lean_nat_sub(x_12, x_1); -x_38 = l_Lean_instInhabitedName; -x_39 = lean_array_get(x_38, x_2, x_37); -lean_dec(x_37); -x_40 = lean_mk_syntax_ident(x_39); -x_41 = l_Lean_nullKind; -x_42 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_42, 0, x_41); -lean_ctor_set(x_42, 1, x_3); -x_43 = l_Std_PersistentHashMap_mkCollisionNode___rarg___closed__1; -x_44 = lean_array_push(x_43, x_40); -x_45 = lean_array_push(x_44, x_42); -x_46 = l_Lean_Delaborator_delabStructureInstance___lambda__2___closed__1; -x_47 = lean_array_push(x_45, x_46); -x_48 = lean_array_push(x_47, x_35); -x_49 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__7; -x_50 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_50, 0, x_49); -lean_ctor_set(x_50, 1, x_48); -x_51 = lean_unsigned_to_nat(1u); -x_52 = lean_nat_add(x_12, x_51); -lean_dec(x_12); -x_53 = lean_array_push(x_13, x_50); -lean_ctor_set(x_4, 1, x_53); -lean_ctor_set(x_4, 0, x_52); -x_54 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_54, 0, x_4); -lean_ctor_set(x_54, 1, x_36); -return x_54; -} -} -else -{ -uint8_t x_55; -lean_free_object(x_4); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_3); -x_55 = !lean_is_exclusive(x_15); -if (x_55 == 0) -{ -return x_15; -} -else -{ -lean_object* x_56; lean_object* x_57; lean_object* x_58; -x_56 = lean_ctor_get(x_15, 0); -x_57 = lean_ctor_get(x_15, 1); -lean_inc(x_57); -lean_inc(x_56); -lean_dec(x_15); -x_58 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_58, 0, x_56); -lean_ctor_set(x_58, 1, x_57); -return x_58; -} -} -} -else -{ -lean_object* x_59; lean_object* x_60; lean_object* x_61; -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_3); -x_59 = lean_unsigned_to_nat(1u); -x_60 = lean_nat_add(x_12, x_59); -lean_dec(x_12); -lean_ctor_set(x_4, 0, x_60); -x_61 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_61, 0, x_4); -lean_ctor_set(x_61, 1, x_10); -return x_61; -} -} -else -{ -lean_object* x_62; lean_object* x_63; uint8_t x_64; -x_62 = lean_ctor_get(x_4, 0); -x_63 = lean_ctor_get(x_4, 1); -lean_inc(x_63); -lean_inc(x_62); -lean_dec(x_4); -x_64 = lean_nat_dec_lt(x_62, x_1); -if (x_64 == 0) -{ -lean_object* x_65; -x_65 = l_Lean_Delaborator_delab(x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_65) == 0) -{ -lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; -x_66 = lean_ctor_get(x_65, 0); -lean_inc(x_66); -x_67 = lean_ctor_get(x_65, 1); -lean_inc(x_67); -if (lean_is_exclusive(x_65)) { - lean_ctor_release(x_65, 0); - lean_ctor_release(x_65, 1); - x_68 = x_65; -} else { - lean_dec_ref(x_65); - x_68 = lean_box(0); -} -x_69 = lean_nat_sub(x_62, x_1); -x_70 = l_Lean_instInhabitedName; -x_71 = lean_array_get(x_70, x_2, x_69); -lean_dec(x_69); -x_72 = lean_mk_syntax_ident(x_71); -x_73 = l_Lean_nullKind; -x_74 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_74, 0, x_73); -lean_ctor_set(x_74, 1, x_3); -x_75 = l_Std_PersistentHashMap_mkCollisionNode___rarg___closed__1; -x_76 = lean_array_push(x_75, x_72); -x_77 = lean_array_push(x_76, x_74); -x_78 = l_Lean_Delaborator_delabStructureInstance___lambda__2___closed__1; -x_79 = lean_array_push(x_77, x_78); -x_80 = lean_array_push(x_79, x_66); -x_81 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__7; -x_82 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_82, 0, x_81); -lean_ctor_set(x_82, 1, x_80); -x_83 = lean_unsigned_to_nat(1u); -x_84 = lean_nat_add(x_62, x_83); -lean_dec(x_62); -x_85 = lean_array_push(x_63, x_82); -x_86 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_86, 0, x_84); -lean_ctor_set(x_86, 1, x_85); -if (lean_is_scalar(x_68)) { - x_87 = lean_alloc_ctor(0, 2, 0); -} else { - x_87 = x_68; -} -lean_ctor_set(x_87, 0, x_86); -lean_ctor_set(x_87, 1, x_67); -return x_87; -} -else -{ -lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; -lean_dec(x_63); -lean_dec(x_62); -lean_dec(x_3); -x_88 = lean_ctor_get(x_65, 0); -lean_inc(x_88); -x_89 = lean_ctor_get(x_65, 1); -lean_inc(x_89); -if (lean_is_exclusive(x_65)) { - lean_ctor_release(x_65, 0); - lean_ctor_release(x_65, 1); - x_90 = x_65; -} else { - lean_dec_ref(x_65); - x_90 = lean_box(0); -} -if (lean_is_scalar(x_90)) { - x_91 = lean_alloc_ctor(1, 2, 0); -} else { - x_91 = x_90; -} -lean_ctor_set(x_91, 0, x_88); -lean_ctor_set(x_91, 1, x_89); -return x_91; -} -} -else -{ -lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_3); -x_92 = lean_unsigned_to_nat(1u); -x_93 = lean_nat_add(x_62, x_92); -lean_dec(x_62); -x_94 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_94, 0, x_93); -lean_ctor_set(x_94, 1, x_63); -x_95 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_95, 0, x_94); -lean_ctor_set(x_95, 1, x_10); -return x_95; -} -} -} -} -static lean_object* _init_l_Lean_Delaborator_delabStructureInstance___lambda__3___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(0u); -x_2 = l_Array_empty___closed__1; -x_3 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Delaborator_delabStructureInstance___lambda__3___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Delaborator_delabStructureInstance___lambda__3___closed__1; -x_2 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Delaborator_instMonadQuotationDelabM___spec__1___rarg___boxed), 7, 1); -lean_closure_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Delaborator_delabStructureInstance___lambda__3___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_getPPStructureInstanceType___boxed), 1, 0); -return x_1; -} -} -static lean_object* _init_l_Lean_Delaborator_delabStructureInstance___lambda__3___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_addParenHeuristic___closed__1; -x_2 = l_Lean_mkAtom(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Delaborator_delabStructureInstance___lambda__3___closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__20; -x_2 = l_Lean_mkAtom(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Delaborator_delabStructureInstance___lambda__3___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkEqNDRecImp___closed__6; -x_2 = l_Lean_Delaborator_delabStructureInstance___lambda__3___closed__4; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Delaborator_delabStructureInstance___lambda__3___closed__7() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Delaborator_delabStructureInstance___lambda__3___closed__6; -x_2 = l_Lean_mkOptionalNode___closed__1; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -lean_object* l_Lean_Delaborator_delabStructureInstance___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; -x_8 = l_Lean_Delaborator_getExpr(x_2, x_3, x_4, x_5, x_6, x_7); -x_9 = lean_ctor_get(x_8, 0); -lean_inc(x_9); -x_10 = lean_ctor_get(x_8, 1); -lean_inc(x_10); -lean_dec(x_8); -lean_inc(x_1); -x_11 = l_Lean_Expr_isConstructorApp_x3f(x_1, x_9); -if (lean_obj_tag(x_11) == 0) -{ -lean_object* x_12; -lean_dec(x_9); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_12 = l_Lean_Delaborator_failure___rarg(x_10); -return x_12; -} -else -{ -lean_object* x_13; lean_object* x_14; uint8_t x_15; -x_13 = lean_ctor_get(x_11, 0); -lean_inc(x_13); -lean_dec(x_11); -x_14 = lean_ctor_get(x_13, 1); -lean_inc(x_14); -lean_inc(x_14); -lean_inc(x_1); -x_15 = l_Lean_isStructure(x_1, x_14); -if (x_15 == 0) -{ -lean_object* x_16; uint8_t x_17; -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_9); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_16 = l_Lean_Delaborator_failure___rarg(x_10); -x_17 = !lean_is_exclusive(x_16); -if (x_17 == 0) -{ -return x_16; -} -else -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_18 = lean_ctor_get(x_16, 0); -x_19 = lean_ctor_get(x_16, 1); -lean_inc(x_19); -lean_inc(x_18); -lean_dec(x_16); -x_20 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_20, 0, x_18); -lean_ctor_set(x_20, 1, x_19); -return x_20; -} -} -else -{ -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_122; -x_21 = l_Lean_Delaborator_delabAppImplicit___closed__7; -lean_inc(x_2); -x_22 = l_Lean_Delaborator_getPPOption(x_21, x_2, x_3, x_4, x_5, x_6, x_10); -x_23 = lean_ctor_get(x_22, 0); -lean_inc(x_23); -x_24 = lean_ctor_get(x_22, 1); -lean_inc(x_24); -lean_dec(x_22); -x_25 = lean_ctor_get(x_13, 3); -lean_inc(x_25); -lean_dec(x_13); -x_122 = lean_unbox(x_23); -lean_dec(x_23); -if (x_122 == 0) -{ -x_26 = x_24; -goto block_121; -} -else -{ -lean_object* x_123; uint8_t x_124; -x_123 = lean_unsigned_to_nat(0u); -x_124 = lean_nat_dec_lt(x_123, x_25); -if (x_124 == 0) -{ -x_26 = x_24; -goto block_121; -} -else -{ -lean_object* x_125; uint8_t x_126; -lean_dec(x_25); -lean_dec(x_14); -lean_dec(x_9); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_125 = l_Lean_Delaborator_failure___rarg(x_24); -x_126 = !lean_is_exclusive(x_125); -if (x_126 == 0) -{ -return x_125; -} -else -{ -lean_object* x_127; lean_object* x_128; lean_object* x_129; -x_127 = lean_ctor_get(x_125, 0); -x_128 = lean_ctor_get(x_125, 1); -lean_inc(x_128); -lean_inc(x_127); -lean_dec(x_125); -x_129 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_129, 0, x_127); -lean_ctor_set(x_129, 1, x_128); -return x_129; -} -} -} -block_121: -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_27 = l_Lean_getStructureFields(x_1, x_14); -x_28 = l_Array_empty___closed__1; -x_29 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabStructureInstance___lambda__2___boxed), 10, 3); -lean_closure_set(x_29, 0, x_25); -lean_closure_set(x_29, 1, x_27); -lean_closure_set(x_29, 2, x_28); -x_30 = l_Lean_Delaborator_delabStructureInstance___lambda__3___closed__2; -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); -x_31 = l_Lean_Delaborator_withAppFnArgs___rarg(x_30, x_29, x_2, x_3, x_4, x_5, x_6, x_26); -if (lean_obj_tag(x_31) == 0) -{ -lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; uint8_t x_42; -x_32 = lean_ctor_get(x_31, 0); -lean_inc(x_32); -x_33 = lean_ctor_get(x_31, 1); -lean_inc(x_33); -lean_dec(x_31); -x_34 = lean_ctor_get(x_32, 1); -lean_inc(x_34); -lean_dec(x_32); -x_35 = lean_array_get_size(x_34); -x_36 = lean_mk_empty_array_with_capacity(x_35); -x_37 = lean_unsigned_to_nat(0u); -x_38 = l_Array_mapIdxM_map___at_Lean_Delaborator_delabStructureInstance___spec__2(x_28, x_34, x_34, x_35, x_37, lean_box(0), x_36); -lean_dec(x_34); -x_39 = l_Lean_Delaborator_delabStructureInstance___lambda__3___closed__3; -lean_inc(x_2); -x_40 = l_Lean_Delaborator_getPPOption(x_39, x_2, x_3, x_4, x_5, x_6, x_33); -x_41 = lean_ctor_get(x_40, 0); -lean_inc(x_41); -x_42 = lean_unbox(x_41); -lean_dec(x_41); -if (x_42 == 0) -{ -uint8_t x_43; -lean_dec(x_9); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_43 = !lean_is_exclusive(x_40); -if (x_43 == 0) -{ -lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; -x_44 = lean_ctor_get(x_40, 0); -lean_dec(x_44); -x_45 = l_Lean_nullKind; -x_46 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_46, 0, x_45); -lean_ctor_set(x_46, 1, x_38); -x_47 = l_Lean_Delaborator_delabStructureInstance___lambda__3___closed__7; -x_48 = lean_array_push(x_47, x_46); -x_49 = l_Lean_mkOptionalNode___closed__1; -x_50 = lean_array_push(x_48, x_49); -x_51 = lean_array_push(x_50, x_49); -x_52 = l_Lean_Delaborator_delabStructureInstance___lambda__3___closed__5; -x_53 = lean_array_push(x_51, x_52); -x_54 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__2; -x_55 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_55, 0, x_54); -lean_ctor_set(x_55, 1, x_53); -lean_ctor_set(x_40, 0, x_55); -return x_40; -} -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; lean_object* x_68; -x_56 = lean_ctor_get(x_40, 1); -lean_inc(x_56); -lean_dec(x_40); -x_57 = l_Lean_nullKind; -x_58 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_58, 0, x_57); -lean_ctor_set(x_58, 1, x_38); -x_59 = l_Lean_Delaborator_delabStructureInstance___lambda__3___closed__7; -x_60 = lean_array_push(x_59, x_58); -x_61 = l_Lean_mkOptionalNode___closed__1; -x_62 = lean_array_push(x_60, x_61); -x_63 = lean_array_push(x_62, x_61); -x_64 = l_Lean_Delaborator_delabStructureInstance___lambda__3___closed__5; -x_65 = lean_array_push(x_63, x_64); -x_66 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__2; -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_alloc_ctor(0, 2, 0); -lean_ctor_set(x_68, 0, x_67); -lean_ctor_set(x_68, 1, x_56); -return x_68; -} -} -else -{ -lean_object* x_69; lean_object* x_70; -x_69 = lean_ctor_get(x_40, 1); -lean_inc(x_69); -lean_dec(x_40); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -x_70 = l_Lean_Meta_inferType___at___private_Lean_Delaborator_0__Lean_Delaborator_delabPatterns___spec__2(x_9, x_2, x_3, x_4, x_5, x_6, x_69); -if (lean_obj_tag(x_70) == 0) -{ -lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; -x_71 = lean_ctor_get(x_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_unsigned_to_nat(2u); -x_74 = l_Lean_Delaborator_delabAppMatch___lambda__2___closed__1; -x_75 = l_Lean_Delaborator_descend___rarg(x_71, x_73, x_74, x_2, x_3, x_4, x_5, x_6, x_72); -if (lean_obj_tag(x_75) == 0) -{ -uint8_t x_76; -x_76 = !lean_is_exclusive(x_75); -if (x_76 == 0) -{ -lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; -x_77 = lean_ctor_get(x_75, 0); -x_78 = l_Lean_nullKind; -x_79 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_79, 0, x_78); -lean_ctor_set(x_79, 1, x_38); -x_80 = l_Lean_Elab_Term_mkExplicitBinder___closed__5; -x_81 = lean_array_push(x_80, x_77); -x_82 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_82, 0, x_78); -lean_ctor_set(x_82, 1, x_81); -x_83 = l_Lean_Delaborator_delabStructureInstance___lambda__3___closed__7; -x_84 = lean_array_push(x_83, x_79); -x_85 = l_Lean_mkOptionalNode___closed__1; -x_86 = lean_array_push(x_84, x_85); -x_87 = lean_array_push(x_86, x_82); -x_88 = l_Lean_Delaborator_delabStructureInstance___lambda__3___closed__5; -x_89 = lean_array_push(x_87, x_88); -x_90 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__2; -x_91 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_91, 0, x_90); -lean_ctor_set(x_91, 1, x_89); -lean_ctor_set(x_75, 0, x_91); -return x_75; -} -else -{ -lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; -x_92 = lean_ctor_get(x_75, 0); -x_93 = lean_ctor_get(x_75, 1); -lean_inc(x_93); -lean_inc(x_92); -lean_dec(x_75); -x_94 = l_Lean_nullKind; -x_95 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_95, 0, x_94); -lean_ctor_set(x_95, 1, x_38); -x_96 = l_Lean_Elab_Term_mkExplicitBinder___closed__5; -x_97 = lean_array_push(x_96, x_92); -x_98 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_98, 0, x_94); -lean_ctor_set(x_98, 1, x_97); -x_99 = l_Lean_Delaborator_delabStructureInstance___lambda__3___closed__7; -x_100 = lean_array_push(x_99, x_95); -x_101 = l_Lean_mkOptionalNode___closed__1; -x_102 = lean_array_push(x_100, x_101); -x_103 = lean_array_push(x_102, x_98); -x_104 = l_Lean_Delaborator_delabStructureInstance___lambda__3___closed__5; -x_105 = lean_array_push(x_103, x_104); -x_106 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__2; -x_107 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_107, 0, x_106); -lean_ctor_set(x_107, 1, x_105); -x_108 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_108, 0, x_107); -lean_ctor_set(x_108, 1, x_93); -return x_108; -} -} -else -{ -uint8_t x_109; -lean_dec(x_38); -x_109 = !lean_is_exclusive(x_75); -if (x_109 == 0) -{ -return x_75; -} -else -{ -lean_object* x_110; lean_object* x_111; lean_object* x_112; -x_110 = lean_ctor_get(x_75, 0); -x_111 = lean_ctor_get(x_75, 1); -lean_inc(x_111); -lean_inc(x_110); -lean_dec(x_75); -x_112 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_112, 0, x_110); -lean_ctor_set(x_112, 1, x_111); -return x_112; -} -} -} -else -{ -uint8_t x_113; -lean_dec(x_38); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_113 = !lean_is_exclusive(x_70); -if (x_113 == 0) -{ -return x_70; -} -else -{ -lean_object* x_114; lean_object* x_115; lean_object* x_116; -x_114 = lean_ctor_get(x_70, 0); -x_115 = lean_ctor_get(x_70, 1); -lean_inc(x_115); -lean_inc(x_114); -lean_dec(x_70); -x_116 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_116, 0, x_114); -lean_ctor_set(x_116, 1, x_115); -return x_116; -} -} -} -} -else -{ -uint8_t x_117; -lean_dec(x_9); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_117 = !lean_is_exclusive(x_31); -if (x_117 == 0) -{ -return x_31; -} -else -{ -lean_object* x_118; lean_object* x_119; lean_object* x_120; -x_118 = lean_ctor_get(x_31, 0); -x_119 = lean_ctor_get(x_31, 1); -lean_inc(x_119); -lean_inc(x_118); -lean_dec(x_31); -x_120 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_120, 0, x_118); -lean_ctor_set(x_120, 1, x_119); -return x_120; -} -} -} -} -} -} -} -static lean_object* _init_l_Lean_Delaborator_delabStructureInstance___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabStructureInstance___lambda__1___boxed), 6, 0); -return x_1; -} -} -static lean_object* _init_l_Lean_Delaborator_delabStructureInstance___closed__2() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabStructureInstance___lambda__3), 7, 0); -return x_1; -} -} -static lean_object* _init_l_Lean_Delaborator_delabStructureInstance___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Delaborator_delabStructureInstance___closed__1; -x_2 = l_Lean_Delaborator_delabStructureInstance___closed__2; -x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Delaborator_delabAppExplicit___spec__2___rarg), 8, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Delaborator_delabStructureInstance___closed__4() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_getPPStructureInstances___boxed), 1, 0); -return x_1; -} -} -lean_object* l_Lean_Delaborator_delabStructureInstance(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; lean_object* x_8; lean_object* x_9; -x_7 = l_Lean_Delaborator_delabStructureInstance___closed__4; -x_8 = l_Lean_Delaborator_delabStructureInstance___closed__3; -x_9 = l_Lean_Delaborator_whenPPOption(x_7, x_8, x_1, x_2, x_3, x_4, x_5, x_6); -return x_9; -} -} -lean_object* l_Array_mapIdxM_map___at_Lean_Delaborator_delabStructureInstance___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) { -_start: -{ -lean_object* x_8; -x_8 = l_Array_mapIdxM_map___at_Lean_Delaborator_delabStructureInstance___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); -lean_dec(x_3); -lean_dec(x_2); -return x_8; -} -} -lean_object* l_Array_mapIdxM_map___at_Lean_Delaborator_delabStructureInstance___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; -x_8 = l_Array_mapIdxM_map___at_Lean_Delaborator_delabStructureInstance___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7); -lean_dec(x_3); -lean_dec(x_2); -return x_8; -} -} -lean_object* l_Lean_Delaborator_delabStructureInstance___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; -x_7 = l_Lean_Delaborator_delabStructureInstance___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_7; -} -} -lean_object* l_Lean_Delaborator_delabStructureInstance___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; -x_11 = l_Lean_Delaborator_delabStructureInstance___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_2); -lean_dec(x_1); -return x_11; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabStructureInstance___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabStructureInstance), 6, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Delaborator_delabStructureInstance(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_Delaborator_delabAttribute; -x_3 = l_Lean_Delaborator_getExprKind___closed__5; -x_4 = l___regBuiltin_Lean_Delaborator_delabStructureInstance___closed__1; -x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); -return x_5; -} -} -static lean_object* _init_l_Lean_Delaborator_delabTuple___lambda__1___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Delaborator_delabAppMatch___lambda__2___closed__1; -x_2 = lean_alloc_closure((void*)(l_Lean_Delaborator_withAppArg___rarg), 7, 1); -lean_closure_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Delaborator_delabTuple___lambda__1___closed__2() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("tupleTail"); -return x_1; -} -} -static lean_object* _init_l_Lean_Delaborator_delabTuple___lambda__1___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_38____closed__6; -x_2 = l_Lean_Delaborator_delabTuple___lambda__1___closed__2; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -lean_object* l_Lean_Delaborator_delabTuple___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; lean_object* x_200; lean_object* x_201; lean_object* x_202; uint8_t x_203; -x_200 = lean_unsigned_to_nat(0u); -x_201 = l_Lean_Expr_getAppNumArgsAux(x_1, x_200); -x_202 = lean_unsigned_to_nat(4u); -x_203 = lean_nat_dec_eq(x_201, x_202); -lean_dec(x_201); -if (x_203 == 0) -{ -lean_object* x_204; uint8_t x_205; -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_204 = l_Lean_Delaborator_failure___rarg(x_7); -x_205 = !lean_is_exclusive(x_204); -if (x_205 == 0) -{ -return x_204; -} -else -{ -lean_object* x_206; lean_object* x_207; lean_object* x_208; -x_206 = lean_ctor_get(x_204, 0); -x_207 = lean_ctor_get(x_204, 1); -lean_inc(x_207); -lean_inc(x_206); -lean_dec(x_204); -x_208 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_208, 0, x_206); -lean_ctor_set(x_208, 1, x_207); -return x_208; -} -} -else -{ -x_8 = x_7; -goto block_199; -} -block_199: -{ -lean_object* x_9; lean_object* x_10; -x_9 = l_Lean_Delaborator_delabTuple___lambda__1___closed__1; -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); -x_10 = l_Lean_Delaborator_withAppFn___rarg(x_9, x_2, x_3, x_4, x_5, x_6, x_8); -if (lean_obj_tag(x_10) == 0) -{ -uint8_t x_11; -x_11 = !lean_is_exclusive(x_10); -if (x_11 == 0) -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; -x_12 = lean_ctor_get(x_10, 0); -x_13 = lean_ctor_get(x_10, 1); -x_14 = l_Lean_Delaborator_delabAppMatch___lambda__2___closed__1; -x_15 = l_Lean_Delaborator_withAppArg___rarg(x_14, x_2, x_3, x_4, x_5, x_6, x_13); -if (lean_obj_tag(x_15) == 0) -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_41; uint8_t x_42; -x_16 = lean_ctor_get(x_15, 0); -lean_inc(x_16); -x_17 = lean_ctor_get(x_15, 1); -lean_inc(x_17); -if (lean_is_exclusive(x_15)) { - lean_ctor_release(x_15, 0); - lean_ctor_release(x_15, 1); - x_18 = x_15; -} else { - lean_dec_ref(x_15); - x_18 = lean_box(0); -} -x_41 = l_myMacro____x40_Init_Notation___hyg_5739____closed__8; -lean_inc(x_16); -x_42 = l_Lean_Syntax_isOfKind(x_16, x_41); -if (x_42 == 0) -{ -lean_object* x_43; -lean_free_object(x_10); -x_43 = lean_box(0); -x_19 = x_43; -goto block_40; -} -else -{ -lean_object* x_44; lean_object* x_45; lean_object* x_46; uint8_t x_47; -x_44 = l_Lean_Syntax_getArgs(x_16); -x_45 = lean_array_get_size(x_44); -lean_dec(x_44); -x_46 = lean_unsigned_to_nat(3u); -x_47 = lean_nat_dec_eq(x_45, x_46); -lean_dec(x_45); -if (x_47 == 0) -{ -lean_object* x_48; -lean_free_object(x_10); -x_48 = lean_box(0); -x_19 = x_48; -goto block_40; -} -else -{ -lean_object* x_49; lean_object* x_50; lean_object* x_51; uint8_t x_52; -x_49 = lean_unsigned_to_nat(1u); -x_50 = l_Lean_Syntax_getArg(x_16, x_49); -x_51 = l_Lean_nullKind___closed__2; -lean_inc(x_50); -x_52 = l_Lean_Syntax_isOfKind(x_50, x_51); -if (x_52 == 0) -{ -lean_object* x_53; -lean_dec(x_50); -lean_free_object(x_10); -x_53 = lean_box(0); -x_19 = x_53; -goto block_40; -} -else -{ -lean_object* x_54; lean_object* x_55; lean_object* x_56; uint8_t x_57; -x_54 = l_Lean_Syntax_getArgs(x_50); -x_55 = lean_array_get_size(x_54); -lean_dec(x_54); -x_56 = lean_unsigned_to_nat(2u); -x_57 = lean_nat_dec_eq(x_55, x_56); -lean_dec(x_55); -if (x_57 == 0) -{ -lean_object* x_58; -lean_dec(x_50); -lean_free_object(x_10); -x_58 = lean_box(0); -x_19 = x_58; -goto block_40; -} -else -{ -lean_object* x_59; lean_object* x_60; lean_object* x_61; uint8_t x_62; -x_59 = lean_unsigned_to_nat(0u); -x_60 = l_Lean_Syntax_getArg(x_50, x_59); -x_61 = l_Lean_Syntax_getArg(x_50, x_49); -lean_dec(x_50); -lean_inc(x_61); -x_62 = l_Lean_Syntax_isOfKind(x_61, x_51); -if (x_62 == 0) -{ -lean_object* x_63; -lean_dec(x_61); -lean_dec(x_60); -lean_free_object(x_10); -x_63 = lean_box(0); -x_19 = x_63; -goto block_40; -} -else -{ -lean_object* x_64; lean_object* x_65; uint8_t x_66; -x_64 = l_Lean_Syntax_getArgs(x_61); -x_65 = lean_array_get_size(x_64); -lean_dec(x_64); -x_66 = lean_nat_dec_eq(x_65, x_49); -lean_dec(x_65); -if (x_66 == 0) -{ -lean_object* x_67; -lean_dec(x_61); -lean_dec(x_60); -lean_free_object(x_10); -x_67 = lean_box(0); -x_19 = x_67; -goto block_40; -} -else -{ -lean_object* x_68; lean_object* x_69; uint8_t x_70; -x_68 = l_Lean_Syntax_getArg(x_61, x_59); -lean_dec(x_61); -x_69 = l_Lean_Delaborator_delabTuple___lambda__1___closed__3; -lean_inc(x_68); -x_70 = l_Lean_Syntax_isOfKind(x_68, x_69); -if (x_70 == 0) -{ -lean_object* x_71; -lean_dec(x_68); -lean_dec(x_60); -lean_free_object(x_10); -x_71 = lean_box(0); -x_19 = x_71; -goto block_40; -} -else -{ -lean_object* x_72; lean_object* x_73; uint8_t x_74; -x_72 = l_Lean_Syntax_getArgs(x_68); -x_73 = lean_array_get_size(x_72); -lean_dec(x_72); -x_74 = lean_nat_dec_eq(x_73, x_56); -lean_dec(x_73); -if (x_74 == 0) -{ -lean_object* x_75; -lean_dec(x_68); -lean_dec(x_60); -lean_free_object(x_10); -x_75 = lean_box(0); -x_19 = x_75; -goto block_40; -} -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_dec(x_18); -lean_dec(x_16); -x_76 = l_Lean_Syntax_getArg(x_68, x_49); -lean_dec(x_68); -x_77 = l_Lean_Syntax_getArgs(x_76); -lean_dec(x_76); -x_78 = l_Lean_Syntax_mkApp___closed__1; -x_79 = lean_array_push(x_78, x_60); -x_80 = l_Lean_Delaborator_delabConst___lambda__1___closed__6; -x_81 = lean_array_push(x_79, x_80); -x_82 = l_Array_append___rarg(x_81, x_77); -lean_dec(x_77); -x_83 = l_Array_empty___closed__1; -x_84 = lean_array_push(x_83, x_12); -x_85 = l_Array_appendCore___rarg(x_83, x_82); -lean_dec(x_82); -x_86 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_86, 0, x_51); -lean_ctor_set(x_86, 1, x_85); -x_87 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_576____closed__8; -x_88 = lean_array_push(x_87, x_86); -x_89 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_89, 0, x_69); -lean_ctor_set(x_89, 1, x_88); -x_90 = lean_array_push(x_83, x_89); -x_91 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_91, 0, x_51); -lean_ctor_set(x_91, 1, x_90); -x_92 = lean_array_push(x_84, x_91); -x_93 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_93, 0, x_51); -lean_ctor_set(x_93, 1, x_92); -x_94 = l_myMacro____x40_Init_Notation___hyg_5739____closed__11; -x_95 = lean_array_push(x_94, x_93); -x_96 = l_myMacro____x40_Init_Notation___hyg_5739____closed__22; -x_97 = lean_array_push(x_95, x_96); -x_98 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_98, 0, x_41); -lean_ctor_set(x_98, 1, x_97); -lean_ctor_set(x_10, 1, x_17); -lean_ctor_set(x_10, 0, x_98); -return x_10; -} -} -} -} -} -} -} -} -block_40: -{ -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_dec(x_19); -x_20 = l_Array_empty___closed__1; -x_21 = lean_array_push(x_20, x_12); -x_22 = lean_array_push(x_20, x_16); -x_23 = l_Lean_nullKind___closed__2; -x_24 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_24, 0, x_23); -lean_ctor_set(x_24, 1, x_22); -x_25 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_576____closed__8; -x_26 = lean_array_push(x_25, x_24); -x_27 = l_Lean_Delaborator_delabTuple___lambda__1___closed__3; -x_28 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_28, 0, x_27); -lean_ctor_set(x_28, 1, x_26); -x_29 = lean_array_push(x_20, x_28); -x_30 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_30, 0, x_23); -lean_ctor_set(x_30, 1, x_29); -x_31 = lean_array_push(x_21, x_30); -x_32 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_32, 0, x_23); -lean_ctor_set(x_32, 1, x_31); -x_33 = l_myMacro____x40_Init_Notation___hyg_5739____closed__11; -x_34 = lean_array_push(x_33, x_32); -x_35 = l_myMacro____x40_Init_Notation___hyg_5739____closed__22; -x_36 = lean_array_push(x_34, x_35); -x_37 = l_myMacro____x40_Init_Notation___hyg_5739____closed__8; -x_38 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_38, 0, x_37); -lean_ctor_set(x_38, 1, x_36); -if (lean_is_scalar(x_18)) { - x_39 = lean_alloc_ctor(0, 2, 0); -} else { - x_39 = x_18; -} -lean_ctor_set(x_39, 0, x_38); -lean_ctor_set(x_39, 1, x_17); -return x_39; -} -} -else -{ -uint8_t x_99; -lean_free_object(x_10); -lean_dec(x_12); -x_99 = !lean_is_exclusive(x_15); -if (x_99 == 0) -{ -return x_15; -} -else -{ -lean_object* x_100; lean_object* x_101; lean_object* x_102; -x_100 = lean_ctor_get(x_15, 0); -x_101 = lean_ctor_get(x_15, 1); -lean_inc(x_101); -lean_inc(x_100); -lean_dec(x_15); -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_object* x_105; lean_object* x_106; -x_103 = lean_ctor_get(x_10, 0); -x_104 = lean_ctor_get(x_10, 1); -lean_inc(x_104); -lean_inc(x_103); -lean_dec(x_10); -x_105 = l_Lean_Delaborator_delabAppMatch___lambda__2___closed__1; -x_106 = l_Lean_Delaborator_withAppArg___rarg(x_105, x_2, x_3, x_4, x_5, x_6, x_104); -if (lean_obj_tag(x_106) == 0) -{ -lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_132; uint8_t x_133; -x_107 = lean_ctor_get(x_106, 0); -lean_inc(x_107); -x_108 = lean_ctor_get(x_106, 1); -lean_inc(x_108); -if (lean_is_exclusive(x_106)) { - lean_ctor_release(x_106, 0); - lean_ctor_release(x_106, 1); - x_109 = x_106; -} else { - lean_dec_ref(x_106); - x_109 = lean_box(0); -} -x_132 = l_myMacro____x40_Init_Notation___hyg_5739____closed__8; -lean_inc(x_107); -x_133 = l_Lean_Syntax_isOfKind(x_107, x_132); -if (x_133 == 0) -{ -lean_object* x_134; -x_134 = lean_box(0); -x_110 = x_134; -goto block_131; -} -else -{ -lean_object* x_135; lean_object* x_136; lean_object* x_137; uint8_t x_138; -x_135 = l_Lean_Syntax_getArgs(x_107); -x_136 = lean_array_get_size(x_135); -lean_dec(x_135); -x_137 = lean_unsigned_to_nat(3u); -x_138 = lean_nat_dec_eq(x_136, x_137); -lean_dec(x_136); -if (x_138 == 0) -{ -lean_object* x_139; -x_139 = lean_box(0); -x_110 = x_139; -goto block_131; -} -else -{ -lean_object* x_140; lean_object* x_141; lean_object* x_142; uint8_t x_143; -x_140 = lean_unsigned_to_nat(1u); -x_141 = l_Lean_Syntax_getArg(x_107, x_140); -x_142 = l_Lean_nullKind___closed__2; -lean_inc(x_141); -x_143 = l_Lean_Syntax_isOfKind(x_141, x_142); -if (x_143 == 0) -{ -lean_object* x_144; -lean_dec(x_141); -x_144 = lean_box(0); -x_110 = x_144; -goto block_131; -} -else -{ -lean_object* x_145; lean_object* x_146; lean_object* x_147; uint8_t x_148; -x_145 = l_Lean_Syntax_getArgs(x_141); -x_146 = lean_array_get_size(x_145); -lean_dec(x_145); -x_147 = lean_unsigned_to_nat(2u); -x_148 = lean_nat_dec_eq(x_146, x_147); -lean_dec(x_146); -if (x_148 == 0) -{ -lean_object* x_149; -lean_dec(x_141); -x_149 = lean_box(0); -x_110 = x_149; -goto block_131; -} -else -{ -lean_object* x_150; lean_object* x_151; lean_object* x_152; uint8_t x_153; -x_150 = lean_unsigned_to_nat(0u); -x_151 = l_Lean_Syntax_getArg(x_141, x_150); -x_152 = l_Lean_Syntax_getArg(x_141, x_140); -lean_dec(x_141); -lean_inc(x_152); -x_153 = l_Lean_Syntax_isOfKind(x_152, x_142); -if (x_153 == 0) -{ -lean_object* x_154; -lean_dec(x_152); -lean_dec(x_151); -x_154 = lean_box(0); -x_110 = x_154; -goto block_131; -} -else -{ -lean_object* x_155; lean_object* x_156; uint8_t x_157; -x_155 = l_Lean_Syntax_getArgs(x_152); -x_156 = lean_array_get_size(x_155); -lean_dec(x_155); -x_157 = lean_nat_dec_eq(x_156, x_140); -lean_dec(x_156); -if (x_157 == 0) -{ -lean_object* x_158; -lean_dec(x_152); -lean_dec(x_151); -x_158 = lean_box(0); -x_110 = x_158; -goto block_131; -} -else -{ -lean_object* x_159; lean_object* x_160; uint8_t x_161; -x_159 = l_Lean_Syntax_getArg(x_152, x_150); -lean_dec(x_152); -x_160 = l_Lean_Delaborator_delabTuple___lambda__1___closed__3; -lean_inc(x_159); -x_161 = l_Lean_Syntax_isOfKind(x_159, x_160); -if (x_161 == 0) -{ -lean_object* x_162; -lean_dec(x_159); -lean_dec(x_151); -x_162 = lean_box(0); -x_110 = x_162; -goto block_131; -} -else -{ -lean_object* x_163; lean_object* x_164; uint8_t x_165; -x_163 = l_Lean_Syntax_getArgs(x_159); -x_164 = lean_array_get_size(x_163); -lean_dec(x_163); -x_165 = lean_nat_dec_eq(x_164, x_147); -lean_dec(x_164); -if (x_165 == 0) -{ -lean_object* x_166; -lean_dec(x_159); -lean_dec(x_151); -x_166 = lean_box(0); -x_110 = x_166; -goto block_131; -} -else -{ -lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; -lean_dec(x_109); -lean_dec(x_107); -x_167 = l_Lean_Syntax_getArg(x_159, x_140); -lean_dec(x_159); -x_168 = l_Lean_Syntax_getArgs(x_167); -lean_dec(x_167); -x_169 = l_Lean_Syntax_mkApp___closed__1; -x_170 = lean_array_push(x_169, x_151); -x_171 = l_Lean_Delaborator_delabConst___lambda__1___closed__6; -x_172 = lean_array_push(x_170, x_171); -x_173 = l_Array_append___rarg(x_172, x_168); -lean_dec(x_168); -x_174 = l_Array_empty___closed__1; -x_175 = lean_array_push(x_174, x_103); -x_176 = l_Array_appendCore___rarg(x_174, x_173); -lean_dec(x_173); -x_177 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_177, 0, x_142); -lean_ctor_set(x_177, 1, x_176); -x_178 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_576____closed__8; -x_179 = lean_array_push(x_178, x_177); -x_180 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_180, 0, x_160); -lean_ctor_set(x_180, 1, x_179); -x_181 = lean_array_push(x_174, x_180); -x_182 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_182, 0, x_142); -lean_ctor_set(x_182, 1, x_181); -x_183 = lean_array_push(x_175, x_182); -x_184 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_184, 0, x_142); -lean_ctor_set(x_184, 1, x_183); -x_185 = l_myMacro____x40_Init_Notation___hyg_5739____closed__11; -x_186 = lean_array_push(x_185, x_184); -x_187 = l_myMacro____x40_Init_Notation___hyg_5739____closed__22; -x_188 = lean_array_push(x_186, x_187); -x_189 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_189, 0, x_132); -lean_ctor_set(x_189, 1, x_188); -x_190 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_190, 0, x_189); -lean_ctor_set(x_190, 1, x_108); -return x_190; -} -} -} -} -} -} -} -} -block_131: -{ -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_dec(x_110); -x_111 = l_Array_empty___closed__1; -x_112 = lean_array_push(x_111, x_103); -x_113 = lean_array_push(x_111, x_107); -x_114 = l_Lean_nullKind___closed__2; -x_115 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_115, 0, x_114); -lean_ctor_set(x_115, 1, x_113); -x_116 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_576____closed__8; -x_117 = lean_array_push(x_116, x_115); -x_118 = l_Lean_Delaborator_delabTuple___lambda__1___closed__3; -x_119 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_119, 0, x_118); -lean_ctor_set(x_119, 1, x_117); -x_120 = lean_array_push(x_111, x_119); -x_121 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_121, 0, x_114); -lean_ctor_set(x_121, 1, x_120); -x_122 = lean_array_push(x_112, x_121); -x_123 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_123, 0, x_114); -lean_ctor_set(x_123, 1, x_122); -x_124 = l_myMacro____x40_Init_Notation___hyg_5739____closed__11; -x_125 = lean_array_push(x_124, x_123); -x_126 = l_myMacro____x40_Init_Notation___hyg_5739____closed__22; -x_127 = lean_array_push(x_125, x_126); -x_128 = l_myMacro____x40_Init_Notation___hyg_5739____closed__8; -x_129 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_129, 0, x_128); -lean_ctor_set(x_129, 1, x_127); -if (lean_is_scalar(x_109)) { - x_130 = lean_alloc_ctor(0, 2, 0); -} else { - x_130 = x_109; -} -lean_ctor_set(x_130, 0, x_129); -lean_ctor_set(x_130, 1, x_108); -return x_130; -} -} -else -{ -lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; -lean_dec(x_103); -x_191 = lean_ctor_get(x_106, 0); -lean_inc(x_191); -x_192 = lean_ctor_get(x_106, 1); -lean_inc(x_192); -if (lean_is_exclusive(x_106)) { - lean_ctor_release(x_106, 0); - lean_ctor_release(x_106, 1); - x_193 = x_106; -} else { - lean_dec_ref(x_106); - x_193 = lean_box(0); -} -if (lean_is_scalar(x_193)) { - x_194 = lean_alloc_ctor(1, 2, 0); -} else { - x_194 = x_193; -} -lean_ctor_set(x_194, 0, x_191); -lean_ctor_set(x_194, 1, x_192); -return x_194; -} -} -} -else -{ -uint8_t x_195; -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_195 = !lean_is_exclusive(x_10); -if (x_195 == 0) -{ -return x_10; -} -else -{ -lean_object* x_196; lean_object* x_197; lean_object* x_198; -x_196 = lean_ctor_get(x_10, 0); -x_197 = lean_ctor_get(x_10, 1); -lean_inc(x_197); -lean_inc(x_196); -lean_dec(x_10); -x_198 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_198, 0, x_196); -lean_ctor_set(x_198, 1, x_197); -return x_198; -} -} -} -} -} -static lean_object* _init_l_Lean_Delaborator_delabTuple___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabTuple___lambda__1___boxed), 7, 0); -return x_1; -} -} -static lean_object* _init_l_Lean_Delaborator_delabTuple___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Delaborator_delabAppExplicit___closed__1; -x_2 = l_Lean_Delaborator_delabTuple___closed__1; -x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Delaborator_delabAppExplicit___spec__2___rarg), 8, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; -} -} -lean_object* l_Lean_Delaborator_delabTuple(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; lean_object* x_8; lean_object* x_9; -x_7 = l_Lean_Delaborator_delabAppMatch___closed__7; -x_8 = l_Lean_Delaborator_delabTuple___closed__2; -x_9 = l_Lean_Delaborator_whenPPOption(x_7, x_8, x_1, x_2, x_3, x_4, x_5, x_6); -return x_9; -} -} -lean_object* l_Lean_Delaborator_delabTuple___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; -x_8 = l_Lean_Delaborator_delabTuple___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); -lean_dec(x_1); -return x_8; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabTuple___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Delaborator_getExprKind___closed__5; -x_2 = l_myMacro____x40_Init_Notation___hyg_206____closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabTuple___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Lean_Delaborator_delabTuple___closed__1; -x_2 = l_Lean_instQuoteProd___rarg___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabTuple___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabTuple), 6, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Delaborator_delabTuple(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_Delaborator_delabAttribute; -x_3 = l___regBuiltin_Lean_Delaborator_delabTuple___closed__2; -x_4 = l___regBuiltin_Lean_Delaborator_delabTuple___closed__3; -x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); -return x_5; -} -} -lean_object* l_Lean_Delaborator_delabCoe___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; lean_object* x_76; lean_object* x_77; lean_object* x_78; uint8_t x_79; -x_76 = lean_unsigned_to_nat(0u); -x_77 = l_Lean_Expr_getAppNumArgsAux(x_1, x_76); -x_78 = lean_unsigned_to_nat(4u); -x_79 = lean_nat_dec_le(x_78, x_77); -lean_dec(x_77); -if (x_79 == 0) -{ -lean_object* x_80; uint8_t x_81; -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_80 = l_Lean_Delaborator_failure___rarg(x_7); -x_81 = !lean_is_exclusive(x_80); -if (x_81 == 0) -{ -return x_80; -} -else -{ -lean_object* x_82; lean_object* x_83; lean_object* x_84; -x_82 = lean_ctor_get(x_80, 0); -x_83 = lean_ctor_get(x_80, 1); -lean_inc(x_83); -lean_inc(x_82); -lean_dec(x_80); -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 -{ -x_8 = x_7; -goto block_75; -} -block_75: -{ -lean_object* x_9; -x_9 = l_Lean_Delaborator_delabAppImplicit(x_2, x_3, x_4, x_5, x_6, x_8); -if (lean_obj_tag(x_9) == 0) -{ -uint8_t x_10; -x_10 = !lean_is_exclusive(x_9); -if (x_10 == 0) -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; -x_11 = lean_ctor_get(x_9, 0); -x_12 = lean_ctor_get(x_9, 1); -x_13 = l_myMacro____x40_Init_Notation___hyg_38____closed__8; -lean_inc(x_11); -x_14 = l_Lean_Syntax_isOfKind(x_11, x_13); -if (x_14 == 0) -{ -lean_object* x_15; -lean_free_object(x_9); -lean_dec(x_11); -x_15 = l_Lean_Delaborator_failure___rarg(x_12); -return x_15; -} -else -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; -x_16 = l_Lean_Syntax_getArgs(x_11); -x_17 = lean_array_get_size(x_16); -lean_dec(x_16); -x_18 = lean_unsigned_to_nat(2u); -x_19 = lean_nat_dec_eq(x_17, x_18); -lean_dec(x_17); -if (x_19 == 0) -{ -lean_object* x_20; -lean_free_object(x_9); -lean_dec(x_11); -x_20 = l_Lean_Delaborator_failure___rarg(x_12); -return x_20; -} -else -{ -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; -x_21 = lean_unsigned_to_nat(1u); -x_22 = l_Lean_Syntax_getArg(x_11, x_21); -lean_dec(x_11); -x_23 = l_Lean_Syntax_getArgs(x_22); -lean_dec(x_22); -x_24 = lean_array_get_size(x_23); -x_25 = lean_nat_dec_eq(x_24, x_21); -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; -x_26 = l_Lean_instInhabitedSyntax; -x_27 = lean_unsigned_to_nat(0u); -x_28 = lean_array_get(x_26, x_23, x_27); -x_29 = l_Array_empty___closed__1; -x_30 = lean_array_push(x_29, x_28); -x_31 = l_Array_eraseIdx___rarg(x_23, x_27); -x_32 = l_Array_appendCore___rarg(x_29, x_31); -lean_dec(x_31); -x_33 = l_Lean_nullKind___closed__2; -x_34 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_34, 0, x_33); -lean_ctor_set(x_34, 1, x_32); -x_35 = lean_array_push(x_30, x_34); -x_36 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_36, 0, x_13); -lean_ctor_set(x_36, 1, x_35); -lean_ctor_set(x_9, 0, x_36); -return x_9; -} -else -{ -lean_object* x_37; lean_object* x_38; lean_object* x_39; -x_37 = l_Lean_instInhabitedSyntax; -x_38 = lean_unsigned_to_nat(0u); -x_39 = lean_array_get(x_37, x_23, x_38); -lean_dec(x_23); -lean_ctor_set(x_9, 0, x_39); -return x_9; -} -} -} -} -else -{ -lean_object* x_40; lean_object* x_41; lean_object* x_42; uint8_t x_43; -x_40 = lean_ctor_get(x_9, 0); -x_41 = lean_ctor_get(x_9, 1); -lean_inc(x_41); -lean_inc(x_40); -lean_dec(x_9); -x_42 = l_myMacro____x40_Init_Notation___hyg_38____closed__8; -lean_inc(x_40); -x_43 = l_Lean_Syntax_isOfKind(x_40, x_42); -if (x_43 == 0) -{ -lean_object* x_44; -lean_dec(x_40); -x_44 = l_Lean_Delaborator_failure___rarg(x_41); -return x_44; -} -else -{ -lean_object* x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; -x_45 = l_Lean_Syntax_getArgs(x_40); -x_46 = lean_array_get_size(x_45); -lean_dec(x_45); -x_47 = lean_unsigned_to_nat(2u); -x_48 = lean_nat_dec_eq(x_46, x_47); -lean_dec(x_46); -if (x_48 == 0) -{ -lean_object* x_49; -lean_dec(x_40); -x_49 = l_Lean_Delaborator_failure___rarg(x_41); -return x_49; -} -else -{ -lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; uint8_t x_54; -x_50 = lean_unsigned_to_nat(1u); -x_51 = l_Lean_Syntax_getArg(x_40, x_50); -lean_dec(x_40); -x_52 = l_Lean_Syntax_getArgs(x_51); -lean_dec(x_51); -x_53 = lean_array_get_size(x_52); -x_54 = lean_nat_dec_eq(x_53, x_50); -lean_dec(x_53); -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; lean_object* x_64; lean_object* x_65; lean_object* x_66; -x_55 = l_Lean_instInhabitedSyntax; -x_56 = lean_unsigned_to_nat(0u); -x_57 = lean_array_get(x_55, x_52, x_56); -x_58 = l_Array_empty___closed__1; -x_59 = lean_array_push(x_58, x_57); -x_60 = l_Array_eraseIdx___rarg(x_52, x_56); -x_61 = l_Array_appendCore___rarg(x_58, x_60); -lean_dec(x_60); -x_62 = l_Lean_nullKind___closed__2; -x_63 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_63, 0, x_62); -lean_ctor_set(x_63, 1, x_61); -x_64 = lean_array_push(x_59, x_63); -x_65 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_65, 0, x_42); -lean_ctor_set(x_65, 1, 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_41); -return x_66; -} -else -{ -lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; -x_67 = l_Lean_instInhabitedSyntax; -x_68 = lean_unsigned_to_nat(0u); -x_69 = lean_array_get(x_67, x_52, x_68); -lean_dec(x_52); -x_70 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_70, 0, x_69); -lean_ctor_set(x_70, 1, x_41); -return x_70; -} -} -} -} -} -else -{ -uint8_t x_71; -x_71 = !lean_is_exclusive(x_9); -if (x_71 == 0) -{ -return x_9; -} -else -{ -lean_object* x_72; lean_object* x_73; lean_object* x_74; -x_72 = lean_ctor_get(x_9, 0); -x_73 = lean_ctor_get(x_9, 1); -lean_inc(x_73); -lean_inc(x_72); -lean_dec(x_9); -x_74 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_74, 0, x_72); -lean_ctor_set(x_74, 1, x_73); -return x_74; -} -} -} -} -} -static lean_object* _init_l_Lean_Delaborator_delabCoe___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabCoe___lambda__1___boxed), 7, 0); -return x_1; -} -} -static lean_object* _init_l_Lean_Delaborator_delabCoe___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Delaborator_delabAppExplicit___closed__1; -x_2 = l_Lean_Delaborator_delabCoe___closed__1; -x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Delaborator_delabAppExplicit___spec__2___rarg), 8, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; -} -} -lean_object* l_Lean_Delaborator_delabCoe(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; lean_object* x_8; lean_object* x_9; -x_7 = l_Lean_Delaborator_delabOfNat___closed__3; -x_8 = l_Lean_Delaborator_delabCoe___closed__2; -x_9 = l_Lean_Delaborator_whenPPOption(x_7, x_8, x_1, x_2, x_3, x_4, x_5, x_6); -return x_9; -} -} -lean_object* l_Lean_Delaborator_delabCoe___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; -x_8 = l_Lean_Delaborator_delabCoe___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); -lean_dec(x_1); -return x_8; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabCoe___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Delaborator_getExprKind___closed__5; -x_2 = l_myMacro____x40_Init_Coe___hyg_176____closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabCoe___closed__2() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabCoe), 6, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Delaborator_delabCoe(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_Delaborator_delabAttribute; -x_3 = l___regBuiltin_Lean_Delaborator_delabCoe___closed__1; -x_4 = l___regBuiltin_Lean_Delaborator_delabCoe___closed__2; -x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); -return x_5; -} -} -lean_object* l_Lean_Delaborator_delabCoeFun(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; -x_7 = l_Lean_Delaborator_delabCoe(x_1, x_2, x_3, x_4, x_5, x_6); -return x_7; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabCoeFun___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("coeFun"); -return x_1; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabCoeFun___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Delaborator_getExprKind___closed__5; -x_2 = l___regBuiltin_Lean_Delaborator_delabCoeFun___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabCoeFun___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabCoeFun), 6, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Delaborator_delabCoeFun(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_Delaborator_delabAttribute; -x_3 = l___regBuiltin_Lean_Delaborator_delabCoeFun___closed__2; -x_4 = l___regBuiltin_Lean_Delaborator_delabCoeFun___closed__3; -x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); -return x_5; -} -} -static lean_object* _init_l_Lean_Delaborator_delabInfixOp___lambda__1___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_getPPUnicode___boxed), 1, 0); -return x_1; -} -} -lean_object* l_Lean_Delaborator_delabInfixOp___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; uint8_t x_10; lean_object* x_11; lean_object* x_12; -x_9 = l_myMacro____x40_Init_Notation___hyg_38____closed__8; -lean_inc(x_2); -x_10 = l_Lean_Syntax_isOfKind(x_2, x_9); -x_11 = lean_unsigned_to_nat(1u); -x_12 = l_Lean_Syntax_getArg(x_2, x_11); -lean_dec(x_2); -if (x_10 == 0) -{ -lean_object* x_13; uint8_t x_14; -lean_dec(x_12); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_13 = l_Lean_Delaborator_failure___rarg(x_8); -x_14 = !lean_is_exclusive(x_13); -if (x_14 == 0) -{ -return x_13; -} -else -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_15 = lean_ctor_get(x_13, 0); -x_16 = lean_ctor_get(x_13, 1); -lean_inc(x_16); -lean_inc(x_15); -lean_dec(x_13); -x_17 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_17, 0, x_15); -lean_ctor_set(x_17, 1, x_16); -return x_17; -} -} -else -{ -lean_object* x_18; lean_object* x_19; uint8_t x_20; -x_18 = l_Lean_Syntax_getNumArgs(x_12); -x_19 = lean_unsigned_to_nat(2u); -x_20 = lean_nat_dec_eq(x_18, x_19); -lean_dec(x_18); -if (x_20 == 0) -{ -lean_object* x_21; uint8_t x_22; -lean_dec(x_12); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_21 = l_Lean_Delaborator_failure___rarg(x_8); -x_22 = !lean_is_exclusive(x_21); -if (x_22 == 0) -{ -return x_21; -} -else -{ -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(1, 2, 0); -lean_ctor_set(x_25, 0, x_23); -lean_ctor_set(x_25, 1, x_24); -return x_25; -} -} -else -{ -lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_26 = l_Lean_Delaborator_delabInfixOp___lambda__1___closed__1; -lean_inc(x_3); -x_27 = l_Lean_Delaborator_getPPOption(x_26, x_3, x_4, x_5, x_6, x_7, x_8); -x_28 = lean_ctor_get(x_27, 0); -lean_inc(x_28); -x_29 = lean_ctor_get(x_27, 1); -lean_inc(x_29); -lean_dec(x_27); -x_30 = lean_unsigned_to_nat(0u); -x_31 = l_Lean_Syntax_getArg(x_12, x_30); -x_32 = l_Lean_Syntax_getArg(x_12, x_11); -lean_dec(x_12); -x_33 = lean_apply_9(x_1, x_28, x_31, x_32, x_3, x_4, x_5, x_6, x_7, x_29); -return x_33; -} -} -} -} -static lean_object* _init_l_Lean_Delaborator_delabInfixOp___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Lean_Delaborator_delabAppImplicit___closed__1; -x_2 = l___regBuiltin_Lean_Delaborator_delabAppExplicit___closed__1; -x_3 = lean_alloc_closure((void*)(l_Lean_Delaborator_orElse___rarg), 8, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; -} -} -lean_object* l_Lean_Delaborator_delabInfixOp(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; -x_8 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabInfixOp___lambda__1), 8, 1); -lean_closure_set(x_8, 0, x_1); -x_9 = l_Lean_Delaborator_delabInfixOp___closed__1; -x_10 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Delaborator_delabAppExplicit___spec__2___rarg), 8, 2); -lean_closure_set(x_10, 0, x_9); -lean_closure_set(x_10, 1, x_8); -x_11 = l_Lean_Delaborator_delabAppMatch___closed__7; -x_12 = l_Lean_Delaborator_whenPPOption(x_11, x_10, x_2, x_3, x_4, x_5, x_6, x_7); -return x_12; -} -} -lean_object* l_Lean_Delaborator_delabPrefixOp___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; uint8_t x_10; lean_object* x_11; lean_object* x_12; -x_9 = l_myMacro____x40_Init_Notation___hyg_38____closed__8; -lean_inc(x_2); -x_10 = l_Lean_Syntax_isOfKind(x_2, x_9); -x_11 = lean_unsigned_to_nat(1u); -x_12 = l_Lean_Syntax_getArg(x_2, x_11); -lean_dec(x_2); -if (x_10 == 0) -{ -lean_object* x_13; uint8_t x_14; -lean_dec(x_12); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_13 = l_Lean_Delaborator_failure___rarg(x_8); -x_14 = !lean_is_exclusive(x_13); -if (x_14 == 0) -{ -return x_13; -} -else -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_15 = lean_ctor_get(x_13, 0); -x_16 = lean_ctor_get(x_13, 1); -lean_inc(x_16); -lean_inc(x_15); -lean_dec(x_13); -x_17 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_17, 0, x_15); -lean_ctor_set(x_17, 1, x_16); -return x_17; -} -} -else -{ -lean_object* x_18; uint8_t x_19; -x_18 = l_Lean_Syntax_getNumArgs(x_12); -x_19 = lean_nat_dec_eq(x_18, x_11); -lean_dec(x_18); -if (x_19 == 0) -{ -lean_object* x_20; uint8_t x_21; -lean_dec(x_12); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_20 = l_Lean_Delaborator_failure___rarg(x_8); -x_21 = !lean_is_exclusive(x_20); -if (x_21 == 0) -{ -return x_20; -} -else -{ -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_20, 1); -lean_inc(x_23); -lean_inc(x_22); -lean_dec(x_20); -x_24 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_24, 0, x_22); -lean_ctor_set(x_24, 1, x_23); -return x_24; -} -} -else -{ -lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_25 = l_Lean_Delaborator_delabInfixOp___lambda__1___closed__1; -lean_inc(x_3); -x_26 = l_Lean_Delaborator_getPPOption(x_25, x_3, x_4, x_5, x_6, x_7, x_8); -x_27 = lean_ctor_get(x_26, 0); -lean_inc(x_27); -x_28 = lean_ctor_get(x_26, 1); -lean_inc(x_28); -lean_dec(x_26); -x_29 = lean_unsigned_to_nat(0u); -x_30 = l_Lean_Syntax_getArg(x_12, x_29); -lean_dec(x_12); -x_31 = lean_apply_8(x_1, x_27, x_30, x_3, x_4, x_5, x_6, x_7, x_28); -return x_31; -} -} -} -} -lean_object* l_Lean_Delaborator_delabPrefixOp(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; -x_8 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabPrefixOp___lambda__1), 8, 1); -lean_closure_set(x_8, 0, x_1); -x_9 = l_Lean_Delaborator_delabInfixOp___closed__1; -x_10 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Delaborator_delabAppExplicit___spec__2___rarg), 8, 2); -lean_closure_set(x_10, 0, x_9); -lean_closure_set(x_10, 1, x_8); -x_11 = l_Lean_Delaborator_delabAppMatch___closed__7; -x_12 = l_Lean_Delaborator_whenPPOption(x_11, x_10, x_2, x_3, x_4, x_5, x_6, x_7); -return x_12; -} -} -static lean_object* _init_l_Lean_Delaborator_delabProd___lambda__1___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_instInhabitedSourceInfo___closed__1; -x_2 = l___kind_term____x40_Init_NotationExtra___hyg_2577____closed__2; -x_3 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -lean_object* l_Lean_Delaborator_delabProd___lambda__1(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_10 = l_Array_empty___closed__1; -x_11 = lean_array_push(x_10, x_2); -x_12 = l_Lean_Delaborator_delabProd___lambda__1___closed__1; -x_13 = lean_array_push(x_11, x_12); -x_14 = lean_array_push(x_13, x_3); -x_15 = l___kind_term____x40_Init_Notation___hyg_171____closed__1; -x_16 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_16, 0, x_15); -lean_ctor_set(x_16, 1, x_14); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_16); -lean_ctor_set(x_17, 1, x_9); -return x_17; -} -} -static lean_object* _init_l_Lean_Delaborator_delabProd___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabProd___lambda__1___boxed), 9, 0); -return x_1; -} -} -lean_object* l_Lean_Delaborator_delabProd(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; lean_object* x_8; -x_7 = l_Lean_Delaborator_delabProd___closed__1; -x_8 = l_Lean_Delaborator_delabInfixOp(x_7, x_1, x_2, x_3, x_4, x_5, x_6); -return x_8; -} -} -lean_object* l_Lean_Delaborator_delabProd___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_1); -lean_dec(x_1); -x_11 = l_Lean_Delaborator_delabProd___lambda__1(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -return x_11; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabProd___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabProd), 6, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Delaborator_delabProd(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_Delaborator_delabAttribute; -x_3 = l___regBuiltin_Lean_Delaborator_delabTuple___closed__1; -x_4 = l___regBuiltin_Lean_Delaborator_delabProd___closed__1; -x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); -return x_5; -} -} -static lean_object* _init_l_Lean_Delaborator_delabFComp___lambda__1___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("∘"); -return x_1; -} -} -static lean_object* _init_l_Lean_Delaborator_delabFComp___lambda__1___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_instInhabitedSourceInfo___closed__1; -x_2 = l_Lean_Delaborator_delabFComp___lambda__1___closed__1; -x_3 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -lean_object* l_Lean_Delaborator_delabFComp___lambda__1(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_10 = l_Array_empty___closed__1; -x_11 = lean_array_push(x_10, x_2); -x_12 = l_Lean_Delaborator_delabFComp___lambda__1___closed__2; -x_13 = lean_array_push(x_11, x_12); -x_14 = lean_array_push(x_13, x_3); -x_15 = l___kind_term____x40_Init_Notation___hyg_3____closed__11; -x_16 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_16, 0, x_15); -lean_ctor_set(x_16, 1, x_14); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_16); -lean_ctor_set(x_17, 1, x_9); -return x_17; -} -} -static lean_object* _init_l_Lean_Delaborator_delabFComp___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabFComp___lambda__1___boxed), 9, 0); -return x_1; -} -} -lean_object* l_Lean_Delaborator_delabFComp(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; lean_object* x_8; -x_7 = l_Lean_Delaborator_delabFComp___closed__1; -x_8 = l_Lean_Delaborator_delabInfixOp(x_7, x_1, x_2, x_3, x_4, x_5, x_6); -return x_8; -} -} -lean_object* l_Lean_Delaborator_delabFComp___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_1); -lean_dec(x_1); -x_11 = l_Lean_Delaborator_delabFComp___lambda__1(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -return x_11; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabFComp___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Delaborator_getExprKind___closed__5; -x_2 = l_myMacro____x40_Init_Notation___hyg_38____closed__12; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabFComp___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Lean_Delaborator_delabFComp___closed__1; -x_2 = l_myMacro____x40_Init_Notation___hyg_38____closed__14; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabFComp___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabFComp), 6, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Delaborator_delabFComp(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_Delaborator_delabAttribute; -x_3 = l___regBuiltin_Lean_Delaborator_delabFComp___closed__2; -x_4 = l___regBuiltin_Lean_Delaborator_delabFComp___closed__3; -x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); -return x_5; -} -} -lean_object* l_Lean_Delaborator_delabAdd___lambda__1(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_10 = l_Array_empty___closed__1; -x_11 = lean_array_push(x_10, x_2); -x_12 = l_Lean_Level_quote___lambda__2___closed__1; -x_13 = lean_array_push(x_11, x_12); -x_14 = lean_array_push(x_13, x_3); -x_15 = l___kind_term____x40_Init_Notation___hyg_335____closed__1; -x_16 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_16, 0, x_15); -lean_ctor_set(x_16, 1, x_14); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_16); -lean_ctor_set(x_17, 1, x_9); -return x_17; -} -} -static lean_object* _init_l_Lean_Delaborator_delabAdd___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabAdd___lambda__1___boxed), 9, 0); -return x_1; -} -} -lean_object* l_Lean_Delaborator_delabAdd(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; lean_object* x_8; -x_7 = l_Lean_Delaborator_delabAdd___closed__1; -x_8 = l_Lean_Delaborator_delabInfixOp(x_7, x_1, x_2, x_3, x_4, x_5, x_6); -return x_8; -} -} -lean_object* l_Lean_Delaborator_delabAdd___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_1); -lean_dec(x_1); -x_11 = l_Lean_Delaborator_delabAdd___lambda__1(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -return x_11; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabAdd___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Delaborator_getExprKind___closed__5; -x_2 = l_myMacro____x40_Init_Notation___hyg_370____closed__4; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabAdd___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Lean_Delaborator_delabAdd___closed__1; -x_2 = l_myMacro____x40_Init_Notation___hyg_370____closed__6; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabAdd___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabAdd), 6, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Delaborator_delabAdd(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_Delaborator_delabAttribute; -x_3 = l___regBuiltin_Lean_Delaborator_delabAdd___closed__2; -x_4 = l___regBuiltin_Lean_Delaborator_delabAdd___closed__3; -x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); -return x_5; -} -} -static lean_object* _init_l_Lean_Delaborator_delabSub___lambda__1___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_instInhabitedSourceInfo___closed__1; -x_2 = l_Int_repr___closed__1; -x_3 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -lean_object* l_Lean_Delaborator_delabSub___lambda__1(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_10 = l_Array_empty___closed__1; -x_11 = lean_array_push(x_10, x_2); -x_12 = l_Lean_Delaborator_delabSub___lambda__1___closed__1; -x_13 = lean_array_push(x_11, x_12); -x_14 = lean_array_push(x_13, x_3); -x_15 = l___kind_term____x40_Init_Notation___hyg_503____closed__1; -x_16 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_16, 0, x_15); -lean_ctor_set(x_16, 1, x_14); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_16); -lean_ctor_set(x_17, 1, x_9); -return x_17; -} -} -static lean_object* _init_l_Lean_Delaborator_delabSub___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabSub___lambda__1___boxed), 9, 0); -return x_1; -} -} -lean_object* l_Lean_Delaborator_delabSub(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; lean_object* x_8; -x_7 = l_Lean_Delaborator_delabSub___closed__1; -x_8 = l_Lean_Delaborator_delabInfixOp(x_7, x_1, x_2, x_3, x_4, x_5, x_6); -return x_8; -} -} -lean_object* l_Lean_Delaborator_delabSub___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_1); -lean_dec(x_1); -x_11 = l_Lean_Delaborator_delabSub___lambda__1(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -return x_11; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabSub___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Delaborator_getExprKind___closed__5; -x_2 = l_myMacro____x40_Init_Notation___hyg_538____closed__4; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabSub___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Lean_Delaborator_delabSub___closed__1; -x_2 = l_myMacro____x40_Init_Notation___hyg_538____closed__6; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabSub___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabSub), 6, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Delaborator_delabSub(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_Delaborator_delabAttribute; -x_3 = l___regBuiltin_Lean_Delaborator_delabSub___closed__2; -x_4 = l___regBuiltin_Lean_Delaborator_delabSub___closed__3; -x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); -return x_5; -} -} -static lean_object* _init_l_Lean_Delaborator_delabMul___lambda__1___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_instInhabitedSourceInfo___closed__1; -x_2 = l___kind_stx____x40_Init_Notation___hyg_7322____closed__2; -x_3 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -lean_object* l_Lean_Delaborator_delabMul___lambda__1(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_10 = l_Array_empty___closed__1; -x_11 = lean_array_push(x_10, x_2); -x_12 = l_Lean_Delaborator_delabMul___lambda__1___closed__1; -x_13 = lean_array_push(x_11, x_12); -x_14 = lean_array_push(x_13, x_3); -x_15 = l___kind_term____x40_Init_Notation___hyg_671____closed__1; -x_16 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_16, 0, x_15); -lean_ctor_set(x_16, 1, x_14); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_16); -lean_ctor_set(x_17, 1, x_9); -return x_17; -} -} -static lean_object* _init_l_Lean_Delaborator_delabMul___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabMul___lambda__1___boxed), 9, 0); -return x_1; -} -} -lean_object* l_Lean_Delaborator_delabMul(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; lean_object* x_8; -x_7 = l_Lean_Delaborator_delabMul___closed__1; -x_8 = l_Lean_Delaborator_delabInfixOp(x_7, x_1, x_2, x_3, x_4, x_5, x_6); -return x_8; -} -} -lean_object* l_Lean_Delaborator_delabMul___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_1); -lean_dec(x_1); -x_11 = l_Lean_Delaborator_delabMul___lambda__1(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -return x_11; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabMul___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Delaborator_getExprKind___closed__5; -x_2 = l_myMacro____x40_Init_Notation___hyg_706____closed__4; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabMul___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Lean_Delaborator_delabMul___closed__1; -x_2 = l_myMacro____x40_Init_Notation___hyg_706____closed__6; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabMul___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabMul), 6, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Delaborator_delabMul(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_Delaborator_delabAttribute; -x_3 = l___regBuiltin_Lean_Delaborator_delabMul___closed__2; -x_4 = l___regBuiltin_Lean_Delaborator_delabMul___closed__3; -x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); -return x_5; -} -} -static lean_object* _init_l_Lean_Delaborator_delabDiv___lambda__1___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("/"); -return x_1; -} -} -static lean_object* _init_l_Lean_Delaborator_delabDiv___lambda__1___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_instInhabitedSourceInfo___closed__1; -x_2 = l_Lean_Delaborator_delabDiv___lambda__1___closed__1; -x_3 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -lean_object* l_Lean_Delaborator_delabDiv___lambda__1(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_10 = l_Array_empty___closed__1; -x_11 = lean_array_push(x_10, x_2); -x_12 = l_Lean_Delaborator_delabDiv___lambda__1___closed__2; -x_13 = lean_array_push(x_11, x_12); -x_14 = lean_array_push(x_13, x_3); -x_15 = l___kind_term____x40_Init_Notation___hyg_839____closed__1; -x_16 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_16, 0, x_15); -lean_ctor_set(x_16, 1, x_14); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_16); -lean_ctor_set(x_17, 1, x_9); -return x_17; -} -} -static lean_object* _init_l_Lean_Delaborator_delabDiv___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabDiv___lambda__1___boxed), 9, 0); -return x_1; -} -} -lean_object* l_Lean_Delaborator_delabDiv(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; lean_object* x_8; -x_7 = l_Lean_Delaborator_delabDiv___closed__1; -x_8 = l_Lean_Delaborator_delabInfixOp(x_7, x_1, x_2, x_3, x_4, x_5, x_6); -return x_8; -} -} -lean_object* l_Lean_Delaborator_delabDiv___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_1); -lean_dec(x_1); -x_11 = l_Lean_Delaborator_delabDiv___lambda__1(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -return x_11; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabDiv___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Delaborator_getExprKind___closed__5; -x_2 = l_myMacro____x40_Init_Notation___hyg_874____closed__4; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabDiv___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Lean_Delaborator_delabDiv___closed__1; -x_2 = l_myMacro____x40_Init_Notation___hyg_874____closed__6; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabDiv___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabDiv), 6, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Delaborator_delabDiv(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_Delaborator_delabAttribute; -x_3 = l___regBuiltin_Lean_Delaborator_delabDiv___closed__2; -x_4 = l___regBuiltin_Lean_Delaborator_delabDiv___closed__3; -x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); -return x_5; -} -} -static lean_object* _init_l_Lean_Delaborator_delabMod___lambda__1___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("%"); -return x_1; -} -} -static lean_object* _init_l_Lean_Delaborator_delabMod___lambda__1___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_instInhabitedSourceInfo___closed__1; -x_2 = l_Lean_Delaborator_delabMod___lambda__1___closed__1; -x_3 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -lean_object* l_Lean_Delaborator_delabMod___lambda__1(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_10 = l_Array_empty___closed__1; -x_11 = lean_array_push(x_10, x_2); -x_12 = l_Lean_Delaborator_delabMod___lambda__1___closed__2; -x_13 = lean_array_push(x_11, x_12); -x_14 = lean_array_push(x_13, x_3); -x_15 = l___kind_term____x40_Init_Notation___hyg_1007____closed__1; -x_16 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_16, 0, x_15); -lean_ctor_set(x_16, 1, x_14); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_16); -lean_ctor_set(x_17, 1, x_9); -return x_17; -} -} -static lean_object* _init_l_Lean_Delaborator_delabMod___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabMod___lambda__1___boxed), 9, 0); -return x_1; -} -} -lean_object* l_Lean_Delaborator_delabMod(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; lean_object* x_8; -x_7 = l_Lean_Delaborator_delabMod___closed__1; -x_8 = l_Lean_Delaborator_delabInfixOp(x_7, x_1, x_2, x_3, x_4, x_5, x_6); -return x_8; -} -} -lean_object* l_Lean_Delaborator_delabMod___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_1); -lean_dec(x_1); -x_11 = l_Lean_Delaborator_delabMod___lambda__1(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -return x_11; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabMod___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Delaborator_getExprKind___closed__5; -x_2 = l_myMacro____x40_Init_Notation___hyg_1042____closed__4; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabMod___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Lean_Delaborator_delabMod___closed__1; -x_2 = l_myMacro____x40_Init_Notation___hyg_1042____closed__6; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabMod___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabMod), 6, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Delaborator_delabMod(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_Delaborator_delabAttribute; -x_3 = l___regBuiltin_Lean_Delaborator_delabMod___closed__2; -x_4 = l___regBuiltin_Lean_Delaborator_delabMod___closed__3; -x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); -return x_5; -} -} -static lean_object* _init_l_Lean_Delaborator_delabModN___lambda__1___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("%ₙ"); -return x_1; -} -} -static lean_object* _init_l_Lean_Delaborator_delabModN___lambda__1___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_instInhabitedSourceInfo___closed__1; -x_2 = l_Lean_Delaborator_delabModN___lambda__1___closed__1; -x_3 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -lean_object* l_Lean_Delaborator_delabModN___lambda__1(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_10 = l_Array_empty___closed__1; -x_11 = lean_array_push(x_10, x_2); -x_12 = l_Lean_Delaborator_delabModN___lambda__1___closed__2; -x_13 = lean_array_push(x_11, x_12); -x_14 = lean_array_push(x_13, x_3); -x_15 = l___kind_term____x40_Init_Notation___hyg_1175____closed__1; -x_16 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_16, 0, x_15); -lean_ctor_set(x_16, 1, x_14); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_16); -lean_ctor_set(x_17, 1, x_9); -return x_17; -} -} -static lean_object* _init_l_Lean_Delaborator_delabModN___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabModN___lambda__1___boxed), 9, 0); -return x_1; -} -} -lean_object* l_Lean_Delaborator_delabModN(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; lean_object* x_8; -x_7 = l_Lean_Delaborator_delabModN___closed__1; -x_8 = l_Lean_Delaborator_delabInfixOp(x_7, x_1, x_2, x_3, x_4, x_5, x_6); -return x_8; -} -} -lean_object* l_Lean_Delaborator_delabModN___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_1); -lean_dec(x_1); -x_11 = l_Lean_Delaborator_delabModN___lambda__1(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -return x_11; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabModN___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Delaborator_getExprKind___closed__5; -x_2 = l_myMacro____x40_Init_Notation___hyg_1210____closed__4; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabModN___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Lean_Delaborator_delabModN___closed__1; -x_2 = l_myMacro____x40_Init_Notation___hyg_1210____closed__6; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabModN___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabModN), 6, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Delaborator_delabModN(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_Delaborator_delabAttribute; -x_3 = l___regBuiltin_Lean_Delaborator_delabModN___closed__2; -x_4 = l___regBuiltin_Lean_Delaborator_delabModN___closed__3; -x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); -return x_5; -} -} -static lean_object* _init_l_Lean_Delaborator_delabPow___lambda__1___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("^"); -return x_1; -} -} -static lean_object* _init_l_Lean_Delaborator_delabPow___lambda__1___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_instInhabitedSourceInfo___closed__1; -x_2 = l_Lean_Delaborator_delabPow___lambda__1___closed__1; -x_3 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -lean_object* l_Lean_Delaborator_delabPow___lambda__1(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_10 = l_Array_empty___closed__1; -x_11 = lean_array_push(x_10, x_2); -x_12 = l_Lean_Delaborator_delabPow___lambda__1___closed__2; -x_13 = lean_array_push(x_11, x_12); -x_14 = lean_array_push(x_13, x_3); -x_15 = l___kind_term____x40_Init_Notation___hyg_1343____closed__1; -x_16 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_16, 0, x_15); -lean_ctor_set(x_16, 1, x_14); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_16); -lean_ctor_set(x_17, 1, x_9); -return x_17; -} -} -static lean_object* _init_l_Lean_Delaborator_delabPow___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabPow___lambda__1___boxed), 9, 0); -return x_1; -} -} -lean_object* l_Lean_Delaborator_delabPow(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; lean_object* x_8; -x_7 = l_Lean_Delaborator_delabPow___closed__1; -x_8 = l_Lean_Delaborator_delabInfixOp(x_7, x_1, x_2, x_3, x_4, x_5, x_6); -return x_8; -} -} -lean_object* l_Lean_Delaborator_delabPow___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_1); -lean_dec(x_1); -x_11 = l_Lean_Delaborator_delabPow___lambda__1(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -return x_11; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabPow___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Delaborator_getExprKind___closed__5; -x_2 = l_myMacro____x40_Init_Notation___hyg_1378____closed__4; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabPow___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Lean_Delaborator_delabPow___closed__1; -x_2 = l_myMacro____x40_Init_Notation___hyg_1378____closed__6; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabPow___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabPow), 6, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Delaborator_delabPow(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_Delaborator_delabAttribute; -x_3 = l___regBuiltin_Lean_Delaborator_delabPow___closed__2; -x_4 = l___regBuiltin_Lean_Delaborator_delabPow___closed__3; -x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); -return x_5; -} -} -static lean_object* _init_l_Lean_Delaborator_delabLE___lambda__1___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("<="); -return x_1; -} -} -static lean_object* _init_l_Lean_Delaborator_delabLE___lambda__1___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_instInhabitedSourceInfo___closed__1; -x_2 = l_Lean_Delaborator_delabLE___lambda__1___closed__1; -x_3 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Delaborator_delabLE___lambda__1___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("≤"); -return x_1; -} -} -static lean_object* _init_l_Lean_Delaborator_delabLE___lambda__1___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_instInhabitedSourceInfo___closed__1; -x_2 = l_Lean_Delaborator_delabLE___lambda__1___closed__3; -x_3 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -lean_object* l_Lean_Delaborator_delabLE___lambda__1(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -if (x_1 == 0) -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_10 = l_Array_empty___closed__1; -x_11 = lean_array_push(x_10, x_2); -x_12 = l_Lean_Delaborator_delabLE___lambda__1___closed__2; -x_13 = lean_array_push(x_11, x_12); -x_14 = lean_array_push(x_13, x_3); -x_15 = l___kind_term____x40_Init_Notation___hyg_1681____closed__1; -x_16 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_16, 0, x_15); -lean_ctor_set(x_16, 1, x_14); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_16); -lean_ctor_set(x_17, 1, x_9); -return x_17; -} -else -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_18 = l_Array_empty___closed__1; -x_19 = lean_array_push(x_18, x_2); -x_20 = l_Lean_Delaborator_delabLE___lambda__1___closed__4; -x_21 = lean_array_push(x_19, x_20); -x_22 = lean_array_push(x_21, x_3); -x_23 = l___kind_term____x40_Init_Notation___hyg_1512____closed__1; -x_24 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_24, 0, x_23); -lean_ctor_set(x_24, 1, x_22); -x_25 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_25, 0, x_24); -lean_ctor_set(x_25, 1, x_9); -return x_25; -} -} -} -static lean_object* _init_l_Lean_Delaborator_delabLE___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabLE___lambda__1___boxed), 9, 0); -return x_1; -} -} -lean_object* l_Lean_Delaborator_delabLE(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; lean_object* x_8; -x_7 = l_Lean_Delaborator_delabLE___closed__1; -x_8 = l_Lean_Delaborator_delabInfixOp(x_7, x_1, x_2, x_3, x_4, x_5, x_6); -return x_8; -} -} -lean_object* l_Lean_Delaborator_delabLE___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_1); -lean_dec(x_1); -x_11 = l_Lean_Delaborator_delabLE___lambda__1(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -return x_11; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabLE___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Delaborator_getExprKind___closed__5; -x_2 = l_myMacro____x40_Init_Notation___hyg_1547____closed__4; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabLE___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Lean_Delaborator_delabLE___closed__1; -x_2 = l_myMacro____x40_Init_Notation___hyg_1547____closed__6; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabLE___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabLE), 6, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Delaborator_delabLE(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_Delaborator_delabAttribute; -x_3 = l___regBuiltin_Lean_Delaborator_delabLE___closed__2; -x_4 = l___regBuiltin_Lean_Delaborator_delabLE___closed__3; -x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); -return x_5; -} -} -static lean_object* _init_l_Lean_Delaborator_delabGE___lambda__1___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string(">="); -return x_1; -} -} -static lean_object* _init_l_Lean_Delaborator_delabGE___lambda__1___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_instInhabitedSourceInfo___closed__1; -x_2 = l_Lean_Delaborator_delabGE___lambda__1___closed__1; -x_3 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Delaborator_delabGE___lambda__1___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("≥"); -return x_1; -} -} -static lean_object* _init_l_Lean_Delaborator_delabGE___lambda__1___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_instInhabitedSourceInfo___closed__1; -x_2 = l_Lean_Delaborator_delabGE___lambda__1___closed__3; -x_3 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -lean_object* l_Lean_Delaborator_delabGE___lambda__1(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -if (x_1 == 0) -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_10 = l_Array_empty___closed__1; -x_11 = lean_array_push(x_10, x_2); -x_12 = l_Lean_Delaborator_delabGE___lambda__1___closed__2; -x_13 = lean_array_push(x_11, x_12); -x_14 = lean_array_push(x_13, x_3); -x_15 = l___kind_term____x40_Init_Notation___hyg_2184____closed__1; -x_16 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_16, 0, x_15); -lean_ctor_set(x_16, 1, x_14); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_16); -lean_ctor_set(x_17, 1, x_9); -return x_17; -} -else -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_18 = l_Array_empty___closed__1; -x_19 = lean_array_push(x_18, x_2); -x_20 = l_Lean_Delaborator_delabGE___lambda__1___closed__4; -x_21 = lean_array_push(x_19, x_20); -x_22 = lean_array_push(x_21, x_3); -x_23 = l___kind_term____x40_Init_Notation___hyg_2019____closed__1; -x_24 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_24, 0, x_23); -lean_ctor_set(x_24, 1, x_22); -x_25 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_25, 0, x_24); -lean_ctor_set(x_25, 1, x_9); -return x_25; -} -} -} -static lean_object* _init_l_Lean_Delaborator_delabGE___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabGE___lambda__1___boxed), 9, 0); -return x_1; -} -} -lean_object* l_Lean_Delaborator_delabGE(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; lean_object* x_8; -x_7 = l_Lean_Delaborator_delabGE___closed__1; -x_8 = l_Lean_Delaborator_delabInfixOp(x_7, x_1, x_2, x_3, x_4, x_5, x_6); -return x_8; -} -} -lean_object* l_Lean_Delaborator_delabGE___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_1); -lean_dec(x_1); -x_11 = l_Lean_Delaborator_delabGE___lambda__1(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -return x_11; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabGE___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Delaborator_getExprKind___closed__5; -x_2 = l_myMacro____x40_Init_Notation___hyg_2054____closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabGE___closed__2() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabGE), 6, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Delaborator_delabGE(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_Delaborator_delabAttribute; -x_3 = l___regBuiltin_Lean_Delaborator_delabGE___closed__1; -x_4 = l___regBuiltin_Lean_Delaborator_delabGE___closed__2; -x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); -return x_5; -} -} -static lean_object* _init_l_Lean_Delaborator_delabLT___lambda__1___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("<"); -return x_1; -} -} -static lean_object* _init_l_Lean_Delaborator_delabLT___lambda__1___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_instInhabitedSourceInfo___closed__1; -x_2 = l_Lean_Delaborator_delabLT___lambda__1___closed__1; -x_3 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -lean_object* l_Lean_Delaborator_delabLT___lambda__1(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_10 = l_Array_empty___closed__1; -x_11 = lean_array_push(x_10, x_2); -x_12 = l_Lean_Delaborator_delabLT___lambda__1___closed__2; -x_13 = lean_array_push(x_11, x_12); -x_14 = lean_array_push(x_13, x_3); -x_15 = l___kind_term____x40_Init_Notation___hyg_1850____closed__1; -x_16 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_16, 0, x_15); -lean_ctor_set(x_16, 1, x_14); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_16); -lean_ctor_set(x_17, 1, x_9); -return x_17; -} -} -static lean_object* _init_l_Lean_Delaborator_delabLT___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabLT___lambda__1___boxed), 9, 0); -return x_1; -} -} -lean_object* l_Lean_Delaborator_delabLT(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; lean_object* x_8; -x_7 = l_Lean_Delaborator_delabLT___closed__1; -x_8 = l_Lean_Delaborator_delabInfixOp(x_7, x_1, x_2, x_3, x_4, x_5, x_6); -return x_8; -} -} -lean_object* l_Lean_Delaborator_delabLT___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_1); -lean_dec(x_1); -x_11 = l_Lean_Delaborator_delabLT___lambda__1(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -return x_11; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabLT___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Delaborator_getExprKind___closed__5; -x_2 = l_myMacro____x40_Init_Notation___hyg_1885____closed__4; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabLT___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Lean_Delaborator_delabLT___closed__1; -x_2 = l_myMacro____x40_Init_Notation___hyg_1885____closed__6; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabLT___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabLT), 6, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Delaborator_delabLT(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_Delaborator_delabAttribute; -x_3 = l___regBuiltin_Lean_Delaborator_delabLT___closed__2; -x_4 = l___regBuiltin_Lean_Delaborator_delabLT___closed__3; -x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); -return x_5; -} -} -static lean_object* _init_l_Lean_Delaborator_delabGT___lambda__1___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string(">"); -return x_1; -} -} -static lean_object* _init_l_Lean_Delaborator_delabGT___lambda__1___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_instInhabitedSourceInfo___closed__1; -x_2 = l_Lean_Delaborator_delabGT___lambda__1___closed__1; -x_3 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -lean_object* l_Lean_Delaborator_delabGT___lambda__1(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_10 = l_Array_empty___closed__1; -x_11 = lean_array_push(x_10, x_2); -x_12 = l_Lean_Delaborator_delabGT___lambda__1___closed__2; -x_13 = lean_array_push(x_11, x_12); -x_14 = lean_array_push(x_13, x_3); -x_15 = l___kind_term____x40_Init_Notation___hyg_2349____closed__1; -x_16 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_16, 0, x_15); -lean_ctor_set(x_16, 1, x_14); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_16); -lean_ctor_set(x_17, 1, x_9); -return x_17; -} -} -static lean_object* _init_l_Lean_Delaborator_delabGT___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabGT___lambda__1___boxed), 9, 0); -return x_1; -} -} -lean_object* l_Lean_Delaborator_delabGT(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; lean_object* x_8; -x_7 = l_Lean_Delaborator_delabGT___closed__1; -x_8 = l_Lean_Delaborator_delabInfixOp(x_7, x_1, x_2, x_3, x_4, x_5, x_6); -return x_8; -} -} -lean_object* l_Lean_Delaborator_delabGT___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_1); -lean_dec(x_1); -x_11 = l_Lean_Delaborator_delabGT___lambda__1(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -return x_11; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabGT___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Delaborator_getExprKind___closed__5; -x_2 = l_myMacro____x40_Init_Notation___hyg_2384____closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabGT___closed__2() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabGT), 6, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Delaborator_delabGT(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_Delaborator_delabAttribute; -x_3 = l___regBuiltin_Lean_Delaborator_delabGT___closed__1; -x_4 = l___regBuiltin_Lean_Delaborator_delabGT___closed__2; -x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); -return x_5; -} -} -lean_object* l_Lean_Delaborator_delabEq___lambda__1(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_10 = l_Array_empty___closed__1; -x_11 = lean_array_push(x_10, x_2); -x_12 = l___private_Init_NotationExtra_0__Lean_mkHintBody___closed__2; -x_13 = lean_array_push(x_11, x_12); -x_14 = lean_array_push(x_13, x_3); -x_15 = l___kind_term____x40_Init_Notation___hyg_2514____closed__1; -x_16 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_16, 0, x_15); -lean_ctor_set(x_16, 1, x_14); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_16); -lean_ctor_set(x_17, 1, x_9); -return x_17; -} -} -static lean_object* _init_l_Lean_Delaborator_delabEq___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabEq___lambda__1___boxed), 9, 0); -return x_1; -} -} -lean_object* l_Lean_Delaborator_delabEq(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; lean_object* x_8; -x_7 = l_Lean_Delaborator_delabEq___closed__1; -x_8 = l_Lean_Delaborator_delabInfixOp(x_7, x_1, x_2, x_3, x_4, x_5, x_6); -return x_8; -} -} -lean_object* l_Lean_Delaborator_delabEq___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_1); -lean_dec(x_1); -x_11 = l_Lean_Delaborator_delabEq___lambda__1(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -return x_11; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabEq___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Delaborator_getExprKind___closed__5; -x_2 = l_myMacro____x40_Init_Notation___hyg_2549____closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabEq___closed__2() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabEq), 6, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Delaborator_delabEq(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_Delaborator_delabAttribute; -x_3 = l___regBuiltin_Lean_Delaborator_delabEq___closed__1; -x_4 = l___regBuiltin_Lean_Delaborator_delabEq___closed__2; -x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); -return x_5; -} -} -static lean_object* _init_l_Lean_Delaborator_delabNe___lambda__1___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("≠"); -return x_1; -} -} -static lean_object* _init_l_Lean_Delaborator_delabNe___lambda__1___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_instInhabitedSourceInfo___closed__1; -x_2 = l_Lean_Delaborator_delabNe___lambda__1___closed__1; -x_3 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -lean_object* l_Lean_Delaborator_delabNe___lambda__1(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_10 = l_Array_empty___closed__1; -x_11 = lean_array_push(x_10, x_2); -x_12 = l_Lean_Delaborator_delabNe___lambda__1___closed__2; -x_13 = lean_array_push(x_11, x_12); -x_14 = lean_array_push(x_13, x_3); -x_15 = l___kind_term____x40_Init_Core___hyg_1390____closed__1; -x_16 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_16, 0, x_15); -lean_ctor_set(x_16, 1, x_14); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_16); -lean_ctor_set(x_17, 1, x_9); -return x_17; -} -} -static lean_object* _init_l_Lean_Delaborator_delabNe___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabNe___lambda__1___boxed), 9, 0); -return x_1; -} -} -lean_object* l_Lean_Delaborator_delabNe(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; lean_object* x_8; -x_7 = l_Lean_Delaborator_delabNe___closed__1; -x_8 = l_Lean_Delaborator_delabInfixOp(x_7, x_1, x_2, x_3, x_4, x_5, x_6); -return x_8; -} -} -lean_object* l_Lean_Delaborator_delabNe___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_1); -lean_dec(x_1); -x_11 = l_Lean_Delaborator_delabNe___lambda__1(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -return x_11; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabNe___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Delaborator_getExprKind___closed__5; -x_2 = l_myMacro____x40_Init_Core___hyg_1425____closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabNe___closed__2() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabNe), 6, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Delaborator_delabNe(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_Delaborator_delabAttribute; -x_3 = l___regBuiltin_Lean_Delaborator_delabNe___closed__1; -x_4 = l___regBuiltin_Lean_Delaborator_delabNe___closed__2; -x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); -return x_5; -} -} -static lean_object* _init_l_Lean_Delaborator_delabBEq___lambda__1___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("=="); -return x_1; -} -} -static lean_object* _init_l_Lean_Delaborator_delabBEq___lambda__1___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_instInhabitedSourceInfo___closed__1; -x_2 = l_Lean_Delaborator_delabBEq___lambda__1___closed__1; -x_3 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -lean_object* l_Lean_Delaborator_delabBEq___lambda__1(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_10 = l_Array_empty___closed__1; -x_11 = lean_array_push(x_10, x_2); -x_12 = l_Lean_Delaborator_delabBEq___lambda__1___closed__2; -x_13 = lean_array_push(x_11, x_12); -x_14 = lean_array_push(x_13, x_3); -x_15 = l___kind_term____x40_Init_Notation___hyg_2679____closed__1; -x_16 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_16, 0, x_15); -lean_ctor_set(x_16, 1, x_14); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_16); -lean_ctor_set(x_17, 1, x_9); -return x_17; -} -} -static lean_object* _init_l_Lean_Delaborator_delabBEq___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabBEq___lambda__1___boxed), 9, 0); -return x_1; -} -} -lean_object* l_Lean_Delaborator_delabBEq(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; lean_object* x_8; -x_7 = l_Lean_Delaborator_delabBEq___closed__1; -x_8 = l_Lean_Delaborator_delabInfixOp(x_7, x_1, x_2, x_3, x_4, x_5, x_6); -return x_8; -} -} -lean_object* l_Lean_Delaborator_delabBEq___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_1); -lean_dec(x_1); -x_11 = l_Lean_Delaborator_delabBEq___lambda__1(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -return x_11; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabBEq___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Delaborator_getExprKind___closed__5; -x_2 = l_myMacro____x40_Init_Notation___hyg_2714____closed__4; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabBEq___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Lean_Delaborator_delabBEq___closed__1; -x_2 = l_myMacro____x40_Init_Notation___hyg_2714____closed__6; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabBEq___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabBEq), 6, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Delaborator_delabBEq(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_Delaborator_delabAttribute; -x_3 = l___regBuiltin_Lean_Delaborator_delabBEq___closed__2; -x_4 = l___regBuiltin_Lean_Delaborator_delabBEq___closed__3; -x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); -return x_5; -} -} -static lean_object* _init_l_Lean_Delaborator_delabBNe___lambda__1___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("!="); -return x_1; -} -} -static lean_object* _init_l_Lean_Delaborator_delabBNe___lambda__1___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_instInhabitedSourceInfo___closed__1; -x_2 = l_Lean_Delaborator_delabBNe___lambda__1___closed__1; -x_3 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -lean_object* l_Lean_Delaborator_delabBNe___lambda__1(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_10 = l_Array_empty___closed__1; -x_11 = lean_array_push(x_10, x_2); -x_12 = l_Lean_Delaborator_delabBNe___lambda__1___closed__2; -x_13 = lean_array_push(x_11, x_12); -x_14 = lean_array_push(x_13, x_3); -x_15 = l___kind_term____x40_Init_Core___hyg_997____closed__1; -x_16 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_16, 0, x_15); -lean_ctor_set(x_16, 1, x_14); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_16); -lean_ctor_set(x_17, 1, x_9); -return x_17; -} -} -static lean_object* _init_l_Lean_Delaborator_delabBNe___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabBNe___lambda__1___boxed), 9, 0); -return x_1; -} -} -lean_object* l_Lean_Delaborator_delabBNe(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; lean_object* x_8; -x_7 = l_Lean_Delaborator_delabBNe___closed__1; -x_8 = l_Lean_Delaborator_delabInfixOp(x_7, x_1, x_2, x_3, x_4, x_5, x_6); -return x_8; -} -} -lean_object* l_Lean_Delaborator_delabBNe___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_1); -lean_dec(x_1); -x_11 = l_Lean_Delaborator_delabBNe___lambda__1(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -return x_11; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabBNe___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Delaborator_getExprKind___closed__5; -x_2 = l_myMacro____x40_Init_Core___hyg_1032____closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabBNe___closed__2() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabBNe), 6, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Delaborator_delabBNe(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_Delaborator_delabAttribute; -x_3 = l___regBuiltin_Lean_Delaborator_delabBNe___closed__1; -x_4 = l___regBuiltin_Lean_Delaborator_delabBNe___closed__2; -x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); -return x_5; -} -} -static lean_object* _init_l_Lean_Delaborator_delabHEq___lambda__1___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("~="); -return x_1; -} -} -static lean_object* _init_l_Lean_Delaborator_delabHEq___lambda__1___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_instInhabitedSourceInfo___closed__1; -x_2 = l_Lean_Delaborator_delabHEq___lambda__1___closed__1; -x_3 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Delaborator_delabHEq___lambda__1___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("≅"); -return x_1; -} -} -static lean_object* _init_l_Lean_Delaborator_delabHEq___lambda__1___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_instInhabitedSourceInfo___closed__1; -x_2 = l_Lean_Delaborator_delabHEq___lambda__1___closed__3; -x_3 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -lean_object* l_Lean_Delaborator_delabHEq___lambda__1(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -if (x_1 == 0) -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_10 = l_Array_empty___closed__1; -x_11 = lean_array_push(x_10, x_2); -x_12 = l_Lean_Delaborator_delabHEq___lambda__1___closed__2; -x_13 = lean_array_push(x_11, x_12); -x_14 = lean_array_push(x_13, x_3); -x_15 = l___kind_term____x40_Init_Notation___hyg_2848____closed__1; -x_16 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_16, 0, x_15); -lean_ctor_set(x_16, 1, x_14); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_16); -lean_ctor_set(x_17, 1, x_9); -return x_17; -} -else -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_18 = l_Array_empty___closed__1; -x_19 = lean_array_push(x_18, x_2); -x_20 = l_Lean_Delaborator_delabHEq___lambda__1___closed__4; -x_21 = lean_array_push(x_19, x_20); -x_22 = lean_array_push(x_21, x_3); -x_23 = l___kind_term____x40_Init_Notation___hyg_3013____closed__1; -x_24 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_24, 0, x_23); -lean_ctor_set(x_24, 1, x_22); -x_25 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_25, 0, x_24); -lean_ctor_set(x_25, 1, x_9); -return x_25; -} -} -} -static lean_object* _init_l_Lean_Delaborator_delabHEq___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabHEq___lambda__1___boxed), 9, 0); -return x_1; -} -} -lean_object* l_Lean_Delaborator_delabHEq(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; lean_object* x_8; -x_7 = l_Lean_Delaborator_delabHEq___closed__1; -x_8 = l_Lean_Delaborator_delabInfixOp(x_7, x_1, x_2, x_3, x_4, x_5, x_6); -return x_8; -} -} -lean_object* l_Lean_Delaborator_delabHEq___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_1); -lean_dec(x_1); -x_11 = l_Lean_Delaborator_delabHEq___lambda__1(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -return x_11; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabHEq___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Delaborator_getExprKind___closed__5; -x_2 = l_myMacro____x40_Init_Notation___hyg_2883____closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabHEq___closed__2() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabHEq), 6, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Delaborator_delabHEq(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_Delaborator_delabAttribute; -x_3 = l___regBuiltin_Lean_Delaborator_delabHEq___closed__1; -x_4 = l___regBuiltin_Lean_Delaborator_delabHEq___closed__2; -x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); -return x_5; -} -} -static lean_object* _init_l_Lean_Delaborator_delabEquiv___lambda__1___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("≈"); -return x_1; -} -} -static lean_object* _init_l_Lean_Delaborator_delabEquiv___lambda__1___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_instInhabitedSourceInfo___closed__1; -x_2 = l_Lean_Delaborator_delabEquiv___lambda__1___closed__1; -x_3 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -lean_object* l_Lean_Delaborator_delabEquiv___lambda__1(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_10 = l_Array_empty___closed__1; -x_11 = lean_array_push(x_10, x_2); -x_12 = l_Lean_Delaborator_delabEquiv___lambda__1___closed__2; -x_13 = lean_array_push(x_11, x_12); -x_14 = lean_array_push(x_13, x_3); -x_15 = l___kind_term____x40_Init_Core___hyg_680____closed__1; -x_16 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_16, 0, x_15); -lean_ctor_set(x_16, 1, x_14); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_16); -lean_ctor_set(x_17, 1, x_9); -return x_17; -} -} -static lean_object* _init_l_Lean_Delaborator_delabEquiv___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabEquiv___lambda__1___boxed), 9, 0); -return x_1; -} -} -lean_object* l_Lean_Delaborator_delabEquiv(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; lean_object* x_8; -x_7 = l_Lean_Delaborator_delabEquiv___closed__1; -x_8 = l_Lean_Delaborator_delabInfixOp(x_7, x_1, x_2, x_3, x_4, x_5, x_6); -return x_8; -} -} -lean_object* l_Lean_Delaborator_delabEquiv___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_1); -lean_dec(x_1); -x_11 = l_Lean_Delaborator_delabEquiv___lambda__1(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -return x_11; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabEquiv___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Delaborator_getExprKind___closed__5; -x_2 = l_myMacro____x40_Init_Core___hyg_715____closed__4; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabEquiv___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Lean_Delaborator_delabEquiv___closed__1; -x_2 = l_myMacro____x40_Init_Core___hyg_715____closed__6; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabEquiv___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabEquiv), 6, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Delaborator_delabEquiv(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_Delaborator_delabAttribute; -x_3 = l___regBuiltin_Lean_Delaborator_delabEquiv___closed__2; -x_4 = l___regBuiltin_Lean_Delaborator_delabEquiv___closed__3; -x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); -return x_5; -} -} -static lean_object* _init_l_Lean_Delaborator_delabAnd___lambda__1___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("/\\"); -return x_1; -} -} -static lean_object* _init_l_Lean_Delaborator_delabAnd___lambda__1___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_instInhabitedSourceInfo___closed__1; -x_2 = l_Lean_Delaborator_delabAnd___lambda__1___closed__1; -x_3 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Delaborator_delabAnd___lambda__1___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("∧"); -return x_1; -} -} -static lean_object* _init_l_Lean_Delaborator_delabAnd___lambda__1___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_instInhabitedSourceInfo___closed__1; -x_2 = l_Lean_Delaborator_delabAnd___lambda__1___closed__3; -x_3 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -lean_object* l_Lean_Delaborator_delabAnd___lambda__1(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -if (x_1 == 0) -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_10 = l_Array_empty___closed__1; -x_11 = lean_array_push(x_10, x_2); -x_12 = l_Lean_Delaborator_delabAnd___lambda__1___closed__2; -x_13 = lean_array_push(x_11, x_12); -x_14 = lean_array_push(x_13, x_3); -x_15 = l___kind_term____x40_Init_Notation___hyg_3341____closed__1; -x_16 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_16, 0, x_15); -lean_ctor_set(x_16, 1, x_14); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_16); -lean_ctor_set(x_17, 1, x_9); -return x_17; -} -else -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_18 = l_Array_empty___closed__1; -x_19 = lean_array_push(x_18, x_2); -x_20 = l_Lean_Delaborator_delabAnd___lambda__1___closed__4; -x_21 = lean_array_push(x_19, x_20); -x_22 = lean_array_push(x_21, x_3); -x_23 = l___kind_term____x40_Init_Notation___hyg_3177____closed__1; -x_24 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_24, 0, x_23); -lean_ctor_set(x_24, 1, x_22); -x_25 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_25, 0, x_24); -lean_ctor_set(x_25, 1, x_9); -return x_25; -} -} -} -static lean_object* _init_l_Lean_Delaborator_delabAnd___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabAnd___lambda__1___boxed), 9, 0); -return x_1; -} -} -lean_object* l_Lean_Delaborator_delabAnd(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; lean_object* x_8; -x_7 = l_Lean_Delaborator_delabAnd___closed__1; -x_8 = l_Lean_Delaborator_delabInfixOp(x_7, x_1, x_2, x_3, x_4, x_5, x_6); -return x_8; -} -} -lean_object* l_Lean_Delaborator_delabAnd___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_1); -lean_dec(x_1); -x_11 = l_Lean_Delaborator_delabAnd___lambda__1(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -return x_11; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabAnd___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Delaborator_getExprKind___closed__5; -x_2 = l_myMacro____x40_Init_Notation___hyg_3212____closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabAnd___closed__2() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabAnd), 6, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Delaborator_delabAnd(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_Delaborator_delabAttribute; -x_3 = l___regBuiltin_Lean_Delaborator_delabAnd___closed__1; -x_4 = l___regBuiltin_Lean_Delaborator_delabAnd___closed__2; -x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); -return x_5; -} -} -static lean_object* _init_l_Lean_Delaborator_delabOr___lambda__1___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("||"); -return x_1; -} -} -static lean_object* _init_l_Lean_Delaborator_delabOr___lambda__1___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_instInhabitedSourceInfo___closed__1; -x_2 = l_Lean_Delaborator_delabOr___lambda__1___closed__1; -x_3 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Delaborator_delabOr___lambda__1___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("∨"); -return x_1; -} -} -static lean_object* _init_l_Lean_Delaborator_delabOr___lambda__1___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_instInhabitedSourceInfo___closed__1; -x_2 = l_Lean_Delaborator_delabOr___lambda__1___closed__3; -x_3 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -lean_object* l_Lean_Delaborator_delabOr___lambda__1(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -if (x_1 == 0) -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_10 = l_Array_empty___closed__1; -x_11 = lean_array_push(x_10, x_2); -x_12 = l_Lean_Delaborator_delabOr___lambda__1___closed__2; -x_13 = lean_array_push(x_11, x_12); -x_14 = lean_array_push(x_13, x_3); -x_15 = l___kind_term____x40_Init_Notation___hyg_3997____closed__1; -x_16 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_16, 0, x_15); -lean_ctor_set(x_16, 1, x_14); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_16); -lean_ctor_set(x_17, 1, x_9); -return x_17; -} -else -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_18 = l_Array_empty___closed__1; -x_19 = lean_array_push(x_18, x_2); -x_20 = l_Lean_Delaborator_delabOr___lambda__1___closed__4; -x_21 = lean_array_push(x_19, x_20); -x_22 = lean_array_push(x_21, x_3); -x_23 = l___kind_term____x40_Init_Notation___hyg_3505____closed__1; -x_24 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_24, 0, x_23); -lean_ctor_set(x_24, 1, x_22); -x_25 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_25, 0, x_24); -lean_ctor_set(x_25, 1, x_9); -return x_25; -} -} -} -static lean_object* _init_l_Lean_Delaborator_delabOr___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabOr___lambda__1___boxed), 9, 0); -return x_1; -} -} -lean_object* l_Lean_Delaborator_delabOr(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; lean_object* x_8; -x_7 = l_Lean_Delaborator_delabOr___closed__1; -x_8 = l_Lean_Delaborator_delabInfixOp(x_7, x_1, x_2, x_3, x_4, x_5, x_6); -return x_8; -} -} -lean_object* l_Lean_Delaborator_delabOr___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_1); -lean_dec(x_1); -x_11 = l_Lean_Delaborator_delabOr___lambda__1(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -return x_11; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabOr___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Delaborator_getExprKind___closed__5; -x_2 = l_myMacro____x40_Init_Notation___hyg_3540____closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabOr___closed__2() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabOr), 6, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Delaborator_delabOr(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_Delaborator_delabAttribute; -x_3 = l___regBuiltin_Lean_Delaborator_delabOr___closed__1; -x_4 = l___regBuiltin_Lean_Delaborator_delabOr___closed__2; -x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); -return x_5; -} -} -static lean_object* _init_l_Lean_Delaborator_delabIff___lambda__1___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("<->"); -return x_1; -} -} -static lean_object* _init_l_Lean_Delaborator_delabIff___lambda__1___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_instInhabitedSourceInfo___closed__1; -x_2 = l_Lean_Delaborator_delabIff___lambda__1___closed__1; -x_3 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Delaborator_delabIff___lambda__1___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("↔"); -return x_1; -} -} -static lean_object* _init_l_Lean_Delaborator_delabIff___lambda__1___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_instInhabitedSourceInfo___closed__1; -x_2 = l_Lean_Delaborator_delabIff___lambda__1___closed__3; -x_3 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -lean_object* l_Lean_Delaborator_delabIff___lambda__1(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -if (x_1 == 0) -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_10 = l_Array_empty___closed__1; -x_11 = lean_array_push(x_10, x_2); -x_12 = l_Lean_Delaborator_delabIff___lambda__1___closed__2; -x_13 = lean_array_push(x_11, x_12); -x_14 = lean_array_push(x_13, x_3); -x_15 = l___kind_term____x40_Init_Core___hyg_150____closed__4; -x_16 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_16, 0, x_15); -lean_ctor_set(x_16, 1, x_14); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_16); -lean_ctor_set(x_17, 1, x_9); -return x_17; -} -else -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_18 = l_Array_empty___closed__1; -x_19 = lean_array_push(x_18, x_2); -x_20 = l_Lean_Delaborator_delabIff___lambda__1___closed__4; -x_21 = lean_array_push(x_19, x_20); -x_22 = lean_array_push(x_21, x_3); -x_23 = l___kind_term____x40_Init_Core___hyg_315____closed__1; -x_24 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_24, 0, x_23); -lean_ctor_set(x_24, 1, x_22); -x_25 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_25, 0, x_24); -lean_ctor_set(x_25, 1, x_9); -return x_25; -} -} -} -static lean_object* _init_l_Lean_Delaborator_delabIff___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabIff___lambda__1___boxed), 9, 0); -return x_1; -} -} -lean_object* l_Lean_Delaborator_delabIff(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; lean_object* x_8; -x_7 = l_Lean_Delaborator_delabIff___closed__1; -x_8 = l_Lean_Delaborator_delabInfixOp(x_7, x_1, x_2, x_3, x_4, x_5, x_6); -return x_8; -} -} -lean_object* l_Lean_Delaborator_delabIff___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_1); -lean_dec(x_1); -x_11 = l_Lean_Delaborator_delabIff___lambda__1(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -return x_11; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabIff___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Delaborator_getExprKind___closed__5; -x_2 = l_myMacro____x40_Init_Core___hyg_185____closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabIff___closed__2() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabIff), 6, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Delaborator_delabIff(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_Delaborator_delabAttribute; -x_3 = l___regBuiltin_Lean_Delaborator_delabIff___closed__1; -x_4 = l___regBuiltin_Lean_Delaborator_delabIff___closed__2; -x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); -return x_5; -} -} -static lean_object* _init_l_Lean_Delaborator_delabBAnd___lambda__1___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("&&"); -return x_1; -} -} -static lean_object* _init_l_Lean_Delaborator_delabBAnd___lambda__1___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_instInhabitedSourceInfo___closed__1; -x_2 = l_Lean_Delaborator_delabBAnd___lambda__1___closed__1; -x_3 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -lean_object* l_Lean_Delaborator_delabBAnd___lambda__1(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_10 = l_Array_empty___closed__1; -x_11 = lean_array_push(x_10, x_2); -x_12 = l_Lean_Delaborator_delabBAnd___lambda__1___closed__2; -x_13 = lean_array_push(x_11, x_12); -x_14 = lean_array_push(x_13, x_3); -x_15 = l___kind_term____x40_Init_Notation___hyg_3833____closed__1; -x_16 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_16, 0, x_15); -lean_ctor_set(x_16, 1, x_14); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_16); -lean_ctor_set(x_17, 1, x_9); -return x_17; -} -} -static lean_object* _init_l_Lean_Delaborator_delabBAnd___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabBAnd___lambda__1___boxed), 9, 0); -return x_1; -} -} -lean_object* l_Lean_Delaborator_delabBAnd(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; lean_object* x_8; -x_7 = l_Lean_Delaborator_delabBAnd___closed__1; -x_8 = l_Lean_Delaborator_delabInfixOp(x_7, x_1, x_2, x_3, x_4, x_5, x_6); -return x_8; -} -} -lean_object* l_Lean_Delaborator_delabBAnd___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_1); -lean_dec(x_1); -x_11 = l_Lean_Delaborator_delabBAnd___lambda__1(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -return x_11; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabBAnd___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Delaborator_getExprKind___closed__5; -x_2 = l_myMacro____x40_Init_Notation___hyg_3868____closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabBAnd___closed__2() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabBAnd), 6, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Delaborator_delabBAnd(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_Delaborator_delabAttribute; -x_3 = l___regBuiltin_Lean_Delaborator_delabBAnd___closed__1; -x_4 = l___regBuiltin_Lean_Delaborator_delabBAnd___closed__2; -x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); -return x_5; -} -} -lean_object* l_Lean_Delaborator_delabBOr___lambda__1(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_10 = l_Array_empty___closed__1; -x_11 = lean_array_push(x_10, x_2); -x_12 = l_Lean_Delaborator_delabOr___lambda__1___closed__2; -x_13 = lean_array_push(x_11, x_12); -x_14 = lean_array_push(x_13, x_3); -x_15 = l___kind_term____x40_Init_Notation___hyg_3997____closed__1; -x_16 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_16, 0, x_15); -lean_ctor_set(x_16, 1, x_14); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_16); -lean_ctor_set(x_17, 1, x_9); -return x_17; -} -} -static lean_object* _init_l_Lean_Delaborator_delabBOr___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabBOr___lambda__1___boxed), 9, 0); -return x_1; -} -} -lean_object* l_Lean_Delaborator_delabBOr(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; lean_object* x_8; -x_7 = l_Lean_Delaborator_delabBOr___closed__1; -x_8 = l_Lean_Delaborator_delabInfixOp(x_7, x_1, x_2, x_3, x_4, x_5, x_6); -return x_8; -} -} -lean_object* l_Lean_Delaborator_delabBOr___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_1); -lean_dec(x_1); -x_11 = l_Lean_Delaborator_delabBOr___lambda__1(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -return x_11; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabBOr___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Delaborator_getExprKind___closed__5; -x_2 = l_myMacro____x40_Init_Notation___hyg_4032____closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabBOr___closed__2() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabBOr), 6, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Delaborator_delabBOr(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_Delaborator_delabAttribute; -x_3 = l___regBuiltin_Lean_Delaborator_delabBOr___closed__1; -x_4 = l___regBuiltin_Lean_Delaborator_delabBOr___closed__2; -x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); -return x_5; -} -} -lean_object* l_Lean_Delaborator_delabAppend___lambda__1(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_10 = l_Array_empty___closed__1; -x_11 = lean_array_push(x_10, x_2); -x_12 = l_Lean_Syntax_expandInterpolatedStr___lambda__1___closed__2; -x_13 = lean_array_push(x_11, x_12); -x_14 = lean_array_push(x_13, x_3); -x_15 = l___kind_term____x40_Init_Notation___hyg_4161____closed__1; -x_16 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_16, 0, x_15); -lean_ctor_set(x_16, 1, x_14); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_16); -lean_ctor_set(x_17, 1, x_9); -return x_17; -} -} -static lean_object* _init_l_Lean_Delaborator_delabAppend___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabAppend___lambda__1___boxed), 9, 0); -return x_1; -} -} -lean_object* l_Lean_Delaborator_delabAppend(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; lean_object* x_8; -x_7 = l_Lean_Delaborator_delabAppend___closed__1; -x_8 = l_Lean_Delaborator_delabInfixOp(x_7, x_1, x_2, x_3, x_4, x_5, x_6); -return x_8; -} -} -lean_object* l_Lean_Delaborator_delabAppend___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_1); -lean_dec(x_1); -x_11 = l_Lean_Delaborator_delabAppend___lambda__1(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -return x_11; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabAppend___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Delaborator_getExprKind___closed__5; -x_2 = l_myMacro____x40_Init_Notation___hyg_4196____closed__4; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabAppend___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Lean_Delaborator_delabAppend___closed__1; -x_2 = l_myMacro____x40_Init_Notation___hyg_4196____closed__6; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabAppend___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabAppend), 6, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Delaborator_delabAppend(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_Delaborator_delabAttribute; -x_3 = l___regBuiltin_Lean_Delaborator_delabAppend___closed__2; -x_4 = l___regBuiltin_Lean_Delaborator_delabAppend___closed__3; -x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); -return x_5; -} -} -static lean_object* _init_l_Lean_Delaborator_delabCons___lambda__1___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("::"); -return x_1; -} -} -static lean_object* _init_l_Lean_Delaborator_delabCons___lambda__1___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_instInhabitedSourceInfo___closed__1; -x_2 = l_Lean_Delaborator_delabCons___lambda__1___closed__1; -x_3 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -lean_object* l_Lean_Delaborator_delabCons___lambda__1(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_10 = l_Array_empty___closed__1; -x_11 = lean_array_push(x_10, x_2); -x_12 = l_Lean_Delaborator_delabCons___lambda__1___closed__2; -x_13 = lean_array_push(x_11, x_12); -x_14 = lean_array_push(x_13, x_3); -x_15 = l___kind_term____x40_Init_Notation___hyg_4329____closed__1; -x_16 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_16, 0, x_15); -lean_ctor_set(x_16, 1, x_14); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_16); -lean_ctor_set(x_17, 1, x_9); -return x_17; -} -} -static lean_object* _init_l_Lean_Delaborator_delabCons___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabCons___lambda__1___boxed), 9, 0); -return x_1; -} -} -lean_object* l_Lean_Delaborator_delabCons(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; lean_object* x_8; -x_7 = l_Lean_Delaborator_delabCons___closed__1; -x_8 = l_Lean_Delaborator_delabInfixOp(x_7, x_1, x_2, x_3, x_4, x_5, x_6); -return x_8; -} -} -lean_object* l_Lean_Delaborator_delabCons___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_1); -lean_dec(x_1); -x_11 = l_Lean_Delaborator_delabCons___lambda__1(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -return x_11; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabCons___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Delaborator_getExprKind___closed__5; -x_2 = l_myMacro____x40_Init_Notation___hyg_4364____closed__4; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabCons___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Lean_Delaborator_delabCons___closed__1; -x_2 = l_myMacro____x40_Init_Notation___hyg_4364____closed__6; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabCons___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabCons), 6, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Delaborator_delabCons(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_Delaborator_delabAttribute; -x_3 = l___regBuiltin_Lean_Delaborator_delabCons___closed__2; -x_4 = l___regBuiltin_Lean_Delaborator_delabCons___closed__3; -x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); -return x_5; -} -} -static lean_object* _init_l_Lean_Delaborator_delabAndThen___lambda__1___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string(">>"); -return x_1; -} -} -static lean_object* _init_l_Lean_Delaborator_delabAndThen___lambda__1___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_instInhabitedSourceInfo___closed__1; -x_2 = l_Lean_Delaborator_delabAndThen___lambda__1___closed__1; -x_3 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -lean_object* l_Lean_Delaborator_delabAndThen___lambda__1(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_10 = l_Array_empty___closed__1; -x_11 = lean_array_push(x_10, x_2); -x_12 = l_Lean_Delaborator_delabAndThen___lambda__1___closed__2; -x_13 = lean_array_push(x_11, x_12); -x_14 = lean_array_push(x_13, x_3); -x_15 = l___kind_term____x40_Init_Notation___hyg_4665____closed__1; -x_16 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_16, 0, x_15); -lean_ctor_set(x_16, 1, x_14); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_16); -lean_ctor_set(x_17, 1, x_9); -return x_17; -} -} -static lean_object* _init_l_Lean_Delaborator_delabAndThen___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabAndThen___lambda__1___boxed), 9, 0); -return x_1; -} -} -lean_object* l_Lean_Delaborator_delabAndThen(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; lean_object* x_8; -x_7 = l_Lean_Delaborator_delabAndThen___closed__1; -x_8 = l_Lean_Delaborator_delabInfixOp(x_7, x_1, x_2, x_3, x_4, x_5, x_6); -return x_8; -} -} -lean_object* l_Lean_Delaborator_delabAndThen___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_1); -lean_dec(x_1); -x_11 = l_Lean_Delaborator_delabAndThen___lambda__1(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -return x_11; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabAndThen___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Delaborator_getExprKind___closed__5; -x_2 = l_myMacro____x40_Init_Notation___hyg_4700____closed__4; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabAndThen___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Lean_Delaborator_delabAndThen___closed__1; -x_2 = l___kind_term____x40_Init_Notation___hyg_3____closed__12; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabAndThen___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabAndThen), 6, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Delaborator_delabAndThen(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_Delaborator_delabAttribute; -x_3 = l___regBuiltin_Lean_Delaborator_delabAndThen___closed__2; -x_4 = l___regBuiltin_Lean_Delaborator_delabAndThen___closed__3; -x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); -return x_5; -} -} -static lean_object* _init_l_Lean_Delaborator_delabBind___lambda__1___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string(">>="); -return x_1; -} -} -static lean_object* _init_l_Lean_Delaborator_delabBind___lambda__1___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_instInhabitedSourceInfo___closed__1; -x_2 = l_Lean_Delaborator_delabBind___lambda__1___closed__1; -x_3 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -lean_object* l_Lean_Delaborator_delabBind___lambda__1(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_10 = l_Array_empty___closed__1; -x_11 = lean_array_push(x_10, x_2); -x_12 = l_Lean_Delaborator_delabBind___lambda__1___closed__2; -x_13 = lean_array_push(x_11, x_12); -x_14 = lean_array_push(x_13, x_3); -x_15 = l___kind_term____x40_Init_Notation___hyg_4833____closed__1; -x_16 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_16, 0, x_15); -lean_ctor_set(x_16, 1, x_14); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_16); -lean_ctor_set(x_17, 1, x_9); -return x_17; -} -} -static lean_object* _init_l_Lean_Delaborator_delabBind___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabBind___lambda__1___boxed), 9, 0); -return x_1; -} -} -lean_object* l_Lean_Delaborator_delabBind(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; lean_object* x_8; -x_7 = l_Lean_Delaborator_delabBind___closed__1; -x_8 = l_Lean_Delaborator_delabInfixOp(x_7, x_1, x_2, x_3, x_4, x_5, x_6); -return x_8; -} -} -lean_object* l_Lean_Delaborator_delabBind___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_1); -lean_dec(x_1); -x_11 = l_Lean_Delaborator_delabBind___lambda__1(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -return x_11; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabBind___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Delaborator_getExprKind___closed__5; -x_2 = l_myMacro____x40_Init_Notation___hyg_4868____closed__4; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabBind___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Lean_Delaborator_delabBind___closed__1; -x_2 = l_myMacro____x40_Init_Notation___hyg_4868____closed__6; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabBind___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabBind), 6, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Delaborator_delabBind(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_Delaborator_delabAttribute; -x_3 = l___regBuiltin_Lean_Delaborator_delabBind___closed__2; -x_4 = l___regBuiltin_Lean_Delaborator_delabBind___closed__3; -x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); -return x_5; -} -} -static lean_object* _init_l_Lean_Delaborator_delabseq___lambda__1___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("<*>"); -return x_1; -} -} -static lean_object* _init_l_Lean_Delaborator_delabseq___lambda__1___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_instInhabitedSourceInfo___closed__1; -x_2 = l_Lean_Delaborator_delabseq___lambda__1___closed__1; -x_3 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -lean_object* l_Lean_Delaborator_delabseq___lambda__1(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_10 = l_Array_empty___closed__1; -x_11 = lean_array_push(x_10, x_2); -x_12 = l_Lean_Delaborator_delabseq___lambda__1___closed__2; -x_13 = lean_array_push(x_11, x_12); -x_14 = lean_array_push(x_13, x_3); -x_15 = l___kind_term____x40_Init_Notation___hyg_5001____closed__1; -x_16 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_16, 0, x_15); -lean_ctor_set(x_16, 1, x_14); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_16); -lean_ctor_set(x_17, 1, x_9); -return x_17; -} -} -static lean_object* _init_l_Lean_Delaborator_delabseq___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabseq___lambda__1___boxed), 9, 0); -return x_1; -} -} -lean_object* l_Lean_Delaborator_delabseq(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; lean_object* x_8; -x_7 = l_Lean_Delaborator_delabseq___closed__1; -x_8 = l_Lean_Delaborator_delabInfixOp(x_7, x_1, x_2, x_3, x_4, x_5, x_6); -return x_8; -} -} -lean_object* l_Lean_Delaborator_delabseq___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_1); -lean_dec(x_1); -x_11 = l_Lean_Delaborator_delabseq___lambda__1(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -return x_11; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabseq___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Delaborator_getExprKind___closed__5; -x_2 = l_myMacro____x40_Init_Notation___hyg_5036____closed__4; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabseq___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Lean_Delaborator_delabseq___closed__1; -x_2 = l_myMacro____x40_Init_Notation___hyg_5036____closed__6; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabseq___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabseq), 6, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Delaborator_delabseq(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_Delaborator_delabAttribute; -x_3 = l___regBuiltin_Lean_Delaborator_delabseq___closed__2; -x_4 = l___regBuiltin_Lean_Delaborator_delabseq___closed__3; -x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); -return x_5; -} -} -static lean_object* _init_l_Lean_Delaborator_delabseqLeft___lambda__1___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("<*"); -return x_1; -} -} -static lean_object* _init_l_Lean_Delaborator_delabseqLeft___lambda__1___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_instInhabitedSourceInfo___closed__1; -x_2 = l_Lean_Delaborator_delabseqLeft___lambda__1___closed__1; -x_3 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -lean_object* l_Lean_Delaborator_delabseqLeft___lambda__1(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_10 = l_Array_empty___closed__1; -x_11 = lean_array_push(x_10, x_2); -x_12 = l_Lean_Delaborator_delabseqLeft___lambda__1___closed__2; -x_13 = lean_array_push(x_11, x_12); -x_14 = lean_array_push(x_13, x_3); -x_15 = l___kind_term____x40_Init_Notation___hyg_5169____closed__1; -x_16 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_16, 0, x_15); -lean_ctor_set(x_16, 1, x_14); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_16); -lean_ctor_set(x_17, 1, x_9); -return x_17; -} -} -static lean_object* _init_l_Lean_Delaborator_delabseqLeft___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabseqLeft___lambda__1___boxed), 9, 0); -return x_1; -} -} -lean_object* l_Lean_Delaborator_delabseqLeft(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; lean_object* x_8; -x_7 = l_Lean_Delaborator_delabseqLeft___closed__1; -x_8 = l_Lean_Delaborator_delabInfixOp(x_7, x_1, x_2, x_3, x_4, x_5, x_6); -return x_8; -} -} -lean_object* l_Lean_Delaborator_delabseqLeft___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_1); -lean_dec(x_1); -x_11 = l_Lean_Delaborator_delabseqLeft___lambda__1(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -return x_11; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabseqLeft___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Delaborator_getExprKind___closed__5; -x_2 = l_myMacro____x40_Init_Notation___hyg_5204____closed__4; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabseqLeft___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Lean_Delaborator_delabseqLeft___closed__1; -x_2 = l_myMacro____x40_Init_Notation___hyg_5204____closed__6; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabseqLeft___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabseqLeft), 6, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Delaborator_delabseqLeft(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_Delaborator_delabAttribute; -x_3 = l___regBuiltin_Lean_Delaborator_delabseqLeft___closed__2; -x_4 = l___regBuiltin_Lean_Delaborator_delabseqLeft___closed__3; -x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); -return x_5; -} -} -static lean_object* _init_l_Lean_Delaborator_delabseqRight___lambda__1___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("*>"); -return x_1; -} -} -static lean_object* _init_l_Lean_Delaborator_delabseqRight___lambda__1___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_instInhabitedSourceInfo___closed__1; -x_2 = l_Lean_Delaborator_delabseqRight___lambda__1___closed__1; -x_3 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -lean_object* l_Lean_Delaborator_delabseqRight___lambda__1(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_10 = l_Array_empty___closed__1; -x_11 = lean_array_push(x_10, x_2); -x_12 = l_Lean_Delaborator_delabseqRight___lambda__1___closed__2; -x_13 = lean_array_push(x_11, x_12); -x_14 = lean_array_push(x_13, x_3); -x_15 = l___kind_term____x40_Init_Notation___hyg_5337____closed__1; -x_16 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_16, 0, x_15); -lean_ctor_set(x_16, 1, x_14); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_16); -lean_ctor_set(x_17, 1, x_9); -return x_17; -} -} -static lean_object* _init_l_Lean_Delaborator_delabseqRight___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabseqRight___lambda__1___boxed), 9, 0); -return x_1; -} -} -lean_object* l_Lean_Delaborator_delabseqRight(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; lean_object* x_8; -x_7 = l_Lean_Delaborator_delabseqRight___closed__1; -x_8 = l_Lean_Delaborator_delabInfixOp(x_7, x_1, x_2, x_3, x_4, x_5, x_6); -return x_8; -} -} -lean_object* l_Lean_Delaborator_delabseqRight___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_1); -lean_dec(x_1); -x_11 = l_Lean_Delaborator_delabseqRight___lambda__1(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -return x_11; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabseqRight___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Delaborator_getExprKind___closed__5; -x_2 = l_myMacro____x40_Init_Notation___hyg_5372____closed__4; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabseqRight___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Lean_Delaborator_delabseqRight___closed__1; -x_2 = l_myMacro____x40_Init_Notation___hyg_5372____closed__6; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabseqRight___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabseqRight), 6, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Delaborator_delabseqRight(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_Delaborator_delabAttribute; -x_3 = l___regBuiltin_Lean_Delaborator_delabseqRight___closed__2; -x_4 = l___regBuiltin_Lean_Delaborator_delabseqRight___closed__3; -x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); -return x_5; -} -} -static lean_object* _init_l_Lean_Delaborator_delabMap___lambda__1___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("<$>"); -return x_1; -} -} -static lean_object* _init_l_Lean_Delaborator_delabMap___lambda__1___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_instInhabitedSourceInfo___closed__1; -x_2 = l_Lean_Delaborator_delabMap___lambda__1___closed__1; -x_3 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -lean_object* l_Lean_Delaborator_delabMap___lambda__1(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_10 = l_Array_empty___closed__1; -x_11 = lean_array_push(x_10, x_2); -x_12 = l_Lean_Delaborator_delabMap___lambda__1___closed__2; -x_13 = lean_array_push(x_11, x_12); -x_14 = lean_array_push(x_13, x_3); -x_15 = l___kind_term____x40_Init_Notation___hyg_5505____closed__1; -x_16 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_16, 0, x_15); -lean_ctor_set(x_16, 1, x_14); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_16); -lean_ctor_set(x_17, 1, x_9); -return x_17; -} -} -static lean_object* _init_l_Lean_Delaborator_delabMap___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabMap___lambda__1___boxed), 9, 0); -return x_1; -} -} -lean_object* l_Lean_Delaborator_delabMap(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; lean_object* x_8; -x_7 = l_Lean_Delaborator_delabMap___closed__1; -x_8 = l_Lean_Delaborator_delabInfixOp(x_7, x_1, x_2, x_3, x_4, x_5, x_6); -return x_8; -} -} -lean_object* l_Lean_Delaborator_delabMap___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_1); -lean_dec(x_1); -x_11 = l_Lean_Delaborator_delabMap___lambda__1(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -return x_11; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabMap___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Delaborator_getExprKind___closed__5; -x_2 = l_myMacro____x40_Init_Notation___hyg_5540____closed__4; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabMap___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Lean_Delaborator_delabMap___closed__1; -x_2 = l_myMacro____x40_Init_Notation___hyg_5540____closed__6; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabMap___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabMap), 6, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Delaborator_delabMap(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_Delaborator_delabAttribute; -x_3 = l___regBuiltin_Lean_Delaborator_delabMap___closed__2; -x_4 = l___regBuiltin_Lean_Delaborator_delabMap___closed__3; -x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); -return x_5; -} -} -static lean_object* _init_l_Lean_Delaborator_delabMapRev___lambda__1___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("<&>"); -return x_1; -} -} -static lean_object* _init_l_Lean_Delaborator_delabMapRev___lambda__1___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_instInhabitedSourceInfo___closed__1; -x_2 = l_Lean_Delaborator_delabMapRev___lambda__1___closed__1; -x_3 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -lean_object* l_Lean_Delaborator_delabMapRev___lambda__1(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_10 = l_Array_empty___closed__1; -x_11 = lean_array_push(x_10, x_2); -x_12 = l_Lean_Delaborator_delabMapRev___lambda__1___closed__2; -x_13 = lean_array_push(x_11, x_12); -x_14 = lean_array_push(x_13, x_3); -x_15 = l___kind_term____x40_Init_Control_Basic___hyg_38____closed__6; -x_16 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_16, 0, x_15); -lean_ctor_set(x_16, 1, x_14); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_16); -lean_ctor_set(x_17, 1, x_9); -return x_17; -} -} -static lean_object* _init_l_Lean_Delaborator_delabMapRev___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabMapRev___lambda__1___boxed), 9, 0); -return x_1; -} -} -lean_object* l_Lean_Delaborator_delabMapRev(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; lean_object* x_8; -x_7 = l_Lean_Delaborator_delabMapRev___closed__1; -x_8 = l_Lean_Delaborator_delabInfixOp(x_7, x_1, x_2, x_3, x_4, x_5, x_6); -return x_8; -} -} -lean_object* l_Lean_Delaborator_delabMapRev___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_1); -lean_dec(x_1); -x_11 = l_Lean_Delaborator_delabMapRev___lambda__1(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -return x_11; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabMapRev___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Lean_Delaborator_delabMap___closed__1; -x_2 = l_myMacro____x40_Init_Control_Basic___hyg_75____closed__6; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabMapRev___closed__2() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabMapRev), 6, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Delaborator_delabMapRev(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_Delaborator_delabAttribute; -x_3 = l___regBuiltin_Lean_Delaborator_delabMapRev___closed__1; -x_4 = l___regBuiltin_Lean_Delaborator_delabMapRev___closed__2; -x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); -return x_5; -} -} -lean_object* l_Lean_Delaborator_delabOrElse___lambda__1(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_10 = l_Array_empty___closed__1; -x_11 = lean_array_push(x_10, x_2); -x_12 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_9654____closed__4; -x_13 = lean_array_push(x_11, x_12); -x_14 = lean_array_push(x_13, x_3); -x_15 = l___kind_term____x40_Init_Notation___hyg_4497____closed__1; -x_16 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_16, 0, x_15); -lean_ctor_set(x_16, 1, x_14); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_16); -lean_ctor_set(x_17, 1, x_9); -return x_17; -} -} -static lean_object* _init_l_Lean_Delaborator_delabOrElse___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabOrElse___lambda__1___boxed), 9, 0); -return x_1; -} -} -lean_object* l_Lean_Delaborator_delabOrElse(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; lean_object* x_8; -x_7 = l_Lean_Delaborator_delabOrElse___closed__1; -x_8 = l_Lean_Delaborator_delabInfixOp(x_7, x_1, x_2, x_3, x_4, x_5, x_6); -return x_8; -} -} -lean_object* l_Lean_Delaborator_delabOrElse___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_1); -lean_dec(x_1); -x_11 = l_Lean_Delaborator_delabOrElse___lambda__1(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -return x_11; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabOrElse___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Delaborator_getExprKind___closed__5; -x_2 = l_myMacro____x40_Init_Notation___hyg_4532____closed__4; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabOrElse___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Lean_Delaborator_delabOrElse___closed__1; -x_2 = l_myMacro____x40_Init_Notation___hyg_7791____closed__3; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabOrElse___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabOrElse), 6, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Delaborator_delabOrElse(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_Delaborator_delabAttribute; -x_3 = l___regBuiltin_Lean_Delaborator_delabOrElse___closed__2; -x_4 = l___regBuiltin_Lean_Delaborator_delabOrElse___closed__3; -x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); -return x_5; -} -} -static lean_object* _init_l_Lean_Delaborator_delabOrM___lambda__1___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("<||>"); -return x_1; -} -} -static lean_object* _init_l_Lean_Delaborator_delabOrM___lambda__1___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_instInhabitedSourceInfo___closed__1; -x_2 = l_Lean_Delaborator_delabOrM___lambda__1___closed__1; -x_3 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -lean_object* l_Lean_Delaborator_delabOrM___lambda__1(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_10 = l_Array_empty___closed__1; -x_11 = lean_array_push(x_10, x_2); -x_12 = l_Lean_Delaborator_delabOrM___lambda__1___closed__2; -x_13 = lean_array_push(x_11, x_12); -x_14 = lean_array_push(x_13, x_3); -x_15 = l___kind_term____x40_Init_Control_Basic___hyg_475____closed__1; -x_16 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_16, 0, x_15); -lean_ctor_set(x_16, 1, x_14); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_16); -lean_ctor_set(x_17, 1, x_9); -return x_17; -} -} -static lean_object* _init_l_Lean_Delaborator_delabOrM___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabOrM___lambda__1___boxed), 9, 0); -return x_1; -} -} -lean_object* l_Lean_Delaborator_delabOrM(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; lean_object* x_8; -x_7 = l_Lean_Delaborator_delabOrM___closed__1; -x_8 = l_Lean_Delaborator_delabInfixOp(x_7, x_1, x_2, x_3, x_4, x_5, x_6); -return x_8; -} -} -lean_object* l_Lean_Delaborator_delabOrM___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_1); -lean_dec(x_1); -x_11 = l_Lean_Delaborator_delabOrM___lambda__1(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -return x_11; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabOrM___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Delaborator_getExprKind___closed__5; -x_2 = l_myMacro____x40_Init_Control_Basic___hyg_528____closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabOrM___closed__2() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabOrM), 6, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Delaborator_delabOrM(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_Delaborator_delabAttribute; -x_3 = l___regBuiltin_Lean_Delaborator_delabOrM___closed__1; -x_4 = l___regBuiltin_Lean_Delaborator_delabOrM___closed__2; -x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); -return x_5; -} -} -static lean_object* _init_l_Lean_Delaborator_delabAndM___lambda__1___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("<&&>"); -return x_1; -} -} -static lean_object* _init_l_Lean_Delaborator_delabAndM___lambda__1___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_instInhabitedSourceInfo___closed__1; -x_2 = l_Lean_Delaborator_delabAndM___lambda__1___closed__1; -x_3 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -lean_object* l_Lean_Delaborator_delabAndM___lambda__1(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_10 = l_Array_empty___closed__1; -x_11 = lean_array_push(x_10, x_2); -x_12 = l_Lean_Delaborator_delabAndM___lambda__1___closed__2; -x_13 = lean_array_push(x_11, x_12); -x_14 = lean_array_push(x_13, x_3); -x_15 = l___kind_term____x40_Init_Control_Basic___hyg_716____closed__1; -x_16 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_16, 0, x_15); -lean_ctor_set(x_16, 1, x_14); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_16); -lean_ctor_set(x_17, 1, x_9); -return x_17; -} -} -static lean_object* _init_l_Lean_Delaborator_delabAndM___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabAndM___lambda__1___boxed), 9, 0); -return x_1; -} -} -lean_object* l_Lean_Delaborator_delabAndM(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; lean_object* x_8; -x_7 = l_Lean_Delaborator_delabAndM___closed__1; -x_8 = l_Lean_Delaborator_delabInfixOp(x_7, x_1, x_2, x_3, x_4, x_5, x_6); -return x_8; -} -} -lean_object* l_Lean_Delaborator_delabAndM___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_1); -lean_dec(x_1); -x_11 = l_Lean_Delaborator_delabAndM___lambda__1(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -return x_11; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabAndM___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Delaborator_getExprKind___closed__5; -x_2 = l_myMacro____x40_Init_Control_Basic___hyg_769____closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabAndM___closed__2() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabAndM), 6, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Delaborator_delabAndM(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_Delaborator_delabAttribute; -x_3 = l___regBuiltin_Lean_Delaborator_delabAndM___closed__1; -x_4 = l___regBuiltin_Lean_Delaborator_delabAndM___closed__2; -x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); -return x_5; -} -} -static lean_object* _init_l_Lean_Delaborator_delabNot___lambda__1___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("not"); -return x_1; -} -} -static lean_object* _init_l_Lean_Delaborator_delabNot___lambda__1___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_38____closed__6; -x_2 = l_Lean_Delaborator_delabNot___lambda__1___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Delaborator_delabNot___lambda__1___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("¬"); -return x_1; -} -} -static lean_object* _init_l_Lean_Delaborator_delabNot___lambda__1___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_instInhabitedSourceInfo___closed__1; -x_2 = l_Lean_Delaborator_delabNot___lambda__1___closed__3; -x_3 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Delaborator_delabNot___lambda__1___closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_empty___closed__1; -x_2 = l_Lean_Delaborator_delabNot___lambda__1___closed__4; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -lean_object* l_Lean_Delaborator_delabNot___lambda__1(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_9 = l_Lean_Delaborator_delabNot___lambda__1___closed__5; -x_10 = lean_array_push(x_9, x_2); -x_11 = l_Lean_Delaborator_delabNot___lambda__1___closed__2; -x_12 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_12, 0, x_11); -lean_ctor_set(x_12, 1, 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_8); -return x_13; -} -} -static lean_object* _init_l_Lean_Delaborator_delabNot___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabNot___lambda__1___boxed), 8, 0); -return x_1; -} -} -lean_object* l_Lean_Delaborator_delabNot(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; lean_object* x_8; -x_7 = l_Lean_Delaborator_delabNot___closed__1; -x_8 = l_Lean_Delaborator_delabPrefixOp(x_7, x_1, x_2, x_3, x_4, x_5, x_6); -return x_8; -} -} -lean_object* l_Lean_Delaborator_delabNot___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_1); -lean_dec(x_1); -x_10 = l_Lean_Delaborator_delabNot___lambda__1(x_9, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -return x_10; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabNot___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Delaborator_getExprKind___closed__5; -x_2 = l_Lean_Meta_caseValueAux___lambda__3___closed__3; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabNot___closed__2() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabNot), 6, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Delaborator_delabNot(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_Delaborator_delabAttribute; -x_3 = l___regBuiltin_Lean_Delaborator_delabNot___closed__1; -x_4 = l___regBuiltin_Lean_Delaborator_delabNot___closed__2; -x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); -return x_5; -} -} -static lean_object* _init_l_Lean_Delaborator_delabBNot___lambda__1___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("bnot"); -return x_1; -} -} -static lean_object* _init_l_Lean_Delaborator_delabBNot___lambda__1___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_38____closed__6; -x_2 = l_Lean_Delaborator_delabBNot___lambda__1___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Delaborator_delabBNot___lambda__1___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_instInhabitedSourceInfo___closed__1; -x_2 = l___kind_stx____x40_Init_Notation___hyg_7943____closed__2; -x_3 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Delaborator_delabBNot___lambda__1___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_empty___closed__1; -x_2 = l_Lean_Delaborator_delabBNot___lambda__1___closed__3; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -lean_object* l_Lean_Delaborator_delabBNot___lambda__1(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_9 = l_Lean_Delaborator_delabBNot___lambda__1___closed__4; -x_10 = lean_array_push(x_9, x_2); -x_11 = l_Lean_Delaborator_delabBNot___lambda__1___closed__2; -x_12 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_12, 0, x_11); -lean_ctor_set(x_12, 1, 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_8); -return x_13; -} -} -static lean_object* _init_l_Lean_Delaborator_delabBNot___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabBNot___lambda__1___boxed), 8, 0); -return x_1; -} -} -lean_object* l_Lean_Delaborator_delabBNot(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; lean_object* x_8; -x_7 = l_Lean_Delaborator_delabBNot___closed__1; -x_8 = l_Lean_Delaborator_delabPrefixOp(x_7, x_1, x_2, x_3, x_4, x_5, x_6); -return x_8; -} -} -lean_object* l_Lean_Delaborator_delabBNot___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_1); -lean_dec(x_1); -x_10 = l_Lean_Delaborator_delabBNot___lambda__1(x_9, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -return x_10; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabBNot___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Delaborator_getExprKind___closed__5; -x_2 = l_Lean_Delaborator_delabNot___lambda__1___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabBNot___closed__2() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabBNot), 6, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Delaborator_delabBNot(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_Delaborator_delabAttribute; -x_3 = l___regBuiltin_Lean_Delaborator_delabBNot___closed__1; -x_4 = l___regBuiltin_Lean_Delaborator_delabBNot___closed__2; -x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); -return x_5; -} -} -static lean_object* _init_l_Lean_Delaborator_delabNil___lambda__1___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3420____closed__9; -x_2 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Delaborator_delabNil___lambda__1___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Delaborator_delabNil___lambda__1___closed__1; -x_2 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3420____closed__10; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Delaborator_delabNil___lambda__1___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___kind_term____x40_Init_Notation___hyg_6289____closed__1; -x_2 = l_Lean_Delaborator_delabNil___lambda__1___closed__2; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -lean_object* l_Lean_Delaborator_delabNil___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; -x_8 = lean_unsigned_to_nat(0u); -x_9 = l_Lean_Expr_getAppNumArgsAux(x_1, x_8); -x_10 = lean_unsigned_to_nat(1u); -x_11 = lean_nat_dec_eq(x_9, x_10); -lean_dec(x_9); -if (x_11 == 0) -{ -lean_object* x_12; uint8_t x_13; -x_12 = l_Lean_Delaborator_failure___rarg(x_7); -x_13 = !lean_is_exclusive(x_12); -if (x_13 == 0) -{ -return x_12; -} -else -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_14 = lean_ctor_get(x_12, 0); -x_15 = lean_ctor_get(x_12, 1); -lean_inc(x_15); -lean_inc(x_14); -lean_dec(x_12); -x_16 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_16, 0, x_14); -lean_ctor_set(x_16, 1, x_15); -return x_16; -} -} -else -{ -lean_object* x_17; lean_object* x_18; -x_17 = l_Lean_Delaborator_delabNil___lambda__1___closed__3; -x_18 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_18, 0, x_17); -lean_ctor_set(x_18, 1, x_7); -return x_18; -} -} -} -static lean_object* _init_l_Lean_Delaborator_delabNil___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabNil___lambda__1___boxed), 7, 0); -return x_1; -} -} -static lean_object* _init_l_Lean_Delaborator_delabNil___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Delaborator_delabAppExplicit___closed__1; -x_2 = l_Lean_Delaborator_delabNil___closed__1; -x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Delaborator_delabAppExplicit___spec__2___rarg), 8, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; -} -} -lean_object* l_Lean_Delaborator_delabNil(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; lean_object* x_8; lean_object* x_9; -x_7 = l_Lean_Delaborator_delabAppMatch___closed__7; -x_8 = l_Lean_Delaborator_delabNil___closed__2; -x_9 = l_Lean_Delaborator_whenPPOption(x_7, x_8, x_1, x_2, x_3, x_4, x_5, x_6); -return x_9; -} -} -lean_object* l_Lean_Delaborator_delabNil___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; -x_8 = l_Lean_Delaborator_delabNil___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_8; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabNil___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Lean_Delaborator_delabCons___closed__1; -x_2 = l_myMacro____x40_Init_Notation___hyg_6336____closed__4; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabNil___closed__2() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabNil), 6, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Delaborator_delabNil(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_Delaborator_delabAttribute; -x_3 = l___regBuiltin_Lean_Delaborator_delabNil___closed__1; -x_4 = l___regBuiltin_Lean_Delaborator_delabNil___closed__2; -x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); -return x_5; -} -} -lean_object* l_Lean_Delaborator_delabConsList___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; lean_object* x_124; lean_object* x_125; lean_object* x_126; uint8_t x_127; -x_124 = lean_unsigned_to_nat(0u); -x_125 = l_Lean_Expr_getAppNumArgsAux(x_1, x_124); -x_126 = lean_unsigned_to_nat(3u); -x_127 = lean_nat_dec_eq(x_125, x_126); -lean_dec(x_125); -if (x_127 == 0) -{ -lean_object* x_128; uint8_t x_129; -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_128 = l_Lean_Delaborator_failure___rarg(x_7); -x_129 = !lean_is_exclusive(x_128); -if (x_129 == 0) -{ -return x_128; -} -else -{ -lean_object* x_130; lean_object* x_131; lean_object* x_132; -x_130 = lean_ctor_get(x_128, 0); -x_131 = lean_ctor_get(x_128, 1); -lean_inc(x_131); -lean_inc(x_130); -lean_dec(x_128); -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 -{ -x_8 = x_7; -goto block_123; -} -block_123: -{ -lean_object* x_9; lean_object* x_10; -x_9 = l_Lean_Delaborator_delabTuple___lambda__1___closed__1; -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); -x_10 = l_Lean_Delaborator_withAppFn___rarg(x_9, x_2, x_3, x_4, x_5, x_6, x_8); -if (lean_obj_tag(x_10) == 0) -{ -uint8_t x_11; -x_11 = !lean_is_exclusive(x_10); -if (x_11 == 0) -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; -x_12 = lean_ctor_get(x_10, 0); -x_13 = lean_ctor_get(x_10, 1); -x_14 = l_Lean_Delaborator_delabAppMatch___lambda__2___closed__1; -x_15 = l_Lean_Delaborator_withAppArg___rarg(x_14, x_2, x_3, x_4, x_5, x_6, x_13); -if (lean_obj_tag(x_15) == 0) -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; -x_16 = lean_ctor_get(x_15, 0); -lean_inc(x_16); -x_17 = lean_ctor_get(x_15, 1); -lean_inc(x_17); -if (lean_is_exclusive(x_15)) { - lean_ctor_release(x_15, 0); - lean_ctor_release(x_15, 1); - x_18 = x_15; -} else { - lean_dec_ref(x_15); - x_18 = lean_box(0); -} -x_19 = l___kind_term____x40_Init_Notation___hyg_6289____closed__1; -lean_inc(x_16); -x_20 = l_Lean_Syntax_isOfKind(x_16, x_19); -if (x_20 == 0) -{ -lean_object* x_21; -lean_dec(x_18); -lean_dec(x_16); -lean_free_object(x_10); -lean_dec(x_12); -x_21 = l_Lean_Delaborator_failure___rarg(x_17); -return x_21; -} -else -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; -x_22 = l_Lean_Syntax_getArgs(x_16); -x_23 = lean_array_get_size(x_22); -lean_dec(x_22); -x_24 = lean_unsigned_to_nat(3u); -x_25 = lean_nat_dec_eq(x_23, x_24); -lean_dec(x_23); -if (x_25 == 0) -{ -lean_object* x_26; -lean_dec(x_18); -lean_dec(x_16); -lean_free_object(x_10); -lean_dec(x_12); -x_26 = l_Lean_Delaborator_failure___rarg(x_17); -return x_26; -} -else -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_45; uint8_t x_46; -x_27 = lean_unsigned_to_nat(1u); -x_28 = l_Lean_Syntax_getArg(x_16, x_27); -lean_dec(x_16); -x_45 = l_Lean_nullKind___closed__2; -lean_inc(x_28); -x_46 = l_Lean_Syntax_isOfKind(x_28, x_45); -if (x_46 == 0) -{ -lean_object* x_47; -lean_free_object(x_10); -x_47 = lean_box(0); -x_29 = x_47; -goto block_44; -} -else -{ -lean_object* x_48; lean_object* x_49; lean_object* x_50; uint8_t x_51; -x_48 = l_Lean_Syntax_getArgs(x_28); -x_49 = lean_array_get_size(x_48); -lean_dec(x_48); -x_50 = lean_unsigned_to_nat(0u); -x_51 = lean_nat_dec_eq(x_49, x_50); -lean_dec(x_49); -if (x_51 == 0) -{ -lean_object* x_52; -lean_free_object(x_10); -x_52 = lean_box(0); -x_29 = x_52; -goto block_44; -} -else -{ -lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; -lean_dec(x_28); -lean_dec(x_18); -x_53 = l_Array_empty___closed__1; -x_54 = lean_array_push(x_53, x_12); -x_55 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_55, 0, x_45); -lean_ctor_set(x_55, 1, x_54); -x_56 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3420____closed__9; -x_57 = lean_array_push(x_56, x_55); -x_58 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3420____closed__10; -x_59 = lean_array_push(x_57, x_58); -x_60 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_60, 0, x_19); -lean_ctor_set(x_60, 1, x_59); -lean_ctor_set(x_10, 1, x_17); -lean_ctor_set(x_10, 0, x_60); -return x_10; -} -} -block_44: -{ -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_dec(x_29); -x_30 = l_Lean_Syntax_getArgs(x_28); -lean_dec(x_28); -x_31 = l_Array_empty___closed__1; -x_32 = lean_array_push(x_31, x_12); -x_33 = l_myMacro____x40_Init_Notation___hyg_7791____closed__8; -x_34 = lean_array_push(x_32, x_33); -x_35 = l_Array_appendCore___rarg(x_34, x_30); -lean_dec(x_30); -x_36 = l_Lean_nullKind___closed__2; -x_37 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_37, 0, x_36); -lean_ctor_set(x_37, 1, x_35); -x_38 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3420____closed__9; -x_39 = lean_array_push(x_38, x_37); -x_40 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3420____closed__10; -x_41 = lean_array_push(x_39, x_40); -x_42 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_42, 0, x_19); -lean_ctor_set(x_42, 1, x_41); -if (lean_is_scalar(x_18)) { - x_43 = lean_alloc_ctor(0, 2, 0); -} else { - x_43 = x_18; -} -lean_ctor_set(x_43, 0, x_42); -lean_ctor_set(x_43, 1, x_17); -return x_43; -} -} -} -} -else -{ -uint8_t x_61; -lean_free_object(x_10); -lean_dec(x_12); -x_61 = !lean_is_exclusive(x_15); -if (x_61 == 0) -{ -return x_15; -} -else -{ -lean_object* x_62; lean_object* x_63; lean_object* x_64; -x_62 = lean_ctor_get(x_15, 0); -x_63 = lean_ctor_get(x_15, 1); -lean_inc(x_63); -lean_inc(x_62); -lean_dec(x_15); -x_64 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_64, 0, x_62); -lean_ctor_set(x_64, 1, x_63); -return x_64; -} -} -} -else -{ -lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; -x_65 = lean_ctor_get(x_10, 0); -x_66 = lean_ctor_get(x_10, 1); -lean_inc(x_66); -lean_inc(x_65); -lean_dec(x_10); -x_67 = l_Lean_Delaborator_delabAppMatch___lambda__2___closed__1; -x_68 = l_Lean_Delaborator_withAppArg___rarg(x_67, x_2, x_3, x_4, x_5, x_6, x_66); -if (lean_obj_tag(x_68) == 0) -{ -lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; uint8_t x_73; -x_69 = lean_ctor_get(x_68, 0); -lean_inc(x_69); -x_70 = lean_ctor_get(x_68, 1); -lean_inc(x_70); -if (lean_is_exclusive(x_68)) { - lean_ctor_release(x_68, 0); - lean_ctor_release(x_68, 1); - x_71 = x_68; -} else { - lean_dec_ref(x_68); - x_71 = lean_box(0); -} -x_72 = l___kind_term____x40_Init_Notation___hyg_6289____closed__1; -lean_inc(x_69); -x_73 = l_Lean_Syntax_isOfKind(x_69, x_72); -if (x_73 == 0) -{ -lean_object* x_74; -lean_dec(x_71); -lean_dec(x_69); -lean_dec(x_65); -x_74 = l_Lean_Delaborator_failure___rarg(x_70); -return x_74; -} -else -{ -lean_object* x_75; lean_object* x_76; lean_object* x_77; uint8_t x_78; -x_75 = l_Lean_Syntax_getArgs(x_69); -x_76 = lean_array_get_size(x_75); -lean_dec(x_75); -x_77 = lean_unsigned_to_nat(3u); -x_78 = lean_nat_dec_eq(x_76, x_77); -lean_dec(x_76); -if (x_78 == 0) -{ -lean_object* x_79; -lean_dec(x_71); -lean_dec(x_69); -lean_dec(x_65); -x_79 = l_Lean_Delaborator_failure___rarg(x_70); -return x_79; -} -else -{ -lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_98; uint8_t x_99; -x_80 = lean_unsigned_to_nat(1u); -x_81 = l_Lean_Syntax_getArg(x_69, x_80); -lean_dec(x_69); -x_98 = l_Lean_nullKind___closed__2; -lean_inc(x_81); -x_99 = l_Lean_Syntax_isOfKind(x_81, x_98); -if (x_99 == 0) -{ -lean_object* x_100; -x_100 = lean_box(0); -x_82 = x_100; -goto block_97; -} -else -{ -lean_object* x_101; lean_object* x_102; lean_object* x_103; uint8_t x_104; -x_101 = l_Lean_Syntax_getArgs(x_81); -x_102 = lean_array_get_size(x_101); -lean_dec(x_101); -x_103 = lean_unsigned_to_nat(0u); -x_104 = lean_nat_dec_eq(x_102, x_103); -lean_dec(x_102); -if (x_104 == 0) -{ -lean_object* x_105; -x_105 = lean_box(0); -x_82 = x_105; -goto block_97; -} -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; -lean_dec(x_81); -lean_dec(x_71); -x_106 = l_Array_empty___closed__1; -x_107 = lean_array_push(x_106, x_65); -x_108 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_108, 0, x_98); -lean_ctor_set(x_108, 1, x_107); -x_109 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3420____closed__9; -x_110 = lean_array_push(x_109, x_108); -x_111 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3420____closed__10; -x_112 = lean_array_push(x_110, x_111); -x_113 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_113, 0, x_72); -lean_ctor_set(x_113, 1, x_112); -x_114 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_114, 0, x_113); -lean_ctor_set(x_114, 1, x_70); -return x_114; -} -} -block_97: -{ -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_dec(x_82); -x_83 = l_Lean_Syntax_getArgs(x_81); -lean_dec(x_81); -x_84 = l_Array_empty___closed__1; -x_85 = lean_array_push(x_84, x_65); -x_86 = l_myMacro____x40_Init_Notation___hyg_7791____closed__8; -x_87 = lean_array_push(x_85, x_86); -x_88 = l_Array_appendCore___rarg(x_87, x_83); -lean_dec(x_83); -x_89 = l_Lean_nullKind___closed__2; -x_90 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_90, 0, x_89); -lean_ctor_set(x_90, 1, x_88); -x_91 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3420____closed__9; -x_92 = lean_array_push(x_91, x_90); -x_93 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3420____closed__10; -x_94 = lean_array_push(x_92, x_93); -x_95 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_95, 0, x_72); -lean_ctor_set(x_95, 1, x_94); -if (lean_is_scalar(x_71)) { - x_96 = lean_alloc_ctor(0, 2, 0); -} else { - x_96 = x_71; -} -lean_ctor_set(x_96, 0, x_95); -lean_ctor_set(x_96, 1, x_70); -return x_96; -} -} -} -} -else -{ -lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; -lean_dec(x_65); -x_115 = lean_ctor_get(x_68, 0); -lean_inc(x_115); -x_116 = lean_ctor_get(x_68, 1); -lean_inc(x_116); -if (lean_is_exclusive(x_68)) { - lean_ctor_release(x_68, 0); - lean_ctor_release(x_68, 1); - x_117 = x_68; -} else { - lean_dec_ref(x_68); - x_117 = lean_box(0); -} -if (lean_is_scalar(x_117)) { - x_118 = lean_alloc_ctor(1, 2, 0); -} else { - x_118 = x_117; -} -lean_ctor_set(x_118, 0, x_115); -lean_ctor_set(x_118, 1, x_116); -return x_118; -} -} -} -else -{ -uint8_t x_119; -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_119 = !lean_is_exclusive(x_10); -if (x_119 == 0) -{ -return x_10; -} -else -{ -lean_object* x_120; lean_object* x_121; lean_object* x_122; -x_120 = lean_ctor_get(x_10, 0); -x_121 = lean_ctor_get(x_10, 1); -lean_inc(x_121); -lean_inc(x_120); -lean_dec(x_10); -x_122 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_122, 0, x_120); -lean_ctor_set(x_122, 1, x_121); -return x_122; -} -} -} -} -} -static lean_object* _init_l_Lean_Delaborator_delabConsList___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabConsList___lambda__1___boxed), 7, 0); -return x_1; -} -} -static lean_object* _init_l_Lean_Delaborator_delabConsList___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Delaborator_delabAppExplicit___closed__1; -x_2 = l_Lean_Delaborator_delabConsList___closed__1; -x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Delaborator_delabAppExplicit___spec__2___rarg), 8, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; -} -} -lean_object* l_Lean_Delaborator_delabConsList(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; lean_object* x_8; lean_object* x_9; -x_7 = l_Lean_Delaborator_delabAppMatch___closed__7; -x_8 = l_Lean_Delaborator_delabConsList___closed__2; -x_9 = l_Lean_Delaborator_whenPPOption(x_7, x_8, x_1, x_2, x_3, x_4, x_5, x_6); -return x_9; -} -} -lean_object* l_Lean_Delaborator_delabConsList___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; -x_8 = l_Lean_Delaborator_delabConsList___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); -lean_dec(x_1); -return x_8; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabConsList___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabConsList), 6, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Delaborator_delabConsList(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_Delaborator_delabAttribute; -x_3 = l___regBuiltin_Lean_Delaborator_delabCons___closed__2; -x_4 = l___regBuiltin_Lean_Delaborator_delabConsList___closed__1; -x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); -return x_5; -} -} -static lean_object* _init_l_Lean_Delaborator_delabListToArray___lambda__1___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_instInhabitedSourceInfo___closed__1; -x_2 = l_addParenHeuristic___closed__2; -x_3 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Delaborator_delabListToArray___lambda__1___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_empty___closed__1; -x_2 = l_Lean_Delaborator_delabListToArray___lambda__1___closed__1; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -lean_object* l_Lean_Delaborator_delabListToArray___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; lean_object* x_64; lean_object* x_65; lean_object* x_66; uint8_t x_67; -x_64 = lean_unsigned_to_nat(0u); -x_65 = l_Lean_Expr_getAppNumArgsAux(x_1, x_64); -x_66 = lean_unsigned_to_nat(2u); -x_67 = lean_nat_dec_eq(x_65, x_66); -lean_dec(x_65); -if (x_67 == 0) -{ -lean_object* x_68; uint8_t x_69; -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_68 = l_Lean_Delaborator_failure___rarg(x_7); -x_69 = !lean_is_exclusive(x_68); -if (x_69 == 0) -{ -return x_68; -} -else -{ -lean_object* x_70; lean_object* x_71; lean_object* x_72; -x_70 = lean_ctor_get(x_68, 0); -x_71 = lean_ctor_get(x_68, 1); -lean_inc(x_71); -lean_inc(x_70); -lean_dec(x_68); -x_72 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_72, 0, x_70); -lean_ctor_set(x_72, 1, x_71); -return x_72; -} -} -else -{ -x_8 = x_7; -goto block_63; -} -block_63: -{ -lean_object* x_9; lean_object* x_10; -x_9 = l_Lean_Delaborator_delabAppMatch___lambda__2___closed__1; -x_10 = l_Lean_Delaborator_withAppArg___rarg(x_9, x_2, x_3, x_4, x_5, x_6, x_8); -if (lean_obj_tag(x_10) == 0) -{ -uint8_t x_11; -x_11 = !lean_is_exclusive(x_10); -if (x_11 == 0) -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; -x_12 = lean_ctor_get(x_10, 0); -x_13 = lean_ctor_get(x_10, 1); -x_14 = l___kind_term____x40_Init_Notation___hyg_6289____closed__1; -lean_inc(x_12); -x_15 = l_Lean_Syntax_isOfKind(x_12, x_14); -if (x_15 == 0) -{ -lean_object* x_16; -lean_free_object(x_10); -lean_dec(x_12); -x_16 = l_Lean_Delaborator_failure___rarg(x_13); -return x_16; -} -else -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; -x_17 = l_Lean_Syntax_getArgs(x_12); -x_18 = lean_array_get_size(x_17); -lean_dec(x_17); -x_19 = lean_unsigned_to_nat(3u); -x_20 = lean_nat_dec_eq(x_18, x_19); -lean_dec(x_18); -if (x_20 == 0) -{ -lean_object* x_21; -lean_free_object(x_10); -lean_dec(x_12); -x_21 = l_Lean_Delaborator_failure___rarg(x_13); -return x_21; -} -else -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; -x_22 = lean_unsigned_to_nat(1u); -x_23 = l_Lean_Syntax_getArg(x_12, x_22); -lean_dec(x_12); -x_24 = l_Lean_Syntax_getArgs(x_23); -lean_dec(x_23); -x_25 = l_Array_empty___closed__1; -x_26 = l_Array_appendCore___rarg(x_25, x_24); -lean_dec(x_24); -x_27 = l_Lean_nullKind___closed__2; -x_28 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_28, 0, x_27); -lean_ctor_set(x_28, 1, x_26); -x_29 = l_Lean_Delaborator_delabListToArray___lambda__1___closed__2; -x_30 = lean_array_push(x_29, x_28); -x_31 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3420____closed__10; -x_32 = lean_array_push(x_30, x_31); -x_33 = l___kind_term____x40_Init_Data_Array_Basic___hyg_3373____closed__7; -x_34 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_34, 0, x_33); -lean_ctor_set(x_34, 1, x_32); -lean_ctor_set(x_10, 0, x_34); -return x_10; -} -} -} -else -{ -lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; -x_35 = lean_ctor_get(x_10, 0); -x_36 = lean_ctor_get(x_10, 1); -lean_inc(x_36); -lean_inc(x_35); -lean_dec(x_10); -x_37 = l___kind_term____x40_Init_Notation___hyg_6289____closed__1; -lean_inc(x_35); -x_38 = l_Lean_Syntax_isOfKind(x_35, x_37); -if (x_38 == 0) -{ -lean_object* x_39; -lean_dec(x_35); -x_39 = l_Lean_Delaborator_failure___rarg(x_36); -return x_39; -} -else -{ -lean_object* x_40; lean_object* x_41; lean_object* x_42; uint8_t x_43; -x_40 = l_Lean_Syntax_getArgs(x_35); -x_41 = lean_array_get_size(x_40); -lean_dec(x_40); -x_42 = lean_unsigned_to_nat(3u); -x_43 = lean_nat_dec_eq(x_41, x_42); -lean_dec(x_41); -if (x_43 == 0) -{ -lean_object* x_44; -lean_dec(x_35); -x_44 = l_Lean_Delaborator_failure___rarg(x_36); -return x_44; -} -else -{ -lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; -x_45 = lean_unsigned_to_nat(1u); -x_46 = l_Lean_Syntax_getArg(x_35, x_45); -lean_dec(x_35); -x_47 = l_Lean_Syntax_getArgs(x_46); -lean_dec(x_46); -x_48 = l_Array_empty___closed__1; -x_49 = l_Array_appendCore___rarg(x_48, x_47); -lean_dec(x_47); -x_50 = l_Lean_nullKind___closed__2; -x_51 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_51, 0, x_50); -lean_ctor_set(x_51, 1, x_49); -x_52 = l_Lean_Delaborator_delabListToArray___lambda__1___closed__2; -x_53 = lean_array_push(x_52, x_51); -x_54 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3420____closed__10; -x_55 = lean_array_push(x_53, x_54); -x_56 = l___kind_term____x40_Init_Data_Array_Basic___hyg_3373____closed__7; -x_57 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_57, 0, x_56); -lean_ctor_set(x_57, 1, x_55); -x_58 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_58, 0, x_57); -lean_ctor_set(x_58, 1, x_36); -return x_58; -} -} -} -} -else -{ -uint8_t x_59; -x_59 = !lean_is_exclusive(x_10); -if (x_59 == 0) -{ -return x_10; -} -else -{ -lean_object* x_60; lean_object* x_61; lean_object* x_62; -x_60 = lean_ctor_get(x_10, 0); -x_61 = lean_ctor_get(x_10, 1); -lean_inc(x_61); -lean_inc(x_60); -lean_dec(x_10); -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; -} -} -} -} -} -static lean_object* _init_l_Lean_Delaborator_delabListToArray___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabListToArray___lambda__1___boxed), 7, 0); -return x_1; -} -} -static lean_object* _init_l_Lean_Delaborator_delabListToArray___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Delaborator_delabAppExplicit___closed__1; -x_2 = l_Lean_Delaborator_delabListToArray___closed__1; -x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Delaborator_delabAppExplicit___spec__2___rarg), 8, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; -} -} -lean_object* l_Lean_Delaborator_delabListToArray(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; lean_object* x_8; lean_object* x_9; -x_7 = l_Lean_Delaborator_delabAppMatch___closed__7; -x_8 = l_Lean_Delaborator_delabListToArray___closed__2; -x_9 = l_Lean_Delaborator_whenPPOption(x_7, x_8, x_1, x_2, x_3, x_4, x_5, x_6); -return x_9; -} -} -lean_object* l_Lean_Delaborator_delabListToArray___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; -x_8 = l_Lean_Delaborator_delabListToArray___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); -lean_dec(x_1); -return x_8; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabListToArray___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Lean_Delaborator_delabCons___closed__1; -x_2 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3420____closed__4; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabListToArray___closed__2() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabListToArray), 6, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Delaborator_delabListToArray(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_Delaborator_delabAttribute; -x_3 = l___regBuiltin_Lean_Delaborator_delabListToArray___closed__1; -x_4 = l___regBuiltin_Lean_Delaborator_delabListToArray___closed__2; -x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); -return x_5; -} -} -static lean_object* _init_l_Lean_Delaborator_delabNamedPattern___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_38____closed__6; -x_2 = l_Lean_Meta_Match_Pattern_toExpr_visit___closed__3; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -lean_object* l_Lean_Delaborator_delabNamedPattern(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_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; uint8_t x_61; -x_55 = l_Lean_Delaborator_getExpr(x_1, x_2, x_3, x_4, x_5, x_6); -x_56 = lean_ctor_get(x_55, 0); -lean_inc(x_56); -x_57 = lean_ctor_get(x_55, 1); -lean_inc(x_57); -lean_dec(x_55); -x_58 = lean_unsigned_to_nat(0u); -x_59 = l_Lean_Expr_getAppNumArgsAux(x_56, x_58); -lean_dec(x_56); -x_60 = lean_unsigned_to_nat(3u); -x_61 = lean_nat_dec_eq(x_59, x_60); -lean_dec(x_59); -if (x_61 == 0) -{ -lean_object* x_62; uint8_t x_63; -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_62 = l_Lean_Delaborator_failure___rarg(x_57); -x_63 = !lean_is_exclusive(x_62); -if (x_63 == 0) -{ -return x_62; -} -else -{ -lean_object* x_64; lean_object* x_65; lean_object* x_66; -x_64 = lean_ctor_get(x_62, 0); -x_65 = lean_ctor_get(x_62, 1); -lean_inc(x_65); -lean_inc(x_64); -lean_dec(x_62); -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; -} -} -else -{ -x_7 = x_57; -goto block_54; -} -block_54: -{ -lean_object* x_8; lean_object* x_9; -x_8 = l_Lean_Delaborator_delabTuple___lambda__1___closed__1; -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); -lean_inc(x_1); -x_9 = l_Lean_Delaborator_withAppFn___rarg(x_8, x_1, x_2, x_3, x_4, x_5, x_7); -if (lean_obj_tag(x_9) == 0) -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_10 = lean_ctor_get(x_9, 0); -lean_inc(x_10); -x_11 = lean_ctor_get(x_9, 1); -lean_inc(x_11); -lean_dec(x_9); -x_12 = l_Lean_Delaborator_delabAppMatch___lambda__2___closed__1; -x_13 = l_Lean_Delaborator_withAppArg___rarg(x_12, x_1, x_2, x_3, x_4, x_5, x_11); -if (lean_obj_tag(x_13) == 0) -{ -uint8_t x_14; -x_14 = !lean_is_exclusive(x_13); -if (x_14 == 0) -{ -lean_object* x_15; lean_object* x_16; uint8_t x_17; -x_15 = lean_ctor_get(x_13, 0); -x_16 = lean_ctor_get(x_13, 1); -x_17 = l_Lean_Syntax_isIdent(x_10); -if (x_17 == 0) -{ -lean_object* x_18; uint8_t x_19; -lean_free_object(x_13); -lean_dec(x_15); -lean_dec(x_10); -x_18 = l_Lean_Delaborator_failure___rarg(x_16); -x_19 = !lean_is_exclusive(x_18); -if (x_19 == 0) -{ -return x_18; -} -else -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_20 = lean_ctor_get(x_18, 0); -x_21 = lean_ctor_get(x_18, 1); -lean_inc(x_21); -lean_inc(x_20); -lean_dec(x_18); -x_22 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_22, 0, x_20); -lean_ctor_set(x_22, 1, x_21); -return x_22; -} -} -else -{ -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_23 = l_Array_empty___closed__1; -x_24 = lean_array_push(x_23, x_10); -x_25 = l_Lean_Delaborator_delabAppExplicit___lambda__2___closed__2; -x_26 = lean_array_push(x_24, x_25); -x_27 = lean_array_push(x_26, x_15); -x_28 = l_Lean_Delaborator_delabNamedPattern___closed__1; -x_29 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_29, 0, x_28); -lean_ctor_set(x_29, 1, x_27); -lean_ctor_set(x_13, 0, x_29); -return x_13; -} -} -else -{ -lean_object* x_30; lean_object* x_31; uint8_t x_32; -x_30 = lean_ctor_get(x_13, 0); -x_31 = lean_ctor_get(x_13, 1); -lean_inc(x_31); -lean_inc(x_30); -lean_dec(x_13); -x_32 = l_Lean_Syntax_isIdent(x_10); -if (x_32 == 0) -{ -lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; -lean_dec(x_30); -lean_dec(x_10); -x_33 = l_Lean_Delaborator_failure___rarg(x_31); -x_34 = lean_ctor_get(x_33, 0); -lean_inc(x_34); -x_35 = lean_ctor_get(x_33, 1); -lean_inc(x_35); -if (lean_is_exclusive(x_33)) { - lean_ctor_release(x_33, 0); - lean_ctor_release(x_33, 1); - x_36 = x_33; -} else { - lean_dec_ref(x_33); - x_36 = lean_box(0); -} -if (lean_is_scalar(x_36)) { - x_37 = lean_alloc_ctor(1, 2, 0); -} else { - x_37 = x_36; -} -lean_ctor_set(x_37, 0, x_34); -lean_ctor_set(x_37, 1, x_35); -return x_37; -} -else -{ -lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; -x_38 = l_Array_empty___closed__1; -x_39 = lean_array_push(x_38, x_10); -x_40 = l_Lean_Delaborator_delabAppExplicit___lambda__2___closed__2; -x_41 = lean_array_push(x_39, x_40); -x_42 = lean_array_push(x_41, x_30); -x_43 = l_Lean_Delaborator_delabNamedPattern___closed__1; -x_44 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_44, 0, x_43); -lean_ctor_set(x_44, 1, x_42); -x_45 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_45, 0, x_44); -lean_ctor_set(x_45, 1, x_31); -return x_45; -} -} -} -else -{ -uint8_t x_46; -lean_dec(x_10); -x_46 = !lean_is_exclusive(x_13); -if (x_46 == 0) -{ -return x_13; -} -else -{ -lean_object* x_47; lean_object* x_48; lean_object* x_49; -x_47 = lean_ctor_get(x_13, 0); -x_48 = lean_ctor_get(x_13, 1); -lean_inc(x_48); -lean_inc(x_47); -lean_dec(x_13); -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; -} -} -} -else -{ -uint8_t x_50; -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_50 = !lean_is_exclusive(x_9); -if (x_50 == 0) -{ -return x_9; -} -else -{ -lean_object* x_51; lean_object* x_52; lean_object* x_53; -x_51 = lean_ctor_get(x_9, 0); -x_52 = lean_ctor_get(x_9, 1); -lean_inc(x_52); -lean_inc(x_51); -lean_dec(x_9); -x_53 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_53, 0, x_51); -lean_ctor_set(x_53, 1, x_52); -return x_53; -} -} -} -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabNamedPattern___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Delaborator_getExprKind___closed__5; -x_2 = l_Lean_Meta_Match_Pattern_toExpr_visit___closed__3; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabNamedPattern___closed__2() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabNamedPattern), 6, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Delaborator_delabNamedPattern(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_Delaborator_delabAttribute; -x_3 = l___regBuiltin_Lean_Delaborator_delabNamedPattern___closed__1; -x_4 = l___regBuiltin_Lean_Delaborator_delabNamedPattern___closed__2; -x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); -return x_5; -} -} -lean_object* l_Lean_Delaborator_delabDoElems_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -if (lean_obj_tag(x_1) == 6) -{ -lean_object* x_4; lean_object* x_5; lean_object* x_6; uint64_t x_7; lean_object* x_8; lean_object* x_9; -lean_dec(x_3); -x_4 = lean_ctor_get(x_1, 0); -lean_inc(x_4); -x_5 = lean_ctor_get(x_1, 1); -lean_inc(x_5); -x_6 = lean_ctor_get(x_1, 2); -lean_inc(x_6); -x_7 = lean_ctor_get_uint64(x_1, sizeof(void*)*3); -lean_dec(x_1); -x_8 = lean_box_uint64(x_7); -x_9 = lean_apply_4(x_2, x_4, x_5, x_6, x_8); -return x_9; -} -else -{ -lean_object* x_10; -lean_dec(x_2); -x_10 = lean_apply_1(x_3, x_1); -return x_10; -} -} -} -lean_object* l_Lean_Delaborator_delabDoElems_match__1(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabDoElems_match__1___rarg), 3, 0); -return x_2; -} -} -lean_object* l_Lean_Delaborator_delabDoElems_match__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -if (lean_obj_tag(x_1) == 8) -{ -lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; uint64_t x_8; lean_object* x_9; lean_object* x_10; -lean_dec(x_3); -x_4 = lean_ctor_get(x_1, 0); -lean_inc(x_4); -x_5 = lean_ctor_get(x_1, 1); -lean_inc(x_5); -x_6 = lean_ctor_get(x_1, 2); -lean_inc(x_6); -x_7 = lean_ctor_get(x_1, 3); -lean_inc(x_7); -x_8 = lean_ctor_get_uint64(x_1, sizeof(void*)*4); -lean_dec(x_1); -x_9 = lean_box_uint64(x_8); -x_10 = lean_apply_5(x_2, x_4, x_5, x_6, x_7, x_9); -return x_10; -} -else -{ -lean_object* x_11; -lean_dec(x_2); -x_11 = lean_apply_1(x_3, x_1); -return x_11; -} -} -} -lean_object* l_Lean_Delaborator_delabDoElems_match__2(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabDoElems_match__2___rarg), 3, 0); -return x_2; -} -} -static lean_object* _init_l_Lean_Delaborator_delabDoElems_delabAndRet___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("doExpr"); -return x_1; -} -} -static lean_object* _init_l_Lean_Delaborator_delabDoElems_delabAndRet___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_38____closed__6; -x_2 = l_Lean_Delaborator_delabDoElems_delabAndRet___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -lean_object* l_Lean_Delaborator_delabDoElems_delabAndRet(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; -x_7 = l_Lean_Delaborator_delab(x_1, x_2, x_3, x_4, x_5, x_6); -if (lean_obj_tag(x_7) == 0) -{ -uint8_t x_8; -x_8 = !lean_is_exclusive(x_7); -if (x_8 == 0) -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; -x_9 = lean_ctor_get(x_7, 0); -x_10 = l_Array_empty___closed__1; -x_11 = lean_array_push(x_10, x_9); -x_12 = l_Lean_Delaborator_delabDoElems_delabAndRet___closed__2; -x_13 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_13, 0, x_12); -lean_ctor_set(x_13, 1, x_11); -x_14 = lean_box(0); -x_15 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_15, 0, x_13); -lean_ctor_set(x_15, 1, x_14); -lean_ctor_set(x_7, 0, x_15); -return x_7; -} -else -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_16 = lean_ctor_get(x_7, 0); -x_17 = lean_ctor_get(x_7, 1); -lean_inc(x_17); -lean_inc(x_16); -lean_dec(x_7); -x_18 = l_Array_empty___closed__1; -x_19 = lean_array_push(x_18, x_16); -x_20 = l_Lean_Delaborator_delabDoElems_delabAndRet___closed__2; -x_21 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_21, 0, x_20); -lean_ctor_set(x_21, 1, x_19); -x_22 = lean_box(0); -x_23 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_23, 0, x_21); -lean_ctor_set(x_23, 1, x_22); -x_24 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_24, 0, x_23); -lean_ctor_set(x_24, 1, x_17); -return x_24; -} -} -else -{ -uint8_t x_25; -x_25 = !lean_is_exclusive(x_7); -if (x_25 == 0) -{ -return x_7; -} -else -{ -lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_26 = lean_ctor_get(x_7, 0); -x_27 = lean_ctor_get(x_7, 1); -lean_inc(x_27); -lean_inc(x_26); -lean_dec(x_7); -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; -} -} -} -} -lean_object* l_Lean_Delaborator_delabDoElems_prependAndRec(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); -x_8 = lean_apply_6(x_1, x_2, x_3, x_4, x_5, x_6, x_7); -if (lean_obj_tag(x_8) == 0) -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; -x_9 = lean_ctor_get(x_8, 0); -lean_inc(x_9); -x_10 = lean_ctor_get(x_8, 1); -lean_inc(x_10); -lean_dec(x_8); -x_11 = l_Lean_Delaborator_delabDoElems(x_2, x_3, x_4, x_5, x_6, x_10); -if (lean_obj_tag(x_11) == 0) -{ -uint8_t x_12; -x_12 = !lean_is_exclusive(x_11); -if (x_12 == 0) -{ -lean_object* x_13; lean_object* x_14; -x_13 = lean_ctor_get(x_11, 0); -x_14 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_14, 0, x_9); -lean_ctor_set(x_14, 1, x_13); -lean_ctor_set(x_11, 0, x_14); -return x_11; -} -else -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_15 = lean_ctor_get(x_11, 0); -x_16 = lean_ctor_get(x_11, 1); -lean_inc(x_16); -lean_inc(x_15); -lean_dec(x_11); -x_17 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_17, 0, x_9); -lean_ctor_set(x_17, 1, x_15); -x_18 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_18, 0, x_17); -lean_ctor_set(x_18, 1, x_16); -return x_18; -} -} -else -{ -uint8_t x_19; -lean_dec(x_9); -x_19 = !lean_is_exclusive(x_11); -if (x_19 == 0) -{ -return x_11; -} -else -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_20 = lean_ctor_get(x_11, 0); -x_21 = lean_ctor_get(x_11, 1); -lean_inc(x_21); -lean_inc(x_20); -lean_dec(x_11); -x_22 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_22, 0, x_20); -lean_ctor_set(x_22, 1, x_21); -return x_22; -} -} -} -else -{ -uint8_t x_23; -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_23 = !lean_is_exclusive(x_8); -if (x_23 == 0) -{ -return x_8; -} -else -{ -lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_24 = lean_ctor_get(x_8, 0); -x_25 = lean_ctor_get(x_8, 1); -lean_inc(x_25); -lean_inc(x_24); -lean_dec(x_8); -x_26 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_26, 0, x_24); -lean_ctor_set(x_26, 1, x_25); -return x_26; -} -} -} -} -static lean_object* _init_l_Lean_Delaborator_delabDoElems___lambda__1___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("doLet"); -return x_1; -} -} -static lean_object* _init_l_Lean_Delaborator_delabDoElems___lambda__1___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_38____closed__6; -x_2 = l_Lean_Delaborator_delabDoElems___lambda__1___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Delaborator_delabDoElems___lambda__1___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_8830____closed__4; -x_2 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -lean_object* l_Lean_Delaborator_delabDoElems___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; 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; -x_11 = lean_mk_syntax_ident(x_1); -x_12 = l_Array_empty___closed__1; -x_13 = lean_array_push(x_12, x_11); -x_14 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; -x_15 = lean_array_push(x_13, x_14); -x_16 = l_myMacro____x40_Init_Notation___hyg_8168____closed__11; -x_17 = lean_array_push(x_16, x_2); -x_18 = l_Lean_expandExplicitBindersAux_loop___closed__8; -x_19 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_19, 0, x_18); -lean_ctor_set(x_19, 1, x_17); -x_20 = lean_array_push(x_12, x_19); -x_21 = l_Lean_nullKind___closed__2; -x_22 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_22, 0, x_21); -lean_ctor_set(x_22, 1, x_20); -x_23 = lean_array_push(x_15, x_22); -x_24 = l_myMacro____x40_Init_Notation___hyg_8830____closed__14; -x_25 = lean_array_push(x_23, x_24); -x_26 = lean_array_push(x_25, x_3); -x_27 = l_myMacro____x40_Init_Notation___hyg_8830____closed__8; -x_28 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_28, 0, x_27); -lean_ctor_set(x_28, 1, x_26); -x_29 = lean_array_push(x_12, x_28); -x_30 = l_myMacro____x40_Init_Notation___hyg_8830____closed__6; -x_31 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_31, 0, x_30); -lean_ctor_set(x_31, 1, x_29); -x_32 = l_Lean_Delaborator_delabDoElems___lambda__1___closed__3; -x_33 = lean_array_push(x_32, x_31); -x_34 = l_Lean_Delaborator_delabDoElems___lambda__1___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_alloc_ctor(0, 2, 0); -lean_ctor_set(x_36, 0, x_35); -lean_ctor_set(x_36, 1, x_10); -return x_36; -} -} -static lean_object* _init_l_Lean_Delaborator_delabDoElems___lambda__2___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = lean_unsigned_to_nat(0u); -x_2 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Delaborator_instMonadQuotationDelabM___spec__1___rarg___boxed), 7, 1); -lean_closure_set(x_2, 0, x_1); -return x_2; -} -} -lean_object* l_Lean_Delaborator_delabDoElems___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_12 = lean_expr_instantiate1(x_1, x_5); -x_13 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabDoElems___lambda__1___boxed), 10, 3); -lean_closure_set(x_13, 0, x_2); -lean_closure_set(x_13, 1, x_3); -lean_closure_set(x_13, 2, x_4); -x_14 = l_Lean_Delaborator_delabDoElems___lambda__2___closed__1; -x_15 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Delaborator_delabAppExplicit___spec__2___rarg), 8, 2); -lean_closure_set(x_15, 0, x_14); -lean_closure_set(x_15, 1, x_13); -x_16 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabDoElems_prependAndRec), 7, 1); -lean_closure_set(x_16, 0, x_15); -x_17 = lean_unsigned_to_nat(2u); -x_18 = l_Lean_Delaborator_descend___rarg(x_12, x_17, x_16, x_6, x_7, x_8, x_9, x_10, x_11); -return x_18; -} -} -lean_object* l_Lean_Delaborator_delabDoElems___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_9 = l_Array_empty___closed__1; -x_10 = lean_array_push(x_9, x_1); -x_11 = l_Lean_Delaborator_delabDoElems_delabAndRet___closed__2; -x_12 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_12, 0, x_11); -lean_ctor_set(x_12, 1, 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_8); -return x_13; -} -} -static lean_object* _init_l_Lean_Delaborator_delabDoElems___lambda__4___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("doLetArrow"); -return x_1; -} -} -static lean_object* _init_l_Lean_Delaborator_delabDoElems___lambda__4___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_38____closed__6; -x_2 = l_Lean_Delaborator_delabDoElems___lambda__4___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Delaborator_delabDoElems___lambda__4___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("doPatDecl"); -return x_1; -} -} -static lean_object* _init_l_Lean_Delaborator_delabDoElems___lambda__4___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_38____closed__6; -x_2 = l_Lean_Delaborator_delabDoElems___lambda__4___closed__3; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Delaborator_delabDoElems___lambda__4___closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_instInhabitedSourceInfo___closed__1; -x_2 = l_Lean_Parser_Tactic_rwRule___closed__3; -x_3 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -lean_object* l_Lean_Delaborator_delabDoElems___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; -x_10 = l_Array_empty___closed__1; -x_11 = lean_array_push(x_10, x_1); -x_12 = l_Lean_Delaborator_delabDoElems___lambda__4___closed__5; -x_13 = lean_array_push(x_11, x_12); -x_14 = lean_array_push(x_13, x_2); -x_15 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; -x_16 = lean_array_push(x_14, x_15); -x_17 = l_Lean_Delaborator_delabDoElems___lambda__4___closed__4; -x_18 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_18, 0, x_17); -lean_ctor_set(x_18, 1, x_16); -x_19 = l_Lean_Delaborator_delabDoElems___lambda__1___closed__3; -x_20 = lean_array_push(x_19, x_18); -x_21 = l_Lean_Delaborator_delabDoElems___lambda__4___closed__2; -x_22 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_22, 0, x_21); -lean_ctor_set(x_22, 1, x_20); -x_23 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_23, 0, x_22); -lean_ctor_set(x_23, 1, x_9); -return x_23; -} -} -lean_object* l_Lean_Delaborator_delabDoElems___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -uint8_t x_10; -x_10 = l_Lean_Expr_hasLooseBVars(x_1); -if (x_10 == 0) -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; -lean_dec(x_3); -x_11 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabDoElems___lambda__3___boxed), 8, 1); -lean_closure_set(x_11, 0, x_2); -x_12 = l_Lean_Delaborator_delabDoElems___lambda__2___closed__1; -x_13 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Delaborator_delabAppExplicit___spec__2___rarg), 8, 2); -lean_closure_set(x_13, 0, x_12); -lean_closure_set(x_13, 1, x_11); -x_14 = l_Lean_Delaborator_delabDoElems_prependAndRec(x_13, x_4, x_5, x_6, x_7, x_8, x_9); -return x_14; -} -else -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_15 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabDoElems___lambda__4___boxed), 9, 2); -lean_closure_set(x_15, 0, x_3); -lean_closure_set(x_15, 1, x_2); -x_16 = l_Lean_Delaborator_delabDoElems___lambda__2___closed__1; -x_17 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Delaborator_delabAppExplicit___spec__2___rarg), 8, 2); -lean_closure_set(x_17, 0, x_16); -lean_closure_set(x_17, 1, x_15); -x_18 = l_Lean_Delaborator_delabDoElems_prependAndRec(x_17, x_4, x_5, x_6, x_7, x_8, x_9); -return x_18; -} -} -} -lean_object* l_Lean_Delaborator_delabDoElems___lambda__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -if (lean_obj_tag(x_2) == 6) -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; -x_9 = lean_ctor_get(x_2, 2); -lean_inc(x_9); -lean_dec(x_2); -x_10 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabDoElems___lambda__5___boxed), 9, 2); -lean_closure_set(x_10, 0, x_9); -lean_closure_set(x_10, 1, x_1); -x_11 = l_Lean_Delaborator_withBindingBodyUnusedName___rarg(x_10, x_3, x_4, x_5, x_6, x_7, x_8); -return x_11; -} -else -{ -lean_object* x_12; -lean_dec(x_2); -lean_dec(x_1); -x_12 = l_Lean_Delaborator_delabDoElems_delabAndRet(x_3, x_4, x_5, x_6, x_7, x_8); -return x_12; -} -} -} -static lean_object* _init_l_Lean_Delaborator_delabDoElems___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("Lean.Delaborator.delabDoElems"); -return x_1; -} -} -static lean_object* _init_l_Lean_Delaborator_delabDoElems___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_1 = l_Lean_Delaborator_withAppFn___rarg___closed__2; -x_2 = l_Lean_Delaborator_delabDoElems___closed__1; -x_3 = lean_unsigned_to_nat(833u); -x_4 = lean_unsigned_to_nat(40u); -x_5 = l_Lean_Syntax_strLitToAtom___closed__3; -x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); -return x_6; -} -} -lean_object* l_Lean_Delaborator_delabDoElems(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; -x_7 = l_Lean_Delaborator_getExpr(x_1, x_2, x_3, x_4, x_5, x_6); -x_8 = lean_ctor_get(x_7, 0); -lean_inc(x_8); -x_9 = lean_ctor_get(x_7, 1); -lean_inc(x_9); -lean_dec(x_7); -x_10 = l_myMacro____x40_Init_Notation___hyg_4868____closed__7; -x_11 = lean_unsigned_to_nat(6u); -x_12 = l_Lean_Expr_isAppOfArity(x_8, x_10, x_11); -if (x_12 == 0) -{ -uint8_t x_13; -x_13 = l_Lean_Expr_isLet(x_8); -lean_dec(x_8); -if (x_13 == 0) -{ -lean_object* x_14; -x_14 = l_Lean_Delaborator_delabDoElems_delabAndRet(x_1, x_2, x_3, x_4, x_5, x_9); -return x_14; -} -else -{ -lean_object* x_15; lean_object* x_16; -x_15 = l_Lean_Delaborator_getExpr(x_1, x_2, x_3, x_4, x_5, x_9); -x_16 = lean_ctor_get(x_15, 0); -lean_inc(x_16); -if (lean_obj_tag(x_16) == 8) -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_17 = lean_ctor_get(x_15, 1); -lean_inc(x_17); -lean_dec(x_15); -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_16, 2); -lean_inc(x_20); -x_21 = lean_ctor_get(x_16, 3); -lean_inc(x_21); -lean_dec(x_16); -lean_inc(x_2); -x_22 = l_Lean_Delaborator_getUnusedName(x_18, x_1, x_2, x_3, x_4, x_5, x_17); -x_23 = lean_ctor_get(x_22, 0); -lean_inc(x_23); -x_24 = lean_ctor_get(x_22, 1); -lean_inc(x_24); -lean_dec(x_22); -x_25 = lean_unsigned_to_nat(0u); -x_26 = l_Lean_Delaborator_delabAppMatch___lambda__2___closed__1; -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); -lean_inc(x_1); -lean_inc(x_19); -x_27 = l_Lean_Delaborator_descend___rarg(x_19, x_25, x_26, x_1, x_2, x_3, x_4, x_5, x_24); -if (lean_obj_tag(x_27) == 0) -{ -lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_28 = lean_ctor_get(x_27, 0); -lean_inc(x_28); -x_29 = lean_ctor_get(x_27, 1); -lean_inc(x_29); -lean_dec(x_27); -x_30 = lean_unsigned_to_nat(1u); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); -lean_inc(x_1); -lean_inc(x_20); -x_31 = l_Lean_Delaborator_descend___rarg(x_20, x_30, x_26, x_1, x_2, x_3, x_4, x_5, x_29); -if (lean_obj_tag(x_31) == 0) -{ -lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_32 = lean_ctor_get(x_31, 0); -lean_inc(x_32); -x_33 = lean_ctor_get(x_31, 1); -lean_inc(x_33); -lean_dec(x_31); -lean_inc(x_23); -x_34 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabDoElems___lambda__2___boxed), 11, 4); -lean_closure_set(x_34, 0, x_21); -lean_closure_set(x_34, 1, x_23); -lean_closure_set(x_34, 2, x_28); -lean_closure_set(x_34, 3, x_32); -x_35 = l_Lean_Meta_withLetDecl___at_Lean_Delaborator_delabLetE___spec__1___rarg(x_23, x_19, x_20, x_34, x_1, x_2, x_3, x_4, x_5, x_33); -return x_35; -} -else -{ -uint8_t x_36; -lean_dec(x_28); -lean_dec(x_23); -lean_dec(x_21); -lean_dec(x_20); -lean_dec(x_19); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_36 = !lean_is_exclusive(x_31); -if (x_36 == 0) -{ -return x_31; -} -else -{ -lean_object* x_37; lean_object* x_38; lean_object* x_39; -x_37 = lean_ctor_get(x_31, 0); -x_38 = lean_ctor_get(x_31, 1); -lean_inc(x_38); -lean_inc(x_37); -lean_dec(x_31); -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; -} -} -} -else -{ -uint8_t x_40; -lean_dec(x_23); -lean_dec(x_21); -lean_dec(x_20); -lean_dec(x_19); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_40 = !lean_is_exclusive(x_27); -if (x_40 == 0) -{ -return x_27; -} -else -{ -lean_object* x_41; lean_object* x_42; lean_object* x_43; -x_41 = lean_ctor_get(x_27, 0); -x_42 = lean_ctor_get(x_27, 1); -lean_inc(x_42); -lean_inc(x_41); -lean_dec(x_27); -x_43 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_43, 0, x_41); -lean_ctor_set(x_43, 1, x_42); -return x_43; -} -} -} -else -{ -lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; -lean_dec(x_16); -x_44 = lean_ctor_get(x_15, 1); -lean_inc(x_44); -lean_dec(x_15); -x_45 = l_Lean_Delaborator_withAppFn___rarg___closed__1; -x_46 = l_Lean_Delaborator_delabDoElems___closed__2; -x_47 = lean_panic_fn(x_45, x_46); -x_48 = lean_apply_6(x_47, x_1, x_2, x_3, x_4, x_5, x_44); -return x_48; -} -} -} -else -{ -lean_object* x_49; lean_object* x_50; -lean_dec(x_8); -x_49 = l_Lean_Delaborator_delabTuple___lambda__1___closed__1; -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); -lean_inc(x_1); -x_50 = l_Lean_Delaborator_withAppFn___rarg(x_49, x_1, x_2, x_3, x_4, x_5, x_9); -if (lean_obj_tag(x_50) == 0) -{ -lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; -x_51 = lean_ctor_get(x_50, 0); -lean_inc(x_51); -x_52 = lean_ctor_get(x_50, 1); -lean_inc(x_52); -lean_dec(x_50); -x_53 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabDoElems___lambda__6), 8, 1); -lean_closure_set(x_53, 0, x_51); -x_54 = l_Lean_Delaborator_delabAppExplicit___closed__1; -x_55 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Delaborator_delabAppExplicit___spec__2___rarg), 8, 2); -lean_closure_set(x_55, 0, x_54); -lean_closure_set(x_55, 1, x_53); -x_56 = l_Lean_Delaborator_withAppArg___rarg(x_55, x_1, x_2, x_3, x_4, x_5, x_52); -return x_56; -} -else -{ -uint8_t x_57; -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_57 = !lean_is_exclusive(x_50); -if (x_57 == 0) -{ -return x_50; -} -else -{ -lean_object* x_58; lean_object* x_59; lean_object* x_60; -x_58 = lean_ctor_get(x_50, 0); -x_59 = lean_ctor_get(x_50, 1); -lean_inc(x_59); -lean_inc(x_58); -lean_dec(x_50); -x_60 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_60, 0, x_58); -lean_ctor_set(x_60, 1, x_59); -return x_60; -} -} -} -} -} -lean_object* l_Lean_Delaborator_delabDoElems___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; -x_11 = l_Lean_Delaborator_delabDoElems___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -return x_11; -} -} -lean_object* l_Lean_Delaborator_delabDoElems___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -lean_object* x_12; -x_12 = l_Lean_Delaborator_delabDoElems___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_5); -lean_dec(x_1); -return x_12; -} -} -lean_object* l_Lean_Delaborator_delabDoElems___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; -x_9 = l_Lean_Delaborator_delabDoElems___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_9; -} -} -lean_object* l_Lean_Delaborator_delabDoElems___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; -x_10 = l_Lean_Delaborator_delabDoElems___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -return x_10; -} -} -lean_object* l_Lean_Delaborator_delabDoElems___lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; -x_10 = l_Lean_Delaborator_delabDoElems___lambda__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_1); -return x_10; -} -} -static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Delaborator_delabDo___spec__1___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("doSeqItem"); -return x_1; -} -} -static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Delaborator_delabDo___spec__1___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_38____closed__6; -x_2 = l_Array_mapMUnsafe_map___at_Lean_Delaborator_delabDo___spec__1___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -lean_object* l_Array_mapMUnsafe_map___at_Lean_Delaborator_delabDo___spec__1(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; -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; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; size_t x_16; size_t x_17; lean_object* x_18; lean_object* x_19; -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_Lean_Syntax_mkApp___closed__1; -x_11 = lean_array_push(x_10, x_9); -x_12 = l_Lean_mkOptionalNode___closed__1; -x_13 = lean_array_push(x_11, x_12); -x_14 = l_Array_mapMUnsafe_map___at_Lean_Delaborator_delabDo___spec__1___closed__2; -x_15 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_15, 0, x_14); -lean_ctor_set(x_15, 1, x_13); -x_16 = 1; -x_17 = x_2 + x_16; -x_18 = x_15; -x_19 = lean_array_uset(x_8, x_2, x_18); -x_2 = x_17; -x_3 = x_19; -goto _start; -} -} -} -static lean_object* _init_l_Lean_Delaborator_delabDo___lambda__1___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("do"); -return x_1; -} -} -static lean_object* _init_l_Lean_Delaborator_delabDo___lambda__1___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_38____closed__6; -x_2 = l_Lean_Delaborator_delabDo___lambda__1___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Delaborator_delabDo___lambda__1___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_instInhabitedSourceInfo___closed__1; -x_2 = l_Lean_Delaborator_delabDo___lambda__1___closed__1; -x_3 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Delaborator_delabDo___lambda__1___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_empty___closed__1; -x_2 = l_Lean_Delaborator_delabDo___lambda__1___closed__3; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Delaborator_delabDo___lambda__1___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("doSeqIndent"); -return x_1; -} -} -static lean_object* _init_l_Lean_Delaborator_delabDo___lambda__1___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_38____closed__6; -x_2 = l_Lean_Delaborator_delabDo___lambda__1___closed__5; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -lean_object* l_Lean_Delaborator_delabDo___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; -x_8 = l_Lean_Delaborator_delabDoElems(x_2, x_3, x_4, x_5, x_6, x_7); -if (lean_obj_tag(x_8) == 0) -{ -uint8_t x_9; -x_9 = !lean_is_exclusive(x_8); -if (x_9 == 0) -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; size_t x_15; size_t x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_10 = lean_ctor_get(x_8, 0); -x_11 = l_List_redLength___rarg(x_10); -x_12 = lean_mk_empty_array_with_capacity(x_11); -lean_dec(x_11); -x_13 = l_List_toArrayAux___rarg(x_10, x_12); -x_14 = lean_array_get_size(x_13); -x_15 = lean_usize_of_nat(x_14); -lean_dec(x_14); -x_16 = 0; -x_17 = x_13; -x_18 = l_Array_mapMUnsafe_map___at_Lean_Delaborator_delabDo___spec__1(x_15, x_16, x_17); -x_19 = x_18; -x_20 = l_Array_empty___closed__1; -x_21 = l_Array_appendCore___rarg(x_20, x_19); -lean_dec(x_19); -x_22 = l_Lean_nullKind___closed__2; -x_23 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_23, 0, x_22); -lean_ctor_set(x_23, 1, x_21); -x_24 = lean_array_push(x_20, x_23); -x_25 = l_Lean_Delaborator_delabDo___lambda__1___closed__6; -x_26 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_26, 0, x_25); -lean_ctor_set(x_26, 1, x_24); -x_27 = l_Lean_Delaborator_delabDo___lambda__1___closed__4; -x_28 = lean_array_push(x_27, x_26); -x_29 = l_Lean_Delaborator_delabDo___lambda__1___closed__2; -x_30 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_30, 0, x_29); -lean_ctor_set(x_30, 1, x_28); -lean_ctor_set(x_8, 0, x_30); -return x_8; -} -else -{ -lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; size_t x_37; size_t x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; -x_31 = lean_ctor_get(x_8, 0); -x_32 = lean_ctor_get(x_8, 1); -lean_inc(x_32); -lean_inc(x_31); -lean_dec(x_8); -x_33 = l_List_redLength___rarg(x_31); -x_34 = lean_mk_empty_array_with_capacity(x_33); -lean_dec(x_33); -x_35 = l_List_toArrayAux___rarg(x_31, x_34); -x_36 = lean_array_get_size(x_35); -x_37 = lean_usize_of_nat(x_36); -lean_dec(x_36); -x_38 = 0; -x_39 = x_35; -x_40 = l_Array_mapMUnsafe_map___at_Lean_Delaborator_delabDo___spec__1(x_37, x_38, x_39); -x_41 = x_40; -x_42 = l_Array_empty___closed__1; -x_43 = l_Array_appendCore___rarg(x_42, x_41); -lean_dec(x_41); -x_44 = l_Lean_nullKind___closed__2; -x_45 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_45, 0, x_44); -lean_ctor_set(x_45, 1, x_43); -x_46 = lean_array_push(x_42, x_45); -x_47 = l_Lean_Delaborator_delabDo___lambda__1___closed__6; -x_48 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_48, 0, x_47); -lean_ctor_set(x_48, 1, x_46); -x_49 = l_Lean_Delaborator_delabDo___lambda__1___closed__4; -x_50 = lean_array_push(x_49, x_48); -x_51 = l_Lean_Delaborator_delabDo___lambda__1___closed__2; -x_52 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_52, 0, x_51); -lean_ctor_set(x_52, 1, x_50); -x_53 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_53, 0, x_52); -lean_ctor_set(x_53, 1, x_32); -return x_53; -} -} -else -{ -uint8_t x_54; -x_54 = !lean_is_exclusive(x_8); -if (x_54 == 0) -{ -return x_8; -} -else -{ -lean_object* x_55; lean_object* x_56; lean_object* x_57; -x_55 = lean_ctor_get(x_8, 0); -x_56 = lean_ctor_get(x_8, 1); -lean_inc(x_56); -lean_inc(x_55); -lean_dec(x_8); -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; -} -} -} -} -static lean_object* _init_l_Lean_Delaborator_delabDo___lambda__2___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabDo___lambda__1___boxed), 7, 0); -return x_1; -} -} -lean_object* l_Lean_Delaborator_delabDo___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; -x_8 = l_Lean_Delaborator_delabDo___lambda__2___closed__1; -x_9 = l_myMacro____x40_Init_Notation___hyg_4868____closed__7; -x_10 = lean_unsigned_to_nat(6u); -x_11 = l_Lean_Expr_isAppOfArity(x_1, x_9, x_10); -if (x_11 == 0) -{ -lean_object* x_12; uint8_t x_13; -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_12 = l_Lean_Delaborator_failure___rarg(x_7); -x_13 = !lean_is_exclusive(x_12); -if (x_13 == 0) -{ -return x_12; -} -else -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_14 = lean_ctor_get(x_12, 0); -x_15 = lean_ctor_get(x_12, 1); -lean_inc(x_15); -lean_inc(x_14); -lean_dec(x_12); -x_16 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_16, 0, x_14); -lean_ctor_set(x_16, 1, x_15); -return x_16; -} -} -else -{ -lean_object* x_17; lean_object* x_18; -x_17 = lean_box(0); -x_18 = lean_apply_7(x_8, x_17, x_2, x_3, x_4, x_5, x_6, x_7); -return x_18; -} -} -} -static lean_object* _init_l_Lean_Delaborator_delabDo___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabDo___lambda__2___boxed), 7, 0); -return x_1; -} -} -static lean_object* _init_l_Lean_Delaborator_delabDo___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Delaborator_delabAppExplicit___closed__1; -x_2 = l_Lean_Delaborator_delabDo___closed__1; -x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Delaborator_delabAppExplicit___spec__2___rarg), 8, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; -} -} -lean_object* l_Lean_Delaborator_delabDo(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; lean_object* x_8; lean_object* x_9; -x_7 = l_Lean_Delaborator_delabAppMatch___closed__7; -x_8 = l_Lean_Delaborator_delabDo___closed__2; -x_9 = l_Lean_Delaborator_whenPPOption(x_7, x_8, x_1, x_2, x_3, x_4, x_5, x_6); -return x_9; -} -} -lean_object* l_Array_mapMUnsafe_map___at_Lean_Delaborator_delabDo___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_Lean_Delaborator_delabDo___spec__1(x_4, x_5, x_3); -return x_6; -} -} -lean_object* l_Lean_Delaborator_delabDo___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; -x_8 = l_Lean_Delaborator_delabDo___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); -lean_dec(x_1); -return x_8; -} -} -lean_object* l_Lean_Delaborator_delabDo___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; -x_8 = l_Lean_Delaborator_delabDo___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7); -lean_dec(x_1); -return x_8; -} -} -static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabDo___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabDo), 6, 0); -return x_1; -} -} -lean_object* l___regBuiltin_Lean_Delaborator_delabDo(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_Delaborator_delabAttribute; -x_3 = l___regBuiltin_Lean_Delaborator_delabBind___closed__2; -x_4 = l___regBuiltin_Lean_Delaborator_delabDo___closed__1; -x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); -return x_5; -} -} -static lean_object* _init_l_Lean_delab___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("Lean.delab"); -return x_1; -} -} -static lean_object* _init_l_Lean_delab___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_1 = l_Lean_Delaborator_withAppFn___rarg___closed__2; -x_2 = l_Lean_delab___closed__1; -x_3 = lean_unsigned_to_nat(863u); -x_4 = lean_unsigned_to_nat(14u); -x_5 = l_Lean_Syntax_strLitToAtom___closed__3; -x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); -return x_6; -} -} -static lean_object* _init_l_Lean_delab___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Delaborator_mkDelabAttribute___closed__5; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_delab___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_delab___closed__3; -x_2 = l_Lean_Delaborator_mkDelabAttribute___closed__3; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_delab___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("input"); -return x_1; -} -} -static lean_object* _init_l_Lean_delab___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_delab___closed__4; -x_2 = l_Lean_delab___closed__5; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -lean_object* l_Lean_delab(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; uint8_t x_40; lean_object* x_41; lean_object* x_51; lean_object* x_52; lean_object* x_53; uint8_t x_54; -x_51 = lean_st_ref_get(x_8, x_9); -x_52 = lean_ctor_get(x_51, 0); -lean_inc(x_52); -x_53 = lean_ctor_get(x_52, 3); -lean_inc(x_53); -lean_dec(x_52); -x_54 = lean_ctor_get_uint8(x_53, sizeof(void*)*1); -lean_dec(x_53); -if (x_54 == 0) -{ -lean_object* x_55; uint8_t x_56; -x_55 = lean_ctor_get(x_51, 1); -lean_inc(x_55); -lean_dec(x_51); -x_56 = 0; -x_40 = x_56; -x_41 = x_55; -goto block_50; -} -else -{ -lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; uint8_t x_62; -x_57 = lean_ctor_get(x_51, 1); -lean_inc(x_57); -lean_dec(x_51); -x_58 = l_Lean_delab___closed__6; -x_59 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_58, x_5, x_6, x_7, x_8, x_57); -x_60 = lean_ctor_get(x_59, 0); -lean_inc(x_60); -x_61 = lean_ctor_get(x_59, 1); -lean_inc(x_61); -lean_dec(x_59); -x_62 = lean_unbox(x_60); -lean_dec(x_60); -x_40 = x_62; -x_41 = x_61; -goto block_50; -} -block_39: -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_11 = lean_ctor_get(x_7, 0); -lean_inc(x_11); -x_12 = lean_unsigned_to_nat(1u); -x_13 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_13, 0, x_3); -lean_ctor_set(x_13, 1, x_12); -lean_ctor_set(x_13, 2, x_11); -lean_ctor_set(x_13, 3, x_4); -lean_ctor_set(x_13, 4, x_1); -lean_ctor_set(x_13, 5, x_2); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -x_14 = l_Lean_Delaborator_delab(x_13, x_5, x_6, x_7, x_8, x_10); -if (lean_obj_tag(x_14) == 0) -{ -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -return x_14; -} -else -{ -lean_object* x_15; -x_15 = lean_ctor_get(x_14, 0); -lean_inc(x_15); -if (lean_obj_tag(x_15) == 0) -{ -uint8_t x_16; -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -x_16 = !lean_is_exclusive(x_14); -if (x_16 == 0) -{ -lean_object* x_17; -x_17 = lean_ctor_get(x_14, 0); -lean_dec(x_17); -return x_14; -} -else -{ -lean_object* x_18; lean_object* x_19; -x_18 = lean_ctor_get(x_14, 1); -lean_inc(x_18); -lean_dec(x_14); -x_19 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_19, 0, x_15); -lean_ctor_set(x_19, 1, x_18); -return x_19; -} -} -else -{ -uint8_t x_20; -x_20 = !lean_is_exclusive(x_14); -if (x_20 == 0) -{ -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; -x_21 = lean_ctor_get(x_14, 1); -x_22 = lean_ctor_get(x_14, 0); -lean_dec(x_22); -x_23 = lean_ctor_get(x_15, 0); -lean_inc(x_23); -x_24 = l_Lean_Delaborator_delabFailureId; -x_25 = lean_nat_dec_eq(x_24, x_23); -lean_dec(x_23); -if (x_25 == 0) -{ -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -return x_14; -} -else -{ -lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; -lean_free_object(x_14); -lean_dec(x_15); -x_26 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___closed__1; -x_27 = l_Lean_delab___closed__2; -x_28 = lean_panic_fn(x_26, x_27); -x_29 = lean_apply_5(x_28, x_5, x_6, x_7, x_8, x_21); -return x_29; -} -} -else -{ -lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; -x_30 = lean_ctor_get(x_14, 1); -lean_inc(x_30); -lean_dec(x_14); -x_31 = lean_ctor_get(x_15, 0); -lean_inc(x_31); -x_32 = l_Lean_Delaborator_delabFailureId; -x_33 = lean_nat_dec_eq(x_32, x_31); -lean_dec(x_31); -if (x_33 == 0) -{ -lean_object* x_34; -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -x_34 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_34, 0, x_15); -lean_ctor_set(x_34, 1, x_30); -return x_34; -} -else -{ -lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; -lean_dec(x_15); -x_35 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___closed__1; -x_36 = l_Lean_delab___closed__2; -x_37 = lean_panic_fn(x_35, x_36); -x_38 = lean_apply_5(x_37, x_5, x_6, x_7, x_8, x_30); -return x_38; -} -} -} -} -} -block_50: -{ -if (x_40 == 0) -{ -x_10 = x_41; -goto block_39; -} -else -{ -lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; -x_42 = l_Lean_fmt___at_Lean_ppExpr___spec__4(x_3); -x_43 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_43, 0, x_42); -x_44 = l_Array_foldlMUnsafe_fold___at_Lean_withNestedTraces___spec__5___closed__1; -x_45 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_45, 0, x_44); -lean_ctor_set(x_45, 1, x_43); -x_46 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_46, 0, x_45); -lean_ctor_set(x_46, 1, x_44); -x_47 = l_Lean_delab___closed__6; -x_48 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_47, x_46, x_5, x_6, x_7, x_8, x_41); -x_49 = lean_ctor_get(x_48, 1); -lean_inc(x_49); -lean_dec(x_48); -x_10 = x_49; -goto block_39; -} -} -} -} -lean_object* l_Lean_initFn____x40_Lean_Delaborator___hyg_11519_(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_delab___closed__4; -x_3 = l_Lean_registerTraceClass(x_2, x_1); -return x_3; -} -} -lean_object* initialize_Init(lean_object*); -lean_object* initialize_Lean_KeyedDeclsAttribute(lean_object*); -lean_object* initialize_Lean_ProjFns(lean_object*); -lean_object* initialize_Lean_Syntax(lean_object*); -lean_object* initialize_Lean_Meta_Match(lean_object*); -lean_object* initialize_Lean_Elab_Term(lean_object*); -static bool _G_initialized = false; -lean_object* initialize_Lean_Delaborator(lean_object* w) { -lean_object * res; -if (_G_initialized) return lean_io_result_mk_ok(lean_box(0)); -_G_initialized = true; -res = initialize_Init(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -res = initialize_Lean_KeyedDeclsAttribute(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -res = initialize_Lean_ProjFns(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -res = initialize_Lean_Syntax(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -res = initialize_Lean_Meta_Match(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -res = initialize_Lean_Elab_Term(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l_Lean_Level_quote___lambda__2___closed__1 = _init_l_Lean_Level_quote___lambda__2___closed__1(); -lean_mark_persistent(l_Lean_Level_quote___lambda__2___closed__1); -l_Lean_Level_quote___lambda__4___closed__1 = _init_l_Lean_Level_quote___lambda__4___closed__1(); -lean_mark_persistent(l_Lean_Level_quote___lambda__4___closed__1); -l_Lean_Level_quote___lambda__4___closed__2 = _init_l_Lean_Level_quote___lambda__4___closed__2(); -lean_mark_persistent(l_Lean_Level_quote___lambda__4___closed__2); -l_Lean_Level_quote___lambda__6___closed__1 = _init_l_Lean_Level_quote___lambda__6___closed__1(); -lean_mark_persistent(l_Lean_Level_quote___lambda__6___closed__1); -l_Lean_Level_quote___lambda__6___closed__2 = _init_l_Lean_Level_quote___lambda__6___closed__2(); -lean_mark_persistent(l_Lean_Level_quote___lambda__6___closed__2); -l_Lean_Level_quote___closed__1 = _init_l_Lean_Level_quote___closed__1(); -lean_mark_persistent(l_Lean_Level_quote___closed__1); -l_Lean_Level_quote___closed__2 = _init_l_Lean_Level_quote___closed__2(); -lean_mark_persistent(l_Lean_Level_quote___closed__2); -l_Lean_Level_quote___closed__3 = _init_l_Lean_Level_quote___closed__3(); -lean_mark_persistent(l_Lean_Level_quote___closed__3); -l_Lean_Level_quote___closed__4 = _init_l_Lean_Level_quote___closed__4(); -lean_mark_persistent(l_Lean_Level_quote___closed__4); -l_Lean_Level_quote___closed__5 = _init_l_Lean_Level_quote___closed__5(); -lean_mark_persistent(l_Lean_Level_quote___closed__5); -l_Lean_Level_quote___closed__6 = _init_l_Lean_Level_quote___closed__6(); -lean_mark_persistent(l_Lean_Level_quote___closed__6); -l_Lean_Level_instQuoteLevel___closed__1 = _init_l_Lean_Level_instQuoteLevel___closed__1(); -lean_mark_persistent(l_Lean_Level_instQuoteLevel___closed__1); -l_Lean_Level_instQuoteLevel = _init_l_Lean_Level_instQuoteLevel(); -lean_mark_persistent(l_Lean_Level_instQuoteLevel); -l_Lean_getPPBinderTypes___closed__1 = _init_l_Lean_getPPBinderTypes___closed__1(); -lean_mark_persistent(l_Lean_getPPBinderTypes___closed__1); -l_Lean_getPPBinderTypes___closed__2 = _init_l_Lean_getPPBinderTypes___closed__2(); -lean_mark_persistent(l_Lean_getPPBinderTypes___closed__2); -l_Lean_getPPCoercions___closed__1 = _init_l_Lean_getPPCoercions___closed__1(); -lean_mark_persistent(l_Lean_getPPCoercions___closed__1); -l_Lean_getPPCoercions___closed__2 = _init_l_Lean_getPPCoercions___closed__2(); -lean_mark_persistent(l_Lean_getPPCoercions___closed__2); -l_Lean_getPPExplicit___closed__1 = _init_l_Lean_getPPExplicit___closed__1(); -lean_mark_persistent(l_Lean_getPPExplicit___closed__1); -l_Lean_getPPNotation___closed__1 = _init_l_Lean_getPPNotation___closed__1(); -lean_mark_persistent(l_Lean_getPPNotation___closed__1); -l_Lean_getPPNotation___closed__2 = _init_l_Lean_getPPNotation___closed__2(); -lean_mark_persistent(l_Lean_getPPNotation___closed__2); -l_Lean_getPPStructureProjections___closed__1 = _init_l_Lean_getPPStructureProjections___closed__1(); -lean_mark_persistent(l_Lean_getPPStructureProjections___closed__1); -l_Lean_getPPStructureProjections___closed__2 = _init_l_Lean_getPPStructureProjections___closed__2(); -lean_mark_persistent(l_Lean_getPPStructureProjections___closed__2); -l_Lean_getPPStructureInstances___closed__1 = _init_l_Lean_getPPStructureInstances___closed__1(); -lean_mark_persistent(l_Lean_getPPStructureInstances___closed__1); -l_Lean_getPPStructureInstances___closed__2 = _init_l_Lean_getPPStructureInstances___closed__2(); -lean_mark_persistent(l_Lean_getPPStructureInstances___closed__2); -l_Lean_getPPStructureInstanceType___closed__1 = _init_l_Lean_getPPStructureInstanceType___closed__1(); -lean_mark_persistent(l_Lean_getPPStructureInstanceType___closed__1); -l_Lean_getPPStructureInstanceType___closed__2 = _init_l_Lean_getPPStructureInstanceType___closed__2(); -lean_mark_persistent(l_Lean_getPPStructureInstanceType___closed__2); -l_Lean_getPPUniverses___closed__1 = _init_l_Lean_getPPUniverses___closed__1(); -lean_mark_persistent(l_Lean_getPPUniverses___closed__1); -l_Lean_getPPUniverses___closed__2 = _init_l_Lean_getPPUniverses___closed__2(); -lean_mark_persistent(l_Lean_getPPUniverses___closed__2); -l_Lean_getPPFullNames___closed__1 = _init_l_Lean_getPPFullNames___closed__1(); -lean_mark_persistent(l_Lean_getPPFullNames___closed__1); -l_Lean_getPPFullNames___closed__2 = _init_l_Lean_getPPFullNames___closed__2(); -lean_mark_persistent(l_Lean_getPPFullNames___closed__2); -l_Lean_getPPPrivateNames___closed__1 = _init_l_Lean_getPPPrivateNames___closed__1(); -lean_mark_persistent(l_Lean_getPPPrivateNames___closed__1); -l_Lean_getPPPrivateNames___closed__2 = _init_l_Lean_getPPPrivateNames___closed__2(); -lean_mark_persistent(l_Lean_getPPPrivateNames___closed__2); -l_Lean_getPPUnicode___closed__1 = _init_l_Lean_getPPUnicode___closed__1(); -lean_mark_persistent(l_Lean_getPPUnicode___closed__1); -l_Lean_getPPAll___closed__1 = _init_l_Lean_getPPAll___closed__1(); -lean_mark_persistent(l_Lean_getPPAll___closed__1); -l_Lean_initFn____x40_Lean_Delaborator___hyg_574____closed__1 = _init_l_Lean_initFn____x40_Lean_Delaborator___hyg_574____closed__1(); -lean_mark_persistent(l_Lean_initFn____x40_Lean_Delaborator___hyg_574____closed__1); -l_Lean_initFn____x40_Lean_Delaborator___hyg_574____closed__2 = _init_l_Lean_initFn____x40_Lean_Delaborator___hyg_574____closed__2(); -lean_mark_persistent(l_Lean_initFn____x40_Lean_Delaborator___hyg_574____closed__2); -l_Lean_initFn____x40_Lean_Delaborator___hyg_574____closed__3 = _init_l_Lean_initFn____x40_Lean_Delaborator___hyg_574____closed__3(); -lean_mark_persistent(l_Lean_initFn____x40_Lean_Delaborator___hyg_574____closed__3); -l_Lean_initFn____x40_Lean_Delaborator___hyg_574____closed__4 = _init_l_Lean_initFn____x40_Lean_Delaborator___hyg_574____closed__4(); -lean_mark_persistent(l_Lean_initFn____x40_Lean_Delaborator___hyg_574____closed__4); -res = l_Lean_initFn____x40_Lean_Delaborator___hyg_574_(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l_Lean_Delaborator_Context_pos___default = _init_l_Lean_Delaborator_Context_pos___default(); -lean_mark_persistent(l_Lean_Delaborator_Context_pos___default); -l_Lean_Delaborator_initFn____x40_Lean_Delaborator___hyg_626____closed__1 = _init_l_Lean_Delaborator_initFn____x40_Lean_Delaborator___hyg_626____closed__1(); -lean_mark_persistent(l_Lean_Delaborator_initFn____x40_Lean_Delaborator___hyg_626____closed__1); -l_Lean_Delaborator_initFn____x40_Lean_Delaborator___hyg_626____closed__2 = _init_l_Lean_Delaborator_initFn____x40_Lean_Delaborator___hyg_626____closed__2(); -lean_mark_persistent(l_Lean_Delaborator_initFn____x40_Lean_Delaborator___hyg_626____closed__2); -res = l_Lean_Delaborator_initFn____x40_Lean_Delaborator___hyg_626_(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -l_Lean_Delaborator_delabFailureId = lean_io_result_get_value(res); -lean_mark_persistent(l_Lean_Delaborator_delabFailureId); -lean_dec_ref(res); -l_Lean_Delaborator_instInhabitedDelabM___closed__1 = _init_l_Lean_Delaborator_instInhabitedDelabM___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_instInhabitedDelabM___closed__1); -l_Lean_Delaborator_failure___rarg___closed__1 = _init_l_Lean_Delaborator_failure___rarg___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_failure___rarg___closed__1); -l_Lean_Delaborator_instAlternativeDelabM___closed__1 = _init_l_Lean_Delaborator_instAlternativeDelabM___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_instAlternativeDelabM___closed__1); -l_Lean_Delaborator_instAlternativeDelabM___closed__2 = _init_l_Lean_Delaborator_instAlternativeDelabM___closed__2(); -lean_mark_persistent(l_Lean_Delaborator_instAlternativeDelabM___closed__2); -l_Lean_Delaborator_instAlternativeDelabM___closed__3 = _init_l_Lean_Delaborator_instAlternativeDelabM___closed__3(); -lean_mark_persistent(l_Lean_Delaborator_instAlternativeDelabM___closed__3); -l_Lean_Delaborator_instAlternativeDelabM = _init_l_Lean_Delaborator_instAlternativeDelabM(); -lean_mark_persistent(l_Lean_Delaborator_instAlternativeDelabM); -l_Lean_Delaborator_instOrElseDelabM___closed__1 = _init_l_Lean_Delaborator_instOrElseDelabM___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_instOrElseDelabM___closed__1); -l_Lean_Delaborator_instMonadQuotationDelabM___closed__1 = _init_l_Lean_Delaborator_instMonadQuotationDelabM___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_instMonadQuotationDelabM___closed__1); -l_Lean_Delaborator_instMonadQuotationDelabM___closed__2 = _init_l_Lean_Delaborator_instMonadQuotationDelabM___closed__2(); -lean_mark_persistent(l_Lean_Delaborator_instMonadQuotationDelabM___closed__2); -l_Lean_Delaborator_instMonadQuotationDelabM___closed__3 = _init_l_Lean_Delaborator_instMonadQuotationDelabM___closed__3(); -lean_mark_persistent(l_Lean_Delaborator_instMonadQuotationDelabM___closed__3); -l_Lean_Delaborator_instMonadQuotationDelabM___closed__4 = _init_l_Lean_Delaborator_instMonadQuotationDelabM___closed__4(); -lean_mark_persistent(l_Lean_Delaborator_instMonadQuotationDelabM___closed__4); -l_Lean_Delaborator_instMonadQuotationDelabM = _init_l_Lean_Delaborator_instMonadQuotationDelabM(); -lean_mark_persistent(l_Lean_Delaborator_instMonadQuotationDelabM); -l_Lean_Delaborator_mkDelabAttribute___closed__1 = _init_l_Lean_Delaborator_mkDelabAttribute___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_mkDelabAttribute___closed__1); -l_Lean_Delaborator_mkDelabAttribute___closed__2 = _init_l_Lean_Delaborator_mkDelabAttribute___closed__2(); -lean_mark_persistent(l_Lean_Delaborator_mkDelabAttribute___closed__2); -l_Lean_Delaborator_mkDelabAttribute___closed__3 = _init_l_Lean_Delaborator_mkDelabAttribute___closed__3(); -lean_mark_persistent(l_Lean_Delaborator_mkDelabAttribute___closed__3); -l_Lean_Delaborator_mkDelabAttribute___closed__4 = _init_l_Lean_Delaborator_mkDelabAttribute___closed__4(); -lean_mark_persistent(l_Lean_Delaborator_mkDelabAttribute___closed__4); -l_Lean_Delaborator_mkDelabAttribute___closed__5 = _init_l_Lean_Delaborator_mkDelabAttribute___closed__5(); -lean_mark_persistent(l_Lean_Delaborator_mkDelabAttribute___closed__5); -l_Lean_Delaborator_mkDelabAttribute___closed__6 = _init_l_Lean_Delaborator_mkDelabAttribute___closed__6(); -lean_mark_persistent(l_Lean_Delaborator_mkDelabAttribute___closed__6); -l_Lean_Delaborator_mkDelabAttribute___closed__7 = _init_l_Lean_Delaborator_mkDelabAttribute___closed__7(); -lean_mark_persistent(l_Lean_Delaborator_mkDelabAttribute___closed__7); -l_Lean_Delaborator_mkDelabAttribute___closed__8 = _init_l_Lean_Delaborator_mkDelabAttribute___closed__8(); -lean_mark_persistent(l_Lean_Delaborator_mkDelabAttribute___closed__8); -l_Lean_Delaborator_mkDelabAttribute___closed__9 = _init_l_Lean_Delaborator_mkDelabAttribute___closed__9(); -lean_mark_persistent(l_Lean_Delaborator_mkDelabAttribute___closed__9); -l_Lean_Delaborator_mkDelabAttribute___closed__10 = _init_l_Lean_Delaborator_mkDelabAttribute___closed__10(); -lean_mark_persistent(l_Lean_Delaborator_mkDelabAttribute___closed__10); -l_Lean_Delaborator_mkDelabAttribute___closed__11 = _init_l_Lean_Delaborator_mkDelabAttribute___closed__11(); -lean_mark_persistent(l_Lean_Delaborator_mkDelabAttribute___closed__11); -l_Lean_Delaborator_mkDelabAttribute___closed__12 = _init_l_Lean_Delaborator_mkDelabAttribute___closed__12(); -lean_mark_persistent(l_Lean_Delaborator_mkDelabAttribute___closed__12); -l_Lean_Delaborator_mkDelabAttribute___closed__13 = _init_l_Lean_Delaborator_mkDelabAttribute___closed__13(); -lean_mark_persistent(l_Lean_Delaborator_mkDelabAttribute___closed__13); -l_Lean_Delaborator_mkDelabAttribute___closed__14 = _init_l_Lean_Delaborator_mkDelabAttribute___closed__14(); -lean_mark_persistent(l_Lean_Delaborator_mkDelabAttribute___closed__14); -res = l_Lean_Delaborator_mkDelabAttribute(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -l_Lean_Delaborator_delabAttribute = lean_io_result_get_value(res); -lean_mark_persistent(l_Lean_Delaborator_delabAttribute); -lean_dec_ref(res); -l_Lean_Delaborator_getExprKind___closed__1 = _init_l_Lean_Delaborator_getExprKind___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_getExprKind___closed__1); -l_Lean_Delaborator_getExprKind___closed__2 = _init_l_Lean_Delaborator_getExprKind___closed__2(); -lean_mark_persistent(l_Lean_Delaborator_getExprKind___closed__2); -l_Lean_Delaborator_getExprKind___closed__3 = _init_l_Lean_Delaborator_getExprKind___closed__3(); -lean_mark_persistent(l_Lean_Delaborator_getExprKind___closed__3); -l_Lean_Delaborator_getExprKind___closed__4 = _init_l_Lean_Delaborator_getExprKind___closed__4(); -lean_mark_persistent(l_Lean_Delaborator_getExprKind___closed__4); -l_Lean_Delaborator_getExprKind___closed__5 = _init_l_Lean_Delaborator_getExprKind___closed__5(); -lean_mark_persistent(l_Lean_Delaborator_getExprKind___closed__5); -l_Lean_Delaborator_getExprKind___closed__6 = _init_l_Lean_Delaborator_getExprKind___closed__6(); -lean_mark_persistent(l_Lean_Delaborator_getExprKind___closed__6); -l_Lean_Delaborator_getExprKind___closed__7 = _init_l_Lean_Delaborator_getExprKind___closed__7(); -lean_mark_persistent(l_Lean_Delaborator_getExprKind___closed__7); -l_Lean_Delaborator_getExprKind___closed__8 = _init_l_Lean_Delaborator_getExprKind___closed__8(); -lean_mark_persistent(l_Lean_Delaborator_getExprKind___closed__8); -l_Lean_Delaborator_getExprKind___closed__9 = _init_l_Lean_Delaborator_getExprKind___closed__9(); -lean_mark_persistent(l_Lean_Delaborator_getExprKind___closed__9); -l_Lean_Delaborator_getExprKind___closed__10 = _init_l_Lean_Delaborator_getExprKind___closed__10(); -lean_mark_persistent(l_Lean_Delaborator_getExprKind___closed__10); -l_Lean_Delaborator_getExprKind___closed__11 = _init_l_Lean_Delaborator_getExprKind___closed__11(); -lean_mark_persistent(l_Lean_Delaborator_getExprKind___closed__11); -l_Lean_Delaborator_withAppFn___rarg___closed__1 = _init_l_Lean_Delaborator_withAppFn___rarg___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_withAppFn___rarg___closed__1); -l_Lean_Delaborator_withAppFn___rarg___closed__2 = _init_l_Lean_Delaborator_withAppFn___rarg___closed__2(); -lean_mark_persistent(l_Lean_Delaborator_withAppFn___rarg___closed__2); -l_Lean_Delaborator_withAppFn___rarg___closed__3 = _init_l_Lean_Delaborator_withAppFn___rarg___closed__3(); -lean_mark_persistent(l_Lean_Delaborator_withAppFn___rarg___closed__3); -l_Lean_Delaborator_withAppFn___rarg___closed__4 = _init_l_Lean_Delaborator_withAppFn___rarg___closed__4(); -lean_mark_persistent(l_Lean_Delaborator_withAppFn___rarg___closed__4); -l_Lean_Delaborator_withAppArg___rarg___closed__1 = _init_l_Lean_Delaborator_withAppArg___rarg___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_withAppArg___rarg___closed__1); -l_Lean_Delaborator_withAppArg___rarg___closed__2 = _init_l_Lean_Delaborator_withAppArg___rarg___closed__2(); -lean_mark_persistent(l_Lean_Delaborator_withAppArg___rarg___closed__2); -l_Lean_Delaborator_withProj___rarg___closed__1 = _init_l_Lean_Delaborator_withProj___rarg___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_withProj___rarg___closed__1); -l_Lean_Delaborator_withProj___rarg___closed__2 = _init_l_Lean_Delaborator_withProj___rarg___closed__2(); -lean_mark_persistent(l_Lean_Delaborator_withProj___rarg___closed__2); -l_Lean_Delaborator_withMDataExpr___rarg___closed__1 = _init_l_Lean_Delaborator_withMDataExpr___rarg___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_withMDataExpr___rarg___closed__1); -l_Lean_Delaborator_withMDataExpr___rarg___closed__2 = _init_l_Lean_Delaborator_withMDataExpr___rarg___closed__2(); -lean_mark_persistent(l_Lean_Delaborator_withMDataExpr___rarg___closed__2); -l_Lean_Delaborator_annotatePos___closed__1 = _init_l_Lean_Delaborator_annotatePos___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_annotatePos___closed__1); -l_Lean_Delaborator_delab___closed__1 = _init_l_Lean_Delaborator_delab___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_delab___closed__1); -l_Lean_Delaborator_delab___closed__2 = _init_l_Lean_Delaborator_delab___closed__2(); -lean_mark_persistent(l_Lean_Delaborator_delab___closed__2); -l_Lean_Delaborator_delab___closed__3 = _init_l_Lean_Delaborator_delab___closed__3(); -lean_mark_persistent(l_Lean_Delaborator_delab___closed__3); -l_Lean_Delaborator_delab___closed__4 = _init_l_Lean_Delaborator_delab___closed__4(); -lean_mark_persistent(l_Lean_Delaborator_delab___closed__4); -l_Lean_Delaborator_delab___closed__5 = _init_l_Lean_Delaborator_delab___closed__5(); -lean_mark_persistent(l_Lean_Delaborator_delab___closed__5); -l_Lean_Delaborator_delabFVar___closed__1 = _init_l_Lean_Delaborator_delabFVar___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_delabFVar___closed__1); -l_Lean_Delaborator_delabFVar___closed__2 = _init_l_Lean_Delaborator_delabFVar___closed__2(); -lean_mark_persistent(l_Lean_Delaborator_delabFVar___closed__2); -l___regBuiltin_Lean_Delaborator_delabFVar___closed__1 = _init_l___regBuiltin_Lean_Delaborator_delabFVar___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabFVar___closed__1); -res = l___regBuiltin_Lean_Delaborator_delabFVar(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l_Lean_Delaborator_delabBVar___closed__1 = _init_l_Lean_Delaborator_delabBVar___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_delabBVar___closed__1); -l_Lean_Delaborator_delabBVar___closed__2 = _init_l_Lean_Delaborator_delabBVar___closed__2(); -lean_mark_persistent(l_Lean_Delaborator_delabBVar___closed__2); -l___regBuiltin_Lean_Delaborator_delabBVar___closed__1 = _init_l___regBuiltin_Lean_Delaborator_delabBVar___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabBVar___closed__1); -res = l___regBuiltin_Lean_Delaborator_delabBVar(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l_Lean_Delaborator_delabMVar___closed__1 = _init_l_Lean_Delaborator_delabMVar___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_delabMVar___closed__1); -l_Lean_Delaborator_delabMVar___closed__2 = _init_l_Lean_Delaborator_delabMVar___closed__2(); -lean_mark_persistent(l_Lean_Delaborator_delabMVar___closed__2); -l_Lean_Delaborator_delabMVar___closed__3 = _init_l_Lean_Delaborator_delabMVar___closed__3(); -lean_mark_persistent(l_Lean_Delaborator_delabMVar___closed__3); -l_Lean_Delaborator_delabMVar___closed__4 = _init_l_Lean_Delaborator_delabMVar___closed__4(); -lean_mark_persistent(l_Lean_Delaborator_delabMVar___closed__4); -l_Lean_Delaborator_delabMVar___closed__5 = _init_l_Lean_Delaborator_delabMVar___closed__5(); -lean_mark_persistent(l_Lean_Delaborator_delabMVar___closed__5); -l_Lean_Delaborator_delabMVar___closed__6 = _init_l_Lean_Delaborator_delabMVar___closed__6(); -lean_mark_persistent(l_Lean_Delaborator_delabMVar___closed__6); -l___regBuiltin_Lean_Delaborator_delabMVar___closed__1 = _init_l___regBuiltin_Lean_Delaborator_delabMVar___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabMVar___closed__1); -res = l___regBuiltin_Lean_Delaborator_delabMVar(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l_Lean_Delaborator_delabSort___closed__1 = _init_l_Lean_Delaborator_delabSort___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_delabSort___closed__1); -l_Lean_Delaborator_delabSort___closed__2 = _init_l_Lean_Delaborator_delabSort___closed__2(); -lean_mark_persistent(l_Lean_Delaborator_delabSort___closed__2); -l_Lean_Delaborator_delabSort___closed__3 = _init_l_Lean_Delaborator_delabSort___closed__3(); -lean_mark_persistent(l_Lean_Delaborator_delabSort___closed__3); -l_Lean_Delaborator_delabSort___closed__4 = _init_l_Lean_Delaborator_delabSort___closed__4(); -lean_mark_persistent(l_Lean_Delaborator_delabSort___closed__4); -l_Lean_Delaborator_delabSort___closed__5 = _init_l_Lean_Delaborator_delabSort___closed__5(); -lean_mark_persistent(l_Lean_Delaborator_delabSort___closed__5); -l_Lean_Delaborator_delabSort___closed__6 = _init_l_Lean_Delaborator_delabSort___closed__6(); -lean_mark_persistent(l_Lean_Delaborator_delabSort___closed__6); -l_Lean_Delaborator_delabSort___closed__7 = _init_l_Lean_Delaborator_delabSort___closed__7(); -lean_mark_persistent(l_Lean_Delaborator_delabSort___closed__7); -l_Lean_Delaborator_delabSort___closed__8 = _init_l_Lean_Delaborator_delabSort___closed__8(); -lean_mark_persistent(l_Lean_Delaborator_delabSort___closed__8); -l_Lean_Delaborator_delabSort___closed__9 = _init_l_Lean_Delaborator_delabSort___closed__9(); -lean_mark_persistent(l_Lean_Delaborator_delabSort___closed__9); -l_Lean_Delaborator_delabSort___closed__10 = _init_l_Lean_Delaborator_delabSort___closed__10(); -lean_mark_persistent(l_Lean_Delaborator_delabSort___closed__10); -l_Lean_Delaborator_delabSort___closed__11 = _init_l_Lean_Delaborator_delabSort___closed__11(); -lean_mark_persistent(l_Lean_Delaborator_delabSort___closed__11); -l___regBuiltin_Lean_Delaborator_delabSort___closed__1 = _init_l___regBuiltin_Lean_Delaborator_delabSort___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabSort___closed__1); -res = l___regBuiltin_Lean_Delaborator_delabSort(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l_Lean_Delaborator_delabConst___lambda__1___closed__1 = _init_l_Lean_Delaborator_delabConst___lambda__1___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_delabConst___lambda__1___closed__1); -l_Lean_Delaborator_delabConst___lambda__1___closed__2 = _init_l_Lean_Delaborator_delabConst___lambda__1___closed__2(); -lean_mark_persistent(l_Lean_Delaborator_delabConst___lambda__1___closed__2); -l_Lean_Delaborator_delabConst___lambda__1___closed__3 = _init_l_Lean_Delaborator_delabConst___lambda__1___closed__3(); -lean_mark_persistent(l_Lean_Delaborator_delabConst___lambda__1___closed__3); -l_Lean_Delaborator_delabConst___lambda__1___closed__4 = _init_l_Lean_Delaborator_delabConst___lambda__1___closed__4(); -lean_mark_persistent(l_Lean_Delaborator_delabConst___lambda__1___closed__4); -l_Lean_Delaborator_delabConst___lambda__1___closed__5 = _init_l_Lean_Delaborator_delabConst___lambda__1___closed__5(); -lean_mark_persistent(l_Lean_Delaborator_delabConst___lambda__1___closed__5); -l_Lean_Delaborator_delabConst___lambda__1___closed__6 = _init_l_Lean_Delaborator_delabConst___lambda__1___closed__6(); -lean_mark_persistent(l_Lean_Delaborator_delabConst___lambda__1___closed__6); -l_Lean_Delaborator_delabConst___lambda__2___closed__1 = _init_l_Lean_Delaborator_delabConst___lambda__2___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_delabConst___lambda__2___closed__1); -l_Lean_Delaborator_delabConst___closed__1 = _init_l_Lean_Delaborator_delabConst___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_delabConst___closed__1); -l_Lean_Delaborator_delabConst___closed__2 = _init_l_Lean_Delaborator_delabConst___closed__2(); -lean_mark_persistent(l_Lean_Delaborator_delabConst___closed__2); -l_Lean_Delaborator_delabConst___closed__3 = _init_l_Lean_Delaborator_delabConst___closed__3(); -lean_mark_persistent(l_Lean_Delaborator_delabConst___closed__3); -l_Array_mapMUnsafe_map___at_Lean_Delaborator_getParamKinds___spec__1___closed__1 = _init_l_Array_mapMUnsafe_map___at_Lean_Delaborator_getParamKinds___spec__1___closed__1(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Delaborator_getParamKinds___spec__1___closed__1); -l_Array_mapMUnsafe_map___at_Lean_Delaborator_getParamKinds___spec__1___closed__2 = _init_l_Array_mapMUnsafe_map___at_Lean_Delaborator_getParamKinds___spec__1___closed__2(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Delaborator_getParamKinds___spec__1___closed__2); -l_Array_mapMUnsafe_map___at_Lean_Delaborator_getParamKinds___spec__1___closed__3 = _init_l_Array_mapMUnsafe_map___at_Lean_Delaborator_getParamKinds___spec__1___closed__3(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Delaborator_getParamKinds___spec__1___closed__3); -l_Lean_Delaborator_getParamKinds___lambda__1___boxed__const__1 = _init_l_Lean_Delaborator_getParamKinds___lambda__1___boxed__const__1(); -lean_mark_persistent(l_Lean_Delaborator_getParamKinds___lambda__1___boxed__const__1); -l_Lean_Delaborator_getParamKinds___closed__1 = _init_l_Lean_Delaborator_getParamKinds___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_getParamKinds___closed__1); -l_Lean_Delaborator_delabAppExplicit___lambda__2___closed__1 = _init_l_Lean_Delaborator_delabAppExplicit___lambda__2___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_delabAppExplicit___lambda__2___closed__1); -l_Lean_Delaborator_delabAppExplicit___lambda__2___closed__2 = _init_l_Lean_Delaborator_delabAppExplicit___lambda__2___closed__2(); -lean_mark_persistent(l_Lean_Delaborator_delabAppExplicit___lambda__2___closed__2); -l_Lean_Delaborator_delabAppExplicit___lambda__2___closed__3 = _init_l_Lean_Delaborator_delabAppExplicit___lambda__2___closed__3(); -lean_mark_persistent(l_Lean_Delaborator_delabAppExplicit___lambda__2___closed__3); -l_Lean_Delaborator_delabAppExplicit___closed__1 = _init_l_Lean_Delaborator_delabAppExplicit___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_delabAppExplicit___closed__1); -l_Lean_Delaborator_delabAppExplicit___closed__2 = _init_l_Lean_Delaborator_delabAppExplicit___closed__2(); -lean_mark_persistent(l_Lean_Delaborator_delabAppExplicit___closed__2); -l_Lean_Delaborator_delabAppExplicit___closed__3 = _init_l_Lean_Delaborator_delabAppExplicit___closed__3(); -lean_mark_persistent(l_Lean_Delaborator_delabAppExplicit___closed__3); -l_Lean_Delaborator_delabAppExplicit___closed__4 = _init_l_Lean_Delaborator_delabAppExplicit___closed__4(); -lean_mark_persistent(l_Lean_Delaborator_delabAppExplicit___closed__4); -l___regBuiltin_Lean_Delaborator_delabAppExplicit___closed__1 = _init_l___regBuiltin_Lean_Delaborator_delabAppExplicit___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabAppExplicit___closed__1); -res = l___regBuiltin_Lean_Delaborator_delabAppExplicit(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l_Lean_Delaborator_delabAppImplicit___closed__1 = _init_l_Lean_Delaborator_delabAppImplicit___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_delabAppImplicit___closed__1); -l_Lean_Delaborator_delabAppImplicit___closed__2 = _init_l_Lean_Delaborator_delabAppImplicit___closed__2(); -lean_mark_persistent(l_Lean_Delaborator_delabAppImplicit___closed__2); -l_Lean_Delaborator_delabAppImplicit___closed__3 = _init_l_Lean_Delaborator_delabAppImplicit___closed__3(); -lean_mark_persistent(l_Lean_Delaborator_delabAppImplicit___closed__3); -l_Lean_Delaborator_delabAppImplicit___closed__4 = _init_l_Lean_Delaborator_delabAppImplicit___closed__4(); -lean_mark_persistent(l_Lean_Delaborator_delabAppImplicit___closed__4); -l_Lean_Delaborator_delabAppImplicit___closed__5 = _init_l_Lean_Delaborator_delabAppImplicit___closed__5(); -lean_mark_persistent(l_Lean_Delaborator_delabAppImplicit___closed__5); -l_Lean_Delaborator_delabAppImplicit___closed__6 = _init_l_Lean_Delaborator_delabAppImplicit___closed__6(); -lean_mark_persistent(l_Lean_Delaborator_delabAppImplicit___closed__6); -l_Lean_Delaborator_delabAppImplicit___closed__7 = _init_l_Lean_Delaborator_delabAppImplicit___closed__7(); -lean_mark_persistent(l_Lean_Delaborator_delabAppImplicit___closed__7); -l___regBuiltin_Lean_Delaborator_delabAppImplicit___closed__1 = _init_l___regBuiltin_Lean_Delaborator_delabAppImplicit___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabAppImplicit___closed__1); -res = l___regBuiltin_Lean_Delaborator_delabAppImplicit(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l_Lean_Delaborator_AppMatchState_params___default = _init_l_Lean_Delaborator_AppMatchState_params___default(); -lean_mark_persistent(l_Lean_Delaborator_AppMatchState_params___default); -l_Lean_Delaborator_AppMatchState_hasMotive___default = _init_l_Lean_Delaborator_AppMatchState_hasMotive___default(); -l_Lean_Delaborator_AppMatchState_discrs___default = _init_l_Lean_Delaborator_AppMatchState_discrs___default(); -lean_mark_persistent(l_Lean_Delaborator_AppMatchState_discrs___default); -l_Lean_Delaborator_AppMatchState_rhss___default = _init_l_Lean_Delaborator_AppMatchState_rhss___default(); -lean_mark_persistent(l_Lean_Delaborator_AppMatchState_rhss___default); -l_Lean_Delaborator_AppMatchState_moreArgs___default = _init_l_Lean_Delaborator_AppMatchState_moreArgs___default(); -lean_mark_persistent(l_Lean_Delaborator_AppMatchState_moreArgs___default); -l_Array_mapIdxM_map___at___private_Lean_Delaborator_0__Lean_Delaborator_delabPatterns___spec__3___closed__1 = _init_l_Array_mapIdxM_map___at___private_Lean_Delaborator_0__Lean_Delaborator_delabPatterns___spec__3___closed__1(); -lean_mark_persistent(l_Array_mapIdxM_map___at___private_Lean_Delaborator_0__Lean_Delaborator_delabPatterns___spec__3___closed__1); -l_Array_mapIdxM_map___at___private_Lean_Delaborator_0__Lean_Delaborator_delabPatterns___spec__3___closed__2 = _init_l_Array_mapIdxM_map___at___private_Lean_Delaborator_0__Lean_Delaborator_delabPatterns___spec__3___closed__2(); -lean_mark_persistent(l_Array_mapIdxM_map___at___private_Lean_Delaborator_0__Lean_Delaborator_delabPatterns___spec__3___closed__2); -l_Array_mapIdxM_map___at___private_Lean_Delaborator_0__Lean_Delaborator_delabPatterns___spec__3___closed__3 = _init_l_Array_mapIdxM_map___at___private_Lean_Delaborator_0__Lean_Delaborator_delabPatterns___spec__3___closed__3(); -lean_mark_persistent(l_Array_mapIdxM_map___at___private_Lean_Delaborator_0__Lean_Delaborator_delabPatterns___spec__3___closed__3); -l_Array_mapIdxM_map___at___private_Lean_Delaborator_0__Lean_Delaborator_delabPatterns___spec__3___closed__4 = _init_l_Array_mapIdxM_map___at___private_Lean_Delaborator_0__Lean_Delaborator_delabPatterns___spec__3___closed__4(); -lean_mark_persistent(l_Array_mapIdxM_map___at___private_Lean_Delaborator_0__Lean_Delaborator_delabPatterns___spec__3___closed__4); -l_Array_mapIdxM_map___at___private_Lean_Delaborator_0__Lean_Delaborator_delabPatterns___spec__3___closed__5 = _init_l_Array_mapIdxM_map___at___private_Lean_Delaborator_0__Lean_Delaborator_delabPatterns___spec__3___closed__5(); -lean_mark_persistent(l_Array_mapIdxM_map___at___private_Lean_Delaborator_0__Lean_Delaborator_delabPatterns___spec__3___closed__5); -l_Array_mapMUnsafe_map___at_Lean_Delaborator_delabAppMatch___spec__3___closed__1 = _init_l_Array_mapMUnsafe_map___at_Lean_Delaborator_delabAppMatch___spec__3___closed__1(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Delaborator_delabAppMatch___spec__3___closed__1); -l_Array_mapMUnsafe_map___at_Lean_Delaborator_delabAppMatch___spec__3___closed__2 = _init_l_Array_mapMUnsafe_map___at_Lean_Delaborator_delabAppMatch___spec__3___closed__2(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Delaborator_delabAppMatch___spec__3___closed__2); -l_Array_zipWithAux___at_Lean_Delaborator_delabAppMatch___spec__4___closed__1 = _init_l_Array_zipWithAux___at_Lean_Delaborator_delabAppMatch___spec__4___closed__1(); -lean_mark_persistent(l_Array_zipWithAux___at_Lean_Delaborator_delabAppMatch___spec__4___closed__1); -l_Array_zipWithAux___at_Lean_Delaborator_delabAppMatch___spec__4___closed__2 = _init_l_Array_zipWithAux___at_Lean_Delaborator_delabAppMatch___spec__4___closed__2(); -lean_mark_persistent(l_Array_zipWithAux___at_Lean_Delaborator_delabAppMatch___spec__4___closed__2); -l_Lean_Delaborator_delabAppMatch___lambda__2___closed__1 = _init_l_Lean_Delaborator_delabAppMatch___lambda__2___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_delabAppMatch___lambda__2___closed__1); -l_Lean_Delaborator_delabAppMatch___lambda__3___closed__1 = _init_l_Lean_Delaborator_delabAppMatch___lambda__3___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_delabAppMatch___lambda__3___closed__1); -l_Lean_Delaborator_delabAppMatch___lambda__3___closed__2 = _init_l_Lean_Delaborator_delabAppMatch___lambda__3___closed__2(); -lean_mark_persistent(l_Lean_Delaborator_delabAppMatch___lambda__3___closed__2); -l_Lean_Delaborator_delabAppMatch___lambda__3___closed__3 = _init_l_Lean_Delaborator_delabAppMatch___lambda__3___closed__3(); -lean_mark_persistent(l_Lean_Delaborator_delabAppMatch___lambda__3___closed__3); -l_Lean_Delaborator_delabAppMatch___lambda__3___closed__4 = _init_l_Lean_Delaborator_delabAppMatch___lambda__3___closed__4(); -lean_mark_persistent(l_Lean_Delaborator_delabAppMatch___lambda__3___closed__4); -l_Lean_Delaborator_delabAppMatch___lambda__3___closed__5 = _init_l_Lean_Delaborator_delabAppMatch___lambda__3___closed__5(); -lean_mark_persistent(l_Lean_Delaborator_delabAppMatch___lambda__3___closed__5); -l_Lean_Delaborator_delabAppMatch___lambda__3___closed__6 = _init_l_Lean_Delaborator_delabAppMatch___lambda__3___closed__6(); -lean_mark_persistent(l_Lean_Delaborator_delabAppMatch___lambda__3___closed__6); -l_Lean_Delaborator_delabAppMatch___lambda__3___closed__7 = _init_l_Lean_Delaborator_delabAppMatch___lambda__3___closed__7(); -lean_mark_persistent(l_Lean_Delaborator_delabAppMatch___lambda__3___closed__7); -l_Lean_Delaborator_delabAppMatch___lambda__3___closed__8 = _init_l_Lean_Delaborator_delabAppMatch___lambda__3___closed__8(); -lean_mark_persistent(l_Lean_Delaborator_delabAppMatch___lambda__3___closed__8); -l_Lean_Delaborator_delabAppMatch___lambda__3___closed__9 = _init_l_Lean_Delaborator_delabAppMatch___lambda__3___closed__9(); -lean_mark_persistent(l_Lean_Delaborator_delabAppMatch___lambda__3___closed__9); -l_Lean_Delaborator_delabAppMatch___lambda__3___closed__10 = _init_l_Lean_Delaborator_delabAppMatch___lambda__3___closed__10(); -lean_mark_persistent(l_Lean_Delaborator_delabAppMatch___lambda__3___closed__10); -l_Lean_Delaborator_delabAppMatch___lambda__3___closed__11 = _init_l_Lean_Delaborator_delabAppMatch___lambda__3___closed__11(); -lean_mark_persistent(l_Lean_Delaborator_delabAppMatch___lambda__3___closed__11); -l_Lean_Delaborator_delabAppMatch___lambda__3___closed__12 = _init_l_Lean_Delaborator_delabAppMatch___lambda__3___closed__12(); -lean_mark_persistent(l_Lean_Delaborator_delabAppMatch___lambda__3___closed__12); -l_Lean_Delaborator_delabAppMatch___lambda__3___closed__13 = _init_l_Lean_Delaborator_delabAppMatch___lambda__3___closed__13(); -lean_mark_persistent(l_Lean_Delaborator_delabAppMatch___lambda__3___closed__13); -l_Lean_Delaborator_delabAppMatch___lambda__3___closed__14 = _init_l_Lean_Delaborator_delabAppMatch___lambda__3___closed__14(); -lean_mark_persistent(l_Lean_Delaborator_delabAppMatch___lambda__3___closed__14); -l_Lean_Delaborator_delabAppMatch___lambda__3___closed__15 = _init_l_Lean_Delaborator_delabAppMatch___lambda__3___closed__15(); -lean_mark_persistent(l_Lean_Delaborator_delabAppMatch___lambda__3___closed__15); -l_Lean_Delaborator_delabAppMatch___closed__1 = _init_l_Lean_Delaborator_delabAppMatch___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_delabAppMatch___closed__1); -l_Lean_Delaborator_delabAppMatch___closed__2 = _init_l_Lean_Delaborator_delabAppMatch___closed__2(); -lean_mark_persistent(l_Lean_Delaborator_delabAppMatch___closed__2); -l_Lean_Delaborator_delabAppMatch___closed__3 = _init_l_Lean_Delaborator_delabAppMatch___closed__3(); -lean_mark_persistent(l_Lean_Delaborator_delabAppMatch___closed__3); -l_Lean_Delaborator_delabAppMatch___closed__4 = _init_l_Lean_Delaborator_delabAppMatch___closed__4(); -lean_mark_persistent(l_Lean_Delaborator_delabAppMatch___closed__4); -l_Lean_Delaborator_delabAppMatch___closed__5 = _init_l_Lean_Delaborator_delabAppMatch___closed__5(); -lean_mark_persistent(l_Lean_Delaborator_delabAppMatch___closed__5); -l_Lean_Delaborator_delabAppMatch___closed__6 = _init_l_Lean_Delaborator_delabAppMatch___closed__6(); -lean_mark_persistent(l_Lean_Delaborator_delabAppMatch___closed__6); -l_Lean_Delaborator_delabAppMatch___closed__7 = _init_l_Lean_Delaborator_delabAppMatch___closed__7(); -lean_mark_persistent(l_Lean_Delaborator_delabAppMatch___closed__7); -l___regBuiltin_Lean_Delaborator_delabAppMatch___closed__1 = _init_l___regBuiltin_Lean_Delaborator_delabAppMatch___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabAppMatch___closed__1); -res = l___regBuiltin_Lean_Delaborator_delabAppMatch(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l_Lean_Delaborator_delabMData___closed__1 = _init_l_Lean_Delaborator_delabMData___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_delabMData___closed__1); -l_Lean_Delaborator_delabMData___closed__2 = _init_l_Lean_Delaborator_delabMData___closed__2(); -lean_mark_persistent(l_Lean_Delaborator_delabMData___closed__2); -l_Lean_Delaborator_delabMData___closed__3 = _init_l_Lean_Delaborator_delabMData___closed__3(); -lean_mark_persistent(l_Lean_Delaborator_delabMData___closed__3); -l_Lean_Delaborator_delabMData___closed__4 = _init_l_Lean_Delaborator_delabMData___closed__4(); -lean_mark_persistent(l_Lean_Delaborator_delabMData___closed__4); -l_Lean_Delaborator_delabMData___closed__5 = _init_l_Lean_Delaborator_delabMData___closed__5(); -lean_mark_persistent(l_Lean_Delaborator_delabMData___closed__5); -l___regBuiltin_Lean_Delaborator_delabMData___closed__1 = _init_l___regBuiltin_Lean_Delaborator_delabMData___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabMData___closed__1); -res = l___regBuiltin_Lean_Delaborator_delabMData(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l___private_Lean_Delaborator_0__Lean_Delaborator_shouldGroupWithNext___closed__1 = _init_l___private_Lean_Delaborator_0__Lean_Delaborator_shouldGroupWithNext___closed__1(); -lean_mark_persistent(l___private_Lean_Delaborator_0__Lean_Delaborator_shouldGroupWithNext___closed__1); -l___private_Lean_Delaborator_0__Lean_Delaborator_shouldGroupWithNext___closed__2 = _init_l___private_Lean_Delaborator_0__Lean_Delaborator_shouldGroupWithNext___closed__2(); -lean_mark_persistent(l___private_Lean_Delaborator_0__Lean_Delaborator_shouldGroupWithNext___closed__2); -l___private_Lean_Delaborator_0__Lean_Delaborator_delabBinders___closed__1 = _init_l___private_Lean_Delaborator_0__Lean_Delaborator_delabBinders___closed__1(); -lean_mark_persistent(l___private_Lean_Delaborator_0__Lean_Delaborator_delabBinders___closed__1); -l_Lean_Delaborator_delabLam___lambda__3___closed__1 = _init_l_Lean_Delaborator_delabLam___lambda__3___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_delabLam___lambda__3___closed__1); -l_Lean_Delaborator_delabLam___lambda__3___closed__2 = _init_l_Lean_Delaborator_delabLam___lambda__3___closed__2(); -lean_mark_persistent(l_Lean_Delaborator_delabLam___lambda__3___closed__2); -l_Lean_Delaborator_delabLam___lambda__3___closed__3 = _init_l_Lean_Delaborator_delabLam___lambda__3___closed__3(); -lean_mark_persistent(l_Lean_Delaborator_delabLam___lambda__3___closed__3); -l_Lean_Delaborator_delabLam___lambda__3___closed__4 = _init_l_Lean_Delaborator_delabLam___lambda__3___closed__4(); -lean_mark_persistent(l_Lean_Delaborator_delabLam___lambda__3___closed__4); -l_Lean_Delaborator_delabLam___closed__1 = _init_l_Lean_Delaborator_delabLam___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_delabLam___closed__1); -l___regBuiltin_Lean_Delaborator_delabLam___closed__1 = _init_l___regBuiltin_Lean_Delaborator_delabLam___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabLam___closed__1); -res = l___regBuiltin_Lean_Delaborator_delabLam(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l_Array_foldrMUnsafe_fold___at_Lean_Delaborator_delabForall___spec__1___closed__1 = _init_l_Array_foldrMUnsafe_fold___at_Lean_Delaborator_delabForall___spec__1___closed__1(); -lean_mark_persistent(l_Array_foldrMUnsafe_fold___at_Lean_Delaborator_delabForall___spec__1___closed__1); -l_Lean_Delaborator_delabForall___lambda__1___closed__1 = _init_l_Lean_Delaborator_delabForall___lambda__1___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_delabForall___lambda__1___closed__1); -l_Lean_Delaborator_delabForall___lambda__1___closed__2 = _init_l_Lean_Delaborator_delabForall___lambda__1___closed__2(); -lean_mark_persistent(l_Lean_Delaborator_delabForall___lambda__1___closed__2); -l_Lean_Delaborator_delabForall___lambda__1___closed__3 = _init_l_Lean_Delaborator_delabForall___lambda__1___closed__3(); -lean_mark_persistent(l_Lean_Delaborator_delabForall___lambda__1___closed__3); -l_Lean_Delaborator_delabForall___lambda__1___closed__4 = _init_l_Lean_Delaborator_delabForall___lambda__1___closed__4(); -lean_mark_persistent(l_Lean_Delaborator_delabForall___lambda__1___closed__4); -l_Lean_Delaborator_delabForall___closed__1 = _init_l_Lean_Delaborator_delabForall___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_delabForall___closed__1); -l___regBuiltin_Lean_Delaborator_delabForall___closed__1 = _init_l___regBuiltin_Lean_Delaborator_delabForall___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabForall___closed__1); -res = l___regBuiltin_Lean_Delaborator_delabForall(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l_Lean_Delaborator_delabLetE___closed__1 = _init_l_Lean_Delaborator_delabLetE___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_delabLetE___closed__1); -l_Lean_Delaborator_delabLetE___closed__2 = _init_l_Lean_Delaborator_delabLetE___closed__2(); -lean_mark_persistent(l_Lean_Delaborator_delabLetE___closed__2); -l___regBuiltin_Lean_Delaborator_delabLetE___closed__1 = _init_l___regBuiltin_Lean_Delaborator_delabLetE___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabLetE___closed__1); -res = l___regBuiltin_Lean_Delaborator_delabLetE(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l_Lean_Delaborator_delabLit___closed__1 = _init_l_Lean_Delaborator_delabLit___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_delabLit___closed__1); -l_Lean_Delaborator_delabLit___closed__2 = _init_l_Lean_Delaborator_delabLit___closed__2(); -lean_mark_persistent(l_Lean_Delaborator_delabLit___closed__2); -l___regBuiltin_Lean_Delaborator_delabLit___closed__1 = _init_l___regBuiltin_Lean_Delaborator_delabLit___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabLit___closed__1); -res = l___regBuiltin_Lean_Delaborator_delabLit(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l_Lean_Delaborator_delabOfNat___closed__1 = _init_l_Lean_Delaborator_delabOfNat___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_delabOfNat___closed__1); -l_Lean_Delaborator_delabOfNat___closed__2 = _init_l_Lean_Delaborator_delabOfNat___closed__2(); -lean_mark_persistent(l_Lean_Delaborator_delabOfNat___closed__2); -l_Lean_Delaborator_delabOfNat___closed__3 = _init_l_Lean_Delaborator_delabOfNat___closed__3(); -lean_mark_persistent(l_Lean_Delaborator_delabOfNat___closed__3); -l___regBuiltin_Lean_Delaborator_delabOfNat___closed__1 = _init_l___regBuiltin_Lean_Delaborator_delabOfNat___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabOfNat___closed__1); -l___regBuiltin_Lean_Delaborator_delabOfNat___closed__2 = _init_l___regBuiltin_Lean_Delaborator_delabOfNat___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabOfNat___closed__2); -l___regBuiltin_Lean_Delaborator_delabOfNat___closed__3 = _init_l___regBuiltin_Lean_Delaborator_delabOfNat___closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabOfNat___closed__3); -res = l___regBuiltin_Lean_Delaborator_delabOfNat(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l_Lean_Delaborator_delabOne___lambda__1___closed__1 = _init_l_Lean_Delaborator_delabOne___lambda__1___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_delabOne___lambda__1___closed__1); -l_Lean_Delaborator_delabOne___lambda__1___closed__2 = _init_l_Lean_Delaborator_delabOne___lambda__1___closed__2(); -lean_mark_persistent(l_Lean_Delaborator_delabOne___lambda__1___closed__2); -l_Lean_Delaborator_delabOne___closed__1 = _init_l_Lean_Delaborator_delabOne___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_delabOne___closed__1); -l_Lean_Delaborator_delabOne___closed__2 = _init_l_Lean_Delaborator_delabOne___closed__2(); -lean_mark_persistent(l_Lean_Delaborator_delabOne___closed__2); -l___regBuiltin_Lean_Delaborator_delabOne___closed__1 = _init_l___regBuiltin_Lean_Delaborator_delabOne___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabOne___closed__1); -l___regBuiltin_Lean_Delaborator_delabOne___closed__2 = _init_l___regBuiltin_Lean_Delaborator_delabOne___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabOne___closed__2); -l___regBuiltin_Lean_Delaborator_delabOne___closed__3 = _init_l___regBuiltin_Lean_Delaborator_delabOne___closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabOne___closed__3); -res = l___regBuiltin_Lean_Delaborator_delabOne(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l_Lean_Delaborator_delabZero___lambda__1___closed__1 = _init_l_Lean_Delaborator_delabZero___lambda__1___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_delabZero___lambda__1___closed__1); -l_Lean_Delaborator_delabZero___closed__1 = _init_l_Lean_Delaborator_delabZero___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_delabZero___closed__1); -l_Lean_Delaborator_delabZero___closed__2 = _init_l_Lean_Delaborator_delabZero___closed__2(); -lean_mark_persistent(l_Lean_Delaborator_delabZero___closed__2); -l___regBuiltin_Lean_Delaborator_delabZero___closed__1 = _init_l___regBuiltin_Lean_Delaborator_delabZero___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabZero___closed__1); -l___regBuiltin_Lean_Delaborator_delabZero___closed__2 = _init_l___regBuiltin_Lean_Delaborator_delabZero___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabZero___closed__2); -l___regBuiltin_Lean_Delaborator_delabZero___closed__3 = _init_l___regBuiltin_Lean_Delaborator_delabZero___closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabZero___closed__3); -res = l___regBuiltin_Lean_Delaborator_delabZero(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l_Lean_Delaborator_delabProj___closed__1 = _init_l_Lean_Delaborator_delabProj___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_delabProj___closed__1); -l_Lean_Delaborator_delabProj___closed__2 = _init_l_Lean_Delaborator_delabProj___closed__2(); -lean_mark_persistent(l_Lean_Delaborator_delabProj___closed__2); -l_Lean_Delaborator_delabProj___closed__3 = _init_l_Lean_Delaborator_delabProj___closed__3(); -lean_mark_persistent(l_Lean_Delaborator_delabProj___closed__3); -l_Lean_Delaborator_delabProj___closed__4 = _init_l_Lean_Delaborator_delabProj___closed__4(); -lean_mark_persistent(l_Lean_Delaborator_delabProj___closed__4); -l___regBuiltin_Lean_Delaborator_delabProj___closed__1 = _init_l___regBuiltin_Lean_Delaborator_delabProj___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabProj___closed__1); -res = l___regBuiltin_Lean_Delaborator_delabProj(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l_Lean_Delaborator_delabProjectionApp___closed__1 = _init_l_Lean_Delaborator_delabProjectionApp___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_delabProjectionApp___closed__1); -l_Lean_Delaborator_delabProjectionApp___closed__2 = _init_l_Lean_Delaborator_delabProjectionApp___closed__2(); -lean_mark_persistent(l_Lean_Delaborator_delabProjectionApp___closed__2); -l_Lean_Delaborator_delabProjectionApp___closed__3 = _init_l_Lean_Delaborator_delabProjectionApp___closed__3(); -lean_mark_persistent(l_Lean_Delaborator_delabProjectionApp___closed__3); -l___regBuiltin_Lean_Delaborator_delabProjectionApp___closed__1 = _init_l___regBuiltin_Lean_Delaborator_delabProjectionApp___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabProjectionApp___closed__1); -res = l___regBuiltin_Lean_Delaborator_delabProjectionApp(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l_Array_mapIdxM_map___at_Lean_Delaborator_delabStructureInstance___spec__1___closed__1 = _init_l_Array_mapIdxM_map___at_Lean_Delaborator_delabStructureInstance___spec__1___closed__1(); -lean_mark_persistent(l_Array_mapIdxM_map___at_Lean_Delaborator_delabStructureInstance___spec__1___closed__1); -l_Array_mapIdxM_map___at_Lean_Delaborator_delabStructureInstance___spec__1___closed__2 = _init_l_Array_mapIdxM_map___at_Lean_Delaborator_delabStructureInstance___spec__1___closed__2(); -lean_mark_persistent(l_Array_mapIdxM_map___at_Lean_Delaborator_delabStructureInstance___spec__1___closed__2); -l_Lean_Delaborator_delabStructureInstance___lambda__2___closed__1 = _init_l_Lean_Delaborator_delabStructureInstance___lambda__2___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_delabStructureInstance___lambda__2___closed__1); -l_Lean_Delaborator_delabStructureInstance___lambda__3___closed__1 = _init_l_Lean_Delaborator_delabStructureInstance___lambda__3___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_delabStructureInstance___lambda__3___closed__1); -l_Lean_Delaborator_delabStructureInstance___lambda__3___closed__2 = _init_l_Lean_Delaborator_delabStructureInstance___lambda__3___closed__2(); -lean_mark_persistent(l_Lean_Delaborator_delabStructureInstance___lambda__3___closed__2); -l_Lean_Delaborator_delabStructureInstance___lambda__3___closed__3 = _init_l_Lean_Delaborator_delabStructureInstance___lambda__3___closed__3(); -lean_mark_persistent(l_Lean_Delaborator_delabStructureInstance___lambda__3___closed__3); -l_Lean_Delaborator_delabStructureInstance___lambda__3___closed__4 = _init_l_Lean_Delaborator_delabStructureInstance___lambda__3___closed__4(); -lean_mark_persistent(l_Lean_Delaborator_delabStructureInstance___lambda__3___closed__4); -l_Lean_Delaborator_delabStructureInstance___lambda__3___closed__5 = _init_l_Lean_Delaborator_delabStructureInstance___lambda__3___closed__5(); -lean_mark_persistent(l_Lean_Delaborator_delabStructureInstance___lambda__3___closed__5); -l_Lean_Delaborator_delabStructureInstance___lambda__3___closed__6 = _init_l_Lean_Delaborator_delabStructureInstance___lambda__3___closed__6(); -lean_mark_persistent(l_Lean_Delaborator_delabStructureInstance___lambda__3___closed__6); -l_Lean_Delaborator_delabStructureInstance___lambda__3___closed__7 = _init_l_Lean_Delaborator_delabStructureInstance___lambda__3___closed__7(); -lean_mark_persistent(l_Lean_Delaborator_delabStructureInstance___lambda__3___closed__7); -l_Lean_Delaborator_delabStructureInstance___closed__1 = _init_l_Lean_Delaborator_delabStructureInstance___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_delabStructureInstance___closed__1); -l_Lean_Delaborator_delabStructureInstance___closed__2 = _init_l_Lean_Delaborator_delabStructureInstance___closed__2(); -lean_mark_persistent(l_Lean_Delaborator_delabStructureInstance___closed__2); -l_Lean_Delaborator_delabStructureInstance___closed__3 = _init_l_Lean_Delaborator_delabStructureInstance___closed__3(); -lean_mark_persistent(l_Lean_Delaborator_delabStructureInstance___closed__3); -l_Lean_Delaborator_delabStructureInstance___closed__4 = _init_l_Lean_Delaborator_delabStructureInstance___closed__4(); -lean_mark_persistent(l_Lean_Delaborator_delabStructureInstance___closed__4); -l___regBuiltin_Lean_Delaborator_delabStructureInstance___closed__1 = _init_l___regBuiltin_Lean_Delaborator_delabStructureInstance___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabStructureInstance___closed__1); -res = l___regBuiltin_Lean_Delaborator_delabStructureInstance(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l_Lean_Delaborator_delabTuple___lambda__1___closed__1 = _init_l_Lean_Delaborator_delabTuple___lambda__1___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_delabTuple___lambda__1___closed__1); -l_Lean_Delaborator_delabTuple___lambda__1___closed__2 = _init_l_Lean_Delaborator_delabTuple___lambda__1___closed__2(); -lean_mark_persistent(l_Lean_Delaborator_delabTuple___lambda__1___closed__2); -l_Lean_Delaborator_delabTuple___lambda__1___closed__3 = _init_l_Lean_Delaborator_delabTuple___lambda__1___closed__3(); -lean_mark_persistent(l_Lean_Delaborator_delabTuple___lambda__1___closed__3); -l_Lean_Delaborator_delabTuple___closed__1 = _init_l_Lean_Delaborator_delabTuple___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_delabTuple___closed__1); -l_Lean_Delaborator_delabTuple___closed__2 = _init_l_Lean_Delaborator_delabTuple___closed__2(); -lean_mark_persistent(l_Lean_Delaborator_delabTuple___closed__2); -l___regBuiltin_Lean_Delaborator_delabTuple___closed__1 = _init_l___regBuiltin_Lean_Delaborator_delabTuple___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabTuple___closed__1); -l___regBuiltin_Lean_Delaborator_delabTuple___closed__2 = _init_l___regBuiltin_Lean_Delaborator_delabTuple___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabTuple___closed__2); -l___regBuiltin_Lean_Delaborator_delabTuple___closed__3 = _init_l___regBuiltin_Lean_Delaborator_delabTuple___closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabTuple___closed__3); -res = l___regBuiltin_Lean_Delaborator_delabTuple(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l_Lean_Delaborator_delabCoe___closed__1 = _init_l_Lean_Delaborator_delabCoe___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_delabCoe___closed__1); -l_Lean_Delaborator_delabCoe___closed__2 = _init_l_Lean_Delaborator_delabCoe___closed__2(); -lean_mark_persistent(l_Lean_Delaborator_delabCoe___closed__2); -l___regBuiltin_Lean_Delaborator_delabCoe___closed__1 = _init_l___regBuiltin_Lean_Delaborator_delabCoe___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabCoe___closed__1); -l___regBuiltin_Lean_Delaborator_delabCoe___closed__2 = _init_l___regBuiltin_Lean_Delaborator_delabCoe___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabCoe___closed__2); -res = l___regBuiltin_Lean_Delaborator_delabCoe(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l___regBuiltin_Lean_Delaborator_delabCoeFun___closed__1 = _init_l___regBuiltin_Lean_Delaborator_delabCoeFun___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabCoeFun___closed__1); -l___regBuiltin_Lean_Delaborator_delabCoeFun___closed__2 = _init_l___regBuiltin_Lean_Delaborator_delabCoeFun___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabCoeFun___closed__2); -l___regBuiltin_Lean_Delaborator_delabCoeFun___closed__3 = _init_l___regBuiltin_Lean_Delaborator_delabCoeFun___closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabCoeFun___closed__3); -res = l___regBuiltin_Lean_Delaborator_delabCoeFun(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l_Lean_Delaborator_delabInfixOp___lambda__1___closed__1 = _init_l_Lean_Delaborator_delabInfixOp___lambda__1___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_delabInfixOp___lambda__1___closed__1); -l_Lean_Delaborator_delabInfixOp___closed__1 = _init_l_Lean_Delaborator_delabInfixOp___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_delabInfixOp___closed__1); -l_Lean_Delaborator_delabProd___lambda__1___closed__1 = _init_l_Lean_Delaborator_delabProd___lambda__1___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_delabProd___lambda__1___closed__1); -l_Lean_Delaborator_delabProd___closed__1 = _init_l_Lean_Delaborator_delabProd___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_delabProd___closed__1); -l___regBuiltin_Lean_Delaborator_delabProd___closed__1 = _init_l___regBuiltin_Lean_Delaborator_delabProd___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabProd___closed__1); -res = l___regBuiltin_Lean_Delaborator_delabProd(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l_Lean_Delaborator_delabFComp___lambda__1___closed__1 = _init_l_Lean_Delaborator_delabFComp___lambda__1___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_delabFComp___lambda__1___closed__1); -l_Lean_Delaborator_delabFComp___lambda__1___closed__2 = _init_l_Lean_Delaborator_delabFComp___lambda__1___closed__2(); -lean_mark_persistent(l_Lean_Delaborator_delabFComp___lambda__1___closed__2); -l_Lean_Delaborator_delabFComp___closed__1 = _init_l_Lean_Delaborator_delabFComp___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_delabFComp___closed__1); -l___regBuiltin_Lean_Delaborator_delabFComp___closed__1 = _init_l___regBuiltin_Lean_Delaborator_delabFComp___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabFComp___closed__1); -l___regBuiltin_Lean_Delaborator_delabFComp___closed__2 = _init_l___regBuiltin_Lean_Delaborator_delabFComp___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabFComp___closed__2); -l___regBuiltin_Lean_Delaborator_delabFComp___closed__3 = _init_l___regBuiltin_Lean_Delaborator_delabFComp___closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabFComp___closed__3); -res = l___regBuiltin_Lean_Delaborator_delabFComp(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l_Lean_Delaborator_delabAdd___closed__1 = _init_l_Lean_Delaborator_delabAdd___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_delabAdd___closed__1); -l___regBuiltin_Lean_Delaborator_delabAdd___closed__1 = _init_l___regBuiltin_Lean_Delaborator_delabAdd___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabAdd___closed__1); -l___regBuiltin_Lean_Delaborator_delabAdd___closed__2 = _init_l___regBuiltin_Lean_Delaborator_delabAdd___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabAdd___closed__2); -l___regBuiltin_Lean_Delaborator_delabAdd___closed__3 = _init_l___regBuiltin_Lean_Delaborator_delabAdd___closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabAdd___closed__3); -res = l___regBuiltin_Lean_Delaborator_delabAdd(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l_Lean_Delaborator_delabSub___lambda__1___closed__1 = _init_l_Lean_Delaborator_delabSub___lambda__1___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_delabSub___lambda__1___closed__1); -l_Lean_Delaborator_delabSub___closed__1 = _init_l_Lean_Delaborator_delabSub___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_delabSub___closed__1); -l___regBuiltin_Lean_Delaborator_delabSub___closed__1 = _init_l___regBuiltin_Lean_Delaborator_delabSub___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabSub___closed__1); -l___regBuiltin_Lean_Delaborator_delabSub___closed__2 = _init_l___regBuiltin_Lean_Delaborator_delabSub___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabSub___closed__2); -l___regBuiltin_Lean_Delaborator_delabSub___closed__3 = _init_l___regBuiltin_Lean_Delaborator_delabSub___closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabSub___closed__3); -res = l___regBuiltin_Lean_Delaborator_delabSub(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l_Lean_Delaborator_delabMul___lambda__1___closed__1 = _init_l_Lean_Delaborator_delabMul___lambda__1___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_delabMul___lambda__1___closed__1); -l_Lean_Delaborator_delabMul___closed__1 = _init_l_Lean_Delaborator_delabMul___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_delabMul___closed__1); -l___regBuiltin_Lean_Delaborator_delabMul___closed__1 = _init_l___regBuiltin_Lean_Delaborator_delabMul___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabMul___closed__1); -l___regBuiltin_Lean_Delaborator_delabMul___closed__2 = _init_l___regBuiltin_Lean_Delaborator_delabMul___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabMul___closed__2); -l___regBuiltin_Lean_Delaborator_delabMul___closed__3 = _init_l___regBuiltin_Lean_Delaborator_delabMul___closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabMul___closed__3); -res = l___regBuiltin_Lean_Delaborator_delabMul(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l_Lean_Delaborator_delabDiv___lambda__1___closed__1 = _init_l_Lean_Delaborator_delabDiv___lambda__1___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_delabDiv___lambda__1___closed__1); -l_Lean_Delaborator_delabDiv___lambda__1___closed__2 = _init_l_Lean_Delaborator_delabDiv___lambda__1___closed__2(); -lean_mark_persistent(l_Lean_Delaborator_delabDiv___lambda__1___closed__2); -l_Lean_Delaborator_delabDiv___closed__1 = _init_l_Lean_Delaborator_delabDiv___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_delabDiv___closed__1); -l___regBuiltin_Lean_Delaborator_delabDiv___closed__1 = _init_l___regBuiltin_Lean_Delaborator_delabDiv___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabDiv___closed__1); -l___regBuiltin_Lean_Delaborator_delabDiv___closed__2 = _init_l___regBuiltin_Lean_Delaborator_delabDiv___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabDiv___closed__2); -l___regBuiltin_Lean_Delaborator_delabDiv___closed__3 = _init_l___regBuiltin_Lean_Delaborator_delabDiv___closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabDiv___closed__3); -res = l___regBuiltin_Lean_Delaborator_delabDiv(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l_Lean_Delaborator_delabMod___lambda__1___closed__1 = _init_l_Lean_Delaborator_delabMod___lambda__1___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_delabMod___lambda__1___closed__1); -l_Lean_Delaborator_delabMod___lambda__1___closed__2 = _init_l_Lean_Delaborator_delabMod___lambda__1___closed__2(); -lean_mark_persistent(l_Lean_Delaborator_delabMod___lambda__1___closed__2); -l_Lean_Delaborator_delabMod___closed__1 = _init_l_Lean_Delaborator_delabMod___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_delabMod___closed__1); -l___regBuiltin_Lean_Delaborator_delabMod___closed__1 = _init_l___regBuiltin_Lean_Delaborator_delabMod___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabMod___closed__1); -l___regBuiltin_Lean_Delaborator_delabMod___closed__2 = _init_l___regBuiltin_Lean_Delaborator_delabMod___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabMod___closed__2); -l___regBuiltin_Lean_Delaborator_delabMod___closed__3 = _init_l___regBuiltin_Lean_Delaborator_delabMod___closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabMod___closed__3); -res = l___regBuiltin_Lean_Delaborator_delabMod(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l_Lean_Delaborator_delabModN___lambda__1___closed__1 = _init_l_Lean_Delaborator_delabModN___lambda__1___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_delabModN___lambda__1___closed__1); -l_Lean_Delaborator_delabModN___lambda__1___closed__2 = _init_l_Lean_Delaborator_delabModN___lambda__1___closed__2(); -lean_mark_persistent(l_Lean_Delaborator_delabModN___lambda__1___closed__2); -l_Lean_Delaborator_delabModN___closed__1 = _init_l_Lean_Delaborator_delabModN___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_delabModN___closed__1); -l___regBuiltin_Lean_Delaborator_delabModN___closed__1 = _init_l___regBuiltin_Lean_Delaborator_delabModN___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabModN___closed__1); -l___regBuiltin_Lean_Delaborator_delabModN___closed__2 = _init_l___regBuiltin_Lean_Delaborator_delabModN___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabModN___closed__2); -l___regBuiltin_Lean_Delaborator_delabModN___closed__3 = _init_l___regBuiltin_Lean_Delaborator_delabModN___closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabModN___closed__3); -res = l___regBuiltin_Lean_Delaborator_delabModN(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l_Lean_Delaborator_delabPow___lambda__1___closed__1 = _init_l_Lean_Delaborator_delabPow___lambda__1___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_delabPow___lambda__1___closed__1); -l_Lean_Delaborator_delabPow___lambda__1___closed__2 = _init_l_Lean_Delaborator_delabPow___lambda__1___closed__2(); -lean_mark_persistent(l_Lean_Delaborator_delabPow___lambda__1___closed__2); -l_Lean_Delaborator_delabPow___closed__1 = _init_l_Lean_Delaborator_delabPow___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_delabPow___closed__1); -l___regBuiltin_Lean_Delaborator_delabPow___closed__1 = _init_l___regBuiltin_Lean_Delaborator_delabPow___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabPow___closed__1); -l___regBuiltin_Lean_Delaborator_delabPow___closed__2 = _init_l___regBuiltin_Lean_Delaborator_delabPow___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabPow___closed__2); -l___regBuiltin_Lean_Delaborator_delabPow___closed__3 = _init_l___regBuiltin_Lean_Delaborator_delabPow___closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabPow___closed__3); -res = l___regBuiltin_Lean_Delaborator_delabPow(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l_Lean_Delaborator_delabLE___lambda__1___closed__1 = _init_l_Lean_Delaborator_delabLE___lambda__1___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_delabLE___lambda__1___closed__1); -l_Lean_Delaborator_delabLE___lambda__1___closed__2 = _init_l_Lean_Delaborator_delabLE___lambda__1___closed__2(); -lean_mark_persistent(l_Lean_Delaborator_delabLE___lambda__1___closed__2); -l_Lean_Delaborator_delabLE___lambda__1___closed__3 = _init_l_Lean_Delaborator_delabLE___lambda__1___closed__3(); -lean_mark_persistent(l_Lean_Delaborator_delabLE___lambda__1___closed__3); -l_Lean_Delaborator_delabLE___lambda__1___closed__4 = _init_l_Lean_Delaborator_delabLE___lambda__1___closed__4(); -lean_mark_persistent(l_Lean_Delaborator_delabLE___lambda__1___closed__4); -l_Lean_Delaborator_delabLE___closed__1 = _init_l_Lean_Delaborator_delabLE___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_delabLE___closed__1); -l___regBuiltin_Lean_Delaborator_delabLE___closed__1 = _init_l___regBuiltin_Lean_Delaborator_delabLE___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabLE___closed__1); -l___regBuiltin_Lean_Delaborator_delabLE___closed__2 = _init_l___regBuiltin_Lean_Delaborator_delabLE___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabLE___closed__2); -l___regBuiltin_Lean_Delaborator_delabLE___closed__3 = _init_l___regBuiltin_Lean_Delaborator_delabLE___closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabLE___closed__3); -res = l___regBuiltin_Lean_Delaborator_delabLE(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l_Lean_Delaborator_delabGE___lambda__1___closed__1 = _init_l_Lean_Delaborator_delabGE___lambda__1___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_delabGE___lambda__1___closed__1); -l_Lean_Delaborator_delabGE___lambda__1___closed__2 = _init_l_Lean_Delaborator_delabGE___lambda__1___closed__2(); -lean_mark_persistent(l_Lean_Delaborator_delabGE___lambda__1___closed__2); -l_Lean_Delaborator_delabGE___lambda__1___closed__3 = _init_l_Lean_Delaborator_delabGE___lambda__1___closed__3(); -lean_mark_persistent(l_Lean_Delaborator_delabGE___lambda__1___closed__3); -l_Lean_Delaborator_delabGE___lambda__1___closed__4 = _init_l_Lean_Delaborator_delabGE___lambda__1___closed__4(); -lean_mark_persistent(l_Lean_Delaborator_delabGE___lambda__1___closed__4); -l_Lean_Delaborator_delabGE___closed__1 = _init_l_Lean_Delaborator_delabGE___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_delabGE___closed__1); -l___regBuiltin_Lean_Delaborator_delabGE___closed__1 = _init_l___regBuiltin_Lean_Delaborator_delabGE___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabGE___closed__1); -l___regBuiltin_Lean_Delaborator_delabGE___closed__2 = _init_l___regBuiltin_Lean_Delaborator_delabGE___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabGE___closed__2); -res = l___regBuiltin_Lean_Delaborator_delabGE(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l_Lean_Delaborator_delabLT___lambda__1___closed__1 = _init_l_Lean_Delaborator_delabLT___lambda__1___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_delabLT___lambda__1___closed__1); -l_Lean_Delaborator_delabLT___lambda__1___closed__2 = _init_l_Lean_Delaborator_delabLT___lambda__1___closed__2(); -lean_mark_persistent(l_Lean_Delaborator_delabLT___lambda__1___closed__2); -l_Lean_Delaborator_delabLT___closed__1 = _init_l_Lean_Delaborator_delabLT___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_delabLT___closed__1); -l___regBuiltin_Lean_Delaborator_delabLT___closed__1 = _init_l___regBuiltin_Lean_Delaborator_delabLT___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabLT___closed__1); -l___regBuiltin_Lean_Delaborator_delabLT___closed__2 = _init_l___regBuiltin_Lean_Delaborator_delabLT___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabLT___closed__2); -l___regBuiltin_Lean_Delaborator_delabLT___closed__3 = _init_l___regBuiltin_Lean_Delaborator_delabLT___closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabLT___closed__3); -res = l___regBuiltin_Lean_Delaborator_delabLT(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l_Lean_Delaborator_delabGT___lambda__1___closed__1 = _init_l_Lean_Delaborator_delabGT___lambda__1___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_delabGT___lambda__1___closed__1); -l_Lean_Delaborator_delabGT___lambda__1___closed__2 = _init_l_Lean_Delaborator_delabGT___lambda__1___closed__2(); -lean_mark_persistent(l_Lean_Delaborator_delabGT___lambda__1___closed__2); -l_Lean_Delaborator_delabGT___closed__1 = _init_l_Lean_Delaborator_delabGT___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_delabGT___closed__1); -l___regBuiltin_Lean_Delaborator_delabGT___closed__1 = _init_l___regBuiltin_Lean_Delaborator_delabGT___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabGT___closed__1); -l___regBuiltin_Lean_Delaborator_delabGT___closed__2 = _init_l___regBuiltin_Lean_Delaborator_delabGT___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabGT___closed__2); -res = l___regBuiltin_Lean_Delaborator_delabGT(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l_Lean_Delaborator_delabEq___closed__1 = _init_l_Lean_Delaborator_delabEq___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_delabEq___closed__1); -l___regBuiltin_Lean_Delaborator_delabEq___closed__1 = _init_l___regBuiltin_Lean_Delaborator_delabEq___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabEq___closed__1); -l___regBuiltin_Lean_Delaborator_delabEq___closed__2 = _init_l___regBuiltin_Lean_Delaborator_delabEq___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabEq___closed__2); -res = l___regBuiltin_Lean_Delaborator_delabEq(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l_Lean_Delaborator_delabNe___lambda__1___closed__1 = _init_l_Lean_Delaborator_delabNe___lambda__1___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_delabNe___lambda__1___closed__1); -l_Lean_Delaborator_delabNe___lambda__1___closed__2 = _init_l_Lean_Delaborator_delabNe___lambda__1___closed__2(); -lean_mark_persistent(l_Lean_Delaborator_delabNe___lambda__1___closed__2); -l_Lean_Delaborator_delabNe___closed__1 = _init_l_Lean_Delaborator_delabNe___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_delabNe___closed__1); -l___regBuiltin_Lean_Delaborator_delabNe___closed__1 = _init_l___regBuiltin_Lean_Delaborator_delabNe___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabNe___closed__1); -l___regBuiltin_Lean_Delaborator_delabNe___closed__2 = _init_l___regBuiltin_Lean_Delaborator_delabNe___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabNe___closed__2); -res = l___regBuiltin_Lean_Delaborator_delabNe(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l_Lean_Delaborator_delabBEq___lambda__1___closed__1 = _init_l_Lean_Delaborator_delabBEq___lambda__1___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_delabBEq___lambda__1___closed__1); -l_Lean_Delaborator_delabBEq___lambda__1___closed__2 = _init_l_Lean_Delaborator_delabBEq___lambda__1___closed__2(); -lean_mark_persistent(l_Lean_Delaborator_delabBEq___lambda__1___closed__2); -l_Lean_Delaborator_delabBEq___closed__1 = _init_l_Lean_Delaborator_delabBEq___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_delabBEq___closed__1); -l___regBuiltin_Lean_Delaborator_delabBEq___closed__1 = _init_l___regBuiltin_Lean_Delaborator_delabBEq___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabBEq___closed__1); -l___regBuiltin_Lean_Delaborator_delabBEq___closed__2 = _init_l___regBuiltin_Lean_Delaborator_delabBEq___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabBEq___closed__2); -l___regBuiltin_Lean_Delaborator_delabBEq___closed__3 = _init_l___regBuiltin_Lean_Delaborator_delabBEq___closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabBEq___closed__3); -res = l___regBuiltin_Lean_Delaborator_delabBEq(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l_Lean_Delaborator_delabBNe___lambda__1___closed__1 = _init_l_Lean_Delaborator_delabBNe___lambda__1___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_delabBNe___lambda__1___closed__1); -l_Lean_Delaborator_delabBNe___lambda__1___closed__2 = _init_l_Lean_Delaborator_delabBNe___lambda__1___closed__2(); -lean_mark_persistent(l_Lean_Delaborator_delabBNe___lambda__1___closed__2); -l_Lean_Delaborator_delabBNe___closed__1 = _init_l_Lean_Delaborator_delabBNe___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_delabBNe___closed__1); -l___regBuiltin_Lean_Delaborator_delabBNe___closed__1 = _init_l___regBuiltin_Lean_Delaborator_delabBNe___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabBNe___closed__1); -l___regBuiltin_Lean_Delaborator_delabBNe___closed__2 = _init_l___regBuiltin_Lean_Delaborator_delabBNe___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabBNe___closed__2); -res = l___regBuiltin_Lean_Delaborator_delabBNe(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l_Lean_Delaborator_delabHEq___lambda__1___closed__1 = _init_l_Lean_Delaborator_delabHEq___lambda__1___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_delabHEq___lambda__1___closed__1); -l_Lean_Delaborator_delabHEq___lambda__1___closed__2 = _init_l_Lean_Delaborator_delabHEq___lambda__1___closed__2(); -lean_mark_persistent(l_Lean_Delaborator_delabHEq___lambda__1___closed__2); -l_Lean_Delaborator_delabHEq___lambda__1___closed__3 = _init_l_Lean_Delaborator_delabHEq___lambda__1___closed__3(); -lean_mark_persistent(l_Lean_Delaborator_delabHEq___lambda__1___closed__3); -l_Lean_Delaborator_delabHEq___lambda__1___closed__4 = _init_l_Lean_Delaborator_delabHEq___lambda__1___closed__4(); -lean_mark_persistent(l_Lean_Delaborator_delabHEq___lambda__1___closed__4); -l_Lean_Delaborator_delabHEq___closed__1 = _init_l_Lean_Delaborator_delabHEq___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_delabHEq___closed__1); -l___regBuiltin_Lean_Delaborator_delabHEq___closed__1 = _init_l___regBuiltin_Lean_Delaborator_delabHEq___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabHEq___closed__1); -l___regBuiltin_Lean_Delaborator_delabHEq___closed__2 = _init_l___regBuiltin_Lean_Delaborator_delabHEq___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabHEq___closed__2); -res = l___regBuiltin_Lean_Delaborator_delabHEq(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l_Lean_Delaborator_delabEquiv___lambda__1___closed__1 = _init_l_Lean_Delaborator_delabEquiv___lambda__1___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_delabEquiv___lambda__1___closed__1); -l_Lean_Delaborator_delabEquiv___lambda__1___closed__2 = _init_l_Lean_Delaborator_delabEquiv___lambda__1___closed__2(); -lean_mark_persistent(l_Lean_Delaborator_delabEquiv___lambda__1___closed__2); -l_Lean_Delaborator_delabEquiv___closed__1 = _init_l_Lean_Delaborator_delabEquiv___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_delabEquiv___closed__1); -l___regBuiltin_Lean_Delaborator_delabEquiv___closed__1 = _init_l___regBuiltin_Lean_Delaborator_delabEquiv___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabEquiv___closed__1); -l___regBuiltin_Lean_Delaborator_delabEquiv___closed__2 = _init_l___regBuiltin_Lean_Delaborator_delabEquiv___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabEquiv___closed__2); -l___regBuiltin_Lean_Delaborator_delabEquiv___closed__3 = _init_l___regBuiltin_Lean_Delaborator_delabEquiv___closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabEquiv___closed__3); -res = l___regBuiltin_Lean_Delaborator_delabEquiv(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l_Lean_Delaborator_delabAnd___lambda__1___closed__1 = _init_l_Lean_Delaborator_delabAnd___lambda__1___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_delabAnd___lambda__1___closed__1); -l_Lean_Delaborator_delabAnd___lambda__1___closed__2 = _init_l_Lean_Delaborator_delabAnd___lambda__1___closed__2(); -lean_mark_persistent(l_Lean_Delaborator_delabAnd___lambda__1___closed__2); -l_Lean_Delaborator_delabAnd___lambda__1___closed__3 = _init_l_Lean_Delaborator_delabAnd___lambda__1___closed__3(); -lean_mark_persistent(l_Lean_Delaborator_delabAnd___lambda__1___closed__3); -l_Lean_Delaborator_delabAnd___lambda__1___closed__4 = _init_l_Lean_Delaborator_delabAnd___lambda__1___closed__4(); -lean_mark_persistent(l_Lean_Delaborator_delabAnd___lambda__1___closed__4); -l_Lean_Delaborator_delabAnd___closed__1 = _init_l_Lean_Delaborator_delabAnd___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_delabAnd___closed__1); -l___regBuiltin_Lean_Delaborator_delabAnd___closed__1 = _init_l___regBuiltin_Lean_Delaborator_delabAnd___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabAnd___closed__1); -l___regBuiltin_Lean_Delaborator_delabAnd___closed__2 = _init_l___regBuiltin_Lean_Delaborator_delabAnd___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabAnd___closed__2); -res = l___regBuiltin_Lean_Delaborator_delabAnd(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l_Lean_Delaborator_delabOr___lambda__1___closed__1 = _init_l_Lean_Delaborator_delabOr___lambda__1___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_delabOr___lambda__1___closed__1); -l_Lean_Delaborator_delabOr___lambda__1___closed__2 = _init_l_Lean_Delaborator_delabOr___lambda__1___closed__2(); -lean_mark_persistent(l_Lean_Delaborator_delabOr___lambda__1___closed__2); -l_Lean_Delaborator_delabOr___lambda__1___closed__3 = _init_l_Lean_Delaborator_delabOr___lambda__1___closed__3(); -lean_mark_persistent(l_Lean_Delaborator_delabOr___lambda__1___closed__3); -l_Lean_Delaborator_delabOr___lambda__1___closed__4 = _init_l_Lean_Delaborator_delabOr___lambda__1___closed__4(); -lean_mark_persistent(l_Lean_Delaborator_delabOr___lambda__1___closed__4); -l_Lean_Delaborator_delabOr___closed__1 = _init_l_Lean_Delaborator_delabOr___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_delabOr___closed__1); -l___regBuiltin_Lean_Delaborator_delabOr___closed__1 = _init_l___regBuiltin_Lean_Delaborator_delabOr___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabOr___closed__1); -l___regBuiltin_Lean_Delaborator_delabOr___closed__2 = _init_l___regBuiltin_Lean_Delaborator_delabOr___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabOr___closed__2); -res = l___regBuiltin_Lean_Delaborator_delabOr(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l_Lean_Delaborator_delabIff___lambda__1___closed__1 = _init_l_Lean_Delaborator_delabIff___lambda__1___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_delabIff___lambda__1___closed__1); -l_Lean_Delaborator_delabIff___lambda__1___closed__2 = _init_l_Lean_Delaborator_delabIff___lambda__1___closed__2(); -lean_mark_persistent(l_Lean_Delaborator_delabIff___lambda__1___closed__2); -l_Lean_Delaborator_delabIff___lambda__1___closed__3 = _init_l_Lean_Delaborator_delabIff___lambda__1___closed__3(); -lean_mark_persistent(l_Lean_Delaborator_delabIff___lambda__1___closed__3); -l_Lean_Delaborator_delabIff___lambda__1___closed__4 = _init_l_Lean_Delaborator_delabIff___lambda__1___closed__4(); -lean_mark_persistent(l_Lean_Delaborator_delabIff___lambda__1___closed__4); -l_Lean_Delaborator_delabIff___closed__1 = _init_l_Lean_Delaborator_delabIff___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_delabIff___closed__1); -l___regBuiltin_Lean_Delaborator_delabIff___closed__1 = _init_l___regBuiltin_Lean_Delaborator_delabIff___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabIff___closed__1); -l___regBuiltin_Lean_Delaborator_delabIff___closed__2 = _init_l___regBuiltin_Lean_Delaborator_delabIff___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabIff___closed__2); -res = l___regBuiltin_Lean_Delaborator_delabIff(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l_Lean_Delaborator_delabBAnd___lambda__1___closed__1 = _init_l_Lean_Delaborator_delabBAnd___lambda__1___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_delabBAnd___lambda__1___closed__1); -l_Lean_Delaborator_delabBAnd___lambda__1___closed__2 = _init_l_Lean_Delaborator_delabBAnd___lambda__1___closed__2(); -lean_mark_persistent(l_Lean_Delaborator_delabBAnd___lambda__1___closed__2); -l_Lean_Delaborator_delabBAnd___closed__1 = _init_l_Lean_Delaborator_delabBAnd___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_delabBAnd___closed__1); -l___regBuiltin_Lean_Delaborator_delabBAnd___closed__1 = _init_l___regBuiltin_Lean_Delaborator_delabBAnd___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabBAnd___closed__1); -l___regBuiltin_Lean_Delaborator_delabBAnd___closed__2 = _init_l___regBuiltin_Lean_Delaborator_delabBAnd___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabBAnd___closed__2); -res = l___regBuiltin_Lean_Delaborator_delabBAnd(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l_Lean_Delaborator_delabBOr___closed__1 = _init_l_Lean_Delaborator_delabBOr___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_delabBOr___closed__1); -l___regBuiltin_Lean_Delaborator_delabBOr___closed__1 = _init_l___regBuiltin_Lean_Delaborator_delabBOr___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabBOr___closed__1); -l___regBuiltin_Lean_Delaborator_delabBOr___closed__2 = _init_l___regBuiltin_Lean_Delaborator_delabBOr___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabBOr___closed__2); -res = l___regBuiltin_Lean_Delaborator_delabBOr(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l_Lean_Delaborator_delabAppend___closed__1 = _init_l_Lean_Delaborator_delabAppend___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_delabAppend___closed__1); -l___regBuiltin_Lean_Delaborator_delabAppend___closed__1 = _init_l___regBuiltin_Lean_Delaborator_delabAppend___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabAppend___closed__1); -l___regBuiltin_Lean_Delaborator_delabAppend___closed__2 = _init_l___regBuiltin_Lean_Delaborator_delabAppend___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabAppend___closed__2); -l___regBuiltin_Lean_Delaborator_delabAppend___closed__3 = _init_l___regBuiltin_Lean_Delaborator_delabAppend___closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabAppend___closed__3); -res = l___regBuiltin_Lean_Delaborator_delabAppend(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l_Lean_Delaborator_delabCons___lambda__1___closed__1 = _init_l_Lean_Delaborator_delabCons___lambda__1___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_delabCons___lambda__1___closed__1); -l_Lean_Delaborator_delabCons___lambda__1___closed__2 = _init_l_Lean_Delaborator_delabCons___lambda__1___closed__2(); -lean_mark_persistent(l_Lean_Delaborator_delabCons___lambda__1___closed__2); -l_Lean_Delaborator_delabCons___closed__1 = _init_l_Lean_Delaborator_delabCons___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_delabCons___closed__1); -l___regBuiltin_Lean_Delaborator_delabCons___closed__1 = _init_l___regBuiltin_Lean_Delaborator_delabCons___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabCons___closed__1); -l___regBuiltin_Lean_Delaborator_delabCons___closed__2 = _init_l___regBuiltin_Lean_Delaborator_delabCons___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabCons___closed__2); -l___regBuiltin_Lean_Delaborator_delabCons___closed__3 = _init_l___regBuiltin_Lean_Delaborator_delabCons___closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabCons___closed__3); -res = l___regBuiltin_Lean_Delaborator_delabCons(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l_Lean_Delaborator_delabAndThen___lambda__1___closed__1 = _init_l_Lean_Delaborator_delabAndThen___lambda__1___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_delabAndThen___lambda__1___closed__1); -l_Lean_Delaborator_delabAndThen___lambda__1___closed__2 = _init_l_Lean_Delaborator_delabAndThen___lambda__1___closed__2(); -lean_mark_persistent(l_Lean_Delaborator_delabAndThen___lambda__1___closed__2); -l_Lean_Delaborator_delabAndThen___closed__1 = _init_l_Lean_Delaborator_delabAndThen___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_delabAndThen___closed__1); -l___regBuiltin_Lean_Delaborator_delabAndThen___closed__1 = _init_l___regBuiltin_Lean_Delaborator_delabAndThen___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabAndThen___closed__1); -l___regBuiltin_Lean_Delaborator_delabAndThen___closed__2 = _init_l___regBuiltin_Lean_Delaborator_delabAndThen___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabAndThen___closed__2); -l___regBuiltin_Lean_Delaborator_delabAndThen___closed__3 = _init_l___regBuiltin_Lean_Delaborator_delabAndThen___closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabAndThen___closed__3); -res = l___regBuiltin_Lean_Delaborator_delabAndThen(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l_Lean_Delaborator_delabBind___lambda__1___closed__1 = _init_l_Lean_Delaborator_delabBind___lambda__1___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_delabBind___lambda__1___closed__1); -l_Lean_Delaborator_delabBind___lambda__1___closed__2 = _init_l_Lean_Delaborator_delabBind___lambda__1___closed__2(); -lean_mark_persistent(l_Lean_Delaborator_delabBind___lambda__1___closed__2); -l_Lean_Delaborator_delabBind___closed__1 = _init_l_Lean_Delaborator_delabBind___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_delabBind___closed__1); -l___regBuiltin_Lean_Delaborator_delabBind___closed__1 = _init_l___regBuiltin_Lean_Delaborator_delabBind___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabBind___closed__1); -l___regBuiltin_Lean_Delaborator_delabBind___closed__2 = _init_l___regBuiltin_Lean_Delaborator_delabBind___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabBind___closed__2); -l___regBuiltin_Lean_Delaborator_delabBind___closed__3 = _init_l___regBuiltin_Lean_Delaborator_delabBind___closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabBind___closed__3); -res = l___regBuiltin_Lean_Delaborator_delabBind(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l_Lean_Delaborator_delabseq___lambda__1___closed__1 = _init_l_Lean_Delaborator_delabseq___lambda__1___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_delabseq___lambda__1___closed__1); -l_Lean_Delaborator_delabseq___lambda__1___closed__2 = _init_l_Lean_Delaborator_delabseq___lambda__1___closed__2(); -lean_mark_persistent(l_Lean_Delaborator_delabseq___lambda__1___closed__2); -l_Lean_Delaborator_delabseq___closed__1 = _init_l_Lean_Delaborator_delabseq___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_delabseq___closed__1); -l___regBuiltin_Lean_Delaborator_delabseq___closed__1 = _init_l___regBuiltin_Lean_Delaborator_delabseq___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabseq___closed__1); -l___regBuiltin_Lean_Delaborator_delabseq___closed__2 = _init_l___regBuiltin_Lean_Delaborator_delabseq___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabseq___closed__2); -l___regBuiltin_Lean_Delaborator_delabseq___closed__3 = _init_l___regBuiltin_Lean_Delaborator_delabseq___closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabseq___closed__3); -res = l___regBuiltin_Lean_Delaborator_delabseq(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l_Lean_Delaborator_delabseqLeft___lambda__1___closed__1 = _init_l_Lean_Delaborator_delabseqLeft___lambda__1___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_delabseqLeft___lambda__1___closed__1); -l_Lean_Delaborator_delabseqLeft___lambda__1___closed__2 = _init_l_Lean_Delaborator_delabseqLeft___lambda__1___closed__2(); -lean_mark_persistent(l_Lean_Delaborator_delabseqLeft___lambda__1___closed__2); -l_Lean_Delaborator_delabseqLeft___closed__1 = _init_l_Lean_Delaborator_delabseqLeft___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_delabseqLeft___closed__1); -l___regBuiltin_Lean_Delaborator_delabseqLeft___closed__1 = _init_l___regBuiltin_Lean_Delaborator_delabseqLeft___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabseqLeft___closed__1); -l___regBuiltin_Lean_Delaborator_delabseqLeft___closed__2 = _init_l___regBuiltin_Lean_Delaborator_delabseqLeft___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabseqLeft___closed__2); -l___regBuiltin_Lean_Delaborator_delabseqLeft___closed__3 = _init_l___regBuiltin_Lean_Delaborator_delabseqLeft___closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabseqLeft___closed__3); -res = l___regBuiltin_Lean_Delaborator_delabseqLeft(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l_Lean_Delaborator_delabseqRight___lambda__1___closed__1 = _init_l_Lean_Delaborator_delabseqRight___lambda__1___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_delabseqRight___lambda__1___closed__1); -l_Lean_Delaborator_delabseqRight___lambda__1___closed__2 = _init_l_Lean_Delaborator_delabseqRight___lambda__1___closed__2(); -lean_mark_persistent(l_Lean_Delaborator_delabseqRight___lambda__1___closed__2); -l_Lean_Delaborator_delabseqRight___closed__1 = _init_l_Lean_Delaborator_delabseqRight___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_delabseqRight___closed__1); -l___regBuiltin_Lean_Delaborator_delabseqRight___closed__1 = _init_l___regBuiltin_Lean_Delaborator_delabseqRight___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabseqRight___closed__1); -l___regBuiltin_Lean_Delaborator_delabseqRight___closed__2 = _init_l___regBuiltin_Lean_Delaborator_delabseqRight___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabseqRight___closed__2); -l___regBuiltin_Lean_Delaborator_delabseqRight___closed__3 = _init_l___regBuiltin_Lean_Delaborator_delabseqRight___closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabseqRight___closed__3); -res = l___regBuiltin_Lean_Delaborator_delabseqRight(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l_Lean_Delaborator_delabMap___lambda__1___closed__1 = _init_l_Lean_Delaborator_delabMap___lambda__1___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_delabMap___lambda__1___closed__1); -l_Lean_Delaborator_delabMap___lambda__1___closed__2 = _init_l_Lean_Delaborator_delabMap___lambda__1___closed__2(); -lean_mark_persistent(l_Lean_Delaborator_delabMap___lambda__1___closed__2); -l_Lean_Delaborator_delabMap___closed__1 = _init_l_Lean_Delaborator_delabMap___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_delabMap___closed__1); -l___regBuiltin_Lean_Delaborator_delabMap___closed__1 = _init_l___regBuiltin_Lean_Delaborator_delabMap___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabMap___closed__1); -l___regBuiltin_Lean_Delaborator_delabMap___closed__2 = _init_l___regBuiltin_Lean_Delaborator_delabMap___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabMap___closed__2); -l___regBuiltin_Lean_Delaborator_delabMap___closed__3 = _init_l___regBuiltin_Lean_Delaborator_delabMap___closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabMap___closed__3); -res = l___regBuiltin_Lean_Delaborator_delabMap(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l_Lean_Delaborator_delabMapRev___lambda__1___closed__1 = _init_l_Lean_Delaborator_delabMapRev___lambda__1___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_delabMapRev___lambda__1___closed__1); -l_Lean_Delaborator_delabMapRev___lambda__1___closed__2 = _init_l_Lean_Delaborator_delabMapRev___lambda__1___closed__2(); -lean_mark_persistent(l_Lean_Delaborator_delabMapRev___lambda__1___closed__2); -l_Lean_Delaborator_delabMapRev___closed__1 = _init_l_Lean_Delaborator_delabMapRev___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_delabMapRev___closed__1); -l___regBuiltin_Lean_Delaborator_delabMapRev___closed__1 = _init_l___regBuiltin_Lean_Delaborator_delabMapRev___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabMapRev___closed__1); -l___regBuiltin_Lean_Delaborator_delabMapRev___closed__2 = _init_l___regBuiltin_Lean_Delaborator_delabMapRev___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabMapRev___closed__2); -res = l___regBuiltin_Lean_Delaborator_delabMapRev(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l_Lean_Delaborator_delabOrElse___closed__1 = _init_l_Lean_Delaborator_delabOrElse___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_delabOrElse___closed__1); -l___regBuiltin_Lean_Delaborator_delabOrElse___closed__1 = _init_l___regBuiltin_Lean_Delaborator_delabOrElse___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabOrElse___closed__1); -l___regBuiltin_Lean_Delaborator_delabOrElse___closed__2 = _init_l___regBuiltin_Lean_Delaborator_delabOrElse___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabOrElse___closed__2); -l___regBuiltin_Lean_Delaborator_delabOrElse___closed__3 = _init_l___regBuiltin_Lean_Delaborator_delabOrElse___closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabOrElse___closed__3); -res = l___regBuiltin_Lean_Delaborator_delabOrElse(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l_Lean_Delaborator_delabOrM___lambda__1___closed__1 = _init_l_Lean_Delaborator_delabOrM___lambda__1___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_delabOrM___lambda__1___closed__1); -l_Lean_Delaborator_delabOrM___lambda__1___closed__2 = _init_l_Lean_Delaborator_delabOrM___lambda__1___closed__2(); -lean_mark_persistent(l_Lean_Delaborator_delabOrM___lambda__1___closed__2); -l_Lean_Delaborator_delabOrM___closed__1 = _init_l_Lean_Delaborator_delabOrM___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_delabOrM___closed__1); -l___regBuiltin_Lean_Delaborator_delabOrM___closed__1 = _init_l___regBuiltin_Lean_Delaborator_delabOrM___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabOrM___closed__1); -l___regBuiltin_Lean_Delaborator_delabOrM___closed__2 = _init_l___regBuiltin_Lean_Delaborator_delabOrM___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabOrM___closed__2); -res = l___regBuiltin_Lean_Delaborator_delabOrM(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l_Lean_Delaborator_delabAndM___lambda__1___closed__1 = _init_l_Lean_Delaborator_delabAndM___lambda__1___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_delabAndM___lambda__1___closed__1); -l_Lean_Delaborator_delabAndM___lambda__1___closed__2 = _init_l_Lean_Delaborator_delabAndM___lambda__1___closed__2(); -lean_mark_persistent(l_Lean_Delaborator_delabAndM___lambda__1___closed__2); -l_Lean_Delaborator_delabAndM___closed__1 = _init_l_Lean_Delaborator_delabAndM___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_delabAndM___closed__1); -l___regBuiltin_Lean_Delaborator_delabAndM___closed__1 = _init_l___regBuiltin_Lean_Delaborator_delabAndM___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabAndM___closed__1); -l___regBuiltin_Lean_Delaborator_delabAndM___closed__2 = _init_l___regBuiltin_Lean_Delaborator_delabAndM___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabAndM___closed__2); -res = l___regBuiltin_Lean_Delaborator_delabAndM(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l_Lean_Delaborator_delabNot___lambda__1___closed__1 = _init_l_Lean_Delaborator_delabNot___lambda__1___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_delabNot___lambda__1___closed__1); -l_Lean_Delaborator_delabNot___lambda__1___closed__2 = _init_l_Lean_Delaborator_delabNot___lambda__1___closed__2(); -lean_mark_persistent(l_Lean_Delaborator_delabNot___lambda__1___closed__2); -l_Lean_Delaborator_delabNot___lambda__1___closed__3 = _init_l_Lean_Delaborator_delabNot___lambda__1___closed__3(); -lean_mark_persistent(l_Lean_Delaborator_delabNot___lambda__1___closed__3); -l_Lean_Delaborator_delabNot___lambda__1___closed__4 = _init_l_Lean_Delaborator_delabNot___lambda__1___closed__4(); -lean_mark_persistent(l_Lean_Delaborator_delabNot___lambda__1___closed__4); -l_Lean_Delaborator_delabNot___lambda__1___closed__5 = _init_l_Lean_Delaborator_delabNot___lambda__1___closed__5(); -lean_mark_persistent(l_Lean_Delaborator_delabNot___lambda__1___closed__5); -l_Lean_Delaborator_delabNot___closed__1 = _init_l_Lean_Delaborator_delabNot___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_delabNot___closed__1); -l___regBuiltin_Lean_Delaborator_delabNot___closed__1 = _init_l___regBuiltin_Lean_Delaborator_delabNot___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabNot___closed__1); -l___regBuiltin_Lean_Delaborator_delabNot___closed__2 = _init_l___regBuiltin_Lean_Delaborator_delabNot___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabNot___closed__2); -res = l___regBuiltin_Lean_Delaborator_delabNot(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l_Lean_Delaborator_delabBNot___lambda__1___closed__1 = _init_l_Lean_Delaborator_delabBNot___lambda__1___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_delabBNot___lambda__1___closed__1); -l_Lean_Delaborator_delabBNot___lambda__1___closed__2 = _init_l_Lean_Delaborator_delabBNot___lambda__1___closed__2(); -lean_mark_persistent(l_Lean_Delaborator_delabBNot___lambda__1___closed__2); -l_Lean_Delaborator_delabBNot___lambda__1___closed__3 = _init_l_Lean_Delaborator_delabBNot___lambda__1___closed__3(); -lean_mark_persistent(l_Lean_Delaborator_delabBNot___lambda__1___closed__3); -l_Lean_Delaborator_delabBNot___lambda__1___closed__4 = _init_l_Lean_Delaborator_delabBNot___lambda__1___closed__4(); -lean_mark_persistent(l_Lean_Delaborator_delabBNot___lambda__1___closed__4); -l_Lean_Delaborator_delabBNot___closed__1 = _init_l_Lean_Delaborator_delabBNot___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_delabBNot___closed__1); -l___regBuiltin_Lean_Delaborator_delabBNot___closed__1 = _init_l___regBuiltin_Lean_Delaborator_delabBNot___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabBNot___closed__1); -l___regBuiltin_Lean_Delaborator_delabBNot___closed__2 = _init_l___regBuiltin_Lean_Delaborator_delabBNot___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabBNot___closed__2); -res = l___regBuiltin_Lean_Delaborator_delabBNot(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l_Lean_Delaborator_delabNil___lambda__1___closed__1 = _init_l_Lean_Delaborator_delabNil___lambda__1___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_delabNil___lambda__1___closed__1); -l_Lean_Delaborator_delabNil___lambda__1___closed__2 = _init_l_Lean_Delaborator_delabNil___lambda__1___closed__2(); -lean_mark_persistent(l_Lean_Delaborator_delabNil___lambda__1___closed__2); -l_Lean_Delaborator_delabNil___lambda__1___closed__3 = _init_l_Lean_Delaborator_delabNil___lambda__1___closed__3(); -lean_mark_persistent(l_Lean_Delaborator_delabNil___lambda__1___closed__3); -l_Lean_Delaborator_delabNil___closed__1 = _init_l_Lean_Delaborator_delabNil___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_delabNil___closed__1); -l_Lean_Delaborator_delabNil___closed__2 = _init_l_Lean_Delaborator_delabNil___closed__2(); -lean_mark_persistent(l_Lean_Delaborator_delabNil___closed__2); -l___regBuiltin_Lean_Delaborator_delabNil___closed__1 = _init_l___regBuiltin_Lean_Delaborator_delabNil___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabNil___closed__1); -l___regBuiltin_Lean_Delaborator_delabNil___closed__2 = _init_l___regBuiltin_Lean_Delaborator_delabNil___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabNil___closed__2); -res = l___regBuiltin_Lean_Delaborator_delabNil(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l_Lean_Delaborator_delabConsList___closed__1 = _init_l_Lean_Delaborator_delabConsList___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_delabConsList___closed__1); -l_Lean_Delaborator_delabConsList___closed__2 = _init_l_Lean_Delaborator_delabConsList___closed__2(); -lean_mark_persistent(l_Lean_Delaborator_delabConsList___closed__2); -l___regBuiltin_Lean_Delaborator_delabConsList___closed__1 = _init_l___regBuiltin_Lean_Delaborator_delabConsList___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabConsList___closed__1); -res = l___regBuiltin_Lean_Delaborator_delabConsList(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l_Lean_Delaborator_delabListToArray___lambda__1___closed__1 = _init_l_Lean_Delaborator_delabListToArray___lambda__1___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_delabListToArray___lambda__1___closed__1); -l_Lean_Delaborator_delabListToArray___lambda__1___closed__2 = _init_l_Lean_Delaborator_delabListToArray___lambda__1___closed__2(); -lean_mark_persistent(l_Lean_Delaborator_delabListToArray___lambda__1___closed__2); -l_Lean_Delaborator_delabListToArray___closed__1 = _init_l_Lean_Delaborator_delabListToArray___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_delabListToArray___closed__1); -l_Lean_Delaborator_delabListToArray___closed__2 = _init_l_Lean_Delaborator_delabListToArray___closed__2(); -lean_mark_persistent(l_Lean_Delaborator_delabListToArray___closed__2); -l___regBuiltin_Lean_Delaborator_delabListToArray___closed__1 = _init_l___regBuiltin_Lean_Delaborator_delabListToArray___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabListToArray___closed__1); -l___regBuiltin_Lean_Delaborator_delabListToArray___closed__2 = _init_l___regBuiltin_Lean_Delaborator_delabListToArray___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabListToArray___closed__2); -res = l___regBuiltin_Lean_Delaborator_delabListToArray(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l_Lean_Delaborator_delabNamedPattern___closed__1 = _init_l_Lean_Delaborator_delabNamedPattern___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_delabNamedPattern___closed__1); -l___regBuiltin_Lean_Delaborator_delabNamedPattern___closed__1 = _init_l___regBuiltin_Lean_Delaborator_delabNamedPattern___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabNamedPattern___closed__1); -l___regBuiltin_Lean_Delaborator_delabNamedPattern___closed__2 = _init_l___regBuiltin_Lean_Delaborator_delabNamedPattern___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabNamedPattern___closed__2); -res = l___regBuiltin_Lean_Delaborator_delabNamedPattern(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l_Lean_Delaborator_delabDoElems_delabAndRet___closed__1 = _init_l_Lean_Delaborator_delabDoElems_delabAndRet___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_delabDoElems_delabAndRet___closed__1); -l_Lean_Delaborator_delabDoElems_delabAndRet___closed__2 = _init_l_Lean_Delaborator_delabDoElems_delabAndRet___closed__2(); -lean_mark_persistent(l_Lean_Delaborator_delabDoElems_delabAndRet___closed__2); -l_Lean_Delaborator_delabDoElems___lambda__1___closed__1 = _init_l_Lean_Delaborator_delabDoElems___lambda__1___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_delabDoElems___lambda__1___closed__1); -l_Lean_Delaborator_delabDoElems___lambda__1___closed__2 = _init_l_Lean_Delaborator_delabDoElems___lambda__1___closed__2(); -lean_mark_persistent(l_Lean_Delaborator_delabDoElems___lambda__1___closed__2); -l_Lean_Delaborator_delabDoElems___lambda__1___closed__3 = _init_l_Lean_Delaborator_delabDoElems___lambda__1___closed__3(); -lean_mark_persistent(l_Lean_Delaborator_delabDoElems___lambda__1___closed__3); -l_Lean_Delaborator_delabDoElems___lambda__2___closed__1 = _init_l_Lean_Delaborator_delabDoElems___lambda__2___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_delabDoElems___lambda__2___closed__1); -l_Lean_Delaborator_delabDoElems___lambda__4___closed__1 = _init_l_Lean_Delaborator_delabDoElems___lambda__4___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_delabDoElems___lambda__4___closed__1); -l_Lean_Delaborator_delabDoElems___lambda__4___closed__2 = _init_l_Lean_Delaborator_delabDoElems___lambda__4___closed__2(); -lean_mark_persistent(l_Lean_Delaborator_delabDoElems___lambda__4___closed__2); -l_Lean_Delaborator_delabDoElems___lambda__4___closed__3 = _init_l_Lean_Delaborator_delabDoElems___lambda__4___closed__3(); -lean_mark_persistent(l_Lean_Delaborator_delabDoElems___lambda__4___closed__3); -l_Lean_Delaborator_delabDoElems___lambda__4___closed__4 = _init_l_Lean_Delaborator_delabDoElems___lambda__4___closed__4(); -lean_mark_persistent(l_Lean_Delaborator_delabDoElems___lambda__4___closed__4); -l_Lean_Delaborator_delabDoElems___lambda__4___closed__5 = _init_l_Lean_Delaborator_delabDoElems___lambda__4___closed__5(); -lean_mark_persistent(l_Lean_Delaborator_delabDoElems___lambda__4___closed__5); -l_Lean_Delaborator_delabDoElems___closed__1 = _init_l_Lean_Delaborator_delabDoElems___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_delabDoElems___closed__1); -l_Lean_Delaborator_delabDoElems___closed__2 = _init_l_Lean_Delaborator_delabDoElems___closed__2(); -lean_mark_persistent(l_Lean_Delaborator_delabDoElems___closed__2); -l_Array_mapMUnsafe_map___at_Lean_Delaborator_delabDo___spec__1___closed__1 = _init_l_Array_mapMUnsafe_map___at_Lean_Delaborator_delabDo___spec__1___closed__1(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Delaborator_delabDo___spec__1___closed__1); -l_Array_mapMUnsafe_map___at_Lean_Delaborator_delabDo___spec__1___closed__2 = _init_l_Array_mapMUnsafe_map___at_Lean_Delaborator_delabDo___spec__1___closed__2(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Delaborator_delabDo___spec__1___closed__2); -l_Lean_Delaborator_delabDo___lambda__1___closed__1 = _init_l_Lean_Delaborator_delabDo___lambda__1___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_delabDo___lambda__1___closed__1); -l_Lean_Delaborator_delabDo___lambda__1___closed__2 = _init_l_Lean_Delaborator_delabDo___lambda__1___closed__2(); -lean_mark_persistent(l_Lean_Delaborator_delabDo___lambda__1___closed__2); -l_Lean_Delaborator_delabDo___lambda__1___closed__3 = _init_l_Lean_Delaborator_delabDo___lambda__1___closed__3(); -lean_mark_persistent(l_Lean_Delaborator_delabDo___lambda__1___closed__3); -l_Lean_Delaborator_delabDo___lambda__1___closed__4 = _init_l_Lean_Delaborator_delabDo___lambda__1___closed__4(); -lean_mark_persistent(l_Lean_Delaborator_delabDo___lambda__1___closed__4); -l_Lean_Delaborator_delabDo___lambda__1___closed__5 = _init_l_Lean_Delaborator_delabDo___lambda__1___closed__5(); -lean_mark_persistent(l_Lean_Delaborator_delabDo___lambda__1___closed__5); -l_Lean_Delaborator_delabDo___lambda__1___closed__6 = _init_l_Lean_Delaborator_delabDo___lambda__1___closed__6(); -lean_mark_persistent(l_Lean_Delaborator_delabDo___lambda__1___closed__6); -l_Lean_Delaborator_delabDo___lambda__2___closed__1 = _init_l_Lean_Delaborator_delabDo___lambda__2___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_delabDo___lambda__2___closed__1); -l_Lean_Delaborator_delabDo___closed__1 = _init_l_Lean_Delaborator_delabDo___closed__1(); -lean_mark_persistent(l_Lean_Delaborator_delabDo___closed__1); -l_Lean_Delaborator_delabDo___closed__2 = _init_l_Lean_Delaborator_delabDo___closed__2(); -lean_mark_persistent(l_Lean_Delaborator_delabDo___closed__2); -l___regBuiltin_Lean_Delaborator_delabDo___closed__1 = _init_l___regBuiltin_Lean_Delaborator_delabDo___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabDo___closed__1); -res = l___regBuiltin_Lean_Delaborator_delabDo(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l_Lean_delab___closed__1 = _init_l_Lean_delab___closed__1(); -lean_mark_persistent(l_Lean_delab___closed__1); -l_Lean_delab___closed__2 = _init_l_Lean_delab___closed__2(); -lean_mark_persistent(l_Lean_delab___closed__2); -l_Lean_delab___closed__3 = _init_l_Lean_delab___closed__3(); -lean_mark_persistent(l_Lean_delab___closed__3); -l_Lean_delab___closed__4 = _init_l_Lean_delab___closed__4(); -lean_mark_persistent(l_Lean_delab___closed__4); -l_Lean_delab___closed__5 = _init_l_Lean_delab___closed__5(); -lean_mark_persistent(l_Lean_delab___closed__5); -l_Lean_delab___closed__6 = _init_l_Lean_delab___closed__6(); -lean_mark_persistent(l_Lean_delab___closed__6); -res = l_Lean_initFn____x40_Lean_Delaborator___hyg_11519_(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)); -} -#ifdef __cplusplus -} -#endif diff --git a/stage0/stdlib/Lean/Elab/SyntheticMVars.c b/stage0/stdlib/Lean/Elab/SyntheticMVars.c index 660dbafde5..8e6c5fbf5b 100644 --- a/stage0/stdlib/Lean/Elab/SyntheticMVars.c +++ b/stage0/stdlib/Lean/Elab/SyntheticMVars.c @@ -86,6 +86,7 @@ lean_object* lean_nat_add(lean_object*, lean_object*); lean_object* l_List_forIn_loop___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_reportStuckSyntheticMVars___spec__1___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_ensureHasType(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_isExprDefEqImp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_tryToSynthesizeUsingDefaultInstances_match__6___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___closed__3; lean_object* l_Lean_mkAppN(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizePendingCoeInstMVar_match__1(lean_object*); @@ -99,7 +100,6 @@ lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSy lean_object* l_Lean_Elab_Term_tryToSynthesizeUsingDefaultInstances_match__1(lean_object*); lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVar___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); -lean_object* l_Std_RBNode_find___at_Lean_Meta_addDefaultInstanceEntry___spec__1(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_getSomeSynthethicMVarsRef_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_forallMetaTelescopeReducingAux(lean_object*, uint8_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_take(lean_object*, lean_object*); @@ -168,6 +168,7 @@ lean_object* l_Lean_ConstantInfo_lparams(lean_object*); extern lean_object* l_Lean_Expr_instInhabitedExpr; extern uint8_t l_Lean_instInhabitedBinderInfo; lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___closed__9; +lean_object* l_Lean_Elab_Term_tryToSynthesizeUsingDefaultInstances_match__6(lean_object*); lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___closed__4; lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_resumePostponed___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); 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*); @@ -180,7 +181,7 @@ lean_object* l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_E lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_reportStuckSyntheticMVars_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_839____closed__1; uint8_t lean_nat_dec_le(lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_tryToSynthesizeUsingDefaultInstances_match__3___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_tryToSynthesizeUsingDefaultInstances_match__3___rarg(lean_object*, lean_object*); lean_object* l_Lean_Meta_isClass_x3f___at___private_Lean_Meta_Basic_0__Lean_Meta_withNewFVar___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_ReaderT_bind___at_Lean_Elab_Tactic_liftMetaTacticAux___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*); lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -236,6 +237,7 @@ lean_object* l_Lean_mkConst(lean_object*, lean_object*); extern lean_object* l_Lean_Meta_defaultInstanceExtension; lean_object* l_Lean_Elab_Term_synthesizeSyntheticMVars_loop___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_tryToSynthesizeUsingDefaultInstances___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Std_RBNode_find___at_Lean_Meta_addDefaultInstanceEntry___spec__3(lean_object*, lean_object*); extern lean_object* l_Array_findSomeM_x3f___rarg___closed__1; lean_object* l_Lean_Elab_Term_synthesizeUsingDefault_match__4(lean_object*); lean_object* l_Lean_Elab_Term_liftTacticElabM___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -4711,7 +4713,28 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_tryToSynthesizeUsingDefaultIns return x_2; } } -lean_object* l_Lean_Elab_Term_tryToSynthesizeUsingDefaultInstances_match__3___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Elab_Term_tryToSynthesizeUsingDefaultInstances_match__3___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_Lean_Elab_Term_tryToSynthesizeUsingDefaultInstances_match__3(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_tryToSynthesizeUsingDefaultInstances_match__3___rarg), 2, 0); +return x_2; +} +} +lean_object* l_Lean_Elab_Term_tryToSynthesizeUsingDefaultInstances_match__4___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { if (lean_obj_tag(x_1) == 0) @@ -4734,34 +4757,6 @@ return x_7; } } } -lean_object* l_Lean_Elab_Term_tryToSynthesizeUsingDefaultInstances_match__3(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_tryToSynthesizeUsingDefaultInstances_match__3___rarg), 3, 0); -return x_2; -} -} -lean_object* l_Lean_Elab_Term_tryToSynthesizeUsingDefaultInstances_match__4___rarg(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_object* x_5; -lean_dec(x_3); -x_4 = lean_box(0); -x_5 = lean_apply_1(x_2, x_4); -return x_5; -} -else -{ -lean_object* x_6; -lean_dec(x_2); -x_6 = lean_apply_1(x_3, x_1); -return x_6; -} -} -} lean_object* l_Lean_Elab_Term_tryToSynthesizeUsingDefaultInstances_match__4(lean_object* x_1) { _start: { @@ -4783,13 +4778,10 @@ return x_5; } else { -lean_object* x_6; lean_object* x_7; +lean_object* x_6; lean_dec(x_2); -x_6 = lean_ctor_get(x_1, 0); -lean_inc(x_6); -lean_dec(x_1); -x_7 = lean_apply_1(x_3, x_6); -return x_7; +x_6 = lean_apply_1(x_3, x_1); +return x_6; } } } @@ -4801,6 +4793,37 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_tryToSynthesizeUsingDefaultIns return x_2; } } +lean_object* l_Lean_Elab_Term_tryToSynthesizeUsingDefaultInstances_match__6___rarg(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_object* x_5; +lean_dec(x_3); +x_4 = lean_box(0); +x_5 = lean_apply_1(x_2, x_4); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_2); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_apply_1(x_3, x_6); +return x_7; +} +} +} +lean_object* l_Lean_Elab_Term_tryToSynthesizeUsingDefaultInstances_match__6(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_tryToSynthesizeUsingDefaultInstances_match__6___rarg), 3, 0); +return x_2; +} +} lean_object* l_Lean_Meta_getDefaultInstances___at_Lean_Elab_Term_tryToSynthesizeUsingDefaultInstances___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { @@ -4809,7 +4832,7 @@ x_7 = lean_st_ref_get(x_5, x_6); x_8 = !lean_is_exclusive(x_7); if (x_8 == 0) { -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +lean_object* x_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_7, 0); x_10 = lean_ctor_get(x_9, 0); lean_inc(x_10); @@ -4817,61 +4840,67 @@ lean_dec(x_9); x_11 = l_Lean_Meta_defaultInstanceExtension; x_12 = l_Lean_SimplePersistentEnvExtension_getState___rarg(x_11, x_10); lean_dec(x_10); -x_13 = l_Std_RBNode_find___at_Lean_Meta_addDefaultInstanceEntry___spec__1(x_12, x_1); +x_13 = lean_ctor_get(x_12, 0); +lean_inc(x_13); lean_dec(x_12); -if (lean_obj_tag(x_13) == 0) -{ -lean_object* x_14; -x_14 = lean_box(0); -lean_ctor_set(x_7, 0, x_14); -return x_7; -} -else +x_14 = l_Std_RBNode_find___at_Lean_Meta_addDefaultInstanceEntry___spec__3(x_13, x_1); +lean_dec(x_13); +if (lean_obj_tag(x_14) == 0) { lean_object* x_15; -x_15 = lean_ctor_get(x_13, 0); -lean_inc(x_15); -lean_dec(x_13); +x_15 = lean_box(0); lean_ctor_set(x_7, 0, x_15); return x_7; } -} else { -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_16 = lean_ctor_get(x_7, 0); -x_17 = lean_ctor_get(x_7, 1); -lean_inc(x_17); +lean_object* x_16; +x_16 = lean_ctor_get(x_14, 0); lean_inc(x_16); -lean_dec(x_7); -x_18 = lean_ctor_get(x_16, 0); -lean_inc(x_18); -lean_dec(x_16); -x_19 = l_Lean_Meta_defaultInstanceExtension; -x_20 = l_Lean_SimplePersistentEnvExtension_getState___rarg(x_19, x_18); -lean_dec(x_18); -x_21 = l_Std_RBNode_find___at_Lean_Meta_addDefaultInstanceEntry___spec__1(x_20, x_1); -lean_dec(x_20); -if (lean_obj_tag(x_21) == 0) -{ -lean_object* x_22; lean_object* x_23; -x_22 = lean_box(0); -x_23 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_23, 0, x_22); -lean_ctor_set(x_23, 1, x_17); -return x_23; +lean_dec(x_14); +lean_ctor_set(x_7, 0, x_16); +return x_7; +} } else { +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_17 = lean_ctor_get(x_7, 0); +x_18 = lean_ctor_get(x_7, 1); +lean_inc(x_18); +lean_inc(x_17); +lean_dec(x_7); +x_19 = lean_ctor_get(x_17, 0); +lean_inc(x_19); +lean_dec(x_17); +x_20 = l_Lean_Meta_defaultInstanceExtension; +x_21 = l_Lean_SimplePersistentEnvExtension_getState___rarg(x_20, x_19); +lean_dec(x_19); +x_22 = lean_ctor_get(x_21, 0); +lean_inc(x_22); +lean_dec(x_21); +x_23 = l_Std_RBNode_find___at_Lean_Meta_addDefaultInstanceEntry___spec__3(x_22, x_1); +lean_dec(x_22); +if (lean_obj_tag(x_23) == 0) +{ lean_object* x_24; lean_object* x_25; -x_24 = lean_ctor_get(x_21, 0); -lean_inc(x_24); -lean_dec(x_21); +x_24 = lean_box(0); x_25 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_25, 0, x_24); -lean_ctor_set(x_25, 1, x_17); +lean_ctor_set(x_25, 1, x_18); return x_25; } +else +{ +lean_object* x_26; lean_object* x_27; +x_26 = lean_ctor_get(x_23, 0); +lean_inc(x_26); +lean_dec(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_18); +return x_27; +} } } } @@ -4894,35 +4923,38 @@ return x_10; } else { -lean_object* x_11; lean_object* x_12; lean_object* x_13; +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_dec(x_4); x_11 = lean_ctor_get(x_3, 0); lean_inc(x_11); x_12 = lean_ctor_get(x_3, 1); lean_inc(x_12); lean_dec(x_3); +x_13 = lean_ctor_get(x_11, 0); +lean_inc(x_13); +lean_dec(x_11); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_1); -x_13 = l_Lean_Meta_commitWhenSome_x3f___at_Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__3(x_1, x_11, x_5, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_13) == 0) -{ -lean_object* x_14; -x_14 = lean_ctor_get(x_13, 0); -lean_inc(x_14); +x_14 = l_Lean_Meta_commitWhenSome_x3f___at_Lean_Elab_Term_tryToSynthesizeUsingDefaultInstance___spec__3(x_1, x_13, x_5, x_6, x_7, x_8, x_9); if (lean_obj_tag(x_14) == 0) { lean_object* x_15; -x_15 = lean_ctor_get(x_13, 1); +x_15 = lean_ctor_get(x_14, 0); lean_inc(x_15); -lean_dec(x_13); +if (lean_obj_tag(x_15) == 0) +{ +lean_object* x_16; +x_16 = lean_ctor_get(x_14, 1); +lean_inc(x_16); +lean_dec(x_14); lean_inc(x_2); { lean_object* _tmp_2 = x_12; lean_object* _tmp_3 = x_2; -lean_object* _tmp_8 = x_15; +lean_object* _tmp_8 = x_16; x_3 = _tmp_2; x_4 = _tmp_3; x_9 = _tmp_8; @@ -4931,7 +4963,7 @@ goto _start; } else { -uint8_t x_17; +uint8_t x_18; lean_dec(x_12); lean_dec(x_8); lean_dec(x_7); @@ -4939,80 +4971,80 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_2); lean_dec(x_1); -x_17 = !lean_is_exclusive(x_13); -if (x_17 == 0) +x_18 = !lean_is_exclusive(x_14); +if (x_18 == 0) { -lean_object* x_18; uint8_t x_19; -x_18 = lean_ctor_get(x_13, 0); -lean_dec(x_18); -x_19 = !lean_is_exclusive(x_14); -if (x_19 == 0) +lean_object* x_19; uint8_t x_20; +x_19 = lean_ctor_get(x_14, 0); +lean_dec(x_19); +x_20 = !lean_is_exclusive(x_15); +if (x_20 == 0) { -lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_20 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_20, 0, x_14); -x_21 = lean_box(0); -x_22 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_22, 0, x_20); -lean_ctor_set(x_22, 1, x_21); -lean_ctor_set(x_13, 0, x_22); -return x_13; +lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_21 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_21, 0, x_15); +x_22 = lean_box(0); +x_23 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_23, 0, x_21); +lean_ctor_set(x_23, 1, x_22); +lean_ctor_set(x_14, 0, x_23); +return x_14; } else { -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_23 = lean_ctor_get(x_14, 0); -lean_inc(x_23); -lean_dec(x_14); -x_24 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_24, 0, x_23); +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_24 = lean_ctor_get(x_15, 0); +lean_inc(x_24); +lean_dec(x_15); x_25 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_25, 0, x_24); -x_26 = lean_box(0); -x_27 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_27, 0, x_25); -lean_ctor_set(x_27, 1, x_26); -lean_ctor_set(x_13, 0, x_27); -return x_13; +x_26 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_26, 0, x_25); +x_27 = lean_box(0); +x_28 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_28, 0, x_26); +lean_ctor_set(x_28, 1, x_27); +lean_ctor_set(x_14, 0, x_28); +return x_14; } } else { -lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_28 = lean_ctor_get(x_13, 1); -lean_inc(x_28); -lean_dec(x_13); -x_29 = lean_ctor_get(x_14, 0); +lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_29 = lean_ctor_get(x_14, 1); lean_inc(x_29); -if (lean_is_exclusive(x_14)) { - lean_ctor_release(x_14, 0); - x_30 = x_14; +lean_dec(x_14); +x_30 = lean_ctor_get(x_15, 0); +lean_inc(x_30); +if (lean_is_exclusive(x_15)) { + lean_ctor_release(x_15, 0); + x_31 = x_15; } else { - lean_dec_ref(x_14); - x_30 = lean_box(0); + lean_dec_ref(x_15); + x_31 = lean_box(0); } -if (lean_is_scalar(x_30)) { - x_31 = lean_alloc_ctor(1, 1, 0); +if (lean_is_scalar(x_31)) { + x_32 = lean_alloc_ctor(1, 1, 0); } else { - x_31 = x_30; + x_32 = x_31; } -lean_ctor_set(x_31, 0, x_29); -x_32 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_32, 0, x_31); -x_33 = lean_box(0); -x_34 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_34, 0, x_32); -lean_ctor_set(x_34, 1, x_33); +lean_ctor_set(x_32, 0, x_30); +x_33 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_33, 0, x_32); +x_34 = lean_box(0); x_35 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_35, 0, x_34); -lean_ctor_set(x_35, 1, x_28); -return x_35; +lean_ctor_set(x_35, 0, x_33); +lean_ctor_set(x_35, 1, 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_29); +return x_36; } } } else { -uint8_t x_36; +uint8_t x_37; lean_dec(x_12); lean_dec(x_8); lean_dec(x_7); @@ -5020,23 +5052,23 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_2); lean_dec(x_1); -x_36 = !lean_is_exclusive(x_13); -if (x_36 == 0) +x_37 = !lean_is_exclusive(x_14); +if (x_37 == 0) { -return x_13; +return x_14; } else { -lean_object* x_37; lean_object* x_38; lean_object* x_39; -x_37 = lean_ctor_get(x_13, 0); -x_38 = lean_ctor_get(x_13, 1); +lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_38 = lean_ctor_get(x_14, 0); +x_39 = lean_ctor_get(x_14, 1); +lean_inc(x_39); lean_inc(x_38); -lean_inc(x_37); -lean_dec(x_13); -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_dec(x_14); +x_40 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_40, 0, x_38); +lean_ctor_set(x_40, 1, x_39); +return x_40; } } } diff --git a/stage0/stdlib/Lean/Meta/Instances.c b/stage0/stdlib/Lean/Meta/Instances.c index f78b297c27..2498835adc 100644 --- a/stage0/stdlib/Lean/Meta/Instances.c +++ b/stage0/stdlib/Lean/Meta/Instances.c @@ -15,13 +15,15 @@ extern "C" { #endif lean_object* l_Array_back___at_Lean_Meta_addInstanceEntry___spec__14(lean_object*); extern lean_object* l_Lean_Name_toString___closed__1; -lean_object* l_Lean_Meta_addDefaultInstance___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_addDefaultInstance___lambda__1(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_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_54____spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_487____spec__3(lean_object*, size_t, size_t, lean_object*); lean_object* l_Lean_Meta_instanceExtension___elambda__4___boxed(lean_object*, lean_object*); lean_object* l_Lean_Meta_DiscrTree_insertCore___at_Lean_Meta_addInstanceEntry___spec__1(lean_object*, lean_object*, lean_object*); size_t l_USize_add(size_t, size_t); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withNewMCtxDepthImp___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_forallMetaTelescopeReducing___at___private_Lean_Meta_Instances_0__Lean_Meta_mkInstanceKey___spec__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_mkStateFromImportedEntries___at_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_487____spec__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_stringToMessageData(lean_object*); uint8_t lean_is_instance(lean_object*, lean_object*); lean_object* lean_nat_div(lean_object*, lean_object*); @@ -30,7 +32,6 @@ uint8_t l_Array_contains___at_Lean_Meta_addInstanceEntry___spec__11(lean_object* lean_object* l_Lean_registerSimplePersistentEnvExtension___at_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_54____spec__4(lean_object*, lean_object*); lean_object* l_Lean_Meta_Instances_discrTree___default___closed__1; extern lean_object* l_Array_back___at___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_insertAux___spec__2___rarg___closed__2; -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_694____lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_setEnv___rarg(lean_object*, lean_object*); lean_object* lean_name_mk_string(lean_object*, lean_object*); uint8_t l_USize_decEq(size_t, size_t); @@ -38,15 +39,16 @@ extern lean_object* l_Lean_InternalExceptionId_toString___closed__1; lean_object* lean_array_uget(lean_object*, size_t); lean_object* l_Lean_Meta_addDefaultInstance___lambda__2___closed__1; lean_object* lean_io_error_to_string(lean_object*); -lean_object* l_Lean_Meta_addDefaultInstance___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_addDefaultInstance___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getGlobalInstancesIndex(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_addInstanceEntry(lean_object*, lean_object*); lean_object* l_Lean_Meta_defaultInstanceExtension___elambda__3___boxed(lean_object*, lean_object*); lean_object* l_Lean_Meta_addDefaultInstance_match__1(lean_object*); -lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_442____spec__3(lean_object*, size_t, size_t, lean_object*); +lean_object* l_Std_RBNode_find___at_Lean_Meta_addDefaultInstanceEntry___spec__3___boxed(lean_object*, lean_object*); uint8_t l_Lean_Name_quickLt(lean_object*, lean_object*); +lean_object* l_Lean_Meta_getDefaultInstancesPriorities(lean_object*); extern lean_object* l_Lean_LocalContext_fvarIdToDecl___default___closed__1; -lean_object* l_Lean_Meta_addDefaultInstance(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_addDefaultInstance(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_addInstanceEntry___spec__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_defaultInstanceExtension___elambda__1(lean_object*); lean_object* l_Lean_Meta_Instances_globalInstances___default; @@ -54,31 +56,37 @@ lean_object* l_Lean_Meta_addGlobalInstanceImp_match__1___rarg(lean_object*, lean lean_object* l_Lean_Meta_getGlobalInstancesIndex___rarg(lean_object*, lean_object*); lean_object* l_Lean_Meta_inferType___at___private_Lean_Meta_InferType_0__Lean_Meta_inferAppType___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_forallMetaTelescopeReducing___at___private_Lean_Meta_Instances_0__Lean_Meta_mkInstanceKey___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_487____spec__6(lean_object*, lean_object*, size_t, size_t); extern lean_object* l_Lean_registerInternalExceptionId___closed__2; lean_object* l_Lean_Meta_addDefaultInstance___lambda__2___closed__3; lean_object* l_Lean_Meta_addDefaultInstanceEntry_match__1(lean_object*); lean_object* l_Lean_Meta_isGlobalInstance___boxed(lean_object*, lean_object*); size_t l_USize_sub(size_t, size_t); extern lean_object* l_Array_empty___closed__1; +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_487____spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_environment_find(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_insertAux___at_Lean_Meta_addInstanceEntry___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_272____closed__4; lean_object* l_Lean_Meta_addGlobalInstanceImp_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_get(lean_object*, lean_object*); +lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_487____spec__5(lean_object*, lean_object*); extern lean_object* l_Std_PersistentArray_empty___closed__1; uint8_t lean_name_eq(lean_object*, lean_object*); lean_object* l_Lean_Meta_addDefaultInstance___lambda__2___closed__9; lean_object* l_Lean_Meta_withNewMCtxDepth___at___private_Lean_Meta_Instances_0__Lean_Meta_mkInstanceKey___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_defaultInstanceExtension___elambda__4___rarg(lean_object*); +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_487____closed__3; lean_object* l_Lean_Meta_addDefaultInstance___lambda__2___closed__2; uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_54____spec__6(lean_object*, lean_object*, size_t, size_t); -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_694____lambda__2___closed__3; +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_743____lambda__3(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_getDefaultInstancesPriorities___rarg___lambda__1(lean_object*, lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); lean_object* l_Std_PersistentHashMap_findAtAux___at_Lean_Meta_addInstanceEntry___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_getCollisionNodeSize___rarg(lean_object*); lean_object* l_Lean_Meta_instanceExtension___elambda__1___boxed(lean_object*); lean_object* l_Lean_Meta_getDefaultInstances___rarg___lambda__1(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_487____closed__5; lean_object* lean_string_append(lean_object*, lean_object*); lean_object* l___private_Init_Data_Array_BinSearch_0__Array_binInsertAux___at_Lean_Meta_addInstanceEntry___spec__15(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_ReaderT_bind___at_Lean_Meta_instMonadLCtxMetaM___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -92,43 +100,50 @@ extern lean_object* l_IO_Error_instInhabitedError___closed__1; lean_object* l_Lean_Meta_withNewMCtxDepth___at___private_Lean_Meta_Instances_0__Lean_Meta_mkInstanceKey___spec__2(lean_object*); lean_object* l_Lean_mkStateFromImportedEntries___at_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_54____spec__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_Meta_instanceExtension___elambda__3___boxed(lean_object*, lean_object*); -lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_442____spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_addInstanceEntry___spec__12(lean_object*, lean_object*, size_t, size_t); +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_743____lambda__2___closed__3; lean_object* l_Lean_Meta_defaultInstanceExtension___elambda__3(lean_object*, lean_object*); lean_object* l_Lean_Meta_addDefaultInstance___lambda__2___closed__4; uint8_t l_Lean_Meta_DiscrTree_Key_beq(lean_object*, lean_object*); lean_object* lean_nat_add(lean_object*, lean_object*); extern lean_object* l_Lean_throwUnknownConstant___rarg___closed__2; +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_487____closed__4; lean_object* l_Lean_Meta_instanceExtension___elambda__4___rarg(lean_object*); lean_object* l_Lean_Name_toStringWithSep(lean_object*, lean_object*); +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_487____closed__2; lean_object* l_Lean_Meta_addGlobalInstance___at_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_272____spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_addGlobalInstance(lean_object*); lean_object* l_Lean_Meta_addGlobalInstanceImp___closed__1; lean_object* l_Std_PersistentHashMap_findAtAux___at_Lean_Meta_addInstanceEntry___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_instInhabitedInstances___closed__1; +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_743____lambda__3___closed__1; +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_743____lambda__2___closed__2; lean_object* l_Lean_registerSimplePersistentEnvExtension___rarg___lambda__2(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_743____lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Std_RBNode_insert___at_Lean_Meta_addDefaultInstanceEntry___spec__1(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_743____lambda__2___closed__1; lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_272____lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_NameGenerator_instInhabitedNameGenerator___closed__1; -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_694____lambda__3___closed__1; +lean_object* l_Std_RBNode_setBlack___rarg(lean_object*); +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_743____lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_instanceExtension___closed__5; lean_object* l_Lean_Meta_getGlobalInstancesIndex___rarg___boxed(lean_object*, lean_object*); -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_694____lambda__3___closed__2; lean_object* l_Lean_throwError___at_Lean_registerTagAttribute___spec__5___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); extern lean_object* l___private_Init_Data_Array_BinSearch_0__Array_binInsertAux___at___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_insertAux___spec__3___rarg___closed__1; +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_743____lambda__2(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_272____lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_54_(lean_object*); lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_272_(lean_object*); -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_442_(lean_object*); -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_694_(lean_object*); +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_487_(lean_object*); +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_743_(lean_object*); lean_object* l_Lean_MessageData_toString(lean_object*, lean_object*); -lean_object* l_Std_RBNode_find___at_Lean_Meta_addDefaultInstanceEntry___spec__1(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_forallMetaTelescopeReducingAux(lean_object*, uint8_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Meta_DiscrTree_insertCore___rarg___closed__5; lean_object* lean_st_ref_take(lean_object*, lean_object*); extern lean_object* l_Std_PersistentHashMap_insertAux___rarg___closed__3; -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_694____lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_487____lambda__1___boxed(lean_object*); lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_272____lambda__3___closed__1; extern lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_2532____closed__4; lean_object* l_Lean_Meta_addGlobalInstanceImp_match__1(lean_object*); @@ -136,15 +151,13 @@ lean_object* lean_nat_sub(lean_object*, lean_object*); lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_272____lambda__2(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_addInstanceEntry_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_addGlobalInstanceImp___closed__2; -lean_object* l_Std_RBNode_find___at_Lean_Meta_addDefaultInstanceEntry___spec__1___boxed(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_createNodes___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_694____lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_getDefaultInstancesPriorities___rarg___lambda__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_272____lambda__3___closed__2; +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_487____closed__1; lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_54____closed__3; extern lean_object* l_Lean_throwUnknownConstant___rarg___closed__1; lean_object* l_Std_PersistentHashMap_findAux___at_Lean_Meta_addInstanceEntry___spec__3(lean_object*, size_t, lean_object*); -lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_442____spec__5(lean_object*, lean_object*); -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_694____lambda__3(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_registerSimplePersistentEnvExtension___rarg___lambda__3(lean_object*, lean_object*); extern lean_object* l_Lean_Meta_instMetaEvalMetaM___rarg___closed__2; lean_object* l_Lean_Meta_instanceExtension___closed__4; @@ -156,13 +169,15 @@ lean_object* l_Std_PersistentHashMap_insert___at_Lean_Meta_addInstanceEntry___sp lean_object* l_Std_PersistentHashMap_insertAux_traverse___at_Lean_Meta_addInstanceEntry___spec__7(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Meta_instMetaEvalMetaM___rarg___closed__1; lean_object* l_Lean_Meta_addInstanceEntry_match__1(lean_object*); +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_487____lambda__1(lean_object*); lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_272____lambda__3(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_instanceExtension___elambda__4(lean_object*, lean_object*); lean_object* l_Std_RBNode_insert___at_Lean_NameMap_insert___spec__1___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_743____lambda__3___closed__2; lean_object* l_Nat_repr(lean_object*); lean_object* lean_st_mk_ref(lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_find_x3f___at_Lean_Meta_addInstanceEntry___spec__2___boxed(lean_object*, lean_object*); -lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_442____spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_getDefaultInstancesPriorities___rarg(lean_object*, lean_object*); lean_object* l_Lean_Meta_addDefaultInstance_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_54____closed__1; lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___rarg___lambda__2(lean_object*, lean_object*, lean_object*); @@ -170,12 +185,10 @@ lean_object* l_Lean_Meta_defaultInstanceExtension___closed__1; lean_object* l_Lean_Meta_instanceExtension___elambda__1(lean_object*); extern lean_object* l_Lean_persistentEnvExtensionsRef; lean_object* l_Lean_Meta_addDefaultInstanceEntry(lean_object*, lean_object*); -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_442____closed__3; lean_object* l_Std_PersistentHashMap_insertAux___at_Lean_Meta_addInstanceEntry___spec__6(lean_object*, size_t, size_t, lean_object*, lean_object*); lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_272____lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getDefaultInstances___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_addGlobalInstance___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_694____lambda__2___closed__1; lean_object* l_Lean_registerBuiltinAttribute(lean_object*, lean_object*); lean_object* l_Lean_Meta_defaultInstanceExtension___closed__2; lean_object* l_Array_contains___at_Lean_Meta_addInstanceEntry___spec__11___boxed(lean_object*, lean_object*); @@ -185,25 +198,23 @@ lean_object* l_Lean_Meta_addDefaultInstanceEntry_match__1___rarg(lean_object*, l lean_object* l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_insertAux___at_Lean_Meta_addInstanceEntry___spec__9(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_defaultInstanceExtension___elambda__4___boxed(lean_object*, lean_object*); lean_object* l_Lean_Meta_InstanceEntry_globalName_x3f___default; +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_743____closed__6; lean_object* l___private_Lean_Meta_Instances_0__Lean_Meta_mkInstanceKey___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_defaultInstanceExtension___closed__4; extern lean_object* l_Lean_throwUnknownConstant___rarg___closed__3; size_t l_USize_mul(size_t, size_t); lean_object* l_Lean_Meta_addDefaultInstance___lambda__2___closed__7; lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_272____closed__6; +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_487____spec__2(lean_object*, size_t, size_t, lean_object*); lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_272____lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_instInhabitedInstances; -lean_object* l_Lean_mkStateFromImportedEntries___at_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_442____spec__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_Meta_getGlobalInstancesIndex___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_442____closed__5; lean_object* l_Lean_Meta_instanceExtension___closed__1; lean_object* l_Lean_Meta_instanceExtension___closed__2; -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_694____lambda__2(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_defaultInstanceExtension___elambda__4(lean_object*, lean_object*); size_t lean_usize_of_nat(lean_object*); extern lean_object* l_Lean_NameSet_empty; lean_object* l_Lean_ConstantInfo_type(lean_object*); -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_694____closed__3; lean_object* l_Lean_PersistentEnvExtension_addEntry___rarg(lean_object*, lean_object*, lean_object*); size_t l_USize_land(size_t, size_t); lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_272____lambda__2___closed__2; @@ -211,36 +222,36 @@ lean_object* l_Lean_SimplePersistentEnvExtension_getState___rarg(lean_object*, l lean_object* l_Lean_Meta_DiscrTree_mkPath(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Instances_0__Lean_Meta_mkInstanceKey___closed__1; lean_object* l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_insertVal___at_Lean_Meta_addInstanceEntry___spec__10(lean_object*, lean_object*); -lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_442____spec__2(lean_object*, size_t, size_t, lean_object*); +lean_object* l_Lean_registerSimplePersistentEnvExtension___at_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_487____spec__4(lean_object*, lean_object*); lean_object* l_Lean_ConstantInfo_lparams(lean_object*); lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_54____closed__4; lean_object* l_Lean_Meta_instInhabitedDefaultInstances; +lean_object* l_Lean_mkStateFromImportedEntries___at_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_487____spec__1(lean_object*, lean_object*); lean_object* lean_add_instance(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___rarg___closed__1; +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_743____closed__5; extern lean_object* l_Lean_Meta_DiscrTree_instInhabitedKey; -lean_object* l_Lean_mkStateFromImportedEntries___at_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_442____spec__1(lean_object*, lean_object*); lean_object* l_Lean_Meta_forallTelescopeReducing___at_Lean_Meta_getParamNamesImp___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_setEnv___at_Lean_Meta_addDefaultInstance___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_694____closed__2; -lean_object* l_Lean_registerSimplePersistentEnvExtension___at_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_442____spec__4(lean_object*, lean_object*); lean_object* l_Lean_registerSimplePersistentEnvExtension___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_743____lambda__3___closed__3; +lean_object* l_Std_RBNode_ins___at_Lean_Meta_addDefaultInstanceEntry___spec__2(lean_object*, lean_object*, lean_object*); lean_object* l_Array_back___at_Lean_Meta_addInstanceEntry___spec__14___boxed(lean_object*); lean_object* l_Lean_Meta_defaultInstanceExtension___elambda__2___boxed(lean_object*); uint8_t lean_expr_eqv(lean_object*, lean_object*); lean_object* l_List_map___at_Lean_Meta_addGlobalInstanceImp___spec__1(lean_object*); -lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_442____spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Meta_DiscrTree_insertCore___rarg___closed__1; uint8_t l_Lean_Syntax_hasArgs(lean_object*); -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_694____closed__1; lean_object* l_Lean_Meta_addDefaultInstance___lambda__2___closed__10; uint8_t lean_nat_dec_le(lean_object*, lean_object*); uint8_t l_USize_decLe(size_t, size_t); lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_272____lambda__3___closed__3; +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_487____spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Std_RBNode_isRed___rarg(lean_object*); lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_54____lambda__1(lean_object*); lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_54____spec__5(lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_54____spec__3(lean_object*, size_t, size_t, lean_object*); extern lean_object* l_Lean_registerSimplePersistentEnvExtension___rarg___closed__1; -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_442____lambda__1___boxed(lean_object*); lean_object* lean_panic_fn(lean_object*, lean_object*); lean_object* l_Lean_Meta_addGlobalInstance___at_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_272____spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_addDefaultInstance_match__2(lean_object*); @@ -249,33 +260,32 @@ lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_272____lambda__ lean_object* l_Lean_Meta_instanceExtension___closed__3; lean_object* l_Lean_setEnv___at_Lean_Meta_addDefaultInstance___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Meta_DiscrTree_Key_lt(lean_object*, lean_object*); -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_694____lambda__2___closed__2; -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_694____closed__4; lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_54____closed__2; -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_694____lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkStateFromImportedEntries___at_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_54____spec__1(lean_object*, lean_object*); +lean_object* l_Lean_Meta_instInhabitedDefaultInstances___closed__1; lean_object* l_Lean_throwError___at_Lean_addAttribute___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_442____lambda__1(lean_object*); -uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_442____spec__6(lean_object*, lean_object*, size_t, size_t); lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_743____closed__4; lean_object* l___private_Lean_Meta_Instances_0__Lean_Meta_mkInstanceKey_match__1___rarg(lean_object*, lean_object*); lean_object* l_Lean_Meta_addDefaultInstance___lambda__2___closed__6; lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_272____closed__3; lean_object* l_Lean_Meta_getDefaultInstances___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_insertAux___at_Lean_Meta_addInstanceEntry___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_743____lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_54____spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_694____closed__6; +lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_487____spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_find_x3f___at_Lean_Meta_addInstanceEntry___spec__2(lean_object*, lean_object*); extern lean_object* l_Lean_Meta_Context_config___default___closed__1; extern size_t l_Std_PersistentHashMap_insertAux___rarg___closed__2; lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_272____closed__5; lean_object* l_Std_PersistentHashMap_insertAtCollisionNodeAux___at_Lean_Meta_addInstanceEntry___spec__8(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_addDefaultInstance___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_addDefaultInstance___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_addDefaultInstance___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_addDefaultInstance___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getDefaultInstances(lean_object*); uint8_t l_Lean_NameSet_contains(lean_object*, lean_object*); lean_object* l_Lean_Meta_Instances_discrTree___default; lean_object* l_Lean_Meta_DiscrTree_insertCore___at_Lean_Meta_addInstanceEntry___spec__1___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_743____closed__3; extern lean_object* l_Lean_Unhygienic_run___rarg___closed__1; lean_object* l_Lean_Meta_instanceExtension___elambda__3(lean_object*, lean_object*); lean_object* l_Lean_Expr_getAppFn(lean_object*); @@ -287,13 +297,13 @@ lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_initFn____x40_Lean_Meta_In lean_object* l_Lean_Meta_addDefaultInstance___lambda__2___closed__5; lean_object* l___private_Lean_Meta_Instances_0__Lean_Meta_mkInstanceKey_match__1(lean_object*); lean_object* l_Lean_Meta_instanceExtension___elambda__2(lean_object*); +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_743____lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_usize_to_nat(size_t); lean_object* l_Std_PersistentHashMap_findAux___at_Lean_Meta_addInstanceEntry___spec__3___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_EStateM_pure___rarg(lean_object*, lean_object*); -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_442____closed__4; -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_694____lambda__3___closed__3; +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_743____closed__2; +lean_object* l_Lean_Meta_DefaultInstances_priorities___default; lean_object* l_Lean_Meta_defaultInstanceExtension___closed__5; -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_694____closed__5; lean_object* l_Lean_mkConst(lean_object*, lean_object*); lean_object* l_Lean_Meta_defaultInstanceExtension; lean_object* l_Array_binInsertM___at_Lean_Meta_addInstanceEntry___spec__13(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -301,11 +311,11 @@ lean_object* l___private_Lean_Meta_Instances_0__Lean_Meta_mkInstanceKey(lean_obj lean_object* l___private_Init_Data_Array_BinSearch_0__Array_binInsertAux___at_Lean_Meta_addInstanceEntry___spec__15___boxed(lean_object*, lean_object*, 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_Lean_Meta_defaultInstanceExtension___closed__3; -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_442____closed__1; +lean_object* l_Std_RBNode_find___at_Lean_Meta_addDefaultInstanceEntry___spec__3(lean_object*, lean_object*); lean_object* l_Lean_Meta_defaultInstanceExtension___elambda__1___boxed(lean_object*); +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_743____closed__1; size_t l_Lean_Meta_DiscrTree_Key_hash(lean_object*); lean_object* l_Lean_Meta_addGlobalInstanceImp___closed__3; -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_442____closed__2; extern lean_object* l_instReprChar___closed__1; uint8_t lean_is_class(lean_object*, lean_object*); extern lean_object* l_Lean_Meta_DiscrTree_instInhabitedTrie___closed__1; @@ -3656,7 +3666,7 @@ x_1 = lean_box(0); return x_1; } } -static lean_object* _init_l_Lean_Meta_instInhabitedDefaultInstances() { +static lean_object* _init_l_Lean_Meta_DefaultInstances_priorities___default() { _start: { lean_object* x_1; @@ -3664,6 +3674,25 @@ x_1 = lean_box(0); return x_1; } } +static lean_object* _init_l_Lean_Meta_instInhabitedDefaultInstances___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_box(0); +x_2 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2, 0, x_1); +lean_ctor_set(x_2, 1, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Meta_instInhabitedDefaultInstances() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Meta_instInhabitedDefaultInstances___closed__1; +return x_1; +} +} lean_object* l_Lean_Meta_addDefaultInstanceEntry_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -3695,7 +3724,2489 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Meta_addDefaultInstanceEntry_match__1___ return x_2; } } -lean_object* l_Std_RBNode_find___at_Lean_Meta_addDefaultInstanceEntry___spec__1(lean_object* x_1, lean_object* x_2) { +lean_object* l_Std_RBNode_ins___at_Lean_Meta_addDefaultInstanceEntry___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; uint8_t x_5; lean_object* x_6; +x_4 = lean_box(0); +x_5 = 0; +x_6 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_6, 0, x_4); +lean_ctor_set(x_6, 1, x_2); +lean_ctor_set(x_6, 2, x_3); +lean_ctor_set(x_6, 3, x_4); +lean_ctor_set_uint8(x_6, sizeof(void*)*4, x_5); +return x_6; +} +else +{ +uint8_t x_7; +x_7 = lean_ctor_get_uint8(x_1, sizeof(void*)*4); +if (x_7 == 0) +{ +uint8_t x_8; +x_8 = !lean_is_exclusive(x_1); +if (x_8 == 0) +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_9 = lean_ctor_get(x_1, 0); +x_10 = lean_ctor_get(x_1, 1); +x_11 = lean_ctor_get(x_1, 2); +x_12 = lean_ctor_get(x_1, 3); +x_13 = lean_nat_dec_lt(x_2, x_10); +if (x_13 == 0) +{ +uint8_t x_14; +x_14 = lean_nat_dec_lt(x_10, x_2); +if (x_14 == 0) +{ +uint8_t x_15; +lean_dec(x_11); +lean_dec(x_10); +x_15 = 0; +lean_ctor_set(x_1, 2, x_3); +lean_ctor_set(x_1, 1, x_2); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_15); +return x_1; +} +else +{ +lean_object* x_16; uint8_t x_17; +x_16 = l_Std_RBNode_ins___at_Lean_Meta_addDefaultInstanceEntry___spec__2(x_12, x_2, x_3); +x_17 = 0; +lean_ctor_set(x_1, 3, x_16); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_17); +return x_1; +} +} +else +{ +lean_object* x_18; uint8_t x_19; +x_18 = l_Std_RBNode_ins___at_Lean_Meta_addDefaultInstanceEntry___spec__2(x_9, x_2, x_3); +x_19 = 0; +lean_ctor_set(x_1, 0, x_18); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_19); +return x_1; +} +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; +x_20 = lean_ctor_get(x_1, 0); +x_21 = lean_ctor_get(x_1, 1); +x_22 = lean_ctor_get(x_1, 2); +x_23 = lean_ctor_get(x_1, 3); +lean_inc(x_23); +lean_inc(x_22); +lean_inc(x_21); +lean_inc(x_20); +lean_dec(x_1); +x_24 = lean_nat_dec_lt(x_2, x_21); +if (x_24 == 0) +{ +uint8_t x_25; +x_25 = lean_nat_dec_lt(x_21, x_2); +if (x_25 == 0) +{ +uint8_t x_26; lean_object* x_27; +lean_dec(x_22); +lean_dec(x_21); +x_26 = 0; +x_27 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_27, 0, x_20); +lean_ctor_set(x_27, 1, x_2); +lean_ctor_set(x_27, 2, x_3); +lean_ctor_set(x_27, 3, x_23); +lean_ctor_set_uint8(x_27, sizeof(void*)*4, x_26); +return x_27; +} +else +{ +lean_object* x_28; uint8_t x_29; lean_object* x_30; +x_28 = l_Std_RBNode_ins___at_Lean_Meta_addDefaultInstanceEntry___spec__2(x_23, x_2, x_3); +x_29 = 0; +x_30 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_30, 0, x_20); +lean_ctor_set(x_30, 1, x_21); +lean_ctor_set(x_30, 2, x_22); +lean_ctor_set(x_30, 3, x_28); +lean_ctor_set_uint8(x_30, sizeof(void*)*4, x_29); +return x_30; +} +} +else +{ +lean_object* x_31; uint8_t x_32; lean_object* x_33; +x_31 = l_Std_RBNode_ins___at_Lean_Meta_addDefaultInstanceEntry___spec__2(x_20, x_2, x_3); +x_32 = 0; +x_33 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_33, 0, x_31); +lean_ctor_set(x_33, 1, x_21); +lean_ctor_set(x_33, 2, x_22); +lean_ctor_set(x_33, 3, x_23); +lean_ctor_set_uint8(x_33, sizeof(void*)*4, x_32); +return x_33; +} +} +} +else +{ +uint8_t x_34; +x_34 = !lean_is_exclusive(x_1); +if (x_34 == 0) +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; +x_35 = lean_ctor_get(x_1, 0); +x_36 = lean_ctor_get(x_1, 1); +x_37 = lean_ctor_get(x_1, 2); +x_38 = lean_ctor_get(x_1, 3); +x_39 = lean_nat_dec_lt(x_2, x_36); +if (x_39 == 0) +{ +uint8_t x_40; +x_40 = lean_nat_dec_lt(x_36, x_2); +if (x_40 == 0) +{ +uint8_t x_41; +lean_dec(x_37); +lean_dec(x_36); +x_41 = 1; +lean_ctor_set(x_1, 2, x_3); +lean_ctor_set(x_1, 1, x_2); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_41); +return x_1; +} +else +{ +uint8_t x_42; +x_42 = l_Std_RBNode_isRed___rarg(x_38); +if (x_42 == 0) +{ +lean_object* x_43; uint8_t x_44; +x_43 = l_Std_RBNode_ins___at_Lean_Meta_addDefaultInstanceEntry___spec__2(x_38, x_2, x_3); +x_44 = 1; +lean_ctor_set(x_1, 3, x_43); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_44); +return x_1; +} +else +{ +lean_object* x_45; lean_object* x_46; +x_45 = l_Std_RBNode_ins___at_Lean_Meta_addDefaultInstanceEntry___spec__2(x_38, x_2, x_3); +x_46 = lean_ctor_get(x_45, 0); +lean_inc(x_46); +if (lean_obj_tag(x_46) == 0) +{ +lean_object* x_47; +x_47 = lean_ctor_get(x_45, 3); +lean_inc(x_47); +if (lean_obj_tag(x_47) == 0) +{ +uint8_t x_48; +x_48 = !lean_is_exclusive(x_45); +if (x_48 == 0) +{ +lean_object* x_49; lean_object* x_50; uint8_t x_51; uint8_t x_52; +x_49 = lean_ctor_get(x_45, 3); +lean_dec(x_49); +x_50 = lean_ctor_get(x_45, 0); +lean_dec(x_50); +x_51 = 0; +lean_ctor_set(x_45, 0, x_47); +lean_ctor_set_uint8(x_45, sizeof(void*)*4, x_51); +x_52 = 1; +lean_ctor_set(x_1, 3, x_45); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_52); +return x_1; +} +else +{ +lean_object* x_53; lean_object* x_54; uint8_t x_55; lean_object* x_56; uint8_t x_57; +x_53 = lean_ctor_get(x_45, 1); +x_54 = lean_ctor_get(x_45, 2); +lean_inc(x_54); +lean_inc(x_53); +lean_dec(x_45); +x_55 = 0; +x_56 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_56, 0, x_47); +lean_ctor_set(x_56, 1, x_53); +lean_ctor_set(x_56, 2, x_54); +lean_ctor_set(x_56, 3, x_47); +lean_ctor_set_uint8(x_56, sizeof(void*)*4, x_55); +x_57 = 1; +lean_ctor_set(x_1, 3, x_56); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_57); +return x_1; +} +} +else +{ +uint8_t x_58; +x_58 = lean_ctor_get_uint8(x_47, sizeof(void*)*4); +if (x_58 == 0) +{ +uint8_t x_59; +x_59 = !lean_is_exclusive(x_45); +if (x_59 == 0) +{ +lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; uint8_t x_64; +x_60 = lean_ctor_get(x_45, 1); +x_61 = lean_ctor_get(x_45, 2); +x_62 = lean_ctor_get(x_45, 3); +lean_dec(x_62); +x_63 = lean_ctor_get(x_45, 0); +lean_dec(x_63); +x_64 = !lean_is_exclusive(x_47); +if (x_64 == 0) +{ +lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; uint8_t x_69; uint8_t x_70; +x_65 = lean_ctor_get(x_47, 0); +x_66 = lean_ctor_get(x_47, 1); +x_67 = lean_ctor_get(x_47, 2); +x_68 = lean_ctor_get(x_47, 3); +x_69 = 1; +lean_ctor_set(x_47, 3, x_46); +lean_ctor_set(x_47, 2, x_37); +lean_ctor_set(x_47, 1, x_36); +lean_ctor_set(x_47, 0, x_35); +lean_ctor_set_uint8(x_47, sizeof(void*)*4, x_69); +lean_ctor_set(x_45, 3, x_68); +lean_ctor_set(x_45, 2, x_67); +lean_ctor_set(x_45, 1, x_66); +lean_ctor_set(x_45, 0, x_65); +lean_ctor_set_uint8(x_45, sizeof(void*)*4, x_69); +x_70 = 0; +lean_ctor_set(x_1, 3, x_45); +lean_ctor_set(x_1, 2, x_61); +lean_ctor_set(x_1, 1, x_60); +lean_ctor_set(x_1, 0, x_47); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_70); +return x_1; +} +else +{ +lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; uint8_t x_75; lean_object* x_76; uint8_t x_77; +x_71 = lean_ctor_get(x_47, 0); +x_72 = lean_ctor_get(x_47, 1); +x_73 = lean_ctor_get(x_47, 2); +x_74 = lean_ctor_get(x_47, 3); +lean_inc(x_74); +lean_inc(x_73); +lean_inc(x_72); +lean_inc(x_71); +lean_dec(x_47); +x_75 = 1; +x_76 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_76, 0, x_35); +lean_ctor_set(x_76, 1, x_36); +lean_ctor_set(x_76, 2, x_37); +lean_ctor_set(x_76, 3, x_46); +lean_ctor_set_uint8(x_76, sizeof(void*)*4, x_75); +lean_ctor_set(x_45, 3, x_74); +lean_ctor_set(x_45, 2, x_73); +lean_ctor_set(x_45, 1, x_72); +lean_ctor_set(x_45, 0, x_71); +lean_ctor_set_uint8(x_45, sizeof(void*)*4, x_75); +x_77 = 0; +lean_ctor_set(x_1, 3, x_45); +lean_ctor_set(x_1, 2, x_61); +lean_ctor_set(x_1, 1, x_60); +lean_ctor_set(x_1, 0, x_76); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_77); +return x_1; +} +} +else +{ +lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; uint8_t x_85; lean_object* x_86; lean_object* x_87; uint8_t x_88; +x_78 = lean_ctor_get(x_45, 1); +x_79 = lean_ctor_get(x_45, 2); +lean_inc(x_79); +lean_inc(x_78); +lean_dec(x_45); +x_80 = lean_ctor_get(x_47, 0); +lean_inc(x_80); +x_81 = lean_ctor_get(x_47, 1); +lean_inc(x_81); +x_82 = lean_ctor_get(x_47, 2); +lean_inc(x_82); +x_83 = lean_ctor_get(x_47, 3); +lean_inc(x_83); +if (lean_is_exclusive(x_47)) { + lean_ctor_release(x_47, 0); + lean_ctor_release(x_47, 1); + lean_ctor_release(x_47, 2); + lean_ctor_release(x_47, 3); + x_84 = x_47; +} else { + lean_dec_ref(x_47); + x_84 = lean_box(0); +} +x_85 = 1; +if (lean_is_scalar(x_84)) { + x_86 = lean_alloc_ctor(1, 4, 1); +} else { + x_86 = x_84; +} +lean_ctor_set(x_86, 0, x_35); +lean_ctor_set(x_86, 1, x_36); +lean_ctor_set(x_86, 2, x_37); +lean_ctor_set(x_86, 3, x_46); +lean_ctor_set_uint8(x_86, sizeof(void*)*4, x_85); +x_87 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_87, 0, x_80); +lean_ctor_set(x_87, 1, x_81); +lean_ctor_set(x_87, 2, x_82); +lean_ctor_set(x_87, 3, x_83); +lean_ctor_set_uint8(x_87, sizeof(void*)*4, x_85); +x_88 = 0; +lean_ctor_set(x_1, 3, x_87); +lean_ctor_set(x_1, 2, x_79); +lean_ctor_set(x_1, 1, x_78); +lean_ctor_set(x_1, 0, x_86); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_88); +return x_1; +} +} +else +{ +uint8_t x_89; +x_89 = !lean_is_exclusive(x_45); +if (x_89 == 0) +{ +lean_object* x_90; lean_object* x_91; uint8_t x_92; uint8_t x_93; +x_90 = lean_ctor_get(x_45, 3); +lean_dec(x_90); +x_91 = lean_ctor_get(x_45, 0); +lean_dec(x_91); +x_92 = 0; +lean_ctor_set_uint8(x_45, sizeof(void*)*4, x_92); +x_93 = 1; +lean_ctor_set(x_1, 3, x_45); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_93); +return x_1; +} +else +{ +lean_object* x_94; lean_object* x_95; uint8_t x_96; lean_object* x_97; uint8_t x_98; +x_94 = lean_ctor_get(x_45, 1); +x_95 = lean_ctor_get(x_45, 2); +lean_inc(x_95); +lean_inc(x_94); +lean_dec(x_45); +x_96 = 0; +x_97 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_97, 0, x_46); +lean_ctor_set(x_97, 1, x_94); +lean_ctor_set(x_97, 2, x_95); +lean_ctor_set(x_97, 3, x_47); +lean_ctor_set_uint8(x_97, sizeof(void*)*4, x_96); +x_98 = 1; +lean_ctor_set(x_1, 3, x_97); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_98); +return x_1; +} +} +} +} +else +{ +uint8_t x_99; +x_99 = lean_ctor_get_uint8(x_46, sizeof(void*)*4); +if (x_99 == 0) +{ +uint8_t x_100; +x_100 = !lean_is_exclusive(x_45); +if (x_100 == 0) +{ +lean_object* x_101; uint8_t x_102; +x_101 = lean_ctor_get(x_45, 0); +lean_dec(x_101); +x_102 = !lean_is_exclusive(x_46); +if (x_102 == 0) +{ +lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; uint8_t x_107; uint8_t x_108; +x_103 = lean_ctor_get(x_46, 0); +x_104 = lean_ctor_get(x_46, 1); +x_105 = lean_ctor_get(x_46, 2); +x_106 = lean_ctor_get(x_46, 3); +x_107 = 1; +lean_ctor_set(x_46, 3, x_103); +lean_ctor_set(x_46, 2, x_37); +lean_ctor_set(x_46, 1, x_36); +lean_ctor_set(x_46, 0, x_35); +lean_ctor_set_uint8(x_46, sizeof(void*)*4, x_107); +lean_ctor_set(x_45, 0, x_106); +lean_ctor_set_uint8(x_45, sizeof(void*)*4, x_107); +x_108 = 0; +lean_ctor_set(x_1, 3, x_45); +lean_ctor_set(x_1, 2, x_105); +lean_ctor_set(x_1, 1, x_104); +lean_ctor_set(x_1, 0, x_46); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_108); +return x_1; +} +else +{ +lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; uint8_t x_113; lean_object* x_114; uint8_t x_115; +x_109 = lean_ctor_get(x_46, 0); +x_110 = lean_ctor_get(x_46, 1); +x_111 = lean_ctor_get(x_46, 2); +x_112 = lean_ctor_get(x_46, 3); +lean_inc(x_112); +lean_inc(x_111); +lean_inc(x_110); +lean_inc(x_109); +lean_dec(x_46); +x_113 = 1; +x_114 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_114, 0, x_35); +lean_ctor_set(x_114, 1, x_36); +lean_ctor_set(x_114, 2, x_37); +lean_ctor_set(x_114, 3, x_109); +lean_ctor_set_uint8(x_114, sizeof(void*)*4, x_113); +lean_ctor_set(x_45, 0, x_112); +lean_ctor_set_uint8(x_45, sizeof(void*)*4, x_113); +x_115 = 0; +lean_ctor_set(x_1, 3, x_45); +lean_ctor_set(x_1, 2, x_111); +lean_ctor_set(x_1, 1, x_110); +lean_ctor_set(x_1, 0, x_114); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_115); +return x_1; +} +} +else +{ +lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; uint8_t x_124; lean_object* x_125; lean_object* x_126; uint8_t x_127; +x_116 = lean_ctor_get(x_45, 1); +x_117 = lean_ctor_get(x_45, 2); +x_118 = lean_ctor_get(x_45, 3); +lean_inc(x_118); +lean_inc(x_117); +lean_inc(x_116); +lean_dec(x_45); +x_119 = lean_ctor_get(x_46, 0); +lean_inc(x_119); +x_120 = lean_ctor_get(x_46, 1); +lean_inc(x_120); +x_121 = lean_ctor_get(x_46, 2); +lean_inc(x_121); +x_122 = lean_ctor_get(x_46, 3); +lean_inc(x_122); +if (lean_is_exclusive(x_46)) { + lean_ctor_release(x_46, 0); + lean_ctor_release(x_46, 1); + lean_ctor_release(x_46, 2); + lean_ctor_release(x_46, 3); + x_123 = x_46; +} else { + lean_dec_ref(x_46); + x_123 = lean_box(0); +} +x_124 = 1; +if (lean_is_scalar(x_123)) { + x_125 = lean_alloc_ctor(1, 4, 1); +} else { + x_125 = x_123; +} +lean_ctor_set(x_125, 0, x_35); +lean_ctor_set(x_125, 1, x_36); +lean_ctor_set(x_125, 2, x_37); +lean_ctor_set(x_125, 3, x_119); +lean_ctor_set_uint8(x_125, sizeof(void*)*4, x_124); +x_126 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_126, 0, x_122); +lean_ctor_set(x_126, 1, x_116); +lean_ctor_set(x_126, 2, x_117); +lean_ctor_set(x_126, 3, x_118); +lean_ctor_set_uint8(x_126, sizeof(void*)*4, x_124); +x_127 = 0; +lean_ctor_set(x_1, 3, x_126); +lean_ctor_set(x_1, 2, x_121); +lean_ctor_set(x_1, 1, x_120); +lean_ctor_set(x_1, 0, x_125); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_127); +return x_1; +} +} +else +{ +lean_object* x_128; +x_128 = lean_ctor_get(x_45, 3); +lean_inc(x_128); +if (lean_obj_tag(x_128) == 0) +{ +uint8_t x_129; +x_129 = !lean_is_exclusive(x_45); +if (x_129 == 0) +{ +lean_object* x_130; lean_object* x_131; uint8_t x_132; uint8_t x_133; +x_130 = lean_ctor_get(x_45, 3); +lean_dec(x_130); +x_131 = lean_ctor_get(x_45, 0); +lean_dec(x_131); +x_132 = 0; +lean_ctor_set_uint8(x_45, sizeof(void*)*4, x_132); +x_133 = 1; +lean_ctor_set(x_1, 3, x_45); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_133); +return x_1; +} +else +{ +lean_object* x_134; lean_object* x_135; uint8_t x_136; lean_object* x_137; uint8_t x_138; +x_134 = lean_ctor_get(x_45, 1); +x_135 = lean_ctor_get(x_45, 2); +lean_inc(x_135); +lean_inc(x_134); +lean_dec(x_45); +x_136 = 0; +x_137 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_137, 0, x_46); +lean_ctor_set(x_137, 1, x_134); +lean_ctor_set(x_137, 2, x_135); +lean_ctor_set(x_137, 3, x_128); +lean_ctor_set_uint8(x_137, sizeof(void*)*4, x_136); +x_138 = 1; +lean_ctor_set(x_1, 3, x_137); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_138); +return x_1; +} +} +else +{ +uint8_t x_139; +x_139 = lean_ctor_get_uint8(x_128, sizeof(void*)*4); +if (x_139 == 0) +{ +uint8_t x_140; +lean_free_object(x_1); +x_140 = !lean_is_exclusive(x_45); +if (x_140 == 0) +{ +lean_object* x_141; lean_object* x_142; uint8_t x_143; +x_141 = lean_ctor_get(x_45, 3); +lean_dec(x_141); +x_142 = lean_ctor_get(x_45, 0); +lean_dec(x_142); +x_143 = !lean_is_exclusive(x_128); +if (x_143 == 0) +{ +lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; uint8_t x_148; uint8_t x_149; +x_144 = lean_ctor_get(x_128, 0); +x_145 = lean_ctor_get(x_128, 1); +x_146 = lean_ctor_get(x_128, 2); +x_147 = lean_ctor_get(x_128, 3); +x_148 = 1; +lean_inc(x_46); +lean_ctor_set(x_128, 3, x_46); +lean_ctor_set(x_128, 2, x_37); +lean_ctor_set(x_128, 1, x_36); +lean_ctor_set(x_128, 0, x_35); +x_149 = !lean_is_exclusive(x_46); +if (x_149 == 0) +{ +lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; uint8_t x_154; +x_150 = lean_ctor_get(x_46, 3); +lean_dec(x_150); +x_151 = lean_ctor_get(x_46, 2); +lean_dec(x_151); +x_152 = lean_ctor_get(x_46, 1); +lean_dec(x_152); +x_153 = lean_ctor_get(x_46, 0); +lean_dec(x_153); +lean_ctor_set_uint8(x_128, sizeof(void*)*4, x_148); +lean_ctor_set(x_46, 3, x_147); +lean_ctor_set(x_46, 2, x_146); +lean_ctor_set(x_46, 1, x_145); +lean_ctor_set(x_46, 0, x_144); +lean_ctor_set_uint8(x_46, sizeof(void*)*4, x_148); +x_154 = 0; +lean_ctor_set(x_45, 3, x_46); +lean_ctor_set(x_45, 0, x_128); +lean_ctor_set_uint8(x_45, sizeof(void*)*4, x_154); +return x_45; +} +else +{ +lean_object* x_155; uint8_t x_156; +lean_dec(x_46); +lean_ctor_set_uint8(x_128, sizeof(void*)*4, x_148); +x_155 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_155, 0, x_144); +lean_ctor_set(x_155, 1, x_145); +lean_ctor_set(x_155, 2, x_146); +lean_ctor_set(x_155, 3, x_147); +lean_ctor_set_uint8(x_155, sizeof(void*)*4, x_148); +x_156 = 0; +lean_ctor_set(x_45, 3, x_155); +lean_ctor_set(x_45, 0, x_128); +lean_ctor_set_uint8(x_45, sizeof(void*)*4, x_156); +return x_45; +} +} +else +{ +lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; uint8_t x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; uint8_t x_165; +x_157 = lean_ctor_get(x_128, 0); +x_158 = lean_ctor_get(x_128, 1); +x_159 = lean_ctor_get(x_128, 2); +x_160 = lean_ctor_get(x_128, 3); +lean_inc(x_160); +lean_inc(x_159); +lean_inc(x_158); +lean_inc(x_157); +lean_dec(x_128); +x_161 = 1; +lean_inc(x_46); +x_162 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_162, 0, x_35); +lean_ctor_set(x_162, 1, x_36); +lean_ctor_set(x_162, 2, x_37); +lean_ctor_set(x_162, 3, x_46); +if (lean_is_exclusive(x_46)) { + lean_ctor_release(x_46, 0); + lean_ctor_release(x_46, 1); + lean_ctor_release(x_46, 2); + lean_ctor_release(x_46, 3); + x_163 = x_46; +} else { + lean_dec_ref(x_46); + x_163 = lean_box(0); +} +lean_ctor_set_uint8(x_162, sizeof(void*)*4, x_161); +if (lean_is_scalar(x_163)) { + x_164 = lean_alloc_ctor(1, 4, 1); +} else { + x_164 = x_163; +} +lean_ctor_set(x_164, 0, x_157); +lean_ctor_set(x_164, 1, x_158); +lean_ctor_set(x_164, 2, x_159); +lean_ctor_set(x_164, 3, x_160); +lean_ctor_set_uint8(x_164, sizeof(void*)*4, x_161); +x_165 = 0; +lean_ctor_set(x_45, 3, x_164); +lean_ctor_set(x_45, 0, x_162); +lean_ctor_set_uint8(x_45, sizeof(void*)*4, x_165); +return x_45; +} +} +else +{ +lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; uint8_t x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; uint8_t x_177; lean_object* x_178; +x_166 = lean_ctor_get(x_45, 1); +x_167 = lean_ctor_get(x_45, 2); +lean_inc(x_167); +lean_inc(x_166); +lean_dec(x_45); +x_168 = lean_ctor_get(x_128, 0); +lean_inc(x_168); +x_169 = lean_ctor_get(x_128, 1); +lean_inc(x_169); +x_170 = lean_ctor_get(x_128, 2); +lean_inc(x_170); +x_171 = lean_ctor_get(x_128, 3); +lean_inc(x_171); +if (lean_is_exclusive(x_128)) { + lean_ctor_release(x_128, 0); + lean_ctor_release(x_128, 1); + lean_ctor_release(x_128, 2); + lean_ctor_release(x_128, 3); + x_172 = x_128; +} else { + lean_dec_ref(x_128); + x_172 = lean_box(0); +} +x_173 = 1; +lean_inc(x_46); +if (lean_is_scalar(x_172)) { + x_174 = lean_alloc_ctor(1, 4, 1); +} else { + x_174 = x_172; +} +lean_ctor_set(x_174, 0, x_35); +lean_ctor_set(x_174, 1, x_36); +lean_ctor_set(x_174, 2, x_37); +lean_ctor_set(x_174, 3, x_46); +if (lean_is_exclusive(x_46)) { + lean_ctor_release(x_46, 0); + lean_ctor_release(x_46, 1); + lean_ctor_release(x_46, 2); + lean_ctor_release(x_46, 3); + x_175 = x_46; +} else { + lean_dec_ref(x_46); + x_175 = lean_box(0); +} +lean_ctor_set_uint8(x_174, sizeof(void*)*4, x_173); +if (lean_is_scalar(x_175)) { + x_176 = lean_alloc_ctor(1, 4, 1); +} else { + x_176 = x_175; +} +lean_ctor_set(x_176, 0, x_168); +lean_ctor_set(x_176, 1, x_169); +lean_ctor_set(x_176, 2, x_170); +lean_ctor_set(x_176, 3, x_171); +lean_ctor_set_uint8(x_176, sizeof(void*)*4, x_173); +x_177 = 0; +x_178 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_178, 0, x_174); +lean_ctor_set(x_178, 1, x_166); +lean_ctor_set(x_178, 2, x_167); +lean_ctor_set(x_178, 3, x_176); +lean_ctor_set_uint8(x_178, sizeof(void*)*4, x_177); +return x_178; +} +} +else +{ +uint8_t x_179; +x_179 = !lean_is_exclusive(x_45); +if (x_179 == 0) +{ +lean_object* x_180; lean_object* x_181; uint8_t x_182; +x_180 = lean_ctor_get(x_45, 3); +lean_dec(x_180); +x_181 = lean_ctor_get(x_45, 0); +lean_dec(x_181); +x_182 = !lean_is_exclusive(x_46); +if (x_182 == 0) +{ +uint8_t x_183; uint8_t x_184; +lean_ctor_set_uint8(x_46, sizeof(void*)*4, x_139); +x_183 = 0; +lean_ctor_set_uint8(x_45, sizeof(void*)*4, x_183); +x_184 = 1; +lean_ctor_set(x_1, 3, x_45); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_184); +return x_1; +} +else +{ +lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; uint8_t x_190; uint8_t x_191; +x_185 = lean_ctor_get(x_46, 0); +x_186 = lean_ctor_get(x_46, 1); +x_187 = lean_ctor_get(x_46, 2); +x_188 = lean_ctor_get(x_46, 3); +lean_inc(x_188); +lean_inc(x_187); +lean_inc(x_186); +lean_inc(x_185); +lean_dec(x_46); +x_189 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_189, 0, x_185); +lean_ctor_set(x_189, 1, x_186); +lean_ctor_set(x_189, 2, x_187); +lean_ctor_set(x_189, 3, x_188); +lean_ctor_set_uint8(x_189, sizeof(void*)*4, x_139); +x_190 = 0; +lean_ctor_set(x_45, 0, x_189); +lean_ctor_set_uint8(x_45, sizeof(void*)*4, x_190); +x_191 = 1; +lean_ctor_set(x_1, 3, x_45); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_191); +return x_1; +} +} +else +{ +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; uint8_t x_200; lean_object* x_201; uint8_t x_202; +x_192 = lean_ctor_get(x_45, 1); +x_193 = lean_ctor_get(x_45, 2); +lean_inc(x_193); +lean_inc(x_192); +lean_dec(x_45); +x_194 = lean_ctor_get(x_46, 0); +lean_inc(x_194); +x_195 = lean_ctor_get(x_46, 1); +lean_inc(x_195); +x_196 = lean_ctor_get(x_46, 2); +lean_inc(x_196); +x_197 = lean_ctor_get(x_46, 3); +lean_inc(x_197); +if (lean_is_exclusive(x_46)) { + lean_ctor_release(x_46, 0); + lean_ctor_release(x_46, 1); + lean_ctor_release(x_46, 2); + lean_ctor_release(x_46, 3); + x_198 = x_46; +} else { + lean_dec_ref(x_46); + x_198 = lean_box(0); +} +if (lean_is_scalar(x_198)) { + x_199 = lean_alloc_ctor(1, 4, 1); +} else { + x_199 = x_198; +} +lean_ctor_set(x_199, 0, x_194); +lean_ctor_set(x_199, 1, x_195); +lean_ctor_set(x_199, 2, x_196); +lean_ctor_set(x_199, 3, x_197); +lean_ctor_set_uint8(x_199, sizeof(void*)*4, x_139); +x_200 = 0; +x_201 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_201, 0, x_199); +lean_ctor_set(x_201, 1, x_192); +lean_ctor_set(x_201, 2, x_193); +lean_ctor_set(x_201, 3, x_128); +lean_ctor_set_uint8(x_201, sizeof(void*)*4, x_200); +x_202 = 1; +lean_ctor_set(x_1, 3, x_201); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_202); +return x_1; +} +} +} +} +} +} +} +} +else +{ +uint8_t x_203; +x_203 = l_Std_RBNode_isRed___rarg(x_35); +if (x_203 == 0) +{ +lean_object* x_204; uint8_t x_205; +x_204 = l_Std_RBNode_ins___at_Lean_Meta_addDefaultInstanceEntry___spec__2(x_35, x_2, x_3); +x_205 = 1; +lean_ctor_set(x_1, 0, x_204); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_205); +return x_1; +} +else +{ +lean_object* x_206; lean_object* x_207; +x_206 = l_Std_RBNode_ins___at_Lean_Meta_addDefaultInstanceEntry___spec__2(x_35, x_2, x_3); +x_207 = lean_ctor_get(x_206, 0); +lean_inc(x_207); +if (lean_obj_tag(x_207) == 0) +{ +lean_object* x_208; +x_208 = lean_ctor_get(x_206, 3); +lean_inc(x_208); +if (lean_obj_tag(x_208) == 0) +{ +uint8_t x_209; +x_209 = !lean_is_exclusive(x_206); +if (x_209 == 0) +{ +lean_object* x_210; lean_object* x_211; uint8_t x_212; uint8_t x_213; +x_210 = lean_ctor_get(x_206, 3); +lean_dec(x_210); +x_211 = lean_ctor_get(x_206, 0); +lean_dec(x_211); +x_212 = 0; +lean_ctor_set(x_206, 0, x_208); +lean_ctor_set_uint8(x_206, sizeof(void*)*4, x_212); +x_213 = 1; +lean_ctor_set(x_1, 0, x_206); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_213); +return x_1; +} +else +{ +lean_object* x_214; lean_object* x_215; uint8_t x_216; lean_object* x_217; uint8_t x_218; +x_214 = lean_ctor_get(x_206, 1); +x_215 = lean_ctor_get(x_206, 2); +lean_inc(x_215); +lean_inc(x_214); +lean_dec(x_206); +x_216 = 0; +x_217 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_217, 0, x_208); +lean_ctor_set(x_217, 1, x_214); +lean_ctor_set(x_217, 2, x_215); +lean_ctor_set(x_217, 3, x_208); +lean_ctor_set_uint8(x_217, sizeof(void*)*4, x_216); +x_218 = 1; +lean_ctor_set(x_1, 0, x_217); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_218); +return x_1; +} +} +else +{ +uint8_t x_219; +x_219 = lean_ctor_get_uint8(x_208, sizeof(void*)*4); +if (x_219 == 0) +{ +uint8_t x_220; +x_220 = !lean_is_exclusive(x_206); +if (x_220 == 0) +{ +lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; uint8_t x_225; +x_221 = lean_ctor_get(x_206, 1); +x_222 = lean_ctor_get(x_206, 2); +x_223 = lean_ctor_get(x_206, 3); +lean_dec(x_223); +x_224 = lean_ctor_get(x_206, 0); +lean_dec(x_224); +x_225 = !lean_is_exclusive(x_208); +if (x_225 == 0) +{ +lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; uint8_t x_230; uint8_t x_231; +x_226 = lean_ctor_get(x_208, 0); +x_227 = lean_ctor_get(x_208, 1); +x_228 = lean_ctor_get(x_208, 2); +x_229 = lean_ctor_get(x_208, 3); +x_230 = 1; +lean_ctor_set(x_208, 3, x_226); +lean_ctor_set(x_208, 2, x_222); +lean_ctor_set(x_208, 1, x_221); +lean_ctor_set(x_208, 0, x_207); +lean_ctor_set_uint8(x_208, sizeof(void*)*4, x_230); +lean_ctor_set(x_206, 3, x_38); +lean_ctor_set(x_206, 2, x_37); +lean_ctor_set(x_206, 1, x_36); +lean_ctor_set(x_206, 0, x_229); +lean_ctor_set_uint8(x_206, sizeof(void*)*4, x_230); +x_231 = 0; +lean_ctor_set(x_1, 3, x_206); +lean_ctor_set(x_1, 2, x_228); +lean_ctor_set(x_1, 1, x_227); +lean_ctor_set(x_1, 0, x_208); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_231); +return x_1; +} +else +{ +lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; uint8_t x_236; lean_object* x_237; uint8_t x_238; +x_232 = lean_ctor_get(x_208, 0); +x_233 = lean_ctor_get(x_208, 1); +x_234 = lean_ctor_get(x_208, 2); +x_235 = lean_ctor_get(x_208, 3); +lean_inc(x_235); +lean_inc(x_234); +lean_inc(x_233); +lean_inc(x_232); +lean_dec(x_208); +x_236 = 1; +x_237 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_237, 0, x_207); +lean_ctor_set(x_237, 1, x_221); +lean_ctor_set(x_237, 2, x_222); +lean_ctor_set(x_237, 3, x_232); +lean_ctor_set_uint8(x_237, sizeof(void*)*4, x_236); +lean_ctor_set(x_206, 3, x_38); +lean_ctor_set(x_206, 2, x_37); +lean_ctor_set(x_206, 1, x_36); +lean_ctor_set(x_206, 0, x_235); +lean_ctor_set_uint8(x_206, sizeof(void*)*4, x_236); +x_238 = 0; +lean_ctor_set(x_1, 3, x_206); +lean_ctor_set(x_1, 2, x_234); +lean_ctor_set(x_1, 1, x_233); +lean_ctor_set(x_1, 0, x_237); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_238); +return x_1; +} +} +else +{ +lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; uint8_t x_246; lean_object* x_247; lean_object* x_248; uint8_t x_249; +x_239 = lean_ctor_get(x_206, 1); +x_240 = lean_ctor_get(x_206, 2); +lean_inc(x_240); +lean_inc(x_239); +lean_dec(x_206); +x_241 = lean_ctor_get(x_208, 0); +lean_inc(x_241); +x_242 = lean_ctor_get(x_208, 1); +lean_inc(x_242); +x_243 = lean_ctor_get(x_208, 2); +lean_inc(x_243); +x_244 = lean_ctor_get(x_208, 3); +lean_inc(x_244); +if (lean_is_exclusive(x_208)) { + lean_ctor_release(x_208, 0); + lean_ctor_release(x_208, 1); + lean_ctor_release(x_208, 2); + lean_ctor_release(x_208, 3); + x_245 = x_208; +} else { + lean_dec_ref(x_208); + x_245 = lean_box(0); +} +x_246 = 1; +if (lean_is_scalar(x_245)) { + x_247 = lean_alloc_ctor(1, 4, 1); +} else { + x_247 = x_245; +} +lean_ctor_set(x_247, 0, x_207); +lean_ctor_set(x_247, 1, x_239); +lean_ctor_set(x_247, 2, x_240); +lean_ctor_set(x_247, 3, x_241); +lean_ctor_set_uint8(x_247, sizeof(void*)*4, x_246); +x_248 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_248, 0, x_244); +lean_ctor_set(x_248, 1, x_36); +lean_ctor_set(x_248, 2, x_37); +lean_ctor_set(x_248, 3, x_38); +lean_ctor_set_uint8(x_248, sizeof(void*)*4, x_246); +x_249 = 0; +lean_ctor_set(x_1, 3, x_248); +lean_ctor_set(x_1, 2, x_243); +lean_ctor_set(x_1, 1, x_242); +lean_ctor_set(x_1, 0, x_247); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_249); +return x_1; +} +} +else +{ +uint8_t x_250; +x_250 = !lean_is_exclusive(x_206); +if (x_250 == 0) +{ +lean_object* x_251; lean_object* x_252; uint8_t x_253; uint8_t x_254; +x_251 = lean_ctor_get(x_206, 3); +lean_dec(x_251); +x_252 = lean_ctor_get(x_206, 0); +lean_dec(x_252); +x_253 = 0; +lean_ctor_set_uint8(x_206, sizeof(void*)*4, x_253); +x_254 = 1; +lean_ctor_set(x_1, 0, x_206); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_254); +return x_1; +} +else +{ +lean_object* x_255; lean_object* x_256; uint8_t x_257; lean_object* x_258; uint8_t x_259; +x_255 = lean_ctor_get(x_206, 1); +x_256 = lean_ctor_get(x_206, 2); +lean_inc(x_256); +lean_inc(x_255); +lean_dec(x_206); +x_257 = 0; +x_258 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_258, 0, x_207); +lean_ctor_set(x_258, 1, x_255); +lean_ctor_set(x_258, 2, x_256); +lean_ctor_set(x_258, 3, x_208); +lean_ctor_set_uint8(x_258, sizeof(void*)*4, x_257); +x_259 = 1; +lean_ctor_set(x_1, 0, x_258); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_259); +return x_1; +} +} +} +} +else +{ +uint8_t x_260; +x_260 = lean_ctor_get_uint8(x_207, sizeof(void*)*4); +if (x_260 == 0) +{ +uint8_t x_261; +x_261 = !lean_is_exclusive(x_206); +if (x_261 == 0) +{ +lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; uint8_t x_266; +x_262 = lean_ctor_get(x_206, 1); +x_263 = lean_ctor_get(x_206, 2); +x_264 = lean_ctor_get(x_206, 3); +x_265 = lean_ctor_get(x_206, 0); +lean_dec(x_265); +x_266 = !lean_is_exclusive(x_207); +if (x_266 == 0) +{ +uint8_t x_267; uint8_t x_268; +x_267 = 1; +lean_ctor_set_uint8(x_207, sizeof(void*)*4, x_267); +lean_ctor_set(x_206, 3, x_38); +lean_ctor_set(x_206, 2, x_37); +lean_ctor_set(x_206, 1, x_36); +lean_ctor_set(x_206, 0, x_264); +lean_ctor_set_uint8(x_206, sizeof(void*)*4, x_267); +x_268 = 0; +lean_ctor_set(x_1, 3, x_206); +lean_ctor_set(x_1, 2, x_263); +lean_ctor_set(x_1, 1, x_262); +lean_ctor_set(x_1, 0, x_207); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_268); +return x_1; +} +else +{ +lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; uint8_t x_273; lean_object* x_274; uint8_t x_275; +x_269 = lean_ctor_get(x_207, 0); +x_270 = lean_ctor_get(x_207, 1); +x_271 = lean_ctor_get(x_207, 2); +x_272 = lean_ctor_get(x_207, 3); +lean_inc(x_272); +lean_inc(x_271); +lean_inc(x_270); +lean_inc(x_269); +lean_dec(x_207); +x_273 = 1; +x_274 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_274, 0, x_269); +lean_ctor_set(x_274, 1, x_270); +lean_ctor_set(x_274, 2, x_271); +lean_ctor_set(x_274, 3, x_272); +lean_ctor_set_uint8(x_274, sizeof(void*)*4, x_273); +lean_ctor_set(x_206, 3, x_38); +lean_ctor_set(x_206, 2, x_37); +lean_ctor_set(x_206, 1, x_36); +lean_ctor_set(x_206, 0, x_264); +lean_ctor_set_uint8(x_206, sizeof(void*)*4, x_273); +x_275 = 0; +lean_ctor_set(x_1, 3, x_206); +lean_ctor_set(x_1, 2, x_263); +lean_ctor_set(x_1, 1, x_262); +lean_ctor_set(x_1, 0, x_274); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_275); +return x_1; +} +} +else +{ +lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; uint8_t x_284; lean_object* x_285; lean_object* x_286; uint8_t x_287; +x_276 = lean_ctor_get(x_206, 1); +x_277 = lean_ctor_get(x_206, 2); +x_278 = lean_ctor_get(x_206, 3); +lean_inc(x_278); +lean_inc(x_277); +lean_inc(x_276); +lean_dec(x_206); +x_279 = lean_ctor_get(x_207, 0); +lean_inc(x_279); +x_280 = lean_ctor_get(x_207, 1); +lean_inc(x_280); +x_281 = lean_ctor_get(x_207, 2); +lean_inc(x_281); +x_282 = lean_ctor_get(x_207, 3); +lean_inc(x_282); +if (lean_is_exclusive(x_207)) { + lean_ctor_release(x_207, 0); + lean_ctor_release(x_207, 1); + lean_ctor_release(x_207, 2); + lean_ctor_release(x_207, 3); + x_283 = x_207; +} else { + lean_dec_ref(x_207); + x_283 = lean_box(0); +} +x_284 = 1; +if (lean_is_scalar(x_283)) { + x_285 = lean_alloc_ctor(1, 4, 1); +} else { + x_285 = x_283; +} +lean_ctor_set(x_285, 0, x_279); +lean_ctor_set(x_285, 1, x_280); +lean_ctor_set(x_285, 2, x_281); +lean_ctor_set(x_285, 3, x_282); +lean_ctor_set_uint8(x_285, sizeof(void*)*4, x_284); +x_286 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_286, 0, x_278); +lean_ctor_set(x_286, 1, x_36); +lean_ctor_set(x_286, 2, x_37); +lean_ctor_set(x_286, 3, x_38); +lean_ctor_set_uint8(x_286, sizeof(void*)*4, x_284); +x_287 = 0; +lean_ctor_set(x_1, 3, x_286); +lean_ctor_set(x_1, 2, x_277); +lean_ctor_set(x_1, 1, x_276); +lean_ctor_set(x_1, 0, x_285); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_287); +return x_1; +} +} +else +{ +lean_object* x_288; +x_288 = lean_ctor_get(x_206, 3); +lean_inc(x_288); +if (lean_obj_tag(x_288) == 0) +{ +uint8_t x_289; +x_289 = !lean_is_exclusive(x_206); +if (x_289 == 0) +{ +lean_object* x_290; lean_object* x_291; uint8_t x_292; uint8_t x_293; +x_290 = lean_ctor_get(x_206, 3); +lean_dec(x_290); +x_291 = lean_ctor_get(x_206, 0); +lean_dec(x_291); +x_292 = 0; +lean_ctor_set_uint8(x_206, sizeof(void*)*4, x_292); +x_293 = 1; +lean_ctor_set(x_1, 0, x_206); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_293); +return x_1; +} +else +{ +lean_object* x_294; lean_object* x_295; uint8_t x_296; lean_object* x_297; uint8_t x_298; +x_294 = lean_ctor_get(x_206, 1); +x_295 = lean_ctor_get(x_206, 2); +lean_inc(x_295); +lean_inc(x_294); +lean_dec(x_206); +x_296 = 0; +x_297 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_297, 0, x_207); +lean_ctor_set(x_297, 1, x_294); +lean_ctor_set(x_297, 2, x_295); +lean_ctor_set(x_297, 3, x_288); +lean_ctor_set_uint8(x_297, sizeof(void*)*4, x_296); +x_298 = 1; +lean_ctor_set(x_1, 0, x_297); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_298); +return x_1; +} +} +else +{ +uint8_t x_299; +x_299 = lean_ctor_get_uint8(x_288, sizeof(void*)*4); +if (x_299 == 0) +{ +uint8_t x_300; +lean_free_object(x_1); +x_300 = !lean_is_exclusive(x_206); +if (x_300 == 0) +{ +lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; uint8_t x_305; +x_301 = lean_ctor_get(x_206, 1); +x_302 = lean_ctor_get(x_206, 2); +x_303 = lean_ctor_get(x_206, 3); +lean_dec(x_303); +x_304 = lean_ctor_get(x_206, 0); +lean_dec(x_304); +x_305 = !lean_is_exclusive(x_288); +if (x_305 == 0) +{ +lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; uint8_t x_310; uint8_t x_311; +x_306 = lean_ctor_get(x_288, 0); +x_307 = lean_ctor_get(x_288, 1); +x_308 = lean_ctor_get(x_288, 2); +x_309 = lean_ctor_get(x_288, 3); +x_310 = 1; +lean_inc(x_207); +lean_ctor_set(x_288, 3, x_306); +lean_ctor_set(x_288, 2, x_302); +lean_ctor_set(x_288, 1, x_301); +lean_ctor_set(x_288, 0, x_207); +x_311 = !lean_is_exclusive(x_207); +if (x_311 == 0) +{ +lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; uint8_t x_316; +x_312 = lean_ctor_get(x_207, 3); +lean_dec(x_312); +x_313 = lean_ctor_get(x_207, 2); +lean_dec(x_313); +x_314 = lean_ctor_get(x_207, 1); +lean_dec(x_314); +x_315 = lean_ctor_get(x_207, 0); +lean_dec(x_315); +lean_ctor_set_uint8(x_288, sizeof(void*)*4, x_310); +lean_ctor_set(x_207, 3, x_38); +lean_ctor_set(x_207, 2, x_37); +lean_ctor_set(x_207, 1, x_36); +lean_ctor_set(x_207, 0, x_309); +lean_ctor_set_uint8(x_207, sizeof(void*)*4, x_310); +x_316 = 0; +lean_ctor_set(x_206, 3, x_207); +lean_ctor_set(x_206, 2, x_308); +lean_ctor_set(x_206, 1, x_307); +lean_ctor_set(x_206, 0, x_288); +lean_ctor_set_uint8(x_206, sizeof(void*)*4, x_316); +return x_206; +} +else +{ +lean_object* x_317; uint8_t x_318; +lean_dec(x_207); +lean_ctor_set_uint8(x_288, sizeof(void*)*4, x_310); +x_317 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_317, 0, x_309); +lean_ctor_set(x_317, 1, x_36); +lean_ctor_set(x_317, 2, x_37); +lean_ctor_set(x_317, 3, x_38); +lean_ctor_set_uint8(x_317, sizeof(void*)*4, x_310); +x_318 = 0; +lean_ctor_set(x_206, 3, x_317); +lean_ctor_set(x_206, 2, x_308); +lean_ctor_set(x_206, 1, x_307); +lean_ctor_set(x_206, 0, x_288); +lean_ctor_set_uint8(x_206, sizeof(void*)*4, x_318); +return x_206; +} +} +else +{ +lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; uint8_t x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; uint8_t x_327; +x_319 = lean_ctor_get(x_288, 0); +x_320 = lean_ctor_get(x_288, 1); +x_321 = lean_ctor_get(x_288, 2); +x_322 = lean_ctor_get(x_288, 3); +lean_inc(x_322); +lean_inc(x_321); +lean_inc(x_320); +lean_inc(x_319); +lean_dec(x_288); +x_323 = 1; +lean_inc(x_207); +x_324 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_324, 0, x_207); +lean_ctor_set(x_324, 1, x_301); +lean_ctor_set(x_324, 2, x_302); +lean_ctor_set(x_324, 3, x_319); +if (lean_is_exclusive(x_207)) { + lean_ctor_release(x_207, 0); + lean_ctor_release(x_207, 1); + lean_ctor_release(x_207, 2); + lean_ctor_release(x_207, 3); + x_325 = x_207; +} else { + lean_dec_ref(x_207); + x_325 = lean_box(0); +} +lean_ctor_set_uint8(x_324, sizeof(void*)*4, x_323); +if (lean_is_scalar(x_325)) { + x_326 = lean_alloc_ctor(1, 4, 1); +} else { + x_326 = x_325; +} +lean_ctor_set(x_326, 0, x_322); +lean_ctor_set(x_326, 1, x_36); +lean_ctor_set(x_326, 2, x_37); +lean_ctor_set(x_326, 3, x_38); +lean_ctor_set_uint8(x_326, sizeof(void*)*4, x_323); +x_327 = 0; +lean_ctor_set(x_206, 3, x_326); +lean_ctor_set(x_206, 2, x_321); +lean_ctor_set(x_206, 1, x_320); +lean_ctor_set(x_206, 0, x_324); +lean_ctor_set_uint8(x_206, sizeof(void*)*4, x_327); +return x_206; +} +} +else +{ +lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; uint8_t x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; uint8_t x_339; lean_object* x_340; +x_328 = lean_ctor_get(x_206, 1); +x_329 = lean_ctor_get(x_206, 2); +lean_inc(x_329); +lean_inc(x_328); +lean_dec(x_206); +x_330 = lean_ctor_get(x_288, 0); +lean_inc(x_330); +x_331 = lean_ctor_get(x_288, 1); +lean_inc(x_331); +x_332 = lean_ctor_get(x_288, 2); +lean_inc(x_332); +x_333 = lean_ctor_get(x_288, 3); +lean_inc(x_333); +if (lean_is_exclusive(x_288)) { + lean_ctor_release(x_288, 0); + lean_ctor_release(x_288, 1); + lean_ctor_release(x_288, 2); + lean_ctor_release(x_288, 3); + x_334 = x_288; +} else { + lean_dec_ref(x_288); + x_334 = lean_box(0); +} +x_335 = 1; +lean_inc(x_207); +if (lean_is_scalar(x_334)) { + x_336 = lean_alloc_ctor(1, 4, 1); +} else { + x_336 = x_334; +} +lean_ctor_set(x_336, 0, x_207); +lean_ctor_set(x_336, 1, x_328); +lean_ctor_set(x_336, 2, x_329); +lean_ctor_set(x_336, 3, x_330); +if (lean_is_exclusive(x_207)) { + lean_ctor_release(x_207, 0); + lean_ctor_release(x_207, 1); + lean_ctor_release(x_207, 2); + lean_ctor_release(x_207, 3); + x_337 = x_207; +} else { + lean_dec_ref(x_207); + x_337 = lean_box(0); +} +lean_ctor_set_uint8(x_336, sizeof(void*)*4, x_335); +if (lean_is_scalar(x_337)) { + x_338 = lean_alloc_ctor(1, 4, 1); +} else { + x_338 = x_337; +} +lean_ctor_set(x_338, 0, x_333); +lean_ctor_set(x_338, 1, x_36); +lean_ctor_set(x_338, 2, x_37); +lean_ctor_set(x_338, 3, x_38); +lean_ctor_set_uint8(x_338, sizeof(void*)*4, x_335); +x_339 = 0; +x_340 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_340, 0, x_336); +lean_ctor_set(x_340, 1, x_331); +lean_ctor_set(x_340, 2, x_332); +lean_ctor_set(x_340, 3, x_338); +lean_ctor_set_uint8(x_340, sizeof(void*)*4, x_339); +return x_340; +} +} +else +{ +uint8_t x_341; +x_341 = !lean_is_exclusive(x_206); +if (x_341 == 0) +{ +lean_object* x_342; lean_object* x_343; uint8_t x_344; +x_342 = lean_ctor_get(x_206, 3); +lean_dec(x_342); +x_343 = lean_ctor_get(x_206, 0); +lean_dec(x_343); +x_344 = !lean_is_exclusive(x_207); +if (x_344 == 0) +{ +uint8_t x_345; uint8_t x_346; +lean_ctor_set_uint8(x_207, sizeof(void*)*4, x_299); +x_345 = 0; +lean_ctor_set_uint8(x_206, sizeof(void*)*4, x_345); +x_346 = 1; +lean_ctor_set(x_1, 0, x_206); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_346); +return x_1; +} +else +{ +lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; uint8_t x_352; uint8_t x_353; +x_347 = lean_ctor_get(x_207, 0); +x_348 = lean_ctor_get(x_207, 1); +x_349 = lean_ctor_get(x_207, 2); +x_350 = lean_ctor_get(x_207, 3); +lean_inc(x_350); +lean_inc(x_349); +lean_inc(x_348); +lean_inc(x_347); +lean_dec(x_207); +x_351 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_351, 0, x_347); +lean_ctor_set(x_351, 1, x_348); +lean_ctor_set(x_351, 2, x_349); +lean_ctor_set(x_351, 3, x_350); +lean_ctor_set_uint8(x_351, sizeof(void*)*4, x_299); +x_352 = 0; +lean_ctor_set(x_206, 0, x_351); +lean_ctor_set_uint8(x_206, sizeof(void*)*4, x_352); +x_353 = 1; +lean_ctor_set(x_1, 0, x_206); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_353); +return x_1; +} +} +else +{ +lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; uint8_t x_362; lean_object* x_363; uint8_t x_364; +x_354 = lean_ctor_get(x_206, 1); +x_355 = lean_ctor_get(x_206, 2); +lean_inc(x_355); +lean_inc(x_354); +lean_dec(x_206); +x_356 = lean_ctor_get(x_207, 0); +lean_inc(x_356); +x_357 = lean_ctor_get(x_207, 1); +lean_inc(x_357); +x_358 = lean_ctor_get(x_207, 2); +lean_inc(x_358); +x_359 = lean_ctor_get(x_207, 3); +lean_inc(x_359); +if (lean_is_exclusive(x_207)) { + lean_ctor_release(x_207, 0); + lean_ctor_release(x_207, 1); + lean_ctor_release(x_207, 2); + lean_ctor_release(x_207, 3); + x_360 = x_207; +} else { + lean_dec_ref(x_207); + x_360 = lean_box(0); +} +if (lean_is_scalar(x_360)) { + x_361 = lean_alloc_ctor(1, 4, 1); +} else { + x_361 = x_360; +} +lean_ctor_set(x_361, 0, x_356); +lean_ctor_set(x_361, 1, x_357); +lean_ctor_set(x_361, 2, x_358); +lean_ctor_set(x_361, 3, x_359); +lean_ctor_set_uint8(x_361, sizeof(void*)*4, x_299); +x_362 = 0; +x_363 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_363, 0, x_361); +lean_ctor_set(x_363, 1, x_354); +lean_ctor_set(x_363, 2, x_355); +lean_ctor_set(x_363, 3, x_288); +lean_ctor_set_uint8(x_363, sizeof(void*)*4, x_362); +x_364 = 1; +lean_ctor_set(x_1, 0, x_363); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_364); +return x_1; +} +} +} +} +} +} +} +} +else +{ +lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; uint8_t x_369; +x_365 = lean_ctor_get(x_1, 0); +x_366 = lean_ctor_get(x_1, 1); +x_367 = lean_ctor_get(x_1, 2); +x_368 = lean_ctor_get(x_1, 3); +lean_inc(x_368); +lean_inc(x_367); +lean_inc(x_366); +lean_inc(x_365); +lean_dec(x_1); +x_369 = lean_nat_dec_lt(x_2, x_366); +if (x_369 == 0) +{ +uint8_t x_370; +x_370 = lean_nat_dec_lt(x_366, x_2); +if (x_370 == 0) +{ +uint8_t x_371; lean_object* x_372; +lean_dec(x_367); +lean_dec(x_366); +x_371 = 1; +x_372 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_372, 0, x_365); +lean_ctor_set(x_372, 1, x_2); +lean_ctor_set(x_372, 2, x_3); +lean_ctor_set(x_372, 3, x_368); +lean_ctor_set_uint8(x_372, sizeof(void*)*4, x_371); +return x_372; +} +else +{ +uint8_t x_373; +x_373 = l_Std_RBNode_isRed___rarg(x_368); +if (x_373 == 0) +{ +lean_object* x_374; uint8_t x_375; lean_object* x_376; +x_374 = l_Std_RBNode_ins___at_Lean_Meta_addDefaultInstanceEntry___spec__2(x_368, x_2, x_3); +x_375 = 1; +x_376 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_376, 0, x_365); +lean_ctor_set(x_376, 1, x_366); +lean_ctor_set(x_376, 2, x_367); +lean_ctor_set(x_376, 3, x_374); +lean_ctor_set_uint8(x_376, sizeof(void*)*4, x_375); +return x_376; +} +else +{ +lean_object* x_377; lean_object* x_378; +x_377 = l_Std_RBNode_ins___at_Lean_Meta_addDefaultInstanceEntry___spec__2(x_368, x_2, x_3); +x_378 = lean_ctor_get(x_377, 0); +lean_inc(x_378); +if (lean_obj_tag(x_378) == 0) +{ +lean_object* x_379; +x_379 = lean_ctor_get(x_377, 3); +lean_inc(x_379); +if (lean_obj_tag(x_379) == 0) +{ +lean_object* x_380; lean_object* x_381; lean_object* x_382; uint8_t x_383; lean_object* x_384; uint8_t x_385; lean_object* x_386; +x_380 = lean_ctor_get(x_377, 1); +lean_inc(x_380); +x_381 = lean_ctor_get(x_377, 2); +lean_inc(x_381); +if (lean_is_exclusive(x_377)) { + lean_ctor_release(x_377, 0); + lean_ctor_release(x_377, 1); + lean_ctor_release(x_377, 2); + lean_ctor_release(x_377, 3); + x_382 = x_377; +} else { + lean_dec_ref(x_377); + x_382 = lean_box(0); +} +x_383 = 0; +if (lean_is_scalar(x_382)) { + x_384 = lean_alloc_ctor(1, 4, 1); +} else { + x_384 = x_382; +} +lean_ctor_set(x_384, 0, x_379); +lean_ctor_set(x_384, 1, x_380); +lean_ctor_set(x_384, 2, x_381); +lean_ctor_set(x_384, 3, x_379); +lean_ctor_set_uint8(x_384, sizeof(void*)*4, x_383); +x_385 = 1; +x_386 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_386, 0, x_365); +lean_ctor_set(x_386, 1, x_366); +lean_ctor_set(x_386, 2, x_367); +lean_ctor_set(x_386, 3, x_384); +lean_ctor_set_uint8(x_386, sizeof(void*)*4, x_385); +return x_386; +} +else +{ +uint8_t x_387; +x_387 = lean_ctor_get_uint8(x_379, sizeof(void*)*4); +if (x_387 == 0) +{ +lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; lean_object* x_395; uint8_t x_396; lean_object* x_397; lean_object* x_398; uint8_t x_399; lean_object* x_400; +x_388 = lean_ctor_get(x_377, 1); +lean_inc(x_388); +x_389 = lean_ctor_get(x_377, 2); +lean_inc(x_389); +if (lean_is_exclusive(x_377)) { + lean_ctor_release(x_377, 0); + lean_ctor_release(x_377, 1); + lean_ctor_release(x_377, 2); + lean_ctor_release(x_377, 3); + x_390 = x_377; +} else { + lean_dec_ref(x_377); + x_390 = lean_box(0); +} +x_391 = lean_ctor_get(x_379, 0); +lean_inc(x_391); +x_392 = lean_ctor_get(x_379, 1); +lean_inc(x_392); +x_393 = lean_ctor_get(x_379, 2); +lean_inc(x_393); +x_394 = lean_ctor_get(x_379, 3); +lean_inc(x_394); +if (lean_is_exclusive(x_379)) { + lean_ctor_release(x_379, 0); + lean_ctor_release(x_379, 1); + lean_ctor_release(x_379, 2); + lean_ctor_release(x_379, 3); + x_395 = x_379; +} else { + lean_dec_ref(x_379); + x_395 = lean_box(0); +} +x_396 = 1; +if (lean_is_scalar(x_395)) { + x_397 = lean_alloc_ctor(1, 4, 1); +} else { + x_397 = x_395; +} +lean_ctor_set(x_397, 0, x_365); +lean_ctor_set(x_397, 1, x_366); +lean_ctor_set(x_397, 2, x_367); +lean_ctor_set(x_397, 3, x_378); +lean_ctor_set_uint8(x_397, sizeof(void*)*4, x_396); +if (lean_is_scalar(x_390)) { + x_398 = lean_alloc_ctor(1, 4, 1); +} else { + x_398 = x_390; +} +lean_ctor_set(x_398, 0, x_391); +lean_ctor_set(x_398, 1, x_392); +lean_ctor_set(x_398, 2, x_393); +lean_ctor_set(x_398, 3, x_394); +lean_ctor_set_uint8(x_398, sizeof(void*)*4, x_396); +x_399 = 0; +x_400 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_400, 0, x_397); +lean_ctor_set(x_400, 1, x_388); +lean_ctor_set(x_400, 2, x_389); +lean_ctor_set(x_400, 3, x_398); +lean_ctor_set_uint8(x_400, sizeof(void*)*4, x_399); +return x_400; +} +else +{ +lean_object* x_401; lean_object* x_402; lean_object* x_403; uint8_t x_404; lean_object* x_405; uint8_t x_406; lean_object* x_407; +x_401 = lean_ctor_get(x_377, 1); +lean_inc(x_401); +x_402 = lean_ctor_get(x_377, 2); +lean_inc(x_402); +if (lean_is_exclusive(x_377)) { + lean_ctor_release(x_377, 0); + lean_ctor_release(x_377, 1); + lean_ctor_release(x_377, 2); + lean_ctor_release(x_377, 3); + x_403 = x_377; +} else { + lean_dec_ref(x_377); + x_403 = lean_box(0); +} +x_404 = 0; +if (lean_is_scalar(x_403)) { + x_405 = lean_alloc_ctor(1, 4, 1); +} else { + x_405 = x_403; +} +lean_ctor_set(x_405, 0, x_378); +lean_ctor_set(x_405, 1, x_401); +lean_ctor_set(x_405, 2, x_402); +lean_ctor_set(x_405, 3, x_379); +lean_ctor_set_uint8(x_405, sizeof(void*)*4, x_404); +x_406 = 1; +x_407 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_407, 0, x_365); +lean_ctor_set(x_407, 1, x_366); +lean_ctor_set(x_407, 2, x_367); +lean_ctor_set(x_407, 3, x_405); +lean_ctor_set_uint8(x_407, sizeof(void*)*4, x_406); +return x_407; +} +} +} +else +{ +uint8_t x_408; +x_408 = lean_ctor_get_uint8(x_378, sizeof(void*)*4); +if (x_408 == 0) +{ +lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; uint8_t x_418; lean_object* x_419; lean_object* x_420; uint8_t x_421; lean_object* x_422; +x_409 = lean_ctor_get(x_377, 1); +lean_inc(x_409); +x_410 = lean_ctor_get(x_377, 2); +lean_inc(x_410); +x_411 = lean_ctor_get(x_377, 3); +lean_inc(x_411); +if (lean_is_exclusive(x_377)) { + lean_ctor_release(x_377, 0); + lean_ctor_release(x_377, 1); + lean_ctor_release(x_377, 2); + lean_ctor_release(x_377, 3); + x_412 = x_377; +} else { + lean_dec_ref(x_377); + x_412 = lean_box(0); +} +x_413 = lean_ctor_get(x_378, 0); +lean_inc(x_413); +x_414 = lean_ctor_get(x_378, 1); +lean_inc(x_414); +x_415 = lean_ctor_get(x_378, 2); +lean_inc(x_415); +x_416 = lean_ctor_get(x_378, 3); +lean_inc(x_416); +if (lean_is_exclusive(x_378)) { + lean_ctor_release(x_378, 0); + lean_ctor_release(x_378, 1); + lean_ctor_release(x_378, 2); + lean_ctor_release(x_378, 3); + x_417 = x_378; +} else { + lean_dec_ref(x_378); + x_417 = lean_box(0); +} +x_418 = 1; +if (lean_is_scalar(x_417)) { + x_419 = lean_alloc_ctor(1, 4, 1); +} else { + x_419 = x_417; +} +lean_ctor_set(x_419, 0, x_365); +lean_ctor_set(x_419, 1, x_366); +lean_ctor_set(x_419, 2, x_367); +lean_ctor_set(x_419, 3, x_413); +lean_ctor_set_uint8(x_419, sizeof(void*)*4, x_418); +if (lean_is_scalar(x_412)) { + x_420 = lean_alloc_ctor(1, 4, 1); +} else { + x_420 = x_412; +} +lean_ctor_set(x_420, 0, x_416); +lean_ctor_set(x_420, 1, x_409); +lean_ctor_set(x_420, 2, x_410); +lean_ctor_set(x_420, 3, x_411); +lean_ctor_set_uint8(x_420, sizeof(void*)*4, x_418); +x_421 = 0; +x_422 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_422, 0, x_419); +lean_ctor_set(x_422, 1, x_414); +lean_ctor_set(x_422, 2, x_415); +lean_ctor_set(x_422, 3, x_420); +lean_ctor_set_uint8(x_422, sizeof(void*)*4, x_421); +return x_422; +} +else +{ +lean_object* x_423; +x_423 = lean_ctor_get(x_377, 3); +lean_inc(x_423); +if (lean_obj_tag(x_423) == 0) +{ +lean_object* x_424; lean_object* x_425; lean_object* x_426; uint8_t x_427; lean_object* x_428; uint8_t x_429; lean_object* x_430; +x_424 = lean_ctor_get(x_377, 1); +lean_inc(x_424); +x_425 = lean_ctor_get(x_377, 2); +lean_inc(x_425); +if (lean_is_exclusive(x_377)) { + lean_ctor_release(x_377, 0); + lean_ctor_release(x_377, 1); + lean_ctor_release(x_377, 2); + lean_ctor_release(x_377, 3); + x_426 = x_377; +} else { + lean_dec_ref(x_377); + x_426 = lean_box(0); +} +x_427 = 0; +if (lean_is_scalar(x_426)) { + x_428 = lean_alloc_ctor(1, 4, 1); +} else { + x_428 = x_426; +} +lean_ctor_set(x_428, 0, x_378); +lean_ctor_set(x_428, 1, x_424); +lean_ctor_set(x_428, 2, x_425); +lean_ctor_set(x_428, 3, x_423); +lean_ctor_set_uint8(x_428, sizeof(void*)*4, x_427); +x_429 = 1; +x_430 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_430, 0, x_365); +lean_ctor_set(x_430, 1, x_366); +lean_ctor_set(x_430, 2, x_367); +lean_ctor_set(x_430, 3, x_428); +lean_ctor_set_uint8(x_430, sizeof(void*)*4, x_429); +return x_430; +} +else +{ +uint8_t x_431; +x_431 = lean_ctor_get_uint8(x_423, sizeof(void*)*4); +if (x_431 == 0) +{ +lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; lean_object* x_436; lean_object* x_437; lean_object* x_438; lean_object* x_439; uint8_t x_440; lean_object* x_441; lean_object* x_442; lean_object* x_443; uint8_t x_444; lean_object* x_445; +x_432 = lean_ctor_get(x_377, 1); +lean_inc(x_432); +x_433 = lean_ctor_get(x_377, 2); +lean_inc(x_433); +if (lean_is_exclusive(x_377)) { + lean_ctor_release(x_377, 0); + lean_ctor_release(x_377, 1); + lean_ctor_release(x_377, 2); + lean_ctor_release(x_377, 3); + x_434 = x_377; +} else { + lean_dec_ref(x_377); + x_434 = lean_box(0); +} +x_435 = lean_ctor_get(x_423, 0); +lean_inc(x_435); +x_436 = lean_ctor_get(x_423, 1); +lean_inc(x_436); +x_437 = lean_ctor_get(x_423, 2); +lean_inc(x_437); +x_438 = lean_ctor_get(x_423, 3); +lean_inc(x_438); +if (lean_is_exclusive(x_423)) { + lean_ctor_release(x_423, 0); + lean_ctor_release(x_423, 1); + lean_ctor_release(x_423, 2); + lean_ctor_release(x_423, 3); + x_439 = x_423; +} else { + lean_dec_ref(x_423); + x_439 = lean_box(0); +} +x_440 = 1; +lean_inc(x_378); +if (lean_is_scalar(x_439)) { + x_441 = lean_alloc_ctor(1, 4, 1); +} else { + x_441 = x_439; +} +lean_ctor_set(x_441, 0, x_365); +lean_ctor_set(x_441, 1, x_366); +lean_ctor_set(x_441, 2, x_367); +lean_ctor_set(x_441, 3, x_378); +if (lean_is_exclusive(x_378)) { + lean_ctor_release(x_378, 0); + lean_ctor_release(x_378, 1); + lean_ctor_release(x_378, 2); + lean_ctor_release(x_378, 3); + x_442 = x_378; +} else { + lean_dec_ref(x_378); + x_442 = lean_box(0); +} +lean_ctor_set_uint8(x_441, sizeof(void*)*4, x_440); +if (lean_is_scalar(x_442)) { + x_443 = lean_alloc_ctor(1, 4, 1); +} else { + x_443 = x_442; +} +lean_ctor_set(x_443, 0, x_435); +lean_ctor_set(x_443, 1, x_436); +lean_ctor_set(x_443, 2, x_437); +lean_ctor_set(x_443, 3, x_438); +lean_ctor_set_uint8(x_443, sizeof(void*)*4, x_440); +x_444 = 0; +if (lean_is_scalar(x_434)) { + x_445 = lean_alloc_ctor(1, 4, 1); +} else { + x_445 = x_434; +} +lean_ctor_set(x_445, 0, x_441); +lean_ctor_set(x_445, 1, x_432); +lean_ctor_set(x_445, 2, x_433); +lean_ctor_set(x_445, 3, x_443); +lean_ctor_set_uint8(x_445, sizeof(void*)*4, x_444); +return x_445; +} +else +{ +lean_object* x_446; lean_object* x_447; lean_object* x_448; lean_object* x_449; lean_object* x_450; lean_object* x_451; lean_object* x_452; lean_object* x_453; lean_object* x_454; uint8_t x_455; lean_object* x_456; uint8_t x_457; lean_object* x_458; +x_446 = lean_ctor_get(x_377, 1); +lean_inc(x_446); +x_447 = lean_ctor_get(x_377, 2); +lean_inc(x_447); +if (lean_is_exclusive(x_377)) { + lean_ctor_release(x_377, 0); + lean_ctor_release(x_377, 1); + lean_ctor_release(x_377, 2); + lean_ctor_release(x_377, 3); + x_448 = x_377; +} else { + lean_dec_ref(x_377); + x_448 = lean_box(0); +} +x_449 = lean_ctor_get(x_378, 0); +lean_inc(x_449); +x_450 = lean_ctor_get(x_378, 1); +lean_inc(x_450); +x_451 = lean_ctor_get(x_378, 2); +lean_inc(x_451); +x_452 = lean_ctor_get(x_378, 3); +lean_inc(x_452); +if (lean_is_exclusive(x_378)) { + lean_ctor_release(x_378, 0); + lean_ctor_release(x_378, 1); + lean_ctor_release(x_378, 2); + lean_ctor_release(x_378, 3); + x_453 = x_378; +} else { + lean_dec_ref(x_378); + x_453 = lean_box(0); +} +if (lean_is_scalar(x_453)) { + x_454 = lean_alloc_ctor(1, 4, 1); +} else { + x_454 = x_453; +} +lean_ctor_set(x_454, 0, x_449); +lean_ctor_set(x_454, 1, x_450); +lean_ctor_set(x_454, 2, x_451); +lean_ctor_set(x_454, 3, x_452); +lean_ctor_set_uint8(x_454, sizeof(void*)*4, x_431); +x_455 = 0; +if (lean_is_scalar(x_448)) { + x_456 = lean_alloc_ctor(1, 4, 1); +} else { + x_456 = x_448; +} +lean_ctor_set(x_456, 0, x_454); +lean_ctor_set(x_456, 1, x_446); +lean_ctor_set(x_456, 2, x_447); +lean_ctor_set(x_456, 3, x_423); +lean_ctor_set_uint8(x_456, sizeof(void*)*4, x_455); +x_457 = 1; +x_458 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_458, 0, x_365); +lean_ctor_set(x_458, 1, x_366); +lean_ctor_set(x_458, 2, x_367); +lean_ctor_set(x_458, 3, x_456); +lean_ctor_set_uint8(x_458, sizeof(void*)*4, x_457); +return x_458; +} +} +} +} +} +} +} +else +{ +uint8_t x_459; +x_459 = l_Std_RBNode_isRed___rarg(x_365); +if (x_459 == 0) +{ +lean_object* x_460; uint8_t x_461; lean_object* x_462; +x_460 = l_Std_RBNode_ins___at_Lean_Meta_addDefaultInstanceEntry___spec__2(x_365, x_2, x_3); +x_461 = 1; +x_462 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_462, 0, x_460); +lean_ctor_set(x_462, 1, x_366); +lean_ctor_set(x_462, 2, x_367); +lean_ctor_set(x_462, 3, x_368); +lean_ctor_set_uint8(x_462, sizeof(void*)*4, x_461); +return x_462; +} +else +{ +lean_object* x_463; lean_object* x_464; +x_463 = l_Std_RBNode_ins___at_Lean_Meta_addDefaultInstanceEntry___spec__2(x_365, x_2, x_3); +x_464 = lean_ctor_get(x_463, 0); +lean_inc(x_464); +if (lean_obj_tag(x_464) == 0) +{ +lean_object* x_465; +x_465 = lean_ctor_get(x_463, 3); +lean_inc(x_465); +if (lean_obj_tag(x_465) == 0) +{ +lean_object* x_466; lean_object* x_467; lean_object* x_468; uint8_t x_469; lean_object* x_470; uint8_t x_471; lean_object* x_472; +x_466 = lean_ctor_get(x_463, 1); +lean_inc(x_466); +x_467 = lean_ctor_get(x_463, 2); +lean_inc(x_467); +if (lean_is_exclusive(x_463)) { + lean_ctor_release(x_463, 0); + lean_ctor_release(x_463, 1); + lean_ctor_release(x_463, 2); + lean_ctor_release(x_463, 3); + x_468 = x_463; +} else { + lean_dec_ref(x_463); + x_468 = lean_box(0); +} +x_469 = 0; +if (lean_is_scalar(x_468)) { + x_470 = lean_alloc_ctor(1, 4, 1); +} else { + x_470 = x_468; +} +lean_ctor_set(x_470, 0, x_465); +lean_ctor_set(x_470, 1, x_466); +lean_ctor_set(x_470, 2, x_467); +lean_ctor_set(x_470, 3, x_465); +lean_ctor_set_uint8(x_470, sizeof(void*)*4, x_469); +x_471 = 1; +x_472 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_472, 0, x_470); +lean_ctor_set(x_472, 1, x_366); +lean_ctor_set(x_472, 2, x_367); +lean_ctor_set(x_472, 3, x_368); +lean_ctor_set_uint8(x_472, sizeof(void*)*4, x_471); +return x_472; +} +else +{ +uint8_t x_473; +x_473 = lean_ctor_get_uint8(x_465, sizeof(void*)*4); +if (x_473 == 0) +{ +lean_object* x_474; lean_object* x_475; lean_object* x_476; lean_object* x_477; lean_object* x_478; lean_object* x_479; lean_object* x_480; lean_object* x_481; uint8_t x_482; lean_object* x_483; lean_object* x_484; uint8_t x_485; lean_object* x_486; +x_474 = lean_ctor_get(x_463, 1); +lean_inc(x_474); +x_475 = lean_ctor_get(x_463, 2); +lean_inc(x_475); +if (lean_is_exclusive(x_463)) { + lean_ctor_release(x_463, 0); + lean_ctor_release(x_463, 1); + lean_ctor_release(x_463, 2); + lean_ctor_release(x_463, 3); + x_476 = x_463; +} else { + lean_dec_ref(x_463); + x_476 = lean_box(0); +} +x_477 = lean_ctor_get(x_465, 0); +lean_inc(x_477); +x_478 = lean_ctor_get(x_465, 1); +lean_inc(x_478); +x_479 = lean_ctor_get(x_465, 2); +lean_inc(x_479); +x_480 = lean_ctor_get(x_465, 3); +lean_inc(x_480); +if (lean_is_exclusive(x_465)) { + lean_ctor_release(x_465, 0); + lean_ctor_release(x_465, 1); + lean_ctor_release(x_465, 2); + lean_ctor_release(x_465, 3); + x_481 = x_465; +} else { + lean_dec_ref(x_465); + x_481 = lean_box(0); +} +x_482 = 1; +if (lean_is_scalar(x_481)) { + x_483 = lean_alloc_ctor(1, 4, 1); +} else { + x_483 = x_481; +} +lean_ctor_set(x_483, 0, x_464); +lean_ctor_set(x_483, 1, x_474); +lean_ctor_set(x_483, 2, x_475); +lean_ctor_set(x_483, 3, x_477); +lean_ctor_set_uint8(x_483, sizeof(void*)*4, x_482); +if (lean_is_scalar(x_476)) { + x_484 = lean_alloc_ctor(1, 4, 1); +} else { + x_484 = x_476; +} +lean_ctor_set(x_484, 0, x_480); +lean_ctor_set(x_484, 1, x_366); +lean_ctor_set(x_484, 2, x_367); +lean_ctor_set(x_484, 3, x_368); +lean_ctor_set_uint8(x_484, sizeof(void*)*4, x_482); +x_485 = 0; +x_486 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_486, 0, x_483); +lean_ctor_set(x_486, 1, x_478); +lean_ctor_set(x_486, 2, x_479); +lean_ctor_set(x_486, 3, x_484); +lean_ctor_set_uint8(x_486, sizeof(void*)*4, x_485); +return x_486; +} +else +{ +lean_object* x_487; lean_object* x_488; lean_object* x_489; uint8_t x_490; lean_object* x_491; uint8_t x_492; lean_object* x_493; +x_487 = lean_ctor_get(x_463, 1); +lean_inc(x_487); +x_488 = lean_ctor_get(x_463, 2); +lean_inc(x_488); +if (lean_is_exclusive(x_463)) { + lean_ctor_release(x_463, 0); + lean_ctor_release(x_463, 1); + lean_ctor_release(x_463, 2); + lean_ctor_release(x_463, 3); + x_489 = x_463; +} else { + lean_dec_ref(x_463); + x_489 = lean_box(0); +} +x_490 = 0; +if (lean_is_scalar(x_489)) { + x_491 = lean_alloc_ctor(1, 4, 1); +} else { + x_491 = x_489; +} +lean_ctor_set(x_491, 0, x_464); +lean_ctor_set(x_491, 1, x_487); +lean_ctor_set(x_491, 2, x_488); +lean_ctor_set(x_491, 3, x_465); +lean_ctor_set_uint8(x_491, sizeof(void*)*4, x_490); +x_492 = 1; +x_493 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_493, 0, x_491); +lean_ctor_set(x_493, 1, x_366); +lean_ctor_set(x_493, 2, x_367); +lean_ctor_set(x_493, 3, x_368); +lean_ctor_set_uint8(x_493, sizeof(void*)*4, x_492); +return x_493; +} +} +} +else +{ +uint8_t x_494; +x_494 = lean_ctor_get_uint8(x_464, sizeof(void*)*4); +if (x_494 == 0) +{ +lean_object* x_495; lean_object* x_496; lean_object* x_497; lean_object* x_498; lean_object* x_499; lean_object* x_500; lean_object* x_501; lean_object* x_502; lean_object* x_503; uint8_t x_504; lean_object* x_505; lean_object* x_506; uint8_t x_507; lean_object* x_508; +x_495 = lean_ctor_get(x_463, 1); +lean_inc(x_495); +x_496 = lean_ctor_get(x_463, 2); +lean_inc(x_496); +x_497 = lean_ctor_get(x_463, 3); +lean_inc(x_497); +if (lean_is_exclusive(x_463)) { + lean_ctor_release(x_463, 0); + lean_ctor_release(x_463, 1); + lean_ctor_release(x_463, 2); + lean_ctor_release(x_463, 3); + x_498 = x_463; +} else { + lean_dec_ref(x_463); + x_498 = lean_box(0); +} +x_499 = lean_ctor_get(x_464, 0); +lean_inc(x_499); +x_500 = lean_ctor_get(x_464, 1); +lean_inc(x_500); +x_501 = lean_ctor_get(x_464, 2); +lean_inc(x_501); +x_502 = lean_ctor_get(x_464, 3); +lean_inc(x_502); +if (lean_is_exclusive(x_464)) { + lean_ctor_release(x_464, 0); + lean_ctor_release(x_464, 1); + lean_ctor_release(x_464, 2); + lean_ctor_release(x_464, 3); + x_503 = x_464; +} else { + lean_dec_ref(x_464); + x_503 = lean_box(0); +} +x_504 = 1; +if (lean_is_scalar(x_503)) { + x_505 = lean_alloc_ctor(1, 4, 1); +} else { + x_505 = x_503; +} +lean_ctor_set(x_505, 0, x_499); +lean_ctor_set(x_505, 1, x_500); +lean_ctor_set(x_505, 2, x_501); +lean_ctor_set(x_505, 3, x_502); +lean_ctor_set_uint8(x_505, sizeof(void*)*4, x_504); +if (lean_is_scalar(x_498)) { + x_506 = lean_alloc_ctor(1, 4, 1); +} else { + x_506 = x_498; +} +lean_ctor_set(x_506, 0, x_497); +lean_ctor_set(x_506, 1, x_366); +lean_ctor_set(x_506, 2, x_367); +lean_ctor_set(x_506, 3, x_368); +lean_ctor_set_uint8(x_506, sizeof(void*)*4, x_504); +x_507 = 0; +x_508 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_508, 0, x_505); +lean_ctor_set(x_508, 1, x_495); +lean_ctor_set(x_508, 2, x_496); +lean_ctor_set(x_508, 3, x_506); +lean_ctor_set_uint8(x_508, sizeof(void*)*4, x_507); +return x_508; +} +else +{ +lean_object* x_509; +x_509 = lean_ctor_get(x_463, 3); +lean_inc(x_509); +if (lean_obj_tag(x_509) == 0) +{ +lean_object* x_510; lean_object* x_511; lean_object* x_512; uint8_t x_513; lean_object* x_514; uint8_t x_515; lean_object* x_516; +x_510 = lean_ctor_get(x_463, 1); +lean_inc(x_510); +x_511 = lean_ctor_get(x_463, 2); +lean_inc(x_511); +if (lean_is_exclusive(x_463)) { + lean_ctor_release(x_463, 0); + lean_ctor_release(x_463, 1); + lean_ctor_release(x_463, 2); + lean_ctor_release(x_463, 3); + x_512 = x_463; +} else { + lean_dec_ref(x_463); + x_512 = lean_box(0); +} +x_513 = 0; +if (lean_is_scalar(x_512)) { + x_514 = lean_alloc_ctor(1, 4, 1); +} else { + x_514 = x_512; +} +lean_ctor_set(x_514, 0, x_464); +lean_ctor_set(x_514, 1, x_510); +lean_ctor_set(x_514, 2, x_511); +lean_ctor_set(x_514, 3, x_509); +lean_ctor_set_uint8(x_514, sizeof(void*)*4, x_513); +x_515 = 1; +x_516 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_516, 0, x_514); +lean_ctor_set(x_516, 1, x_366); +lean_ctor_set(x_516, 2, x_367); +lean_ctor_set(x_516, 3, x_368); +lean_ctor_set_uint8(x_516, sizeof(void*)*4, x_515); +return x_516; +} +else +{ +uint8_t x_517; +x_517 = lean_ctor_get_uint8(x_509, sizeof(void*)*4); +if (x_517 == 0) +{ +lean_object* x_518; lean_object* x_519; lean_object* x_520; lean_object* x_521; lean_object* x_522; lean_object* x_523; lean_object* x_524; lean_object* x_525; uint8_t x_526; lean_object* x_527; lean_object* x_528; lean_object* x_529; uint8_t x_530; lean_object* x_531; +x_518 = lean_ctor_get(x_463, 1); +lean_inc(x_518); +x_519 = lean_ctor_get(x_463, 2); +lean_inc(x_519); +if (lean_is_exclusive(x_463)) { + lean_ctor_release(x_463, 0); + lean_ctor_release(x_463, 1); + lean_ctor_release(x_463, 2); + lean_ctor_release(x_463, 3); + x_520 = x_463; +} else { + lean_dec_ref(x_463); + x_520 = lean_box(0); +} +x_521 = lean_ctor_get(x_509, 0); +lean_inc(x_521); +x_522 = lean_ctor_get(x_509, 1); +lean_inc(x_522); +x_523 = lean_ctor_get(x_509, 2); +lean_inc(x_523); +x_524 = lean_ctor_get(x_509, 3); +lean_inc(x_524); +if (lean_is_exclusive(x_509)) { + lean_ctor_release(x_509, 0); + lean_ctor_release(x_509, 1); + lean_ctor_release(x_509, 2); + lean_ctor_release(x_509, 3); + x_525 = x_509; +} else { + lean_dec_ref(x_509); + x_525 = lean_box(0); +} +x_526 = 1; +lean_inc(x_464); +if (lean_is_scalar(x_525)) { + x_527 = lean_alloc_ctor(1, 4, 1); +} else { + x_527 = x_525; +} +lean_ctor_set(x_527, 0, x_464); +lean_ctor_set(x_527, 1, x_518); +lean_ctor_set(x_527, 2, x_519); +lean_ctor_set(x_527, 3, x_521); +if (lean_is_exclusive(x_464)) { + lean_ctor_release(x_464, 0); + lean_ctor_release(x_464, 1); + lean_ctor_release(x_464, 2); + lean_ctor_release(x_464, 3); + x_528 = x_464; +} else { + lean_dec_ref(x_464); + x_528 = lean_box(0); +} +lean_ctor_set_uint8(x_527, sizeof(void*)*4, x_526); +if (lean_is_scalar(x_528)) { + x_529 = lean_alloc_ctor(1, 4, 1); +} else { + x_529 = x_528; +} +lean_ctor_set(x_529, 0, x_524); +lean_ctor_set(x_529, 1, x_366); +lean_ctor_set(x_529, 2, x_367); +lean_ctor_set(x_529, 3, x_368); +lean_ctor_set_uint8(x_529, sizeof(void*)*4, x_526); +x_530 = 0; +if (lean_is_scalar(x_520)) { + x_531 = lean_alloc_ctor(1, 4, 1); +} else { + x_531 = x_520; +} +lean_ctor_set(x_531, 0, x_527); +lean_ctor_set(x_531, 1, x_522); +lean_ctor_set(x_531, 2, x_523); +lean_ctor_set(x_531, 3, x_529); +lean_ctor_set_uint8(x_531, sizeof(void*)*4, x_530); +return x_531; +} +else +{ +lean_object* x_532; lean_object* x_533; lean_object* x_534; lean_object* x_535; lean_object* x_536; lean_object* x_537; lean_object* x_538; lean_object* x_539; lean_object* x_540; uint8_t x_541; lean_object* x_542; uint8_t x_543; lean_object* x_544; +x_532 = lean_ctor_get(x_463, 1); +lean_inc(x_532); +x_533 = lean_ctor_get(x_463, 2); +lean_inc(x_533); +if (lean_is_exclusive(x_463)) { + lean_ctor_release(x_463, 0); + lean_ctor_release(x_463, 1); + lean_ctor_release(x_463, 2); + lean_ctor_release(x_463, 3); + x_534 = x_463; +} else { + lean_dec_ref(x_463); + x_534 = lean_box(0); +} +x_535 = lean_ctor_get(x_464, 0); +lean_inc(x_535); +x_536 = lean_ctor_get(x_464, 1); +lean_inc(x_536); +x_537 = lean_ctor_get(x_464, 2); +lean_inc(x_537); +x_538 = lean_ctor_get(x_464, 3); +lean_inc(x_538); +if (lean_is_exclusive(x_464)) { + lean_ctor_release(x_464, 0); + lean_ctor_release(x_464, 1); + lean_ctor_release(x_464, 2); + lean_ctor_release(x_464, 3); + x_539 = x_464; +} else { + lean_dec_ref(x_464); + x_539 = lean_box(0); +} +if (lean_is_scalar(x_539)) { + x_540 = lean_alloc_ctor(1, 4, 1); +} else { + x_540 = x_539; +} +lean_ctor_set(x_540, 0, x_535); +lean_ctor_set(x_540, 1, x_536); +lean_ctor_set(x_540, 2, x_537); +lean_ctor_set(x_540, 3, x_538); +lean_ctor_set_uint8(x_540, sizeof(void*)*4, x_517); +x_541 = 0; +if (lean_is_scalar(x_534)) { + x_542 = lean_alloc_ctor(1, 4, 1); +} else { + x_542 = x_534; +} +lean_ctor_set(x_542, 0, x_540); +lean_ctor_set(x_542, 1, x_532); +lean_ctor_set(x_542, 2, x_533); +lean_ctor_set(x_542, 3, x_509); +lean_ctor_set_uint8(x_542, sizeof(void*)*4, x_541); +x_543 = 1; +x_544 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_544, 0, x_542); +lean_ctor_set(x_544, 1, x_366); +lean_ctor_set(x_544, 2, x_367); +lean_ctor_set(x_544, 3, x_368); +lean_ctor_set_uint8(x_544, sizeof(void*)*4, x_543); +return x_544; +} +} +} +} +} +} +} +} +} +} +} +lean_object* l_Std_RBNode_insert___at_Lean_Meta_addDefaultInstanceEntry___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; +x_4 = l_Std_RBNode_isRed___rarg(x_1); +if (x_4 == 0) +{ +lean_object* x_5; +x_5 = l_Std_RBNode_ins___at_Lean_Meta_addDefaultInstanceEntry___spec__2(x_1, x_2, x_3); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; +x_6 = l_Std_RBNode_ins___at_Lean_Meta_addDefaultInstanceEntry___spec__2(x_1, x_2, x_3); +x_7 = l_Std_RBNode_setBlack___rarg(x_6); +return x_7; +} +} +} +lean_object* l_Std_RBNode_find___at_Lean_Meta_addDefaultInstanceEntry___spec__3(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_1) == 0) @@ -3741,51 +6252,73 @@ goto _start; lean_object* l_Lean_Meta_addDefaultInstanceEntry(lean_object* x_1, lean_object* x_2) { _start: { -lean_object* x_3; lean_object* x_4; -x_3 = lean_ctor_get(x_2, 0); +lean_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_3 = lean_ctor_get(x_1, 0); lean_inc(x_3); -x_4 = l_Std_RBNode_find___at_Lean_Meta_addDefaultInstanceEntry___spec__1(x_1, x_3); -if (lean_obj_tag(x_4) == 0) -{ -lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; -x_5 = lean_ctor_get(x_2, 1); +x_4 = lean_ctor_get(x_1, 1); +lean_inc(x_4); +lean_dec(x_1); +x_5 = lean_ctor_get(x_2, 2); lean_inc(x_5); -lean_dec(x_2); -x_6 = lean_box(0); -x_7 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_7, 0, x_5); -lean_ctor_set(x_7, 1, x_6); -x_8 = l_Std_RBNode_insert___at_Lean_NameMap_insert___spec__1___rarg(x_1, x_3, x_7); -return x_8; -} -else +x_6 = lean_ctor_get(x_2, 0); +lean_inc(x_6); +x_7 = lean_box(0); +lean_inc(x_5); +x_8 = l_Std_RBNode_insert___at_Lean_Meta_addDefaultInstanceEntry___spec__1(x_4, x_5, x_7); +x_9 = l_Std_RBNode_find___at_Lean_Meta_addDefaultInstanceEntry___spec__3(x_3, x_6); +if (lean_obj_tag(x_9) == 0) { -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; -x_9 = lean_ctor_get(x_4, 0); -lean_inc(x_9); -lean_dec(x_4); +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; x_10 = lean_ctor_get(x_2, 1); lean_inc(x_10); lean_dec(x_2); -x_11 = lean_alloc_ctor(1, 2, 0); +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 = l_Std_RBNode_insert___at_Lean_NameMap_insert___spec__1___rarg(x_1, x_3, x_11); -return x_12; +lean_ctor_set(x_11, 1, x_5); +x_12 = lean_box(0); +x_13 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_13, 0, x_11); +lean_ctor_set(x_13, 1, x_12); +x_14 = l_Std_RBNode_insert___at_Lean_NameMap_insert___spec__1___rarg(x_3, x_6, x_13); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_8); +return x_15; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_16 = lean_ctor_get(x_9, 0); +lean_inc(x_16); +lean_dec(x_9); +x_17 = lean_ctor_get(x_2, 1); +lean_inc(x_17); +lean_dec(x_2); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_5); +x_19 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_16); +x_20 = l_Std_RBNode_insert___at_Lean_NameMap_insert___spec__1___rarg(x_3, x_6, x_19); +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_20); +lean_ctor_set(x_21, 1, x_8); +return x_21; } } } -lean_object* l_Std_RBNode_find___at_Lean_Meta_addDefaultInstanceEntry___spec__1___boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l_Std_RBNode_find___at_Lean_Meta_addDefaultInstanceEntry___spec__3___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_Std_RBNode_find___at_Lean_Meta_addDefaultInstanceEntry___spec__1(x_1, x_2); +x_3 = l_Std_RBNode_find___at_Lean_Meta_addDefaultInstanceEntry___spec__3(x_1, x_2); lean_dec(x_2); lean_dec(x_1); return x_3; } } -lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_442____spec__2(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_487____spec__2(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { _start: { uint8_t x_5; @@ -3807,7 +6340,7 @@ return x_4; } } } -lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_442____spec__3(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_487____spec__3(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { _start: { uint8_t x_5; @@ -3845,7 +6378,7 @@ size_t x_15; size_t x_16; lean_object* x_17; x_15 = 0; x_16 = lean_usize_of_nat(x_7); lean_dec(x_7); -x_17 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_442____spec__2(x_6, x_15, x_16, x_4); +x_17 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_487____spec__2(x_6, x_15, x_16, x_4); lean_dec(x_6); x_2 = x_11; x_4 = x_17; @@ -3859,7 +6392,7 @@ return x_4; } } } -lean_object* l_Lean_mkStateFromImportedEntries___at_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_442____spec__1(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_mkStateFromImportedEntries___at_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_487____spec__1(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; uint8_t x_5; @@ -3886,13 +6419,13 @@ size_t x_7; size_t x_8; lean_object* x_9; x_7 = 0; x_8 = lean_usize_of_nat(x_3); lean_dec(x_3); -x_9 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_442____spec__3(x_2, x_7, x_8, x_1); +x_9 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_487____spec__3(x_2, x_7, x_8, x_1); return x_9; } } } } -uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_442____spec__6(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4) { +uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_487____spec__6(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4) { _start: { uint8_t x_5; @@ -3930,7 +6463,7 @@ return x_14; } } } -lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_442____spec__5(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_487____spec__5(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; uint8_t x_5; @@ -3975,7 +6508,7 @@ size_t x_16; size_t x_17; uint8_t x_18; x_16 = 0; x_17 = lean_usize_of_nat(x_8); lean_dec(x_8); -x_18 = l_Array_anyMUnsafe_any___at_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_442____spec__6(x_1, x_6, x_16, x_17); +x_18 = l_Array_anyMUnsafe_any___at_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_487____spec__6(x_1, x_6, x_16, x_17); lean_dec(x_6); if (x_18 == 0) { @@ -4046,7 +6579,7 @@ size_t x_39; size_t x_40; uint8_t x_41; x_39 = 0; x_40 = lean_usize_of_nat(x_31); lean_dec(x_31); -x_41 = l_Array_anyMUnsafe_any___at_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_442____spec__6(x_1, x_29, x_39, x_40); +x_41 = l_Array_anyMUnsafe_any___at_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_487____spec__6(x_1, x_29, x_39, x_40); lean_dec(x_29); if (x_41 == 0) { @@ -4080,7 +6613,7 @@ return x_52; } } } -lean_object* l_Lean_registerSimplePersistentEnvExtension___at_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_442____spec__4(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_registerSimplePersistentEnvExtension___at_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_487____spec__4(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; @@ -4113,20 +6646,20 @@ lean_ctor_set(x_14, 2, x_10); lean_ctor_set(x_14, 3, x_11); lean_ctor_set(x_14, 4, x_12); lean_ctor_set(x_14, 5, x_13); -x_15 = l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_442____spec__5(x_14, x_2); +x_15 = l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_487____spec__5(x_14, x_2); return x_15; } } -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_442____lambda__1(lean_object* x_1) { +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_487____lambda__1(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = lean_box(0); -x_3 = l_Lean_mkStateFromImportedEntries___at_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_442____spec__1(x_2, x_1); +x_2 = l_Lean_Meta_instInhabitedDefaultInstances___closed__1; +x_3 = l_Lean_mkStateFromImportedEntries___at_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_487____spec__1(x_2, x_1); return x_3; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_442____closed__1() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_487____closed__1() { _start: { lean_object* x_1; @@ -4134,17 +6667,17 @@ x_1 = lean_mk_string("defaultInstanceExt"); return x_1; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_442____closed__2() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_487____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_442____closed__1; +x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_487____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_442____closed__3() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_487____closed__3() { _start: { lean_object* x_1; @@ -4152,21 +6685,21 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Meta_addDefaultInstanceEntry), 2, 0); return x_1; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_442____closed__4() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_487____closed__4() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_442____lambda__1___boxed), 1, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_487____lambda__1___boxed), 1, 0); return x_1; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_442____closed__5() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_487____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_442____closed__2; -x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_442____closed__3; -x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_442____closed__4; +x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_487____closed__2; +x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_487____closed__3; +x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_487____closed__4; x_4 = l_Lean_initFn____x40_Lean_Environment___hyg_2532____closed__4; x_5 = lean_alloc_ctor(0, 4, 0); lean_ctor_set(x_5, 0, x_1); @@ -4176,16 +6709,16 @@ lean_ctor_set(x_5, 3, x_4); return x_5; } } -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_442_(lean_object* x_1) { +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_487_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_442____closed__5; -x_3 = l_Lean_registerSimplePersistentEnvExtension___at_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_442____spec__4(x_2, x_1); +x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_487____closed__5; +x_3 = l_Lean_registerSimplePersistentEnvExtension___at_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_487____spec__4(x_2, x_1); return x_3; } } -lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_442____spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_487____spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { size_t x_5; size_t x_6; lean_object* x_7; @@ -4193,12 +6726,12 @@ x_5 = lean_unbox_usize(x_2); lean_dec(x_2); x_6 = lean_unbox_usize(x_3); lean_dec(x_3); -x_7 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_442____spec__2(x_1, x_5, x_6, x_4); +x_7 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_487____spec__2(x_1, x_5, x_6, x_4); lean_dec(x_1); return x_7; } } -lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_442____spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_487____spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { size_t x_5; size_t x_6; lean_object* x_7; @@ -4206,21 +6739,21 @@ x_5 = lean_unbox_usize(x_2); lean_dec(x_2); x_6 = lean_unbox_usize(x_3); lean_dec(x_3); -x_7 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_442____spec__3(x_1, x_5, x_6, x_4); +x_7 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_487____spec__3(x_1, x_5, x_6, x_4); lean_dec(x_1); return x_7; } } -lean_object* l_Lean_mkStateFromImportedEntries___at_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_442____spec__1___boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_mkStateFromImportedEntries___at_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_487____spec__1___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_Lean_mkStateFromImportedEntries___at_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_442____spec__1(x_1, x_2); +x_3 = l_Lean_mkStateFromImportedEntries___at_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_487____spec__1(x_1, x_2); lean_dec(x_2); return x_3; } } -lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_442____spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_487____spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { size_t x_5; size_t x_6; uint8_t x_7; lean_object* x_8; @@ -4228,18 +6761,18 @@ x_5 = lean_unbox_usize(x_3); lean_dec(x_3); x_6 = lean_unbox_usize(x_4); lean_dec(x_4); -x_7 = l_Array_anyMUnsafe_any___at_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_442____spec__6(x_1, x_2, x_5, x_6); +x_7 = l_Array_anyMUnsafe_any___at_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_487____spec__6(x_1, x_2, x_5, x_6); lean_dec(x_2); lean_dec(x_1); x_8 = lean_box(x_7); return x_8; } } -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_442____lambda__1___boxed(lean_object* x_1) { +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_487____lambda__1___boxed(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_442____lambda__1(x_1); +x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_487____lambda__1(x_1); lean_dec(x_1); return x_2; } @@ -4520,26 +7053,27 @@ return x_27; } } } -lean_object* l_Lean_Meta_addDefaultInstance___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +lean_object* l_Lean_Meta_addDefaultInstance___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_9 = lean_st_ref_get(x_7, x_8); -x_10 = lean_ctor_get(x_9, 0); -lean_inc(x_10); -x_11 = lean_ctor_get(x_9, 1); +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_10 = lean_st_ref_get(x_8, x_9); +x_11 = lean_ctor_get(x_10, 0); lean_inc(x_11); -lean_dec(x_9); -x_12 = lean_ctor_get(x_10, 0); +x_12 = lean_ctor_get(x_10, 1); lean_inc(x_12); lean_dec(x_10); -x_13 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_13, 0, x_1); -lean_ctor_set(x_13, 1, x_2); -x_14 = l_Lean_Meta_defaultInstanceExtension; -x_15 = l_Lean_PersistentEnvExtension_addEntry___rarg(x_14, x_12, x_13); -x_16 = l_Lean_setEnv___at_Lean_Meta_addDefaultInstance___spec__1(x_15, x_4, x_5, x_6, x_7, x_11); -return x_16; +x_13 = lean_ctor_get(x_11, 0); +lean_inc(x_13); +lean_dec(x_11); +x_14 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_14, 0, x_1); +lean_ctor_set(x_14, 1, x_2); +lean_ctor_set(x_14, 2, x_3); +x_15 = l_Lean_Meta_defaultInstanceExtension; +x_16 = l_Lean_PersistentEnvExtension_addEntry___rarg(x_15, x_13, x_14); +x_17 = l_Lean_setEnv___at_Lean_Meta_addDefaultInstance___spec__1(x_16, x_5, x_6, x_7, x_8, x_12); +return x_17; } } static lean_object* _init_l_Lean_Meta_addDefaultInstance___lambda__2___closed__1() { @@ -4627,152 +7161,156 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -lean_object* l_Lean_Meta_addDefaultInstance___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +lean_object* l_Lean_Meta_addDefaultInstance___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -lean_object* x_9; -x_9 = l_Lean_Expr_getAppFn(x_3); -if (lean_obj_tag(x_9) == 4) +lean_object* x_10; +x_10 = l_Lean_Expr_getAppFn(x_4); +if (lean_obj_tag(x_10) == 4) { -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; -x_10 = lean_ctor_get(x_9, 0); -lean_inc(x_10); -lean_dec(x_9); -x_11 = lean_st_ref_get(x_7, x_8); -x_12 = lean_ctor_get(x_11, 0); -lean_inc(x_12); -x_13 = lean_ctor_get(x_11, 1); +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +lean_dec(x_10); +x_12 = lean_st_ref_get(x_8, x_9); +x_13 = lean_ctor_get(x_12, 0); lean_inc(x_13); -lean_dec(x_11); -x_14 = lean_ctor_get(x_12, 0); +x_14 = lean_ctor_get(x_12, 1); lean_inc(x_14); lean_dec(x_12); -lean_inc(x_10); -x_15 = lean_is_class(x_14, x_10); -if (x_15 == 0) +x_15 = lean_ctor_get(x_13, 0); +lean_inc(x_15); +lean_dec(x_13); +lean_inc(x_11); +x_16 = lean_is_class(x_15, x_11); +if (x_16 == 0) { -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; 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; uint8_t x_29; -x_16 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_16, 0, x_1); -x_17 = l_Lean_Meta_addDefaultInstance___lambda__2___closed__2; -x_18 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_18, 0, x_17); -lean_ctor_set(x_18, 1, x_16); -x_19 = l_Lean_Meta_addDefaultInstance___lambda__2___closed__6; -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(4, 1, 0); -lean_ctor_set(x_21, 0, x_10); -lean_inc(x_21); -x_22 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_22, 0, x_20); -lean_ctor_set(x_22, 1, x_21); -x_23 = l_Lean_Meta_addDefaultInstance___lambda__2___closed__8; -x_24 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_24, 0, x_22); -lean_ctor_set(x_24, 1, x_23); +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; +lean_dec(x_2); +x_17 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_17, 0, x_1); +x_18 = l_Lean_Meta_addDefaultInstance___lambda__2___closed__2; +x_19 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_17); +x_20 = l_Lean_Meta_addDefaultInstance___lambda__2___closed__6; +x_21 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_21, 0, x_19); +lean_ctor_set(x_21, 1, x_20); +x_22 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_22, 0, x_11); +lean_inc(x_22); +x_23 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_23, 0, x_21); +lean_ctor_set(x_23, 1, x_22); +x_24 = l_Lean_Meta_addDefaultInstance___lambda__2___closed__8; x_25 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_25, 0, x_24); -lean_ctor_set(x_25, 1, x_21); -x_26 = l_Lean_Meta_addDefaultInstance___lambda__2___closed__10; -x_27 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_27, 0, x_25); -lean_ctor_set(x_27, 1, x_26); -x_28 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1019____spec__1___rarg(x_27, x_4, x_5, x_6, x_7, x_13); -x_29 = !lean_is_exclusive(x_28); -if (x_29 == 0) +lean_ctor_set(x_25, 0, x_23); +lean_ctor_set(x_25, 1, x_24); +x_26 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_26, 1, x_22); +x_27 = l_Lean_Meta_addDefaultInstance___lambda__2___closed__10; +x_28 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_28, 0, x_26); +lean_ctor_set(x_28, 1, x_27); +x_29 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1019____spec__1___rarg(x_28, x_5, x_6, x_7, x_8, x_14); +x_30 = !lean_is_exclusive(x_29); +if (x_30 == 0) { -return x_28; +return x_29; } else { -lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_30 = lean_ctor_get(x_28, 0); -x_31 = lean_ctor_get(x_28, 1); +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_29, 0); +x_32 = lean_ctor_get(x_29, 1); +lean_inc(x_32); lean_inc(x_31); -lean_inc(x_30); -lean_dec(x_28); -x_32 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_32, 0, x_30); -lean_ctor_set(x_32, 1, x_31); -return x_32; +lean_dec(x_29); +x_33 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_33, 0, x_31); +lean_ctor_set(x_33, 1, x_32); +return x_33; } } else { -lean_object* x_33; lean_object* x_34; -x_33 = lean_box(0); -x_34 = l_Lean_Meta_addDefaultInstance___lambda__1(x_10, x_1, x_33, x_4, x_5, x_6, x_7, x_13); -return x_34; +lean_object* x_34; lean_object* x_35; +x_34 = lean_box(0); +x_35 = l_Lean_Meta_addDefaultInstance___lambda__1(x_11, x_1, x_2, x_34, x_5, x_6, x_7, x_8, x_14); +return x_35; } } 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_dec(x_9); -x_35 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_35, 0, x_1); -x_36 = l_Lean_Meta_addDefaultInstance___lambda__2___closed__2; -x_37 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_37, 0, x_36); -lean_ctor_set(x_37, 1, x_35); -x_38 = l_Lean_Meta_addDefaultInstance___lambda__2___closed__4; -x_39 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_39, 0, x_37); -lean_ctor_set(x_39, 1, x_38); -x_40 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1019____spec__1___rarg(x_39, x_4, x_5, x_6, x_7, x_8); -return x_40; +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_dec(x_10); +lean_dec(x_2); +x_36 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_36, 0, x_1); +x_37 = l_Lean_Meta_addDefaultInstance___lambda__2___closed__2; +x_38 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_38, 0, x_37); +lean_ctor_set(x_38, 1, x_36); +x_39 = l_Lean_Meta_addDefaultInstance___lambda__2___closed__4; +x_40 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_40, 0, x_38); +lean_ctor_set(x_40, 1, x_39); +x_41 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1019____spec__1___rarg(x_40, x_5, x_6, x_7, x_8, x_9); +return x_41; } } } -lean_object* l_Lean_Meta_addDefaultInstance(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l_Lean_Meta_addDefaultInstance(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; -x_7 = lean_st_ref_get(x_5, x_6); -x_8 = lean_ctor_get(x_7, 0); -lean_inc(x_8); -x_9 = lean_ctor_get(x_7, 1); +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_8 = lean_st_ref_get(x_6, x_7); +x_9 = lean_ctor_get(x_8, 0); lean_inc(x_9); -lean_dec(x_7); -x_10 = lean_ctor_get(x_8, 0); +x_10 = lean_ctor_get(x_8, 1); lean_inc(x_10); lean_dec(x_8); +x_11 = lean_ctor_get(x_9, 0); +lean_inc(x_11); +lean_dec(x_9); lean_inc(x_1); -x_11 = lean_environment_find(x_10, x_1); -if (lean_obj_tag(x_11) == 0) +x_12 = lean_environment_find(x_11, x_1); +if (lean_obj_tag(x_12) == 0) { -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_12 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_12, 0, x_1); -x_13 = l_Lean_throwUnknownConstant___rarg___closed__2; -x_14 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_14, 0, x_13); -lean_ctor_set(x_14, 1, x_12); -x_15 = l_Lean_throwUnknownConstant___rarg___closed__3; -x_16 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_16, 0, x_14); -lean_ctor_set(x_16, 1, x_15); -x_17 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1019____spec__1___rarg(x_16, x_2, x_3, x_4, x_5, x_9); +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_dec(x_2); +x_13 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_13, 0, x_1); +x_14 = l_Lean_throwUnknownConstant___rarg___closed__2; +x_15 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_13); +x_16 = l_Lean_throwUnknownConstant___rarg___closed__3; +x_17 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_17, 0, x_15); +lean_ctor_set(x_17, 1, x_16); +x_18 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1019____spec__1___rarg(x_17, x_3, x_4, x_5, x_6, x_10); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -lean_dec(x_2); -return x_17; +return x_18; } else { -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_18 = lean_ctor_get(x_11, 0); -lean_inc(x_18); -lean_dec(x_11); -x_19 = l_Lean_ConstantInfo_type(x_18); -lean_dec(x_18); -x_20 = lean_alloc_closure((void*)(l_Lean_Meta_addDefaultInstance___lambda__2___boxed), 8, 1); -lean_closure_set(x_20, 0, x_1); -x_21 = l_Lean_Meta_forallTelescopeReducing___at_Lean_Meta_getParamNamesImp___spec__3___rarg(x_19, x_20, x_2, x_3, x_4, x_5, x_9); -return x_21; +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_19 = lean_ctor_get(x_12, 0); +lean_inc(x_19); +lean_dec(x_12); +x_20 = l_Lean_ConstantInfo_type(x_19); +lean_dec(x_19); +x_21 = lean_alloc_closure((void*)(l_Lean_Meta_addDefaultInstance___lambda__2___boxed), 9, 2); +lean_closure_set(x_21, 0, x_1); +lean_closure_set(x_21, 1, x_2); +x_22 = l_Lean_Meta_forallTelescopeReducing___at_Lean_Meta_getParamNamesImp___spec__3___rarg(x_20, x_21, x_3, x_4, x_5, x_6, x_10); +return x_22; } } } @@ -4788,37 +7326,37 @@ lean_dec(x_2); return x_7; } } -lean_object* l_Lean_Meta_addDefaultInstance___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +lean_object* l_Lean_Meta_addDefaultInstance___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -lean_object* x_9; -x_9 = l_Lean_Meta_addDefaultInstance___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_object* x_10; +x_10 = l_Lean_Meta_addDefaultInstance___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +return x_10; +} +} +lean_object* l_Lean_Meta_addDefaultInstance___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_Meta_addDefaultInstance___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -return x_9; +return x_10; } } -lean_object* l_Lean_Meta_addDefaultInstance___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_743____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_9; -x_9 = l_Lean_Meta_addDefaultInstance___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_9; -} -} -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_694____lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +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; x_6 = lean_st_ref_get(x_4, x_5); x_7 = lean_ctor_get(x_6, 1); lean_inc(x_7); @@ -4830,73 +7368,74 @@ lean_inc(x_10); x_11 = lean_ctor_get(x_9, 1); lean_inc(x_11); lean_dec(x_9); -x_12 = l_Lean_Meta_instMetaEvalMetaM___rarg___closed__1; +x_12 = lean_unsigned_to_nat(0u); +x_13 = l_Lean_Meta_instMetaEvalMetaM___rarg___closed__1; lean_inc(x_4); lean_inc(x_10); -x_13 = l_Lean_Meta_addDefaultInstance(x_1, x_12, x_10, x_3, x_4, x_11); -if (lean_obj_tag(x_13) == 0) +x_14 = l_Lean_Meta_addDefaultInstance(x_1, x_12, x_13, x_10, x_3, x_4, x_11); +if (lean_obj_tag(x_14) == 0) { -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; -x_14 = lean_ctor_get(x_13, 1); -lean_inc(x_14); -lean_dec(x_13); -x_15 = lean_st_ref_get(x_4, x_14); +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; +x_15 = lean_ctor_get(x_14, 1); +lean_inc(x_15); +lean_dec(x_14); +x_16 = lean_st_ref_get(x_4, x_15); lean_dec(x_4); -x_16 = lean_ctor_get(x_15, 1); -lean_inc(x_16); -lean_dec(x_15); -x_17 = lean_st_ref_get(x_10, x_16); +x_17 = lean_ctor_get(x_16, 1); +lean_inc(x_17); +lean_dec(x_16); +x_18 = lean_st_ref_get(x_10, x_17); lean_dec(x_10); -x_18 = !lean_is_exclusive(x_17); -if (x_18 == 0) +x_19 = !lean_is_exclusive(x_18); +if (x_19 == 0) { -lean_object* x_19; lean_object* x_20; -x_19 = lean_ctor_get(x_17, 0); -lean_dec(x_19); -x_20 = lean_box(0); -lean_ctor_set(x_17, 0, x_20); -return x_17; +lean_object* x_20; lean_object* x_21; +x_20 = lean_ctor_get(x_18, 0); +lean_dec(x_20); +x_21 = lean_box(0); +lean_ctor_set(x_18, 0, x_21); +return x_18; } else { -lean_object* x_21; lean_object* x_22; lean_object* x_23; -x_21 = lean_ctor_get(x_17, 1); -lean_inc(x_21); -lean_dec(x_17); -x_22 = lean_box(0); -x_23 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_23, 0, x_22); -lean_ctor_set(x_23, 1, x_21); -return x_23; +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_18, 1); +lean_inc(x_22); +lean_dec(x_18); +x_23 = lean_box(0); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_24, 1, x_22); +return x_24; } } else { -uint8_t x_24; +uint8_t x_25; lean_dec(x_10); lean_dec(x_4); -x_24 = !lean_is_exclusive(x_13); -if (x_24 == 0) +x_25 = !lean_is_exclusive(x_14); +if (x_25 == 0) { -return x_13; +return x_14; } else { -lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_25 = lean_ctor_get(x_13, 0); -x_26 = lean_ctor_get(x_13, 1); +lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = lean_ctor_get(x_14, 0); +x_27 = lean_ctor_get(x_14, 1); +lean_inc(x_27); lean_inc(x_26); -lean_inc(x_25); -lean_dec(x_13); -x_27 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_27, 0, x_25); -lean_ctor_set(x_27, 1, x_26); -return x_27; +lean_dec(x_14); +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; } } } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_694____lambda__2___closed__1() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_743____lambda__2___closed__1() { _start: { lean_object* x_1; @@ -4904,34 +7443,34 @@ x_1 = lean_mk_string("invalid attribute 'defaultInstance', must be persistent"); return x_1; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_694____lambda__2___closed__2() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_743____lambda__2___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_694____lambda__2___closed__1; +x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_743____lambda__2___closed__1; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_694____lambda__2___closed__3() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_743____lambda__2___closed__3() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_694____lambda__2___closed__2; +x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_743____lambda__2___closed__2; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_694____lambda__2(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_743____lambda__2(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { if (x_2 == 0) { lean_object* x_7; lean_object* x_8; uint8_t x_9; lean_dec(x_1); -x_7 = l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_694____lambda__2___closed__3; +x_7 = l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_743____lambda__2___closed__3; x_8 = l_Lean_throwError___at_Lean_registerTagAttribute___spec__5___rarg(x_7, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_4); @@ -4958,12 +7497,12 @@ else { lean_object* x_13; lean_object* x_14; x_13 = lean_box(0); -x_14 = l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_694____lambda__1(x_1, x_13, x_4, x_5, x_6); +x_14 = l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_743____lambda__1(x_1, x_13, x_4, x_5, x_6); return x_14; } } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_694____lambda__3___closed__1() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_743____lambda__3___closed__1() { _start: { lean_object* x_1; @@ -4971,27 +7510,27 @@ x_1 = lean_mk_string("invalid attribute 'defaultInstance', unexpected argument") return x_1; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_694____lambda__3___closed__2() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_743____lambda__3___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_694____lambda__3___closed__1; +x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_743____lambda__3___closed__1; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_694____lambda__3___closed__3() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_743____lambda__3___closed__3() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_694____lambda__3___closed__2; +x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_743____lambda__3___closed__2; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_694____lambda__3(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_743____lambda__3(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { uint8_t x_7; @@ -5000,14 +7539,14 @@ if (x_7 == 0) { lean_object* x_8; lean_object* x_9; x_8 = lean_box(0); -x_9 = l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_694____lambda__2(x_1, x_3, x_8, x_4, x_5, x_6); +x_9 = l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_743____lambda__2(x_1, x_3, x_8, x_4, x_5, x_6); return x_9; } else { lean_object* x_10; lean_object* x_11; uint8_t x_12; lean_dec(x_1); -x_10 = l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_694____lambda__3___closed__3; +x_10 = l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_743____lambda__3___closed__3; x_11 = l_Lean_throwError___at_Lean_addAttribute___spec__2___rarg(x_10, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_4); @@ -5032,7 +7571,7 @@ return x_15; } } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_694____closed__1() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_743____closed__1() { _start: { lean_object* x_1; @@ -5040,17 +7579,17 @@ x_1 = lean_mk_string("defaultInstance"); return x_1; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_694____closed__2() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_743____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_694____closed__1; +x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_743____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_694____closed__3() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_743____closed__3() { _start: { lean_object* x_1; @@ -5058,12 +7597,12 @@ x_1 = lean_mk_string("type class default instance"); return x_1; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_694____closed__4() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_743____closed__4() { _start: { lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; -x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_694____closed__2; -x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_694____closed__3; +x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_743____closed__2; +x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_743____closed__3; x_3 = 0; x_4 = lean_alloc_ctor(0, 2, 1); lean_ctor_set(x_4, 0, x_1); @@ -5072,70 +7611,121 @@ lean_ctor_set_uint8(x_4, sizeof(void*)*2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_694____closed__5() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_743____closed__5() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_694____lambda__3___boxed), 6, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_743____lambda__3___boxed), 6, 0); return x_1; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_694____closed__6() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_743____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_694____closed__4; -x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_694____closed__5; +x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_743____closed__4; +x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_743____closed__5; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_694_(lean_object* x_1) { +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_743_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_694____closed__6; +x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_743____closed__6; x_3 = l_Lean_registerBuiltinAttribute(x_2, x_1); return x_3; } } -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_694____lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_743____lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; -x_6 = l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_694____lambda__1(x_1, x_2, x_3, x_4, x_5); +x_6 = l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_743____lambda__1(x_1, x_2, x_3, x_4, x_5); lean_dec(x_2); return x_6; } } -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_694____lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_743____lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { uint8_t x_7; lean_object* x_8; x_7 = lean_unbox(x_2); lean_dec(x_2); -x_8 = l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_694____lambda__2(x_1, x_7, x_3, x_4, x_5, x_6); +x_8 = l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_743____lambda__2(x_1, x_7, x_3, x_4, x_5, x_6); lean_dec(x_3); return x_8; } } -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_694____lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_743____lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { uint8_t x_7; lean_object* x_8; x_7 = lean_unbox(x_3); lean_dec(x_3); -x_8 = l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_694____lambda__3(x_1, x_2, x_7, x_4, x_5, x_6); +x_8 = l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_743____lambda__3(x_1, x_2, x_7, x_4, x_5, x_6); lean_dec(x_2); return x_8; } } +lean_object* l_Lean_Meta_getDefaultInstancesPriorities___rarg___lambda__1(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; +x_3 = lean_ctor_get(x_1, 0); +lean_inc(x_3); +lean_dec(x_1); +x_4 = lean_ctor_get(x_3, 1); +lean_inc(x_4); +lean_dec(x_3); +x_5 = l_Lean_Meta_defaultInstanceExtension; +x_6 = l_Lean_SimplePersistentEnvExtension_getState___rarg(x_5, x_2); +x_7 = lean_ctor_get(x_6, 1); +lean_inc(x_7); +lean_dec(x_6); +x_8 = lean_apply_2(x_4, lean_box(0), x_7); +return x_8; +} +} +lean_object* l_Lean_Meta_getDefaultInstancesPriorities___rarg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_3 = lean_ctor_get(x_1, 1); +lean_inc(x_3); +x_4 = lean_ctor_get(x_2, 0); +lean_inc(x_4); +lean_dec(x_2); +x_5 = lean_alloc_closure((void*)(l_Lean_Meta_getDefaultInstancesPriorities___rarg___lambda__1___boxed), 2, 1); +lean_closure_set(x_5, 0, x_1); +x_6 = lean_apply_4(x_3, lean_box(0), lean_box(0), x_4, x_5); +return x_6; +} +} +lean_object* l_Lean_Meta_getDefaultInstancesPriorities(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Meta_getDefaultInstancesPriorities___rarg), 2, 0); +return x_2; +} +} +lean_object* l_Lean_Meta_getDefaultInstancesPriorities___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Meta_getDefaultInstancesPriorities___rarg___lambda__1(x_1, x_2); +lean_dec(x_2); +return x_3; +} +} lean_object* l_Lean_Meta_getDefaultInstances___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; x_4 = lean_ctor_get(x_1, 0); lean_inc(x_4); lean_dec(x_1); @@ -5144,23 +7734,26 @@ lean_inc(x_5); lean_dec(x_4); x_6 = l_Lean_Meta_defaultInstanceExtension; x_7 = l_Lean_SimplePersistentEnvExtension_getState___rarg(x_6, x_3); -x_8 = l_Std_RBNode_find___at_Lean_Meta_addDefaultInstanceEntry___spec__1(x_7, x_2); +x_8 = lean_ctor_get(x_7, 0); +lean_inc(x_8); lean_dec(x_7); -if (lean_obj_tag(x_8) == 0) +x_9 = l_Std_RBNode_find___at_Lean_Meta_addDefaultInstanceEntry___spec__3(x_8, x_2); +lean_dec(x_8); +if (lean_obj_tag(x_9) == 0) { -lean_object* x_9; lean_object* x_10; -x_9 = lean_box(0); -x_10 = lean_apply_2(x_5, lean_box(0), x_9); -return x_10; +lean_object* x_10; lean_object* x_11; +x_10 = lean_box(0); +x_11 = lean_apply_2(x_5, lean_box(0), x_10); +return x_11; } else { -lean_object* x_11; lean_object* x_12; -x_11 = lean_ctor_get(x_8, 0); -lean_inc(x_11); -lean_dec(x_8); -x_12 = lean_apply_2(x_5, lean_box(0), x_11); -return x_12; +lean_object* x_12; lean_object* x_13; +x_12 = lean_ctor_get(x_9, 0); +lean_inc(x_12); +lean_dec(x_9); +x_13 = lean_apply_2(x_5, lean_box(0), x_12); +return x_13; } } } @@ -5285,18 +7878,22 @@ if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); l_Lean_Meta_DefaultInstances_defaultInstances___default = _init_l_Lean_Meta_DefaultInstances_defaultInstances___default(); lean_mark_persistent(l_Lean_Meta_DefaultInstances_defaultInstances___default); +l_Lean_Meta_DefaultInstances_priorities___default = _init_l_Lean_Meta_DefaultInstances_priorities___default(); +lean_mark_persistent(l_Lean_Meta_DefaultInstances_priorities___default); +l_Lean_Meta_instInhabitedDefaultInstances___closed__1 = _init_l_Lean_Meta_instInhabitedDefaultInstances___closed__1(); +lean_mark_persistent(l_Lean_Meta_instInhabitedDefaultInstances___closed__1); l_Lean_Meta_instInhabitedDefaultInstances = _init_l_Lean_Meta_instInhabitedDefaultInstances(); lean_mark_persistent(l_Lean_Meta_instInhabitedDefaultInstances); -l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_442____closed__1 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_442____closed__1(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_442____closed__1); -l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_442____closed__2 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_442____closed__2(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_442____closed__2); -l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_442____closed__3 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_442____closed__3(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_442____closed__3); -l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_442____closed__4 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_442____closed__4(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_442____closed__4); -l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_442____closed__5 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_442____closed__5(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_442____closed__5); +l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_487____closed__1 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_487____closed__1(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_487____closed__1); +l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_487____closed__2 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_487____closed__2(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_487____closed__2); +l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_487____closed__3 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_487____closed__3(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_487____closed__3); +l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_487____closed__4 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_487____closed__4(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_487____closed__4); +l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_487____closed__5 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_487____closed__5(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_487____closed__5); l_Lean_Meta_defaultInstanceExtension___closed__1 = _init_l_Lean_Meta_defaultInstanceExtension___closed__1(); lean_mark_persistent(l_Lean_Meta_defaultInstanceExtension___closed__1); l_Lean_Meta_defaultInstanceExtension___closed__2 = _init_l_Lean_Meta_defaultInstanceExtension___closed__2(); @@ -5307,7 +7904,7 @@ l_Lean_Meta_defaultInstanceExtension___closed__4 = _init_l_Lean_Meta_defaultInst lean_mark_persistent(l_Lean_Meta_defaultInstanceExtension___closed__4); l_Lean_Meta_defaultInstanceExtension___closed__5 = _init_l_Lean_Meta_defaultInstanceExtension___closed__5(); lean_mark_persistent(l_Lean_Meta_defaultInstanceExtension___closed__5); -res = l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_442_(lean_io_mk_world()); +res = l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_487_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l_Lean_Meta_defaultInstanceExtension = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_Meta_defaultInstanceExtension); @@ -5332,31 +7929,31 @@ l_Lean_Meta_addDefaultInstance___lambda__2___closed__9 = _init_l_Lean_Meta_addDe lean_mark_persistent(l_Lean_Meta_addDefaultInstance___lambda__2___closed__9); l_Lean_Meta_addDefaultInstance___lambda__2___closed__10 = _init_l_Lean_Meta_addDefaultInstance___lambda__2___closed__10(); lean_mark_persistent(l_Lean_Meta_addDefaultInstance___lambda__2___closed__10); -l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_694____lambda__2___closed__1 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_694____lambda__2___closed__1(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_694____lambda__2___closed__1); -l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_694____lambda__2___closed__2 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_694____lambda__2___closed__2(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_694____lambda__2___closed__2); -l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_694____lambda__2___closed__3 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_694____lambda__2___closed__3(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_694____lambda__2___closed__3); -l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_694____lambda__3___closed__1 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_694____lambda__3___closed__1(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_694____lambda__3___closed__1); -l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_694____lambda__3___closed__2 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_694____lambda__3___closed__2(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_694____lambda__3___closed__2); -l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_694____lambda__3___closed__3 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_694____lambda__3___closed__3(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_694____lambda__3___closed__3); -l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_694____closed__1 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_694____closed__1(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_694____closed__1); -l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_694____closed__2 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_694____closed__2(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_694____closed__2); -l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_694____closed__3 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_694____closed__3(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_694____closed__3); -l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_694____closed__4 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_694____closed__4(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_694____closed__4); -l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_694____closed__5 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_694____closed__5(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_694____closed__5); -l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_694____closed__6 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_694____closed__6(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_694____closed__6); -res = l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_694_(lean_io_mk_world()); +l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_743____lambda__2___closed__1 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_743____lambda__2___closed__1(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_743____lambda__2___closed__1); +l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_743____lambda__2___closed__2 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_743____lambda__2___closed__2(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_743____lambda__2___closed__2); +l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_743____lambda__2___closed__3 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_743____lambda__2___closed__3(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_743____lambda__2___closed__3); +l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_743____lambda__3___closed__1 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_743____lambda__3___closed__1(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_743____lambda__3___closed__1); +l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_743____lambda__3___closed__2 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_743____lambda__3___closed__2(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_743____lambda__3___closed__2); +l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_743____lambda__3___closed__3 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_743____lambda__3___closed__3(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_743____lambda__3___closed__3); +l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_743____closed__1 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_743____closed__1(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_743____closed__1); +l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_743____closed__2 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_743____closed__2(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_743____closed__2); +l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_743____closed__3 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_743____closed__3(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_743____closed__3); +l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_743____closed__4 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_743____closed__4(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_743____closed__4); +l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_743____closed__5 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_743____closed__5(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_743____closed__5); +l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_743____closed__6 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_743____closed__6(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_743____closed__6); +res = l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_743_(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/CaseArraySizes.c b/stage0/stdlib/Lean/Meta/Match/CaseArraySizes.c index 15c1119ced..6dda26c60f 100644 --- a/stage0/stdlib/Lean/Meta/Match/CaseArraySizes.c +++ b/stage0/stdlib/Lean/Meta/Match/CaseArraySizes.c @@ -17,11 +17,9 @@ lean_object* l_Lean_Meta_CaseArraySizesSubgoal_subst___default; size_t l_USize_add(size_t, size_t); lean_object* l_Lean_Expr_mvarId_x21(lean_object*); lean_object* l_Lean_stringToMessageData(lean_object*); -lean_object* l_Lean_Meta_caseArraySizes___closed__2; lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkEqImp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); lean_object* l_Lean_Meta_mkForallFVarsImp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_caseArraySizes___closed__3; lean_object* lean_name_mk_string(lean_object*, lean_object*); lean_object* lean_array_uget(lean_object*, size_t); lean_object* l___private_Lean_Meta_Match_CaseArraySizes_0__Lean_Meta_introArrayLit_loop___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -31,7 +29,9 @@ lean_object* l_Lean_Meta_inferType___at___private_Lean_Meta_InferType_0__Lean_Me extern lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__10; lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDeclImp___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Array_empty___closed__1; +lean_object* l_Lean_Meta_caseArraySizes___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getMVarTag(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_caseArraySizes___lambda__1___closed__2; lean_object* l_Lean_Meta_caseArraySizes_match__6___rarg(lean_object*, lean_object*); lean_object* l_Lean_Meta_CaseArraySizesSubgoal_elems___default; extern lean_object* l_Lean_Literal_type___closed__3; @@ -40,6 +40,7 @@ lean_object* lean_array_get_size(lean_object*); lean_object* l_ReaderT_bind___at_Lean_Meta_instMonadLCtxMetaM___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapIdxM_map___at_Lean_Meta_caseArraySizes___spec__3___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* l___private_Lean_Meta_Match_CaseArraySizes_0__Lean_Meta_mkArrayGetLit___closed__2; +lean_object* l_Lean_Meta_caseArraySizes___lambda__1___closed__1; lean_object* l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1019____spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkDecide___at_Lean_Meta_mkDecideProof___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_appArg_x21(lean_object*); @@ -112,9 +113,10 @@ lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkListLitImp(lean_obj lean_object* l_Lean_Meta_caseArraySizes_match__3(lean_object*); lean_object* l___private_Lean_Meta_Match_CaseArraySizes_0__Lean_Meta_introArrayLit(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_caseValues(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_caseArraySizes___closed__1; extern lean_object* l_Lean_instInhabitedName; lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkExpectedTypeHintImp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_caseArraySizes___lambda__1___closed__3; +lean_object* l_Lean_Meta_caseArraySizes___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getArrayArgType___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_caseArraySizes_match__1(lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_caseArraySizes___spec__1___boxed(lean_object*, lean_object*, lean_object*); @@ -2234,7 +2236,7 @@ return x_85; } } } -static lean_object* _init_l_Lean_Meta_caseArraySizes___closed__1() { +static lean_object* _init_l_Lean_Meta_caseArraySizes___lambda__1___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -2244,7 +2246,7 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_caseArraySizes___closed__2() { +static lean_object* _init_l_Lean_Meta_caseArraySizes___lambda__1___closed__2() { _start: { lean_object* x_1; @@ -2252,323 +2254,300 @@ x_1 = lean_mk_string("aSize"); return x_1; } } -static lean_object* _init_l_Lean_Meta_caseArraySizes___closed__3() { +static lean_object* _init_l_Lean_Meta_caseArraySizes___lambda__1___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Meta_caseArraySizes___closed__2; +x_2 = l_Lean_Meta_caseArraySizes___lambda__1___closed__2; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } +lean_object* l_Lean_Meta_caseArraySizes___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_12 = l_Lean_mkOptionalNode___closed__2; +lean_inc(x_1); +x_13 = lean_array_push(x_12, x_1); +x_14 = l_Lean_Meta_caseArraySizes___lambda__1___closed__1; +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_15 = l_Lean_Meta_mkAppM___at_Lean_Meta_mkDecideProof___spec__6(x_14, x_13, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_15) == 0) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +x_17 = lean_ctor_get(x_15, 1); +lean_inc(x_17); +lean_dec(x_15); +x_18 = l_Lean_Meta_caseArraySizes___lambda__1___closed__3; +x_19 = l_Lean_Literal_type___closed__3; +x_20 = l_Lean_Meta_caseValue___closed__2; +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_21 = l_Lean_Meta_assertExt(x_2, x_18, x_19, x_16, x_20, x_7, x_8, x_9, x_10, x_17); +if (lean_obj_tag(x_21) == 0) +{ +lean_object* x_22; lean_object* x_23; uint8_t x_24; lean_object* x_25; +x_22 = lean_ctor_get(x_21, 0); +lean_inc(x_22); +x_23 = lean_ctor_get(x_21, 1); +lean_inc(x_23); +lean_dec(x_21); +x_24 = 0; +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_25 = l_Lean_Meta_intro1Core(x_22, x_24, x_7, x_8, x_9, x_10, x_23); +if (lean_obj_tag(x_25) == 0) +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_26 = lean_ctor_get(x_25, 0); +lean_inc(x_26); +x_27 = lean_ctor_get(x_25, 1); +lean_inc(x_27); +lean_dec(x_25); +x_28 = lean_ctor_get(x_26, 0); +lean_inc(x_28); +x_29 = lean_ctor_get(x_26, 1); +lean_inc(x_29); +lean_dec(x_26); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_30 = l_Lean_Meta_intro1Core(x_29, x_24, x_7, x_8, x_9, x_10, x_27); +if (lean_obj_tag(x_30) == 0) +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; size_t x_36; size_t x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_31 = lean_ctor_get(x_30, 0); +lean_inc(x_31); +x_32 = lean_ctor_get(x_30, 1); +lean_inc(x_32); +lean_dec(x_30); +x_33 = lean_ctor_get(x_31, 0); +lean_inc(x_33); +x_34 = lean_ctor_get(x_31, 1); +lean_inc(x_34); +lean_dec(x_31); +x_35 = lean_array_get_size(x_3); +x_36 = lean_usize_of_nat(x_35); +x_37 = 0; +lean_inc(x_3); +x_38 = x_3; +x_39 = l_Array_mapMUnsafe_map___at_Lean_Meta_caseArraySizes___spec__1(x_36, x_37, x_38); +x_40 = x_39; +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_28); +x_41 = l_Lean_Meta_caseValues(x_34, x_28, x_40, x_4, x_7, x_8, x_9, x_10, x_32); +if (lean_obj_tag(x_41) == 0) +{ +lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_42 = lean_ctor_get(x_41, 0); +lean_inc(x_42); +x_43 = lean_ctor_get(x_41, 1); +lean_inc(x_43); +lean_dec(x_41); +x_44 = lean_array_get_size(x_42); +x_45 = lean_mk_empty_array_with_capacity(x_44); +x_46 = lean_unsigned_to_nat(0u); +x_47 = l_Array_mapIdxM_map___at_Lean_Meta_caseArraySizes___spec__3(x_3, x_5, x_1, x_28, x_33, x_35, x_37, x_42, x_42, x_44, x_46, lean_box(0), x_45, x_7, x_8, x_9, x_10, x_43); +lean_dec(x_42); +lean_dec(x_35); +lean_dec(x_3); +return x_47; +} +else +{ +uint8_t x_48; +lean_dec(x_35); +lean_dec(x_33); +lean_dec(x_28); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +x_48 = !lean_is_exclusive(x_41); +if (x_48 == 0) +{ +return x_41; +} +else +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_49 = lean_ctor_get(x_41, 0); +x_50 = lean_ctor_get(x_41, 1); +lean_inc(x_50); +lean_inc(x_49); +lean_dec(x_41); +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; +} +} +} +else +{ +uint8_t x_52; +lean_dec(x_28); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_52 = !lean_is_exclusive(x_30); +if (x_52 == 0) +{ +return x_30; +} +else +{ +lean_object* x_53; lean_object* x_54; lean_object* x_55; +x_53 = lean_ctor_get(x_30, 0); +x_54 = lean_ctor_get(x_30, 1); +lean_inc(x_54); +lean_inc(x_53); +lean_dec(x_30); +x_55 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_55, 0, x_53); +lean_ctor_set(x_55, 1, x_54); +return x_55; +} +} +} +else +{ +uint8_t x_56; +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_56 = !lean_is_exclusive(x_25); +if (x_56 == 0) +{ +return x_25; +} +else +{ +lean_object* x_57; lean_object* x_58; lean_object* x_59; +x_57 = lean_ctor_get(x_25, 0); +x_58 = lean_ctor_get(x_25, 1); +lean_inc(x_58); +lean_inc(x_57); +lean_dec(x_25); +x_59 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_59, 0, x_57); +lean_ctor_set(x_59, 1, x_58); +return x_59; +} +} +} +else +{ +uint8_t x_60; +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_60 = !lean_is_exclusive(x_21); +if (x_60 == 0) +{ +return x_21; +} +else +{ +lean_object* x_61; lean_object* x_62; lean_object* x_63; +x_61 = lean_ctor_get(x_21, 0); +x_62 = lean_ctor_get(x_21, 1); +lean_inc(x_62); +lean_inc(x_61); +lean_dec(x_21); +x_63 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_63, 0, x_61); +lean_ctor_set(x_63, 1, x_62); +return x_63; +} +} +} +else +{ +uint8_t x_64; +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_64 = !lean_is_exclusive(x_15); +if (x_64 == 0) +{ +return x_15; +} +else +{ +lean_object* x_65; lean_object* x_66; lean_object* x_67; +x_65 = lean_ctor_get(x_15, 0); +x_66 = lean_ctor_get(x_15, 1); +lean_inc(x_66); +lean_inc(x_65); +lean_dec(x_15); +x_67 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_67, 0, x_65); +lean_ctor_set(x_67, 1, x_66); +return x_67; +} +} +} +} lean_object* l_Lean_Meta_caseArraySizes(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -lean_object* x_11; lean_object* x_12; +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; x_11 = l_Lean_mkFVar(x_2); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); lean_inc(x_11); -x_12 = l_Lean_Meta_getArrayArgType(x_11, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_12) == 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_12, 1); -lean_inc(x_13); -lean_dec(x_12); -x_14 = l_Lean_mkOptionalNode___closed__2; -lean_inc(x_11); -x_15 = lean_array_push(x_14, x_11); -x_16 = l_Lean_Meta_caseArraySizes___closed__1; -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -x_17 = l_Lean_Meta_mkAppM___at_Lean_Meta_mkDecideProof___spec__6(x_16, x_15, x_6, x_7, x_8, x_9, x_13); -if (lean_obj_tag(x_17) == 0) -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; -x_18 = lean_ctor_get(x_17, 0); -lean_inc(x_18); -x_19 = lean_ctor_get(x_17, 1); -lean_inc(x_19); -lean_dec(x_17); -x_20 = l_Lean_Meta_caseArraySizes___closed__3; -x_21 = l_Lean_Literal_type___closed__3; -x_22 = l_Lean_Meta_caseValue___closed__2; -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -x_23 = l_Lean_Meta_assertExt(x_1, x_20, x_21, x_18, x_22, x_6, x_7, x_8, x_9, x_19); -if (lean_obj_tag(x_23) == 0) -{ -lean_object* x_24; lean_object* x_25; uint8_t x_26; lean_object* x_27; -x_24 = lean_ctor_get(x_23, 0); -lean_inc(x_24); -x_25 = lean_ctor_get(x_23, 1); -lean_inc(x_25); -lean_dec(x_23); -x_26 = 0; -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -x_27 = l_Lean_Meta_intro1Core(x_24, x_26, x_6, x_7, x_8, x_9, x_25); -if (lean_obj_tag(x_27) == 0) -{ -lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_28 = lean_ctor_get(x_27, 0); -lean_inc(x_28); -x_29 = lean_ctor_get(x_27, 1); -lean_inc(x_29); -lean_dec(x_27); -x_30 = lean_ctor_get(x_28, 0); -lean_inc(x_30); -x_31 = lean_ctor_get(x_28, 1); -lean_inc(x_31); -lean_dec(x_28); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -x_32 = l_Lean_Meta_intro1Core(x_31, x_26, x_6, x_7, x_8, x_9, x_29); -if (lean_obj_tag(x_32) == 0) -{ -lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; size_t x_38; size_t x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; -x_33 = lean_ctor_get(x_32, 0); -lean_inc(x_33); -x_34 = lean_ctor_get(x_32, 1); -lean_inc(x_34); -lean_dec(x_32); -x_35 = lean_ctor_get(x_33, 0); -lean_inc(x_35); -x_36 = lean_ctor_get(x_33, 1); -lean_inc(x_36); -lean_dec(x_33); -x_37 = lean_array_get_size(x_3); -x_38 = lean_usize_of_nat(x_37); -x_39 = 0; -lean_inc(x_3); -x_40 = x_3; -x_41 = l_Array_mapMUnsafe_map___at_Lean_Meta_caseArraySizes___spec__1(x_38, x_39, x_40); -x_42 = x_41; -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_30); -x_43 = l_Lean_Meta_caseValues(x_36, x_30, x_42, x_5, x_6, x_7, x_8, x_9, x_34); -if (lean_obj_tag(x_43) == 0) -{ -lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; -x_44 = lean_ctor_get(x_43, 0); -lean_inc(x_44); -x_45 = lean_ctor_get(x_43, 1); -lean_inc(x_45); -lean_dec(x_43); -x_46 = lean_array_get_size(x_44); -x_47 = lean_mk_empty_array_with_capacity(x_46); -x_48 = lean_unsigned_to_nat(0u); -x_49 = l_Array_mapIdxM_map___at_Lean_Meta_caseArraySizes___spec__3(x_3, x_4, x_11, x_30, x_35, x_37, x_39, x_44, x_44, x_46, x_48, lean_box(0), x_47, x_6, x_7, x_8, x_9, x_45); -lean_dec(x_44); -lean_dec(x_37); -lean_dec(x_3); -return x_49; -} -else -{ -uint8_t x_50; -lean_dec(x_37); -lean_dec(x_35); -lean_dec(x_30); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_4); -lean_dec(x_3); -x_50 = !lean_is_exclusive(x_43); -if (x_50 == 0) -{ -return x_43; -} -else -{ -lean_object* x_51; lean_object* x_52; lean_object* x_53; -x_51 = lean_ctor_get(x_43, 0); -x_52 = lean_ctor_get(x_43, 1); -lean_inc(x_52); -lean_inc(x_51); -lean_dec(x_43); -x_53 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_53, 0, x_51); -lean_ctor_set(x_53, 1, x_52); -return x_53; -} -} -} -else -{ -uint8_t x_54; -lean_dec(x_30); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_54 = !lean_is_exclusive(x_32); -if (x_54 == 0) -{ -return x_32; -} -else -{ -lean_object* x_55; lean_object* x_56; lean_object* x_57; -x_55 = lean_ctor_get(x_32, 0); -x_56 = lean_ctor_get(x_32, 1); -lean_inc(x_56); -lean_inc(x_55); -lean_dec(x_32); -x_57 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_57, 0, x_55); -lean_ctor_set(x_57, 1, x_56); -return x_57; -} -} -} -else -{ -uint8_t x_58; -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_58 = !lean_is_exclusive(x_27); -if (x_58 == 0) -{ -return x_27; -} -else -{ -lean_object* x_59; lean_object* x_60; lean_object* x_61; -x_59 = lean_ctor_get(x_27, 0); -x_60 = lean_ctor_get(x_27, 1); -lean_inc(x_60); -lean_inc(x_59); -lean_dec(x_27); -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_62; -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_62 = !lean_is_exclusive(x_23); -if (x_62 == 0) -{ -return x_23; -} -else -{ -lean_object* x_63; lean_object* x_64; lean_object* x_65; -x_63 = lean_ctor_get(x_23, 0); -x_64 = lean_ctor_get(x_23, 1); -lean_inc(x_64); -lean_inc(x_63); -lean_dec(x_23); -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 -{ -uint8_t x_66; -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_66 = !lean_is_exclusive(x_17); -if (x_66 == 0) -{ -return x_17; -} -else -{ -lean_object* x_67; lean_object* x_68; lean_object* x_69; -x_67 = lean_ctor_get(x_17, 0); -x_68 = lean_ctor_get(x_17, 1); -lean_inc(x_68); -lean_inc(x_67); -lean_dec(x_17); -x_69 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_69, 0, x_67); -lean_ctor_set(x_69, 1, x_68); -return x_69; -} -} -} -else -{ -uint8_t x_70; -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_70 = !lean_is_exclusive(x_12); -if (x_70 == 0) -{ -return x_12; -} -else -{ -lean_object* x_71; lean_object* x_72; lean_object* x_73; -x_71 = lean_ctor_get(x_12, 0); -x_72 = lean_ctor_get(x_12, 1); -lean_inc(x_72); -lean_inc(x_71); -lean_dec(x_12); -x_73 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_73, 0, x_71); -lean_ctor_set(x_73, 1, x_72); -return x_73; -} -} +x_12 = lean_alloc_closure((void*)(l_Lean_Meta_getArrayArgType), 6, 1); +lean_closure_set(x_12, 0, x_11); +lean_inc(x_1); +x_13 = lean_alloc_closure((void*)(l_Lean_Meta_caseArraySizes___lambda__1___boxed), 11, 5); +lean_closure_set(x_13, 0, x_11); +lean_closure_set(x_13, 1, x_1); +lean_closure_set(x_13, 2, x_3); +lean_closure_set(x_13, 3, x_5); +lean_closure_set(x_13, 4, x_4); +x_14 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Meta_instMonadLCtxMetaM___spec__2___rarg), 7, 2); +lean_closure_set(x_14, 0, x_12); +lean_closure_set(x_14, 1, x_13); +x_15 = l_Lean_Meta_withMVarContext___at_Lean_Meta_admit___spec__2___rarg(x_1, x_14, x_6, x_7, x_8, x_9, x_10); +return x_15; } } lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_caseArraySizes___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { @@ -2628,6 +2607,15 @@ lean_dec(x_1); return x_20; } } +lean_object* l_Lean_Meta_caseArraySizes___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +x_12 = l_Lean_Meta_caseArraySizes___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_6); +return x_12; +} +} lean_object* initialize_Init(lean_object*); lean_object* initialize_Lean_Meta_Tactic_Assert(lean_object*); lean_object* initialize_Lean_Meta_Match_CaseValues(lean_object*); @@ -2673,12 +2661,12 @@ l___private_Lean_Meta_Match_CaseArraySizes_0__Lean_Meta_introArrayLit_loop___clo lean_mark_persistent(l___private_Lean_Meta_Match_CaseArraySizes_0__Lean_Meta_introArrayLit_loop___closed__4); l___private_Lean_Meta_Match_CaseArraySizes_0__Lean_Meta_introArrayLit_loop___closed__5 = _init_l___private_Lean_Meta_Match_CaseArraySizes_0__Lean_Meta_introArrayLit_loop___closed__5(); lean_mark_persistent(l___private_Lean_Meta_Match_CaseArraySizes_0__Lean_Meta_introArrayLit_loop___closed__5); -l_Lean_Meta_caseArraySizes___closed__1 = _init_l_Lean_Meta_caseArraySizes___closed__1(); -lean_mark_persistent(l_Lean_Meta_caseArraySizes___closed__1); -l_Lean_Meta_caseArraySizes___closed__2 = _init_l_Lean_Meta_caseArraySizes___closed__2(); -lean_mark_persistent(l_Lean_Meta_caseArraySizes___closed__2); -l_Lean_Meta_caseArraySizes___closed__3 = _init_l_Lean_Meta_caseArraySizes___closed__3(); -lean_mark_persistent(l_Lean_Meta_caseArraySizes___closed__3); +l_Lean_Meta_caseArraySizes___lambda__1___closed__1 = _init_l_Lean_Meta_caseArraySizes___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_Meta_caseArraySizes___lambda__1___closed__1); +l_Lean_Meta_caseArraySizes___lambda__1___closed__2 = _init_l_Lean_Meta_caseArraySizes___lambda__1___closed__2(); +lean_mark_persistent(l_Lean_Meta_caseArraySizes___lambda__1___closed__2); +l_Lean_Meta_caseArraySizes___lambda__1___closed__3 = _init_l_Lean_Meta_caseArraySizes___lambda__1___closed__3(); +lean_mark_persistent(l_Lean_Meta_caseArraySizes___lambda__1___closed__3); return lean_io_result_mk_ok(lean_box(0)); } #ifdef __cplusplus diff --git a/stage0/stdlib/Lean/Meta/Match/Match.c b/stage0/stdlib/Lean/Meta/Match/Match.c index 642567dc85..37c1982bd0 100644 --- a/stage0/stdlib/Lean/Meta/Match/Match.c +++ b/stage0/stdlib/Lean/Meta/Match/Match.c @@ -57,6 +57,7 @@ lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_isDone___boxed lean_object* l_Lean_addTrace___at_Lean_Meta_Match_Unify_assign___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Std_AssocList_contains___at_Lean_Meta_FVarSubst_contains___spec__1(lean_object*, lean_object*); uint8_t l_Array_contains___at_Lean_Meta_addInstanceEntry___spec__11(lean_object*, lean_object*); +lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5151____closed__5; lean_object* l_Lean_Meta_Match_mkMatcher___lambda__2___closed__6; extern lean_object* l_Lean_withIncRecDepth___rarg___lambda__2___closed__2; lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_updateAlts_match__1___rarg(lean_object*, lean_object*, lean_object*); @@ -84,6 +85,7 @@ lean_object* l_Array_append___rarg(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_isValueTransition_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_expandVarIntoArrayLit_loop(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_Match_Match_0__Lean_Meta_Match_isArrayLitTransition___boxed(lean_object*); +lean_object* l_List_mapM___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___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_Format_pretty(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___closed__1; lean_object* l_List_mapM___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processVariable___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -117,9 +119,9 @@ extern lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAs lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_traceStep___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processValue___spec__5___boxed(lean_object*, lean_object*); lean_object* lean_st_ref_get(lean_object*, lean_object*); -lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5149____closed__2; lean_object* l_Lean_Meta_Match_processInaccessibleAsCtor___lambda__1___closed__3; extern lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_507____closed__3; +lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5151____closed__2; uint8_t l_Lean_Meta_Match_Unify_occurs(lean_object*, lean_object*); lean_object* l_List_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_expandVarIntoCtor_x3f___spec__5___boxed(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_instInhabitedParserDescr___closed__1; @@ -130,8 +132,8 @@ uint8_t lean_name_eq(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_checkNumPatterns(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_lambdaTelescope___at_Lean_Meta_MatcherApp_addArg___spec__4(lean_object*); lean_object* l_Lean_Expr_constructorApp_x3f(lean_object*, lean_object*); -lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5149____closed__4; lean_object* l_List_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___spec__5(lean_object*, lean_object*); +lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5151____closed__4; extern lean_object* l_instInhabitedNat; lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit_match__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Match_mkMatcher___lambda__2___closed__5; @@ -180,8 +182,8 @@ lean_object* l_Lean_Meta_Match_mkMatcher(lean_object*, lean_object*, lean_object lean_object* l_List_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processValue___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___spec__4___boxed(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_loop(lean_object*); +lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5151____closed__1; uint8_t l_USize_decLt(size_t, size_t); -lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5149____closed__1; lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___boxed__const__1; lean_object* l_Lean_Meta_Match_mkMatcher___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_instantiateMVarsImp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -211,7 +213,7 @@ lean_object* l_List_filterMapM_loop___at___private_Lean_Meta_Match_Match_0__Lean 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_kabstract___at_Lean_Meta_MatcherApp_addArg___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_6077_(lean_object*); +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_6079_(lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_Match_mkMatcher___spec__3___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Match_mkMatcher___lambda__1___closed__8; lean_object* l_Lean_Meta_Match_generateMatcherCode___boxed(lean_object*); @@ -278,13 +280,13 @@ lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Meta_Match_Match_0__Lean lean_object* l_Lean_Meta_Match_processInaccessibleAsCtor___closed__2; uint8_t l_Lean_KVMap_getBool(lean_object*, lean_object*, uint8_t); lean_object* l_Lean_Meta_whnfD___at___private_Lean_Meta_InferType_0__Lean_Meta_getLevelImp___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5149____closed__6; lean_object* l_Array_mapIdxM_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getArrayArgType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_getInductiveVal_x3f_match__2(lean_object*); extern lean_object* l___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getMajorPosDepElim___closed__8; lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_expandVarIntoArrayLit___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_expandVarIntoCtor_x3f___spec__4(lean_object*, lean_object*); +lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5151____closed__6; lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_expandVarIntoArrayLit_loop_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_expandVarIntoCtor_x3f___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Match_processInaccessibleAsCtor___closed__4; @@ -326,7 +328,6 @@ lean_object* l_Lean_Meta_MatcherApp_addArg_match__1(lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_hasRecursiveType_match__1(lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_loop___rarg___closed__1; lean_object* l_List_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processValue___spec__7(lean_object*, lean_object*); -lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5149____closed__3; lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingAux___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_hasValPattern_match__1___rarg(lean_object*, lean_object*, lean_object*); uint8_t l_List_foldr___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_hasNatValPattern___spec__1(uint8_t, lean_object*); @@ -334,9 +335,9 @@ lean_object* l_Std_HashSetImp_insert___at___private_Lean_Meta_Match_Match_0__Lea lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_checkNumPatterns___closed__3; lean_object* lean_st_mk_ref(lean_object*, lean_object*); lean_object* l_Lean_Meta_Match_mkMatcher___lambda__2___closed__4; +lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5151____closed__3; lean_object* l_Lean_Meta_mkArrow___at_Lean_Meta_MatcherApp_addArg___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Match_Unify_assign(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5149____closed__5; lean_object* l_List_foldr___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_inLocalDecls___spec__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Match_Unify_occurs_match__1(lean_object*); lean_object* l_Lean_Meta_Match_mkMatcher___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -630,7 +631,7 @@ extern lean_object* l_Lean_Meta_isLevelDefEqAux___closed__5; lean_object* l_List_mapM___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processAsPattern___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_expandVarIntoArrayLit_loop___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_List_filterMapM_loop___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_List_mapM___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_List_mapM___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_inLocalDecls___boxed(lean_object*, lean_object*); extern lean_object* l_Lean_mkOptionalNode___closed__2; lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processVariable___closed__1; @@ -681,7 +682,7 @@ lean_object* l_List_filterMapM_loop___at___private_Lean_Meta_Match_Match_0__Lean lean_object* l_Lean_Meta_forallBoundedTelescope___at___private_Lean_Meta_Match_Match_0__Lean_Meta_updateAlts___spec__1(lean_object*); lean_object* l_Lean_Meta_Match_Alt_applyFVarSubst(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processNonVariable_match__1(lean_object*); -lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5149_(lean_object*); +lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5151_(lean_object*); extern lean_object* l___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_throwInductiveTypeExpected___rarg___closed__2; uint8_t l_List_foldr___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_isArrayLitTransition___spec__1(uint8_t, lean_object*); extern lean_object* l_Lean_Meta_throwLetTypeMismatchMessage___rarg___closed__8; @@ -15467,534 +15468,536 @@ _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_List_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processSkipInaccessible___spec__1___closed__1; x_2 = l_List_mapM___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___spec__8___closed__1; -x_3 = lean_unsigned_to_nat(467u); +x_3 = lean_unsigned_to_nat(469u); x_4 = lean_unsigned_to_nat(18u); x_5 = l_Lean_Syntax_strLitToAtom___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); return x_6; } } -lean_object* l_List_mapM___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___spec__8(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +lean_object* l_List_mapM___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___spec__8(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -if (lean_obj_tag(x_3) == 0) +if (lean_obj_tag(x_4) == 0) { -lean_object* x_9; lean_object* x_10; +lean_object* x_10; lean_object* x_11; +lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_9 = lean_box(0); -x_10 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_10, 0, x_9); -lean_ctor_set(x_10, 1, x_8); -return x_10; +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_9); +return x_11; } else { -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_29; -x_11 = lean_ctor_get(x_3, 0); -lean_inc(x_11); -x_12 = lean_ctor_get(x_3, 1); +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_30; +x_12 = lean_ctor_get(x_4, 0); lean_inc(x_12); -if (lean_is_exclusive(x_3)) { - lean_ctor_release(x_3, 0); - lean_ctor_release(x_3, 1); - x_13 = x_3; +x_13 = lean_ctor_get(x_4, 1); +lean_inc(x_13); +if (lean_is_exclusive(x_4)) { + lean_ctor_release(x_4, 0); + lean_ctor_release(x_4, 1); + x_14 = x_4; } else { - lean_dec_ref(x_3); - x_13 = lean_box(0); + lean_dec_ref(x_4); + x_14 = lean_box(0); } -x_29 = lean_ctor_get(x_11, 4); -lean_inc(x_29); -if (lean_obj_tag(x_29) == 0) +x_30 = lean_ctor_get(x_12, 4); +lean_inc(x_30); +if (lean_obj_tag(x_30) == 0) { -lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; -lean_dec(x_11); -x_30 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___closed__1; -x_31 = l_List_mapM___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___spec__8___closed__2; -x_32 = lean_panic_fn(x_30, x_31); +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; +lean_dec(x_12); +x_31 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___closed__1; +x_32 = l_List_mapM___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___spec__8___closed__2; +x_33 = lean_panic_fn(x_31, x_32); +lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -lean_inc(x_4); -x_33 = lean_apply_5(x_32, x_4, x_5, x_6, x_7, x_8); -if (lean_obj_tag(x_33) == 0) +x_34 = lean_apply_5(x_33, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_34) == 0) { -lean_object* x_34; lean_object* x_35; -x_34 = lean_ctor_get(x_33, 0); -lean_inc(x_34); -x_35 = lean_ctor_get(x_33, 1); +lean_object* x_35; lean_object* x_36; +x_35 = lean_ctor_get(x_34, 0); lean_inc(x_35); -lean_dec(x_33); -x_14 = x_34; +x_36 = lean_ctor_get(x_34, 1); +lean_inc(x_36); +lean_dec(x_34); x_15 = x_35; -goto block_28; +x_16 = x_36; +goto block_29; } else { -uint8_t x_36; +uint8_t x_37; +lean_dec(x_14); lean_dec(x_13); -lean_dec(x_12); +lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_36 = !lean_is_exclusive(x_33); -if (x_36 == 0) +x_37 = !lean_is_exclusive(x_34); +if (x_37 == 0) { -return x_33; +return x_34; } else { -lean_object* x_37; lean_object* x_38; lean_object* x_39; -x_37 = lean_ctor_get(x_33, 0); -x_38 = lean_ctor_get(x_33, 1); +lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_38 = lean_ctor_get(x_34, 0); +x_39 = lean_ctor_get(x_34, 1); +lean_inc(x_39); lean_inc(x_38); -lean_inc(x_37); -lean_dec(x_33); -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_dec(x_34); +x_40 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_40, 0, x_38); +lean_ctor_set(x_40, 1, x_39); +return x_40; } } } else { -lean_object* x_40; -x_40 = lean_ctor_get(x_29, 0); -lean_inc(x_40); -switch (lean_obj_tag(x_40)) { +lean_object* x_41; +x_41 = lean_ctor_get(x_30, 0); +lean_inc(x_41); +switch (lean_obj_tag(x_41)) { case 1: { -uint8_t x_41; -x_41 = !lean_is_exclusive(x_11); -if (x_41 == 0) +uint8_t x_42; +x_42 = !lean_is_exclusive(x_12); +if (x_42 == 0) { -lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; -x_42 = lean_ctor_get(x_11, 0); -x_43 = lean_ctor_get(x_11, 1); -x_44 = lean_ctor_get(x_11, 2); -x_45 = lean_ctor_get(x_11, 3); -x_46 = lean_ctor_get(x_11, 4); -lean_dec(x_46); -x_47 = lean_ctor_get(x_29, 1); -lean_inc(x_47); -lean_dec(x_29); -x_48 = lean_ctor_get(x_40, 0); +lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_43 = lean_ctor_get(x_12, 0); +x_44 = lean_ctor_get(x_12, 1); +x_45 = lean_ctor_get(x_12, 2); +x_46 = lean_ctor_get(x_12, 3); +x_47 = lean_ctor_get(x_12, 4); +lean_dec(x_47); +x_48 = lean_ctor_get(x_30, 1); lean_inc(x_48); -lean_dec(x_40); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); +lean_dec(x_30); +x_49 = lean_ctor_get(x_41, 0); +lean_inc(x_49); +lean_dec(x_41); lean_inc(x_1); -x_49 = l_Lean_Meta_getArrayArgType(x_1, x_4, x_5, x_6, x_7, x_8); -if (lean_obj_tag(x_49) == 0) -{ -lean_object* x_50; lean_object* x_51; lean_object* x_52; -x_50 = lean_ctor_get(x_49, 0); -lean_inc(x_50); -x_51 = lean_ctor_get(x_49, 1); -lean_inc(x_51); -lean_dec(x_49); -lean_ctor_set(x_11, 4, x_47); +x_50 = l_Lean_Meta_FVarSubst_apply(x_3, x_1); +lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_2); -x_52 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_expandVarIntoArrayLit(x_11, x_48, x_50, x_2, x_4, x_5, x_6, x_7, x_51); -if (lean_obj_tag(x_52) == 0) +x_51 = l_Lean_Meta_getArrayArgType(x_50, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_51) == 0) { -lean_object* x_53; lean_object* x_54; -x_53 = lean_ctor_get(x_52, 0); +lean_object* x_52; lean_object* x_53; lean_object* x_54; +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_14 = x_53; -x_15 = x_54; -goto block_28; +lean_dec(x_51); +lean_ctor_set(x_12, 4, x_48); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_2); +x_54 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_expandVarIntoArrayLit(x_12, x_49, x_52, x_2, x_5, x_6, x_7, x_8, x_53); +if (lean_obj_tag(x_54) == 0) +{ +lean_object* x_55; lean_object* x_56; +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_15 = x_55; +x_16 = x_56; +goto block_29; } else { -uint8_t x_55; +uint8_t x_57; +lean_dec(x_14); lean_dec(x_13); -lean_dec(x_12); +lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_55 = !lean_is_exclusive(x_52); -if (x_55 == 0) +x_57 = !lean_is_exclusive(x_54); +if (x_57 == 0) { -return x_52; +return x_54; } else { -lean_object* x_56; lean_object* x_57; lean_object* x_58; -x_56 = lean_ctor_get(x_52, 0); -x_57 = lean_ctor_get(x_52, 1); -lean_inc(x_57); -lean_inc(x_56); -lean_dec(x_52); -x_58 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_58, 0, x_56); -lean_ctor_set(x_58, 1, x_57); -return x_58; +lean_object* x_58; lean_object* x_59; lean_object* x_60; +x_58 = lean_ctor_get(x_54, 0); +x_59 = lean_ctor_get(x_54, 1); +lean_inc(x_59); +lean_inc(x_58); +lean_dec(x_54); +x_60 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_60, 0, x_58); +lean_ctor_set(x_60, 1, x_59); +return x_60; } } } else { -uint8_t x_59; +uint8_t x_61; +lean_dec(x_49); lean_dec(x_48); -lean_dec(x_47); -lean_free_object(x_11); +lean_free_object(x_12); +lean_dec(x_46); lean_dec(x_45); lean_dec(x_44); lean_dec(x_43); -lean_dec(x_42); +lean_dec(x_14); lean_dec(x_13); -lean_dec(x_12); +lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_59 = !lean_is_exclusive(x_49); -if (x_59 == 0) +x_61 = !lean_is_exclusive(x_51); +if (x_61 == 0) { -return x_49; +return x_51; } else { -lean_object* x_60; lean_object* x_61; lean_object* x_62; -x_60 = lean_ctor_get(x_49, 0); -x_61 = lean_ctor_get(x_49, 1); -lean_inc(x_61); -lean_inc(x_60); -lean_dec(x_49); -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; +lean_object* x_62; lean_object* x_63; lean_object* x_64; +x_62 = lean_ctor_get(x_51, 0); +x_63 = lean_ctor_get(x_51, 1); +lean_inc(x_63); +lean_inc(x_62); +lean_dec(x_51); +x_64 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_64, 0, x_62); +lean_ctor_set(x_64, 1, x_63); +return x_64; } } } else { -lean_object* x_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_63 = lean_ctor_get(x_11, 0); -x_64 = lean_ctor_get(x_11, 1); -x_65 = lean_ctor_get(x_11, 2); -x_66 = lean_ctor_get(x_11, 3); +lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; +x_65 = lean_ctor_get(x_12, 0); +x_66 = lean_ctor_get(x_12, 1); +x_67 = lean_ctor_get(x_12, 2); +x_68 = lean_ctor_get(x_12, 3); +lean_inc(x_68); +lean_inc(x_67); lean_inc(x_66); lean_inc(x_65); -lean_inc(x_64); -lean_inc(x_63); -lean_dec(x_11); -x_67 = lean_ctor_get(x_29, 1); -lean_inc(x_67); -lean_dec(x_29); -x_68 = lean_ctor_get(x_40, 0); -lean_inc(x_68); -lean_dec(x_40); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_1); -x_69 = l_Lean_Meta_getArrayArgType(x_1, x_4, x_5, x_6, x_7, x_8); -if (lean_obj_tag(x_69) == 0) -{ -lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; -x_70 = lean_ctor_get(x_69, 0); +lean_dec(x_12); +x_69 = lean_ctor_get(x_30, 1); +lean_inc(x_69); +lean_dec(x_30); +x_70 = lean_ctor_get(x_41, 0); lean_inc(x_70); -x_71 = lean_ctor_get(x_69, 1); -lean_inc(x_71); -lean_dec(x_69); -x_72 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_72, 0, x_63); -lean_ctor_set(x_72, 1, x_64); -lean_ctor_set(x_72, 2, x_65); -lean_ctor_set(x_72, 3, x_66); -lean_ctor_set(x_72, 4, x_67); +lean_dec(x_41); +lean_inc(x_1); +x_71 = l_Lean_Meta_FVarSubst_apply(x_3, x_1); +lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_2); -x_73 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_expandVarIntoArrayLit(x_72, x_68, x_70, x_2, x_4, x_5, x_6, x_7, x_71); -if (lean_obj_tag(x_73) == 0) +x_72 = l_Lean_Meta_getArrayArgType(x_71, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_72) == 0) { -lean_object* x_74; lean_object* x_75; -x_74 = lean_ctor_get(x_73, 0); +lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; +x_73 = lean_ctor_get(x_72, 0); +lean_inc(x_73); +x_74 = lean_ctor_get(x_72, 1); lean_inc(x_74); -x_75 = lean_ctor_get(x_73, 1); -lean_inc(x_75); -lean_dec(x_73); -x_14 = x_74; -x_15 = x_75; -goto block_28; +lean_dec(x_72); +x_75 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_75, 0, x_65); +lean_ctor_set(x_75, 1, x_66); +lean_ctor_set(x_75, 2, x_67); +lean_ctor_set(x_75, 3, x_68); +lean_ctor_set(x_75, 4, x_69); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_2); +x_76 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_expandVarIntoArrayLit(x_75, x_70, x_73, x_2, x_5, x_6, x_7, x_8, x_74); +if (lean_obj_tag(x_76) == 0) +{ +lean_object* x_77; lean_object* x_78; +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_15 = x_77; +x_16 = x_78; +goto block_29; } else { -lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; +lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; +lean_dec(x_14); lean_dec(x_13); -lean_dec(x_12); +lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_76 = lean_ctor_get(x_73, 0); -lean_inc(x_76); -x_77 = lean_ctor_get(x_73, 1); -lean_inc(x_77); -if (lean_is_exclusive(x_73)) { - lean_ctor_release(x_73, 0); - lean_ctor_release(x_73, 1); - x_78 = x_73; +x_79 = lean_ctor_get(x_76, 0); +lean_inc(x_79); +x_80 = lean_ctor_get(x_76, 1); +lean_inc(x_80); +if (lean_is_exclusive(x_76)) { + lean_ctor_release(x_76, 0); + lean_ctor_release(x_76, 1); + x_81 = x_76; } else { - lean_dec_ref(x_73); - x_78 = lean_box(0); + lean_dec_ref(x_76); + x_81 = lean_box(0); } -if (lean_is_scalar(x_78)) { - x_79 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_81)) { + x_82 = lean_alloc_ctor(1, 2, 0); } else { - x_79 = x_78; + x_82 = x_81; } -lean_ctor_set(x_79, 0, x_76); -lean_ctor_set(x_79, 1, x_77); -return x_79; +lean_ctor_set(x_82, 0, x_79); +lean_ctor_set(x_82, 1, x_80); +return x_82; } } else { -lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; +lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; +lean_dec(x_70); +lean_dec(x_69); lean_dec(x_68); lean_dec(x_67); lean_dec(x_66); lean_dec(x_65); -lean_dec(x_64); -lean_dec(x_63); +lean_dec(x_14); lean_dec(x_13); -lean_dec(x_12); +lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_80 = lean_ctor_get(x_69, 0); -lean_inc(x_80); -x_81 = lean_ctor_get(x_69, 1); -lean_inc(x_81); -if (lean_is_exclusive(x_69)) { - lean_ctor_release(x_69, 0); - lean_ctor_release(x_69, 1); - x_82 = x_69; +x_83 = lean_ctor_get(x_72, 0); +lean_inc(x_83); +x_84 = lean_ctor_get(x_72, 1); +lean_inc(x_84); +if (lean_is_exclusive(x_72)) { + lean_ctor_release(x_72, 0); + lean_ctor_release(x_72, 1); + x_85 = x_72; } else { - lean_dec_ref(x_69); - x_82 = lean_box(0); + lean_dec_ref(x_72); + x_85 = lean_box(0); } -if (lean_is_scalar(x_82)) { - x_83 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_85)) { + x_86 = lean_alloc_ctor(1, 2, 0); } else { - x_83 = x_82; + x_86 = x_85; } -lean_ctor_set(x_83, 0, x_80); -lean_ctor_set(x_83, 1, x_81); -return x_83; +lean_ctor_set(x_86, 0, x_83); +lean_ctor_set(x_86, 1, x_84); +return x_86; } } } case 4: { -uint8_t x_84; -x_84 = !lean_is_exclusive(x_11); -if (x_84 == 0) +uint8_t x_87; +x_87 = !lean_is_exclusive(x_12); +if (x_87 == 0) { -lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; -x_85 = lean_ctor_get(x_11, 4); -lean_dec(x_85); -x_86 = lean_ctor_get(x_29, 1); -lean_inc(x_86); -lean_dec(x_29); -x_87 = lean_ctor_get(x_40, 1); -lean_inc(x_87); -lean_dec(x_40); -x_88 = l_List_append___rarg(x_87, x_86); -lean_ctor_set(x_11, 4, x_88); -x_14 = x_11; -x_15 = x_8; -goto block_28; +lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; +x_88 = lean_ctor_get(x_12, 4); +lean_dec(x_88); +x_89 = lean_ctor_get(x_30, 1); +lean_inc(x_89); +lean_dec(x_30); +x_90 = lean_ctor_get(x_41, 1); +lean_inc(x_90); +lean_dec(x_41); +x_91 = l_List_append___rarg(x_90, x_89); +lean_ctor_set(x_12, 4, x_91); +x_15 = x_12; +x_16 = x_9; +goto block_29; } 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; -x_89 = lean_ctor_get(x_11, 0); -x_90 = lean_ctor_get(x_11, 1); -x_91 = lean_ctor_get(x_11, 2); -x_92 = lean_ctor_get(x_11, 3); -lean_inc(x_92); -lean_inc(x_91); -lean_inc(x_90); -lean_inc(x_89); -lean_dec(x_11); -x_93 = lean_ctor_get(x_29, 1); -lean_inc(x_93); -lean_dec(x_29); -x_94 = lean_ctor_get(x_40, 1); +lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; +x_92 = lean_ctor_get(x_12, 0); +x_93 = lean_ctor_get(x_12, 1); +x_94 = lean_ctor_get(x_12, 2); +x_95 = lean_ctor_get(x_12, 3); +lean_inc(x_95); lean_inc(x_94); -lean_dec(x_40); -x_95 = l_List_append___rarg(x_94, x_93); -x_96 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_96, 0, x_89); -lean_ctor_set(x_96, 1, x_90); -lean_ctor_set(x_96, 2, x_91); -lean_ctor_set(x_96, 3, x_92); -lean_ctor_set(x_96, 4, x_95); -x_14 = x_96; -x_15 = x_8; -goto block_28; +lean_inc(x_93); +lean_inc(x_92); +lean_dec(x_12); +x_96 = lean_ctor_get(x_30, 1); +lean_inc(x_96); +lean_dec(x_30); +x_97 = lean_ctor_get(x_41, 1); +lean_inc(x_97); +lean_dec(x_41); +x_98 = l_List_append___rarg(x_97, x_96); +x_99 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_99, 0, x_92); +lean_ctor_set(x_99, 1, x_93); +lean_ctor_set(x_99, 2, x_94); +lean_ctor_set(x_99, 3, x_95); +lean_ctor_set(x_99, 4, x_98); +x_15 = x_99; +x_16 = x_9; +goto block_29; } } default: { -lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; -lean_dec(x_40); -lean_dec(x_29); -lean_dec(x_11); -x_97 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___closed__1; -x_98 = l_List_mapM___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___spec__8___closed__2; -x_99 = lean_panic_fn(x_97, x_98); +lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; +lean_dec(x_41); +lean_dec(x_30); +lean_dec(x_12); +x_100 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___closed__1; +x_101 = l_List_mapM___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___spec__8___closed__2; +x_102 = lean_panic_fn(x_100, x_101); +lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -lean_inc(x_4); -x_100 = lean_apply_5(x_99, x_4, x_5, x_6, x_7, x_8); -if (lean_obj_tag(x_100) == 0) +x_103 = lean_apply_5(x_102, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_103) == 0) { -lean_object* x_101; lean_object* x_102; -x_101 = lean_ctor_get(x_100, 0); -lean_inc(x_101); -x_102 = lean_ctor_get(x_100, 1); -lean_inc(x_102); -lean_dec(x_100); -x_14 = x_101; -x_15 = x_102; -goto block_28; +lean_object* x_104; lean_object* x_105; +x_104 = lean_ctor_get(x_103, 0); +lean_inc(x_104); +x_105 = lean_ctor_get(x_103, 1); +lean_inc(x_105); +lean_dec(x_103); +x_15 = x_104; +x_16 = x_105; +goto block_29; } else { -uint8_t x_103; +uint8_t x_106; +lean_dec(x_14); lean_dec(x_13); -lean_dec(x_12); +lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_103 = !lean_is_exclusive(x_100); -if (x_103 == 0) +x_106 = !lean_is_exclusive(x_103); +if (x_106 == 0) { -return x_100; +return x_103; } else { -lean_object* x_104; lean_object* x_105; lean_object* x_106; -x_104 = lean_ctor_get(x_100, 0); -x_105 = lean_ctor_get(x_100, 1); -lean_inc(x_105); -lean_inc(x_104); -lean_dec(x_100); -x_106 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_106, 0, x_104); -lean_ctor_set(x_106, 1, x_105); -return x_106; +lean_object* x_107; lean_object* x_108; lean_object* x_109; +x_107 = lean_ctor_get(x_103, 0); +x_108 = lean_ctor_get(x_103, 1); +lean_inc(x_108); +lean_inc(x_107); +lean_dec(x_103); +x_109 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_109, 0, x_107); +lean_ctor_set(x_109, 1, x_108); +return x_109; } } } } } -block_28: +block_29: { -lean_object* x_16; -x_16 = l_List_mapM___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___spec__8(x_1, x_2, x_12, x_4, x_5, x_6, x_7, x_15); -if (lean_obj_tag(x_16) == 0) +lean_object* x_17; +x_17 = l_List_mapM___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___spec__8(x_1, x_2, x_3, x_13, x_5, x_6, x_7, x_8, x_16); +if (lean_obj_tag(x_17) == 0) { -uint8_t x_17; -x_17 = !lean_is_exclusive(x_16); -if (x_17 == 0) +uint8_t x_18; +x_18 = !lean_is_exclusive(x_17); +if (x_18 == 0) { -lean_object* x_18; lean_object* x_19; -x_18 = lean_ctor_get(x_16, 0); -if (lean_is_scalar(x_13)) { - x_19 = lean_alloc_ctor(1, 2, 0); +lean_object* x_19; lean_object* x_20; +x_19 = lean_ctor_get(x_17, 0); +if (lean_is_scalar(x_14)) { + x_20 = lean_alloc_ctor(1, 2, 0); } else { - x_19 = x_13; + x_20 = x_14; } -lean_ctor_set(x_19, 0, x_14); -lean_ctor_set(x_19, 1, x_18); -lean_ctor_set(x_16, 0, x_19); -return x_16; +lean_ctor_set(x_20, 0, x_15); +lean_ctor_set(x_20, 1, x_19); +lean_ctor_set(x_17, 0, x_20); +return x_17; } else { -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; -x_20 = lean_ctor_get(x_16, 0); -x_21 = lean_ctor_get(x_16, 1); +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_21 = lean_ctor_get(x_17, 0); +x_22 = lean_ctor_get(x_17, 1); +lean_inc(x_22); lean_inc(x_21); -lean_inc(x_20); -lean_dec(x_16); -if (lean_is_scalar(x_13)) { - x_22 = lean_alloc_ctor(1, 2, 0); +lean_dec(x_17); +if (lean_is_scalar(x_14)) { + x_23 = lean_alloc_ctor(1, 2, 0); } else { - x_22 = x_13; + x_23 = x_14; } -lean_ctor_set(x_22, 0, x_14); -lean_ctor_set(x_22, 1, x_20); -x_23 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_23, 0, x_22); +lean_ctor_set(x_23, 0, x_15); lean_ctor_set(x_23, 1, x_21); -return 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); +return x_24; } } else { -uint8_t x_24; +uint8_t x_25; +lean_dec(x_15); lean_dec(x_14); -lean_dec(x_13); -x_24 = !lean_is_exclusive(x_16); -if (x_24 == 0) +x_25 = !lean_is_exclusive(x_17); +if (x_25 == 0) { -return x_16; +return x_17; } else { -lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_25 = lean_ctor_get(x_16, 0); -x_26 = lean_ctor_get(x_16, 1); +lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = lean_ctor_get(x_17, 0); +x_27 = lean_ctor_get(x_17, 1); +lean_inc(x_27); lean_inc(x_26); -lean_inc(x_25); -lean_dec(x_16); -x_27 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_27, 0, x_25); -lean_ctor_set(x_27, 1, x_26); -return x_27; +lean_dec(x_17); +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; } } } @@ -16050,63 +16053,66 @@ goto _start; } else { -lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; 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_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; x_33 = l_instInhabitedNat; x_34 = lean_array_get(x_33, x_4, x_8); x_35 = lean_ctor_get(x_20, 0); lean_inc(x_35); x_36 = lean_ctor_get(x_20, 1); lean_inc(x_36); -x_37 = lean_array_to_list(lean_box(0), x_36); -x_38 = l_List_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___spec__1(x_37); +x_37 = lean_ctor_get(x_20, 3); +lean_inc(x_37); +x_38 = lean_array_to_list(lean_box(0), x_36); +x_39 = l_List_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___spec__1(x_38); lean_inc(x_3); -x_39 = l_List_append___rarg(x_38, x_3); -x_40 = l_List_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___spec__2(x_20, x_39); -x_41 = lean_ctor_get(x_1, 2); -lean_inc(x_41); -x_42 = lean_ctor_get(x_1, 3); +x_40 = l_List_append___rarg(x_39, x_3); +x_41 = l_List_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___spec__2(x_20, x_40); +x_42 = lean_ctor_get(x_1, 2); lean_inc(x_42); +x_43 = lean_ctor_get(x_1, 3); +lean_inc(x_43); lean_inc(x_20); -x_43 = l_List_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___spec__4(x_2, x_20, x_42); -x_44 = l_List_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___spec__5(x_20, x_43); -x_45 = lean_box(0); -x_46 = l_List_filterAux___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___spec__6(x_34, x_41, x_45); -x_47 = l_List_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___spec__7(x_20, x_46); +x_44 = l_List_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___spec__4(x_2, x_20, x_43); +x_45 = l_List_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___spec__5(x_20, x_44); +x_46 = lean_box(0); +x_47 = l_List_filterAux___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___spec__6(x_34, x_42, x_46); +x_48 = l_List_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___spec__7(x_20, x_47); lean_dec(x_20); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_2); -x_48 = l_List_mapM___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___spec__8(x_2, x_34, x_47, x_11, x_12, x_13, x_14, x_15); -if (lean_obj_tag(x_48) == 0) +x_49 = l_List_mapM___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___spec__8(x_2, x_34, x_37, x_48, x_11, x_12, x_13, x_14, x_15); +lean_dec(x_37); +if (lean_obj_tag(x_49) == 0) { -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_48, 0); -lean_inc(x_49); -x_50 = lean_ctor_get(x_48, 1); +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_49, 0); lean_inc(x_50); -lean_dec(x_48); -x_51 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_51, 0, x_35); -lean_ctor_set(x_51, 1, x_40); -lean_ctor_set(x_51, 2, x_49); -lean_ctor_set(x_51, 3, x_44); -x_52 = lean_nat_add(x_8, x_18); +x_51 = lean_ctor_get(x_49, 1); +lean_inc(x_51); +lean_dec(x_49); +x_52 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_52, 0, x_35); +lean_ctor_set(x_52, 1, x_41); +lean_ctor_set(x_52, 2, x_50); +lean_ctor_set(x_52, 3, x_45); +x_53 = lean_nat_add(x_8, x_18); lean_dec(x_8); -x_53 = lean_array_push(x_10, x_51); +x_54 = lean_array_push(x_10, x_52); x_7 = x_19; -x_8 = x_52; +x_8 = x_53; x_9 = lean_box(0); -x_10 = x_53; -x_15 = x_50; +x_10 = x_54; +x_15 = x_51; goto _start; } else { -uint8_t x_55; -lean_dec(x_44); -lean_dec(x_40); +uint8_t x_56; +lean_dec(x_45); +lean_dec(x_41); lean_dec(x_35); lean_dec(x_19); lean_dec(x_14); @@ -16118,30 +16124,30 @@ lean_dec(x_8); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_55 = !lean_is_exclusive(x_48); -if (x_55 == 0) +x_56 = !lean_is_exclusive(x_49); +if (x_56 == 0) { -return x_48; +return x_49; } else { -lean_object* x_56; lean_object* x_57; lean_object* x_58; -x_56 = lean_ctor_get(x_48, 0); -x_57 = lean_ctor_get(x_48, 1); +lean_object* x_57; lean_object* x_58; lean_object* x_59; +x_57 = lean_ctor_get(x_49, 0); +x_58 = lean_ctor_get(x_49, 1); +lean_inc(x_58); lean_inc(x_57); -lean_inc(x_56); -lean_dec(x_48); -x_58 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_58, 0, x_56); -lean_ctor_set(x_58, 1, x_57); -return x_58; +lean_dec(x_49); +x_59 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_59, 0, x_57); +lean_ctor_set(x_59, 1, x_58); +return x_59; } } } } else { -lean_object* x_59; +lean_object* x_60; lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); @@ -16151,10 +16157,10 @@ lean_dec(x_7); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_59 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_59, 0, x_10); -lean_ctor_set(x_59, 1, x_15); -return x_59; +x_60 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_60, 0, x_10); +lean_ctor_set(x_60, 1, x_15); +return x_60; } } } @@ -16375,6 +16381,15 @@ lean_dec(x_1); return x_3; } } +lean_object* l_List_mapM___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___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: +{ +lean_object* x_10; +x_10 = l_List_mapM___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___spec__8(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_3); +return x_10; +} +} lean_object* l_Array_mapIdxM_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___spec__9___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_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: { @@ -19966,7 +19981,7 @@ lean_dec(x_2); return x_8; } } -static lean_object* _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5149____closed__1() { +static lean_object* _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5151____closed__1() { _start: { lean_object* x_1; @@ -19974,17 +19989,17 @@ x_1 = lean_mk_string("bootstrap"); return x_1; } } -static lean_object* _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5149____closed__2() { +static lean_object* _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5151____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5149____closed__1; +x_2 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5151____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5149____closed__3() { +static lean_object* _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5151____closed__3() { _start: { lean_object* x_1; @@ -19992,17 +20007,17 @@ x_1 = lean_mk_string("gen_matcher_code"); return x_1; } } -static lean_object* _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5149____closed__4() { +static lean_object* _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5151____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5149____closed__2; -x_2 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5149____closed__3; +x_1 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5151____closed__2; +x_2 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5151____closed__3; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5149____closed__5() { +static lean_object* _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5151____closed__5() { _start: { lean_object* x_1; @@ -20010,13 +20025,13 @@ x_1 = lean_mk_string("disable code generation for auxiliary matcher function"); return x_1; } } -static lean_object* _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5149____closed__6() { +static lean_object* _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5151____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_initFn____x40_Lean_Data_Options___hyg_476____closed__3; -x_2 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5149____closed__1; -x_3 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5149____closed__5; +x_2 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5151____closed__1; +x_3 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5151____closed__5; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -20024,12 +20039,12 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5149_(lean_object* x_1) { +lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5151_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_2 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5149____closed__4; -x_3 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5149____closed__6; +x_2 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5151____closed__4; +x_3 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5151____closed__6; x_4 = lean_register_option(x_2, x_3, x_1); return x_4; } @@ -20038,7 +20053,7 @@ uint8_t l_Lean_Meta_Match_generateMatcherCode(lean_object* x_1) { _start: { lean_object* x_2; uint8_t x_3; uint8_t x_4; -x_2 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5149____closed__4; +x_2 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5151____closed__4; x_3 = 1; x_4 = l_Lean_KVMap_getBool(x_1, x_2, x_3); return x_4; @@ -23658,7 +23673,7 @@ lean_dec(x_5); return x_11; } } -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_6077_(lean_object* x_1) { +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_6079_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -23934,19 +23949,19 @@ l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_getUElimPos_x3f___closed__2 lean_mark_persistent(l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_getUElimPos_x3f___closed__2); l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_getUElimPos_x3f___closed__3 = _init_l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_getUElimPos_x3f___closed__3(); lean_mark_persistent(l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_getUElimPos_x3f___closed__3); -l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5149____closed__1 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5149____closed__1(); -lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5149____closed__1); -l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5149____closed__2 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5149____closed__2(); -lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5149____closed__2); -l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5149____closed__3 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5149____closed__3(); -lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5149____closed__3); -l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5149____closed__4 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5149____closed__4(); -lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5149____closed__4); -l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5149____closed__5 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5149____closed__5(); -lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5149____closed__5); -l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5149____closed__6 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5149____closed__6(); -lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5149____closed__6); -res = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5149_(lean_io_mk_world()); +l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5151____closed__1 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5151____closed__1(); +lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5151____closed__1); +l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5151____closed__2 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5151____closed__2(); +lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5151____closed__2); +l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5151____closed__3 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5151____closed__3(); +lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5151____closed__3); +l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5151____closed__4 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5151____closed__4(); +lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5151____closed__4); +l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5151____closed__5 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5151____closed__5(); +lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5151____closed__5); +l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5151____closed__6 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5151____closed__6(); +lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5151____closed__6); +res = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_5151_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); l_Lean_Meta_Match_mkMatcher___lambda__1___closed__1 = _init_l_Lean_Meta_Match_mkMatcher___lambda__1___closed__1(); @@ -24019,7 +24034,7 @@ l_Lean_Meta_MatcherApp_addArg___lambda__4___closed__1 = _init_l_Lean_Meta_Matche lean_mark_persistent(l_Lean_Meta_MatcherApp_addArg___lambda__4___closed__1); l_Lean_Meta_MatcherApp_addArg___lambda__4___closed__2 = _init_l_Lean_Meta_MatcherApp_addArg___lambda__4___closed__2(); lean_mark_persistent(l_Lean_Meta_MatcherApp_addArg___lambda__4___closed__2); -res = l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_6077_(lean_io_mk_world()); +res = l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_6079_(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/Parser/Transform.c b/stage0/stdlib/Lean/Parser/Transform.c new file mode 100644 index 0000000000..3b7a24b376 --- /dev/null +++ b/stage0/stdlib/Lean/Parser/Transform.c @@ -0,0 +1,1586 @@ +// Lean compiler output +// Module: Lean.Parser.Transform +// Imports: Init Lean.Parser.Basic +#include +#if defined(__clang__) +#pragma clang diagnostic ignored "-Wunused-parameter" +#pragma clang diagnostic ignored "-Wunused-label" +#elif defined(__GNUC__) && !defined(__CLANG__) +#pragma GCC diagnostic ignored "-Wunused-parameter" +#pragma GCC diagnostic ignored "-Wunused-label" +#pragma GCC diagnostic ignored "-Wunused-but-set-variable" +#endif +#ifdef __cplusplus +extern "C" { +#endif +lean_object* lean_array_set(lean_object*, lean_object*, lean_object*); +lean_object* l_Std_Range_forIn_loop___at_Lean_Syntax_manyToSepBy___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t lean_name_eq(lean_object*, lean_object*); +lean_object* lean_array_push(lean_object*, lean_object*); +lean_object* lean_array_get_size(lean_object*); +lean_object* lean_string_append(lean_object*, lean_object*); +lean_object* l_Lean_Syntax_setTailInfo(lean_object*, lean_object*); +lean_object* lean_string_utf8_extract(lean_object*, lean_object*, lean_object*); +lean_object* lean_string_utf8_byte_size(lean_object*); +lean_object* lean_nat_add(lean_object*, lean_object*); +lean_object* l_Lean_Syntax_removeParen_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Syntax_manyToSepBy_match__1(lean_object*); +uint8_t lean_nat_dec_eq(lean_object*, lean_object*); +lean_object* lean_nat_sub(lean_object*, lean_object*); +lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_instInhabitedSourceInfo___closed__1; +lean_object* l_Std_Range_forIn_loop___at_Lean_Syntax_manyToSepBy___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_instInhabitedSyntax; +lean_object* l_Lean_Syntax_manyToSepBy(lean_object*, lean_object*); +extern lean_object* l_myMacro____x40_Init_Notation___hyg_5739____closed__21; +lean_object* l_Lean_Syntax_getNumArgs(lean_object*); +uint8_t lean_nat_dec_le(lean_object*, lean_object*); +lean_object* l_Lean_Syntax_manyToSepBy_match__2(lean_object*); +extern lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Environment_displayStats___spec__8___closed__3; +lean_object* l_Lean_Syntax_removeParen(lean_object*); +uint8_t l_Lean_Syntax_isNone(lean_object*); +lean_object* l_Lean_Syntax_getTailInfo(lean_object*); +lean_object* l_Lean_Syntax_manyToSepBy_match__1___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); +extern lean_object* l_Lean_mkOptionalNode___closed__2; +lean_object* l_Lean_Syntax_removeParen_match__1(lean_object*); +lean_object* l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(lean_object*); +lean_object* l_Lean_Syntax_manyToSepBy_match__2___rarg(lean_object*, lean_object*, lean_object*); +extern lean_object* l_myMacro____x40_Init_Notation___hyg_5739____closed__8; +uint8_t lean_string_dec_eq(lean_object*, lean_object*); +lean_object* l_Lean_Syntax_manyToSepBy_match__1___rarg(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_object* x_5; +lean_dec(x_2); +x_4 = lean_box(0); +x_5 = lean_apply_1(x_3, x_4); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_3); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_apply_1(x_2, x_6); +return x_7; +} +} +} +lean_object* l_Lean_Syntax_manyToSepBy_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Syntax_manyToSepBy_match__1___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_Syntax_manyToSepBy_match__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 1) +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; +lean_dec(x_3); +x_4 = lean_ctor_get(x_1, 0); +lean_inc(x_4); +x_5 = lean_ctor_get(x_1, 1); +lean_inc(x_5); +lean_dec(x_1); +x_6 = lean_apply_2(x_2, x_4, x_5); +return x_6; +} +else +{ +lean_object* x_7; +lean_dec(x_2); +x_7 = lean_apply_1(x_3, x_1); +return x_7; +} +} +} +lean_object* l_Lean_Syntax_manyToSepBy_match__2(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Syntax_manyToSepBy_match__2___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Std_Range_forIn_loop___at_Lean_Syntax_manyToSepBy___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; uint8_t x_8; +x_7 = lean_ctor_get(x_3, 1); +x_8 = lean_nat_dec_le(x_7, x_5); +if (x_8 == 0) +{ +lean_object* x_9; uint8_t x_10; +x_9 = lean_unsigned_to_nat(0u); +x_10 = lean_nat_dec_eq(x_4, x_9); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_11 = lean_unsigned_to_nat(1u); +x_12 = lean_nat_sub(x_4, x_11); +lean_dec(x_4); +x_13 = l_Lean_instInhabitedSyntax; +x_14 = lean_array_get(x_13, x_2, x_5); +x_15 = l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(x_6); +x_16 = l_Lean_Syntax_getTailInfo(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_21; lean_object* x_22; +lean_dec(x_15); +x_17 = l_Lean_instInhabitedSourceInfo___closed__1; +lean_inc(x_1); +x_18 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_1); +x_19 = lean_array_push(x_6, x_18); +x_20 = lean_array_push(x_19, x_14); +x_21 = lean_ctor_get(x_3, 2); +x_22 = lean_nat_add(x_5, x_21); +lean_dec(x_5); +x_4 = x_12; +x_5 = x_22; +x_6 = x_20; +goto _start; +} +else +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_24 = lean_ctor_get(x_16, 0); +lean_inc(x_24); +lean_dec(x_16); +x_25 = lean_array_get_size(x_6); +x_26 = lean_nat_sub(x_25, x_11); +lean_dec(x_25); +x_27 = lean_array_set(x_6, x_26, x_15); +lean_dec(x_26); +lean_inc(x_1); +x_28 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_28, 0, x_24); +lean_ctor_set(x_28, 1, x_1); +x_29 = lean_array_push(x_27, x_28); +x_30 = lean_array_push(x_29, x_14); +x_31 = lean_ctor_get(x_3, 2); +x_32 = lean_nat_add(x_5, x_31); +lean_dec(x_5); +x_4 = x_12; +x_5 = x_32; +x_6 = x_30; +goto _start; +} +} +else +{ +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_1); +return x_6; +} +} +else +{ +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_1); +return x_6; +} +} +} +lean_object* l_Lean_Syntax_manyToSepBy(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_1) == 1) +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7; +x_3 = lean_ctor_get(x_1, 0); +lean_inc(x_3); +x_4 = lean_ctor_get(x_1, 1); +lean_inc(x_4); +x_5 = lean_array_get_size(x_4); +x_6 = lean_unsigned_to_nat(0u); +x_7 = lean_nat_dec_eq(x_5, x_6); +if (x_7 == 0) +{ +uint8_t x_8; +x_8 = !lean_is_exclusive(x_1); +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; +x_9 = lean_ctor_get(x_1, 1); +lean_dec(x_9); +x_10 = lean_ctor_get(x_1, 0); +lean_dec(x_10); +x_11 = l_Lean_instInhabitedSyntax; +x_12 = lean_array_get(x_11, x_4, x_6); +x_13 = l_Lean_mkOptionalNode___closed__2; +x_14 = lean_array_push(x_13, x_12); +x_15 = lean_unsigned_to_nat(1u); +lean_inc(x_5); +x_16 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_5); +lean_ctor_set(x_16, 2, x_15); +x_17 = l_Std_Range_forIn_loop___at_Lean_Syntax_manyToSepBy___spec__1(x_2, x_4, x_16, x_5, x_15, x_14); +lean_dec(x_16); +lean_dec(x_4); +lean_ctor_set(x_1, 1, x_17); +return x_1; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +lean_dec(x_1); +x_18 = l_Lean_instInhabitedSyntax; +x_19 = lean_array_get(x_18, x_4, x_6); +x_20 = l_Lean_mkOptionalNode___closed__2; +x_21 = lean_array_push(x_20, x_19); +x_22 = lean_unsigned_to_nat(1u); +lean_inc(x_5); +x_23 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_23, 0, x_22); +lean_ctor_set(x_23, 1, x_5); +lean_ctor_set(x_23, 2, x_22); +x_24 = l_Std_Range_forIn_loop___at_Lean_Syntax_manyToSepBy___spec__1(x_2, x_4, x_23, x_5, x_22, x_21); +lean_dec(x_23); +lean_dec(x_4); +x_25 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_25, 0, x_3); +lean_ctor_set(x_25, 1, x_24); +return x_25; +} +} +else +{ +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_1; +} +} +else +{ +lean_dec(x_2); +return x_1; +} +} +} +lean_object* l_Std_Range_forIn_loop___at_Lean_Syntax_manyToSepBy___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; +x_7 = l_Std_Range_forIn_loop___at_Lean_Syntax_manyToSepBy___spec__1(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_3); +lean_dec(x_2); +return x_7; +} +} +lean_object* l_Lean_Syntax_removeParen_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +if (lean_obj_tag(x_1) == 2) +{ +lean_object* x_5; lean_object* x_6; +x_5 = lean_ctor_get(x_1, 0); +lean_inc(x_5); +x_6 = lean_ctor_get(x_5, 0); +lean_inc(x_6); +if (lean_obj_tag(x_6) == 0) +{ +lean_object* x_7; +x_7 = lean_ctor_get(x_5, 1); +lean_inc(x_7); +if (lean_obj_tag(x_7) == 0) +{ +lean_object* x_8; +x_8 = lean_ctor_get(x_5, 2); +lean_inc(x_8); +if (lean_obj_tag(x_8) == 0) +{ +uint8_t x_9; +lean_dec(x_3); +x_9 = !lean_is_exclusive(x_5); +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_10 = lean_ctor_get(x_5, 2); +lean_dec(x_10); +x_11 = lean_ctor_get(x_5, 1); +lean_dec(x_11); +x_12 = lean_ctor_get(x_5, 0); +lean_dec(x_12); +x_13 = !lean_is_exclusive(x_1); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; +x_14 = lean_ctor_get(x_1, 0); +lean_dec(x_14); +lean_ctor_set(x_5, 0, x_8); +x_15 = lean_apply_2(x_4, x_1, x_2); +return x_15; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_16 = lean_ctor_get(x_1, 1); +lean_inc(x_16); +lean_dec(x_1); +lean_ctor_set(x_5, 0, x_8); +x_17 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_17, 0, x_5); +lean_ctor_set(x_17, 1, x_16); +x_18 = lean_apply_2(x_4, x_17, x_2); +return x_18; +} +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +lean_dec(x_5); +x_19 = lean_ctor_get(x_1, 1); +lean_inc(x_19); +if (lean_is_exclusive(x_1)) { + lean_ctor_release(x_1, 0); + lean_ctor_release(x_1, 1); + x_20 = x_1; +} else { + lean_dec_ref(x_1); + x_20 = lean_box(0); +} +x_21 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_21, 0, x_8); +lean_ctor_set(x_21, 1, x_7); +lean_ctor_set(x_21, 2, x_8); +if (lean_is_scalar(x_20)) { + x_22 = lean_alloc_ctor(2, 2, 0); +} else { + x_22 = x_20; +} +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_19); +x_23 = lean_apply_2(x_4, x_22, x_2); +return x_23; +} +} +else +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; +x_24 = lean_ctor_get(x_1, 1); +lean_inc(x_24); +x_25 = lean_ctor_get(x_8, 0); +lean_inc(x_25); +x_26 = l_myMacro____x40_Init_Notation___hyg_5739____closed__21; +x_27 = lean_string_dec_eq(x_24, x_26); +lean_dec(x_24); +if (x_27 == 0) +{ +lean_object* x_28; +lean_dec(x_25); +lean_dec(x_8); +lean_dec(x_5); +lean_dec(x_3); +x_28 = lean_apply_2(x_4, x_1, x_2); +return x_28; +} +else +{ +uint8_t x_29; +x_29 = !lean_is_exclusive(x_1); +if (x_29 == 0) +{ +lean_object* x_30; lean_object* x_31; +x_30 = lean_ctor_get(x_1, 1); +lean_dec(x_30); +x_31 = lean_ctor_get(x_1, 0); +lean_dec(x_31); +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_32; +lean_dec(x_25); +lean_dec(x_8); +lean_dec(x_3); +lean_ctor_set(x_1, 1, x_26); +x_32 = lean_apply_2(x_4, x_1, x_2); +return x_32; +} +else +{ +lean_object* x_33; lean_object* x_34; +x_33 = lean_ctor_get(x_2, 0); +lean_inc(x_33); +x_34 = lean_ctor_get(x_33, 0); +lean_inc(x_34); +if (lean_obj_tag(x_34) == 0) +{ +uint8_t x_35; +x_35 = !lean_is_exclusive(x_5); +if (x_35 == 0) +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_36 = lean_ctor_get(x_5, 2); +lean_dec(x_36); +x_37 = lean_ctor_get(x_5, 1); +lean_dec(x_37); +x_38 = lean_ctor_get(x_5, 0); +lean_dec(x_38); +x_39 = lean_ctor_get(x_33, 1); +lean_inc(x_39); +if (lean_obj_tag(x_39) == 0) +{ +uint8_t x_40; +x_40 = !lean_is_exclusive(x_2); +if (x_40 == 0) +{ +lean_object* x_41; lean_object* x_42; +x_41 = lean_ctor_get(x_2, 0); +lean_dec(x_41); +x_42 = lean_ctor_get(x_33, 2); +lean_inc(x_42); +if (lean_obj_tag(x_42) == 0) +{ +uint8_t x_43; +lean_dec(x_25); +lean_dec(x_3); +x_43 = !lean_is_exclusive(x_33); +if (x_43 == 0) +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_44 = lean_ctor_get(x_33, 2); +lean_dec(x_44); +x_45 = lean_ctor_get(x_33, 1); +lean_dec(x_45); +x_46 = lean_ctor_get(x_33, 0); +lean_dec(x_46); +lean_ctor_set(x_33, 2, x_8); +lean_ctor_set(x_33, 0, x_42); +lean_ctor_set(x_1, 1, x_26); +lean_ctor_set(x_1, 0, x_33); +lean_ctor_set(x_5, 2, x_42); +lean_ctor_set(x_5, 1, x_39); +lean_ctor_set(x_5, 0, x_42); +lean_ctor_set(x_2, 0, x_5); +x_47 = lean_apply_2(x_4, x_1, x_2); +return x_47; +} +else +{ +lean_object* x_48; lean_object* x_49; +lean_dec(x_33); +x_48 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_48, 0, x_42); +lean_ctor_set(x_48, 1, x_39); +lean_ctor_set(x_48, 2, x_8); +lean_ctor_set(x_1, 1, x_26); +lean_ctor_set(x_1, 0, x_48); +lean_ctor_set(x_5, 2, x_42); +lean_ctor_set(x_5, 1, x_39); +lean_ctor_set(x_5, 0, x_42); +lean_ctor_set(x_2, 0, x_5); +x_49 = lean_apply_2(x_4, x_1, x_2); +return x_49; +} +} +else +{ +lean_object* x_50; lean_object* x_51; +lean_free_object(x_2); +lean_free_object(x_5); +lean_free_object(x_1); +lean_dec(x_8); +lean_dec(x_4); +x_50 = lean_ctor_get(x_42, 0); +lean_inc(x_50); +lean_dec(x_42); +x_51 = lean_apply_3(x_3, x_25, x_33, x_50); +return x_51; +} +} +else +{ +lean_object* x_52; +lean_dec(x_2); +x_52 = lean_ctor_get(x_33, 2); +lean_inc(x_52); +if (lean_obj_tag(x_52) == 0) +{ +lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; +lean_dec(x_25); +lean_dec(x_3); +if (lean_is_exclusive(x_33)) { + lean_ctor_release(x_33, 0); + lean_ctor_release(x_33, 1); + lean_ctor_release(x_33, 2); + x_53 = x_33; +} else { + lean_dec_ref(x_33); + x_53 = lean_box(0); +} +if (lean_is_scalar(x_53)) { + x_54 = lean_alloc_ctor(0, 3, 0); +} else { + x_54 = x_53; +} +lean_ctor_set(x_54, 0, x_52); +lean_ctor_set(x_54, 1, x_39); +lean_ctor_set(x_54, 2, x_8); +lean_ctor_set(x_1, 1, x_26); +lean_ctor_set(x_1, 0, x_54); +lean_ctor_set(x_5, 2, x_52); +lean_ctor_set(x_5, 1, x_39); +lean_ctor_set(x_5, 0, x_52); +x_55 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_55, 0, x_5); +x_56 = lean_apply_2(x_4, x_1, x_55); +return x_56; +} +else +{ +lean_object* x_57; lean_object* x_58; +lean_free_object(x_5); +lean_free_object(x_1); +lean_dec(x_8); +lean_dec(x_4); +x_57 = lean_ctor_get(x_52, 0); +lean_inc(x_57); +lean_dec(x_52); +x_58 = lean_apply_3(x_3, x_25, x_33, x_57); +return x_58; +} +} +} +else +{ +uint8_t x_59; +lean_dec(x_39); +lean_free_object(x_5); +lean_dec(x_25); +lean_dec(x_3); +x_59 = !lean_is_exclusive(x_33); +if (x_59 == 0) +{ +lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; +x_60 = lean_ctor_get(x_33, 2); +lean_dec(x_60); +x_61 = lean_ctor_get(x_33, 1); +lean_dec(x_61); +x_62 = lean_ctor_get(x_33, 0); +lean_dec(x_62); +lean_ctor_set(x_33, 2, x_8); +lean_ctor_set(x_33, 1, x_7); +lean_ctor_set(x_1, 1, x_26); +lean_ctor_set(x_1, 0, x_33); +x_63 = lean_apply_2(x_4, x_1, x_2); +return x_63; +} +else +{ +lean_object* x_64; lean_object* x_65; +lean_dec(x_33); +x_64 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_64, 0, x_34); +lean_ctor_set(x_64, 1, x_7); +lean_ctor_set(x_64, 2, x_8); +lean_ctor_set(x_1, 1, x_26); +lean_ctor_set(x_1, 0, x_64); +x_65 = lean_apply_2(x_4, x_1, x_2); +return x_65; +} +} +} +else +{ +lean_object* x_66; +lean_dec(x_5); +x_66 = lean_ctor_get(x_33, 1); +lean_inc(x_66); +if (lean_obj_tag(x_66) == 0) +{ +lean_object* x_67; lean_object* x_68; +if (lean_is_exclusive(x_2)) { + lean_ctor_release(x_2, 0); + x_67 = x_2; +} else { + lean_dec_ref(x_2); + x_67 = lean_box(0); +} +x_68 = lean_ctor_get(x_33, 2); +lean_inc(x_68); +if (lean_obj_tag(x_68) == 0) +{ +lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; +lean_dec(x_25); +lean_dec(x_3); +if (lean_is_exclusive(x_33)) { + lean_ctor_release(x_33, 0); + lean_ctor_release(x_33, 1); + lean_ctor_release(x_33, 2); + x_69 = x_33; +} else { + lean_dec_ref(x_33); + x_69 = lean_box(0); +} +if (lean_is_scalar(x_69)) { + x_70 = lean_alloc_ctor(0, 3, 0); +} else { + x_70 = x_69; +} +lean_ctor_set(x_70, 0, x_68); +lean_ctor_set(x_70, 1, x_66); +lean_ctor_set(x_70, 2, x_8); +lean_ctor_set(x_1, 1, x_26); +lean_ctor_set(x_1, 0, x_70); +x_71 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_71, 0, x_68); +lean_ctor_set(x_71, 1, x_66); +lean_ctor_set(x_71, 2, x_68); +if (lean_is_scalar(x_67)) { + x_72 = lean_alloc_ctor(1, 1, 0); +} else { + x_72 = x_67; +} +lean_ctor_set(x_72, 0, x_71); +x_73 = lean_apply_2(x_4, x_1, x_72); +return x_73; +} +else +{ +lean_object* x_74; lean_object* x_75; +lean_dec(x_67); +lean_free_object(x_1); +lean_dec(x_8); +lean_dec(x_4); +x_74 = lean_ctor_get(x_68, 0); +lean_inc(x_74); +lean_dec(x_68); +x_75 = lean_apply_3(x_3, x_25, x_33, x_74); +return x_75; +} +} +else +{ +lean_object* x_76; lean_object* x_77; lean_object* x_78; +lean_dec(x_66); +lean_dec(x_25); +lean_dec(x_3); +if (lean_is_exclusive(x_33)) { + lean_ctor_release(x_33, 0); + lean_ctor_release(x_33, 1); + lean_ctor_release(x_33, 2); + x_76 = x_33; +} else { + lean_dec_ref(x_33); + x_76 = lean_box(0); +} +if (lean_is_scalar(x_76)) { + x_77 = lean_alloc_ctor(0, 3, 0); +} else { + x_77 = x_76; +} +lean_ctor_set(x_77, 0, x_34); +lean_ctor_set(x_77, 1, x_7); +lean_ctor_set(x_77, 2, x_8); +lean_ctor_set(x_1, 1, x_26); +lean_ctor_set(x_1, 0, x_77); +x_78 = lean_apply_2(x_4, x_1, x_2); +return x_78; +} +} +} +else +{ +lean_object* x_79; +lean_dec(x_34); +lean_dec(x_33); +lean_dec(x_25); +lean_dec(x_8); +lean_dec(x_3); +lean_ctor_set(x_1, 1, x_26); +x_79 = lean_apply_2(x_4, x_1, x_2); +return x_79; +} +} +} +else +{ +lean_dec(x_1); +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_80; lean_object* x_81; +lean_dec(x_25); +lean_dec(x_8); +lean_dec(x_3); +x_80 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_80, 0, x_5); +lean_ctor_set(x_80, 1, x_26); +x_81 = lean_apply_2(x_4, x_80, x_2); +return x_81; +} +else +{ +lean_object* x_82; lean_object* x_83; +x_82 = lean_ctor_get(x_2, 0); +lean_inc(x_82); +x_83 = lean_ctor_get(x_82, 0); +lean_inc(x_83); +if (lean_obj_tag(x_83) == 0) +{ +lean_object* x_84; lean_object* x_85; +if (lean_is_exclusive(x_5)) { + lean_ctor_release(x_5, 0); + lean_ctor_release(x_5, 1); + lean_ctor_release(x_5, 2); + x_84 = x_5; +} else { + lean_dec_ref(x_5); + x_84 = lean_box(0); +} +x_85 = lean_ctor_get(x_82, 1); +lean_inc(x_85); +if (lean_obj_tag(x_85) == 0) +{ +lean_object* x_86; lean_object* x_87; +if (lean_is_exclusive(x_2)) { + lean_ctor_release(x_2, 0); + x_86 = x_2; +} else { + lean_dec_ref(x_2); + x_86 = lean_box(0); +} +x_87 = lean_ctor_get(x_82, 2); +lean_inc(x_87); +if (lean_obj_tag(x_87) == 0) +{ +lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; +lean_dec(x_25); +lean_dec(x_3); +if (lean_is_exclusive(x_82)) { + lean_ctor_release(x_82, 0); + lean_ctor_release(x_82, 1); + lean_ctor_release(x_82, 2); + x_88 = x_82; +} else { + lean_dec_ref(x_82); + x_88 = lean_box(0); +} +if (lean_is_scalar(x_88)) { + x_89 = lean_alloc_ctor(0, 3, 0); +} else { + x_89 = x_88; +} +lean_ctor_set(x_89, 0, x_87); +lean_ctor_set(x_89, 1, x_85); +lean_ctor_set(x_89, 2, x_8); +x_90 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_90, 0, x_89); +lean_ctor_set(x_90, 1, x_26); +if (lean_is_scalar(x_84)) { + x_91 = lean_alloc_ctor(0, 3, 0); +} else { + x_91 = x_84; +} +lean_ctor_set(x_91, 0, x_87); +lean_ctor_set(x_91, 1, x_85); +lean_ctor_set(x_91, 2, x_87); +if (lean_is_scalar(x_86)) { + x_92 = lean_alloc_ctor(1, 1, 0); +} else { + x_92 = x_86; +} +lean_ctor_set(x_92, 0, x_91); +x_93 = lean_apply_2(x_4, x_90, x_92); +return x_93; +} +else +{ +lean_object* x_94; lean_object* x_95; +lean_dec(x_86); +lean_dec(x_84); +lean_dec(x_8); +lean_dec(x_4); +x_94 = lean_ctor_get(x_87, 0); +lean_inc(x_94); +lean_dec(x_87); +x_95 = lean_apply_3(x_3, x_25, x_82, x_94); +return x_95; +} +} +else +{ +lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; +lean_dec(x_85); +lean_dec(x_84); +lean_dec(x_25); +lean_dec(x_3); +if (lean_is_exclusive(x_82)) { + lean_ctor_release(x_82, 0); + lean_ctor_release(x_82, 1); + lean_ctor_release(x_82, 2); + x_96 = x_82; +} else { + lean_dec_ref(x_82); + x_96 = lean_box(0); +} +if (lean_is_scalar(x_96)) { + x_97 = lean_alloc_ctor(0, 3, 0); +} else { + x_97 = x_96; +} +lean_ctor_set(x_97, 0, x_83); +lean_ctor_set(x_97, 1, x_7); +lean_ctor_set(x_97, 2, x_8); +x_98 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_98, 0, x_97); +lean_ctor_set(x_98, 1, x_26); +x_99 = lean_apply_2(x_4, x_98, x_2); +return x_99; +} +} +else +{ +lean_object* x_100; lean_object* x_101; +lean_dec(x_83); +lean_dec(x_82); +lean_dec(x_25); +lean_dec(x_8); +lean_dec(x_3); +x_100 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_100, 0, x_5); +lean_ctor_set(x_100, 1, x_26); +x_101 = lean_apply_2(x_4, x_100, x_2); +return x_101; +} +} +} +} +} +} +else +{ +lean_object* x_102; +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_3); +x_102 = lean_apply_2(x_4, x_1, x_2); +return x_102; +} +} +else +{ +lean_object* x_103; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +x_103 = lean_apply_2(x_4, x_1, x_2); +return x_103; +} +} +else +{ +lean_object* x_104; +lean_dec(x_3); +x_104 = lean_apply_2(x_4, x_1, x_2); +return x_104; +} +} +} +lean_object* l_Lean_Syntax_removeParen_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Syntax_removeParen_match__1___rarg), 4, 0); +return x_2; +} +} +lean_object* l_Lean_Syntax_removeParen(lean_object* x_1) { +_start: +{ +if (lean_obj_tag(x_1) == 1) +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; uint8_t x_5; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +x_3 = lean_ctor_get(x_1, 1); +lean_inc(x_3); +x_4 = l_myMacro____x40_Init_Notation___hyg_5739____closed__8; +x_5 = lean_name_eq(x_2, x_4); +if (x_5 == 0) +{ +lean_dec(x_3); +lean_dec(x_2); +return x_1; +} +else +{ +uint8_t x_6; +x_6 = !lean_is_exclusive(x_1); +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_7 = lean_ctor_get(x_1, 1); +lean_dec(x_7); +x_8 = lean_ctor_get(x_1, 0); +lean_dec(x_8); +lean_inc(x_3); +x_9 = l_Lean_instInhabitedSyntax; +x_10 = lean_unsigned_to_nat(1u); +x_11 = lean_array_get(x_9, x_3, x_10); +x_12 = l_Lean_Syntax_getNumArgs(x_11); +x_13 = lean_unsigned_to_nat(2u); +x_14 = lean_nat_dec_eq(x_12, x_13); +lean_dec(x_12); +if (x_14 == 0) +{ +lean_dec(x_11); +lean_dec(x_3); +return x_1; +} +else +{ +lean_object* x_15; uint8_t x_16; +x_15 = l_Lean_Syntax_getArg(x_11, x_10); +x_16 = l_Lean_Syntax_isNone(x_15); +lean_dec(x_15); +if (x_16 == 0) +{ +lean_dec(x_11); +lean_dec(x_3); +return x_1; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_17 = lean_unsigned_to_nat(0u); +x_18 = l_Lean_Syntax_getArg(x_11, x_17); +lean_dec(x_11); +x_19 = lean_array_get(x_9, x_3, x_13); +lean_dec(x_3); +if (lean_obj_tag(x_19) == 2) +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); +lean_dec(x_19); +x_22 = l_Lean_Syntax_getTailInfo(x_18); +x_23 = lean_ctor_get(x_20, 0); +lean_inc(x_23); +if (lean_obj_tag(x_23) == 0) +{ +lean_object* x_24; +x_24 = lean_ctor_get(x_20, 1); +lean_inc(x_24); +if (lean_obj_tag(x_24) == 0) +{ +lean_object* x_25; +x_25 = lean_ctor_get(x_20, 2); +lean_inc(x_25); +lean_dec(x_20); +if (lean_obj_tag(x_25) == 0) +{ +lean_dec(x_22); +lean_dec(x_21); +lean_dec(x_18); +return x_1; +} +else +{ +lean_object* x_26; lean_object* x_27; uint8_t x_28; +x_26 = lean_ctor_get(x_25, 0); +lean_inc(x_26); +lean_dec(x_25); +x_27 = l_myMacro____x40_Init_Notation___hyg_5739____closed__21; +x_28 = lean_string_dec_eq(x_21, x_27); +lean_dec(x_21); +if (x_28 == 0) +{ +lean_dec(x_26); +lean_dec(x_22); +lean_dec(x_18); +return x_1; +} +else +{ +if (lean_obj_tag(x_22) == 0) +{ +lean_dec(x_26); +lean_dec(x_18); +return x_1; +} +else +{ +lean_object* x_29; lean_object* x_30; +x_29 = lean_ctor_get(x_22, 0); +lean_inc(x_29); +lean_dec(x_22); +x_30 = lean_ctor_get(x_29, 0); +lean_inc(x_30); +if (lean_obj_tag(x_30) == 0) +{ +lean_object* x_31; +x_31 = lean_ctor_get(x_29, 1); +lean_inc(x_31); +if (lean_obj_tag(x_31) == 0) +{ +uint8_t x_32; +x_32 = !lean_is_exclusive(x_29); +if (x_32 == 0) +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_33 = lean_ctor_get(x_29, 2); +x_34 = lean_ctor_get(x_29, 1); +lean_dec(x_34); +x_35 = lean_ctor_get(x_29, 0); +lean_dec(x_35); +if (lean_obj_tag(x_33) == 0) +{ +lean_free_object(x_29); +lean_dec(x_26); +lean_dec(x_18); +return x_1; +} +else +{ +uint8_t x_36; +lean_dec(x_1); +x_36 = !lean_is_exclusive(x_33); +if (x_36 == 0) +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; uint8_t x_44; +x_37 = lean_ctor_get(x_33, 0); +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_37, 2); +lean_inc(x_40); +lean_dec(x_37); +x_41 = lean_string_utf8_extract(x_38, x_39, x_40); +lean_dec(x_40); +lean_dec(x_39); +lean_dec(x_38); +x_42 = l_Array_foldlMUnsafe_fold___at_Lean_Environment_displayStats___spec__8___closed__3; +x_43 = lean_string_append(x_41, x_42); +x_44 = !lean_is_exclusive(x_26); +if (x_44 == 0) +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_45 = lean_ctor_get(x_26, 0); +x_46 = lean_ctor_get(x_26, 1); +x_47 = lean_ctor_get(x_26, 2); +x_48 = lean_string_utf8_extract(x_45, x_46, x_47); +lean_dec(x_47); +lean_dec(x_46); +lean_dec(x_45); +x_49 = lean_string_append(x_43, x_48); +lean_dec(x_48); +x_50 = lean_string_utf8_byte_size(x_49); +lean_ctor_set(x_26, 2, x_50); +lean_ctor_set(x_26, 1, x_17); +lean_ctor_set(x_26, 0, x_49); +lean_ctor_set(x_33, 0, x_26); +x_51 = l_Lean_Syntax_setTailInfo(x_18, x_29); +return x_51; +} +else +{ +lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; +x_52 = lean_ctor_get(x_26, 0); +x_53 = lean_ctor_get(x_26, 1); +x_54 = lean_ctor_get(x_26, 2); +lean_inc(x_54); +lean_inc(x_53); +lean_inc(x_52); +lean_dec(x_26); +x_55 = lean_string_utf8_extract(x_52, x_53, x_54); +lean_dec(x_54); +lean_dec(x_53); +lean_dec(x_52); +x_56 = lean_string_append(x_43, x_55); +lean_dec(x_55); +x_57 = lean_string_utf8_byte_size(x_56); +x_58 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_58, 0, x_56); +lean_ctor_set(x_58, 1, x_17); +lean_ctor_set(x_58, 2, x_57); +lean_ctor_set(x_33, 0, x_58); +x_59 = l_Lean_Syntax_setTailInfo(x_18, x_29); +return x_59; +} +} +else +{ +lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; 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_60 = lean_ctor_get(x_33, 0); +lean_inc(x_60); +lean_dec(x_33); +x_61 = lean_ctor_get(x_60, 0); +lean_inc(x_61); +x_62 = lean_ctor_get(x_60, 1); +lean_inc(x_62); +x_63 = lean_ctor_get(x_60, 2); +lean_inc(x_63); +lean_dec(x_60); +x_64 = lean_string_utf8_extract(x_61, x_62, x_63); +lean_dec(x_63); +lean_dec(x_62); +lean_dec(x_61); +x_65 = l_Array_foldlMUnsafe_fold___at_Lean_Environment_displayStats___spec__8___closed__3; +x_66 = lean_string_append(x_64, x_65); +x_67 = lean_ctor_get(x_26, 0); +lean_inc(x_67); +x_68 = lean_ctor_get(x_26, 1); +lean_inc(x_68); +x_69 = lean_ctor_get(x_26, 2); +lean_inc(x_69); +if (lean_is_exclusive(x_26)) { + lean_ctor_release(x_26, 0); + lean_ctor_release(x_26, 1); + lean_ctor_release(x_26, 2); + x_70 = x_26; +} else { + lean_dec_ref(x_26); + x_70 = lean_box(0); +} +x_71 = lean_string_utf8_extract(x_67, x_68, x_69); +lean_dec(x_69); +lean_dec(x_68); +lean_dec(x_67); +x_72 = lean_string_append(x_66, x_71); +lean_dec(x_71); +x_73 = lean_string_utf8_byte_size(x_72); +if (lean_is_scalar(x_70)) { + x_74 = lean_alloc_ctor(0, 3, 0); +} else { + x_74 = x_70; +} +lean_ctor_set(x_74, 0, x_72); +lean_ctor_set(x_74, 1, x_17); +lean_ctor_set(x_74, 2, x_73); +x_75 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_75, 0, x_74); +lean_ctor_set(x_29, 2, x_75); +x_76 = l_Lean_Syntax_setTailInfo(x_18, x_29); +return x_76; +} +} +} +else +{ +lean_object* x_77; +x_77 = lean_ctor_get(x_29, 2); +lean_inc(x_77); +lean_dec(x_29); +if (lean_obj_tag(x_77) == 0) +{ +lean_dec(x_26); +lean_dec(x_18); +return x_1; +} +else +{ +lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; 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_dec(x_1); +x_78 = lean_ctor_get(x_77, 0); +lean_inc(x_78); +if (lean_is_exclusive(x_77)) { + lean_ctor_release(x_77, 0); + x_79 = x_77; +} else { + lean_dec_ref(x_77); + x_79 = lean_box(0); +} +x_80 = lean_ctor_get(x_78, 0); +lean_inc(x_80); +x_81 = lean_ctor_get(x_78, 1); +lean_inc(x_81); +x_82 = lean_ctor_get(x_78, 2); +lean_inc(x_82); +lean_dec(x_78); +x_83 = lean_string_utf8_extract(x_80, x_81, x_82); +lean_dec(x_82); +lean_dec(x_81); +lean_dec(x_80); +x_84 = l_Array_foldlMUnsafe_fold___at_Lean_Environment_displayStats___spec__8___closed__3; +x_85 = lean_string_append(x_83, x_84); +x_86 = lean_ctor_get(x_26, 0); +lean_inc(x_86); +x_87 = lean_ctor_get(x_26, 1); +lean_inc(x_87); +x_88 = lean_ctor_get(x_26, 2); +lean_inc(x_88); +if (lean_is_exclusive(x_26)) { + lean_ctor_release(x_26, 0); + lean_ctor_release(x_26, 1); + lean_ctor_release(x_26, 2); + x_89 = x_26; +} else { + lean_dec_ref(x_26); + x_89 = lean_box(0); +} +x_90 = lean_string_utf8_extract(x_86, x_87, x_88); +lean_dec(x_88); +lean_dec(x_87); +lean_dec(x_86); +x_91 = lean_string_append(x_85, x_90); +lean_dec(x_90); +x_92 = lean_string_utf8_byte_size(x_91); +if (lean_is_scalar(x_89)) { + x_93 = lean_alloc_ctor(0, 3, 0); +} else { + x_93 = x_89; +} +lean_ctor_set(x_93, 0, x_91); +lean_ctor_set(x_93, 1, x_17); +lean_ctor_set(x_93, 2, x_92); +if (lean_is_scalar(x_79)) { + x_94 = lean_alloc_ctor(1, 1, 0); +} else { + x_94 = x_79; +} +lean_ctor_set(x_94, 0, x_93); +x_95 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_95, 0, x_30); +lean_ctor_set(x_95, 1, x_31); +lean_ctor_set(x_95, 2, x_94); +x_96 = l_Lean_Syntax_setTailInfo(x_18, x_95); +return x_96; +} +} +} +else +{ +lean_dec(x_31); +lean_dec(x_29); +lean_dec(x_26); +lean_dec(x_18); +return x_1; +} +} +else +{ +lean_dec(x_30); +lean_dec(x_29); +lean_dec(x_26); +lean_dec(x_18); +return x_1; +} +} +} +} +} +else +{ +lean_dec(x_24); +lean_dec(x_22); +lean_dec(x_21); +lean_dec(x_20); +lean_dec(x_18); +return x_1; +} +} +else +{ +lean_dec(x_23); +lean_dec(x_22); +lean_dec(x_21); +lean_dec(x_20); +lean_dec(x_18); +return x_1; +} +} +else +{ +lean_dec(x_19); +lean_dec(x_18); +return x_1; +} +} +} +} +else +{ +lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; uint8_t x_103; +lean_dec(x_1); +lean_inc(x_3); +x_97 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_97, 0, x_2); +lean_ctor_set(x_97, 1, x_3); +x_98 = l_Lean_instInhabitedSyntax; +x_99 = lean_unsigned_to_nat(1u); +x_100 = lean_array_get(x_98, x_3, x_99); +x_101 = l_Lean_Syntax_getNumArgs(x_100); +x_102 = lean_unsigned_to_nat(2u); +x_103 = lean_nat_dec_eq(x_101, x_102); +lean_dec(x_101); +if (x_103 == 0) +{ +lean_dec(x_100); +lean_dec(x_3); +return x_97; +} +else +{ +lean_object* x_104; uint8_t x_105; +x_104 = l_Lean_Syntax_getArg(x_100, x_99); +x_105 = l_Lean_Syntax_isNone(x_104); +lean_dec(x_104); +if (x_105 == 0) +{ +lean_dec(x_100); +lean_dec(x_3); +return x_97; +} +else +{ +lean_object* x_106; lean_object* x_107; lean_object* x_108; +x_106 = lean_unsigned_to_nat(0u); +x_107 = l_Lean_Syntax_getArg(x_100, x_106); +lean_dec(x_100); +x_108 = lean_array_get(x_98, x_3, x_102); +lean_dec(x_3); +if (lean_obj_tag(x_108) == 2) +{ +lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; +x_109 = lean_ctor_get(x_108, 0); +lean_inc(x_109); +x_110 = lean_ctor_get(x_108, 1); +lean_inc(x_110); +lean_dec(x_108); +x_111 = l_Lean_Syntax_getTailInfo(x_107); +x_112 = lean_ctor_get(x_109, 0); +lean_inc(x_112); +if (lean_obj_tag(x_112) == 0) +{ +lean_object* x_113; +x_113 = lean_ctor_get(x_109, 1); +lean_inc(x_113); +if (lean_obj_tag(x_113) == 0) +{ +lean_object* x_114; +x_114 = lean_ctor_get(x_109, 2); +lean_inc(x_114); +lean_dec(x_109); +if (lean_obj_tag(x_114) == 0) +{ +lean_dec(x_111); +lean_dec(x_110); +lean_dec(x_107); +return x_97; +} +else +{ +lean_object* x_115; lean_object* x_116; uint8_t x_117; +x_115 = lean_ctor_get(x_114, 0); +lean_inc(x_115); +lean_dec(x_114); +x_116 = l_myMacro____x40_Init_Notation___hyg_5739____closed__21; +x_117 = lean_string_dec_eq(x_110, x_116); +lean_dec(x_110); +if (x_117 == 0) +{ +lean_dec(x_115); +lean_dec(x_111); +lean_dec(x_107); +return x_97; +} +else +{ +if (lean_obj_tag(x_111) == 0) +{ +lean_dec(x_115); +lean_dec(x_107); +return x_97; +} +else +{ +lean_object* x_118; lean_object* x_119; +x_118 = lean_ctor_get(x_111, 0); +lean_inc(x_118); +lean_dec(x_111); +x_119 = lean_ctor_get(x_118, 0); +lean_inc(x_119); +if (lean_obj_tag(x_119) == 0) +{ +lean_object* x_120; +x_120 = lean_ctor_get(x_118, 1); +lean_inc(x_120); +if (lean_obj_tag(x_120) == 0) +{ +lean_object* x_121; lean_object* x_122; +x_121 = lean_ctor_get(x_118, 2); +lean_inc(x_121); +if (lean_is_exclusive(x_118)) { + lean_ctor_release(x_118, 0); + lean_ctor_release(x_118, 1); + lean_ctor_release(x_118, 2); + x_122 = x_118; +} else { + lean_dec_ref(x_118); + x_122 = lean_box(0); +} +if (lean_obj_tag(x_121) == 0) +{ +lean_dec(x_122); +lean_dec(x_115); +lean_dec(x_107); +return x_97; +} +else +{ +lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; +lean_dec(x_97); +x_123 = lean_ctor_get(x_121, 0); +lean_inc(x_123); +if (lean_is_exclusive(x_121)) { + lean_ctor_release(x_121, 0); + x_124 = x_121; +} else { + lean_dec_ref(x_121); + x_124 = lean_box(0); +} +x_125 = lean_ctor_get(x_123, 0); +lean_inc(x_125); +x_126 = lean_ctor_get(x_123, 1); +lean_inc(x_126); +x_127 = lean_ctor_get(x_123, 2); +lean_inc(x_127); +lean_dec(x_123); +x_128 = lean_string_utf8_extract(x_125, x_126, x_127); +lean_dec(x_127); +lean_dec(x_126); +lean_dec(x_125); +x_129 = l_Array_foldlMUnsafe_fold___at_Lean_Environment_displayStats___spec__8___closed__3; +x_130 = lean_string_append(x_128, x_129); +x_131 = lean_ctor_get(x_115, 0); +lean_inc(x_131); +x_132 = lean_ctor_get(x_115, 1); +lean_inc(x_132); +x_133 = lean_ctor_get(x_115, 2); +lean_inc(x_133); +if (lean_is_exclusive(x_115)) { + lean_ctor_release(x_115, 0); + lean_ctor_release(x_115, 1); + lean_ctor_release(x_115, 2); + x_134 = x_115; +} else { + lean_dec_ref(x_115); + x_134 = lean_box(0); +} +x_135 = lean_string_utf8_extract(x_131, x_132, x_133); +lean_dec(x_133); +lean_dec(x_132); +lean_dec(x_131); +x_136 = lean_string_append(x_130, x_135); +lean_dec(x_135); +x_137 = lean_string_utf8_byte_size(x_136); +if (lean_is_scalar(x_134)) { + x_138 = lean_alloc_ctor(0, 3, 0); +} else { + x_138 = x_134; +} +lean_ctor_set(x_138, 0, x_136); +lean_ctor_set(x_138, 1, x_106); +lean_ctor_set(x_138, 2, x_137); +if (lean_is_scalar(x_124)) { + x_139 = lean_alloc_ctor(1, 1, 0); +} else { + x_139 = x_124; +} +lean_ctor_set(x_139, 0, x_138); +if (lean_is_scalar(x_122)) { + x_140 = lean_alloc_ctor(0, 3, 0); +} else { + x_140 = x_122; +} +lean_ctor_set(x_140, 0, x_119); +lean_ctor_set(x_140, 1, x_120); +lean_ctor_set(x_140, 2, x_139); +x_141 = l_Lean_Syntax_setTailInfo(x_107, x_140); +return x_141; +} +} +else +{ +lean_dec(x_120); +lean_dec(x_118); +lean_dec(x_115); +lean_dec(x_107); +return x_97; +} +} +else +{ +lean_dec(x_119); +lean_dec(x_118); +lean_dec(x_115); +lean_dec(x_107); +return x_97; +} +} +} +} +} +else +{ +lean_dec(x_113); +lean_dec(x_111); +lean_dec(x_110); +lean_dec(x_109); +lean_dec(x_107); +return x_97; +} +} +else +{ +lean_dec(x_112); +lean_dec(x_111); +lean_dec(x_110); +lean_dec(x_109); +lean_dec(x_107); +return x_97; +} +} +else +{ +lean_dec(x_108); +lean_dec(x_107); +return x_97; +} +} +} +} +} +} +else +{ +return x_1; +} +} +} +lean_object* initialize_Init(lean_object*); +lean_object* initialize_Lean_Parser_Basic(lean_object*); +static bool _G_initialized = false; +lean_object* initialize_Lean_Parser_Transform(lean_object* w) { +lean_object * res; +if (_G_initialized) return lean_io_result_mk_ok(lean_box(0)); +_G_initialized = true; +res = initialize_Init(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Parser_Basic(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)); +} +#ifdef __cplusplus +} +#endif diff --git a/stage0/stdlib/Lean/PrettyPrinter.c b/stage0/stdlib/Lean/PrettyPrinter.c index d57ca1a33e..fd4b9e5d52 100644 --- a/stage0/stdlib/Lean/PrettyPrinter.c +++ b/stage0/stdlib/Lean/PrettyPrinter.c @@ -1,6 +1,6 @@ // Lean compiler output // Module: Lean.PrettyPrinter -// Imports: Init Lean.Delaborator Lean.PrettyPrinter.Parenthesizer Lean.PrettyPrinter.Formatter Lean.Parser.Module Lean.ParserCompiler +// Imports: Init Lean.PrettyPrinter.Delaborator Lean.PrettyPrinter.Parenthesizer Lean.PrettyPrinter.Formatter Lean.Parser.Module Lean.ParserCompiler #include #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" @@ -79,7 +79,7 @@ extern lean_object* l_Lean_NameSet_empty; lean_object* l_Lean_PPContext_runCoreM___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_PrettyPrinter_0__Lean_PrettyPrinter_withoutContext_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_PrettyPrinter_0__Lean_PrettyPrinter_withoutContext_match__1(lean_object*); -lean_object* l_Lean_delab(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_delab(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_formatCommand(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_ppModule___closed__2; lean_object* l_Lean_PPContext_runCoreM(lean_object*); @@ -437,7 +437,7 @@ x_13 = l_Lean_LocalContext_sanitizeNames(x_9, x_12); x_14 = lean_ctor_get(x_13, 0); lean_inc(x_14); lean_dec(x_13); -x_15 = lean_alloc_closure((void*)(l_Lean_delab), 9, 4); +x_15 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_delab), 9, 4); lean_closure_set(x_15, 0, x_1); lean_closure_set(x_15, 1, x_2); lean_closure_set(x_15, 2, x_3); @@ -1653,7 +1653,7 @@ return x_6; } } lean_object* initialize_Init(lean_object*); -lean_object* initialize_Lean_Delaborator(lean_object*); +lean_object* initialize_Lean_PrettyPrinter_Delaborator(lean_object*); lean_object* initialize_Lean_PrettyPrinter_Parenthesizer(lean_object*); lean_object* initialize_Lean_PrettyPrinter_Formatter(lean_object*); lean_object* initialize_Lean_Parser_Module(lean_object*); @@ -1666,7 +1666,7 @@ _G_initialized = true; res = initialize_Init(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -res = initialize_Lean_Delaborator(lean_io_mk_world()); +res = initialize_Lean_PrettyPrinter_Delaborator(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); res = initialize_Lean_PrettyPrinter_Parenthesizer(lean_io_mk_world()); diff --git a/stage0/stdlib/Lean/PrettyPrinter/Delaborator.c b/stage0/stdlib/Lean/PrettyPrinter/Delaborator.c new file mode 100644 index 0000000000..9155135404 --- /dev/null +++ b/stage0/stdlib/Lean/PrettyPrinter/Delaborator.c @@ -0,0 +1,37 @@ +// Lean compiler output +// Module: Lean.PrettyPrinter.Delaborator +// Imports: Init Lean.PrettyPrinter.Delaborator.Basic Lean.PrettyPrinter.Delaborator.Builtins +#include +#if defined(__clang__) +#pragma clang diagnostic ignored "-Wunused-parameter" +#pragma clang diagnostic ignored "-Wunused-label" +#elif defined(__GNUC__) && !defined(__CLANG__) +#pragma GCC diagnostic ignored "-Wunused-parameter" +#pragma GCC diagnostic ignored "-Wunused-label" +#pragma GCC diagnostic ignored "-Wunused-but-set-variable" +#endif +#ifdef __cplusplus +extern "C" { +#endif +lean_object* initialize_Init(lean_object*); +lean_object* initialize_Lean_PrettyPrinter_Delaborator_Basic(lean_object*); +lean_object* initialize_Lean_PrettyPrinter_Delaborator_Builtins(lean_object*); +static bool _G_initialized = false; +lean_object* initialize_Lean_PrettyPrinter_Delaborator(lean_object* w) { +lean_object * res; +if (_G_initialized) return lean_io_result_mk_ok(lean_box(0)); +_G_initialized = true; +res = initialize_Init(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_PrettyPrinter_Delaborator_Basic(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_PrettyPrinter_Delaborator_Builtins(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)); +} +#ifdef __cplusplus +} +#endif diff --git a/stage0/stdlib/Lean/PrettyPrinter/Delaborator/Basic.c b/stage0/stdlib/Lean/PrettyPrinter/Delaborator/Basic.c new file mode 100644 index 0000000000..5de9d123c2 --- /dev/null +++ b/stage0/stdlib/Lean/PrettyPrinter/Delaborator/Basic.c @@ -0,0 +1,10647 @@ +// Lean compiler output +// Module: Lean.PrettyPrinter.Delaborator.Basic +// Imports: Init Lean.KeyedDeclsAttribute Lean.ProjFns Lean.Syntax Lean.Meta.Match Lean.Elab.Term +#include +#if defined(__clang__) +#pragma clang diagnostic ignored "-Wunused-parameter" +#pragma clang diagnostic ignored "-Wunused-label" +#elif defined(__GNUC__) && !defined(__CLANG__) +#pragma GCC diagnostic ignored "-Wunused-parameter" +#pragma GCC diagnostic ignored "-Wunused-label" +#pragma GCC diagnostic ignored "-Wunused-but-set-variable" +#endif +#ifdef __cplusplus +extern "C" { +#endif +extern lean_object* l_Lean_Expr_ctorName___closed__7; +extern lean_object* l_Lean_Name_toString___closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_delab___closed__1; +lean_object* l_Lean_Level_quote___closed__6; +lean_object* l_Lean_PrettyPrinter_Delaborator_withBindingDomain(lean_object*); +extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__27; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabFailureId; +extern lean_object* l_Lean_Syntax_strLitToAtom___closed__3; +lean_object* l_Lean_registerTraceClass(lean_object*, lean_object*); +lean_object* l_Std_PersistentHashMap_findAux___at_Lean_PrettyPrinter_Delaborator_delabFor___spec__3___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabFor_match__1(lean_object*); +lean_object* lean_local_ctx_get_unused_name(lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__2; +lean_object* l_Lean_PrettyPrinter_Delaborator_withAppFn___rarg___closed__2; +lean_object* l_Lean_PrettyPrinter_delab___closed__4; +lean_object* l_Lean_PrettyPrinter_Delaborator_instAlternativeDelabM___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Level_quote___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_delab___closed__2; +lean_object* lean_name_mk_string(lean_object*, lean_object*); +lean_object* lean_array_uget(lean_object*, size_t); +lean_object* l_Lean_Expr_bindingDomain_x21(lean_object*); +uint8_t l_Lean_getPPCoercions(lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_627____closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_getExprKind_match__2___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_getExprKind_match__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_574____closed__3; +lean_object* l_Lean_PrettyPrinter_Delaborator_mkDelabAttribute___closed__14; +lean_object* l_Lean_PrettyPrinter_Delaborator_withMDataExpr_match__1___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Syntax_isAtom___boxed(lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_instInhabitedDelabM___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__8; +lean_object* l_Lean_PrettyPrinter_Delaborator_orElse___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_mkDelabAttribute___closed__5; +lean_object* l_Lean_getPPStructureProjections___closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_withAppFnArgs_match__2___rarg(lean_object*, lean_object*, lean_object*); +uint8_t l_Lean_getPPExplicit(lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_withBindingBody___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Std_PersistentHashMap_find_x3f___at_Lean_PrettyPrinter_Delaborator_delabFor___spec__2(lean_object*, 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*); +lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDeclImp___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_getPPNotation___boxed(lean_object*); +lean_object* l_Lean_Level_quote___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Array_empty___closed__1; +lean_object* l_Lean_getPPNotation___closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_descend(lean_object*); +extern lean_object* l_Lean_Expr_ctorName___closed__1; +lean_object* l_Lean_Level_quote___lambda__6___closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_mkDelabAttribute___closed__3; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabFor(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__3; +lean_object* lean_st_ref_get(lean_object*, lean_object*); +uint8_t lean_name_eq(lean_object*, lean_object*); +lean_object* l_Lean_Meta_withLocalDecl___at_Lean_PrettyPrinter_Delaborator_withBindingBody___spec__1___rarg___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_Level_quote___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Expr_ctorName___closed__2; +lean_object* l_Lean_PrettyPrinter_Delaborator_withMDataExpr___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Expr_ctorName___closed__8; +lean_object* l_ReaderT_bind___at_Lean_Level_quote___spec__1(lean_object*, lean_object*); +lean_object* l_ReaderT_pure___at_Lean_PrettyPrinter_Delaborator_instMonadQuotationDelabM___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_627_(lean_object*); +lean_object* lean_expr_instantiate1(lean_object*, lean_object*); +lean_object* lean_array_push(lean_object*, lean_object*); +lean_object* lean_array_get_size(lean_object*); +lean_object* l_Lean_Level_quote___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_withAppFn___rarg___closed__1; +lean_object* l_Lean_Level_quote___lambda__1___boxed(lean_object*, lean_object*, lean_object*); +uint8_t l_Lean_getPPStructureProjections(lean_object*); +extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__35; +lean_object* l_Lean_PrettyPrinter_Delaborator_mkDelabAttribute___closed__6; +lean_object* l_Lean_Meta_withLocalDecl___at_Lean_PrettyPrinter_Delaborator_withBindingBody___spec__1___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_annotatePos___closed__1; +lean_object* l_Lean_Level_getOffsetAux(lean_object*, lean_object*); +extern lean_object* l___kind_stx____x40_Init_Notation___hyg_7296____closed__8; +lean_object* l_Lean_Level_quote_match__1(lean_object*); +lean_object* l_Lean_getPPFullNames___closed__1; +lean_object* l_Std_RBNode_find___at_Lean_PrettyPrinter_Delaborator_getPPOption___spec__1(lean_object*, lean_object*); +lean_object* l_Lean_Level_quote___lambda__4___closed__2; +extern lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_845____closed__4; +lean_object* l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1019____spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +size_t l_USize_shiftRight(size_t, size_t); +lean_object* l_Lean_Level_quote___lambda__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_getPPFullNames___boxed(lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_annotateCurPos___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Std_HashMapImp_find_x3f___at_Lean_PrettyPrinter_Delaborator_delabFor___spec__5___boxed(lean_object*, lean_object*); +extern lean_object* l_Lean_initFn____x40_Lean_Util_PPExt___hyg_3____closed__8; +lean_object* l_Lean_Level_quote_match__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Level_quote___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_withProj_match__1(lean_object*); +uint8_t l_Lean_getPPUniverses(lean_object*); +lean_object* l_Std_PersistentHashMap_findAux___at_Lean_PrettyPrinter_Delaborator_delabFor___spec__3(lean_object*, size_t, lean_object*); +lean_object* lean_nat_add(lean_object*, lean_object*); +extern lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_isExplicit___closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_getExprKind_match__1(lean_object*); +lean_object* l_Lean_Level_quote___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_instInhabitedException___closed__1; +lean_object* l_Lean_Name_toStringWithSep(lean_object*, lean_object*); +uint8_t l_Lean_getPPBinderTypes(lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_withAppFn_match__1(lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__11; +lean_object* l_Lean_PrettyPrinter_Delaborator_withProj___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Lean_getPPFullNames(lean_object*); +lean_object* l_Lean_Level_instQuoteLevel___closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_instMonadQuotationDelabM___closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_mkDelabAttribute___closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_instMonadQuotationDelabM___closed__4; +lean_object* l_Lean_PrettyPrinter_Delaborator_mkDelabAttribute___closed__2; +lean_object* l_Lean_PrettyPrinter_Delaborator_instMonadQuotationDelabM___closed__2; +lean_object* l_Lean_PrettyPrinter_Delaborator_failure(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_array_fget(lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_withBindingDomain___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t lean_nat_dec_eq(lean_object*, lean_object*); +extern lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__7; +lean_object* l_Lean_PrettyPrinter_Delaborator_annotateCurPos(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_Context_pos___default; +lean_object* l_Lean_Level_quote___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_numLitKind; +lean_object* l_Lean_PrettyPrinter_Delaborator_annotatePos_match__2___rarg(lean_object*, lean_object*, 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_PrettyPrinter_Delaborator_instMonadQuotationDelabM___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Level_quote___lambda__9___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_getPPUnicode___boxed(lean_object*); +lean_object* l_Lean_getPPUnicode___closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_mkDelabAttribute___closed__13; +uint8_t l_Lean_KVMap_getBool(lean_object*, lean_object*, uint8_t); +extern lean_object* l_Lean_Expr_ctorName___closed__5; +lean_object* l_Lean_PrettyPrinter_Delaborator_withAppFn___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Level_LevelToFormat_Result_format___closed__2; +lean_object* l_Lean_PrettyPrinter_Delaborator_instMonadQuotationDelabM___closed__3; +lean_object* l_Lean_PrettyPrinter_Delaborator_whenPPOption(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_annotatePos_match__1(lean_object*); +lean_object* l_Lean_Level_quote___lambda__8(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__7; +extern lean_object* l___private_Lean_Compiler_ExternAttr_0__Lean_syntaxToExternAttrData___closed__1; +lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); +lean_object* l_Std_HashMapImp_find_x3f___at_Lean_PrettyPrinter_Delaborator_delabFor___spec__5(lean_object*, lean_object*); +lean_object* l_Lean_Unhygienic_run___rarg(lean_object*); +lean_object* l_Lean_Level_quote_match__1___rarg(lean_object*, lean_object*, lean_object*); +lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabFor_match__2(lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_instOrElseDelabM(lean_object*); +extern lean_object* l_Lean_KeyedDeclsAttribute_instInhabitedKeyedDeclsAttribute___closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_instAlternativeDelabM___closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_delab___closed__3; +lean_object* l_Lean_PrettyPrinter_Delaborator_getUnusedName___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Level_toNat(lean_object*); +size_t l_Lean_Name_hash(lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAttribute; +lean_object* l_Nat_repr(lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_liftMetaM___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_mkDelabAttribute(lean_object*); +extern lean_object* l_Lean_instInhabitedSourceInfo___closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_delab___closed__2; +lean_object* l_Lean_PrettyPrinter_Delaborator_instOrElseDelabM___closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_627____closed__2; +lean_object* l_Lean_PrettyPrinter_Delaborator_delab___closed__5; +lean_object* l_Lean_PrettyPrinter_Delaborator_instAlternativeDelabM___closed__2; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabFor_match__1___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Level_quote___lambda__2___closed__1; +uint8_t l_Lean_getPPStructureInstanceType(lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_withBindingBodyUnusedName(lean_object*); +extern lean_object* l_Lean_Expr_ctorName___closed__3; +lean_object* l_Lean_PrettyPrinter_Delaborator_annotatePos_match__1___rarg(lean_object*, lean_object*, lean_object*); +uint8_t l_Lean_getPPUnicode(lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_mkDelabAttribute___closed__4; +lean_object* l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__4; +lean_object* l_Lean_PrettyPrinter_Delaborator_withAppArg_match__1___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_withAppArg___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__5; +lean_object* l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__3; +lean_object* l_Lean_PrettyPrinter_Delaborator_mkDelabAttribute___closed__9; +extern lean_object* l_Lean_Unhygienic_instMonadQuotationUnhygienic___closed__4; +lean_object* l_Lean_PrettyPrinter_Delaborator_withAppFnArgs_match__2(lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_getExprKind_match__2(lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_withMDataExpr___rarg___closed__2; +lean_object* l_Lean_SMap_find_x3f___at_Lean_PrettyPrinter_Delaborator_delabFor___spec__1___boxed(lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_withMDataExpr___rarg___closed__1; +lean_object* l_Lean_Level_quote___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Level_quote___lambda__9(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_getPPStructureInstances___closed__2; +extern lean_object* l_Lean_Elab_Level_elabLevel___closed__2; +lean_object* l_Lean_PrettyPrinter_Delaborator_orElse(lean_object*); +uint8_t l_Lean_getPPPrivateNames(lean_object*); +size_t lean_usize_modn(size_t, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_mkDelabAttribute___closed__8; +lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_getUnusedName(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Format_getUnicode___closed__1; +lean_object* l_Lean_Level_quote___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_withAppArg_match__1(lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_descend___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Lean_getPPStructureInstances(lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__10; +lean_object* l_Lean_PrettyPrinter_Delaborator_annotatePos(lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_getPPOption_match__1___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_withAppFn(lean_object*); +lean_object* l_Lean_getPPCoercions___closed__2; +lean_object* l_Lean_PrettyPrinter_Delaborator_withProj(lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_whenNotPPOption(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_withBindingBody___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Level_quote_match__2(lean_object*); +extern lean_object* l_Lean_Level_LevelToFormat_Result_format___closed__4; +lean_object* l_Lean_getPPCoercions___closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_withBindingBodyUnusedName___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Std_AssocList_find_x3f___at_Lean_PrettyPrinter_Delaborator_delabFor___spec__6___boxed(lean_object*, lean_object*); +size_t l_USize_land(size_t, size_t); +lean_object* l_Lean_Level_quote___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_failure___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_getPPCoercions___boxed(lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_withAppFn___rarg___closed__4; +lean_object* l_Lean_registerInternalExceptionId(lean_object*, lean_object*); +extern lean_object* l_Lean_nullKind___closed__2; +lean_object* l_Lean_PrettyPrinter_Delaborator_mkDelabAttribute___closed__11; +lean_object* l_Lean_PrettyPrinter_delab(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___closed__1; +extern lean_object* l_Lean_Expr_ctorName___closed__9; +uint8_t l_Lean_getPPNotation(lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_getExprKind_match__3(lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delab(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_withMDataExpr(lean_object*); +lean_object* l_Lean_fmt___at_Lean_ppExpr___spec__4(lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_instMonadQuotationDelabM; +lean_object* l_Lean_PrettyPrinter_Delaborator_withAppFnArgs_match__1___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_getPPStructureInstanceType___boxed(lean_object*); +lean_object* l_Lean_getPPStructureInstanceType___closed__1; +lean_object* l_Std_PersistentHashMap_find_x3f___at_Lean_PrettyPrinter_Delaborator_delabFor___spec__2___boxed(lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__6; +lean_object* l_Lean_PrettyPrinter_Delaborator_instAlternativeDelabM___closed__3; +lean_object* l_Lean_PrettyPrinter_Delaborator_getPPOption___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Array_foldlMUnsafe_fold___at_Lean_withNestedTraces___spec__5___closed__1; +lean_object* l_Lean_Expr_bindingName_x21(lean_object*); +extern lean_object* l_Lean_Expr_ctorName___closed__10; +lean_object* l_Lean_Level_quote___lambda__4___closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_withAppArg(lean_object*); +lean_object* l_Lean_Level_instQuoteLevel; +lean_object* l_Lean_PrettyPrinter_Delaborator_instInhabitedDelabM___closed__1; +lean_object* l_Lean_Level_quote___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_withAppFnArgs___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Elab_Level_elabLevel___closed__5; +lean_object* l_Lean_Syntax_getArgs(lean_object*); +lean_object* l_Lean_Name_append(lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_withProj_match__1___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_ReaderT_pure___at_Lean_PrettyPrinter_Delaborator_instMonadQuotationDelabM___spec__1(lean_object*); +extern lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__2; +extern lean_object* l_Lean_getSanitizeNames___closed__2; +uint8_t l_Lean_Name_isAnonymous(lean_object*); +lean_object* lean_panic_fn(lean_object*, lean_object*); +lean_object* l_Lean_getPPUniverses___closed__2; +lean_object* l_Lean_PrettyPrinter_delab___closed__6; +extern lean_object* l_Lean_getSanitizeNames___closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_withBindingBody___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_annotatePos_match__2(lean_object*); +lean_object* l_Array_appendCore___rarg(lean_object*, lean_object*); +extern lean_object* l_Lean_Elab_Level_elabLevel___closed__3; +lean_object* l_Lean_getPPAll___boxed(lean_object*); +lean_object* l_Lean_Level_quote___lambda__1(lean_object*, lean_object*, lean_object*); +lean_object* lean_register_option(lean_object*, lean_object*, lean_object*); +lean_object* l_Std_PersistentHashMap_findAtAux___at_Lean_PrettyPrinter_Delaborator_delabFor___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_getPPAll___closed__1; +lean_object* l_Lean_getPPStructureInstances___boxed(lean_object*); +lean_object* l_Lean_getPPUniverses___closed__1; +lean_object* l_Lean_getPPUniverses___boxed(lean_object*); +lean_object* l_Lean_getPPStructureInstances___closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_mkDelabAttribute___closed__12; +lean_object* l_Lean_PrettyPrinter_Delaborator_instAlternativeDelabM; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_getExprKind_match__1___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_getPPFullNames___closed__2; +lean_object* lean_nat_mul(lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__5; +lean_object* l_Lean_getPPStructureInstanceType___closed__2; +lean_object* l_Lean_getPPExplicit___boxed(lean_object*); +lean_object* l_List_firstM___at_Lean_PrettyPrinter_Delaborator_delabFor___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Syntax_setInfo(lean_object*, lean_object*); +lean_object* l_Lean_Level_quote___lambda__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_getPPPrivateNames___closed__2; +lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_574_(lean_object*); +lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_574____closed__2; +lean_object* l_Lean_Level_getLevelOffset(lean_object*); +extern lean_object* l_Lean_KeyedDeclsAttribute_instInhabitedDef___closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_withAppFnArgs(lean_object*); +lean_object* l_Lean_getPPNotation___closed__2; +lean_object* l_Lean_getPPExplicit___closed__1; +lean_object* l_Std_PersistentHashMap_findAtAux___at_Lean_PrettyPrinter_Delaborator_delabFor___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_instInhabitedDelabM(lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delab___closed__4; +lean_object* l_Lean_PrettyPrinter_Delaborator_getExprKind(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern size_t l_Std_PersistentHashMap_insertAux___rarg___closed__2; +uint8_t l_Lean_Expr_binderInfo(lean_object*); +uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); +lean_object* l_Lean_PersistentEnvExtension_getState___rarg(lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_instInhabitedDelabM___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_mkDelabAttribute___closed__10; +extern lean_object* l_Lean_Expr_ctorName___closed__6; +lean_object* l_Lean_Level_quote___closed__5; +lean_object* l_Lean_PrettyPrinter_Delaborator_withAppFn_match__1___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_2036_(lean_object*); +lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_574____closed__1; +lean_object* lean_mk_syntax_ident(lean_object*); +lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_withBindingBody(lean_object*); +lean_object* l_Std_AssocList_find_x3f___at_Lean_PrettyPrinter_Delaborator_delabFor___spec__6(lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_delab___closed__3; +lean_object* l_Lean_Expr_getAppFn(lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_withAppArg___rarg___closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_liftMetaM(lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__9; +extern lean_object* l_Lean_Meta_CheckAssignment_checkFVar___closed__1; +lean_object* l_Array_findIdx_x3f_loop___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_withAppFnArgs_match__1(lean_object*); +lean_object* l_ReaderT_pure___at_Lean_PrettyPrinter_Delaborator_instMonadQuotationDelabM___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_getPPBinderTypes___closed__2; +lean_object* l_Lean_PrettyPrinter_Delaborator_withAppArg___rarg___closed__2; +lean_object* l_Lean_KeyedDeclsAttribute_init___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_withProj___rarg___closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_getExpr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_usize_to_nat(size_t); +lean_object* l_Lean_PrettyPrinter_delab___closed__5; +lean_object* l_Lean_Name_getRoot(lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_mkDelabAttribute___closed__7; +lean_object* l_Lean_PrettyPrinter_Delaborator_instAlternativeDelabM___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Lean_getPPAll(lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_instAlternativeDelabM___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Level_quote___closed__1; +lean_object* l_Lean_Level_quote___closed__3; +lean_object* l_Lean_PrettyPrinter_Delaborator_withMDataExpr_match__1(lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabFor_match__2___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Expr_bindingBody_x21(lean_object*); +lean_object* l_Lean_SMap_find_x3f___at_Lean_PrettyPrinter_Delaborator_delabFor___spec__1(lean_object*, lean_object*); +lean_object* l_Lean_getPPPrivateNames___closed__1; +lean_object* l_Lean_Meta_withLocalDecl___at_Lean_PrettyPrinter_Delaborator_withBindingBody___spec__1(lean_object*); +lean_object* l_Lean_getPPStructureProjections___closed__2; +lean_object* l_Lean_Level_quote(lean_object*); +lean_object* l_Lean_Level_quote___closed__4; +lean_object* l_Lean_PrettyPrinter_Delaborator_getExpr___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_ReaderT_bind___at_Lean_Level_quote___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__1; +extern lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__4; +lean_object* l_Lean_PrettyPrinter_Delaborator_getPPOption(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_failure___rarg___closed__1; +lean_object* l_Lean_getPPPrivateNames___boxed(lean_object*); +lean_object* l_Lean_Meta_withLocalDecl___at_Lean_PrettyPrinter_Delaborator_withBindingBody___spec__1___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_PrettyPrinter_Delaborator_withAppFn___rarg___closed__3; +lean_object* l_Lean_getPPStructureProjections___boxed(lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_getExprKind___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_failure___rarg(lean_object*); +extern lean_object* l_instReprChar___closed__1; +lean_object* l_Std_RBNode_find___at_Lean_PrettyPrinter_Delaborator_getPPOption___spec__1___boxed(lean_object*, lean_object*); +lean_object* l_Lean_Level_quote___closed__2; +lean_object* l_Lean_PrettyPrinter_Delaborator_getPPOption_match__1(lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_liftMetaM___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_getPPBinderTypes___closed__1; +lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_574____closed__4; +lean_object* l_Lean_PrettyPrinter_Delaborator_descend___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_withProj___rarg___closed__2; +uint8_t lean_string_dec_eq(lean_object*, lean_object*); +lean_object* l_Lean_Syntax_mkLit(lean_object*, lean_object*, lean_object*); +uint8_t lean_nat_dec_lt(lean_object*, lean_object*); +lean_object* l_Lean_Level_quote___lambda__6___closed__2; +lean_object* l_Lean_PrettyPrinter_delab___closed__1; +lean_object* l_Lean_getPPBinderTypes___boxed(lean_object*); +lean_object* l_Lean_Level_quote_match__1___rarg(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_object* x_5; +lean_dec(x_2); +x_4 = lean_box(0); +x_5 = lean_apply_1(x_3, x_4); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_3); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_apply_1(x_2, x_6); +return x_7; +} +} +} +lean_object* l_Lean_Level_quote_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Level_quote_match__1___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_Level_quote_match__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +switch (lean_obj_tag(x_1)) { +case 0: +{ +uint64_t x_8; lean_object* x_9; lean_object* x_10; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_8 = lean_ctor_get_uint64(x_1, 0); +lean_dec(x_1); +x_9 = lean_box_uint64(x_8); +x_10 = lean_apply_1(x_2, x_9); +return x_10; +} +case 1: +{ +lean_object* x_11; uint64_t x_12; lean_object* x_13; lean_object* x_14; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_11 = lean_ctor_get(x_1, 0); +lean_inc(x_11); +x_12 = lean_ctor_get_uint64(x_1, sizeof(void*)*1); +x_13 = lean_box_uint64(x_12); +x_14 = lean_apply_3(x_3, x_1, x_11, x_13); +return x_14; +} +case 2: +{ +lean_object* x_15; lean_object* x_16; uint64_t x_17; lean_object* x_18; lean_object* x_19; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +x_15 = lean_ctor_get(x_1, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_1, 1); +lean_inc(x_16); +x_17 = lean_ctor_get_uint64(x_1, sizeof(void*)*2); +lean_dec(x_1); +x_18 = lean_box_uint64(x_17); +x_19 = lean_apply_3(x_4, x_15, x_16, x_18); +return x_19; +} +case 3: +{ +lean_object* x_20; lean_object* x_21; uint64_t x_22; lean_object* x_23; lean_object* x_24; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_20 = lean_ctor_get(x_1, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_1, 1); +lean_inc(x_21); +x_22 = lean_ctor_get_uint64(x_1, sizeof(void*)*2); +lean_dec(x_1); +x_23 = lean_box_uint64(x_22); +x_24 = lean_apply_3(x_5, x_20, x_21, x_23); +return x_24; +} +case 4: +{ +lean_object* x_25; uint64_t x_26; lean_object* x_27; lean_object* x_28; +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_25 = lean_ctor_get(x_1, 0); +lean_inc(x_25); +x_26 = lean_ctor_get_uint64(x_1, sizeof(void*)*1); +lean_dec(x_1); +x_27 = lean_box_uint64(x_26); +x_28 = lean_apply_2(x_6, x_25, x_27); +return x_28; +} +default: +{ +lean_object* x_29; uint64_t x_30; lean_object* x_31; lean_object* x_32; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_29 = lean_ctor_get(x_1, 0); +lean_inc(x_29); +x_30 = lean_ctor_get_uint64(x_1, sizeof(void*)*1); +lean_dec(x_1); +x_31 = lean_box_uint64(x_30); +x_32 = lean_apply_2(x_7, x_29, x_31); +return x_32; +} +} +} +} +lean_object* l_Lean_Level_quote_match__2(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Level_quote_match__2___rarg), 7, 0); +return x_2; +} +} +lean_object* l_ReaderT_bind___at_Lean_Level_quote___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; +lean_inc(x_3); +x_5 = lean_apply_2(x_1, x_3, x_4); +x_6 = lean_ctor_get(x_5, 0); +lean_inc(x_6); +x_7 = lean_ctor_get(x_5, 1); +lean_inc(x_7); +lean_dec(x_5); +x_8 = lean_apply_3(x_2, x_6, x_3, x_7); +return x_8; +} +} +lean_object* l_ReaderT_bind___at_Lean_Level_quote___spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Level_quote___spec__1___rarg), 4, 0); +return x_3; +} +} +lean_object* l_Lean_Level_quote___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; lean_object* x_5; +x_4 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_845____closed__4; +x_5 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_5, 0, x_4); +lean_ctor_set(x_5, 1, x_3); +return x_5; +} +} +static lean_object* _init_l_Lean_Level_quote___lambda__2___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_instInhabitedSourceInfo___closed__1; +x_2 = l___kind_stx____x40_Init_Notation___hyg_7296____closed__8; +x_3 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +lean_object* l_Lean_Level_quote___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_5 = l_Lean_Level_getLevelOffset(x_1); +x_6 = l_Lean_Level_quote(x_5); +x_7 = l_Array_empty___closed__1; +x_8 = lean_array_push(x_7, x_6); +x_9 = l_Lean_Level_quote___lambda__2___closed__1; +x_10 = lean_array_push(x_8, x_9); +x_11 = lean_unsigned_to_nat(0u); +x_12 = l_Lean_Level_getOffsetAux(x_1, x_11); +x_13 = l_Nat_repr(x_12); +x_14 = l_Lean_numLitKind; +x_15 = l_Lean_instInhabitedSourceInfo___closed__1; +x_16 = l_Lean_Syntax_mkLit(x_14, x_13, x_15); +x_17 = lean_array_push(x_10, x_16); +x_18 = l_Lean_Elab_Level_elabLevel___closed__5; +x_19 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_17); +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_4); +return x_20; +} +} +lean_object* l_Lean_Level_quote___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_5 = l_Nat_repr(x_1); +x_6 = l_Lean_numLitKind; +x_7 = l_Lean_instInhabitedSourceInfo___closed__1; +x_8 = l_Lean_Syntax_mkLit(x_6, x_5, x_7); +x_9 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_9, 0, x_8); +lean_ctor_set(x_9, 1, x_4); +return x_9; +} +} +static lean_object* _init_l_Lean_Level_quote___lambda__4___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_instInhabitedSourceInfo___closed__1; +x_2 = l_Lean_Level_LevelToFormat_Result_format___closed__2; +x_3 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Level_quote___lambda__4___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Array_empty___closed__1; +x_2 = l_Lean_Level_quote___lambda__4___closed__1; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +lean_object* l_Lean_Level_quote___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_7 = l_Lean_Level_quote(x_1); +x_8 = l_Array_empty___closed__1; +x_9 = lean_array_push(x_8, x_7); +x_10 = lean_array_push(x_9, x_2); +x_11 = l_Lean_nullKind___closed__2; +x_12 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_12, 0, x_11); +lean_ctor_set(x_12, 1, x_10); +x_13 = l_Lean_Level_quote___lambda__4___closed__2; +x_14 = lean_array_push(x_13, x_12); +x_15 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_15, 0, x_3); +lean_ctor_set(x_15, 1, 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_6); +return x_16; +} +} +lean_object* l_Lean_Level_quote___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_7 = l_Lean_Level_quote(x_1); +x_8 = l_Array_empty___closed__1; +x_9 = lean_array_push(x_8, x_7); +x_10 = l_Array_appendCore___rarg(x_9, x_2); +x_11 = l_Lean_nullKind___closed__2; +x_12 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_12, 0, x_11); +lean_ctor_set(x_12, 1, x_10); +x_13 = l_Lean_Level_quote___lambda__4___closed__2; +x_14 = lean_array_push(x_13, x_12); +x_15 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_15, 0, x_3); +lean_ctor_set(x_15, 1, 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_6); +return x_16; +} +} +static lean_object* _init_l_Lean_Level_quote___lambda__6___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_instInhabitedSourceInfo___closed__1; +x_2 = l_Lean_Level_LevelToFormat_Result_format___closed__4; +x_3 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Level_quote___lambda__6___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Array_empty___closed__1; +x_2 = l_Lean_Level_quote___lambda__6___closed__1; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +lean_object* l_Lean_Level_quote___lambda__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_7 = l_Lean_Level_quote(x_1); +x_8 = l_Array_empty___closed__1; +x_9 = lean_array_push(x_8, x_7); +x_10 = lean_array_push(x_9, x_2); +x_11 = l_Lean_nullKind___closed__2; +x_12 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_12, 0, x_11); +lean_ctor_set(x_12, 1, x_10); +x_13 = l_Lean_Level_quote___lambda__6___closed__2; +x_14 = lean_array_push(x_13, x_12); +x_15 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_15, 0, x_3); +lean_ctor_set(x_15, 1, 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_6); +return x_16; +} +} +lean_object* l_Lean_Level_quote___lambda__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_7 = l_Lean_Level_quote(x_1); +x_8 = l_Array_empty___closed__1; +x_9 = lean_array_push(x_8, x_7); +x_10 = l_Array_appendCore___rarg(x_9, x_2); +x_11 = l_Lean_nullKind___closed__2; +x_12 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_12, 0, x_11); +lean_ctor_set(x_12, 1, x_10); +x_13 = l_Lean_Level_quote___lambda__6___closed__2; +x_14 = lean_array_push(x_13, x_12); +x_15 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_15, 0, x_3); +lean_ctor_set(x_15, 1, 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_6); +return x_16; +} +} +lean_object* l_Lean_Level_quote___lambda__8(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; lean_object* x_6; +x_5 = lean_mk_syntax_ident(x_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); +return x_6; +} +} +lean_object* l_Lean_Level_quote___lambda__9(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; lean_object* x_5; +x_4 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__35; +x_5 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_5, 0, x_4); +lean_ctor_set(x_5, 1, x_3); +return x_5; +} +} +static lean_object* _init_l_Lean_Level_quote___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Level_quote___lambda__1___boxed), 3, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Level_quote___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Unhygienic_instMonadQuotationUnhygienic___closed__4; +x_2 = l_Lean_Level_quote___closed__1; +x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Level_quote___spec__1___rarg), 4, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Level_quote___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Level_quote___closed__2; +x_2 = l_Lean_Unhygienic_run___rarg(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Level_quote___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Level_quote___lambda__9___boxed), 3, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Level_quote___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Unhygienic_instMonadQuotationUnhygienic___closed__4; +x_2 = l_Lean_Level_quote___closed__4; +x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Level_quote___spec__1___rarg), 4, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Level_quote___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Level_quote___closed__5; +x_2 = l_Lean_Unhygienic_run___rarg(x_1); +return x_2; +} +} +lean_object* l_Lean_Level_quote(lean_object* x_1) { +_start: +{ +switch (lean_obj_tag(x_1)) { +case 0: +{ +lean_object* x_2; +lean_dec(x_1); +x_2 = l_Lean_Level_quote___closed__3; +return x_2; +} +case 1: +{ +lean_object* x_3; +x_3 = l_Lean_Level_toNat(x_1); +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_4 = lean_alloc_closure((void*)(l_Lean_Level_quote___lambda__2___boxed), 4, 1); +lean_closure_set(x_4, 0, x_1); +x_5 = l_Lean_Unhygienic_instMonadQuotationUnhygienic___closed__4; +x_6 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Level_quote___spec__1___rarg), 4, 2); +lean_closure_set(x_6, 0, x_5); +lean_closure_set(x_6, 1, x_4); +x_7 = l_Lean_Unhygienic_run___rarg(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; +lean_dec(x_1); +x_8 = lean_ctor_get(x_3, 0); +lean_inc(x_8); +lean_dec(x_3); +x_9 = lean_alloc_closure((void*)(l_Lean_Level_quote___lambda__3___boxed), 4, 1); +lean_closure_set(x_9, 0, x_8); +x_10 = l_Lean_Unhygienic_instMonadQuotationUnhygienic___closed__4; +x_11 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Level_quote___spec__1___rarg), 4, 2); +lean_closure_set(x_11, 0, x_10); +lean_closure_set(x_11, 1, x_9); +x_12 = l_Lean_Unhygienic_run___rarg(x_11); +return x_12; +} +} +case 2: +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; +x_13 = lean_ctor_get(x_1, 0); +lean_inc(x_13); +x_14 = lean_ctor_get(x_1, 1); +lean_inc(x_14); +lean_dec(x_1); +x_15 = l_Lean_Level_quote(x_14); +x_16 = l_Lean_Elab_Level_elabLevel___closed__2; +lean_inc(x_15); +x_17 = l_Lean_Syntax_isOfKind(x_15, x_16); +if (x_17 == 0) +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_18 = lean_alloc_closure((void*)(l_Lean_Level_quote___lambda__4___boxed), 6, 3); +lean_closure_set(x_18, 0, x_13); +lean_closure_set(x_18, 1, x_15); +lean_closure_set(x_18, 2, x_16); +x_19 = l_Lean_Unhygienic_instMonadQuotationUnhygienic___closed__4; +x_20 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Level_quote___spec__1___rarg), 4, 2); +lean_closure_set(x_20, 0, x_19); +lean_closure_set(x_20, 1, x_18); +x_21 = l_Lean_Unhygienic_run___rarg(x_20); +return x_21; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; +x_22 = l_Lean_Syntax_getArgs(x_15); +x_23 = lean_array_get_size(x_22); +lean_dec(x_22); +x_24 = lean_unsigned_to_nat(2u); +x_25 = lean_nat_dec_eq(x_23, x_24); +lean_dec(x_23); +if (x_25 == 0) +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_26 = lean_alloc_closure((void*)(l_Lean_Level_quote___lambda__4___boxed), 6, 3); +lean_closure_set(x_26, 0, x_13); +lean_closure_set(x_26, 1, x_15); +lean_closure_set(x_26, 2, x_16); +x_27 = l_Lean_Unhygienic_instMonadQuotationUnhygienic___closed__4; +x_28 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Level_quote___spec__1___rarg), 4, 2); +lean_closure_set(x_28, 0, x_27); +lean_closure_set(x_28, 1, x_26); +x_29 = l_Lean_Unhygienic_run___rarg(x_28); +return x_29; +} +else +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_30 = lean_unsigned_to_nat(1u); +x_31 = l_Lean_Syntax_getArg(x_15, x_30); +lean_dec(x_15); +x_32 = l_Lean_Syntax_getArgs(x_31); +lean_dec(x_31); +x_33 = lean_alloc_closure((void*)(l_Lean_Level_quote___lambda__5___boxed), 6, 3); +lean_closure_set(x_33, 0, x_13); +lean_closure_set(x_33, 1, x_32); +lean_closure_set(x_33, 2, x_16); +x_34 = l_Lean_Unhygienic_instMonadQuotationUnhygienic___closed__4; +x_35 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Level_quote___spec__1___rarg), 4, 2); +lean_closure_set(x_35, 0, x_34); +lean_closure_set(x_35, 1, x_33); +x_36 = l_Lean_Unhygienic_run___rarg(x_35); +return x_36; +} +} +} +case 3: +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; uint8_t x_41; +x_37 = lean_ctor_get(x_1, 0); +lean_inc(x_37); +x_38 = lean_ctor_get(x_1, 1); +lean_inc(x_38); +lean_dec(x_1); +x_39 = l_Lean_Level_quote(x_38); +x_40 = l_Lean_Elab_Level_elabLevel___closed__3; +lean_inc(x_39); +x_41 = l_Lean_Syntax_isOfKind(x_39, x_40); +if (x_41 == 0) +{ +lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_42 = lean_alloc_closure((void*)(l_Lean_Level_quote___lambda__6___boxed), 6, 3); +lean_closure_set(x_42, 0, x_37); +lean_closure_set(x_42, 1, x_39); +lean_closure_set(x_42, 2, x_40); +x_43 = l_Lean_Unhygienic_instMonadQuotationUnhygienic___closed__4; +x_44 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Level_quote___spec__1___rarg), 4, 2); +lean_closure_set(x_44, 0, x_43); +lean_closure_set(x_44, 1, x_42); +x_45 = l_Lean_Unhygienic_run___rarg(x_44); +return x_45; +} +else +{ +lean_object* x_46; lean_object* x_47; lean_object* x_48; uint8_t x_49; +x_46 = l_Lean_Syntax_getArgs(x_39); +x_47 = lean_array_get_size(x_46); +lean_dec(x_46); +x_48 = lean_unsigned_to_nat(2u); +x_49 = lean_nat_dec_eq(x_47, x_48); +lean_dec(x_47); +if (x_49 == 0) +{ +lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; +x_50 = lean_alloc_closure((void*)(l_Lean_Level_quote___lambda__6___boxed), 6, 3); +lean_closure_set(x_50, 0, x_37); +lean_closure_set(x_50, 1, x_39); +lean_closure_set(x_50, 2, x_40); +x_51 = l_Lean_Unhygienic_instMonadQuotationUnhygienic___closed__4; +x_52 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Level_quote___spec__1___rarg), 4, 2); +lean_closure_set(x_52, 0, x_51); +lean_closure_set(x_52, 1, x_50); +x_53 = l_Lean_Unhygienic_run___rarg(x_52); +return x_53; +} +else +{ +lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; +x_54 = lean_unsigned_to_nat(1u); +x_55 = l_Lean_Syntax_getArg(x_39, x_54); +lean_dec(x_39); +x_56 = l_Lean_Syntax_getArgs(x_55); +lean_dec(x_55); +x_57 = lean_alloc_closure((void*)(l_Lean_Level_quote___lambda__7___boxed), 6, 3); +lean_closure_set(x_57, 0, x_37); +lean_closure_set(x_57, 1, x_56); +lean_closure_set(x_57, 2, x_40); +x_58 = l_Lean_Unhygienic_instMonadQuotationUnhygienic___closed__4; +x_59 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Level_quote___spec__1___rarg), 4, 2); +lean_closure_set(x_59, 0, x_58); +lean_closure_set(x_59, 1, x_57); +x_60 = l_Lean_Unhygienic_run___rarg(x_59); +return x_60; +} +} +} +case 4: +{ +lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; +x_61 = lean_ctor_get(x_1, 0); +lean_inc(x_61); +lean_dec(x_1); +x_62 = lean_alloc_closure((void*)(l_Lean_Level_quote___lambda__8___boxed), 4, 1); +lean_closure_set(x_62, 0, x_61); +x_63 = l_Lean_Unhygienic_instMonadQuotationUnhygienic___closed__4; +x_64 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Level_quote___spec__1___rarg), 4, 2); +lean_closure_set(x_64, 0, x_63); +lean_closure_set(x_64, 1, x_62); +x_65 = l_Lean_Unhygienic_run___rarg(x_64); +return x_65; +} +default: +{ +lean_object* x_66; +lean_dec(x_1); +x_66 = l_Lean_Level_quote___closed__6; +return x_66; +} +} +} +} +lean_object* l_Lean_Level_quote___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_Level_quote___lambda__1(x_1, x_2, x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_4; +} +} +lean_object* l_Lean_Level_quote___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Lean_Level_quote___lambda__2(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_Lean_Level_quote___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Lean_Level_quote___lambda__3(x_1, x_2, x_3, x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_5; +} +} +lean_object* l_Lean_Level_quote___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; +x_7 = l_Lean_Level_quote___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_5); +lean_dec(x_4); +return x_7; +} +} +lean_object* l_Lean_Level_quote___lambda__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: +{ +lean_object* x_7; +x_7 = l_Lean_Level_quote___lambda__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); +return x_7; +} +} +lean_object* l_Lean_Level_quote___lambda__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; +x_7 = l_Lean_Level_quote___lambda__6(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_5); +lean_dec(x_4); +return x_7; +} +} +lean_object* l_Lean_Level_quote___lambda__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; +x_7 = l_Lean_Level_quote___lambda__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); +return x_7; +} +} +lean_object* l_Lean_Level_quote___lambda__8___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Lean_Level_quote___lambda__8(x_1, x_2, x_3, x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_5; +} +} +lean_object* l_Lean_Level_quote___lambda__9___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_Level_quote___lambda__9(x_1, x_2, x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_4; +} +} +static lean_object* _init_l_Lean_Level_instQuoteLevel___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Level_quote), 1, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Level_instQuoteLevel() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Level_instQuoteLevel___closed__1; +return x_1; +} +} +static lean_object* _init_l_Lean_getPPBinderTypes___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("binder_types"); +return x_1; +} +} +static lean_object* _init_l_Lean_getPPBinderTypes___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_getSanitizeNames___closed__2; +x_2 = l_Lean_getPPBinderTypes___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +uint8_t l_Lean_getPPBinderTypes(lean_object* x_1) { +_start: +{ +lean_object* x_2; uint8_t x_3; uint8_t x_4; +x_2 = l_Lean_getPPBinderTypes___closed__2; +x_3 = 1; +x_4 = l_Lean_KVMap_getBool(x_1, x_2, x_3); +return x_4; +} +} +lean_object* l_Lean_getPPBinderTypes___boxed(lean_object* x_1) { +_start: +{ +uint8_t x_2; lean_object* x_3; +x_2 = l_Lean_getPPBinderTypes(x_1); +lean_dec(x_1); +x_3 = lean_box(x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_getPPCoercions___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("coercions"); +return x_1; +} +} +static lean_object* _init_l_Lean_getPPCoercions___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_getSanitizeNames___closed__2; +x_2 = l_Lean_getPPCoercions___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +uint8_t l_Lean_getPPCoercions(lean_object* x_1) { +_start: +{ +lean_object* x_2; uint8_t x_3; uint8_t x_4; +x_2 = l_Lean_getPPCoercions___closed__2; +x_3 = 1; +x_4 = l_Lean_KVMap_getBool(x_1, x_2, x_3); +return x_4; +} +} +lean_object* l_Lean_getPPCoercions___boxed(lean_object* x_1) { +_start: +{ +uint8_t x_2; lean_object* x_3; +x_2 = l_Lean_getPPCoercions(x_1); +lean_dec(x_1); +x_3 = lean_box(x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_getPPExplicit___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_getSanitizeNames___closed__2; +x_2 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_isExplicit___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +uint8_t l_Lean_getPPExplicit(lean_object* x_1) { +_start: +{ +lean_object* x_2; uint8_t x_3; uint8_t x_4; +x_2 = l_Lean_getPPExplicit___closed__1; +x_3 = 0; +x_4 = l_Lean_KVMap_getBool(x_1, x_2, x_3); +return x_4; +} +} +lean_object* l_Lean_getPPExplicit___boxed(lean_object* x_1) { +_start: +{ +uint8_t x_2; lean_object* x_3; +x_2 = l_Lean_getPPExplicit(x_1); +lean_dec(x_1); +x_3 = lean_box(x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_getPPNotation___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("notation"); +return x_1; +} +} +static lean_object* _init_l_Lean_getPPNotation___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_getSanitizeNames___closed__2; +x_2 = l_Lean_getPPNotation___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +uint8_t l_Lean_getPPNotation(lean_object* x_1) { +_start: +{ +lean_object* x_2; uint8_t x_3; uint8_t x_4; +x_2 = l_Lean_getPPNotation___closed__2; +x_3 = 1; +x_4 = l_Lean_KVMap_getBool(x_1, x_2, x_3); +return x_4; +} +} +lean_object* l_Lean_getPPNotation___boxed(lean_object* x_1) { +_start: +{ +uint8_t x_2; lean_object* x_3; +x_2 = l_Lean_getPPNotation(x_1); +lean_dec(x_1); +x_3 = lean_box(x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_getPPStructureProjections___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("structure_projections"); +return x_1; +} +} +static lean_object* _init_l_Lean_getPPStructureProjections___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_getSanitizeNames___closed__2; +x_2 = l_Lean_getPPStructureProjections___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +uint8_t l_Lean_getPPStructureProjections(lean_object* x_1) { +_start: +{ +lean_object* x_2; uint8_t x_3; uint8_t x_4; +x_2 = l_Lean_getPPStructureProjections___closed__2; +x_3 = 1; +x_4 = l_Lean_KVMap_getBool(x_1, x_2, x_3); +return x_4; +} +} +lean_object* l_Lean_getPPStructureProjections___boxed(lean_object* x_1) { +_start: +{ +uint8_t x_2; lean_object* x_3; +x_2 = l_Lean_getPPStructureProjections(x_1); +lean_dec(x_1); +x_3 = lean_box(x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_getPPStructureInstances___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("structure_instances"); +return x_1; +} +} +static lean_object* _init_l_Lean_getPPStructureInstances___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_getSanitizeNames___closed__2; +x_2 = l_Lean_getPPStructureInstances___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +uint8_t l_Lean_getPPStructureInstances(lean_object* x_1) { +_start: +{ +lean_object* x_2; uint8_t x_3; uint8_t x_4; +x_2 = l_Lean_getPPStructureInstances___closed__2; +x_3 = 1; +x_4 = l_Lean_KVMap_getBool(x_1, x_2, x_3); +return x_4; +} +} +lean_object* l_Lean_getPPStructureInstances___boxed(lean_object* x_1) { +_start: +{ +uint8_t x_2; lean_object* x_3; +x_2 = l_Lean_getPPStructureInstances(x_1); +lean_dec(x_1); +x_3 = lean_box(x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_getPPStructureInstanceType___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("structure_instance_type"); +return x_1; +} +} +static lean_object* _init_l_Lean_getPPStructureInstanceType___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_getSanitizeNames___closed__2; +x_2 = l_Lean_getPPStructureInstanceType___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +uint8_t l_Lean_getPPStructureInstanceType(lean_object* x_1) { +_start: +{ +lean_object* x_2; uint8_t x_3; uint8_t x_4; +x_2 = l_Lean_getPPStructureInstanceType___closed__2; +x_3 = 0; +x_4 = l_Lean_KVMap_getBool(x_1, x_2, x_3); +return x_4; +} +} +lean_object* l_Lean_getPPStructureInstanceType___boxed(lean_object* x_1) { +_start: +{ +uint8_t x_2; lean_object* x_3; +x_2 = l_Lean_getPPStructureInstanceType(x_1); +lean_dec(x_1); +x_3 = lean_box(x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_getPPUniverses___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("universes"); +return x_1; +} +} +static lean_object* _init_l_Lean_getPPUniverses___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_getSanitizeNames___closed__2; +x_2 = l_Lean_getPPUniverses___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +uint8_t l_Lean_getPPUniverses(lean_object* x_1) { +_start: +{ +lean_object* x_2; uint8_t x_3; uint8_t x_4; +x_2 = l_Lean_getPPUniverses___closed__2; +x_3 = 0; +x_4 = l_Lean_KVMap_getBool(x_1, x_2, x_3); +return x_4; +} +} +lean_object* l_Lean_getPPUniverses___boxed(lean_object* x_1) { +_start: +{ +uint8_t x_2; lean_object* x_3; +x_2 = l_Lean_getPPUniverses(x_1); +lean_dec(x_1); +x_3 = lean_box(x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_getPPFullNames___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("full_names"); +return x_1; +} +} +static lean_object* _init_l_Lean_getPPFullNames___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_getSanitizeNames___closed__2; +x_2 = l_Lean_getPPFullNames___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +uint8_t l_Lean_getPPFullNames(lean_object* x_1) { +_start: +{ +lean_object* x_2; uint8_t x_3; uint8_t x_4; +x_2 = l_Lean_getPPFullNames___closed__2; +x_3 = 0; +x_4 = l_Lean_KVMap_getBool(x_1, x_2, x_3); +return x_4; +} +} +lean_object* l_Lean_getPPFullNames___boxed(lean_object* x_1) { +_start: +{ +uint8_t x_2; lean_object* x_3; +x_2 = l_Lean_getPPFullNames(x_1); +lean_dec(x_1); +x_3 = lean_box(x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_getPPPrivateNames___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("private_names"); +return x_1; +} +} +static lean_object* _init_l_Lean_getPPPrivateNames___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_getSanitizeNames___closed__2; +x_2 = l_Lean_getPPPrivateNames___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +uint8_t l_Lean_getPPPrivateNames(lean_object* x_1) { +_start: +{ +lean_object* x_2; uint8_t x_3; uint8_t x_4; +x_2 = l_Lean_getPPPrivateNames___closed__2; +x_3 = 0; +x_4 = l_Lean_KVMap_getBool(x_1, x_2, x_3); +return x_4; +} +} +lean_object* l_Lean_getPPPrivateNames___boxed(lean_object* x_1) { +_start: +{ +uint8_t x_2; lean_object* x_3; +x_2 = l_Lean_getPPPrivateNames(x_1); +lean_dec(x_1); +x_3 = lean_box(x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_getPPUnicode___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_getSanitizeNames___closed__2; +x_2 = l_Lean_Format_getUnicode___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +uint8_t l_Lean_getPPUnicode(lean_object* x_1) { +_start: +{ +lean_object* x_2; uint8_t x_3; uint8_t x_4; +x_2 = l_Lean_getPPUnicode___closed__1; +x_3 = 1; +x_4 = l_Lean_KVMap_getBool(x_1, x_2, x_3); +return x_4; +} +} +lean_object* l_Lean_getPPUnicode___boxed(lean_object* x_1) { +_start: +{ +uint8_t x_2; lean_object* x_3; +x_2 = l_Lean_getPPUnicode(x_1); +lean_dec(x_1); +x_3 = lean_box(x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_getPPAll___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_getSanitizeNames___closed__2; +x_2 = l___private_Lean_Compiler_ExternAttr_0__Lean_syntaxToExternAttrData___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +uint8_t l_Lean_getPPAll(lean_object* x_1) { +_start: +{ +lean_object* x_2; uint8_t x_3; uint8_t x_4; +x_2 = l_Lean_getPPAll___closed__1; +x_3 = 0; +x_4 = l_Lean_KVMap_getBool(x_1, x_2, x_3); +return x_4; +} +} +lean_object* l_Lean_getPPAll___boxed(lean_object* x_1) { +_start: +{ +uint8_t x_2; lean_object* x_3; +x_2 = l_Lean_getPPAll(x_1); +lean_dec(x_1); +x_3 = lean_box(x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_574____closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("(pretty printer) display implicit arguments"); +return x_1; +} +} +static lean_object* _init_l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_574____closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_initFn____x40_Lean_Util_PPExt___hyg_3____closed__8; +x_2 = l_Lean_getSanitizeNames___closed__1; +x_3 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_574____closed__1; +x_4 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_574____closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("(pretty printer) display type of structure instances"); +return x_1; +} +} +static lean_object* _init_l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_574____closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_initFn____x40_Lean_Util_PPExt___hyg_3____closed__8; +x_2 = l_Lean_getSanitizeNames___closed__1; +x_3 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_574____closed__3; +x_4 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_574_(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_2 = l_Lean_getPPExplicit___closed__1; +x_3 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_574____closed__2; +x_4 = lean_register_option(x_2, x_3, x_1); +if (lean_obj_tag(x_4) == 0) +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_5 = lean_ctor_get(x_4, 1); +lean_inc(x_5); +lean_dec(x_4); +x_6 = l_Lean_getPPStructureInstanceType___closed__2; +x_7 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_574____closed__4; +x_8 = lean_register_option(x_6, x_7, x_5); +return x_8; +} +else +{ +uint8_t x_9; +x_9 = !lean_is_exclusive(x_4); +if (x_9 == 0) +{ +return x_4; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_10 = lean_ctor_get(x_4, 0); +x_11 = lean_ctor_get(x_4, 1); +lean_inc(x_11); +lean_inc(x_10); +lean_dec(x_4); +x_12 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_12, 0, x_10); +lean_ctor_set(x_12, 1, x_11); +return x_12; +} +} +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_Context_pos___default() { +_start: +{ +lean_object* x_1; +x_1 = lean_unsigned_to_nat(1u); +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_627____closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("delabFailure"); +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_627____closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_PrettyPrinter_Delaborator_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_627____closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_627_(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l_Lean_PrettyPrinter_Delaborator_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_627____closed__2; +x_3 = l_Lean_registerInternalExceptionId(x_2, x_1); +return x_3; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_instInhabitedDelabM___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_8, 0, x_1); +lean_ctor_set(x_8, 1, x_7); +return x_8; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_instInhabitedDelabM___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_instInhabitedException___closed__1; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_instInhabitedDelabM___lambda__1___boxed), 7, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_instInhabitedDelabM(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_PrettyPrinter_Delaborator_instInhabitedDelabM___closed__1; +return x_2; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_instInhabitedDelabM___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l_Lean_PrettyPrinter_Delaborator_instInhabitedDelabM___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_8; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_orElse___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +x_9 = lean_apply_6(x_1, x_3, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_9) == 0) +{ +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_9; +} +else +{ +lean_object* x_10; +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +if (lean_obj_tag(x_10) == 0) +{ +uint8_t x_11; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_11 = !lean_is_exclusive(x_9); +if (x_11 == 0) +{ +lean_object* x_12; +x_12 = lean_ctor_get(x_9, 0); +lean_dec(x_12); +return x_9; +} +else +{ +lean_object* x_13; lean_object* x_14; +x_13 = lean_ctor_get(x_9, 1); +lean_inc(x_13); +lean_dec(x_9); +x_14 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_14, 0, x_10); +lean_ctor_set(x_14, 1, x_13); +return x_14; +} +} +else +{ +uint8_t x_15; +x_15 = !lean_is_exclusive(x_9); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; +x_16 = lean_ctor_get(x_9, 1); +x_17 = lean_ctor_get(x_9, 0); +lean_dec(x_17); +x_18 = lean_ctor_get(x_10, 0); +lean_inc(x_18); +x_19 = l_Lean_PrettyPrinter_Delaborator_delabFailureId; +x_20 = lean_nat_dec_eq(x_19, x_18); +lean_dec(x_18); +if (x_20 == 0) +{ +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_9; +} +else +{ +lean_object* x_21; +lean_free_object(x_9); +lean_dec(x_10); +x_21 = lean_apply_6(x_2, x_3, x_4, x_5, x_6, x_7, x_16); +return x_21; +} +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; +x_22 = lean_ctor_get(x_9, 1); +lean_inc(x_22); +lean_dec(x_9); +x_23 = lean_ctor_get(x_10, 0); +lean_inc(x_23); +x_24 = l_Lean_PrettyPrinter_Delaborator_delabFailureId; +x_25 = lean_nat_dec_eq(x_24, x_23); +lean_dec(x_23); +if (x_25 == 0) +{ +lean_object* x_26; +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_26 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_26, 0, x_10); +lean_ctor_set(x_26, 1, x_22); +return x_26; +} +else +{ +lean_object* x_27; +lean_dec(x_10); +x_27 = lean_apply_6(x_2, x_3, x_4, x_5, x_6, x_7, x_22); +return x_27; +} +} +} +} +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_orElse(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_orElse___rarg), 8, 0); +return x_2; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_failure___rarg___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_PrettyPrinter_Delaborator_delabFailureId; +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_PrettyPrinter_Delaborator_failure___rarg(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l_Lean_PrettyPrinter_Delaborator_failure___rarg___closed__1; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_failure(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 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_failure___rarg), 1, 0); +return x_7; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_failure___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; +x_7 = l_Lean_PrettyPrinter_Delaborator_failure(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_7; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_instAlternativeDelabM___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l_Lean_PrettyPrinter_Delaborator_failure___rarg(x_7); +return x_8; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_instAlternativeDelabM___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_10 = lean_apply_6(x_2, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_10) == 0) +{ +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_10; +} +else +{ +lean_object* x_11; +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +if (lean_obj_tag(x_11) == 0) +{ +uint8_t x_12; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_12 = !lean_is_exclusive(x_10); +if (x_12 == 0) +{ +lean_object* x_13; +x_13 = lean_ctor_get(x_10, 0); +lean_dec(x_13); +return x_10; +} +else +{ +lean_object* x_14; lean_object* x_15; +x_14 = lean_ctor_get(x_10, 1); +lean_inc(x_14); +lean_dec(x_10); +x_15 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_15, 0, x_11); +lean_ctor_set(x_15, 1, x_14); +return x_15; +} +} +else +{ +uint8_t x_16; +x_16 = !lean_is_exclusive(x_10); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; +x_17 = lean_ctor_get(x_10, 1); +x_18 = lean_ctor_get(x_10, 0); +lean_dec(x_18); +x_19 = lean_ctor_get(x_11, 0); +lean_inc(x_19); +x_20 = l_Lean_PrettyPrinter_Delaborator_delabFailureId; +x_21 = lean_nat_dec_eq(x_20, x_19); +lean_dec(x_19); +if (x_21 == 0) +{ +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_10; +} +else +{ +lean_object* x_22; +lean_free_object(x_10); +lean_dec(x_11); +x_22 = lean_apply_6(x_3, x_4, x_5, x_6, x_7, x_8, x_17); +return x_22; +} +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; +x_23 = lean_ctor_get(x_10, 1); +lean_inc(x_23); +lean_dec(x_10); +x_24 = lean_ctor_get(x_11, 0); +lean_inc(x_24); +x_25 = l_Lean_PrettyPrinter_Delaborator_delabFailureId; +x_26 = lean_nat_dec_eq(x_25, x_24); +lean_dec(x_24); +if (x_26 == 0) +{ +lean_object* x_27; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_27 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_27, 0, x_11); +lean_ctor_set(x_27, 1, x_23); +return x_27; +} +else +{ +lean_object* x_28; +lean_dec(x_11); +x_28 = lean_apply_6(x_3, x_4, x_5, x_6, x_7, x_8, x_23); +return x_28; +} +} +} +} +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_instAlternativeDelabM___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_instAlternativeDelabM___lambda__1___boxed), 7, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_instAlternativeDelabM___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_instAlternativeDelabM___lambda__2), 9, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_instAlternativeDelabM___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l_Lean_Meta_CheckAssignment_checkFVar___closed__1; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +x_3 = l_Lean_PrettyPrinter_Delaborator_instAlternativeDelabM___closed__1; +x_4 = l_Lean_PrettyPrinter_Delaborator_instAlternativeDelabM___closed__2; +x_5 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_5, 0, x_2); +lean_ctor_set(x_5, 1, x_3); +lean_ctor_set(x_5, 2, x_4); +return x_5; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_instAlternativeDelabM() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_PrettyPrinter_Delaborator_instAlternativeDelabM___closed__3; +return x_1; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_instAlternativeDelabM___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l_Lean_PrettyPrinter_Delaborator_instAlternativeDelabM___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_8; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_instOrElseDelabM___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_orElse___rarg), 8, 0); +return x_1; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_instOrElseDelabM(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_PrettyPrinter_Delaborator_instOrElseDelabM___closed__1; +return x_2; +} +} +lean_object* l_ReaderT_pure___at_Lean_PrettyPrinter_Delaborator_instMonadQuotationDelabM___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_1); +lean_ctor_set(x_8, 1, x_7); +return x_8; +} +} +lean_object* l_ReaderT_pure___at_Lean_PrettyPrinter_Delaborator_instMonadQuotationDelabM___spec__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_PrettyPrinter_Delaborator_instMonadQuotationDelabM___spec__1___rarg___boxed), 7, 0); +return x_2; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_instMonadQuotationDelabM___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = lean_apply_6(x_2, x_3, x_4, x_5, x_6, x_7, x_8); +return x_9; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_instMonadQuotationDelabM___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(0u); +x_2 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_PrettyPrinter_Delaborator_instMonadQuotationDelabM___spec__1___rarg___boxed), 7, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_instMonadQuotationDelabM___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_box(0); +x_2 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_PrettyPrinter_Delaborator_instMonadQuotationDelabM___spec__1___rarg___boxed), 7, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_instMonadQuotationDelabM___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_instMonadQuotationDelabM___lambda__1), 8, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_instMonadQuotationDelabM___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_PrettyPrinter_Delaborator_instMonadQuotationDelabM___closed__1; +x_2 = l_Lean_PrettyPrinter_Delaborator_instMonadQuotationDelabM___closed__2; +x_3 = l_Lean_PrettyPrinter_Delaborator_instMonadQuotationDelabM___closed__3; +x_4 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_instMonadQuotationDelabM() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_PrettyPrinter_Delaborator_instMonadQuotationDelabM___closed__4; +return x_1; +} +} +lean_object* l_ReaderT_pure___at_Lean_PrettyPrinter_Delaborator_instMonadQuotationDelabM___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l_ReaderT_pure___at_Lean_PrettyPrinter_Delaborator_instMonadQuotationDelabM___spec__1___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_8; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_mkDelabAttribute___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("builtinDelab"); +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_mkDelabAttribute___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_PrettyPrinter_Delaborator_mkDelabAttribute___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_mkDelabAttribute___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("delab"); +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_mkDelabAttribute___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_PrettyPrinter_Delaborator_mkDelabAttribute___closed__3; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_mkDelabAttribute___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("PrettyPrinter"); +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_mkDelabAttribute___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_myMacro____x40_Init_Notation___hyg_38____closed__2; +x_2 = l_Lean_PrettyPrinter_Delaborator_mkDelabAttribute___closed__5; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_mkDelabAttribute___closed__7() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Delaborator"); +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_mkDelabAttribute___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_PrettyPrinter_Delaborator_mkDelabAttribute___closed__6; +x_2 = l_Lean_PrettyPrinter_Delaborator_mkDelabAttribute___closed__7; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_mkDelabAttribute___closed__9() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Delab"); +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_mkDelabAttribute___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_PrettyPrinter_Delaborator_mkDelabAttribute___closed__8; +x_2 = l_Lean_PrettyPrinter_Delaborator_mkDelabAttribute___closed__9; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_mkDelabAttribute___closed__11() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Register a delaborator.\n\n [delab k] registers a declaration of type `Lean.PrettyPrinter.Delaborator.Delab` for the `Lean.Expr`\n constructor `k`. Multiple delaborators for a single constructor are tried in turn until\n the first success. If the term to be delaborated is an application of a constant `c`,\n elaborators for `app.c` are tried first; this is also done for `Expr.const`s (\"nullary applications\")\n to reduce special casing. If the term is an `Expr.mdata` with a single key `k`, `mdata.k`\n is tried first."); +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_mkDelabAttribute___closed__12() { +_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_PrettyPrinter_Delaborator_mkDelabAttribute___closed__2; +x_2 = l_Lean_PrettyPrinter_Delaborator_mkDelabAttribute___closed__4; +x_3 = l_Lean_PrettyPrinter_Delaborator_mkDelabAttribute___closed__11; +x_4 = l_Lean_PrettyPrinter_Delaborator_mkDelabAttribute___closed__10; +x_5 = l_Lean_KeyedDeclsAttribute_instInhabitedDef___closed__1; +x_6 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_6, 0, x_1); +lean_ctor_set(x_6, 1, x_2); +lean_ctor_set(x_6, 2, x_3); +lean_ctor_set(x_6, 3, x_4); +lean_ctor_set(x_6, 4, x_5); +return x_6; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_mkDelabAttribute___closed__13() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("delabAttribute"); +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_mkDelabAttribute___closed__14() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_PrettyPrinter_Delaborator_mkDelabAttribute___closed__8; +x_2 = l_Lean_PrettyPrinter_Delaborator_mkDelabAttribute___closed__13; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_mkDelabAttribute(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_2 = l_Lean_PrettyPrinter_Delaborator_mkDelabAttribute___closed__12; +x_3 = l_Lean_PrettyPrinter_Delaborator_mkDelabAttribute___closed__14; +x_4 = l_Lean_KeyedDeclsAttribute_init___rarg(x_2, x_3, x_1); +return x_4; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_getExpr(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_1, 0); +lean_inc(x_7); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_7); +lean_ctor_set(x_8, 1, x_6); +return x_8; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_getExpr___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; +x_7 = l_Lean_PrettyPrinter_Delaborator_getExpr(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_7; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_getExprKind_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 4) +{ +lean_object* x_4; lean_object* x_5; uint64_t x_6; lean_object* x_7; lean_object* x_8; +lean_dec(x_3); +x_4 = lean_ctor_get(x_1, 0); +lean_inc(x_4); +x_5 = lean_ctor_get(x_1, 1); +lean_inc(x_5); +x_6 = lean_ctor_get_uint64(x_1, sizeof(void*)*2); +lean_dec(x_1); +x_7 = lean_box_uint64(x_6); +x_8 = lean_apply_3(x_2, x_4, x_5, x_7); +return x_8; +} +else +{ +lean_object* x_9; +lean_dec(x_2); +x_9 = lean_apply_1(x_3, x_1); +return x_9; +} +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_getExprKind_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_getExprKind_match__1___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_getExprKind_match__2___rarg(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_2); +x_4 = lean_apply_1(x_3, x_1); +return x_4; +} +else +{ +lean_object* x_5; lean_object* x_6; +x_5 = lean_ctor_get(x_1, 0); +lean_inc(x_5); +x_6 = lean_ctor_get(x_1, 1); +lean_inc(x_6); +if (lean_obj_tag(x_6) == 0) +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +lean_dec(x_3); +lean_dec(x_1); +x_7 = lean_ctor_get(x_5, 0); +lean_inc(x_7); +x_8 = lean_ctor_get(x_5, 1); +lean_inc(x_8); +lean_dec(x_5); +x_9 = lean_apply_2(x_2, x_7, x_8); +return x_9; +} +else +{ +lean_object* x_10; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +x_10 = lean_apply_1(x_3, x_1); +return x_10; +} +} +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_getExprKind_match__2(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_getExprKind_match__2___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_getExprKind_match__3___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +switch (lean_obj_tag(x_1)) { +case 0: +{ +lean_object* x_14; uint64_t x_15; lean_object* x_16; lean_object* x_17; +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_14 = lean_ctor_get(x_1, 0); +lean_inc(x_14); +x_15 = lean_ctor_get_uint64(x_1, sizeof(void*)*1); +lean_dec(x_1); +x_16 = lean_box_uint64(x_15); +x_17 = lean_apply_2(x_2, x_14, x_16); +return x_17; +} +case 1: +{ +lean_object* x_18; uint64_t x_19; lean_object* x_20; lean_object* x_21; +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_18 = lean_ctor_get(x_1, 0); +lean_inc(x_18); +x_19 = lean_ctor_get_uint64(x_1, sizeof(void*)*1); +lean_dec(x_1); +x_20 = lean_box_uint64(x_19); +x_21 = lean_apply_2(x_3, x_18, x_20); +return x_21; +} +case 2: +{ +lean_object* x_22; uint64_t x_23; lean_object* x_24; lean_object* x_25; +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_3); +lean_dec(x_2); +x_22 = lean_ctor_get(x_1, 0); +lean_inc(x_22); +x_23 = lean_ctor_get_uint64(x_1, sizeof(void*)*1); +lean_dec(x_1); +x_24 = lean_box_uint64(x_23); +x_25 = lean_apply_2(x_4, x_22, x_24); +return x_25; +} +case 3: +{ +lean_object* x_26; uint64_t x_27; lean_object* x_28; lean_object* x_29; +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_4); +lean_dec(x_3); +lean_dec(x_2); +x_26 = lean_ctor_get(x_1, 0); +lean_inc(x_26); +x_27 = lean_ctor_get_uint64(x_1, sizeof(void*)*1); +lean_dec(x_1); +x_28 = lean_box_uint64(x_27); +x_29 = lean_apply_2(x_5, x_26, x_28); +return x_29; +} +case 4: +{ +lean_object* x_30; lean_object* x_31; uint64_t x_32; lean_object* x_33; lean_object* x_34; +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_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_30 = lean_ctor_get(x_1, 0); +lean_inc(x_30); +x_31 = lean_ctor_get(x_1, 1); +lean_inc(x_31); +x_32 = lean_ctor_get_uint64(x_1, sizeof(void*)*2); +lean_dec(x_1); +x_33 = lean_box_uint64(x_32); +x_34 = lean_apply_3(x_6, x_30, x_31, x_33); +return x_34; +} +case 5: +{ +lean_object* x_35; lean_object* x_36; uint64_t x_37; lean_object* x_38; lean_object* x_39; +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_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_35 = lean_ctor_get(x_1, 0); +lean_inc(x_35); +x_36 = lean_ctor_get(x_1, 1); +lean_inc(x_36); +x_37 = lean_ctor_get_uint64(x_1, sizeof(void*)*2); +lean_dec(x_1); +x_38 = lean_box_uint64(x_37); +x_39 = lean_apply_3(x_7, x_35, x_36, x_38); +return x_39; +} +case 6: +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; uint64_t x_43; lean_object* x_44; lean_object* x_45; +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +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_40 = lean_ctor_get(x_1, 0); +lean_inc(x_40); +x_41 = lean_ctor_get(x_1, 1); +lean_inc(x_41); +x_42 = lean_ctor_get(x_1, 2); +lean_inc(x_42); +x_43 = lean_ctor_get_uint64(x_1, sizeof(void*)*3); +lean_dec(x_1); +x_44 = lean_box_uint64(x_43); +x_45 = lean_apply_4(x_8, x_40, x_41, x_42, x_44); +return x_45; +} +case 7: +{ +lean_object* x_46; lean_object* x_47; lean_object* x_48; uint64_t x_49; lean_object* x_50; lean_object* x_51; +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_46 = lean_ctor_get(x_1, 0); +lean_inc(x_46); +x_47 = lean_ctor_get(x_1, 1); +lean_inc(x_47); +x_48 = lean_ctor_get(x_1, 2); +lean_inc(x_48); +x_49 = lean_ctor_get_uint64(x_1, sizeof(void*)*3); +lean_dec(x_1); +x_50 = lean_box_uint64(x_49); +x_51 = lean_apply_4(x_9, x_46, x_47, x_48, x_50); +return x_51; +} +case 8: +{ +lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; uint64_t x_56; lean_object* x_57; lean_object* x_58; +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_52 = lean_ctor_get(x_1, 0); +lean_inc(x_52); +x_53 = lean_ctor_get(x_1, 1); +lean_inc(x_53); +x_54 = lean_ctor_get(x_1, 2); +lean_inc(x_54); +x_55 = lean_ctor_get(x_1, 3); +lean_inc(x_55); +x_56 = lean_ctor_get_uint64(x_1, sizeof(void*)*4); +lean_dec(x_1); +x_57 = lean_box_uint64(x_56); +x_58 = lean_apply_5(x_10, x_52, x_53, x_54, x_55, x_57); +return x_58; +} +case 9: +{ +lean_object* x_59; uint64_t x_60; lean_object* x_61; lean_object* x_62; +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_59 = lean_ctor_get(x_1, 0); +lean_inc(x_59); +x_60 = lean_ctor_get_uint64(x_1, sizeof(void*)*1); +lean_dec(x_1); +x_61 = lean_box_uint64(x_60); +x_62 = lean_apply_2(x_11, x_59, x_61); +return x_62; +} +case 10: +{ +lean_object* x_63; lean_object* x_64; uint64_t x_65; lean_object* x_66; lean_object* x_67; +lean_dec(x_13); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_63 = lean_ctor_get(x_1, 0); +lean_inc(x_63); +x_64 = lean_ctor_get(x_1, 1); +lean_inc(x_64); +x_65 = lean_ctor_get_uint64(x_1, sizeof(void*)*2); +lean_dec(x_1); +x_66 = lean_box_uint64(x_65); +x_67 = lean_apply_3(x_12, x_63, x_64, x_66); +return x_67; +} +default: +{ +lean_object* x_68; lean_object* x_69; lean_object* x_70; uint64_t x_71; lean_object* x_72; lean_object* x_73; +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_68 = lean_ctor_get(x_1, 0); +lean_inc(x_68); +x_69 = lean_ctor_get(x_1, 1); +lean_inc(x_69); +x_70 = lean_ctor_get(x_1, 2); +lean_inc(x_70); +x_71 = lean_ctor_get_uint64(x_1, sizeof(void*)*3); +lean_dec(x_1); +x_72 = lean_box_uint64(x_71); +x_73 = lean_apply_4(x_13, x_68, x_69, x_70, x_72); +return x_73; +} +} +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_getExprKind_match__3(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_getExprKind_match__3___rarg), 13, 0); +return x_2; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Expr_ctorName___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Expr_ctorName___closed__2; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Expr_ctorName___closed__3; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__27; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_myMacro____x40_Init_Notation___hyg_38____closed__7; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Expr_ctorName___closed__5; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Expr_ctorName___closed__6; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Expr_ctorName___closed__7; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Expr_ctorName___closed__8; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Expr_ctorName___closed__9; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Expr_ctorName___closed__10; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_getExprKind(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_8; +x_7 = l_Lean_PrettyPrinter_Delaborator_getExpr(x_1, x_2, x_3, x_4, x_5, x_6); +x_8 = lean_ctor_get(x_7, 0); +lean_inc(x_8); +switch (lean_obj_tag(x_8)) { +case 0: +{ +uint8_t x_9; +lean_dec(x_8); +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); +lean_dec(x_10); +x_11 = l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__1; +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, 1); +lean_inc(x_12); +lean_dec(x_7); +x_13 = l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__1; +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_13); +lean_ctor_set(x_14, 1, x_12); +return x_14; +} +} +case 1: +{ +uint8_t x_15; +lean_dec(x_8); +x_15 = !lean_is_exclusive(x_7); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; +x_16 = lean_ctor_get(x_7, 0); +lean_dec(x_16); +x_17 = l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__2; +lean_ctor_set(x_7, 0, x_17); +return x_7; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_7, 1); +lean_inc(x_18); +lean_dec(x_7); +x_19 = l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__2; +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_18); +return x_20; +} +} +case 2: +{ +uint8_t x_21; +lean_dec(x_8); +x_21 = !lean_is_exclusive(x_7); +if (x_21 == 0) +{ +lean_object* x_22; lean_object* x_23; +x_22 = lean_ctor_get(x_7, 0); +lean_dec(x_22); +x_23 = l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__3; +lean_ctor_set(x_7, 0, x_23); +return x_7; +} +else +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_24 = lean_ctor_get(x_7, 1); +lean_inc(x_24); +lean_dec(x_7); +x_25 = l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__3; +x_26 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_26, 1, x_24); +return x_26; +} +} +case 3: +{ +uint8_t x_27; +lean_dec(x_8); +x_27 = !lean_is_exclusive(x_7); +if (x_27 == 0) +{ +lean_object* x_28; lean_object* x_29; +x_28 = lean_ctor_get(x_7, 0); +lean_dec(x_28); +x_29 = l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__4; +lean_ctor_set(x_7, 0, x_29); +return x_7; +} +else +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_30 = lean_ctor_get(x_7, 1); +lean_inc(x_30); +lean_dec(x_7); +x_31 = l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__4; +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; +} +} +case 4: +{ +uint8_t x_33; +x_33 = !lean_is_exclusive(x_7); +if (x_33 == 0) +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_34 = lean_ctor_get(x_7, 0); +lean_dec(x_34); +x_35 = lean_ctor_get(x_8, 0); +lean_inc(x_35); +lean_dec(x_8); +x_36 = l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__5; +x_37 = l_Lean_Name_append(x_36, x_35); +lean_ctor_set(x_7, 0, x_37); +return x_7; +} +else +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_38 = lean_ctor_get(x_7, 1); +lean_inc(x_38); +lean_dec(x_7); +x_39 = lean_ctor_get(x_8, 0); +lean_inc(x_39); +lean_dec(x_8); +x_40 = l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__5; +x_41 = l_Lean_Name_append(x_40, x_39); +x_42 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_42, 0, x_41); +lean_ctor_set(x_42, 1, x_38); +return x_42; +} +} +case 5: +{ +uint8_t x_43; +x_43 = !lean_is_exclusive(x_7); +if (x_43 == 0) +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_44 = lean_ctor_get(x_7, 0); +lean_dec(x_44); +x_45 = lean_ctor_get(x_8, 0); +lean_inc(x_45); +lean_dec(x_8); +x_46 = l_Lean_Expr_getAppFn(x_45); +lean_dec(x_45); +if (lean_obj_tag(x_46) == 4) +{ +lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_47 = lean_ctor_get(x_46, 0); +lean_inc(x_47); +lean_dec(x_46); +x_48 = l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__5; +x_49 = l_Lean_Name_append(x_48, x_47); +lean_ctor_set(x_7, 0, x_49); +return x_7; +} +else +{ +lean_object* x_50; +lean_dec(x_46); +x_50 = l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__5; +lean_ctor_set(x_7, 0, x_50); +return x_7; +} +} +else +{ +lean_object* x_51; lean_object* x_52; lean_object* x_53; +x_51 = lean_ctor_get(x_7, 1); +lean_inc(x_51); +lean_dec(x_7); +x_52 = lean_ctor_get(x_8, 0); +lean_inc(x_52); +lean_dec(x_8); +x_53 = l_Lean_Expr_getAppFn(x_52); +lean_dec(x_52); +if (lean_obj_tag(x_53) == 4) +{ +lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; +x_54 = lean_ctor_get(x_53, 0); +lean_inc(x_54); +lean_dec(x_53); +x_55 = l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__5; +x_56 = l_Lean_Name_append(x_55, x_54); +x_57 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_57, 0, x_56); +lean_ctor_set(x_57, 1, x_51); +return x_57; +} +else +{ +lean_object* x_58; lean_object* x_59; +lean_dec(x_53); +x_58 = l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__5; +x_59 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_59, 0, x_58); +lean_ctor_set(x_59, 1, x_51); +return x_59; +} +} +} +case 6: +{ +uint8_t x_60; +lean_dec(x_8); +x_60 = !lean_is_exclusive(x_7); +if (x_60 == 0) +{ +lean_object* x_61; lean_object* x_62; +x_61 = lean_ctor_get(x_7, 0); +lean_dec(x_61); +x_62 = l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__6; +lean_ctor_set(x_7, 0, x_62); +return x_7; +} +else +{ +lean_object* x_63; lean_object* x_64; lean_object* x_65; +x_63 = lean_ctor_get(x_7, 1); +lean_inc(x_63); +lean_dec(x_7); +x_64 = l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__6; +x_65 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_65, 0, x_64); +lean_ctor_set(x_65, 1, x_63); +return x_65; +} +} +case 7: +{ +uint8_t x_66; +lean_dec(x_8); +x_66 = !lean_is_exclusive(x_7); +if (x_66 == 0) +{ +lean_object* x_67; lean_object* x_68; +x_67 = lean_ctor_get(x_7, 0); +lean_dec(x_67); +x_68 = l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__7; +lean_ctor_set(x_7, 0, x_68); +return x_7; +} +else +{ +lean_object* x_69; lean_object* x_70; lean_object* x_71; +x_69 = lean_ctor_get(x_7, 1); +lean_inc(x_69); +lean_dec(x_7); +x_70 = l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__7; +x_71 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_71, 0, x_70); +lean_ctor_set(x_71, 1, x_69); +return x_71; +} +} +case 8: +{ +uint8_t x_72; +lean_dec(x_8); +x_72 = !lean_is_exclusive(x_7); +if (x_72 == 0) +{ +lean_object* x_73; lean_object* x_74; +x_73 = lean_ctor_get(x_7, 0); +lean_dec(x_73); +x_74 = l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__8; +lean_ctor_set(x_7, 0, x_74); +return x_7; +} +else +{ +lean_object* x_75; lean_object* x_76; lean_object* x_77; +x_75 = lean_ctor_get(x_7, 1); +lean_inc(x_75); +lean_dec(x_7); +x_76 = l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__8; +x_77 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_77, 0, x_76); +lean_ctor_set(x_77, 1, x_75); +return x_77; +} +} +case 9: +{ +uint8_t x_78; +lean_dec(x_8); +x_78 = !lean_is_exclusive(x_7); +if (x_78 == 0) +{ +lean_object* x_79; lean_object* x_80; +x_79 = lean_ctor_get(x_7, 0); +lean_dec(x_79); +x_80 = l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__9; +lean_ctor_set(x_7, 0, x_80); +return x_7; +} +else +{ +lean_object* x_81; lean_object* x_82; lean_object* x_83; +x_81 = lean_ctor_get(x_7, 1); +lean_inc(x_81); +lean_dec(x_7); +x_82 = l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__9; +x_83 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_83, 0, x_82); +lean_ctor_set(x_83, 1, x_81); +return x_83; +} +} +case 10: +{ +lean_object* x_84; +x_84 = lean_ctor_get(x_8, 0); +lean_inc(x_84); +lean_dec(x_8); +if (lean_obj_tag(x_84) == 0) +{ +uint8_t x_85; +x_85 = !lean_is_exclusive(x_7); +if (x_85 == 0) +{ +lean_object* x_86; lean_object* x_87; +x_86 = lean_ctor_get(x_7, 0); +lean_dec(x_86); +x_87 = l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__10; +lean_ctor_set(x_7, 0, x_87); +return x_7; +} +else +{ +lean_object* x_88; lean_object* x_89; lean_object* x_90; +x_88 = lean_ctor_get(x_7, 1); +lean_inc(x_88); +lean_dec(x_7); +x_89 = l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__10; +x_90 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_90, 0, x_89); +lean_ctor_set(x_90, 1, x_88); +return x_90; +} +} +else +{ +lean_object* x_91; lean_object* x_92; +x_91 = lean_ctor_get(x_84, 0); +lean_inc(x_91); +x_92 = lean_ctor_get(x_84, 1); +lean_inc(x_92); +lean_dec(x_84); +if (lean_obj_tag(x_92) == 0) +{ +uint8_t x_93; +x_93 = !lean_is_exclusive(x_7); +if (x_93 == 0) +{ +lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; +x_94 = lean_ctor_get(x_7, 0); +lean_dec(x_94); +x_95 = lean_ctor_get(x_91, 0); +lean_inc(x_95); +lean_dec(x_91); +x_96 = l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__10; +x_97 = l_Lean_Name_append(x_96, x_95); +lean_ctor_set(x_7, 0, x_97); +return x_7; +} +else +{ +lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; +x_98 = lean_ctor_get(x_7, 1); +lean_inc(x_98); +lean_dec(x_7); +x_99 = lean_ctor_get(x_91, 0); +lean_inc(x_99); +lean_dec(x_91); +x_100 = l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__10; +x_101 = l_Lean_Name_append(x_100, x_99); +x_102 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_102, 0, x_101); +lean_ctor_set(x_102, 1, x_98); +return x_102; +} +} +else +{ +uint8_t x_103; +lean_dec(x_92); +lean_dec(x_91); +x_103 = !lean_is_exclusive(x_7); +if (x_103 == 0) +{ +lean_object* x_104; lean_object* x_105; +x_104 = lean_ctor_get(x_7, 0); +lean_dec(x_104); +x_105 = l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__10; +lean_ctor_set(x_7, 0, x_105); +return x_7; +} +else +{ +lean_object* x_106; lean_object* x_107; lean_object* x_108; +x_106 = lean_ctor_get(x_7, 1); +lean_inc(x_106); +lean_dec(x_7); +x_107 = l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__10; +x_108 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_108, 0, x_107); +lean_ctor_set(x_108, 1, x_106); +return x_108; +} +} +} +} +default: +{ +uint8_t x_109; +lean_dec(x_8); +x_109 = !lean_is_exclusive(x_7); +if (x_109 == 0) +{ +lean_object* x_110; lean_object* x_111; +x_110 = lean_ctor_get(x_7, 0); +lean_dec(x_110); +x_111 = l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__11; +lean_ctor_set(x_7, 0, x_111); +return x_7; +} +else +{ +lean_object* x_112; lean_object* x_113; lean_object* x_114; +x_112 = lean_ctor_get(x_7, 1); +lean_inc(x_112); +lean_dec(x_7); +x_113 = l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__11; +x_114 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_114, 0, x_113); +lean_ctor_set(x_114, 1, x_112); +return x_114; +} +} +} +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_getExprKind___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; +x_7 = l_Lean_PrettyPrinter_Delaborator_getExprKind(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_7; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_getPPOption_match__1___rarg(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_object* x_5; +lean_dec(x_2); +x_4 = lean_box(0); +x_5 = lean_apply_1(x_3, x_4); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_3); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_apply_1(x_2, x_6); +return x_7; +} +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_getPPOption_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_getPPOption_match__1___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Std_RBNode_find___at_Lean_PrettyPrinter_Delaborator_getPPOption___spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_3; +x_3 = lean_box(0); +return x_3; +} +else +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; +x_4 = lean_ctor_get(x_1, 0); +x_5 = lean_ctor_get(x_1, 1); +x_6 = lean_ctor_get(x_1, 2); +x_7 = lean_ctor_get(x_1, 3); +x_8 = lean_nat_dec_lt(x_2, x_5); +if (x_8 == 0) +{ +uint8_t x_9; +x_9 = lean_nat_dec_lt(x_5, x_2); +if (x_9 == 0) +{ +lean_object* x_10; +lean_inc(x_6); +x_10 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_10, 0, x_6); +return x_10; +} +else +{ +x_1 = x_7; +goto _start; +} +} +else +{ +x_1 = x_4; +goto _start; +} +} +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_getPPOption(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; lean_object* x_9; uint8_t x_10; +x_8 = lean_ctor_get(x_2, 2); +lean_inc(x_8); +lean_inc(x_1); +lean_inc(x_8); +x_9 = lean_apply_1(x_1, x_8); +x_10 = lean_unbox(x_9); +lean_dec(x_9); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; uint8_t x_13; lean_object* x_14; +x_11 = lean_ctor_get(x_2, 3); +lean_inc(x_11); +x_12 = lean_ctor_get(x_2, 1); +lean_inc(x_12); +lean_dec(x_2); +x_13 = l_Lean_getPPAll(x_8); +lean_dec(x_8); +x_14 = l_Std_RBNode_find___at_Lean_PrettyPrinter_Delaborator_getPPOption___spec__1(x_11, x_12); +lean_dec(x_12); +lean_dec(x_11); +if (lean_obj_tag(x_14) == 0) +{ +lean_object* x_15; lean_object* x_16; +lean_dec(x_1); +x_15 = lean_box(x_13); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_7); +return x_16; +} +else +{ +lean_object* x_17; lean_object* x_18; uint8_t x_19; +x_17 = lean_ctor_get(x_14, 0); +lean_inc(x_17); +lean_dec(x_14); +lean_inc(x_17); +x_18 = lean_apply_1(x_1, x_17); +x_19 = lean_unbox(x_18); +lean_dec(x_18); +if (x_19 == 0) +{ +uint8_t x_20; lean_object* x_21; lean_object* x_22; +x_20 = l_Lean_getPPAll(x_17); +lean_dec(x_17); +x_21 = lean_box(x_20); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_7); +return x_22; +} +else +{ +uint8_t x_23; lean_object* x_24; lean_object* x_25; +lean_dec(x_17); +x_23 = 1; +x_24 = lean_box(x_23); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_25, 1, x_7); +return x_25; +} +} +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; +lean_dec(x_8); +x_26 = lean_ctor_get(x_2, 3); +lean_inc(x_26); +x_27 = lean_ctor_get(x_2, 1); +lean_inc(x_27); +lean_dec(x_2); +x_28 = l_Std_RBNode_find___at_Lean_PrettyPrinter_Delaborator_getPPOption___spec__1(x_26, x_27); +lean_dec(x_27); +lean_dec(x_26); +if (lean_obj_tag(x_28) == 0) +{ +uint8_t x_29; lean_object* x_30; lean_object* x_31; +lean_dec(x_1); +x_29 = 1; +x_30 = lean_box(x_29); +x_31 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_31, 0, x_30); +lean_ctor_set(x_31, 1, x_7); +return x_31; +} +else +{ +lean_object* x_32; lean_object* x_33; uint8_t x_34; +x_32 = lean_ctor_get(x_28, 0); +lean_inc(x_32); +lean_dec(x_28); +lean_inc(x_32); +x_33 = lean_apply_1(x_1, x_32); +x_34 = lean_unbox(x_33); +lean_dec(x_33); +if (x_34 == 0) +{ +uint8_t x_35; lean_object* x_36; lean_object* x_37; +x_35 = l_Lean_getPPAll(x_32); +lean_dec(x_32); +x_36 = lean_box(x_35); +x_37 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_37, 0, x_36); +lean_ctor_set(x_37, 1, x_7); +return x_37; +} +else +{ +uint8_t x_38; lean_object* x_39; lean_object* x_40; +lean_dec(x_32); +x_38 = 1; +x_39 = lean_box(x_38); +x_40 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_40, 0, x_39); +lean_ctor_set(x_40, 1, x_7); +return x_40; +} +} +} +} +} +lean_object* l_Std_RBNode_find___at_Lean_PrettyPrinter_Delaborator_getPPOption___spec__1___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Std_RBNode_find___at_Lean_PrettyPrinter_Delaborator_getPPOption___spec__1(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_getPPOption___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l_Lean_PrettyPrinter_Delaborator_getPPOption(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_8; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_whenPPOption(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; uint8_t x_11; +lean_inc(x_3); +x_9 = l_Lean_PrettyPrinter_Delaborator_getPPOption(x_1, x_3, x_4, x_5, x_6, x_7, x_8); +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +x_11 = lean_unbox(x_10); +lean_dec(x_10); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; +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_12 = lean_ctor_get(x_9, 1); +lean_inc(x_12); +lean_dec(x_9); +x_13 = l_Lean_PrettyPrinter_Delaborator_failure___rarg(x_12); +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; +x_14 = lean_ctor_get(x_9, 1); +lean_inc(x_14); +lean_dec(x_9); +x_15 = lean_apply_6(x_2, x_3, x_4, x_5, x_6, x_7, x_14); +return x_15; +} +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_whenNotPPOption(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; uint8_t x_11; +lean_inc(x_3); +x_9 = l_Lean_PrettyPrinter_Delaborator_getPPOption(x_1, x_3, x_4, x_5, x_6, x_7, x_8); +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +x_11 = lean_unbox(x_10); +lean_dec(x_10); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; +x_12 = lean_ctor_get(x_9, 1); +lean_inc(x_12); +lean_dec(x_9); +x_13 = lean_apply_6(x_2, x_3, x_4, x_5, x_6, x_7, x_12); +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; +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_14 = lean_ctor_get(x_9, 1); +lean_inc(x_14); +lean_dec(x_9); +x_15 = l_Lean_PrettyPrinter_Delaborator_failure___rarg(x_14); +return x_15; +} +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_descend___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +uint8_t x_10; +x_10 = !lean_is_exclusive(x_4); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_11 = lean_ctor_get(x_4, 1); +x_12 = lean_ctor_get(x_4, 0); +lean_dec(x_12); +x_13 = lean_unsigned_to_nat(3u); +x_14 = lean_nat_mul(x_11, x_13); +lean_dec(x_11); +x_15 = lean_nat_add(x_14, x_2); +lean_dec(x_14); +lean_ctor_set(x_4, 1, x_15); +lean_ctor_set(x_4, 0, x_1); +x_16 = lean_apply_6(x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_16; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_17 = lean_ctor_get(x_4, 1); +x_18 = lean_ctor_get(x_4, 2); +x_19 = lean_ctor_get(x_4, 3); +x_20 = lean_ctor_get(x_4, 4); +x_21 = lean_ctor_get(x_4, 5); +lean_inc(x_21); +lean_inc(x_20); +lean_inc(x_19); +lean_inc(x_18); +lean_inc(x_17); +lean_dec(x_4); +x_22 = lean_unsigned_to_nat(3u); +x_23 = lean_nat_mul(x_17, x_22); +lean_dec(x_17); +x_24 = lean_nat_add(x_23, x_2); +lean_dec(x_23); +x_25 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_25, 0, x_1); +lean_ctor_set(x_25, 1, x_24); +lean_ctor_set(x_25, 2, x_18); +lean_ctor_set(x_25, 3, x_19); +lean_ctor_set(x_25, 4, x_20); +lean_ctor_set(x_25, 5, x_21); +x_26 = lean_apply_6(x_3, x_25, x_5, x_6, x_7, x_8, x_9); +return x_26; +} +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_descend(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_descend___rarg___boxed), 9, 0); +return x_2; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_descend___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_PrettyPrinter_Delaborator_descend___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_2); +return x_10; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_withAppFn_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 5) +{ +lean_object* x_4; lean_object* x_5; uint64_t x_6; lean_object* x_7; lean_object* x_8; +lean_dec(x_3); +x_4 = lean_ctor_get(x_1, 0); +lean_inc(x_4); +x_5 = lean_ctor_get(x_1, 1); +lean_inc(x_5); +x_6 = lean_ctor_get_uint64(x_1, sizeof(void*)*2); +lean_dec(x_1); +x_7 = lean_box_uint64(x_6); +x_8 = lean_apply_3(x_2, x_4, x_5, x_7); +return x_8; +} +else +{ +lean_object* x_9; +lean_dec(x_2); +x_9 = lean_apply_1(x_3, x_1); +return x_9; +} +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_withAppFn_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_withAppFn_match__1___rarg), 3, 0); +return x_2; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_withAppFn___rarg___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_PrettyPrinter_Delaborator_instInhabitedDelabM(lean_box(0)); +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_withAppFn___rarg___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Lean.PrettyPrinter.Delaborator.Basic"); +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_withAppFn___rarg___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Lean.PrettyPrinter.Delaborator.withAppFn"); +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_withAppFn___rarg___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_1 = l_Lean_PrettyPrinter_Delaborator_withAppFn___rarg___closed__2; +x_2 = l_Lean_PrettyPrinter_Delaborator_withAppFn___rarg___closed__3; +x_3 = lean_unsigned_to_nat(190u); +x_4 = lean_unsigned_to_nat(34u); +x_5 = l_Lean_Syntax_strLitToAtom___closed__3; +x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); +return x_6; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_withAppFn___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; lean_object* x_9; +x_8 = l_Lean_PrettyPrinter_Delaborator_getExpr(x_2, x_3, x_4, x_5, x_6, x_7); +x_9 = lean_ctor_get(x_8, 0); +lean_inc(x_9); +if (lean_obj_tag(x_9) == 5) +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_10 = lean_ctor_get(x_8, 1); +lean_inc(x_10); +lean_dec(x_8); +x_11 = lean_ctor_get(x_9, 0); +lean_inc(x_11); +lean_dec(x_9); +x_12 = lean_unsigned_to_nat(0u); +x_13 = l_Lean_PrettyPrinter_Delaborator_descend___rarg(x_11, x_12, x_1, x_2, x_3, x_4, x_5, x_6, x_10); +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +lean_dec(x_9); +lean_dec(x_1); +x_14 = lean_ctor_get(x_8, 1); +lean_inc(x_14); +lean_dec(x_8); +x_15 = l_Lean_PrettyPrinter_Delaborator_withAppFn___rarg___closed__1; +x_16 = l_Lean_PrettyPrinter_Delaborator_withAppFn___rarg___closed__4; +x_17 = lean_panic_fn(x_15, x_16); +x_18 = lean_apply_6(x_17, x_2, x_3, x_4, x_5, x_6, x_14); +return x_18; +} +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_withAppFn(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_withAppFn___rarg), 7, 0); +return x_2; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_withAppArg_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 5) +{ +lean_object* x_4; lean_object* x_5; uint64_t x_6; lean_object* x_7; lean_object* x_8; +lean_dec(x_3); +x_4 = lean_ctor_get(x_1, 0); +lean_inc(x_4); +x_5 = lean_ctor_get(x_1, 1); +lean_inc(x_5); +x_6 = lean_ctor_get_uint64(x_1, sizeof(void*)*2); +lean_dec(x_1); +x_7 = lean_box_uint64(x_6); +x_8 = lean_apply_3(x_2, x_4, x_5, x_7); +return x_8; +} +else +{ +lean_object* x_9; +lean_dec(x_2); +x_9 = lean_apply_1(x_3, x_1); +return x_9; +} +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_withAppArg_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_withAppArg_match__1___rarg), 3, 0); +return x_2; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_withAppArg___rarg___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Lean.PrettyPrinter.Delaborator.withAppArg"); +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_withAppArg___rarg___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_1 = l_Lean_PrettyPrinter_Delaborator_withAppFn___rarg___closed__2; +x_2 = l_Lean_PrettyPrinter_Delaborator_withAppArg___rarg___closed__1; +x_3 = lean_unsigned_to_nat(194u); +x_4 = lean_unsigned_to_nat(35u); +x_5 = l_Lean_Syntax_strLitToAtom___closed__3; +x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); +return x_6; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_withAppArg___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; lean_object* x_9; +x_8 = l_Lean_PrettyPrinter_Delaborator_getExpr(x_2, x_3, x_4, x_5, x_6, x_7); +x_9 = lean_ctor_get(x_8, 0); +lean_inc(x_9); +if (lean_obj_tag(x_9) == 5) +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_10 = lean_ctor_get(x_8, 1); +lean_inc(x_10); +lean_dec(x_8); +x_11 = lean_ctor_get(x_9, 1); +lean_inc(x_11); +lean_dec(x_9); +x_12 = lean_unsigned_to_nat(1u); +x_13 = l_Lean_PrettyPrinter_Delaborator_descend___rarg(x_11, x_12, x_1, x_2, x_3, x_4, x_5, x_6, x_10); +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +lean_dec(x_9); +lean_dec(x_1); +x_14 = lean_ctor_get(x_8, 1); +lean_inc(x_14); +lean_dec(x_8); +x_15 = l_Lean_PrettyPrinter_Delaborator_withAppFn___rarg___closed__1; +x_16 = l_Lean_PrettyPrinter_Delaborator_withAppArg___rarg___closed__2; +x_17 = lean_panic_fn(x_15, x_16); +x_18 = lean_apply_6(x_17, x_2, x_3, x_4, x_5, x_6, x_14); +return x_18; +} +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_withAppArg(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_withAppArg___rarg), 7, 0); +return x_2; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_withAppFnArgs_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 5) +{ +lean_object* x_4; lean_object* x_5; uint64_t x_6; lean_object* x_7; lean_object* x_8; +lean_dec(x_3); +x_4 = lean_ctor_get(x_1, 0); +lean_inc(x_4); +x_5 = lean_ctor_get(x_1, 1); +lean_inc(x_5); +x_6 = lean_ctor_get_uint64(x_1, sizeof(void*)*2); +lean_dec(x_1); +x_7 = lean_box_uint64(x_6); +x_8 = lean_apply_3(x_2, x_4, x_5, x_7); +return x_8; +} +else +{ +lean_object* x_9; +lean_dec(x_2); +x_9 = lean_apply_1(x_3, x_1); +return x_9; +} +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_withAppFnArgs_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_withAppFnArgs_match__1___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_withAppFnArgs_match__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = lean_apply_2(x_3, x_1, x_2); +return x_4; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_withAppFnArgs_match__2(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_withAppFnArgs_match__2___rarg), 3, 0); +return x_3; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_withAppFnArgs___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; +x_9 = l_Lean_PrettyPrinter_Delaborator_getExpr(x_3, x_4, x_5, x_6, x_7, x_8); +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +if (lean_obj_tag(x_10) == 5) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; +lean_dec(x_10); +x_11 = lean_ctor_get(x_9, 1); +lean_inc(x_11); +lean_dec(x_9); +lean_inc(x_2); +x_12 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_withAppFnArgs___rarg), 8, 2); +lean_closure_set(x_12, 0, x_1); +lean_closure_set(x_12, 1, x_2); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +x_13 = l_Lean_PrettyPrinter_Delaborator_withAppFn___rarg(x_12, x_3, x_4, x_5, x_6, x_7, x_11); +if (lean_obj_tag(x_13) == 0) +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_13, 1); +lean_inc(x_15); +lean_dec(x_13); +x_16 = lean_apply_1(x_2, x_14); +x_17 = l_Lean_PrettyPrinter_Delaborator_withAppArg___rarg(x_16, x_3, x_4, x_5, x_6, x_7, x_15); +return x_17; +} +else +{ +uint8_t x_18; +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_18 = !lean_is_exclusive(x_13); +if (x_18 == 0) +{ +return x_13; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_ctor_get(x_13, 0); +x_20 = lean_ctor_get(x_13, 1); +lean_inc(x_20); +lean_inc(x_19); +lean_dec(x_13); +x_21 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_21, 0, x_19); +lean_ctor_set(x_21, 1, x_20); +return x_21; +} +} +} +else +{ +lean_object* x_22; lean_object* x_23; +lean_dec(x_10); +lean_dec(x_2); +x_22 = lean_ctor_get(x_9, 1); +lean_inc(x_22); +lean_dec(x_9); +x_23 = lean_apply_6(x_1, x_3, x_4, x_5, x_6, x_7, x_22); +return x_23; +} +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_withAppFnArgs(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_withAppFnArgs___rarg), 8, 0); +return x_2; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_withBindingDomain___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_8 = l_Lean_PrettyPrinter_Delaborator_getExpr(x_2, x_3, x_4, x_5, x_6, x_7); +x_9 = lean_ctor_get(x_8, 0); +lean_inc(x_9); +x_10 = lean_ctor_get(x_8, 1); +lean_inc(x_10); +lean_dec(x_8); +x_11 = l_Lean_Expr_bindingDomain_x21(x_9); +lean_dec(x_9); +x_12 = lean_unsigned_to_nat(0u); +x_13 = l_Lean_PrettyPrinter_Delaborator_descend___rarg(x_11, x_12, x_1, x_2, x_3, x_4, x_5, x_6, x_10); +return x_13; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_withBindingDomain(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_withBindingDomain___rarg), 7, 0); +return x_2; +} +} +lean_object* l_Lean_Meta_withLocalDecl___at_Lean_PrettyPrinter_Delaborator_withBindingBody___spec__1___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = lean_apply_7(x_1, x_3, x_2, x_4, x_5, x_6, x_7, x_8); +return x_9; +} +} +lean_object* l_Lean_Meta_withLocalDecl___at_Lean_PrettyPrinter_Delaborator_withBindingBody___spec__1___rarg(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; lean_object* x_12; +x_11 = lean_alloc_closure((void*)(l_Lean_Meta_withLocalDecl___at_Lean_PrettyPrinter_Delaborator_withBindingBody___spec__1___rarg___lambda__1), 8, 2); +lean_closure_set(x_11, 0, x_4); +lean_closure_set(x_11, 1, x_5); +x_12 = l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDeclImp___rarg(x_1, x_2, x_3, x_11, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_12) == 0) +{ +uint8_t x_13; +x_13 = !lean_is_exclusive(x_12); +if (x_13 == 0) +{ +return x_12; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_14 = lean_ctor_get(x_12, 0); +x_15 = lean_ctor_get(x_12, 1); +lean_inc(x_15); +lean_inc(x_14); +lean_dec(x_12); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_14); +lean_ctor_set(x_16, 1, x_15); +return x_16; +} +} +else +{ +uint8_t x_17; +x_17 = !lean_is_exclusive(x_12); +if (x_17 == 0) +{ +return x_12; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_12, 0); +x_19 = lean_ctor_get(x_12, 1); +lean_inc(x_19); +lean_inc(x_18); +lean_dec(x_12); +x_20 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_20, 0, x_18); +lean_ctor_set(x_20, 1, x_19); +return x_20; +} +} +} +} +lean_object* l_Lean_Meta_withLocalDecl___at_Lean_PrettyPrinter_Delaborator_withBindingBody___spec__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Meta_withLocalDecl___at_Lean_PrettyPrinter_Delaborator_withBindingBody___spec__1___rarg___boxed), 10, 0); +return x_2; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_withBindingBody___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_10 = l_Lean_Expr_bindingBody_x21(x_1); +x_11 = lean_expr_instantiate1(x_10, x_3); +lean_dec(x_10); +x_12 = lean_unsigned_to_nat(1u); +x_13 = l_Lean_PrettyPrinter_Delaborator_descend___rarg(x_11, x_12, x_2, x_4, x_5, x_6, x_7, x_8, x_9); +return x_13; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_withBindingBody___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_9 = l_Lean_PrettyPrinter_Delaborator_getExpr(x_3, x_4, x_5, x_6, x_7, x_8); +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_9, 1); +lean_inc(x_11); +lean_dec(x_9); +x_12 = l_Lean_Expr_binderInfo(x_10); +x_13 = l_Lean_Expr_bindingDomain_x21(x_10); +x_14 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_withBindingBody___rarg___lambda__1___boxed), 9, 2); +lean_closure_set(x_14, 0, x_10); +lean_closure_set(x_14, 1, x_2); +x_15 = l_Lean_Meta_withLocalDecl___at_Lean_PrettyPrinter_Delaborator_withBindingBody___spec__1___rarg(x_1, x_12, x_13, x_14, x_3, x_4, x_5, x_6, x_7, x_11); +return x_15; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_withBindingBody(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_withBindingBody___rarg), 8, 0); +return x_2; +} +} +lean_object* l_Lean_Meta_withLocalDecl___at_Lean_PrettyPrinter_Delaborator_withBindingBody___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +uint8_t x_11; lean_object* x_12; +x_11 = lean_unbox(x_2); +lean_dec(x_2); +x_12 = l_Lean_Meta_withLocalDecl___at_Lean_PrettyPrinter_Delaborator_withBindingBody___spec__1___rarg(x_1, x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_12; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_withBindingBody___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_PrettyPrinter_Delaborator_withBindingBody___rarg___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_3); +lean_dec(x_1); +return x_10; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_withProj_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 11) +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; uint64_t x_7; lean_object* x_8; lean_object* x_9; +lean_dec(x_3); +x_4 = lean_ctor_get(x_1, 0); +lean_inc(x_4); +x_5 = lean_ctor_get(x_1, 1); +lean_inc(x_5); +x_6 = lean_ctor_get(x_1, 2); +lean_inc(x_6); +x_7 = lean_ctor_get_uint64(x_1, sizeof(void*)*3); +lean_dec(x_1); +x_8 = lean_box_uint64(x_7); +x_9 = lean_apply_4(x_2, x_4, x_5, x_6, x_8); +return x_9; +} +else +{ +lean_object* x_10; +lean_dec(x_2); +x_10 = lean_apply_1(x_3, x_1); +return x_10; +} +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_withProj_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_withProj_match__1___rarg), 3, 0); +return x_2; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_withProj___rarg___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Lean.PrettyPrinter.Delaborator.withProj"); +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_withProj___rarg___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_1 = l_Lean_PrettyPrinter_Delaborator_withAppFn___rarg___closed__2; +x_2 = l_Lean_PrettyPrinter_Delaborator_withProj___rarg___closed__1; +x_3 = lean_unsigned_to_nat(214u); +x_4 = lean_unsigned_to_nat(36u); +x_5 = l_Lean_Syntax_strLitToAtom___closed__3; +x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); +return x_6; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_withProj___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; lean_object* x_9; +x_8 = l_Lean_PrettyPrinter_Delaborator_getExpr(x_2, x_3, x_4, x_5, x_6, x_7); +x_9 = lean_ctor_get(x_8, 0); +lean_inc(x_9); +if (lean_obj_tag(x_9) == 11) +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_10 = lean_ctor_get(x_8, 1); +lean_inc(x_10); +lean_dec(x_8); +x_11 = lean_ctor_get(x_9, 2); +lean_inc(x_11); +lean_dec(x_9); +x_12 = lean_unsigned_to_nat(0u); +x_13 = l_Lean_PrettyPrinter_Delaborator_descend___rarg(x_11, x_12, x_1, x_2, x_3, x_4, x_5, x_6, x_10); +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +lean_dec(x_9); +lean_dec(x_1); +x_14 = lean_ctor_get(x_8, 1); +lean_inc(x_14); +lean_dec(x_8); +x_15 = l_Lean_PrettyPrinter_Delaborator_withAppFn___rarg___closed__1; +x_16 = l_Lean_PrettyPrinter_Delaborator_withProj___rarg___closed__2; +x_17 = lean_panic_fn(x_15, x_16); +x_18 = lean_apply_6(x_17, x_2, x_3, x_4, x_5, x_6, x_14); +return x_18; +} +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_withProj(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_withProj___rarg), 7, 0); +return x_2; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_withMDataExpr_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 10) +{ +lean_object* x_4; lean_object* x_5; uint64_t x_6; lean_object* x_7; lean_object* x_8; +lean_dec(x_3); +x_4 = lean_ctor_get(x_1, 0); +lean_inc(x_4); +x_5 = lean_ctor_get(x_1, 1); +lean_inc(x_5); +x_6 = lean_ctor_get_uint64(x_1, sizeof(void*)*2); +lean_dec(x_1); +x_7 = lean_box_uint64(x_6); +x_8 = lean_apply_3(x_2, x_4, x_5, x_7); +return x_8; +} +else +{ +lean_object* x_9; +lean_dec(x_2); +x_9 = lean_apply_1(x_3, x_1); +return x_9; +} +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_withMDataExpr_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_withMDataExpr_match__1___rarg), 3, 0); +return x_2; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_withMDataExpr___rarg___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Lean.PrettyPrinter.Delaborator.withMDataExpr"); +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_withMDataExpr___rarg___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_1 = l_Lean_PrettyPrinter_Delaborator_withAppFn___rarg___closed__2; +x_2 = l_Lean_PrettyPrinter_Delaborator_withMDataExpr___rarg___closed__1; +x_3 = lean_unsigned_to_nat(218u); +x_4 = lean_unsigned_to_nat(35u); +x_5 = l_Lean_Syntax_strLitToAtom___closed__3; +x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); +return x_6; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_withMDataExpr___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; lean_object* x_9; +x_8 = l_Lean_PrettyPrinter_Delaborator_getExpr(x_2, x_3, x_4, x_5, x_6, x_7); +x_9 = lean_ctor_get(x_8, 0); +lean_inc(x_9); +if (lean_obj_tag(x_9) == 10) +{ +lean_object* x_10; lean_object* x_11; uint8_t x_12; +x_10 = lean_ctor_get(x_8, 1); +lean_inc(x_10); +lean_dec(x_8); +x_11 = lean_ctor_get(x_9, 1); +lean_inc(x_11); +lean_dec(x_9); +x_12 = !lean_is_exclusive(x_2); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; +x_13 = lean_ctor_get(x_2, 0); +lean_dec(x_13); +lean_ctor_set(x_2, 0, x_11); +x_14 = lean_apply_6(x_1, x_2, x_3, x_4, x_5, x_6, x_10); +return x_14; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_15 = lean_ctor_get(x_2, 1); +x_16 = lean_ctor_get(x_2, 2); +x_17 = lean_ctor_get(x_2, 3); +x_18 = lean_ctor_get(x_2, 4); +x_19 = lean_ctor_get(x_2, 5); +lean_inc(x_19); +lean_inc(x_18); +lean_inc(x_17); +lean_inc(x_16); +lean_inc(x_15); +lean_dec(x_2); +x_20 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_20, 0, x_11); +lean_ctor_set(x_20, 1, x_15); +lean_ctor_set(x_20, 2, x_16); +lean_ctor_set(x_20, 3, x_17); +lean_ctor_set(x_20, 4, x_18); +lean_ctor_set(x_20, 5, x_19); +x_21 = lean_apply_6(x_1, x_20, x_3, x_4, x_5, x_6, x_10); +return x_21; +} +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +lean_dec(x_9); +lean_dec(x_1); +x_22 = lean_ctor_get(x_8, 1); +lean_inc(x_22); +lean_dec(x_8); +x_23 = l_Lean_PrettyPrinter_Delaborator_withAppFn___rarg___closed__1; +x_24 = l_Lean_PrettyPrinter_Delaborator_withMDataExpr___rarg___closed__2; +x_25 = lean_panic_fn(x_23, x_24); +x_26 = lean_apply_6(x_25, x_2, x_3, x_4, x_5, x_6, x_22); +return x_26; +} +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_withMDataExpr(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_withMDataExpr___rarg), 7, 0); +return x_2; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_annotatePos_match__1___rarg(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_object* x_5; +lean_dec(x_2); +x_4 = lean_box(0); +x_5 = lean_apply_1(x_3, x_4); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_3); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_apply_1(x_2, x_6); +return x_7; +} +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_annotatePos_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_annotatePos_match__1___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_annotatePos_match__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +switch (lean_obj_tag(x_1)) { +case 1: +{ +lean_object* x_5; +lean_dec(x_2); +x_5 = lean_ctor_get(x_1, 0); +lean_inc(x_5); +if (lean_obj_tag(x_5) == 1) +{ +lean_object* x_6; +x_6 = lean_ctor_get(x_5, 0); +lean_inc(x_6); +if (lean_obj_tag(x_6) == 1) +{ +lean_object* x_7; +x_7 = lean_ctor_get(x_6, 0); +lean_inc(x_7); +if (lean_obj_tag(x_7) == 1) +{ +lean_object* x_8; +x_8 = lean_ctor_get(x_7, 0); +lean_inc(x_8); +if (lean_obj_tag(x_8) == 1) +{ +lean_object* x_9; +x_9 = lean_ctor_get(x_8, 0); +lean_inc(x_9); +if (lean_obj_tag(x_9) == 0) +{ +lean_object* x_10; uint8_t x_11; +x_10 = lean_ctor_get(x_1, 1); +lean_inc(x_10); +x_11 = !lean_is_exclusive(x_5); +if (x_11 == 0) +{ +lean_object* x_12; size_t x_13; lean_object* x_14; uint8_t x_15; +x_12 = lean_ctor_get(x_5, 1); +x_13 = lean_ctor_get_usize(x_5, 2); +x_14 = lean_ctor_get(x_5, 0); +lean_dec(x_14); +x_15 = !lean_is_exclusive(x_6); +if (x_15 == 0) +{ +lean_object* x_16; size_t x_17; lean_object* x_18; uint8_t x_19; +x_16 = lean_ctor_get(x_6, 1); +x_17 = lean_ctor_get_usize(x_6, 2); +x_18 = lean_ctor_get(x_6, 0); +lean_dec(x_18); +x_19 = !lean_is_exclusive(x_7); +if (x_19 == 0) +{ +lean_object* x_20; size_t x_21; lean_object* x_22; uint8_t x_23; +x_20 = lean_ctor_get(x_7, 1); +x_21 = lean_ctor_get_usize(x_7, 2); +x_22 = lean_ctor_get(x_7, 0); +lean_dec(x_22); +x_23 = !lean_is_exclusive(x_8); +if (x_23 == 0) +{ +lean_object* x_24; size_t x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; +x_24 = lean_ctor_get(x_8, 1); +x_25 = lean_ctor_get_usize(x_8, 2); +x_26 = lean_ctor_get(x_8, 0); +lean_dec(x_26); +x_27 = l_myMacro____x40_Init_Notation___hyg_38____closed__1; +x_28 = lean_string_dec_eq(x_24, x_27); +lean_dec(x_24); +if (x_28 == 0) +{ +lean_object* x_29; +lean_free_object(x_8); +lean_free_object(x_7); +lean_dec(x_20); +lean_free_object(x_6); +lean_dec(x_16); +lean_free_object(x_5); +lean_dec(x_12); +lean_dec(x_10); +lean_dec(x_3); +x_29 = lean_apply_1(x_4, x_1); +return x_29; +} +else +{ +lean_object* x_30; uint8_t x_31; +x_30 = l_myMacro____x40_Init_Notation___hyg_38____closed__3; +x_31 = lean_string_dec_eq(x_20, x_30); +if (x_31 == 0) +{ +uint8_t x_32; +lean_dec(x_3); +x_32 = !lean_is_exclusive(x_1); +if (x_32 == 0) +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_33 = lean_ctor_get(x_1, 1); +lean_dec(x_33); +x_34 = lean_ctor_get(x_1, 0); +lean_dec(x_34); +lean_ctor_set(x_8, 1, x_27); +x_35 = lean_apply_1(x_4, x_1); +return x_35; +} +else +{ +lean_object* x_36; lean_object* x_37; +lean_dec(x_1); +lean_ctor_set(x_8, 1, x_27); +x_36 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_36, 0, x_5); +lean_ctor_set(x_36, 1, x_10); +x_37 = lean_apply_1(x_4, x_36); +return x_37; +} +} +else +{ +lean_object* x_38; uint8_t x_39; +lean_dec(x_20); +x_38 = l_myMacro____x40_Init_Notation___hyg_38____closed__5; +x_39 = lean_string_dec_eq(x_16, x_38); +if (x_39 == 0) +{ +uint8_t x_40; +lean_dec(x_3); +x_40 = !lean_is_exclusive(x_1); +if (x_40 == 0) +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_41 = lean_ctor_get(x_1, 1); +lean_dec(x_41); +x_42 = lean_ctor_get(x_1, 0); +lean_dec(x_42); +lean_ctor_set(x_8, 1, x_27); +lean_ctor_set(x_7, 1, x_30); +x_43 = lean_apply_1(x_4, x_1); +return x_43; +} +else +{ +lean_object* x_44; lean_object* x_45; +lean_dec(x_1); +lean_ctor_set(x_8, 1, x_27); +lean_ctor_set(x_7, 1, x_30); +x_44 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_44, 0, x_5); +lean_ctor_set(x_44, 1, x_10); +x_45 = lean_apply_1(x_4, x_44); +return x_45; +} +} +else +{ +lean_object* x_46; uint8_t x_47; +lean_dec(x_16); +x_46 = l_myMacro____x40_Init_Notation___hyg_38____closed__7; +x_47 = lean_string_dec_eq(x_12, x_46); +if (x_47 == 0) +{ +uint8_t x_48; +lean_dec(x_3); +x_48 = !lean_is_exclusive(x_1); +if (x_48 == 0) +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_49 = lean_ctor_get(x_1, 1); +lean_dec(x_49); +x_50 = lean_ctor_get(x_1, 0); +lean_dec(x_50); +lean_ctor_set(x_8, 1, x_27); +lean_ctor_set(x_7, 1, x_30); +lean_ctor_set(x_6, 1, x_38); +x_51 = lean_apply_1(x_4, x_1); +return x_51; +} +else +{ +lean_object* x_52; lean_object* x_53; +lean_dec(x_1); +lean_ctor_set(x_8, 1, x_27); +lean_ctor_set(x_7, 1, x_30); +lean_ctor_set(x_6, 1, x_38); +x_52 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_52, 0, x_5); +lean_ctor_set(x_52, 1, x_10); +x_53 = lean_apply_1(x_4, x_52); +return x_53; +} +} +else +{ +lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; +lean_free_object(x_8); +lean_free_object(x_7); +lean_free_object(x_6); +lean_free_object(x_5); +lean_dec(x_12); +lean_dec(x_4); +x_54 = lean_box_usize(x_25); +x_55 = lean_box_usize(x_21); +x_56 = lean_box_usize(x_17); +x_57 = lean_box_usize(x_13); +x_58 = lean_apply_6(x_3, x_1, x_10, x_54, x_55, x_56, x_57); +return x_58; +} +} +} +} +} +else +{ +lean_object* x_59; size_t x_60; lean_object* x_61; uint8_t x_62; +x_59 = lean_ctor_get(x_8, 1); +x_60 = lean_ctor_get_usize(x_8, 2); +lean_inc(x_59); +lean_dec(x_8); +x_61 = l_myMacro____x40_Init_Notation___hyg_38____closed__1; +x_62 = lean_string_dec_eq(x_59, x_61); +lean_dec(x_59); +if (x_62 == 0) +{ +lean_object* x_63; +lean_free_object(x_7); +lean_dec(x_20); +lean_free_object(x_6); +lean_dec(x_16); +lean_free_object(x_5); +lean_dec(x_12); +lean_dec(x_10); +lean_dec(x_3); +x_63 = lean_apply_1(x_4, x_1); +return x_63; +} +else +{ +lean_object* x_64; uint8_t x_65; +x_64 = l_myMacro____x40_Init_Notation___hyg_38____closed__3; +x_65 = lean_string_dec_eq(x_20, x_64); +if (x_65 == 0) +{ +lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; +lean_dec(x_3); +if (lean_is_exclusive(x_1)) { + lean_ctor_release(x_1, 0); + lean_ctor_release(x_1, 1); + x_66 = x_1; +} else { + lean_dec_ref(x_1); + x_66 = lean_box(0); +} +x_67 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_67, 0, x_9); +lean_ctor_set(x_67, 1, x_61); +lean_ctor_set_usize(x_67, 2, x_60); +lean_ctor_set(x_7, 0, x_67); +if (lean_is_scalar(x_66)) { + x_68 = lean_alloc_ctor(1, 2, 0); +} else { + x_68 = x_66; +} +lean_ctor_set(x_68, 0, x_5); +lean_ctor_set(x_68, 1, x_10); +x_69 = lean_apply_1(x_4, x_68); +return x_69; +} +else +{ +lean_object* x_70; uint8_t x_71; +lean_dec(x_20); +x_70 = l_myMacro____x40_Init_Notation___hyg_38____closed__5; +x_71 = lean_string_dec_eq(x_16, x_70); +if (x_71 == 0) +{ +lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; +lean_dec(x_3); +if (lean_is_exclusive(x_1)) { + lean_ctor_release(x_1, 0); + lean_ctor_release(x_1, 1); + x_72 = x_1; +} else { + lean_dec_ref(x_1); + x_72 = lean_box(0); +} +x_73 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_73, 0, x_9); +lean_ctor_set(x_73, 1, x_61); +lean_ctor_set_usize(x_73, 2, x_60); +lean_ctor_set(x_7, 1, x_64); +lean_ctor_set(x_7, 0, x_73); +if (lean_is_scalar(x_72)) { + x_74 = lean_alloc_ctor(1, 2, 0); +} else { + x_74 = x_72; +} +lean_ctor_set(x_74, 0, x_5); +lean_ctor_set(x_74, 1, x_10); +x_75 = lean_apply_1(x_4, x_74); +return x_75; +} +else +{ +lean_object* x_76; uint8_t x_77; +lean_dec(x_16); +x_76 = l_myMacro____x40_Init_Notation___hyg_38____closed__7; +x_77 = lean_string_dec_eq(x_12, x_76); +if (x_77 == 0) +{ +lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; +lean_dec(x_3); +if (lean_is_exclusive(x_1)) { + lean_ctor_release(x_1, 0); + lean_ctor_release(x_1, 1); + x_78 = x_1; +} else { + lean_dec_ref(x_1); + x_78 = lean_box(0); +} +x_79 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_79, 0, x_9); +lean_ctor_set(x_79, 1, x_61); +lean_ctor_set_usize(x_79, 2, x_60); +lean_ctor_set(x_7, 1, x_64); +lean_ctor_set(x_7, 0, x_79); +lean_ctor_set(x_6, 1, x_70); +if (lean_is_scalar(x_78)) { + x_80 = lean_alloc_ctor(1, 2, 0); +} else { + x_80 = x_78; +} +lean_ctor_set(x_80, 0, x_5); +lean_ctor_set(x_80, 1, x_10); +x_81 = lean_apply_1(x_4, x_80); +return x_81; +} +else +{ +lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; +lean_free_object(x_7); +lean_free_object(x_6); +lean_free_object(x_5); +lean_dec(x_12); +lean_dec(x_4); +x_82 = lean_box_usize(x_60); +x_83 = lean_box_usize(x_21); +x_84 = lean_box_usize(x_17); +x_85 = lean_box_usize(x_13); +x_86 = lean_apply_6(x_3, x_1, x_10, x_82, x_83, x_84, x_85); +return x_86; +} +} +} +} +} +} +else +{ +lean_object* x_87; size_t x_88; lean_object* x_89; size_t x_90; lean_object* x_91; lean_object* x_92; uint8_t x_93; +x_87 = lean_ctor_get(x_7, 1); +x_88 = lean_ctor_get_usize(x_7, 2); +lean_inc(x_87); +lean_dec(x_7); +x_89 = lean_ctor_get(x_8, 1); +lean_inc(x_89); +x_90 = lean_ctor_get_usize(x_8, 2); +if (lean_is_exclusive(x_8)) { + lean_ctor_release(x_8, 0); + lean_ctor_release(x_8, 1); + x_91 = x_8; +} else { + lean_dec_ref(x_8); + x_91 = lean_box(0); +} +x_92 = l_myMacro____x40_Init_Notation___hyg_38____closed__1; +x_93 = lean_string_dec_eq(x_89, x_92); +lean_dec(x_89); +if (x_93 == 0) +{ +lean_object* x_94; +lean_dec(x_91); +lean_dec(x_87); +lean_free_object(x_6); +lean_dec(x_16); +lean_free_object(x_5); +lean_dec(x_12); +lean_dec(x_10); +lean_dec(x_3); +x_94 = lean_apply_1(x_4, x_1); +return x_94; +} +else +{ +lean_object* x_95; uint8_t x_96; +x_95 = l_myMacro____x40_Init_Notation___hyg_38____closed__3; +x_96 = lean_string_dec_eq(x_87, x_95); +if (x_96 == 0) +{ +lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; +lean_dec(x_3); +if (lean_is_exclusive(x_1)) { + lean_ctor_release(x_1, 0); + lean_ctor_release(x_1, 1); + x_97 = x_1; +} else { + lean_dec_ref(x_1); + x_97 = lean_box(0); +} +if (lean_is_scalar(x_91)) { + x_98 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +} else { + x_98 = x_91; +} +lean_ctor_set(x_98, 0, x_9); +lean_ctor_set(x_98, 1, x_92); +lean_ctor_set_usize(x_98, 2, x_90); +x_99 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_99, 0, x_98); +lean_ctor_set(x_99, 1, x_87); +lean_ctor_set_usize(x_99, 2, x_88); +lean_ctor_set(x_6, 0, x_99); +if (lean_is_scalar(x_97)) { + x_100 = lean_alloc_ctor(1, 2, 0); +} else { + x_100 = x_97; +} +lean_ctor_set(x_100, 0, x_5); +lean_ctor_set(x_100, 1, x_10); +x_101 = lean_apply_1(x_4, x_100); +return x_101; +} +else +{ +lean_object* x_102; uint8_t x_103; +lean_dec(x_87); +x_102 = l_myMacro____x40_Init_Notation___hyg_38____closed__5; +x_103 = lean_string_dec_eq(x_16, x_102); +if (x_103 == 0) +{ +lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; +lean_dec(x_3); +if (lean_is_exclusive(x_1)) { + lean_ctor_release(x_1, 0); + lean_ctor_release(x_1, 1); + x_104 = x_1; +} else { + lean_dec_ref(x_1); + x_104 = lean_box(0); +} +if (lean_is_scalar(x_91)) { + x_105 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +} else { + x_105 = x_91; +} +lean_ctor_set(x_105, 0, x_9); +lean_ctor_set(x_105, 1, x_92); +lean_ctor_set_usize(x_105, 2, x_90); +x_106 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_106, 0, x_105); +lean_ctor_set(x_106, 1, x_95); +lean_ctor_set_usize(x_106, 2, x_88); +lean_ctor_set(x_6, 0, x_106); +if (lean_is_scalar(x_104)) { + x_107 = lean_alloc_ctor(1, 2, 0); +} else { + x_107 = x_104; +} +lean_ctor_set(x_107, 0, x_5); +lean_ctor_set(x_107, 1, x_10); +x_108 = lean_apply_1(x_4, x_107); +return x_108; +} +else +{ +lean_object* x_109; uint8_t x_110; +lean_dec(x_16); +x_109 = l_myMacro____x40_Init_Notation___hyg_38____closed__7; +x_110 = lean_string_dec_eq(x_12, x_109); +if (x_110 == 0) +{ +lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; +lean_dec(x_3); +if (lean_is_exclusive(x_1)) { + lean_ctor_release(x_1, 0); + lean_ctor_release(x_1, 1); + x_111 = x_1; +} else { + lean_dec_ref(x_1); + x_111 = lean_box(0); +} +if (lean_is_scalar(x_91)) { + x_112 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +} else { + x_112 = x_91; +} +lean_ctor_set(x_112, 0, x_9); +lean_ctor_set(x_112, 1, x_92); +lean_ctor_set_usize(x_112, 2, x_90); +x_113 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_113, 0, x_112); +lean_ctor_set(x_113, 1, x_95); +lean_ctor_set_usize(x_113, 2, x_88); +lean_ctor_set(x_6, 1, x_102); +lean_ctor_set(x_6, 0, x_113); +if (lean_is_scalar(x_111)) { + x_114 = lean_alloc_ctor(1, 2, 0); +} else { + x_114 = x_111; +} +lean_ctor_set(x_114, 0, x_5); +lean_ctor_set(x_114, 1, x_10); +x_115 = lean_apply_1(x_4, x_114); +return x_115; +} +else +{ +lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; +lean_dec(x_91); +lean_free_object(x_6); +lean_free_object(x_5); +lean_dec(x_12); +lean_dec(x_4); +x_116 = lean_box_usize(x_90); +x_117 = lean_box_usize(x_88); +x_118 = lean_box_usize(x_17); +x_119 = lean_box_usize(x_13); +x_120 = lean_apply_6(x_3, x_1, x_10, x_116, x_117, x_118, x_119); +return x_120; +} +} +} +} +} +} +else +{ +lean_object* x_121; size_t x_122; lean_object* x_123; size_t x_124; lean_object* x_125; lean_object* x_126; size_t x_127; lean_object* x_128; lean_object* x_129; uint8_t x_130; +x_121 = lean_ctor_get(x_6, 1); +x_122 = lean_ctor_get_usize(x_6, 2); +lean_inc(x_121); +lean_dec(x_6); +x_123 = lean_ctor_get(x_7, 1); +lean_inc(x_123); +x_124 = lean_ctor_get_usize(x_7, 2); +if (lean_is_exclusive(x_7)) { + lean_ctor_release(x_7, 0); + lean_ctor_release(x_7, 1); + x_125 = x_7; +} else { + lean_dec_ref(x_7); + x_125 = lean_box(0); +} +x_126 = lean_ctor_get(x_8, 1); +lean_inc(x_126); +x_127 = lean_ctor_get_usize(x_8, 2); +if (lean_is_exclusive(x_8)) { + lean_ctor_release(x_8, 0); + lean_ctor_release(x_8, 1); + x_128 = x_8; +} else { + lean_dec_ref(x_8); + x_128 = lean_box(0); +} +x_129 = l_myMacro____x40_Init_Notation___hyg_38____closed__1; +x_130 = lean_string_dec_eq(x_126, x_129); +lean_dec(x_126); +if (x_130 == 0) +{ +lean_object* x_131; +lean_dec(x_128); +lean_dec(x_125); +lean_dec(x_123); +lean_dec(x_121); +lean_free_object(x_5); +lean_dec(x_12); +lean_dec(x_10); +lean_dec(x_3); +x_131 = lean_apply_1(x_4, x_1); +return x_131; +} +else +{ +lean_object* x_132; uint8_t x_133; +x_132 = l_myMacro____x40_Init_Notation___hyg_38____closed__3; +x_133 = lean_string_dec_eq(x_123, x_132); +if (x_133 == 0) +{ +lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; +lean_dec(x_3); +if (lean_is_exclusive(x_1)) { + lean_ctor_release(x_1, 0); + lean_ctor_release(x_1, 1); + x_134 = x_1; +} else { + lean_dec_ref(x_1); + x_134 = lean_box(0); +} +if (lean_is_scalar(x_128)) { + x_135 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +} else { + x_135 = x_128; +} +lean_ctor_set(x_135, 0, x_9); +lean_ctor_set(x_135, 1, x_129); +lean_ctor_set_usize(x_135, 2, x_127); +if (lean_is_scalar(x_125)) { + x_136 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +} else { + x_136 = x_125; +} +lean_ctor_set(x_136, 0, x_135); +lean_ctor_set(x_136, 1, x_123); +lean_ctor_set_usize(x_136, 2, x_124); +x_137 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_137, 0, x_136); +lean_ctor_set(x_137, 1, x_121); +lean_ctor_set_usize(x_137, 2, x_122); +lean_ctor_set(x_5, 0, x_137); +if (lean_is_scalar(x_134)) { + x_138 = lean_alloc_ctor(1, 2, 0); +} else { + x_138 = x_134; +} +lean_ctor_set(x_138, 0, x_5); +lean_ctor_set(x_138, 1, x_10); +x_139 = lean_apply_1(x_4, x_138); +return x_139; +} +else +{ +lean_object* x_140; uint8_t x_141; +lean_dec(x_123); +x_140 = l_myMacro____x40_Init_Notation___hyg_38____closed__5; +x_141 = lean_string_dec_eq(x_121, x_140); +if (x_141 == 0) +{ +lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; +lean_dec(x_3); +if (lean_is_exclusive(x_1)) { + lean_ctor_release(x_1, 0); + lean_ctor_release(x_1, 1); + x_142 = x_1; +} else { + lean_dec_ref(x_1); + x_142 = lean_box(0); +} +if (lean_is_scalar(x_128)) { + x_143 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +} else { + x_143 = x_128; +} +lean_ctor_set(x_143, 0, x_9); +lean_ctor_set(x_143, 1, x_129); +lean_ctor_set_usize(x_143, 2, x_127); +if (lean_is_scalar(x_125)) { + x_144 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +} else { + x_144 = x_125; +} +lean_ctor_set(x_144, 0, x_143); +lean_ctor_set(x_144, 1, x_132); +lean_ctor_set_usize(x_144, 2, x_124); +x_145 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_145, 0, x_144); +lean_ctor_set(x_145, 1, x_121); +lean_ctor_set_usize(x_145, 2, x_122); +lean_ctor_set(x_5, 0, x_145); +if (lean_is_scalar(x_142)) { + x_146 = lean_alloc_ctor(1, 2, 0); +} else { + x_146 = x_142; +} +lean_ctor_set(x_146, 0, x_5); +lean_ctor_set(x_146, 1, x_10); +x_147 = lean_apply_1(x_4, x_146); +return x_147; +} +else +{ +lean_object* x_148; uint8_t x_149; +lean_dec(x_121); +x_148 = l_myMacro____x40_Init_Notation___hyg_38____closed__7; +x_149 = lean_string_dec_eq(x_12, x_148); +if (x_149 == 0) +{ +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_dec(x_3); +if (lean_is_exclusive(x_1)) { + lean_ctor_release(x_1, 0); + lean_ctor_release(x_1, 1); + x_150 = x_1; +} else { + lean_dec_ref(x_1); + x_150 = lean_box(0); +} +if (lean_is_scalar(x_128)) { + x_151 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +} else { + x_151 = x_128; +} +lean_ctor_set(x_151, 0, x_9); +lean_ctor_set(x_151, 1, x_129); +lean_ctor_set_usize(x_151, 2, x_127); +if (lean_is_scalar(x_125)) { + x_152 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +} else { + x_152 = x_125; +} +lean_ctor_set(x_152, 0, x_151); +lean_ctor_set(x_152, 1, x_132); +lean_ctor_set_usize(x_152, 2, x_124); +x_153 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_153, 0, x_152); +lean_ctor_set(x_153, 1, x_140); +lean_ctor_set_usize(x_153, 2, x_122); +lean_ctor_set(x_5, 0, x_153); +if (lean_is_scalar(x_150)) { + x_154 = lean_alloc_ctor(1, 2, 0); +} else { + x_154 = x_150; +} +lean_ctor_set(x_154, 0, x_5); +lean_ctor_set(x_154, 1, x_10); +x_155 = lean_apply_1(x_4, x_154); +return x_155; +} +else +{ +lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; +lean_dec(x_128); +lean_dec(x_125); +lean_free_object(x_5); +lean_dec(x_12); +lean_dec(x_4); +x_156 = lean_box_usize(x_127); +x_157 = lean_box_usize(x_124); +x_158 = lean_box_usize(x_122); +x_159 = lean_box_usize(x_13); +x_160 = lean_apply_6(x_3, x_1, x_10, x_156, x_157, x_158, x_159); +return x_160; +} +} +} +} +} +} +else +{ +lean_object* x_161; size_t x_162; lean_object* x_163; size_t x_164; lean_object* x_165; lean_object* x_166; size_t x_167; lean_object* x_168; lean_object* x_169; size_t x_170; lean_object* x_171; lean_object* x_172; uint8_t x_173; +x_161 = lean_ctor_get(x_5, 1); +x_162 = lean_ctor_get_usize(x_5, 2); +lean_inc(x_161); +lean_dec(x_5); +x_163 = lean_ctor_get(x_6, 1); +lean_inc(x_163); +x_164 = lean_ctor_get_usize(x_6, 2); +if (lean_is_exclusive(x_6)) { + lean_ctor_release(x_6, 0); + lean_ctor_release(x_6, 1); + x_165 = x_6; +} else { + lean_dec_ref(x_6); + x_165 = lean_box(0); +} +x_166 = lean_ctor_get(x_7, 1); +lean_inc(x_166); +x_167 = lean_ctor_get_usize(x_7, 2); +if (lean_is_exclusive(x_7)) { + lean_ctor_release(x_7, 0); + lean_ctor_release(x_7, 1); + x_168 = x_7; +} else { + lean_dec_ref(x_7); + x_168 = lean_box(0); +} +x_169 = lean_ctor_get(x_8, 1); +lean_inc(x_169); +x_170 = lean_ctor_get_usize(x_8, 2); +if (lean_is_exclusive(x_8)) { + lean_ctor_release(x_8, 0); + lean_ctor_release(x_8, 1); + x_171 = x_8; +} else { + lean_dec_ref(x_8); + x_171 = lean_box(0); +} +x_172 = l_myMacro____x40_Init_Notation___hyg_38____closed__1; +x_173 = lean_string_dec_eq(x_169, x_172); +lean_dec(x_169); +if (x_173 == 0) +{ +lean_object* x_174; +lean_dec(x_171); +lean_dec(x_168); +lean_dec(x_166); +lean_dec(x_165); +lean_dec(x_163); +lean_dec(x_161); +lean_dec(x_10); +lean_dec(x_3); +x_174 = lean_apply_1(x_4, x_1); +return x_174; +} +else +{ +lean_object* x_175; uint8_t x_176; +x_175 = l_myMacro____x40_Init_Notation___hyg_38____closed__3; +x_176 = lean_string_dec_eq(x_166, x_175); +if (x_176 == 0) +{ +lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; +lean_dec(x_3); +if (lean_is_exclusive(x_1)) { + lean_ctor_release(x_1, 0); + lean_ctor_release(x_1, 1); + x_177 = x_1; +} else { + lean_dec_ref(x_1); + x_177 = lean_box(0); +} +if (lean_is_scalar(x_171)) { + x_178 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +} else { + x_178 = x_171; +} +lean_ctor_set(x_178, 0, x_9); +lean_ctor_set(x_178, 1, x_172); +lean_ctor_set_usize(x_178, 2, x_170); +if (lean_is_scalar(x_168)) { + x_179 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +} else { + x_179 = x_168; +} +lean_ctor_set(x_179, 0, x_178); +lean_ctor_set(x_179, 1, x_166); +lean_ctor_set_usize(x_179, 2, x_167); +if (lean_is_scalar(x_165)) { + x_180 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +} else { + x_180 = x_165; +} +lean_ctor_set(x_180, 0, x_179); +lean_ctor_set(x_180, 1, x_163); +lean_ctor_set_usize(x_180, 2, x_164); +x_181 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_181, 0, x_180); +lean_ctor_set(x_181, 1, x_161); +lean_ctor_set_usize(x_181, 2, x_162); +if (lean_is_scalar(x_177)) { + x_182 = lean_alloc_ctor(1, 2, 0); +} else { + x_182 = x_177; +} +lean_ctor_set(x_182, 0, x_181); +lean_ctor_set(x_182, 1, x_10); +x_183 = lean_apply_1(x_4, x_182); +return x_183; +} +else +{ +lean_object* x_184; uint8_t x_185; +lean_dec(x_166); +x_184 = l_myMacro____x40_Init_Notation___hyg_38____closed__5; +x_185 = lean_string_dec_eq(x_163, x_184); +if (x_185 == 0) +{ +lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; +lean_dec(x_3); +if (lean_is_exclusive(x_1)) { + lean_ctor_release(x_1, 0); + lean_ctor_release(x_1, 1); + x_186 = x_1; +} else { + lean_dec_ref(x_1); + x_186 = lean_box(0); +} +if (lean_is_scalar(x_171)) { + x_187 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +} else { + x_187 = x_171; +} +lean_ctor_set(x_187, 0, x_9); +lean_ctor_set(x_187, 1, x_172); +lean_ctor_set_usize(x_187, 2, x_170); +if (lean_is_scalar(x_168)) { + x_188 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +} else { + x_188 = x_168; +} +lean_ctor_set(x_188, 0, x_187); +lean_ctor_set(x_188, 1, x_175); +lean_ctor_set_usize(x_188, 2, x_167); +if (lean_is_scalar(x_165)) { + x_189 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +} else { + x_189 = x_165; +} +lean_ctor_set(x_189, 0, x_188); +lean_ctor_set(x_189, 1, x_163); +lean_ctor_set_usize(x_189, 2, x_164); +x_190 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_190, 0, x_189); +lean_ctor_set(x_190, 1, x_161); +lean_ctor_set_usize(x_190, 2, x_162); +if (lean_is_scalar(x_186)) { + x_191 = lean_alloc_ctor(1, 2, 0); +} else { + x_191 = x_186; +} +lean_ctor_set(x_191, 0, x_190); +lean_ctor_set(x_191, 1, x_10); +x_192 = lean_apply_1(x_4, x_191); +return x_192; +} +else +{ +lean_object* x_193; uint8_t x_194; +lean_dec(x_163); +x_193 = l_myMacro____x40_Init_Notation___hyg_38____closed__7; +x_194 = lean_string_dec_eq(x_161, x_193); +if (x_194 == 0) +{ +lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; +lean_dec(x_3); +if (lean_is_exclusive(x_1)) { + lean_ctor_release(x_1, 0); + lean_ctor_release(x_1, 1); + x_195 = x_1; +} else { + lean_dec_ref(x_1); + x_195 = lean_box(0); +} +if (lean_is_scalar(x_171)) { + x_196 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +} else { + x_196 = x_171; +} +lean_ctor_set(x_196, 0, x_9); +lean_ctor_set(x_196, 1, x_172); +lean_ctor_set_usize(x_196, 2, x_170); +if (lean_is_scalar(x_168)) { + x_197 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +} else { + x_197 = x_168; +} +lean_ctor_set(x_197, 0, x_196); +lean_ctor_set(x_197, 1, x_175); +lean_ctor_set_usize(x_197, 2, x_167); +if (lean_is_scalar(x_165)) { + x_198 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +} else { + x_198 = x_165; +} +lean_ctor_set(x_198, 0, x_197); +lean_ctor_set(x_198, 1, x_184); +lean_ctor_set_usize(x_198, 2, x_164); +x_199 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_199, 0, x_198); +lean_ctor_set(x_199, 1, x_161); +lean_ctor_set_usize(x_199, 2, x_162); +if (lean_is_scalar(x_195)) { + x_200 = lean_alloc_ctor(1, 2, 0); +} else { + x_200 = x_195; +} +lean_ctor_set(x_200, 0, x_199); +lean_ctor_set(x_200, 1, x_10); +x_201 = lean_apply_1(x_4, x_200); +return x_201; +} +else +{ +lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; +lean_dec(x_171); +lean_dec(x_168); +lean_dec(x_165); +lean_dec(x_161); +lean_dec(x_4); +x_202 = lean_box_usize(x_170); +x_203 = lean_box_usize(x_167); +x_204 = lean_box_usize(x_164); +x_205 = lean_box_usize(x_162); +x_206 = lean_apply_6(x_3, x_1, x_10, x_202, x_203, x_204, x_205); +return x_206; +} +} +} +} +} +} +else +{ +lean_object* x_207; +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +x_207 = lean_apply_1(x_4, x_1); +return x_207; +} +} +else +{ +lean_object* x_208; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +x_208 = lean_apply_1(x_4, x_1); +return x_208; +} +} +else +{ +lean_object* x_209; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +x_209 = lean_apply_1(x_4, x_1); +return x_209; +} +} +else +{ +lean_object* x_210; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +x_210 = lean_apply_1(x_4, x_1); +return x_210; +} +} +else +{ +lean_object* x_211; +lean_dec(x_5); +lean_dec(x_3); +x_211 = lean_apply_1(x_4, x_1); +return x_211; +} +} +case 3: +{ +lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; +lean_dec(x_4); +lean_dec(x_3); +x_212 = lean_ctor_get(x_1, 0); +lean_inc(x_212); +x_213 = lean_ctor_get(x_1, 1); +lean_inc(x_213); +x_214 = lean_ctor_get(x_1, 2); +lean_inc(x_214); +x_215 = lean_ctor_get(x_1, 3); +lean_inc(x_215); +x_216 = lean_apply_5(x_2, x_1, x_212, x_213, x_214, x_215); +return x_216; +} +default: +{ +lean_object* x_217; +lean_dec(x_3); +lean_dec(x_2); +x_217 = lean_apply_1(x_4, x_1); +return x_217; +} +} +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_annotatePos_match__2(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_annotatePos_match__2___rarg), 4, 0); +return x_2; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_annotatePos___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Syntax_isAtom___boxed), 1, 0); +return x_1; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_annotatePos(lean_object* x_1, lean_object* x_2) { +_start: +{ +switch (lean_obj_tag(x_2)) { +case 1: +{ +lean_object* x_3; +x_3 = lean_ctor_get(x_2, 0); +lean_inc(x_3); +if (lean_obj_tag(x_3) == 1) +{ +lean_object* x_4; +x_4 = lean_ctor_get(x_3, 0); +lean_inc(x_4); +if (lean_obj_tag(x_4) == 1) +{ +lean_object* x_5; +x_5 = lean_ctor_get(x_4, 0); +lean_inc(x_5); +if (lean_obj_tag(x_5) == 1) +{ +lean_object* x_6; +x_6 = lean_ctor_get(x_5, 0); +lean_inc(x_6); +if (lean_obj_tag(x_6) == 1) +{ +lean_object* x_7; +x_7 = lean_ctor_get(x_6, 0); +lean_inc(x_7); +if (lean_obj_tag(x_7) == 0) +{ +lean_object* x_8; lean_object* x_9; uint8_t x_10; +x_8 = lean_ctor_get(x_2, 1); +lean_inc(x_8); +x_9 = lean_ctor_get(x_3, 1); +lean_inc(x_9); +x_10 = !lean_is_exclusive(x_4); +if (x_10 == 0) +{ +size_t x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_11 = lean_ctor_get_usize(x_3, 2); +x_12 = lean_ctor_get(x_4, 1); +x_13 = lean_ctor_get(x_4, 0); +lean_dec(x_13); +x_14 = !lean_is_exclusive(x_5); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; uint8_t x_17; +x_15 = lean_ctor_get(x_5, 1); +x_16 = lean_ctor_get(x_5, 0); +lean_dec(x_16); +x_17 = !lean_is_exclusive(x_6); +if (x_17 == 0) +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; +x_18 = lean_ctor_get(x_6, 1); +x_19 = lean_ctor_get(x_6, 0); +lean_dec(x_19); +x_20 = l_myMacro____x40_Init_Notation___hyg_38____closed__1; +x_21 = lean_string_dec_eq(x_18, x_20); +lean_dec(x_18); +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_free_object(x_6); +lean_free_object(x_5); +lean_dec(x_15); +lean_free_object(x_4); +lean_dec(x_12); +lean_dec(x_9); +x_22 = l_Lean_Syntax_getArgs(x_2); +x_23 = lean_array_get_size(x_22); +x_24 = l_Lean_PrettyPrinter_Delaborator_annotatePos___closed__1; +x_25 = lean_unsigned_to_nat(0u); +x_26 = l_Array_findIdx_x3f_loop___rarg(x_22, x_24, x_23, x_25, lean_box(0)); +lean_dec(x_22); +if (lean_obj_tag(x_26) == 0) +{ +lean_dec(x_8); +lean_dec(x_3); +lean_dec(x_1); +return x_2; +} +else +{ +uint8_t x_27; +x_27 = !lean_is_exclusive(x_2); +if (x_27 == 0) +{ +lean_object* x_28; lean_object* x_29; uint8_t x_30; +x_28 = lean_ctor_get(x_2, 1); +lean_dec(x_28); +x_29 = lean_ctor_get(x_2, 0); +lean_dec(x_29); +x_30 = !lean_is_exclusive(x_26); +if (x_30 == 0) +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35; +x_31 = lean_ctor_get(x_26, 0); +x_32 = lean_box(0); +lean_ctor_set(x_26, 0, x_1); +x_33 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_33, 0, x_32); +lean_ctor_set(x_33, 1, x_26); +lean_ctor_set(x_33, 2, x_32); +x_34 = lean_array_get_size(x_8); +x_35 = lean_nat_dec_lt(x_31, x_34); +lean_dec(x_34); +if (x_35 == 0) +{ +lean_dec(x_33); +lean_dec(x_31); +return x_2; +} +else +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_36 = lean_array_fget(x_8, x_31); +x_37 = lean_box(0); +x_38 = lean_array_fset(x_8, x_31, x_37); +x_39 = l_Lean_Syntax_setInfo(x_33, x_36); +x_40 = lean_array_fset(x_38, x_31, x_39); +lean_dec(x_31); +lean_ctor_set(x_2, 1, x_40); +return x_2; +} +} +else +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; uint8_t x_46; +x_41 = lean_ctor_get(x_26, 0); +lean_inc(x_41); +lean_dec(x_26); +x_42 = lean_box(0); +x_43 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_43, 0, x_1); +x_44 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_44, 0, x_42); +lean_ctor_set(x_44, 1, x_43); +lean_ctor_set(x_44, 2, x_42); +x_45 = lean_array_get_size(x_8); +x_46 = lean_nat_dec_lt(x_41, x_45); +lean_dec(x_45); +if (x_46 == 0) +{ +lean_dec(x_44); +lean_dec(x_41); +return x_2; +} +else +{ +lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_47 = lean_array_fget(x_8, x_41); +x_48 = lean_box(0); +x_49 = lean_array_fset(x_8, x_41, x_48); +x_50 = l_Lean_Syntax_setInfo(x_44, x_47); +x_51 = lean_array_fset(x_49, x_41, x_50); +lean_dec(x_41); +lean_ctor_set(x_2, 1, x_51); +return x_2; +} +} +} +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; uint8_t x_58; +lean_dec(x_2); +x_52 = lean_ctor_get(x_26, 0); +lean_inc(x_52); +if (lean_is_exclusive(x_26)) { + lean_ctor_release(x_26, 0); + x_53 = x_26; +} else { + lean_dec_ref(x_26); + x_53 = lean_box(0); +} +x_54 = lean_box(0); +if (lean_is_scalar(x_53)) { + x_55 = lean_alloc_ctor(1, 1, 0); +} else { + x_55 = x_53; +} +lean_ctor_set(x_55, 0, x_1); +x_56 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_56, 0, x_54); +lean_ctor_set(x_56, 1, x_55); +lean_ctor_set(x_56, 2, x_54); +x_57 = lean_array_get_size(x_8); +x_58 = lean_nat_dec_lt(x_52, x_57); +lean_dec(x_57); +if (x_58 == 0) +{ +lean_object* x_59; +lean_dec(x_56); +lean_dec(x_52); +x_59 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_59, 0, x_3); +lean_ctor_set(x_59, 1, x_8); +return x_59; +} +else +{ +lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; +x_60 = lean_array_fget(x_8, x_52); +x_61 = lean_box(0); +x_62 = lean_array_fset(x_8, x_52, x_61); +x_63 = l_Lean_Syntax_setInfo(x_56, x_60); +x_64 = lean_array_fset(x_62, x_52, x_63); +lean_dec(x_52); +x_65 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_65, 0, x_3); +lean_ctor_set(x_65, 1, x_64); +return x_65; +} +} +} +} +else +{ +uint8_t x_66; +x_66 = !lean_is_exclusive(x_2); +if (x_66 == 0) +{ +lean_object* x_67; lean_object* x_68; lean_object* x_69; uint8_t x_70; +x_67 = lean_ctor_get(x_2, 1); +lean_dec(x_67); +x_68 = lean_ctor_get(x_2, 0); +lean_dec(x_68); +x_69 = l_myMacro____x40_Init_Notation___hyg_38____closed__3; +x_70 = lean_string_dec_eq(x_15, x_69); +if (x_70 == 0) +{ +uint8_t x_71; +x_71 = !lean_is_exclusive(x_3); +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; lean_object* x_78; +x_72 = lean_ctor_get(x_3, 1); +lean_dec(x_72); +x_73 = lean_ctor_get(x_3, 0); +lean_dec(x_73); +lean_ctor_set(x_6, 1, x_20); +lean_inc(x_8); +lean_inc(x_3); +x_74 = l_Lean_Syntax_getArgs(x_2); +x_75 = lean_array_get_size(x_74); +x_76 = l_Lean_PrettyPrinter_Delaborator_annotatePos___closed__1; +x_77 = lean_unsigned_to_nat(0u); +x_78 = l_Array_findIdx_x3f_loop___rarg(x_74, x_76, x_75, x_77, lean_box(0)); +lean_dec(x_74); +if (lean_obj_tag(x_78) == 0) +{ +lean_dec(x_3); +lean_dec(x_8); +lean_dec(x_1); +return x_2; +} +else +{ +uint8_t x_79; +lean_dec(x_2); +x_79 = !lean_is_exclusive(x_78); +if (x_79 == 0) +{ +lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; uint8_t x_84; +x_80 = lean_ctor_get(x_78, 0); +x_81 = lean_box(0); +lean_ctor_set(x_78, 0, x_1); +x_82 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_82, 0, x_81); +lean_ctor_set(x_82, 1, x_78); +lean_ctor_set(x_82, 2, x_81); +x_83 = lean_array_get_size(x_8); +x_84 = lean_nat_dec_lt(x_80, x_83); +lean_dec(x_83); +if (x_84 == 0) +{ +lean_object* x_85; +lean_dec(x_82); +lean_dec(x_80); +x_85 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_85, 0, x_3); +lean_ctor_set(x_85, 1, x_8); +return x_85; +} +else +{ +lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; +x_86 = lean_array_fget(x_8, x_80); +x_87 = lean_box(0); +x_88 = lean_array_fset(x_8, x_80, x_87); +x_89 = l_Lean_Syntax_setInfo(x_82, x_86); +x_90 = lean_array_fset(x_88, x_80, x_89); +lean_dec(x_80); +x_91 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_91, 0, x_3); +lean_ctor_set(x_91, 1, x_90); +return x_91; +} +} +else +{ +lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; uint8_t x_97; +x_92 = lean_ctor_get(x_78, 0); +lean_inc(x_92); +lean_dec(x_78); +x_93 = lean_box(0); +x_94 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_94, 0, x_1); +x_95 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_95, 0, x_93); +lean_ctor_set(x_95, 1, x_94); +lean_ctor_set(x_95, 2, x_93); +x_96 = lean_array_get_size(x_8); +x_97 = lean_nat_dec_lt(x_92, x_96); +lean_dec(x_96); +if (x_97 == 0) +{ +lean_object* x_98; +lean_dec(x_95); +lean_dec(x_92); +x_98 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_98, 0, x_3); +lean_ctor_set(x_98, 1, x_8); +return x_98; +} +else +{ +lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; +x_99 = lean_array_fget(x_8, x_92); +x_100 = lean_box(0); +x_101 = lean_array_fset(x_8, x_92, x_100); +x_102 = l_Lean_Syntax_setInfo(x_95, x_99); +x_103 = lean_array_fset(x_101, x_92, x_102); +lean_dec(x_92); +x_104 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_104, 0, x_3); +lean_ctor_set(x_104, 1, x_103); +return x_104; +} +} +} +} +else +{ +lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; +lean_dec(x_3); +lean_ctor_set(x_6, 1, x_20); +x_105 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_105, 0, x_4); +lean_ctor_set(x_105, 1, x_9); +lean_ctor_set_usize(x_105, 2, x_11); +lean_inc(x_8); +lean_inc(x_105); +lean_ctor_set(x_2, 0, x_105); +x_106 = l_Lean_Syntax_getArgs(x_2); +x_107 = lean_array_get_size(x_106); +x_108 = l_Lean_PrettyPrinter_Delaborator_annotatePos___closed__1; +x_109 = lean_unsigned_to_nat(0u); +x_110 = l_Array_findIdx_x3f_loop___rarg(x_106, x_108, x_107, x_109, lean_box(0)); +lean_dec(x_106); +if (lean_obj_tag(x_110) == 0) +{ +lean_dec(x_105); +lean_dec(x_8); +lean_dec(x_1); +return x_2; +} +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; uint8_t x_117; +lean_dec(x_2); +x_111 = lean_ctor_get(x_110, 0); +lean_inc(x_111); +if (lean_is_exclusive(x_110)) { + lean_ctor_release(x_110, 0); + x_112 = x_110; +} else { + lean_dec_ref(x_110); + x_112 = lean_box(0); +} +x_113 = lean_box(0); +if (lean_is_scalar(x_112)) { + x_114 = lean_alloc_ctor(1, 1, 0); +} else { + x_114 = x_112; +} +lean_ctor_set(x_114, 0, x_1); +x_115 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_115, 0, x_113); +lean_ctor_set(x_115, 1, x_114); +lean_ctor_set(x_115, 2, x_113); +x_116 = lean_array_get_size(x_8); +x_117 = lean_nat_dec_lt(x_111, x_116); +lean_dec(x_116); +if (x_117 == 0) +{ +lean_object* x_118; +lean_dec(x_115); +lean_dec(x_111); +x_118 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_118, 0, x_105); +lean_ctor_set(x_118, 1, x_8); +return x_118; +} +else +{ +lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; +x_119 = lean_array_fget(x_8, x_111); +x_120 = lean_box(0); +x_121 = lean_array_fset(x_8, x_111, x_120); +x_122 = l_Lean_Syntax_setInfo(x_115, x_119); +x_123 = lean_array_fset(x_121, x_111, x_122); +lean_dec(x_111); +x_124 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_124, 0, x_105); +lean_ctor_set(x_124, 1, x_123); +return x_124; +} +} +} +} +else +{ +lean_object* x_125; uint8_t x_126; +lean_dec(x_15); +x_125 = l_myMacro____x40_Init_Notation___hyg_38____closed__5; +x_126 = lean_string_dec_eq(x_12, x_125); +if (x_126 == 0) +{ +uint8_t x_127; +x_127 = !lean_is_exclusive(x_3); +if (x_127 == 0) +{ +lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; +x_128 = lean_ctor_get(x_3, 1); +lean_dec(x_128); +x_129 = lean_ctor_get(x_3, 0); +lean_dec(x_129); +lean_ctor_set(x_6, 1, x_20); +lean_ctor_set(x_5, 1, x_69); +lean_inc(x_8); +lean_inc(x_3); +x_130 = l_Lean_Syntax_getArgs(x_2); +x_131 = lean_array_get_size(x_130); +x_132 = l_Lean_PrettyPrinter_Delaborator_annotatePos___closed__1; +x_133 = lean_unsigned_to_nat(0u); +x_134 = l_Array_findIdx_x3f_loop___rarg(x_130, x_132, x_131, x_133, lean_box(0)); +lean_dec(x_130); +if (lean_obj_tag(x_134) == 0) +{ +lean_dec(x_3); +lean_dec(x_8); +lean_dec(x_1); +return x_2; +} +else +{ +uint8_t x_135; +lean_dec(x_2); +x_135 = !lean_is_exclusive(x_134); +if (x_135 == 0) +{ +lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; uint8_t x_140; +x_136 = lean_ctor_get(x_134, 0); +x_137 = lean_box(0); +lean_ctor_set(x_134, 0, x_1); +x_138 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_138, 0, x_137); +lean_ctor_set(x_138, 1, x_134); +lean_ctor_set(x_138, 2, x_137); +x_139 = lean_array_get_size(x_8); +x_140 = lean_nat_dec_lt(x_136, x_139); +lean_dec(x_139); +if (x_140 == 0) +{ +lean_object* x_141; +lean_dec(x_138); +lean_dec(x_136); +x_141 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_141, 0, x_3); +lean_ctor_set(x_141, 1, x_8); +return x_141; +} +else +{ +lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; +x_142 = lean_array_fget(x_8, x_136); +x_143 = lean_box(0); +x_144 = lean_array_fset(x_8, x_136, x_143); +x_145 = l_Lean_Syntax_setInfo(x_138, x_142); +x_146 = lean_array_fset(x_144, x_136, x_145); +lean_dec(x_136); +x_147 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_147, 0, x_3); +lean_ctor_set(x_147, 1, x_146); +return x_147; +} +} +else +{ +lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; uint8_t x_153; +x_148 = lean_ctor_get(x_134, 0); +lean_inc(x_148); +lean_dec(x_134); +x_149 = lean_box(0); +x_150 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_150, 0, x_1); +x_151 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_151, 0, x_149); +lean_ctor_set(x_151, 1, x_150); +lean_ctor_set(x_151, 2, x_149); +x_152 = lean_array_get_size(x_8); +x_153 = lean_nat_dec_lt(x_148, x_152); +lean_dec(x_152); +if (x_153 == 0) +{ +lean_object* x_154; +lean_dec(x_151); +lean_dec(x_148); +x_154 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_154, 0, x_3); +lean_ctor_set(x_154, 1, x_8); +return x_154; +} +else +{ +lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; +x_155 = lean_array_fget(x_8, x_148); +x_156 = lean_box(0); +x_157 = lean_array_fset(x_8, x_148, x_156); +x_158 = l_Lean_Syntax_setInfo(x_151, x_155); +x_159 = lean_array_fset(x_157, x_148, x_158); +lean_dec(x_148); +x_160 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_160, 0, x_3); +lean_ctor_set(x_160, 1, x_159); +return x_160; +} +} +} +} +else +{ +lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; +lean_dec(x_3); +lean_ctor_set(x_6, 1, x_20); +lean_ctor_set(x_5, 1, x_69); +x_161 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_161, 0, x_4); +lean_ctor_set(x_161, 1, x_9); +lean_ctor_set_usize(x_161, 2, x_11); +lean_inc(x_8); +lean_inc(x_161); +lean_ctor_set(x_2, 0, x_161); +x_162 = l_Lean_Syntax_getArgs(x_2); +x_163 = lean_array_get_size(x_162); +x_164 = l_Lean_PrettyPrinter_Delaborator_annotatePos___closed__1; +x_165 = lean_unsigned_to_nat(0u); +x_166 = l_Array_findIdx_x3f_loop___rarg(x_162, x_164, x_163, x_165, lean_box(0)); +lean_dec(x_162); +if (lean_obj_tag(x_166) == 0) +{ +lean_dec(x_161); +lean_dec(x_8); +lean_dec(x_1); +return x_2; +} +else +{ +lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; uint8_t x_173; +lean_dec(x_2); +x_167 = lean_ctor_get(x_166, 0); +lean_inc(x_167); +if (lean_is_exclusive(x_166)) { + lean_ctor_release(x_166, 0); + x_168 = x_166; +} else { + lean_dec_ref(x_166); + x_168 = lean_box(0); +} +x_169 = lean_box(0); +if (lean_is_scalar(x_168)) { + x_170 = lean_alloc_ctor(1, 1, 0); +} else { + x_170 = x_168; +} +lean_ctor_set(x_170, 0, x_1); +x_171 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_171, 0, x_169); +lean_ctor_set(x_171, 1, x_170); +lean_ctor_set(x_171, 2, x_169); +x_172 = lean_array_get_size(x_8); +x_173 = lean_nat_dec_lt(x_167, x_172); +lean_dec(x_172); +if (x_173 == 0) +{ +lean_object* x_174; +lean_dec(x_171); +lean_dec(x_167); +x_174 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_174, 0, x_161); +lean_ctor_set(x_174, 1, x_8); +return x_174; +} +else +{ +lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; +x_175 = lean_array_fget(x_8, x_167); +x_176 = lean_box(0); +x_177 = lean_array_fset(x_8, x_167, x_176); +x_178 = l_Lean_Syntax_setInfo(x_171, x_175); +x_179 = lean_array_fset(x_177, x_167, x_178); +lean_dec(x_167); +x_180 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_180, 0, x_161); +lean_ctor_set(x_180, 1, x_179); +return x_180; +} +} +} +} +else +{ +lean_object* x_181; uint8_t x_182; +lean_dec(x_12); +x_181 = l_myMacro____x40_Init_Notation___hyg_38____closed__7; +x_182 = lean_string_dec_eq(x_9, x_181); +if (x_182 == 0) +{ +uint8_t x_183; +x_183 = !lean_is_exclusive(x_3); +if (x_183 == 0) +{ +lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; +x_184 = lean_ctor_get(x_3, 1); +lean_dec(x_184); +x_185 = lean_ctor_get(x_3, 0); +lean_dec(x_185); +lean_ctor_set(x_6, 1, x_20); +lean_ctor_set(x_5, 1, x_69); +lean_ctor_set(x_4, 1, x_125); +lean_inc(x_8); +lean_inc(x_3); +x_186 = l_Lean_Syntax_getArgs(x_2); +x_187 = lean_array_get_size(x_186); +x_188 = l_Lean_PrettyPrinter_Delaborator_annotatePos___closed__1; +x_189 = lean_unsigned_to_nat(0u); +x_190 = l_Array_findIdx_x3f_loop___rarg(x_186, x_188, x_187, x_189, lean_box(0)); +lean_dec(x_186); +if (lean_obj_tag(x_190) == 0) +{ +lean_dec(x_3); +lean_dec(x_8); +lean_dec(x_1); +return x_2; +} +else +{ +uint8_t x_191; +lean_dec(x_2); +x_191 = !lean_is_exclusive(x_190); +if (x_191 == 0) +{ +lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; uint8_t x_196; +x_192 = lean_ctor_get(x_190, 0); +x_193 = lean_box(0); +lean_ctor_set(x_190, 0, x_1); +x_194 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_194, 0, x_193); +lean_ctor_set(x_194, 1, x_190); +lean_ctor_set(x_194, 2, x_193); +x_195 = lean_array_get_size(x_8); +x_196 = lean_nat_dec_lt(x_192, x_195); +lean_dec(x_195); +if (x_196 == 0) +{ +lean_object* x_197; +lean_dec(x_194); +lean_dec(x_192); +x_197 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_197, 0, x_3); +lean_ctor_set(x_197, 1, x_8); +return x_197; +} +else +{ +lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; +x_198 = lean_array_fget(x_8, x_192); +x_199 = lean_box(0); +x_200 = lean_array_fset(x_8, x_192, x_199); +x_201 = l_Lean_Syntax_setInfo(x_194, x_198); +x_202 = lean_array_fset(x_200, x_192, x_201); +lean_dec(x_192); +x_203 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_203, 0, x_3); +lean_ctor_set(x_203, 1, x_202); +return x_203; +} +} +else +{ +lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; uint8_t x_209; +x_204 = lean_ctor_get(x_190, 0); +lean_inc(x_204); +lean_dec(x_190); +x_205 = lean_box(0); +x_206 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_206, 0, x_1); +x_207 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_207, 0, x_205); +lean_ctor_set(x_207, 1, x_206); +lean_ctor_set(x_207, 2, x_205); +x_208 = lean_array_get_size(x_8); +x_209 = lean_nat_dec_lt(x_204, x_208); +lean_dec(x_208); +if (x_209 == 0) +{ +lean_object* x_210; +lean_dec(x_207); +lean_dec(x_204); +x_210 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_210, 0, x_3); +lean_ctor_set(x_210, 1, x_8); +return x_210; +} +else +{ +lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; +x_211 = lean_array_fget(x_8, x_204); +x_212 = lean_box(0); +x_213 = lean_array_fset(x_8, x_204, x_212); +x_214 = l_Lean_Syntax_setInfo(x_207, x_211); +x_215 = lean_array_fset(x_213, x_204, x_214); +lean_dec(x_204); +x_216 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_216, 0, x_3); +lean_ctor_set(x_216, 1, x_215); +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_dec(x_3); +lean_ctor_set(x_6, 1, x_20); +lean_ctor_set(x_5, 1, x_69); +lean_ctor_set(x_4, 1, x_125); +x_217 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_217, 0, x_4); +lean_ctor_set(x_217, 1, x_9); +lean_ctor_set_usize(x_217, 2, x_11); +lean_inc(x_8); +lean_inc(x_217); +lean_ctor_set(x_2, 0, x_217); +x_218 = l_Lean_Syntax_getArgs(x_2); +x_219 = lean_array_get_size(x_218); +x_220 = l_Lean_PrettyPrinter_Delaborator_annotatePos___closed__1; +x_221 = lean_unsigned_to_nat(0u); +x_222 = l_Array_findIdx_x3f_loop___rarg(x_218, x_220, x_219, x_221, lean_box(0)); +lean_dec(x_218); +if (lean_obj_tag(x_222) == 0) +{ +lean_dec(x_217); +lean_dec(x_8); +lean_dec(x_1); +return x_2; +} +else +{ +lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; uint8_t x_229; +lean_dec(x_2); +x_223 = lean_ctor_get(x_222, 0); +lean_inc(x_223); +if (lean_is_exclusive(x_222)) { + lean_ctor_release(x_222, 0); + x_224 = x_222; +} else { + lean_dec_ref(x_222); + x_224 = lean_box(0); +} +x_225 = lean_box(0); +if (lean_is_scalar(x_224)) { + x_226 = lean_alloc_ctor(1, 1, 0); +} else { + x_226 = x_224; +} +lean_ctor_set(x_226, 0, x_1); +x_227 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_227, 0, x_225); +lean_ctor_set(x_227, 1, x_226); +lean_ctor_set(x_227, 2, x_225); +x_228 = lean_array_get_size(x_8); +x_229 = lean_nat_dec_lt(x_223, x_228); +lean_dec(x_228); +if (x_229 == 0) +{ +lean_object* x_230; +lean_dec(x_227); +lean_dec(x_223); +x_230 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_230, 0, x_217); +lean_ctor_set(x_230, 1, x_8); +return x_230; +} +else +{ +lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; +x_231 = lean_array_fget(x_8, x_223); +x_232 = lean_box(0); +x_233 = lean_array_fset(x_8, x_223, x_232); +x_234 = l_Lean_Syntax_setInfo(x_227, x_231); +x_235 = lean_array_fset(x_233, x_223, x_234); +lean_dec(x_223); +x_236 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_236, 0, x_217); +lean_ctor_set(x_236, 1, x_235); +return x_236; +} +} +} +} +else +{ +lean_object* x_237; lean_object* x_238; uint8_t x_239; +lean_free_object(x_6); +lean_free_object(x_5); +lean_free_object(x_4); +lean_dec(x_9); +x_237 = lean_array_get_size(x_8); +x_238 = lean_unsigned_to_nat(0u); +x_239 = lean_nat_dec_lt(x_238, x_237); +lean_dec(x_237); +if (x_239 == 0) +{ +lean_dec(x_1); +return x_2; +} +else +{ +lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; +x_240 = lean_array_fget(x_8, x_238); +x_241 = lean_box(0); +x_242 = lean_array_fset(x_8, x_238, x_241); +x_243 = l_Lean_PrettyPrinter_Delaborator_annotatePos(x_1, x_240); +x_244 = lean_array_fset(x_242, x_238, x_243); +lean_ctor_set(x_2, 1, x_244); +return x_2; +} +} +} +} +} +else +{ +lean_object* x_245; uint8_t x_246; +lean_dec(x_2); +x_245 = l_myMacro____x40_Init_Notation___hyg_38____closed__3; +x_246 = lean_string_dec_eq(x_15, x_245); +if (x_246 == 0) +{ +lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; +if (lean_is_exclusive(x_3)) { + lean_ctor_release(x_3, 0); + lean_ctor_release(x_3, 1); + x_247 = x_3; +} else { + lean_dec_ref(x_3); + x_247 = lean_box(0); +} +lean_ctor_set(x_6, 1, x_20); +if (lean_is_scalar(x_247)) { + x_248 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +} else { + x_248 = x_247; +} +lean_ctor_set(x_248, 0, x_4); +lean_ctor_set(x_248, 1, x_9); +lean_ctor_set_usize(x_248, 2, x_11); +lean_inc(x_8); +lean_inc(x_248); +x_249 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_249, 0, x_248); +lean_ctor_set(x_249, 1, x_8); +x_250 = l_Lean_Syntax_getArgs(x_249); +x_251 = lean_array_get_size(x_250); +x_252 = l_Lean_PrettyPrinter_Delaborator_annotatePos___closed__1; +x_253 = lean_unsigned_to_nat(0u); +x_254 = l_Array_findIdx_x3f_loop___rarg(x_250, x_252, x_251, x_253, lean_box(0)); +lean_dec(x_250); +if (lean_obj_tag(x_254) == 0) +{ +lean_dec(x_248); +lean_dec(x_8); +lean_dec(x_1); +return x_249; +} +else +{ +lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; uint8_t x_261; +lean_dec(x_249); +x_255 = lean_ctor_get(x_254, 0); +lean_inc(x_255); +if (lean_is_exclusive(x_254)) { + lean_ctor_release(x_254, 0); + x_256 = x_254; +} else { + lean_dec_ref(x_254); + x_256 = lean_box(0); +} +x_257 = lean_box(0); +if (lean_is_scalar(x_256)) { + x_258 = lean_alloc_ctor(1, 1, 0); +} else { + x_258 = x_256; +} +lean_ctor_set(x_258, 0, x_1); +x_259 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_259, 0, x_257); +lean_ctor_set(x_259, 1, x_258); +lean_ctor_set(x_259, 2, x_257); +x_260 = lean_array_get_size(x_8); +x_261 = lean_nat_dec_lt(x_255, x_260); +lean_dec(x_260); +if (x_261 == 0) +{ +lean_object* x_262; +lean_dec(x_259); +lean_dec(x_255); +x_262 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_262, 0, x_248); +lean_ctor_set(x_262, 1, x_8); +return x_262; +} +else +{ +lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; +x_263 = lean_array_fget(x_8, x_255); +x_264 = lean_box(0); +x_265 = lean_array_fset(x_8, x_255, x_264); +x_266 = l_Lean_Syntax_setInfo(x_259, x_263); +x_267 = lean_array_fset(x_265, x_255, x_266); +lean_dec(x_255); +x_268 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_268, 0, x_248); +lean_ctor_set(x_268, 1, x_267); +return x_268; +} +} +} +else +{ +lean_object* x_269; uint8_t x_270; +lean_dec(x_15); +x_269 = l_myMacro____x40_Init_Notation___hyg_38____closed__5; +x_270 = lean_string_dec_eq(x_12, x_269); +if (x_270 == 0) +{ +lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; +if (lean_is_exclusive(x_3)) { + lean_ctor_release(x_3, 0); + lean_ctor_release(x_3, 1); + x_271 = x_3; +} else { + lean_dec_ref(x_3); + x_271 = lean_box(0); +} +lean_ctor_set(x_6, 1, x_20); +lean_ctor_set(x_5, 1, x_245); +if (lean_is_scalar(x_271)) { + x_272 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +} else { + x_272 = x_271; +} +lean_ctor_set(x_272, 0, x_4); +lean_ctor_set(x_272, 1, x_9); +lean_ctor_set_usize(x_272, 2, x_11); +lean_inc(x_8); +lean_inc(x_272); +x_273 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_273, 0, x_272); +lean_ctor_set(x_273, 1, x_8); +x_274 = l_Lean_Syntax_getArgs(x_273); +x_275 = lean_array_get_size(x_274); +x_276 = l_Lean_PrettyPrinter_Delaborator_annotatePos___closed__1; +x_277 = lean_unsigned_to_nat(0u); +x_278 = l_Array_findIdx_x3f_loop___rarg(x_274, x_276, x_275, x_277, lean_box(0)); +lean_dec(x_274); +if (lean_obj_tag(x_278) == 0) +{ +lean_dec(x_272); +lean_dec(x_8); +lean_dec(x_1); +return x_273; +} +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; uint8_t x_285; +lean_dec(x_273); +x_279 = lean_ctor_get(x_278, 0); +lean_inc(x_279); +if (lean_is_exclusive(x_278)) { + lean_ctor_release(x_278, 0); + x_280 = x_278; +} else { + lean_dec_ref(x_278); + x_280 = lean_box(0); +} +x_281 = lean_box(0); +if (lean_is_scalar(x_280)) { + x_282 = lean_alloc_ctor(1, 1, 0); +} else { + x_282 = x_280; +} +lean_ctor_set(x_282, 0, x_1); +x_283 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_283, 0, x_281); +lean_ctor_set(x_283, 1, x_282); +lean_ctor_set(x_283, 2, x_281); +x_284 = lean_array_get_size(x_8); +x_285 = lean_nat_dec_lt(x_279, x_284); +lean_dec(x_284); +if (x_285 == 0) +{ +lean_object* x_286; +lean_dec(x_283); +lean_dec(x_279); +x_286 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_286, 0, x_272); +lean_ctor_set(x_286, 1, x_8); +return x_286; +} +else +{ +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_287 = lean_array_fget(x_8, x_279); +x_288 = lean_box(0); +x_289 = lean_array_fset(x_8, x_279, x_288); +x_290 = l_Lean_Syntax_setInfo(x_283, x_287); +x_291 = lean_array_fset(x_289, x_279, x_290); +lean_dec(x_279); +x_292 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_292, 0, x_272); +lean_ctor_set(x_292, 1, x_291); +return x_292; +} +} +} +else +{ +lean_object* x_293; uint8_t x_294; +lean_dec(x_12); +x_293 = l_myMacro____x40_Init_Notation___hyg_38____closed__7; +x_294 = lean_string_dec_eq(x_9, x_293); +if (x_294 == 0) +{ +lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; +if (lean_is_exclusive(x_3)) { + lean_ctor_release(x_3, 0); + lean_ctor_release(x_3, 1); + x_295 = x_3; +} else { + lean_dec_ref(x_3); + x_295 = lean_box(0); +} +lean_ctor_set(x_6, 1, x_20); +lean_ctor_set(x_5, 1, x_245); +lean_ctor_set(x_4, 1, x_269); +if (lean_is_scalar(x_295)) { + x_296 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +} else { + x_296 = x_295; +} +lean_ctor_set(x_296, 0, x_4); +lean_ctor_set(x_296, 1, x_9); +lean_ctor_set_usize(x_296, 2, x_11); +lean_inc(x_8); +lean_inc(x_296); +x_297 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_297, 0, x_296); +lean_ctor_set(x_297, 1, x_8); +x_298 = l_Lean_Syntax_getArgs(x_297); +x_299 = lean_array_get_size(x_298); +x_300 = l_Lean_PrettyPrinter_Delaborator_annotatePos___closed__1; +x_301 = lean_unsigned_to_nat(0u); +x_302 = l_Array_findIdx_x3f_loop___rarg(x_298, x_300, x_299, x_301, lean_box(0)); +lean_dec(x_298); +if (lean_obj_tag(x_302) == 0) +{ +lean_dec(x_296); +lean_dec(x_8); +lean_dec(x_1); +return x_297; +} +else +{ +lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; uint8_t x_309; +lean_dec(x_297); +x_303 = lean_ctor_get(x_302, 0); +lean_inc(x_303); +if (lean_is_exclusive(x_302)) { + lean_ctor_release(x_302, 0); + x_304 = x_302; +} else { + lean_dec_ref(x_302); + x_304 = lean_box(0); +} +x_305 = lean_box(0); +if (lean_is_scalar(x_304)) { + x_306 = lean_alloc_ctor(1, 1, 0); +} else { + x_306 = x_304; +} +lean_ctor_set(x_306, 0, x_1); +x_307 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_307, 0, x_305); +lean_ctor_set(x_307, 1, x_306); +lean_ctor_set(x_307, 2, x_305); +x_308 = lean_array_get_size(x_8); +x_309 = lean_nat_dec_lt(x_303, x_308); +lean_dec(x_308); +if (x_309 == 0) +{ +lean_object* x_310; +lean_dec(x_307); +lean_dec(x_303); +x_310 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_310, 0, x_296); +lean_ctor_set(x_310, 1, x_8); +return x_310; +} +else +{ +lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; +x_311 = lean_array_fget(x_8, x_303); +x_312 = lean_box(0); +x_313 = lean_array_fset(x_8, x_303, x_312); +x_314 = l_Lean_Syntax_setInfo(x_307, x_311); +x_315 = lean_array_fset(x_313, x_303, x_314); +lean_dec(x_303); +x_316 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_316, 0, x_296); +lean_ctor_set(x_316, 1, x_315); +return x_316; +} +} +} +else +{ +lean_object* x_317; lean_object* x_318; uint8_t x_319; +lean_free_object(x_6); +lean_free_object(x_5); +lean_free_object(x_4); +lean_dec(x_9); +x_317 = lean_array_get_size(x_8); +x_318 = lean_unsigned_to_nat(0u); +x_319 = lean_nat_dec_lt(x_318, x_317); +lean_dec(x_317); +if (x_319 == 0) +{ +lean_object* x_320; +lean_dec(x_1); +x_320 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_320, 0, x_3); +lean_ctor_set(x_320, 1, x_8); +return x_320; +} +else +{ +lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; +x_321 = lean_array_fget(x_8, x_318); +x_322 = lean_box(0); +x_323 = lean_array_fset(x_8, x_318, x_322); +x_324 = l_Lean_PrettyPrinter_Delaborator_annotatePos(x_1, x_321); +x_325 = lean_array_fset(x_323, x_318, x_324); +x_326 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_326, 0, x_3); +lean_ctor_set(x_326, 1, x_325); +return x_326; +} +} +} +} +} +} +} +else +{ +lean_object* x_327; size_t x_328; lean_object* x_329; uint8_t x_330; +x_327 = lean_ctor_get(x_6, 1); +x_328 = lean_ctor_get_usize(x_6, 2); +lean_inc(x_327); +lean_dec(x_6); +x_329 = l_myMacro____x40_Init_Notation___hyg_38____closed__1; +x_330 = lean_string_dec_eq(x_327, x_329); +lean_dec(x_327); +if (x_330 == 0) +{ +lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; +lean_free_object(x_5); +lean_dec(x_15); +lean_free_object(x_4); +lean_dec(x_12); +lean_dec(x_9); +x_331 = l_Lean_Syntax_getArgs(x_2); +x_332 = lean_array_get_size(x_331); +x_333 = l_Lean_PrettyPrinter_Delaborator_annotatePos___closed__1; +x_334 = lean_unsigned_to_nat(0u); +x_335 = l_Array_findIdx_x3f_loop___rarg(x_331, x_333, x_332, x_334, lean_box(0)); +lean_dec(x_331); +if (lean_obj_tag(x_335) == 0) +{ +lean_dec(x_8); +lean_dec(x_3); +lean_dec(x_1); +return x_2; +} +else +{ +lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; uint8_t x_343; +if (lean_is_exclusive(x_2)) { + lean_ctor_release(x_2, 0); + lean_ctor_release(x_2, 1); + x_336 = x_2; +} else { + lean_dec_ref(x_2); + x_336 = lean_box(0); +} +x_337 = lean_ctor_get(x_335, 0); +lean_inc(x_337); +if (lean_is_exclusive(x_335)) { + lean_ctor_release(x_335, 0); + x_338 = x_335; +} else { + lean_dec_ref(x_335); + x_338 = lean_box(0); +} +x_339 = lean_box(0); +if (lean_is_scalar(x_338)) { + x_340 = lean_alloc_ctor(1, 1, 0); +} else { + x_340 = x_338; +} +lean_ctor_set(x_340, 0, x_1); +x_341 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_341, 0, x_339); +lean_ctor_set(x_341, 1, x_340); +lean_ctor_set(x_341, 2, x_339); +x_342 = lean_array_get_size(x_8); +x_343 = lean_nat_dec_lt(x_337, x_342); +lean_dec(x_342); +if (x_343 == 0) +{ +lean_object* x_344; +lean_dec(x_341); +lean_dec(x_337); +if (lean_is_scalar(x_336)) { + x_344 = lean_alloc_ctor(1, 2, 0); +} else { + x_344 = x_336; +} +lean_ctor_set(x_344, 0, x_3); +lean_ctor_set(x_344, 1, x_8); +return x_344; +} +else +{ +lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; +x_345 = lean_array_fget(x_8, x_337); +x_346 = lean_box(0); +x_347 = lean_array_fset(x_8, x_337, x_346); +x_348 = l_Lean_Syntax_setInfo(x_341, x_345); +x_349 = lean_array_fset(x_347, x_337, x_348); +lean_dec(x_337); +if (lean_is_scalar(x_336)) { + x_350 = lean_alloc_ctor(1, 2, 0); +} else { + x_350 = x_336; +} +lean_ctor_set(x_350, 0, x_3); +lean_ctor_set(x_350, 1, x_349); +return x_350; +} +} +} +else +{ +lean_object* x_351; lean_object* x_352; uint8_t x_353; +if (lean_is_exclusive(x_2)) { + lean_ctor_release(x_2, 0); + lean_ctor_release(x_2, 1); + x_351 = x_2; +} else { + lean_dec_ref(x_2); + x_351 = lean_box(0); +} +x_352 = l_myMacro____x40_Init_Notation___hyg_38____closed__3; +x_353 = lean_string_dec_eq(x_15, x_352); +if (x_353 == 0) +{ +lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; +if (lean_is_exclusive(x_3)) { + lean_ctor_release(x_3, 0); + lean_ctor_release(x_3, 1); + x_354 = x_3; +} else { + lean_dec_ref(x_3); + x_354 = lean_box(0); +} +x_355 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_355, 0, x_7); +lean_ctor_set(x_355, 1, x_329); +lean_ctor_set_usize(x_355, 2, x_328); +lean_ctor_set(x_5, 0, x_355); +if (lean_is_scalar(x_354)) { + x_356 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +} else { + x_356 = x_354; +} +lean_ctor_set(x_356, 0, x_4); +lean_ctor_set(x_356, 1, x_9); +lean_ctor_set_usize(x_356, 2, x_11); +lean_inc(x_8); +lean_inc(x_356); +if (lean_is_scalar(x_351)) { + x_357 = lean_alloc_ctor(1, 2, 0); +} else { + x_357 = x_351; +} +lean_ctor_set(x_357, 0, x_356); +lean_ctor_set(x_357, 1, x_8); +x_358 = l_Lean_Syntax_getArgs(x_357); +x_359 = lean_array_get_size(x_358); +x_360 = l_Lean_PrettyPrinter_Delaborator_annotatePos___closed__1; +x_361 = lean_unsigned_to_nat(0u); +x_362 = l_Array_findIdx_x3f_loop___rarg(x_358, x_360, x_359, x_361, lean_box(0)); +lean_dec(x_358); +if (lean_obj_tag(x_362) == 0) +{ +lean_dec(x_356); +lean_dec(x_8); +lean_dec(x_1); +return x_357; +} +else +{ +lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; uint8_t x_369; +lean_dec(x_357); +x_363 = lean_ctor_get(x_362, 0); +lean_inc(x_363); +if (lean_is_exclusive(x_362)) { + lean_ctor_release(x_362, 0); + x_364 = x_362; +} else { + lean_dec_ref(x_362); + x_364 = lean_box(0); +} +x_365 = lean_box(0); +if (lean_is_scalar(x_364)) { + x_366 = lean_alloc_ctor(1, 1, 0); +} else { + x_366 = x_364; +} +lean_ctor_set(x_366, 0, x_1); +x_367 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_367, 0, x_365); +lean_ctor_set(x_367, 1, x_366); +lean_ctor_set(x_367, 2, x_365); +x_368 = lean_array_get_size(x_8); +x_369 = lean_nat_dec_lt(x_363, x_368); +lean_dec(x_368); +if (x_369 == 0) +{ +lean_object* x_370; +lean_dec(x_367); +lean_dec(x_363); +x_370 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_370, 0, x_356); +lean_ctor_set(x_370, 1, x_8); +return x_370; +} +else +{ +lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; lean_object* x_376; +x_371 = lean_array_fget(x_8, x_363); +x_372 = lean_box(0); +x_373 = lean_array_fset(x_8, x_363, x_372); +x_374 = l_Lean_Syntax_setInfo(x_367, x_371); +x_375 = lean_array_fset(x_373, x_363, x_374); +lean_dec(x_363); +x_376 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_376, 0, x_356); +lean_ctor_set(x_376, 1, x_375); +return x_376; +} +} +} +else +{ +lean_object* x_377; uint8_t x_378; +lean_dec(x_15); +x_377 = l_myMacro____x40_Init_Notation___hyg_38____closed__5; +x_378 = lean_string_dec_eq(x_12, x_377); +if (x_378 == 0) +{ +lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; +if (lean_is_exclusive(x_3)) { + lean_ctor_release(x_3, 0); + lean_ctor_release(x_3, 1); + x_379 = x_3; +} else { + lean_dec_ref(x_3); + x_379 = lean_box(0); +} +x_380 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_380, 0, x_7); +lean_ctor_set(x_380, 1, x_329); +lean_ctor_set_usize(x_380, 2, x_328); +lean_ctor_set(x_5, 1, x_352); +lean_ctor_set(x_5, 0, x_380); +if (lean_is_scalar(x_379)) { + x_381 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +} else { + x_381 = x_379; +} +lean_ctor_set(x_381, 0, x_4); +lean_ctor_set(x_381, 1, x_9); +lean_ctor_set_usize(x_381, 2, x_11); +lean_inc(x_8); +lean_inc(x_381); +if (lean_is_scalar(x_351)) { + x_382 = lean_alloc_ctor(1, 2, 0); +} else { + x_382 = x_351; +} +lean_ctor_set(x_382, 0, x_381); +lean_ctor_set(x_382, 1, x_8); +x_383 = l_Lean_Syntax_getArgs(x_382); +x_384 = lean_array_get_size(x_383); +x_385 = l_Lean_PrettyPrinter_Delaborator_annotatePos___closed__1; +x_386 = lean_unsigned_to_nat(0u); +x_387 = l_Array_findIdx_x3f_loop___rarg(x_383, x_385, x_384, x_386, lean_box(0)); +lean_dec(x_383); +if (lean_obj_tag(x_387) == 0) +{ +lean_dec(x_381); +lean_dec(x_8); +lean_dec(x_1); +return x_382; +} +else +{ +lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; uint8_t x_394; +lean_dec(x_382); +x_388 = lean_ctor_get(x_387, 0); +lean_inc(x_388); +if (lean_is_exclusive(x_387)) { + lean_ctor_release(x_387, 0); + x_389 = x_387; +} else { + lean_dec_ref(x_387); + x_389 = lean_box(0); +} +x_390 = lean_box(0); +if (lean_is_scalar(x_389)) { + x_391 = lean_alloc_ctor(1, 1, 0); +} else { + x_391 = x_389; +} +lean_ctor_set(x_391, 0, x_1); +x_392 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_392, 0, x_390); +lean_ctor_set(x_392, 1, x_391); +lean_ctor_set(x_392, 2, x_390); +x_393 = lean_array_get_size(x_8); +x_394 = lean_nat_dec_lt(x_388, x_393); +lean_dec(x_393); +if (x_394 == 0) +{ +lean_object* x_395; +lean_dec(x_392); +lean_dec(x_388); +x_395 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_395, 0, x_381); +lean_ctor_set(x_395, 1, x_8); +return x_395; +} +else +{ +lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; +x_396 = lean_array_fget(x_8, x_388); +x_397 = lean_box(0); +x_398 = lean_array_fset(x_8, x_388, x_397); +x_399 = l_Lean_Syntax_setInfo(x_392, x_396); +x_400 = lean_array_fset(x_398, x_388, x_399); +lean_dec(x_388); +x_401 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_401, 0, x_381); +lean_ctor_set(x_401, 1, x_400); +return x_401; +} +} +} +else +{ +lean_object* x_402; uint8_t x_403; +lean_dec(x_12); +x_402 = l_myMacro____x40_Init_Notation___hyg_38____closed__7; +x_403 = lean_string_dec_eq(x_9, x_402); +if (x_403 == 0) +{ +lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; +if (lean_is_exclusive(x_3)) { + lean_ctor_release(x_3, 0); + lean_ctor_release(x_3, 1); + x_404 = x_3; +} else { + lean_dec_ref(x_3); + x_404 = lean_box(0); +} +x_405 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_405, 0, x_7); +lean_ctor_set(x_405, 1, x_329); +lean_ctor_set_usize(x_405, 2, x_328); +lean_ctor_set(x_5, 1, x_352); +lean_ctor_set(x_5, 0, x_405); +lean_ctor_set(x_4, 1, x_377); +if (lean_is_scalar(x_404)) { + x_406 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +} else { + x_406 = x_404; +} +lean_ctor_set(x_406, 0, x_4); +lean_ctor_set(x_406, 1, x_9); +lean_ctor_set_usize(x_406, 2, x_11); +lean_inc(x_8); +lean_inc(x_406); +if (lean_is_scalar(x_351)) { + x_407 = lean_alloc_ctor(1, 2, 0); +} else { + x_407 = x_351; +} +lean_ctor_set(x_407, 0, x_406); +lean_ctor_set(x_407, 1, x_8); +x_408 = l_Lean_Syntax_getArgs(x_407); +x_409 = lean_array_get_size(x_408); +x_410 = l_Lean_PrettyPrinter_Delaborator_annotatePos___closed__1; +x_411 = lean_unsigned_to_nat(0u); +x_412 = l_Array_findIdx_x3f_loop___rarg(x_408, x_410, x_409, x_411, lean_box(0)); +lean_dec(x_408); +if (lean_obj_tag(x_412) == 0) +{ +lean_dec(x_406); +lean_dec(x_8); +lean_dec(x_1); +return x_407; +} +else +{ +lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; uint8_t x_419; +lean_dec(x_407); +x_413 = lean_ctor_get(x_412, 0); +lean_inc(x_413); +if (lean_is_exclusive(x_412)) { + lean_ctor_release(x_412, 0); + x_414 = x_412; +} else { + lean_dec_ref(x_412); + x_414 = lean_box(0); +} +x_415 = lean_box(0); +if (lean_is_scalar(x_414)) { + x_416 = lean_alloc_ctor(1, 1, 0); +} else { + x_416 = x_414; +} +lean_ctor_set(x_416, 0, x_1); +x_417 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_417, 0, x_415); +lean_ctor_set(x_417, 1, x_416); +lean_ctor_set(x_417, 2, x_415); +x_418 = lean_array_get_size(x_8); +x_419 = lean_nat_dec_lt(x_413, x_418); +lean_dec(x_418); +if (x_419 == 0) +{ +lean_object* x_420; +lean_dec(x_417); +lean_dec(x_413); +x_420 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_420, 0, x_406); +lean_ctor_set(x_420, 1, x_8); +return x_420; +} +else +{ +lean_object* x_421; lean_object* x_422; lean_object* x_423; lean_object* x_424; lean_object* x_425; lean_object* x_426; +x_421 = lean_array_fget(x_8, x_413); +x_422 = lean_box(0); +x_423 = lean_array_fset(x_8, x_413, x_422); +x_424 = l_Lean_Syntax_setInfo(x_417, x_421); +x_425 = lean_array_fset(x_423, x_413, x_424); +lean_dec(x_413); +x_426 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_426, 0, x_406); +lean_ctor_set(x_426, 1, x_425); +return x_426; +} +} +} +else +{ +lean_object* x_427; lean_object* x_428; uint8_t x_429; +lean_free_object(x_5); +lean_free_object(x_4); +lean_dec(x_9); +x_427 = lean_array_get_size(x_8); +x_428 = lean_unsigned_to_nat(0u); +x_429 = lean_nat_dec_lt(x_428, x_427); +lean_dec(x_427); +if (x_429 == 0) +{ +lean_object* x_430; +lean_dec(x_1); +if (lean_is_scalar(x_351)) { + x_430 = lean_alloc_ctor(1, 2, 0); +} else { + x_430 = x_351; +} +lean_ctor_set(x_430, 0, x_3); +lean_ctor_set(x_430, 1, x_8); +return x_430; +} +else +{ +lean_object* x_431; lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; lean_object* x_436; +x_431 = lean_array_fget(x_8, x_428); +x_432 = lean_box(0); +x_433 = lean_array_fset(x_8, x_428, x_432); +x_434 = l_Lean_PrettyPrinter_Delaborator_annotatePos(x_1, x_431); +x_435 = lean_array_fset(x_433, x_428, x_434); +if (lean_is_scalar(x_351)) { + x_436 = lean_alloc_ctor(1, 2, 0); +} else { + x_436 = x_351; +} +lean_ctor_set(x_436, 0, x_3); +lean_ctor_set(x_436, 1, x_435); +return x_436; +} +} +} +} +} +} +} +else +{ +lean_object* x_437; size_t x_438; lean_object* x_439; size_t x_440; lean_object* x_441; lean_object* x_442; uint8_t x_443; +x_437 = lean_ctor_get(x_5, 1); +x_438 = lean_ctor_get_usize(x_5, 2); +lean_inc(x_437); +lean_dec(x_5); +x_439 = lean_ctor_get(x_6, 1); +lean_inc(x_439); +x_440 = lean_ctor_get_usize(x_6, 2); +if (lean_is_exclusive(x_6)) { + lean_ctor_release(x_6, 0); + lean_ctor_release(x_6, 1); + x_441 = x_6; +} else { + lean_dec_ref(x_6); + x_441 = lean_box(0); +} +x_442 = l_myMacro____x40_Init_Notation___hyg_38____closed__1; +x_443 = lean_string_dec_eq(x_439, x_442); +lean_dec(x_439); +if (x_443 == 0) +{ +lean_object* x_444; lean_object* x_445; lean_object* x_446; lean_object* x_447; lean_object* x_448; +lean_dec(x_441); +lean_dec(x_437); +lean_free_object(x_4); +lean_dec(x_12); +lean_dec(x_9); +x_444 = l_Lean_Syntax_getArgs(x_2); +x_445 = lean_array_get_size(x_444); +x_446 = l_Lean_PrettyPrinter_Delaborator_annotatePos___closed__1; +x_447 = lean_unsigned_to_nat(0u); +x_448 = l_Array_findIdx_x3f_loop___rarg(x_444, x_446, x_445, x_447, lean_box(0)); +lean_dec(x_444); +if (lean_obj_tag(x_448) == 0) +{ +lean_dec(x_8); +lean_dec(x_3); +lean_dec(x_1); +return x_2; +} +else +{ +lean_object* x_449; lean_object* x_450; lean_object* x_451; lean_object* x_452; lean_object* x_453; lean_object* x_454; lean_object* x_455; uint8_t x_456; +if (lean_is_exclusive(x_2)) { + lean_ctor_release(x_2, 0); + lean_ctor_release(x_2, 1); + x_449 = x_2; +} else { + lean_dec_ref(x_2); + x_449 = lean_box(0); +} +x_450 = lean_ctor_get(x_448, 0); +lean_inc(x_450); +if (lean_is_exclusive(x_448)) { + lean_ctor_release(x_448, 0); + x_451 = x_448; +} else { + lean_dec_ref(x_448); + x_451 = lean_box(0); +} +x_452 = lean_box(0); +if (lean_is_scalar(x_451)) { + x_453 = lean_alloc_ctor(1, 1, 0); +} else { + x_453 = x_451; +} +lean_ctor_set(x_453, 0, x_1); +x_454 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_454, 0, x_452); +lean_ctor_set(x_454, 1, x_453); +lean_ctor_set(x_454, 2, x_452); +x_455 = lean_array_get_size(x_8); +x_456 = lean_nat_dec_lt(x_450, x_455); +lean_dec(x_455); +if (x_456 == 0) +{ +lean_object* x_457; +lean_dec(x_454); +lean_dec(x_450); +if (lean_is_scalar(x_449)) { + x_457 = lean_alloc_ctor(1, 2, 0); +} else { + x_457 = x_449; +} +lean_ctor_set(x_457, 0, x_3); +lean_ctor_set(x_457, 1, x_8); +return x_457; +} +else +{ +lean_object* x_458; lean_object* x_459; lean_object* x_460; lean_object* x_461; lean_object* x_462; lean_object* x_463; +x_458 = lean_array_fget(x_8, x_450); +x_459 = lean_box(0); +x_460 = lean_array_fset(x_8, x_450, x_459); +x_461 = l_Lean_Syntax_setInfo(x_454, x_458); +x_462 = lean_array_fset(x_460, x_450, x_461); +lean_dec(x_450); +if (lean_is_scalar(x_449)) { + x_463 = lean_alloc_ctor(1, 2, 0); +} else { + x_463 = x_449; +} +lean_ctor_set(x_463, 0, x_3); +lean_ctor_set(x_463, 1, x_462); +return x_463; +} +} +} +else +{ +lean_object* x_464; lean_object* x_465; uint8_t x_466; +if (lean_is_exclusive(x_2)) { + lean_ctor_release(x_2, 0); + lean_ctor_release(x_2, 1); + x_464 = x_2; +} else { + lean_dec_ref(x_2); + x_464 = lean_box(0); +} +x_465 = l_myMacro____x40_Init_Notation___hyg_38____closed__3; +x_466 = lean_string_dec_eq(x_437, x_465); +if (x_466 == 0) +{ +lean_object* x_467; lean_object* x_468; lean_object* x_469; lean_object* x_470; lean_object* x_471; lean_object* x_472; lean_object* x_473; lean_object* x_474; lean_object* x_475; lean_object* x_476; +if (lean_is_exclusive(x_3)) { + lean_ctor_release(x_3, 0); + lean_ctor_release(x_3, 1); + x_467 = x_3; +} else { + lean_dec_ref(x_3); + x_467 = lean_box(0); +} +if (lean_is_scalar(x_441)) { + x_468 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +} else { + x_468 = x_441; +} +lean_ctor_set(x_468, 0, x_7); +lean_ctor_set(x_468, 1, x_442); +lean_ctor_set_usize(x_468, 2, x_440); +x_469 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_469, 0, x_468); +lean_ctor_set(x_469, 1, x_437); +lean_ctor_set_usize(x_469, 2, x_438); +lean_ctor_set(x_4, 0, x_469); +if (lean_is_scalar(x_467)) { + x_470 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +} else { + x_470 = x_467; +} +lean_ctor_set(x_470, 0, x_4); +lean_ctor_set(x_470, 1, x_9); +lean_ctor_set_usize(x_470, 2, x_11); +lean_inc(x_8); +lean_inc(x_470); +if (lean_is_scalar(x_464)) { + x_471 = lean_alloc_ctor(1, 2, 0); +} else { + x_471 = x_464; +} +lean_ctor_set(x_471, 0, x_470); +lean_ctor_set(x_471, 1, x_8); +x_472 = l_Lean_Syntax_getArgs(x_471); +x_473 = lean_array_get_size(x_472); +x_474 = l_Lean_PrettyPrinter_Delaborator_annotatePos___closed__1; +x_475 = lean_unsigned_to_nat(0u); +x_476 = l_Array_findIdx_x3f_loop___rarg(x_472, x_474, x_473, x_475, lean_box(0)); +lean_dec(x_472); +if (lean_obj_tag(x_476) == 0) +{ +lean_dec(x_470); +lean_dec(x_8); +lean_dec(x_1); +return x_471; +} +else +{ +lean_object* x_477; lean_object* x_478; lean_object* x_479; lean_object* x_480; lean_object* x_481; lean_object* x_482; uint8_t x_483; +lean_dec(x_471); +x_477 = lean_ctor_get(x_476, 0); +lean_inc(x_477); +if (lean_is_exclusive(x_476)) { + lean_ctor_release(x_476, 0); + x_478 = x_476; +} else { + lean_dec_ref(x_476); + x_478 = lean_box(0); +} +x_479 = lean_box(0); +if (lean_is_scalar(x_478)) { + x_480 = lean_alloc_ctor(1, 1, 0); +} else { + x_480 = x_478; +} +lean_ctor_set(x_480, 0, x_1); +x_481 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_481, 0, x_479); +lean_ctor_set(x_481, 1, x_480); +lean_ctor_set(x_481, 2, x_479); +x_482 = lean_array_get_size(x_8); +x_483 = lean_nat_dec_lt(x_477, x_482); +lean_dec(x_482); +if (x_483 == 0) +{ +lean_object* x_484; +lean_dec(x_481); +lean_dec(x_477); +x_484 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_484, 0, x_470); +lean_ctor_set(x_484, 1, x_8); +return x_484; +} +else +{ +lean_object* x_485; lean_object* x_486; lean_object* x_487; lean_object* x_488; lean_object* x_489; lean_object* x_490; +x_485 = lean_array_fget(x_8, x_477); +x_486 = lean_box(0); +x_487 = lean_array_fset(x_8, x_477, x_486); +x_488 = l_Lean_Syntax_setInfo(x_481, x_485); +x_489 = lean_array_fset(x_487, x_477, x_488); +lean_dec(x_477); +x_490 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_490, 0, x_470); +lean_ctor_set(x_490, 1, x_489); +return x_490; +} +} +} +else +{ +lean_object* x_491; uint8_t x_492; +lean_dec(x_437); +x_491 = l_myMacro____x40_Init_Notation___hyg_38____closed__5; +x_492 = lean_string_dec_eq(x_12, x_491); +if (x_492 == 0) +{ +lean_object* x_493; lean_object* x_494; lean_object* x_495; lean_object* x_496; lean_object* x_497; lean_object* x_498; lean_object* x_499; lean_object* x_500; lean_object* x_501; lean_object* x_502; +if (lean_is_exclusive(x_3)) { + lean_ctor_release(x_3, 0); + lean_ctor_release(x_3, 1); + x_493 = x_3; +} else { + lean_dec_ref(x_3); + x_493 = lean_box(0); +} +if (lean_is_scalar(x_441)) { + x_494 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +} else { + x_494 = x_441; +} +lean_ctor_set(x_494, 0, x_7); +lean_ctor_set(x_494, 1, x_442); +lean_ctor_set_usize(x_494, 2, x_440); +x_495 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_495, 0, x_494); +lean_ctor_set(x_495, 1, x_465); +lean_ctor_set_usize(x_495, 2, x_438); +lean_ctor_set(x_4, 0, x_495); +if (lean_is_scalar(x_493)) { + x_496 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +} else { + x_496 = x_493; +} +lean_ctor_set(x_496, 0, x_4); +lean_ctor_set(x_496, 1, x_9); +lean_ctor_set_usize(x_496, 2, x_11); +lean_inc(x_8); +lean_inc(x_496); +if (lean_is_scalar(x_464)) { + x_497 = lean_alloc_ctor(1, 2, 0); +} else { + x_497 = x_464; +} +lean_ctor_set(x_497, 0, x_496); +lean_ctor_set(x_497, 1, x_8); +x_498 = l_Lean_Syntax_getArgs(x_497); +x_499 = lean_array_get_size(x_498); +x_500 = l_Lean_PrettyPrinter_Delaborator_annotatePos___closed__1; +x_501 = lean_unsigned_to_nat(0u); +x_502 = l_Array_findIdx_x3f_loop___rarg(x_498, x_500, x_499, x_501, lean_box(0)); +lean_dec(x_498); +if (lean_obj_tag(x_502) == 0) +{ +lean_dec(x_496); +lean_dec(x_8); +lean_dec(x_1); +return x_497; +} +else +{ +lean_object* x_503; lean_object* x_504; lean_object* x_505; lean_object* x_506; lean_object* x_507; lean_object* x_508; uint8_t x_509; +lean_dec(x_497); +x_503 = lean_ctor_get(x_502, 0); +lean_inc(x_503); +if (lean_is_exclusive(x_502)) { + lean_ctor_release(x_502, 0); + x_504 = x_502; +} else { + lean_dec_ref(x_502); + x_504 = lean_box(0); +} +x_505 = lean_box(0); +if (lean_is_scalar(x_504)) { + x_506 = lean_alloc_ctor(1, 1, 0); +} else { + x_506 = x_504; +} +lean_ctor_set(x_506, 0, x_1); +x_507 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_507, 0, x_505); +lean_ctor_set(x_507, 1, x_506); +lean_ctor_set(x_507, 2, x_505); +x_508 = lean_array_get_size(x_8); +x_509 = lean_nat_dec_lt(x_503, x_508); +lean_dec(x_508); +if (x_509 == 0) +{ +lean_object* x_510; +lean_dec(x_507); +lean_dec(x_503); +x_510 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_510, 0, x_496); +lean_ctor_set(x_510, 1, x_8); +return x_510; +} +else +{ +lean_object* x_511; lean_object* x_512; lean_object* x_513; lean_object* x_514; lean_object* x_515; lean_object* x_516; +x_511 = lean_array_fget(x_8, x_503); +x_512 = lean_box(0); +x_513 = lean_array_fset(x_8, x_503, x_512); +x_514 = l_Lean_Syntax_setInfo(x_507, x_511); +x_515 = lean_array_fset(x_513, x_503, x_514); +lean_dec(x_503); +x_516 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_516, 0, x_496); +lean_ctor_set(x_516, 1, x_515); +return x_516; +} +} +} +else +{ +lean_object* x_517; uint8_t x_518; +lean_dec(x_12); +x_517 = l_myMacro____x40_Init_Notation___hyg_38____closed__7; +x_518 = lean_string_dec_eq(x_9, x_517); +if (x_518 == 0) +{ +lean_object* x_519; lean_object* x_520; lean_object* x_521; lean_object* x_522; lean_object* x_523; lean_object* x_524; lean_object* x_525; lean_object* x_526; lean_object* x_527; lean_object* x_528; +if (lean_is_exclusive(x_3)) { + lean_ctor_release(x_3, 0); + lean_ctor_release(x_3, 1); + x_519 = x_3; +} else { + lean_dec_ref(x_3); + x_519 = lean_box(0); +} +if (lean_is_scalar(x_441)) { + x_520 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +} else { + x_520 = x_441; +} +lean_ctor_set(x_520, 0, x_7); +lean_ctor_set(x_520, 1, x_442); +lean_ctor_set_usize(x_520, 2, x_440); +x_521 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_521, 0, x_520); +lean_ctor_set(x_521, 1, x_465); +lean_ctor_set_usize(x_521, 2, x_438); +lean_ctor_set(x_4, 1, x_491); +lean_ctor_set(x_4, 0, x_521); +if (lean_is_scalar(x_519)) { + x_522 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +} else { + x_522 = x_519; +} +lean_ctor_set(x_522, 0, x_4); +lean_ctor_set(x_522, 1, x_9); +lean_ctor_set_usize(x_522, 2, x_11); +lean_inc(x_8); +lean_inc(x_522); +if (lean_is_scalar(x_464)) { + x_523 = lean_alloc_ctor(1, 2, 0); +} else { + x_523 = x_464; +} +lean_ctor_set(x_523, 0, x_522); +lean_ctor_set(x_523, 1, x_8); +x_524 = l_Lean_Syntax_getArgs(x_523); +x_525 = lean_array_get_size(x_524); +x_526 = l_Lean_PrettyPrinter_Delaborator_annotatePos___closed__1; +x_527 = lean_unsigned_to_nat(0u); +x_528 = l_Array_findIdx_x3f_loop___rarg(x_524, x_526, x_525, x_527, lean_box(0)); +lean_dec(x_524); +if (lean_obj_tag(x_528) == 0) +{ +lean_dec(x_522); +lean_dec(x_8); +lean_dec(x_1); +return x_523; +} +else +{ +lean_object* x_529; lean_object* x_530; lean_object* x_531; lean_object* x_532; lean_object* x_533; lean_object* x_534; uint8_t x_535; +lean_dec(x_523); +x_529 = lean_ctor_get(x_528, 0); +lean_inc(x_529); +if (lean_is_exclusive(x_528)) { + lean_ctor_release(x_528, 0); + x_530 = x_528; +} else { + lean_dec_ref(x_528); + x_530 = lean_box(0); +} +x_531 = lean_box(0); +if (lean_is_scalar(x_530)) { + x_532 = lean_alloc_ctor(1, 1, 0); +} else { + x_532 = x_530; +} +lean_ctor_set(x_532, 0, x_1); +x_533 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_533, 0, x_531); +lean_ctor_set(x_533, 1, x_532); +lean_ctor_set(x_533, 2, x_531); +x_534 = lean_array_get_size(x_8); +x_535 = lean_nat_dec_lt(x_529, x_534); +lean_dec(x_534); +if (x_535 == 0) +{ +lean_object* x_536; +lean_dec(x_533); +lean_dec(x_529); +x_536 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_536, 0, x_522); +lean_ctor_set(x_536, 1, x_8); +return x_536; +} +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; +x_537 = lean_array_fget(x_8, x_529); +x_538 = lean_box(0); +x_539 = lean_array_fset(x_8, x_529, x_538); +x_540 = l_Lean_Syntax_setInfo(x_533, x_537); +x_541 = lean_array_fset(x_539, x_529, x_540); +lean_dec(x_529); +x_542 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_542, 0, x_522); +lean_ctor_set(x_542, 1, x_541); +return x_542; +} +} +} +else +{ +lean_object* x_543; lean_object* x_544; uint8_t x_545; +lean_dec(x_441); +lean_free_object(x_4); +lean_dec(x_9); +x_543 = lean_array_get_size(x_8); +x_544 = lean_unsigned_to_nat(0u); +x_545 = lean_nat_dec_lt(x_544, x_543); +lean_dec(x_543); +if (x_545 == 0) +{ +lean_object* x_546; +lean_dec(x_1); +if (lean_is_scalar(x_464)) { + x_546 = lean_alloc_ctor(1, 2, 0); +} else { + x_546 = x_464; +} +lean_ctor_set(x_546, 0, x_3); +lean_ctor_set(x_546, 1, x_8); +return x_546; +} +else +{ +lean_object* x_547; lean_object* x_548; lean_object* x_549; lean_object* x_550; lean_object* x_551; lean_object* x_552; +x_547 = lean_array_fget(x_8, x_544); +x_548 = lean_box(0); +x_549 = lean_array_fset(x_8, x_544, x_548); +x_550 = l_Lean_PrettyPrinter_Delaborator_annotatePos(x_1, x_547); +x_551 = lean_array_fset(x_549, x_544, x_550); +if (lean_is_scalar(x_464)) { + x_552 = lean_alloc_ctor(1, 2, 0); +} else { + x_552 = x_464; +} +lean_ctor_set(x_552, 0, x_3); +lean_ctor_set(x_552, 1, x_551); +return x_552; +} +} +} +} +} +} +} +else +{ +size_t x_553; lean_object* x_554; size_t x_555; lean_object* x_556; size_t x_557; lean_object* x_558; lean_object* x_559; size_t x_560; lean_object* x_561; lean_object* x_562; uint8_t x_563; +x_553 = lean_ctor_get_usize(x_3, 2); +x_554 = lean_ctor_get(x_4, 1); +x_555 = lean_ctor_get_usize(x_4, 2); +lean_inc(x_554); +lean_dec(x_4); +x_556 = lean_ctor_get(x_5, 1); +lean_inc(x_556); +x_557 = lean_ctor_get_usize(x_5, 2); +if (lean_is_exclusive(x_5)) { + lean_ctor_release(x_5, 0); + lean_ctor_release(x_5, 1); + x_558 = x_5; +} else { + lean_dec_ref(x_5); + x_558 = lean_box(0); +} +x_559 = lean_ctor_get(x_6, 1); +lean_inc(x_559); +x_560 = lean_ctor_get_usize(x_6, 2); +if (lean_is_exclusive(x_6)) { + lean_ctor_release(x_6, 0); + lean_ctor_release(x_6, 1); + x_561 = x_6; +} else { + lean_dec_ref(x_6); + x_561 = lean_box(0); +} +x_562 = l_myMacro____x40_Init_Notation___hyg_38____closed__1; +x_563 = lean_string_dec_eq(x_559, x_562); +lean_dec(x_559); +if (x_563 == 0) +{ +lean_object* x_564; lean_object* x_565; lean_object* x_566; lean_object* x_567; lean_object* x_568; +lean_dec(x_561); +lean_dec(x_558); +lean_dec(x_556); +lean_dec(x_554); +lean_dec(x_9); +x_564 = l_Lean_Syntax_getArgs(x_2); +x_565 = lean_array_get_size(x_564); +x_566 = l_Lean_PrettyPrinter_Delaborator_annotatePos___closed__1; +x_567 = lean_unsigned_to_nat(0u); +x_568 = l_Array_findIdx_x3f_loop___rarg(x_564, x_566, x_565, x_567, lean_box(0)); +lean_dec(x_564); +if (lean_obj_tag(x_568) == 0) +{ +lean_dec(x_8); +lean_dec(x_3); +lean_dec(x_1); +return x_2; +} +else +{ +lean_object* x_569; lean_object* x_570; lean_object* x_571; lean_object* x_572; lean_object* x_573; lean_object* x_574; lean_object* x_575; uint8_t x_576; +if (lean_is_exclusive(x_2)) { + lean_ctor_release(x_2, 0); + lean_ctor_release(x_2, 1); + x_569 = x_2; +} else { + lean_dec_ref(x_2); + x_569 = lean_box(0); +} +x_570 = lean_ctor_get(x_568, 0); +lean_inc(x_570); +if (lean_is_exclusive(x_568)) { + lean_ctor_release(x_568, 0); + x_571 = x_568; +} else { + lean_dec_ref(x_568); + x_571 = lean_box(0); +} +x_572 = lean_box(0); +if (lean_is_scalar(x_571)) { + x_573 = lean_alloc_ctor(1, 1, 0); +} else { + x_573 = x_571; +} +lean_ctor_set(x_573, 0, x_1); +x_574 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_574, 0, x_572); +lean_ctor_set(x_574, 1, x_573); +lean_ctor_set(x_574, 2, x_572); +x_575 = lean_array_get_size(x_8); +x_576 = lean_nat_dec_lt(x_570, x_575); +lean_dec(x_575); +if (x_576 == 0) +{ +lean_object* x_577; +lean_dec(x_574); +lean_dec(x_570); +if (lean_is_scalar(x_569)) { + x_577 = lean_alloc_ctor(1, 2, 0); +} else { + x_577 = x_569; +} +lean_ctor_set(x_577, 0, x_3); +lean_ctor_set(x_577, 1, x_8); +return x_577; +} +else +{ +lean_object* x_578; lean_object* x_579; lean_object* x_580; lean_object* x_581; lean_object* x_582; lean_object* x_583; +x_578 = lean_array_fget(x_8, x_570); +x_579 = lean_box(0); +x_580 = lean_array_fset(x_8, x_570, x_579); +x_581 = l_Lean_Syntax_setInfo(x_574, x_578); +x_582 = lean_array_fset(x_580, x_570, x_581); +lean_dec(x_570); +if (lean_is_scalar(x_569)) { + x_583 = lean_alloc_ctor(1, 2, 0); +} else { + x_583 = x_569; +} +lean_ctor_set(x_583, 0, x_3); +lean_ctor_set(x_583, 1, x_582); +return x_583; +} +} +} +else +{ +lean_object* x_584; lean_object* x_585; uint8_t x_586; +if (lean_is_exclusive(x_2)) { + lean_ctor_release(x_2, 0); + lean_ctor_release(x_2, 1); + x_584 = x_2; +} else { + lean_dec_ref(x_2); + x_584 = lean_box(0); +} +x_585 = l_myMacro____x40_Init_Notation___hyg_38____closed__3; +x_586 = lean_string_dec_eq(x_556, x_585); +if (x_586 == 0) +{ +lean_object* x_587; lean_object* x_588; lean_object* x_589; lean_object* x_590; lean_object* x_591; lean_object* x_592; lean_object* x_593; lean_object* x_594; lean_object* x_595; lean_object* x_596; lean_object* x_597; +if (lean_is_exclusive(x_3)) { + lean_ctor_release(x_3, 0); + lean_ctor_release(x_3, 1); + x_587 = x_3; +} else { + lean_dec_ref(x_3); + x_587 = lean_box(0); +} +if (lean_is_scalar(x_561)) { + x_588 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +} else { + x_588 = x_561; +} +lean_ctor_set(x_588, 0, x_7); +lean_ctor_set(x_588, 1, x_562); +lean_ctor_set_usize(x_588, 2, x_560); +if (lean_is_scalar(x_558)) { + x_589 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +} else { + x_589 = x_558; +} +lean_ctor_set(x_589, 0, x_588); +lean_ctor_set(x_589, 1, x_556); +lean_ctor_set_usize(x_589, 2, x_557); +x_590 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_590, 0, x_589); +lean_ctor_set(x_590, 1, x_554); +lean_ctor_set_usize(x_590, 2, x_555); +if (lean_is_scalar(x_587)) { + x_591 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +} else { + x_591 = x_587; +} +lean_ctor_set(x_591, 0, x_590); +lean_ctor_set(x_591, 1, x_9); +lean_ctor_set_usize(x_591, 2, x_553); +lean_inc(x_8); +lean_inc(x_591); +if (lean_is_scalar(x_584)) { + x_592 = lean_alloc_ctor(1, 2, 0); +} else { + x_592 = x_584; +} +lean_ctor_set(x_592, 0, x_591); +lean_ctor_set(x_592, 1, x_8); +x_593 = l_Lean_Syntax_getArgs(x_592); +x_594 = lean_array_get_size(x_593); +x_595 = l_Lean_PrettyPrinter_Delaborator_annotatePos___closed__1; +x_596 = lean_unsigned_to_nat(0u); +x_597 = l_Array_findIdx_x3f_loop___rarg(x_593, x_595, x_594, x_596, lean_box(0)); +lean_dec(x_593); +if (lean_obj_tag(x_597) == 0) +{ +lean_dec(x_591); +lean_dec(x_8); +lean_dec(x_1); +return x_592; +} +else +{ +lean_object* x_598; lean_object* x_599; lean_object* x_600; lean_object* x_601; lean_object* x_602; lean_object* x_603; uint8_t x_604; +lean_dec(x_592); +x_598 = lean_ctor_get(x_597, 0); +lean_inc(x_598); +if (lean_is_exclusive(x_597)) { + lean_ctor_release(x_597, 0); + x_599 = x_597; +} else { + lean_dec_ref(x_597); + x_599 = lean_box(0); +} +x_600 = lean_box(0); +if (lean_is_scalar(x_599)) { + x_601 = lean_alloc_ctor(1, 1, 0); +} else { + x_601 = x_599; +} +lean_ctor_set(x_601, 0, x_1); +x_602 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_602, 0, x_600); +lean_ctor_set(x_602, 1, x_601); +lean_ctor_set(x_602, 2, x_600); +x_603 = lean_array_get_size(x_8); +x_604 = lean_nat_dec_lt(x_598, x_603); +lean_dec(x_603); +if (x_604 == 0) +{ +lean_object* x_605; +lean_dec(x_602); +lean_dec(x_598); +x_605 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_605, 0, x_591); +lean_ctor_set(x_605, 1, x_8); +return x_605; +} +else +{ +lean_object* x_606; lean_object* x_607; lean_object* x_608; lean_object* x_609; lean_object* x_610; lean_object* x_611; +x_606 = lean_array_fget(x_8, x_598); +x_607 = lean_box(0); +x_608 = lean_array_fset(x_8, x_598, x_607); +x_609 = l_Lean_Syntax_setInfo(x_602, x_606); +x_610 = lean_array_fset(x_608, x_598, x_609); +lean_dec(x_598); +x_611 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_611, 0, x_591); +lean_ctor_set(x_611, 1, x_610); +return x_611; +} +} +} +else +{ +lean_object* x_612; uint8_t x_613; +lean_dec(x_556); +x_612 = l_myMacro____x40_Init_Notation___hyg_38____closed__5; +x_613 = lean_string_dec_eq(x_554, x_612); +if (x_613 == 0) +{ +lean_object* x_614; lean_object* x_615; lean_object* x_616; lean_object* x_617; lean_object* x_618; lean_object* x_619; lean_object* x_620; lean_object* x_621; lean_object* x_622; lean_object* x_623; lean_object* x_624; +if (lean_is_exclusive(x_3)) { + lean_ctor_release(x_3, 0); + lean_ctor_release(x_3, 1); + x_614 = x_3; +} else { + lean_dec_ref(x_3); + x_614 = lean_box(0); +} +if (lean_is_scalar(x_561)) { + x_615 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +} else { + x_615 = x_561; +} +lean_ctor_set(x_615, 0, x_7); +lean_ctor_set(x_615, 1, x_562); +lean_ctor_set_usize(x_615, 2, x_560); +if (lean_is_scalar(x_558)) { + x_616 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +} else { + x_616 = x_558; +} +lean_ctor_set(x_616, 0, x_615); +lean_ctor_set(x_616, 1, x_585); +lean_ctor_set_usize(x_616, 2, x_557); +x_617 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_617, 0, x_616); +lean_ctor_set(x_617, 1, x_554); +lean_ctor_set_usize(x_617, 2, x_555); +if (lean_is_scalar(x_614)) { + x_618 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +} else { + x_618 = x_614; +} +lean_ctor_set(x_618, 0, x_617); +lean_ctor_set(x_618, 1, x_9); +lean_ctor_set_usize(x_618, 2, x_553); +lean_inc(x_8); +lean_inc(x_618); +if (lean_is_scalar(x_584)) { + x_619 = lean_alloc_ctor(1, 2, 0); +} else { + x_619 = x_584; +} +lean_ctor_set(x_619, 0, x_618); +lean_ctor_set(x_619, 1, x_8); +x_620 = l_Lean_Syntax_getArgs(x_619); +x_621 = lean_array_get_size(x_620); +x_622 = l_Lean_PrettyPrinter_Delaborator_annotatePos___closed__1; +x_623 = lean_unsigned_to_nat(0u); +x_624 = l_Array_findIdx_x3f_loop___rarg(x_620, x_622, x_621, x_623, lean_box(0)); +lean_dec(x_620); +if (lean_obj_tag(x_624) == 0) +{ +lean_dec(x_618); +lean_dec(x_8); +lean_dec(x_1); +return x_619; +} +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; uint8_t x_631; +lean_dec(x_619); +x_625 = lean_ctor_get(x_624, 0); +lean_inc(x_625); +if (lean_is_exclusive(x_624)) { + lean_ctor_release(x_624, 0); + x_626 = x_624; +} else { + lean_dec_ref(x_624); + x_626 = lean_box(0); +} +x_627 = lean_box(0); +if (lean_is_scalar(x_626)) { + x_628 = lean_alloc_ctor(1, 1, 0); +} else { + x_628 = x_626; +} +lean_ctor_set(x_628, 0, x_1); +x_629 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_629, 0, x_627); +lean_ctor_set(x_629, 1, x_628); +lean_ctor_set(x_629, 2, x_627); +x_630 = lean_array_get_size(x_8); +x_631 = lean_nat_dec_lt(x_625, x_630); +lean_dec(x_630); +if (x_631 == 0) +{ +lean_object* x_632; +lean_dec(x_629); +lean_dec(x_625); +x_632 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_632, 0, x_618); +lean_ctor_set(x_632, 1, x_8); +return x_632; +} +else +{ +lean_object* x_633; lean_object* x_634; lean_object* x_635; lean_object* x_636; lean_object* x_637; lean_object* x_638; +x_633 = lean_array_fget(x_8, x_625); +x_634 = lean_box(0); +x_635 = lean_array_fset(x_8, x_625, x_634); +x_636 = l_Lean_Syntax_setInfo(x_629, x_633); +x_637 = lean_array_fset(x_635, x_625, x_636); +lean_dec(x_625); +x_638 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_638, 0, x_618); +lean_ctor_set(x_638, 1, x_637); +return x_638; +} +} +} +else +{ +lean_object* x_639; uint8_t x_640; +lean_dec(x_554); +x_639 = l_myMacro____x40_Init_Notation___hyg_38____closed__7; +x_640 = lean_string_dec_eq(x_9, x_639); +if (x_640 == 0) +{ +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; lean_object* x_650; lean_object* x_651; +if (lean_is_exclusive(x_3)) { + lean_ctor_release(x_3, 0); + lean_ctor_release(x_3, 1); + x_641 = x_3; +} else { + lean_dec_ref(x_3); + x_641 = lean_box(0); +} +if (lean_is_scalar(x_561)) { + x_642 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +} else { + x_642 = x_561; +} +lean_ctor_set(x_642, 0, x_7); +lean_ctor_set(x_642, 1, x_562); +lean_ctor_set_usize(x_642, 2, x_560); +if (lean_is_scalar(x_558)) { + x_643 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +} else { + x_643 = x_558; +} +lean_ctor_set(x_643, 0, x_642); +lean_ctor_set(x_643, 1, x_585); +lean_ctor_set_usize(x_643, 2, x_557); +x_644 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_644, 0, x_643); +lean_ctor_set(x_644, 1, x_612); +lean_ctor_set_usize(x_644, 2, x_555); +if (lean_is_scalar(x_641)) { + x_645 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +} else { + x_645 = x_641; +} +lean_ctor_set(x_645, 0, x_644); +lean_ctor_set(x_645, 1, x_9); +lean_ctor_set_usize(x_645, 2, x_553); +lean_inc(x_8); +lean_inc(x_645); +if (lean_is_scalar(x_584)) { + x_646 = lean_alloc_ctor(1, 2, 0); +} else { + x_646 = x_584; +} +lean_ctor_set(x_646, 0, x_645); +lean_ctor_set(x_646, 1, x_8); +x_647 = l_Lean_Syntax_getArgs(x_646); +x_648 = lean_array_get_size(x_647); +x_649 = l_Lean_PrettyPrinter_Delaborator_annotatePos___closed__1; +x_650 = lean_unsigned_to_nat(0u); +x_651 = l_Array_findIdx_x3f_loop___rarg(x_647, x_649, x_648, x_650, lean_box(0)); +lean_dec(x_647); +if (lean_obj_tag(x_651) == 0) +{ +lean_dec(x_645); +lean_dec(x_8); +lean_dec(x_1); +return x_646; +} +else +{ +lean_object* x_652; lean_object* x_653; lean_object* x_654; lean_object* x_655; lean_object* x_656; lean_object* x_657; uint8_t x_658; +lean_dec(x_646); +x_652 = lean_ctor_get(x_651, 0); +lean_inc(x_652); +if (lean_is_exclusive(x_651)) { + lean_ctor_release(x_651, 0); + x_653 = x_651; +} else { + lean_dec_ref(x_651); + x_653 = lean_box(0); +} +x_654 = lean_box(0); +if (lean_is_scalar(x_653)) { + x_655 = lean_alloc_ctor(1, 1, 0); +} else { + x_655 = x_653; +} +lean_ctor_set(x_655, 0, x_1); +x_656 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_656, 0, x_654); +lean_ctor_set(x_656, 1, x_655); +lean_ctor_set(x_656, 2, x_654); +x_657 = lean_array_get_size(x_8); +x_658 = lean_nat_dec_lt(x_652, x_657); +lean_dec(x_657); +if (x_658 == 0) +{ +lean_object* x_659; +lean_dec(x_656); +lean_dec(x_652); +x_659 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_659, 0, x_645); +lean_ctor_set(x_659, 1, x_8); +return x_659; +} +else +{ +lean_object* x_660; lean_object* x_661; lean_object* x_662; lean_object* x_663; lean_object* x_664; lean_object* x_665; +x_660 = lean_array_fget(x_8, x_652); +x_661 = lean_box(0); +x_662 = lean_array_fset(x_8, x_652, x_661); +x_663 = l_Lean_Syntax_setInfo(x_656, x_660); +x_664 = lean_array_fset(x_662, x_652, x_663); +lean_dec(x_652); +x_665 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_665, 0, x_645); +lean_ctor_set(x_665, 1, x_664); +return x_665; +} +} +} +else +{ +lean_object* x_666; lean_object* x_667; uint8_t x_668; +lean_dec(x_561); +lean_dec(x_558); +lean_dec(x_9); +x_666 = lean_array_get_size(x_8); +x_667 = lean_unsigned_to_nat(0u); +x_668 = lean_nat_dec_lt(x_667, x_666); +lean_dec(x_666); +if (x_668 == 0) +{ +lean_object* x_669; +lean_dec(x_1); +if (lean_is_scalar(x_584)) { + x_669 = lean_alloc_ctor(1, 2, 0); +} else { + x_669 = x_584; +} +lean_ctor_set(x_669, 0, x_3); +lean_ctor_set(x_669, 1, x_8); +return x_669; +} +else +{ +lean_object* x_670; lean_object* x_671; lean_object* x_672; lean_object* x_673; lean_object* x_674; lean_object* x_675; +x_670 = lean_array_fget(x_8, x_667); +x_671 = lean_box(0); +x_672 = lean_array_fset(x_8, x_667, x_671); +x_673 = l_Lean_PrettyPrinter_Delaborator_annotatePos(x_1, x_670); +x_674 = lean_array_fset(x_672, x_667, x_673); +if (lean_is_scalar(x_584)) { + x_675 = lean_alloc_ctor(1, 2, 0); +} else { + x_675 = x_584; +} +lean_ctor_set(x_675, 0, x_3); +lean_ctor_set(x_675, 1, x_674); +return x_675; +} +} +} +} +} +} +} +else +{ +lean_object* x_676; lean_object* x_677; lean_object* x_678; lean_object* x_679; lean_object* x_680; lean_object* x_681; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_676 = lean_ctor_get(x_2, 1); +lean_inc(x_676); +x_677 = l_Lean_Syntax_getArgs(x_2); +x_678 = lean_array_get_size(x_677); +x_679 = l_Lean_PrettyPrinter_Delaborator_annotatePos___closed__1; +x_680 = lean_unsigned_to_nat(0u); +x_681 = l_Array_findIdx_x3f_loop___rarg(x_677, x_679, x_678, x_680, lean_box(0)); +lean_dec(x_677); +if (lean_obj_tag(x_681) == 0) +{ +lean_dec(x_676); +lean_dec(x_3); +lean_dec(x_1); +return x_2; +} +else +{ +uint8_t x_682; +x_682 = !lean_is_exclusive(x_2); +if (x_682 == 0) +{ +lean_object* x_683; lean_object* x_684; uint8_t x_685; +x_683 = lean_ctor_get(x_2, 1); +lean_dec(x_683); +x_684 = lean_ctor_get(x_2, 0); +lean_dec(x_684); +x_685 = !lean_is_exclusive(x_681); +if (x_685 == 0) +{ +lean_object* x_686; lean_object* x_687; lean_object* x_688; lean_object* x_689; uint8_t x_690; +x_686 = lean_ctor_get(x_681, 0); +x_687 = lean_box(0); +lean_ctor_set(x_681, 0, x_1); +x_688 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_688, 0, x_687); +lean_ctor_set(x_688, 1, x_681); +lean_ctor_set(x_688, 2, x_687); +x_689 = lean_array_get_size(x_676); +x_690 = lean_nat_dec_lt(x_686, x_689); +lean_dec(x_689); +if (x_690 == 0) +{ +lean_dec(x_688); +lean_dec(x_686); +return x_2; +} +else +{ +lean_object* x_691; lean_object* x_692; lean_object* x_693; lean_object* x_694; lean_object* x_695; +x_691 = lean_array_fget(x_676, x_686); +x_692 = lean_box(0); +x_693 = lean_array_fset(x_676, x_686, x_692); +x_694 = l_Lean_Syntax_setInfo(x_688, x_691); +x_695 = lean_array_fset(x_693, x_686, x_694); +lean_dec(x_686); +lean_ctor_set(x_2, 1, x_695); +return x_2; +} +} +else +{ +lean_object* x_696; lean_object* x_697; lean_object* x_698; lean_object* x_699; lean_object* x_700; uint8_t x_701; +x_696 = lean_ctor_get(x_681, 0); +lean_inc(x_696); +lean_dec(x_681); +x_697 = lean_box(0); +x_698 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_698, 0, x_1); +x_699 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_699, 0, x_697); +lean_ctor_set(x_699, 1, x_698); +lean_ctor_set(x_699, 2, x_697); +x_700 = lean_array_get_size(x_676); +x_701 = lean_nat_dec_lt(x_696, x_700); +lean_dec(x_700); +if (x_701 == 0) +{ +lean_dec(x_699); +lean_dec(x_696); +return x_2; +} +else +{ +lean_object* x_702; lean_object* x_703; lean_object* x_704; lean_object* x_705; lean_object* x_706; +x_702 = lean_array_fget(x_676, x_696); +x_703 = lean_box(0); +x_704 = lean_array_fset(x_676, x_696, x_703); +x_705 = l_Lean_Syntax_setInfo(x_699, x_702); +x_706 = lean_array_fset(x_704, x_696, x_705); +lean_dec(x_696); +lean_ctor_set(x_2, 1, x_706); +return x_2; +} +} +} +else +{ +lean_object* x_707; lean_object* x_708; lean_object* x_709; lean_object* x_710; lean_object* x_711; lean_object* x_712; uint8_t x_713; +lean_dec(x_2); +x_707 = lean_ctor_get(x_681, 0); +lean_inc(x_707); +if (lean_is_exclusive(x_681)) { + lean_ctor_release(x_681, 0); + x_708 = x_681; +} else { + lean_dec_ref(x_681); + x_708 = lean_box(0); +} +x_709 = lean_box(0); +if (lean_is_scalar(x_708)) { + x_710 = lean_alloc_ctor(1, 1, 0); +} else { + x_710 = x_708; +} +lean_ctor_set(x_710, 0, x_1); +x_711 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_711, 0, x_709); +lean_ctor_set(x_711, 1, x_710); +lean_ctor_set(x_711, 2, x_709); +x_712 = lean_array_get_size(x_676); +x_713 = lean_nat_dec_lt(x_707, x_712); +lean_dec(x_712); +if (x_713 == 0) +{ +lean_object* x_714; +lean_dec(x_711); +lean_dec(x_707); +x_714 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_714, 0, x_3); +lean_ctor_set(x_714, 1, x_676); +return x_714; +} +else +{ +lean_object* x_715; lean_object* x_716; lean_object* x_717; lean_object* x_718; lean_object* x_719; lean_object* x_720; +x_715 = lean_array_fget(x_676, x_707); +x_716 = lean_box(0); +x_717 = lean_array_fset(x_676, x_707, x_716); +x_718 = l_Lean_Syntax_setInfo(x_711, x_715); +x_719 = lean_array_fset(x_717, x_707, x_718); +lean_dec(x_707); +x_720 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_720, 0, x_3); +lean_ctor_set(x_720, 1, x_719); +return x_720; +} +} +} +} +} +else +{ +lean_object* x_721; lean_object* x_722; lean_object* x_723; lean_object* x_724; lean_object* x_725; lean_object* x_726; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_721 = lean_ctor_get(x_2, 1); +lean_inc(x_721); +x_722 = l_Lean_Syntax_getArgs(x_2); +x_723 = lean_array_get_size(x_722); +x_724 = l_Lean_PrettyPrinter_Delaborator_annotatePos___closed__1; +x_725 = lean_unsigned_to_nat(0u); +x_726 = l_Array_findIdx_x3f_loop___rarg(x_722, x_724, x_723, x_725, lean_box(0)); +lean_dec(x_722); +if (lean_obj_tag(x_726) == 0) +{ +lean_dec(x_721); +lean_dec(x_3); +lean_dec(x_1); +return x_2; +} +else +{ +uint8_t x_727; +x_727 = !lean_is_exclusive(x_2); +if (x_727 == 0) +{ +lean_object* x_728; lean_object* x_729; uint8_t x_730; +x_728 = lean_ctor_get(x_2, 1); +lean_dec(x_728); +x_729 = lean_ctor_get(x_2, 0); +lean_dec(x_729); +x_730 = !lean_is_exclusive(x_726); +if (x_730 == 0) +{ +lean_object* x_731; lean_object* x_732; lean_object* x_733; lean_object* x_734; uint8_t x_735; +x_731 = lean_ctor_get(x_726, 0); +x_732 = lean_box(0); +lean_ctor_set(x_726, 0, x_1); +x_733 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_733, 0, x_732); +lean_ctor_set(x_733, 1, x_726); +lean_ctor_set(x_733, 2, x_732); +x_734 = lean_array_get_size(x_721); +x_735 = lean_nat_dec_lt(x_731, x_734); +lean_dec(x_734); +if (x_735 == 0) +{ +lean_dec(x_733); +lean_dec(x_731); +return x_2; +} +else +{ +lean_object* x_736; lean_object* x_737; lean_object* x_738; lean_object* x_739; lean_object* x_740; +x_736 = lean_array_fget(x_721, x_731); +x_737 = lean_box(0); +x_738 = lean_array_fset(x_721, x_731, x_737); +x_739 = l_Lean_Syntax_setInfo(x_733, x_736); +x_740 = lean_array_fset(x_738, x_731, x_739); +lean_dec(x_731); +lean_ctor_set(x_2, 1, x_740); +return x_2; +} +} +else +{ +lean_object* x_741; lean_object* x_742; lean_object* x_743; lean_object* x_744; lean_object* x_745; uint8_t x_746; +x_741 = lean_ctor_get(x_726, 0); +lean_inc(x_741); +lean_dec(x_726); +x_742 = lean_box(0); +x_743 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_743, 0, x_1); +x_744 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_744, 0, x_742); +lean_ctor_set(x_744, 1, x_743); +lean_ctor_set(x_744, 2, x_742); +x_745 = lean_array_get_size(x_721); +x_746 = lean_nat_dec_lt(x_741, x_745); +lean_dec(x_745); +if (x_746 == 0) +{ +lean_dec(x_744); +lean_dec(x_741); +return x_2; +} +else +{ +lean_object* x_747; lean_object* x_748; lean_object* x_749; lean_object* x_750; lean_object* x_751; +x_747 = lean_array_fget(x_721, x_741); +x_748 = lean_box(0); +x_749 = lean_array_fset(x_721, x_741, x_748); +x_750 = l_Lean_Syntax_setInfo(x_744, x_747); +x_751 = lean_array_fset(x_749, x_741, x_750); +lean_dec(x_741); +lean_ctor_set(x_2, 1, x_751); +return x_2; +} +} +} +else +{ +lean_object* x_752; lean_object* x_753; lean_object* x_754; lean_object* x_755; lean_object* x_756; lean_object* x_757; uint8_t x_758; +lean_dec(x_2); +x_752 = lean_ctor_get(x_726, 0); +lean_inc(x_752); +if (lean_is_exclusive(x_726)) { + lean_ctor_release(x_726, 0); + x_753 = x_726; +} else { + lean_dec_ref(x_726); + x_753 = lean_box(0); +} +x_754 = lean_box(0); +if (lean_is_scalar(x_753)) { + x_755 = lean_alloc_ctor(1, 1, 0); +} else { + x_755 = x_753; +} +lean_ctor_set(x_755, 0, x_1); +x_756 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_756, 0, x_754); +lean_ctor_set(x_756, 1, x_755); +lean_ctor_set(x_756, 2, x_754); +x_757 = lean_array_get_size(x_721); +x_758 = lean_nat_dec_lt(x_752, x_757); +lean_dec(x_757); +if (x_758 == 0) +{ +lean_object* x_759; +lean_dec(x_756); +lean_dec(x_752); +x_759 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_759, 0, x_3); +lean_ctor_set(x_759, 1, x_721); +return x_759; +} +else +{ +lean_object* x_760; lean_object* x_761; lean_object* x_762; lean_object* x_763; lean_object* x_764; lean_object* x_765; +x_760 = lean_array_fget(x_721, x_752); +x_761 = lean_box(0); +x_762 = lean_array_fset(x_721, x_752, x_761); +x_763 = l_Lean_Syntax_setInfo(x_756, x_760); +x_764 = lean_array_fset(x_762, x_752, x_763); +lean_dec(x_752); +x_765 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_765, 0, x_3); +lean_ctor_set(x_765, 1, x_764); +return x_765; +} +} +} +} +} +else +{ +lean_object* x_766; lean_object* x_767; lean_object* x_768; lean_object* x_769; lean_object* x_770; lean_object* x_771; +lean_dec(x_5); +lean_dec(x_4); +x_766 = lean_ctor_get(x_2, 1); +lean_inc(x_766); +x_767 = l_Lean_Syntax_getArgs(x_2); +x_768 = lean_array_get_size(x_767); +x_769 = l_Lean_PrettyPrinter_Delaborator_annotatePos___closed__1; +x_770 = lean_unsigned_to_nat(0u); +x_771 = l_Array_findIdx_x3f_loop___rarg(x_767, x_769, x_768, x_770, lean_box(0)); +lean_dec(x_767); +if (lean_obj_tag(x_771) == 0) +{ +lean_dec(x_766); +lean_dec(x_3); +lean_dec(x_1); +return x_2; +} +else +{ +uint8_t x_772; +x_772 = !lean_is_exclusive(x_2); +if (x_772 == 0) +{ +lean_object* x_773; lean_object* x_774; uint8_t x_775; +x_773 = lean_ctor_get(x_2, 1); +lean_dec(x_773); +x_774 = lean_ctor_get(x_2, 0); +lean_dec(x_774); +x_775 = !lean_is_exclusive(x_771); +if (x_775 == 0) +{ +lean_object* x_776; lean_object* x_777; lean_object* x_778; lean_object* x_779; uint8_t x_780; +x_776 = lean_ctor_get(x_771, 0); +x_777 = lean_box(0); +lean_ctor_set(x_771, 0, x_1); +x_778 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_778, 0, x_777); +lean_ctor_set(x_778, 1, x_771); +lean_ctor_set(x_778, 2, x_777); +x_779 = lean_array_get_size(x_766); +x_780 = lean_nat_dec_lt(x_776, x_779); +lean_dec(x_779); +if (x_780 == 0) +{ +lean_dec(x_778); +lean_dec(x_776); +return x_2; +} +else +{ +lean_object* x_781; lean_object* x_782; lean_object* x_783; lean_object* x_784; lean_object* x_785; +x_781 = lean_array_fget(x_766, x_776); +x_782 = lean_box(0); +x_783 = lean_array_fset(x_766, x_776, x_782); +x_784 = l_Lean_Syntax_setInfo(x_778, x_781); +x_785 = lean_array_fset(x_783, x_776, x_784); +lean_dec(x_776); +lean_ctor_set(x_2, 1, x_785); +return x_2; +} +} +else +{ +lean_object* x_786; lean_object* x_787; lean_object* x_788; lean_object* x_789; lean_object* x_790; uint8_t x_791; +x_786 = lean_ctor_get(x_771, 0); +lean_inc(x_786); +lean_dec(x_771); +x_787 = lean_box(0); +x_788 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_788, 0, x_1); +x_789 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_789, 0, x_787); +lean_ctor_set(x_789, 1, x_788); +lean_ctor_set(x_789, 2, x_787); +x_790 = lean_array_get_size(x_766); +x_791 = lean_nat_dec_lt(x_786, x_790); +lean_dec(x_790); +if (x_791 == 0) +{ +lean_dec(x_789); +lean_dec(x_786); +return x_2; +} +else +{ +lean_object* x_792; lean_object* x_793; lean_object* x_794; lean_object* x_795; lean_object* x_796; +x_792 = lean_array_fget(x_766, x_786); +x_793 = lean_box(0); +x_794 = lean_array_fset(x_766, x_786, x_793); +x_795 = l_Lean_Syntax_setInfo(x_789, x_792); +x_796 = lean_array_fset(x_794, x_786, x_795); +lean_dec(x_786); +lean_ctor_set(x_2, 1, x_796); +return x_2; +} +} +} +else +{ +lean_object* x_797; lean_object* x_798; lean_object* x_799; lean_object* x_800; lean_object* x_801; lean_object* x_802; uint8_t x_803; +lean_dec(x_2); +x_797 = lean_ctor_get(x_771, 0); +lean_inc(x_797); +if (lean_is_exclusive(x_771)) { + lean_ctor_release(x_771, 0); + x_798 = x_771; +} else { + lean_dec_ref(x_771); + x_798 = lean_box(0); +} +x_799 = lean_box(0); +if (lean_is_scalar(x_798)) { + x_800 = lean_alloc_ctor(1, 1, 0); +} else { + x_800 = x_798; +} +lean_ctor_set(x_800, 0, x_1); +x_801 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_801, 0, x_799); +lean_ctor_set(x_801, 1, x_800); +lean_ctor_set(x_801, 2, x_799); +x_802 = lean_array_get_size(x_766); +x_803 = lean_nat_dec_lt(x_797, x_802); +lean_dec(x_802); +if (x_803 == 0) +{ +lean_object* x_804; +lean_dec(x_801); +lean_dec(x_797); +x_804 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_804, 0, x_3); +lean_ctor_set(x_804, 1, x_766); +return x_804; +} +else +{ +lean_object* x_805; lean_object* x_806; lean_object* x_807; lean_object* x_808; lean_object* x_809; lean_object* x_810; +x_805 = lean_array_fget(x_766, x_797); +x_806 = lean_box(0); +x_807 = lean_array_fset(x_766, x_797, x_806); +x_808 = l_Lean_Syntax_setInfo(x_801, x_805); +x_809 = lean_array_fset(x_807, x_797, x_808); +lean_dec(x_797); +x_810 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_810, 0, x_3); +lean_ctor_set(x_810, 1, x_809); +return x_810; +} +} +} +} +} +else +{ +lean_object* x_811; lean_object* x_812; lean_object* x_813; lean_object* x_814; lean_object* x_815; lean_object* x_816; +lean_dec(x_4); +x_811 = lean_ctor_get(x_2, 1); +lean_inc(x_811); +x_812 = l_Lean_Syntax_getArgs(x_2); +x_813 = lean_array_get_size(x_812); +x_814 = l_Lean_PrettyPrinter_Delaborator_annotatePos___closed__1; +x_815 = lean_unsigned_to_nat(0u); +x_816 = l_Array_findIdx_x3f_loop___rarg(x_812, x_814, x_813, x_815, lean_box(0)); +lean_dec(x_812); +if (lean_obj_tag(x_816) == 0) +{ +lean_dec(x_811); +lean_dec(x_3); +lean_dec(x_1); +return x_2; +} +else +{ +uint8_t x_817; +x_817 = !lean_is_exclusive(x_2); +if (x_817 == 0) +{ +lean_object* x_818; lean_object* x_819; uint8_t x_820; +x_818 = lean_ctor_get(x_2, 1); +lean_dec(x_818); +x_819 = lean_ctor_get(x_2, 0); +lean_dec(x_819); +x_820 = !lean_is_exclusive(x_816); +if (x_820 == 0) +{ +lean_object* x_821; lean_object* x_822; lean_object* x_823; lean_object* x_824; uint8_t x_825; +x_821 = lean_ctor_get(x_816, 0); +x_822 = lean_box(0); +lean_ctor_set(x_816, 0, x_1); +x_823 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_823, 0, x_822); +lean_ctor_set(x_823, 1, x_816); +lean_ctor_set(x_823, 2, x_822); +x_824 = lean_array_get_size(x_811); +x_825 = lean_nat_dec_lt(x_821, x_824); +lean_dec(x_824); +if (x_825 == 0) +{ +lean_dec(x_823); +lean_dec(x_821); +return x_2; +} +else +{ +lean_object* x_826; lean_object* x_827; lean_object* x_828; lean_object* x_829; lean_object* x_830; +x_826 = lean_array_fget(x_811, x_821); +x_827 = lean_box(0); +x_828 = lean_array_fset(x_811, x_821, x_827); +x_829 = l_Lean_Syntax_setInfo(x_823, x_826); +x_830 = lean_array_fset(x_828, x_821, x_829); +lean_dec(x_821); +lean_ctor_set(x_2, 1, x_830); +return x_2; +} +} +else +{ +lean_object* x_831; lean_object* x_832; lean_object* x_833; lean_object* x_834; lean_object* x_835; uint8_t x_836; +x_831 = lean_ctor_get(x_816, 0); +lean_inc(x_831); +lean_dec(x_816); +x_832 = lean_box(0); +x_833 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_833, 0, x_1); +x_834 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_834, 0, x_832); +lean_ctor_set(x_834, 1, x_833); +lean_ctor_set(x_834, 2, x_832); +x_835 = lean_array_get_size(x_811); +x_836 = lean_nat_dec_lt(x_831, x_835); +lean_dec(x_835); +if (x_836 == 0) +{ +lean_dec(x_834); +lean_dec(x_831); +return x_2; +} +else +{ +lean_object* x_837; lean_object* x_838; lean_object* x_839; lean_object* x_840; lean_object* x_841; +x_837 = lean_array_fget(x_811, x_831); +x_838 = lean_box(0); +x_839 = lean_array_fset(x_811, x_831, x_838); +x_840 = l_Lean_Syntax_setInfo(x_834, x_837); +x_841 = lean_array_fset(x_839, x_831, x_840); +lean_dec(x_831); +lean_ctor_set(x_2, 1, x_841); +return x_2; +} +} +} +else +{ +lean_object* x_842; lean_object* x_843; lean_object* x_844; lean_object* x_845; lean_object* x_846; lean_object* x_847; uint8_t x_848; +lean_dec(x_2); +x_842 = lean_ctor_get(x_816, 0); +lean_inc(x_842); +if (lean_is_exclusive(x_816)) { + lean_ctor_release(x_816, 0); + x_843 = x_816; +} else { + lean_dec_ref(x_816); + x_843 = lean_box(0); +} +x_844 = lean_box(0); +if (lean_is_scalar(x_843)) { + x_845 = lean_alloc_ctor(1, 1, 0); +} else { + x_845 = x_843; +} +lean_ctor_set(x_845, 0, x_1); +x_846 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_846, 0, x_844); +lean_ctor_set(x_846, 1, x_845); +lean_ctor_set(x_846, 2, x_844); +x_847 = lean_array_get_size(x_811); +x_848 = lean_nat_dec_lt(x_842, x_847); +lean_dec(x_847); +if (x_848 == 0) +{ +lean_object* x_849; +lean_dec(x_846); +lean_dec(x_842); +x_849 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_849, 0, x_3); +lean_ctor_set(x_849, 1, x_811); +return x_849; +} +else +{ +lean_object* x_850; lean_object* x_851; lean_object* x_852; lean_object* x_853; lean_object* x_854; lean_object* x_855; +x_850 = lean_array_fget(x_811, x_842); +x_851 = lean_box(0); +x_852 = lean_array_fset(x_811, x_842, x_851); +x_853 = l_Lean_Syntax_setInfo(x_846, x_850); +x_854 = lean_array_fset(x_852, x_842, x_853); +lean_dec(x_842); +x_855 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_855, 0, x_3); +lean_ctor_set(x_855, 1, x_854); +return x_855; +} +} +} +} +} +else +{ +lean_object* x_856; lean_object* x_857; lean_object* x_858; lean_object* x_859; lean_object* x_860; lean_object* x_861; +x_856 = lean_ctor_get(x_2, 1); +lean_inc(x_856); +x_857 = l_Lean_Syntax_getArgs(x_2); +x_858 = lean_array_get_size(x_857); +x_859 = l_Lean_PrettyPrinter_Delaborator_annotatePos___closed__1; +x_860 = lean_unsigned_to_nat(0u); +x_861 = l_Array_findIdx_x3f_loop___rarg(x_857, x_859, x_858, x_860, lean_box(0)); +lean_dec(x_857); +if (lean_obj_tag(x_861) == 0) +{ +lean_dec(x_856); +lean_dec(x_3); +lean_dec(x_1); +return x_2; +} +else +{ +uint8_t x_862; +x_862 = !lean_is_exclusive(x_2); +if (x_862 == 0) +{ +lean_object* x_863; lean_object* x_864; uint8_t x_865; +x_863 = lean_ctor_get(x_2, 1); +lean_dec(x_863); +x_864 = lean_ctor_get(x_2, 0); +lean_dec(x_864); +x_865 = !lean_is_exclusive(x_861); +if (x_865 == 0) +{ +lean_object* x_866; lean_object* x_867; lean_object* x_868; lean_object* x_869; uint8_t x_870; +x_866 = lean_ctor_get(x_861, 0); +x_867 = lean_box(0); +lean_ctor_set(x_861, 0, x_1); +x_868 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_868, 0, x_867); +lean_ctor_set(x_868, 1, x_861); +lean_ctor_set(x_868, 2, x_867); +x_869 = lean_array_get_size(x_856); +x_870 = lean_nat_dec_lt(x_866, x_869); +lean_dec(x_869); +if (x_870 == 0) +{ +lean_dec(x_868); +lean_dec(x_866); +return x_2; +} +else +{ +lean_object* x_871; lean_object* x_872; lean_object* x_873; lean_object* x_874; lean_object* x_875; +x_871 = lean_array_fget(x_856, x_866); +x_872 = lean_box(0); +x_873 = lean_array_fset(x_856, x_866, x_872); +x_874 = l_Lean_Syntax_setInfo(x_868, x_871); +x_875 = lean_array_fset(x_873, x_866, x_874); +lean_dec(x_866); +lean_ctor_set(x_2, 1, x_875); +return x_2; +} +} +else +{ +lean_object* x_876; lean_object* x_877; lean_object* x_878; lean_object* x_879; lean_object* x_880; uint8_t x_881; +x_876 = lean_ctor_get(x_861, 0); +lean_inc(x_876); +lean_dec(x_861); +x_877 = lean_box(0); +x_878 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_878, 0, x_1); +x_879 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_879, 0, x_877); +lean_ctor_set(x_879, 1, x_878); +lean_ctor_set(x_879, 2, x_877); +x_880 = lean_array_get_size(x_856); +x_881 = lean_nat_dec_lt(x_876, x_880); +lean_dec(x_880); +if (x_881 == 0) +{ +lean_dec(x_879); +lean_dec(x_876); +return x_2; +} +else +{ +lean_object* x_882; lean_object* x_883; lean_object* x_884; lean_object* x_885; lean_object* x_886; +x_882 = lean_array_fget(x_856, x_876); +x_883 = lean_box(0); +x_884 = lean_array_fset(x_856, x_876, x_883); +x_885 = l_Lean_Syntax_setInfo(x_879, x_882); +x_886 = lean_array_fset(x_884, x_876, x_885); +lean_dec(x_876); +lean_ctor_set(x_2, 1, x_886); +return x_2; +} +} +} +else +{ +lean_object* x_887; lean_object* x_888; lean_object* x_889; lean_object* x_890; lean_object* x_891; lean_object* x_892; uint8_t x_893; +lean_dec(x_2); +x_887 = lean_ctor_get(x_861, 0); +lean_inc(x_887); +if (lean_is_exclusive(x_861)) { + lean_ctor_release(x_861, 0); + x_888 = x_861; +} else { + lean_dec_ref(x_861); + x_888 = lean_box(0); +} +x_889 = lean_box(0); +if (lean_is_scalar(x_888)) { + x_890 = lean_alloc_ctor(1, 1, 0); +} else { + x_890 = x_888; +} +lean_ctor_set(x_890, 0, x_1); +x_891 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_891, 0, x_889); +lean_ctor_set(x_891, 1, x_890); +lean_ctor_set(x_891, 2, x_889); +x_892 = lean_array_get_size(x_856); +x_893 = lean_nat_dec_lt(x_887, x_892); +lean_dec(x_892); +if (x_893 == 0) +{ +lean_object* x_894; +lean_dec(x_891); +lean_dec(x_887); +x_894 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_894, 0, x_3); +lean_ctor_set(x_894, 1, x_856); +return x_894; +} +else +{ +lean_object* x_895; lean_object* x_896; lean_object* x_897; lean_object* x_898; lean_object* x_899; lean_object* x_900; +x_895 = lean_array_fget(x_856, x_887); +x_896 = lean_box(0); +x_897 = lean_array_fset(x_856, x_887, x_896); +x_898 = l_Lean_Syntax_setInfo(x_891, x_895); +x_899 = lean_array_fset(x_897, x_887, x_898); +lean_dec(x_887); +x_900 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_900, 0, x_3); +lean_ctor_set(x_900, 1, x_899); +return x_900; +} +} +} +} +} +case 3: +{ +lean_object* x_901; lean_object* x_902; lean_object* x_903; lean_object* x_904; +x_901 = lean_box(0); +x_902 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_902, 0, x_1); +x_903 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_903, 0, x_901); +lean_ctor_set(x_903, 1, x_902); +lean_ctor_set(x_903, 2, x_901); +x_904 = l_Lean_Syntax_setInfo(x_903, x_2); +return x_904; +} +default: +{ +lean_dec(x_1); +return x_2; +} +} +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_annotateCurPos(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_8 = lean_ctor_get(x_2, 1); +lean_inc(x_8); +lean_dec(x_2); +x_9 = l_Lean_PrettyPrinter_Delaborator_annotatePos(x_8, x_1); +x_10 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_10, 0, x_9); +lean_ctor_set(x_10, 1, x_7); +return x_10; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_annotateCurPos___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l_Lean_PrettyPrinter_Delaborator_annotateCurPos(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_8; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_getUnusedName(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +uint8_t x_8; +x_8 = l_Lean_Name_isAnonymous(x_1); +if (x_8 == 0) +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_9 = lean_ctor_get(x_3, 1); +lean_inc(x_9); +lean_dec(x_3); +x_10 = lean_local_ctx_get_unused_name(x_9, x_1); +x_11 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_11, 1, x_7); +return x_11; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +lean_dec(x_1); +x_12 = lean_ctor_get(x_3, 1); +lean_inc(x_12); +lean_dec(x_3); +x_13 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__4; +x_14 = lean_local_ctx_get_unused_name(x_12, x_13); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_7); +return x_15; +} +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_getUnusedName___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l_Lean_PrettyPrinter_Delaborator_getUnusedName(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +return x_8; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_withBindingBodyUnusedName___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_8 = l_Lean_PrettyPrinter_Delaborator_getExpr(x_2, x_3, x_4, x_5, x_6, x_7); +x_9 = lean_ctor_get(x_8, 0); +lean_inc(x_9); +x_10 = lean_ctor_get(x_8, 1); +lean_inc(x_10); +lean_dec(x_8); +x_11 = l_Lean_Expr_bindingName_x21(x_9); +lean_dec(x_9); +lean_inc(x_3); +x_12 = l_Lean_PrettyPrinter_Delaborator_getUnusedName(x_11, x_2, x_3, x_4, x_5, x_6, x_10); +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); +lean_inc(x_13); +x_15 = lean_mk_syntax_ident(x_13); +lean_inc(x_2); +x_16 = l_Lean_PrettyPrinter_Delaborator_annotateCurPos(x_15, 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 = lean_apply_1(x_1, x_17); +x_20 = l_Lean_PrettyPrinter_Delaborator_withBindingBody___rarg(x_13, x_19, x_2, x_3, x_4, x_5, x_6, x_18); +return x_20; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_withBindingBodyUnusedName(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_withBindingBodyUnusedName___rarg), 7, 0); +return x_2; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_liftMetaM___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = lean_apply_5(x_1, x_3, x_4, x_5, x_6, x_7); +return x_8; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_liftMetaM(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_liftMetaM___rarg___boxed), 7, 0); +return x_2; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_liftMetaM___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l_Lean_PrettyPrinter_Delaborator_liftMetaM___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_2); +return x_8; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabFor_match__1___rarg(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_object* x_5; +lean_dec(x_2); +x_4 = lean_box(0); +x_5 = lean_apply_1(x_3, x_4); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_3); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_apply_1(x_2, x_6); +return x_7; +} +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabFor_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabFor_match__1___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabFor_match__2___rarg(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_object* x_5; +lean_dec(x_3); +x_4 = lean_box(0); +x_5 = lean_apply_1(x_2, x_4); +return x_5; +} +else +{ +lean_object* x_6; +lean_dec(x_2); +x_6 = lean_apply_1(x_3, x_1); +return x_6; +} +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabFor_match__2(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabFor_match__2___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Std_PersistentHashMap_findAtAux___at_Lean_PrettyPrinter_Delaborator_delabFor___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; uint8_t x_7; +x_6 = lean_array_get_size(x_1); +x_7 = lean_nat_dec_lt(x_4, x_6); +lean_dec(x_6); +if (x_7 == 0) +{ +lean_object* x_8; +lean_dec(x_4); +x_8 = lean_box(0); +return x_8; +} +else +{ +lean_object* x_9; uint8_t x_10; +x_9 = lean_array_fget(x_1, x_4); +x_10 = lean_name_eq(x_5, x_9); +lean_dec(x_9); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; +x_11 = lean_unsigned_to_nat(1u); +x_12 = lean_nat_add(x_4, x_11); +lean_dec(x_4); +x_3 = lean_box(0); +x_4 = x_12; +goto _start; +} +else +{ +lean_object* x_14; lean_object* x_15; +x_14 = lean_array_fget(x_2, x_4); +lean_dec(x_4); +x_15 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_15, 0, x_14); +return x_15; +} +} +} +} +lean_object* l_Std_PersistentHashMap_findAux___at_Lean_PrettyPrinter_Delaborator_delabFor___spec__3(lean_object* x_1, size_t x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; size_t x_5; size_t x_6; size_t x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_4 = lean_ctor_get(x_1, 0); +lean_inc(x_4); +lean_dec(x_1); +x_5 = 5; +x_6 = l_Std_PersistentHashMap_insertAux___rarg___closed__2; +x_7 = x_2 & x_6; +x_8 = lean_usize_to_nat(x_7); +x_9 = lean_box(2); +x_10 = lean_array_get(x_9, x_4, x_8); +lean_dec(x_8); +lean_dec(x_4); +switch (lean_obj_tag(x_10)) { +case 0: +{ +lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_10, 1); +lean_inc(x_12); +lean_dec(x_10); +x_13 = lean_name_eq(x_3, x_11); +lean_dec(x_11); +if (x_13 == 0) +{ +lean_object* x_14; +lean_dec(x_12); +x_14 = lean_box(0); +return x_14; +} +else +{ +lean_object* x_15; +x_15 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_15, 0, x_12); +return x_15; +} +} +case 1: +{ +lean_object* x_16; size_t x_17; +x_16 = lean_ctor_get(x_10, 0); +lean_inc(x_16); +lean_dec(x_10); +x_17 = x_2 >> x_5; +x_1 = x_16; +x_2 = x_17; +goto _start; +} +default: +{ +lean_object* x_19; +x_19 = lean_box(0); +return x_19; +} +} +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_20 = lean_ctor_get(x_1, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_1, 1); +lean_inc(x_21); +lean_dec(x_1); +x_22 = lean_unsigned_to_nat(0u); +x_23 = l_Std_PersistentHashMap_findAtAux___at_Lean_PrettyPrinter_Delaborator_delabFor___spec__4(x_20, x_21, lean_box(0), x_22, x_3); +lean_dec(x_21); +lean_dec(x_20); +return x_23; +} +} +} +lean_object* l_Std_PersistentHashMap_find_x3f___at_Lean_PrettyPrinter_Delaborator_delabFor___spec__2(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; size_t x_4; lean_object* x_5; +x_3 = lean_ctor_get(x_1, 0); +lean_inc(x_3); +lean_dec(x_1); +x_4 = l_Lean_Name_hash(x_2); +x_5 = l_Std_PersistentHashMap_findAux___at_Lean_PrettyPrinter_Delaborator_delabFor___spec__3(x_3, x_4, x_2); +return x_5; +} +} +lean_object* l_Std_AssocList_find_x3f___at_Lean_PrettyPrinter_Delaborator_delabFor___spec__6(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_3; +x_3 = lean_box(0); +return x_3; +} +else +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7; +x_4 = lean_ctor_get(x_2, 0); +x_5 = lean_ctor_get(x_2, 1); +x_6 = lean_ctor_get(x_2, 2); +x_7 = lean_name_eq(x_4, x_1); +if (x_7 == 0) +{ +x_2 = x_6; +goto _start; +} +else +{ +lean_object* x_9; +lean_inc(x_5); +x_9 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_9, 0, x_5); +return x_9; +} +} +} +} +lean_object* l_Std_HashMapImp_find_x3f___at_Lean_PrettyPrinter_Delaborator_delabFor___spec__5(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; size_t x_5; size_t x_6; lean_object* x_7; lean_object* x_8; +x_3 = lean_ctor_get(x_1, 1); +x_4 = lean_array_get_size(x_3); +x_5 = l_Lean_Name_hash(x_2); +x_6 = lean_usize_modn(x_5, x_4); +lean_dec(x_4); +x_7 = lean_array_uget(x_3, x_6); +x_8 = l_Std_AssocList_find_x3f___at_Lean_PrettyPrinter_Delaborator_delabFor___spec__6(x_2, x_7); +lean_dec(x_7); +return x_8; +} +} +lean_object* l_Lean_SMap_find_x3f___at_Lean_PrettyPrinter_Delaborator_delabFor___spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; +x_3 = lean_ctor_get_uint8(x_1, sizeof(void*)*2); +if (x_3 == 0) +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_4 = lean_ctor_get(x_1, 0); +lean_inc(x_4); +x_5 = lean_ctor_get(x_1, 1); +lean_inc(x_5); +lean_dec(x_1); +x_6 = l_Std_PersistentHashMap_find_x3f___at_Lean_PrettyPrinter_Delaborator_delabFor___spec__2(x_5, x_2); +if (lean_obj_tag(x_6) == 0) +{ +lean_object* x_7; +x_7 = l_Std_HashMapImp_find_x3f___at_Lean_PrettyPrinter_Delaborator_delabFor___spec__5(x_4, x_2); +lean_dec(x_4); +return x_7; +} +else +{ +uint8_t x_8; +lean_dec(x_4); +x_8 = !lean_is_exclusive(x_6); +if (x_8 == 0) +{ +return x_6; +} +else +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_ctor_get(x_6, 0); +lean_inc(x_9); +lean_dec(x_6); +x_10 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_10, 0, x_9); +return x_10; +} +} +} +else +{ +lean_object* x_11; lean_object* x_12; +x_11 = lean_ctor_get(x_1, 0); +lean_inc(x_11); +lean_dec(x_1); +x_12 = l_Std_HashMapImp_find_x3f___at_Lean_PrettyPrinter_Delaborator_delabFor___spec__5(x_11, x_2); +lean_dec(x_11); +return x_12; +} +} +} +lean_object* l_List_firstM___at_Lean_PrettyPrinter_Delaborator_delabFor___spec__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_8; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_8 = l_Lean_PrettyPrinter_Delaborator_failure___rarg(x_7); +return x_8; +} +else +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_9 = lean_ctor_get(x_1, 0); +lean_inc(x_9); +x_10 = lean_ctor_get(x_1, 1); +lean_inc(x_10); +lean_dec(x_1); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +x_11 = lean_apply_6(x_9, x_2, x_3, x_4, x_5, x_6, x_7); +if (lean_obj_tag(x_11) == 0) +{ +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_11; +} +else +{ +lean_object* x_12; +x_12 = lean_ctor_get(x_11, 0); +lean_inc(x_12); +if (lean_obj_tag(x_12) == 0) +{ +uint8_t x_13; +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_13 = !lean_is_exclusive(x_11); +if (x_13 == 0) +{ +lean_object* x_14; +x_14 = lean_ctor_get(x_11, 0); +lean_dec(x_14); +return x_11; +} +else +{ +lean_object* x_15; lean_object* x_16; +x_15 = lean_ctor_get(x_11, 1); +lean_inc(x_15); +lean_dec(x_11); +x_16 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_16, 0, x_12); +lean_ctor_set(x_16, 1, x_15); +return x_16; +} +} +else +{ +uint8_t x_17; +x_17 = !lean_is_exclusive(x_11); +if (x_17 == 0) +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; +x_18 = lean_ctor_get(x_11, 1); +x_19 = lean_ctor_get(x_11, 0); +lean_dec(x_19); +x_20 = lean_ctor_get(x_12, 0); +lean_inc(x_20); +x_21 = l_Lean_PrettyPrinter_Delaborator_delabFailureId; +x_22 = lean_nat_dec_eq(x_21, x_20); +lean_dec(x_20); +if (x_22 == 0) +{ +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_11; +} +else +{ +lean_free_object(x_11); +lean_dec(x_12); +x_1 = x_10; +x_7 = x_18; +goto _start; +} +} +else +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; +x_24 = lean_ctor_get(x_11, 1); +lean_inc(x_24); +lean_dec(x_11); +x_25 = lean_ctor_get(x_12, 0); +lean_inc(x_25); +x_26 = l_Lean_PrettyPrinter_Delaborator_delabFailureId; +x_27 = lean_nat_dec_eq(x_26, x_25); +lean_dec(x_25); +if (x_27 == 0) +{ +lean_object* x_28; +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_28 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_28, 0, x_12); +lean_ctor_set(x_28, 1, x_24); +return x_28; +} +else +{ +lean_dec(x_12); +x_1 = x_10; +x_7 = x_24; +goto _start; +} +} +} +} +} +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabFor(lean_object* x_1, 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_1) == 0) +{ +lean_object* x_8; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_8 = l_Lean_PrettyPrinter_Delaborator_failure___rarg(x_7); +return x_8; +} +else +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_9 = lean_st_ref_get(x_6, x_7); +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_9, 1); +lean_inc(x_11); +lean_dec(x_9); +x_12 = lean_ctor_get(x_10, 0); +lean_inc(x_12); +lean_dec(x_10); +x_13 = l_Lean_PrettyPrinter_Delaborator_delabAttribute; +x_14 = lean_ctor_get(x_13, 2); +lean_inc(x_14); +x_15 = l_Lean_PersistentEnvExtension_getState___rarg(x_14, x_12); +lean_dec(x_12); +lean_dec(x_14); +x_16 = lean_ctor_get(x_15, 1); +lean_inc(x_16); +lean_dec(x_15); +x_17 = l_Lean_SMap_find_x3f___at_Lean_PrettyPrinter_Delaborator_delabFor___spec__1(x_16, x_1); +x_18 = l_Lean_Name_getRoot(x_1); +lean_dec(x_1); +if (lean_obj_tag(x_17) == 0) +{ +lean_object* x_19; uint8_t x_20; +x_19 = l_Lean_PrettyPrinter_Delaborator_failure___rarg(x_11); +x_20 = !lean_is_exclusive(x_19); +if (x_20 == 0) +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; +x_21 = lean_ctor_get(x_19, 0); +x_22 = lean_ctor_get(x_19, 1); +x_23 = lean_ctor_get(x_21, 0); +lean_inc(x_23); +x_24 = l_Lean_PrettyPrinter_Delaborator_delabFailureId; +x_25 = lean_nat_dec_eq(x_24, x_23); +lean_dec(x_23); +if (x_25 == 0) +{ +lean_dec(x_18); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_19; +} +else +{ +lean_free_object(x_19); +lean_dec(x_21); +x_1 = x_18; +x_7 = x_22; +goto _start; +} +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; +x_27 = lean_ctor_get(x_19, 0); +x_28 = lean_ctor_get(x_19, 1); +lean_inc(x_28); +lean_inc(x_27); +lean_dec(x_19); +x_29 = lean_ctor_get(x_27, 0); +lean_inc(x_29); +x_30 = l_Lean_PrettyPrinter_Delaborator_delabFailureId; +x_31 = lean_nat_dec_eq(x_30, x_29); +lean_dec(x_29); +if (x_31 == 0) +{ +lean_object* x_32; +lean_dec(x_18); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_32 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_32, 0, x_27); +lean_ctor_set(x_32, 1, x_28); +return x_32; +} +else +{ +lean_dec(x_27); +x_1 = x_18; +x_7 = x_28; +goto _start; +} +} +} +else +{ +lean_object* x_34; lean_object* x_35; +x_34 = lean_ctor_get(x_17, 0); +lean_inc(x_34); +lean_dec(x_17); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +x_35 = l_List_firstM___at_Lean_PrettyPrinter_Delaborator_delabFor___spec__7(x_34, x_2, x_3, x_4, x_5, x_6, x_11); +if (lean_obj_tag(x_35) == 0) +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; +lean_dec(x_18); +x_36 = lean_ctor_get(x_35, 0); +lean_inc(x_36); +x_37 = lean_ctor_get(x_35, 1); +lean_inc(x_37); +lean_dec(x_35); +x_38 = l_Lean_PrettyPrinter_Delaborator_annotateCurPos(x_36, x_2, x_3, x_4, x_5, x_6, x_37); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_38; +} +else +{ +lean_object* x_39; +x_39 = lean_ctor_get(x_35, 0); +lean_inc(x_39); +if (lean_obj_tag(x_39) == 0) +{ +uint8_t x_40; +lean_dec(x_18); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_40 = !lean_is_exclusive(x_35); +if (x_40 == 0) +{ +lean_object* x_41; +x_41 = lean_ctor_get(x_35, 0); +lean_dec(x_41); +return x_35; +} +else +{ +lean_object* x_42; lean_object* x_43; +x_42 = lean_ctor_get(x_35, 1); +lean_inc(x_42); +lean_dec(x_35); +x_43 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_43, 0, x_39); +lean_ctor_set(x_43, 1, x_42); +return x_43; +} +} +else +{ +uint8_t x_44; +x_44 = !lean_is_exclusive(x_35); +if (x_44 == 0) +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; uint8_t x_49; +x_45 = lean_ctor_get(x_35, 1); +x_46 = lean_ctor_get(x_35, 0); +lean_dec(x_46); +x_47 = lean_ctor_get(x_39, 0); +lean_inc(x_47); +x_48 = l_Lean_PrettyPrinter_Delaborator_delabFailureId; +x_49 = lean_nat_dec_eq(x_48, x_47); +lean_dec(x_47); +if (x_49 == 0) +{ +lean_dec(x_18); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_35; +} +else +{ +lean_free_object(x_35); +lean_dec(x_39); +x_1 = x_18; +x_7 = x_45; +goto _start; +} +} +else +{ +lean_object* x_51; lean_object* x_52; lean_object* x_53; uint8_t x_54; +x_51 = lean_ctor_get(x_35, 1); +lean_inc(x_51); +lean_dec(x_35); +x_52 = lean_ctor_get(x_39, 0); +lean_inc(x_52); +x_53 = l_Lean_PrettyPrinter_Delaborator_delabFailureId; +x_54 = lean_nat_dec_eq(x_53, x_52); +lean_dec(x_52); +if (x_54 == 0) +{ +lean_object* x_55; +lean_dec(x_18); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_55 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_55, 0, x_39); +lean_ctor_set(x_55, 1, x_51); +return x_55; +} +else +{ +lean_dec(x_39); +x_1 = x_18; +x_7 = x_51; +goto _start; +} +} +} +} +} +} +} +} +lean_object* l_Std_PersistentHashMap_findAtAux___at_Lean_PrettyPrinter_Delaborator_delabFor___spec__4___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_PersistentHashMap_findAtAux___at_Lean_PrettyPrinter_Delaborator_delabFor___spec__4(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +return x_6; +} +} +lean_object* l_Std_PersistentHashMap_findAux___at_Lean_PrettyPrinter_Delaborator_delabFor___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +size_t x_4; lean_object* x_5; +x_4 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_5 = l_Std_PersistentHashMap_findAux___at_Lean_PrettyPrinter_Delaborator_delabFor___spec__3(x_1, x_4, x_3); +lean_dec(x_3); +return x_5; +} +} +lean_object* l_Std_PersistentHashMap_find_x3f___at_Lean_PrettyPrinter_Delaborator_delabFor___spec__2___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Std_PersistentHashMap_find_x3f___at_Lean_PrettyPrinter_Delaborator_delabFor___spec__2(x_1, x_2); +lean_dec(x_2); +return x_3; +} +} +lean_object* l_Std_AssocList_find_x3f___at_Lean_PrettyPrinter_Delaborator_delabFor___spec__6___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Std_AssocList_find_x3f___at_Lean_PrettyPrinter_Delaborator_delabFor___spec__6(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} +lean_object* l_Std_HashMapImp_find_x3f___at_Lean_PrettyPrinter_Delaborator_delabFor___spec__5___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Std_HashMapImp_find_x3f___at_Lean_PrettyPrinter_Delaborator_delabFor___spec__5(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} +lean_object* l_Lean_SMap_find_x3f___at_Lean_PrettyPrinter_Delaborator_delabFor___spec__1___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_SMap_find_x3f___at_Lean_PrettyPrinter_Delaborator_delabFor___spec__1(x_1, x_2); +lean_dec(x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delab___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("don't know how to delaborate '"); +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delab___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_PrettyPrinter_Delaborator_delab___closed__1; +x_2 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delab___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_PrettyPrinter_Delaborator_delab___closed__2; +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_Delaborator_delab___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_instReprChar___closed__1; +x_2 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delab___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_PrettyPrinter_Delaborator_delab___closed__4; +x_2 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delab(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_7 = l_Lean_PrettyPrinter_Delaborator_getExprKind(x_1, x_2, x_3, x_4, x_5, x_6); +x_8 = lean_ctor_get(x_7, 0); +lean_inc(x_8); +x_9 = lean_ctor_get(x_7, 1); +lean_inc(x_9); +lean_dec(x_7); +x_10 = l_Lean_Name_toString___closed__1; +lean_inc(x_8); +x_11 = l_Lean_Name_toStringWithSep(x_10, x_8); +x_12 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_12, 0, x_11); +x_13 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_13, 0, x_12); +x_14 = l_Lean_PrettyPrinter_Delaborator_delab___closed__3; +x_15 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_13); +x_16 = l_Lean_PrettyPrinter_Delaborator_delab___closed__5; +x_17 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_17, 0, x_15); +lean_ctor_set(x_17, 1, x_16); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +x_18 = l_Lean_PrettyPrinter_Delaborator_delabFor(x_8, x_1, x_2, x_3, x_4, x_5, x_9); +if (lean_obj_tag(x_18) == 0) +{ +lean_dec(x_17); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_18; +} +else +{ +lean_object* x_19; +x_19 = lean_ctor_get(x_18, 0); +lean_inc(x_19); +if (lean_obj_tag(x_19) == 0) +{ +uint8_t x_20; +lean_dec(x_17); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_20 = !lean_is_exclusive(x_18); +if (x_20 == 0) +{ +lean_object* x_21; +x_21 = lean_ctor_get(x_18, 0); +lean_dec(x_21); +return x_18; +} +else +{ +lean_object* x_22; lean_object* x_23; +x_22 = lean_ctor_get(x_18, 1); +lean_inc(x_22); +lean_dec(x_18); +x_23 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_23, 0, x_19); +lean_ctor_set(x_23, 1, x_22); +return x_23; +} +} +else +{ +uint8_t x_24; +x_24 = !lean_is_exclusive(x_18); +if (x_24 == 0) +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; +x_25 = lean_ctor_get(x_18, 1); +x_26 = lean_ctor_get(x_18, 0); +lean_dec(x_26); +x_27 = lean_ctor_get(x_19, 0); +lean_inc(x_27); +x_28 = l_Lean_PrettyPrinter_Delaborator_delabFailureId; +x_29 = lean_nat_dec_eq(x_28, x_27); +lean_dec(x_27); +if (x_29 == 0) +{ +lean_dec(x_17); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_18; +} +else +{ +lean_object* x_30; +lean_free_object(x_18); +lean_dec(x_19); +x_30 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1019____spec__1___rarg(x_17, x_2, x_3, x_4, x_5, x_25); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_30; +} +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; +x_31 = lean_ctor_get(x_18, 1); +lean_inc(x_31); +lean_dec(x_18); +x_32 = lean_ctor_get(x_19, 0); +lean_inc(x_32); +x_33 = l_Lean_PrettyPrinter_Delaborator_delabFailureId; +x_34 = lean_nat_dec_eq(x_33, x_32); +lean_dec(x_32); +if (x_34 == 0) +{ +lean_object* x_35; +lean_dec(x_17); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_35 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_35, 0, x_19); +lean_ctor_set(x_35, 1, x_31); +return x_35; +} +else +{ +lean_object* x_36; +lean_dec(x_19); +x_36 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1019____spec__1___rarg(x_17, x_2, x_3, x_4, x_5, x_31); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_36; +} +} +} +} +} +} +static lean_object* _init_l_Lean_PrettyPrinter_delab___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Lean.PrettyPrinter.delab"); +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_delab___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_1 = l_Lean_PrettyPrinter_Delaborator_withAppFn___rarg___closed__2; +x_2 = l_Lean_PrettyPrinter_delab___closed__1; +x_3 = lean_unsigned_to_nat(272u); +x_4 = lean_unsigned_to_nat(14u); +x_5 = l_Lean_Syntax_strLitToAtom___closed__3; +x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); +return x_6; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_delab___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_PrettyPrinter_Delaborator_mkDelabAttribute___closed__5; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_delab___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_PrettyPrinter_delab___closed__3; +x_2 = l_Lean_PrettyPrinter_Delaborator_mkDelabAttribute___closed__3; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_delab___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("input"); +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_delab___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_PrettyPrinter_delab___closed__4; +x_2 = l_Lean_PrettyPrinter_delab___closed__5; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +lean_object* l_Lean_PrettyPrinter_delab(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; uint8_t x_40; lean_object* x_41; lean_object* x_51; lean_object* x_52; lean_object* x_53; uint8_t x_54; +x_51 = lean_st_ref_get(x_8, x_9); +x_52 = lean_ctor_get(x_51, 0); +lean_inc(x_52); +x_53 = lean_ctor_get(x_52, 3); +lean_inc(x_53); +lean_dec(x_52); +x_54 = lean_ctor_get_uint8(x_53, sizeof(void*)*1); +lean_dec(x_53); +if (x_54 == 0) +{ +lean_object* x_55; uint8_t x_56; +x_55 = lean_ctor_get(x_51, 1); +lean_inc(x_55); +lean_dec(x_51); +x_56 = 0; +x_40 = x_56; +x_41 = x_55; +goto block_50; +} +else +{ +lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; uint8_t x_62; +x_57 = lean_ctor_get(x_51, 1); +lean_inc(x_57); +lean_dec(x_51); +x_58 = l_Lean_PrettyPrinter_delab___closed__6; +x_59 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_58, x_5, x_6, x_7, x_8, x_57); +x_60 = lean_ctor_get(x_59, 0); +lean_inc(x_60); +x_61 = lean_ctor_get(x_59, 1); +lean_inc(x_61); +lean_dec(x_59); +x_62 = lean_unbox(x_60); +lean_dec(x_60); +x_40 = x_62; +x_41 = x_61; +goto block_50; +} +block_39: +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_11 = lean_ctor_get(x_7, 0); +lean_inc(x_11); +x_12 = lean_unsigned_to_nat(1u); +x_13 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_13, 0, x_3); +lean_ctor_set(x_13, 1, x_12); +lean_ctor_set(x_13, 2, x_11); +lean_ctor_set(x_13, 3, x_4); +lean_ctor_set(x_13, 4, x_1); +lean_ctor_set(x_13, 5, x_2); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_14 = l_Lean_PrettyPrinter_Delaborator_delab(x_13, x_5, x_6, x_7, x_8, x_10); +if (lean_obj_tag(x_14) == 0) +{ +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +return x_14; +} +else +{ +lean_object* x_15; +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +if (lean_obj_tag(x_15) == 0) +{ +uint8_t x_16; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_16 = !lean_is_exclusive(x_14); +if (x_16 == 0) +{ +lean_object* x_17; +x_17 = lean_ctor_get(x_14, 0); +lean_dec(x_17); +return x_14; +} +else +{ +lean_object* x_18; lean_object* x_19; +x_18 = lean_ctor_get(x_14, 1); +lean_inc(x_18); +lean_dec(x_14); +x_19 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_19, 0, x_15); +lean_ctor_set(x_19, 1, x_18); +return x_19; +} +} +else +{ +uint8_t x_20; +x_20 = !lean_is_exclusive(x_14); +if (x_20 == 0) +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; +x_21 = lean_ctor_get(x_14, 1); +x_22 = lean_ctor_get(x_14, 0); +lean_dec(x_22); +x_23 = lean_ctor_get(x_15, 0); +lean_inc(x_23); +x_24 = l_Lean_PrettyPrinter_Delaborator_delabFailureId; +x_25 = lean_nat_dec_eq(x_24, x_23); +lean_dec(x_23); +if (x_25 == 0) +{ +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +return x_14; +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; +lean_free_object(x_14); +lean_dec(x_15); +x_26 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___closed__1; +x_27 = l_Lean_PrettyPrinter_delab___closed__2; +x_28 = lean_panic_fn(x_26, x_27); +x_29 = lean_apply_5(x_28, x_5, x_6, x_7, x_8, x_21); +return x_29; +} +} +else +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; +x_30 = lean_ctor_get(x_14, 1); +lean_inc(x_30); +lean_dec(x_14); +x_31 = lean_ctor_get(x_15, 0); +lean_inc(x_31); +x_32 = l_Lean_PrettyPrinter_Delaborator_delabFailureId; +x_33 = lean_nat_dec_eq(x_32, x_31); +lean_dec(x_31); +if (x_33 == 0) +{ +lean_object* x_34; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_34 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_34, 0, x_15); +lean_ctor_set(x_34, 1, x_30); +return x_34; +} +else +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; +lean_dec(x_15); +x_35 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfEasyCases___closed__1; +x_36 = l_Lean_PrettyPrinter_delab___closed__2; +x_37 = lean_panic_fn(x_35, x_36); +x_38 = lean_apply_5(x_37, x_5, x_6, x_7, x_8, x_30); +return x_38; +} +} +} +} +} +block_50: +{ +if (x_40 == 0) +{ +x_10 = x_41; +goto block_39; +} +else +{ +lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_42 = l_Lean_fmt___at_Lean_ppExpr___spec__4(x_3); +x_43 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_43, 0, x_42); +x_44 = l_Array_foldlMUnsafe_fold___at_Lean_withNestedTraces___spec__5___closed__1; +x_45 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_45, 0, x_44); +lean_ctor_set(x_45, 1, x_43); +x_46 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_46, 0, x_45); +lean_ctor_set(x_46, 1, x_44); +x_47 = l_Lean_PrettyPrinter_delab___closed__6; +x_48 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_47, x_46, x_5, x_6, x_7, x_8, x_41); +x_49 = lean_ctor_get(x_48, 1); +lean_inc(x_49); +lean_dec(x_48); +x_10 = x_49; +goto block_39; +} +} +} +} +lean_object* l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_2036_(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l_Lean_PrettyPrinter_delab___closed__4; +x_3 = l_Lean_registerTraceClass(x_2, x_1); +return x_3; +} +} +lean_object* initialize_Init(lean_object*); +lean_object* initialize_Lean_KeyedDeclsAttribute(lean_object*); +lean_object* initialize_Lean_ProjFns(lean_object*); +lean_object* initialize_Lean_Syntax(lean_object*); +lean_object* initialize_Lean_Meta_Match(lean_object*); +lean_object* initialize_Lean_Elab_Term(lean_object*); +static bool _G_initialized = false; +lean_object* initialize_Lean_PrettyPrinter_Delaborator_Basic(lean_object* w) { +lean_object * res; +if (_G_initialized) return lean_io_result_mk_ok(lean_box(0)); +_G_initialized = true; +res = initialize_Init(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_KeyedDeclsAttribute(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_ProjFns(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Syntax(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Meta_Match(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Elab_Term(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_Level_quote___lambda__2___closed__1 = _init_l_Lean_Level_quote___lambda__2___closed__1(); +lean_mark_persistent(l_Lean_Level_quote___lambda__2___closed__1); +l_Lean_Level_quote___lambda__4___closed__1 = _init_l_Lean_Level_quote___lambda__4___closed__1(); +lean_mark_persistent(l_Lean_Level_quote___lambda__4___closed__1); +l_Lean_Level_quote___lambda__4___closed__2 = _init_l_Lean_Level_quote___lambda__4___closed__2(); +lean_mark_persistent(l_Lean_Level_quote___lambda__4___closed__2); +l_Lean_Level_quote___lambda__6___closed__1 = _init_l_Lean_Level_quote___lambda__6___closed__1(); +lean_mark_persistent(l_Lean_Level_quote___lambda__6___closed__1); +l_Lean_Level_quote___lambda__6___closed__2 = _init_l_Lean_Level_quote___lambda__6___closed__2(); +lean_mark_persistent(l_Lean_Level_quote___lambda__6___closed__2); +l_Lean_Level_quote___closed__1 = _init_l_Lean_Level_quote___closed__1(); +lean_mark_persistent(l_Lean_Level_quote___closed__1); +l_Lean_Level_quote___closed__2 = _init_l_Lean_Level_quote___closed__2(); +lean_mark_persistent(l_Lean_Level_quote___closed__2); +l_Lean_Level_quote___closed__3 = _init_l_Lean_Level_quote___closed__3(); +lean_mark_persistent(l_Lean_Level_quote___closed__3); +l_Lean_Level_quote___closed__4 = _init_l_Lean_Level_quote___closed__4(); +lean_mark_persistent(l_Lean_Level_quote___closed__4); +l_Lean_Level_quote___closed__5 = _init_l_Lean_Level_quote___closed__5(); +lean_mark_persistent(l_Lean_Level_quote___closed__5); +l_Lean_Level_quote___closed__6 = _init_l_Lean_Level_quote___closed__6(); +lean_mark_persistent(l_Lean_Level_quote___closed__6); +l_Lean_Level_instQuoteLevel___closed__1 = _init_l_Lean_Level_instQuoteLevel___closed__1(); +lean_mark_persistent(l_Lean_Level_instQuoteLevel___closed__1); +l_Lean_Level_instQuoteLevel = _init_l_Lean_Level_instQuoteLevel(); +lean_mark_persistent(l_Lean_Level_instQuoteLevel); +l_Lean_getPPBinderTypes___closed__1 = _init_l_Lean_getPPBinderTypes___closed__1(); +lean_mark_persistent(l_Lean_getPPBinderTypes___closed__1); +l_Lean_getPPBinderTypes___closed__2 = _init_l_Lean_getPPBinderTypes___closed__2(); +lean_mark_persistent(l_Lean_getPPBinderTypes___closed__2); +l_Lean_getPPCoercions___closed__1 = _init_l_Lean_getPPCoercions___closed__1(); +lean_mark_persistent(l_Lean_getPPCoercions___closed__1); +l_Lean_getPPCoercions___closed__2 = _init_l_Lean_getPPCoercions___closed__2(); +lean_mark_persistent(l_Lean_getPPCoercions___closed__2); +l_Lean_getPPExplicit___closed__1 = _init_l_Lean_getPPExplicit___closed__1(); +lean_mark_persistent(l_Lean_getPPExplicit___closed__1); +l_Lean_getPPNotation___closed__1 = _init_l_Lean_getPPNotation___closed__1(); +lean_mark_persistent(l_Lean_getPPNotation___closed__1); +l_Lean_getPPNotation___closed__2 = _init_l_Lean_getPPNotation___closed__2(); +lean_mark_persistent(l_Lean_getPPNotation___closed__2); +l_Lean_getPPStructureProjections___closed__1 = _init_l_Lean_getPPStructureProjections___closed__1(); +lean_mark_persistent(l_Lean_getPPStructureProjections___closed__1); +l_Lean_getPPStructureProjections___closed__2 = _init_l_Lean_getPPStructureProjections___closed__2(); +lean_mark_persistent(l_Lean_getPPStructureProjections___closed__2); +l_Lean_getPPStructureInstances___closed__1 = _init_l_Lean_getPPStructureInstances___closed__1(); +lean_mark_persistent(l_Lean_getPPStructureInstances___closed__1); +l_Lean_getPPStructureInstances___closed__2 = _init_l_Lean_getPPStructureInstances___closed__2(); +lean_mark_persistent(l_Lean_getPPStructureInstances___closed__2); +l_Lean_getPPStructureInstanceType___closed__1 = _init_l_Lean_getPPStructureInstanceType___closed__1(); +lean_mark_persistent(l_Lean_getPPStructureInstanceType___closed__1); +l_Lean_getPPStructureInstanceType___closed__2 = _init_l_Lean_getPPStructureInstanceType___closed__2(); +lean_mark_persistent(l_Lean_getPPStructureInstanceType___closed__2); +l_Lean_getPPUniverses___closed__1 = _init_l_Lean_getPPUniverses___closed__1(); +lean_mark_persistent(l_Lean_getPPUniverses___closed__1); +l_Lean_getPPUniverses___closed__2 = _init_l_Lean_getPPUniverses___closed__2(); +lean_mark_persistent(l_Lean_getPPUniverses___closed__2); +l_Lean_getPPFullNames___closed__1 = _init_l_Lean_getPPFullNames___closed__1(); +lean_mark_persistent(l_Lean_getPPFullNames___closed__1); +l_Lean_getPPFullNames___closed__2 = _init_l_Lean_getPPFullNames___closed__2(); +lean_mark_persistent(l_Lean_getPPFullNames___closed__2); +l_Lean_getPPPrivateNames___closed__1 = _init_l_Lean_getPPPrivateNames___closed__1(); +lean_mark_persistent(l_Lean_getPPPrivateNames___closed__1); +l_Lean_getPPPrivateNames___closed__2 = _init_l_Lean_getPPPrivateNames___closed__2(); +lean_mark_persistent(l_Lean_getPPPrivateNames___closed__2); +l_Lean_getPPUnicode___closed__1 = _init_l_Lean_getPPUnicode___closed__1(); +lean_mark_persistent(l_Lean_getPPUnicode___closed__1); +l_Lean_getPPAll___closed__1 = _init_l_Lean_getPPAll___closed__1(); +lean_mark_persistent(l_Lean_getPPAll___closed__1); +l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_574____closed__1 = _init_l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_574____closed__1(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_574____closed__1); +l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_574____closed__2 = _init_l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_574____closed__2(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_574____closed__2); +l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_574____closed__3 = _init_l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_574____closed__3(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_574____closed__3); +l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_574____closed__4 = _init_l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_574____closed__4(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_574____closed__4); +res = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_574_(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_PrettyPrinter_Delaborator_Context_pos___default = _init_l_Lean_PrettyPrinter_Delaborator_Context_pos___default(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_Context_pos___default); +l_Lean_PrettyPrinter_Delaborator_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_627____closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_627____closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_627____closed__1); +l_Lean_PrettyPrinter_Delaborator_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_627____closed__2 = _init_l_Lean_PrettyPrinter_Delaborator_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_627____closed__2(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_627____closed__2); +res = l_Lean_PrettyPrinter_Delaborator_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_627_(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +l_Lean_PrettyPrinter_Delaborator_delabFailureId = lean_io_result_get_value(res); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabFailureId); +lean_dec_ref(res); +l_Lean_PrettyPrinter_Delaborator_instInhabitedDelabM___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_instInhabitedDelabM___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_instInhabitedDelabM___closed__1); +l_Lean_PrettyPrinter_Delaborator_failure___rarg___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_failure___rarg___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_failure___rarg___closed__1); +l_Lean_PrettyPrinter_Delaborator_instAlternativeDelabM___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_instAlternativeDelabM___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_instAlternativeDelabM___closed__1); +l_Lean_PrettyPrinter_Delaborator_instAlternativeDelabM___closed__2 = _init_l_Lean_PrettyPrinter_Delaborator_instAlternativeDelabM___closed__2(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_instAlternativeDelabM___closed__2); +l_Lean_PrettyPrinter_Delaborator_instAlternativeDelabM___closed__3 = _init_l_Lean_PrettyPrinter_Delaborator_instAlternativeDelabM___closed__3(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_instAlternativeDelabM___closed__3); +l_Lean_PrettyPrinter_Delaborator_instAlternativeDelabM = _init_l_Lean_PrettyPrinter_Delaborator_instAlternativeDelabM(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_instAlternativeDelabM); +l_Lean_PrettyPrinter_Delaborator_instOrElseDelabM___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_instOrElseDelabM___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_instOrElseDelabM___closed__1); +l_Lean_PrettyPrinter_Delaborator_instMonadQuotationDelabM___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_instMonadQuotationDelabM___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_instMonadQuotationDelabM___closed__1); +l_Lean_PrettyPrinter_Delaborator_instMonadQuotationDelabM___closed__2 = _init_l_Lean_PrettyPrinter_Delaborator_instMonadQuotationDelabM___closed__2(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_instMonadQuotationDelabM___closed__2); +l_Lean_PrettyPrinter_Delaborator_instMonadQuotationDelabM___closed__3 = _init_l_Lean_PrettyPrinter_Delaborator_instMonadQuotationDelabM___closed__3(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_instMonadQuotationDelabM___closed__3); +l_Lean_PrettyPrinter_Delaborator_instMonadQuotationDelabM___closed__4 = _init_l_Lean_PrettyPrinter_Delaborator_instMonadQuotationDelabM___closed__4(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_instMonadQuotationDelabM___closed__4); +l_Lean_PrettyPrinter_Delaborator_instMonadQuotationDelabM = _init_l_Lean_PrettyPrinter_Delaborator_instMonadQuotationDelabM(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_instMonadQuotationDelabM); +l_Lean_PrettyPrinter_Delaborator_mkDelabAttribute___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_mkDelabAttribute___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_mkDelabAttribute___closed__1); +l_Lean_PrettyPrinter_Delaborator_mkDelabAttribute___closed__2 = _init_l_Lean_PrettyPrinter_Delaborator_mkDelabAttribute___closed__2(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_mkDelabAttribute___closed__2); +l_Lean_PrettyPrinter_Delaborator_mkDelabAttribute___closed__3 = _init_l_Lean_PrettyPrinter_Delaborator_mkDelabAttribute___closed__3(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_mkDelabAttribute___closed__3); +l_Lean_PrettyPrinter_Delaborator_mkDelabAttribute___closed__4 = _init_l_Lean_PrettyPrinter_Delaborator_mkDelabAttribute___closed__4(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_mkDelabAttribute___closed__4); +l_Lean_PrettyPrinter_Delaborator_mkDelabAttribute___closed__5 = _init_l_Lean_PrettyPrinter_Delaborator_mkDelabAttribute___closed__5(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_mkDelabAttribute___closed__5); +l_Lean_PrettyPrinter_Delaborator_mkDelabAttribute___closed__6 = _init_l_Lean_PrettyPrinter_Delaborator_mkDelabAttribute___closed__6(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_mkDelabAttribute___closed__6); +l_Lean_PrettyPrinter_Delaborator_mkDelabAttribute___closed__7 = _init_l_Lean_PrettyPrinter_Delaborator_mkDelabAttribute___closed__7(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_mkDelabAttribute___closed__7); +l_Lean_PrettyPrinter_Delaborator_mkDelabAttribute___closed__8 = _init_l_Lean_PrettyPrinter_Delaborator_mkDelabAttribute___closed__8(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_mkDelabAttribute___closed__8); +l_Lean_PrettyPrinter_Delaborator_mkDelabAttribute___closed__9 = _init_l_Lean_PrettyPrinter_Delaborator_mkDelabAttribute___closed__9(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_mkDelabAttribute___closed__9); +l_Lean_PrettyPrinter_Delaborator_mkDelabAttribute___closed__10 = _init_l_Lean_PrettyPrinter_Delaborator_mkDelabAttribute___closed__10(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_mkDelabAttribute___closed__10); +l_Lean_PrettyPrinter_Delaborator_mkDelabAttribute___closed__11 = _init_l_Lean_PrettyPrinter_Delaborator_mkDelabAttribute___closed__11(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_mkDelabAttribute___closed__11); +l_Lean_PrettyPrinter_Delaborator_mkDelabAttribute___closed__12 = _init_l_Lean_PrettyPrinter_Delaborator_mkDelabAttribute___closed__12(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_mkDelabAttribute___closed__12); +l_Lean_PrettyPrinter_Delaborator_mkDelabAttribute___closed__13 = _init_l_Lean_PrettyPrinter_Delaborator_mkDelabAttribute___closed__13(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_mkDelabAttribute___closed__13); +l_Lean_PrettyPrinter_Delaborator_mkDelabAttribute___closed__14 = _init_l_Lean_PrettyPrinter_Delaborator_mkDelabAttribute___closed__14(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_mkDelabAttribute___closed__14); +res = l_Lean_PrettyPrinter_Delaborator_mkDelabAttribute(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +l_Lean_PrettyPrinter_Delaborator_delabAttribute = lean_io_result_get_value(res); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabAttribute); +lean_dec_ref(res); +l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__1); +l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__2 = _init_l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__2(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__2); +l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__3 = _init_l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__3(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__3); +l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__4 = _init_l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__4(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__4); +l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__5 = _init_l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__5(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__5); +l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__6 = _init_l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__6(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__6); +l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__7 = _init_l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__7(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__7); +l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__8 = _init_l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__8(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__8); +l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__9 = _init_l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__9(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__9); +l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__10 = _init_l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__10(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__10); +l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__11 = _init_l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__11(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__11); +l_Lean_PrettyPrinter_Delaborator_withAppFn___rarg___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_withAppFn___rarg___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_withAppFn___rarg___closed__1); +l_Lean_PrettyPrinter_Delaborator_withAppFn___rarg___closed__2 = _init_l_Lean_PrettyPrinter_Delaborator_withAppFn___rarg___closed__2(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_withAppFn___rarg___closed__2); +l_Lean_PrettyPrinter_Delaborator_withAppFn___rarg___closed__3 = _init_l_Lean_PrettyPrinter_Delaborator_withAppFn___rarg___closed__3(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_withAppFn___rarg___closed__3); +l_Lean_PrettyPrinter_Delaborator_withAppFn___rarg___closed__4 = _init_l_Lean_PrettyPrinter_Delaborator_withAppFn___rarg___closed__4(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_withAppFn___rarg___closed__4); +l_Lean_PrettyPrinter_Delaborator_withAppArg___rarg___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_withAppArg___rarg___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_withAppArg___rarg___closed__1); +l_Lean_PrettyPrinter_Delaborator_withAppArg___rarg___closed__2 = _init_l_Lean_PrettyPrinter_Delaborator_withAppArg___rarg___closed__2(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_withAppArg___rarg___closed__2); +l_Lean_PrettyPrinter_Delaborator_withProj___rarg___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_withProj___rarg___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_withProj___rarg___closed__1); +l_Lean_PrettyPrinter_Delaborator_withProj___rarg___closed__2 = _init_l_Lean_PrettyPrinter_Delaborator_withProj___rarg___closed__2(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_withProj___rarg___closed__2); +l_Lean_PrettyPrinter_Delaborator_withMDataExpr___rarg___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_withMDataExpr___rarg___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_withMDataExpr___rarg___closed__1); +l_Lean_PrettyPrinter_Delaborator_withMDataExpr___rarg___closed__2 = _init_l_Lean_PrettyPrinter_Delaborator_withMDataExpr___rarg___closed__2(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_withMDataExpr___rarg___closed__2); +l_Lean_PrettyPrinter_Delaborator_annotatePos___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_annotatePos___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_annotatePos___closed__1); +l_Lean_PrettyPrinter_Delaborator_delab___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delab___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delab___closed__1); +l_Lean_PrettyPrinter_Delaborator_delab___closed__2 = _init_l_Lean_PrettyPrinter_Delaborator_delab___closed__2(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delab___closed__2); +l_Lean_PrettyPrinter_Delaborator_delab___closed__3 = _init_l_Lean_PrettyPrinter_Delaborator_delab___closed__3(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delab___closed__3); +l_Lean_PrettyPrinter_Delaborator_delab___closed__4 = _init_l_Lean_PrettyPrinter_Delaborator_delab___closed__4(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delab___closed__4); +l_Lean_PrettyPrinter_Delaborator_delab___closed__5 = _init_l_Lean_PrettyPrinter_Delaborator_delab___closed__5(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delab___closed__5); +l_Lean_PrettyPrinter_delab___closed__1 = _init_l_Lean_PrettyPrinter_delab___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_delab___closed__1); +l_Lean_PrettyPrinter_delab___closed__2 = _init_l_Lean_PrettyPrinter_delab___closed__2(); +lean_mark_persistent(l_Lean_PrettyPrinter_delab___closed__2); +l_Lean_PrettyPrinter_delab___closed__3 = _init_l_Lean_PrettyPrinter_delab___closed__3(); +lean_mark_persistent(l_Lean_PrettyPrinter_delab___closed__3); +l_Lean_PrettyPrinter_delab___closed__4 = _init_l_Lean_PrettyPrinter_delab___closed__4(); +lean_mark_persistent(l_Lean_PrettyPrinter_delab___closed__4); +l_Lean_PrettyPrinter_delab___closed__5 = _init_l_Lean_PrettyPrinter_delab___closed__5(); +lean_mark_persistent(l_Lean_PrettyPrinter_delab___closed__5); +l_Lean_PrettyPrinter_delab___closed__6 = _init_l_Lean_PrettyPrinter_delab___closed__6(); +lean_mark_persistent(l_Lean_PrettyPrinter_delab___closed__6); +res = l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_2036_(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)); +} +#ifdef __cplusplus +} +#endif diff --git a/stage0/stdlib/Lean/PrettyPrinter/Delaborator/Builtins.c b/stage0/stdlib/Lean/PrettyPrinter/Delaborator/Builtins.c new file mode 100644 index 0000000000..7834b27204 --- /dev/null +++ b/stage0/stdlib/Lean/PrettyPrinter/Delaborator/Builtins.c @@ -0,0 +1,26931 @@ +// Lean compiler output +// Module: Lean.PrettyPrinter.Delaborator.Builtins +// Imports: Init Lean.PrettyPrinter.Delaborator.Basic +#include +#if defined(__clang__) +#pragma clang diagnostic ignored "-Wunused-parameter" +#pragma clang diagnostic ignored "-Wunused-label" +#elif defined(__GNUC__) && !defined(__CLANG__) +#pragma GCC diagnostic ignored "-Wunused-parameter" +#pragma GCC diagnostic ignored "-Wunused-label" +#pragma GCC diagnostic ignored "-Wunused-but-set-variable" +#endif +#ifdef __cplusplus +extern "C" { +#endif +lean_object* l_Lean_PrettyPrinter_Delaborator_getParamKinds(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabOrM___lambda__1___closed__2; +lean_object* l_Lean_Level_dec(lean_object*); +lean_object* l_Array_mapIdxM_map___at_Lean_PrettyPrinter_Delaborator_delabStructureInstance___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l___kind_term____x40_Init_Notation___hyg_4665____closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_AppMatchState_moreArgs___default; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabProjectionApp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppImplicit___closed__4; +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabOne___closed__3; +extern lean_object* l_Lean_Name_toString___closed__1; +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabNe(lean_object*); +extern lean_object* l_myMacro____x40_Init_Notation___hyg_8830____closed__4; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabHEq___lambda__1___closed__3; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_8830____closed__13; +lean_object* l_Array_mapIdxM_map___at_Lean_PrettyPrinter_Delaborator_delabStructureInstance___spec__1___closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAnd(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabTuple___closed__1; +extern lean_object* l_Lean_Meta_Match_Pattern_toExpr_visit___closed__2; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabseqLeft(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +size_t l_USize_add(size_t, size_t); +extern lean_object* l_Lean_fieldIdxKind; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabStructureInstance___lambda__3___closed__4; +extern lean_object* l_Lean_PrettyPrinter_Delaborator_delabFailureId; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabMData(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabDoElems___closed__1; +lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingAuxAux___rarg(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_foldrMUnsafe_fold___at_Lean_PrettyPrinter_Delaborator_delabForall___spec__2(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l___kind_term____x40_Init_Control_Basic___hyg_475____closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabLam___lambda__3___closed__4; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabConst___closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAdd___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_mapIdxM_map___at_Lean_PrettyPrinter_Delaborator_delabStructureInstance___spec__1___closed__2; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabStructureInstance___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_getParamKinds___lambda__1___boxed__const__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabMData_match__1___rarg(lean_object*, lean_object*); +extern lean_object* l_Lean_Syntax_strLitToAtom___closed__3; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__3___closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppMatch_match__3(lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__3___closed__7; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppMatch_match__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabEquiv___lambda__1___closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabListToArray___lambda__1___closed__2; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabTuple___closed__2; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_1210____closed__4; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_2714____closed__6; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabTuple___lambda__1___closed__2; +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabLetE___closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabEquiv___lambda__1___closed__2; +lean_object* lean_mk_empty_array_with_capacity(lean_object*); +lean_object* l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_getParamKinds___spec__1(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__2; +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabMul(lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabProjectionApp_match__1___rarg(lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_9654____closed__4; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabLit_match__2___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabDiv___closed__3; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabOrM___lambda__1___closed__1; +extern lean_object* l_addParenHeuristic___closed__2; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabLam_match__1___rarg(uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabNil___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__3___closed__2; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabOrM___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabGE___closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabEquiv___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_anyMUnsafe_any___at_Lean_PrettyPrinter_Delaborator_delabForall___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_withIncRecDepth___rarg___lambda__2___closed__2; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabBOr___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabOrM___closed__1; +lean_object* l_Lean_LocalDecl_userName(lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabNil___lambda__1___closed__3; +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabMapRev___closed__2; +extern lean_object* l_Lean_nullKind; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAdd___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabNe(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_myMacro____x40_Init_Notation___hyg_5036____closed__4; +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabProj___closed__1; +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabModN___closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabConsList___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_unresolveOpenDecls_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabConst___closed__2; +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAnd(lean_object*); +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabseq___closed__2; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabMData_match__1(lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppMatch___closed__6; +lean_object* lean_name_mk_string(lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabConst___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabNot___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAndThen(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_eraseIdx___rarg(lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabLam___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, 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_PrettyPrinter_Delaborator_delabGE___lambda__1___closed__4; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabLE___closed__1; +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabseq___closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabDoElems_match__1___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabLam___lambda__3___closed__2; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabNil___lambda__1___closed__2; +extern lean_object* l___kind_stx____x40_Init_Notation___hyg_7943____closed__2; +lean_object* l_Lean_Expr_bindingDomain_x21(lean_object*); +lean_object* l_Array_append___rarg(lean_object*, lean_object*); +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabFComp___closed__2; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppImplicit___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l___kind_term____x40_Init_Core___hyg_315____closed__1; +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabMapRev___closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabBVar_match__1___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabBNot___closed__2; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabOr___lambda__1___boxed(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_3212____closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabOrM(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabFVar___closed__3; +lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_skippingBinders_match__1(lean_object*, lean_object*); +lean_object* l_Lean_Syntax_mkSep(lean_object*, lean_object*); +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAnd___closed__2; +lean_object* l_Lean_Meta_instantiateForall___at___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabPatterns___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabPatterns(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabCoe___closed__1; +extern lean_object* l_Int_repr___closed__1; +lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_skippingBinders___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabBind___closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabNil(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabOr___lambda__1___closed__1; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_874____closed__6; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabDoElems___closed__2; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabOr___lambda__1___closed__4; +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabFVar___closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabLam___lambda__3___closed__1; +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabSub___closed__3; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabBNe___lambda__1___closed__2; +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabEq(lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabMap(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Array_anyMUnsafe_any___at_Lean_PrettyPrinter_Delaborator_delabAppExplicit___spec__1(lean_object*, size_t, size_t); +lean_object* lean_array_uset(lean_object*, size_t, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabOne(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabListToArray___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_inferType___at___private_Lean_Meta_InferType_0__Lean_Meta_inferAppType___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_myMacro____x40_Init_Notation___hyg_8830____closed__6; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabSort___closed__10; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__3___closed__8; +extern lean_object* l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__8; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabseq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabMod___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_orElse___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_inferType___at___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabPatterns___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabNil___closed__2; +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabFComp___closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabProjectionApp___closed__2; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabOne___closed__1; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_2549____closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabListToArray___lambda__1___closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabLetE___lambda__1___boxed(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_5739____closed__19; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__12; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_6336____closed__4; +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAppMatch(lean_object*); +extern lean_object* l_myMacro____x40_Init_Notation___hyg_206____closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabHEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabZero(lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabConst___closed__3; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabBEq___closed__1; +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabMData___closed__1; +lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_skippingBinders_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabProj___closed__3; +lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_skippingBinders(lean_object*); +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabNamedPattern___closed__1; +lean_object* l_Lean_throwError___at_Lean_PrettyPrinter_Delaborator_delabAppMatch___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppImplicit___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_myMacro____x40_Init_Core___hyg_715____closed__4; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppImplicit___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabCoeFun(lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabSort_match__2(lean_object*); +lean_object* l_Lean_getPPNotation___boxed(lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabFVar_match__1(lean_object*); +size_t l_USize_sub(size_t, size_t); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabNot___closed__1; +extern lean_object* l_Array_empty___closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabCons___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabNil___lambda__1___closed__1; +lean_object* lean_environment_find(lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabGE___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabBNot___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabNil___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppImplicit_match__3(lean_object*); +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabGE___closed__2; +extern lean_object* l_Lean_Elab_Term_mkExplicitBinder___closed__2; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_8830____closed__8; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_4868____closed__4; +lean_object* l_Lean_PrettyPrinter_Delaborator_hasIdent_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_List_forIn_loop___at_Lean_PrettyPrinter_Delaborator_delabMData___spec__3___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_myMacro____x40_Init_Notation___hyg_5540____closed__6; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabCons___lambda__1___closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabConst___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_st_ref_get(lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabLam___lambda__3___closed__3; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAnd___closed__1; +extern lean_object* l_Lean_Parser_Tactic_matchAlts___closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabConst___lambda__2___closed__1; +lean_object* l_List_tailD___rarg(lean_object*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_delabConst___spec__1___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabBOr(lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabLetE(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabBAnd___closed__1; +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabLit(lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabOrElse___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t lean_name_eq(lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabBEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabOr___lambda__1___closed__3; +lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabBinders_match__2(lean_object*); +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabOrM___closed__2; +lean_object* lean_private_to_user_name(lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabDoElems___lambda__2(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_myMacro____x40_Init_Notation___hyg_4700____closed__4; +lean_object* l_Lean_PrettyPrinter_Delaborator_getParamKinds___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAndThen(lean_object*); +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabModN___closed__3; +lean_object* l_Array_anyMUnsafe_any___at_Lean_PrettyPrinter_Delaborator_delabAppExplicit___spec__1___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabModN(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_getParamKinds___spec__1___closed__3; +lean_object* l_Array_mapIdxM_map___at___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabPatterns___spec__3___closed__4; +lean_object* l_Lean_PrettyPrinter_Delaborator_withMDataExpr___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabDo(lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabForall_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAppend___closed__3; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabSub___lambda__1___closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabSub(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabEquiv(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabSort(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_instInhabitedNat; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabNe___closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabIff___lambda__1___closed__1; +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabBAnd___closed__2; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabLT___closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabBEq___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_mapIdxM_map___at___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabPatterns___spec__3___closed__1; +extern lean_object* l___kind_term____x40_Init_NotationExtra___hyg_2577____closed__2; +extern lean_object* l___kind_term____x40_Init_Notation___hyg_2514____closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabSub___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabProjectionApp___closed__3; +lean_object* lean_expr_instantiate1(lean_object*, lean_object*); +lean_object* l_Array_toSubarray___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabForall___closed__1; +lean_object* lean_array_push(lean_object*, lean_object*); +lean_object* lean_array_get_size(lean_object*); +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabProd(lean_object*); +extern lean_object* l_myMacro____x40_Init_Notation___hyg_5204____closed__6; +lean_object* lean_string_append(lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppMatch___closed__4; +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabMod(lean_object*); +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAppExplicit(lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabLam_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_withLetDecl___at_Lean_PrettyPrinter_Delaborator_delabLetE___spec__1(lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabNe___lambda__1___closed__1; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_5739____closed__11; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabCons___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_delabDo___spec__1___closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_getParamKinds_match__1___rarg(lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_PrettyPrinter_Delaborator_withAppFn___rarg___closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabDo___lambda__1___closed__1; +uint8_t l_Lean_Name_isPrefixOf(lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabseqLeft___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Expr_getOptParamDefault_x3f(lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabCons___lambda__1___closed__2; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l___kind_term____x40_Init_Notation___hyg_839____closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabNil___closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabMVar___closed__4; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabStructureInstance___closed__4; +extern lean_object* l_myMacro____x40_Init_Control_Basic___hyg_75____closed__6; +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabNot___closed__1; +lean_object* l_Lean_Meta_withLocalDecl___at_Lean_PrettyPrinter_Delaborator_withBindingBody___spec__1___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabBAnd___closed__1; +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabListToArray(lean_object*); +extern lean_object* l_Lean_Meta_evalNat_visit___closed__10; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabConsList___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabEq___closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabBNe___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabEq___closed__2; +extern lean_object* l___regBuiltin_Lean_Elab_Term_elabTypeStx___closed__2; +lean_object* l_Std_RBNode_find___at_Lean_PrettyPrinter_Delaborator_getPPOption___spec__1(lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabGE___lambda__1___closed__2; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppExplicit___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabCoe___closed__2; +extern lean_object* l___kind_stx____x40_Init_Notation___hyg_7322____closed__2; +lean_object* l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1019____spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabConst_match__1(lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabDoElems_match__2___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabTuple___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_getPPFullNames___boxed(lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabIff___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabDoElems___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_skippingBinders_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabDo___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabDo___lambda__1___closed__4; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabTuple(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabGT___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_mapIdxM_map___at___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabPatterns___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabGE___lambda__1___closed__1; +extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__28; +lean_object* l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_delabConst___spec__1(size_t, size_t, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppImplicit___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l___kind_term____x40_Init_Notation___hyg_1850____closed__1; +lean_object* l_Lean_mkAtom(lean_object*); +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabBAnd(lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabLT___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabLE(lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabLam___closed__1; +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabLE___closed__3; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabDoElems___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppMatch___closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_hasIdent_match__1(lean_object*); +lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabBNe___closed__1; +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabZero___closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabForall___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppMatch___closed__2; +uint8_t l_USize_decLt(size_t, size_t); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppExplicit_match__1___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabMData___closed__2; +extern lean_object* l___kind_term____x40_Init_Notation___hyg_4497____closed__1; +lean_object* l_ReaderT_bind___at_Lean_PrettyPrinter_Delaborator_delabAppExplicit___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabNe___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__3___closed__13; +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabGT___closed__1; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_1378____closed__6; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabGT___lambda__1___closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabNe___lambda__1___boxed(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_5372____closed__4; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_706____closed__4; +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabLam___closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabNamedPattern___closed__1; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_8830____closed__2; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabBNot___lambda__1___closed__3; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_8168____closed__8; +extern lean_object* l_Lean_Meta_Match_Pattern_toExpr_visit___closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabPow(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabDoElems___lambda__4___closed__5; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabseq___lambda__1___closed__1; +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAppImplicit___closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAnd___lambda__1___closed__4; +extern lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3420____closed__9; +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAndM___closed__1; +lean_object* lean_nat_add(lean_object*, lean_object*); +lean_object* lean_get_projection_info(lean_object*, lean_object*); +lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_unresolveOpenDecls_match__1(lean_object*); +extern lean_object* l_myMacro____x40_Init_Notation___hyg_4364____closed__6; +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAdd(lean_object*); +extern lean_object* l_Lean_throwUnknownConstant___rarg___closed__2; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabLit___closed__2; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAndM___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_anyMUnsafe_any___at_Lean_PrettyPrinter_Delaborator_delabLam___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabGE___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabBOr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppImplicit_match__1(lean_object*); +uint8_t l_Lean_PrettyPrinter_Delaborator_AppMatchState_hasMotive___default; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabProjectionApp_match__3___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabMVar___closed__1; +extern lean_object* l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__11; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppMatch___closed__3; +extern lean_object* l___kind_term____x40_Init_Notation___hyg_3997____closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabListToArray___closed__1; +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabMod___closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabStructureInstance___closed__2; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_5036____closed__6; +lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_unresolveUsingNamespace_match__1(lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabFVar___closed__2; +lean_object* l_Lean_PrettyPrinter_Delaborator_withProj___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabMul___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAndM___lambda__1___closed__1; +lean_object* l_Array_anyMUnsafe_any___at_Lean_PrettyPrinter_Delaborator_hasIdent___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabMData_match__3(lean_object*); +lean_object* l_Lean_Meta_forallTelescope___at___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabPatterns___spec__4(lean_object*); +lean_object* l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_delabAppMatch___spec__3___closed__1; +lean_object* l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_delabAppMatch___spec__3___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabDo(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabBAnd___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAndM___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabHEq___lambda__1___closed__1; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_2714____closed__4; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabEq___lambda__1(uint8_t, 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_7791____closed__7; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabSort_match__1___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabMul___lambda__1___closed__1; +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabBNe(lean_object*); +extern lean_object* l___kind_term____x40_Init_Core___hyg_680____closed__1; +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAdd___closed__3; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabHEq___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabListToArray___closed__2; +lean_object* l_Lean_Syntax_mkApp(lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabDo___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabseqRight___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l___kind_term____x40_Init_Core___hyg_150____closed__4; +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabTuple___closed__2; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppExplicit___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__3___closed__3; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabLE___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAndM___closed__2; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppExplicit(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppMatch___closed__7; +lean_object* l_Std_RBNode_setBlack___rarg(lean_object*); +lean_object* l_Lean_Meta_withLetDecl___at_Lean_PrettyPrinter_Delaborator_delabLetE___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_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_delabAppMatch___spec__3___closed__2; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabCoe___closed__1; +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabCons___closed__1; +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabOr(lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabIff___lambda__1___closed__3; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabEquiv___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabConst___lambda__1___closed__2; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabFVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_zipWithAux___at_Lean_PrettyPrinter_Delaborator_delabAppMatch___spec__4(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabNamedPattern(lean_object*); +lean_object* lean_array_fget(lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_withBindingDomain___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabNot___lambda__1___closed__2; +extern lean_object* l___kind_term____x40_Init_Notation___hyg_5337____closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabLE___lambda__1___closed__1; +lean_object* l_Array_mapIdxM_map___at_Lean_PrettyPrinter_Delaborator_delabStructureInstance___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabBinders(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabBinders_match__2___rarg(lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__3___closed__12; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAnd___lambda__1___closed__2; +extern lean_object* l___kind_term____x40_Init_Notation___hyg_1681____closed__1; +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabOne___closed__2; +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabCons(lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabMVar___closed__3; +uint8_t l_Array_anyMUnsafe_any___at_Lean_PrettyPrinter_Delaborator_delabLam___spec__1(lean_object*, lean_object*, size_t, size_t); +lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabBinders_match__1(lean_object*); +uint8_t lean_nat_dec_eq(lean_object*, lean_object*); +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabConsList___closed__1; +uint8_t l_Array_anyMUnsafe_any___at_Lean_PrettyPrinter_Delaborator_hasIdent___spec__1(lean_object*, lean_object*, size_t, size_t); +extern lean_object* l_myMacro____x40_Init_Notation___hyg_874____closed__4; +extern lean_object* l_Array_forInUnsafe_loop___at___private_Init_NotationExtra_0__Lean_mkHintBody___spec__1___closed__2; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabStructureInstance___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabProj_match__1___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabLit___closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabNe___lambda__1___closed__2; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabSub___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabSort_match__3___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabZero___closed__3; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppExplicit_match__2___rarg(lean_object*, lean_object*); +extern lean_object* l_Lean_numLitKind; +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabBNot(lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabseqLeft___lambda__1___closed__2; +extern lean_object* l_myMacro____x40_Init_Coe___hyg_176____closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabLE___lambda__1___closed__2; +lean_object* l_Lean_PrettyPrinter_Delaborator_hasIdent___boxed(lean_object*, lean_object*); +lean_object* lean_nat_sub(lean_object*, lean_object*); +extern lean_object* l_myMacro____x40_Init_Notation___hyg_3868____closed__1; +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAndM(lean_object*); +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAppImplicit(lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__2___closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabStructureInstance_match__3(lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabBNot___closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabCoe___closed__2; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabCoe___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAnd___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppExplicit_match__1(lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabLE___lambda__1___closed__4; +extern lean_object* l_Lean_Elab_Term_MVarErrorInfo_logError___closed__1; +extern lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3420____closed__4; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabPow___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabTuple___lambda__1___closed__3; +lean_object* l_Lean_getPPUnicode___boxed(lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAnd___lambda__1___closed__3; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabMData___closed__1; +lean_object* l_Lean_getConstInfo___at_Lean_PrettyPrinter_Delaborator_delabAppMatch___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabBAnd(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAnd___lambda__1___closed__1; +extern lean_object* l___kind_term____x40_Init_Core___hyg_997____closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppend___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabLE___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabSort___closed__5; +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabIff(lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabDo___closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_withAppFn___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabProjectionApp___closed__1; +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabTuple___closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppend(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAdd___closed__1; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_8830____closed__14; +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabCons___closed__2; +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabLT(lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabSort___closed__7; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_5739____closed__18; +extern lean_object* l_Lean_instQuoteProd___rarg___closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_whenPPOption(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabDoElems___lambda__2___closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAndThen___closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabEquiv___closed__1; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_1547____closed__6; +extern lean_object* l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__7; +extern lean_object* l_Lean_Parser_Tactic_matchAlt___closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabDoElems___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_Lean_PrettyPrinter_Delaborator_delabConst___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__3___closed__5; +lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabMData___closed__5; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_7791____closed__3; +extern lean_object* l___kind_term____x40_Init_Notation___hyg_1175____closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabCoe___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabGE(lean_object*); +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabDiv(lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabOrElse___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabBVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabConst___lambda__1___boxed(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_5739____closed__15; +lean_object* l_Lean_Expr_fvarId_x21(lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabMData___closed__4; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabMap___closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabListToArray___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabSort___closed__3; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabTuple___lambda__1___closed__1; +lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_shouldGroupWithNext(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabMod___closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabMVar_match__1___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAppMatch___closed__1; +lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_skippingBinders___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabNamedPattern___closed__2; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabMVar___closed__6; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabDo___lambda__1___closed__5; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__3___closed__14; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabStructureInstance(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabPow___closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabDoElems___lambda__1___closed__1; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_1547____closed__4; +extern lean_object* l___kind_term____x40_Init_Notation___hyg_3505____closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabConst___lambda__1___closed__1; +lean_object* l_Array_mapIdxM_map___at___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabPatterns___spec__3___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabProjectionApp_match__3(lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabLam___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_instantiate_type_lparams(lean_object*, lean_object*); +uint8_t l_Lean_Elab_Term_blockImplicitLambda(lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabDoElems___lambda__4___closed__3; +extern lean_object* l___kind_term____x40_Init_Notation___hyg_503____closed__1; +lean_object* l_Array_mapIdxM_map___at___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabPatterns___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabDoElems___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabStructureInstance___lambda__3___closed__1; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_5739____closed__20; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabConst___lambda__1___closed__4; +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabOfNat___closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppExplicit___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabOfNat_match__1(lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabDo___lambda__1___closed__3; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabProjectionApp___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabTuple___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabPow___closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabMVar___closed__5; +extern lean_object* l___kind_term____x40_Init_Control_Basic___hyg_716____closed__1; +lean_object* l_Lean_Meta_inferType___at___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabPatterns___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabInfixOp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabseqRight___closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabGE___lambda__1___closed__3; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabFVar___closed__1; +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabGT(lean_object*); +extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__20; +extern lean_object* l_Lean_PrettyPrinter_Delaborator_delabAttribute; +extern lean_object* l___kind_term____x40_Init_Notation___hyg_4329____closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__3___closed__15; +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabModN___closed__2; +lean_object* l_ReaderT_bind___at_Lean_PrettyPrinter_Delaborator_delabAppExplicit___spec__2(lean_object*, lean_object*); +lean_object* l_Nat_repr(lean_object*); +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabBind(lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabSub___closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabConsList(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_getParamKinds_match__1(lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAndThen___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabOfNat(lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabConsList___closed__2; +extern lean_object* l___kind_term____x40_Init_Notation___hyg_5505____closed__1; +uint8_t l_Lean_LocalDecl_binderInfo(lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabDiv___closed__1; +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabMapRev(lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabBVar_match__1(lean_object*); +lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_unresolveUsingNamespace(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAppend___closed__2; +extern lean_object* l_Lean_instInhabitedSourceInfo___closed__1; +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabProd___closed__1; +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabOfNat___closed__2; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAndM___closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppMatch___closed__5; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabCons(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Syntax_getId(lean_object*); +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabTuple___closed__3; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabDo___closed__2; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabHEq___lambda__1___closed__2; +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabMVar(lean_object*); +extern lean_object* l_myMacro____x40_Init_Notation___hyg_706____closed__6; +lean_object* l_Lean_Meta_instantiateForall___at___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabPatterns___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabForall(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabBind___lambda__1___closed__2; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabOfNat___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabBind___lambda__1___closed__1; +lean_object* l_List_headD___rarg(lean_object*, lean_object*); +extern lean_object* l_Lean_Elab_Term_mkExplicitBinder___closed__5; +extern lean_object* l_Lean_Level_quote___lambda__2___closed__1; +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabPow___closed__2; +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAppend___closed__1; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_8830____closed__18; +lean_object* l_Array_mapIdxM_map___at___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabPatterns___spec__3___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppExplicit_match__2(lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabBind___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_getStructureFields(lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabDoElems___lambda__1___closed__2; +lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_shouldGroupWithNext___closed__2; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_4196____closed__6; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppExplicit___lambda__2___closed__3; +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabMod___closed__2; +lean_object* lean_array_to_list(lean_object*, lean_object*); +extern lean_object* l_myMacro____x40_Init_Notation___hyg_5540____closed__4; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabLam___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Lean_Name_isAtomic(lean_object*); +extern lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__14; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabStructureInstance___lambda__3___closed__6; +extern lean_object* l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__4; +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabMap___closed__3; +extern lean_object* l_Lean_protectedExt; +extern lean_object* l_Lean_Expr_isCharLit___closed__3; +lean_object* l_Lean_PrettyPrinter_Delaborator_withAppArg___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabCoe(lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabHEq___lambda__1___closed__4; +extern lean_object* l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__3; +lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabPatterns___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabNot(lean_object*); +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabOne___closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabDoElems___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabLit_match__1___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_shouldGroupWithNext___closed__1; +extern lean_object* l___kind_term____x40_Init_Notation___hyg_3177____closed__1; +lean_object* l_Array_mapIdxM_map___at___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabPatterns___spec__3___closed__5; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabStructureInstance___closed__1; +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabSub___closed__1; +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabOrElse___closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__3___closed__10; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppImplicit_match__2___rarg(lean_object*, lean_object*); +lean_object* l_Lean_Syntax_mkStrLit(lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabForall___lambda__1___closed__4; +lean_object* l_Lean_PrettyPrinter_Delaborator_getParamKinds___closed__1; +extern lean_object* l___kind_term____x40_Init_Notation___hyg_3833____closed__1; +uint8_t l_Lean_Expr_isAppOfArity(lean_object*, lean_object*, lean_object*); +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabseqLeft(lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabLetE___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabBNot___lambda__1___closed__2; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_4196____closed__4; +extern lean_object* l_Lean_Parser_Tactic_intro___closed__7; +lean_object* l_Lean_getRevAliases(lean_object*, lean_object*); +extern lean_object* l___kind_term____x40_Init_Data_Array_Basic___hyg_3373____closed__7; +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabDiv___closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabMap___lambda__1___closed__2; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabDoElems___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabDiv___lambda__1___closed__1; +extern lean_object* l_Array_forInUnsafe_loop___at___private_Init_NotationExtra_0__Lean_mkHintBody___spec__1___closed__3; +extern lean_object* l___kind_term____x40_Init_Notation___hyg_3____closed__12; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppExplicit___closed__3; +extern lean_object* l___regBuiltin_Lean_Elab_Term_elabProp___closed__2; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__8; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabFComp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabDiv___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabNil___closed__2; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabProjectionApp___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_mkSimpleThunk___closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabConst_match__1___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabMData(lean_object*); +lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l___private_Init_NotationExtra_0__Lean_mkHintBody___closed__2; +extern lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkEqNDRecImp___closed__6; +uint8_t l_Lean_Expr_isConst(lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabSort___closed__9; +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabOfNat___closed__3; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_5204____closed__4; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabConsList___closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabStructureInstance_match__1___rarg(lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabHEq___closed__1; +extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_576____closed__8; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabOr___closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppMatch_match__2___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabPow(lean_object*); +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabBNe___closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabZero___closed__2; +lean_object* l_Lean_Meta_getLocalDecl___at_Lean_PrettyPrinter_Delaborator_delabFVar___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_unresolveOpenDecls(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_instInhabitedSyntax; +lean_object* l_Lean_Meta_forallTelescope___at___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabPatterns___spec__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_getUnusedName(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppImplicit___closed__7; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabStructureInstance___closed__3; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabSort___closed__4; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabMData___closed__3; +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabForall(lean_object*); +lean_object* l_Lean_mkSepArray(lean_object*, lean_object*); +extern lean_object* l_Lean_throwUnknownConstant___rarg___closed__3; +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabSub(lean_object*); +extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__4; +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabEquiv(lean_object*); +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabSort(lean_object*); +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAndThen___closed__2; +lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_unresolveUsingNamespace_match__1___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabForall___closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabBind___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_descend___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_8168____closed__10; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabDiv___lambda__1___closed__2; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabBOr___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_mapIdxM_map___at___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabPatterns___spec__3___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Meta_caseValueAux___lambda__3___closed__3; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabDiv___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabLE___closed__2; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_2384____closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabOfNat___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppMatch_match__1___rarg(lean_object*, lean_object*, lean_object*); +uint8_t l_Array_anyMUnsafe_any___at_Lean_PrettyPrinter_Delaborator_delabForall___spec__3(lean_object*, lean_object*, size_t, size_t); +extern lean_object* l___kind_term____x40_Init_Core___hyg_1390____closed__1; +extern lean_object* l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__10; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabSort___closed__8; +lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabBinders_match__1___rarg(lean_object*, lean_object*); +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabSort___closed__1; +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAppExplicit___closed__1; +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabFComp(lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabSort___closed__1; +extern lean_object* l___kind_term____x40_Init_Notation___hyg_671____closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabDoElems___lambda__4___closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabMapRev(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__3___closed__4; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabZero___closed__1; +lean_object* l_Lean_getConstInfo___at_Lean_PrettyPrinter_Delaborator_delabAppMatch___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabMap___closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabOr___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +size_t lean_usize_of_nat(lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabBNot___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabLam(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabBVar___closed__2; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabProjectionApp_match__2___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_whenNotPPOption(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabMap(lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_withBindingBody___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Lean_Expr_isAutoParam(lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabProjectionApp_match__2(lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabBNot___lambda__1___closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabDoElems___lambda__4___closed__4; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabGT___lambda__1___closed__2; +extern lean_object* l_Lean_NameGenerator_namePrefix___default___closed__2; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__3___closed__9; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabNot(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabFVar(lean_object*); +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabOrElse___closed__3; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabHEq___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAdd___closed__1; +extern lean_object* l___kind_term____x40_Init_Notation___hyg_3341____closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_withBindingBodyUnusedName___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAnd___lambda__1(uint8_t, 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_5372____closed__6; +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabLE___closed__1; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__6; +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabListToArray___closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_getParamKinds___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Meta_Match_Pattern_toExpr_visit___closed__3; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabBind(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabOfNat(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppExplicit___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_getPPCoercions___boxed(lean_object*); +extern lean_object* l_myMacro____x40_Init_Core___hyg_1425____closed__1; +extern lean_object* l_Lean_Meta_Match_Pattern_toMessageData___closed__1; +lean_object* l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_delabDo___spec__1___boxed(lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_nullKind___closed__2; +lean_object* l_Array_foldrMUnsafe_fold___at_Lean_PrettyPrinter_Delaborator_delabForall___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabOne___lambda__1___closed__2; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabNot___lambda__1___closed__3; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabZero(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabDoElems_delabAndRet___closed__2; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabFVar_match__1___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabOne(lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabGE(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabMapRev___lambda__1___closed__2; +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabBNot___closed__1; +extern lean_object* l___kind_term____x40_Init_Notation___hyg_171____closed__1; +extern lean_object* l_myMacro____x40_Init_Control_Basic___hyg_769____closed__1; +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabseq(lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabDiv(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_LocalDecl_type(lean_object*); +extern lean_object* l_myMacro____x40_Init_Notation___hyg_1042____closed__6; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabCoe(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabNot___lambda__1___closed__5; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabseqLeft___closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppImplicit___closed__3; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabDoElems_match__2(lean_object*); +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabseq___closed__3; +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabTuple(lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabSort___closed__2; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabOfNat___closed__1; +extern lean_object* l_Lean_Parser_Tactic_match___closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_delab(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabCoeFun(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_List_elem___at_Lean_NameHashSet_insert___spec__2(lean_object*, lean_object*); +extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__21; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabBAnd___lambda__1___closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabDoElems(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Syntax_mkApp___closed__1; +lean_object* l_Lean_Meta_getMatcherInfo_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_myMacro____x40_Init_Notation___hyg_370____closed__6; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabBEq___lambda__1___closed__2; +lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_unresolveQualifiedName___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabBVar___closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabDoElems_delabAndRet(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabSort___closed__6; +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabLT___closed__3; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabProj___closed__1; +lean_object* l_Array_mapIdxM_map___at_Lean_PrettyPrinter_Delaborator_delabStructureInstance___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabMVar___closed__1; +lean_object* l_List_redLength___rarg(lean_object*); +extern lean_object* l___kind_term____x40_Init_Notation___hyg_1512____closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabOfNat___closed__2; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppExplicit___lambda__2___closed__2; +lean_object* l_Array_foldrMUnsafe_fold___at_Lean_PrettyPrinter_Delaborator_delabForall___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_PrettyPrinter_Delaborator_delabStructureInstance___lambda__3___closed__5; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabFComp___lambda__1___closed__2; +lean_object* l_Lean_getPPStructureInstanceType___boxed(lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabInfixOp___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabMod(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabDoElems_prependAndRec(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabCoeFun___closed__2; +uint8_t l_Lean_PrettyPrinter_Delaborator_hasIdent(lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabBNot___lambda__1___closed__4; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabOne___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabModN___closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabConst___lambda__1___closed__6; +lean_object* l_Lean_Expr_getAppNumArgsAux(lean_object*, lean_object*); +lean_object* l_Array_foldrMUnsafe_fold___at_Lean_PrettyPrinter_Delaborator_delabForall___spec__1___closed__1; +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAdd___closed__2; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppImplicit_match__2(lean_object*); +uint8_t l_Lean_BinderInfo_beq(uint8_t, uint8_t); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabMData_match__2(lean_object*); +lean_object* l_Lean_Meta_forallTelescopeReducing___at_Lean_Meta_getParamNamesImp___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabMVar___closed__2; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabDo___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_myMacro____x40_Init_Control_Basic___hyg_528____closed__1; +lean_object* l_Array_mapIdxM_map___at___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabPatterns___spec__3___closed__3; +extern lean_object* l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__6; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabNot___lambda__1___closed__4; +lean_object* l_Lean_setEnv___at_Lean_Meta_setInlineAttribute___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabStructureInstance___lambda__3___closed__3; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabBEq___lambda__1___closed__1; +lean_object* l_Lean_Syntax_getNumArgs(lean_object*); +lean_object* l_List_forIn_loop___at_Lean_PrettyPrinter_Delaborator_delabMData___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabFComp___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_getParamKinds___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_getLocalDecl___at_Lean_Meta_getFVarLocalDecl___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_getPPOption___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Meta_evalNat_visit___closed__8; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppExplicit___lambda__2___closed__1; +extern lean_object* l_Lean_Expr_ctorName___closed__10; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabFComp___lambda__1___closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabEq___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabSort_match__3(lean_object*); +extern lean_object* l___kind_term____x40_Init_Notation___hyg_2019____closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabseq___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Parser_Tactic_match___closed__5; +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabCons___closed__3; +uint8_t lean_expr_eqv(lean_object*, lean_object*); +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabPow___closed__3; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabBEq___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabLam(lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabBNe(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabOr___closed__1; +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabDo___closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabNot___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabStructureInstance_match__3___rarg(lean_object*, lean_object*, lean_object*); +extern lean_object* l_myMacro____x40_Init_Notation___hyg_4868____closed__6; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabMul(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_foldrMUnsafe_fold___at_Lean_PrettyPrinter_Delaborator_delabForall___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabMap___closed__2; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabBNe___lambda__1___closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabBNe___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_mapIdxM_map___at_Lean_PrettyPrinter_Delaborator_delabStructureInstance___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t lean_nat_dec_le(lean_object*, lean_object*); +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabCoeFun___closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabProd(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppImplicit___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppend___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppImplicit___closed__2; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabLetE_match__1___rarg(lean_object*, lean_object*, lean_object*); +extern lean_object* l___kind_term____x40_Init_Notation___hyg_3____closed__11; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabNot___lambda__1___closed__1; +uint8_t l_Std_RBNode_isRed___rarg(lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_withAppFnArgs___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabBEq(lean_object*); +lean_object* l_Std_RBNode_ins___at_Lean_PrettyPrinter_Delaborator_delabMData___spec__2(lean_object*, lean_object*, lean_object*); +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabMod___closed__3; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabDoElems_delabAndRet___closed__1; +extern lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_Term_0__Lean_Elab_Term_isLambdaWithImplicit___spec__1___closed__1; +lean_object* l_Lean_Syntax_getArgs(lean_object*); +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabBEq___closed__3; +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabLT___closed__1; +lean_object* l_Lean_Meta_throwUnknownFVar___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabseqLeft___lambda__1___closed__1; +lean_object* l_List_forIn_loop___at_Lean_PrettyPrinter_Delaborator_delabMData___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l___kind_term____x40_Init_Notation___hyg_2184____closed__1; +uint8_t l_Lean_BinderInfo_isExplicit(uint8_t); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabOrElse___closed__1; +extern lean_object* l___kind_term____x40_Init_Notation___hyg_1007____closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppImplicit___closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabMData_match__3___rarg(lean_object*, lean_object*); +extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__31; +extern lean_object* l_Lean_getSanitizeNames___closed__2; +extern lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_Term_0__Lean_Elab_Term_isLambdaWithImplicit___spec__1___closed__2; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabProj___closed__4; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabseqLeft___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppMatch_match__2(lean_object*); +uint8_t l_Lean_Name_isAnonymous(lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabLetE___closed__1; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_538____closed__6; +lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_instantiateForallAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_getParamKinds___spec__1___closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabOne___closed__2; +lean_object* lean_panic_fn(lean_object*, lean_object*); +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabConsList(lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabDoElems___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Std_PersistentHashMap_mkCollisionNode___rarg___closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_AppMatchState_rhss___default; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_370____closed__4; +lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabBinders___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabseqRight___closed__3; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabBAnd___lambda__1___closed__2; +lean_object* l_Array_appendCore___rarg(lean_object*, lean_object*); +lean_object* l_Lean_KVMap_insertCore(lean_object*, lean_object*, lean_object*); +extern lean_object* l_myMacro____x40_Init_Core___hyg_715____closed__6; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabOrM___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabHEq___closed__2; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_5739____closed__22; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabMap___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l___kind_term____x40_Init_Notation___hyg_5169____closed__1; +extern lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_isExplicit___closed__2; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabseq___lambda__1___closed__2; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabLit(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabDoElems___lambda__1___closed__3; +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabDiv___closed__2; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabLE(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabMap___lambda__1___closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabLetE___closed__2; +lean_object* l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_getParamKinds___spec__1___closed__2; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabLit_match__2(lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabOne___lambda__1___closed__1; +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAndThen___closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppend___closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabOfNat_match__1___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabseq___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabStructureInstance___lambda__3___closed__7; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabBind___closed__1; +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabLetE(lean_object*); +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabListToArray___closed__2; +lean_object* l_Lean_getPPStructureInstances___boxed(lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppMatch(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabNil___closed__1; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_1885____closed__6; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabMData_match__4___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_getPPUniverses___boxed(lean_object*); +extern lean_object* l_myMacro____x40_Init_Core___hyg_185____closed__1; +lean_object* l_Array_ofSubarray___rarg(lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabProj___closed__2; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabDoElems___lambda__4___closed__2; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppExplicit_match__3___rarg(lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabSort_match__1(lean_object*); +lean_object* l_Lean_Meta_setMCtx___at___private_Lean_Meta_Basic_0__Lean_Meta_liftMkBindingM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabEq___closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabDoElems___lambda__5(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_1210____closed__6; +extern lean_object* l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__5; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabForall_match__1(lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabBAnd___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_getPPExplicit___boxed(lean_object*); +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabOrElse___closed__2; +extern lean_object* l___kind_term____x40_Init_Notation___hyg_335____closed__1; +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabIff___closed__2; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabseq___closed__1; +lean_object* l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_delabDo___spec__1___closed__2; +lean_object* l_Array_zipWithAux___at_Lean_PrettyPrinter_Delaborator_delabAppMatch___spec__4___closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabConst___lambda__1___closed__5; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabLT___lambda__1___closed__2; +lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabStructureInstance___lambda__2___closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabStructureInstance___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* l_Lean_PrettyPrinter_Delaborator_delabModN___lambda__1___closed__2; +extern lean_object* l_Lean_instInhabitedName; +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabHEq___closed__1; +lean_object* l_Array_zipWithAux___at_Lean_PrettyPrinter_Delaborator_delabAppMatch___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabGT___closed__2; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabCons___closed__1; +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabFComp___closed__3; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_1885____closed__4; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAdd(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_myMacro____x40_Init_Notation___hyg_8168____closed__11; +lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_skippingBinders___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_AppMatchState_params___default; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppExplicit_match__3(lean_object*); +extern lean_object* l_myMacro____x40_Init_Notation___hyg_1042____closed__4; +lean_object* l_List_toArrayAux___rarg(lean_object*, lean_object*); +extern lean_object* l_myMacro____x40_Init_Notation___hyg_3540____closed__1; +lean_object* l_Lean_Meta_forallTelescope___at___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabPatterns___spec__4___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabStructureInstance(lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabLam_match__1(lean_object*); +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabNe___closed__2; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_4364____closed__4; +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabSub___closed__2; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__3___closed__6; +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabZero___closed__2; +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabseqRight(lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabOne___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppImplicit___closed__6; +extern lean_object* l_Lean_mkOptionalNode___closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabLT(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l___kind_term____x40_Init_Notation___hyg_4833____closed__1; +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabMul___closed__2; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabFComp___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabPow___lambda__1___closed__1; +lean_object* l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_delabAppMatch___spec__3(size_t, size_t, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabPow___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabBVar(lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppExplicit___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l___kind_term____x40_Init_Notation___hyg_3013____closed__1; +uint8_t l_Lean_Expr_hasLooseBVars(lean_object*); +extern lean_object* l_myMacro____x40_Init_Notation___hyg_4532____closed__4; +extern lean_object* l___kind_term____x40_Init_Notation___hyg_6289____closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabConst___lambda__1___closed__3; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabseqRight(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabModN(lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabMul___closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabStructureInstance_match__2___rarg(lean_object*, lean_object*); +extern lean_object* l_Lean_Meta_evalNat_visit___closed__2; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabProjectionApp_match__1(lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabZero___lambda__1___closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabZero___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Lean_TagDeclarationExtension_isTagged(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabModN___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabConst(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Lean_Expr_binderInfo(lean_object*); +uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabseqRight___lambda__1___closed__2; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabMData_match__2___rarg(lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabStructureInstance___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabOrElse(lean_object*); +extern lean_object* l_Lean_Syntax_expandInterpolatedStr___lambda__1___closed__2; +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabStructureInstance___closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppImplicit_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabStructureInstance_match__2(lean_object*); +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabEquiv___closed__3; +lean_object* l_Lean_PrettyPrinter_Delaborator_AppMatchState_discrs___default; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabInfixOp___closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabGT___closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabDo___lambda__1___closed__2; +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabProj(lean_object*); +lean_object* l_Array_mapIdxM_map___at___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabPatterns___spec__3___closed__2; +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabseqRight___closed__1; +lean_object* l_Lean_Meta_inferType___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Array_instReprArray___rarg___closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabOfNat___closed__3; +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabIff___closed__1; +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabMul___closed__3; +lean_object* l_List_forIn_loop___at_Lean_PrettyPrinter_Delaborator_delabMData___spec__3___lambda__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabModN___lambda__1___closed__1; +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAppend(lean_object*); +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabBOr___closed__1; +extern lean_object* l_myMacro____x40_Init_Core___hyg_1032____closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabIff___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAndThen___lambda__1___closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabOrM___closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabLT___lambda__1___closed__1; +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAndThen___closed__3; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabOr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabMapRev___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_mk_syntax_ident(lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabLT___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppImplicit(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabProjectionApp___closed__1; +extern lean_object* l___kind_term____x40_Init_Notation___hyg_2848____closed__1; +extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__8; +extern lean_object* l___kind_term____x40_Init_Notation___hyg_2679____closed__1; +lean_object* l_Array_zipWithAux___at_Lean_PrettyPrinter_Delaborator_delabAppMatch___spec__4___closed__2; +lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabSort___closed__11; +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabBVar___closed__1; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_2883____closed__1; +extern lean_object* l_Lean_mkOptionalNode___closed__2; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_2054____closed__1; +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabNe___closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabFComp___closed__1; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_7791____closed__8; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabDo___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_myMacro____x40_Init_Notation___hyg_5739____closed__13; +lean_object* l_Std_RBNode_insert___at_Lean_PrettyPrinter_Delaborator_delabMData___spec__1(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabDoElems___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabPow___lambda__1___closed__2; +lean_object* l_Lean_Meta_getLocalDecl___at_Lean_PrettyPrinter_Delaborator_delabFVar___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAndThen___lambda__1___closed__2; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabModN___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Expr_getAppFn(lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabMapRev___lambda__1___closed__1; +extern lean_object* l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__9; +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabOr___closed__2; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabLam___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabDo___lambda__2___closed__1; +extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__7; +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAnd___closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabIff___lambda__1___closed__2; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabBNot(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_skippingBinders___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwError___at_Lean_PrettyPrinter_Delaborator_delabAppMatch___spec__2(lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabSort_match__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabBEq___closed__2; +lean_object* l_ReaderT_pure___at_Lean_PrettyPrinter_Delaborator_instMonadQuotationDelabM___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Environment_displayStats___spec__8___lambda__1___closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabLetE_match__1(lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabIff(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabBOr___closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabProd___lambda__1(uint8_t, 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___regBuiltin_Lean_PrettyPrinter_Delaborator_delabseqLeft___closed__3; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_538____closed__4; +lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabBinders___closed__1; +uint8_t l_List_isEmpty___rarg(lean_object*); +lean_object* lean_local_ctx_find(lean_object*, lean_object*); +extern lean_object* l___kind_term____x40_Init_Notation___hyg_4161____closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppExplicit___closed__4; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppImplicit___closed__5; +lean_object* l_Lean_PrettyPrinter_Delaborator_getExpr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l___kind_stx____x40_Init_Notation___hyg_7348____closed__2; +lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_unresolveOpenDecls___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabseqRight___closed__2; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabLit_match__1(lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabMapRev___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabProd___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabForall___lambda__1___closed__3; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAndThen___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLetDeclImp___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabMapRev___closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAndM___lambda__1___closed__2; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabInfixOp___lambda__1___closed__1; +lean_object* l_Lean_throwError___at_Lean_PrettyPrinter_Delaborator_delabAppMatch___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabStructureInstance___lambda__3___closed__2; +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabLit___closed__1; +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabLT___closed__2; +extern lean_object* l___kind_term____x40_Init_Control_Basic___hyg_38____closed__6; +lean_object* l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_delabDo___spec__1(size_t, size_t, lean_object*); +extern lean_object* l_Lean_Parser_Tactic_rwRule___closed__3; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabProd___lambda__1___closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabForall___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabGE___closed__1; +lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabBinders___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_myMacro____x40_Init_Notation___hyg_4868____closed__7; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppImplicit___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabDoElems___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__3___closed__11; +lean_object* l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabProj(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppMatch_match__1(lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabMul___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l___kind_term____x40_Init_Notation___hyg_1343____closed__1; +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabBind___closed__2; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabStructureInstance___lambda__2(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_Delaborator_delabAppExplicit___closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabProd___closed__1; +extern lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3420____closed__10; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabForall___lambda__1___closed__1; +lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_shouldGroupWithNext_match__1(lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabZero___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabBOr___closed__2; +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabseqLeft___closed__1; +lean_object* l_Lean_Expr_isConstructorApp_x3f(lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabOr___lambda__1___closed__2; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabStructureInstance_match__1(lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabDo___lambda__1___closed__6; +lean_object* l_Lean_mkConst(lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabLE___lambda__1___closed__3; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabForall___lambda__1___closed__2; +extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__2; +lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabPatterns___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Level_quote(lean_object*); +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabOrM(lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabOrElse(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_myMacro____x40_Init_Notation___hyg_4032____closed__1; +extern lean_object* l_Lean_Meta_evalNat_match__1___rarg___closed__1; +extern lean_object* l___regBuiltin_Lean_Elab_Term_elabSyntheticHole___closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppExplicit___closed__2; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabProj_match__1(lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabForall_match__1___rarg(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l___kind_term____x40_Init_Notation___hyg_2349____closed__1; +lean_object* l_Lean_Name_replacePrefix(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_getExpr___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabListToArray(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabPrefixOp___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoe___closed__3; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabMod___lambda__1___closed__1; +extern lean_object* l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabseqRight___lambda__1___closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabMVar_match__1(lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_getPPOption(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_getPPPrivateNames___boxed(lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_unresolveQualifiedName(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabGT___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabseqRight___lambda__1___boxed(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_1378____closed__4; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabMData_match__4(lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabDoElems_match__1(lean_object*); +lean_object* l_Lean_getPPStructureProjections___boxed(lean_object*); +extern lean_object* l_Lean_Meta_evalNat_visit___closed__5; +lean_object* l_Lean_PrettyPrinter_Delaborator_failure___rarg(lean_object*); +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabCoeFun___closed__3; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabPrefixOp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_addParenHeuristic___closed__1; +extern lean_object* l___kind_term____x40_Init_Notation___hyg_5001____closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabIff___lambda__1___closed__4; +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabBind___closed__3; +lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_shouldGroupWithNext_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_unresolveUsingNamespace___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabHEq(lean_object*); +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabNot___closed__2; +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabseqLeft___closed__2; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabMod___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppImplicit_match__3___rarg(lean_object*, lean_object*); +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabProjectionApp(lean_object*); +extern lean_object* l_myMacro____x40_Init_Notation___hyg_5739____closed__8; +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabMul___closed__1; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabGT(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabIff___closed__1; +uint8_t l_Lean_Expr_isLet(lean_object*); +uint8_t l_Lean_isStructure(lean_object*, lean_object*); +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabEquiv___closed__1; +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabEquiv___closed__2; +lean_object* l_Lean_PrettyPrinter_Delaborator_delabNamedPattern(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabNil(lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabMod___lambda__1___closed__2; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_5739____closed__17; +lean_object* l_Lean_Syntax_mkLit(lean_object*, lean_object*, lean_object*); +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabBEq___closed__1; +uint8_t lean_nat_dec_lt(lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabMap___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAndM(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabBNe___closed__2; +uint8_t l_Lean_Syntax_isIdent(lean_object*); +lean_object* l_Lean_getPPBinderTypes___boxed(lean_object*); +lean_object* l_Lean_PrettyPrinter_Delaborator_delabFVar_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 1) +{ +lean_object* x_4; uint64_t x_5; lean_object* x_6; lean_object* x_7; +lean_dec(x_3); +x_4 = lean_ctor_get(x_1, 0); +lean_inc(x_4); +x_5 = lean_ctor_get_uint64(x_1, sizeof(void*)*1); +lean_dec(x_1); +x_6 = lean_box_uint64(x_5); +x_7 = lean_apply_2(x_2, x_4, x_6); +return x_7; +} +else +{ +lean_object* x_8; +lean_dec(x_2); +x_8 = lean_apply_1(x_3, x_1); +return x_8; +} +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabFVar_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabFVar_match__1___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_Meta_getLocalDecl___at_Lean_PrettyPrinter_Delaborator_delabFVar___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; lean_object* x_9; +x_8 = lean_ctor_get(x_3, 1); +lean_inc(x_8); +lean_inc(x_1); +x_9 = lean_local_ctx_find(x_8, x_1); +if (lean_obj_tag(x_9) == 0) +{ +lean_object* x_10; +x_10 = l_Lean_Meta_throwUnknownFVar___rarg(x_1, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_3); +return x_10; +} +else +{ +lean_object* x_11; lean_object* x_12; +lean_dec(x_3); +lean_dec(x_1); +x_11 = lean_ctor_get(x_9, 0); +lean_inc(x_11); +lean_dec(x_9); +x_12 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_12, 0, x_11); +lean_ctor_set(x_12, 1, x_7); +return x_12; +} +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabFVar___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Lean.PrettyPrinter.Delaborator.Builtins"); +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabFVar___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Lean.PrettyPrinter.Delaborator.delabFVar"); +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabFVar___closed__3() { +_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_PrettyPrinter_Delaborator_delabFVar___closed__1; +x_2 = l_Lean_PrettyPrinter_Delaborator_delabFVar___closed__2; +x_3 = lean_unsigned_to_nat(14u); +x_4 = lean_unsigned_to_nat(31u); +x_5 = l_Lean_Syntax_strLitToAtom___closed__3; +x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); +return x_6; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabFVar(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_8; +x_7 = l_Lean_PrettyPrinter_Delaborator_getExpr(x_1, x_2, x_3, x_4, x_5, x_6); +x_8 = lean_ctor_get(x_7, 0); +lean_inc(x_8); +if (lean_obj_tag(x_8) == 1) +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_9 = lean_ctor_get(x_7, 1); +lean_inc(x_9); +lean_dec(x_7); +x_10 = lean_ctor_get(x_8, 0); +lean_inc(x_10); +lean_dec(x_8); +lean_inc(x_10); +x_11 = l_Lean_Meta_getLocalDecl___at_Lean_PrettyPrinter_Delaborator_delabFVar___spec__1(x_10, x_1, x_2, x_3, x_4, x_5, x_9); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +if (lean_obj_tag(x_11) == 0) +{ +uint8_t x_12; +lean_dec(x_10); +x_12 = !lean_is_exclusive(x_11); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_13 = lean_ctor_get(x_11, 0); +x_14 = l_Lean_LocalDecl_userName(x_13); +lean_dec(x_13); +x_15 = lean_mk_syntax_ident(x_14); +lean_ctor_set(x_11, 0, x_15); +return x_11; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_16 = lean_ctor_get(x_11, 0); +x_17 = lean_ctor_get(x_11, 1); +lean_inc(x_17); +lean_inc(x_16); +lean_dec(x_11); +x_18 = l_Lean_LocalDecl_userName(x_16); +lean_dec(x_16); +x_19 = lean_mk_syntax_ident(x_18); +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_17); +return x_20; +} +} +else +{ +uint8_t x_21; +x_21 = !lean_is_exclusive(x_11); +if (x_21 == 0) +{ +lean_object* x_22; lean_object* x_23; +x_22 = lean_ctor_get(x_11, 0); +lean_dec(x_22); +x_23 = lean_mk_syntax_ident(x_10); +lean_ctor_set_tag(x_11, 0); +lean_ctor_set(x_11, 0, x_23); +return x_11; +} +else +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_24 = lean_ctor_get(x_11, 1); +lean_inc(x_24); +lean_dec(x_11); +x_25 = lean_mk_syntax_ident(x_10); +x_26 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_26, 1, x_24); +return x_26; +} +} +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; +lean_dec(x_8); +x_27 = lean_ctor_get(x_7, 1); +lean_inc(x_27); +lean_dec(x_7); +x_28 = l_Lean_PrettyPrinter_Delaborator_withAppFn___rarg___closed__1; +x_29 = l_Lean_PrettyPrinter_Delaborator_delabFVar___closed__3; +x_30 = lean_panic_fn(x_28, x_29); +x_31 = lean_apply_6(x_30, x_1, x_2, x_3, x_4, x_5, x_27); +return x_31; +} +} +} +lean_object* l_Lean_Meta_getLocalDecl___at_Lean_PrettyPrinter_Delaborator_delabFVar___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) { +_start: +{ +lean_object* x_8; +x_8 = l_Lean_Meta_getLocalDecl___at_Lean_PrettyPrinter_Delaborator_delabFVar___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +return x_8; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabFVar___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabFVar), 6, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabFVar(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_Delaborator_delabAttribute; +x_3 = l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__2; +x_4 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabFVar___closed__1; +x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); +return x_5; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabBVar_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; uint64_t x_5; lean_object* x_6; lean_object* x_7; +lean_dec(x_3); +x_4 = lean_ctor_get(x_1, 0); +lean_inc(x_4); +x_5 = lean_ctor_get_uint64(x_1, sizeof(void*)*1); +lean_dec(x_1); +x_6 = lean_box_uint64(x_5); +x_7 = lean_apply_2(x_2, x_4, x_6); +return x_7; +} +else +{ +lean_object* x_8; +lean_dec(x_2); +x_8 = lean_apply_1(x_3, x_1); +return x_8; +} +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabBVar_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabBVar_match__1___rarg), 3, 0); +return x_2; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabBVar___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Lean.PrettyPrinter.Delaborator.delabBVar"); +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabBVar___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_1 = l_Lean_PrettyPrinter_Delaborator_delabFVar___closed__1; +x_2 = l_Lean_PrettyPrinter_Delaborator_delabBVar___closed__1; +x_3 = lean_unsigned_to_nat(25u); +x_4 = lean_unsigned_to_nat(34u); +x_5 = l_Lean_Syntax_strLitToAtom___closed__3; +x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); +return x_6; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabBVar(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_8; +x_7 = l_Lean_PrettyPrinter_Delaborator_getExpr(x_1, x_2, x_3, x_4, x_5, x_6); +x_8 = lean_ctor_get(x_7, 0); +lean_inc(x_8); +if (lean_obj_tag(x_8) == 0) +{ +uint8_t x_9; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_9 = !lean_is_exclusive(x_7); +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_10 = lean_ctor_get(x_7, 0); +lean_dec(x_10); +x_11 = lean_ctor_get(x_8, 0); +lean_inc(x_11); +lean_dec(x_8); +x_12 = l_Nat_repr(x_11); +x_13 = l_Array_instReprArray___rarg___closed__1; +x_14 = lean_string_append(x_13, x_12); +lean_dec(x_12); +x_15 = lean_box(0); +x_16 = lean_name_mk_string(x_15, x_14); +x_17 = lean_mk_syntax_ident(x_16); +lean_ctor_set(x_7, 0, x_17); +return x_7; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_18 = lean_ctor_get(x_7, 1); +lean_inc(x_18); +lean_dec(x_7); +x_19 = lean_ctor_get(x_8, 0); +lean_inc(x_19); +lean_dec(x_8); +x_20 = l_Nat_repr(x_19); +x_21 = l_Array_instReprArray___rarg___closed__1; +x_22 = lean_string_append(x_21, x_20); +lean_dec(x_20); +x_23 = lean_box(0); +x_24 = lean_name_mk_string(x_23, x_22); +x_25 = lean_mk_syntax_ident(x_24); +x_26 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_26, 1, x_18); +return x_26; +} +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; +lean_dec(x_8); +x_27 = lean_ctor_get(x_7, 1); +lean_inc(x_27); +lean_dec(x_7); +x_28 = l_Lean_PrettyPrinter_Delaborator_withAppFn___rarg___closed__1; +x_29 = l_Lean_PrettyPrinter_Delaborator_delabBVar___closed__2; +x_30 = lean_panic_fn(x_28, x_29); +x_31 = lean_apply_6(x_30, x_1, x_2, x_3, x_4, x_5, x_27); +return x_31; +} +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabBVar___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabBVar), 6, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabBVar(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_Delaborator_delabAttribute; +x_3 = l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__1; +x_4 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabBVar___closed__1; +x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); +return x_5; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabMVar_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 2) +{ +lean_object* x_4; uint64_t x_5; lean_object* x_6; lean_object* x_7; +lean_dec(x_3); +x_4 = lean_ctor_get(x_1, 0); +lean_inc(x_4); +x_5 = lean_ctor_get_uint64(x_1, sizeof(void*)*1); +lean_dec(x_1); +x_6 = lean_box_uint64(x_5); +x_7 = lean_apply_2(x_2, x_4, x_6); +return x_7; +} +else +{ +lean_object* x_8; +lean_dec(x_2); +x_8 = lean_apply_1(x_3, x_1); +return x_8; +} +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabMVar_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabMVar_match__1___rarg), 3, 0); +return x_2; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabMVar___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Lean.PrettyPrinter.Delaborator.delabMVar"); +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabMVar___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_1 = l_Lean_PrettyPrinter_Delaborator_delabFVar___closed__1; +x_2 = l_Lean_PrettyPrinter_Delaborator_delabMVar___closed__1; +x_3 = lean_unsigned_to_nat(30u); +x_4 = lean_unsigned_to_nat(32u); +x_5 = l_Lean_Syntax_strLitToAtom___closed__3; +x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); +return x_6; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabMVar___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("m"); +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabMVar___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_PrettyPrinter_Delaborator_delabMVar___closed__3; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabMVar___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_instInhabitedSourceInfo___closed__1; +x_2 = l___kind_stx____x40_Init_Notation___hyg_7348____closed__2; +x_3 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabMVar___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Array_empty___closed__1; +x_2 = l_Lean_PrettyPrinter_Delaborator_delabMVar___closed__5; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabMVar(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_8; +x_7 = l_Lean_PrettyPrinter_Delaborator_getExpr(x_1, x_2, x_3, x_4, x_5, x_6); +x_8 = lean_ctor_get(x_7, 0); +lean_inc(x_8); +if (lean_obj_tag(x_8) == 2) +{ +uint8_t x_9; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_9 = !lean_is_exclusive(x_7); +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_10 = lean_ctor_get(x_7, 0); +lean_dec(x_10); +x_11 = lean_ctor_get(x_8, 0); +lean_inc(x_11); +lean_dec(x_8); +x_12 = l_Lean_NameGenerator_namePrefix___default___closed__2; +x_13 = l_Lean_PrettyPrinter_Delaborator_delabMVar___closed__4; +x_14 = l_Lean_Name_replacePrefix(x_11, x_12, x_13); +x_15 = lean_mk_syntax_ident(x_14); +x_16 = l_Lean_PrettyPrinter_Delaborator_delabMVar___closed__6; +x_17 = lean_array_push(x_16, x_15); +x_18 = l___regBuiltin_Lean_Elab_Term_elabSyntheticHole___closed__1; +x_19 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_17); +lean_ctor_set(x_7, 0, x_19); +return x_7; +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_20 = lean_ctor_get(x_7, 1); +lean_inc(x_20); +lean_dec(x_7); +x_21 = lean_ctor_get(x_8, 0); +lean_inc(x_21); +lean_dec(x_8); +x_22 = l_Lean_NameGenerator_namePrefix___default___closed__2; +x_23 = l_Lean_PrettyPrinter_Delaborator_delabMVar___closed__4; +x_24 = l_Lean_Name_replacePrefix(x_21, x_22, x_23); +x_25 = lean_mk_syntax_ident(x_24); +x_26 = l_Lean_PrettyPrinter_Delaborator_delabMVar___closed__6; +x_27 = lean_array_push(x_26, x_25); +x_28 = l___regBuiltin_Lean_Elab_Term_elabSyntheticHole___closed__1; +x_29 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_29, 0, x_28); +lean_ctor_set(x_29, 1, x_27); +x_30 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_30, 0, x_29); +lean_ctor_set(x_30, 1, x_20); +return x_30; +} +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; +lean_dec(x_8); +x_31 = lean_ctor_get(x_7, 1); +lean_inc(x_31); +lean_dec(x_7); +x_32 = l_Lean_PrettyPrinter_Delaborator_withAppFn___rarg___closed__1; +x_33 = l_Lean_PrettyPrinter_Delaborator_delabMVar___closed__2; +x_34 = lean_panic_fn(x_32, x_33); +x_35 = lean_apply_6(x_34, x_1, x_2, x_3, x_4, x_5, x_31); +return x_35; +} +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabMVar___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabMVar), 6, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabMVar(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_Delaborator_delabAttribute; +x_3 = l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__3; +x_4 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabMVar___closed__1; +x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); +return x_5; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabSort_match__1___rarg(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_object* x_5; +lean_dec(x_2); +x_4 = lean_box(0); +x_5 = lean_apply_1(x_3, x_4); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_3); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_apply_1(x_2, x_6); +return x_7; +} +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabSort_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabSort_match__1___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabSort_match__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +switch (lean_obj_tag(x_1)) { +case 0: +{ +uint64_t x_5; lean_object* x_6; lean_object* x_7; +lean_dec(x_4); +lean_dec(x_3); +x_5 = lean_ctor_get_uint64(x_1, 0); +lean_dec(x_1); +x_6 = lean_box_uint64(x_5); +x_7 = lean_apply_1(x_2, x_6); +return x_7; +} +case 1: +{ +lean_object* x_8; +lean_dec(x_2); +x_8 = lean_ctor_get(x_1, 0); +lean_inc(x_8); +if (lean_obj_tag(x_8) == 0) +{ +uint64_t x_9; uint64_t x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +lean_dec(x_4); +x_9 = lean_ctor_get_uint64(x_1, sizeof(void*)*1); +lean_dec(x_1); +x_10 = lean_ctor_get_uint64(x_8, 0); +lean_dec(x_8); +x_11 = lean_box_uint64(x_10); +x_12 = lean_box_uint64(x_9); +x_13 = lean_apply_2(x_3, x_11, x_12); +return x_13; +} +else +{ +lean_object* x_14; +lean_dec(x_8); +lean_dec(x_3); +x_14 = lean_apply_1(x_4, x_1); +return x_14; +} +} +default: +{ +lean_object* x_15; +lean_dec(x_3); +lean_dec(x_2); +x_15 = lean_apply_1(x_4, x_1); +return x_15; +} +} +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabSort_match__2(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabSort_match__2___rarg), 4, 0); +return x_2; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabSort_match__3___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 3) +{ +lean_object* x_4; uint64_t x_5; lean_object* x_6; lean_object* x_7; +lean_dec(x_3); +x_4 = lean_ctor_get(x_1, 0); +lean_inc(x_4); +x_5 = lean_ctor_get_uint64(x_1, sizeof(void*)*1); +lean_dec(x_1); +x_6 = lean_box_uint64(x_5); +x_7 = lean_apply_2(x_2, x_4, x_6); +return x_7; +} +else +{ +lean_object* x_8; +lean_dec(x_2); +x_8 = lean_apply_1(x_3, x_1); +return x_8; +} +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabSort_match__3(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabSort_match__3___rarg), 3, 0); +return x_2; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabSort___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Lean.PrettyPrinter.Delaborator.delabSort"); +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabSort___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_1 = l_Lean_PrettyPrinter_Delaborator_delabFVar___closed__1; +x_2 = l_Lean_PrettyPrinter_Delaborator_delabSort___closed__1; +x_3 = lean_unsigned_to_nat(36u); +x_4 = lean_unsigned_to_nat(32u); +x_5 = l_Lean_Syntax_strLitToAtom___closed__3; +x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); +return x_6; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabSort___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Prop"); +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabSort___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_instInhabitedSourceInfo___closed__1; +x_2 = l_Lean_PrettyPrinter_Delaborator_delabSort___closed__3; +x_3 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabSort___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Array_empty___closed__1; +x_2 = l_Lean_PrettyPrinter_Delaborator_delabSort___closed__4; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabSort___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Term_elabProp___closed__2; +x_2 = l_Lean_PrettyPrinter_Delaborator_delabSort___closed__5; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabSort___closed__7() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Type"); +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabSort___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_instInhabitedSourceInfo___closed__1; +x_2 = l_Lean_PrettyPrinter_Delaborator_delabSort___closed__7; +x_3 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabSort___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Array_empty___closed__1; +x_2 = l_Lean_PrettyPrinter_Delaborator_delabSort___closed__8; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabSort___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_PrettyPrinter_Delaborator_delabSort___closed__9; +x_2 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabSort___closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Term_elabTypeStx___closed__2; +x_2 = l_Lean_PrettyPrinter_Delaborator_delabSort___closed__10; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabSort(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_8; +x_7 = l_Lean_PrettyPrinter_Delaborator_getExpr(x_1, x_2, x_3, x_4, x_5, x_6); +x_8 = lean_ctor_get(x_7, 0); +lean_inc(x_8); +if (lean_obj_tag(x_8) == 3) +{ +lean_object* x_9; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_9 = lean_ctor_get(x_8, 0); +lean_inc(x_9); +lean_dec(x_8); +switch (lean_obj_tag(x_9)) { +case 0: +{ +uint8_t x_10; +lean_dec(x_9); +x_10 = !lean_is_exclusive(x_7); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; +x_11 = lean_ctor_get(x_7, 0); +lean_dec(x_11); +x_12 = l_Lean_PrettyPrinter_Delaborator_delabSort___closed__6; +lean_ctor_set(x_7, 0, x_12); +return x_7; +} +else +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_13 = lean_ctor_get(x_7, 1); +lean_inc(x_13); +lean_dec(x_7); +x_14 = l_Lean_PrettyPrinter_Delaborator_delabSort___closed__6; +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; +} +} +case 1: +{ +lean_object* x_16; +x_16 = lean_ctor_get(x_9, 0); +lean_inc(x_16); +if (lean_obj_tag(x_16) == 0) +{ +uint8_t x_17; +lean_dec(x_16); +lean_dec(x_9); +x_17 = !lean_is_exclusive(x_7); +if (x_17 == 0) +{ +lean_object* x_18; lean_object* x_19; +x_18 = lean_ctor_get(x_7, 0); +lean_dec(x_18); +x_19 = l_Lean_PrettyPrinter_Delaborator_delabSort___closed__11; +lean_ctor_set(x_7, 0, x_19); +return x_7; +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_ctor_get(x_7, 1); +lean_inc(x_20); +lean_dec(x_7); +x_21 = l_Lean_PrettyPrinter_Delaborator_delabSort___closed__11; +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 +{ +uint8_t x_23; +lean_dec(x_16); +x_23 = !lean_is_exclusive(x_7); +if (x_23 == 0) +{ +lean_object* x_24; lean_object* x_25; +x_24 = lean_ctor_get(x_7, 0); +lean_dec(x_24); +x_25 = l_Lean_Level_dec(x_9); +if (lean_obj_tag(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; +x_26 = l_Lean_Level_quote(x_9); +x_27 = l_Array_empty___closed__1; +x_28 = lean_array_push(x_27, x_26); +x_29 = l_Lean_nullKind___closed__2; +x_30 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_30, 0, x_29); +lean_ctor_set(x_30, 1, x_28); +x_31 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__31; +x_32 = lean_array_push(x_31, x_30); +x_33 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__28; +x_34 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_34, 0, x_33); +lean_ctor_set(x_34, 1, x_32); +lean_ctor_set(x_7, 0, x_34); +return x_7; +} +else +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; +lean_dec(x_9); +x_35 = lean_ctor_get(x_25, 0); +lean_inc(x_35); +lean_dec(x_25); +x_36 = l_Lean_Level_quote(x_35); +x_37 = l_Array_empty___closed__1; +x_38 = lean_array_push(x_37, x_36); +x_39 = l_Lean_nullKind___closed__2; +x_40 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_40, 0, x_39); +lean_ctor_set(x_40, 1, x_38); +x_41 = l_Lean_PrettyPrinter_Delaborator_delabSort___closed__9; +x_42 = lean_array_push(x_41, x_40); +x_43 = l___regBuiltin_Lean_Elab_Term_elabTypeStx___closed__2; +x_44 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_44, 0, x_43); +lean_ctor_set(x_44, 1, x_42); +lean_ctor_set(x_7, 0, x_44); +return x_7; +} +} +else +{ +lean_object* x_45; lean_object* x_46; +x_45 = lean_ctor_get(x_7, 1); +lean_inc(x_45); +lean_dec(x_7); +x_46 = l_Lean_Level_dec(x_9); +if (lean_obj_tag(x_46) == 0) +{ +lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; +x_47 = l_Lean_Level_quote(x_9); +x_48 = l_Array_empty___closed__1; +x_49 = lean_array_push(x_48, x_47); +x_50 = l_Lean_nullKind___closed__2; +x_51 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_51, 0, x_50); +lean_ctor_set(x_51, 1, x_49); +x_52 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__31; +x_53 = lean_array_push(x_52, x_51); +x_54 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__28; +x_55 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_55, 0, x_54); +lean_ctor_set(x_55, 1, x_53); +x_56 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_56, 0, x_55); +lean_ctor_set(x_56, 1, x_45); +return x_56; +} +else +{ +lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; +lean_dec(x_9); +x_57 = lean_ctor_get(x_46, 0); +lean_inc(x_57); +lean_dec(x_46); +x_58 = l_Lean_Level_quote(x_57); +x_59 = l_Array_empty___closed__1; +x_60 = lean_array_push(x_59, x_58); +x_61 = l_Lean_nullKind___closed__2; +x_62 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_62, 0, x_61); +lean_ctor_set(x_62, 1, x_60); +x_63 = l_Lean_PrettyPrinter_Delaborator_delabSort___closed__9; +x_64 = lean_array_push(x_63, x_62); +x_65 = l___regBuiltin_Lean_Elab_Term_elabTypeStx___closed__2; +x_66 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_66, 0, x_65); +lean_ctor_set(x_66, 1, x_64); +x_67 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_67, 0, x_66); +lean_ctor_set(x_67, 1, x_45); +return x_67; +} +} +} +} +default: +{ +uint8_t x_68; +x_68 = !lean_is_exclusive(x_7); +if (x_68 == 0) +{ +lean_object* x_69; lean_object* x_70; +x_69 = lean_ctor_get(x_7, 0); +lean_dec(x_69); +x_70 = l_Lean_Level_dec(x_9); +if (lean_obj_tag(x_70) == 0) +{ +lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; +x_71 = l_Lean_Level_quote(x_9); +x_72 = l_Array_empty___closed__1; +x_73 = lean_array_push(x_72, x_71); +x_74 = l_Lean_nullKind___closed__2; +x_75 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_75, 0, x_74); +lean_ctor_set(x_75, 1, x_73); +x_76 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__31; +x_77 = lean_array_push(x_76, x_75); +x_78 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__28; +x_79 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_79, 0, x_78); +lean_ctor_set(x_79, 1, x_77); +lean_ctor_set(x_7, 0, x_79); +return x_7; +} +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_dec(x_9); +x_80 = lean_ctor_get(x_70, 0); +lean_inc(x_80); +lean_dec(x_70); +x_81 = l_Lean_Level_quote(x_80); +x_82 = l_Array_empty___closed__1; +x_83 = lean_array_push(x_82, x_81); +x_84 = l_Lean_nullKind___closed__2; +x_85 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_85, 0, x_84); +lean_ctor_set(x_85, 1, x_83); +x_86 = l_Lean_PrettyPrinter_Delaborator_delabSort___closed__9; +x_87 = lean_array_push(x_86, x_85); +x_88 = l___regBuiltin_Lean_Elab_Term_elabTypeStx___closed__2; +x_89 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_89, 0, x_88); +lean_ctor_set(x_89, 1, x_87); +lean_ctor_set(x_7, 0, x_89); +return x_7; +} +} +else +{ +lean_object* x_90; lean_object* x_91; +x_90 = lean_ctor_get(x_7, 1); +lean_inc(x_90); +lean_dec(x_7); +x_91 = l_Lean_Level_dec(x_9); +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_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; +x_92 = l_Lean_Level_quote(x_9); +x_93 = l_Array_empty___closed__1; +x_94 = lean_array_push(x_93, x_92); +x_95 = l_Lean_nullKind___closed__2; +x_96 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_96, 0, x_95); +lean_ctor_set(x_96, 1, x_94); +x_97 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__31; +x_98 = lean_array_push(x_97, x_96); +x_99 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__28; +x_100 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_100, 0, x_99); +lean_ctor_set(x_100, 1, x_98); +x_101 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_101, 0, x_100); +lean_ctor_set(x_101, 1, x_90); +return x_101; +} +else +{ +lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; +lean_dec(x_9); +x_102 = lean_ctor_get(x_91, 0); +lean_inc(x_102); +lean_dec(x_91); +x_103 = l_Lean_Level_quote(x_102); +x_104 = l_Array_empty___closed__1; +x_105 = lean_array_push(x_104, x_103); +x_106 = l_Lean_nullKind___closed__2; +x_107 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_107, 0, x_106); +lean_ctor_set(x_107, 1, x_105); +x_108 = l_Lean_PrettyPrinter_Delaborator_delabSort___closed__9; +x_109 = lean_array_push(x_108, x_107); +x_110 = l___regBuiltin_Lean_Elab_Term_elabTypeStx___closed__2; +x_111 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_111, 0, x_110); +lean_ctor_set(x_111, 1, x_109); +x_112 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_112, 0, x_111); +lean_ctor_set(x_112, 1, x_90); +return x_112; +} +} +} +} +} +else +{ +lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; +lean_dec(x_8); +x_113 = lean_ctor_get(x_7, 1); +lean_inc(x_113); +lean_dec(x_7); +x_114 = l_Lean_PrettyPrinter_Delaborator_withAppFn___rarg___closed__1; +x_115 = l_Lean_PrettyPrinter_Delaborator_delabSort___closed__2; +x_116 = lean_panic_fn(x_114, x_115); +x_117 = lean_apply_6(x_116, x_1, x_2, x_3, x_4, x_5, x_113); +return x_117; +} +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabSort___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabSort), 6, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabSort(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_Delaborator_delabAttribute; +x_3 = l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__4; +x_4 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabSort___closed__1; +x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); +return x_5; +} +} +lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_unresolveQualifiedName(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; +x_9 = lean_box(0); +lean_inc(x_2); +x_10 = l_Lean_Name_replacePrefix(x_2, x_1, x_9); +x_11 = lean_st_ref_get(x_7, x_8); +x_12 = !lean_is_exclusive(x_11); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; +x_13 = lean_ctor_get(x_11, 0); +x_14 = lean_ctor_get(x_11, 1); +x_15 = lean_ctor_get(x_13, 0); +lean_inc(x_15); +lean_dec(x_13); +x_16 = lean_name_eq(x_10, x_2); +if (x_16 == 0) +{ +uint8_t x_17; +x_17 = l_Lean_Name_isAnonymous(x_10); +if (x_17 == 0) +{ +uint8_t x_18; +x_18 = l_Lean_Name_isAtomic(x_10); +if (x_18 == 0) +{ +lean_dec(x_15); +lean_dec(x_2); +lean_ctor_set(x_11, 0, x_10); +return x_11; +} +else +{ +lean_object* x_19; uint8_t x_20; +x_19 = l_Lean_protectedExt; +x_20 = l_Lean_TagDeclarationExtension_isTagged(x_19, x_15, x_2); +lean_dec(x_2); +lean_dec(x_15); +if (x_20 == 0) +{ +lean_ctor_set(x_11, 0, x_10); +return x_11; +} +else +{ +lean_object* x_21; uint8_t x_22; +lean_free_object(x_11); +lean_dec(x_10); +x_21 = l_Lean_PrettyPrinter_Delaborator_failure___rarg(x_14); +x_22 = !lean_is_exclusive(x_21); +if (x_22 == 0) +{ +return x_21; +} +else +{ +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(1, 2, 0); +lean_ctor_set(x_25, 0, x_23); +lean_ctor_set(x_25, 1, x_24); +return x_25; +} +} +} +} +else +{ +lean_object* x_26; uint8_t x_27; +lean_dec(x_15); +lean_free_object(x_11); +lean_dec(x_10); +lean_dec(x_2); +x_26 = l_Lean_PrettyPrinter_Delaborator_failure___rarg(x_14); +x_27 = !lean_is_exclusive(x_26); +if (x_27 == 0) +{ +return x_26; +} +else +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_28 = lean_ctor_get(x_26, 0); +x_29 = lean_ctor_get(x_26, 1); +lean_inc(x_29); +lean_inc(x_28); +lean_dec(x_26); +x_30 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_30, 0, x_28); +lean_ctor_set(x_30, 1, x_29); +return x_30; +} +} +} +else +{ +lean_object* x_31; uint8_t x_32; +lean_dec(x_15); +lean_free_object(x_11); +lean_dec(x_10); +lean_dec(x_2); +x_31 = l_Lean_PrettyPrinter_Delaborator_failure___rarg(x_14); +x_32 = !lean_is_exclusive(x_31); +if (x_32 == 0) +{ +return x_31; +} +else +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_33 = lean_ctor_get(x_31, 0); +x_34 = lean_ctor_get(x_31, 1); +lean_inc(x_34); +lean_inc(x_33); +lean_dec(x_31); +x_35 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_35, 0, x_33); +lean_ctor_set(x_35, 1, x_34); +return x_35; +} +} +} +else +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; +x_36 = lean_ctor_get(x_11, 0); +x_37 = lean_ctor_get(x_11, 1); +lean_inc(x_37); +lean_inc(x_36); +lean_dec(x_11); +x_38 = lean_ctor_get(x_36, 0); +lean_inc(x_38); +lean_dec(x_36); +x_39 = lean_name_eq(x_10, x_2); +if (x_39 == 0) +{ +uint8_t x_40; +x_40 = l_Lean_Name_isAnonymous(x_10); +if (x_40 == 0) +{ +uint8_t x_41; +x_41 = l_Lean_Name_isAtomic(x_10); +if (x_41 == 0) +{ +lean_object* x_42; +lean_dec(x_38); +lean_dec(x_2); +x_42 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_42, 0, x_10); +lean_ctor_set(x_42, 1, x_37); +return x_42; +} +else +{ +lean_object* x_43; uint8_t x_44; +x_43 = l_Lean_protectedExt; +x_44 = l_Lean_TagDeclarationExtension_isTagged(x_43, x_38, x_2); +lean_dec(x_2); +lean_dec(x_38); +if (x_44 == 0) +{ +lean_object* x_45; +x_45 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_45, 0, x_10); +lean_ctor_set(x_45, 1, x_37); +return x_45; +} +else +{ +lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; +lean_dec(x_10); +x_46 = l_Lean_PrettyPrinter_Delaborator_failure___rarg(x_37); +x_47 = lean_ctor_get(x_46, 0); +lean_inc(x_47); +x_48 = lean_ctor_get(x_46, 1); +lean_inc(x_48); +if (lean_is_exclusive(x_46)) { + lean_ctor_release(x_46, 0); + lean_ctor_release(x_46, 1); + x_49 = x_46; +} else { + lean_dec_ref(x_46); + x_49 = lean_box(0); +} +if (lean_is_scalar(x_49)) { + x_50 = lean_alloc_ctor(1, 2, 0); +} else { + x_50 = x_49; +} +lean_ctor_set(x_50, 0, x_47); +lean_ctor_set(x_50, 1, x_48); +return x_50; +} +} +} +else +{ +lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; +lean_dec(x_38); +lean_dec(x_10); +lean_dec(x_2); +x_51 = l_Lean_PrettyPrinter_Delaborator_failure___rarg(x_37); +x_52 = lean_ctor_get(x_51, 0); +lean_inc(x_52); +x_53 = lean_ctor_get(x_51, 1); +lean_inc(x_53); +if (lean_is_exclusive(x_51)) { + lean_ctor_release(x_51, 0); + lean_ctor_release(x_51, 1); + x_54 = x_51; +} else { + lean_dec_ref(x_51); + x_54 = lean_box(0); +} +if (lean_is_scalar(x_54)) { + x_55 = lean_alloc_ctor(1, 2, 0); +} else { + x_55 = x_54; +} +lean_ctor_set(x_55, 0, x_52); +lean_ctor_set(x_55, 1, x_53); +return x_55; +} +} +else +{ +lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; +lean_dec(x_38); +lean_dec(x_10); +lean_dec(x_2); +x_56 = l_Lean_PrettyPrinter_Delaborator_failure___rarg(x_37); +x_57 = lean_ctor_get(x_56, 0); +lean_inc(x_57); +x_58 = lean_ctor_get(x_56, 1); +lean_inc(x_58); +if (lean_is_exclusive(x_56)) { + lean_ctor_release(x_56, 0); + lean_ctor_release(x_56, 1); + x_59 = x_56; +} else { + lean_dec_ref(x_56); + x_59 = lean_box(0); +} +if (lean_is_scalar(x_59)) { + x_60 = lean_alloc_ctor(1, 2, 0); +} else { + x_60 = x_59; +} +lean_ctor_set(x_60, 0, x_57); +lean_ctor_set(x_60, 1, x_58); +return x_60; +} +} +} +} +lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_unresolveQualifiedName___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_unresolveQualifiedName(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +return x_9; +} +} +lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_unresolveUsingNamespace_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 1) +{ +lean_object* x_4; lean_object* x_5; size_t x_6; lean_object* x_7; lean_object* x_8; +lean_dec(x_3); +x_4 = lean_ctor_get(x_1, 0); +lean_inc(x_4); +x_5 = lean_ctor_get(x_1, 1); +lean_inc(x_5); +x_6 = lean_ctor_get_usize(x_1, 2); +x_7 = lean_box_usize(x_6); +x_8 = lean_apply_4(x_2, x_1, x_4, x_5, x_7); +return x_8; +} +else +{ +lean_object* x_9; +lean_dec(x_2); +x_9 = lean_apply_1(x_3, x_1); +return x_9; +} +} +} +lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_unresolveUsingNamespace_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_unresolveUsingNamespace_match__1___rarg), 3, 0); +return x_2; +} +} +lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_unresolveUsingNamespace(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +if (lean_obj_tag(x_2) == 1) +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_ctor_get(x_2, 0); +lean_inc(x_1); +x_10 = l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_unresolveQualifiedName(x_2, x_1, x_3, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_10) == 0) +{ +lean_dec(x_1); +return x_10; +} +else +{ +lean_object* x_11; +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +if (lean_obj_tag(x_11) == 0) +{ +uint8_t x_12; +lean_dec(x_1); +x_12 = !lean_is_exclusive(x_10); +if (x_12 == 0) +{ +lean_object* x_13; +x_13 = lean_ctor_get(x_10, 0); +lean_dec(x_13); +return x_10; +} +else +{ +lean_object* x_14; lean_object* x_15; +x_14 = lean_ctor_get(x_10, 1); +lean_inc(x_14); +lean_dec(x_10); +x_15 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_15, 0, x_11); +lean_ctor_set(x_15, 1, x_14); +return x_15; +} +} +else +{ +uint8_t x_16; +x_16 = !lean_is_exclusive(x_10); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; +x_17 = lean_ctor_get(x_10, 1); +x_18 = lean_ctor_get(x_10, 0); +lean_dec(x_18); +x_19 = lean_ctor_get(x_11, 0); +lean_inc(x_19); +x_20 = l_Lean_PrettyPrinter_Delaborator_delabFailureId; +x_21 = lean_nat_dec_eq(x_20, x_19); +lean_dec(x_19); +if (x_21 == 0) +{ +lean_dec(x_1); +return x_10; +} +else +{ +lean_free_object(x_10); +lean_dec(x_11); +x_2 = x_9; +x_8 = x_17; +goto _start; +} +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; +x_23 = lean_ctor_get(x_10, 1); +lean_inc(x_23); +lean_dec(x_10); +x_24 = lean_ctor_get(x_11, 0); +lean_inc(x_24); +x_25 = l_Lean_PrettyPrinter_Delaborator_delabFailureId; +x_26 = lean_nat_dec_eq(x_25, x_24); +lean_dec(x_24); +if (x_26 == 0) +{ +lean_object* x_27; +lean_dec(x_1); +x_27 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_27, 0, x_11); +lean_ctor_set(x_27, 1, x_23); +return x_27; +} +else +{ +lean_dec(x_11); +x_2 = x_9; +x_8 = x_23; +goto _start; +} +} +} +} +} +else +{ +lean_object* x_29; +lean_dec(x_1); +x_29 = l_Lean_PrettyPrinter_Delaborator_failure___rarg(x_8); +return x_29; +} +} +} +lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_unresolveUsingNamespace___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_unresolveUsingNamespace(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_9; +} +} +lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_unresolveOpenDecls_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_5; lean_object* x_6; +lean_dec(x_4); +lean_dec(x_3); +x_5 = lean_box(0); +x_6 = lean_apply_1(x_2, x_5); +return x_6; +} +else +{ +lean_object* x_7; +lean_dec(x_2); +x_7 = lean_ctor_get(x_1, 0); +lean_inc(x_7); +if (lean_obj_tag(x_7) == 0) +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +lean_dec(x_4); +x_8 = lean_ctor_get(x_1, 1); +lean_inc(x_8); +lean_dec(x_1); +x_9 = lean_ctor_get(x_7, 0); +lean_inc(x_9); +x_10 = lean_ctor_get(x_7, 1); +lean_inc(x_10); +lean_dec(x_7); +x_11 = lean_apply_3(x_3, x_9, x_10, x_8); +return x_11; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +lean_dec(x_3); +x_12 = lean_ctor_get(x_1, 1); +lean_inc(x_12); +lean_dec(x_1); +x_13 = lean_ctor_get(x_7, 0); +lean_inc(x_13); +x_14 = lean_ctor_get(x_7, 1); +lean_inc(x_14); +lean_dec(x_7); +x_15 = lean_apply_3(x_4, x_13, x_14, x_12); +return x_15; +} +} +} +} +lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_unresolveOpenDecls_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_unresolveOpenDecls_match__1___rarg), 4, 0); +return x_2; +} +} +lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_unresolveOpenDecls(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_9; +lean_dec(x_1); +x_9 = l_Lean_PrettyPrinter_Delaborator_failure___rarg(x_8); +return x_9; +} +else +{ +lean_object* x_10; +x_10 = lean_ctor_get(x_2, 0); +if (lean_obj_tag(x_10) == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; +x_11 = lean_ctor_get(x_2, 1); +x_12 = lean_ctor_get(x_10, 0); +x_13 = lean_ctor_get(x_10, 1); +x_14 = lean_box(0); +lean_inc(x_1); +x_15 = l_Lean_Name_replacePrefix(x_1, x_12, x_14); +x_16 = lean_name_eq(x_15, x_1); +if (x_16 == 0) +{ +uint8_t x_17; +x_17 = l_List_elem___at_Lean_NameHashSet_insert___spec__2(x_15, x_13); +lean_dec(x_15); +if (x_17 == 0) +{ +lean_object* x_18; +lean_inc(x_1); +x_18 = l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_unresolveQualifiedName(x_12, x_1, x_3, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_18) == 0) +{ +lean_dec(x_1); +return x_18; +} +else +{ +lean_object* x_19; +x_19 = lean_ctor_get(x_18, 0); +lean_inc(x_19); +if (lean_obj_tag(x_19) == 0) +{ +uint8_t x_20; +lean_dec(x_1); +x_20 = !lean_is_exclusive(x_18); +if (x_20 == 0) +{ +lean_object* x_21; +x_21 = lean_ctor_get(x_18, 0); +lean_dec(x_21); +return x_18; +} +else +{ +lean_object* x_22; lean_object* x_23; +x_22 = lean_ctor_get(x_18, 1); +lean_inc(x_22); +lean_dec(x_18); +x_23 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_23, 0, x_19); +lean_ctor_set(x_23, 1, x_22); +return x_23; +} +} +else +{ +uint8_t x_24; +x_24 = !lean_is_exclusive(x_18); +if (x_24 == 0) +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; +x_25 = lean_ctor_get(x_18, 1); +x_26 = lean_ctor_get(x_18, 0); +lean_dec(x_26); +x_27 = lean_ctor_get(x_19, 0); +lean_inc(x_27); +x_28 = l_Lean_PrettyPrinter_Delaborator_delabFailureId; +x_29 = lean_nat_dec_eq(x_28, x_27); +lean_dec(x_27); +if (x_29 == 0) +{ +lean_dec(x_1); +return x_18; +} +else +{ +lean_free_object(x_18); +lean_dec(x_19); +x_2 = x_11; +x_8 = x_25; +goto _start; +} +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; +x_31 = lean_ctor_get(x_18, 1); +lean_inc(x_31); +lean_dec(x_18); +x_32 = lean_ctor_get(x_19, 0); +lean_inc(x_32); +x_33 = l_Lean_PrettyPrinter_Delaborator_delabFailureId; +x_34 = lean_nat_dec_eq(x_33, x_32); +lean_dec(x_32); +if (x_34 == 0) +{ +lean_object* x_35; +lean_dec(x_1); +x_35 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_35, 0, x_19); +lean_ctor_set(x_35, 1, x_31); +return x_35; +} +else +{ +lean_dec(x_19); +x_2 = x_11; +x_8 = x_31; +goto _start; +} +} +} +} +} +else +{ +x_2 = x_11; +goto _start; +} +} +else +{ +lean_object* x_38; +lean_dec(x_15); +lean_inc(x_1); +x_38 = l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_unresolveQualifiedName(x_12, x_1, x_3, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_38) == 0) +{ +lean_dec(x_1); +return x_38; +} +else +{ +lean_object* x_39; +x_39 = lean_ctor_get(x_38, 0); +lean_inc(x_39); +if (lean_obj_tag(x_39) == 0) +{ +uint8_t x_40; +lean_dec(x_1); +x_40 = !lean_is_exclusive(x_38); +if (x_40 == 0) +{ +lean_object* x_41; +x_41 = lean_ctor_get(x_38, 0); +lean_dec(x_41); +return x_38; +} +else +{ +lean_object* x_42; lean_object* x_43; +x_42 = lean_ctor_get(x_38, 1); +lean_inc(x_42); +lean_dec(x_38); +x_43 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_43, 0, x_39); +lean_ctor_set(x_43, 1, x_42); +return x_43; +} +} +else +{ +uint8_t x_44; +x_44 = !lean_is_exclusive(x_38); +if (x_44 == 0) +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; uint8_t x_49; +x_45 = lean_ctor_get(x_38, 1); +x_46 = lean_ctor_get(x_38, 0); +lean_dec(x_46); +x_47 = lean_ctor_get(x_39, 0); +lean_inc(x_47); +x_48 = l_Lean_PrettyPrinter_Delaborator_delabFailureId; +x_49 = lean_nat_dec_eq(x_48, x_47); +lean_dec(x_47); +if (x_49 == 0) +{ +lean_dec(x_1); +return x_38; +} +else +{ +lean_free_object(x_38); +lean_dec(x_39); +x_2 = x_11; +x_8 = x_45; +goto _start; +} +} +else +{ +lean_object* x_51; lean_object* x_52; lean_object* x_53; uint8_t x_54; +x_51 = lean_ctor_get(x_38, 1); +lean_inc(x_51); +lean_dec(x_38); +x_52 = lean_ctor_get(x_39, 0); +lean_inc(x_52); +x_53 = l_Lean_PrettyPrinter_Delaborator_delabFailureId; +x_54 = lean_nat_dec_eq(x_53, x_52); +lean_dec(x_52); +if (x_54 == 0) +{ +lean_object* x_55; +lean_dec(x_1); +x_55 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_55, 0, x_39); +lean_ctor_set(x_55, 1, x_51); +return x_55; +} +else +{ +lean_dec(x_39); +x_2 = x_11; +x_8 = x_51; +goto _start; +} +} +} +} +} +} +else +{ +lean_object* x_57; lean_object* x_58; lean_object* x_59; uint8_t x_60; +x_57 = lean_ctor_get(x_2, 1); +x_58 = lean_ctor_get(x_10, 0); +x_59 = lean_ctor_get(x_10, 1); +x_60 = lean_name_eq(x_1, x_59); +if (x_60 == 0) +{ +lean_object* x_61; uint8_t x_62; +x_61 = l_Lean_PrettyPrinter_Delaborator_failure___rarg(x_8); +x_62 = !lean_is_exclusive(x_61); +if (x_62 == 0) +{ +lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; uint8_t x_67; +x_63 = lean_ctor_get(x_61, 0); +x_64 = lean_ctor_get(x_61, 1); +x_65 = lean_ctor_get(x_63, 0); +lean_inc(x_65); +x_66 = l_Lean_PrettyPrinter_Delaborator_delabFailureId; +x_67 = lean_nat_dec_eq(x_66, x_65); +lean_dec(x_65); +if (x_67 == 0) +{ +lean_dec(x_1); +return x_61; +} +else +{ +lean_free_object(x_61); +lean_dec(x_63); +x_2 = x_57; +x_8 = x_64; +goto _start; +} +} +else +{ +lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; uint8_t x_73; +x_69 = lean_ctor_get(x_61, 0); +x_70 = lean_ctor_get(x_61, 1); +lean_inc(x_70); +lean_inc(x_69); +lean_dec(x_61); +x_71 = lean_ctor_get(x_69, 0); +lean_inc(x_71); +x_72 = l_Lean_PrettyPrinter_Delaborator_delabFailureId; +x_73 = lean_nat_dec_eq(x_72, x_71); +lean_dec(x_71); +if (x_73 == 0) +{ +lean_object* x_74; +lean_dec(x_1); +x_74 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_74, 0, x_69); +lean_ctor_set(x_74, 1, x_70); +return x_74; +} +else +{ +lean_dec(x_69); +x_2 = x_57; +x_8 = x_70; +goto _start; +} +} +} +else +{ +lean_object* x_76; +lean_dec(x_1); +lean_inc(x_58); +x_76 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_76, 0, x_58); +lean_ctor_set(x_76, 1, x_8); +return x_76; +} +} +} +} +} +lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_unresolveOpenDecls___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_unresolveOpenDecls(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_9; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabConst_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 4) +{ +lean_object* x_4; lean_object* x_5; uint64_t x_6; lean_object* x_7; lean_object* x_8; +lean_dec(x_3); +x_4 = lean_ctor_get(x_1, 0); +lean_inc(x_4); +x_5 = lean_ctor_get(x_1, 1); +lean_inc(x_5); +x_6 = lean_ctor_get_uint64(x_1, sizeof(void*)*2); +lean_dec(x_1); +x_7 = lean_box_uint64(x_6); +x_8 = lean_apply_3(x_2, x_4, x_5, x_7); +return x_8; +} +else +{ +lean_object* x_9; +lean_dec(x_2); +x_9 = lean_apply_1(x_3, x_1); +return x_9; +} +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabConst_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabConst_match__1___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_delabConst___spec__1(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; +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 = l_Lean_Level_quote(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; +} +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabConst___lambda__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_getPPUniverses___boxed), 1, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabConst___lambda__1___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("explicitUniv"); +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabConst___lambda__1___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_myMacro____x40_Init_Notation___hyg_38____closed__6; +x_2 = l_Lean_PrettyPrinter_Delaborator_delabConst___lambda__1___closed__2; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabConst___lambda__1___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string(".{"); +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabConst___lambda__1___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_instInhabitedSourceInfo___closed__1; +x_2 = l_Lean_PrettyPrinter_Delaborator_delabConst___lambda__1___closed__4; +x_3 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabConst___lambda__1___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_myMacro____x40_Init_Notation___hyg_7791____closed__7; +x_2 = l_Lean_mkAtom(x_1); +return x_2; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabConst___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; +x_9 = l_Lean_PrettyPrinter_Delaborator_delabConst___lambda__1___closed__1; +x_10 = l_Lean_PrettyPrinter_Delaborator_getPPOption(x_9, x_3, x_4, x_5, x_6, x_7, x_8); +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +x_12 = lean_unbox(x_11); +lean_dec(x_11); +if (x_12 == 0) +{ +uint8_t x_13; +lean_dec(x_1); +x_13 = !lean_is_exclusive(x_10); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; +x_14 = lean_ctor_get(x_10, 0); +lean_dec(x_14); +x_15 = lean_mk_syntax_ident(x_2); +lean_ctor_set(x_10, 0, x_15); +return x_10; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_16 = lean_ctor_get(x_10, 1); +lean_inc(x_16); +lean_dec(x_10); +x_17 = lean_mk_syntax_ident(x_2); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_16); +return x_18; +} +} +else +{ +uint8_t x_19; +x_19 = !lean_is_exclusive(x_10); +if (x_19 == 0) +{ +lean_object* x_20; uint8_t x_21; +x_20 = lean_ctor_get(x_10, 0); +lean_dec(x_20); +x_21 = l_List_isEmpty___rarg(x_1); +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; size_t x_31; size_t x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_22 = lean_mk_syntax_ident(x_2); +x_23 = l_Array_empty___closed__1; +x_24 = lean_array_push(x_23, x_22); +x_25 = l_Lean_PrettyPrinter_Delaborator_delabConst___lambda__1___closed__5; +x_26 = lean_array_push(x_24, x_25); +x_27 = l_List_redLength___rarg(x_1); +x_28 = lean_mk_empty_array_with_capacity(x_27); +lean_dec(x_27); +x_29 = l_List_toArrayAux___rarg(x_1, x_28); +x_30 = lean_array_get_size(x_29); +x_31 = lean_usize_of_nat(x_30); +lean_dec(x_30); +x_32 = 0; +x_33 = x_29; +x_34 = l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_delabConst___spec__1(x_31, x_32, x_33); +x_35 = x_34; +x_36 = l_Lean_PrettyPrinter_Delaborator_delabConst___lambda__1___closed__6; +x_37 = l_Lean_mkSepArray(x_35, x_36); +lean_dec(x_35); +x_38 = l_Array_appendCore___rarg(x_23, x_37); +lean_dec(x_37); +x_39 = l_Lean_nullKind___closed__2; +x_40 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_40, 0, x_39); +lean_ctor_set(x_40, 1, x_38); +x_41 = lean_array_push(x_26, x_40); +x_42 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__21; +x_43 = lean_array_push(x_41, x_42); +x_44 = l_Lean_PrettyPrinter_Delaborator_delabConst___lambda__1___closed__3; +x_45 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_45, 0, x_44); +lean_ctor_set(x_45, 1, x_43); +lean_ctor_set(x_10, 0, x_45); +return x_10; +} +else +{ +lean_object* x_46; +lean_dec(x_1); +x_46 = lean_mk_syntax_ident(x_2); +lean_ctor_set(x_10, 0, x_46); +return x_10; +} +} +else +{ +lean_object* x_47; uint8_t x_48; +x_47 = lean_ctor_get(x_10, 1); +lean_inc(x_47); +lean_dec(x_10); +x_48 = l_List_isEmpty___rarg(x_1); +if (x_48 == 0) +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; size_t x_58; size_t x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; 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_49 = lean_mk_syntax_ident(x_2); +x_50 = l_Array_empty___closed__1; +x_51 = lean_array_push(x_50, x_49); +x_52 = l_Lean_PrettyPrinter_Delaborator_delabConst___lambda__1___closed__5; +x_53 = lean_array_push(x_51, x_52); +x_54 = l_List_redLength___rarg(x_1); +x_55 = lean_mk_empty_array_with_capacity(x_54); +lean_dec(x_54); +x_56 = l_List_toArrayAux___rarg(x_1, x_55); +x_57 = lean_array_get_size(x_56); +x_58 = lean_usize_of_nat(x_57); +lean_dec(x_57); +x_59 = 0; +x_60 = x_56; +x_61 = l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_delabConst___spec__1(x_58, x_59, x_60); +x_62 = x_61; +x_63 = l_Lean_PrettyPrinter_Delaborator_delabConst___lambda__1___closed__6; +x_64 = l_Lean_mkSepArray(x_62, x_63); +lean_dec(x_62); +x_65 = l_Array_appendCore___rarg(x_50, x_64); +lean_dec(x_64); +x_66 = l_Lean_nullKind___closed__2; +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_53, x_67); +x_69 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__21; +x_70 = lean_array_push(x_68, x_69); +x_71 = l_Lean_PrettyPrinter_Delaborator_delabConst___lambda__1___closed__3; +x_72 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_72, 0, x_71); +lean_ctor_set(x_72, 1, x_70); +x_73 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_73, 0, x_72); +lean_ctor_set(x_73, 1, x_47); +return x_73; +} +else +{ +lean_object* x_74; lean_object* x_75; +lean_dec(x_1); +x_74 = lean_mk_syntax_ident(x_2); +x_75 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_75, 0, x_74); +lean_ctor_set(x_75, 1, x_47); +return x_75; +} +} +} +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabConst___lambda__2___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_getPPPrivateNames___boxed), 1, 0); +return x_1; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabConst___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; +x_9 = l_Lean_PrettyPrinter_Delaborator_delabConst___lambda__2___closed__1; +lean_inc(x_3); +x_10 = l_Lean_PrettyPrinter_Delaborator_getPPOption(x_9, x_3, x_4, x_5, x_6, x_7, x_8); +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +x_12 = lean_unbox(x_11); +lean_dec(x_11); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; +x_13 = lean_ctor_get(x_10, 1); +lean_inc(x_13); +lean_dec(x_10); +lean_inc(x_2); +x_14 = lean_private_to_user_name(x_2); +if (lean_obj_tag(x_14) == 0) +{ +lean_object* x_15; +x_15 = l_Lean_PrettyPrinter_Delaborator_delabConst___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_13); +return x_15; +} +else +{ +lean_object* x_16; lean_object* x_17; +lean_dec(x_2); +x_16 = lean_ctor_get(x_14, 0); +lean_inc(x_16); +lean_dec(x_14); +x_17 = l_Lean_PrettyPrinter_Delaborator_delabConst___lambda__1(x_1, x_16, x_3, x_4, x_5, x_6, x_7, x_13); +return x_17; +} +} +else +{ +lean_object* x_18; lean_object* x_19; +x_18 = lean_ctor_get(x_10, 1); +lean_inc(x_18); +lean_dec(x_10); +x_19 = l_Lean_PrettyPrinter_Delaborator_delabConst___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_18); +return x_19; +} +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabConst___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Lean.PrettyPrinter.Delaborator.delabConst"); +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabConst___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_1 = l_Lean_PrettyPrinter_Delaborator_delabFVar___closed__1; +x_2 = l_Lean_PrettyPrinter_Delaborator_delabConst___closed__1; +x_3 = lean_unsigned_to_nat(68u); +x_4 = lean_unsigned_to_nat(36u); +x_5 = l_Lean_Syntax_strLitToAtom___closed__3; +x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); +return x_6; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabConst___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_getPPFullNames___boxed), 1, 0); +return x_1; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabConst(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_8; +x_7 = l_Lean_PrettyPrinter_Delaborator_getExpr(x_1, x_2, x_3, x_4, x_5, x_6); +x_8 = lean_ctor_get(x_7, 0); +lean_inc(x_8); +if (lean_obj_tag(x_8) == 4) +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; +x_9 = lean_ctor_get(x_7, 1); +lean_inc(x_9); +lean_dec(x_7); +x_10 = lean_ctor_get(x_8, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_8, 1); +lean_inc(x_11); +lean_dec(x_8); +x_12 = l_Lean_PrettyPrinter_Delaborator_delabConst___closed__3; +lean_inc(x_1); +x_13 = l_Lean_PrettyPrinter_Delaborator_getPPOption(x_12, x_1, x_2, x_3, x_4, x_5, x_9); +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +x_15 = lean_unbox(x_14); +lean_dec(x_14); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_16 = lean_ctor_get(x_13, 1); +lean_inc(x_16); +lean_dec(x_13); +x_17 = lean_st_ref_get(x_5, x_16); +x_18 = lean_ctor_get(x_17, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); +lean_dec(x_17); +x_20 = lean_ctor_get(x_18, 0); +lean_inc(x_20); +lean_dec(x_18); +lean_inc(x_10); +x_21 = l_Lean_getRevAliases(x_20, x_10); +lean_dec(x_20); +x_22 = l_List_headD___rarg(x_21, x_10); +lean_dec(x_10); +lean_dec(x_21); +x_23 = lean_ctor_get(x_1, 4); +lean_inc(x_23); +x_24 = lean_ctor_get(x_1, 5); +lean_inc(x_24); +lean_inc(x_22); +x_25 = l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_unresolveUsingNamespace(x_22, x_23, x_1, x_2, x_3, x_4, x_5, x_19); +lean_dec(x_23); +if (lean_obj_tag(x_25) == 0) +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; +lean_dec(x_24); +lean_dec(x_22); +x_26 = lean_ctor_get(x_25, 0); +lean_inc(x_26); +x_27 = lean_ctor_get(x_25, 1); +lean_inc(x_27); +lean_dec(x_25); +x_28 = l_Lean_PrettyPrinter_Delaborator_delabConst___lambda__2(x_11, x_26, x_1, x_2, x_3, x_4, x_5, x_27); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_28; +} +else +{ +lean_object* x_29; +x_29 = lean_ctor_get(x_25, 0); +lean_inc(x_29); +if (lean_obj_tag(x_29) == 0) +{ +uint8_t x_30; +lean_dec(x_24); +lean_dec(x_22); +lean_dec(x_11); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_30 = !lean_is_exclusive(x_25); +if (x_30 == 0) +{ +lean_object* x_31; +x_31 = lean_ctor_get(x_25, 0); +lean_dec(x_31); +return x_25; +} +else +{ +lean_object* x_32; lean_object* x_33; +x_32 = lean_ctor_get(x_25, 1); +lean_inc(x_32); +lean_dec(x_25); +x_33 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_33, 0, x_29); +lean_ctor_set(x_33, 1, x_32); +return x_33; +} +} +else +{ +uint8_t x_34; +x_34 = !lean_is_exclusive(x_25); +if (x_34 == 0) +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; +x_35 = lean_ctor_get(x_25, 1); +x_36 = lean_ctor_get(x_25, 0); +lean_dec(x_36); +x_37 = lean_ctor_get(x_29, 0); +lean_inc(x_37); +x_38 = l_Lean_PrettyPrinter_Delaborator_delabFailureId; +x_39 = lean_nat_dec_eq(x_38, x_37); +lean_dec(x_37); +if (x_39 == 0) +{ +lean_dec(x_24); +lean_dec(x_22); +lean_dec(x_11); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_25; +} +else +{ +lean_object* x_40; +lean_free_object(x_25); +lean_dec(x_29); +lean_inc(x_22); +x_40 = l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_unresolveOpenDecls(x_22, x_24, x_1, x_2, x_3, x_4, x_5, x_35); +lean_dec(x_24); +if (lean_obj_tag(x_40) == 0) +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; +lean_dec(x_22); +x_41 = lean_ctor_get(x_40, 0); +lean_inc(x_41); +x_42 = lean_ctor_get(x_40, 1); +lean_inc(x_42); +lean_dec(x_40); +x_43 = l_Lean_PrettyPrinter_Delaborator_delabConst___lambda__2(x_11, x_41, x_1, x_2, x_3, x_4, x_5, x_42); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_43; +} +else +{ +lean_object* x_44; +x_44 = lean_ctor_get(x_40, 0); +lean_inc(x_44); +if (lean_obj_tag(x_44) == 0) +{ +uint8_t x_45; +lean_dec(x_22); +lean_dec(x_11); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_45 = !lean_is_exclusive(x_40); +if (x_45 == 0) +{ +lean_object* x_46; +x_46 = lean_ctor_get(x_40, 0); +lean_dec(x_46); +return x_40; +} +else +{ +lean_object* x_47; lean_object* x_48; +x_47 = lean_ctor_get(x_40, 1); +lean_inc(x_47); +lean_dec(x_40); +x_48 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_48, 0, x_44); +lean_ctor_set(x_48, 1, x_47); +return x_48; +} +} +else +{ +uint8_t x_49; +x_49 = !lean_is_exclusive(x_40); +if (x_49 == 0) +{ +lean_object* x_50; lean_object* x_51; lean_object* x_52; uint8_t x_53; +x_50 = lean_ctor_get(x_40, 1); +x_51 = lean_ctor_get(x_40, 0); +lean_dec(x_51); +x_52 = lean_ctor_get(x_44, 0); +lean_inc(x_52); +x_53 = lean_nat_dec_eq(x_38, x_52); +lean_dec(x_52); +if (x_53 == 0) +{ +lean_dec(x_22); +lean_dec(x_11); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_40; +} +else +{ +lean_object* x_54; +lean_free_object(x_40); +lean_dec(x_44); +x_54 = l_Lean_PrettyPrinter_Delaborator_delabConst___lambda__2(x_11, x_22, x_1, x_2, x_3, x_4, x_5, x_50); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_54; +} +} +else +{ +lean_object* x_55; lean_object* x_56; uint8_t x_57; +x_55 = lean_ctor_get(x_40, 1); +lean_inc(x_55); +lean_dec(x_40); +x_56 = lean_ctor_get(x_44, 0); +lean_inc(x_56); +x_57 = lean_nat_dec_eq(x_38, x_56); +lean_dec(x_56); +if (x_57 == 0) +{ +lean_object* x_58; +lean_dec(x_22); +lean_dec(x_11); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_58 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_58, 0, x_44); +lean_ctor_set(x_58, 1, x_55); +return x_58; +} +else +{ +lean_object* x_59; +lean_dec(x_44); +x_59 = l_Lean_PrettyPrinter_Delaborator_delabConst___lambda__2(x_11, x_22, x_1, 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); +return x_59; +} +} +} +} +} +} +else +{ +lean_object* x_60; lean_object* x_61; lean_object* x_62; uint8_t x_63; +x_60 = lean_ctor_get(x_25, 1); +lean_inc(x_60); +lean_dec(x_25); +x_61 = lean_ctor_get(x_29, 0); +lean_inc(x_61); +x_62 = l_Lean_PrettyPrinter_Delaborator_delabFailureId; +x_63 = lean_nat_dec_eq(x_62, x_61); +lean_dec(x_61); +if (x_63 == 0) +{ +lean_object* x_64; +lean_dec(x_24); +lean_dec(x_22); +lean_dec(x_11); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_64 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_64, 0, x_29); +lean_ctor_set(x_64, 1, x_60); +return x_64; +} +else +{ +lean_object* x_65; +lean_dec(x_29); +lean_inc(x_22); +x_65 = l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_unresolveOpenDecls(x_22, x_24, x_1, x_2, x_3, x_4, x_5, x_60); +lean_dec(x_24); +if (lean_obj_tag(x_65) == 0) +{ +lean_object* x_66; lean_object* x_67; lean_object* x_68; +lean_dec(x_22); +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_Lean_PrettyPrinter_Delaborator_delabConst___lambda__2(x_11, x_66, x_1, x_2, x_3, x_4, x_5, x_67); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_68; +} +else +{ +lean_object* x_69; +x_69 = lean_ctor_get(x_65, 0); +lean_inc(x_69); +if (lean_obj_tag(x_69) == 0) +{ +lean_object* x_70; lean_object* x_71; lean_object* x_72; +lean_dec(x_22); +lean_dec(x_11); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_70 = lean_ctor_get(x_65, 1); +lean_inc(x_70); +if (lean_is_exclusive(x_65)) { + lean_ctor_release(x_65, 0); + lean_ctor_release(x_65, 1); + x_71 = x_65; +} else { + lean_dec_ref(x_65); + x_71 = lean_box(0); +} +if (lean_is_scalar(x_71)) { + x_72 = lean_alloc_ctor(1, 2, 0); +} else { + x_72 = x_71; +} +lean_ctor_set(x_72, 0, x_69); +lean_ctor_set(x_72, 1, x_70); +return x_72; +} +else +{ +lean_object* x_73; lean_object* x_74; lean_object* x_75; uint8_t x_76; +x_73 = lean_ctor_get(x_65, 1); +lean_inc(x_73); +if (lean_is_exclusive(x_65)) { + lean_ctor_release(x_65, 0); + lean_ctor_release(x_65, 1); + x_74 = x_65; +} else { + lean_dec_ref(x_65); + x_74 = lean_box(0); +} +x_75 = lean_ctor_get(x_69, 0); +lean_inc(x_75); +x_76 = lean_nat_dec_eq(x_62, x_75); +lean_dec(x_75); +if (x_76 == 0) +{ +lean_object* x_77; +lean_dec(x_22); +lean_dec(x_11); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +if (lean_is_scalar(x_74)) { + x_77 = lean_alloc_ctor(1, 2, 0); +} else { + x_77 = x_74; +} +lean_ctor_set(x_77, 0, x_69); +lean_ctor_set(x_77, 1, x_73); +return x_77; +} +else +{ +lean_object* x_78; +lean_dec(x_74); +lean_dec(x_69); +x_78 = l_Lean_PrettyPrinter_Delaborator_delabConst___lambda__2(x_11, x_22, x_1, x_2, x_3, x_4, x_5, x_73); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_78; +} +} +} +} +} +} +} +} +else +{ +lean_object* x_79; lean_object* x_80; +x_79 = lean_ctor_get(x_13, 1); +lean_inc(x_79); +lean_dec(x_13); +x_80 = l_Lean_PrettyPrinter_Delaborator_delabConst___lambda__2(x_11, x_10, x_1, x_2, x_3, x_4, x_5, x_79); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +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_dec(x_8); +x_81 = lean_ctor_get(x_7, 1); +lean_inc(x_81); +lean_dec(x_7); +x_82 = l_Lean_PrettyPrinter_Delaborator_withAppFn___rarg___closed__1; +x_83 = l_Lean_PrettyPrinter_Delaborator_delabConst___closed__2; +x_84 = lean_panic_fn(x_82, x_83); +x_85 = lean_apply_6(x_84, x_1, x_2, x_3, x_4, x_5, x_81); +return x_85; +} +} +} +lean_object* l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_delabConst___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_Lean_PrettyPrinter_Delaborator_delabConst___spec__1(x_4, x_5, x_3); +return x_6; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabConst___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_PrettyPrinter_Delaborator_delabConst___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +return x_9; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabConst___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_PrettyPrinter_Delaborator_delabConst___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +return x_9; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_getParamKinds_match__1___rarg(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_2); +x_4 = lean_apply_1(x_3, x_1); +return x_4; +} +else +{ +lean_object* x_5; lean_object* x_6; +lean_dec(x_3); +x_5 = lean_ctor_get(x_1, 0); +lean_inc(x_5); +lean_dec(x_1); +x_6 = lean_apply_1(x_2, x_5); +return x_6; +} +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_getParamKinds_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_getParamKinds_match__1___rarg), 3, 0); +return x_2; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_getParamKinds___spec__1___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_box(0); +x_2 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_getParamKinds___spec__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_getParamKinds___spec__1___closed__1; +x_2 = x_1; +return x_2; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_getParamKinds___spec__1___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_box(0); +x_2 = x_1; +return x_2; +} +} +lean_object* l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_getParamKinds___spec__1(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +uint8_t x_9; +x_9 = x_2 < x_1; +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; +lean_dec(x_4); +x_10 = x_3; +x_11 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_11, 1, x_8); +return x_11; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_12 = lean_array_uget(x_3, x_2); +x_13 = lean_unsigned_to_nat(0u); +x_14 = lean_array_uset(x_3, x_2, x_13); +x_15 = x_12; +x_16 = l_Lean_Expr_fvarId_x21(x_15); +lean_dec(x_15); +lean_inc(x_4); +x_17 = l_Lean_Meta_getLocalDecl___at_Lean_Meta_getFVarLocalDecl___spec__1(x_16, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_17) == 0) +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_18 = lean_ctor_get(x_17, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); +lean_dec(x_17); +x_20 = l_Lean_LocalDecl_type(x_18); +x_21 = l_Lean_Expr_getOptParamDefault_x3f(x_20); +if (lean_obj_tag(x_21) == 0) +{ +uint8_t x_22; uint8_t x_23; uint8_t x_24; +x_22 = l_Lean_Expr_isAutoParam(x_20); +lean_dec(x_20); +x_23 = l_Lean_LocalDecl_binderInfo(x_18); +lean_dec(x_18); +x_24 = l_Lean_BinderInfo_isExplicit(x_23); +if (x_24 == 0) +{ +size_t x_25; size_t x_26; lean_object* x_27; lean_object* x_28; +x_25 = 1; +x_26 = x_2 + x_25; +x_27 = l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_getParamKinds___spec__1___closed__2; +x_28 = lean_array_uset(x_14, x_2, x_27); +x_2 = x_26; +x_3 = x_28; +x_8 = x_19; +goto _start; +} +else +{ +if (x_22 == 0) +{ +size_t x_30; size_t x_31; lean_object* x_32; lean_object* x_33; +x_30 = 1; +x_31 = x_2 + x_30; +x_32 = l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_getParamKinds___spec__1___closed__3; +x_33 = lean_array_uset(x_14, x_2, x_32); +x_2 = x_31; +x_3 = x_33; +x_8 = x_19; +goto _start; +} +else +{ +size_t x_35; size_t x_36; lean_object* x_37; lean_object* x_38; +x_35 = 1; +x_36 = x_2 + x_35; +x_37 = l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_getParamKinds___spec__1___closed__2; +x_38 = lean_array_uset(x_14, x_2, x_37); +x_2 = x_36; +x_3 = x_38; +x_8 = x_19; +goto _start; +} +} +} +else +{ +uint8_t x_40; +lean_dec(x_20); +lean_dec(x_18); +x_40 = !lean_is_exclusive(x_21); +if (x_40 == 0) +{ +lean_object* x_41; size_t x_42; size_t x_43; lean_object* x_44; lean_object* x_45; +x_41 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_41, 0, x_21); +x_42 = 1; +x_43 = x_2 + x_42; +x_44 = x_41; +x_45 = lean_array_uset(x_14, x_2, x_44); +x_2 = x_43; +x_3 = x_45; +x_8 = x_19; +goto _start; +} +else +{ +lean_object* x_47; lean_object* x_48; lean_object* x_49; size_t x_50; size_t x_51; lean_object* x_52; lean_object* x_53; +x_47 = lean_ctor_get(x_21, 0); +lean_inc(x_47); +lean_dec(x_21); +x_48 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_48, 0, x_47); +x_49 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_49, 0, x_48); +x_50 = 1; +x_51 = x_2 + x_50; +x_52 = x_49; +x_53 = lean_array_uset(x_14, x_2, x_52); +x_2 = x_51; +x_3 = x_53; +x_8 = x_19; +goto _start; +} +} +} +else +{ +uint8_t x_55; +lean_dec(x_14); +lean_dec(x_4); +x_55 = !lean_is_exclusive(x_17); +if (x_55 == 0) +{ +return x_17; +} +else +{ +lean_object* x_56; lean_object* x_57; lean_object* x_58; +x_56 = lean_ctor_get(x_17, 0); +x_57 = lean_ctor_get(x_17, 1); +lean_inc(x_57); +lean_inc(x_56); +lean_dec(x_17); +x_58 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_58, 0, x_56); +lean_ctor_set(x_58, 1, x_57); +return x_58; +} +} +} +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_getParamKinds___lambda__1___boxed__const__1() { +_start: +{ +size_t x_1; lean_object* x_2; +x_1 = 0; +x_2 = lean_box_usize(x_1); +return x_2; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_getParamKinds___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; size_t x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_8 = lean_array_get_size(x_1); +x_9 = lean_usize_of_nat(x_8); +lean_dec(x_8); +x_10 = x_1; +x_11 = lean_box_usize(x_9); +x_12 = l_Lean_PrettyPrinter_Delaborator_getParamKinds___lambda__1___boxed__const__1; +x_13 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_getParamKinds___spec__1___boxed), 8, 3); +lean_closure_set(x_13, 0, x_11); +lean_closure_set(x_13, 1, x_12); +lean_closure_set(x_13, 2, x_10); +x_14 = x_13; +x_15 = lean_apply_5(x_14, x_3, x_4, x_5, x_6, x_7); +return x_15; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_getParamKinds___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_getParamKinds___lambda__1___boxed), 7, 0); +return x_1; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_getParamKinds(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +x_7 = l_Lean_Meta_inferType___at___private_Lean_Meta_InferType_0__Lean_Meta_inferAppType___spec__1(x_1, x_2, x_3, x_4, x_5, x_6); +if (lean_obj_tag(x_7) == 0) +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_8 = lean_ctor_get(x_7, 0); +lean_inc(x_8); +x_9 = lean_ctor_get(x_7, 1); +lean_inc(x_9); +lean_dec(x_7); +x_10 = l_Lean_PrettyPrinter_Delaborator_getParamKinds___closed__1; +x_11 = l_Lean_Meta_forallTelescopeReducing___at_Lean_Meta_getParamNamesImp___spec__3___rarg(x_8, x_10, x_2, x_3, x_4, x_5, x_9); +return x_11; +} +else +{ +uint8_t x_12; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_12 = !lean_is_exclusive(x_7); +if (x_12 == 0) +{ +return x_7; +} +else +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_13 = lean_ctor_get(x_7, 0); +x_14 = lean_ctor_get(x_7, 1); +lean_inc(x_14); +lean_inc(x_13); +lean_dec(x_7); +x_15 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_15, 0, x_13); +lean_ctor_set(x_15, 1, x_14); +return x_15; +} +} +} +} +lean_object* l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_getParamKinds___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +size_t x_9; size_t x_10; lean_object* x_11; +x_9 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_10 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_11 = l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_getParamKinds___spec__1(x_9, x_10, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +return x_11; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_getParamKinds___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l_Lean_PrettyPrinter_Delaborator_getParamKinds___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_2); +return x_8; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppExplicit_match__1___rarg(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_object* x_5; +lean_dec(x_3); +x_4 = lean_box(0); +x_5 = lean_apply_1(x_2, x_4); +return x_5; +} +else +{ +lean_object* x_6; +lean_dec(x_2); +x_6 = lean_apply_1(x_3, x_1); +return x_6; +} +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppExplicit_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabAppExplicit_match__1___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppExplicit_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_Lean_PrettyPrinter_Delaborator_delabAppExplicit_match__2(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabAppExplicit_match__2___rarg), 2, 0); +return x_2; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppExplicit_match__3___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_Lean_PrettyPrinter_Delaborator_delabAppExplicit_match__3(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabAppExplicit_match__3___rarg), 2, 0); +return x_2; +} +} +uint8_t l_Array_anyMUnsafe_any___at_Lean_PrettyPrinter_Delaborator_delabAppExplicit___spec__1(lean_object* x_1, size_t x_2, size_t x_3) { +_start: +{ +uint8_t x_4; +x_4 = x_2 == x_3; +if (x_4 == 0) +{ +lean_object* x_5; +x_5 = lean_array_uget(x_1, x_2); +if (lean_obj_tag(x_5) == 0) +{ +size_t x_6; size_t x_7; +x_6 = 1; +x_7 = x_2 + x_6; +x_2 = x_7; +goto _start; +} +else +{ +uint8_t x_9; +lean_dec(x_5); +x_9 = 1; +return x_9; +} +} +else +{ +uint8_t x_10; +x_10 = 0; +return x_10; +} +} +} +lean_object* l_ReaderT_bind___at_Lean_PrettyPrinter_Delaborator_delabAppExplicit___spec__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +x_9 = lean_apply_6(x_1, 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; +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_9, 1); +lean_inc(x_11); +lean_dec(x_9); +x_12 = lean_apply_7(x_2, x_10, x_3, x_4, x_5, x_6, x_7, x_11); +return x_12; +} +else +{ +uint8_t x_13; +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_13 = !lean_is_exclusive(x_9); +if (x_13 == 0) +{ +return x_9; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_14 = lean_ctor_get(x_9, 0); +x_15 = lean_ctor_get(x_9, 1); +lean_inc(x_15); +lean_inc(x_14); +lean_dec(x_9); +x_16 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_16, 0, x_14); +lean_ctor_set(x_16, 1, x_15); +return x_16; +} +} +} +} +lean_object* l_ReaderT_bind___at_Lean_PrettyPrinter_Delaborator_delabAppExplicit___spec__2(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_PrettyPrinter_Delaborator_delabAppExplicit___spec__2___rarg), 8, 0); +return x_3; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppExplicit___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_8 = l_Array_empty___closed__1; +x_9 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_9, 0, x_1); +lean_ctor_set(x_9, 1, 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_7); +return x_10; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabAppExplicit___lambda__2___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabAppExplicit___lambda__1___boxed), 7, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabAppExplicit___lambda__2___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_instInhabitedSourceInfo___closed__1; +x_2 = l_Lean_Elab_Term_MVarErrorInfo_logError___closed__1; +x_3 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabAppExplicit___lambda__2___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Array_empty___closed__1; +x_2 = l_Lean_PrettyPrinter_Delaborator_delabAppExplicit___lambda__2___closed__2; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppExplicit___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_28 = lean_st_ref_get(x_7, x_8); +x_29 = lean_ctor_get(x_28, 0); +lean_inc(x_29); +x_30 = lean_ctor_get(x_28, 1); +lean_inc(x_30); +lean_dec(x_28); +x_31 = lean_ctor_get(x_29, 0); +lean_inc(x_31); +lean_dec(x_29); +x_32 = lean_st_ref_get(x_7, x_30); +x_33 = lean_ctor_get(x_32, 1); +lean_inc(x_33); +lean_dec(x_32); +x_34 = lean_st_ref_get(x_5, x_33); +x_35 = lean_ctor_get(x_34, 0); +lean_inc(x_35); +x_36 = lean_ctor_get(x_34, 1); +lean_inc(x_36); +lean_dec(x_34); +x_37 = lean_ctor_get(x_35, 0); +lean_inc(x_37); +lean_dec(x_35); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_38 = l_Lean_PrettyPrinter_Delaborator_getParamKinds(x_1, x_4, x_5, x_6, x_7, x_36); +if (lean_obj_tag(x_38) == 0) +{ +lean_object* x_39; lean_object* x_40; +lean_dec(x_37); +lean_dec(x_31); +x_39 = lean_ctor_get(x_38, 0); +lean_inc(x_39); +x_40 = lean_ctor_get(x_38, 1); +lean_inc(x_40); +lean_dec(x_38); +x_9 = x_39; +x_10 = x_40; +goto block_27; +} +else +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_41 = lean_ctor_get(x_38, 1); +lean_inc(x_41); +lean_dec(x_38); +x_42 = l_Lean_setEnv___at_Lean_Meta_setInlineAttribute___spec__1(x_31, x_4, x_5, x_6, x_7, x_41); +x_43 = lean_ctor_get(x_42, 1); +lean_inc(x_43); +lean_dec(x_42); +x_44 = l_Lean_Meta_setMCtx___at___private_Lean_Meta_Basic_0__Lean_Meta_liftMkBindingM___spec__1(x_37, x_4, x_5, x_6, x_7, x_43); +x_45 = lean_ctor_get(x_44, 1); +lean_inc(x_45); +lean_dec(x_44); +x_46 = l_Array_empty___closed__1; +x_9 = x_46; +x_10 = x_45; +goto block_27; +} +block_27: +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_11 = l_Lean_PrettyPrinter_Delaborator_delabAppExplicit___lambda__2___closed__1; +x_12 = lean_array_get_size(x_9); +x_13 = lean_unsigned_to_nat(0u); +x_14 = lean_nat_dec_lt(x_13, x_12); +if (x_14 == 0) +{ +lean_object* x_15; +lean_dec(x_12); +lean_dec(x_9); +x_15 = lean_apply_7(x_11, x_2, x_3, x_4, x_5, x_6, x_7, x_10); +return x_15; +} +else +{ +uint8_t x_16; +x_16 = lean_nat_dec_le(x_12, x_12); +if (x_16 == 0) +{ +lean_object* x_17; +lean_dec(x_12); +lean_dec(x_9); +x_17 = lean_apply_7(x_11, x_2, x_3, x_4, x_5, x_6, x_7, x_10); +return x_17; +} +else +{ +size_t x_18; size_t x_19; uint8_t x_20; +x_18 = 0; +x_19 = lean_usize_of_nat(x_12); +lean_dec(x_12); +x_20 = l_Array_anyMUnsafe_any___at_Lean_PrettyPrinter_Delaborator_delabAppExplicit___spec__1(x_9, x_18, x_19); +lean_dec(x_9); +if (x_20 == 0) +{ +lean_object* x_21; +x_21 = lean_apply_7(x_11, x_2, x_3, x_4, x_5, x_6, x_7, x_10); +return x_21; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_22 = l_Lean_PrettyPrinter_Delaborator_delabAppExplicit___lambda__2___closed__3; +x_23 = lean_array_push(x_22, x_2); +x_24 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_isExplicit___closed__2; +x_25 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_25, 1, x_23); +x_26 = lean_apply_7(x_11, x_25, x_3, x_4, x_5, x_6, x_7, x_10); +return x_26; +} +} +} +} +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppExplicit___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +uint8_t x_8; +x_8 = l_Lean_Expr_isConst(x_1); +if (x_8 == 0) +{ +lean_object* x_9; +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +x_9 = l_Lean_PrettyPrinter_Delaborator_delab(x_2, x_3, x_4, x_5, x_6, x_7); +if (lean_obj_tag(x_9) == 0) +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_9, 1); +lean_inc(x_11); +lean_dec(x_9); +x_12 = l_Lean_PrettyPrinter_Delaborator_delabAppExplicit___lambda__2(x_1, x_10, x_2, x_3, x_4, x_5, x_6, x_11); +return x_12; +} +else +{ +uint8_t x_13; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_13 = !lean_is_exclusive(x_9); +if (x_13 == 0) +{ +return x_9; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_14 = lean_ctor_get(x_9, 0); +x_15 = lean_ctor_get(x_9, 1); +lean_inc(x_15); +lean_inc(x_14); +lean_dec(x_9); +x_16 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_16, 0, x_14); +lean_ctor_set(x_16, 1, x_15); +return x_16; +} +} +} +else +{ +lean_object* x_17; +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +x_17 = l_Lean_PrettyPrinter_Delaborator_delabConst(x_2, x_3, x_4, x_5, x_6, x_7); +if (lean_obj_tag(x_17) == 0) +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_17, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); +lean_dec(x_17); +x_20 = l_Lean_PrettyPrinter_Delaborator_delabAppExplicit___lambda__2(x_1, x_18, x_2, x_3, x_4, x_5, x_6, x_19); +return x_20; +} +else +{ +uint8_t x_21; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_21 = !lean_is_exclusive(x_17); +if (x_21 == 0) +{ +return x_17; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_17, 0); +x_23 = lean_ctor_get(x_17, 1); +lean_inc(x_23); +lean_inc(x_22); +lean_dec(x_17); +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_22); +lean_ctor_set(x_24, 1, x_23); +return x_24; +} +} +} +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppExplicit___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +uint8_t x_8; +x_8 = !lean_is_exclusive(x_1); +if (x_8 == 0) +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_9 = lean_ctor_get(x_1, 0); +x_10 = lean_ctor_get(x_1, 1); +x_11 = l_Lean_PrettyPrinter_Delaborator_delab(x_2, x_3, x_4, x_5, x_6, x_7); +if (lean_obj_tag(x_11) == 0) +{ +uint8_t x_12; +x_12 = !lean_is_exclusive(x_11); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; +x_13 = lean_ctor_get(x_11, 0); +x_14 = lean_array_push(x_10, x_13); +lean_ctor_set(x_1, 1, x_14); +lean_ctor_set(x_11, 0, x_1); +return x_11; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_15 = lean_ctor_get(x_11, 0); +x_16 = lean_ctor_get(x_11, 1); +lean_inc(x_16); +lean_inc(x_15); +lean_dec(x_11); +x_17 = lean_array_push(x_10, x_15); +lean_ctor_set(x_1, 1, x_17); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_1); +lean_ctor_set(x_18, 1, x_16); +return x_18; +} +} +else +{ +uint8_t x_19; +lean_free_object(x_1); +lean_dec(x_10); +lean_dec(x_9); +x_19 = !lean_is_exclusive(x_11); +if (x_19 == 0) +{ +return x_11; +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_ctor_get(x_11, 0); +x_21 = lean_ctor_get(x_11, 1); +lean_inc(x_21); +lean_inc(x_20); +lean_dec(x_11); +x_22 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_22, 0, x_20); +lean_ctor_set(x_22, 1, x_21); +return x_22; +} +} +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; +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 = l_Lean_PrettyPrinter_Delaborator_delab(x_2, x_3, x_4, x_5, x_6, x_7); +if (lean_obj_tag(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; +x_26 = lean_ctor_get(x_25, 0); +lean_inc(x_26); +x_27 = lean_ctor_get(x_25, 1); +lean_inc(x_27); +if (lean_is_exclusive(x_25)) { + lean_ctor_release(x_25, 0); + lean_ctor_release(x_25, 1); + x_28 = x_25; +} else { + lean_dec_ref(x_25); + x_28 = lean_box(0); +} +x_29 = lean_array_push(x_24, x_26); +x_30 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_30, 0, x_23); +lean_ctor_set(x_30, 1, x_29); +if (lean_is_scalar(x_28)) { + x_31 = lean_alloc_ctor(0, 2, 0); +} else { + x_31 = x_28; +} +lean_ctor_set(x_31, 0, x_30); +lean_ctor_set(x_31, 1, x_27); +return x_31; +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; +lean_dec(x_24); +lean_dec(x_23); +x_32 = lean_ctor_get(x_25, 0); +lean_inc(x_32); +x_33 = lean_ctor_get(x_25, 1); +lean_inc(x_33); +if (lean_is_exclusive(x_25)) { + lean_ctor_release(x_25, 0); + lean_ctor_release(x_25, 1); + x_34 = x_25; +} else { + lean_dec_ref(x_25); + x_34 = lean_box(0); +} +if (lean_is_scalar(x_34)) { + x_35 = lean_alloc_ctor(1, 2, 0); +} else { + x_35 = x_34; +} +lean_ctor_set(x_35, 0, x_32); +lean_ctor_set(x_35, 1, x_33); +return x_35; +} +} +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabAppExplicit___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_getExpr___boxed), 6, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabAppExplicit___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabAppExplicit___lambda__3), 7, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabAppExplicit___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_PrettyPrinter_Delaborator_delabAppExplicit___closed__1; +x_2 = l_Lean_PrettyPrinter_Delaborator_delabAppExplicit___closed__2; +x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_PrettyPrinter_Delaborator_delabAppExplicit___spec__2___rarg), 8, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabAppExplicit___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabAppExplicit___lambda__4), 7, 0); +return x_1; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppExplicit(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = l_Lean_PrettyPrinter_Delaborator_delabAppExplicit___closed__3; +x_8 = l_Lean_PrettyPrinter_Delaborator_delabAppExplicit___closed__4; +x_9 = l_Lean_PrettyPrinter_Delaborator_withAppFnArgs___rarg(x_7, x_8, x_1, x_2, x_3, x_4, x_5, x_6); +if (lean_obj_tag(x_9) == 0) +{ +uint8_t x_10; +x_10 = !lean_is_exclusive(x_9); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_11 = lean_ctor_get(x_9, 0); +x_12 = lean_ctor_get(x_11, 0); +lean_inc(x_12); +x_13 = lean_ctor_get(x_11, 1); +lean_inc(x_13); +lean_dec(x_11); +x_14 = l_Lean_Syntax_mkApp(x_12, x_13); +lean_ctor_set(x_9, 0, x_14); +return x_9; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_15 = lean_ctor_get(x_9, 0); +x_16 = lean_ctor_get(x_9, 1); +lean_inc(x_16); +lean_inc(x_15); +lean_dec(x_9); +x_17 = lean_ctor_get(x_15, 0); +lean_inc(x_17); +x_18 = lean_ctor_get(x_15, 1); +lean_inc(x_18); +lean_dec(x_15); +x_19 = l_Lean_Syntax_mkApp(x_17, x_18); +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_16); +return x_20; +} +} +else +{ +uint8_t x_21; +x_21 = !lean_is_exclusive(x_9); +if (x_21 == 0) +{ +return x_9; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_9, 0); +x_23 = lean_ctor_get(x_9, 1); +lean_inc(x_23); +lean_inc(x_22); +lean_dec(x_9); +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_22); +lean_ctor_set(x_24, 1, x_23); +return x_24; +} +} +} +} +lean_object* l_Array_anyMUnsafe_any___at_Lean_PrettyPrinter_Delaborator_delabAppExplicit___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +size_t x_4; size_t x_5; uint8_t x_6; lean_object* x_7; +x_4 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_5 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_6 = l_Array_anyMUnsafe_any___at_Lean_PrettyPrinter_Delaborator_delabAppExplicit___spec__1(x_1, x_4, x_5); +lean_dec(x_1); +x_7 = lean_box(x_6); +return x_7; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppExplicit___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l_Lean_PrettyPrinter_Delaborator_delabAppExplicit___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_8; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAppExplicit___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabAppExplicit), 6, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAppExplicit(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_Delaborator_delabAttribute; +x_3 = l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__5; +x_4 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAppExplicit___closed__1; +x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); +return x_5; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppImplicit_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_5; +lean_dec(x_3); +lean_dec(x_2); +x_5 = lean_apply_1(x_4, x_1); +return x_5; +} +else +{ +lean_object* x_6; +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +if (lean_obj_tag(x_6) == 0) +{ +lean_object* x_7; +lean_dec(x_3); +lean_dec(x_2); +x_7 = lean_apply_1(x_4, x_1); +return x_7; +} +else +{ +lean_object* x_8; +x_8 = lean_ctor_get(x_6, 0); +lean_inc(x_8); +lean_dec(x_6); +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_9; lean_object* x_10; +lean_dec(x_4); +lean_dec(x_2); +x_9 = lean_ctor_get(x_1, 1); +lean_inc(x_9); +lean_dec(x_1); +x_10 = lean_apply_1(x_3, x_9); +return x_10; +} +else +{ +lean_object* x_11; +lean_dec(x_3); +x_11 = lean_ctor_get(x_1, 1); +lean_inc(x_11); +if (lean_obj_tag(x_11) == 0) +{ +lean_object* x_12; lean_object* x_13; +lean_dec(x_4); +lean_dec(x_1); +x_12 = lean_ctor_get(x_8, 0); +lean_inc(x_12); +lean_dec(x_8); +x_13 = lean_apply_1(x_2, x_12); +return x_13; +} +else +{ +lean_object* x_14; +lean_dec(x_11); +lean_dec(x_8); +lean_dec(x_2); +x_14 = lean_apply_1(x_4, x_1); +return x_14; +} +} +} +} +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppImplicit_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabAppImplicit_match__1___rarg), 4, 0); +return x_2; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppImplicit_match__2___rarg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_3 = lean_ctor_get(x_1, 1); +lean_inc(x_3); +x_4 = lean_ctor_get(x_1, 0); +lean_inc(x_4); +lean_dec(x_1); +x_5 = lean_ctor_get(x_3, 0); +lean_inc(x_5); +x_6 = lean_ctor_get(x_3, 1); +lean_inc(x_6); +lean_dec(x_3); +x_7 = lean_apply_3(x_2, x_4, x_5, x_6); +return x_7; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppImplicit_match__2(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabAppImplicit_match__2___rarg), 2, 0); +return x_2; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppImplicit_match__3___rarg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_3 = lean_ctor_get(x_1, 1); +lean_inc(x_3); +x_4 = lean_ctor_get(x_1, 0); +lean_inc(x_4); +lean_dec(x_1); +x_5 = lean_ctor_get(x_3, 0); +lean_inc(x_5); +x_6 = lean_ctor_get(x_3, 1); +lean_inc(x_6); +lean_dec(x_3); +x_7 = lean_apply_3(x_2, x_4, x_5, x_6); +return x_7; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppImplicit_match__3(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabAppImplicit_match__3___rarg), 2, 0); +return x_2; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppImplicit___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_17 = lean_st_ref_get(x_7, x_8); +x_18 = lean_ctor_get(x_17, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); +lean_dec(x_17); +x_20 = lean_ctor_get(x_18, 0); +lean_inc(x_20); +lean_dec(x_18); +x_21 = lean_st_ref_get(x_7, x_19); +x_22 = lean_ctor_get(x_21, 1); +lean_inc(x_22); +lean_dec(x_21); +x_23 = lean_st_ref_get(x_5, x_22); +x_24 = lean_ctor_get(x_23, 0); +lean_inc(x_24); +x_25 = lean_ctor_get(x_23, 1); +lean_inc(x_25); +lean_dec(x_23); +x_26 = lean_ctor_get(x_24, 0); +lean_inc(x_26); +lean_dec(x_24); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_27 = l_Lean_PrettyPrinter_Delaborator_getParamKinds(x_1, x_4, x_5, x_6, x_7, x_25); +if (lean_obj_tag(x_27) == 0) +{ +lean_object* x_28; lean_object* x_29; +lean_dec(x_26); +lean_dec(x_20); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_28 = lean_ctor_get(x_27, 0); +lean_inc(x_28); +x_29 = lean_ctor_get(x_27, 1); +lean_inc(x_29); +lean_dec(x_27); +x_9 = x_28; +x_10 = x_29; +goto block_16; +} +else +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_30 = lean_ctor_get(x_27, 1); +lean_inc(x_30); +lean_dec(x_27); +x_31 = l_Lean_setEnv___at_Lean_Meta_setInlineAttribute___spec__1(x_20, x_4, x_5, x_6, x_7, x_30); +x_32 = lean_ctor_get(x_31, 1); +lean_inc(x_32); +lean_dec(x_31); +x_33 = l_Lean_Meta_setMCtx___at___private_Lean_Meta_Basic_0__Lean_Meta_liftMkBindingM___spec__1(x_26, x_4, x_5, x_6, x_7, x_32); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_34 = lean_ctor_get(x_33, 1); +lean_inc(x_34); +lean_dec(x_33); +x_35 = l_Array_empty___closed__1; +x_9 = x_35; +x_10 = x_34; +goto block_16; +} +block_16: +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_11 = lean_array_to_list(lean_box(0), x_9); +x_12 = l_Array_empty___closed__1; +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_11); +lean_ctor_set(x_13, 1, x_12); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_2); +lean_ctor_set(x_14, 1, x_13); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_10); +return x_15; +} +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppImplicit___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +uint8_t x_8; +x_8 = l_Lean_Expr_isConst(x_1); +if (x_8 == 0) +{ +lean_object* x_9; +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +x_9 = l_Lean_PrettyPrinter_Delaborator_delab(x_2, x_3, x_4, x_5, x_6, x_7); +if (lean_obj_tag(x_9) == 0) +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_9, 1); +lean_inc(x_11); +lean_dec(x_9); +x_12 = l_Lean_PrettyPrinter_Delaborator_delabAppImplicit___lambda__1(x_1, x_10, x_2, x_3, x_4, x_5, x_6, x_11); +lean_dec(x_2); +return x_12; +} +else +{ +uint8_t x_13; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_13 = !lean_is_exclusive(x_9); +if (x_13 == 0) +{ +return x_9; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_14 = lean_ctor_get(x_9, 0); +x_15 = lean_ctor_get(x_9, 1); +lean_inc(x_15); +lean_inc(x_14); +lean_dec(x_9); +x_16 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_16, 0, x_14); +lean_ctor_set(x_16, 1, x_15); +return x_16; +} +} +} +else +{ +lean_object* x_17; +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +x_17 = l_Lean_PrettyPrinter_Delaborator_delabConst(x_2, x_3, x_4, x_5, x_6, x_7); +if (lean_obj_tag(x_17) == 0) +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_17, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); +lean_dec(x_17); +x_20 = l_Lean_PrettyPrinter_Delaborator_delabAppImplicit___lambda__1(x_1, x_18, x_2, x_3, x_4, x_5, x_6, x_19); +lean_dec(x_2); +return x_20; +} +else +{ +uint8_t x_21; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_21 = !lean_is_exclusive(x_17); +if (x_21 == 0) +{ +return x_17; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_17, 0); +x_23 = lean_ctor_get(x_17, 1); +lean_inc(x_23); +lean_inc(x_22); +lean_dec(x_17); +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_22); +lean_ctor_set(x_24, 1, x_23); +return x_24; +} +} +} +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppImplicit___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_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_40; +x_8 = lean_ctor_get(x_1, 1); +lean_inc(x_8); +x_9 = lean_ctor_get(x_1, 0); +lean_inc(x_9); +if (lean_is_exclusive(x_1)) { + lean_ctor_release(x_1, 0); + lean_ctor_release(x_1, 1); + x_10 = x_1; +} else { + lean_dec_ref(x_1); + x_10 = lean_box(0); +} +x_11 = lean_ctor_get(x_8, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_8, 1); +lean_inc(x_12); +if (lean_is_exclusive(x_8)) { + lean_ctor_release(x_8, 0); + lean_ctor_release(x_8, 1); + x_13 = x_8; +} else { + lean_dec_ref(x_8); + x_13 = lean_box(0); +} +x_14 = l_Lean_PrettyPrinter_Delaborator_getExpr(x_2, x_3, x_4, x_5, x_6, x_7); +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_14, 1); +lean_inc(x_16); +if (lean_is_exclusive(x_14)) { + lean_ctor_release(x_14, 0); + lean_ctor_release(x_14, 1); + x_17 = x_14; +} else { + lean_dec_ref(x_14); + x_17 = lean_box(0); +} +if (lean_obj_tag(x_11) == 0) +{ +lean_object* x_47; +lean_dec(x_17); +lean_dec(x_15); +x_47 = lean_box(0); +x_18 = x_47; +goto block_39; +} +else +{ +lean_object* x_48; +x_48 = lean_ctor_get(x_11, 0); +lean_inc(x_48); +if (lean_obj_tag(x_48) == 0) +{ +lean_object* x_49; +lean_dec(x_17); +lean_dec(x_15); +x_49 = lean_box(0); +x_18 = x_49; +goto block_39; +} +else +{ +lean_object* x_50; +x_50 = lean_ctor_get(x_48, 0); +lean_inc(x_50); +lean_dec(x_48); +if (lean_obj_tag(x_50) == 0) +{ +lean_object* x_51; +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_51 = lean_box(0); +x_40 = x_51; +goto block_46; +} +else +{ +lean_object* x_52; +x_52 = lean_ctor_get(x_11, 1); +lean_inc(x_52); +if (lean_obj_tag(x_52) == 0) +{ +lean_object* x_53; uint8_t x_54; +x_53 = lean_ctor_get(x_50, 0); +lean_inc(x_53); +lean_dec(x_50); +x_54 = l_Lean_Expr_hasLooseBVars(x_53); +if (x_54 == 0) +{ +uint8_t x_55; +x_55 = lean_expr_eqv(x_53, x_15); +lean_dec(x_15); +lean_dec(x_53); +if (x_55 == 0) +{ +lean_object* x_56; +lean_dec(x_17); +x_56 = lean_box(0); +x_18 = x_56; +goto block_39; +} +else +{ +lean_object* x_57; +lean_dec(x_13); +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_57 = lean_box(0); +x_40 = x_57; +goto block_46; +} +} +else +{ +lean_object* x_58; +lean_dec(x_53); +lean_dec(x_17); +lean_dec(x_15); +x_58 = lean_box(0); +x_18 = x_58; +goto block_39; +} +} +else +{ +lean_object* x_59; +lean_dec(x_52); +lean_dec(x_50); +lean_dec(x_17); +lean_dec(x_15); +x_59 = lean_box(0); +x_18 = x_59; +goto block_39; +} +} +} +} +block_39: +{ +lean_object* x_19; +lean_dec(x_18); +x_19 = l_Lean_PrettyPrinter_Delaborator_delab(x_2, x_3, x_4, x_5, x_6, x_16); +if (lean_obj_tag(x_19) == 0) +{ +uint8_t x_20; +x_20 = !lean_is_exclusive(x_19); +if (x_20 == 0) +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_21 = lean_ctor_get(x_19, 0); +x_22 = lean_box(0); +x_23 = l_List_tailD___rarg(x_11, x_22); +lean_dec(x_11); +x_24 = lean_array_push(x_12, x_21); +if (lean_is_scalar(x_13)) { + x_25 = lean_alloc_ctor(0, 2, 0); +} else { + x_25 = x_13; +} +lean_ctor_set(x_25, 0, x_23); +lean_ctor_set(x_25, 1, x_24); +if (lean_is_scalar(x_10)) { + x_26 = lean_alloc_ctor(0, 2, 0); +} else { + x_26 = x_10; +} +lean_ctor_set(x_26, 0, x_9); +lean_ctor_set(x_26, 1, x_25); +lean_ctor_set(x_19, 0, x_26); +return x_19; +} +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; +x_27 = lean_ctor_get(x_19, 0); +x_28 = lean_ctor_get(x_19, 1); +lean_inc(x_28); +lean_inc(x_27); +lean_dec(x_19); +x_29 = lean_box(0); +x_30 = l_List_tailD___rarg(x_11, x_29); +lean_dec(x_11); +x_31 = lean_array_push(x_12, x_27); +if (lean_is_scalar(x_13)) { + x_32 = lean_alloc_ctor(0, 2, 0); +} else { + x_32 = x_13; +} +lean_ctor_set(x_32, 0, x_30); +lean_ctor_set(x_32, 1, x_31); +if (lean_is_scalar(x_10)) { + x_33 = lean_alloc_ctor(0, 2, 0); +} else { + x_33 = x_10; +} +lean_ctor_set(x_33, 0, x_9); +lean_ctor_set(x_33, 1, x_32); +x_34 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_34, 0, x_33); +lean_ctor_set(x_34, 1, x_28); +return x_34; +} +} +else +{ +uint8_t x_35; +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +x_35 = !lean_is_exclusive(x_19); +if (x_35 == 0) +{ +return x_19; +} +else +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_36 = lean_ctor_get(x_19, 0); +x_37 = lean_ctor_get(x_19, 1); +lean_inc(x_37); +lean_inc(x_36); +lean_dec(x_19); +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; +} +} +} +block_46: +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; +lean_dec(x_40); +x_41 = lean_box(0); +x_42 = l_List_tailD___rarg(x_11, x_41); +lean_dec(x_11); +x_43 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_43, 0, x_42); +lean_ctor_set(x_43, 1, x_12); +x_44 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_44, 0, x_9); +lean_ctor_set(x_44, 1, x_43); +if (lean_is_scalar(x_17)) { + x_45 = lean_alloc_ctor(0, 2, 0); +} else { + x_45 = x_17; +} +lean_ctor_set(x_45, 0, x_44); +lean_ctor_set(x_45, 1, x_16); +return x_45; +} +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppImplicit___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_8 = lean_ctor_get(x_1, 1); +lean_inc(x_8); +x_9 = lean_ctor_get(x_1, 0); +lean_inc(x_9); +lean_dec(x_1); +x_10 = lean_ctor_get(x_8, 1); +lean_inc(x_10); +lean_dec(x_8); +x_11 = l_Lean_Syntax_mkApp(x_9, x_10); +x_12 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_12, 0, x_11); +lean_ctor_set(x_12, 1, x_7); +return x_12; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabAppImplicit___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabAppImplicit___lambda__2), 7, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabAppImplicit___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_PrettyPrinter_Delaborator_delabAppExplicit___closed__1; +x_2 = l_Lean_PrettyPrinter_Delaborator_delabAppImplicit___closed__1; +x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_PrettyPrinter_Delaborator_delabAppExplicit___spec__2___rarg), 8, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabAppImplicit___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabAppImplicit___lambda__3), 7, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabAppImplicit___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_PrettyPrinter_Delaborator_delabAppImplicit___closed__2; +x_2 = l_Lean_PrettyPrinter_Delaborator_delabAppImplicit___closed__3; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_withAppFnArgs___rarg), 8, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabAppImplicit___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabAppImplicit___lambda__4___boxed), 7, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabAppImplicit___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_PrettyPrinter_Delaborator_delabAppImplicit___closed__4; +x_2 = l_Lean_PrettyPrinter_Delaborator_delabAppImplicit___closed__5; +x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_PrettyPrinter_Delaborator_delabAppExplicit___spec__2___rarg), 8, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabAppImplicit___closed__7() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_getPPExplicit___boxed), 1, 0); +return x_1; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppImplicit(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = l_Lean_PrettyPrinter_Delaborator_delabAppImplicit___closed__7; +x_8 = l_Lean_PrettyPrinter_Delaborator_delabAppImplicit___closed__6; +x_9 = l_Lean_PrettyPrinter_Delaborator_whenNotPPOption(x_7, x_8, x_1, x_2, x_3, x_4, x_5, x_6); +return x_9; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppImplicit___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_PrettyPrinter_Delaborator_delabAppImplicit___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_3); +return x_9; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppImplicit___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l_Lean_PrettyPrinter_Delaborator_delabAppImplicit___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_8; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAppImplicit___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabAppImplicit), 6, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAppImplicit(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_Delaborator_delabAttribute; +x_3 = l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__5; +x_4 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAppImplicit___closed__1; +x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); +return x_5; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_AppMatchState_params___default() { +_start: +{ +lean_object* x_1; +x_1 = l_Array_empty___closed__1; +return x_1; +} +} +static uint8_t _init_l_Lean_PrettyPrinter_Delaborator_AppMatchState_hasMotive___default() { +_start: +{ +uint8_t x_1; +x_1 = 0; +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_AppMatchState_discrs___default() { +_start: +{ +lean_object* x_1; +x_1 = l_Array_empty___closed__1; +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_AppMatchState_rhss___default() { +_start: +{ +lean_object* x_1; +x_1 = l_Array_empty___closed__1; +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_AppMatchState_moreArgs___default() { +_start: +{ +lean_object* x_1; +x_1 = l_Array_empty___closed__1; +return x_1; +} +} +lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_skippingBinders_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; uint8_t x_6; +x_5 = lean_unsigned_to_nat(0u); +x_6 = lean_nat_dec_eq(x_1, x_5); +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +lean_dec(x_3); +x_7 = lean_unsigned_to_nat(1u); +x_8 = lean_nat_sub(x_1, x_7); +x_9 = lean_apply_2(x_4, x_8, x_2); +return x_9; +} +else +{ +lean_object* x_10; +lean_dec(x_4); +x_10 = lean_apply_1(x_3, x_2); +return x_10; +} +} +} +lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_skippingBinders_match__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_skippingBinders_match__1___rarg___boxed), 4, 0); +return x_3; +} +} +lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_skippingBinders_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_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_skippingBinders_match__1___rarg(x_1, x_2, x_3, x_4); +lean_dec(x_1); +return x_5; +} +} +lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_skippingBinders___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_skippingBinders___rarg(x_1, x_2, x_4, x_5, x_6, x_7, x_8, x_9); +return x_10; +} +} +lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_skippingBinders___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; uint8_t x_10; +x_9 = lean_unsigned_to_nat(0u); +x_10 = lean_nat_dec_eq(x_1, x_9); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_11 = lean_unsigned_to_nat(1u); +x_12 = lean_nat_sub(x_1, x_11); +x_13 = lean_alloc_closure((void*)(l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_skippingBinders___rarg___lambda__1___boxed), 9, 2); +lean_closure_set(x_13, 0, x_12); +lean_closure_set(x_13, 1, x_2); +x_14 = l_Lean_PrettyPrinter_Delaborator_withBindingBodyUnusedName___rarg(x_13, x_3, x_4, x_5, x_6, x_7, x_8); +return x_14; +} +else +{ +lean_object* x_15; +x_15 = lean_apply_6(x_2, x_3, x_4, x_5, x_6, x_7, x_8); +return x_15; +} +} +} +lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_skippingBinders(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_skippingBinders___rarg___boxed), 8, 0); +return x_2; +} +} +lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_skippingBinders___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_skippingBinders___rarg___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_3); +lean_dec(x_1); +return x_10; +} +} +lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_skippingBinders___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_skippingBinders___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_1); +return x_9; +} +} +lean_object* l_Lean_Meta_instantiateForall___at___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabPatterns___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_unsigned_to_nat(0u); +x_10 = l___private_Lean_Meta_Basic_0__Lean_Meta_instantiateForallAux(x_2, x_9, x_1, x_4, x_5, x_6, x_7, x_8); +return x_10; +} +} +lean_object* l_Lean_Meta_inferType___at___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabPatterns___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; lean_object* x_9; uint8_t x_10; +x_8 = lean_ctor_get(x_5, 1); +lean_inc(x_8); +x_9 = lean_ctor_get(x_5, 2); +lean_inc(x_9); +x_10 = lean_nat_dec_eq(x_8, x_9); +lean_dec(x_9); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; +x_11 = lean_box(0); +x_12 = l_Lean_Meta_inferType___rarg___lambda__1(x_8, x_1, x_11, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_8); +return x_12; +} +else +{ +lean_object* x_13; lean_object* x_14; uint8_t x_15; +lean_dec(x_8); +lean_dec(x_1); +x_13 = l_Lean_withIncRecDepth___rarg___lambda__2___closed__2; +x_14 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1019____spec__1___rarg(x_13, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_15 = !lean_is_exclusive(x_14); +if (x_15 == 0) +{ +return x_14; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_16 = lean_ctor_get(x_14, 0); +x_17 = lean_ctor_get(x_14, 1); +lean_inc(x_17); +lean_inc(x_16); +lean_dec(x_14); +x_18 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_18, 0, x_16); +lean_ctor_set(x_18, 1, x_17); +return x_18; +} +} +} +} +lean_object* l_Array_mapIdxM_map___at___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabPatterns___spec__3___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l_Lean_PrettyPrinter_Delaborator_delab(x_2, x_3, x_4, x_5, x_6, x_7); +if (lean_obj_tag(x_8) == 0) +{ +uint8_t x_9; +x_9 = !lean_is_exclusive(x_8); +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; +x_10 = lean_ctor_get(x_8, 0); +x_11 = lean_array_push(x_1, x_10); +lean_ctor_set(x_8, 0, x_11); +return x_8; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_12 = lean_ctor_get(x_8, 0); +x_13 = lean_ctor_get(x_8, 1); +lean_inc(x_13); +lean_inc(x_12); +lean_dec(x_8); +x_14 = lean_array_push(x_1, x_12); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_13); +return x_15; +} +} +else +{ +uint8_t x_16; +lean_dec(x_1); +x_16 = !lean_is_exclusive(x_8); +if (x_16 == 0) +{ +return x_8; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_17 = lean_ctor_get(x_8, 0); +x_18 = lean_ctor_get(x_8, 1); +lean_inc(x_18); +lean_inc(x_17); +lean_dec(x_8); +x_19 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_19, 0, x_17); +lean_ctor_set(x_19, 1, x_18); +return x_19; +} +} +} +} +lean_object* l_Array_mapIdxM_map___at___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabPatterns___spec__3___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_8 = l_Lean_PrettyPrinter_Delaborator_delabConst___lambda__1___closed__6; +x_9 = l_Lean_Syntax_mkSep(x_1, 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_7); +return x_10; +} +} +static lean_object* _init_l_Array_mapIdxM_map___at___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabPatterns___spec__3___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Array_empty___closed__1; +x_2 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_PrettyPrinter_Delaborator_instMonadQuotationDelabM___spec__1___rarg___boxed), 7, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Array_mapIdxM_map___at___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabPatterns___spec__3___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Array_mapIdxM_map___at___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabPatterns___spec__3___lambda__1), 7, 0); +return x_1; +} +} +static lean_object* _init_l_Array_mapIdxM_map___at___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabPatterns___spec__3___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Array_mapIdxM_map___at___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabPatterns___spec__3___closed__1; +x_2 = l_Array_mapIdxM_map___at___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabPatterns___spec__3___closed__2; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_withAppFnArgs___rarg), 8, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Array_mapIdxM_map___at___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabPatterns___spec__3___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Array_mapIdxM_map___at___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabPatterns___spec__3___lambda__2___boxed), 7, 0); +return x_1; +} +} +static lean_object* _init_l_Array_mapIdxM_map___at___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabPatterns___spec__3___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Array_mapIdxM_map___at___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabPatterns___spec__3___closed__3; +x_2 = l_Array_mapIdxM_map___at___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabPatterns___spec__3___closed__4; +x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_PrettyPrinter_Delaborator_delabAppExplicit___spec__2___rarg), 8, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +lean_object* l_Array_mapIdxM_map___at___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabPatterns___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; uint8_t x_15; +x_14 = lean_unsigned_to_nat(0u); +x_15 = lean_nat_dec_eq(x_4, x_14); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_16 = lean_unsigned_to_nat(1u); +x_17 = lean_nat_sub(x_4, x_16); +lean_dec(x_4); +x_18 = lean_array_fget(x_3, x_5); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +x_19 = l_Lean_Meta_inferType___at___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabPatterns___spec__2(x_18, x_8, x_9, x_10, x_11, x_12, x_13); +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_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); +lean_dec(x_19); +x_22 = lean_ctor_get(x_1, 0); +x_23 = lean_ctor_get(x_22, 2); +x_24 = l_instInhabitedNat; +x_25 = lean_array_get(x_24, x_23, x_5); +x_26 = lean_ctor_get(x_8, 1); +x_27 = lean_ctor_get(x_8, 2); +x_28 = lean_ctor_get(x_8, 3); +x_29 = lean_ctor_get(x_8, 4); +x_30 = lean_ctor_get(x_8, 5); +lean_inc(x_30); +lean_inc(x_29); +lean_inc(x_28); +lean_inc(x_27); +lean_inc(x_26); +x_31 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_31, 0, x_20); +lean_ctor_set(x_31, 1, x_26); +lean_ctor_set(x_31, 2, x_27); +lean_ctor_set(x_31, 3, x_28); +lean_ctor_set(x_31, 4, x_29); +lean_ctor_set(x_31, 5, x_30); +x_32 = l_Array_mapIdxM_map___at___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabPatterns___spec__3___closed__5; +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +x_33 = l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_skippingBinders___rarg(x_25, x_32, x_31, x_9, x_10, x_11, x_12, x_21); +lean_dec(x_25); +if (lean_obj_tag(x_33) == 0) +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_34 = lean_ctor_get(x_33, 0); +lean_inc(x_34); +x_35 = lean_ctor_get(x_33, 1); +lean_inc(x_35); +lean_dec(x_33); +x_36 = lean_nat_add(x_5, x_16); +lean_dec(x_5); +x_37 = lean_array_push(x_7, x_34); +x_4 = x_17; +x_5 = x_36; +x_6 = lean_box(0); +x_7 = x_37; +x_13 = x_35; +goto _start; +} +else +{ +uint8_t x_39; +lean_dec(x_17); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_5); +x_39 = !lean_is_exclusive(x_33); +if (x_39 == 0) +{ +return x_33; +} +else +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_40 = lean_ctor_get(x_33, 0); +x_41 = lean_ctor_get(x_33, 1); +lean_inc(x_41); +lean_inc(x_40); +lean_dec(x_33); +x_42 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_42, 0, x_40); +lean_ctor_set(x_42, 1, x_41); +return x_42; +} +} +} +else +{ +uint8_t x_43; +lean_dec(x_17); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_5); +x_43 = !lean_is_exclusive(x_19); +if (x_43 == 0) +{ +return x_19; +} +else +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_44 = lean_ctor_get(x_19, 0); +x_45 = lean_ctor_get(x_19, 1); +lean_inc(x_45); +lean_inc(x_44); +lean_dec(x_19); +x_46 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_46, 0, x_44); +lean_ctor_set(x_46, 1, x_45); +return x_46; +} +} +} +else +{ +lean_object* x_47; +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_5); +lean_dec(x_4); +x_47 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_47, 0, x_7); +lean_ctor_set(x_47, 1, x_13); +return x_47; +} +} +} +lean_object* l_Lean_Meta_forallTelescope___at___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabPatterns___spec__4___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = lean_apply_8(x_1, x_3, x_4, x_2, x_5, x_6, x_7, x_8, x_9); +return x_10; +} +} +lean_object* l_Lean_Meta_forallTelescope___at___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabPatterns___spec__4___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; uint8_t x_11; lean_object* x_12; +x_9 = lean_alloc_closure((void*)(l_Lean_Meta_forallTelescope___at___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabPatterns___spec__4___rarg___lambda__1), 9, 2); +lean_closure_set(x_9, 0, x_2); +lean_closure_set(x_9, 1, x_3); +x_10 = lean_box(0); +x_11 = 0; +x_12 = l___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingAuxAux___rarg(x_11, x_10, x_1, x_9, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_12) == 0) +{ +uint8_t x_13; +x_13 = !lean_is_exclusive(x_12); +if (x_13 == 0) +{ +return x_12; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_14 = lean_ctor_get(x_12, 0); +x_15 = lean_ctor_get(x_12, 1); +lean_inc(x_15); +lean_inc(x_14); +lean_dec(x_12); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_14); +lean_ctor_set(x_16, 1, x_15); +return x_16; +} +} +else +{ +uint8_t x_17; +x_17 = !lean_is_exclusive(x_12); +if (x_17 == 0) +{ +return x_12; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_12, 0); +x_19 = lean_ctor_get(x_12, 1); +lean_inc(x_19); +lean_inc(x_18); +lean_dec(x_12); +x_20 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_20, 0, x_18); +lean_ctor_set(x_20, 1, x_19); +return x_20; +} +} +} +} +lean_object* l_Lean_Meta_forallTelescope___at___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabPatterns___spec__4(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Meta_forallTelescope___at___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabPatterns___spec__4___rarg), 8, 0); +return x_2; +} +} +lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabPatterns___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_10 = lean_ctor_get(x_1, 3); +x_11 = lean_array_get_size(x_10); +x_12 = lean_unsigned_to_nat(1u); +x_13 = lean_nat_add(x_12, x_11); +lean_dec(x_11); +x_14 = lean_array_get_size(x_2); +lean_inc(x_2); +x_15 = l_Array_toSubarray___rarg(x_2, x_13, x_14); +x_16 = l_Array_ofSubarray___rarg(x_15); +lean_dec(x_15); +x_17 = lean_array_get_size(x_16); +x_18 = lean_mk_empty_array_with_capacity(x_17); +x_19 = lean_unsigned_to_nat(0u); +x_20 = l_Array_mapIdxM_map___at___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabPatterns___spec__3(x_1, x_2, x_16, x_17, x_19, lean_box(0), x_18, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_16); +lean_dec(x_2); +return x_20; +} +} +lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabPatterns(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_8 = lean_ctor_get(x_1, 1); +lean_inc(x_8); +x_9 = lean_ctor_get(x_1, 2); +lean_inc(x_9); +x_10 = lean_unsigned_to_nat(0u); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +x_11 = l___private_Lean_Meta_Basic_0__Lean_Meta_instantiateForallAux(x_9, x_10, x_8, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_9); +if (lean_obj_tag(x_11) == 0) +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_12 = lean_ctor_get(x_11, 0); +lean_inc(x_12); +x_13 = lean_ctor_get(x_11, 1); +lean_inc(x_13); +lean_dec(x_11); +x_14 = lean_alloc_closure((void*)(l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabPatterns___lambda__1___boxed), 9, 1); +lean_closure_set(x_14, 0, x_1); +x_15 = l_Lean_Meta_forallTelescope___at___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabPatterns___spec__4___rarg(x_12, x_14, x_2, x_3, x_4, x_5, x_6, x_13); +return x_15; +} +else +{ +uint8_t x_16; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_16 = !lean_is_exclusive(x_11); +if (x_16 == 0) +{ +return x_11; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_17 = lean_ctor_get(x_11, 0); +x_18 = lean_ctor_get(x_11, 1); +lean_inc(x_18); +lean_inc(x_17); +lean_dec(x_11); +x_19 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_19, 0, x_17); +lean_ctor_set(x_19, 1, x_18); +return x_19; +} +} +} +} +lean_object* l_Lean_Meta_instantiateForall___at___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabPatterns___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Meta_instantiateForall___at___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabPatterns___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_3); +lean_dec(x_2); +return x_9; +} +} +lean_object* l_Lean_Meta_inferType___at___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabPatterns___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l_Lean_Meta_inferType___at___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabPatterns___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_2); +return x_8; +} +} +lean_object* l_Array_mapIdxM_map___at___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabPatterns___spec__3___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l_Array_mapIdxM_map___at___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabPatterns___spec__3___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_8; +} +} +lean_object* l_Array_mapIdxM_map___at___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabPatterns___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; +x_14 = l_Array_mapIdxM_map___at___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabPatterns___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_8); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_14; +} +} +lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabPatterns___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabPatterns___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +return x_10; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppMatch_match__1___rarg(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_2); +x_4 = lean_apply_1(x_3, x_1); +return x_4; +} +else +{ +lean_object* x_5; lean_object* x_6; +lean_dec(x_3); +x_5 = lean_ctor_get(x_1, 0); +lean_inc(x_5); +lean_dec(x_1); +x_6 = lean_apply_1(x_2, x_5); +return x_6; +} +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppMatch_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabAppMatch_match__1___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppMatch_match__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 4) +{ +lean_object* x_4; lean_object* x_5; uint64_t x_6; lean_object* x_7; lean_object* x_8; +lean_dec(x_3); +x_4 = lean_ctor_get(x_1, 0); +lean_inc(x_4); +x_5 = lean_ctor_get(x_1, 1); +lean_inc(x_5); +x_6 = lean_ctor_get_uint64(x_1, sizeof(void*)*2); +lean_dec(x_1); +x_7 = lean_box_uint64(x_6); +x_8 = lean_apply_3(x_2, x_4, x_5, x_7); +return x_8; +} +else +{ +lean_object* x_9; +lean_dec(x_2); +x_9 = lean_apply_1(x_3, x_1); +return x_9; +} +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppMatch_match__2(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabAppMatch_match__2___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppMatch_match__3___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; lean_object* x_7; uint8_t x_8; +x_6 = lean_array_get_size(x_1); +x_7 = lean_unsigned_to_nat(1u); +x_8 = lean_nat_dec_eq(x_6, x_7); +lean_dec(x_6); +if (x_8 == 0) +{ +lean_object* x_9; lean_object* x_10; uint8_t x_11; +lean_dec(x_3); +x_9 = lean_array_get_size(x_2); +x_10 = lean_unsigned_to_nat(0u); +x_11 = lean_nat_dec_eq(x_9, x_10); +lean_dec(x_9); +if (x_11 == 0) +{ +lean_object* x_12; +lean_dec(x_4); +x_12 = lean_apply_2(x_5, x_1, x_2); +return x_12; +} +else +{ +lean_object* x_13; +lean_dec(x_5); +lean_dec(x_2); +x_13 = lean_apply_1(x_4, x_1); +return x_13; +} +} +else +{ +lean_object* x_14; lean_object* x_15; uint8_t x_16; +lean_dec(x_4); +x_14 = lean_array_get_size(x_2); +x_15 = lean_unsigned_to_nat(0u); +x_16 = lean_nat_dec_eq(x_14, x_15); +lean_dec(x_14); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +lean_dec(x_3); +x_17 = lean_array_fget(x_1, x_15); +lean_dec(x_1); +x_18 = l_Lean_mkOptionalNode___closed__2; +x_19 = lean_array_push(x_18, x_17); +x_20 = lean_apply_2(x_5, x_19, x_2); +return x_20; +} +else +{ +lean_object* x_21; lean_object* x_22; +lean_dec(x_5); +lean_dec(x_2); +x_21 = lean_array_fget(x_1, x_15); +lean_dec(x_1); +x_22 = lean_apply_1(x_3, x_21); +return x_22; +} +} +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppMatch_match__3(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabAppMatch_match__3___rarg), 5, 0); +return x_2; +} +} +lean_object* l_Lean_throwError___at_Lean_PrettyPrinter_Delaborator_delabAppMatch___spec__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; lean_object* x_9; uint8_t x_10; +x_8 = lean_ctor_get(x_5, 3); +x_9 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_1, x_3, x_4, x_5, x_6, x_7); +x_10 = !lean_is_exclusive(x_9); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; +x_11 = lean_ctor_get(x_9, 0); +lean_inc(x_8); +x_12 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_12, 0, x_8); +lean_ctor_set(x_12, 1, x_11); +lean_ctor_set_tag(x_9, 1); +lean_ctor_set(x_9, 0, x_12); +return x_9; +} +else +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_13 = lean_ctor_get(x_9, 0); +x_14 = lean_ctor_get(x_9, 1); +lean_inc(x_14); +lean_inc(x_13); +lean_dec(x_9); +lean_inc(x_8); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_8); +lean_ctor_set(x_15, 1, x_13); +x_16 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_14); +return x_16; +} +} +} +lean_object* l_Lean_throwError___at_Lean_PrettyPrinter_Delaborator_delabAppMatch___spec__2(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_throwError___at_Lean_PrettyPrinter_Delaborator_delabAppMatch___spec__2___rarg___boxed), 7, 0); +return x_2; +} +} +lean_object* l_Lean_getConstInfo___at_Lean_PrettyPrinter_Delaborator_delabAppMatch___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; uint8_t x_9; +x_8 = lean_st_ref_get(x_6, x_7); +x_9 = !lean_is_exclusive(x_8); +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_10 = lean_ctor_get(x_8, 0); +x_11 = lean_ctor_get(x_8, 1); +x_12 = lean_ctor_get(x_10, 0); +lean_inc(x_12); +lean_dec(x_10); +lean_inc(x_1); +x_13 = lean_environment_find(x_12, x_1); +if (lean_obj_tag(x_13) == 0) +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +lean_free_object(x_8); +x_14 = lean_box(0); +x_15 = l_Lean_mkConst(x_1, x_14); +x_16 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_16, 0, x_15); +x_17 = l_Lean_throwUnknownConstant___rarg___closed__2; +x_18 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_16); +x_19 = l_Lean_throwUnknownConstant___rarg___closed__3; +x_20 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_20, 0, x_18); +lean_ctor_set(x_20, 1, x_19); +x_21 = l_Lean_throwError___at_Lean_PrettyPrinter_Delaborator_delabAppMatch___spec__2___rarg(x_20, x_2, x_3, x_4, x_5, x_6, x_11); +return x_21; +} +else +{ +lean_object* x_22; +lean_dec(x_1); +x_22 = lean_ctor_get(x_13, 0); +lean_inc(x_22); +lean_dec(x_13); +lean_ctor_set(x_8, 0, x_22); +return x_8; +} +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_23 = lean_ctor_get(x_8, 0); +x_24 = lean_ctor_get(x_8, 1); +lean_inc(x_24); +lean_inc(x_23); +lean_dec(x_8); +x_25 = lean_ctor_get(x_23, 0); +lean_inc(x_25); +lean_dec(x_23); +lean_inc(x_1); +x_26 = lean_environment_find(x_25, x_1); +if (lean_obj_tag(x_26) == 0) +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_27 = lean_box(0); +x_28 = l_Lean_mkConst(x_1, x_27); +x_29 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_29, 0, x_28); +x_30 = l_Lean_throwUnknownConstant___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_throwUnknownConstant___rarg___closed__3; +x_33 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_33, 0, x_31); +lean_ctor_set(x_33, 1, x_32); +x_34 = l_Lean_throwError___at_Lean_PrettyPrinter_Delaborator_delabAppMatch___spec__2___rarg(x_33, x_2, x_3, x_4, x_5, x_6, x_24); +return x_34; +} +else +{ +lean_object* x_35; lean_object* x_36; +lean_dec(x_1); +x_35 = lean_ctor_get(x_26, 0); +lean_inc(x_35); +lean_dec(x_26); +x_36 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_36, 0, x_35); +lean_ctor_set(x_36, 1, x_24); +return x_36; +} +} +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_delabAppMatch___spec__3___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_myMacro____x40_Init_Notation___hyg_38____closed__6; +x_2 = l_Lean_Parser_Tactic_match___closed__5; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_delabAppMatch___spec__3___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Syntax_mkApp___closed__1; +x_2 = l_Lean_mkOptionalNode___closed__1; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +lean_object* l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_delabAppMatch___spec__3(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; +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; lean_object* x_11; lean_object* x_12; lean_object* x_13; size_t x_14; size_t x_15; lean_object* x_16; lean_object* x_17; +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_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_delabAppMatch___spec__3___closed__2; +x_11 = lean_array_push(x_10, x_9); +x_12 = l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_delabAppMatch___spec__3___closed__1; +x_13 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_13, 1, x_11); +x_14 = 1; +x_15 = x_2 + x_14; +x_16 = x_13; +x_17 = lean_array_uset(x_8, x_2, x_16); +x_2 = x_15; +x_3 = x_17; +goto _start; +} +} +} +static lean_object* _init_l_Array_zipWithAux___at_Lean_PrettyPrinter_Delaborator_delabAppMatch___spec__4___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_myMacro____x40_Init_Notation___hyg_38____closed__6; +x_2 = l_Lean_Parser_Tactic_matchAlt___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Array_zipWithAux___at_Lean_PrettyPrinter_Delaborator_delabAppMatch___spec__4___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_myMacro____x40_Init_Notation___hyg_5739____closed__18; +x_2 = l_Lean_mkAtom(x_1); +return x_2; +} +} +lean_object* l_Array_zipWithAux___at_Lean_PrettyPrinter_Delaborator_delabAppMatch___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; uint8_t x_6; +x_5 = lean_array_get_size(x_1); +x_6 = lean_nat_dec_lt(x_3, x_5); +lean_dec(x_5); +if (x_6 == 0) +{ +lean_dec(x_3); +return x_4; +} +else +{ +lean_object* x_7; lean_object* x_8; uint8_t x_9; +x_7 = lean_array_fget(x_1, x_3); +x_8 = lean_array_get_size(x_2); +x_9 = lean_nat_dec_lt(x_3, x_8); +lean_dec(x_8); +if (x_9 == 0) +{ +lean_dec(x_7); +lean_dec(x_3); +return x_4; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_10 = lean_array_fget(x_2, x_3); +x_11 = lean_unsigned_to_nat(1u); +x_12 = lean_nat_add(x_3, x_11); +lean_dec(x_3); +x_13 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoe___closed__3; +x_14 = lean_array_push(x_13, x_7); +x_15 = l_Array_zipWithAux___at_Lean_PrettyPrinter_Delaborator_delabAppMatch___spec__4___closed__2; +x_16 = lean_array_push(x_14, x_15); +x_17 = lean_array_push(x_16, x_10); +x_18 = l_Array_zipWithAux___at_Lean_PrettyPrinter_Delaborator_delabAppMatch___spec__4___closed__1; +x_19 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_17); +x_20 = lean_array_push(x_4, x_19); +x_3 = x_12; +x_4 = x_20; +goto _start; +} +} +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +if (lean_obj_tag(x_1) == 4) +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_8 = lean_ctor_get(x_1, 0); +lean_inc(x_8); +x_9 = lean_ctor_get(x_1, 1); +lean_inc(x_9); +lean_dec(x_1); +x_10 = l_Lean_Meta_getMatcherInfo_x3f(x_8, x_3, x_4, x_5, x_6, x_7); +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; +lean_dec(x_9); +lean_dec(x_8); +x_12 = lean_ctor_get(x_10, 1); +lean_inc(x_12); +lean_dec(x_10); +x_13 = l_Lean_PrettyPrinter_Delaborator_failure___rarg(x_12); +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_14 = lean_ctor_get(x_10, 1); +lean_inc(x_14); +lean_dec(x_10); +x_15 = lean_ctor_get(x_11, 0); +lean_inc(x_15); +lean_dec(x_11); +x_16 = l_Lean_getConstInfo___at_Lean_PrettyPrinter_Delaborator_delabAppMatch___spec__1(x_8, x_2, x_3, x_4, x_5, x_6, x_14); +if (lean_obj_tag(x_16) == 0) +{ +uint8_t x_17; +x_17 = !lean_is_exclusive(x_16); +if (x_17 == 0) +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; lean_object* x_22; +x_18 = lean_ctor_get(x_16, 0); +x_19 = lean_instantiate_type_lparams(x_18, x_9); +lean_dec(x_9); +lean_dec(x_18); +x_20 = l_Array_empty___closed__1; +x_21 = 0; +x_22 = lean_alloc_ctor(0, 6, 1); +lean_ctor_set(x_22, 0, x_15); +lean_ctor_set(x_22, 1, x_19); +lean_ctor_set(x_22, 2, x_20); +lean_ctor_set(x_22, 3, x_20); +lean_ctor_set(x_22, 4, x_20); +lean_ctor_set(x_22, 5, x_20); +lean_ctor_set_uint8(x_22, sizeof(void*)*6, x_21); +lean_ctor_set(x_16, 0, x_22); +return x_16; +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; lean_object* x_28; lean_object* x_29; +x_23 = lean_ctor_get(x_16, 0); +x_24 = lean_ctor_get(x_16, 1); +lean_inc(x_24); +lean_inc(x_23); +lean_dec(x_16); +x_25 = lean_instantiate_type_lparams(x_23, x_9); +lean_dec(x_9); +lean_dec(x_23); +x_26 = l_Array_empty___closed__1; +x_27 = 0; +x_28 = lean_alloc_ctor(0, 6, 1); +lean_ctor_set(x_28, 0, x_15); +lean_ctor_set(x_28, 1, x_25); +lean_ctor_set(x_28, 2, x_26); +lean_ctor_set(x_28, 3, x_26); +lean_ctor_set(x_28, 4, x_26); +lean_ctor_set(x_28, 5, x_26); +lean_ctor_set_uint8(x_28, sizeof(void*)*6, x_27); +x_29 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_29, 0, x_28); +lean_ctor_set(x_29, 1, x_24); +return x_29; +} +} +else +{ +uint8_t x_30; +lean_dec(x_15); +lean_dec(x_9); +x_30 = !lean_is_exclusive(x_16); +if (x_30 == 0) +{ +return x_16; +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_16, 0); +x_32 = lean_ctor_get(x_16, 1); +lean_inc(x_32); +lean_inc(x_31); +lean_dec(x_16); +x_33 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_33, 0, x_31); +lean_ctor_set(x_33, 1, x_32); +return x_33; +} +} +} +} +else +{ +lean_object* x_34; +lean_dec(x_1); +x_34 = l_Lean_PrettyPrinter_Delaborator_failure___rarg(x_7); +return x_34; +} +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__2___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delab), 6, 0); +return x_1; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +uint8_t x_8; +x_8 = !lean_is_exclusive(x_1); +if (x_8 == 0) +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; +x_9 = lean_ctor_get(x_1, 0); +x_10 = lean_ctor_get(x_1, 1); +x_11 = lean_ctor_get(x_1, 2); +x_12 = lean_ctor_get_uint8(x_1, sizeof(void*)*6); +x_13 = lean_ctor_get(x_1, 3); +x_14 = lean_ctor_get(x_1, 4); +x_15 = lean_ctor_get(x_1, 5); +x_16 = lean_array_get_size(x_11); +x_17 = lean_ctor_get(x_9, 0); +lean_inc(x_17); +x_18 = lean_nat_dec_lt(x_16, x_17); +lean_dec(x_17); +lean_dec(x_16); +if (x_18 == 0) +{ +if (x_12 == 0) +{ +uint8_t x_19; lean_object* x_20; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_19 = 1; +lean_ctor_set_uint8(x_1, sizeof(void*)*6, x_19); +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_1); +lean_ctor_set(x_20, 1, x_7); +return x_20; +} +else +{ +lean_object* x_21; lean_object* x_22; uint8_t x_23; +x_21 = lean_array_get_size(x_13); +x_22 = lean_ctor_get(x_9, 1); +lean_inc(x_22); +x_23 = lean_nat_dec_lt(x_21, x_22); +lean_dec(x_22); +lean_dec(x_21); +if (x_23 == 0) +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; +x_24 = lean_array_get_size(x_14); +x_25 = lean_ctor_get(x_9, 2); +lean_inc(x_25); +x_26 = lean_array_get_size(x_25); +x_27 = lean_nat_dec_lt(x_24, x_26); +lean_dec(x_26); +if (x_27 == 0) +{ +lean_object* x_28; +lean_dec(x_25); +lean_dec(x_24); +x_28 = l_Lean_PrettyPrinter_Delaborator_delab(x_2, x_3, x_4, x_5, x_6, x_7); +if (lean_obj_tag(x_28) == 0) +{ +uint8_t x_29; +x_29 = !lean_is_exclusive(x_28); +if (x_29 == 0) +{ +lean_object* x_30; lean_object* x_31; +x_30 = lean_ctor_get(x_28, 0); +x_31 = lean_array_push(x_15, x_30); +lean_ctor_set(x_1, 5, x_31); +lean_ctor_set(x_28, 0, x_1); +return x_28; +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_32 = lean_ctor_get(x_28, 0); +x_33 = lean_ctor_get(x_28, 1); +lean_inc(x_33); +lean_inc(x_32); +lean_dec(x_28); +x_34 = lean_array_push(x_15, x_32); +lean_ctor_set(x_1, 5, x_34); +x_35 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_35, 0, x_1); +lean_ctor_set(x_35, 1, x_33); +return x_35; +} +} +else +{ +uint8_t x_36; +lean_free_object(x_1); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +x_36 = !lean_is_exclusive(x_28); +if (x_36 == 0) +{ +return x_28; +} +else +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_37 = lean_ctor_get(x_28, 0); +x_38 = lean_ctor_get(x_28, 1); +lean_inc(x_38); +lean_inc(x_37); +lean_dec(x_28); +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; +} +} +} +else +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_40 = l_instInhabitedNat; +x_41 = lean_array_get(x_40, x_25, x_24); +lean_dec(x_24); +lean_dec(x_25); +x_42 = l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__2___closed__1; +x_43 = l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_skippingBinders___rarg(x_41, x_42, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_41); +if (lean_obj_tag(x_43) == 0) +{ +uint8_t x_44; +x_44 = !lean_is_exclusive(x_43); +if (x_44 == 0) +{ +lean_object* x_45; lean_object* x_46; +x_45 = lean_ctor_get(x_43, 0); +x_46 = lean_array_push(x_14, x_45); +lean_ctor_set(x_1, 4, x_46); +lean_ctor_set(x_43, 0, x_1); +return x_43; +} +else +{ +lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; +x_47 = lean_ctor_get(x_43, 0); +x_48 = lean_ctor_get(x_43, 1); +lean_inc(x_48); +lean_inc(x_47); +lean_dec(x_43); +x_49 = lean_array_push(x_14, x_47); +lean_ctor_set(x_1, 4, x_49); +x_50 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_50, 0, x_1); +lean_ctor_set(x_50, 1, x_48); +return x_50; +} +} +else +{ +uint8_t x_51; +lean_free_object(x_1); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +x_51 = !lean_is_exclusive(x_43); +if (x_51 == 0) +{ +return x_43; +} +else +{ +lean_object* x_52; lean_object* x_53; lean_object* x_54; +x_52 = lean_ctor_get(x_43, 0); +x_53 = lean_ctor_get(x_43, 1); +lean_inc(x_53); +lean_inc(x_52); +lean_dec(x_43); +x_54 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_54, 0, x_52); +lean_ctor_set(x_54, 1, x_53); +return x_54; +} +} +} +} +else +{ +lean_object* x_55; +x_55 = l_Lean_PrettyPrinter_Delaborator_delab(x_2, x_3, x_4, x_5, x_6, x_7); +if (lean_obj_tag(x_55) == 0) +{ +uint8_t x_56; +x_56 = !lean_is_exclusive(x_55); +if (x_56 == 0) +{ +lean_object* x_57; lean_object* x_58; +x_57 = lean_ctor_get(x_55, 0); +x_58 = lean_array_push(x_13, x_57); +lean_ctor_set(x_1, 3, x_58); +lean_ctor_set(x_55, 0, x_1); +return x_55; +} +else +{ +lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; +x_59 = lean_ctor_get(x_55, 0); +x_60 = lean_ctor_get(x_55, 1); +lean_inc(x_60); +lean_inc(x_59); +lean_dec(x_55); +x_61 = lean_array_push(x_13, x_59); +lean_ctor_set(x_1, 3, x_61); +x_62 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_62, 0, x_1); +lean_ctor_set(x_62, 1, x_60); +return x_62; +} +} +else +{ +uint8_t x_63; +lean_free_object(x_1); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +x_63 = !lean_is_exclusive(x_55); +if (x_63 == 0) +{ +return x_55; +} +else +{ +lean_object* x_64; lean_object* x_65; lean_object* x_66; +x_64 = lean_ctor_get(x_55, 0); +x_65 = lean_ctor_get(x_55, 1); +lean_inc(x_65); +lean_inc(x_64); +lean_dec(x_55); +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; +} +} +} +} +} +else +{ +lean_object* x_67; uint8_t x_68; +x_67 = l_Lean_PrettyPrinter_Delaborator_getExpr(x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_68 = !lean_is_exclusive(x_67); +if (x_68 == 0) +{ +lean_object* x_69; lean_object* x_70; +x_69 = lean_ctor_get(x_67, 0); +x_70 = lean_array_push(x_11, x_69); +lean_ctor_set(x_1, 2, x_70); +lean_ctor_set(x_67, 0, x_1); +return x_67; +} +else +{ +lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; +x_71 = lean_ctor_get(x_67, 0); +x_72 = lean_ctor_get(x_67, 1); +lean_inc(x_72); +lean_inc(x_71); +lean_dec(x_67); +x_73 = lean_array_push(x_11, x_71); +lean_ctor_set(x_1, 2, x_73); +x_74 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_74, 0, x_1); +lean_ctor_set(x_74, 1, x_72); +return x_74; +} +} +} +else +{ +lean_object* x_75; lean_object* x_76; lean_object* x_77; uint8_t x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; uint8_t x_84; +x_75 = lean_ctor_get(x_1, 0); +x_76 = lean_ctor_get(x_1, 1); +x_77 = lean_ctor_get(x_1, 2); +x_78 = lean_ctor_get_uint8(x_1, sizeof(void*)*6); +x_79 = lean_ctor_get(x_1, 3); +x_80 = lean_ctor_get(x_1, 4); +x_81 = lean_ctor_get(x_1, 5); +lean_inc(x_81); +lean_inc(x_80); +lean_inc(x_79); +lean_inc(x_77); +lean_inc(x_76); +lean_inc(x_75); +lean_dec(x_1); +x_82 = lean_array_get_size(x_77); +x_83 = lean_ctor_get(x_75, 0); +lean_inc(x_83); +x_84 = lean_nat_dec_lt(x_82, x_83); +lean_dec(x_83); +lean_dec(x_82); +if (x_84 == 0) +{ +if (x_78 == 0) +{ +uint8_t x_85; lean_object* 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); +x_85 = 1; +x_86 = lean_alloc_ctor(0, 6, 1); +lean_ctor_set(x_86, 0, x_75); +lean_ctor_set(x_86, 1, x_76); +lean_ctor_set(x_86, 2, x_77); +lean_ctor_set(x_86, 3, x_79); +lean_ctor_set(x_86, 4, x_80); +lean_ctor_set(x_86, 5, x_81); +lean_ctor_set_uint8(x_86, sizeof(void*)*6, x_85); +x_87 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_87, 0, x_86); +lean_ctor_set(x_87, 1, x_7); +return x_87; +} +else +{ +lean_object* x_88; lean_object* x_89; uint8_t x_90; +x_88 = lean_array_get_size(x_79); +x_89 = lean_ctor_get(x_75, 1); +lean_inc(x_89); +x_90 = lean_nat_dec_lt(x_88, x_89); +lean_dec(x_89); +lean_dec(x_88); +if (x_90 == 0) +{ +lean_object* x_91; lean_object* x_92; lean_object* x_93; uint8_t x_94; +x_91 = lean_array_get_size(x_80); +x_92 = lean_ctor_get(x_75, 2); +lean_inc(x_92); +x_93 = lean_array_get_size(x_92); +x_94 = lean_nat_dec_lt(x_91, x_93); +lean_dec(x_93); +if (x_94 == 0) +{ +lean_object* x_95; +lean_dec(x_92); +lean_dec(x_91); +x_95 = l_Lean_PrettyPrinter_Delaborator_delab(x_2, x_3, x_4, x_5, x_6, x_7); +if (lean_obj_tag(x_95) == 0) +{ +lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; +x_96 = lean_ctor_get(x_95, 0); +lean_inc(x_96); +x_97 = lean_ctor_get(x_95, 1); +lean_inc(x_97); +if (lean_is_exclusive(x_95)) { + lean_ctor_release(x_95, 0); + lean_ctor_release(x_95, 1); + x_98 = x_95; +} else { + lean_dec_ref(x_95); + x_98 = lean_box(0); +} +x_99 = lean_array_push(x_81, x_96); +x_100 = lean_alloc_ctor(0, 6, 1); +lean_ctor_set(x_100, 0, x_75); +lean_ctor_set(x_100, 1, x_76); +lean_ctor_set(x_100, 2, x_77); +lean_ctor_set(x_100, 3, x_79); +lean_ctor_set(x_100, 4, x_80); +lean_ctor_set(x_100, 5, x_99); +lean_ctor_set_uint8(x_100, sizeof(void*)*6, x_78); +if (lean_is_scalar(x_98)) { + x_101 = lean_alloc_ctor(0, 2, 0); +} else { + x_101 = x_98; +} +lean_ctor_set(x_101, 0, x_100); +lean_ctor_set(x_101, 1, x_97); +return x_101; +} +else +{ +lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; +lean_dec(x_81); +lean_dec(x_80); +lean_dec(x_79); +lean_dec(x_77); +lean_dec(x_76); +lean_dec(x_75); +x_102 = lean_ctor_get(x_95, 0); +lean_inc(x_102); +x_103 = lean_ctor_get(x_95, 1); +lean_inc(x_103); +if (lean_is_exclusive(x_95)) { + lean_ctor_release(x_95, 0); + lean_ctor_release(x_95, 1); + x_104 = x_95; +} else { + lean_dec_ref(x_95); + x_104 = lean_box(0); +} +if (lean_is_scalar(x_104)) { + x_105 = lean_alloc_ctor(1, 2, 0); +} else { + x_105 = x_104; +} +lean_ctor_set(x_105, 0, x_102); +lean_ctor_set(x_105, 1, x_103); +return x_105; +} +} +else +{ +lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; +x_106 = l_instInhabitedNat; +x_107 = lean_array_get(x_106, x_92, x_91); +lean_dec(x_91); +lean_dec(x_92); +x_108 = l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__2___closed__1; +x_109 = l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_skippingBinders___rarg(x_107, x_108, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_107); +if (lean_obj_tag(x_109) == 0) +{ +lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; +x_110 = lean_ctor_get(x_109, 0); +lean_inc(x_110); +x_111 = lean_ctor_get(x_109, 1); +lean_inc(x_111); +if (lean_is_exclusive(x_109)) { + lean_ctor_release(x_109, 0); + lean_ctor_release(x_109, 1); + x_112 = x_109; +} else { + lean_dec_ref(x_109); + x_112 = lean_box(0); +} +x_113 = lean_array_push(x_80, x_110); +x_114 = lean_alloc_ctor(0, 6, 1); +lean_ctor_set(x_114, 0, x_75); +lean_ctor_set(x_114, 1, x_76); +lean_ctor_set(x_114, 2, x_77); +lean_ctor_set(x_114, 3, x_79); +lean_ctor_set(x_114, 4, x_113); +lean_ctor_set(x_114, 5, x_81); +lean_ctor_set_uint8(x_114, sizeof(void*)*6, x_78); +if (lean_is_scalar(x_112)) { + x_115 = lean_alloc_ctor(0, 2, 0); +} else { + x_115 = x_112; +} +lean_ctor_set(x_115, 0, x_114); +lean_ctor_set(x_115, 1, x_111); +return x_115; +} +else +{ +lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; +lean_dec(x_81); +lean_dec(x_80); +lean_dec(x_79); +lean_dec(x_77); +lean_dec(x_76); +lean_dec(x_75); +x_116 = lean_ctor_get(x_109, 0); +lean_inc(x_116); +x_117 = lean_ctor_get(x_109, 1); +lean_inc(x_117); +if (lean_is_exclusive(x_109)) { + lean_ctor_release(x_109, 0); + lean_ctor_release(x_109, 1); + x_118 = x_109; +} else { + lean_dec_ref(x_109); + x_118 = lean_box(0); +} +if (lean_is_scalar(x_118)) { + x_119 = lean_alloc_ctor(1, 2, 0); +} else { + x_119 = x_118; +} +lean_ctor_set(x_119, 0, x_116); +lean_ctor_set(x_119, 1, x_117); +return x_119; +} +} +} +else +{ +lean_object* x_120; +x_120 = l_Lean_PrettyPrinter_Delaborator_delab(x_2, x_3, x_4, x_5, x_6, x_7); +if (lean_obj_tag(x_120) == 0) +{ +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_121 = lean_ctor_get(x_120, 0); +lean_inc(x_121); +x_122 = lean_ctor_get(x_120, 1); +lean_inc(x_122); +if (lean_is_exclusive(x_120)) { + lean_ctor_release(x_120, 0); + lean_ctor_release(x_120, 1); + x_123 = x_120; +} else { + lean_dec_ref(x_120); + x_123 = lean_box(0); +} +x_124 = lean_array_push(x_79, x_121); +x_125 = lean_alloc_ctor(0, 6, 1); +lean_ctor_set(x_125, 0, x_75); +lean_ctor_set(x_125, 1, x_76); +lean_ctor_set(x_125, 2, x_77); +lean_ctor_set(x_125, 3, x_124); +lean_ctor_set(x_125, 4, x_80); +lean_ctor_set(x_125, 5, x_81); +lean_ctor_set_uint8(x_125, sizeof(void*)*6, x_78); +if (lean_is_scalar(x_123)) { + x_126 = lean_alloc_ctor(0, 2, 0); +} else { + x_126 = x_123; +} +lean_ctor_set(x_126, 0, x_125); +lean_ctor_set(x_126, 1, x_122); +return x_126; +} +else +{ +lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; +lean_dec(x_81); +lean_dec(x_80); +lean_dec(x_79); +lean_dec(x_77); +lean_dec(x_76); +lean_dec(x_75); +x_127 = lean_ctor_get(x_120, 0); +lean_inc(x_127); +x_128 = lean_ctor_get(x_120, 1); +lean_inc(x_128); +if (lean_is_exclusive(x_120)) { + lean_ctor_release(x_120, 0); + lean_ctor_release(x_120, 1); + x_129 = x_120; +} else { + lean_dec_ref(x_120); + x_129 = lean_box(0); +} +if (lean_is_scalar(x_129)) { + x_130 = lean_alloc_ctor(1, 2, 0); +} else { + x_130 = x_129; +} +lean_ctor_set(x_130, 0, x_127); +lean_ctor_set(x_130, 1, x_128); +return x_130; +} +} +} +} +else +{ +lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; +x_131 = l_Lean_PrettyPrinter_Delaborator_getExpr(x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_132 = lean_ctor_get(x_131, 0); +lean_inc(x_132); +x_133 = lean_ctor_get(x_131, 1); +lean_inc(x_133); +if (lean_is_exclusive(x_131)) { + lean_ctor_release(x_131, 0); + lean_ctor_release(x_131, 1); + x_134 = x_131; +} else { + lean_dec_ref(x_131); + x_134 = lean_box(0); +} +x_135 = lean_array_push(x_77, x_132); +x_136 = lean_alloc_ctor(0, 6, 1); +lean_ctor_set(x_136, 0, x_75); +lean_ctor_set(x_136, 1, x_76); +lean_ctor_set(x_136, 2, x_135); +lean_ctor_set(x_136, 3, x_79); +lean_ctor_set(x_136, 4, x_80); +lean_ctor_set(x_136, 5, x_81); +lean_ctor_set_uint8(x_136, sizeof(void*)*6, x_78); +if (lean_is_scalar(x_134)) { + x_137 = lean_alloc_ctor(0, 2, 0); +} else { + x_137 = x_134; +} +lean_ctor_set(x_137, 0, x_136); +lean_ctor_set(x_137, 1, x_133); +return x_137; +} +} +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__3___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_myMacro____x40_Init_Notation___hyg_38____closed__6; +x_2 = l_Lean_Parser_Tactic_match___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__3___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_instInhabitedSourceInfo___closed__1; +x_2 = l_Lean_Parser_Tactic_match___closed__1; +x_3 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__3___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Array_empty___closed__1; +x_2 = l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__3___closed__2; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__3___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("with"); +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__3___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_instInhabitedSourceInfo___closed__1; +x_2 = l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__3___closed__4; +x_3 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__3___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_myMacro____x40_Init_Notation___hyg_38____closed__6; +x_2 = l_Lean_Parser_Tactic_matchAlts___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__3___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_instInhabitedSourceInfo___closed__1; +x_2 = l_Lean_Parser_Tactic_intro___closed__7; +x_3 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__3___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Array_empty___closed__1; +x_2 = l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__3___closed__7; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__3___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_nullKind___closed__2; +x_2 = l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__3___closed__8; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__3___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Array_empty___closed__1; +x_2 = l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__3___closed__9; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__3___closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Tactic_intro___closed__7; +x_2 = l_Lean_mkAtom(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__3___closed__12() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("nomatch"); +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__3___closed__13() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_myMacro____x40_Init_Notation___hyg_38____closed__6; +x_2 = l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__3___closed__12; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__3___closed__14() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_instInhabitedSourceInfo___closed__1; +x_2 = l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__3___closed__12; +x_3 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__3___closed__15() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Array_empty___closed__1; +x_2 = l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__3___closed__14; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_9 = lean_ctor_get(x_1, 3); +lean_inc(x_9); +x_10 = lean_ctor_get(x_1, 4); +lean_inc(x_10); +x_11 = lean_array_get_size(x_9); +x_12 = lean_unsigned_to_nat(1u); +x_13 = lean_nat_dec_eq(x_11, x_12); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; uint8_t x_16; +x_14 = lean_array_get_size(x_10); +x_15 = lean_unsigned_to_nat(0u); +x_16 = lean_nat_dec_eq(x_14, x_15); +lean_dec(x_14); +if (x_16 == 0) +{ +size_t x_17; size_t x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_17 = lean_usize_of_nat(x_11); +lean_dec(x_11); +x_18 = 0; +x_19 = x_9; +x_20 = l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_delabAppMatch___spec__3(x_17, x_18, x_19); +x_21 = x_20; +lean_inc(x_1); +x_22 = l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabPatterns(x_1, x_3, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_22) == 0) +{ +uint8_t x_23; +x_23 = !lean_is_exclusive(x_22); +if (x_23 == 0) +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; 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; +x_24 = lean_ctor_get(x_22, 0); +x_25 = l_Array_empty___closed__1; +x_26 = l_Array_zipWithAux___at_Lean_PrettyPrinter_Delaborator_delabAppMatch___spec__4(x_24, x_10, x_15, x_25); +lean_dec(x_10); +lean_dec(x_24); +x_27 = l_Lean_PrettyPrinter_Delaborator_delabConst___lambda__1___closed__6; +x_28 = l_Lean_mkSepArray(x_21, x_27); +lean_dec(x_21); +x_29 = l_Array_appendCore___rarg(x_25, x_28); +lean_dec(x_28); +x_30 = l_Lean_nullKind___closed__2; +x_31 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_31, 0, x_30); +lean_ctor_set(x_31, 1, x_29); +x_32 = l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__3___closed__3; +x_33 = lean_array_push(x_32, x_31); +x_34 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; +x_35 = lean_array_push(x_33, x_34); +x_36 = l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__3___closed__5; +x_37 = lean_array_push(x_35, x_36); +x_38 = l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__3___closed__11; +x_39 = l_Lean_mkSepArray(x_26, x_38); +lean_dec(x_26); +x_40 = l_Array_appendCore___rarg(x_25, x_39); +lean_dec(x_39); +x_41 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_41, 0, x_30); +lean_ctor_set(x_41, 1, x_40); +x_42 = l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__3___closed__10; +x_43 = lean_array_push(x_42, x_41); +x_44 = l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__3___closed__6; +x_45 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_45, 0, x_44); +lean_ctor_set(x_45, 1, x_43); +x_46 = lean_array_push(x_37, x_45); +x_47 = l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__3___closed__1; +x_48 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_48, 0, x_47); +lean_ctor_set(x_48, 1, x_46); +x_49 = lean_ctor_get(x_1, 5); +lean_inc(x_49); +lean_dec(x_1); +x_50 = l_Lean_Syntax_mkApp(x_48, x_49); +lean_ctor_set(x_22, 0, x_50); +return x_22; +} +else +{ +lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; +x_51 = lean_ctor_get(x_22, 0); +x_52 = lean_ctor_get(x_22, 1); +lean_inc(x_52); +lean_inc(x_51); +lean_dec(x_22); +x_53 = l_Array_empty___closed__1; +x_54 = l_Array_zipWithAux___at_Lean_PrettyPrinter_Delaborator_delabAppMatch___spec__4(x_51, x_10, x_15, x_53); +lean_dec(x_10); +lean_dec(x_51); +x_55 = l_Lean_PrettyPrinter_Delaborator_delabConst___lambda__1___closed__6; +x_56 = l_Lean_mkSepArray(x_21, x_55); +lean_dec(x_21); +x_57 = l_Array_appendCore___rarg(x_53, x_56); +lean_dec(x_56); +x_58 = l_Lean_nullKind___closed__2; +x_59 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_59, 0, x_58); +lean_ctor_set(x_59, 1, x_57); +x_60 = l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__3___closed__3; +x_61 = lean_array_push(x_60, x_59); +x_62 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; +x_63 = lean_array_push(x_61, x_62); +x_64 = l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__3___closed__5; +x_65 = lean_array_push(x_63, x_64); +x_66 = l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__3___closed__11; +x_67 = l_Lean_mkSepArray(x_54, x_66); +lean_dec(x_54); +x_68 = l_Array_appendCore___rarg(x_53, x_67); +lean_dec(x_67); +x_69 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_69, 0, x_58); +lean_ctor_set(x_69, 1, x_68); +x_70 = l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__3___closed__10; +x_71 = lean_array_push(x_70, x_69); +x_72 = l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__3___closed__6; +x_73 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_73, 0, x_72); +lean_ctor_set(x_73, 1, x_71); +x_74 = lean_array_push(x_65, x_73); +x_75 = l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__3___closed__1; +x_76 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_76, 0, x_75); +lean_ctor_set(x_76, 1, x_74); +x_77 = lean_ctor_get(x_1, 5); +lean_inc(x_77); +lean_dec(x_1); +x_78 = l_Lean_Syntax_mkApp(x_76, 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_52); +return x_79; +} +} +else +{ +uint8_t x_80; +lean_dec(x_21); +lean_dec(x_10); +lean_dec(x_1); +x_80 = !lean_is_exclusive(x_22); +if (x_80 == 0) +{ +return x_22; +} +else +{ +lean_object* x_81; lean_object* x_82; lean_object* x_83; +x_81 = lean_ctor_get(x_22, 0); +x_82 = lean_ctor_get(x_22, 1); +lean_inc(x_82); +lean_inc(x_81); +lean_dec(x_22); +x_83 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_83, 0, x_81); +lean_ctor_set(x_83, 1, x_82); +return x_83; +} +} +} +else +{ +lean_object* x_84; +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_84 = l_Lean_PrettyPrinter_Delaborator_failure___rarg(x_8); +return x_84; +} +} +else +{ +lean_object* x_85; lean_object* x_86; uint8_t x_87; +x_85 = lean_array_get_size(x_10); +x_86 = lean_unsigned_to_nat(0u); +x_87 = lean_nat_dec_eq(x_85, x_86); +lean_dec(x_85); +if (x_87 == 0) +{ +size_t x_88; size_t x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; +x_88 = lean_usize_of_nat(x_11); +lean_dec(x_11); +x_89 = 0; +x_90 = x_9; +x_91 = l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_delabAppMatch___spec__3(x_88, x_89, x_90); +x_92 = x_91; +lean_inc(x_1); +x_93 = l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabPatterns(x_1, x_3, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_93) == 0) +{ +uint8_t x_94; +x_94 = !lean_is_exclusive(x_93); +if (x_94 == 0) +{ +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; +x_95 = lean_ctor_get(x_93, 0); +x_96 = l_Array_empty___closed__1; +x_97 = l_Array_zipWithAux___at_Lean_PrettyPrinter_Delaborator_delabAppMatch___spec__4(x_95, x_10, x_86, x_96); +lean_dec(x_10); +lean_dec(x_95); +x_98 = l_Lean_PrettyPrinter_Delaborator_delabConst___lambda__1___closed__6; +x_99 = l_Lean_mkSepArray(x_92, x_98); +lean_dec(x_92); +x_100 = l_Array_appendCore___rarg(x_96, x_99); +lean_dec(x_99); +x_101 = l_Lean_nullKind___closed__2; +x_102 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_102, 0, x_101); +lean_ctor_set(x_102, 1, x_100); +x_103 = l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__3___closed__3; +x_104 = lean_array_push(x_103, x_102); +x_105 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; +x_106 = lean_array_push(x_104, x_105); +x_107 = l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__3___closed__5; +x_108 = lean_array_push(x_106, x_107); +x_109 = l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__3___closed__11; +x_110 = l_Lean_mkSepArray(x_97, x_109); +lean_dec(x_97); +x_111 = l_Array_appendCore___rarg(x_96, x_110); +lean_dec(x_110); +x_112 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_112, 0, x_101); +lean_ctor_set(x_112, 1, x_111); +x_113 = l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__3___closed__10; +x_114 = lean_array_push(x_113, x_112); +x_115 = l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__3___closed__6; +x_116 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_116, 0, x_115); +lean_ctor_set(x_116, 1, x_114); +x_117 = lean_array_push(x_108, x_116); +x_118 = l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__3___closed__1; +x_119 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_119, 0, x_118); +lean_ctor_set(x_119, 1, x_117); +x_120 = lean_ctor_get(x_1, 5); +lean_inc(x_120); +lean_dec(x_1); +x_121 = l_Lean_Syntax_mkApp(x_119, x_120); +lean_ctor_set(x_93, 0, x_121); +return x_93; +} +else +{ +lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; +x_122 = lean_ctor_get(x_93, 0); +x_123 = lean_ctor_get(x_93, 1); +lean_inc(x_123); +lean_inc(x_122); +lean_dec(x_93); +x_124 = l_Array_empty___closed__1; +x_125 = l_Array_zipWithAux___at_Lean_PrettyPrinter_Delaborator_delabAppMatch___spec__4(x_122, x_10, x_86, x_124); +lean_dec(x_10); +lean_dec(x_122); +x_126 = l_Lean_PrettyPrinter_Delaborator_delabConst___lambda__1___closed__6; +x_127 = l_Lean_mkSepArray(x_92, x_126); +lean_dec(x_92); +x_128 = l_Array_appendCore___rarg(x_124, x_127); +lean_dec(x_127); +x_129 = l_Lean_nullKind___closed__2; +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 = l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__3___closed__3; +x_132 = lean_array_push(x_131, x_130); +x_133 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; +x_134 = lean_array_push(x_132, x_133); +x_135 = l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__3___closed__5; +x_136 = lean_array_push(x_134, x_135); +x_137 = l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__3___closed__11; +x_138 = l_Lean_mkSepArray(x_125, x_137); +lean_dec(x_125); +x_139 = l_Array_appendCore___rarg(x_124, x_138); +lean_dec(x_138); +x_140 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_140, 0, x_129); +lean_ctor_set(x_140, 1, x_139); +x_141 = l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__3___closed__10; +x_142 = lean_array_push(x_141, x_140); +x_143 = l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__3___closed__6; +x_144 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_144, 0, x_143); +lean_ctor_set(x_144, 1, x_142); +x_145 = lean_array_push(x_136, x_144); +x_146 = l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__3___closed__1; +x_147 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_147, 0, x_146); +lean_ctor_set(x_147, 1, x_145); +x_148 = lean_ctor_get(x_1, 5); +lean_inc(x_148); +lean_dec(x_1); +x_149 = l_Lean_Syntax_mkApp(x_147, x_148); +x_150 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_150, 0, x_149); +lean_ctor_set(x_150, 1, x_123); +return x_150; +} +} +else +{ +uint8_t x_151; +lean_dec(x_92); +lean_dec(x_10); +lean_dec(x_1); +x_151 = !lean_is_exclusive(x_93); +if (x_151 == 0) +{ +return x_93; +} +else +{ +lean_object* x_152; lean_object* x_153; lean_object* x_154; +x_152 = lean_ctor_get(x_93, 0); +x_153 = lean_ctor_get(x_93, 1); +lean_inc(x_153); +lean_inc(x_152); +lean_dec(x_93); +x_154 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_154, 0, x_152); +lean_ctor_set(x_154, 1, x_153); +return x_154; +} +} +} +else +{ +lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_155 = lean_array_fget(x_9, x_86); +lean_dec(x_9); +x_156 = l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__3___closed__15; +x_157 = lean_array_push(x_156, x_155); +x_158 = l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__3___closed__13; +x_159 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_159, 0, x_158); +lean_ctor_set(x_159, 1, x_157); +x_160 = lean_ctor_get(x_1, 5); +lean_inc(x_160); +lean_dec(x_1); +x_161 = l_Lean_Syntax_mkApp(x_159, x_160); +x_162 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_162, 0, x_161); +lean_ctor_set(x_162, 1, x_8); +return x_162; +} +} +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; +x_8 = lean_ctor_get(x_1, 3); +lean_inc(x_8); +x_9 = lean_array_get_size(x_8); +lean_dec(x_8); +x_10 = lean_ctor_get(x_1, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_10, 1); +lean_inc(x_11); +x_12 = lean_nat_dec_lt(x_9, x_11); +lean_dec(x_11); +lean_dec(x_9); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; +x_13 = lean_ctor_get(x_1, 4); +lean_inc(x_13); +x_14 = lean_array_get_size(x_13); +lean_dec(x_13); +x_15 = lean_ctor_get(x_10, 2); +lean_inc(x_15); +lean_dec(x_10); +x_16 = lean_array_get_size(x_15); +lean_dec(x_15); +x_17 = lean_nat_dec_lt(x_14, x_16); +lean_dec(x_16); +lean_dec(x_14); +if (x_17 == 0) +{ +lean_object* x_18; lean_object* x_19; +x_18 = lean_box(0); +x_19 = l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__3(x_1, x_18, x_2, x_3, x_4, x_5, x_6, x_7); +return x_19; +} +else +{ +lean_object* x_20; uint8_t x_21; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_20 = l_Lean_PrettyPrinter_Delaborator_failure___rarg(x_7); +x_21 = !lean_is_exclusive(x_20); +if (x_21 == 0) +{ +return x_20; +} +else +{ +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_20, 1); +lean_inc(x_23); +lean_inc(x_22); +lean_dec(x_20); +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_22); +lean_ctor_set(x_24, 1, x_23); +return x_24; +} +} +} +else +{ +lean_object* x_25; uint8_t x_26; +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_25 = l_Lean_PrettyPrinter_Delaborator_failure___rarg(x_7); +x_26 = !lean_is_exclusive(x_25); +if (x_26 == 0) +{ +return x_25; +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_27 = lean_ctor_get(x_25, 0); +x_28 = lean_ctor_get(x_25, 1); +lean_inc(x_28); +lean_inc(x_27); +lean_dec(x_25); +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; +} +} +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabAppMatch___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__1___boxed), 7, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabAppMatch___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_PrettyPrinter_Delaborator_delabAppExplicit___closed__1; +x_2 = l_Lean_PrettyPrinter_Delaborator_delabAppMatch___closed__1; +x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_PrettyPrinter_Delaborator_delabAppExplicit___spec__2___rarg), 8, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabAppMatch___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__2), 7, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabAppMatch___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_PrettyPrinter_Delaborator_delabAppMatch___closed__2; +x_2 = l_Lean_PrettyPrinter_Delaborator_delabAppMatch___closed__3; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_withAppFnArgs___rarg), 8, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabAppMatch___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__4), 7, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabAppMatch___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_PrettyPrinter_Delaborator_delabAppMatch___closed__4; +x_2 = l_Lean_PrettyPrinter_Delaborator_delabAppMatch___closed__5; +x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_PrettyPrinter_Delaborator_delabAppExplicit___spec__2___rarg), 8, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabAppMatch___closed__7() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_getPPNotation___boxed), 1, 0); +return x_1; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppMatch(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = l_Lean_PrettyPrinter_Delaborator_delabAppMatch___closed__7; +x_8 = l_Lean_PrettyPrinter_Delaborator_delabAppMatch___closed__6; +x_9 = l_Lean_PrettyPrinter_Delaborator_whenPPOption(x_7, x_8, x_1, x_2, x_3, x_4, x_5, x_6); +return x_9; +} +} +lean_object* l_Lean_throwError___at_Lean_PrettyPrinter_Delaborator_delabAppMatch___spec__2___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l_Lean_throwError___at_Lean_PrettyPrinter_Delaborator_delabAppMatch___spec__2___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_8; +} +} +lean_object* l_Lean_getConstInfo___at_Lean_PrettyPrinter_Delaborator_delabAppMatch___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) { +_start: +{ +lean_object* x_8; +x_8 = l_Lean_getConstInfo___at_Lean_PrettyPrinter_Delaborator_delabAppMatch___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_8; +} +} +lean_object* l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_delabAppMatch___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; +x_4 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_5 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_6 = l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_delabAppMatch___spec__3(x_4, x_5, x_3); +return x_6; +} +} +lean_object* l_Array_zipWithAux___at_Lean_PrettyPrinter_Delaborator_delabAppMatch___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Array_zipWithAux___at_Lean_PrettyPrinter_Delaborator_delabAppMatch___spec__4(x_1, x_2, x_3, x_4); +lean_dec(x_2); +lean_dec(x_1); +return x_5; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_8; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_2); +return x_9; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAppMatch___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabAppMatch), 6, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAppMatch(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_Delaborator_delabAttribute; +x_3 = l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__5; +x_4 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAppMatch___closed__1; +x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); +return x_5; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabMData_match__1___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_Lean_PrettyPrinter_Delaborator_delabMData_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabMData_match__1___rarg), 2, 0); +return x_2; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabMData_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_Lean_PrettyPrinter_Delaborator_delabMData_match__2(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabMData_match__2___rarg), 2, 0); +return x_2; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabMData_match__3___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_Lean_PrettyPrinter_Delaborator_delabMData_match__3(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabMData_match__3___rarg), 2, 0); +return x_2; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabMData_match__4___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 10) +{ +lean_object* x_4; lean_object* x_5; uint64_t x_6; lean_object* x_7; lean_object* x_8; +lean_dec(x_3); +x_4 = lean_ctor_get(x_1, 0); +lean_inc(x_4); +x_5 = lean_ctor_get(x_1, 1); +lean_inc(x_5); +x_6 = lean_ctor_get_uint64(x_1, sizeof(void*)*2); +lean_dec(x_1); +x_7 = lean_box_uint64(x_6); +x_8 = lean_apply_3(x_2, x_4, x_5, x_7); +return x_8; +} +else +{ +lean_object* x_9; +lean_dec(x_2); +x_9 = lean_apply_1(x_3, x_1); +return x_9; +} +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabMData_match__4(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabMData_match__4___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Std_RBNode_ins___at_Lean_PrettyPrinter_Delaborator_delabMData___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; uint8_t x_5; lean_object* x_6; +x_4 = lean_box(0); +x_5 = 0; +x_6 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_6, 0, x_4); +lean_ctor_set(x_6, 1, x_2); +lean_ctor_set(x_6, 2, x_3); +lean_ctor_set(x_6, 3, x_4); +lean_ctor_set_uint8(x_6, sizeof(void*)*4, x_5); +return x_6; +} +else +{ +uint8_t x_7; +x_7 = lean_ctor_get_uint8(x_1, sizeof(void*)*4); +if (x_7 == 0) +{ +uint8_t x_8; +x_8 = !lean_is_exclusive(x_1); +if (x_8 == 0) +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_9 = lean_ctor_get(x_1, 0); +x_10 = lean_ctor_get(x_1, 1); +x_11 = lean_ctor_get(x_1, 2); +x_12 = lean_ctor_get(x_1, 3); +x_13 = lean_nat_dec_lt(x_2, x_10); +if (x_13 == 0) +{ +uint8_t x_14; +x_14 = lean_nat_dec_lt(x_10, x_2); +if (x_14 == 0) +{ +uint8_t x_15; +lean_dec(x_11); +lean_dec(x_10); +x_15 = 0; +lean_ctor_set(x_1, 2, x_3); +lean_ctor_set(x_1, 1, x_2); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_15); +return x_1; +} +else +{ +lean_object* x_16; uint8_t x_17; +x_16 = l_Std_RBNode_ins___at_Lean_PrettyPrinter_Delaborator_delabMData___spec__2(x_12, x_2, x_3); +x_17 = 0; +lean_ctor_set(x_1, 3, x_16); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_17); +return x_1; +} +} +else +{ +lean_object* x_18; uint8_t x_19; +x_18 = l_Std_RBNode_ins___at_Lean_PrettyPrinter_Delaborator_delabMData___spec__2(x_9, x_2, x_3); +x_19 = 0; +lean_ctor_set(x_1, 0, x_18); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_19); +return x_1; +} +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; +x_20 = lean_ctor_get(x_1, 0); +x_21 = lean_ctor_get(x_1, 1); +x_22 = lean_ctor_get(x_1, 2); +x_23 = lean_ctor_get(x_1, 3); +lean_inc(x_23); +lean_inc(x_22); +lean_inc(x_21); +lean_inc(x_20); +lean_dec(x_1); +x_24 = lean_nat_dec_lt(x_2, x_21); +if (x_24 == 0) +{ +uint8_t x_25; +x_25 = lean_nat_dec_lt(x_21, x_2); +if (x_25 == 0) +{ +uint8_t x_26; lean_object* x_27; +lean_dec(x_22); +lean_dec(x_21); +x_26 = 0; +x_27 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_27, 0, x_20); +lean_ctor_set(x_27, 1, x_2); +lean_ctor_set(x_27, 2, x_3); +lean_ctor_set(x_27, 3, x_23); +lean_ctor_set_uint8(x_27, sizeof(void*)*4, x_26); +return x_27; +} +else +{ +lean_object* x_28; uint8_t x_29; lean_object* x_30; +x_28 = l_Std_RBNode_ins___at_Lean_PrettyPrinter_Delaborator_delabMData___spec__2(x_23, x_2, x_3); +x_29 = 0; +x_30 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_30, 0, x_20); +lean_ctor_set(x_30, 1, x_21); +lean_ctor_set(x_30, 2, x_22); +lean_ctor_set(x_30, 3, x_28); +lean_ctor_set_uint8(x_30, sizeof(void*)*4, x_29); +return x_30; +} +} +else +{ +lean_object* x_31; uint8_t x_32; lean_object* x_33; +x_31 = l_Std_RBNode_ins___at_Lean_PrettyPrinter_Delaborator_delabMData___spec__2(x_20, x_2, x_3); +x_32 = 0; +x_33 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_33, 0, x_31); +lean_ctor_set(x_33, 1, x_21); +lean_ctor_set(x_33, 2, x_22); +lean_ctor_set(x_33, 3, x_23); +lean_ctor_set_uint8(x_33, sizeof(void*)*4, x_32); +return x_33; +} +} +} +else +{ +uint8_t x_34; +x_34 = !lean_is_exclusive(x_1); +if (x_34 == 0) +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; +x_35 = lean_ctor_get(x_1, 0); +x_36 = lean_ctor_get(x_1, 1); +x_37 = lean_ctor_get(x_1, 2); +x_38 = lean_ctor_get(x_1, 3); +x_39 = lean_nat_dec_lt(x_2, x_36); +if (x_39 == 0) +{ +uint8_t x_40; +x_40 = lean_nat_dec_lt(x_36, x_2); +if (x_40 == 0) +{ +uint8_t x_41; +lean_dec(x_37); +lean_dec(x_36); +x_41 = 1; +lean_ctor_set(x_1, 2, x_3); +lean_ctor_set(x_1, 1, x_2); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_41); +return x_1; +} +else +{ +uint8_t x_42; +x_42 = l_Std_RBNode_isRed___rarg(x_38); +if (x_42 == 0) +{ +lean_object* x_43; uint8_t x_44; +x_43 = l_Std_RBNode_ins___at_Lean_PrettyPrinter_Delaborator_delabMData___spec__2(x_38, x_2, x_3); +x_44 = 1; +lean_ctor_set(x_1, 3, x_43); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_44); +return x_1; +} +else +{ +lean_object* x_45; lean_object* x_46; +x_45 = l_Std_RBNode_ins___at_Lean_PrettyPrinter_Delaborator_delabMData___spec__2(x_38, x_2, x_3); +x_46 = lean_ctor_get(x_45, 0); +lean_inc(x_46); +if (lean_obj_tag(x_46) == 0) +{ +lean_object* x_47; +x_47 = lean_ctor_get(x_45, 3); +lean_inc(x_47); +if (lean_obj_tag(x_47) == 0) +{ +uint8_t x_48; +x_48 = !lean_is_exclusive(x_45); +if (x_48 == 0) +{ +lean_object* x_49; lean_object* x_50; uint8_t x_51; uint8_t x_52; +x_49 = lean_ctor_get(x_45, 3); +lean_dec(x_49); +x_50 = lean_ctor_get(x_45, 0); +lean_dec(x_50); +x_51 = 0; +lean_ctor_set(x_45, 0, x_47); +lean_ctor_set_uint8(x_45, sizeof(void*)*4, x_51); +x_52 = 1; +lean_ctor_set(x_1, 3, x_45); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_52); +return x_1; +} +else +{ +lean_object* x_53; lean_object* x_54; uint8_t x_55; lean_object* x_56; uint8_t x_57; +x_53 = lean_ctor_get(x_45, 1); +x_54 = lean_ctor_get(x_45, 2); +lean_inc(x_54); +lean_inc(x_53); +lean_dec(x_45); +x_55 = 0; +x_56 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_56, 0, x_47); +lean_ctor_set(x_56, 1, x_53); +lean_ctor_set(x_56, 2, x_54); +lean_ctor_set(x_56, 3, x_47); +lean_ctor_set_uint8(x_56, sizeof(void*)*4, x_55); +x_57 = 1; +lean_ctor_set(x_1, 3, x_56); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_57); +return x_1; +} +} +else +{ +uint8_t x_58; +x_58 = lean_ctor_get_uint8(x_47, sizeof(void*)*4); +if (x_58 == 0) +{ +uint8_t x_59; +x_59 = !lean_is_exclusive(x_45); +if (x_59 == 0) +{ +lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; uint8_t x_64; +x_60 = lean_ctor_get(x_45, 1); +x_61 = lean_ctor_get(x_45, 2); +x_62 = lean_ctor_get(x_45, 3); +lean_dec(x_62); +x_63 = lean_ctor_get(x_45, 0); +lean_dec(x_63); +x_64 = !lean_is_exclusive(x_47); +if (x_64 == 0) +{ +lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; uint8_t x_69; uint8_t x_70; +x_65 = lean_ctor_get(x_47, 0); +x_66 = lean_ctor_get(x_47, 1); +x_67 = lean_ctor_get(x_47, 2); +x_68 = lean_ctor_get(x_47, 3); +x_69 = 1; +lean_ctor_set(x_47, 3, x_46); +lean_ctor_set(x_47, 2, x_37); +lean_ctor_set(x_47, 1, x_36); +lean_ctor_set(x_47, 0, x_35); +lean_ctor_set_uint8(x_47, sizeof(void*)*4, x_69); +lean_ctor_set(x_45, 3, x_68); +lean_ctor_set(x_45, 2, x_67); +lean_ctor_set(x_45, 1, x_66); +lean_ctor_set(x_45, 0, x_65); +lean_ctor_set_uint8(x_45, sizeof(void*)*4, x_69); +x_70 = 0; +lean_ctor_set(x_1, 3, x_45); +lean_ctor_set(x_1, 2, x_61); +lean_ctor_set(x_1, 1, x_60); +lean_ctor_set(x_1, 0, x_47); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_70); +return x_1; +} +else +{ +lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; uint8_t x_75; lean_object* x_76; uint8_t x_77; +x_71 = lean_ctor_get(x_47, 0); +x_72 = lean_ctor_get(x_47, 1); +x_73 = lean_ctor_get(x_47, 2); +x_74 = lean_ctor_get(x_47, 3); +lean_inc(x_74); +lean_inc(x_73); +lean_inc(x_72); +lean_inc(x_71); +lean_dec(x_47); +x_75 = 1; +x_76 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_76, 0, x_35); +lean_ctor_set(x_76, 1, x_36); +lean_ctor_set(x_76, 2, x_37); +lean_ctor_set(x_76, 3, x_46); +lean_ctor_set_uint8(x_76, sizeof(void*)*4, x_75); +lean_ctor_set(x_45, 3, x_74); +lean_ctor_set(x_45, 2, x_73); +lean_ctor_set(x_45, 1, x_72); +lean_ctor_set(x_45, 0, x_71); +lean_ctor_set_uint8(x_45, sizeof(void*)*4, x_75); +x_77 = 0; +lean_ctor_set(x_1, 3, x_45); +lean_ctor_set(x_1, 2, x_61); +lean_ctor_set(x_1, 1, x_60); +lean_ctor_set(x_1, 0, x_76); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_77); +return x_1; +} +} +else +{ +lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; uint8_t x_85; lean_object* x_86; lean_object* x_87; uint8_t x_88; +x_78 = lean_ctor_get(x_45, 1); +x_79 = lean_ctor_get(x_45, 2); +lean_inc(x_79); +lean_inc(x_78); +lean_dec(x_45); +x_80 = lean_ctor_get(x_47, 0); +lean_inc(x_80); +x_81 = lean_ctor_get(x_47, 1); +lean_inc(x_81); +x_82 = lean_ctor_get(x_47, 2); +lean_inc(x_82); +x_83 = lean_ctor_get(x_47, 3); +lean_inc(x_83); +if (lean_is_exclusive(x_47)) { + lean_ctor_release(x_47, 0); + lean_ctor_release(x_47, 1); + lean_ctor_release(x_47, 2); + lean_ctor_release(x_47, 3); + x_84 = x_47; +} else { + lean_dec_ref(x_47); + x_84 = lean_box(0); +} +x_85 = 1; +if (lean_is_scalar(x_84)) { + x_86 = lean_alloc_ctor(1, 4, 1); +} else { + x_86 = x_84; +} +lean_ctor_set(x_86, 0, x_35); +lean_ctor_set(x_86, 1, x_36); +lean_ctor_set(x_86, 2, x_37); +lean_ctor_set(x_86, 3, x_46); +lean_ctor_set_uint8(x_86, sizeof(void*)*4, x_85); +x_87 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_87, 0, x_80); +lean_ctor_set(x_87, 1, x_81); +lean_ctor_set(x_87, 2, x_82); +lean_ctor_set(x_87, 3, x_83); +lean_ctor_set_uint8(x_87, sizeof(void*)*4, x_85); +x_88 = 0; +lean_ctor_set(x_1, 3, x_87); +lean_ctor_set(x_1, 2, x_79); +lean_ctor_set(x_1, 1, x_78); +lean_ctor_set(x_1, 0, x_86); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_88); +return x_1; +} +} +else +{ +uint8_t x_89; +x_89 = !lean_is_exclusive(x_45); +if (x_89 == 0) +{ +lean_object* x_90; lean_object* x_91; uint8_t x_92; uint8_t x_93; +x_90 = lean_ctor_get(x_45, 3); +lean_dec(x_90); +x_91 = lean_ctor_get(x_45, 0); +lean_dec(x_91); +x_92 = 0; +lean_ctor_set_uint8(x_45, sizeof(void*)*4, x_92); +x_93 = 1; +lean_ctor_set(x_1, 3, x_45); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_93); +return x_1; +} +else +{ +lean_object* x_94; lean_object* x_95; uint8_t x_96; lean_object* x_97; uint8_t x_98; +x_94 = lean_ctor_get(x_45, 1); +x_95 = lean_ctor_get(x_45, 2); +lean_inc(x_95); +lean_inc(x_94); +lean_dec(x_45); +x_96 = 0; +x_97 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_97, 0, x_46); +lean_ctor_set(x_97, 1, x_94); +lean_ctor_set(x_97, 2, x_95); +lean_ctor_set(x_97, 3, x_47); +lean_ctor_set_uint8(x_97, sizeof(void*)*4, x_96); +x_98 = 1; +lean_ctor_set(x_1, 3, x_97); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_98); +return x_1; +} +} +} +} +else +{ +uint8_t x_99; +x_99 = lean_ctor_get_uint8(x_46, sizeof(void*)*4); +if (x_99 == 0) +{ +uint8_t x_100; +x_100 = !lean_is_exclusive(x_45); +if (x_100 == 0) +{ +lean_object* x_101; uint8_t x_102; +x_101 = lean_ctor_get(x_45, 0); +lean_dec(x_101); +x_102 = !lean_is_exclusive(x_46); +if (x_102 == 0) +{ +lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; uint8_t x_107; uint8_t x_108; +x_103 = lean_ctor_get(x_46, 0); +x_104 = lean_ctor_get(x_46, 1); +x_105 = lean_ctor_get(x_46, 2); +x_106 = lean_ctor_get(x_46, 3); +x_107 = 1; +lean_ctor_set(x_46, 3, x_103); +lean_ctor_set(x_46, 2, x_37); +lean_ctor_set(x_46, 1, x_36); +lean_ctor_set(x_46, 0, x_35); +lean_ctor_set_uint8(x_46, sizeof(void*)*4, x_107); +lean_ctor_set(x_45, 0, x_106); +lean_ctor_set_uint8(x_45, sizeof(void*)*4, x_107); +x_108 = 0; +lean_ctor_set(x_1, 3, x_45); +lean_ctor_set(x_1, 2, x_105); +lean_ctor_set(x_1, 1, x_104); +lean_ctor_set(x_1, 0, x_46); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_108); +return x_1; +} +else +{ +lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; uint8_t x_113; lean_object* x_114; uint8_t x_115; +x_109 = lean_ctor_get(x_46, 0); +x_110 = lean_ctor_get(x_46, 1); +x_111 = lean_ctor_get(x_46, 2); +x_112 = lean_ctor_get(x_46, 3); +lean_inc(x_112); +lean_inc(x_111); +lean_inc(x_110); +lean_inc(x_109); +lean_dec(x_46); +x_113 = 1; +x_114 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_114, 0, x_35); +lean_ctor_set(x_114, 1, x_36); +lean_ctor_set(x_114, 2, x_37); +lean_ctor_set(x_114, 3, x_109); +lean_ctor_set_uint8(x_114, sizeof(void*)*4, x_113); +lean_ctor_set(x_45, 0, x_112); +lean_ctor_set_uint8(x_45, sizeof(void*)*4, x_113); +x_115 = 0; +lean_ctor_set(x_1, 3, x_45); +lean_ctor_set(x_1, 2, x_111); +lean_ctor_set(x_1, 1, x_110); +lean_ctor_set(x_1, 0, x_114); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_115); +return x_1; +} +} +else +{ +lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; uint8_t x_124; lean_object* x_125; lean_object* x_126; uint8_t x_127; +x_116 = lean_ctor_get(x_45, 1); +x_117 = lean_ctor_get(x_45, 2); +x_118 = lean_ctor_get(x_45, 3); +lean_inc(x_118); +lean_inc(x_117); +lean_inc(x_116); +lean_dec(x_45); +x_119 = lean_ctor_get(x_46, 0); +lean_inc(x_119); +x_120 = lean_ctor_get(x_46, 1); +lean_inc(x_120); +x_121 = lean_ctor_get(x_46, 2); +lean_inc(x_121); +x_122 = lean_ctor_get(x_46, 3); +lean_inc(x_122); +if (lean_is_exclusive(x_46)) { + lean_ctor_release(x_46, 0); + lean_ctor_release(x_46, 1); + lean_ctor_release(x_46, 2); + lean_ctor_release(x_46, 3); + x_123 = x_46; +} else { + lean_dec_ref(x_46); + x_123 = lean_box(0); +} +x_124 = 1; +if (lean_is_scalar(x_123)) { + x_125 = lean_alloc_ctor(1, 4, 1); +} else { + x_125 = x_123; +} +lean_ctor_set(x_125, 0, x_35); +lean_ctor_set(x_125, 1, x_36); +lean_ctor_set(x_125, 2, x_37); +lean_ctor_set(x_125, 3, x_119); +lean_ctor_set_uint8(x_125, sizeof(void*)*4, x_124); +x_126 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_126, 0, x_122); +lean_ctor_set(x_126, 1, x_116); +lean_ctor_set(x_126, 2, x_117); +lean_ctor_set(x_126, 3, x_118); +lean_ctor_set_uint8(x_126, sizeof(void*)*4, x_124); +x_127 = 0; +lean_ctor_set(x_1, 3, x_126); +lean_ctor_set(x_1, 2, x_121); +lean_ctor_set(x_1, 1, x_120); +lean_ctor_set(x_1, 0, x_125); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_127); +return x_1; +} +} +else +{ +lean_object* x_128; +x_128 = lean_ctor_get(x_45, 3); +lean_inc(x_128); +if (lean_obj_tag(x_128) == 0) +{ +uint8_t x_129; +x_129 = !lean_is_exclusive(x_45); +if (x_129 == 0) +{ +lean_object* x_130; lean_object* x_131; uint8_t x_132; uint8_t x_133; +x_130 = lean_ctor_get(x_45, 3); +lean_dec(x_130); +x_131 = lean_ctor_get(x_45, 0); +lean_dec(x_131); +x_132 = 0; +lean_ctor_set_uint8(x_45, sizeof(void*)*4, x_132); +x_133 = 1; +lean_ctor_set(x_1, 3, x_45); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_133); +return x_1; +} +else +{ +lean_object* x_134; lean_object* x_135; uint8_t x_136; lean_object* x_137; uint8_t x_138; +x_134 = lean_ctor_get(x_45, 1); +x_135 = lean_ctor_get(x_45, 2); +lean_inc(x_135); +lean_inc(x_134); +lean_dec(x_45); +x_136 = 0; +x_137 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_137, 0, x_46); +lean_ctor_set(x_137, 1, x_134); +lean_ctor_set(x_137, 2, x_135); +lean_ctor_set(x_137, 3, x_128); +lean_ctor_set_uint8(x_137, sizeof(void*)*4, x_136); +x_138 = 1; +lean_ctor_set(x_1, 3, x_137); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_138); +return x_1; +} +} +else +{ +uint8_t x_139; +x_139 = lean_ctor_get_uint8(x_128, sizeof(void*)*4); +if (x_139 == 0) +{ +uint8_t x_140; +lean_free_object(x_1); +x_140 = !lean_is_exclusive(x_45); +if (x_140 == 0) +{ +lean_object* x_141; lean_object* x_142; uint8_t x_143; +x_141 = lean_ctor_get(x_45, 3); +lean_dec(x_141); +x_142 = lean_ctor_get(x_45, 0); +lean_dec(x_142); +x_143 = !lean_is_exclusive(x_128); +if (x_143 == 0) +{ +lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; uint8_t x_148; uint8_t x_149; +x_144 = lean_ctor_get(x_128, 0); +x_145 = lean_ctor_get(x_128, 1); +x_146 = lean_ctor_get(x_128, 2); +x_147 = lean_ctor_get(x_128, 3); +x_148 = 1; +lean_inc(x_46); +lean_ctor_set(x_128, 3, x_46); +lean_ctor_set(x_128, 2, x_37); +lean_ctor_set(x_128, 1, x_36); +lean_ctor_set(x_128, 0, x_35); +x_149 = !lean_is_exclusive(x_46); +if (x_149 == 0) +{ +lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; uint8_t x_154; +x_150 = lean_ctor_get(x_46, 3); +lean_dec(x_150); +x_151 = lean_ctor_get(x_46, 2); +lean_dec(x_151); +x_152 = lean_ctor_get(x_46, 1); +lean_dec(x_152); +x_153 = lean_ctor_get(x_46, 0); +lean_dec(x_153); +lean_ctor_set_uint8(x_128, sizeof(void*)*4, x_148); +lean_ctor_set(x_46, 3, x_147); +lean_ctor_set(x_46, 2, x_146); +lean_ctor_set(x_46, 1, x_145); +lean_ctor_set(x_46, 0, x_144); +lean_ctor_set_uint8(x_46, sizeof(void*)*4, x_148); +x_154 = 0; +lean_ctor_set(x_45, 3, x_46); +lean_ctor_set(x_45, 0, x_128); +lean_ctor_set_uint8(x_45, sizeof(void*)*4, x_154); +return x_45; +} +else +{ +lean_object* x_155; uint8_t x_156; +lean_dec(x_46); +lean_ctor_set_uint8(x_128, sizeof(void*)*4, x_148); +x_155 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_155, 0, x_144); +lean_ctor_set(x_155, 1, x_145); +lean_ctor_set(x_155, 2, x_146); +lean_ctor_set(x_155, 3, x_147); +lean_ctor_set_uint8(x_155, sizeof(void*)*4, x_148); +x_156 = 0; +lean_ctor_set(x_45, 3, x_155); +lean_ctor_set(x_45, 0, x_128); +lean_ctor_set_uint8(x_45, sizeof(void*)*4, x_156); +return x_45; +} +} +else +{ +lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; uint8_t x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; uint8_t x_165; +x_157 = lean_ctor_get(x_128, 0); +x_158 = lean_ctor_get(x_128, 1); +x_159 = lean_ctor_get(x_128, 2); +x_160 = lean_ctor_get(x_128, 3); +lean_inc(x_160); +lean_inc(x_159); +lean_inc(x_158); +lean_inc(x_157); +lean_dec(x_128); +x_161 = 1; +lean_inc(x_46); +x_162 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_162, 0, x_35); +lean_ctor_set(x_162, 1, x_36); +lean_ctor_set(x_162, 2, x_37); +lean_ctor_set(x_162, 3, x_46); +if (lean_is_exclusive(x_46)) { + lean_ctor_release(x_46, 0); + lean_ctor_release(x_46, 1); + lean_ctor_release(x_46, 2); + lean_ctor_release(x_46, 3); + x_163 = x_46; +} else { + lean_dec_ref(x_46); + x_163 = lean_box(0); +} +lean_ctor_set_uint8(x_162, sizeof(void*)*4, x_161); +if (lean_is_scalar(x_163)) { + x_164 = lean_alloc_ctor(1, 4, 1); +} else { + x_164 = x_163; +} +lean_ctor_set(x_164, 0, x_157); +lean_ctor_set(x_164, 1, x_158); +lean_ctor_set(x_164, 2, x_159); +lean_ctor_set(x_164, 3, x_160); +lean_ctor_set_uint8(x_164, sizeof(void*)*4, x_161); +x_165 = 0; +lean_ctor_set(x_45, 3, x_164); +lean_ctor_set(x_45, 0, x_162); +lean_ctor_set_uint8(x_45, sizeof(void*)*4, x_165); +return x_45; +} +} +else +{ +lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; uint8_t x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; uint8_t x_177; lean_object* x_178; +x_166 = lean_ctor_get(x_45, 1); +x_167 = lean_ctor_get(x_45, 2); +lean_inc(x_167); +lean_inc(x_166); +lean_dec(x_45); +x_168 = lean_ctor_get(x_128, 0); +lean_inc(x_168); +x_169 = lean_ctor_get(x_128, 1); +lean_inc(x_169); +x_170 = lean_ctor_get(x_128, 2); +lean_inc(x_170); +x_171 = lean_ctor_get(x_128, 3); +lean_inc(x_171); +if (lean_is_exclusive(x_128)) { + lean_ctor_release(x_128, 0); + lean_ctor_release(x_128, 1); + lean_ctor_release(x_128, 2); + lean_ctor_release(x_128, 3); + x_172 = x_128; +} else { + lean_dec_ref(x_128); + x_172 = lean_box(0); +} +x_173 = 1; +lean_inc(x_46); +if (lean_is_scalar(x_172)) { + x_174 = lean_alloc_ctor(1, 4, 1); +} else { + x_174 = x_172; +} +lean_ctor_set(x_174, 0, x_35); +lean_ctor_set(x_174, 1, x_36); +lean_ctor_set(x_174, 2, x_37); +lean_ctor_set(x_174, 3, x_46); +if (lean_is_exclusive(x_46)) { + lean_ctor_release(x_46, 0); + lean_ctor_release(x_46, 1); + lean_ctor_release(x_46, 2); + lean_ctor_release(x_46, 3); + x_175 = x_46; +} else { + lean_dec_ref(x_46); + x_175 = lean_box(0); +} +lean_ctor_set_uint8(x_174, sizeof(void*)*4, x_173); +if (lean_is_scalar(x_175)) { + x_176 = lean_alloc_ctor(1, 4, 1); +} else { + x_176 = x_175; +} +lean_ctor_set(x_176, 0, x_168); +lean_ctor_set(x_176, 1, x_169); +lean_ctor_set(x_176, 2, x_170); +lean_ctor_set(x_176, 3, x_171); +lean_ctor_set_uint8(x_176, sizeof(void*)*4, x_173); +x_177 = 0; +x_178 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_178, 0, x_174); +lean_ctor_set(x_178, 1, x_166); +lean_ctor_set(x_178, 2, x_167); +lean_ctor_set(x_178, 3, x_176); +lean_ctor_set_uint8(x_178, sizeof(void*)*4, x_177); +return x_178; +} +} +else +{ +uint8_t x_179; +x_179 = !lean_is_exclusive(x_45); +if (x_179 == 0) +{ +lean_object* x_180; lean_object* x_181; uint8_t x_182; +x_180 = lean_ctor_get(x_45, 3); +lean_dec(x_180); +x_181 = lean_ctor_get(x_45, 0); +lean_dec(x_181); +x_182 = !lean_is_exclusive(x_46); +if (x_182 == 0) +{ +uint8_t x_183; uint8_t x_184; +lean_ctor_set_uint8(x_46, sizeof(void*)*4, x_139); +x_183 = 0; +lean_ctor_set_uint8(x_45, sizeof(void*)*4, x_183); +x_184 = 1; +lean_ctor_set(x_1, 3, x_45); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_184); +return x_1; +} +else +{ +lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; uint8_t x_190; uint8_t x_191; +x_185 = lean_ctor_get(x_46, 0); +x_186 = lean_ctor_get(x_46, 1); +x_187 = lean_ctor_get(x_46, 2); +x_188 = lean_ctor_get(x_46, 3); +lean_inc(x_188); +lean_inc(x_187); +lean_inc(x_186); +lean_inc(x_185); +lean_dec(x_46); +x_189 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_189, 0, x_185); +lean_ctor_set(x_189, 1, x_186); +lean_ctor_set(x_189, 2, x_187); +lean_ctor_set(x_189, 3, x_188); +lean_ctor_set_uint8(x_189, sizeof(void*)*4, x_139); +x_190 = 0; +lean_ctor_set(x_45, 0, x_189); +lean_ctor_set_uint8(x_45, sizeof(void*)*4, x_190); +x_191 = 1; +lean_ctor_set(x_1, 3, x_45); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_191); +return x_1; +} +} +else +{ +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; uint8_t x_200; lean_object* x_201; uint8_t x_202; +x_192 = lean_ctor_get(x_45, 1); +x_193 = lean_ctor_get(x_45, 2); +lean_inc(x_193); +lean_inc(x_192); +lean_dec(x_45); +x_194 = lean_ctor_get(x_46, 0); +lean_inc(x_194); +x_195 = lean_ctor_get(x_46, 1); +lean_inc(x_195); +x_196 = lean_ctor_get(x_46, 2); +lean_inc(x_196); +x_197 = lean_ctor_get(x_46, 3); +lean_inc(x_197); +if (lean_is_exclusive(x_46)) { + lean_ctor_release(x_46, 0); + lean_ctor_release(x_46, 1); + lean_ctor_release(x_46, 2); + lean_ctor_release(x_46, 3); + x_198 = x_46; +} else { + lean_dec_ref(x_46); + x_198 = lean_box(0); +} +if (lean_is_scalar(x_198)) { + x_199 = lean_alloc_ctor(1, 4, 1); +} else { + x_199 = x_198; +} +lean_ctor_set(x_199, 0, x_194); +lean_ctor_set(x_199, 1, x_195); +lean_ctor_set(x_199, 2, x_196); +lean_ctor_set(x_199, 3, x_197); +lean_ctor_set_uint8(x_199, sizeof(void*)*4, x_139); +x_200 = 0; +x_201 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_201, 0, x_199); +lean_ctor_set(x_201, 1, x_192); +lean_ctor_set(x_201, 2, x_193); +lean_ctor_set(x_201, 3, x_128); +lean_ctor_set_uint8(x_201, sizeof(void*)*4, x_200); +x_202 = 1; +lean_ctor_set(x_1, 3, x_201); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_202); +return x_1; +} +} +} +} +} +} +} +} +else +{ +uint8_t x_203; +x_203 = l_Std_RBNode_isRed___rarg(x_35); +if (x_203 == 0) +{ +lean_object* x_204; uint8_t x_205; +x_204 = l_Std_RBNode_ins___at_Lean_PrettyPrinter_Delaborator_delabMData___spec__2(x_35, x_2, x_3); +x_205 = 1; +lean_ctor_set(x_1, 0, x_204); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_205); +return x_1; +} +else +{ +lean_object* x_206; lean_object* x_207; +x_206 = l_Std_RBNode_ins___at_Lean_PrettyPrinter_Delaborator_delabMData___spec__2(x_35, x_2, x_3); +x_207 = lean_ctor_get(x_206, 0); +lean_inc(x_207); +if (lean_obj_tag(x_207) == 0) +{ +lean_object* x_208; +x_208 = lean_ctor_get(x_206, 3); +lean_inc(x_208); +if (lean_obj_tag(x_208) == 0) +{ +uint8_t x_209; +x_209 = !lean_is_exclusive(x_206); +if (x_209 == 0) +{ +lean_object* x_210; lean_object* x_211; uint8_t x_212; uint8_t x_213; +x_210 = lean_ctor_get(x_206, 3); +lean_dec(x_210); +x_211 = lean_ctor_get(x_206, 0); +lean_dec(x_211); +x_212 = 0; +lean_ctor_set(x_206, 0, x_208); +lean_ctor_set_uint8(x_206, sizeof(void*)*4, x_212); +x_213 = 1; +lean_ctor_set(x_1, 0, x_206); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_213); +return x_1; +} +else +{ +lean_object* x_214; lean_object* x_215; uint8_t x_216; lean_object* x_217; uint8_t x_218; +x_214 = lean_ctor_get(x_206, 1); +x_215 = lean_ctor_get(x_206, 2); +lean_inc(x_215); +lean_inc(x_214); +lean_dec(x_206); +x_216 = 0; +x_217 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_217, 0, x_208); +lean_ctor_set(x_217, 1, x_214); +lean_ctor_set(x_217, 2, x_215); +lean_ctor_set(x_217, 3, x_208); +lean_ctor_set_uint8(x_217, sizeof(void*)*4, x_216); +x_218 = 1; +lean_ctor_set(x_1, 0, x_217); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_218); +return x_1; +} +} +else +{ +uint8_t x_219; +x_219 = lean_ctor_get_uint8(x_208, sizeof(void*)*4); +if (x_219 == 0) +{ +uint8_t x_220; +x_220 = !lean_is_exclusive(x_206); +if (x_220 == 0) +{ +lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; uint8_t x_225; +x_221 = lean_ctor_get(x_206, 1); +x_222 = lean_ctor_get(x_206, 2); +x_223 = lean_ctor_get(x_206, 3); +lean_dec(x_223); +x_224 = lean_ctor_get(x_206, 0); +lean_dec(x_224); +x_225 = !lean_is_exclusive(x_208); +if (x_225 == 0) +{ +lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; uint8_t x_230; uint8_t x_231; +x_226 = lean_ctor_get(x_208, 0); +x_227 = lean_ctor_get(x_208, 1); +x_228 = lean_ctor_get(x_208, 2); +x_229 = lean_ctor_get(x_208, 3); +x_230 = 1; +lean_ctor_set(x_208, 3, x_226); +lean_ctor_set(x_208, 2, x_222); +lean_ctor_set(x_208, 1, x_221); +lean_ctor_set(x_208, 0, x_207); +lean_ctor_set_uint8(x_208, sizeof(void*)*4, x_230); +lean_ctor_set(x_206, 3, x_38); +lean_ctor_set(x_206, 2, x_37); +lean_ctor_set(x_206, 1, x_36); +lean_ctor_set(x_206, 0, x_229); +lean_ctor_set_uint8(x_206, sizeof(void*)*4, x_230); +x_231 = 0; +lean_ctor_set(x_1, 3, x_206); +lean_ctor_set(x_1, 2, x_228); +lean_ctor_set(x_1, 1, x_227); +lean_ctor_set(x_1, 0, x_208); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_231); +return x_1; +} +else +{ +lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; uint8_t x_236; lean_object* x_237; uint8_t x_238; +x_232 = lean_ctor_get(x_208, 0); +x_233 = lean_ctor_get(x_208, 1); +x_234 = lean_ctor_get(x_208, 2); +x_235 = lean_ctor_get(x_208, 3); +lean_inc(x_235); +lean_inc(x_234); +lean_inc(x_233); +lean_inc(x_232); +lean_dec(x_208); +x_236 = 1; +x_237 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_237, 0, x_207); +lean_ctor_set(x_237, 1, x_221); +lean_ctor_set(x_237, 2, x_222); +lean_ctor_set(x_237, 3, x_232); +lean_ctor_set_uint8(x_237, sizeof(void*)*4, x_236); +lean_ctor_set(x_206, 3, x_38); +lean_ctor_set(x_206, 2, x_37); +lean_ctor_set(x_206, 1, x_36); +lean_ctor_set(x_206, 0, x_235); +lean_ctor_set_uint8(x_206, sizeof(void*)*4, x_236); +x_238 = 0; +lean_ctor_set(x_1, 3, x_206); +lean_ctor_set(x_1, 2, x_234); +lean_ctor_set(x_1, 1, x_233); +lean_ctor_set(x_1, 0, x_237); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_238); +return x_1; +} +} +else +{ +lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; uint8_t x_246; lean_object* x_247; lean_object* x_248; uint8_t x_249; +x_239 = lean_ctor_get(x_206, 1); +x_240 = lean_ctor_get(x_206, 2); +lean_inc(x_240); +lean_inc(x_239); +lean_dec(x_206); +x_241 = lean_ctor_get(x_208, 0); +lean_inc(x_241); +x_242 = lean_ctor_get(x_208, 1); +lean_inc(x_242); +x_243 = lean_ctor_get(x_208, 2); +lean_inc(x_243); +x_244 = lean_ctor_get(x_208, 3); +lean_inc(x_244); +if (lean_is_exclusive(x_208)) { + lean_ctor_release(x_208, 0); + lean_ctor_release(x_208, 1); + lean_ctor_release(x_208, 2); + lean_ctor_release(x_208, 3); + x_245 = x_208; +} else { + lean_dec_ref(x_208); + x_245 = lean_box(0); +} +x_246 = 1; +if (lean_is_scalar(x_245)) { + x_247 = lean_alloc_ctor(1, 4, 1); +} else { + x_247 = x_245; +} +lean_ctor_set(x_247, 0, x_207); +lean_ctor_set(x_247, 1, x_239); +lean_ctor_set(x_247, 2, x_240); +lean_ctor_set(x_247, 3, x_241); +lean_ctor_set_uint8(x_247, sizeof(void*)*4, x_246); +x_248 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_248, 0, x_244); +lean_ctor_set(x_248, 1, x_36); +lean_ctor_set(x_248, 2, x_37); +lean_ctor_set(x_248, 3, x_38); +lean_ctor_set_uint8(x_248, sizeof(void*)*4, x_246); +x_249 = 0; +lean_ctor_set(x_1, 3, x_248); +lean_ctor_set(x_1, 2, x_243); +lean_ctor_set(x_1, 1, x_242); +lean_ctor_set(x_1, 0, x_247); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_249); +return x_1; +} +} +else +{ +uint8_t x_250; +x_250 = !lean_is_exclusive(x_206); +if (x_250 == 0) +{ +lean_object* x_251; lean_object* x_252; uint8_t x_253; uint8_t x_254; +x_251 = lean_ctor_get(x_206, 3); +lean_dec(x_251); +x_252 = lean_ctor_get(x_206, 0); +lean_dec(x_252); +x_253 = 0; +lean_ctor_set_uint8(x_206, sizeof(void*)*4, x_253); +x_254 = 1; +lean_ctor_set(x_1, 0, x_206); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_254); +return x_1; +} +else +{ +lean_object* x_255; lean_object* x_256; uint8_t x_257; lean_object* x_258; uint8_t x_259; +x_255 = lean_ctor_get(x_206, 1); +x_256 = lean_ctor_get(x_206, 2); +lean_inc(x_256); +lean_inc(x_255); +lean_dec(x_206); +x_257 = 0; +x_258 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_258, 0, x_207); +lean_ctor_set(x_258, 1, x_255); +lean_ctor_set(x_258, 2, x_256); +lean_ctor_set(x_258, 3, x_208); +lean_ctor_set_uint8(x_258, sizeof(void*)*4, x_257); +x_259 = 1; +lean_ctor_set(x_1, 0, x_258); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_259); +return x_1; +} +} +} +} +else +{ +uint8_t x_260; +x_260 = lean_ctor_get_uint8(x_207, sizeof(void*)*4); +if (x_260 == 0) +{ +uint8_t x_261; +x_261 = !lean_is_exclusive(x_206); +if (x_261 == 0) +{ +lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; uint8_t x_266; +x_262 = lean_ctor_get(x_206, 1); +x_263 = lean_ctor_get(x_206, 2); +x_264 = lean_ctor_get(x_206, 3); +x_265 = lean_ctor_get(x_206, 0); +lean_dec(x_265); +x_266 = !lean_is_exclusive(x_207); +if (x_266 == 0) +{ +uint8_t x_267; uint8_t x_268; +x_267 = 1; +lean_ctor_set_uint8(x_207, sizeof(void*)*4, x_267); +lean_ctor_set(x_206, 3, x_38); +lean_ctor_set(x_206, 2, x_37); +lean_ctor_set(x_206, 1, x_36); +lean_ctor_set(x_206, 0, x_264); +lean_ctor_set_uint8(x_206, sizeof(void*)*4, x_267); +x_268 = 0; +lean_ctor_set(x_1, 3, x_206); +lean_ctor_set(x_1, 2, x_263); +lean_ctor_set(x_1, 1, x_262); +lean_ctor_set(x_1, 0, x_207); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_268); +return x_1; +} +else +{ +lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; uint8_t x_273; lean_object* x_274; uint8_t x_275; +x_269 = lean_ctor_get(x_207, 0); +x_270 = lean_ctor_get(x_207, 1); +x_271 = lean_ctor_get(x_207, 2); +x_272 = lean_ctor_get(x_207, 3); +lean_inc(x_272); +lean_inc(x_271); +lean_inc(x_270); +lean_inc(x_269); +lean_dec(x_207); +x_273 = 1; +x_274 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_274, 0, x_269); +lean_ctor_set(x_274, 1, x_270); +lean_ctor_set(x_274, 2, x_271); +lean_ctor_set(x_274, 3, x_272); +lean_ctor_set_uint8(x_274, sizeof(void*)*4, x_273); +lean_ctor_set(x_206, 3, x_38); +lean_ctor_set(x_206, 2, x_37); +lean_ctor_set(x_206, 1, x_36); +lean_ctor_set(x_206, 0, x_264); +lean_ctor_set_uint8(x_206, sizeof(void*)*4, x_273); +x_275 = 0; +lean_ctor_set(x_1, 3, x_206); +lean_ctor_set(x_1, 2, x_263); +lean_ctor_set(x_1, 1, x_262); +lean_ctor_set(x_1, 0, x_274); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_275); +return x_1; +} +} +else +{ +lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; uint8_t x_284; lean_object* x_285; lean_object* x_286; uint8_t x_287; +x_276 = lean_ctor_get(x_206, 1); +x_277 = lean_ctor_get(x_206, 2); +x_278 = lean_ctor_get(x_206, 3); +lean_inc(x_278); +lean_inc(x_277); +lean_inc(x_276); +lean_dec(x_206); +x_279 = lean_ctor_get(x_207, 0); +lean_inc(x_279); +x_280 = lean_ctor_get(x_207, 1); +lean_inc(x_280); +x_281 = lean_ctor_get(x_207, 2); +lean_inc(x_281); +x_282 = lean_ctor_get(x_207, 3); +lean_inc(x_282); +if (lean_is_exclusive(x_207)) { + lean_ctor_release(x_207, 0); + lean_ctor_release(x_207, 1); + lean_ctor_release(x_207, 2); + lean_ctor_release(x_207, 3); + x_283 = x_207; +} else { + lean_dec_ref(x_207); + x_283 = lean_box(0); +} +x_284 = 1; +if (lean_is_scalar(x_283)) { + x_285 = lean_alloc_ctor(1, 4, 1); +} else { + x_285 = x_283; +} +lean_ctor_set(x_285, 0, x_279); +lean_ctor_set(x_285, 1, x_280); +lean_ctor_set(x_285, 2, x_281); +lean_ctor_set(x_285, 3, x_282); +lean_ctor_set_uint8(x_285, sizeof(void*)*4, x_284); +x_286 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_286, 0, x_278); +lean_ctor_set(x_286, 1, x_36); +lean_ctor_set(x_286, 2, x_37); +lean_ctor_set(x_286, 3, x_38); +lean_ctor_set_uint8(x_286, sizeof(void*)*4, x_284); +x_287 = 0; +lean_ctor_set(x_1, 3, x_286); +lean_ctor_set(x_1, 2, x_277); +lean_ctor_set(x_1, 1, x_276); +lean_ctor_set(x_1, 0, x_285); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_287); +return x_1; +} +} +else +{ +lean_object* x_288; +x_288 = lean_ctor_get(x_206, 3); +lean_inc(x_288); +if (lean_obj_tag(x_288) == 0) +{ +uint8_t x_289; +x_289 = !lean_is_exclusive(x_206); +if (x_289 == 0) +{ +lean_object* x_290; lean_object* x_291; uint8_t x_292; uint8_t x_293; +x_290 = lean_ctor_get(x_206, 3); +lean_dec(x_290); +x_291 = lean_ctor_get(x_206, 0); +lean_dec(x_291); +x_292 = 0; +lean_ctor_set_uint8(x_206, sizeof(void*)*4, x_292); +x_293 = 1; +lean_ctor_set(x_1, 0, x_206); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_293); +return x_1; +} +else +{ +lean_object* x_294; lean_object* x_295; uint8_t x_296; lean_object* x_297; uint8_t x_298; +x_294 = lean_ctor_get(x_206, 1); +x_295 = lean_ctor_get(x_206, 2); +lean_inc(x_295); +lean_inc(x_294); +lean_dec(x_206); +x_296 = 0; +x_297 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_297, 0, x_207); +lean_ctor_set(x_297, 1, x_294); +lean_ctor_set(x_297, 2, x_295); +lean_ctor_set(x_297, 3, x_288); +lean_ctor_set_uint8(x_297, sizeof(void*)*4, x_296); +x_298 = 1; +lean_ctor_set(x_1, 0, x_297); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_298); +return x_1; +} +} +else +{ +uint8_t x_299; +x_299 = lean_ctor_get_uint8(x_288, sizeof(void*)*4); +if (x_299 == 0) +{ +uint8_t x_300; +lean_free_object(x_1); +x_300 = !lean_is_exclusive(x_206); +if (x_300 == 0) +{ +lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; uint8_t x_305; +x_301 = lean_ctor_get(x_206, 1); +x_302 = lean_ctor_get(x_206, 2); +x_303 = lean_ctor_get(x_206, 3); +lean_dec(x_303); +x_304 = lean_ctor_get(x_206, 0); +lean_dec(x_304); +x_305 = !lean_is_exclusive(x_288); +if (x_305 == 0) +{ +lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; uint8_t x_310; uint8_t x_311; +x_306 = lean_ctor_get(x_288, 0); +x_307 = lean_ctor_get(x_288, 1); +x_308 = lean_ctor_get(x_288, 2); +x_309 = lean_ctor_get(x_288, 3); +x_310 = 1; +lean_inc(x_207); +lean_ctor_set(x_288, 3, x_306); +lean_ctor_set(x_288, 2, x_302); +lean_ctor_set(x_288, 1, x_301); +lean_ctor_set(x_288, 0, x_207); +x_311 = !lean_is_exclusive(x_207); +if (x_311 == 0) +{ +lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; uint8_t x_316; +x_312 = lean_ctor_get(x_207, 3); +lean_dec(x_312); +x_313 = lean_ctor_get(x_207, 2); +lean_dec(x_313); +x_314 = lean_ctor_get(x_207, 1); +lean_dec(x_314); +x_315 = lean_ctor_get(x_207, 0); +lean_dec(x_315); +lean_ctor_set_uint8(x_288, sizeof(void*)*4, x_310); +lean_ctor_set(x_207, 3, x_38); +lean_ctor_set(x_207, 2, x_37); +lean_ctor_set(x_207, 1, x_36); +lean_ctor_set(x_207, 0, x_309); +lean_ctor_set_uint8(x_207, sizeof(void*)*4, x_310); +x_316 = 0; +lean_ctor_set(x_206, 3, x_207); +lean_ctor_set(x_206, 2, x_308); +lean_ctor_set(x_206, 1, x_307); +lean_ctor_set(x_206, 0, x_288); +lean_ctor_set_uint8(x_206, sizeof(void*)*4, x_316); +return x_206; +} +else +{ +lean_object* x_317; uint8_t x_318; +lean_dec(x_207); +lean_ctor_set_uint8(x_288, sizeof(void*)*4, x_310); +x_317 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_317, 0, x_309); +lean_ctor_set(x_317, 1, x_36); +lean_ctor_set(x_317, 2, x_37); +lean_ctor_set(x_317, 3, x_38); +lean_ctor_set_uint8(x_317, sizeof(void*)*4, x_310); +x_318 = 0; +lean_ctor_set(x_206, 3, x_317); +lean_ctor_set(x_206, 2, x_308); +lean_ctor_set(x_206, 1, x_307); +lean_ctor_set(x_206, 0, x_288); +lean_ctor_set_uint8(x_206, sizeof(void*)*4, x_318); +return x_206; +} +} +else +{ +lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; uint8_t x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; uint8_t x_327; +x_319 = lean_ctor_get(x_288, 0); +x_320 = lean_ctor_get(x_288, 1); +x_321 = lean_ctor_get(x_288, 2); +x_322 = lean_ctor_get(x_288, 3); +lean_inc(x_322); +lean_inc(x_321); +lean_inc(x_320); +lean_inc(x_319); +lean_dec(x_288); +x_323 = 1; +lean_inc(x_207); +x_324 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_324, 0, x_207); +lean_ctor_set(x_324, 1, x_301); +lean_ctor_set(x_324, 2, x_302); +lean_ctor_set(x_324, 3, x_319); +if (lean_is_exclusive(x_207)) { + lean_ctor_release(x_207, 0); + lean_ctor_release(x_207, 1); + lean_ctor_release(x_207, 2); + lean_ctor_release(x_207, 3); + x_325 = x_207; +} else { + lean_dec_ref(x_207); + x_325 = lean_box(0); +} +lean_ctor_set_uint8(x_324, sizeof(void*)*4, x_323); +if (lean_is_scalar(x_325)) { + x_326 = lean_alloc_ctor(1, 4, 1); +} else { + x_326 = x_325; +} +lean_ctor_set(x_326, 0, x_322); +lean_ctor_set(x_326, 1, x_36); +lean_ctor_set(x_326, 2, x_37); +lean_ctor_set(x_326, 3, x_38); +lean_ctor_set_uint8(x_326, sizeof(void*)*4, x_323); +x_327 = 0; +lean_ctor_set(x_206, 3, x_326); +lean_ctor_set(x_206, 2, x_321); +lean_ctor_set(x_206, 1, x_320); +lean_ctor_set(x_206, 0, x_324); +lean_ctor_set_uint8(x_206, sizeof(void*)*4, x_327); +return x_206; +} +} +else +{ +lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; uint8_t x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; uint8_t x_339; lean_object* x_340; +x_328 = lean_ctor_get(x_206, 1); +x_329 = lean_ctor_get(x_206, 2); +lean_inc(x_329); +lean_inc(x_328); +lean_dec(x_206); +x_330 = lean_ctor_get(x_288, 0); +lean_inc(x_330); +x_331 = lean_ctor_get(x_288, 1); +lean_inc(x_331); +x_332 = lean_ctor_get(x_288, 2); +lean_inc(x_332); +x_333 = lean_ctor_get(x_288, 3); +lean_inc(x_333); +if (lean_is_exclusive(x_288)) { + lean_ctor_release(x_288, 0); + lean_ctor_release(x_288, 1); + lean_ctor_release(x_288, 2); + lean_ctor_release(x_288, 3); + x_334 = x_288; +} else { + lean_dec_ref(x_288); + x_334 = lean_box(0); +} +x_335 = 1; +lean_inc(x_207); +if (lean_is_scalar(x_334)) { + x_336 = lean_alloc_ctor(1, 4, 1); +} else { + x_336 = x_334; +} +lean_ctor_set(x_336, 0, x_207); +lean_ctor_set(x_336, 1, x_328); +lean_ctor_set(x_336, 2, x_329); +lean_ctor_set(x_336, 3, x_330); +if (lean_is_exclusive(x_207)) { + lean_ctor_release(x_207, 0); + lean_ctor_release(x_207, 1); + lean_ctor_release(x_207, 2); + lean_ctor_release(x_207, 3); + x_337 = x_207; +} else { + lean_dec_ref(x_207); + x_337 = lean_box(0); +} +lean_ctor_set_uint8(x_336, sizeof(void*)*4, x_335); +if (lean_is_scalar(x_337)) { + x_338 = lean_alloc_ctor(1, 4, 1); +} else { + x_338 = x_337; +} +lean_ctor_set(x_338, 0, x_333); +lean_ctor_set(x_338, 1, x_36); +lean_ctor_set(x_338, 2, x_37); +lean_ctor_set(x_338, 3, x_38); +lean_ctor_set_uint8(x_338, sizeof(void*)*4, x_335); +x_339 = 0; +x_340 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_340, 0, x_336); +lean_ctor_set(x_340, 1, x_331); +lean_ctor_set(x_340, 2, x_332); +lean_ctor_set(x_340, 3, x_338); +lean_ctor_set_uint8(x_340, sizeof(void*)*4, x_339); +return x_340; +} +} +else +{ +uint8_t x_341; +x_341 = !lean_is_exclusive(x_206); +if (x_341 == 0) +{ +lean_object* x_342; lean_object* x_343; uint8_t x_344; +x_342 = lean_ctor_get(x_206, 3); +lean_dec(x_342); +x_343 = lean_ctor_get(x_206, 0); +lean_dec(x_343); +x_344 = !lean_is_exclusive(x_207); +if (x_344 == 0) +{ +uint8_t x_345; uint8_t x_346; +lean_ctor_set_uint8(x_207, sizeof(void*)*4, x_299); +x_345 = 0; +lean_ctor_set_uint8(x_206, sizeof(void*)*4, x_345); +x_346 = 1; +lean_ctor_set(x_1, 0, x_206); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_346); +return x_1; +} +else +{ +lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; uint8_t x_352; uint8_t x_353; +x_347 = lean_ctor_get(x_207, 0); +x_348 = lean_ctor_get(x_207, 1); +x_349 = lean_ctor_get(x_207, 2); +x_350 = lean_ctor_get(x_207, 3); +lean_inc(x_350); +lean_inc(x_349); +lean_inc(x_348); +lean_inc(x_347); +lean_dec(x_207); +x_351 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_351, 0, x_347); +lean_ctor_set(x_351, 1, x_348); +lean_ctor_set(x_351, 2, x_349); +lean_ctor_set(x_351, 3, x_350); +lean_ctor_set_uint8(x_351, sizeof(void*)*4, x_299); +x_352 = 0; +lean_ctor_set(x_206, 0, x_351); +lean_ctor_set_uint8(x_206, sizeof(void*)*4, x_352); +x_353 = 1; +lean_ctor_set(x_1, 0, x_206); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_353); +return x_1; +} +} +else +{ +lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; uint8_t x_362; lean_object* x_363; uint8_t x_364; +x_354 = lean_ctor_get(x_206, 1); +x_355 = lean_ctor_get(x_206, 2); +lean_inc(x_355); +lean_inc(x_354); +lean_dec(x_206); +x_356 = lean_ctor_get(x_207, 0); +lean_inc(x_356); +x_357 = lean_ctor_get(x_207, 1); +lean_inc(x_357); +x_358 = lean_ctor_get(x_207, 2); +lean_inc(x_358); +x_359 = lean_ctor_get(x_207, 3); +lean_inc(x_359); +if (lean_is_exclusive(x_207)) { + lean_ctor_release(x_207, 0); + lean_ctor_release(x_207, 1); + lean_ctor_release(x_207, 2); + lean_ctor_release(x_207, 3); + x_360 = x_207; +} else { + lean_dec_ref(x_207); + x_360 = lean_box(0); +} +if (lean_is_scalar(x_360)) { + x_361 = lean_alloc_ctor(1, 4, 1); +} else { + x_361 = x_360; +} +lean_ctor_set(x_361, 0, x_356); +lean_ctor_set(x_361, 1, x_357); +lean_ctor_set(x_361, 2, x_358); +lean_ctor_set(x_361, 3, x_359); +lean_ctor_set_uint8(x_361, sizeof(void*)*4, x_299); +x_362 = 0; +x_363 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_363, 0, x_361); +lean_ctor_set(x_363, 1, x_354); +lean_ctor_set(x_363, 2, x_355); +lean_ctor_set(x_363, 3, x_288); +lean_ctor_set_uint8(x_363, sizeof(void*)*4, x_362); +x_364 = 1; +lean_ctor_set(x_1, 0, x_363); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_364); +return x_1; +} +} +} +} +} +} +} +} +else +{ +lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; uint8_t x_369; +x_365 = lean_ctor_get(x_1, 0); +x_366 = lean_ctor_get(x_1, 1); +x_367 = lean_ctor_get(x_1, 2); +x_368 = lean_ctor_get(x_1, 3); +lean_inc(x_368); +lean_inc(x_367); +lean_inc(x_366); +lean_inc(x_365); +lean_dec(x_1); +x_369 = lean_nat_dec_lt(x_2, x_366); +if (x_369 == 0) +{ +uint8_t x_370; +x_370 = lean_nat_dec_lt(x_366, x_2); +if (x_370 == 0) +{ +uint8_t x_371; lean_object* x_372; +lean_dec(x_367); +lean_dec(x_366); +x_371 = 1; +x_372 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_372, 0, x_365); +lean_ctor_set(x_372, 1, x_2); +lean_ctor_set(x_372, 2, x_3); +lean_ctor_set(x_372, 3, x_368); +lean_ctor_set_uint8(x_372, sizeof(void*)*4, x_371); +return x_372; +} +else +{ +uint8_t x_373; +x_373 = l_Std_RBNode_isRed___rarg(x_368); +if (x_373 == 0) +{ +lean_object* x_374; uint8_t x_375; lean_object* x_376; +x_374 = l_Std_RBNode_ins___at_Lean_PrettyPrinter_Delaborator_delabMData___spec__2(x_368, x_2, x_3); +x_375 = 1; +x_376 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_376, 0, x_365); +lean_ctor_set(x_376, 1, x_366); +lean_ctor_set(x_376, 2, x_367); +lean_ctor_set(x_376, 3, x_374); +lean_ctor_set_uint8(x_376, sizeof(void*)*4, x_375); +return x_376; +} +else +{ +lean_object* x_377; lean_object* x_378; +x_377 = l_Std_RBNode_ins___at_Lean_PrettyPrinter_Delaborator_delabMData___spec__2(x_368, x_2, x_3); +x_378 = lean_ctor_get(x_377, 0); +lean_inc(x_378); +if (lean_obj_tag(x_378) == 0) +{ +lean_object* x_379; +x_379 = lean_ctor_get(x_377, 3); +lean_inc(x_379); +if (lean_obj_tag(x_379) == 0) +{ +lean_object* x_380; lean_object* x_381; lean_object* x_382; uint8_t x_383; lean_object* x_384; uint8_t x_385; lean_object* x_386; +x_380 = lean_ctor_get(x_377, 1); +lean_inc(x_380); +x_381 = lean_ctor_get(x_377, 2); +lean_inc(x_381); +if (lean_is_exclusive(x_377)) { + lean_ctor_release(x_377, 0); + lean_ctor_release(x_377, 1); + lean_ctor_release(x_377, 2); + lean_ctor_release(x_377, 3); + x_382 = x_377; +} else { + lean_dec_ref(x_377); + x_382 = lean_box(0); +} +x_383 = 0; +if (lean_is_scalar(x_382)) { + x_384 = lean_alloc_ctor(1, 4, 1); +} else { + x_384 = x_382; +} +lean_ctor_set(x_384, 0, x_379); +lean_ctor_set(x_384, 1, x_380); +lean_ctor_set(x_384, 2, x_381); +lean_ctor_set(x_384, 3, x_379); +lean_ctor_set_uint8(x_384, sizeof(void*)*4, x_383); +x_385 = 1; +x_386 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_386, 0, x_365); +lean_ctor_set(x_386, 1, x_366); +lean_ctor_set(x_386, 2, x_367); +lean_ctor_set(x_386, 3, x_384); +lean_ctor_set_uint8(x_386, sizeof(void*)*4, x_385); +return x_386; +} +else +{ +uint8_t x_387; +x_387 = lean_ctor_get_uint8(x_379, sizeof(void*)*4); +if (x_387 == 0) +{ +lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; lean_object* x_395; uint8_t x_396; lean_object* x_397; lean_object* x_398; uint8_t x_399; lean_object* x_400; +x_388 = lean_ctor_get(x_377, 1); +lean_inc(x_388); +x_389 = lean_ctor_get(x_377, 2); +lean_inc(x_389); +if (lean_is_exclusive(x_377)) { + lean_ctor_release(x_377, 0); + lean_ctor_release(x_377, 1); + lean_ctor_release(x_377, 2); + lean_ctor_release(x_377, 3); + x_390 = x_377; +} else { + lean_dec_ref(x_377); + x_390 = lean_box(0); +} +x_391 = lean_ctor_get(x_379, 0); +lean_inc(x_391); +x_392 = lean_ctor_get(x_379, 1); +lean_inc(x_392); +x_393 = lean_ctor_get(x_379, 2); +lean_inc(x_393); +x_394 = lean_ctor_get(x_379, 3); +lean_inc(x_394); +if (lean_is_exclusive(x_379)) { + lean_ctor_release(x_379, 0); + lean_ctor_release(x_379, 1); + lean_ctor_release(x_379, 2); + lean_ctor_release(x_379, 3); + x_395 = x_379; +} else { + lean_dec_ref(x_379); + x_395 = lean_box(0); +} +x_396 = 1; +if (lean_is_scalar(x_395)) { + x_397 = lean_alloc_ctor(1, 4, 1); +} else { + x_397 = x_395; +} +lean_ctor_set(x_397, 0, x_365); +lean_ctor_set(x_397, 1, x_366); +lean_ctor_set(x_397, 2, x_367); +lean_ctor_set(x_397, 3, x_378); +lean_ctor_set_uint8(x_397, sizeof(void*)*4, x_396); +if (lean_is_scalar(x_390)) { + x_398 = lean_alloc_ctor(1, 4, 1); +} else { + x_398 = x_390; +} +lean_ctor_set(x_398, 0, x_391); +lean_ctor_set(x_398, 1, x_392); +lean_ctor_set(x_398, 2, x_393); +lean_ctor_set(x_398, 3, x_394); +lean_ctor_set_uint8(x_398, sizeof(void*)*4, x_396); +x_399 = 0; +x_400 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_400, 0, x_397); +lean_ctor_set(x_400, 1, x_388); +lean_ctor_set(x_400, 2, x_389); +lean_ctor_set(x_400, 3, x_398); +lean_ctor_set_uint8(x_400, sizeof(void*)*4, x_399); +return x_400; +} +else +{ +lean_object* x_401; lean_object* x_402; lean_object* x_403; uint8_t x_404; lean_object* x_405; uint8_t x_406; lean_object* x_407; +x_401 = lean_ctor_get(x_377, 1); +lean_inc(x_401); +x_402 = lean_ctor_get(x_377, 2); +lean_inc(x_402); +if (lean_is_exclusive(x_377)) { + lean_ctor_release(x_377, 0); + lean_ctor_release(x_377, 1); + lean_ctor_release(x_377, 2); + lean_ctor_release(x_377, 3); + x_403 = x_377; +} else { + lean_dec_ref(x_377); + x_403 = lean_box(0); +} +x_404 = 0; +if (lean_is_scalar(x_403)) { + x_405 = lean_alloc_ctor(1, 4, 1); +} else { + x_405 = x_403; +} +lean_ctor_set(x_405, 0, x_378); +lean_ctor_set(x_405, 1, x_401); +lean_ctor_set(x_405, 2, x_402); +lean_ctor_set(x_405, 3, x_379); +lean_ctor_set_uint8(x_405, sizeof(void*)*4, x_404); +x_406 = 1; +x_407 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_407, 0, x_365); +lean_ctor_set(x_407, 1, x_366); +lean_ctor_set(x_407, 2, x_367); +lean_ctor_set(x_407, 3, x_405); +lean_ctor_set_uint8(x_407, sizeof(void*)*4, x_406); +return x_407; +} +} +} +else +{ +uint8_t x_408; +x_408 = lean_ctor_get_uint8(x_378, sizeof(void*)*4); +if (x_408 == 0) +{ +lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; uint8_t x_418; lean_object* x_419; lean_object* x_420; uint8_t x_421; lean_object* x_422; +x_409 = lean_ctor_get(x_377, 1); +lean_inc(x_409); +x_410 = lean_ctor_get(x_377, 2); +lean_inc(x_410); +x_411 = lean_ctor_get(x_377, 3); +lean_inc(x_411); +if (lean_is_exclusive(x_377)) { + lean_ctor_release(x_377, 0); + lean_ctor_release(x_377, 1); + lean_ctor_release(x_377, 2); + lean_ctor_release(x_377, 3); + x_412 = x_377; +} else { + lean_dec_ref(x_377); + x_412 = lean_box(0); +} +x_413 = lean_ctor_get(x_378, 0); +lean_inc(x_413); +x_414 = lean_ctor_get(x_378, 1); +lean_inc(x_414); +x_415 = lean_ctor_get(x_378, 2); +lean_inc(x_415); +x_416 = lean_ctor_get(x_378, 3); +lean_inc(x_416); +if (lean_is_exclusive(x_378)) { + lean_ctor_release(x_378, 0); + lean_ctor_release(x_378, 1); + lean_ctor_release(x_378, 2); + lean_ctor_release(x_378, 3); + x_417 = x_378; +} else { + lean_dec_ref(x_378); + x_417 = lean_box(0); +} +x_418 = 1; +if (lean_is_scalar(x_417)) { + x_419 = lean_alloc_ctor(1, 4, 1); +} else { + x_419 = x_417; +} +lean_ctor_set(x_419, 0, x_365); +lean_ctor_set(x_419, 1, x_366); +lean_ctor_set(x_419, 2, x_367); +lean_ctor_set(x_419, 3, x_413); +lean_ctor_set_uint8(x_419, sizeof(void*)*4, x_418); +if (lean_is_scalar(x_412)) { + x_420 = lean_alloc_ctor(1, 4, 1); +} else { + x_420 = x_412; +} +lean_ctor_set(x_420, 0, x_416); +lean_ctor_set(x_420, 1, x_409); +lean_ctor_set(x_420, 2, x_410); +lean_ctor_set(x_420, 3, x_411); +lean_ctor_set_uint8(x_420, sizeof(void*)*4, x_418); +x_421 = 0; +x_422 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_422, 0, x_419); +lean_ctor_set(x_422, 1, x_414); +lean_ctor_set(x_422, 2, x_415); +lean_ctor_set(x_422, 3, x_420); +lean_ctor_set_uint8(x_422, sizeof(void*)*4, x_421); +return x_422; +} +else +{ +lean_object* x_423; +x_423 = lean_ctor_get(x_377, 3); +lean_inc(x_423); +if (lean_obj_tag(x_423) == 0) +{ +lean_object* x_424; lean_object* x_425; lean_object* x_426; uint8_t x_427; lean_object* x_428; uint8_t x_429; lean_object* x_430; +x_424 = lean_ctor_get(x_377, 1); +lean_inc(x_424); +x_425 = lean_ctor_get(x_377, 2); +lean_inc(x_425); +if (lean_is_exclusive(x_377)) { + lean_ctor_release(x_377, 0); + lean_ctor_release(x_377, 1); + lean_ctor_release(x_377, 2); + lean_ctor_release(x_377, 3); + x_426 = x_377; +} else { + lean_dec_ref(x_377); + x_426 = lean_box(0); +} +x_427 = 0; +if (lean_is_scalar(x_426)) { + x_428 = lean_alloc_ctor(1, 4, 1); +} else { + x_428 = x_426; +} +lean_ctor_set(x_428, 0, x_378); +lean_ctor_set(x_428, 1, x_424); +lean_ctor_set(x_428, 2, x_425); +lean_ctor_set(x_428, 3, x_423); +lean_ctor_set_uint8(x_428, sizeof(void*)*4, x_427); +x_429 = 1; +x_430 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_430, 0, x_365); +lean_ctor_set(x_430, 1, x_366); +lean_ctor_set(x_430, 2, x_367); +lean_ctor_set(x_430, 3, x_428); +lean_ctor_set_uint8(x_430, sizeof(void*)*4, x_429); +return x_430; +} +else +{ +uint8_t x_431; +x_431 = lean_ctor_get_uint8(x_423, sizeof(void*)*4); +if (x_431 == 0) +{ +lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; lean_object* x_436; lean_object* x_437; lean_object* x_438; lean_object* x_439; uint8_t x_440; lean_object* x_441; lean_object* x_442; lean_object* x_443; uint8_t x_444; lean_object* x_445; +x_432 = lean_ctor_get(x_377, 1); +lean_inc(x_432); +x_433 = lean_ctor_get(x_377, 2); +lean_inc(x_433); +if (lean_is_exclusive(x_377)) { + lean_ctor_release(x_377, 0); + lean_ctor_release(x_377, 1); + lean_ctor_release(x_377, 2); + lean_ctor_release(x_377, 3); + x_434 = x_377; +} else { + lean_dec_ref(x_377); + x_434 = lean_box(0); +} +x_435 = lean_ctor_get(x_423, 0); +lean_inc(x_435); +x_436 = lean_ctor_get(x_423, 1); +lean_inc(x_436); +x_437 = lean_ctor_get(x_423, 2); +lean_inc(x_437); +x_438 = lean_ctor_get(x_423, 3); +lean_inc(x_438); +if (lean_is_exclusive(x_423)) { + lean_ctor_release(x_423, 0); + lean_ctor_release(x_423, 1); + lean_ctor_release(x_423, 2); + lean_ctor_release(x_423, 3); + x_439 = x_423; +} else { + lean_dec_ref(x_423); + x_439 = lean_box(0); +} +x_440 = 1; +lean_inc(x_378); +if (lean_is_scalar(x_439)) { + x_441 = lean_alloc_ctor(1, 4, 1); +} else { + x_441 = x_439; +} +lean_ctor_set(x_441, 0, x_365); +lean_ctor_set(x_441, 1, x_366); +lean_ctor_set(x_441, 2, x_367); +lean_ctor_set(x_441, 3, x_378); +if (lean_is_exclusive(x_378)) { + lean_ctor_release(x_378, 0); + lean_ctor_release(x_378, 1); + lean_ctor_release(x_378, 2); + lean_ctor_release(x_378, 3); + x_442 = x_378; +} else { + lean_dec_ref(x_378); + x_442 = lean_box(0); +} +lean_ctor_set_uint8(x_441, sizeof(void*)*4, x_440); +if (lean_is_scalar(x_442)) { + x_443 = lean_alloc_ctor(1, 4, 1); +} else { + x_443 = x_442; +} +lean_ctor_set(x_443, 0, x_435); +lean_ctor_set(x_443, 1, x_436); +lean_ctor_set(x_443, 2, x_437); +lean_ctor_set(x_443, 3, x_438); +lean_ctor_set_uint8(x_443, sizeof(void*)*4, x_440); +x_444 = 0; +if (lean_is_scalar(x_434)) { + x_445 = lean_alloc_ctor(1, 4, 1); +} else { + x_445 = x_434; +} +lean_ctor_set(x_445, 0, x_441); +lean_ctor_set(x_445, 1, x_432); +lean_ctor_set(x_445, 2, x_433); +lean_ctor_set(x_445, 3, x_443); +lean_ctor_set_uint8(x_445, sizeof(void*)*4, x_444); +return x_445; +} +else +{ +lean_object* x_446; lean_object* x_447; lean_object* x_448; lean_object* x_449; lean_object* x_450; lean_object* x_451; lean_object* x_452; lean_object* x_453; lean_object* x_454; uint8_t x_455; lean_object* x_456; uint8_t x_457; lean_object* x_458; +x_446 = lean_ctor_get(x_377, 1); +lean_inc(x_446); +x_447 = lean_ctor_get(x_377, 2); +lean_inc(x_447); +if (lean_is_exclusive(x_377)) { + lean_ctor_release(x_377, 0); + lean_ctor_release(x_377, 1); + lean_ctor_release(x_377, 2); + lean_ctor_release(x_377, 3); + x_448 = x_377; +} else { + lean_dec_ref(x_377); + x_448 = lean_box(0); +} +x_449 = lean_ctor_get(x_378, 0); +lean_inc(x_449); +x_450 = lean_ctor_get(x_378, 1); +lean_inc(x_450); +x_451 = lean_ctor_get(x_378, 2); +lean_inc(x_451); +x_452 = lean_ctor_get(x_378, 3); +lean_inc(x_452); +if (lean_is_exclusive(x_378)) { + lean_ctor_release(x_378, 0); + lean_ctor_release(x_378, 1); + lean_ctor_release(x_378, 2); + lean_ctor_release(x_378, 3); + x_453 = x_378; +} else { + lean_dec_ref(x_378); + x_453 = lean_box(0); +} +if (lean_is_scalar(x_453)) { + x_454 = lean_alloc_ctor(1, 4, 1); +} else { + x_454 = x_453; +} +lean_ctor_set(x_454, 0, x_449); +lean_ctor_set(x_454, 1, x_450); +lean_ctor_set(x_454, 2, x_451); +lean_ctor_set(x_454, 3, x_452); +lean_ctor_set_uint8(x_454, sizeof(void*)*4, x_431); +x_455 = 0; +if (lean_is_scalar(x_448)) { + x_456 = lean_alloc_ctor(1, 4, 1); +} else { + x_456 = x_448; +} +lean_ctor_set(x_456, 0, x_454); +lean_ctor_set(x_456, 1, x_446); +lean_ctor_set(x_456, 2, x_447); +lean_ctor_set(x_456, 3, x_423); +lean_ctor_set_uint8(x_456, sizeof(void*)*4, x_455); +x_457 = 1; +x_458 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_458, 0, x_365); +lean_ctor_set(x_458, 1, x_366); +lean_ctor_set(x_458, 2, x_367); +lean_ctor_set(x_458, 3, x_456); +lean_ctor_set_uint8(x_458, sizeof(void*)*4, x_457); +return x_458; +} +} +} +} +} +} +} +else +{ +uint8_t x_459; +x_459 = l_Std_RBNode_isRed___rarg(x_365); +if (x_459 == 0) +{ +lean_object* x_460; uint8_t x_461; lean_object* x_462; +x_460 = l_Std_RBNode_ins___at_Lean_PrettyPrinter_Delaborator_delabMData___spec__2(x_365, x_2, x_3); +x_461 = 1; +x_462 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_462, 0, x_460); +lean_ctor_set(x_462, 1, x_366); +lean_ctor_set(x_462, 2, x_367); +lean_ctor_set(x_462, 3, x_368); +lean_ctor_set_uint8(x_462, sizeof(void*)*4, x_461); +return x_462; +} +else +{ +lean_object* x_463; lean_object* x_464; +x_463 = l_Std_RBNode_ins___at_Lean_PrettyPrinter_Delaborator_delabMData___spec__2(x_365, x_2, x_3); +x_464 = lean_ctor_get(x_463, 0); +lean_inc(x_464); +if (lean_obj_tag(x_464) == 0) +{ +lean_object* x_465; +x_465 = lean_ctor_get(x_463, 3); +lean_inc(x_465); +if (lean_obj_tag(x_465) == 0) +{ +lean_object* x_466; lean_object* x_467; lean_object* x_468; uint8_t x_469; lean_object* x_470; uint8_t x_471; lean_object* x_472; +x_466 = lean_ctor_get(x_463, 1); +lean_inc(x_466); +x_467 = lean_ctor_get(x_463, 2); +lean_inc(x_467); +if (lean_is_exclusive(x_463)) { + lean_ctor_release(x_463, 0); + lean_ctor_release(x_463, 1); + lean_ctor_release(x_463, 2); + lean_ctor_release(x_463, 3); + x_468 = x_463; +} else { + lean_dec_ref(x_463); + x_468 = lean_box(0); +} +x_469 = 0; +if (lean_is_scalar(x_468)) { + x_470 = lean_alloc_ctor(1, 4, 1); +} else { + x_470 = x_468; +} +lean_ctor_set(x_470, 0, x_465); +lean_ctor_set(x_470, 1, x_466); +lean_ctor_set(x_470, 2, x_467); +lean_ctor_set(x_470, 3, x_465); +lean_ctor_set_uint8(x_470, sizeof(void*)*4, x_469); +x_471 = 1; +x_472 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_472, 0, x_470); +lean_ctor_set(x_472, 1, x_366); +lean_ctor_set(x_472, 2, x_367); +lean_ctor_set(x_472, 3, x_368); +lean_ctor_set_uint8(x_472, sizeof(void*)*4, x_471); +return x_472; +} +else +{ +uint8_t x_473; +x_473 = lean_ctor_get_uint8(x_465, sizeof(void*)*4); +if (x_473 == 0) +{ +lean_object* x_474; lean_object* x_475; lean_object* x_476; lean_object* x_477; lean_object* x_478; lean_object* x_479; lean_object* x_480; lean_object* x_481; uint8_t x_482; lean_object* x_483; lean_object* x_484; uint8_t x_485; lean_object* x_486; +x_474 = lean_ctor_get(x_463, 1); +lean_inc(x_474); +x_475 = lean_ctor_get(x_463, 2); +lean_inc(x_475); +if (lean_is_exclusive(x_463)) { + lean_ctor_release(x_463, 0); + lean_ctor_release(x_463, 1); + lean_ctor_release(x_463, 2); + lean_ctor_release(x_463, 3); + x_476 = x_463; +} else { + lean_dec_ref(x_463); + x_476 = lean_box(0); +} +x_477 = lean_ctor_get(x_465, 0); +lean_inc(x_477); +x_478 = lean_ctor_get(x_465, 1); +lean_inc(x_478); +x_479 = lean_ctor_get(x_465, 2); +lean_inc(x_479); +x_480 = lean_ctor_get(x_465, 3); +lean_inc(x_480); +if (lean_is_exclusive(x_465)) { + lean_ctor_release(x_465, 0); + lean_ctor_release(x_465, 1); + lean_ctor_release(x_465, 2); + lean_ctor_release(x_465, 3); + x_481 = x_465; +} else { + lean_dec_ref(x_465); + x_481 = lean_box(0); +} +x_482 = 1; +if (lean_is_scalar(x_481)) { + x_483 = lean_alloc_ctor(1, 4, 1); +} else { + x_483 = x_481; +} +lean_ctor_set(x_483, 0, x_464); +lean_ctor_set(x_483, 1, x_474); +lean_ctor_set(x_483, 2, x_475); +lean_ctor_set(x_483, 3, x_477); +lean_ctor_set_uint8(x_483, sizeof(void*)*4, x_482); +if (lean_is_scalar(x_476)) { + x_484 = lean_alloc_ctor(1, 4, 1); +} else { + x_484 = x_476; +} +lean_ctor_set(x_484, 0, x_480); +lean_ctor_set(x_484, 1, x_366); +lean_ctor_set(x_484, 2, x_367); +lean_ctor_set(x_484, 3, x_368); +lean_ctor_set_uint8(x_484, sizeof(void*)*4, x_482); +x_485 = 0; +x_486 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_486, 0, x_483); +lean_ctor_set(x_486, 1, x_478); +lean_ctor_set(x_486, 2, x_479); +lean_ctor_set(x_486, 3, x_484); +lean_ctor_set_uint8(x_486, sizeof(void*)*4, x_485); +return x_486; +} +else +{ +lean_object* x_487; lean_object* x_488; lean_object* x_489; uint8_t x_490; lean_object* x_491; uint8_t x_492; lean_object* x_493; +x_487 = lean_ctor_get(x_463, 1); +lean_inc(x_487); +x_488 = lean_ctor_get(x_463, 2); +lean_inc(x_488); +if (lean_is_exclusive(x_463)) { + lean_ctor_release(x_463, 0); + lean_ctor_release(x_463, 1); + lean_ctor_release(x_463, 2); + lean_ctor_release(x_463, 3); + x_489 = x_463; +} else { + lean_dec_ref(x_463); + x_489 = lean_box(0); +} +x_490 = 0; +if (lean_is_scalar(x_489)) { + x_491 = lean_alloc_ctor(1, 4, 1); +} else { + x_491 = x_489; +} +lean_ctor_set(x_491, 0, x_464); +lean_ctor_set(x_491, 1, x_487); +lean_ctor_set(x_491, 2, x_488); +lean_ctor_set(x_491, 3, x_465); +lean_ctor_set_uint8(x_491, sizeof(void*)*4, x_490); +x_492 = 1; +x_493 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_493, 0, x_491); +lean_ctor_set(x_493, 1, x_366); +lean_ctor_set(x_493, 2, x_367); +lean_ctor_set(x_493, 3, x_368); +lean_ctor_set_uint8(x_493, sizeof(void*)*4, x_492); +return x_493; +} +} +} +else +{ +uint8_t x_494; +x_494 = lean_ctor_get_uint8(x_464, sizeof(void*)*4); +if (x_494 == 0) +{ +lean_object* x_495; lean_object* x_496; lean_object* x_497; lean_object* x_498; lean_object* x_499; lean_object* x_500; lean_object* x_501; lean_object* x_502; lean_object* x_503; uint8_t x_504; lean_object* x_505; lean_object* x_506; uint8_t x_507; lean_object* x_508; +x_495 = lean_ctor_get(x_463, 1); +lean_inc(x_495); +x_496 = lean_ctor_get(x_463, 2); +lean_inc(x_496); +x_497 = lean_ctor_get(x_463, 3); +lean_inc(x_497); +if (lean_is_exclusive(x_463)) { + lean_ctor_release(x_463, 0); + lean_ctor_release(x_463, 1); + lean_ctor_release(x_463, 2); + lean_ctor_release(x_463, 3); + x_498 = x_463; +} else { + lean_dec_ref(x_463); + x_498 = lean_box(0); +} +x_499 = lean_ctor_get(x_464, 0); +lean_inc(x_499); +x_500 = lean_ctor_get(x_464, 1); +lean_inc(x_500); +x_501 = lean_ctor_get(x_464, 2); +lean_inc(x_501); +x_502 = lean_ctor_get(x_464, 3); +lean_inc(x_502); +if (lean_is_exclusive(x_464)) { + lean_ctor_release(x_464, 0); + lean_ctor_release(x_464, 1); + lean_ctor_release(x_464, 2); + lean_ctor_release(x_464, 3); + x_503 = x_464; +} else { + lean_dec_ref(x_464); + x_503 = lean_box(0); +} +x_504 = 1; +if (lean_is_scalar(x_503)) { + x_505 = lean_alloc_ctor(1, 4, 1); +} else { + x_505 = x_503; +} +lean_ctor_set(x_505, 0, x_499); +lean_ctor_set(x_505, 1, x_500); +lean_ctor_set(x_505, 2, x_501); +lean_ctor_set(x_505, 3, x_502); +lean_ctor_set_uint8(x_505, sizeof(void*)*4, x_504); +if (lean_is_scalar(x_498)) { + x_506 = lean_alloc_ctor(1, 4, 1); +} else { + x_506 = x_498; +} +lean_ctor_set(x_506, 0, x_497); +lean_ctor_set(x_506, 1, x_366); +lean_ctor_set(x_506, 2, x_367); +lean_ctor_set(x_506, 3, x_368); +lean_ctor_set_uint8(x_506, sizeof(void*)*4, x_504); +x_507 = 0; +x_508 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_508, 0, x_505); +lean_ctor_set(x_508, 1, x_495); +lean_ctor_set(x_508, 2, x_496); +lean_ctor_set(x_508, 3, x_506); +lean_ctor_set_uint8(x_508, sizeof(void*)*4, x_507); +return x_508; +} +else +{ +lean_object* x_509; +x_509 = lean_ctor_get(x_463, 3); +lean_inc(x_509); +if (lean_obj_tag(x_509) == 0) +{ +lean_object* x_510; lean_object* x_511; lean_object* x_512; uint8_t x_513; lean_object* x_514; uint8_t x_515; lean_object* x_516; +x_510 = lean_ctor_get(x_463, 1); +lean_inc(x_510); +x_511 = lean_ctor_get(x_463, 2); +lean_inc(x_511); +if (lean_is_exclusive(x_463)) { + lean_ctor_release(x_463, 0); + lean_ctor_release(x_463, 1); + lean_ctor_release(x_463, 2); + lean_ctor_release(x_463, 3); + x_512 = x_463; +} else { + lean_dec_ref(x_463); + x_512 = lean_box(0); +} +x_513 = 0; +if (lean_is_scalar(x_512)) { + x_514 = lean_alloc_ctor(1, 4, 1); +} else { + x_514 = x_512; +} +lean_ctor_set(x_514, 0, x_464); +lean_ctor_set(x_514, 1, x_510); +lean_ctor_set(x_514, 2, x_511); +lean_ctor_set(x_514, 3, x_509); +lean_ctor_set_uint8(x_514, sizeof(void*)*4, x_513); +x_515 = 1; +x_516 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_516, 0, x_514); +lean_ctor_set(x_516, 1, x_366); +lean_ctor_set(x_516, 2, x_367); +lean_ctor_set(x_516, 3, x_368); +lean_ctor_set_uint8(x_516, sizeof(void*)*4, x_515); +return x_516; +} +else +{ +uint8_t x_517; +x_517 = lean_ctor_get_uint8(x_509, sizeof(void*)*4); +if (x_517 == 0) +{ +lean_object* x_518; lean_object* x_519; lean_object* x_520; lean_object* x_521; lean_object* x_522; lean_object* x_523; lean_object* x_524; lean_object* x_525; uint8_t x_526; lean_object* x_527; lean_object* x_528; lean_object* x_529; uint8_t x_530; lean_object* x_531; +x_518 = lean_ctor_get(x_463, 1); +lean_inc(x_518); +x_519 = lean_ctor_get(x_463, 2); +lean_inc(x_519); +if (lean_is_exclusive(x_463)) { + lean_ctor_release(x_463, 0); + lean_ctor_release(x_463, 1); + lean_ctor_release(x_463, 2); + lean_ctor_release(x_463, 3); + x_520 = x_463; +} else { + lean_dec_ref(x_463); + x_520 = lean_box(0); +} +x_521 = lean_ctor_get(x_509, 0); +lean_inc(x_521); +x_522 = lean_ctor_get(x_509, 1); +lean_inc(x_522); +x_523 = lean_ctor_get(x_509, 2); +lean_inc(x_523); +x_524 = lean_ctor_get(x_509, 3); +lean_inc(x_524); +if (lean_is_exclusive(x_509)) { + lean_ctor_release(x_509, 0); + lean_ctor_release(x_509, 1); + lean_ctor_release(x_509, 2); + lean_ctor_release(x_509, 3); + x_525 = x_509; +} else { + lean_dec_ref(x_509); + x_525 = lean_box(0); +} +x_526 = 1; +lean_inc(x_464); +if (lean_is_scalar(x_525)) { + x_527 = lean_alloc_ctor(1, 4, 1); +} else { + x_527 = x_525; +} +lean_ctor_set(x_527, 0, x_464); +lean_ctor_set(x_527, 1, x_518); +lean_ctor_set(x_527, 2, x_519); +lean_ctor_set(x_527, 3, x_521); +if (lean_is_exclusive(x_464)) { + lean_ctor_release(x_464, 0); + lean_ctor_release(x_464, 1); + lean_ctor_release(x_464, 2); + lean_ctor_release(x_464, 3); + x_528 = x_464; +} else { + lean_dec_ref(x_464); + x_528 = lean_box(0); +} +lean_ctor_set_uint8(x_527, sizeof(void*)*4, x_526); +if (lean_is_scalar(x_528)) { + x_529 = lean_alloc_ctor(1, 4, 1); +} else { + x_529 = x_528; +} +lean_ctor_set(x_529, 0, x_524); +lean_ctor_set(x_529, 1, x_366); +lean_ctor_set(x_529, 2, x_367); +lean_ctor_set(x_529, 3, x_368); +lean_ctor_set_uint8(x_529, sizeof(void*)*4, x_526); +x_530 = 0; +if (lean_is_scalar(x_520)) { + x_531 = lean_alloc_ctor(1, 4, 1); +} else { + x_531 = x_520; +} +lean_ctor_set(x_531, 0, x_527); +lean_ctor_set(x_531, 1, x_522); +lean_ctor_set(x_531, 2, x_523); +lean_ctor_set(x_531, 3, x_529); +lean_ctor_set_uint8(x_531, sizeof(void*)*4, x_530); +return x_531; +} +else +{ +lean_object* x_532; lean_object* x_533; lean_object* x_534; lean_object* x_535; lean_object* x_536; lean_object* x_537; lean_object* x_538; lean_object* x_539; lean_object* x_540; uint8_t x_541; lean_object* x_542; uint8_t x_543; lean_object* x_544; +x_532 = lean_ctor_get(x_463, 1); +lean_inc(x_532); +x_533 = lean_ctor_get(x_463, 2); +lean_inc(x_533); +if (lean_is_exclusive(x_463)) { + lean_ctor_release(x_463, 0); + lean_ctor_release(x_463, 1); + lean_ctor_release(x_463, 2); + lean_ctor_release(x_463, 3); + x_534 = x_463; +} else { + lean_dec_ref(x_463); + x_534 = lean_box(0); +} +x_535 = lean_ctor_get(x_464, 0); +lean_inc(x_535); +x_536 = lean_ctor_get(x_464, 1); +lean_inc(x_536); +x_537 = lean_ctor_get(x_464, 2); +lean_inc(x_537); +x_538 = lean_ctor_get(x_464, 3); +lean_inc(x_538); +if (lean_is_exclusive(x_464)) { + lean_ctor_release(x_464, 0); + lean_ctor_release(x_464, 1); + lean_ctor_release(x_464, 2); + lean_ctor_release(x_464, 3); + x_539 = x_464; +} else { + lean_dec_ref(x_464); + x_539 = lean_box(0); +} +if (lean_is_scalar(x_539)) { + x_540 = lean_alloc_ctor(1, 4, 1); +} else { + x_540 = x_539; +} +lean_ctor_set(x_540, 0, x_535); +lean_ctor_set(x_540, 1, x_536); +lean_ctor_set(x_540, 2, x_537); +lean_ctor_set(x_540, 3, x_538); +lean_ctor_set_uint8(x_540, sizeof(void*)*4, x_517); +x_541 = 0; +if (lean_is_scalar(x_534)) { + x_542 = lean_alloc_ctor(1, 4, 1); +} else { + x_542 = x_534; +} +lean_ctor_set(x_542, 0, x_540); +lean_ctor_set(x_542, 1, x_532); +lean_ctor_set(x_542, 2, x_533); +lean_ctor_set(x_542, 3, x_509); +lean_ctor_set_uint8(x_542, sizeof(void*)*4, x_541); +x_543 = 1; +x_544 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_544, 0, x_542); +lean_ctor_set(x_544, 1, x_366); +lean_ctor_set(x_544, 2, x_367); +lean_ctor_set(x_544, 3, x_368); +lean_ctor_set_uint8(x_544, sizeof(void*)*4, x_543); +return x_544; +} +} +} +} +} +} +} +} +} +} +} +lean_object* l_Std_RBNode_insert___at_Lean_PrettyPrinter_Delaborator_delabMData___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; +x_4 = l_Std_RBNode_isRed___rarg(x_1); +if (x_4 == 0) +{ +lean_object* x_5; +x_5 = l_Std_RBNode_ins___at_Lean_PrettyPrinter_Delaborator_delabMData___spec__2(x_1, x_2, x_3); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; +x_6 = l_Std_RBNode_ins___at_Lean_PrettyPrinter_Delaborator_delabMData___spec__2(x_1, x_2, x_3); +x_7 = l_Std_RBNode_setBlack___rarg(x_6); +return x_7; +} +} +} +lean_object* l_List_forIn_loop___at_Lean_PrettyPrinter_Delaborator_delabMData___spec__3___lambda__1(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; uint8_t x_12; +x_11 = l_Lean_Meta_Match_Pattern_toExpr_visit___closed__2; +x_12 = lean_name_eq(x_1, x_11); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_13 = lean_box(x_2); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_13); +lean_ctor_set(x_14, 1, x_3); +x_15 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_15, 0, x_14); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_10); +return x_16; +} +else +{ +uint8_t x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_17 = 1; +x_18 = lean_box(x_17); +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_3); +x_20 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_20, 0, x_19); +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_20); +lean_ctor_set(x_21, 1, x_10); +return x_21; +} +} +} +lean_object* l_List_forIn_loop___at_Lean_PrettyPrinter_Delaborator_delabMData___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_10; +lean_dec(x_1); +x_10 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_10, 0, x_3); +lean_ctor_set(x_10, 1, x_9); +return x_10; +} +else +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; +x_11 = lean_ctor_get(x_2, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_2, 1); +lean_inc(x_12); +lean_dec(x_2); +x_13 = lean_ctor_get(x_11, 0); +lean_inc(x_13); +x_14 = lean_ctor_get(x_11, 1); +lean_inc(x_14); +lean_dec(x_11); +x_15 = lean_ctor_get(x_3, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_3, 1); +lean_inc(x_16); +lean_dec(x_3); +x_17 = l_Lean_getSanitizeNames___closed__2; +x_18 = l_Lean_Name_isPrefixOf(x_17, x_13); +if (x_18 == 0) +{ +lean_object* x_19; uint8_t x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +lean_dec(x_14); +x_19 = lean_box(0); +x_20 = lean_unbox(x_15); +lean_dec(x_15); +x_21 = l_List_forIn_loop___at_Lean_PrettyPrinter_Delaborator_delabMData___spec__3___lambda__1(x_13, x_20, x_16, x_19, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_13); +x_22 = lean_ctor_get(x_21, 0); +lean_inc(x_22); +x_23 = lean_ctor_get(x_21, 1); +lean_inc(x_23); +lean_dec(x_21); +x_24 = lean_ctor_get(x_22, 0); +lean_inc(x_24); +lean_dec(x_22); +x_2 = x_12; +x_3 = x_24; +x_9 = x_23; +goto _start; +} +else +{ +lean_object* x_26; lean_object* x_27; +x_26 = lean_box(0); +x_27 = l_Std_RBNode_find___at_Lean_PrettyPrinter_Delaborator_getPPOption___spec__1(x_16, x_1); +if (lean_obj_tag(x_27) == 0) +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; +lean_inc(x_13); +x_28 = l_Lean_KVMap_insertCore(x_26, x_13, x_14); +lean_inc(x_1); +x_29 = l_Std_RBNode_insert___at_Lean_PrettyPrinter_Delaborator_delabMData___spec__1(x_16, x_1, x_28); +x_30 = lean_box(0); +x_31 = lean_unbox(x_15); +lean_dec(x_15); +x_32 = l_List_forIn_loop___at_Lean_PrettyPrinter_Delaborator_delabMData___spec__3___lambda__1(x_13, x_31, x_29, x_30, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_13); +x_33 = lean_ctor_get(x_32, 0); +lean_inc(x_33); +x_34 = lean_ctor_get(x_32, 1); +lean_inc(x_34); +lean_dec(x_32); +x_35 = lean_ctor_get(x_33, 0); +lean_inc(x_35); +lean_dec(x_33); +x_2 = x_12; +x_3 = x_35; +x_9 = x_34; +goto _start; +} +else +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; uint8_t x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_37 = lean_ctor_get(x_27, 0); +lean_inc(x_37); +lean_dec(x_27); +lean_inc(x_13); +x_38 = l_Lean_KVMap_insertCore(x_37, x_13, x_14); +lean_inc(x_1); +x_39 = l_Std_RBNode_insert___at_Lean_PrettyPrinter_Delaborator_delabMData___spec__1(x_16, x_1, x_38); +x_40 = lean_box(0); +x_41 = lean_unbox(x_15); +lean_dec(x_15); +x_42 = l_List_forIn_loop___at_Lean_PrettyPrinter_Delaborator_delabMData___spec__3___lambda__1(x_13, x_41, x_39, x_40, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_13); +x_43 = lean_ctor_get(x_42, 0); +lean_inc(x_43); +x_44 = lean_ctor_get(x_42, 1); +lean_inc(x_44); +lean_dec(x_42); +x_45 = lean_ctor_get(x_43, 0); +lean_inc(x_45); +lean_dec(x_43); +x_2 = x_12; +x_3 = x_45; +x_9 = x_44; +goto _start; +} +} +} +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabMData___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Lean.PrettyPrinter.Delaborator.delabMData"); +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabMData___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_1 = l_Lean_PrettyPrinter_Delaborator_delabFVar___closed__1; +x_2 = l_Lean_PrettyPrinter_Delaborator_delabMData___closed__1; +x_3 = lean_unsigned_to_nat(217u); +x_4 = lean_unsigned_to_nat(35u); +x_5 = l_Lean_Syntax_strLitToAtom___closed__3; +x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); +return x_6; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabMData___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_myMacro____x40_Init_Notation___hyg_38____closed__6; +x_2 = l_Lean_Meta_Match_Pattern_toExpr_visit___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabMData___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_instInhabitedSourceInfo___closed__1; +x_2 = l_Lean_Meta_Match_Pattern_toMessageData___closed__1; +x_3 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabMData___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Array_empty___closed__1; +x_2 = l_Lean_PrettyPrinter_Delaborator_delabMData___closed__4; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabMData(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_8; +x_7 = l_Lean_PrettyPrinter_Delaborator_getExpr(x_1, x_2, x_3, x_4, x_5, x_6); +x_8 = lean_ctor_get(x_7, 0); +lean_inc(x_8); +if (lean_obj_tag(x_8) == 10) +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; +x_9 = lean_ctor_get(x_7, 1); +lean_inc(x_9); +lean_dec(x_7); +x_10 = lean_ctor_get(x_8, 0); +lean_inc(x_10); +lean_dec(x_8); +x_11 = lean_ctor_get(x_1, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_1, 1); +lean_inc(x_12); +x_13 = lean_ctor_get(x_1, 2); +lean_inc(x_13); +x_14 = lean_ctor_get(x_1, 3); +lean_inc(x_14); +x_15 = lean_ctor_get(x_1, 4); +lean_inc(x_15); +x_16 = lean_ctor_get(x_1, 5); +lean_inc(x_16); +x_17 = 0; +x_18 = lean_box(x_17); +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_14); +lean_inc(x_12); +x_20 = l_List_forIn_loop___at_Lean_PrettyPrinter_Delaborator_delabMData___spec__3(x_12, x_10, x_19, x_1, x_2, x_3, x_4, x_5, x_9); +x_21 = !lean_is_exclusive(x_1); +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; +x_22 = lean_ctor_get(x_1, 5); +lean_dec(x_22); +x_23 = lean_ctor_get(x_1, 4); +lean_dec(x_23); +x_24 = lean_ctor_get(x_1, 3); +lean_dec(x_24); +x_25 = lean_ctor_get(x_1, 2); +lean_dec(x_25); +x_26 = lean_ctor_get(x_1, 1); +lean_dec(x_26); +x_27 = lean_ctor_get(x_1, 0); +lean_dec(x_27); +x_28 = lean_ctor_get(x_20, 0); +lean_inc(x_28); +x_29 = lean_ctor_get(x_20, 1); +lean_inc(x_29); +lean_dec(x_20); +x_30 = lean_ctor_get(x_28, 0); +lean_inc(x_30); +x_31 = lean_ctor_get(x_28, 1); +lean_inc(x_31); +lean_dec(x_28); +lean_ctor_set(x_1, 3, x_31); +x_32 = l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__2___closed__1; +x_33 = l_Lean_PrettyPrinter_Delaborator_withMDataExpr___rarg(x_32, x_1, x_2, x_3, x_4, x_5, x_29); +if (lean_obj_tag(x_33) == 0) +{ +uint8_t x_34; +x_34 = lean_unbox(x_30); +lean_dec(x_30); +if (x_34 == 0) +{ +uint8_t x_35; +x_35 = !lean_is_exclusive(x_33); +if (x_35 == 0) +{ +return x_33; +} +else +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_36 = lean_ctor_get(x_33, 0); +x_37 = lean_ctor_get(x_33, 1); +lean_inc(x_37); +lean_inc(x_36); +lean_dec(x_33); +x_38 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_38, 0, x_36); +lean_ctor_set(x_38, 1, x_37); +return x_38; +} +} +else +{ +uint8_t x_39; +x_39 = !lean_is_exclusive(x_33); +if (x_39 == 0) +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_40 = lean_ctor_get(x_33, 0); +x_41 = l_Lean_PrettyPrinter_Delaborator_delabMData___closed__5; +x_42 = lean_array_push(x_41, x_40); +x_43 = l_myMacro____x40_Init_Notation___hyg_5739____closed__22; +x_44 = lean_array_push(x_42, x_43); +x_45 = l_Lean_PrettyPrinter_Delaborator_delabMData___closed__3; +x_46 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_46, 0, x_45); +lean_ctor_set(x_46, 1, x_44); +lean_ctor_set(x_33, 0, x_46); +return x_33; +} +else +{ +lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; +x_47 = lean_ctor_get(x_33, 0); +x_48 = lean_ctor_get(x_33, 1); +lean_inc(x_48); +lean_inc(x_47); +lean_dec(x_33); +x_49 = l_Lean_PrettyPrinter_Delaborator_delabMData___closed__5; +x_50 = lean_array_push(x_49, x_47); +x_51 = l_myMacro____x40_Init_Notation___hyg_5739____closed__22; +x_52 = lean_array_push(x_50, x_51); +x_53 = l_Lean_PrettyPrinter_Delaborator_delabMData___closed__3; +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_alloc_ctor(0, 2, 0); +lean_ctor_set(x_55, 0, x_54); +lean_ctor_set(x_55, 1, x_48); +return x_55; +} +} +} +else +{ +uint8_t x_56; +lean_dec(x_30); +x_56 = !lean_is_exclusive(x_33); +if (x_56 == 0) +{ +return x_33; +} +else +{ +lean_object* x_57; lean_object* x_58; lean_object* x_59; +x_57 = lean_ctor_get(x_33, 0); +x_58 = lean_ctor_get(x_33, 1); +lean_inc(x_58); +lean_inc(x_57); +lean_dec(x_33); +x_59 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_59, 0, x_57); +lean_ctor_set(x_59, 1, x_58); +return x_59; +} +} +} +else +{ +lean_object* x_60; 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_dec(x_1); +x_60 = lean_ctor_get(x_20, 0); +lean_inc(x_60); +x_61 = lean_ctor_get(x_20, 1); +lean_inc(x_61); +lean_dec(x_20); +x_62 = lean_ctor_get(x_60, 0); +lean_inc(x_62); +x_63 = lean_ctor_get(x_60, 1); +lean_inc(x_63); +lean_dec(x_60); +x_64 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_64, 0, x_11); +lean_ctor_set(x_64, 1, x_12); +lean_ctor_set(x_64, 2, x_13); +lean_ctor_set(x_64, 3, x_63); +lean_ctor_set(x_64, 4, x_15); +lean_ctor_set(x_64, 5, x_16); +x_65 = l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__2___closed__1; +x_66 = l_Lean_PrettyPrinter_Delaborator_withMDataExpr___rarg(x_65, x_64, x_2, x_3, x_4, x_5, x_61); +if (lean_obj_tag(x_66) == 0) +{ +uint8_t x_67; +x_67 = lean_unbox(x_62); +lean_dec(x_62); +if (x_67 == 0) +{ +lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; +x_68 = lean_ctor_get(x_66, 0); +lean_inc(x_68); +x_69 = lean_ctor_get(x_66, 1); +lean_inc(x_69); +if (lean_is_exclusive(x_66)) { + lean_ctor_release(x_66, 0); + lean_ctor_release(x_66, 1); + x_70 = x_66; +} else { + lean_dec_ref(x_66); + x_70 = lean_box(0); +} +if (lean_is_scalar(x_70)) { + x_71 = lean_alloc_ctor(0, 2, 0); +} else { + x_71 = x_70; +} +lean_ctor_set(x_71, 0, x_68); +lean_ctor_set(x_71, 1, x_69); +return x_71; +} +else +{ +lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; +x_72 = lean_ctor_get(x_66, 0); +lean_inc(x_72); +x_73 = lean_ctor_get(x_66, 1); +lean_inc(x_73); +if (lean_is_exclusive(x_66)) { + lean_ctor_release(x_66, 0); + lean_ctor_release(x_66, 1); + x_74 = x_66; +} else { + lean_dec_ref(x_66); + x_74 = lean_box(0); +} +x_75 = l_Lean_PrettyPrinter_Delaborator_delabMData___closed__5; +x_76 = lean_array_push(x_75, x_72); +x_77 = l_myMacro____x40_Init_Notation___hyg_5739____closed__22; +x_78 = lean_array_push(x_76, x_77); +x_79 = l_Lean_PrettyPrinter_Delaborator_delabMData___closed__3; +x_80 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_80, 0, x_79); +lean_ctor_set(x_80, 1, x_78); +if (lean_is_scalar(x_74)) { + x_81 = lean_alloc_ctor(0, 2, 0); +} else { + x_81 = x_74; +} +lean_ctor_set(x_81, 0, x_80); +lean_ctor_set(x_81, 1, x_73); +return x_81; +} +} +else +{ +lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; +lean_dec(x_62); +x_82 = lean_ctor_get(x_66, 0); +lean_inc(x_82); +x_83 = lean_ctor_get(x_66, 1); +lean_inc(x_83); +if (lean_is_exclusive(x_66)) { + lean_ctor_release(x_66, 0); + lean_ctor_release(x_66, 1); + x_84 = x_66; +} else { + lean_dec_ref(x_66); + x_84 = lean_box(0); +} +if (lean_is_scalar(x_84)) { + x_85 = lean_alloc_ctor(1, 2, 0); +} else { + x_85 = x_84; +} +lean_ctor_set(x_85, 0, x_82); +lean_ctor_set(x_85, 1, x_83); +return x_85; +} +} +} +else +{ +lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; +lean_dec(x_8); +x_86 = lean_ctor_get(x_7, 1); +lean_inc(x_86); +lean_dec(x_7); +x_87 = l_Lean_PrettyPrinter_Delaborator_withAppFn___rarg___closed__1; +x_88 = l_Lean_PrettyPrinter_Delaborator_delabMData___closed__2; +x_89 = lean_panic_fn(x_87, x_88); +x_90 = lean_apply_6(x_89, x_1, x_2, x_3, x_4, x_5, x_86); +return x_90; +} +} +} +lean_object* l_List_forIn_loop___at_Lean_PrettyPrinter_Delaborator_delabMData___spec__3___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +uint8_t x_11; lean_object* x_12; +x_11 = lean_unbox(x_2); +lean_dec(x_2); +x_12 = l_List_forIn_loop___at_Lean_PrettyPrinter_Delaborator_delabMData___spec__3___lambda__1(x_1, x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_1); +return x_12; +} +} +lean_object* l_List_forIn_loop___at_Lean_PrettyPrinter_Delaborator_delabMData___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_List_forIn_loop___at_Lean_PrettyPrinter_Delaborator_delabMData___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +return x_10; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabMData___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabMData), 6, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabMData(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_Delaborator_delabAttribute; +x_3 = l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__10; +x_4 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabMData___closed__1; +x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); +return x_5; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_hasIdent_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +switch (lean_obj_tag(x_1)) { +case 1: +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; +lean_dec(x_4); +lean_dec(x_2); +x_5 = lean_ctor_get(x_1, 0); +lean_inc(x_5); +x_6 = lean_ctor_get(x_1, 1); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_apply_2(x_3, x_5, x_6); +return x_7; +} +case 3: +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; +lean_dec(x_4); +lean_dec(x_3); +x_8 = lean_ctor_get(x_1, 0); +lean_inc(x_8); +x_9 = lean_ctor_get(x_1, 1); +lean_inc(x_9); +x_10 = lean_ctor_get(x_1, 2); +lean_inc(x_10); +x_11 = lean_ctor_get(x_1, 3); +lean_inc(x_11); +lean_dec(x_1); +x_12 = lean_apply_4(x_2, x_8, x_9, x_10, x_11); +return x_12; +} +default: +{ +lean_object* x_13; +lean_dec(x_3); +lean_dec(x_2); +x_13 = lean_apply_1(x_4, x_1); +return x_13; +} +} +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_hasIdent_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_hasIdent_match__1___rarg), 4, 0); +return x_2; +} +} +uint8_t l_Array_anyMUnsafe_any___at_Lean_PrettyPrinter_Delaborator_hasIdent___spec__1(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4) { +_start: +{ +uint8_t x_5; +x_5 = x_3 == x_4; +if (x_5 == 0) +{ +lean_object* x_6; uint8_t x_7; +x_6 = lean_array_uget(x_2, x_3); +x_7 = l_Lean_PrettyPrinter_Delaborator_hasIdent(x_1, x_6); +lean_dec(x_6); +if (x_7 == 0) +{ +size_t x_8; size_t x_9; +x_8 = 1; +x_9 = x_3 + x_8; +x_3 = x_9; +goto _start; +} +else +{ +uint8_t x_11; +x_11 = 1; +return x_11; +} +} +else +{ +uint8_t x_12; +x_12 = 0; +return x_12; +} +} +} +uint8_t l_Lean_PrettyPrinter_Delaborator_hasIdent(lean_object* x_1, lean_object* x_2) { +_start: +{ +switch (lean_obj_tag(x_2)) { +case 1: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; +x_3 = lean_ctor_get(x_2, 1); +x_4 = lean_array_get_size(x_3); +x_5 = lean_unsigned_to_nat(0u); +x_6 = lean_nat_dec_lt(x_5, x_4); +if (x_6 == 0) +{ +uint8_t x_7; +lean_dec(x_4); +x_7 = 0; +return x_7; +} +else +{ +uint8_t x_8; +x_8 = lean_nat_dec_le(x_4, x_4); +if (x_8 == 0) +{ +uint8_t x_9; +lean_dec(x_4); +x_9 = 0; +return x_9; +} +else +{ +size_t x_10; size_t x_11; uint8_t x_12; +x_10 = 0; +x_11 = lean_usize_of_nat(x_4); +lean_dec(x_4); +x_12 = l_Array_anyMUnsafe_any___at_Lean_PrettyPrinter_Delaborator_hasIdent___spec__1(x_1, x_3, x_10, x_11); +return x_12; +} +} +} +case 3: +{ +lean_object* x_13; uint8_t x_14; +x_13 = lean_ctor_get(x_2, 2); +x_14 = lean_name_eq(x_1, x_13); +return x_14; +} +default: +{ +uint8_t x_15; +x_15 = 0; +return x_15; +} +} +} +} +lean_object* l_Array_anyMUnsafe_any___at_Lean_PrettyPrinter_Delaborator_hasIdent___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +size_t x_5; size_t x_6; uint8_t x_7; lean_object* x_8; +x_5 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_6 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_7 = l_Array_anyMUnsafe_any___at_Lean_PrettyPrinter_Delaborator_hasIdent___spec__1(x_1, x_2, x_5, x_6); +lean_dec(x_2); +lean_dec(x_1); +x_8 = lean_box(x_7); +return x_8; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_hasIdent___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; lean_object* x_4; +x_3 = l_Lean_PrettyPrinter_Delaborator_hasIdent(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_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_shouldGroupWithNext_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +switch (lean_obj_tag(x_1)) { +case 6: +{ +lean_object* x_5; +lean_dec(x_3); +x_5 = lean_ctor_get(x_1, 2); +lean_inc(x_5); +if (lean_obj_tag(x_5) == 6) +{ +lean_object* x_6; lean_object* x_7; uint64_t x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; uint64_t x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +lean_dec(x_4); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +x_7 = lean_ctor_get(x_1, 1); +lean_inc(x_7); +x_8 = lean_ctor_get_uint64(x_1, sizeof(void*)*3); +lean_dec(x_1); +x_9 = lean_ctor_get(x_5, 0); +lean_inc(x_9); +x_10 = lean_ctor_get(x_5, 1); +lean_inc(x_10); +x_11 = lean_ctor_get(x_5, 2); +lean_inc(x_11); +x_12 = lean_ctor_get_uint64(x_5, sizeof(void*)*3); +x_13 = lean_box_uint64(x_12); +x_14 = lean_box_uint64(x_8); +x_15 = lean_apply_8(x_2, x_6, x_7, x_5, x_9, x_10, x_11, x_13, x_14); +return x_15; +} +else +{ +lean_object* x_16; +lean_dec(x_5); +lean_dec(x_2); +x_16 = lean_apply_1(x_4, x_1); +return x_16; +} +} +case 7: +{ +lean_object* x_17; +lean_dec(x_2); +x_17 = lean_ctor_get(x_1, 2); +lean_inc(x_17); +if (lean_obj_tag(x_17) == 7) +{ +lean_object* x_18; lean_object* x_19; uint64_t x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint64_t x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +lean_dec(x_4); +x_18 = lean_ctor_get(x_1, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_1, 1); +lean_inc(x_19); +x_20 = lean_ctor_get_uint64(x_1, sizeof(void*)*3); +lean_dec(x_1); +x_21 = lean_ctor_get(x_17, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_17, 1); +lean_inc(x_22); +x_23 = lean_ctor_get(x_17, 2); +lean_inc(x_23); +x_24 = lean_ctor_get_uint64(x_17, sizeof(void*)*3); +x_25 = lean_box_uint64(x_24); +x_26 = lean_box_uint64(x_20); +x_27 = lean_apply_8(x_3, x_18, x_19, x_17, x_21, x_22, x_23, x_25, x_26); +return x_27; +} +else +{ +lean_object* x_28; +lean_dec(x_17); +lean_dec(x_3); +x_28 = lean_apply_1(x_4, x_1); +return x_28; +} +} +default: +{ +lean_object* x_29; +lean_dec(x_3); +lean_dec(x_2); +x_29 = lean_apply_1(x_4, x_1); +return x_29; +} +} +} +} +lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_shouldGroupWithNext_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_shouldGroupWithNext_match__1___rarg), 4, 0); +return x_2; +} +} +static lean_object* _init_l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_shouldGroupWithNext___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_getPPBinderTypes___boxed), 1, 0); +return x_1; +} +} +static lean_object* _init_l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_shouldGroupWithNext___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_shouldGroupWithNext___closed__1; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_getPPOption___boxed), 7, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_shouldGroupWithNext(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_7 = l_Lean_PrettyPrinter_Delaborator_getExpr(x_1, x_2, x_3, x_4, x_5, x_6); +x_8 = lean_ctor_get(x_7, 0); +lean_inc(x_8); +x_9 = lean_ctor_get(x_7, 1); +lean_inc(x_9); +lean_dec(x_7); +x_10 = l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_shouldGroupWithNext___closed__1; +lean_inc(x_1); +x_11 = l_Lean_PrettyPrinter_Delaborator_getPPOption(x_10, x_1, x_2, x_3, x_4, x_5, x_9); +switch (lean_obj_tag(x_8)) { +case 6: +{ +lean_object* x_12; +x_12 = lean_ctor_get(x_8, 2); +lean_inc(x_12); +if (lean_obj_tag(x_12) == 6) +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_13 = lean_ctor_get(x_11, 0); +lean_inc(x_13); +x_14 = lean_ctor_get(x_11, 1); +lean_inc(x_14); +lean_dec(x_11); +x_15 = l_Lean_mkSimpleThunk___closed__1; +x_16 = l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_shouldGroupWithNext___closed__2; +x_17 = l_Lean_PrettyPrinter_Delaborator_withBindingBody___rarg(x_15, x_16, x_1, x_2, x_3, x_4, x_5, x_14); +if (lean_obj_tag(x_17) == 0) +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; uint8_t x_22; uint8_t x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; uint8_t x_27; uint8_t x_28; uint8_t x_29; uint8_t x_30; uint8_t x_31; +x_18 = lean_ctor_get(x_17, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); +if (lean_is_exclusive(x_17)) { + lean_ctor_release(x_17, 0); + lean_ctor_release(x_17, 1); + x_20 = x_17; +} else { + lean_dec_ref(x_17); + x_20 = lean_box(0); +} +x_21 = l_Lean_Expr_binderInfo(x_8); +x_22 = l_Lean_Expr_binderInfo(x_12); +x_23 = l_Lean_BinderInfo_beq(x_21, x_22); +x_24 = l_Lean_Expr_bindingDomain_x21(x_8); +lean_dec(x_8); +x_25 = l_Lean_Expr_bindingDomain_x21(x_12); +lean_dec(x_12); +x_26 = lean_expr_eqv(x_24, x_25); +lean_dec(x_25); +lean_dec(x_24); +x_27 = 3; +x_28 = l_Lean_BinderInfo_beq(x_22, x_27); +x_29 = 0; +x_30 = l_Lean_BinderInfo_beq(x_22, x_29); +if (x_23 == 0) +{ +uint8_t x_55; +x_55 = 0; +x_31 = x_55; +goto block_54; +} +else +{ +if (x_28 == 0) +{ +if (x_26 == 0) +{ +uint8_t x_56; +x_56 = 0; +x_31 = x_56; +goto block_54; +} +else +{ +uint8_t x_57; +x_57 = 1; +x_31 = x_57; +goto block_54; +} +} +else +{ +uint8_t x_58; +x_58 = 0; +x_31 = x_58; +goto block_54; +} +} +block_54: +{ +uint8_t x_32; uint8_t x_47; +x_47 = lean_unbox(x_13); +lean_dec(x_13); +if (x_47 == 0) +{ +uint8_t x_48; +x_48 = lean_unbox(x_18); +if (x_48 == 0) +{ +uint8_t x_49; +x_49 = 1; +x_32 = x_49; +goto block_46; +} +else +{ +uint8_t x_50; +x_50 = 0; +x_32 = x_50; +goto block_46; +} +} +else +{ +uint8_t x_51; +x_51 = lean_unbox(x_18); +if (x_51 == 0) +{ +uint8_t x_52; +x_52 = 0; +x_32 = x_52; +goto block_46; +} +else +{ +uint8_t x_53; +x_53 = 1; +x_32 = x_53; +goto block_46; +} +} +block_46: +{ +if (x_31 == 0) +{ +uint8_t x_33; lean_object* x_34; lean_object* x_35; +lean_dec(x_18); +x_33 = 0; +x_34 = lean_box(x_33); +if (lean_is_scalar(x_20)) { + x_35 = lean_alloc_ctor(0, 2, 0); +} else { + x_35 = x_20; +} +lean_ctor_set(x_35, 0, x_34); +lean_ctor_set(x_35, 1, x_19); +return x_35; +} +else +{ +if (x_30 == 0) +{ +lean_dec(x_18); +if (x_32 == 0) +{ +uint8_t x_36; lean_object* x_37; lean_object* x_38; +x_36 = 0; +x_37 = lean_box(x_36); +if (lean_is_scalar(x_20)) { + x_38 = lean_alloc_ctor(0, 2, 0); +} else { + x_38 = x_20; +} +lean_ctor_set(x_38, 0, x_37); +lean_ctor_set(x_38, 1, x_19); +return x_38; +} +else +{ +uint8_t x_39; lean_object* x_40; lean_object* x_41; +x_39 = 1; +x_40 = lean_box(x_39); +if (lean_is_scalar(x_20)) { + x_41 = lean_alloc_ctor(0, 2, 0); +} else { + x_41 = x_20; +} +lean_ctor_set(x_41, 0, x_40); +lean_ctor_set(x_41, 1, x_19); +return x_41; +} +} +else +{ +if (x_32 == 0) +{ +uint8_t x_42; lean_object* x_43; lean_object* x_44; +lean_dec(x_18); +x_42 = 0; +x_43 = lean_box(x_42); +if (lean_is_scalar(x_20)) { + x_44 = lean_alloc_ctor(0, 2, 0); +} else { + x_44 = x_20; +} +lean_ctor_set(x_44, 0, x_43); +lean_ctor_set(x_44, 1, x_19); +return x_44; +} +else +{ +lean_object* x_45; +if (lean_is_scalar(x_20)) { + x_45 = lean_alloc_ctor(0, 2, 0); +} else { + x_45 = x_20; +} +lean_ctor_set(x_45, 0, x_18); +lean_ctor_set(x_45, 1, x_19); +return x_45; +} +} +} +} +} +} +else +{ +uint8_t x_59; +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_8); +x_59 = !lean_is_exclusive(x_17); +if (x_59 == 0) +{ +return x_17; +} +else +{ +lean_object* x_60; lean_object* x_61; lean_object* x_62; +x_60 = lean_ctor_get(x_17, 0); +x_61 = lean_ctor_get(x_17, 1); +lean_inc(x_61); +lean_inc(x_60); +lean_dec(x_17); +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; +} +} +} +else +{ +uint8_t x_63; +lean_dec(x_12); +lean_dec(x_8); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_63 = !lean_is_exclusive(x_11); +if (x_63 == 0) +{ +lean_object* x_64; uint8_t x_65; lean_object* x_66; +x_64 = lean_ctor_get(x_11, 0); +lean_dec(x_64); +x_65 = 0; +x_66 = lean_box(x_65); +lean_ctor_set(x_11, 0, x_66); +return x_11; +} +else +{ +lean_object* x_67; uint8_t x_68; lean_object* x_69; lean_object* x_70; +x_67 = lean_ctor_get(x_11, 1); +lean_inc(x_67); +lean_dec(x_11); +x_68 = 0; +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; +} +} +} +case 7: +{ +lean_object* x_71; +x_71 = lean_ctor_get(x_8, 2); +lean_inc(x_71); +if (lean_obj_tag(x_71) == 7) +{ +lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; +x_72 = lean_ctor_get(x_11, 0); +lean_inc(x_72); +x_73 = lean_ctor_get(x_11, 1); +lean_inc(x_73); +lean_dec(x_11); +x_74 = l_Lean_mkSimpleThunk___closed__1; +x_75 = l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_shouldGroupWithNext___closed__2; +x_76 = l_Lean_PrettyPrinter_Delaborator_withBindingBody___rarg(x_74, x_75, x_1, x_2, x_3, x_4, x_5, x_73); +if (lean_obj_tag(x_76) == 0) +{ +lean_object* x_77; lean_object* x_78; lean_object* x_79; uint8_t x_80; uint8_t x_81; uint8_t x_82; lean_object* x_83; lean_object* x_84; uint8_t x_85; uint8_t x_86; uint8_t x_87; uint8_t x_88; uint8_t x_89; uint8_t x_90; +x_77 = lean_ctor_get(x_76, 0); +lean_inc(x_77); +x_78 = lean_ctor_get(x_76, 1); +lean_inc(x_78); +if (lean_is_exclusive(x_76)) { + lean_ctor_release(x_76, 0); + lean_ctor_release(x_76, 1); + x_79 = x_76; +} else { + lean_dec_ref(x_76); + x_79 = lean_box(0); +} +x_80 = l_Lean_Expr_binderInfo(x_8); +x_81 = l_Lean_Expr_binderInfo(x_71); +x_82 = l_Lean_BinderInfo_beq(x_80, x_81); +x_83 = l_Lean_Expr_bindingDomain_x21(x_8); +lean_dec(x_8); +x_84 = l_Lean_Expr_bindingDomain_x21(x_71); +lean_dec(x_71); +x_85 = lean_expr_eqv(x_83, x_84); +lean_dec(x_84); +lean_dec(x_83); +x_86 = 3; +x_87 = l_Lean_BinderInfo_beq(x_81, x_86); +x_88 = 0; +x_89 = l_Lean_BinderInfo_beq(x_81, x_88); +if (x_82 == 0) +{ +uint8_t x_114; +x_114 = 0; +x_90 = x_114; +goto block_113; +} +else +{ +if (x_87 == 0) +{ +if (x_85 == 0) +{ +uint8_t x_115; +x_115 = 0; +x_90 = x_115; +goto block_113; +} +else +{ +uint8_t x_116; +x_116 = 1; +x_90 = x_116; +goto block_113; +} +} +else +{ +uint8_t x_117; +x_117 = 0; +x_90 = x_117; +goto block_113; +} +} +block_113: +{ +uint8_t x_91; uint8_t x_106; +x_106 = lean_unbox(x_72); +lean_dec(x_72); +if (x_106 == 0) +{ +uint8_t x_107; +x_107 = lean_unbox(x_77); +if (x_107 == 0) +{ +uint8_t x_108; +x_108 = 1; +x_91 = x_108; +goto block_105; +} +else +{ +uint8_t x_109; +x_109 = 0; +x_91 = x_109; +goto block_105; +} +} +else +{ +uint8_t x_110; +x_110 = lean_unbox(x_77); +if (x_110 == 0) +{ +uint8_t x_111; +x_111 = 0; +x_91 = x_111; +goto block_105; +} +else +{ +uint8_t x_112; +x_112 = 1; +x_91 = x_112; +goto block_105; +} +} +block_105: +{ +if (x_90 == 0) +{ +uint8_t x_92; lean_object* x_93; lean_object* x_94; +lean_dec(x_77); +x_92 = 0; +x_93 = lean_box(x_92); +if (lean_is_scalar(x_79)) { + x_94 = lean_alloc_ctor(0, 2, 0); +} else { + x_94 = x_79; +} +lean_ctor_set(x_94, 0, x_93); +lean_ctor_set(x_94, 1, x_78); +return x_94; +} +else +{ +if (x_89 == 0) +{ +lean_dec(x_77); +if (x_91 == 0) +{ +uint8_t x_95; lean_object* x_96; lean_object* x_97; +x_95 = 0; +x_96 = lean_box(x_95); +if (lean_is_scalar(x_79)) { + x_97 = lean_alloc_ctor(0, 2, 0); +} else { + x_97 = x_79; +} +lean_ctor_set(x_97, 0, x_96); +lean_ctor_set(x_97, 1, x_78); +return x_97; +} +else +{ +uint8_t x_98; lean_object* x_99; lean_object* x_100; +x_98 = 1; +x_99 = lean_box(x_98); +if (lean_is_scalar(x_79)) { + x_100 = lean_alloc_ctor(0, 2, 0); +} else { + x_100 = x_79; +} +lean_ctor_set(x_100, 0, x_99); +lean_ctor_set(x_100, 1, x_78); +return x_100; +} +} +else +{ +if (x_91 == 0) +{ +uint8_t x_101; lean_object* x_102; lean_object* x_103; +lean_dec(x_77); +x_101 = 0; +x_102 = lean_box(x_101); +if (lean_is_scalar(x_79)) { + x_103 = lean_alloc_ctor(0, 2, 0); +} else { + x_103 = x_79; +} +lean_ctor_set(x_103, 0, x_102); +lean_ctor_set(x_103, 1, x_78); +return x_103; +} +else +{ +lean_object* x_104; +if (lean_is_scalar(x_79)) { + x_104 = lean_alloc_ctor(0, 2, 0); +} else { + x_104 = x_79; +} +lean_ctor_set(x_104, 0, x_77); +lean_ctor_set(x_104, 1, x_78); +return x_104; +} +} +} +} +} +} +else +{ +uint8_t x_118; +lean_dec(x_72); +lean_dec(x_71); +lean_dec(x_8); +x_118 = !lean_is_exclusive(x_76); +if (x_118 == 0) +{ +return x_76; +} +else +{ +lean_object* x_119; lean_object* x_120; lean_object* x_121; +x_119 = lean_ctor_get(x_76, 0); +x_120 = lean_ctor_get(x_76, 1); +lean_inc(x_120); +lean_inc(x_119); +lean_dec(x_76); +x_121 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_121, 0, x_119); +lean_ctor_set(x_121, 1, x_120); +return x_121; +} +} +} +else +{ +uint8_t x_122; +lean_dec(x_71); +lean_dec(x_8); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_122 = !lean_is_exclusive(x_11); +if (x_122 == 0) +{ +lean_object* x_123; uint8_t x_124; lean_object* x_125; +x_123 = lean_ctor_get(x_11, 0); +lean_dec(x_123); +x_124 = 0; +x_125 = lean_box(x_124); +lean_ctor_set(x_11, 0, x_125); +return x_11; +} +else +{ +lean_object* x_126; uint8_t x_127; lean_object* x_128; lean_object* x_129; +x_126 = lean_ctor_get(x_11, 1); +lean_inc(x_126); +lean_dec(x_11); +x_127 = 0; +x_128 = lean_box(x_127); +x_129 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_129, 0, x_128); +lean_ctor_set(x_129, 1, x_126); +return x_129; +} +} +} +default: +{ +uint8_t x_130; +lean_dec(x_8); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_130 = !lean_is_exclusive(x_11); +if (x_130 == 0) +{ +lean_object* x_131; uint8_t x_132; lean_object* x_133; +x_131 = lean_ctor_get(x_11, 0); +lean_dec(x_131); +x_132 = 0; +x_133 = lean_box(x_132); +lean_ctor_set(x_11, 0, x_133); +return x_11; +} +else +{ +lean_object* x_134; uint8_t x_135; lean_object* x_136; lean_object* x_137; +x_134 = lean_ctor_get(x_11, 1); +lean_inc(x_134); +lean_dec(x_11); +x_135 = 0; +x_136 = lean_box(x_135); +x_137 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_137, 0, x_136); +lean_ctor_set(x_137, 1, x_134); +return x_137; +} +} +} +} +} +lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabBinders_match__1___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_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabBinders_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabBinders_match__1___rarg), 2, 0); +return x_2; +} +} +lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabBinders_match__2___rarg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_apply_1(x_2, x_1); +return x_3; +} +} +lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabBinders_match__2(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabBinders_match__2___rarg), 2, 0); +return x_2; +} +} +lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabBinders___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l_Lean_PrettyPrinter_Delaborator_delab(x_2, x_3, x_4, x_5, x_6, x_7); +if (lean_obj_tag(x_8) == 0) +{ +uint8_t x_9; +x_9 = !lean_is_exclusive(x_8); +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; +x_10 = lean_ctor_get(x_8, 0); +x_11 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_11, 1, x_1); +lean_ctor_set(x_8, 0, x_11); +return x_8; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_12 = lean_ctor_get(x_8, 0); +x_13 = lean_ctor_get(x_8, 1); +lean_inc(x_13); +lean_inc(x_12); +lean_dec(x_8); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_12); +lean_ctor_set(x_14, 1, x_1); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_13); +return x_15; +} +} +else +{ +uint8_t x_16; +lean_dec(x_1); +x_16 = !lean_is_exclusive(x_8); +if (x_16 == 0) +{ +return x_8; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_17 = lean_ctor_get(x_8, 0); +x_18 = lean_ctor_get(x_8, 1); +lean_inc(x_18); +lean_inc(x_17); +lean_dec(x_8); +x_19 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_19, 0, x_17); +lean_ctor_set(x_19, 1, x_18); +return x_19; +} +} +} +} +lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabBinders___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; +x_10 = lean_array_push(x_1, x_3); +x_11 = l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabBinders(x_2, x_10, x_4, x_5, x_6, x_7, x_8, x_9); +return x_11; +} +} +static lean_object* _init_l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabBinders___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabBinders___lambda__1), 7, 0); +return x_1; +} +} +lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabBinders(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +x_9 = l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_shouldGroupWithNext(x_3, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_9) == 0) +{ +lean_object* x_10; uint8_t x_11; +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +x_11 = lean_unbox(x_10); +lean_dec(x_10); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_12 = lean_ctor_get(x_9, 1); +lean_inc(x_12); +lean_dec(x_9); +x_13 = l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabBinders___closed__1; +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +x_14 = l_Lean_PrettyPrinter_Delaborator_withBindingBodyUnusedName___rarg(x_13, x_3, x_4, x_5, x_6, x_7, x_12); +if (lean_obj_tag(x_14) == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_14, 1); +lean_inc(x_16); +lean_dec(x_14); +x_17 = lean_ctor_get(x_15, 0); +lean_inc(x_17); +x_18 = lean_ctor_get(x_15, 1); +lean_inc(x_18); +lean_dec(x_15); +x_19 = lean_array_push(x_2, x_18); +x_20 = lean_apply_8(x_1, x_19, x_17, x_3, x_4, x_5, x_6, x_7, x_16); +return x_20; +} +else +{ +uint8_t x_21; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_21 = !lean_is_exclusive(x_14); +if (x_21 == 0) +{ +return x_14; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_14, 0); +x_23 = lean_ctor_get(x_14, 1); +lean_inc(x_23); +lean_inc(x_22); +lean_dec(x_14); +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_22); +lean_ctor_set(x_24, 1, x_23); +return x_24; +} +} +} +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_25 = lean_ctor_get(x_9, 1); +lean_inc(x_25); +lean_dec(x_9); +x_26 = lean_alloc_closure((void*)(l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabBinders___lambda__2), 9, 2); +lean_closure_set(x_26, 0, x_2); +lean_closure_set(x_26, 1, x_1); +x_27 = l_Lean_PrettyPrinter_Delaborator_withBindingBodyUnusedName___rarg(x_26, x_3, x_4, x_5, x_6, x_7, x_25); +return x_27; +} +} +else +{ +uint8_t x_28; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_28 = !lean_is_exclusive(x_9); +if (x_28 == 0) +{ +return x_9; +} +else +{ +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_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; +} +} +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabLam_match__1___rarg(uint8_t x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = lean_box(x_1); +switch (lean_obj_tag(x_9)) { +case 0: +{ +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +if (x_2 == 0) +{ +lean_object* x_10; lean_object* x_11; +lean_dec(x_3); +x_10 = lean_box(0); +x_11 = lean_apply_1(x_4, x_10); +return x_11; +} +else +{ +lean_object* x_12; lean_object* x_13; +lean_dec(x_4); +x_12 = lean_box(0); +x_13 = lean_apply_1(x_3, x_12); +return x_13; +} +} +case 1: +{ +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_4); +lean_dec(x_3); +if (x_2 == 0) +{ +lean_object* x_14; lean_object* x_15; +lean_dec(x_5); +x_14 = lean_box(0); +x_15 = lean_apply_1(x_6, x_14); +return x_15; +} +else +{ +lean_object* x_16; lean_object* x_17; +lean_dec(x_6); +x_16 = lean_box(0); +x_17 = lean_apply_1(x_5, x_16); +return x_17; +} +} +case 3: +{ +lean_object* x_18; lean_object* x_19; +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_18 = lean_box(x_2); +x_19 = lean_apply_1(x_7, x_18); +return x_19; +} +default: +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_20 = lean_box(x_1); +x_21 = lean_box(x_2); +x_22 = lean_apply_2(x_8, x_20, x_21); +return x_22; +} +} +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabLam_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabLam_match__1___rarg___boxed), 8, 0); +return x_2; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabLam_match__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +uint8_t x_9; uint8_t x_10; lean_object* x_11; +x_9 = lean_unbox(x_1); +lean_dec(x_1); +x_10 = lean_unbox(x_2); +lean_dec(x_2); +x_11 = l_Lean_PrettyPrinter_Delaborator_delabLam_match__1___rarg(x_9, x_10, x_3, x_4, x_5, x_6, x_7, x_8); +return x_11; +} +} +uint8_t l_Array_anyMUnsafe_any___at_Lean_PrettyPrinter_Delaborator_delabLam___spec__1(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4) { +_start: +{ +uint8_t x_5; +x_5 = x_3 == x_4; +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; uint8_t x_8; +x_6 = lean_array_uget(x_2, x_3); +x_7 = l_Lean_Syntax_getId(x_6); +lean_dec(x_6); +x_8 = l_Lean_PrettyPrinter_Delaborator_hasIdent(x_7, x_1); +lean_dec(x_7); +if (x_8 == 0) +{ +size_t x_9; size_t x_10; +x_9 = 1; +x_10 = x_3 + x_9; +x_3 = x_10; +goto _start; +} +else +{ +uint8_t x_12; +x_12 = 1; +return x_12; +} +} +else +{ +uint8_t x_13; +x_13 = 0; +return x_13; +} +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabLam___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; uint8_t x_10; +x_9 = l_myMacro____x40_Init_Notation___hyg_5739____closed__13; +lean_inc(x_1); +x_10 = l_Lean_Syntax_isOfKind(x_1, x_9); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; 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_11 = l_Array_empty___closed__1; +x_12 = lean_array_push(x_11, x_2); +x_13 = l_Lean_nullKind___closed__2; +x_14 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_14, 0, x_13); +lean_ctor_set(x_14, 1, x_12); +x_15 = lean_array_push(x_11, x_14); +x_16 = l_myMacro____x40_Init_Notation___hyg_5739____closed__19; +x_17 = lean_array_push(x_15, x_16); +x_18 = lean_array_push(x_17, x_1); +x_19 = l_myMacro____x40_Init_Notation___hyg_5739____closed__17; +x_20 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_18); +x_21 = l_myMacro____x40_Init_Notation___hyg_5739____closed__15; +x_22 = lean_array_push(x_21, x_20); +x_23 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_23, 0, x_9); +lean_ctor_set(x_23, 1, x_22); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_24, 1, x_8); +return x_24; +} +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; +x_25 = l_Lean_Syntax_getArgs(x_1); +x_26 = lean_array_get_size(x_25); +lean_dec(x_25); +x_27 = lean_unsigned_to_nat(2u); +x_28 = lean_nat_dec_eq(x_26, x_27); +lean_dec(x_26); +if (x_28 == 0) +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_29 = l_Array_empty___closed__1; +x_30 = lean_array_push(x_29, x_2); +x_31 = l_Lean_nullKind___closed__2; +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_29, x_32); +x_34 = l_myMacro____x40_Init_Notation___hyg_5739____closed__19; +x_35 = lean_array_push(x_33, x_34); +x_36 = lean_array_push(x_35, x_1); +x_37 = l_myMacro____x40_Init_Notation___hyg_5739____closed__17; +x_38 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_38, 0, x_37); +lean_ctor_set(x_38, 1, x_36); +x_39 = l_myMacro____x40_Init_Notation___hyg_5739____closed__15; +x_40 = lean_array_push(x_39, x_38); +x_41 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_41, 0, x_9); +lean_ctor_set(x_41, 1, x_40); +x_42 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_42, 0, x_41); +lean_ctor_set(x_42, 1, x_8); +return x_42; +} +else +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_61; uint8_t x_62; +x_43 = lean_unsigned_to_nat(1u); +x_44 = l_Lean_Syntax_getArg(x_1, x_43); +x_61 = l_myMacro____x40_Init_Notation___hyg_5739____closed__17; +lean_inc(x_44); +x_62 = l_Lean_Syntax_isOfKind(x_44, x_61); +if (x_62 == 0) +{ +lean_object* x_63; +lean_dec(x_44); +x_63 = lean_box(0); +x_45 = x_63; +goto block_60; +} +else +{ +lean_object* x_64; lean_object* x_65; lean_object* x_66; uint8_t x_67; +x_64 = l_Lean_Syntax_getArgs(x_44); +x_65 = lean_array_get_size(x_64); +lean_dec(x_64); +x_66 = lean_unsigned_to_nat(3u); +x_67 = lean_nat_dec_eq(x_65, x_66); +lean_dec(x_65); +if (x_67 == 0) +{ +lean_object* x_68; +lean_dec(x_44); +x_68 = lean_box(0); +x_45 = x_68; +goto block_60; +} +else +{ +lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; +lean_dec(x_1); +x_69 = lean_unsigned_to_nat(0u); +x_70 = l_Lean_Syntax_getArg(x_44, x_69); +x_71 = l_Lean_Syntax_getArg(x_44, x_27); +lean_dec(x_44); +x_72 = l_Lean_Syntax_getArgs(x_70); +lean_dec(x_70); +x_73 = l_Array_empty___closed__1; +x_74 = lean_array_push(x_73, x_2); +x_75 = l_Array_appendCore___rarg(x_74, x_72); +lean_dec(x_72); +x_76 = l_Lean_nullKind___closed__2; +x_77 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_77, 0, x_76); +lean_ctor_set(x_77, 1, x_75); +x_78 = lean_array_push(x_73, x_77); +x_79 = l_myMacro____x40_Init_Notation___hyg_5739____closed__19; +x_80 = lean_array_push(x_78, x_79); +x_81 = lean_array_push(x_80, x_71); +x_82 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_82, 0, x_61); +lean_ctor_set(x_82, 1, x_81); +x_83 = l_myMacro____x40_Init_Notation___hyg_5739____closed__15; +x_84 = lean_array_push(x_83, x_82); +x_85 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_85, 0, x_9); +lean_ctor_set(x_85, 1, 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_8); +return x_86; +} +} +block_60: +{ +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_dec(x_45); +x_46 = l_Array_empty___closed__1; +x_47 = lean_array_push(x_46, x_2); +x_48 = l_Lean_nullKind___closed__2; +x_49 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_49, 0, x_48); +lean_ctor_set(x_49, 1, x_47); +x_50 = lean_array_push(x_46, x_49); +x_51 = l_myMacro____x40_Init_Notation___hyg_5739____closed__19; +x_52 = lean_array_push(x_50, x_51); +x_53 = lean_array_push(x_52, x_1); +x_54 = l_myMacro____x40_Init_Notation___hyg_5739____closed__17; +x_55 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_55, 0, x_54); +lean_ctor_set(x_55, 1, x_53); +x_56 = l_myMacro____x40_Init_Notation___hyg_5739____closed__15; +x_57 = lean_array_push(x_56, x_55); +x_58 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_58, 0, x_9); +lean_ctor_set(x_58, 1, x_57); +x_59 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_59, 0, x_58); +lean_ctor_set(x_59, 1, x_8); +return x_59; +} +} +} +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabLam___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; 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; +x_10 = l_Array_empty___closed__1; +x_11 = lean_array_push(x_10, x_3); +x_12 = l_myMacro____x40_Init_Notation___hyg_8168____closed__11; +x_13 = lean_array_push(x_12, x_1); +x_14 = l_myMacro____x40_Init_Notation___hyg_8168____closed__8; +x_15 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_13); +x_16 = lean_array_push(x_10, x_15); +x_17 = l_Lean_nullKind___closed__2; +x_18 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_16); +x_19 = lean_array_push(x_11, x_18); +x_20 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_20, 0, x_17); +lean_ctor_set(x_20, 1, x_19); +x_21 = l_myMacro____x40_Init_Notation___hyg_5739____closed__11; +x_22 = lean_array_push(x_21, x_20); +x_23 = l_myMacro____x40_Init_Notation___hyg_5739____closed__22; +x_24 = lean_array_push(x_22, x_23); +x_25 = l_myMacro____x40_Init_Notation___hyg_5739____closed__8; +x_26 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_26, 1, x_24); +x_27 = lean_apply_7(x_2, x_26, x_4, x_5, x_6, x_7, x_8, x_9); +return x_27; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabLam___lambda__3___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_myMacro____x40_Init_Notation___hyg_38____closed__6; +x_2 = l_Array_anyMUnsafe_any___at___private_Lean_Elab_Term_0__Lean_Elab_Term_isLambdaWithImplicit___spec__1___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabLam___lambda__3___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Lean.PrettyPrinter.Delaborator.delabLam"); +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabLam___lambda__3___closed__3() { +_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_PrettyPrinter_Delaborator_delabFVar___closed__1; +x_2 = l_Lean_PrettyPrinter_Delaborator_delabLam___lambda__3___closed__2; +x_3 = lean_unsigned_to_nat(309u); +x_4 = lean_unsigned_to_nat(44u); +x_5 = l_Lean_Syntax_strLitToAtom___closed__3; +x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); +return x_6; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabLam___lambda__3___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_myMacro____x40_Init_Notation___hyg_38____closed__6; +x_2 = l_Array_anyMUnsafe_any___at___private_Lean_Elab_Term_0__Lean_Elab_Term_isLambdaWithImplicit___spec__1___closed__2; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabLam___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_9 = l_Lean_PrettyPrinter_Delaborator_getExpr(x_3, x_4, x_5, x_6, x_7, x_8); +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_9, 1); +lean_inc(x_11); +lean_dec(x_9); +x_12 = l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__2___closed__1; +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +x_13 = l_Lean_PrettyPrinter_Delaborator_withBindingDomain___rarg(x_12, x_3, x_4, x_5, x_6, x_7, x_11); +if (lean_obj_tag(x_13) == 0) +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_13, 1); +lean_inc(x_15); +lean_dec(x_13); +x_16 = l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_shouldGroupWithNext___closed__1; +lean_inc(x_3); +x_17 = l_Lean_PrettyPrinter_Delaborator_getPPOption(x_16, x_3, x_4, x_5, x_6, x_7, x_15); +x_18 = lean_ctor_get(x_17, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); +lean_dec(x_17); +x_20 = l_Lean_PrettyPrinter_Delaborator_delabAppImplicit___closed__7; +lean_inc(x_3); +x_21 = l_Lean_PrettyPrinter_Delaborator_getPPOption(x_20, x_3, x_4, x_5, x_6, x_7, x_19); +x_22 = !lean_is_exclusive(x_21); +if (x_22 == 0) +{ +lean_object* x_23; lean_object* x_24; uint8_t x_25; uint8_t x_26; uint8_t x_27; uint8_t x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; lean_object* x_32; uint8_t x_111; +x_23 = lean_ctor_get(x_21, 0); +x_24 = lean_ctor_get(x_21, 1); +x_25 = l_Lean_Expr_binderInfo(x_10); +lean_dec(x_10); +x_26 = 0; +x_27 = l_Lean_BinderInfo_beq(x_25, x_26); +lean_inc(x_2); +x_28 = l_Lean_Elab_Term_blockImplicitLambda(x_2); +x_29 = lean_array_get_size(x_1); +x_30 = lean_unsigned_to_nat(0u); +x_31 = lean_nat_dec_lt(x_30, x_29); +x_111 = lean_unbox(x_23); +lean_dec(x_23); +if (x_111 == 0) +{ +if (x_27 == 0) +{ +if (x_31 == 0) +{ +if (x_28 == 0) +{ +lean_dec(x_29); +lean_dec(x_18); +lean_dec(x_14); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +lean_ctor_set(x_21, 0, x_2); +return x_21; +} +else +{ +lean_object* x_112; +lean_free_object(x_21); +x_112 = lean_box(0); +x_32 = x_112; +goto block_110; +} +} +else +{ +uint8_t x_113; +x_113 = lean_nat_dec_le(x_29, x_29); +if (x_113 == 0) +{ +if (x_28 == 0) +{ +lean_dec(x_29); +lean_dec(x_18); +lean_dec(x_14); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +lean_ctor_set(x_21, 0, x_2); +return x_21; +} +else +{ +lean_object* x_114; +lean_free_object(x_21); +x_114 = lean_box(0); +x_32 = x_114; +goto block_110; +} +} +else +{ +if (x_28 == 0) +{ +size_t x_115; size_t x_116; uint8_t x_117; +x_115 = 0; +x_116 = lean_usize_of_nat(x_29); +x_117 = l_Array_anyMUnsafe_any___at_Lean_PrettyPrinter_Delaborator_delabLam___spec__1(x_2, x_1, x_115, x_116); +if (x_117 == 0) +{ +lean_dec(x_29); +lean_dec(x_18); +lean_dec(x_14); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +lean_ctor_set(x_21, 0, x_2); +return x_21; +} +else +{ +lean_object* x_118; +lean_free_object(x_21); +x_118 = lean_box(0); +x_32 = x_118; +goto block_110; +} +} +else +{ +lean_object* x_119; +lean_free_object(x_21); +x_119 = lean_box(0); +x_32 = x_119; +goto block_110; +} +} +} +} +else +{ +lean_free_object(x_21); +if (x_31 == 0) +{ +lean_object* x_120; +x_120 = lean_box(0); +x_32 = x_120; +goto block_110; +} +else +{ +lean_object* x_121; +x_121 = lean_box(0); +x_32 = x_121; +goto block_110; +} +} +} +else +{ +lean_free_object(x_21); +if (x_31 == 0) +{ +lean_object* x_122; +x_122 = lean_box(0); +x_32 = x_122; +goto block_110; +} +else +{ +lean_object* x_123; +x_123 = lean_box(0); +x_32 = x_123; +goto block_110; +} +} +block_110: +{ +lean_object* x_33; +lean_dec(x_32); +x_33 = lean_box(x_25); +switch (lean_obj_tag(x_33)) { +case 0: +{ +uint8_t x_34; +x_34 = lean_unbox(x_18); +lean_dec(x_18); +if (x_34 == 0) +{ +lean_object* x_35; lean_object* x_36; +lean_dec(x_29); +lean_dec(x_14); +x_35 = l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(x_1); +lean_dec(x_1); +x_36 = l_Lean_PrettyPrinter_Delaborator_delabLam___lambda__1(x_2, x_35, x_3, x_4, x_5, x_6, x_7, x_24); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_36; +} +else +{ +lean_object* x_37; lean_object* x_38; uint8_t x_39; +x_37 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabLam___lambda__1___boxed), 8, 1); +lean_closure_set(x_37, 0, x_2); +x_38 = lean_unsigned_to_nat(1u); +x_39 = lean_nat_dec_lt(x_38, x_29); +lean_dec(x_29); +if (x_39 == 0) +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_40 = l_Lean_instInhabitedSyntax; +x_41 = lean_array_get(x_40, x_1, x_30); +lean_dec(x_1); +x_42 = l_Lean_PrettyPrinter_Delaborator_delabLam___lambda__2(x_14, x_37, x_41, x_3, x_4, x_5, x_6, x_7, x_24); +return x_42; +} +else +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; +x_43 = l_Lean_instInhabitedSyntax; +x_44 = lean_array_get(x_43, x_1, x_30); +x_45 = l_Array_empty___closed__1; +x_46 = lean_array_push(x_45, x_44); +x_47 = l_Array_eraseIdx___rarg(x_1, x_30); +x_48 = l_Array_appendCore___rarg(x_45, x_47); +lean_dec(x_47); +x_49 = l_Lean_nullKind___closed__2; +x_50 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_50, 0, x_49); +lean_ctor_set(x_50, 1, x_48); +x_51 = lean_array_push(x_46, x_50); +x_52 = l_myMacro____x40_Init_Notation___hyg_38____closed__8; +x_53 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_53, 0, x_52); +lean_ctor_set(x_53, 1, x_51); +x_54 = l_Lean_PrettyPrinter_Delaborator_delabLam___lambda__2(x_14, x_37, x_53, x_3, x_4, x_5, x_6, x_7, x_24); +return x_54; +} +} +} +case 1: +{ +uint8_t x_55; +lean_dec(x_29); +x_55 = lean_unbox(x_18); +lean_dec(x_18); +if (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; 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_dec(x_14); +x_56 = l_Array_empty___closed__1; +x_57 = l_Array_appendCore___rarg(x_56, x_1); +lean_dec(x_1); +x_58 = l_Lean_nullKind___closed__2; +x_59 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_59, 0, x_58); +lean_ctor_set(x_59, 1, x_57); +x_60 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__4; +x_61 = lean_array_push(x_60, x_59); +x_62 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; +x_63 = lean_array_push(x_61, x_62); +x_64 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__21; +x_65 = lean_array_push(x_63, x_64); +x_66 = l_Lean_PrettyPrinter_Delaborator_delabLam___lambda__3___closed__1; +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 = l_Lean_PrettyPrinter_Delaborator_delabLam___lambda__1(x_2, x_67, x_3, x_4, x_5, x_6, x_7, x_24); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_68; +} +else +{ +lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; +x_69 = l_Array_empty___closed__1; +x_70 = l_Array_appendCore___rarg(x_69, x_1); +lean_dec(x_1); +x_71 = l_Lean_nullKind___closed__2; +x_72 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_72, 0, x_71); +lean_ctor_set(x_72, 1, x_70); +x_73 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__4; +x_74 = lean_array_push(x_73, x_72); +x_75 = l_myMacro____x40_Init_Notation___hyg_8168____closed__11; +x_76 = lean_array_push(x_75, x_14); +x_77 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_77, 0, x_71); +lean_ctor_set(x_77, 1, x_76); +x_78 = lean_array_push(x_74, x_77); +x_79 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__21; +x_80 = lean_array_push(x_78, x_79); +x_81 = l_Lean_PrettyPrinter_Delaborator_delabLam___lambda__3___closed__1; +x_82 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_82, 0, x_81); +lean_ctor_set(x_82, 1, x_80); +x_83 = l_Lean_PrettyPrinter_Delaborator_delabLam___lambda__1(x_2, x_82, x_3, x_4, x_5, x_6, x_7, x_24); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_83; +} +} +case 3: +{ +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_dec(x_29); +lean_dec(x_18); +x_84 = l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(x_1); +lean_dec(x_1); +x_85 = l_Array_empty___closed__1; +x_86 = lean_array_push(x_85, x_84); +x_87 = l_myMacro____x40_Init_Notation___hyg_8168____closed__10; +x_88 = lean_array_push(x_86, x_87); +x_89 = l_Lean_nullKind___closed__2; +x_90 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_90, 0, x_89); +lean_ctor_set(x_90, 1, x_88); +x_91 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3420____closed__9; +x_92 = lean_array_push(x_91, x_90); +x_93 = lean_array_push(x_92, x_14); +x_94 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3420____closed__10; +x_95 = lean_array_push(x_93, x_94); +x_96 = l_Lean_PrettyPrinter_Delaborator_delabLam___lambda__3___closed__4; +x_97 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_97, 0, x_96); +lean_ctor_set(x_97, 1, x_95); +x_98 = l_Lean_PrettyPrinter_Delaborator_delabLam___lambda__1(x_2, x_97, x_3, x_4, x_5, x_6, x_7, x_24); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_98; +} +default: +{ +lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; +lean_dec(x_33); +lean_dec(x_29); +lean_dec(x_18); +lean_dec(x_14); +lean_dec(x_1); +x_99 = l_Lean_PrettyPrinter_Delaborator_withAppFn___rarg___closed__1; +x_100 = l_Lean_PrettyPrinter_Delaborator_delabLam___lambda__3___closed__3; +x_101 = lean_panic_fn(x_99, x_100); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +x_102 = lean_apply_6(x_101, x_3, x_4, x_5, x_6, x_7, x_24); +if (lean_obj_tag(x_102) == 0) +{ +lean_object* x_103; lean_object* x_104; lean_object* x_105; +x_103 = lean_ctor_get(x_102, 0); +lean_inc(x_103); +x_104 = lean_ctor_get(x_102, 1); +lean_inc(x_104); +lean_dec(x_102); +x_105 = l_Lean_PrettyPrinter_Delaborator_delabLam___lambda__1(x_2, x_103, x_3, x_4, x_5, x_6, x_7, x_104); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_105; +} +else +{ +uint8_t x_106; +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_106 = !lean_is_exclusive(x_102); +if (x_106 == 0) +{ +return x_102; +} +else +{ +lean_object* x_107; lean_object* x_108; lean_object* x_109; +x_107 = lean_ctor_get(x_102, 0); +x_108 = lean_ctor_get(x_102, 1); +lean_inc(x_108); +lean_inc(x_107); +lean_dec(x_102); +x_109 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_109, 0, x_107); +lean_ctor_set(x_109, 1, x_108); +return x_109; +} +} +} +} +} +} +else +{ +lean_object* x_124; lean_object* x_125; uint8_t x_126; uint8_t x_127; uint8_t x_128; uint8_t x_129; lean_object* x_130; lean_object* x_131; uint8_t x_132; lean_object* x_133; uint8_t x_212; +x_124 = lean_ctor_get(x_21, 0); +x_125 = lean_ctor_get(x_21, 1); +lean_inc(x_125); +lean_inc(x_124); +lean_dec(x_21); +x_126 = l_Lean_Expr_binderInfo(x_10); +lean_dec(x_10); +x_127 = 0; +x_128 = l_Lean_BinderInfo_beq(x_126, x_127); +lean_inc(x_2); +x_129 = l_Lean_Elab_Term_blockImplicitLambda(x_2); +x_130 = lean_array_get_size(x_1); +x_131 = lean_unsigned_to_nat(0u); +x_132 = lean_nat_dec_lt(x_131, x_130); +x_212 = lean_unbox(x_124); +lean_dec(x_124); +if (x_212 == 0) +{ +if (x_128 == 0) +{ +if (x_132 == 0) +{ +if (x_129 == 0) +{ +lean_object* x_213; +lean_dec(x_130); +lean_dec(x_18); +lean_dec(x_14); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_213 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_213, 0, x_2); +lean_ctor_set(x_213, 1, x_125); +return x_213; +} +else +{ +lean_object* x_214; +x_214 = lean_box(0); +x_133 = x_214; +goto block_211; +} +} +else +{ +uint8_t x_215; +x_215 = lean_nat_dec_le(x_130, x_130); +if (x_215 == 0) +{ +if (x_129 == 0) +{ +lean_object* x_216; +lean_dec(x_130); +lean_dec(x_18); +lean_dec(x_14); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_216 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_216, 0, x_2); +lean_ctor_set(x_216, 1, x_125); +return x_216; +} +else +{ +lean_object* x_217; +x_217 = lean_box(0); +x_133 = x_217; +goto block_211; +} +} +else +{ +if (x_129 == 0) +{ +size_t x_218; size_t x_219; uint8_t x_220; +x_218 = 0; +x_219 = lean_usize_of_nat(x_130); +x_220 = l_Array_anyMUnsafe_any___at_Lean_PrettyPrinter_Delaborator_delabLam___spec__1(x_2, x_1, x_218, x_219); +if (x_220 == 0) +{ +lean_object* x_221; +lean_dec(x_130); +lean_dec(x_18); +lean_dec(x_14); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_221 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_221, 0, x_2); +lean_ctor_set(x_221, 1, x_125); +return x_221; +} +else +{ +lean_object* x_222; +x_222 = lean_box(0); +x_133 = x_222; +goto block_211; +} +} +else +{ +lean_object* x_223; +x_223 = lean_box(0); +x_133 = x_223; +goto block_211; +} +} +} +} +else +{ +if (x_132 == 0) +{ +lean_object* x_224; +x_224 = lean_box(0); +x_133 = x_224; +goto block_211; +} +else +{ +lean_object* x_225; +x_225 = lean_box(0); +x_133 = x_225; +goto block_211; +} +} +} +else +{ +if (x_132 == 0) +{ +lean_object* x_226; +x_226 = lean_box(0); +x_133 = x_226; +goto block_211; +} +else +{ +lean_object* x_227; +x_227 = lean_box(0); +x_133 = x_227; +goto block_211; +} +} +block_211: +{ +lean_object* x_134; +lean_dec(x_133); +x_134 = lean_box(x_126); +switch (lean_obj_tag(x_134)) { +case 0: +{ +uint8_t x_135; +x_135 = lean_unbox(x_18); +lean_dec(x_18); +if (x_135 == 0) +{ +lean_object* x_136; lean_object* x_137; +lean_dec(x_130); +lean_dec(x_14); +x_136 = l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(x_1); +lean_dec(x_1); +x_137 = l_Lean_PrettyPrinter_Delaborator_delabLam___lambda__1(x_2, x_136, x_3, x_4, x_5, x_6, x_7, x_125); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_137; +} +else +{ +lean_object* x_138; lean_object* x_139; uint8_t x_140; +x_138 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabLam___lambda__1___boxed), 8, 1); +lean_closure_set(x_138, 0, x_2); +x_139 = lean_unsigned_to_nat(1u); +x_140 = lean_nat_dec_lt(x_139, x_130); +lean_dec(x_130); +if (x_140 == 0) +{ +lean_object* x_141; lean_object* x_142; lean_object* x_143; +x_141 = l_Lean_instInhabitedSyntax; +x_142 = lean_array_get(x_141, x_1, x_131); +lean_dec(x_1); +x_143 = l_Lean_PrettyPrinter_Delaborator_delabLam___lambda__2(x_14, x_138, x_142, x_3, x_4, x_5, x_6, x_7, x_125); +return x_143; +} +else +{ +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; +x_144 = l_Lean_instInhabitedSyntax; +x_145 = lean_array_get(x_144, x_1, x_131); +x_146 = l_Array_empty___closed__1; +x_147 = lean_array_push(x_146, x_145); +x_148 = l_Array_eraseIdx___rarg(x_1, x_131); +x_149 = l_Array_appendCore___rarg(x_146, x_148); +lean_dec(x_148); +x_150 = l_Lean_nullKind___closed__2; +x_151 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_151, 0, x_150); +lean_ctor_set(x_151, 1, x_149); +x_152 = lean_array_push(x_147, x_151); +x_153 = l_myMacro____x40_Init_Notation___hyg_38____closed__8; +x_154 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_154, 0, x_153); +lean_ctor_set(x_154, 1, x_152); +x_155 = l_Lean_PrettyPrinter_Delaborator_delabLam___lambda__2(x_14, x_138, x_154, x_3, x_4, x_5, x_6, x_7, x_125); +return x_155; +} +} +} +case 1: +{ +uint8_t x_156; +lean_dec(x_130); +x_156 = lean_unbox(x_18); +lean_dec(x_18); +if (x_156 == 0) +{ +lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; +lean_dec(x_14); +x_157 = l_Array_empty___closed__1; +x_158 = l_Array_appendCore___rarg(x_157, x_1); +lean_dec(x_1); +x_159 = l_Lean_nullKind___closed__2; +x_160 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_160, 0, x_159); +lean_ctor_set(x_160, 1, x_158); +x_161 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__4; +x_162 = lean_array_push(x_161, x_160); +x_163 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; +x_164 = lean_array_push(x_162, x_163); +x_165 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__21; +x_166 = lean_array_push(x_164, x_165); +x_167 = l_Lean_PrettyPrinter_Delaborator_delabLam___lambda__3___closed__1; +x_168 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_168, 0, x_167); +lean_ctor_set(x_168, 1, x_166); +x_169 = l_Lean_PrettyPrinter_Delaborator_delabLam___lambda__1(x_2, x_168, x_3, x_4, x_5, x_6, x_7, x_125); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_169; +} +else +{ +lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; +x_170 = l_Array_empty___closed__1; +x_171 = l_Array_appendCore___rarg(x_170, x_1); +lean_dec(x_1); +x_172 = l_Lean_nullKind___closed__2; +x_173 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_173, 0, x_172); +lean_ctor_set(x_173, 1, x_171); +x_174 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__4; +x_175 = lean_array_push(x_174, x_173); +x_176 = l_myMacro____x40_Init_Notation___hyg_8168____closed__11; +x_177 = lean_array_push(x_176, x_14); +x_178 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_178, 0, x_172); +lean_ctor_set(x_178, 1, x_177); +x_179 = lean_array_push(x_175, x_178); +x_180 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__21; +x_181 = lean_array_push(x_179, x_180); +x_182 = l_Lean_PrettyPrinter_Delaborator_delabLam___lambda__3___closed__1; +x_183 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_183, 0, x_182); +lean_ctor_set(x_183, 1, x_181); +x_184 = l_Lean_PrettyPrinter_Delaborator_delabLam___lambda__1(x_2, x_183, x_3, x_4, x_5, x_6, x_7, x_125); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_184; +} +} +case 3: +{ +lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; +lean_dec(x_130); +lean_dec(x_18); +x_185 = l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(x_1); +lean_dec(x_1); +x_186 = l_Array_empty___closed__1; +x_187 = lean_array_push(x_186, x_185); +x_188 = l_myMacro____x40_Init_Notation___hyg_8168____closed__10; +x_189 = lean_array_push(x_187, x_188); +x_190 = l_Lean_nullKind___closed__2; +x_191 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_191, 0, x_190); +lean_ctor_set(x_191, 1, x_189); +x_192 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3420____closed__9; +x_193 = lean_array_push(x_192, x_191); +x_194 = lean_array_push(x_193, x_14); +x_195 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3420____closed__10; +x_196 = lean_array_push(x_194, x_195); +x_197 = l_Lean_PrettyPrinter_Delaborator_delabLam___lambda__3___closed__4; +x_198 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_198, 0, x_197); +lean_ctor_set(x_198, 1, x_196); +x_199 = l_Lean_PrettyPrinter_Delaborator_delabLam___lambda__1(x_2, x_198, x_3, x_4, x_5, x_6, x_7, x_125); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_199; +} +default: +{ +lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; +lean_dec(x_134); +lean_dec(x_130); +lean_dec(x_18); +lean_dec(x_14); +lean_dec(x_1); +x_200 = l_Lean_PrettyPrinter_Delaborator_withAppFn___rarg___closed__1; +x_201 = l_Lean_PrettyPrinter_Delaborator_delabLam___lambda__3___closed__3; +x_202 = lean_panic_fn(x_200, x_201); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +x_203 = lean_apply_6(x_202, x_3, x_4, x_5, x_6, x_7, x_125); +if (lean_obj_tag(x_203) == 0) +{ +lean_object* x_204; lean_object* x_205; lean_object* x_206; +x_204 = lean_ctor_get(x_203, 0); +lean_inc(x_204); +x_205 = lean_ctor_get(x_203, 1); +lean_inc(x_205); +lean_dec(x_203); +x_206 = l_Lean_PrettyPrinter_Delaborator_delabLam___lambda__1(x_2, x_204, x_3, x_4, x_5, x_6, x_7, x_205); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_206; +} +else +{ +lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; +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_207 = lean_ctor_get(x_203, 0); +lean_inc(x_207); +x_208 = lean_ctor_get(x_203, 1); +lean_inc(x_208); +if (lean_is_exclusive(x_203)) { + lean_ctor_release(x_203, 0); + lean_ctor_release(x_203, 1); + x_209 = x_203; +} else { + lean_dec_ref(x_203); + x_209 = lean_box(0); +} +if (lean_is_scalar(x_209)) { + x_210 = lean_alloc_ctor(1, 2, 0); +} else { + x_210 = x_209; +} +lean_ctor_set(x_210, 0, x_207); +lean_ctor_set(x_210, 1, x_208); +return x_210; +} +} +} +} +} +} +else +{ +uint8_t x_228; +lean_dec(x_10); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_228 = !lean_is_exclusive(x_13); +if (x_228 == 0) +{ +return x_13; +} +else +{ +lean_object* x_229; lean_object* x_230; lean_object* x_231; +x_229 = lean_ctor_get(x_13, 0); +x_230 = lean_ctor_get(x_13, 1); +lean_inc(x_230); +lean_inc(x_229); +lean_dec(x_13); +x_231 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_231, 0, x_229); +lean_ctor_set(x_231, 1, x_230); +return x_231; +} +} +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabLam___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabLam___lambda__3), 8, 0); +return x_1; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabLam(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = l_Lean_PrettyPrinter_Delaborator_delabLam___closed__1; +x_8 = l_Array_empty___closed__1; +x_9 = l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabBinders(x_7, x_8, x_1, x_2, x_3, x_4, x_5, x_6); +return x_9; +} +} +lean_object* l_Array_anyMUnsafe_any___at_Lean_PrettyPrinter_Delaborator_delabLam___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +size_t x_5; size_t x_6; uint8_t x_7; lean_object* x_8; +x_5 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_6 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_7 = l_Array_anyMUnsafe_any___at_Lean_PrettyPrinter_Delaborator_delabLam___spec__1(x_1, x_2, x_5, x_6); +lean_dec(x_2); +lean_dec(x_1); +x_8 = lean_box(x_7); +return x_8; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabLam___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_PrettyPrinter_Delaborator_delabLam___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_9; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabLam___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabLam), 6, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabLam(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_Delaborator_delabAttribute; +x_3 = l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__6; +x_4 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabLam___closed__1; +x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); +return x_5; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabForall_match__1___rarg(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = lean_box(x_1); +switch (lean_obj_tag(x_6)) { +case 0: +{ +lean_object* x_7; lean_object* x_8; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_7 = lean_box(0); +x_8 = lean_apply_1(x_2, x_7); +return x_8; +} +case 1: +{ +lean_object* x_9; lean_object* x_10; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_9 = lean_box(0); +x_10 = lean_apply_1(x_3, x_9); +return x_10; +} +case 3: +{ +lean_object* x_11; lean_object* x_12; +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +x_11 = lean_box(0); +x_12 = lean_apply_1(x_4, x_11); +return x_12; +} +default: +{ +lean_object* x_13; lean_object* x_14; +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_13 = lean_box(x_1); +x_14 = lean_apply_1(x_5, x_13); +return x_14; +} +} +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabForall_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabForall_match__1___rarg___boxed), 5, 0); +return x_2; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabForall_match__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +uint8_t x_6; lean_object* x_7; +x_6 = lean_unbox(x_1); +lean_dec(x_1); +x_7 = l_Lean_PrettyPrinter_Delaborator_delabForall_match__1___rarg(x_6, x_2, x_3, x_4, x_5); +return x_7; +} +} +static lean_object* _init_l_Array_foldrMUnsafe_fold___at_Lean_PrettyPrinter_Delaborator_delabForall___spec__1___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_instInhabitedSourceInfo___closed__1; +x_2 = l_Array_forInUnsafe_loop___at___private_Init_NotationExtra_0__Lean_mkHintBody___spec__1___closed__3; +x_3 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +lean_object* l_Array_foldrMUnsafe_fold___at_Lean_PrettyPrinter_Delaborator_delabForall___spec__1(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +uint8_t x_12; +x_12 = x_3 == x_4; +if (x_12 == 0) +{ +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; +x_13 = 1; +x_14 = x_3 - x_13; +x_15 = l_Array_empty___closed__1; +lean_inc(x_1); +x_16 = lean_array_push(x_15, x_1); +x_17 = l_Array_foldrMUnsafe_fold___at_Lean_PrettyPrinter_Delaborator_delabForall___spec__1___closed__1; +x_18 = lean_array_push(x_16, x_17); +x_19 = lean_array_push(x_18, x_5); +x_20 = l_Array_forInUnsafe_loop___at___private_Init_NotationExtra_0__Lean_mkHintBody___spec__1___closed__2; +x_21 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_21, 0, x_20); +lean_ctor_set(x_21, 1, x_19); +x_3 = x_14; +x_5 = x_21; +goto _start; +} +else +{ +lean_object* x_23; +lean_dec(x_1); +x_23 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_23, 0, x_5); +lean_ctor_set(x_23, 1, x_11); +return x_23; +} +} +} +lean_object* l_Array_foldrMUnsafe_fold___at_Lean_PrettyPrinter_Delaborator_delabForall___spec__2(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +uint8_t x_12; +x_12 = x_3 == x_4; +if (x_12 == 0) +{ +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; +x_13 = 1; +x_14 = x_3 - x_13; +x_15 = l_Array_empty___closed__1; +lean_inc(x_1); +x_16 = lean_array_push(x_15, x_1); +x_17 = l_Array_foldrMUnsafe_fold___at_Lean_PrettyPrinter_Delaborator_delabForall___spec__1___closed__1; +x_18 = lean_array_push(x_16, x_17); +x_19 = lean_array_push(x_18, x_5); +x_20 = l_Array_forInUnsafe_loop___at___private_Init_NotationExtra_0__Lean_mkHintBody___spec__1___closed__2; +x_21 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_21, 0, x_20); +lean_ctor_set(x_21, 1, x_19); +x_3 = x_14; +x_5 = x_21; +goto _start; +} +else +{ +lean_object* x_23; +lean_dec(x_1); +x_23 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_23, 0, x_5); +lean_ctor_set(x_23, 1, x_11); +return x_23; +} +} +} +uint8_t l_Array_anyMUnsafe_any___at_Lean_PrettyPrinter_Delaborator_delabForall___spec__3(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4) { +_start: +{ +uint8_t x_5; +x_5 = x_3 == x_4; +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; uint8_t x_8; +x_6 = lean_array_uget(x_2, x_3); +x_7 = l_Lean_Syntax_getId(x_6); +lean_dec(x_6); +x_8 = l_Lean_PrettyPrinter_Delaborator_hasIdent(x_7, x_1); +lean_dec(x_7); +if (x_8 == 0) +{ +size_t x_9; size_t x_10; +x_9 = 1; +x_10 = x_3 + x_9; +x_3 = x_10; +goto _start; +} +else +{ +uint8_t x_12; +x_12 = 1; +return x_12; +} +} +else +{ +uint8_t x_13; +x_13 = 0; +return x_13; +} +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabForall___lambda__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("depArrow"); +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabForall___lambda__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_myMacro____x40_Init_Notation___hyg_38____closed__6; +x_2 = l_Lean_PrettyPrinter_Delaborator_delabForall___lambda__1___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabForall___lambda__1___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Lean.PrettyPrinter.Delaborator.delabForall"); +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabForall___lambda__1___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_1 = l_Lean_PrettyPrinter_Delaborator_delabFVar___closed__1; +x_2 = l_Lean_PrettyPrinter_Delaborator_delabForall___lambda__1___closed__3; +x_3 = lean_unsigned_to_nat(332u); +x_4 = lean_unsigned_to_nat(33u); +x_5 = l_Lean_Syntax_strLitToAtom___closed__3; +x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); +return x_6; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabForall___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; uint8_t x_10; +x_9 = l_Lean_PrettyPrinter_Delaborator_getExpr(x_3, x_4, x_5, x_6, x_7, x_8); +x_10 = !lean_is_exclusive(x_9); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_11 = lean_ctor_get(x_9, 0); +x_12 = lean_ctor_get(x_9, 1); +x_13 = l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__2___closed__1; +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +x_14 = l_Lean_PrettyPrinter_Delaborator_withBindingDomain___rarg(x_13, x_3, x_4, x_5, x_6, x_7, x_12); +if (lean_obj_tag(x_14) == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; lean_object* x_19; +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_14, 1); +lean_inc(x_16); +if (lean_is_exclusive(x_14)) { + lean_ctor_release(x_14, 0); + lean_ctor_release(x_14, 1); + x_17 = x_14; +} else { + lean_dec_ref(x_14); + x_17 = lean_box(0); +} +x_18 = l_Lean_Expr_binderInfo(x_11); +lean_dec(x_11); +x_19 = lean_box(x_18); +switch (lean_obj_tag(x_19)) { +case 0: +{ +lean_object* x_20; lean_object* x_21; lean_object* x_36; uint8_t x_37; +x_20 = lean_array_get_size(x_1); +x_36 = lean_unsigned_to_nat(0u); +x_37 = lean_nat_dec_lt(x_36, x_20); +if (x_37 == 0) +{ +lean_object* x_38; +lean_free_object(x_9); +x_38 = lean_box(0); +x_21 = x_38; +goto block_35; +} +else +{ +uint8_t x_39; +x_39 = lean_nat_dec_le(x_20, x_20); +if (x_39 == 0) +{ +lean_object* x_40; +lean_free_object(x_9); +x_40 = lean_box(0); +x_21 = x_40; +goto block_35; +} +else +{ +size_t x_41; size_t x_42; uint8_t x_43; +x_41 = 0; +x_42 = lean_usize_of_nat(x_20); +x_43 = l_Array_anyMUnsafe_any___at_Lean_PrettyPrinter_Delaborator_delabForall___spec__3(x_2, x_1, x_41, x_42); +if (x_43 == 0) +{ +lean_object* x_44; +lean_free_object(x_9); +x_44 = lean_box(0); +x_21 = x_44; +goto block_35; +} +else +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; +lean_dec(x_20); +lean_dec(x_17); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_45 = l_Array_empty___closed__1; +x_46 = l_Array_appendCore___rarg(x_45, x_1); +x_47 = l_Lean_nullKind___closed__2; +x_48 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_48, 0, x_47); +lean_ctor_set(x_48, 1, x_46); +x_49 = l_myMacro____x40_Init_Notation___hyg_5739____closed__11; +x_50 = lean_array_push(x_49, x_48); +x_51 = l_myMacro____x40_Init_Notation___hyg_8168____closed__11; +x_52 = lean_array_push(x_51, x_15); +x_53 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_53, 0, x_47); +lean_ctor_set(x_53, 1, x_52); +x_54 = lean_array_push(x_50, x_53); +x_55 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; +x_56 = lean_array_push(x_54, x_55); +x_57 = l_myMacro____x40_Init_Notation___hyg_5739____closed__22; +x_58 = lean_array_push(x_56, x_57); +x_59 = l_Lean_Elab_Term_mkExplicitBinder___closed__2; +x_60 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_60, 0, x_59); +lean_ctor_set(x_60, 1, x_58); +x_61 = lean_array_push(x_45, x_60); +x_62 = l_Array_foldrMUnsafe_fold___at_Lean_PrettyPrinter_Delaborator_delabForall___spec__1___closed__1; +x_63 = lean_array_push(x_61, x_62); +x_64 = lean_array_push(x_63, x_2); +x_65 = l_Lean_PrettyPrinter_Delaborator_delabForall___lambda__1___closed__2; +x_66 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_66, 0, x_65); +lean_ctor_set(x_66, 1, x_64); +lean_ctor_set(x_9, 1, x_16); +lean_ctor_set(x_9, 0, x_66); +return x_9; +} +} +} +block_35: +{ +uint8_t x_22; +lean_dec(x_21); +x_22 = lean_nat_dec_le(x_20, x_20); +if (x_22 == 0) +{ +lean_object* x_23; uint8_t x_24; +x_23 = lean_unsigned_to_nat(0u); +x_24 = lean_nat_dec_lt(x_23, x_20); +if (x_24 == 0) +{ +lean_object* x_25; +lean_dec(x_20); +lean_dec(x_15); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +if (lean_is_scalar(x_17)) { + x_25 = lean_alloc_ctor(0, 2, 0); +} else { + x_25 = x_17; +} +lean_ctor_set(x_25, 0, x_2); +lean_ctor_set(x_25, 1, x_16); +return x_25; +} +else +{ +size_t x_26; size_t x_27; lean_object* x_28; +lean_dec(x_17); +x_26 = lean_usize_of_nat(x_20); +lean_dec(x_20); +x_27 = 0; +x_28 = l_Array_foldrMUnsafe_fold___at_Lean_PrettyPrinter_Delaborator_delabForall___spec__1(x_15, x_1, x_26, x_27, x_2, x_3, x_4, x_5, x_6, x_7, x_16); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_28; +} +} +else +{ +lean_object* x_29; uint8_t x_30; +x_29 = lean_unsigned_to_nat(0u); +x_30 = lean_nat_dec_lt(x_29, x_20); +if (x_30 == 0) +{ +lean_object* x_31; +lean_dec(x_20); +lean_dec(x_15); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +if (lean_is_scalar(x_17)) { + x_31 = lean_alloc_ctor(0, 2, 0); +} else { + x_31 = x_17; +} +lean_ctor_set(x_31, 0, x_2); +lean_ctor_set(x_31, 1, x_16); +return x_31; +} +else +{ +size_t x_32; size_t x_33; lean_object* x_34; +lean_dec(x_17); +x_32 = lean_usize_of_nat(x_20); +lean_dec(x_20); +x_33 = 0; +x_34 = l_Array_foldrMUnsafe_fold___at_Lean_PrettyPrinter_Delaborator_delabForall___spec__2(x_15, x_1, x_32, x_33, x_2, x_3, x_4, x_5, x_6, x_7, x_16); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_34; +} +} +} +} +case 1: +{ +lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; +lean_free_object(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_67 = l_Array_empty___closed__1; +x_68 = l_Array_appendCore___rarg(x_67, x_1); +x_69 = l_Lean_nullKind___closed__2; +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 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__4; +x_72 = lean_array_push(x_71, x_70); +x_73 = l_myMacro____x40_Init_Notation___hyg_8168____closed__11; +x_74 = lean_array_push(x_73, x_15); +x_75 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_75, 0, x_69); +lean_ctor_set(x_75, 1, x_74); +x_76 = lean_array_push(x_72, x_75); +x_77 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__21; +x_78 = lean_array_push(x_76, x_77); +x_79 = l_Lean_PrettyPrinter_Delaborator_delabLam___lambda__3___closed__1; +x_80 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_80, 0, x_79); +lean_ctor_set(x_80, 1, x_78); +x_81 = lean_array_push(x_67, x_80); +x_82 = l_Array_foldrMUnsafe_fold___at_Lean_PrettyPrinter_Delaborator_delabForall___spec__1___closed__1; +x_83 = lean_array_push(x_81, x_82); +x_84 = lean_array_push(x_83, x_2); +x_85 = l_Lean_PrettyPrinter_Delaborator_delabForall___lambda__1___closed__2; +x_86 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_86, 0, x_85); +lean_ctor_set(x_86, 1, x_84); +if (lean_is_scalar(x_17)) { + x_87 = lean_alloc_ctor(0, 2, 0); +} else { + x_87 = x_17; +} +lean_ctor_set(x_87, 0, x_86); +lean_ctor_set(x_87, 1, x_16); +return x_87; +} +case 3: +{ +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_free_object(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_88 = l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(x_1); +x_89 = l_Array_empty___closed__1; +x_90 = lean_array_push(x_89, x_88); +x_91 = l_myMacro____x40_Init_Notation___hyg_8168____closed__10; +x_92 = lean_array_push(x_90, x_91); +x_93 = l_Lean_nullKind___closed__2; +x_94 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_94, 0, x_93); +lean_ctor_set(x_94, 1, x_92); +x_95 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3420____closed__9; +x_96 = lean_array_push(x_95, x_94); +x_97 = lean_array_push(x_96, x_15); +x_98 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3420____closed__10; +x_99 = lean_array_push(x_97, x_98); +x_100 = l_Lean_PrettyPrinter_Delaborator_delabLam___lambda__3___closed__4; +x_101 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_101, 0, x_100); +lean_ctor_set(x_101, 1, x_99); +x_102 = lean_array_push(x_89, x_101); +x_103 = l_Array_foldrMUnsafe_fold___at_Lean_PrettyPrinter_Delaborator_delabForall___spec__1___closed__1; +x_104 = lean_array_push(x_102, x_103); +x_105 = lean_array_push(x_104, x_2); +x_106 = l_Lean_PrettyPrinter_Delaborator_delabForall___lambda__1___closed__2; +x_107 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_107, 0, x_106); +lean_ctor_set(x_107, 1, x_105); +if (lean_is_scalar(x_17)) { + x_108 = lean_alloc_ctor(0, 2, 0); +} else { + x_108 = x_17; +} +lean_ctor_set(x_108, 0, x_107); +lean_ctor_set(x_108, 1, x_16); +return x_108; +} +default: +{ +lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; +lean_dec(x_19); +lean_dec(x_17); +lean_dec(x_15); +lean_free_object(x_9); +lean_dec(x_2); +x_109 = l_Lean_PrettyPrinter_Delaborator_withAppFn___rarg___closed__1; +x_110 = l_Lean_PrettyPrinter_Delaborator_delabForall___lambda__1___closed__4; +x_111 = lean_panic_fn(x_109, x_110); +x_112 = lean_apply_6(x_111, x_3, x_4, x_5, x_6, x_7, x_16); +return x_112; +} +} +} +else +{ +uint8_t x_113; +lean_free_object(x_9); +lean_dec(x_11); +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_113 = !lean_is_exclusive(x_14); +if (x_113 == 0) +{ +return x_14; +} +else +{ +lean_object* x_114; lean_object* x_115; lean_object* x_116; +x_114 = lean_ctor_get(x_14, 0); +x_115 = lean_ctor_get(x_14, 1); +lean_inc(x_115); +lean_inc(x_114); +lean_dec(x_14); +x_116 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_116, 0, x_114); +lean_ctor_set(x_116, 1, x_115); +return x_116; +} +} +} +else +{ +lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; +x_117 = lean_ctor_get(x_9, 0); +x_118 = lean_ctor_get(x_9, 1); +lean_inc(x_118); +lean_inc(x_117); +lean_dec(x_9); +x_119 = l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__2___closed__1; +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +x_120 = l_Lean_PrettyPrinter_Delaborator_withBindingDomain___rarg(x_119, x_3, x_4, x_5, x_6, x_7, x_118); +if (lean_obj_tag(x_120) == 0) +{ +lean_object* x_121; lean_object* x_122; lean_object* x_123; uint8_t x_124; lean_object* x_125; +x_121 = lean_ctor_get(x_120, 0); +lean_inc(x_121); +x_122 = lean_ctor_get(x_120, 1); +lean_inc(x_122); +if (lean_is_exclusive(x_120)) { + lean_ctor_release(x_120, 0); + lean_ctor_release(x_120, 1); + x_123 = x_120; +} else { + lean_dec_ref(x_120); + x_123 = lean_box(0); +} +x_124 = l_Lean_Expr_binderInfo(x_117); +lean_dec(x_117); +x_125 = lean_box(x_124); +switch (lean_obj_tag(x_125)) { +case 0: +{ +lean_object* x_126; lean_object* x_127; lean_object* x_142; uint8_t x_143; +x_126 = lean_array_get_size(x_1); +x_142 = lean_unsigned_to_nat(0u); +x_143 = lean_nat_dec_lt(x_142, x_126); +if (x_143 == 0) +{ +lean_object* x_144; +x_144 = lean_box(0); +x_127 = x_144; +goto block_141; +} +else +{ +uint8_t x_145; +x_145 = lean_nat_dec_le(x_126, x_126); +if (x_145 == 0) +{ +lean_object* x_146; +x_146 = lean_box(0); +x_127 = x_146; +goto block_141; +} +else +{ +size_t x_147; size_t x_148; uint8_t x_149; +x_147 = 0; +x_148 = lean_usize_of_nat(x_126); +x_149 = l_Array_anyMUnsafe_any___at_Lean_PrettyPrinter_Delaborator_delabForall___spec__3(x_2, x_1, x_147, x_148); +if (x_149 == 0) +{ +lean_object* x_150; +x_150 = lean_box(0); +x_127 = x_150; +goto block_141; +} +else +{ +lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_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_dec(x_126); +lean_dec(x_123); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_151 = l_Array_empty___closed__1; +x_152 = l_Array_appendCore___rarg(x_151, x_1); +x_153 = l_Lean_nullKind___closed__2; +x_154 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_154, 0, x_153); +lean_ctor_set(x_154, 1, x_152); +x_155 = l_myMacro____x40_Init_Notation___hyg_5739____closed__11; +x_156 = lean_array_push(x_155, x_154); +x_157 = l_myMacro____x40_Init_Notation___hyg_8168____closed__11; +x_158 = lean_array_push(x_157, x_121); +x_159 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_159, 0, x_153); +lean_ctor_set(x_159, 1, x_158); +x_160 = lean_array_push(x_156, x_159); +x_161 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; +x_162 = lean_array_push(x_160, x_161); +x_163 = l_myMacro____x40_Init_Notation___hyg_5739____closed__22; +x_164 = lean_array_push(x_162, x_163); +x_165 = l_Lean_Elab_Term_mkExplicitBinder___closed__2; +x_166 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_166, 0, x_165); +lean_ctor_set(x_166, 1, x_164); +x_167 = lean_array_push(x_151, x_166); +x_168 = l_Array_foldrMUnsafe_fold___at_Lean_PrettyPrinter_Delaborator_delabForall___spec__1___closed__1; +x_169 = lean_array_push(x_167, x_168); +x_170 = lean_array_push(x_169, x_2); +x_171 = l_Lean_PrettyPrinter_Delaborator_delabForall___lambda__1___closed__2; +x_172 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_172, 0, x_171); +lean_ctor_set(x_172, 1, x_170); +x_173 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_173, 0, x_172); +lean_ctor_set(x_173, 1, x_122); +return x_173; +} +} +} +block_141: +{ +uint8_t x_128; +lean_dec(x_127); +x_128 = lean_nat_dec_le(x_126, x_126); +if (x_128 == 0) +{ +lean_object* x_129; uint8_t x_130; +x_129 = lean_unsigned_to_nat(0u); +x_130 = lean_nat_dec_lt(x_129, x_126); +if (x_130 == 0) +{ +lean_object* x_131; +lean_dec(x_126); +lean_dec(x_121); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +if (lean_is_scalar(x_123)) { + x_131 = lean_alloc_ctor(0, 2, 0); +} else { + x_131 = x_123; +} +lean_ctor_set(x_131, 0, x_2); +lean_ctor_set(x_131, 1, x_122); +return x_131; +} +else +{ +size_t x_132; size_t x_133; lean_object* x_134; +lean_dec(x_123); +x_132 = lean_usize_of_nat(x_126); +lean_dec(x_126); +x_133 = 0; +x_134 = l_Array_foldrMUnsafe_fold___at_Lean_PrettyPrinter_Delaborator_delabForall___spec__1(x_121, x_1, x_132, x_133, x_2, x_3, x_4, x_5, x_6, x_7, x_122); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_134; +} +} +else +{ +lean_object* x_135; uint8_t x_136; +x_135 = lean_unsigned_to_nat(0u); +x_136 = lean_nat_dec_lt(x_135, x_126); +if (x_136 == 0) +{ +lean_object* x_137; +lean_dec(x_126); +lean_dec(x_121); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +if (lean_is_scalar(x_123)) { + x_137 = lean_alloc_ctor(0, 2, 0); +} else { + x_137 = x_123; +} +lean_ctor_set(x_137, 0, x_2); +lean_ctor_set(x_137, 1, x_122); +return x_137; +} +else +{ +size_t x_138; size_t x_139; lean_object* x_140; +lean_dec(x_123); +x_138 = lean_usize_of_nat(x_126); +lean_dec(x_126); +x_139 = 0; +x_140 = l_Array_foldrMUnsafe_fold___at_Lean_PrettyPrinter_Delaborator_delabForall___spec__2(x_121, x_1, x_138, x_139, x_2, x_3, x_4, x_5, x_6, x_7, x_122); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_140; +} +} +} +} +case 1: +{ +lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_174 = l_Array_empty___closed__1; +x_175 = l_Array_appendCore___rarg(x_174, x_1); +x_176 = l_Lean_nullKind___closed__2; +x_177 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_177, 0, x_176); +lean_ctor_set(x_177, 1, x_175); +x_178 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__4; +x_179 = lean_array_push(x_178, x_177); +x_180 = l_myMacro____x40_Init_Notation___hyg_8168____closed__11; +x_181 = lean_array_push(x_180, x_121); +x_182 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_182, 0, x_176); +lean_ctor_set(x_182, 1, x_181); +x_183 = lean_array_push(x_179, x_182); +x_184 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__21; +x_185 = lean_array_push(x_183, x_184); +x_186 = l_Lean_PrettyPrinter_Delaborator_delabLam___lambda__3___closed__1; +x_187 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_187, 0, x_186); +lean_ctor_set(x_187, 1, x_185); +x_188 = lean_array_push(x_174, x_187); +x_189 = l_Array_foldrMUnsafe_fold___at_Lean_PrettyPrinter_Delaborator_delabForall___spec__1___closed__1; +x_190 = lean_array_push(x_188, x_189); +x_191 = lean_array_push(x_190, x_2); +x_192 = l_Lean_PrettyPrinter_Delaborator_delabForall___lambda__1___closed__2; +x_193 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_193, 0, x_192); +lean_ctor_set(x_193, 1, x_191); +if (lean_is_scalar(x_123)) { + x_194 = lean_alloc_ctor(0, 2, 0); +} else { + x_194 = x_123; +} +lean_ctor_set(x_194, 0, x_193); +lean_ctor_set(x_194, 1, x_122); +return x_194; +} +case 3: +{ +lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_195 = l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(x_1); +x_196 = l_Array_empty___closed__1; +x_197 = lean_array_push(x_196, x_195); +x_198 = l_myMacro____x40_Init_Notation___hyg_8168____closed__10; +x_199 = lean_array_push(x_197, x_198); +x_200 = l_Lean_nullKind___closed__2; +x_201 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_201, 0, x_200); +lean_ctor_set(x_201, 1, x_199); +x_202 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3420____closed__9; +x_203 = lean_array_push(x_202, x_201); +x_204 = lean_array_push(x_203, x_121); +x_205 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3420____closed__10; +x_206 = lean_array_push(x_204, x_205); +x_207 = l_Lean_PrettyPrinter_Delaborator_delabLam___lambda__3___closed__4; +x_208 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_208, 0, x_207); +lean_ctor_set(x_208, 1, x_206); +x_209 = lean_array_push(x_196, x_208); +x_210 = l_Array_foldrMUnsafe_fold___at_Lean_PrettyPrinter_Delaborator_delabForall___spec__1___closed__1; +x_211 = lean_array_push(x_209, x_210); +x_212 = lean_array_push(x_211, x_2); +x_213 = l_Lean_PrettyPrinter_Delaborator_delabForall___lambda__1___closed__2; +x_214 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_214, 0, x_213); +lean_ctor_set(x_214, 1, x_212); +if (lean_is_scalar(x_123)) { + x_215 = lean_alloc_ctor(0, 2, 0); +} else { + x_215 = x_123; +} +lean_ctor_set(x_215, 0, x_214); +lean_ctor_set(x_215, 1, x_122); +return x_215; +} +default: +{ +lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; +lean_dec(x_125); +lean_dec(x_123); +lean_dec(x_121); +lean_dec(x_2); +x_216 = l_Lean_PrettyPrinter_Delaborator_withAppFn___rarg___closed__1; +x_217 = l_Lean_PrettyPrinter_Delaborator_delabForall___lambda__1___closed__4; +x_218 = lean_panic_fn(x_216, x_217); +x_219 = lean_apply_6(x_218, x_3, x_4, x_5, x_6, x_7, x_122); +return x_219; +} +} +} +else +{ +lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; +lean_dec(x_117); +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_220 = lean_ctor_get(x_120, 0); +lean_inc(x_220); +x_221 = lean_ctor_get(x_120, 1); +lean_inc(x_221); +if (lean_is_exclusive(x_120)) { + lean_ctor_release(x_120, 0); + lean_ctor_release(x_120, 1); + x_222 = x_120; +} else { + lean_dec_ref(x_120); + x_222 = lean_box(0); +} +if (lean_is_scalar(x_222)) { + x_223 = lean_alloc_ctor(1, 2, 0); +} else { + x_223 = x_222; +} +lean_ctor_set(x_223, 0, x_220); +lean_ctor_set(x_223, 1, x_221); +return x_223; +} +} +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabForall___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabForall___lambda__1___boxed), 8, 0); +return x_1; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabForall(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = l_Lean_PrettyPrinter_Delaborator_delabForall___closed__1; +x_8 = l_Array_empty___closed__1; +x_9 = l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabBinders(x_7, x_8, x_1, x_2, x_3, x_4, x_5, x_6); +return x_9; +} +} +lean_object* l_Array_foldrMUnsafe_fold___at_Lean_PrettyPrinter_Delaborator_delabForall___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) { +_start: +{ +size_t x_12; size_t x_13; lean_object* x_14; +x_12 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_13 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_14 = l_Array_foldrMUnsafe_fold___at_Lean_PrettyPrinter_Delaborator_delabForall___spec__1(x_1, x_2, x_12, x_13, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_2); +return x_14; +} +} +lean_object* l_Array_foldrMUnsafe_fold___at_Lean_PrettyPrinter_Delaborator_delabForall___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +size_t x_12; size_t x_13; lean_object* x_14; +x_12 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_13 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_14 = l_Array_foldrMUnsafe_fold___at_Lean_PrettyPrinter_Delaborator_delabForall___spec__2(x_1, x_2, x_12, x_13, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_2); +return x_14; +} +} +lean_object* l_Array_anyMUnsafe_any___at_Lean_PrettyPrinter_Delaborator_delabForall___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +size_t x_5; size_t x_6; uint8_t x_7; lean_object* x_8; +x_5 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_6 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_7 = l_Array_anyMUnsafe_any___at_Lean_PrettyPrinter_Delaborator_delabForall___spec__3(x_1, x_2, x_5, x_6); +lean_dec(x_2); +lean_dec(x_1); +x_8 = lean_box(x_7); +return x_8; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabForall___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_PrettyPrinter_Delaborator_delabForall___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_1); +return x_9; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabForall___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabForall), 6, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabForall(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_Delaborator_delabAttribute; +x_3 = l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__7; +x_4 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabForall___closed__1; +x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); +return x_5; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabLetE_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 8) +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; uint64_t x_8; lean_object* x_9; lean_object* x_10; +lean_dec(x_3); +x_4 = lean_ctor_get(x_1, 0); +lean_inc(x_4); +x_5 = lean_ctor_get(x_1, 1); +lean_inc(x_5); +x_6 = lean_ctor_get(x_1, 2); +lean_inc(x_6); +x_7 = lean_ctor_get(x_1, 3); +lean_inc(x_7); +x_8 = lean_ctor_get_uint64(x_1, sizeof(void*)*4); +lean_dec(x_1); +x_9 = lean_box_uint64(x_8); +x_10 = lean_apply_5(x_2, x_4, x_5, x_6, x_7, x_9); +return x_10; +} +else +{ +lean_object* x_11; +lean_dec(x_2); +x_11 = lean_apply_1(x_3, x_1); +return x_11; +} +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabLetE_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabLetE_match__1___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_Meta_withLetDecl___at_Lean_PrettyPrinter_Delaborator_delabLetE___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; lean_object* x_12; +x_11 = lean_alloc_closure((void*)(l_Lean_Meta_withLocalDecl___at_Lean_PrettyPrinter_Delaborator_withBindingBody___spec__1___rarg___lambda__1), 8, 2); +lean_closure_set(x_11, 0, x_4); +lean_closure_set(x_11, 1, x_5); +x_12 = l___private_Lean_Meta_Basic_0__Lean_Meta_withLetDeclImp___rarg(x_1, x_2, x_3, x_11, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_12) == 0) +{ +uint8_t x_13; +x_13 = !lean_is_exclusive(x_12); +if (x_13 == 0) +{ +return x_12; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_14 = lean_ctor_get(x_12, 0); +x_15 = lean_ctor_get(x_12, 1); +lean_inc(x_15); +lean_inc(x_14); +lean_dec(x_12); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_14); +lean_ctor_set(x_16, 1, x_15); +return x_16; +} +} +else +{ +uint8_t x_17; +x_17 = !lean_is_exclusive(x_12); +if (x_17 == 0) +{ +return x_12; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_12, 0); +x_19 = lean_ctor_get(x_12, 1); +lean_inc(x_19); +lean_inc(x_18); +lean_dec(x_12); +x_20 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_20, 0, x_18); +lean_ctor_set(x_20, 1, x_19); +return x_20; +} +} +} +} +lean_object* l_Lean_Meta_withLetDecl___at_Lean_PrettyPrinter_Delaborator_delabLetE___spec__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Meta_withLetDecl___at_Lean_PrettyPrinter_Delaborator_delabLetE___spec__1___rarg), 10, 0); +return x_2; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabLetE___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_9 = lean_expr_instantiate1(x_1, x_2); +x_10 = lean_unsigned_to_nat(2u); +x_11 = l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__2___closed__1; +x_12 = l_Lean_PrettyPrinter_Delaborator_descend___rarg(x_9, x_10, x_11, x_3, x_4, x_5, x_6, x_7, x_8); +return x_12; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabLetE___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Lean.PrettyPrinter.Delaborator.delabLetE"); +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabLetE___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_1 = l_Lean_PrettyPrinter_Delaborator_delabFVar___closed__1; +x_2 = l_Lean_PrettyPrinter_Delaborator_delabLetE___closed__1; +x_3 = lean_unsigned_to_nat(336u); +x_4 = lean_unsigned_to_nat(38u); +x_5 = l_Lean_Syntax_strLitToAtom___closed__3; +x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); +return x_6; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabLetE(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_8; +x_7 = l_Lean_PrettyPrinter_Delaborator_getExpr(x_1, x_2, x_3, x_4, x_5, x_6); +x_8 = lean_ctor_get(x_7, 0); +lean_inc(x_8); +if (lean_obj_tag(x_8) == 8) +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_9 = lean_ctor_get(x_7, 1); +lean_inc(x_9); +lean_dec(x_7); +x_10 = lean_ctor_get(x_8, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_8, 1); +lean_inc(x_11); +x_12 = lean_ctor_get(x_8, 2); +lean_inc(x_12); +x_13 = lean_ctor_get(x_8, 3); +lean_inc(x_13); +lean_dec(x_8); +lean_inc(x_2); +x_14 = l_Lean_PrettyPrinter_Delaborator_getUnusedName(x_10, x_1, x_2, x_3, x_4, x_5, x_9); +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_14, 1); +lean_inc(x_16); +lean_dec(x_14); +x_17 = lean_unsigned_to_nat(0u); +x_18 = l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__2___closed__1; +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_1); +lean_inc(x_11); +x_19 = l_Lean_PrettyPrinter_Delaborator_descend___rarg(x_11, x_17, x_18, x_1, x_2, x_3, x_4, x_5, 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; +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); +lean_dec(x_19); +x_22 = lean_unsigned_to_nat(1u); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_1); +lean_inc(x_12); +x_23 = l_Lean_PrettyPrinter_Delaborator_descend___rarg(x_12, x_22, x_18, x_1, x_2, x_3, x_4, x_5, x_21); +if (lean_obj_tag(x_23) == 0) +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_24 = lean_ctor_get(x_23, 0); +lean_inc(x_24); +x_25 = lean_ctor_get(x_23, 1); +lean_inc(x_25); +lean_dec(x_23); +x_26 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabLetE___lambda__1___boxed), 8, 1); +lean_closure_set(x_26, 0, x_13); +lean_inc(x_15); +x_27 = l_Lean_Meta_withLetDecl___at_Lean_PrettyPrinter_Delaborator_delabLetE___spec__1___rarg(x_15, x_11, x_12, x_26, x_1, x_2, x_3, x_4, x_5, x_25); +if (lean_obj_tag(x_27) == 0) +{ +uint8_t x_28; +x_28 = !lean_is_exclusive(x_27); +if (x_28 == 0) +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; +x_29 = lean_ctor_get(x_27, 0); +x_30 = lean_mk_syntax_ident(x_15); +x_31 = l_Array_empty___closed__1; +x_32 = lean_array_push(x_31, x_30); +x_33 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; +x_34 = lean_array_push(x_32, x_33); +x_35 = l_myMacro____x40_Init_Notation___hyg_8168____closed__11; +x_36 = lean_array_push(x_35, x_20); +x_37 = l_Lean_expandExplicitBindersAux_loop___closed__8; +x_38 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_38, 0, x_37); +lean_ctor_set(x_38, 1, x_36); +x_39 = lean_array_push(x_31, x_38); +x_40 = l_Lean_nullKind___closed__2; +x_41 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_41, 0, x_40); +lean_ctor_set(x_41, 1, x_39); +x_42 = lean_array_push(x_34, x_41); +x_43 = l_myMacro____x40_Init_Notation___hyg_8830____closed__14; +x_44 = lean_array_push(x_42, x_43); +x_45 = lean_array_push(x_44, x_24); +x_46 = l_myMacro____x40_Init_Notation___hyg_8830____closed__8; +x_47 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_47, 0, x_46); +lean_ctor_set(x_47, 1, x_45); +x_48 = lean_array_push(x_31, x_47); +x_49 = l_myMacro____x40_Init_Notation___hyg_8830____closed__6; +x_50 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_50, 0, x_49); +lean_ctor_set(x_50, 1, x_48); +x_51 = l_myMacro____x40_Init_Notation___hyg_8830____closed__4; +x_52 = lean_array_push(x_51, x_50); +x_53 = l_myMacro____x40_Init_Notation___hyg_8830____closed__18; +x_54 = lean_array_push(x_52, x_53); +x_55 = lean_array_push(x_54, x_29); +x_56 = l_myMacro____x40_Init_Notation___hyg_8830____closed__2; +x_57 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_57, 0, x_56); +lean_ctor_set(x_57, 1, x_55); +lean_ctor_set(x_27, 0, x_57); +return x_27; +} +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; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; +x_58 = lean_ctor_get(x_27, 0); +x_59 = lean_ctor_get(x_27, 1); +lean_inc(x_59); +lean_inc(x_58); +lean_dec(x_27); +x_60 = lean_mk_syntax_ident(x_15); +x_61 = l_Array_empty___closed__1; +x_62 = lean_array_push(x_61, x_60); +x_63 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; +x_64 = lean_array_push(x_62, x_63); +x_65 = l_myMacro____x40_Init_Notation___hyg_8168____closed__11; +x_66 = lean_array_push(x_65, x_20); +x_67 = l_Lean_expandExplicitBindersAux_loop___closed__8; +x_68 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_68, 0, x_67); +lean_ctor_set(x_68, 1, x_66); +x_69 = lean_array_push(x_61, x_68); +x_70 = l_Lean_nullKind___closed__2; +x_71 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_71, 0, x_70); +lean_ctor_set(x_71, 1, x_69); +x_72 = lean_array_push(x_64, x_71); +x_73 = l_myMacro____x40_Init_Notation___hyg_8830____closed__14; +x_74 = lean_array_push(x_72, x_73); +x_75 = lean_array_push(x_74, x_24); +x_76 = l_myMacro____x40_Init_Notation___hyg_8830____closed__8; +x_77 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_77, 0, x_76); +lean_ctor_set(x_77, 1, x_75); +x_78 = lean_array_push(x_61, x_77); +x_79 = l_myMacro____x40_Init_Notation___hyg_8830____closed__6; +x_80 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_80, 0, x_79); +lean_ctor_set(x_80, 1, x_78); +x_81 = l_myMacro____x40_Init_Notation___hyg_8830____closed__4; +x_82 = lean_array_push(x_81, x_80); +x_83 = l_myMacro____x40_Init_Notation___hyg_8830____closed__18; +x_84 = lean_array_push(x_82, x_83); +x_85 = lean_array_push(x_84, x_58); +x_86 = l_myMacro____x40_Init_Notation___hyg_8830____closed__2; +x_87 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_87, 0, x_86); +lean_ctor_set(x_87, 1, 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_59); +return x_88; +} +} +else +{ +uint8_t x_89; +lean_dec(x_24); +lean_dec(x_20); +lean_dec(x_15); +x_89 = !lean_is_exclusive(x_27); +if (x_89 == 0) +{ +return x_27; +} +else +{ +lean_object* x_90; lean_object* x_91; lean_object* x_92; +x_90 = lean_ctor_get(x_27, 0); +x_91 = lean_ctor_get(x_27, 1); +lean_inc(x_91); +lean_inc(x_90); +lean_dec(x_27); +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 +{ +uint8_t x_93; +lean_dec(x_20); +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_93 = !lean_is_exclusive(x_23); +if (x_93 == 0) +{ +return x_23; +} +else +{ +lean_object* x_94; lean_object* x_95; lean_object* x_96; +x_94 = lean_ctor_get(x_23, 0); +x_95 = lean_ctor_get(x_23, 1); +lean_inc(x_95); +lean_inc(x_94); +lean_dec(x_23); +x_96 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_96, 0, x_94); +lean_ctor_set(x_96, 1, x_95); +return x_96; +} +} +} +else +{ +uint8_t x_97; +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_97 = !lean_is_exclusive(x_19); +if (x_97 == 0) +{ +return x_19; +} +else +{ +lean_object* x_98; lean_object* x_99; lean_object* x_100; +x_98 = lean_ctor_get(x_19, 0); +x_99 = lean_ctor_get(x_19, 1); +lean_inc(x_99); +lean_inc(x_98); +lean_dec(x_19); +x_100 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_100, 0, x_98); +lean_ctor_set(x_100, 1, x_99); +return x_100; +} +} +} +else +{ +lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; +lean_dec(x_8); +x_101 = lean_ctor_get(x_7, 1); +lean_inc(x_101); +lean_dec(x_7); +x_102 = l_Lean_PrettyPrinter_Delaborator_withAppFn___rarg___closed__1; +x_103 = l_Lean_PrettyPrinter_Delaborator_delabLetE___closed__2; +x_104 = lean_panic_fn(x_102, x_103); +x_105 = lean_apply_6(x_104, x_1, x_2, x_3, x_4, x_5, x_101); +return x_105; +} +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabLetE___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_PrettyPrinter_Delaborator_delabLetE___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_2); +lean_dec(x_1); +return x_9; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabLetE___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabLetE), 6, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabLetE(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_Delaborator_delabAttribute; +x_3 = l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__8; +x_4 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabLetE___closed__1; +x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); +return x_5; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabLit_match__1___rarg(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_object* x_5; +lean_dec(x_3); +x_4 = lean_ctor_get(x_1, 0); +lean_inc(x_4); +lean_dec(x_1); +x_5 = lean_apply_1(x_2, x_4); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_2); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_apply_1(x_3, x_6); +return x_7; +} +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabLit_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabLit_match__1___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabLit_match__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 9) +{ +lean_object* x_4; uint64_t x_5; lean_object* x_6; lean_object* x_7; +lean_dec(x_3); +x_4 = lean_ctor_get(x_1, 0); +lean_inc(x_4); +x_5 = lean_ctor_get_uint64(x_1, sizeof(void*)*1); +lean_dec(x_1); +x_6 = lean_box_uint64(x_5); +x_7 = lean_apply_2(x_2, x_4, x_6); +return x_7; +} +else +{ +lean_object* x_8; +lean_dec(x_2); +x_8 = lean_apply_1(x_3, x_1); +return x_8; +} +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabLit_match__2(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabLit_match__2___rarg), 3, 0); +return x_2; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabLit___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Lean.PrettyPrinter.Delaborator.delabLit"); +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabLit___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_1 = l_Lean_PrettyPrinter_Delaborator_delabFVar___closed__1; +x_2 = l_Lean_PrettyPrinter_Delaborator_delabLit___closed__1; +x_3 = lean_unsigned_to_nat(347u); +x_4 = lean_unsigned_to_nat(31u); +x_5 = l_Lean_Syntax_strLitToAtom___closed__3; +x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); +return x_6; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabLit(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_8; +x_7 = l_Lean_PrettyPrinter_Delaborator_getExpr(x_1, x_2, x_3, x_4, x_5, x_6); +x_8 = lean_ctor_get(x_7, 0); +lean_inc(x_8); +if (lean_obj_tag(x_8) == 9) +{ +lean_object* x_9; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_9 = lean_ctor_get(x_8, 0); +lean_inc(x_9); +lean_dec(x_8); +if (lean_obj_tag(x_9) == 0) +{ +uint8_t x_10; +x_10 = !lean_is_exclusive(x_7); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_11 = lean_ctor_get(x_7, 0); +lean_dec(x_11); +x_12 = lean_ctor_get(x_9, 0); +lean_inc(x_12); +lean_dec(x_9); +x_13 = l_Nat_repr(x_12); +x_14 = l_Lean_numLitKind; +x_15 = l_Lean_instInhabitedSourceInfo___closed__1; +x_16 = l_Lean_Syntax_mkLit(x_14, x_13, x_15); +lean_ctor_set(x_7, 0, x_16); +return x_7; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_17 = lean_ctor_get(x_7, 1); +lean_inc(x_17); +lean_dec(x_7); +x_18 = lean_ctor_get(x_9, 0); +lean_inc(x_18); +lean_dec(x_9); +x_19 = l_Nat_repr(x_18); +x_20 = l_Lean_numLitKind; +x_21 = l_Lean_instInhabitedSourceInfo___closed__1; +x_22 = l_Lean_Syntax_mkLit(x_20, x_19, 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_17); +return x_23; +} +} +else +{ +uint8_t x_24; +x_24 = !lean_is_exclusive(x_7); +if (x_24 == 0) +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_25 = lean_ctor_get(x_7, 0); +lean_dec(x_25); +x_26 = lean_ctor_get(x_9, 0); +lean_inc(x_26); +lean_dec(x_9); +x_27 = l_Lean_instInhabitedSourceInfo___closed__1; +x_28 = l_Lean_Syntax_mkStrLit(x_26, x_27); +lean_dec(x_26); +lean_ctor_set(x_7, 0, x_28); +return x_7; +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_29 = lean_ctor_get(x_7, 1); +lean_inc(x_29); +lean_dec(x_7); +x_30 = lean_ctor_get(x_9, 0); +lean_inc(x_30); +lean_dec(x_9); +x_31 = l_Lean_instInhabitedSourceInfo___closed__1; +x_32 = l_Lean_Syntax_mkStrLit(x_30, x_31); +lean_dec(x_30); +x_33 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_33, 0, x_32); +lean_ctor_set(x_33, 1, x_29); +return x_33; +} +} +} +else +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; +lean_dec(x_8); +x_34 = lean_ctor_get(x_7, 1); +lean_inc(x_34); +lean_dec(x_7); +x_35 = l_Lean_PrettyPrinter_Delaborator_withAppFn___rarg___closed__1; +x_36 = l_Lean_PrettyPrinter_Delaborator_delabLit___closed__2; +x_37 = lean_panic_fn(x_35, x_36); +x_38 = lean_apply_6(x_37, x_1, x_2, x_3, x_4, x_5, x_34); +return x_38; +} +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabLit___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabLit), 6, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabLit(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_Delaborator_delabAttribute; +x_3 = l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__9; +x_4 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabLit___closed__1; +x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); +return x_5; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabOfNat_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 5) +{ +lean_object* x_4; +x_4 = lean_ctor_get(x_1, 1); +lean_inc(x_4); +if (lean_obj_tag(x_4) == 9) +{ +lean_object* x_5; +x_5 = lean_ctor_get(x_4, 0); +lean_inc(x_5); +if (lean_obj_tag(x_5) == 0) +{ +lean_object* x_6; uint64_t x_7; uint64_t x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; +lean_dec(x_3); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +x_7 = lean_ctor_get_uint64(x_1, sizeof(void*)*2); +x_8 = lean_ctor_get_uint64(x_4, sizeof(void*)*1); +lean_dec(x_4); +x_9 = lean_ctor_get(x_5, 0); +lean_inc(x_9); +lean_dec(x_5); +x_10 = lean_box_uint64(x_8); +x_11 = lean_box_uint64(x_7); +x_12 = lean_apply_5(x_2, x_1, x_6, x_9, x_10, x_11); +return x_12; +} +else +{ +lean_object* x_13; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_13 = lean_apply_1(x_3, x_1); +return x_13; +} +} +else +{ +lean_object* x_14; +lean_dec(x_4); +lean_dec(x_2); +x_14 = lean_apply_1(x_3, x_1); +return x_14; +} +} +else +{ +lean_object* x_15; +lean_dec(x_2); +x_15 = lean_apply_1(x_3, x_1); +return x_15; +} +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabOfNat_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabOfNat_match__1___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabOfNat___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +if (lean_obj_tag(x_1) == 5) +{ +lean_object* x_8; +x_8 = lean_ctor_get(x_1, 1); +lean_inc(x_8); +lean_dec(x_1); +if (lean_obj_tag(x_8) == 9) +{ +lean_object* x_9; +x_9 = lean_ctor_get(x_8, 0); +lean_inc(x_9); +lean_dec(x_8); +if (lean_obj_tag(x_9) == 0) +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +lean_dec(x_9); +x_11 = l_Nat_repr(x_10); +x_12 = l_Lean_numLitKind; +x_13 = l_Lean_instInhabitedSourceInfo___closed__1; +x_14 = l_Lean_Syntax_mkLit(x_12, x_11, x_13); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_7); +return x_15; +} +else +{ +lean_object* x_16; +lean_dec(x_9); +x_16 = l_Lean_PrettyPrinter_Delaborator_failure___rarg(x_7); +return x_16; +} +} +else +{ +lean_object* x_17; +lean_dec(x_8); +x_17 = l_Lean_PrettyPrinter_Delaborator_failure___rarg(x_7); +return x_17; +} +} +else +{ +lean_object* x_18; +lean_dec(x_1); +x_18 = l_Lean_PrettyPrinter_Delaborator_failure___rarg(x_7); +return x_18; +} +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabOfNat___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabOfNat___lambda__1___boxed), 7, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabOfNat___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_PrettyPrinter_Delaborator_delabAppExplicit___closed__1; +x_2 = l_Lean_PrettyPrinter_Delaborator_delabOfNat___closed__1; +x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_PrettyPrinter_Delaborator_delabAppExplicit___spec__2___rarg), 8, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabOfNat___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_getPPCoercions___boxed), 1, 0); +return x_1; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabOfNat(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = l_Lean_PrettyPrinter_Delaborator_delabOfNat___closed__3; +x_8 = l_Lean_PrettyPrinter_Delaborator_delabOfNat___closed__2; +x_9 = l_Lean_PrettyPrinter_Delaborator_whenPPOption(x_7, x_8, x_1, x_2, x_3, x_4, x_5, x_6); +return x_9; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabOfNat___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l_Lean_PrettyPrinter_Delaborator_delabOfNat___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_8; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabOfNat___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__5; +x_2 = l_Lean_Meta_evalNat_visit___closed__5; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabOfNat___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabOfNat___closed__1; +x_2 = l_Lean_Expr_isCharLit___closed__3; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabOfNat___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabOfNat), 6, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabOfNat(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_Delaborator_delabAttribute; +x_3 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabOfNat___closed__2; +x_4 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabOfNat___closed__3; +x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); +return x_5; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabOne___lambda__1___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(1u); +x_2 = l_Nat_repr(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabOne___lambda__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_numLitKind; +x_2 = l_Lean_PrettyPrinter_Delaborator_delabOne___lambda__1___closed__1; +x_3 = l_Lean_instInhabitedSourceInfo___closed__1; +x_4 = l_Lean_Syntax_mkLit(x_1, x_2, x_3); +return x_4; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabOne___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; +x_8 = lean_unsigned_to_nat(0u); +x_9 = l_Lean_Expr_getAppNumArgsAux(x_1, x_8); +x_10 = lean_unsigned_to_nat(2u); +x_11 = lean_nat_dec_eq(x_9, x_10); +lean_dec(x_9); +if (x_11 == 0) +{ +lean_object* x_12; uint8_t x_13; +x_12 = l_Lean_PrettyPrinter_Delaborator_failure___rarg(x_7); +x_13 = !lean_is_exclusive(x_12); +if (x_13 == 0) +{ +return x_12; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_14 = lean_ctor_get(x_12, 0); +x_15 = lean_ctor_get(x_12, 1); +lean_inc(x_15); +lean_inc(x_14); +lean_dec(x_12); +x_16 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_16, 0, x_14); +lean_ctor_set(x_16, 1, x_15); +return x_16; +} +} +else +{ +lean_object* x_17; lean_object* x_18; +x_17 = l_Lean_PrettyPrinter_Delaborator_delabOne___lambda__1___closed__2; +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_7); +return x_18; +} +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabOne___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabOne___lambda__1___boxed), 7, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabOne___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_PrettyPrinter_Delaborator_delabAppExplicit___closed__1; +x_2 = l_Lean_PrettyPrinter_Delaborator_delabOne___closed__1; +x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_PrettyPrinter_Delaborator_delabAppExplicit___spec__2___rarg), 8, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabOne(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = l_Lean_PrettyPrinter_Delaborator_delabOfNat___closed__3; +x_8 = l_Lean_PrettyPrinter_Delaborator_delabOne___closed__2; +x_9 = l_Lean_PrettyPrinter_Delaborator_whenPPOption(x_7, x_8, x_1, x_2, x_3, x_4, x_5, x_6); +return x_9; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabOne___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l_Lean_PrettyPrinter_Delaborator_delabOne___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_8; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabOne___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__5; +x_2 = l_Lean_Meta_evalNat_visit___closed__8; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabOne___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabOne___closed__1; +x_2 = l_Lean_Meta_evalNat_visit___closed__10; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabOne___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabOne), 6, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabOne(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_Delaborator_delabAttribute; +x_3 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabOne___closed__2; +x_4 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabOne___closed__3; +x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); +return x_5; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabZero___lambda__1___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_numLitKind; +x_2 = l_Array_foldlMUnsafe_fold___at_Lean_Environment_displayStats___spec__8___lambda__1___closed__1; +x_3 = l_Lean_instInhabitedSourceInfo___closed__1; +x_4 = l_Lean_Syntax_mkLit(x_1, x_2, x_3); +return x_4; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabZero___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; +x_8 = lean_unsigned_to_nat(0u); +x_9 = l_Lean_Expr_getAppNumArgsAux(x_1, x_8); +x_10 = lean_unsigned_to_nat(2u); +x_11 = lean_nat_dec_eq(x_9, x_10); +lean_dec(x_9); +if (x_11 == 0) +{ +lean_object* x_12; uint8_t x_13; +x_12 = l_Lean_PrettyPrinter_Delaborator_failure___rarg(x_7); +x_13 = !lean_is_exclusive(x_12); +if (x_13 == 0) +{ +return x_12; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_14 = lean_ctor_get(x_12, 0); +x_15 = lean_ctor_get(x_12, 1); +lean_inc(x_15); +lean_inc(x_14); +lean_dec(x_12); +x_16 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_16, 0, x_14); +lean_ctor_set(x_16, 1, x_15); +return x_16; +} +} +else +{ +lean_object* x_17; lean_object* x_18; +x_17 = l_Lean_PrettyPrinter_Delaborator_delabZero___lambda__1___closed__1; +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_7); +return x_18; +} +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabZero___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabZero___lambda__1___boxed), 7, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabZero___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_PrettyPrinter_Delaborator_delabAppExplicit___closed__1; +x_2 = l_Lean_PrettyPrinter_Delaborator_delabZero___closed__1; +x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_PrettyPrinter_Delaborator_delabAppExplicit___spec__2___rarg), 8, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabZero(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = l_Lean_PrettyPrinter_Delaborator_delabOfNat___closed__3; +x_8 = l_Lean_PrettyPrinter_Delaborator_delabZero___closed__2; +x_9 = l_Lean_PrettyPrinter_Delaborator_whenPPOption(x_7, x_8, x_1, x_2, x_3, x_4, x_5, x_6); +return x_9; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabZero___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l_Lean_PrettyPrinter_Delaborator_delabZero___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_8; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabZero___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__5; +x_2 = l_Lean_Meta_evalNat_visit___closed__2; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabZero___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabZero___closed__1; +x_2 = l_Lean_Meta_evalNat_match__1___rarg___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabZero___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabZero), 6, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabZero(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_Delaborator_delabAttribute; +x_3 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabZero___closed__2; +x_4 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabZero___closed__3; +x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); +return x_5; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabProj_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 11) +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; uint64_t x_7; lean_object* x_8; lean_object* x_9; +lean_dec(x_3); +x_4 = lean_ctor_get(x_1, 0); +lean_inc(x_4); +x_5 = lean_ctor_get(x_1, 1); +lean_inc(x_5); +x_6 = lean_ctor_get(x_1, 2); +lean_inc(x_6); +x_7 = lean_ctor_get_uint64(x_1, sizeof(void*)*3); +lean_dec(x_1); +x_8 = lean_box_uint64(x_7); +x_9 = lean_apply_4(x_2, x_4, x_5, x_6, x_8); +return x_9; +} +else +{ +lean_object* x_10; +lean_dec(x_2); +x_10 = lean_apply_1(x_3, x_1); +return x_10; +} +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabProj_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabProj_match__1___rarg), 3, 0); +return x_2; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabProj___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Lean.PrettyPrinter.Delaborator.delabProj"); +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabProj___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_1 = l_Lean_PrettyPrinter_Delaborator_delabFVar___closed__1; +x_2 = l_Lean_PrettyPrinter_Delaborator_delabProj___closed__1; +x_3 = lean_unsigned_to_nat(379u); +x_4 = lean_unsigned_to_nat(38u); +x_5 = l_Lean_Syntax_strLitToAtom___closed__3; +x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); +return x_6; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabProj___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_myMacro____x40_Init_Notation___hyg_38____closed__6; +x_2 = l_Lean_Expr_ctorName___closed__10; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabProj___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_instInhabitedSourceInfo___closed__1; +x_2 = l_Lean_Name_toString___closed__1; +x_3 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabProj(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_8; +x_7 = l_Lean_PrettyPrinter_Delaborator_getExpr(x_1, x_2, x_3, x_4, x_5, x_6); +x_8 = lean_ctor_get(x_7, 0); +lean_inc(x_8); +if (lean_obj_tag(x_8) == 11) +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_9 = lean_ctor_get(x_7, 1); +lean_inc(x_9); +lean_dec(x_7); +x_10 = lean_ctor_get(x_8, 1); +lean_inc(x_10); +lean_dec(x_8); +x_11 = l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__2___closed__1; +x_12 = l_Lean_PrettyPrinter_Delaborator_withProj___rarg(x_11, x_1, x_2, x_3, x_4, x_5, x_9); +if (lean_obj_tag(x_12) == 0) +{ +uint8_t x_13; +x_13 = !lean_is_exclusive(x_12); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_14 = lean_ctor_get(x_12, 0); +x_15 = lean_unsigned_to_nat(1u); +x_16 = lean_nat_add(x_10, x_15); +lean_dec(x_10); +x_17 = l_Nat_repr(x_16); +x_18 = l_Lean_fieldIdxKind; +x_19 = l_Lean_instInhabitedSourceInfo___closed__1; +x_20 = l_Lean_Syntax_mkLit(x_18, x_17, x_19); +x_21 = l_Array_empty___closed__1; +x_22 = lean_array_push(x_21, x_14); +x_23 = l_Lean_PrettyPrinter_Delaborator_delabProj___closed__4; +x_24 = lean_array_push(x_22, x_23); +x_25 = lean_array_push(x_24, x_20); +x_26 = l_Lean_PrettyPrinter_Delaborator_delabProj___closed__3; +x_27 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_27, 0, x_26); +lean_ctor_set(x_27, 1, x_25); +lean_ctor_set(x_12, 0, x_27); +return x_12; +} +else +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_28 = lean_ctor_get(x_12, 0); +x_29 = lean_ctor_get(x_12, 1); +lean_inc(x_29); +lean_inc(x_28); +lean_dec(x_12); +x_30 = lean_unsigned_to_nat(1u); +x_31 = lean_nat_add(x_10, x_30); +lean_dec(x_10); +x_32 = l_Nat_repr(x_31); +x_33 = l_Lean_fieldIdxKind; +x_34 = l_Lean_instInhabitedSourceInfo___closed__1; +x_35 = l_Lean_Syntax_mkLit(x_33, x_32, x_34); +x_36 = l_Array_empty___closed__1; +x_37 = lean_array_push(x_36, x_28); +x_38 = l_Lean_PrettyPrinter_Delaborator_delabProj___closed__4; +x_39 = lean_array_push(x_37, x_38); +x_40 = lean_array_push(x_39, x_35); +x_41 = l_Lean_PrettyPrinter_Delaborator_delabProj___closed__3; +x_42 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_42, 0, x_41); +lean_ctor_set(x_42, 1, 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_29); +return x_43; +} +} +else +{ +uint8_t x_44; +lean_dec(x_10); +x_44 = !lean_is_exclusive(x_12); +if (x_44 == 0) +{ +return x_12; +} +else +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_45 = lean_ctor_get(x_12, 0); +x_46 = lean_ctor_get(x_12, 1); +lean_inc(x_46); +lean_inc(x_45); +lean_dec(x_12); +x_47 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_47, 0, x_45); +lean_ctor_set(x_47, 1, x_46); +return x_47; +} +} +} +else +{ +lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; +lean_dec(x_8); +x_48 = lean_ctor_get(x_7, 1); +lean_inc(x_48); +lean_dec(x_7); +x_49 = l_Lean_PrettyPrinter_Delaborator_withAppFn___rarg___closed__1; +x_50 = l_Lean_PrettyPrinter_Delaborator_delabProj___closed__2; +x_51 = lean_panic_fn(x_49, x_50); +x_52 = lean_apply_6(x_51, x_1, x_2, x_3, x_4, x_5, x_48); +return x_52; +} +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabProj___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabProj), 6, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabProj(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_Delaborator_delabAttribute; +x_3 = l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__11; +x_4 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabProj___closed__1; +x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); +return x_5; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabProjectionApp_match__1___rarg(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_2); +x_4 = lean_apply_1(x_3, x_1); +return x_4; +} +else +{ +lean_object* x_5; lean_object* x_6; +lean_dec(x_3); +x_5 = lean_ctor_get(x_1, 0); +lean_inc(x_5); +lean_dec(x_1); +x_6 = lean_apply_1(x_2, x_5); +return x_6; +} +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabProjectionApp_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabProjectionApp_match__1___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabProjectionApp_match__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 4) +{ +lean_object* x_4; +x_4 = lean_ctor_get(x_1, 0); +lean_inc(x_4); +if (lean_obj_tag(x_4) == 1) +{ +lean_object* x_5; uint64_t x_6; lean_object* x_7; lean_object* x_8; size_t x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; +lean_dec(x_3); +x_5 = lean_ctor_get(x_1, 1); +lean_inc(x_5); +x_6 = lean_ctor_get_uint64(x_1, sizeof(void*)*2); +lean_dec(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 = lean_ctor_get_usize(x_4, 2); +x_10 = lean_box_usize(x_9); +x_11 = lean_box_uint64(x_6); +x_12 = lean_apply_6(x_2, x_4, x_7, x_8, x_10, x_5, x_11); +return x_12; +} +else +{ +lean_object* x_13; +lean_dec(x_4); +lean_dec(x_2); +x_13 = lean_apply_1(x_3, x_1); +return x_13; +} +} +else +{ +lean_object* x_14; +lean_dec(x_2); +x_14 = lean_apply_1(x_3, x_1); +return x_14; +} +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabProjectionApp_match__2(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabProjectionApp_match__2___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabProjectionApp_match__3___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 5) +{ +lean_object* x_4; lean_object* x_5; uint64_t x_6; lean_object* x_7; lean_object* x_8; +lean_dec(x_3); +x_4 = lean_ctor_get(x_1, 0); +lean_inc(x_4); +x_5 = lean_ctor_get(x_1, 1); +lean_inc(x_5); +x_6 = lean_ctor_get_uint64(x_1, sizeof(void*)*2); +x_7 = lean_box_uint64(x_6); +x_8 = lean_apply_4(x_2, x_1, x_4, x_5, x_7); +return x_8; +} +else +{ +lean_object* x_9; +lean_dec(x_2); +x_9 = lean_apply_1(x_3, x_1); +return x_9; +} +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabProjectionApp_match__3(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabProjectionApp_match__3___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabProjectionApp___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +if (lean_obj_tag(x_1) == 5) +{ +lean_object* x_8; lean_object* x_9; +x_8 = lean_ctor_get(x_1, 0); +x_9 = l_Lean_Expr_getAppFn(x_8); +if (lean_obj_tag(x_9) == 4) +{ +lean_object* x_10; +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +lean_dec(x_9); +if (lean_obj_tag(x_10) == 1) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_11 = lean_ctor_get(x_10, 1); +lean_inc(x_11); +x_12 = lean_st_ref_get(x_6, x_7); +x_13 = lean_ctor_get(x_12, 0); +lean_inc(x_13); +x_14 = lean_ctor_get(x_12, 1); +lean_inc(x_14); +lean_dec(x_12); +x_15 = lean_ctor_get(x_13, 0); +lean_inc(x_15); +lean_dec(x_13); +x_16 = lean_get_projection_info(x_15, x_10); +if (lean_obj_tag(x_16) == 0) +{ +lean_object* x_17; +lean_dec(x_11); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_17 = l_Lean_PrettyPrinter_Delaborator_failure___rarg(x_14); +return x_17; +} +else +{ +lean_object* x_18; uint8_t x_19; +x_18 = lean_ctor_get(x_16, 0); +lean_inc(x_18); +lean_dec(x_16); +x_19 = lean_ctor_get_uint8(x_18, sizeof(void*)*3); +if (x_19 == 0) +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_99; lean_object* x_100; uint8_t x_101; +x_20 = lean_unsigned_to_nat(0u); +x_21 = l_Lean_Expr_getAppNumArgsAux(x_1, x_20); +x_22 = lean_ctor_get(x_18, 1); +lean_inc(x_22); +lean_dec(x_18); +x_99 = lean_unsigned_to_nat(1u); +x_100 = lean_nat_add(x_22, x_99); +x_101 = lean_nat_dec_eq(x_21, x_100); +lean_dec(x_100); +lean_dec(x_21); +if (x_101 == 0) +{ +lean_object* x_102; uint8_t x_103; +lean_dec(x_22); +lean_dec(x_11); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_102 = l_Lean_PrettyPrinter_Delaborator_failure___rarg(x_14); +x_103 = !lean_is_exclusive(x_102); +if (x_103 == 0) +{ +return x_102; +} +else +{ +lean_object* x_104; lean_object* x_105; lean_object* x_106; +x_104 = lean_ctor_get(x_102, 0); +x_105 = lean_ctor_get(x_102, 1); +lean_inc(x_105); +lean_inc(x_104); +lean_dec(x_102); +x_106 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_106, 0, x_104); +lean_ctor_set(x_106, 1, x_105); +return x_106; +} +} +else +{ +x_23 = x_14; +goto block_98; +} +block_98: +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; +x_24 = l_Lean_PrettyPrinter_Delaborator_delabAppImplicit___closed__7; +lean_inc(x_2); +x_25 = l_Lean_PrettyPrinter_Delaborator_getPPOption(x_24, x_2, x_3, x_4, x_5, x_6, x_23); +x_26 = lean_ctor_get(x_25, 0); +lean_inc(x_26); +x_27 = lean_unbox(x_26); +lean_dec(x_26); +if (x_27 == 0) +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; +lean_dec(x_22); +x_28 = lean_ctor_get(x_25, 1); +lean_inc(x_28); +lean_dec(x_25); +x_29 = l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__2___closed__1; +x_30 = l_Lean_PrettyPrinter_Delaborator_withAppArg___rarg(x_29, x_2, x_3, x_4, x_5, x_6, x_28); +if (lean_obj_tag(x_30) == 0) +{ +uint8_t x_31; +x_31 = !lean_is_exclusive(x_30); +if (x_31 == 0) +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_32 = lean_ctor_get(x_30, 0); +x_33 = l_Array_empty___closed__1; +x_34 = lean_array_push(x_33, x_32); +x_35 = l_Lean_PrettyPrinter_Delaborator_delabProj___closed__4; +x_36 = lean_array_push(x_34, x_35); +x_37 = lean_box(0); +x_38 = lean_name_mk_string(x_37, x_11); +x_39 = lean_mk_syntax_ident(x_38); +x_40 = lean_array_push(x_36, x_39); +x_41 = l_Lean_PrettyPrinter_Delaborator_delabProj___closed__3; +x_42 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_42, 0, x_41); +lean_ctor_set(x_42, 1, x_40); +lean_ctor_set(x_30, 0, x_42); +return x_30; +} +else +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; +x_43 = lean_ctor_get(x_30, 0); +x_44 = lean_ctor_get(x_30, 1); +lean_inc(x_44); +lean_inc(x_43); +lean_dec(x_30); +x_45 = l_Array_empty___closed__1; +x_46 = lean_array_push(x_45, x_43); +x_47 = l_Lean_PrettyPrinter_Delaborator_delabProj___closed__4; +x_48 = lean_array_push(x_46, x_47); +x_49 = lean_box(0); +x_50 = lean_name_mk_string(x_49, x_11); +x_51 = lean_mk_syntax_ident(x_50); +x_52 = lean_array_push(x_48, x_51); +x_53 = l_Lean_PrettyPrinter_Delaborator_delabProj___closed__3; +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_alloc_ctor(0, 2, 0); +lean_ctor_set(x_55, 0, x_54); +lean_ctor_set(x_55, 1, x_44); +return x_55; +} +} +else +{ +uint8_t x_56; +lean_dec(x_11); +x_56 = !lean_is_exclusive(x_30); +if (x_56 == 0) +{ +return x_30; +} +else +{ +lean_object* x_57; lean_object* x_58; lean_object* x_59; +x_57 = lean_ctor_get(x_30, 0); +x_58 = lean_ctor_get(x_30, 1); +lean_inc(x_58); +lean_inc(x_57); +lean_dec(x_30); +x_59 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_59, 0, x_57); +lean_ctor_set(x_59, 1, x_58); +return x_59; +} +} +} +else +{ +lean_object* x_60; uint8_t x_61; +x_60 = lean_ctor_get(x_25, 1); +lean_inc(x_60); +lean_dec(x_25); +x_61 = lean_nat_dec_eq(x_22, x_20); +lean_dec(x_22); +if (x_61 == 0) +{ +lean_object* x_62; uint8_t x_63; +lean_dec(x_11); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_62 = l_Lean_PrettyPrinter_Delaborator_failure___rarg(x_60); +x_63 = !lean_is_exclusive(x_62); +if (x_63 == 0) +{ +return x_62; +} +else +{ +lean_object* x_64; lean_object* x_65; lean_object* x_66; +x_64 = lean_ctor_get(x_62, 0); +x_65 = lean_ctor_get(x_62, 1); +lean_inc(x_65); +lean_inc(x_64); +lean_dec(x_62); +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; +} +} +else +{ +lean_object* x_67; lean_object* x_68; +x_67 = l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__2___closed__1; +x_68 = l_Lean_PrettyPrinter_Delaborator_withAppArg___rarg(x_67, x_2, x_3, x_4, x_5, x_6, x_60); +if (lean_obj_tag(x_68) == 0) +{ +uint8_t x_69; +x_69 = !lean_is_exclusive(x_68); +if (x_69 == 0) +{ +lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; +x_70 = lean_ctor_get(x_68, 0); +x_71 = l_Array_empty___closed__1; +x_72 = lean_array_push(x_71, x_70); +x_73 = l_Lean_PrettyPrinter_Delaborator_delabProj___closed__4; +x_74 = lean_array_push(x_72, x_73); +x_75 = lean_box(0); +x_76 = lean_name_mk_string(x_75, x_11); +x_77 = lean_mk_syntax_ident(x_76); +x_78 = lean_array_push(x_74, x_77); +x_79 = l_Lean_PrettyPrinter_Delaborator_delabProj___closed__3; +x_80 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_80, 0, x_79); +lean_ctor_set(x_80, 1, x_78); +lean_ctor_set(x_68, 0, x_80); +return x_68; +} +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; 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_81 = lean_ctor_get(x_68, 0); +x_82 = lean_ctor_get(x_68, 1); +lean_inc(x_82); +lean_inc(x_81); +lean_dec(x_68); +x_83 = l_Array_empty___closed__1; +x_84 = lean_array_push(x_83, x_81); +x_85 = l_Lean_PrettyPrinter_Delaborator_delabProj___closed__4; +x_86 = lean_array_push(x_84, x_85); +x_87 = lean_box(0); +x_88 = lean_name_mk_string(x_87, x_11); +x_89 = lean_mk_syntax_ident(x_88); +x_90 = lean_array_push(x_86, x_89); +x_91 = l_Lean_PrettyPrinter_Delaborator_delabProj___closed__3; +x_92 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_92, 0, x_91); +lean_ctor_set(x_92, 1, x_90); +x_93 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_93, 0, x_92); +lean_ctor_set(x_93, 1, x_82); +return x_93; +} +} +else +{ +uint8_t x_94; +lean_dec(x_11); +x_94 = !lean_is_exclusive(x_68); +if (x_94 == 0) +{ +return x_68; +} +else +{ +lean_object* x_95; lean_object* x_96; lean_object* x_97; +x_95 = lean_ctor_get(x_68, 0); +x_96 = lean_ctor_get(x_68, 1); +lean_inc(x_96); +lean_inc(x_95); +lean_dec(x_68); +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_107; uint8_t x_108; +lean_dec(x_18); +lean_dec(x_11); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_107 = l_Lean_PrettyPrinter_Delaborator_failure___rarg(x_14); +x_108 = !lean_is_exclusive(x_107); +if (x_108 == 0) +{ +return x_107; +} +else +{ +lean_object* x_109; lean_object* x_110; lean_object* x_111; +x_109 = lean_ctor_get(x_107, 0); +x_110 = lean_ctor_get(x_107, 1); +lean_inc(x_110); +lean_inc(x_109); +lean_dec(x_107); +x_111 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_111, 0, x_109); +lean_ctor_set(x_111, 1, x_110); +return x_111; +} +} +} +} +else +{ +lean_object* x_112; +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_112 = l_Lean_PrettyPrinter_Delaborator_failure___rarg(x_7); +return x_112; +} +} +else +{ +lean_object* x_113; +lean_dec(x_9); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_113 = l_Lean_PrettyPrinter_Delaborator_failure___rarg(x_7); +return x_113; +} +} +else +{ +lean_object* x_114; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_114 = l_Lean_PrettyPrinter_Delaborator_failure___rarg(x_7); +return x_114; +} +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabProjectionApp___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabProjectionApp___lambda__1___boxed), 7, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabProjectionApp___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_PrettyPrinter_Delaborator_delabAppExplicit___closed__1; +x_2 = l_Lean_PrettyPrinter_Delaborator_delabProjectionApp___closed__1; +x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_PrettyPrinter_Delaborator_delabAppExplicit___spec__2___rarg), 8, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabProjectionApp___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_getPPStructureProjections___boxed), 1, 0); +return x_1; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabProjectionApp(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = l_Lean_PrettyPrinter_Delaborator_delabProjectionApp___closed__3; +x_8 = l_Lean_PrettyPrinter_Delaborator_delabProjectionApp___closed__2; +x_9 = l_Lean_PrettyPrinter_Delaborator_whenPPOption(x_7, x_8, x_1, x_2, x_3, x_4, x_5, x_6); +return x_9; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabProjectionApp___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l_Lean_PrettyPrinter_Delaborator_delabProjectionApp___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_1); +return x_8; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabProjectionApp___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabProjectionApp), 6, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabProjectionApp(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_Delaborator_delabAttribute; +x_3 = l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__5; +x_4 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabProjectionApp___closed__1; +x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); +return x_5; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabStructureInstance_match__1___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_Lean_PrettyPrinter_Delaborator_delabStructureInstance_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabStructureInstance_match__1___rarg), 2, 0); +return x_2; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabStructureInstance_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_Lean_PrettyPrinter_Delaborator_delabStructureInstance_match__2(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabStructureInstance_match__2___rarg), 2, 0); +return x_2; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabStructureInstance_match__3___rarg(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_2); +x_4 = lean_apply_1(x_3, x_1); +return x_4; +} +else +{ +lean_object* x_5; lean_object* x_6; +lean_dec(x_3); +x_5 = lean_ctor_get(x_1, 0); +lean_inc(x_5); +lean_dec(x_1); +x_6 = lean_apply_1(x_2, x_5); +return x_6; +} +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabStructureInstance_match__3(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabStructureInstance_match__3___rarg), 3, 0); +return x_2; +} +} +static lean_object* _init_l_Array_mapIdxM_map___at_Lean_PrettyPrinter_Delaborator_delabStructureInstance___spec__1___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_mkOptionalNode___closed__2; +x_2 = l_Lean_PrettyPrinter_Delaborator_delabConst___lambda__1___closed__6; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Array_mapIdxM_map___at_Lean_PrettyPrinter_Delaborator_delabStructureInstance___spec__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_nullKind; +x_2 = l_Array_mapIdxM_map___at_Lean_PrettyPrinter_Delaborator_delabStructureInstance___spec__1___closed__1; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +lean_object* l_Array_mapIdxM_map___at_Lean_PrettyPrinter_Delaborator_delabStructureInstance___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; uint8_t x_9; +x_8 = lean_unsigned_to_nat(0u); +x_9 = lean_nat_dec_eq(x_4, x_8); +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_10 = lean_unsigned_to_nat(1u); +x_11 = lean_nat_sub(x_4, x_10); +lean_dec(x_4); +x_12 = lean_array_fget(x_3, x_5); +x_13 = lean_array_get_size(x_2); +x_14 = lean_nat_sub(x_13, x_10); +lean_dec(x_13); +x_15 = lean_nat_dec_lt(x_5, x_14); +lean_dec(x_14); +x_16 = l_Lean_Syntax_mkApp___closed__1; +x_17 = lean_array_push(x_16, x_12); +x_18 = lean_nat_add(x_5, x_10); +lean_dec(x_5); +if (x_15 == 0) +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_19 = l_Lean_nullKind; +lean_inc(x_1); +x_20 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_1); +x_21 = lean_array_push(x_17, x_20); +x_22 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_22, 0, x_19); +lean_ctor_set(x_22, 1, x_21); +x_23 = lean_array_push(x_7, x_22); +x_4 = x_11; +x_5 = x_18; +x_6 = lean_box(0); +x_7 = x_23; +goto _start; +} +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_25 = l_Array_mapIdxM_map___at_Lean_PrettyPrinter_Delaborator_delabStructureInstance___spec__1___closed__2; +x_26 = lean_array_push(x_17, x_25); +x_27 = l_Lean_nullKind; +x_28 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_28, 0, x_27); +lean_ctor_set(x_28, 1, x_26); +x_29 = lean_array_push(x_7, x_28); +x_4 = x_11; +x_5 = x_18; +x_6 = lean_box(0); +x_7 = x_29; +goto _start; +} +} +else +{ +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_1); +return x_7; +} +} +} +lean_object* l_Array_mapIdxM_map___at_Lean_PrettyPrinter_Delaborator_delabStructureInstance___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; uint8_t x_9; +x_8 = lean_unsigned_to_nat(0u); +x_9 = lean_nat_dec_eq(x_4, x_8); +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_10 = lean_unsigned_to_nat(1u); +x_11 = lean_nat_sub(x_4, x_10); +lean_dec(x_4); +x_12 = lean_array_fget(x_3, x_5); +x_13 = lean_array_get_size(x_2); +x_14 = lean_nat_sub(x_13, x_10); +lean_dec(x_13); +x_15 = lean_nat_dec_lt(x_5, x_14); +lean_dec(x_14); +x_16 = l_Lean_Syntax_mkApp___closed__1; +x_17 = lean_array_push(x_16, x_12); +x_18 = lean_nat_add(x_5, x_10); +lean_dec(x_5); +if (x_15 == 0) +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_19 = l_Lean_nullKind; +lean_inc(x_1); +x_20 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_1); +x_21 = lean_array_push(x_17, x_20); +x_22 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_22, 0, x_19); +lean_ctor_set(x_22, 1, x_21); +x_23 = lean_array_push(x_7, x_22); +x_4 = x_11; +x_5 = x_18; +x_6 = lean_box(0); +x_7 = x_23; +goto _start; +} +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_25 = l_Array_mapIdxM_map___at_Lean_PrettyPrinter_Delaborator_delabStructureInstance___spec__1___closed__2; +x_26 = lean_array_push(x_17, x_25); +x_27 = l_Lean_nullKind; +x_28 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_28, 0, x_27); +lean_ctor_set(x_28, 1, x_26); +x_29 = lean_array_push(x_7, x_28); +x_4 = x_11; +x_5 = x_18; +x_6 = lean_box(0); +x_7 = x_29; +goto _start; +} +} +else +{ +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_1); +return x_7; +} +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabStructureInstance___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; uint8_t x_8; +x_7 = lean_st_ref_get(x_5, x_6); +x_8 = !lean_is_exclusive(x_7); +if (x_8 == 0) +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_ctor_get(x_7, 0); +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +lean_dec(x_9); +lean_ctor_set(x_7, 0, x_10); +return x_7; +} +else +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_11 = lean_ctor_get(x_7, 0); +x_12 = lean_ctor_get(x_7, 1); +lean_inc(x_12); +lean_inc(x_11); +lean_dec(x_7); +x_13 = lean_ctor_get(x_11, 0); +lean_inc(x_13); +lean_dec(x_11); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_13); +lean_ctor_set(x_14, 1, x_12); +return x_14; +} +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabStructureInstance___lambda__2___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_myMacro____x40_Init_Notation___hyg_8830____closed__13; +x_2 = l_Lean_mkAtom(x_1); +return x_2; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabStructureInstance___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +uint8_t x_11; +x_11 = !lean_is_exclusive(x_4); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_12 = lean_ctor_get(x_4, 0); +x_13 = lean_ctor_get(x_4, 1); +x_14 = lean_nat_dec_lt(x_12, x_1); +if (x_14 == 0) +{ +lean_object* x_15; +x_15 = l_Lean_PrettyPrinter_Delaborator_delab(x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_15) == 0) +{ +uint8_t x_16; +x_16 = !lean_is_exclusive(x_15); +if (x_16 == 0) +{ +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; +x_17 = lean_ctor_get(x_15, 0); +x_18 = lean_nat_sub(x_12, x_1); +x_19 = l_Lean_instInhabitedName; +x_20 = lean_array_get(x_19, x_2, x_18); +lean_dec(x_18); +x_21 = lean_mk_syntax_ident(x_20); +x_22 = l_Lean_nullKind; +x_23 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_23, 0, x_22); +lean_ctor_set(x_23, 1, x_3); +x_24 = l_Std_PersistentHashMap_mkCollisionNode___rarg___closed__1; +x_25 = lean_array_push(x_24, x_21); +x_26 = lean_array_push(x_25, x_23); +x_27 = l_Lean_PrettyPrinter_Delaborator_delabStructureInstance___lambda__2___closed__1; +x_28 = lean_array_push(x_26, x_27); +x_29 = lean_array_push(x_28, x_17); +x_30 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__7; +x_31 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_31, 0, x_30); +lean_ctor_set(x_31, 1, x_29); +x_32 = lean_unsigned_to_nat(1u); +x_33 = lean_nat_add(x_12, x_32); +lean_dec(x_12); +x_34 = lean_array_push(x_13, x_31); +lean_ctor_set(x_4, 1, x_34); +lean_ctor_set(x_4, 0, x_33); +lean_ctor_set(x_15, 0, x_4); +return x_15; +} +else +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; +x_35 = lean_ctor_get(x_15, 0); +x_36 = lean_ctor_get(x_15, 1); +lean_inc(x_36); +lean_inc(x_35); +lean_dec(x_15); +x_37 = lean_nat_sub(x_12, x_1); +x_38 = l_Lean_instInhabitedName; +x_39 = lean_array_get(x_38, x_2, x_37); +lean_dec(x_37); +x_40 = lean_mk_syntax_ident(x_39); +x_41 = l_Lean_nullKind; +x_42 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_42, 0, x_41); +lean_ctor_set(x_42, 1, x_3); +x_43 = l_Std_PersistentHashMap_mkCollisionNode___rarg___closed__1; +x_44 = lean_array_push(x_43, x_40); +x_45 = lean_array_push(x_44, x_42); +x_46 = l_Lean_PrettyPrinter_Delaborator_delabStructureInstance___lambda__2___closed__1; +x_47 = lean_array_push(x_45, x_46); +x_48 = lean_array_push(x_47, x_35); +x_49 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__7; +x_50 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_50, 0, x_49); +lean_ctor_set(x_50, 1, x_48); +x_51 = lean_unsigned_to_nat(1u); +x_52 = lean_nat_add(x_12, x_51); +lean_dec(x_12); +x_53 = lean_array_push(x_13, x_50); +lean_ctor_set(x_4, 1, x_53); +lean_ctor_set(x_4, 0, x_52); +x_54 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_54, 0, x_4); +lean_ctor_set(x_54, 1, x_36); +return x_54; +} +} +else +{ +uint8_t x_55; +lean_free_object(x_4); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_3); +x_55 = !lean_is_exclusive(x_15); +if (x_55 == 0) +{ +return x_15; +} +else +{ +lean_object* x_56; lean_object* x_57; lean_object* x_58; +x_56 = lean_ctor_get(x_15, 0); +x_57 = lean_ctor_get(x_15, 1); +lean_inc(x_57); +lean_inc(x_56); +lean_dec(x_15); +x_58 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_58, 0, x_56); +lean_ctor_set(x_58, 1, x_57); +return x_58; +} +} +} +else +{ +lean_object* x_59; lean_object* x_60; lean_object* x_61; +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +x_59 = lean_unsigned_to_nat(1u); +x_60 = lean_nat_add(x_12, x_59); +lean_dec(x_12); +lean_ctor_set(x_4, 0, x_60); +x_61 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_61, 0, x_4); +lean_ctor_set(x_61, 1, x_10); +return x_61; +} +} +else +{ +lean_object* x_62; lean_object* x_63; uint8_t x_64; +x_62 = lean_ctor_get(x_4, 0); +x_63 = lean_ctor_get(x_4, 1); +lean_inc(x_63); +lean_inc(x_62); +lean_dec(x_4); +x_64 = lean_nat_dec_lt(x_62, x_1); +if (x_64 == 0) +{ +lean_object* x_65; +x_65 = l_Lean_PrettyPrinter_Delaborator_delab(x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_65) == 0) +{ +lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; +x_66 = lean_ctor_get(x_65, 0); +lean_inc(x_66); +x_67 = lean_ctor_get(x_65, 1); +lean_inc(x_67); +if (lean_is_exclusive(x_65)) { + lean_ctor_release(x_65, 0); + lean_ctor_release(x_65, 1); + x_68 = x_65; +} else { + lean_dec_ref(x_65); + x_68 = lean_box(0); +} +x_69 = lean_nat_sub(x_62, x_1); +x_70 = l_Lean_instInhabitedName; +x_71 = lean_array_get(x_70, x_2, x_69); +lean_dec(x_69); +x_72 = lean_mk_syntax_ident(x_71); +x_73 = l_Lean_nullKind; +x_74 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_74, 0, x_73); +lean_ctor_set(x_74, 1, x_3); +x_75 = l_Std_PersistentHashMap_mkCollisionNode___rarg___closed__1; +x_76 = lean_array_push(x_75, x_72); +x_77 = lean_array_push(x_76, x_74); +x_78 = l_Lean_PrettyPrinter_Delaborator_delabStructureInstance___lambda__2___closed__1; +x_79 = lean_array_push(x_77, x_78); +x_80 = lean_array_push(x_79, x_66); +x_81 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__7; +x_82 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_82, 0, x_81); +lean_ctor_set(x_82, 1, x_80); +x_83 = lean_unsigned_to_nat(1u); +x_84 = lean_nat_add(x_62, x_83); +lean_dec(x_62); +x_85 = lean_array_push(x_63, x_82); +x_86 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_86, 0, x_84); +lean_ctor_set(x_86, 1, x_85); +if (lean_is_scalar(x_68)) { + x_87 = lean_alloc_ctor(0, 2, 0); +} else { + x_87 = x_68; +} +lean_ctor_set(x_87, 0, x_86); +lean_ctor_set(x_87, 1, x_67); +return x_87; +} +else +{ +lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; +lean_dec(x_63); +lean_dec(x_62); +lean_dec(x_3); +x_88 = lean_ctor_get(x_65, 0); +lean_inc(x_88); +x_89 = lean_ctor_get(x_65, 1); +lean_inc(x_89); +if (lean_is_exclusive(x_65)) { + lean_ctor_release(x_65, 0); + lean_ctor_release(x_65, 1); + x_90 = x_65; +} else { + lean_dec_ref(x_65); + x_90 = lean_box(0); +} +if (lean_is_scalar(x_90)) { + x_91 = lean_alloc_ctor(1, 2, 0); +} else { + x_91 = x_90; +} +lean_ctor_set(x_91, 0, x_88); +lean_ctor_set(x_91, 1, x_89); +return x_91; +} +} +else +{ +lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +x_92 = lean_unsigned_to_nat(1u); +x_93 = lean_nat_add(x_62, x_92); +lean_dec(x_62); +x_94 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_94, 0, x_93); +lean_ctor_set(x_94, 1, x_63); +x_95 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_95, 0, x_94); +lean_ctor_set(x_95, 1, x_10); +return x_95; +} +} +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabStructureInstance___lambda__3___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_unsigned_to_nat(0u); +x_2 = l_Array_empty___closed__1; +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabStructureInstance___lambda__3___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_PrettyPrinter_Delaborator_delabStructureInstance___lambda__3___closed__1; +x_2 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_PrettyPrinter_Delaborator_instMonadQuotationDelabM___spec__1___rarg___boxed), 7, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabStructureInstance___lambda__3___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_getPPStructureInstanceType___boxed), 1, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabStructureInstance___lambda__3___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_addParenHeuristic___closed__1; +x_2 = l_Lean_mkAtom(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabStructureInstance___lambda__3___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__20; +x_2 = l_Lean_mkAtom(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabStructureInstance___lambda__3___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkEqNDRecImp___closed__6; +x_2 = l_Lean_PrettyPrinter_Delaborator_delabStructureInstance___lambda__3___closed__4; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabStructureInstance___lambda__3___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_PrettyPrinter_Delaborator_delabStructureInstance___lambda__3___closed__6; +x_2 = l_Lean_mkOptionalNode___closed__1; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabStructureInstance___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_8 = l_Lean_PrettyPrinter_Delaborator_getExpr(x_2, x_3, x_4, x_5, x_6, x_7); +x_9 = lean_ctor_get(x_8, 0); +lean_inc(x_9); +x_10 = lean_ctor_get(x_8, 1); +lean_inc(x_10); +lean_dec(x_8); +lean_inc(x_1); +x_11 = l_Lean_Expr_isConstructorApp_x3f(x_1, x_9); +if (lean_obj_tag(x_11) == 0) +{ +lean_object* x_12; +lean_dec(x_9); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_12 = l_Lean_PrettyPrinter_Delaborator_failure___rarg(x_10); +return x_12; +} +else +{ +lean_object* x_13; lean_object* x_14; uint8_t x_15; +x_13 = lean_ctor_get(x_11, 0); +lean_inc(x_13); +lean_dec(x_11); +x_14 = lean_ctor_get(x_13, 1); +lean_inc(x_14); +lean_inc(x_14); +lean_inc(x_1); +x_15 = l_Lean_isStructure(x_1, x_14); +if (x_15 == 0) +{ +lean_object* x_16; uint8_t x_17; +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_9); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_16 = l_Lean_PrettyPrinter_Delaborator_failure___rarg(x_10); +x_17 = !lean_is_exclusive(x_16); +if (x_17 == 0) +{ +return x_16; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_16, 0); +x_19 = lean_ctor_get(x_16, 1); +lean_inc(x_19); +lean_inc(x_18); +lean_dec(x_16); +x_20 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_20, 0, x_18); +lean_ctor_set(x_20, 1, x_19); +return x_20; +} +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_122; +x_21 = l_Lean_PrettyPrinter_Delaborator_delabAppImplicit___closed__7; +lean_inc(x_2); +x_22 = l_Lean_PrettyPrinter_Delaborator_getPPOption(x_21, x_2, x_3, x_4, x_5, x_6, x_10); +x_23 = lean_ctor_get(x_22, 0); +lean_inc(x_23); +x_24 = lean_ctor_get(x_22, 1); +lean_inc(x_24); +lean_dec(x_22); +x_25 = lean_ctor_get(x_13, 3); +lean_inc(x_25); +lean_dec(x_13); +x_122 = lean_unbox(x_23); +lean_dec(x_23); +if (x_122 == 0) +{ +x_26 = x_24; +goto block_121; +} +else +{ +lean_object* x_123; uint8_t x_124; +x_123 = lean_unsigned_to_nat(0u); +x_124 = lean_nat_dec_lt(x_123, x_25); +if (x_124 == 0) +{ +x_26 = x_24; +goto block_121; +} +else +{ +lean_object* x_125; uint8_t x_126; +lean_dec(x_25); +lean_dec(x_14); +lean_dec(x_9); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_125 = l_Lean_PrettyPrinter_Delaborator_failure___rarg(x_24); +x_126 = !lean_is_exclusive(x_125); +if (x_126 == 0) +{ +return x_125; +} +else +{ +lean_object* x_127; lean_object* x_128; lean_object* x_129; +x_127 = lean_ctor_get(x_125, 0); +x_128 = lean_ctor_get(x_125, 1); +lean_inc(x_128); +lean_inc(x_127); +lean_dec(x_125); +x_129 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_129, 0, x_127); +lean_ctor_set(x_129, 1, x_128); +return x_129; +} +} +} +block_121: +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_27 = l_Lean_getStructureFields(x_1, x_14); +x_28 = l_Array_empty___closed__1; +x_29 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabStructureInstance___lambda__2___boxed), 10, 3); +lean_closure_set(x_29, 0, x_25); +lean_closure_set(x_29, 1, x_27); +lean_closure_set(x_29, 2, x_28); +x_30 = l_Lean_PrettyPrinter_Delaborator_delabStructureInstance___lambda__3___closed__2; +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +x_31 = l_Lean_PrettyPrinter_Delaborator_withAppFnArgs___rarg(x_30, x_29, x_2, x_3, x_4, x_5, x_6, x_26); +if (lean_obj_tag(x_31) == 0) +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; uint8_t x_42; +x_32 = lean_ctor_get(x_31, 0); +lean_inc(x_32); +x_33 = lean_ctor_get(x_31, 1); +lean_inc(x_33); +lean_dec(x_31); +x_34 = lean_ctor_get(x_32, 1); +lean_inc(x_34); +lean_dec(x_32); +x_35 = lean_array_get_size(x_34); +x_36 = lean_mk_empty_array_with_capacity(x_35); +x_37 = lean_unsigned_to_nat(0u); +x_38 = l_Array_mapIdxM_map___at_Lean_PrettyPrinter_Delaborator_delabStructureInstance___spec__2(x_28, x_34, x_34, x_35, x_37, lean_box(0), x_36); +lean_dec(x_34); +x_39 = l_Lean_PrettyPrinter_Delaborator_delabStructureInstance___lambda__3___closed__3; +lean_inc(x_2); +x_40 = l_Lean_PrettyPrinter_Delaborator_getPPOption(x_39, x_2, x_3, x_4, x_5, x_6, x_33); +x_41 = lean_ctor_get(x_40, 0); +lean_inc(x_41); +x_42 = lean_unbox(x_41); +lean_dec(x_41); +if (x_42 == 0) +{ +uint8_t x_43; +lean_dec(x_9); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_43 = !lean_is_exclusive(x_40); +if (x_43 == 0) +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; +x_44 = lean_ctor_get(x_40, 0); +lean_dec(x_44); +x_45 = l_Lean_nullKind; +x_46 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_46, 0, x_45); +lean_ctor_set(x_46, 1, x_38); +x_47 = l_Lean_PrettyPrinter_Delaborator_delabStructureInstance___lambda__3___closed__7; +x_48 = lean_array_push(x_47, x_46); +x_49 = l_Lean_mkOptionalNode___closed__1; +x_50 = lean_array_push(x_48, x_49); +x_51 = lean_array_push(x_50, x_49); +x_52 = l_Lean_PrettyPrinter_Delaborator_delabStructureInstance___lambda__3___closed__5; +x_53 = lean_array_push(x_51, x_52); +x_54 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__2; +x_55 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_55, 0, x_54); +lean_ctor_set(x_55, 1, x_53); +lean_ctor_set(x_40, 0, x_55); +return x_40; +} +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; lean_object* x_68; +x_56 = lean_ctor_get(x_40, 1); +lean_inc(x_56); +lean_dec(x_40); +x_57 = l_Lean_nullKind; +x_58 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_58, 0, x_57); +lean_ctor_set(x_58, 1, x_38); +x_59 = l_Lean_PrettyPrinter_Delaborator_delabStructureInstance___lambda__3___closed__7; +x_60 = lean_array_push(x_59, x_58); +x_61 = l_Lean_mkOptionalNode___closed__1; +x_62 = lean_array_push(x_60, x_61); +x_63 = lean_array_push(x_62, x_61); +x_64 = l_Lean_PrettyPrinter_Delaborator_delabStructureInstance___lambda__3___closed__5; +x_65 = lean_array_push(x_63, x_64); +x_66 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__2; +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_alloc_ctor(0, 2, 0); +lean_ctor_set(x_68, 0, x_67); +lean_ctor_set(x_68, 1, x_56); +return x_68; +} +} +else +{ +lean_object* x_69; lean_object* x_70; +x_69 = lean_ctor_get(x_40, 1); +lean_inc(x_69); +lean_dec(x_40); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +x_70 = l_Lean_Meta_inferType___at___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabPatterns___spec__2(x_9, x_2, x_3, x_4, x_5, x_6, x_69); +if (lean_obj_tag(x_70) == 0) +{ +lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; +x_71 = lean_ctor_get(x_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_unsigned_to_nat(2u); +x_74 = l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__2___closed__1; +x_75 = l_Lean_PrettyPrinter_Delaborator_descend___rarg(x_71, x_73, x_74, x_2, x_3, x_4, x_5, x_6, x_72); +if (lean_obj_tag(x_75) == 0) +{ +uint8_t x_76; +x_76 = !lean_is_exclusive(x_75); +if (x_76 == 0) +{ +lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; +x_77 = lean_ctor_get(x_75, 0); +x_78 = l_Lean_nullKind; +x_79 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_79, 0, x_78); +lean_ctor_set(x_79, 1, x_38); +x_80 = l_Lean_Elab_Term_mkExplicitBinder___closed__5; +x_81 = lean_array_push(x_80, x_77); +x_82 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_82, 0, x_78); +lean_ctor_set(x_82, 1, x_81); +x_83 = l_Lean_PrettyPrinter_Delaborator_delabStructureInstance___lambda__3___closed__7; +x_84 = lean_array_push(x_83, x_79); +x_85 = l_Lean_mkOptionalNode___closed__1; +x_86 = lean_array_push(x_84, x_85); +x_87 = lean_array_push(x_86, x_82); +x_88 = l_Lean_PrettyPrinter_Delaborator_delabStructureInstance___lambda__3___closed__5; +x_89 = lean_array_push(x_87, x_88); +x_90 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__2; +x_91 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_91, 0, x_90); +lean_ctor_set(x_91, 1, x_89); +lean_ctor_set(x_75, 0, x_91); +return x_75; +} +else +{ +lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; +x_92 = lean_ctor_get(x_75, 0); +x_93 = lean_ctor_get(x_75, 1); +lean_inc(x_93); +lean_inc(x_92); +lean_dec(x_75); +x_94 = l_Lean_nullKind; +x_95 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_95, 0, x_94); +lean_ctor_set(x_95, 1, x_38); +x_96 = l_Lean_Elab_Term_mkExplicitBinder___closed__5; +x_97 = lean_array_push(x_96, x_92); +x_98 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_98, 0, x_94); +lean_ctor_set(x_98, 1, x_97); +x_99 = l_Lean_PrettyPrinter_Delaborator_delabStructureInstance___lambda__3___closed__7; +x_100 = lean_array_push(x_99, x_95); +x_101 = l_Lean_mkOptionalNode___closed__1; +x_102 = lean_array_push(x_100, x_101); +x_103 = lean_array_push(x_102, x_98); +x_104 = l_Lean_PrettyPrinter_Delaborator_delabStructureInstance___lambda__3___closed__5; +x_105 = lean_array_push(x_103, x_104); +x_106 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__2; +x_107 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_107, 0, x_106); +lean_ctor_set(x_107, 1, x_105); +x_108 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_108, 0, x_107); +lean_ctor_set(x_108, 1, x_93); +return x_108; +} +} +else +{ +uint8_t x_109; +lean_dec(x_38); +x_109 = !lean_is_exclusive(x_75); +if (x_109 == 0) +{ +return x_75; +} +else +{ +lean_object* x_110; lean_object* x_111; lean_object* x_112; +x_110 = lean_ctor_get(x_75, 0); +x_111 = lean_ctor_get(x_75, 1); +lean_inc(x_111); +lean_inc(x_110); +lean_dec(x_75); +x_112 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_112, 0, x_110); +lean_ctor_set(x_112, 1, x_111); +return x_112; +} +} +} +else +{ +uint8_t x_113; +lean_dec(x_38); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_113 = !lean_is_exclusive(x_70); +if (x_113 == 0) +{ +return x_70; +} +else +{ +lean_object* x_114; lean_object* x_115; lean_object* x_116; +x_114 = lean_ctor_get(x_70, 0); +x_115 = lean_ctor_get(x_70, 1); +lean_inc(x_115); +lean_inc(x_114); +lean_dec(x_70); +x_116 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_116, 0, x_114); +lean_ctor_set(x_116, 1, x_115); +return x_116; +} +} +} +} +else +{ +uint8_t x_117; +lean_dec(x_9); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_117 = !lean_is_exclusive(x_31); +if (x_117 == 0) +{ +return x_31; +} +else +{ +lean_object* x_118; lean_object* x_119; lean_object* x_120; +x_118 = lean_ctor_get(x_31, 0); +x_119 = lean_ctor_get(x_31, 1); +lean_inc(x_119); +lean_inc(x_118); +lean_dec(x_31); +x_120 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_120, 0, x_118); +lean_ctor_set(x_120, 1, x_119); +return x_120; +} +} +} +} +} +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabStructureInstance___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabStructureInstance___lambda__1___boxed), 6, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabStructureInstance___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabStructureInstance___lambda__3), 7, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabStructureInstance___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_PrettyPrinter_Delaborator_delabStructureInstance___closed__1; +x_2 = l_Lean_PrettyPrinter_Delaborator_delabStructureInstance___closed__2; +x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_PrettyPrinter_Delaborator_delabAppExplicit___spec__2___rarg), 8, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabStructureInstance___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_getPPStructureInstances___boxed), 1, 0); +return x_1; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabStructureInstance(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = l_Lean_PrettyPrinter_Delaborator_delabStructureInstance___closed__4; +x_8 = l_Lean_PrettyPrinter_Delaborator_delabStructureInstance___closed__3; +x_9 = l_Lean_PrettyPrinter_Delaborator_whenPPOption(x_7, x_8, x_1, x_2, x_3, x_4, x_5, x_6); +return x_9; +} +} +lean_object* l_Array_mapIdxM_map___at_Lean_PrettyPrinter_Delaborator_delabStructureInstance___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) { +_start: +{ +lean_object* x_8; +x_8 = l_Array_mapIdxM_map___at_Lean_PrettyPrinter_Delaborator_delabStructureInstance___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_3); +lean_dec(x_2); +return x_8; +} +} +lean_object* l_Array_mapIdxM_map___at_Lean_PrettyPrinter_Delaborator_delabStructureInstance___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l_Array_mapIdxM_map___at_Lean_PrettyPrinter_Delaborator_delabStructureInstance___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_3); +lean_dec(x_2); +return x_8; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabStructureInstance___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; +x_7 = l_Lean_PrettyPrinter_Delaborator_delabStructureInstance___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_7; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabStructureInstance___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_PrettyPrinter_Delaborator_delabStructureInstance___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_2); +lean_dec(x_1); +return x_11; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabStructureInstance___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabStructureInstance), 6, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabStructureInstance(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_Delaborator_delabAttribute; +x_3 = l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__5; +x_4 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabStructureInstance___closed__1; +x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); +return x_5; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabTuple___lambda__1___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__2___closed__1; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_withAppArg___rarg), 7, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabTuple___lambda__1___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("tupleTail"); +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabTuple___lambda__1___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_myMacro____x40_Init_Notation___hyg_38____closed__6; +x_2 = l_Lean_PrettyPrinter_Delaborator_delabTuple___lambda__1___closed__2; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabTuple___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; lean_object* x_200; lean_object* x_201; lean_object* x_202; uint8_t x_203; +x_200 = lean_unsigned_to_nat(0u); +x_201 = l_Lean_Expr_getAppNumArgsAux(x_1, x_200); +x_202 = lean_unsigned_to_nat(4u); +x_203 = lean_nat_dec_eq(x_201, x_202); +lean_dec(x_201); +if (x_203 == 0) +{ +lean_object* x_204; uint8_t x_205; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_204 = l_Lean_PrettyPrinter_Delaborator_failure___rarg(x_7); +x_205 = !lean_is_exclusive(x_204); +if (x_205 == 0) +{ +return x_204; +} +else +{ +lean_object* x_206; lean_object* x_207; lean_object* x_208; +x_206 = lean_ctor_get(x_204, 0); +x_207 = lean_ctor_get(x_204, 1); +lean_inc(x_207); +lean_inc(x_206); +lean_dec(x_204); +x_208 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_208, 0, x_206); +lean_ctor_set(x_208, 1, x_207); +return x_208; +} +} +else +{ +x_8 = x_7; +goto block_199; +} +block_199: +{ +lean_object* x_9; lean_object* x_10; +x_9 = l_Lean_PrettyPrinter_Delaborator_delabTuple___lambda__1___closed__1; +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +x_10 = l_Lean_PrettyPrinter_Delaborator_withAppFn___rarg(x_9, x_2, x_3, x_4, x_5, x_6, x_8); +if (lean_obj_tag(x_10) == 0) +{ +uint8_t x_11; +x_11 = !lean_is_exclusive(x_10); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_12 = lean_ctor_get(x_10, 0); +x_13 = lean_ctor_get(x_10, 1); +x_14 = l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__2___closed__1; +x_15 = l_Lean_PrettyPrinter_Delaborator_withAppArg___rarg(x_14, x_2, x_3, x_4, x_5, x_6, x_13); +if (lean_obj_tag(x_15) == 0) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_41; uint8_t x_42; +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +x_17 = lean_ctor_get(x_15, 1); +lean_inc(x_17); +if (lean_is_exclusive(x_15)) { + lean_ctor_release(x_15, 0); + lean_ctor_release(x_15, 1); + x_18 = x_15; +} else { + lean_dec_ref(x_15); + x_18 = lean_box(0); +} +x_41 = l_myMacro____x40_Init_Notation___hyg_5739____closed__8; +lean_inc(x_16); +x_42 = l_Lean_Syntax_isOfKind(x_16, x_41); +if (x_42 == 0) +{ +lean_object* x_43; +lean_free_object(x_10); +x_43 = lean_box(0); +x_19 = x_43; +goto block_40; +} +else +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; uint8_t x_47; +x_44 = l_Lean_Syntax_getArgs(x_16); +x_45 = lean_array_get_size(x_44); +lean_dec(x_44); +x_46 = lean_unsigned_to_nat(3u); +x_47 = lean_nat_dec_eq(x_45, x_46); +lean_dec(x_45); +if (x_47 == 0) +{ +lean_object* x_48; +lean_free_object(x_10); +x_48 = lean_box(0); +x_19 = x_48; +goto block_40; +} +else +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; uint8_t x_52; +x_49 = lean_unsigned_to_nat(1u); +x_50 = l_Lean_Syntax_getArg(x_16, x_49); +x_51 = l_Lean_nullKind___closed__2; +lean_inc(x_50); +x_52 = l_Lean_Syntax_isOfKind(x_50, x_51); +if (x_52 == 0) +{ +lean_object* x_53; +lean_dec(x_50); +lean_free_object(x_10); +x_53 = lean_box(0); +x_19 = x_53; +goto block_40; +} +else +{ +lean_object* x_54; lean_object* x_55; lean_object* x_56; uint8_t x_57; +x_54 = l_Lean_Syntax_getArgs(x_50); +x_55 = lean_array_get_size(x_54); +lean_dec(x_54); +x_56 = lean_unsigned_to_nat(2u); +x_57 = lean_nat_dec_eq(x_55, x_56); +lean_dec(x_55); +if (x_57 == 0) +{ +lean_object* x_58; +lean_dec(x_50); +lean_free_object(x_10); +x_58 = lean_box(0); +x_19 = x_58; +goto block_40; +} +else +{ +lean_object* x_59; lean_object* x_60; lean_object* x_61; uint8_t x_62; +x_59 = lean_unsigned_to_nat(0u); +x_60 = l_Lean_Syntax_getArg(x_50, x_59); +x_61 = l_Lean_Syntax_getArg(x_50, x_49); +lean_dec(x_50); +lean_inc(x_61); +x_62 = l_Lean_Syntax_isOfKind(x_61, x_51); +if (x_62 == 0) +{ +lean_object* x_63; +lean_dec(x_61); +lean_dec(x_60); +lean_free_object(x_10); +x_63 = lean_box(0); +x_19 = x_63; +goto block_40; +} +else +{ +lean_object* x_64; lean_object* x_65; uint8_t x_66; +x_64 = l_Lean_Syntax_getArgs(x_61); +x_65 = lean_array_get_size(x_64); +lean_dec(x_64); +x_66 = lean_nat_dec_eq(x_65, x_49); +lean_dec(x_65); +if (x_66 == 0) +{ +lean_object* x_67; +lean_dec(x_61); +lean_dec(x_60); +lean_free_object(x_10); +x_67 = lean_box(0); +x_19 = x_67; +goto block_40; +} +else +{ +lean_object* x_68; lean_object* x_69; uint8_t x_70; +x_68 = l_Lean_Syntax_getArg(x_61, x_59); +lean_dec(x_61); +x_69 = l_Lean_PrettyPrinter_Delaborator_delabTuple___lambda__1___closed__3; +lean_inc(x_68); +x_70 = l_Lean_Syntax_isOfKind(x_68, x_69); +if (x_70 == 0) +{ +lean_object* x_71; +lean_dec(x_68); +lean_dec(x_60); +lean_free_object(x_10); +x_71 = lean_box(0); +x_19 = x_71; +goto block_40; +} +else +{ +lean_object* x_72; lean_object* x_73; uint8_t x_74; +x_72 = l_Lean_Syntax_getArgs(x_68); +x_73 = lean_array_get_size(x_72); +lean_dec(x_72); +x_74 = lean_nat_dec_eq(x_73, x_56); +lean_dec(x_73); +if (x_74 == 0) +{ +lean_object* x_75; +lean_dec(x_68); +lean_dec(x_60); +lean_free_object(x_10); +x_75 = lean_box(0); +x_19 = x_75; +goto block_40; +} +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_dec(x_18); +lean_dec(x_16); +x_76 = l_Lean_Syntax_getArg(x_68, x_49); +lean_dec(x_68); +x_77 = l_Lean_Syntax_getArgs(x_76); +lean_dec(x_76); +x_78 = l_Lean_Syntax_mkApp___closed__1; +x_79 = lean_array_push(x_78, x_60); +x_80 = l_Lean_PrettyPrinter_Delaborator_delabConst___lambda__1___closed__6; +x_81 = lean_array_push(x_79, x_80); +x_82 = l_Array_append___rarg(x_81, x_77); +lean_dec(x_77); +x_83 = l_Array_empty___closed__1; +x_84 = lean_array_push(x_83, x_12); +x_85 = l_Array_appendCore___rarg(x_83, x_82); +lean_dec(x_82); +x_86 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_86, 0, x_51); +lean_ctor_set(x_86, 1, x_85); +x_87 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_576____closed__8; +x_88 = lean_array_push(x_87, x_86); +x_89 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_89, 0, x_69); +lean_ctor_set(x_89, 1, x_88); +x_90 = lean_array_push(x_83, x_89); +x_91 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_91, 0, x_51); +lean_ctor_set(x_91, 1, x_90); +x_92 = lean_array_push(x_84, x_91); +x_93 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_93, 0, x_51); +lean_ctor_set(x_93, 1, x_92); +x_94 = l_myMacro____x40_Init_Notation___hyg_5739____closed__11; +x_95 = lean_array_push(x_94, x_93); +x_96 = l_myMacro____x40_Init_Notation___hyg_5739____closed__22; +x_97 = lean_array_push(x_95, x_96); +x_98 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_98, 0, x_41); +lean_ctor_set(x_98, 1, x_97); +lean_ctor_set(x_10, 1, x_17); +lean_ctor_set(x_10, 0, x_98); +return x_10; +} +} +} +} +} +} +} +} +block_40: +{ +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_dec(x_19); +x_20 = l_Array_empty___closed__1; +x_21 = lean_array_push(x_20, x_12); +x_22 = lean_array_push(x_20, x_16); +x_23 = l_Lean_nullKind___closed__2; +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_24, 1, x_22); +x_25 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_576____closed__8; +x_26 = lean_array_push(x_25, x_24); +x_27 = l_Lean_PrettyPrinter_Delaborator_delabTuple___lambda__1___closed__3; +x_28 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_28, 0, x_27); +lean_ctor_set(x_28, 1, x_26); +x_29 = lean_array_push(x_20, x_28); +x_30 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_30, 0, x_23); +lean_ctor_set(x_30, 1, x_29); +x_31 = lean_array_push(x_21, x_30); +x_32 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_32, 0, x_23); +lean_ctor_set(x_32, 1, x_31); +x_33 = l_myMacro____x40_Init_Notation___hyg_5739____closed__11; +x_34 = lean_array_push(x_33, x_32); +x_35 = l_myMacro____x40_Init_Notation___hyg_5739____closed__22; +x_36 = lean_array_push(x_34, x_35); +x_37 = l_myMacro____x40_Init_Notation___hyg_5739____closed__8; +x_38 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_38, 0, x_37); +lean_ctor_set(x_38, 1, x_36); +if (lean_is_scalar(x_18)) { + x_39 = lean_alloc_ctor(0, 2, 0); +} else { + x_39 = x_18; +} +lean_ctor_set(x_39, 0, x_38); +lean_ctor_set(x_39, 1, x_17); +return x_39; +} +} +else +{ +uint8_t x_99; +lean_free_object(x_10); +lean_dec(x_12); +x_99 = !lean_is_exclusive(x_15); +if (x_99 == 0) +{ +return x_15; +} +else +{ +lean_object* x_100; lean_object* x_101; lean_object* x_102; +x_100 = lean_ctor_get(x_15, 0); +x_101 = lean_ctor_get(x_15, 1); +lean_inc(x_101); +lean_inc(x_100); +lean_dec(x_15); +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_object* x_105; lean_object* x_106; +x_103 = lean_ctor_get(x_10, 0); +x_104 = lean_ctor_get(x_10, 1); +lean_inc(x_104); +lean_inc(x_103); +lean_dec(x_10); +x_105 = l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__2___closed__1; +x_106 = l_Lean_PrettyPrinter_Delaborator_withAppArg___rarg(x_105, x_2, x_3, x_4, x_5, x_6, x_104); +if (lean_obj_tag(x_106) == 0) +{ +lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_132; uint8_t x_133; +x_107 = lean_ctor_get(x_106, 0); +lean_inc(x_107); +x_108 = lean_ctor_get(x_106, 1); +lean_inc(x_108); +if (lean_is_exclusive(x_106)) { + lean_ctor_release(x_106, 0); + lean_ctor_release(x_106, 1); + x_109 = x_106; +} else { + lean_dec_ref(x_106); + x_109 = lean_box(0); +} +x_132 = l_myMacro____x40_Init_Notation___hyg_5739____closed__8; +lean_inc(x_107); +x_133 = l_Lean_Syntax_isOfKind(x_107, x_132); +if (x_133 == 0) +{ +lean_object* x_134; +x_134 = lean_box(0); +x_110 = x_134; +goto block_131; +} +else +{ +lean_object* x_135; lean_object* x_136; lean_object* x_137; uint8_t x_138; +x_135 = l_Lean_Syntax_getArgs(x_107); +x_136 = lean_array_get_size(x_135); +lean_dec(x_135); +x_137 = lean_unsigned_to_nat(3u); +x_138 = lean_nat_dec_eq(x_136, x_137); +lean_dec(x_136); +if (x_138 == 0) +{ +lean_object* x_139; +x_139 = lean_box(0); +x_110 = x_139; +goto block_131; +} +else +{ +lean_object* x_140; lean_object* x_141; lean_object* x_142; uint8_t x_143; +x_140 = lean_unsigned_to_nat(1u); +x_141 = l_Lean_Syntax_getArg(x_107, x_140); +x_142 = l_Lean_nullKind___closed__2; +lean_inc(x_141); +x_143 = l_Lean_Syntax_isOfKind(x_141, x_142); +if (x_143 == 0) +{ +lean_object* x_144; +lean_dec(x_141); +x_144 = lean_box(0); +x_110 = x_144; +goto block_131; +} +else +{ +lean_object* x_145; lean_object* x_146; lean_object* x_147; uint8_t x_148; +x_145 = l_Lean_Syntax_getArgs(x_141); +x_146 = lean_array_get_size(x_145); +lean_dec(x_145); +x_147 = lean_unsigned_to_nat(2u); +x_148 = lean_nat_dec_eq(x_146, x_147); +lean_dec(x_146); +if (x_148 == 0) +{ +lean_object* x_149; +lean_dec(x_141); +x_149 = lean_box(0); +x_110 = x_149; +goto block_131; +} +else +{ +lean_object* x_150; lean_object* x_151; lean_object* x_152; uint8_t x_153; +x_150 = lean_unsigned_to_nat(0u); +x_151 = l_Lean_Syntax_getArg(x_141, x_150); +x_152 = l_Lean_Syntax_getArg(x_141, x_140); +lean_dec(x_141); +lean_inc(x_152); +x_153 = l_Lean_Syntax_isOfKind(x_152, x_142); +if (x_153 == 0) +{ +lean_object* x_154; +lean_dec(x_152); +lean_dec(x_151); +x_154 = lean_box(0); +x_110 = x_154; +goto block_131; +} +else +{ +lean_object* x_155; lean_object* x_156; uint8_t x_157; +x_155 = l_Lean_Syntax_getArgs(x_152); +x_156 = lean_array_get_size(x_155); +lean_dec(x_155); +x_157 = lean_nat_dec_eq(x_156, x_140); +lean_dec(x_156); +if (x_157 == 0) +{ +lean_object* x_158; +lean_dec(x_152); +lean_dec(x_151); +x_158 = lean_box(0); +x_110 = x_158; +goto block_131; +} +else +{ +lean_object* x_159; lean_object* x_160; uint8_t x_161; +x_159 = l_Lean_Syntax_getArg(x_152, x_150); +lean_dec(x_152); +x_160 = l_Lean_PrettyPrinter_Delaborator_delabTuple___lambda__1___closed__3; +lean_inc(x_159); +x_161 = l_Lean_Syntax_isOfKind(x_159, x_160); +if (x_161 == 0) +{ +lean_object* x_162; +lean_dec(x_159); +lean_dec(x_151); +x_162 = lean_box(0); +x_110 = x_162; +goto block_131; +} +else +{ +lean_object* x_163; lean_object* x_164; uint8_t x_165; +x_163 = l_Lean_Syntax_getArgs(x_159); +x_164 = lean_array_get_size(x_163); +lean_dec(x_163); +x_165 = lean_nat_dec_eq(x_164, x_147); +lean_dec(x_164); +if (x_165 == 0) +{ +lean_object* x_166; +lean_dec(x_159); +lean_dec(x_151); +x_166 = lean_box(0); +x_110 = x_166; +goto block_131; +} +else +{ +lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; +lean_dec(x_109); +lean_dec(x_107); +x_167 = l_Lean_Syntax_getArg(x_159, x_140); +lean_dec(x_159); +x_168 = l_Lean_Syntax_getArgs(x_167); +lean_dec(x_167); +x_169 = l_Lean_Syntax_mkApp___closed__1; +x_170 = lean_array_push(x_169, x_151); +x_171 = l_Lean_PrettyPrinter_Delaborator_delabConst___lambda__1___closed__6; +x_172 = lean_array_push(x_170, x_171); +x_173 = l_Array_append___rarg(x_172, x_168); +lean_dec(x_168); +x_174 = l_Array_empty___closed__1; +x_175 = lean_array_push(x_174, x_103); +x_176 = l_Array_appendCore___rarg(x_174, x_173); +lean_dec(x_173); +x_177 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_177, 0, x_142); +lean_ctor_set(x_177, 1, x_176); +x_178 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_576____closed__8; +x_179 = lean_array_push(x_178, x_177); +x_180 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_180, 0, x_160); +lean_ctor_set(x_180, 1, x_179); +x_181 = lean_array_push(x_174, x_180); +x_182 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_182, 0, x_142); +lean_ctor_set(x_182, 1, x_181); +x_183 = lean_array_push(x_175, x_182); +x_184 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_184, 0, x_142); +lean_ctor_set(x_184, 1, x_183); +x_185 = l_myMacro____x40_Init_Notation___hyg_5739____closed__11; +x_186 = lean_array_push(x_185, x_184); +x_187 = l_myMacro____x40_Init_Notation___hyg_5739____closed__22; +x_188 = lean_array_push(x_186, x_187); +x_189 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_189, 0, x_132); +lean_ctor_set(x_189, 1, x_188); +x_190 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_190, 0, x_189); +lean_ctor_set(x_190, 1, x_108); +return x_190; +} +} +} +} +} +} +} +} +block_131: +{ +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_dec(x_110); +x_111 = l_Array_empty___closed__1; +x_112 = lean_array_push(x_111, x_103); +x_113 = lean_array_push(x_111, x_107); +x_114 = l_Lean_nullKind___closed__2; +x_115 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_115, 0, x_114); +lean_ctor_set(x_115, 1, x_113); +x_116 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_576____closed__8; +x_117 = lean_array_push(x_116, x_115); +x_118 = l_Lean_PrettyPrinter_Delaborator_delabTuple___lambda__1___closed__3; +x_119 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_119, 0, x_118); +lean_ctor_set(x_119, 1, x_117); +x_120 = lean_array_push(x_111, x_119); +x_121 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_121, 0, x_114); +lean_ctor_set(x_121, 1, x_120); +x_122 = lean_array_push(x_112, x_121); +x_123 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_123, 0, x_114); +lean_ctor_set(x_123, 1, x_122); +x_124 = l_myMacro____x40_Init_Notation___hyg_5739____closed__11; +x_125 = lean_array_push(x_124, x_123); +x_126 = l_myMacro____x40_Init_Notation___hyg_5739____closed__22; +x_127 = lean_array_push(x_125, x_126); +x_128 = l_myMacro____x40_Init_Notation___hyg_5739____closed__8; +x_129 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_129, 0, x_128); +lean_ctor_set(x_129, 1, x_127); +if (lean_is_scalar(x_109)) { + x_130 = lean_alloc_ctor(0, 2, 0); +} else { + x_130 = x_109; +} +lean_ctor_set(x_130, 0, x_129); +lean_ctor_set(x_130, 1, x_108); +return x_130; +} +} +else +{ +lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; +lean_dec(x_103); +x_191 = lean_ctor_get(x_106, 0); +lean_inc(x_191); +x_192 = lean_ctor_get(x_106, 1); +lean_inc(x_192); +if (lean_is_exclusive(x_106)) { + lean_ctor_release(x_106, 0); + lean_ctor_release(x_106, 1); + x_193 = x_106; +} else { + lean_dec_ref(x_106); + x_193 = lean_box(0); +} +if (lean_is_scalar(x_193)) { + x_194 = lean_alloc_ctor(1, 2, 0); +} else { + x_194 = x_193; +} +lean_ctor_set(x_194, 0, x_191); +lean_ctor_set(x_194, 1, x_192); +return x_194; +} +} +} +else +{ +uint8_t x_195; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_195 = !lean_is_exclusive(x_10); +if (x_195 == 0) +{ +return x_10; +} +else +{ +lean_object* x_196; lean_object* x_197; lean_object* x_198; +x_196 = lean_ctor_get(x_10, 0); +x_197 = lean_ctor_get(x_10, 1); +lean_inc(x_197); +lean_inc(x_196); +lean_dec(x_10); +x_198 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_198, 0, x_196); +lean_ctor_set(x_198, 1, x_197); +return x_198; +} +} +} +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabTuple___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabTuple___lambda__1___boxed), 7, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabTuple___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_PrettyPrinter_Delaborator_delabAppExplicit___closed__1; +x_2 = l_Lean_PrettyPrinter_Delaborator_delabTuple___closed__1; +x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_PrettyPrinter_Delaborator_delabAppExplicit___spec__2___rarg), 8, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabTuple(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = l_Lean_PrettyPrinter_Delaborator_delabAppMatch___closed__7; +x_8 = l_Lean_PrettyPrinter_Delaborator_delabTuple___closed__2; +x_9 = l_Lean_PrettyPrinter_Delaborator_whenPPOption(x_7, x_8, x_1, x_2, x_3, x_4, x_5, x_6); +return x_9; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabTuple___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l_Lean_PrettyPrinter_Delaborator_delabTuple___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_1); +return x_8; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabTuple___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__5; +x_2 = l_myMacro____x40_Init_Notation___hyg_206____closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabTuple___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabTuple___closed__1; +x_2 = l_Lean_instQuoteProd___rarg___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabTuple___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabTuple), 6, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabTuple(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_Delaborator_delabAttribute; +x_3 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabTuple___closed__2; +x_4 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabTuple___closed__3; +x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); +return x_5; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabCoe___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; lean_object* x_76; lean_object* x_77; lean_object* x_78; uint8_t x_79; +x_76 = lean_unsigned_to_nat(0u); +x_77 = l_Lean_Expr_getAppNumArgsAux(x_1, x_76); +x_78 = lean_unsigned_to_nat(4u); +x_79 = lean_nat_dec_le(x_78, x_77); +lean_dec(x_77); +if (x_79 == 0) +{ +lean_object* x_80; uint8_t x_81; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_80 = l_Lean_PrettyPrinter_Delaborator_failure___rarg(x_7); +x_81 = !lean_is_exclusive(x_80); +if (x_81 == 0) +{ +return x_80; +} +else +{ +lean_object* x_82; lean_object* x_83; lean_object* x_84; +x_82 = lean_ctor_get(x_80, 0); +x_83 = lean_ctor_get(x_80, 1); +lean_inc(x_83); +lean_inc(x_82); +lean_dec(x_80); +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 +{ +x_8 = x_7; +goto block_75; +} +block_75: +{ +lean_object* x_9; +x_9 = l_Lean_PrettyPrinter_Delaborator_delabAppImplicit(x_2, x_3, x_4, x_5, x_6, x_8); +if (lean_obj_tag(x_9) == 0) +{ +uint8_t x_10; +x_10 = !lean_is_exclusive(x_9); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_11 = lean_ctor_get(x_9, 0); +x_12 = lean_ctor_get(x_9, 1); +x_13 = l_myMacro____x40_Init_Notation___hyg_38____closed__8; +lean_inc(x_11); +x_14 = l_Lean_Syntax_isOfKind(x_11, x_13); +if (x_14 == 0) +{ +lean_object* x_15; +lean_free_object(x_9); +lean_dec(x_11); +x_15 = l_Lean_PrettyPrinter_Delaborator_failure___rarg(x_12); +return x_15; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; +x_16 = l_Lean_Syntax_getArgs(x_11); +x_17 = lean_array_get_size(x_16); +lean_dec(x_16); +x_18 = lean_unsigned_to_nat(2u); +x_19 = lean_nat_dec_eq(x_17, x_18); +lean_dec(x_17); +if (x_19 == 0) +{ +lean_object* x_20; +lean_free_object(x_9); +lean_dec(x_11); +x_20 = l_Lean_PrettyPrinter_Delaborator_failure___rarg(x_12); +return x_20; +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; +x_21 = lean_unsigned_to_nat(1u); +x_22 = l_Lean_Syntax_getArg(x_11, x_21); +lean_dec(x_11); +x_23 = l_Lean_Syntax_getArgs(x_22); +lean_dec(x_22); +x_24 = lean_array_get_size(x_23); +x_25 = lean_nat_dec_eq(x_24, x_21); +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; +x_26 = l_Lean_instInhabitedSyntax; +x_27 = lean_unsigned_to_nat(0u); +x_28 = lean_array_get(x_26, x_23, x_27); +x_29 = l_Array_empty___closed__1; +x_30 = lean_array_push(x_29, x_28); +x_31 = l_Array_eraseIdx___rarg(x_23, x_27); +x_32 = l_Array_appendCore___rarg(x_29, x_31); +lean_dec(x_31); +x_33 = l_Lean_nullKind___closed__2; +x_34 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_34, 0, x_33); +lean_ctor_set(x_34, 1, x_32); +x_35 = lean_array_push(x_30, x_34); +x_36 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_36, 0, x_13); +lean_ctor_set(x_36, 1, x_35); +lean_ctor_set(x_9, 0, x_36); +return x_9; +} +else +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_37 = l_Lean_instInhabitedSyntax; +x_38 = lean_unsigned_to_nat(0u); +x_39 = lean_array_get(x_37, x_23, x_38); +lean_dec(x_23); +lean_ctor_set(x_9, 0, x_39); +return x_9; +} +} +} +} +else +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; uint8_t x_43; +x_40 = lean_ctor_get(x_9, 0); +x_41 = lean_ctor_get(x_9, 1); +lean_inc(x_41); +lean_inc(x_40); +lean_dec(x_9); +x_42 = l_myMacro____x40_Init_Notation___hyg_38____closed__8; +lean_inc(x_40); +x_43 = l_Lean_Syntax_isOfKind(x_40, x_42); +if (x_43 == 0) +{ +lean_object* x_44; +lean_dec(x_40); +x_44 = l_Lean_PrettyPrinter_Delaborator_failure___rarg(x_41); +return x_44; +} +else +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; +x_45 = l_Lean_Syntax_getArgs(x_40); +x_46 = lean_array_get_size(x_45); +lean_dec(x_45); +x_47 = lean_unsigned_to_nat(2u); +x_48 = lean_nat_dec_eq(x_46, x_47); +lean_dec(x_46); +if (x_48 == 0) +{ +lean_object* x_49; +lean_dec(x_40); +x_49 = l_Lean_PrettyPrinter_Delaborator_failure___rarg(x_41); +return x_49; +} +else +{ +lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; uint8_t x_54; +x_50 = lean_unsigned_to_nat(1u); +x_51 = l_Lean_Syntax_getArg(x_40, x_50); +lean_dec(x_40); +x_52 = l_Lean_Syntax_getArgs(x_51); +lean_dec(x_51); +x_53 = lean_array_get_size(x_52); +x_54 = lean_nat_dec_eq(x_53, x_50); +lean_dec(x_53); +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; lean_object* x_64; lean_object* x_65; lean_object* x_66; +x_55 = l_Lean_instInhabitedSyntax; +x_56 = lean_unsigned_to_nat(0u); +x_57 = lean_array_get(x_55, x_52, x_56); +x_58 = l_Array_empty___closed__1; +x_59 = lean_array_push(x_58, x_57); +x_60 = l_Array_eraseIdx___rarg(x_52, x_56); +x_61 = l_Array_appendCore___rarg(x_58, x_60); +lean_dec(x_60); +x_62 = l_Lean_nullKind___closed__2; +x_63 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_63, 0, x_62); +lean_ctor_set(x_63, 1, x_61); +x_64 = lean_array_push(x_59, x_63); +x_65 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_65, 0, x_42); +lean_ctor_set(x_65, 1, 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_41); +return x_66; +} +else +{ +lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; +x_67 = l_Lean_instInhabitedSyntax; +x_68 = lean_unsigned_to_nat(0u); +x_69 = lean_array_get(x_67, x_52, x_68); +lean_dec(x_52); +x_70 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_70, 0, x_69); +lean_ctor_set(x_70, 1, x_41); +return x_70; +} +} +} +} +} +else +{ +uint8_t x_71; +x_71 = !lean_is_exclusive(x_9); +if (x_71 == 0) +{ +return x_9; +} +else +{ +lean_object* x_72; lean_object* x_73; lean_object* x_74; +x_72 = lean_ctor_get(x_9, 0); +x_73 = lean_ctor_get(x_9, 1); +lean_inc(x_73); +lean_inc(x_72); +lean_dec(x_9); +x_74 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_74, 0, x_72); +lean_ctor_set(x_74, 1, x_73); +return x_74; +} +} +} +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabCoe___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabCoe___lambda__1___boxed), 7, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabCoe___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_PrettyPrinter_Delaborator_delabAppExplicit___closed__1; +x_2 = l_Lean_PrettyPrinter_Delaborator_delabCoe___closed__1; +x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_PrettyPrinter_Delaborator_delabAppExplicit___spec__2___rarg), 8, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabCoe(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = l_Lean_PrettyPrinter_Delaborator_delabOfNat___closed__3; +x_8 = l_Lean_PrettyPrinter_Delaborator_delabCoe___closed__2; +x_9 = l_Lean_PrettyPrinter_Delaborator_whenPPOption(x_7, x_8, x_1, x_2, x_3, x_4, x_5, x_6); +return x_9; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabCoe___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l_Lean_PrettyPrinter_Delaborator_delabCoe___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_1); +return x_8; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabCoe___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__5; +x_2 = l_myMacro____x40_Init_Coe___hyg_176____closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabCoe___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabCoe), 6, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabCoe(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_Delaborator_delabAttribute; +x_3 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabCoe___closed__1; +x_4 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabCoe___closed__2; +x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); +return x_5; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabCoeFun(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; +x_7 = l_Lean_PrettyPrinter_Delaborator_delabCoe(x_1, x_2, x_3, x_4, x_5, x_6); +return x_7; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabCoeFun___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("coeFun"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabCoeFun___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__5; +x_2 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabCoeFun___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabCoeFun___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabCoeFun), 6, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabCoeFun(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_Delaborator_delabAttribute; +x_3 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabCoeFun___closed__2; +x_4 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabCoeFun___closed__3; +x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); +return x_5; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabInfixOp___lambda__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_getPPUnicode___boxed), 1, 0); +return x_1; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabInfixOp___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; uint8_t x_10; lean_object* x_11; lean_object* x_12; +x_9 = l_myMacro____x40_Init_Notation___hyg_38____closed__8; +lean_inc(x_2); +x_10 = l_Lean_Syntax_isOfKind(x_2, x_9); +x_11 = lean_unsigned_to_nat(1u); +x_12 = l_Lean_Syntax_getArg(x_2, x_11); +lean_dec(x_2); +if (x_10 == 0) +{ +lean_object* x_13; uint8_t x_14; +lean_dec(x_12); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_13 = l_Lean_PrettyPrinter_Delaborator_failure___rarg(x_8); +x_14 = !lean_is_exclusive(x_13); +if (x_14 == 0) +{ +return x_13; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = lean_ctor_get(x_13, 0); +x_16 = lean_ctor_get(x_13, 1); +lean_inc(x_16); +lean_inc(x_15); +lean_dec(x_13); +x_17 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_17, 0, x_15); +lean_ctor_set(x_17, 1, x_16); +return x_17; +} +} +else +{ +lean_object* x_18; lean_object* x_19; uint8_t x_20; +x_18 = l_Lean_Syntax_getNumArgs(x_12); +x_19 = lean_unsigned_to_nat(2u); +x_20 = lean_nat_dec_eq(x_18, x_19); +lean_dec(x_18); +if (x_20 == 0) +{ +lean_object* x_21; uint8_t x_22; +lean_dec(x_12); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_21 = l_Lean_PrettyPrinter_Delaborator_failure___rarg(x_8); +x_22 = !lean_is_exclusive(x_21); +if (x_22 == 0) +{ +return x_21; +} +else +{ +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(1, 2, 0); +lean_ctor_set(x_25, 0, x_23); +lean_ctor_set(x_25, 1, x_24); +return x_25; +} +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_26 = l_Lean_PrettyPrinter_Delaborator_delabInfixOp___lambda__1___closed__1; +lean_inc(x_3); +x_27 = l_Lean_PrettyPrinter_Delaborator_getPPOption(x_26, x_3, x_4, x_5, x_6, x_7, x_8); +x_28 = lean_ctor_get(x_27, 0); +lean_inc(x_28); +x_29 = lean_ctor_get(x_27, 1); +lean_inc(x_29); +lean_dec(x_27); +x_30 = lean_unsigned_to_nat(0u); +x_31 = l_Lean_Syntax_getArg(x_12, x_30); +x_32 = l_Lean_Syntax_getArg(x_12, x_11); +lean_dec(x_12); +x_33 = lean_apply_9(x_1, x_28, x_31, x_32, x_3, x_4, x_5, x_6, x_7, x_29); +return x_33; +} +} +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabInfixOp___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAppImplicit___closed__1; +x_2 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAppExplicit___closed__1; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_orElse___rarg), 8, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabInfixOp(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_8 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabInfixOp___lambda__1), 8, 1); +lean_closure_set(x_8, 0, x_1); +x_9 = l_Lean_PrettyPrinter_Delaborator_delabInfixOp___closed__1; +x_10 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_PrettyPrinter_Delaborator_delabAppExplicit___spec__2___rarg), 8, 2); +lean_closure_set(x_10, 0, x_9); +lean_closure_set(x_10, 1, x_8); +x_11 = l_Lean_PrettyPrinter_Delaborator_delabAppMatch___closed__7; +x_12 = l_Lean_PrettyPrinter_Delaborator_whenPPOption(x_11, x_10, x_2, x_3, x_4, x_5, x_6, x_7); +return x_12; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabPrefixOp___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; uint8_t x_10; lean_object* x_11; lean_object* x_12; +x_9 = l_myMacro____x40_Init_Notation___hyg_38____closed__8; +lean_inc(x_2); +x_10 = l_Lean_Syntax_isOfKind(x_2, x_9); +x_11 = lean_unsigned_to_nat(1u); +x_12 = l_Lean_Syntax_getArg(x_2, x_11); +lean_dec(x_2); +if (x_10 == 0) +{ +lean_object* x_13; uint8_t x_14; +lean_dec(x_12); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_13 = l_Lean_PrettyPrinter_Delaborator_failure___rarg(x_8); +x_14 = !lean_is_exclusive(x_13); +if (x_14 == 0) +{ +return x_13; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = lean_ctor_get(x_13, 0); +x_16 = lean_ctor_get(x_13, 1); +lean_inc(x_16); +lean_inc(x_15); +lean_dec(x_13); +x_17 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_17, 0, x_15); +lean_ctor_set(x_17, 1, x_16); +return x_17; +} +} +else +{ +lean_object* x_18; uint8_t x_19; +x_18 = l_Lean_Syntax_getNumArgs(x_12); +x_19 = lean_nat_dec_eq(x_18, x_11); +lean_dec(x_18); +if (x_19 == 0) +{ +lean_object* x_20; uint8_t x_21; +lean_dec(x_12); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_20 = l_Lean_PrettyPrinter_Delaborator_failure___rarg(x_8); +x_21 = !lean_is_exclusive(x_20); +if (x_21 == 0) +{ +return x_20; +} +else +{ +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_20, 1); +lean_inc(x_23); +lean_inc(x_22); +lean_dec(x_20); +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_22); +lean_ctor_set(x_24, 1, x_23); +return x_24; +} +} +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_25 = l_Lean_PrettyPrinter_Delaborator_delabInfixOp___lambda__1___closed__1; +lean_inc(x_3); +x_26 = l_Lean_PrettyPrinter_Delaborator_getPPOption(x_25, x_3, x_4, x_5, x_6, x_7, x_8); +x_27 = lean_ctor_get(x_26, 0); +lean_inc(x_27); +x_28 = lean_ctor_get(x_26, 1); +lean_inc(x_28); +lean_dec(x_26); +x_29 = lean_unsigned_to_nat(0u); +x_30 = l_Lean_Syntax_getArg(x_12, x_29); +lean_dec(x_12); +x_31 = lean_apply_8(x_1, x_27, x_30, x_3, x_4, x_5, x_6, x_7, x_28); +return x_31; +} +} +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabPrefixOp(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_8 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabPrefixOp___lambda__1), 8, 1); +lean_closure_set(x_8, 0, x_1); +x_9 = l_Lean_PrettyPrinter_Delaborator_delabInfixOp___closed__1; +x_10 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_PrettyPrinter_Delaborator_delabAppExplicit___spec__2___rarg), 8, 2); +lean_closure_set(x_10, 0, x_9); +lean_closure_set(x_10, 1, x_8); +x_11 = l_Lean_PrettyPrinter_Delaborator_delabAppMatch___closed__7; +x_12 = l_Lean_PrettyPrinter_Delaborator_whenPPOption(x_11, x_10, x_2, x_3, x_4, x_5, x_6, x_7); +return x_12; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabProd___lambda__1___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_instInhabitedSourceInfo___closed__1; +x_2 = l___kind_term____x40_Init_NotationExtra___hyg_2577____closed__2; +x_3 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabProd___lambda__1(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_10 = l_Array_empty___closed__1; +x_11 = lean_array_push(x_10, x_2); +x_12 = l_Lean_PrettyPrinter_Delaborator_delabProd___lambda__1___closed__1; +x_13 = lean_array_push(x_11, x_12); +x_14 = lean_array_push(x_13, x_3); +x_15 = l___kind_term____x40_Init_Notation___hyg_171____closed__1; +x_16 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_14); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_9); +return x_17; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabProd___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabProd___lambda__1___boxed), 9, 0); +return x_1; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabProd(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_8; +x_7 = l_Lean_PrettyPrinter_Delaborator_delabProd___closed__1; +x_8 = l_Lean_PrettyPrinter_Delaborator_delabInfixOp(x_7, x_1, x_2, x_3, x_4, x_5, x_6); +return x_8; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabProd___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +uint8_t x_10; lean_object* x_11; +x_10 = lean_unbox(x_1); +lean_dec(x_1); +x_11 = l_Lean_PrettyPrinter_Delaborator_delabProd___lambda__1(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +return x_11; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabProd___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabProd), 6, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabProd(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_Delaborator_delabAttribute; +x_3 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabTuple___closed__1; +x_4 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabProd___closed__1; +x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); +return x_5; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabFComp___lambda__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("∘"); +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabFComp___lambda__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_instInhabitedSourceInfo___closed__1; +x_2 = l_Lean_PrettyPrinter_Delaborator_delabFComp___lambda__1___closed__1; +x_3 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabFComp___lambda__1(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_10 = l_Array_empty___closed__1; +x_11 = lean_array_push(x_10, x_2); +x_12 = l_Lean_PrettyPrinter_Delaborator_delabFComp___lambda__1___closed__2; +x_13 = lean_array_push(x_11, x_12); +x_14 = lean_array_push(x_13, x_3); +x_15 = l___kind_term____x40_Init_Notation___hyg_3____closed__11; +x_16 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_14); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_9); +return x_17; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabFComp___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabFComp___lambda__1___boxed), 9, 0); +return x_1; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabFComp(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_8; +x_7 = l_Lean_PrettyPrinter_Delaborator_delabFComp___closed__1; +x_8 = l_Lean_PrettyPrinter_Delaborator_delabInfixOp(x_7, x_1, x_2, x_3, x_4, x_5, x_6); +return x_8; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabFComp___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +uint8_t x_10; lean_object* x_11; +x_10 = lean_unbox(x_1); +lean_dec(x_1); +x_11 = l_Lean_PrettyPrinter_Delaborator_delabFComp___lambda__1(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +return x_11; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabFComp___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__5; +x_2 = l_myMacro____x40_Init_Notation___hyg_38____closed__12; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabFComp___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabFComp___closed__1; +x_2 = l_myMacro____x40_Init_Notation___hyg_38____closed__14; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabFComp___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabFComp), 6, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabFComp(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_Delaborator_delabAttribute; +x_3 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabFComp___closed__2; +x_4 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabFComp___closed__3; +x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); +return x_5; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAdd___lambda__1(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_10 = l_Array_empty___closed__1; +x_11 = lean_array_push(x_10, x_2); +x_12 = l_Lean_Level_quote___lambda__2___closed__1; +x_13 = lean_array_push(x_11, x_12); +x_14 = lean_array_push(x_13, x_3); +x_15 = l___kind_term____x40_Init_Notation___hyg_335____closed__1; +x_16 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_14); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_9); +return x_17; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabAdd___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabAdd___lambda__1___boxed), 9, 0); +return x_1; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAdd(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_8; +x_7 = l_Lean_PrettyPrinter_Delaborator_delabAdd___closed__1; +x_8 = l_Lean_PrettyPrinter_Delaborator_delabInfixOp(x_7, x_1, x_2, x_3, x_4, x_5, x_6); +return x_8; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAdd___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +uint8_t x_10; lean_object* x_11; +x_10 = lean_unbox(x_1); +lean_dec(x_1); +x_11 = l_Lean_PrettyPrinter_Delaborator_delabAdd___lambda__1(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +return x_11; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAdd___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__5; +x_2 = l_myMacro____x40_Init_Notation___hyg_370____closed__4; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAdd___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAdd___closed__1; +x_2 = l_myMacro____x40_Init_Notation___hyg_370____closed__6; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAdd___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabAdd), 6, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAdd(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_Delaborator_delabAttribute; +x_3 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAdd___closed__2; +x_4 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAdd___closed__3; +x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); +return x_5; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabSub___lambda__1___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_instInhabitedSourceInfo___closed__1; +x_2 = l_Int_repr___closed__1; +x_3 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabSub___lambda__1(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_10 = l_Array_empty___closed__1; +x_11 = lean_array_push(x_10, x_2); +x_12 = l_Lean_PrettyPrinter_Delaborator_delabSub___lambda__1___closed__1; +x_13 = lean_array_push(x_11, x_12); +x_14 = lean_array_push(x_13, x_3); +x_15 = l___kind_term____x40_Init_Notation___hyg_503____closed__1; +x_16 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_14); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_9); +return x_17; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabSub___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabSub___lambda__1___boxed), 9, 0); +return x_1; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabSub(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_8; +x_7 = l_Lean_PrettyPrinter_Delaborator_delabSub___closed__1; +x_8 = l_Lean_PrettyPrinter_Delaborator_delabInfixOp(x_7, x_1, x_2, x_3, x_4, x_5, x_6); +return x_8; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabSub___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +uint8_t x_10; lean_object* x_11; +x_10 = lean_unbox(x_1); +lean_dec(x_1); +x_11 = l_Lean_PrettyPrinter_Delaborator_delabSub___lambda__1(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +return x_11; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabSub___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__5; +x_2 = l_myMacro____x40_Init_Notation___hyg_538____closed__4; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabSub___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabSub___closed__1; +x_2 = l_myMacro____x40_Init_Notation___hyg_538____closed__6; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabSub___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabSub), 6, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabSub(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_Delaborator_delabAttribute; +x_3 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabSub___closed__2; +x_4 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabSub___closed__3; +x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); +return x_5; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabMul___lambda__1___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_instInhabitedSourceInfo___closed__1; +x_2 = l___kind_stx____x40_Init_Notation___hyg_7322____closed__2; +x_3 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabMul___lambda__1(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_10 = l_Array_empty___closed__1; +x_11 = lean_array_push(x_10, x_2); +x_12 = l_Lean_PrettyPrinter_Delaborator_delabMul___lambda__1___closed__1; +x_13 = lean_array_push(x_11, x_12); +x_14 = lean_array_push(x_13, x_3); +x_15 = l___kind_term____x40_Init_Notation___hyg_671____closed__1; +x_16 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_14); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_9); +return x_17; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabMul___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabMul___lambda__1___boxed), 9, 0); +return x_1; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabMul(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_8; +x_7 = l_Lean_PrettyPrinter_Delaborator_delabMul___closed__1; +x_8 = l_Lean_PrettyPrinter_Delaborator_delabInfixOp(x_7, x_1, x_2, x_3, x_4, x_5, x_6); +return x_8; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabMul___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +uint8_t x_10; lean_object* x_11; +x_10 = lean_unbox(x_1); +lean_dec(x_1); +x_11 = l_Lean_PrettyPrinter_Delaborator_delabMul___lambda__1(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +return x_11; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabMul___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__5; +x_2 = l_myMacro____x40_Init_Notation___hyg_706____closed__4; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabMul___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabMul___closed__1; +x_2 = l_myMacro____x40_Init_Notation___hyg_706____closed__6; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabMul___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabMul), 6, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabMul(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_Delaborator_delabAttribute; +x_3 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabMul___closed__2; +x_4 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabMul___closed__3; +x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); +return x_5; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabDiv___lambda__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("/"); +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabDiv___lambda__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_instInhabitedSourceInfo___closed__1; +x_2 = l_Lean_PrettyPrinter_Delaborator_delabDiv___lambda__1___closed__1; +x_3 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabDiv___lambda__1(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_10 = l_Array_empty___closed__1; +x_11 = lean_array_push(x_10, x_2); +x_12 = l_Lean_PrettyPrinter_Delaborator_delabDiv___lambda__1___closed__2; +x_13 = lean_array_push(x_11, x_12); +x_14 = lean_array_push(x_13, x_3); +x_15 = l___kind_term____x40_Init_Notation___hyg_839____closed__1; +x_16 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_14); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_9); +return x_17; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabDiv___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabDiv___lambda__1___boxed), 9, 0); +return x_1; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabDiv(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_8; +x_7 = l_Lean_PrettyPrinter_Delaborator_delabDiv___closed__1; +x_8 = l_Lean_PrettyPrinter_Delaborator_delabInfixOp(x_7, x_1, x_2, x_3, x_4, x_5, x_6); +return x_8; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabDiv___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +uint8_t x_10; lean_object* x_11; +x_10 = lean_unbox(x_1); +lean_dec(x_1); +x_11 = l_Lean_PrettyPrinter_Delaborator_delabDiv___lambda__1(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +return x_11; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabDiv___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__5; +x_2 = l_myMacro____x40_Init_Notation___hyg_874____closed__4; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabDiv___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabDiv___closed__1; +x_2 = l_myMacro____x40_Init_Notation___hyg_874____closed__6; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabDiv___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabDiv), 6, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabDiv(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_Delaborator_delabAttribute; +x_3 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabDiv___closed__2; +x_4 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabDiv___closed__3; +x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); +return x_5; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabMod___lambda__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("%"); +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabMod___lambda__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_instInhabitedSourceInfo___closed__1; +x_2 = l_Lean_PrettyPrinter_Delaborator_delabMod___lambda__1___closed__1; +x_3 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabMod___lambda__1(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_10 = l_Array_empty___closed__1; +x_11 = lean_array_push(x_10, x_2); +x_12 = l_Lean_PrettyPrinter_Delaborator_delabMod___lambda__1___closed__2; +x_13 = lean_array_push(x_11, x_12); +x_14 = lean_array_push(x_13, x_3); +x_15 = l___kind_term____x40_Init_Notation___hyg_1007____closed__1; +x_16 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_14); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_9); +return x_17; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabMod___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabMod___lambda__1___boxed), 9, 0); +return x_1; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabMod(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_8; +x_7 = l_Lean_PrettyPrinter_Delaborator_delabMod___closed__1; +x_8 = l_Lean_PrettyPrinter_Delaborator_delabInfixOp(x_7, x_1, x_2, x_3, x_4, x_5, x_6); +return x_8; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabMod___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +uint8_t x_10; lean_object* x_11; +x_10 = lean_unbox(x_1); +lean_dec(x_1); +x_11 = l_Lean_PrettyPrinter_Delaborator_delabMod___lambda__1(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +return x_11; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabMod___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__5; +x_2 = l_myMacro____x40_Init_Notation___hyg_1042____closed__4; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabMod___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabMod___closed__1; +x_2 = l_myMacro____x40_Init_Notation___hyg_1042____closed__6; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabMod___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabMod), 6, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabMod(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_Delaborator_delabAttribute; +x_3 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabMod___closed__2; +x_4 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabMod___closed__3; +x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); +return x_5; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabModN___lambda__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("%ₙ"); +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabModN___lambda__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_instInhabitedSourceInfo___closed__1; +x_2 = l_Lean_PrettyPrinter_Delaborator_delabModN___lambda__1___closed__1; +x_3 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabModN___lambda__1(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_10 = l_Array_empty___closed__1; +x_11 = lean_array_push(x_10, x_2); +x_12 = l_Lean_PrettyPrinter_Delaborator_delabModN___lambda__1___closed__2; +x_13 = lean_array_push(x_11, x_12); +x_14 = lean_array_push(x_13, x_3); +x_15 = l___kind_term____x40_Init_Notation___hyg_1175____closed__1; +x_16 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_14); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_9); +return x_17; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabModN___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabModN___lambda__1___boxed), 9, 0); +return x_1; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabModN(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_8; +x_7 = l_Lean_PrettyPrinter_Delaborator_delabModN___closed__1; +x_8 = l_Lean_PrettyPrinter_Delaborator_delabInfixOp(x_7, x_1, x_2, x_3, x_4, x_5, x_6); +return x_8; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabModN___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +uint8_t x_10; lean_object* x_11; +x_10 = lean_unbox(x_1); +lean_dec(x_1); +x_11 = l_Lean_PrettyPrinter_Delaborator_delabModN___lambda__1(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +return x_11; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabModN___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__5; +x_2 = l_myMacro____x40_Init_Notation___hyg_1210____closed__4; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabModN___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabModN___closed__1; +x_2 = l_myMacro____x40_Init_Notation___hyg_1210____closed__6; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabModN___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabModN), 6, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabModN(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_Delaborator_delabAttribute; +x_3 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabModN___closed__2; +x_4 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabModN___closed__3; +x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); +return x_5; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabPow___lambda__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("^"); +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabPow___lambda__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_instInhabitedSourceInfo___closed__1; +x_2 = l_Lean_PrettyPrinter_Delaborator_delabPow___lambda__1___closed__1; +x_3 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabPow___lambda__1(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_10 = l_Array_empty___closed__1; +x_11 = lean_array_push(x_10, x_2); +x_12 = l_Lean_PrettyPrinter_Delaborator_delabPow___lambda__1___closed__2; +x_13 = lean_array_push(x_11, x_12); +x_14 = lean_array_push(x_13, x_3); +x_15 = l___kind_term____x40_Init_Notation___hyg_1343____closed__1; +x_16 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_14); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_9); +return x_17; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabPow___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabPow___lambda__1___boxed), 9, 0); +return x_1; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabPow(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_8; +x_7 = l_Lean_PrettyPrinter_Delaborator_delabPow___closed__1; +x_8 = l_Lean_PrettyPrinter_Delaborator_delabInfixOp(x_7, x_1, x_2, x_3, x_4, x_5, x_6); +return x_8; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabPow___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +uint8_t x_10; lean_object* x_11; +x_10 = lean_unbox(x_1); +lean_dec(x_1); +x_11 = l_Lean_PrettyPrinter_Delaborator_delabPow___lambda__1(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +return x_11; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabPow___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__5; +x_2 = l_myMacro____x40_Init_Notation___hyg_1378____closed__4; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabPow___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabPow___closed__1; +x_2 = l_myMacro____x40_Init_Notation___hyg_1378____closed__6; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabPow___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabPow), 6, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabPow(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_Delaborator_delabAttribute; +x_3 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabPow___closed__2; +x_4 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabPow___closed__3; +x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); +return x_5; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabLE___lambda__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("<="); +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabLE___lambda__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_instInhabitedSourceInfo___closed__1; +x_2 = l_Lean_PrettyPrinter_Delaborator_delabLE___lambda__1___closed__1; +x_3 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabLE___lambda__1___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("≤"); +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabLE___lambda__1___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_instInhabitedSourceInfo___closed__1; +x_2 = l_Lean_PrettyPrinter_Delaborator_delabLE___lambda__1___closed__3; +x_3 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabLE___lambda__1(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +if (x_1 == 0) +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_10 = l_Array_empty___closed__1; +x_11 = lean_array_push(x_10, x_2); +x_12 = l_Lean_PrettyPrinter_Delaborator_delabLE___lambda__1___closed__2; +x_13 = lean_array_push(x_11, x_12); +x_14 = lean_array_push(x_13, x_3); +x_15 = l___kind_term____x40_Init_Notation___hyg_1681____closed__1; +x_16 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_14); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_9); +return x_17; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_18 = l_Array_empty___closed__1; +x_19 = lean_array_push(x_18, x_2); +x_20 = l_Lean_PrettyPrinter_Delaborator_delabLE___lambda__1___closed__4; +x_21 = lean_array_push(x_19, x_20); +x_22 = lean_array_push(x_21, x_3); +x_23 = l___kind_term____x40_Init_Notation___hyg_1512____closed__1; +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_24, 1, x_22); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_25, 1, x_9); +return x_25; +} +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabLE___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabLE___lambda__1___boxed), 9, 0); +return x_1; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabLE(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_8; +x_7 = l_Lean_PrettyPrinter_Delaborator_delabLE___closed__1; +x_8 = l_Lean_PrettyPrinter_Delaborator_delabInfixOp(x_7, x_1, x_2, x_3, x_4, x_5, x_6); +return x_8; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabLE___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +uint8_t x_10; lean_object* x_11; +x_10 = lean_unbox(x_1); +lean_dec(x_1); +x_11 = l_Lean_PrettyPrinter_Delaborator_delabLE___lambda__1(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +return x_11; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabLE___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__5; +x_2 = l_myMacro____x40_Init_Notation___hyg_1547____closed__4; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabLE___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabLE___closed__1; +x_2 = l_myMacro____x40_Init_Notation___hyg_1547____closed__6; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabLE___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabLE), 6, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabLE(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_Delaborator_delabAttribute; +x_3 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabLE___closed__2; +x_4 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabLE___closed__3; +x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); +return x_5; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabGE___lambda__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string(">="); +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabGE___lambda__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_instInhabitedSourceInfo___closed__1; +x_2 = l_Lean_PrettyPrinter_Delaborator_delabGE___lambda__1___closed__1; +x_3 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabGE___lambda__1___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("≥"); +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabGE___lambda__1___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_instInhabitedSourceInfo___closed__1; +x_2 = l_Lean_PrettyPrinter_Delaborator_delabGE___lambda__1___closed__3; +x_3 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabGE___lambda__1(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +if (x_1 == 0) +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_10 = l_Array_empty___closed__1; +x_11 = lean_array_push(x_10, x_2); +x_12 = l_Lean_PrettyPrinter_Delaborator_delabGE___lambda__1___closed__2; +x_13 = lean_array_push(x_11, x_12); +x_14 = lean_array_push(x_13, x_3); +x_15 = l___kind_term____x40_Init_Notation___hyg_2184____closed__1; +x_16 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_14); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_9); +return x_17; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_18 = l_Array_empty___closed__1; +x_19 = lean_array_push(x_18, x_2); +x_20 = l_Lean_PrettyPrinter_Delaborator_delabGE___lambda__1___closed__4; +x_21 = lean_array_push(x_19, x_20); +x_22 = lean_array_push(x_21, x_3); +x_23 = l___kind_term____x40_Init_Notation___hyg_2019____closed__1; +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_24, 1, x_22); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_25, 1, x_9); +return x_25; +} +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabGE___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabGE___lambda__1___boxed), 9, 0); +return x_1; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabGE(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_8; +x_7 = l_Lean_PrettyPrinter_Delaborator_delabGE___closed__1; +x_8 = l_Lean_PrettyPrinter_Delaborator_delabInfixOp(x_7, x_1, x_2, x_3, x_4, x_5, x_6); +return x_8; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabGE___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +uint8_t x_10; lean_object* x_11; +x_10 = lean_unbox(x_1); +lean_dec(x_1); +x_11 = l_Lean_PrettyPrinter_Delaborator_delabGE___lambda__1(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +return x_11; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabGE___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__5; +x_2 = l_myMacro____x40_Init_Notation___hyg_2054____closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabGE___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabGE), 6, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabGE(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_Delaborator_delabAttribute; +x_3 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabGE___closed__1; +x_4 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabGE___closed__2; +x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); +return x_5; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabLT___lambda__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("<"); +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabLT___lambda__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_instInhabitedSourceInfo___closed__1; +x_2 = l_Lean_PrettyPrinter_Delaborator_delabLT___lambda__1___closed__1; +x_3 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabLT___lambda__1(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_10 = l_Array_empty___closed__1; +x_11 = lean_array_push(x_10, x_2); +x_12 = l_Lean_PrettyPrinter_Delaborator_delabLT___lambda__1___closed__2; +x_13 = lean_array_push(x_11, x_12); +x_14 = lean_array_push(x_13, x_3); +x_15 = l___kind_term____x40_Init_Notation___hyg_1850____closed__1; +x_16 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_14); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_9); +return x_17; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabLT___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabLT___lambda__1___boxed), 9, 0); +return x_1; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabLT(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_8; +x_7 = l_Lean_PrettyPrinter_Delaborator_delabLT___closed__1; +x_8 = l_Lean_PrettyPrinter_Delaborator_delabInfixOp(x_7, x_1, x_2, x_3, x_4, x_5, x_6); +return x_8; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabLT___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +uint8_t x_10; lean_object* x_11; +x_10 = lean_unbox(x_1); +lean_dec(x_1); +x_11 = l_Lean_PrettyPrinter_Delaborator_delabLT___lambda__1(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +return x_11; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabLT___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__5; +x_2 = l_myMacro____x40_Init_Notation___hyg_1885____closed__4; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabLT___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabLT___closed__1; +x_2 = l_myMacro____x40_Init_Notation___hyg_1885____closed__6; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabLT___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabLT), 6, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabLT(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_Delaborator_delabAttribute; +x_3 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabLT___closed__2; +x_4 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabLT___closed__3; +x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); +return x_5; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabGT___lambda__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string(">"); +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabGT___lambda__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_instInhabitedSourceInfo___closed__1; +x_2 = l_Lean_PrettyPrinter_Delaborator_delabGT___lambda__1___closed__1; +x_3 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabGT___lambda__1(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_10 = l_Array_empty___closed__1; +x_11 = lean_array_push(x_10, x_2); +x_12 = l_Lean_PrettyPrinter_Delaborator_delabGT___lambda__1___closed__2; +x_13 = lean_array_push(x_11, x_12); +x_14 = lean_array_push(x_13, x_3); +x_15 = l___kind_term____x40_Init_Notation___hyg_2349____closed__1; +x_16 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_14); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_9); +return x_17; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabGT___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabGT___lambda__1___boxed), 9, 0); +return x_1; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabGT(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_8; +x_7 = l_Lean_PrettyPrinter_Delaborator_delabGT___closed__1; +x_8 = l_Lean_PrettyPrinter_Delaborator_delabInfixOp(x_7, x_1, x_2, x_3, x_4, x_5, x_6); +return x_8; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabGT___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +uint8_t x_10; lean_object* x_11; +x_10 = lean_unbox(x_1); +lean_dec(x_1); +x_11 = l_Lean_PrettyPrinter_Delaborator_delabGT___lambda__1(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +return x_11; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabGT___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__5; +x_2 = l_myMacro____x40_Init_Notation___hyg_2384____closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabGT___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabGT), 6, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabGT(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_Delaborator_delabAttribute; +x_3 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabGT___closed__1; +x_4 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabGT___closed__2; +x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); +return x_5; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabEq___lambda__1(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_10 = l_Array_empty___closed__1; +x_11 = lean_array_push(x_10, x_2); +x_12 = l___private_Init_NotationExtra_0__Lean_mkHintBody___closed__2; +x_13 = lean_array_push(x_11, x_12); +x_14 = lean_array_push(x_13, x_3); +x_15 = l___kind_term____x40_Init_Notation___hyg_2514____closed__1; +x_16 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_14); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_9); +return x_17; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabEq___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabEq___lambda__1___boxed), 9, 0); +return x_1; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabEq(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_8; +x_7 = l_Lean_PrettyPrinter_Delaborator_delabEq___closed__1; +x_8 = l_Lean_PrettyPrinter_Delaborator_delabInfixOp(x_7, x_1, x_2, x_3, x_4, x_5, x_6); +return x_8; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabEq___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +uint8_t x_10; lean_object* x_11; +x_10 = lean_unbox(x_1); +lean_dec(x_1); +x_11 = l_Lean_PrettyPrinter_Delaborator_delabEq___lambda__1(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +return x_11; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabEq___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__5; +x_2 = l_myMacro____x40_Init_Notation___hyg_2549____closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabEq___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabEq), 6, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabEq(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_Delaborator_delabAttribute; +x_3 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabEq___closed__1; +x_4 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabEq___closed__2; +x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); +return x_5; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabNe___lambda__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("≠"); +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabNe___lambda__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_instInhabitedSourceInfo___closed__1; +x_2 = l_Lean_PrettyPrinter_Delaborator_delabNe___lambda__1___closed__1; +x_3 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabNe___lambda__1(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_10 = l_Array_empty___closed__1; +x_11 = lean_array_push(x_10, x_2); +x_12 = l_Lean_PrettyPrinter_Delaborator_delabNe___lambda__1___closed__2; +x_13 = lean_array_push(x_11, x_12); +x_14 = lean_array_push(x_13, x_3); +x_15 = l___kind_term____x40_Init_Core___hyg_1390____closed__1; +x_16 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_14); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_9); +return x_17; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabNe___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabNe___lambda__1___boxed), 9, 0); +return x_1; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabNe(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_8; +x_7 = l_Lean_PrettyPrinter_Delaborator_delabNe___closed__1; +x_8 = l_Lean_PrettyPrinter_Delaborator_delabInfixOp(x_7, x_1, x_2, x_3, x_4, x_5, x_6); +return x_8; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabNe___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +uint8_t x_10; lean_object* x_11; +x_10 = lean_unbox(x_1); +lean_dec(x_1); +x_11 = l_Lean_PrettyPrinter_Delaborator_delabNe___lambda__1(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +return x_11; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabNe___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__5; +x_2 = l_myMacro____x40_Init_Core___hyg_1425____closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabNe___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabNe), 6, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabNe(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_Delaborator_delabAttribute; +x_3 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabNe___closed__1; +x_4 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabNe___closed__2; +x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); +return x_5; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabBEq___lambda__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("=="); +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabBEq___lambda__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_instInhabitedSourceInfo___closed__1; +x_2 = l_Lean_PrettyPrinter_Delaborator_delabBEq___lambda__1___closed__1; +x_3 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabBEq___lambda__1(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_10 = l_Array_empty___closed__1; +x_11 = lean_array_push(x_10, x_2); +x_12 = l_Lean_PrettyPrinter_Delaborator_delabBEq___lambda__1___closed__2; +x_13 = lean_array_push(x_11, x_12); +x_14 = lean_array_push(x_13, x_3); +x_15 = l___kind_term____x40_Init_Notation___hyg_2679____closed__1; +x_16 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_14); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_9); +return x_17; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabBEq___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabBEq___lambda__1___boxed), 9, 0); +return x_1; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabBEq(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_8; +x_7 = l_Lean_PrettyPrinter_Delaborator_delabBEq___closed__1; +x_8 = l_Lean_PrettyPrinter_Delaborator_delabInfixOp(x_7, x_1, x_2, x_3, x_4, x_5, x_6); +return x_8; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabBEq___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +uint8_t x_10; lean_object* x_11; +x_10 = lean_unbox(x_1); +lean_dec(x_1); +x_11 = l_Lean_PrettyPrinter_Delaborator_delabBEq___lambda__1(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +return x_11; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabBEq___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__5; +x_2 = l_myMacro____x40_Init_Notation___hyg_2714____closed__4; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabBEq___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabBEq___closed__1; +x_2 = l_myMacro____x40_Init_Notation___hyg_2714____closed__6; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabBEq___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabBEq), 6, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabBEq(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_Delaborator_delabAttribute; +x_3 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabBEq___closed__2; +x_4 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabBEq___closed__3; +x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); +return x_5; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabBNe___lambda__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("!="); +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabBNe___lambda__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_instInhabitedSourceInfo___closed__1; +x_2 = l_Lean_PrettyPrinter_Delaborator_delabBNe___lambda__1___closed__1; +x_3 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabBNe___lambda__1(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_10 = l_Array_empty___closed__1; +x_11 = lean_array_push(x_10, x_2); +x_12 = l_Lean_PrettyPrinter_Delaborator_delabBNe___lambda__1___closed__2; +x_13 = lean_array_push(x_11, x_12); +x_14 = lean_array_push(x_13, x_3); +x_15 = l___kind_term____x40_Init_Core___hyg_997____closed__1; +x_16 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_14); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_9); +return x_17; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabBNe___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabBNe___lambda__1___boxed), 9, 0); +return x_1; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabBNe(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_8; +x_7 = l_Lean_PrettyPrinter_Delaborator_delabBNe___closed__1; +x_8 = l_Lean_PrettyPrinter_Delaborator_delabInfixOp(x_7, x_1, x_2, x_3, x_4, x_5, x_6); +return x_8; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabBNe___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +uint8_t x_10; lean_object* x_11; +x_10 = lean_unbox(x_1); +lean_dec(x_1); +x_11 = l_Lean_PrettyPrinter_Delaborator_delabBNe___lambda__1(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +return x_11; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabBNe___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__5; +x_2 = l_myMacro____x40_Init_Core___hyg_1032____closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabBNe___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabBNe), 6, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabBNe(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_Delaborator_delabAttribute; +x_3 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabBNe___closed__1; +x_4 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabBNe___closed__2; +x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); +return x_5; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabHEq___lambda__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("~="); +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabHEq___lambda__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_instInhabitedSourceInfo___closed__1; +x_2 = l_Lean_PrettyPrinter_Delaborator_delabHEq___lambda__1___closed__1; +x_3 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabHEq___lambda__1___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("≅"); +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabHEq___lambda__1___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_instInhabitedSourceInfo___closed__1; +x_2 = l_Lean_PrettyPrinter_Delaborator_delabHEq___lambda__1___closed__3; +x_3 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabHEq___lambda__1(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +if (x_1 == 0) +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_10 = l_Array_empty___closed__1; +x_11 = lean_array_push(x_10, x_2); +x_12 = l_Lean_PrettyPrinter_Delaborator_delabHEq___lambda__1___closed__2; +x_13 = lean_array_push(x_11, x_12); +x_14 = lean_array_push(x_13, x_3); +x_15 = l___kind_term____x40_Init_Notation___hyg_2848____closed__1; +x_16 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_14); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_9); +return x_17; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_18 = l_Array_empty___closed__1; +x_19 = lean_array_push(x_18, x_2); +x_20 = l_Lean_PrettyPrinter_Delaborator_delabHEq___lambda__1___closed__4; +x_21 = lean_array_push(x_19, x_20); +x_22 = lean_array_push(x_21, x_3); +x_23 = l___kind_term____x40_Init_Notation___hyg_3013____closed__1; +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_24, 1, x_22); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_25, 1, x_9); +return x_25; +} +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabHEq___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabHEq___lambda__1___boxed), 9, 0); +return x_1; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabHEq(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_8; +x_7 = l_Lean_PrettyPrinter_Delaborator_delabHEq___closed__1; +x_8 = l_Lean_PrettyPrinter_Delaborator_delabInfixOp(x_7, x_1, x_2, x_3, x_4, x_5, x_6); +return x_8; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabHEq___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +uint8_t x_10; lean_object* x_11; +x_10 = lean_unbox(x_1); +lean_dec(x_1); +x_11 = l_Lean_PrettyPrinter_Delaborator_delabHEq___lambda__1(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +return x_11; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabHEq___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__5; +x_2 = l_myMacro____x40_Init_Notation___hyg_2883____closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabHEq___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabHEq), 6, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabHEq(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_Delaborator_delabAttribute; +x_3 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabHEq___closed__1; +x_4 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabHEq___closed__2; +x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); +return x_5; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabEquiv___lambda__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("≈"); +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabEquiv___lambda__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_instInhabitedSourceInfo___closed__1; +x_2 = l_Lean_PrettyPrinter_Delaborator_delabEquiv___lambda__1___closed__1; +x_3 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabEquiv___lambda__1(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_10 = l_Array_empty___closed__1; +x_11 = lean_array_push(x_10, x_2); +x_12 = l_Lean_PrettyPrinter_Delaborator_delabEquiv___lambda__1___closed__2; +x_13 = lean_array_push(x_11, x_12); +x_14 = lean_array_push(x_13, x_3); +x_15 = l___kind_term____x40_Init_Core___hyg_680____closed__1; +x_16 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_14); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_9); +return x_17; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabEquiv___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabEquiv___lambda__1___boxed), 9, 0); +return x_1; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabEquiv(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_8; +x_7 = l_Lean_PrettyPrinter_Delaborator_delabEquiv___closed__1; +x_8 = l_Lean_PrettyPrinter_Delaborator_delabInfixOp(x_7, x_1, x_2, x_3, x_4, x_5, x_6); +return x_8; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabEquiv___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +uint8_t x_10; lean_object* x_11; +x_10 = lean_unbox(x_1); +lean_dec(x_1); +x_11 = l_Lean_PrettyPrinter_Delaborator_delabEquiv___lambda__1(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +return x_11; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabEquiv___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__5; +x_2 = l_myMacro____x40_Init_Core___hyg_715____closed__4; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabEquiv___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabEquiv___closed__1; +x_2 = l_myMacro____x40_Init_Core___hyg_715____closed__6; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabEquiv___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabEquiv), 6, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabEquiv(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_Delaborator_delabAttribute; +x_3 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabEquiv___closed__2; +x_4 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabEquiv___closed__3; +x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); +return x_5; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabAnd___lambda__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("/\\"); +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabAnd___lambda__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_instInhabitedSourceInfo___closed__1; +x_2 = l_Lean_PrettyPrinter_Delaborator_delabAnd___lambda__1___closed__1; +x_3 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabAnd___lambda__1___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("∧"); +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabAnd___lambda__1___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_instInhabitedSourceInfo___closed__1; +x_2 = l_Lean_PrettyPrinter_Delaborator_delabAnd___lambda__1___closed__3; +x_3 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAnd___lambda__1(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +if (x_1 == 0) +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_10 = l_Array_empty___closed__1; +x_11 = lean_array_push(x_10, x_2); +x_12 = l_Lean_PrettyPrinter_Delaborator_delabAnd___lambda__1___closed__2; +x_13 = lean_array_push(x_11, x_12); +x_14 = lean_array_push(x_13, x_3); +x_15 = l___kind_term____x40_Init_Notation___hyg_3341____closed__1; +x_16 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_14); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_9); +return x_17; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_18 = l_Array_empty___closed__1; +x_19 = lean_array_push(x_18, x_2); +x_20 = l_Lean_PrettyPrinter_Delaborator_delabAnd___lambda__1___closed__4; +x_21 = lean_array_push(x_19, x_20); +x_22 = lean_array_push(x_21, x_3); +x_23 = l___kind_term____x40_Init_Notation___hyg_3177____closed__1; +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_24, 1, x_22); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_25, 1, x_9); +return x_25; +} +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabAnd___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabAnd___lambda__1___boxed), 9, 0); +return x_1; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAnd(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_8; +x_7 = l_Lean_PrettyPrinter_Delaborator_delabAnd___closed__1; +x_8 = l_Lean_PrettyPrinter_Delaborator_delabInfixOp(x_7, x_1, x_2, x_3, x_4, x_5, x_6); +return x_8; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAnd___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +uint8_t x_10; lean_object* x_11; +x_10 = lean_unbox(x_1); +lean_dec(x_1); +x_11 = l_Lean_PrettyPrinter_Delaborator_delabAnd___lambda__1(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +return x_11; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAnd___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__5; +x_2 = l_myMacro____x40_Init_Notation___hyg_3212____closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAnd___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabAnd), 6, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAnd(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_Delaborator_delabAttribute; +x_3 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAnd___closed__1; +x_4 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAnd___closed__2; +x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); +return x_5; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabOr___lambda__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("||"); +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabOr___lambda__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_instInhabitedSourceInfo___closed__1; +x_2 = l_Lean_PrettyPrinter_Delaborator_delabOr___lambda__1___closed__1; +x_3 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabOr___lambda__1___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("∨"); +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabOr___lambda__1___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_instInhabitedSourceInfo___closed__1; +x_2 = l_Lean_PrettyPrinter_Delaborator_delabOr___lambda__1___closed__3; +x_3 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabOr___lambda__1(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +if (x_1 == 0) +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_10 = l_Array_empty___closed__1; +x_11 = lean_array_push(x_10, x_2); +x_12 = l_Lean_PrettyPrinter_Delaborator_delabOr___lambda__1___closed__2; +x_13 = lean_array_push(x_11, x_12); +x_14 = lean_array_push(x_13, x_3); +x_15 = l___kind_term____x40_Init_Notation___hyg_3997____closed__1; +x_16 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_14); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_9); +return x_17; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_18 = l_Array_empty___closed__1; +x_19 = lean_array_push(x_18, x_2); +x_20 = l_Lean_PrettyPrinter_Delaborator_delabOr___lambda__1___closed__4; +x_21 = lean_array_push(x_19, x_20); +x_22 = lean_array_push(x_21, x_3); +x_23 = l___kind_term____x40_Init_Notation___hyg_3505____closed__1; +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_24, 1, x_22); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_25, 1, x_9); +return x_25; +} +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabOr___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabOr___lambda__1___boxed), 9, 0); +return x_1; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabOr(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_8; +x_7 = l_Lean_PrettyPrinter_Delaborator_delabOr___closed__1; +x_8 = l_Lean_PrettyPrinter_Delaborator_delabInfixOp(x_7, x_1, x_2, x_3, x_4, x_5, x_6); +return x_8; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabOr___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +uint8_t x_10; lean_object* x_11; +x_10 = lean_unbox(x_1); +lean_dec(x_1); +x_11 = l_Lean_PrettyPrinter_Delaborator_delabOr___lambda__1(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +return x_11; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabOr___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__5; +x_2 = l_myMacro____x40_Init_Notation___hyg_3540____closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabOr___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabOr), 6, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabOr(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_Delaborator_delabAttribute; +x_3 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabOr___closed__1; +x_4 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabOr___closed__2; +x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); +return x_5; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabIff___lambda__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("<->"); +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabIff___lambda__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_instInhabitedSourceInfo___closed__1; +x_2 = l_Lean_PrettyPrinter_Delaborator_delabIff___lambda__1___closed__1; +x_3 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabIff___lambda__1___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("↔"); +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabIff___lambda__1___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_instInhabitedSourceInfo___closed__1; +x_2 = l_Lean_PrettyPrinter_Delaborator_delabIff___lambda__1___closed__3; +x_3 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabIff___lambda__1(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +if (x_1 == 0) +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_10 = l_Array_empty___closed__1; +x_11 = lean_array_push(x_10, x_2); +x_12 = l_Lean_PrettyPrinter_Delaborator_delabIff___lambda__1___closed__2; +x_13 = lean_array_push(x_11, x_12); +x_14 = lean_array_push(x_13, x_3); +x_15 = l___kind_term____x40_Init_Core___hyg_150____closed__4; +x_16 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_14); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_9); +return x_17; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_18 = l_Array_empty___closed__1; +x_19 = lean_array_push(x_18, x_2); +x_20 = l_Lean_PrettyPrinter_Delaborator_delabIff___lambda__1___closed__4; +x_21 = lean_array_push(x_19, x_20); +x_22 = lean_array_push(x_21, x_3); +x_23 = l___kind_term____x40_Init_Core___hyg_315____closed__1; +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_24, 1, x_22); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_25, 1, x_9); +return x_25; +} +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabIff___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabIff___lambda__1___boxed), 9, 0); +return x_1; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabIff(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_8; +x_7 = l_Lean_PrettyPrinter_Delaborator_delabIff___closed__1; +x_8 = l_Lean_PrettyPrinter_Delaborator_delabInfixOp(x_7, x_1, x_2, x_3, x_4, x_5, x_6); +return x_8; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabIff___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +uint8_t x_10; lean_object* x_11; +x_10 = lean_unbox(x_1); +lean_dec(x_1); +x_11 = l_Lean_PrettyPrinter_Delaborator_delabIff___lambda__1(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +return x_11; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabIff___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__5; +x_2 = l_myMacro____x40_Init_Core___hyg_185____closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabIff___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabIff), 6, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabIff(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_Delaborator_delabAttribute; +x_3 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabIff___closed__1; +x_4 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabIff___closed__2; +x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); +return x_5; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabBAnd___lambda__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("&&"); +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabBAnd___lambda__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_instInhabitedSourceInfo___closed__1; +x_2 = l_Lean_PrettyPrinter_Delaborator_delabBAnd___lambda__1___closed__1; +x_3 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabBAnd___lambda__1(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_10 = l_Array_empty___closed__1; +x_11 = lean_array_push(x_10, x_2); +x_12 = l_Lean_PrettyPrinter_Delaborator_delabBAnd___lambda__1___closed__2; +x_13 = lean_array_push(x_11, x_12); +x_14 = lean_array_push(x_13, x_3); +x_15 = l___kind_term____x40_Init_Notation___hyg_3833____closed__1; +x_16 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_14); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_9); +return x_17; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabBAnd___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabBAnd___lambda__1___boxed), 9, 0); +return x_1; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabBAnd(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_8; +x_7 = l_Lean_PrettyPrinter_Delaborator_delabBAnd___closed__1; +x_8 = l_Lean_PrettyPrinter_Delaborator_delabInfixOp(x_7, x_1, x_2, x_3, x_4, x_5, x_6); +return x_8; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabBAnd___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +uint8_t x_10; lean_object* x_11; +x_10 = lean_unbox(x_1); +lean_dec(x_1); +x_11 = l_Lean_PrettyPrinter_Delaborator_delabBAnd___lambda__1(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +return x_11; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabBAnd___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__5; +x_2 = l_myMacro____x40_Init_Notation___hyg_3868____closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabBAnd___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabBAnd), 6, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabBAnd(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_Delaborator_delabAttribute; +x_3 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabBAnd___closed__1; +x_4 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabBAnd___closed__2; +x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); +return x_5; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabBOr___lambda__1(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_10 = l_Array_empty___closed__1; +x_11 = lean_array_push(x_10, x_2); +x_12 = l_Lean_PrettyPrinter_Delaborator_delabOr___lambda__1___closed__2; +x_13 = lean_array_push(x_11, x_12); +x_14 = lean_array_push(x_13, x_3); +x_15 = l___kind_term____x40_Init_Notation___hyg_3997____closed__1; +x_16 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_14); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_9); +return x_17; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabBOr___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabBOr___lambda__1___boxed), 9, 0); +return x_1; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabBOr(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_8; +x_7 = l_Lean_PrettyPrinter_Delaborator_delabBOr___closed__1; +x_8 = l_Lean_PrettyPrinter_Delaborator_delabInfixOp(x_7, x_1, x_2, x_3, x_4, x_5, x_6); +return x_8; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabBOr___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +uint8_t x_10; lean_object* x_11; +x_10 = lean_unbox(x_1); +lean_dec(x_1); +x_11 = l_Lean_PrettyPrinter_Delaborator_delabBOr___lambda__1(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +return x_11; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabBOr___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__5; +x_2 = l_myMacro____x40_Init_Notation___hyg_4032____closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabBOr___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabBOr), 6, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabBOr(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_Delaborator_delabAttribute; +x_3 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabBOr___closed__1; +x_4 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabBOr___closed__2; +x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); +return x_5; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppend___lambda__1(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_10 = l_Array_empty___closed__1; +x_11 = lean_array_push(x_10, x_2); +x_12 = l_Lean_Syntax_expandInterpolatedStr___lambda__1___closed__2; +x_13 = lean_array_push(x_11, x_12); +x_14 = lean_array_push(x_13, x_3); +x_15 = l___kind_term____x40_Init_Notation___hyg_4161____closed__1; +x_16 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_14); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_9); +return x_17; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabAppend___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabAppend___lambda__1___boxed), 9, 0); +return x_1; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppend(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_8; +x_7 = l_Lean_PrettyPrinter_Delaborator_delabAppend___closed__1; +x_8 = l_Lean_PrettyPrinter_Delaborator_delabInfixOp(x_7, x_1, x_2, x_3, x_4, x_5, x_6); +return x_8; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppend___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +uint8_t x_10; lean_object* x_11; +x_10 = lean_unbox(x_1); +lean_dec(x_1); +x_11 = l_Lean_PrettyPrinter_Delaborator_delabAppend___lambda__1(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +return x_11; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAppend___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__5; +x_2 = l_myMacro____x40_Init_Notation___hyg_4196____closed__4; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAppend___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAppend___closed__1; +x_2 = l_myMacro____x40_Init_Notation___hyg_4196____closed__6; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAppend___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabAppend), 6, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAppend(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_Delaborator_delabAttribute; +x_3 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAppend___closed__2; +x_4 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAppend___closed__3; +x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); +return x_5; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabCons___lambda__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("::"); +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabCons___lambda__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_instInhabitedSourceInfo___closed__1; +x_2 = l_Lean_PrettyPrinter_Delaborator_delabCons___lambda__1___closed__1; +x_3 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabCons___lambda__1(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_10 = l_Array_empty___closed__1; +x_11 = lean_array_push(x_10, x_2); +x_12 = l_Lean_PrettyPrinter_Delaborator_delabCons___lambda__1___closed__2; +x_13 = lean_array_push(x_11, x_12); +x_14 = lean_array_push(x_13, x_3); +x_15 = l___kind_term____x40_Init_Notation___hyg_4329____closed__1; +x_16 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_14); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_9); +return x_17; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabCons___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabCons___lambda__1___boxed), 9, 0); +return x_1; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabCons(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_8; +x_7 = l_Lean_PrettyPrinter_Delaborator_delabCons___closed__1; +x_8 = l_Lean_PrettyPrinter_Delaborator_delabInfixOp(x_7, x_1, x_2, x_3, x_4, x_5, x_6); +return x_8; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabCons___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +uint8_t x_10; lean_object* x_11; +x_10 = lean_unbox(x_1); +lean_dec(x_1); +x_11 = l_Lean_PrettyPrinter_Delaborator_delabCons___lambda__1(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +return x_11; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabCons___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__5; +x_2 = l_myMacro____x40_Init_Notation___hyg_4364____closed__4; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabCons___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabCons___closed__1; +x_2 = l_myMacro____x40_Init_Notation___hyg_4364____closed__6; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabCons___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabCons), 6, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabCons(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_Delaborator_delabAttribute; +x_3 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabCons___closed__2; +x_4 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabCons___closed__3; +x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); +return x_5; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabAndThen___lambda__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string(">>"); +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabAndThen___lambda__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_instInhabitedSourceInfo___closed__1; +x_2 = l_Lean_PrettyPrinter_Delaborator_delabAndThen___lambda__1___closed__1; +x_3 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAndThen___lambda__1(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_10 = l_Array_empty___closed__1; +x_11 = lean_array_push(x_10, x_2); +x_12 = l_Lean_PrettyPrinter_Delaborator_delabAndThen___lambda__1___closed__2; +x_13 = lean_array_push(x_11, x_12); +x_14 = lean_array_push(x_13, x_3); +x_15 = l___kind_term____x40_Init_Notation___hyg_4665____closed__1; +x_16 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_14); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_9); +return x_17; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabAndThen___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabAndThen___lambda__1___boxed), 9, 0); +return x_1; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAndThen(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_8; +x_7 = l_Lean_PrettyPrinter_Delaborator_delabAndThen___closed__1; +x_8 = l_Lean_PrettyPrinter_Delaborator_delabInfixOp(x_7, x_1, x_2, x_3, x_4, x_5, x_6); +return x_8; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAndThen___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +uint8_t x_10; lean_object* x_11; +x_10 = lean_unbox(x_1); +lean_dec(x_1); +x_11 = l_Lean_PrettyPrinter_Delaborator_delabAndThen___lambda__1(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +return x_11; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAndThen___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__5; +x_2 = l_myMacro____x40_Init_Notation___hyg_4700____closed__4; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAndThen___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAndThen___closed__1; +x_2 = l___kind_term____x40_Init_Notation___hyg_3____closed__12; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAndThen___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabAndThen), 6, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAndThen(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_Delaborator_delabAttribute; +x_3 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAndThen___closed__2; +x_4 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAndThen___closed__3; +x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); +return x_5; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabBind___lambda__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string(">>="); +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabBind___lambda__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_instInhabitedSourceInfo___closed__1; +x_2 = l_Lean_PrettyPrinter_Delaborator_delabBind___lambda__1___closed__1; +x_3 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabBind___lambda__1(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_10 = l_Array_empty___closed__1; +x_11 = lean_array_push(x_10, x_2); +x_12 = l_Lean_PrettyPrinter_Delaborator_delabBind___lambda__1___closed__2; +x_13 = lean_array_push(x_11, x_12); +x_14 = lean_array_push(x_13, x_3); +x_15 = l___kind_term____x40_Init_Notation___hyg_4833____closed__1; +x_16 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_14); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_9); +return x_17; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabBind___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabBind___lambda__1___boxed), 9, 0); +return x_1; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabBind(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_8; +x_7 = l_Lean_PrettyPrinter_Delaborator_delabBind___closed__1; +x_8 = l_Lean_PrettyPrinter_Delaborator_delabInfixOp(x_7, x_1, x_2, x_3, x_4, x_5, x_6); +return x_8; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabBind___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +uint8_t x_10; lean_object* x_11; +x_10 = lean_unbox(x_1); +lean_dec(x_1); +x_11 = l_Lean_PrettyPrinter_Delaborator_delabBind___lambda__1(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +return x_11; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabBind___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__5; +x_2 = l_myMacro____x40_Init_Notation___hyg_4868____closed__4; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabBind___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabBind___closed__1; +x_2 = l_myMacro____x40_Init_Notation___hyg_4868____closed__6; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabBind___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabBind), 6, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabBind(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_Delaborator_delabAttribute; +x_3 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabBind___closed__2; +x_4 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabBind___closed__3; +x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); +return x_5; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabseq___lambda__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("<*>"); +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabseq___lambda__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_instInhabitedSourceInfo___closed__1; +x_2 = l_Lean_PrettyPrinter_Delaborator_delabseq___lambda__1___closed__1; +x_3 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabseq___lambda__1(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_10 = l_Array_empty___closed__1; +x_11 = lean_array_push(x_10, x_2); +x_12 = l_Lean_PrettyPrinter_Delaborator_delabseq___lambda__1___closed__2; +x_13 = lean_array_push(x_11, x_12); +x_14 = lean_array_push(x_13, x_3); +x_15 = l___kind_term____x40_Init_Notation___hyg_5001____closed__1; +x_16 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_14); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_9); +return x_17; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabseq___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabseq___lambda__1___boxed), 9, 0); +return x_1; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabseq(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_8; +x_7 = l_Lean_PrettyPrinter_Delaborator_delabseq___closed__1; +x_8 = l_Lean_PrettyPrinter_Delaborator_delabInfixOp(x_7, x_1, x_2, x_3, x_4, x_5, x_6); +return x_8; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabseq___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +uint8_t x_10; lean_object* x_11; +x_10 = lean_unbox(x_1); +lean_dec(x_1); +x_11 = l_Lean_PrettyPrinter_Delaborator_delabseq___lambda__1(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +return x_11; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabseq___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__5; +x_2 = l_myMacro____x40_Init_Notation___hyg_5036____closed__4; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabseq___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabseq___closed__1; +x_2 = l_myMacro____x40_Init_Notation___hyg_5036____closed__6; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabseq___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabseq), 6, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabseq(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_Delaborator_delabAttribute; +x_3 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabseq___closed__2; +x_4 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabseq___closed__3; +x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); +return x_5; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabseqLeft___lambda__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("<*"); +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabseqLeft___lambda__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_instInhabitedSourceInfo___closed__1; +x_2 = l_Lean_PrettyPrinter_Delaborator_delabseqLeft___lambda__1___closed__1; +x_3 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabseqLeft___lambda__1(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_10 = l_Array_empty___closed__1; +x_11 = lean_array_push(x_10, x_2); +x_12 = l_Lean_PrettyPrinter_Delaborator_delabseqLeft___lambda__1___closed__2; +x_13 = lean_array_push(x_11, x_12); +x_14 = lean_array_push(x_13, x_3); +x_15 = l___kind_term____x40_Init_Notation___hyg_5169____closed__1; +x_16 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_14); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_9); +return x_17; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabseqLeft___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabseqLeft___lambda__1___boxed), 9, 0); +return x_1; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabseqLeft(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_8; +x_7 = l_Lean_PrettyPrinter_Delaborator_delabseqLeft___closed__1; +x_8 = l_Lean_PrettyPrinter_Delaborator_delabInfixOp(x_7, x_1, x_2, x_3, x_4, x_5, x_6); +return x_8; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabseqLeft___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +uint8_t x_10; lean_object* x_11; +x_10 = lean_unbox(x_1); +lean_dec(x_1); +x_11 = l_Lean_PrettyPrinter_Delaborator_delabseqLeft___lambda__1(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +return x_11; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabseqLeft___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__5; +x_2 = l_myMacro____x40_Init_Notation___hyg_5204____closed__4; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabseqLeft___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabseqLeft___closed__1; +x_2 = l_myMacro____x40_Init_Notation___hyg_5204____closed__6; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabseqLeft___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabseqLeft), 6, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabseqLeft(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_Delaborator_delabAttribute; +x_3 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabseqLeft___closed__2; +x_4 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabseqLeft___closed__3; +x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); +return x_5; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabseqRight___lambda__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("*>"); +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabseqRight___lambda__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_instInhabitedSourceInfo___closed__1; +x_2 = l_Lean_PrettyPrinter_Delaborator_delabseqRight___lambda__1___closed__1; +x_3 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabseqRight___lambda__1(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_10 = l_Array_empty___closed__1; +x_11 = lean_array_push(x_10, x_2); +x_12 = l_Lean_PrettyPrinter_Delaborator_delabseqRight___lambda__1___closed__2; +x_13 = lean_array_push(x_11, x_12); +x_14 = lean_array_push(x_13, x_3); +x_15 = l___kind_term____x40_Init_Notation___hyg_5337____closed__1; +x_16 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_14); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_9); +return x_17; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabseqRight___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabseqRight___lambda__1___boxed), 9, 0); +return x_1; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabseqRight(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_8; +x_7 = l_Lean_PrettyPrinter_Delaborator_delabseqRight___closed__1; +x_8 = l_Lean_PrettyPrinter_Delaborator_delabInfixOp(x_7, x_1, x_2, x_3, x_4, x_5, x_6); +return x_8; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabseqRight___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +uint8_t x_10; lean_object* x_11; +x_10 = lean_unbox(x_1); +lean_dec(x_1); +x_11 = l_Lean_PrettyPrinter_Delaborator_delabseqRight___lambda__1(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +return x_11; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabseqRight___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__5; +x_2 = l_myMacro____x40_Init_Notation___hyg_5372____closed__4; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabseqRight___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabseqRight___closed__1; +x_2 = l_myMacro____x40_Init_Notation___hyg_5372____closed__6; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabseqRight___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabseqRight), 6, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabseqRight(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_Delaborator_delabAttribute; +x_3 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabseqRight___closed__2; +x_4 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabseqRight___closed__3; +x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); +return x_5; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabMap___lambda__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("<$>"); +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabMap___lambda__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_instInhabitedSourceInfo___closed__1; +x_2 = l_Lean_PrettyPrinter_Delaborator_delabMap___lambda__1___closed__1; +x_3 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabMap___lambda__1(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_10 = l_Array_empty___closed__1; +x_11 = lean_array_push(x_10, x_2); +x_12 = l_Lean_PrettyPrinter_Delaborator_delabMap___lambda__1___closed__2; +x_13 = lean_array_push(x_11, x_12); +x_14 = lean_array_push(x_13, x_3); +x_15 = l___kind_term____x40_Init_Notation___hyg_5505____closed__1; +x_16 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_14); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_9); +return x_17; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabMap___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabMap___lambda__1___boxed), 9, 0); +return x_1; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabMap(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_8; +x_7 = l_Lean_PrettyPrinter_Delaborator_delabMap___closed__1; +x_8 = l_Lean_PrettyPrinter_Delaborator_delabInfixOp(x_7, x_1, x_2, x_3, x_4, x_5, x_6); +return x_8; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabMap___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +uint8_t x_10; lean_object* x_11; +x_10 = lean_unbox(x_1); +lean_dec(x_1); +x_11 = l_Lean_PrettyPrinter_Delaborator_delabMap___lambda__1(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +return x_11; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabMap___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__5; +x_2 = l_myMacro____x40_Init_Notation___hyg_5540____closed__4; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabMap___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabMap___closed__1; +x_2 = l_myMacro____x40_Init_Notation___hyg_5540____closed__6; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabMap___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabMap), 6, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabMap(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_Delaborator_delabAttribute; +x_3 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabMap___closed__2; +x_4 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabMap___closed__3; +x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); +return x_5; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabMapRev___lambda__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("<&>"); +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabMapRev___lambda__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_instInhabitedSourceInfo___closed__1; +x_2 = l_Lean_PrettyPrinter_Delaborator_delabMapRev___lambda__1___closed__1; +x_3 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabMapRev___lambda__1(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_10 = l_Array_empty___closed__1; +x_11 = lean_array_push(x_10, x_2); +x_12 = l_Lean_PrettyPrinter_Delaborator_delabMapRev___lambda__1___closed__2; +x_13 = lean_array_push(x_11, x_12); +x_14 = lean_array_push(x_13, x_3); +x_15 = l___kind_term____x40_Init_Control_Basic___hyg_38____closed__6; +x_16 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_14); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_9); +return x_17; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabMapRev___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabMapRev___lambda__1___boxed), 9, 0); +return x_1; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabMapRev(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_8; +x_7 = l_Lean_PrettyPrinter_Delaborator_delabMapRev___closed__1; +x_8 = l_Lean_PrettyPrinter_Delaborator_delabInfixOp(x_7, x_1, x_2, x_3, x_4, x_5, x_6); +return x_8; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabMapRev___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +uint8_t x_10; lean_object* x_11; +x_10 = lean_unbox(x_1); +lean_dec(x_1); +x_11 = l_Lean_PrettyPrinter_Delaborator_delabMapRev___lambda__1(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +return x_11; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabMapRev___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabMap___closed__1; +x_2 = l_myMacro____x40_Init_Control_Basic___hyg_75____closed__6; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabMapRev___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabMapRev), 6, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabMapRev(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_Delaborator_delabAttribute; +x_3 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabMapRev___closed__1; +x_4 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabMapRev___closed__2; +x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); +return x_5; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabOrElse___lambda__1(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_10 = l_Array_empty___closed__1; +x_11 = lean_array_push(x_10, x_2); +x_12 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_9654____closed__4; +x_13 = lean_array_push(x_11, x_12); +x_14 = lean_array_push(x_13, x_3); +x_15 = l___kind_term____x40_Init_Notation___hyg_4497____closed__1; +x_16 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_14); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_9); +return x_17; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabOrElse___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabOrElse___lambda__1___boxed), 9, 0); +return x_1; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabOrElse(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_8; +x_7 = l_Lean_PrettyPrinter_Delaborator_delabOrElse___closed__1; +x_8 = l_Lean_PrettyPrinter_Delaborator_delabInfixOp(x_7, x_1, x_2, x_3, x_4, x_5, x_6); +return x_8; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabOrElse___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +uint8_t x_10; lean_object* x_11; +x_10 = lean_unbox(x_1); +lean_dec(x_1); +x_11 = l_Lean_PrettyPrinter_Delaborator_delabOrElse___lambda__1(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +return x_11; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabOrElse___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__5; +x_2 = l_myMacro____x40_Init_Notation___hyg_4532____closed__4; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabOrElse___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabOrElse___closed__1; +x_2 = l_myMacro____x40_Init_Notation___hyg_7791____closed__3; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabOrElse___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabOrElse), 6, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabOrElse(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_Delaborator_delabAttribute; +x_3 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabOrElse___closed__2; +x_4 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabOrElse___closed__3; +x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); +return x_5; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabOrM___lambda__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("<||>"); +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabOrM___lambda__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_instInhabitedSourceInfo___closed__1; +x_2 = l_Lean_PrettyPrinter_Delaborator_delabOrM___lambda__1___closed__1; +x_3 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabOrM___lambda__1(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_10 = l_Array_empty___closed__1; +x_11 = lean_array_push(x_10, x_2); +x_12 = l_Lean_PrettyPrinter_Delaborator_delabOrM___lambda__1___closed__2; +x_13 = lean_array_push(x_11, x_12); +x_14 = lean_array_push(x_13, x_3); +x_15 = l___kind_term____x40_Init_Control_Basic___hyg_475____closed__1; +x_16 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_14); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_9); +return x_17; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabOrM___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabOrM___lambda__1___boxed), 9, 0); +return x_1; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabOrM(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_8; +x_7 = l_Lean_PrettyPrinter_Delaborator_delabOrM___closed__1; +x_8 = l_Lean_PrettyPrinter_Delaborator_delabInfixOp(x_7, x_1, x_2, x_3, x_4, x_5, x_6); +return x_8; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabOrM___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +uint8_t x_10; lean_object* x_11; +x_10 = lean_unbox(x_1); +lean_dec(x_1); +x_11 = l_Lean_PrettyPrinter_Delaborator_delabOrM___lambda__1(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +return x_11; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabOrM___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__5; +x_2 = l_myMacro____x40_Init_Control_Basic___hyg_528____closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabOrM___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabOrM), 6, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabOrM(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_Delaborator_delabAttribute; +x_3 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabOrM___closed__1; +x_4 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabOrM___closed__2; +x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); +return x_5; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabAndM___lambda__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("<&&>"); +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabAndM___lambda__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_instInhabitedSourceInfo___closed__1; +x_2 = l_Lean_PrettyPrinter_Delaborator_delabAndM___lambda__1___closed__1; +x_3 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAndM___lambda__1(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_10 = l_Array_empty___closed__1; +x_11 = lean_array_push(x_10, x_2); +x_12 = l_Lean_PrettyPrinter_Delaborator_delabAndM___lambda__1___closed__2; +x_13 = lean_array_push(x_11, x_12); +x_14 = lean_array_push(x_13, x_3); +x_15 = l___kind_term____x40_Init_Control_Basic___hyg_716____closed__1; +x_16 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_14); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_9); +return x_17; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabAndM___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabAndM___lambda__1___boxed), 9, 0); +return x_1; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAndM(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_8; +x_7 = l_Lean_PrettyPrinter_Delaborator_delabAndM___closed__1; +x_8 = l_Lean_PrettyPrinter_Delaborator_delabInfixOp(x_7, x_1, x_2, x_3, x_4, x_5, x_6); +return x_8; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabAndM___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +uint8_t x_10; lean_object* x_11; +x_10 = lean_unbox(x_1); +lean_dec(x_1); +x_11 = l_Lean_PrettyPrinter_Delaborator_delabAndM___lambda__1(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +return x_11; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAndM___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__5; +x_2 = l_myMacro____x40_Init_Control_Basic___hyg_769____closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAndM___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabAndM), 6, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAndM(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_Delaborator_delabAttribute; +x_3 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAndM___closed__1; +x_4 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAndM___closed__2; +x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); +return x_5; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabNot___lambda__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("not"); +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabNot___lambda__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_myMacro____x40_Init_Notation___hyg_38____closed__6; +x_2 = l_Lean_PrettyPrinter_Delaborator_delabNot___lambda__1___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabNot___lambda__1___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("¬"); +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabNot___lambda__1___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_instInhabitedSourceInfo___closed__1; +x_2 = l_Lean_PrettyPrinter_Delaborator_delabNot___lambda__1___closed__3; +x_3 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabNot___lambda__1___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Array_empty___closed__1; +x_2 = l_Lean_PrettyPrinter_Delaborator_delabNot___lambda__1___closed__4; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabNot___lambda__1(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_9 = l_Lean_PrettyPrinter_Delaborator_delabNot___lambda__1___closed__5; +x_10 = lean_array_push(x_9, x_2); +x_11 = l_Lean_PrettyPrinter_Delaborator_delabNot___lambda__1___closed__2; +x_12 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_12, 0, x_11); +lean_ctor_set(x_12, 1, 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_8); +return x_13; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabNot___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabNot___lambda__1___boxed), 8, 0); +return x_1; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabNot(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_8; +x_7 = l_Lean_PrettyPrinter_Delaborator_delabNot___closed__1; +x_8 = l_Lean_PrettyPrinter_Delaborator_delabPrefixOp(x_7, x_1, x_2, x_3, x_4, x_5, x_6); +return x_8; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabNot___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +uint8_t x_9; lean_object* x_10; +x_9 = lean_unbox(x_1); +lean_dec(x_1); +x_10 = l_Lean_PrettyPrinter_Delaborator_delabNot___lambda__1(x_9, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_10; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabNot___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__5; +x_2 = l_Lean_Meta_caseValueAux___lambda__3___closed__3; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabNot___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabNot), 6, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabNot(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_Delaborator_delabAttribute; +x_3 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabNot___closed__1; +x_4 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabNot___closed__2; +x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); +return x_5; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabBNot___lambda__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("bnot"); +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabBNot___lambda__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_myMacro____x40_Init_Notation___hyg_38____closed__6; +x_2 = l_Lean_PrettyPrinter_Delaborator_delabBNot___lambda__1___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabBNot___lambda__1___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_instInhabitedSourceInfo___closed__1; +x_2 = l___kind_stx____x40_Init_Notation___hyg_7943____closed__2; +x_3 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabBNot___lambda__1___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Array_empty___closed__1; +x_2 = l_Lean_PrettyPrinter_Delaborator_delabBNot___lambda__1___closed__3; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabBNot___lambda__1(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_9 = l_Lean_PrettyPrinter_Delaborator_delabBNot___lambda__1___closed__4; +x_10 = lean_array_push(x_9, x_2); +x_11 = l_Lean_PrettyPrinter_Delaborator_delabBNot___lambda__1___closed__2; +x_12 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_12, 0, x_11); +lean_ctor_set(x_12, 1, 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_8); +return x_13; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabBNot___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabBNot___lambda__1___boxed), 8, 0); +return x_1; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabBNot(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_8; +x_7 = l_Lean_PrettyPrinter_Delaborator_delabBNot___closed__1; +x_8 = l_Lean_PrettyPrinter_Delaborator_delabPrefixOp(x_7, x_1, x_2, x_3, x_4, x_5, x_6); +return x_8; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabBNot___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +uint8_t x_9; lean_object* x_10; +x_9 = lean_unbox(x_1); +lean_dec(x_1); +x_10 = l_Lean_PrettyPrinter_Delaborator_delabBNot___lambda__1(x_9, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_10; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabBNot___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__5; +x_2 = l_Lean_PrettyPrinter_Delaborator_delabNot___lambda__1___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabBNot___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabBNot), 6, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabBNot(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_Delaborator_delabAttribute; +x_3 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabBNot___closed__1; +x_4 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabBNot___closed__2; +x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); +return x_5; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabNil___lambda__1___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3420____closed__9; +x_2 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabNil___lambda__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_PrettyPrinter_Delaborator_delabNil___lambda__1___closed__1; +x_2 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3420____closed__10; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabNil___lambda__1___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___kind_term____x40_Init_Notation___hyg_6289____closed__1; +x_2 = l_Lean_PrettyPrinter_Delaborator_delabNil___lambda__1___closed__2; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabNil___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; +x_8 = lean_unsigned_to_nat(0u); +x_9 = l_Lean_Expr_getAppNumArgsAux(x_1, x_8); +x_10 = lean_unsigned_to_nat(1u); +x_11 = lean_nat_dec_eq(x_9, x_10); +lean_dec(x_9); +if (x_11 == 0) +{ +lean_object* x_12; uint8_t x_13; +x_12 = l_Lean_PrettyPrinter_Delaborator_failure___rarg(x_7); +x_13 = !lean_is_exclusive(x_12); +if (x_13 == 0) +{ +return x_12; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_14 = lean_ctor_get(x_12, 0); +x_15 = lean_ctor_get(x_12, 1); +lean_inc(x_15); +lean_inc(x_14); +lean_dec(x_12); +x_16 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_16, 0, x_14); +lean_ctor_set(x_16, 1, x_15); +return x_16; +} +} +else +{ +lean_object* x_17; lean_object* x_18; +x_17 = l_Lean_PrettyPrinter_Delaborator_delabNil___lambda__1___closed__3; +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_7); +return x_18; +} +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabNil___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabNil___lambda__1___boxed), 7, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabNil___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_PrettyPrinter_Delaborator_delabAppExplicit___closed__1; +x_2 = l_Lean_PrettyPrinter_Delaborator_delabNil___closed__1; +x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_PrettyPrinter_Delaborator_delabAppExplicit___spec__2___rarg), 8, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabNil(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = l_Lean_PrettyPrinter_Delaborator_delabAppMatch___closed__7; +x_8 = l_Lean_PrettyPrinter_Delaborator_delabNil___closed__2; +x_9 = l_Lean_PrettyPrinter_Delaborator_whenPPOption(x_7, x_8, x_1, x_2, x_3, x_4, x_5, x_6); +return x_9; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabNil___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l_Lean_PrettyPrinter_Delaborator_delabNil___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_8; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabNil___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabCons___closed__1; +x_2 = l_myMacro____x40_Init_Notation___hyg_6336____closed__4; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabNil___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabNil), 6, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabNil(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_Delaborator_delabAttribute; +x_3 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabNil___closed__1; +x_4 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabNil___closed__2; +x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); +return x_5; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabConsList___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; lean_object* x_124; lean_object* x_125; lean_object* x_126; uint8_t x_127; +x_124 = lean_unsigned_to_nat(0u); +x_125 = l_Lean_Expr_getAppNumArgsAux(x_1, x_124); +x_126 = lean_unsigned_to_nat(3u); +x_127 = lean_nat_dec_eq(x_125, x_126); +lean_dec(x_125); +if (x_127 == 0) +{ +lean_object* x_128; uint8_t x_129; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_128 = l_Lean_PrettyPrinter_Delaborator_failure___rarg(x_7); +x_129 = !lean_is_exclusive(x_128); +if (x_129 == 0) +{ +return x_128; +} +else +{ +lean_object* x_130; lean_object* x_131; lean_object* x_132; +x_130 = lean_ctor_get(x_128, 0); +x_131 = lean_ctor_get(x_128, 1); +lean_inc(x_131); +lean_inc(x_130); +lean_dec(x_128); +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 +{ +x_8 = x_7; +goto block_123; +} +block_123: +{ +lean_object* x_9; lean_object* x_10; +x_9 = l_Lean_PrettyPrinter_Delaborator_delabTuple___lambda__1___closed__1; +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +x_10 = l_Lean_PrettyPrinter_Delaborator_withAppFn___rarg(x_9, x_2, x_3, x_4, x_5, x_6, x_8); +if (lean_obj_tag(x_10) == 0) +{ +uint8_t x_11; +x_11 = !lean_is_exclusive(x_10); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_12 = lean_ctor_get(x_10, 0); +x_13 = lean_ctor_get(x_10, 1); +x_14 = l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__2___closed__1; +x_15 = l_Lean_PrettyPrinter_Delaborator_withAppArg___rarg(x_14, x_2, x_3, x_4, x_5, x_6, x_13); +if (lean_obj_tag(x_15) == 0) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +x_17 = lean_ctor_get(x_15, 1); +lean_inc(x_17); +if (lean_is_exclusive(x_15)) { + lean_ctor_release(x_15, 0); + lean_ctor_release(x_15, 1); + x_18 = x_15; +} else { + lean_dec_ref(x_15); + x_18 = lean_box(0); +} +x_19 = l___kind_term____x40_Init_Notation___hyg_6289____closed__1; +lean_inc(x_16); +x_20 = l_Lean_Syntax_isOfKind(x_16, x_19); +if (x_20 == 0) +{ +lean_object* x_21; +lean_dec(x_18); +lean_dec(x_16); +lean_free_object(x_10); +lean_dec(x_12); +x_21 = l_Lean_PrettyPrinter_Delaborator_failure___rarg(x_17); +return x_21; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; +x_22 = l_Lean_Syntax_getArgs(x_16); +x_23 = lean_array_get_size(x_22); +lean_dec(x_22); +x_24 = lean_unsigned_to_nat(3u); +x_25 = lean_nat_dec_eq(x_23, x_24); +lean_dec(x_23); +if (x_25 == 0) +{ +lean_object* x_26; +lean_dec(x_18); +lean_dec(x_16); +lean_free_object(x_10); +lean_dec(x_12); +x_26 = l_Lean_PrettyPrinter_Delaborator_failure___rarg(x_17); +return x_26; +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_45; uint8_t x_46; +x_27 = lean_unsigned_to_nat(1u); +x_28 = l_Lean_Syntax_getArg(x_16, x_27); +lean_dec(x_16); +x_45 = l_Lean_nullKind___closed__2; +lean_inc(x_28); +x_46 = l_Lean_Syntax_isOfKind(x_28, x_45); +if (x_46 == 0) +{ +lean_object* x_47; +lean_free_object(x_10); +x_47 = lean_box(0); +x_29 = x_47; +goto block_44; +} +else +{ +lean_object* x_48; lean_object* x_49; lean_object* x_50; uint8_t x_51; +x_48 = l_Lean_Syntax_getArgs(x_28); +x_49 = lean_array_get_size(x_48); +lean_dec(x_48); +x_50 = lean_unsigned_to_nat(0u); +x_51 = lean_nat_dec_eq(x_49, x_50); +lean_dec(x_49); +if (x_51 == 0) +{ +lean_object* x_52; +lean_free_object(x_10); +x_52 = lean_box(0); +x_29 = x_52; +goto block_44; +} +else +{ +lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; +lean_dec(x_28); +lean_dec(x_18); +x_53 = l_Array_empty___closed__1; +x_54 = lean_array_push(x_53, x_12); +x_55 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_55, 0, x_45); +lean_ctor_set(x_55, 1, x_54); +x_56 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3420____closed__9; +x_57 = lean_array_push(x_56, x_55); +x_58 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3420____closed__10; +x_59 = lean_array_push(x_57, x_58); +x_60 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_60, 0, x_19); +lean_ctor_set(x_60, 1, x_59); +lean_ctor_set(x_10, 1, x_17); +lean_ctor_set(x_10, 0, x_60); +return x_10; +} +} +block_44: +{ +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_dec(x_29); +x_30 = l_Lean_Syntax_getArgs(x_28); +lean_dec(x_28); +x_31 = l_Array_empty___closed__1; +x_32 = lean_array_push(x_31, x_12); +x_33 = l_myMacro____x40_Init_Notation___hyg_7791____closed__8; +x_34 = lean_array_push(x_32, x_33); +x_35 = l_Array_appendCore___rarg(x_34, x_30); +lean_dec(x_30); +x_36 = l_Lean_nullKind___closed__2; +x_37 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_37, 0, x_36); +lean_ctor_set(x_37, 1, x_35); +x_38 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3420____closed__9; +x_39 = lean_array_push(x_38, x_37); +x_40 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3420____closed__10; +x_41 = lean_array_push(x_39, x_40); +x_42 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_42, 0, x_19); +lean_ctor_set(x_42, 1, x_41); +if (lean_is_scalar(x_18)) { + x_43 = lean_alloc_ctor(0, 2, 0); +} else { + x_43 = x_18; +} +lean_ctor_set(x_43, 0, x_42); +lean_ctor_set(x_43, 1, x_17); +return x_43; +} +} +} +} +else +{ +uint8_t x_61; +lean_free_object(x_10); +lean_dec(x_12); +x_61 = !lean_is_exclusive(x_15); +if (x_61 == 0) +{ +return x_15; +} +else +{ +lean_object* x_62; lean_object* x_63; lean_object* x_64; +x_62 = lean_ctor_get(x_15, 0); +x_63 = lean_ctor_get(x_15, 1); +lean_inc(x_63); +lean_inc(x_62); +lean_dec(x_15); +x_64 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_64, 0, x_62); +lean_ctor_set(x_64, 1, x_63); +return x_64; +} +} +} +else +{ +lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; +x_65 = lean_ctor_get(x_10, 0); +x_66 = lean_ctor_get(x_10, 1); +lean_inc(x_66); +lean_inc(x_65); +lean_dec(x_10); +x_67 = l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__2___closed__1; +x_68 = l_Lean_PrettyPrinter_Delaborator_withAppArg___rarg(x_67, x_2, x_3, x_4, x_5, x_6, x_66); +if (lean_obj_tag(x_68) == 0) +{ +lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; uint8_t x_73; +x_69 = lean_ctor_get(x_68, 0); +lean_inc(x_69); +x_70 = lean_ctor_get(x_68, 1); +lean_inc(x_70); +if (lean_is_exclusive(x_68)) { + lean_ctor_release(x_68, 0); + lean_ctor_release(x_68, 1); + x_71 = x_68; +} else { + lean_dec_ref(x_68); + x_71 = lean_box(0); +} +x_72 = l___kind_term____x40_Init_Notation___hyg_6289____closed__1; +lean_inc(x_69); +x_73 = l_Lean_Syntax_isOfKind(x_69, x_72); +if (x_73 == 0) +{ +lean_object* x_74; +lean_dec(x_71); +lean_dec(x_69); +lean_dec(x_65); +x_74 = l_Lean_PrettyPrinter_Delaborator_failure___rarg(x_70); +return x_74; +} +else +{ +lean_object* x_75; lean_object* x_76; lean_object* x_77; uint8_t x_78; +x_75 = l_Lean_Syntax_getArgs(x_69); +x_76 = lean_array_get_size(x_75); +lean_dec(x_75); +x_77 = lean_unsigned_to_nat(3u); +x_78 = lean_nat_dec_eq(x_76, x_77); +lean_dec(x_76); +if (x_78 == 0) +{ +lean_object* x_79; +lean_dec(x_71); +lean_dec(x_69); +lean_dec(x_65); +x_79 = l_Lean_PrettyPrinter_Delaborator_failure___rarg(x_70); +return x_79; +} +else +{ +lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_98; uint8_t x_99; +x_80 = lean_unsigned_to_nat(1u); +x_81 = l_Lean_Syntax_getArg(x_69, x_80); +lean_dec(x_69); +x_98 = l_Lean_nullKind___closed__2; +lean_inc(x_81); +x_99 = l_Lean_Syntax_isOfKind(x_81, x_98); +if (x_99 == 0) +{ +lean_object* x_100; +x_100 = lean_box(0); +x_82 = x_100; +goto block_97; +} +else +{ +lean_object* x_101; lean_object* x_102; lean_object* x_103; uint8_t x_104; +x_101 = l_Lean_Syntax_getArgs(x_81); +x_102 = lean_array_get_size(x_101); +lean_dec(x_101); +x_103 = lean_unsigned_to_nat(0u); +x_104 = lean_nat_dec_eq(x_102, x_103); +lean_dec(x_102); +if (x_104 == 0) +{ +lean_object* x_105; +x_105 = lean_box(0); +x_82 = x_105; +goto block_97; +} +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; +lean_dec(x_81); +lean_dec(x_71); +x_106 = l_Array_empty___closed__1; +x_107 = lean_array_push(x_106, x_65); +x_108 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_108, 0, x_98); +lean_ctor_set(x_108, 1, x_107); +x_109 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3420____closed__9; +x_110 = lean_array_push(x_109, x_108); +x_111 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3420____closed__10; +x_112 = lean_array_push(x_110, x_111); +x_113 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_113, 0, x_72); +lean_ctor_set(x_113, 1, x_112); +x_114 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_114, 0, x_113); +lean_ctor_set(x_114, 1, x_70); +return x_114; +} +} +block_97: +{ +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_dec(x_82); +x_83 = l_Lean_Syntax_getArgs(x_81); +lean_dec(x_81); +x_84 = l_Array_empty___closed__1; +x_85 = lean_array_push(x_84, x_65); +x_86 = l_myMacro____x40_Init_Notation___hyg_7791____closed__8; +x_87 = lean_array_push(x_85, x_86); +x_88 = l_Array_appendCore___rarg(x_87, x_83); +lean_dec(x_83); +x_89 = l_Lean_nullKind___closed__2; +x_90 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_90, 0, x_89); +lean_ctor_set(x_90, 1, x_88); +x_91 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3420____closed__9; +x_92 = lean_array_push(x_91, x_90); +x_93 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3420____closed__10; +x_94 = lean_array_push(x_92, x_93); +x_95 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_95, 0, x_72); +lean_ctor_set(x_95, 1, x_94); +if (lean_is_scalar(x_71)) { + x_96 = lean_alloc_ctor(0, 2, 0); +} else { + x_96 = x_71; +} +lean_ctor_set(x_96, 0, x_95); +lean_ctor_set(x_96, 1, x_70); +return x_96; +} +} +} +} +else +{ +lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; +lean_dec(x_65); +x_115 = lean_ctor_get(x_68, 0); +lean_inc(x_115); +x_116 = lean_ctor_get(x_68, 1); +lean_inc(x_116); +if (lean_is_exclusive(x_68)) { + lean_ctor_release(x_68, 0); + lean_ctor_release(x_68, 1); + x_117 = x_68; +} else { + lean_dec_ref(x_68); + x_117 = lean_box(0); +} +if (lean_is_scalar(x_117)) { + x_118 = lean_alloc_ctor(1, 2, 0); +} else { + x_118 = x_117; +} +lean_ctor_set(x_118, 0, x_115); +lean_ctor_set(x_118, 1, x_116); +return x_118; +} +} +} +else +{ +uint8_t x_119; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_119 = !lean_is_exclusive(x_10); +if (x_119 == 0) +{ +return x_10; +} +else +{ +lean_object* x_120; lean_object* x_121; lean_object* x_122; +x_120 = lean_ctor_get(x_10, 0); +x_121 = lean_ctor_get(x_10, 1); +lean_inc(x_121); +lean_inc(x_120); +lean_dec(x_10); +x_122 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_122, 0, x_120); +lean_ctor_set(x_122, 1, x_121); +return x_122; +} +} +} +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabConsList___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabConsList___lambda__1___boxed), 7, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabConsList___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_PrettyPrinter_Delaborator_delabAppExplicit___closed__1; +x_2 = l_Lean_PrettyPrinter_Delaborator_delabConsList___closed__1; +x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_PrettyPrinter_Delaborator_delabAppExplicit___spec__2___rarg), 8, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabConsList(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = l_Lean_PrettyPrinter_Delaborator_delabAppMatch___closed__7; +x_8 = l_Lean_PrettyPrinter_Delaborator_delabConsList___closed__2; +x_9 = l_Lean_PrettyPrinter_Delaborator_whenPPOption(x_7, x_8, x_1, x_2, x_3, x_4, x_5, x_6); +return x_9; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabConsList___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l_Lean_PrettyPrinter_Delaborator_delabConsList___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_1); +return x_8; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabConsList___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabConsList), 6, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabConsList(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_Delaborator_delabAttribute; +x_3 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabCons___closed__2; +x_4 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabConsList___closed__1; +x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); +return x_5; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabListToArray___lambda__1___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_instInhabitedSourceInfo___closed__1; +x_2 = l_addParenHeuristic___closed__2; +x_3 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabListToArray___lambda__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Array_empty___closed__1; +x_2 = l_Lean_PrettyPrinter_Delaborator_delabListToArray___lambda__1___closed__1; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabListToArray___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; lean_object* x_64; lean_object* x_65; lean_object* x_66; uint8_t x_67; +x_64 = lean_unsigned_to_nat(0u); +x_65 = l_Lean_Expr_getAppNumArgsAux(x_1, x_64); +x_66 = lean_unsigned_to_nat(2u); +x_67 = lean_nat_dec_eq(x_65, x_66); +lean_dec(x_65); +if (x_67 == 0) +{ +lean_object* x_68; uint8_t x_69; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_68 = l_Lean_PrettyPrinter_Delaborator_failure___rarg(x_7); +x_69 = !lean_is_exclusive(x_68); +if (x_69 == 0) +{ +return x_68; +} +else +{ +lean_object* x_70; lean_object* x_71; lean_object* x_72; +x_70 = lean_ctor_get(x_68, 0); +x_71 = lean_ctor_get(x_68, 1); +lean_inc(x_71); +lean_inc(x_70); +lean_dec(x_68); +x_72 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_72, 0, x_70); +lean_ctor_set(x_72, 1, x_71); +return x_72; +} +} +else +{ +x_8 = x_7; +goto block_63; +} +block_63: +{ +lean_object* x_9; lean_object* x_10; +x_9 = l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__2___closed__1; +x_10 = l_Lean_PrettyPrinter_Delaborator_withAppArg___rarg(x_9, x_2, x_3, x_4, x_5, x_6, x_8); +if (lean_obj_tag(x_10) == 0) +{ +uint8_t x_11; +x_11 = !lean_is_exclusive(x_10); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; +x_12 = lean_ctor_get(x_10, 0); +x_13 = lean_ctor_get(x_10, 1); +x_14 = l___kind_term____x40_Init_Notation___hyg_6289____closed__1; +lean_inc(x_12); +x_15 = l_Lean_Syntax_isOfKind(x_12, x_14); +if (x_15 == 0) +{ +lean_object* x_16; +lean_free_object(x_10); +lean_dec(x_12); +x_16 = l_Lean_PrettyPrinter_Delaborator_failure___rarg(x_13); +return x_16; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; +x_17 = l_Lean_Syntax_getArgs(x_12); +x_18 = lean_array_get_size(x_17); +lean_dec(x_17); +x_19 = lean_unsigned_to_nat(3u); +x_20 = lean_nat_dec_eq(x_18, x_19); +lean_dec(x_18); +if (x_20 == 0) +{ +lean_object* x_21; +lean_free_object(x_10); +lean_dec(x_12); +x_21 = l_Lean_PrettyPrinter_Delaborator_failure___rarg(x_13); +return x_21; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_22 = lean_unsigned_to_nat(1u); +x_23 = l_Lean_Syntax_getArg(x_12, x_22); +lean_dec(x_12); +x_24 = l_Lean_Syntax_getArgs(x_23); +lean_dec(x_23); +x_25 = l_Array_empty___closed__1; +x_26 = l_Array_appendCore___rarg(x_25, x_24); +lean_dec(x_24); +x_27 = l_Lean_nullKind___closed__2; +x_28 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_28, 0, x_27); +lean_ctor_set(x_28, 1, x_26); +x_29 = l_Lean_PrettyPrinter_Delaborator_delabListToArray___lambda__1___closed__2; +x_30 = lean_array_push(x_29, x_28); +x_31 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3420____closed__10; +x_32 = lean_array_push(x_30, x_31); +x_33 = l___kind_term____x40_Init_Data_Array_Basic___hyg_3373____closed__7; +x_34 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_34, 0, x_33); +lean_ctor_set(x_34, 1, x_32); +lean_ctor_set(x_10, 0, x_34); +return x_10; +} +} +} +else +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; +x_35 = lean_ctor_get(x_10, 0); +x_36 = lean_ctor_get(x_10, 1); +lean_inc(x_36); +lean_inc(x_35); +lean_dec(x_10); +x_37 = l___kind_term____x40_Init_Notation___hyg_6289____closed__1; +lean_inc(x_35); +x_38 = l_Lean_Syntax_isOfKind(x_35, x_37); +if (x_38 == 0) +{ +lean_object* x_39; +lean_dec(x_35); +x_39 = l_Lean_PrettyPrinter_Delaborator_failure___rarg(x_36); +return x_39; +} +else +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; uint8_t x_43; +x_40 = l_Lean_Syntax_getArgs(x_35); +x_41 = lean_array_get_size(x_40); +lean_dec(x_40); +x_42 = lean_unsigned_to_nat(3u); +x_43 = lean_nat_dec_eq(x_41, x_42); +lean_dec(x_41); +if (x_43 == 0) +{ +lean_object* x_44; +lean_dec(x_35); +x_44 = l_Lean_PrettyPrinter_Delaborator_failure___rarg(x_36); +return x_44; +} +else +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; +x_45 = lean_unsigned_to_nat(1u); +x_46 = l_Lean_Syntax_getArg(x_35, x_45); +lean_dec(x_35); +x_47 = l_Lean_Syntax_getArgs(x_46); +lean_dec(x_46); +x_48 = l_Array_empty___closed__1; +x_49 = l_Array_appendCore___rarg(x_48, x_47); +lean_dec(x_47); +x_50 = l_Lean_nullKind___closed__2; +x_51 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_51, 0, x_50); +lean_ctor_set(x_51, 1, x_49); +x_52 = l_Lean_PrettyPrinter_Delaborator_delabListToArray___lambda__1___closed__2; +x_53 = lean_array_push(x_52, x_51); +x_54 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3420____closed__10; +x_55 = lean_array_push(x_53, x_54); +x_56 = l___kind_term____x40_Init_Data_Array_Basic___hyg_3373____closed__7; +x_57 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_57, 0, x_56); +lean_ctor_set(x_57, 1, x_55); +x_58 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_58, 0, x_57); +lean_ctor_set(x_58, 1, x_36); +return x_58; +} +} +} +} +else +{ +uint8_t x_59; +x_59 = !lean_is_exclusive(x_10); +if (x_59 == 0) +{ +return x_10; +} +else +{ +lean_object* x_60; lean_object* x_61; lean_object* x_62; +x_60 = lean_ctor_get(x_10, 0); +x_61 = lean_ctor_get(x_10, 1); +lean_inc(x_61); +lean_inc(x_60); +lean_dec(x_10); +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; +} +} +} +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabListToArray___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabListToArray___lambda__1___boxed), 7, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabListToArray___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_PrettyPrinter_Delaborator_delabAppExplicit___closed__1; +x_2 = l_Lean_PrettyPrinter_Delaborator_delabListToArray___closed__1; +x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_PrettyPrinter_Delaborator_delabAppExplicit___spec__2___rarg), 8, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabListToArray(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = l_Lean_PrettyPrinter_Delaborator_delabAppMatch___closed__7; +x_8 = l_Lean_PrettyPrinter_Delaborator_delabListToArray___closed__2; +x_9 = l_Lean_PrettyPrinter_Delaborator_whenPPOption(x_7, x_8, x_1, x_2, x_3, x_4, x_5, x_6); +return x_9; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabListToArray___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l_Lean_PrettyPrinter_Delaborator_delabListToArray___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_1); +return x_8; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabListToArray___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabCons___closed__1; +x_2 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3420____closed__4; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabListToArray___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabListToArray), 6, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabListToArray(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_Delaborator_delabAttribute; +x_3 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabListToArray___closed__1; +x_4 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabListToArray___closed__2; +x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); +return x_5; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabNamedPattern___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_myMacro____x40_Init_Notation___hyg_38____closed__6; +x_2 = l_Lean_Meta_Match_Pattern_toExpr_visit___closed__3; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabNamedPattern(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_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; uint8_t x_61; +x_55 = l_Lean_PrettyPrinter_Delaborator_getExpr(x_1, x_2, x_3, x_4, x_5, x_6); +x_56 = lean_ctor_get(x_55, 0); +lean_inc(x_56); +x_57 = lean_ctor_get(x_55, 1); +lean_inc(x_57); +lean_dec(x_55); +x_58 = lean_unsigned_to_nat(0u); +x_59 = l_Lean_Expr_getAppNumArgsAux(x_56, x_58); +lean_dec(x_56); +x_60 = lean_unsigned_to_nat(3u); +x_61 = lean_nat_dec_eq(x_59, x_60); +lean_dec(x_59); +if (x_61 == 0) +{ +lean_object* x_62; uint8_t x_63; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_62 = l_Lean_PrettyPrinter_Delaborator_failure___rarg(x_57); +x_63 = !lean_is_exclusive(x_62); +if (x_63 == 0) +{ +return x_62; +} +else +{ +lean_object* x_64; lean_object* x_65; lean_object* x_66; +x_64 = lean_ctor_get(x_62, 0); +x_65 = lean_ctor_get(x_62, 1); +lean_inc(x_65); +lean_inc(x_64); +lean_dec(x_62); +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; +} +} +else +{ +x_7 = x_57; +goto block_54; +} +block_54: +{ +lean_object* x_8; lean_object* x_9; +x_8 = l_Lean_PrettyPrinter_Delaborator_delabTuple___lambda__1___closed__1; +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_1); +x_9 = l_Lean_PrettyPrinter_Delaborator_withAppFn___rarg(x_8, x_1, x_2, x_3, x_4, x_5, x_7); +if (lean_obj_tag(x_9) == 0) +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_9, 1); +lean_inc(x_11); +lean_dec(x_9); +x_12 = l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__2___closed__1; +x_13 = l_Lean_PrettyPrinter_Delaborator_withAppArg___rarg(x_12, x_1, x_2, x_3, x_4, x_5, x_11); +if (lean_obj_tag(x_13) == 0) +{ +uint8_t x_14; +x_14 = !lean_is_exclusive(x_13); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; uint8_t x_17; +x_15 = lean_ctor_get(x_13, 0); +x_16 = lean_ctor_get(x_13, 1); +x_17 = l_Lean_Syntax_isIdent(x_10); +if (x_17 == 0) +{ +lean_object* x_18; uint8_t x_19; +lean_free_object(x_13); +lean_dec(x_15); +lean_dec(x_10); +x_18 = l_Lean_PrettyPrinter_Delaborator_failure___rarg(x_16); +x_19 = !lean_is_exclusive(x_18); +if (x_19 == 0) +{ +return x_18; +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_ctor_get(x_18, 0); +x_21 = lean_ctor_get(x_18, 1); +lean_inc(x_21); +lean_inc(x_20); +lean_dec(x_18); +x_22 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_22, 0, x_20); +lean_ctor_set(x_22, 1, x_21); +return x_22; +} +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_23 = l_Array_empty___closed__1; +x_24 = lean_array_push(x_23, x_10); +x_25 = l_Lean_PrettyPrinter_Delaborator_delabAppExplicit___lambda__2___closed__2; +x_26 = lean_array_push(x_24, x_25); +x_27 = lean_array_push(x_26, x_15); +x_28 = l_Lean_PrettyPrinter_Delaborator_delabNamedPattern___closed__1; +x_29 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_29, 0, x_28); +lean_ctor_set(x_29, 1, x_27); +lean_ctor_set(x_13, 0, x_29); +return x_13; +} +} +else +{ +lean_object* x_30; lean_object* x_31; uint8_t x_32; +x_30 = lean_ctor_get(x_13, 0); +x_31 = lean_ctor_get(x_13, 1); +lean_inc(x_31); +lean_inc(x_30); +lean_dec(x_13); +x_32 = l_Lean_Syntax_isIdent(x_10); +if (x_32 == 0) +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; +lean_dec(x_30); +lean_dec(x_10); +x_33 = l_Lean_PrettyPrinter_Delaborator_failure___rarg(x_31); +x_34 = lean_ctor_get(x_33, 0); +lean_inc(x_34); +x_35 = lean_ctor_get(x_33, 1); +lean_inc(x_35); +if (lean_is_exclusive(x_33)) { + lean_ctor_release(x_33, 0); + lean_ctor_release(x_33, 1); + x_36 = x_33; +} else { + lean_dec_ref(x_33); + x_36 = lean_box(0); +} +if (lean_is_scalar(x_36)) { + x_37 = lean_alloc_ctor(1, 2, 0); +} else { + x_37 = x_36; +} +lean_ctor_set(x_37, 0, x_34); +lean_ctor_set(x_37, 1, x_35); +return x_37; +} +else +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_38 = l_Array_empty___closed__1; +x_39 = lean_array_push(x_38, x_10); +x_40 = l_Lean_PrettyPrinter_Delaborator_delabAppExplicit___lambda__2___closed__2; +x_41 = lean_array_push(x_39, x_40); +x_42 = lean_array_push(x_41, x_30); +x_43 = l_Lean_PrettyPrinter_Delaborator_delabNamedPattern___closed__1; +x_44 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_44, 0, x_43); +lean_ctor_set(x_44, 1, x_42); +x_45 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_45, 0, x_44); +lean_ctor_set(x_45, 1, x_31); +return x_45; +} +} +} +else +{ +uint8_t x_46; +lean_dec(x_10); +x_46 = !lean_is_exclusive(x_13); +if (x_46 == 0) +{ +return x_13; +} +else +{ +lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_47 = lean_ctor_get(x_13, 0); +x_48 = lean_ctor_get(x_13, 1); +lean_inc(x_48); +lean_inc(x_47); +lean_dec(x_13); +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; +} +} +} +else +{ +uint8_t x_50; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_50 = !lean_is_exclusive(x_9); +if (x_50 == 0) +{ +return x_9; +} +else +{ +lean_object* x_51; lean_object* x_52; lean_object* x_53; +x_51 = lean_ctor_get(x_9, 0); +x_52 = lean_ctor_get(x_9, 1); +lean_inc(x_52); +lean_inc(x_51); +lean_dec(x_9); +x_53 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_53, 0, x_51); +lean_ctor_set(x_53, 1, x_52); +return x_53; +} +} +} +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabNamedPattern___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__5; +x_2 = l_Lean_Meta_Match_Pattern_toExpr_visit___closed__3; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabNamedPattern___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabNamedPattern), 6, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabNamedPattern(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_Delaborator_delabAttribute; +x_3 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabNamedPattern___closed__1; +x_4 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabNamedPattern___closed__2; +x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); +return x_5; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabDoElems_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 6) +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; uint64_t x_7; lean_object* x_8; lean_object* x_9; +lean_dec(x_3); +x_4 = lean_ctor_get(x_1, 0); +lean_inc(x_4); +x_5 = lean_ctor_get(x_1, 1); +lean_inc(x_5); +x_6 = lean_ctor_get(x_1, 2); +lean_inc(x_6); +x_7 = lean_ctor_get_uint64(x_1, sizeof(void*)*3); +lean_dec(x_1); +x_8 = lean_box_uint64(x_7); +x_9 = lean_apply_4(x_2, x_4, x_5, x_6, x_8); +return x_9; +} +else +{ +lean_object* x_10; +lean_dec(x_2); +x_10 = lean_apply_1(x_3, x_1); +return x_10; +} +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabDoElems_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabDoElems_match__1___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabDoElems_match__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 8) +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; uint64_t x_8; lean_object* x_9; lean_object* x_10; +lean_dec(x_3); +x_4 = lean_ctor_get(x_1, 0); +lean_inc(x_4); +x_5 = lean_ctor_get(x_1, 1); +lean_inc(x_5); +x_6 = lean_ctor_get(x_1, 2); +lean_inc(x_6); +x_7 = lean_ctor_get(x_1, 3); +lean_inc(x_7); +x_8 = lean_ctor_get_uint64(x_1, sizeof(void*)*4); +lean_dec(x_1); +x_9 = lean_box_uint64(x_8); +x_10 = lean_apply_5(x_2, x_4, x_5, x_6, x_7, x_9); +return x_10; +} +else +{ +lean_object* x_11; +lean_dec(x_2); +x_11 = lean_apply_1(x_3, x_1); +return x_11; +} +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabDoElems_match__2(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabDoElems_match__2___rarg), 3, 0); +return x_2; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabDoElems_delabAndRet___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("doExpr"); +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabDoElems_delabAndRet___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_myMacro____x40_Init_Notation___hyg_38____closed__6; +x_2 = l_Lean_PrettyPrinter_Delaborator_delabDoElems_delabAndRet___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabDoElems_delabAndRet(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; +x_7 = l_Lean_PrettyPrinter_Delaborator_delab(x_1, x_2, x_3, x_4, x_5, x_6); +if (lean_obj_tag(x_7) == 0) +{ +uint8_t x_8; +x_8 = !lean_is_exclusive(x_7); +if (x_8 == 0) +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_9 = lean_ctor_get(x_7, 0); +x_10 = l_Array_empty___closed__1; +x_11 = lean_array_push(x_10, x_9); +x_12 = l_Lean_PrettyPrinter_Delaborator_delabDoElems_delabAndRet___closed__2; +x_13 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_13, 1, x_11); +x_14 = lean_box(0); +x_15 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_15, 0, x_13); +lean_ctor_set(x_15, 1, x_14); +lean_ctor_set(x_7, 0, x_15); +return x_7; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_16 = lean_ctor_get(x_7, 0); +x_17 = lean_ctor_get(x_7, 1); +lean_inc(x_17); +lean_inc(x_16); +lean_dec(x_7); +x_18 = l_Array_empty___closed__1; +x_19 = lean_array_push(x_18, x_16); +x_20 = l_Lean_PrettyPrinter_Delaborator_delabDoElems_delabAndRet___closed__2; +x_21 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_21, 0, x_20); +lean_ctor_set(x_21, 1, x_19); +x_22 = lean_box(0); +x_23 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_23, 0, x_21); +lean_ctor_set(x_23, 1, x_22); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_24, 1, x_17); +return x_24; +} +} +else +{ +uint8_t x_25; +x_25 = !lean_is_exclusive(x_7); +if (x_25 == 0) +{ +return x_7; +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = lean_ctor_get(x_7, 0); +x_27 = lean_ctor_get(x_7, 1); +lean_inc(x_27); +lean_inc(x_26); +lean_dec(x_7); +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; +} +} +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabDoElems_prependAndRec(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +x_8 = lean_apply_6(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_9 = lean_ctor_get(x_8, 0); +lean_inc(x_9); +x_10 = lean_ctor_get(x_8, 1); +lean_inc(x_10); +lean_dec(x_8); +x_11 = l_Lean_PrettyPrinter_Delaborator_delabDoElems(x_2, x_3, x_4, x_5, x_6, x_10); +if (lean_obj_tag(x_11) == 0) +{ +uint8_t x_12; +x_12 = !lean_is_exclusive(x_11); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; +x_13 = lean_ctor_get(x_11, 0); +x_14 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_14, 0, x_9); +lean_ctor_set(x_14, 1, x_13); +lean_ctor_set(x_11, 0, x_14); +return x_11; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_15 = lean_ctor_get(x_11, 0); +x_16 = lean_ctor_get(x_11, 1); +lean_inc(x_16); +lean_inc(x_15); +lean_dec(x_11); +x_17 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_17, 0, x_9); +lean_ctor_set(x_17, 1, x_15); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_16); +return x_18; +} +} +else +{ +uint8_t x_19; +lean_dec(x_9); +x_19 = !lean_is_exclusive(x_11); +if (x_19 == 0) +{ +return x_11; +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_ctor_get(x_11, 0); +x_21 = lean_ctor_get(x_11, 1); +lean_inc(x_21); +lean_inc(x_20); +lean_dec(x_11); +x_22 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_22, 0, x_20); +lean_ctor_set(x_22, 1, x_21); +return x_22; +} +} +} +else +{ +uint8_t x_23; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_23 = !lean_is_exclusive(x_8); +if (x_23 == 0) +{ +return x_8; +} +else +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_24 = lean_ctor_get(x_8, 0); +x_25 = lean_ctor_get(x_8, 1); +lean_inc(x_25); +lean_inc(x_24); +lean_dec(x_8); +x_26 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_26, 0, x_24); +lean_ctor_set(x_26, 1, x_25); +return x_26; +} +} +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabDoElems___lambda__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("doLet"); +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabDoElems___lambda__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_myMacro____x40_Init_Notation___hyg_38____closed__6; +x_2 = l_Lean_PrettyPrinter_Delaborator_delabDoElems___lambda__1___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabDoElems___lambda__1___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_myMacro____x40_Init_Notation___hyg_8830____closed__4; +x_2 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabDoElems___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; 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; +x_11 = lean_mk_syntax_ident(x_1); +x_12 = l_Array_empty___closed__1; +x_13 = lean_array_push(x_12, x_11); +x_14 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; +x_15 = lean_array_push(x_13, x_14); +x_16 = l_myMacro____x40_Init_Notation___hyg_8168____closed__11; +x_17 = lean_array_push(x_16, x_2); +x_18 = l_Lean_expandExplicitBindersAux_loop___closed__8; +x_19 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_17); +x_20 = lean_array_push(x_12, x_19); +x_21 = l_Lean_nullKind___closed__2; +x_22 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_20); +x_23 = lean_array_push(x_15, x_22); +x_24 = l_myMacro____x40_Init_Notation___hyg_8830____closed__14; +x_25 = lean_array_push(x_23, x_24); +x_26 = lean_array_push(x_25, x_3); +x_27 = l_myMacro____x40_Init_Notation___hyg_8830____closed__8; +x_28 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_28, 0, x_27); +lean_ctor_set(x_28, 1, x_26); +x_29 = lean_array_push(x_12, x_28); +x_30 = l_myMacro____x40_Init_Notation___hyg_8830____closed__6; +x_31 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_31, 0, x_30); +lean_ctor_set(x_31, 1, x_29); +x_32 = l_Lean_PrettyPrinter_Delaborator_delabDoElems___lambda__1___closed__3; +x_33 = lean_array_push(x_32, x_31); +x_34 = l_Lean_PrettyPrinter_Delaborator_delabDoElems___lambda__1___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_alloc_ctor(0, 2, 0); +lean_ctor_set(x_36, 0, x_35); +lean_ctor_set(x_36, 1, x_10); +return x_36; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabDoElems___lambda__2___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(0u); +x_2 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_PrettyPrinter_Delaborator_instMonadQuotationDelabM___spec__1___rarg___boxed), 7, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabDoElems___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_12 = lean_expr_instantiate1(x_1, x_5); +x_13 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabDoElems___lambda__1___boxed), 10, 3); +lean_closure_set(x_13, 0, x_2); +lean_closure_set(x_13, 1, x_3); +lean_closure_set(x_13, 2, x_4); +x_14 = l_Lean_PrettyPrinter_Delaborator_delabDoElems___lambda__2___closed__1; +x_15 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_PrettyPrinter_Delaborator_delabAppExplicit___spec__2___rarg), 8, 2); +lean_closure_set(x_15, 0, x_14); +lean_closure_set(x_15, 1, x_13); +x_16 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabDoElems_prependAndRec), 7, 1); +lean_closure_set(x_16, 0, x_15); +x_17 = lean_unsigned_to_nat(2u); +x_18 = l_Lean_PrettyPrinter_Delaborator_descend___rarg(x_12, x_17, x_16, x_6, x_7, x_8, x_9, x_10, x_11); +return x_18; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabDoElems___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_9 = l_Array_empty___closed__1; +x_10 = lean_array_push(x_9, x_1); +x_11 = l_Lean_PrettyPrinter_Delaborator_delabDoElems_delabAndRet___closed__2; +x_12 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_12, 0, x_11); +lean_ctor_set(x_12, 1, 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_8); +return x_13; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabDoElems___lambda__4___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("doLetArrow"); +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabDoElems___lambda__4___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_myMacro____x40_Init_Notation___hyg_38____closed__6; +x_2 = l_Lean_PrettyPrinter_Delaborator_delabDoElems___lambda__4___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabDoElems___lambda__4___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("doPatDecl"); +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabDoElems___lambda__4___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_myMacro____x40_Init_Notation___hyg_38____closed__6; +x_2 = l_Lean_PrettyPrinter_Delaborator_delabDoElems___lambda__4___closed__3; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabDoElems___lambda__4___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_instInhabitedSourceInfo___closed__1; +x_2 = l_Lean_Parser_Tactic_rwRule___closed__3; +x_3 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabDoElems___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_10 = l_Array_empty___closed__1; +x_11 = lean_array_push(x_10, x_1); +x_12 = l_Lean_PrettyPrinter_Delaborator_delabDoElems___lambda__4___closed__5; +x_13 = lean_array_push(x_11, x_12); +x_14 = lean_array_push(x_13, x_2); +x_15 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; +x_16 = lean_array_push(x_14, x_15); +x_17 = l_Lean_PrettyPrinter_Delaborator_delabDoElems___lambda__4___closed__4; +x_18 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_16); +x_19 = l_Lean_PrettyPrinter_Delaborator_delabDoElems___lambda__1___closed__3; +x_20 = lean_array_push(x_19, x_18); +x_21 = l_Lean_PrettyPrinter_Delaborator_delabDoElems___lambda__4___closed__2; +x_22 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_20); +x_23 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_23, 0, x_22); +lean_ctor_set(x_23, 1, x_9); +return x_23; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabDoElems___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +uint8_t x_10; +x_10 = l_Lean_Expr_hasLooseBVars(x_1); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +lean_dec(x_3); +x_11 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabDoElems___lambda__3___boxed), 8, 1); +lean_closure_set(x_11, 0, x_2); +x_12 = l_Lean_PrettyPrinter_Delaborator_delabDoElems___lambda__2___closed__1; +x_13 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_PrettyPrinter_Delaborator_delabAppExplicit___spec__2___rarg), 8, 2); +lean_closure_set(x_13, 0, x_12); +lean_closure_set(x_13, 1, x_11); +x_14 = l_Lean_PrettyPrinter_Delaborator_delabDoElems_prependAndRec(x_13, x_4, x_5, x_6, x_7, x_8, x_9); +return x_14; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_15 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabDoElems___lambda__4___boxed), 9, 2); +lean_closure_set(x_15, 0, x_3); +lean_closure_set(x_15, 1, x_2); +x_16 = l_Lean_PrettyPrinter_Delaborator_delabDoElems___lambda__2___closed__1; +x_17 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_PrettyPrinter_Delaborator_delabAppExplicit___spec__2___rarg), 8, 2); +lean_closure_set(x_17, 0, x_16); +lean_closure_set(x_17, 1, x_15); +x_18 = l_Lean_PrettyPrinter_Delaborator_delabDoElems_prependAndRec(x_17, x_4, x_5, x_6, x_7, x_8, x_9); +return x_18; +} +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabDoElems___lambda__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +if (lean_obj_tag(x_2) == 6) +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_9 = lean_ctor_get(x_2, 2); +lean_inc(x_9); +lean_dec(x_2); +x_10 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabDoElems___lambda__5___boxed), 9, 2); +lean_closure_set(x_10, 0, x_9); +lean_closure_set(x_10, 1, x_1); +x_11 = l_Lean_PrettyPrinter_Delaborator_withBindingBodyUnusedName___rarg(x_10, x_3, x_4, x_5, x_6, x_7, x_8); +return x_11; +} +else +{ +lean_object* x_12; +lean_dec(x_2); +lean_dec(x_1); +x_12 = l_Lean_PrettyPrinter_Delaborator_delabDoElems_delabAndRet(x_3, x_4, x_5, x_6, x_7, x_8); +return x_12; +} +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabDoElems___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Lean.PrettyPrinter.Delaborator.delabDoElems"); +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabDoElems___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_1 = l_Lean_PrettyPrinter_Delaborator_delabFVar___closed__1; +x_2 = l_Lean_PrettyPrinter_Delaborator_delabDoElems___closed__1; +x_3 = lean_unsigned_to_nat(583u); +x_4 = lean_unsigned_to_nat(40u); +x_5 = l_Lean_Syntax_strLitToAtom___closed__3; +x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); +return x_6; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabDoElems(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; +x_7 = l_Lean_PrettyPrinter_Delaborator_getExpr(x_1, x_2, x_3, x_4, x_5, x_6); +x_8 = lean_ctor_get(x_7, 0); +lean_inc(x_8); +x_9 = lean_ctor_get(x_7, 1); +lean_inc(x_9); +lean_dec(x_7); +x_10 = l_myMacro____x40_Init_Notation___hyg_4868____closed__7; +x_11 = lean_unsigned_to_nat(6u); +x_12 = l_Lean_Expr_isAppOfArity(x_8, x_10, x_11); +if (x_12 == 0) +{ +uint8_t x_13; +x_13 = l_Lean_Expr_isLet(x_8); +lean_dec(x_8); +if (x_13 == 0) +{ +lean_object* x_14; +x_14 = l_Lean_PrettyPrinter_Delaborator_delabDoElems_delabAndRet(x_1, x_2, x_3, x_4, x_5, x_9); +return x_14; +} +else +{ +lean_object* x_15; lean_object* x_16; +x_15 = l_Lean_PrettyPrinter_Delaborator_getExpr(x_1, x_2, x_3, x_4, x_5, x_9); +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +if (lean_obj_tag(x_16) == 8) +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_17 = lean_ctor_get(x_15, 1); +lean_inc(x_17); +lean_dec(x_15); +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_16, 2); +lean_inc(x_20); +x_21 = lean_ctor_get(x_16, 3); +lean_inc(x_21); +lean_dec(x_16); +lean_inc(x_2); +x_22 = l_Lean_PrettyPrinter_Delaborator_getUnusedName(x_18, x_1, x_2, x_3, x_4, x_5, x_17); +x_23 = lean_ctor_get(x_22, 0); +lean_inc(x_23); +x_24 = lean_ctor_get(x_22, 1); +lean_inc(x_24); +lean_dec(x_22); +x_25 = lean_unsigned_to_nat(0u); +x_26 = l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__2___closed__1; +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_1); +lean_inc(x_19); +x_27 = l_Lean_PrettyPrinter_Delaborator_descend___rarg(x_19, x_25, x_26, x_1, x_2, x_3, x_4, x_5, x_24); +if (lean_obj_tag(x_27) == 0) +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_28 = lean_ctor_get(x_27, 0); +lean_inc(x_28); +x_29 = lean_ctor_get(x_27, 1); +lean_inc(x_29); +lean_dec(x_27); +x_30 = lean_unsigned_to_nat(1u); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_1); +lean_inc(x_20); +x_31 = l_Lean_PrettyPrinter_Delaborator_descend___rarg(x_20, x_30, x_26, x_1, x_2, x_3, x_4, x_5, x_29); +if (lean_obj_tag(x_31) == 0) +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_32 = lean_ctor_get(x_31, 0); +lean_inc(x_32); +x_33 = lean_ctor_get(x_31, 1); +lean_inc(x_33); +lean_dec(x_31); +lean_inc(x_23); +x_34 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabDoElems___lambda__2___boxed), 11, 4); +lean_closure_set(x_34, 0, x_21); +lean_closure_set(x_34, 1, x_23); +lean_closure_set(x_34, 2, x_28); +lean_closure_set(x_34, 3, x_32); +x_35 = l_Lean_Meta_withLetDecl___at_Lean_PrettyPrinter_Delaborator_delabLetE___spec__1___rarg(x_23, x_19, x_20, x_34, x_1, x_2, x_3, x_4, x_5, x_33); +return x_35; +} +else +{ +uint8_t x_36; +lean_dec(x_28); +lean_dec(x_23); +lean_dec(x_21); +lean_dec(x_20); +lean_dec(x_19); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_36 = !lean_is_exclusive(x_31); +if (x_36 == 0) +{ +return x_31; +} +else +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_37 = lean_ctor_get(x_31, 0); +x_38 = lean_ctor_get(x_31, 1); +lean_inc(x_38); +lean_inc(x_37); +lean_dec(x_31); +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; +} +} +} +else +{ +uint8_t x_40; +lean_dec(x_23); +lean_dec(x_21); +lean_dec(x_20); +lean_dec(x_19); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_40 = !lean_is_exclusive(x_27); +if (x_40 == 0) +{ +return x_27; +} +else +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_41 = lean_ctor_get(x_27, 0); +x_42 = lean_ctor_get(x_27, 1); +lean_inc(x_42); +lean_inc(x_41); +lean_dec(x_27); +x_43 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_43, 0, x_41); +lean_ctor_set(x_43, 1, x_42); +return x_43; +} +} +} +else +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; +lean_dec(x_16); +x_44 = lean_ctor_get(x_15, 1); +lean_inc(x_44); +lean_dec(x_15); +x_45 = l_Lean_PrettyPrinter_Delaborator_withAppFn___rarg___closed__1; +x_46 = l_Lean_PrettyPrinter_Delaborator_delabDoElems___closed__2; +x_47 = lean_panic_fn(x_45, x_46); +x_48 = lean_apply_6(x_47, x_1, x_2, x_3, x_4, x_5, x_44); +return x_48; +} +} +} +else +{ +lean_object* x_49; lean_object* x_50; +lean_dec(x_8); +x_49 = l_Lean_PrettyPrinter_Delaborator_delabTuple___lambda__1___closed__1; +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_1); +x_50 = l_Lean_PrettyPrinter_Delaborator_withAppFn___rarg(x_49, x_1, x_2, x_3, x_4, x_5, x_9); +if (lean_obj_tag(x_50) == 0) +{ +lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; +x_51 = lean_ctor_get(x_50, 0); +lean_inc(x_51); +x_52 = lean_ctor_get(x_50, 1); +lean_inc(x_52); +lean_dec(x_50); +x_53 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabDoElems___lambda__6), 8, 1); +lean_closure_set(x_53, 0, x_51); +x_54 = l_Lean_PrettyPrinter_Delaborator_delabAppExplicit___closed__1; +x_55 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_PrettyPrinter_Delaborator_delabAppExplicit___spec__2___rarg), 8, 2); +lean_closure_set(x_55, 0, x_54); +lean_closure_set(x_55, 1, x_53); +x_56 = l_Lean_PrettyPrinter_Delaborator_withAppArg___rarg(x_55, x_1, x_2, x_3, x_4, x_5, x_52); +return x_56; +} +else +{ +uint8_t x_57; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_57 = !lean_is_exclusive(x_50); +if (x_57 == 0) +{ +return x_50; +} +else +{ +lean_object* x_58; lean_object* x_59; lean_object* x_60; +x_58 = lean_ctor_get(x_50, 0); +x_59 = lean_ctor_get(x_50, 1); +lean_inc(x_59); +lean_inc(x_58); +lean_dec(x_50); +x_60 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_60, 0, x_58); +lean_ctor_set(x_60, 1, x_59); +return x_60; +} +} +} +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabDoElems___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_PrettyPrinter_Delaborator_delabDoElems___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +return x_11; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabDoElems___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +x_12 = l_Lean_PrettyPrinter_Delaborator_delabDoElems___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_5); +lean_dec(x_1); +return x_12; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabDoElems___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_PrettyPrinter_Delaborator_delabDoElems___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_9; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabDoElems___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_PrettyPrinter_Delaborator_delabDoElems___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_10; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabDoElems___lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_PrettyPrinter_Delaborator_delabDoElems___lambda__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_1); +return x_10; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_delabDo___spec__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("doSeqItem"); +return x_1; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_delabDo___spec__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_myMacro____x40_Init_Notation___hyg_38____closed__6; +x_2 = l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_delabDo___spec__1___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +lean_object* l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_delabDo___spec__1(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; +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; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; size_t x_16; size_t x_17; lean_object* x_18; lean_object* x_19; +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_Lean_Syntax_mkApp___closed__1; +x_11 = lean_array_push(x_10, x_9); +x_12 = l_Lean_mkOptionalNode___closed__1; +x_13 = lean_array_push(x_11, x_12); +x_14 = l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_delabDo___spec__1___closed__2; +x_15 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_13); +x_16 = 1; +x_17 = x_2 + x_16; +x_18 = x_15; +x_19 = lean_array_uset(x_8, x_2, x_18); +x_2 = x_17; +x_3 = x_19; +goto _start; +} +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabDo___lambda__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("do"); +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabDo___lambda__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_myMacro____x40_Init_Notation___hyg_38____closed__6; +x_2 = l_Lean_PrettyPrinter_Delaborator_delabDo___lambda__1___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabDo___lambda__1___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_instInhabitedSourceInfo___closed__1; +x_2 = l_Lean_PrettyPrinter_Delaborator_delabDo___lambda__1___closed__1; +x_3 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabDo___lambda__1___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Array_empty___closed__1; +x_2 = l_Lean_PrettyPrinter_Delaborator_delabDo___lambda__1___closed__3; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabDo___lambda__1___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("doSeqIndent"); +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabDo___lambda__1___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_myMacro____x40_Init_Notation___hyg_38____closed__6; +x_2 = l_Lean_PrettyPrinter_Delaborator_delabDo___lambda__1___closed__5; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabDo___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l_Lean_PrettyPrinter_Delaborator_delabDoElems(x_2, x_3, x_4, x_5, x_6, x_7); +if (lean_obj_tag(x_8) == 0) +{ +uint8_t x_9; +x_9 = !lean_is_exclusive(x_8); +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; size_t x_15; size_t x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_10 = lean_ctor_get(x_8, 0); +x_11 = l_List_redLength___rarg(x_10); +x_12 = lean_mk_empty_array_with_capacity(x_11); +lean_dec(x_11); +x_13 = l_List_toArrayAux___rarg(x_10, x_12); +x_14 = lean_array_get_size(x_13); +x_15 = lean_usize_of_nat(x_14); +lean_dec(x_14); +x_16 = 0; +x_17 = x_13; +x_18 = l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_delabDo___spec__1(x_15, x_16, x_17); +x_19 = x_18; +x_20 = l_Array_empty___closed__1; +x_21 = l_Array_appendCore___rarg(x_20, x_19); +lean_dec(x_19); +x_22 = l_Lean_nullKind___closed__2; +x_23 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_23, 0, x_22); +lean_ctor_set(x_23, 1, x_21); +x_24 = lean_array_push(x_20, x_23); +x_25 = l_Lean_PrettyPrinter_Delaborator_delabDo___lambda__1___closed__6; +x_26 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_26, 1, x_24); +x_27 = l_Lean_PrettyPrinter_Delaborator_delabDo___lambda__1___closed__4; +x_28 = lean_array_push(x_27, x_26); +x_29 = l_Lean_PrettyPrinter_Delaborator_delabDo___lambda__1___closed__2; +x_30 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_30, 0, x_29); +lean_ctor_set(x_30, 1, x_28); +lean_ctor_set(x_8, 0, x_30); +return x_8; +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; size_t x_37; size_t x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; +x_31 = lean_ctor_get(x_8, 0); +x_32 = lean_ctor_get(x_8, 1); +lean_inc(x_32); +lean_inc(x_31); +lean_dec(x_8); +x_33 = l_List_redLength___rarg(x_31); +x_34 = lean_mk_empty_array_with_capacity(x_33); +lean_dec(x_33); +x_35 = l_List_toArrayAux___rarg(x_31, x_34); +x_36 = lean_array_get_size(x_35); +x_37 = lean_usize_of_nat(x_36); +lean_dec(x_36); +x_38 = 0; +x_39 = x_35; +x_40 = l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_delabDo___spec__1(x_37, x_38, x_39); +x_41 = x_40; +x_42 = l_Array_empty___closed__1; +x_43 = l_Array_appendCore___rarg(x_42, x_41); +lean_dec(x_41); +x_44 = l_Lean_nullKind___closed__2; +x_45 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_45, 0, x_44); +lean_ctor_set(x_45, 1, x_43); +x_46 = lean_array_push(x_42, x_45); +x_47 = l_Lean_PrettyPrinter_Delaborator_delabDo___lambda__1___closed__6; +x_48 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_48, 0, x_47); +lean_ctor_set(x_48, 1, x_46); +x_49 = l_Lean_PrettyPrinter_Delaborator_delabDo___lambda__1___closed__4; +x_50 = lean_array_push(x_49, x_48); +x_51 = l_Lean_PrettyPrinter_Delaborator_delabDo___lambda__1___closed__2; +x_52 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_52, 0, x_51); +lean_ctor_set(x_52, 1, x_50); +x_53 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_53, 0, x_52); +lean_ctor_set(x_53, 1, x_32); +return x_53; +} +} +else +{ +uint8_t x_54; +x_54 = !lean_is_exclusive(x_8); +if (x_54 == 0) +{ +return x_8; +} +else +{ +lean_object* x_55; lean_object* x_56; lean_object* x_57; +x_55 = lean_ctor_get(x_8, 0); +x_56 = lean_ctor_get(x_8, 1); +lean_inc(x_56); +lean_inc(x_55); +lean_dec(x_8); +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; +} +} +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabDo___lambda__2___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabDo___lambda__1___boxed), 7, 0); +return x_1; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabDo___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; +x_8 = l_Lean_PrettyPrinter_Delaborator_delabDo___lambda__2___closed__1; +x_9 = l_myMacro____x40_Init_Notation___hyg_4868____closed__7; +x_10 = lean_unsigned_to_nat(6u); +x_11 = l_Lean_Expr_isAppOfArity(x_1, x_9, x_10); +if (x_11 == 0) +{ +lean_object* x_12; uint8_t x_13; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_12 = l_Lean_PrettyPrinter_Delaborator_failure___rarg(x_7); +x_13 = !lean_is_exclusive(x_12); +if (x_13 == 0) +{ +return x_12; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_14 = lean_ctor_get(x_12, 0); +x_15 = lean_ctor_get(x_12, 1); +lean_inc(x_15); +lean_inc(x_14); +lean_dec(x_12); +x_16 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_16, 0, x_14); +lean_ctor_set(x_16, 1, x_15); +return x_16; +} +} +else +{ +lean_object* x_17; lean_object* x_18; +x_17 = lean_box(0); +x_18 = lean_apply_7(x_8, x_17, x_2, x_3, x_4, x_5, x_6, x_7); +return x_18; +} +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabDo___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabDo___lambda__2___boxed), 7, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabDo___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_PrettyPrinter_Delaborator_delabAppExplicit___closed__1; +x_2 = l_Lean_PrettyPrinter_Delaborator_delabDo___closed__1; +x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_PrettyPrinter_Delaborator_delabAppExplicit___spec__2___rarg), 8, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabDo(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = l_Lean_PrettyPrinter_Delaborator_delabAppMatch___closed__7; +x_8 = l_Lean_PrettyPrinter_Delaborator_delabDo___closed__2; +x_9 = l_Lean_PrettyPrinter_Delaborator_whenPPOption(x_7, x_8, x_1, x_2, x_3, x_4, x_5, x_6); +return x_9; +} +} +lean_object* l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_delabDo___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_Lean_PrettyPrinter_Delaborator_delabDo___spec__1(x_4, x_5, x_3); +return x_6; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabDo___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l_Lean_PrettyPrinter_Delaborator_delabDo___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_1); +return x_8; +} +} +lean_object* l_Lean_PrettyPrinter_Delaborator_delabDo___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l_Lean_PrettyPrinter_Delaborator_delabDo___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_1); +return x_8; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabDo___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabDo), 6, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabDo(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_Delaborator_delabAttribute; +x_3 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabBind___closed__2; +x_4 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabDo___closed__1; +x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); +return x_5; +} +} +lean_object* initialize_Init(lean_object*); +lean_object* initialize_Lean_PrettyPrinter_Delaborator_Basic(lean_object*); +static bool _G_initialized = false; +lean_object* initialize_Lean_PrettyPrinter_Delaborator_Builtins(lean_object* w) { +lean_object * res; +if (_G_initialized) return lean_io_result_mk_ok(lean_box(0)); +_G_initialized = true; +res = initialize_Init(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_PrettyPrinter_Delaborator_Basic(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_PrettyPrinter_Delaborator_delabFVar___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabFVar___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabFVar___closed__1); +l_Lean_PrettyPrinter_Delaborator_delabFVar___closed__2 = _init_l_Lean_PrettyPrinter_Delaborator_delabFVar___closed__2(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabFVar___closed__2); +l_Lean_PrettyPrinter_Delaborator_delabFVar___closed__3 = _init_l_Lean_PrettyPrinter_Delaborator_delabFVar___closed__3(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabFVar___closed__3); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabFVar___closed__1 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabFVar___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabFVar___closed__1); +res = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabFVar(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_PrettyPrinter_Delaborator_delabBVar___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabBVar___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabBVar___closed__1); +l_Lean_PrettyPrinter_Delaborator_delabBVar___closed__2 = _init_l_Lean_PrettyPrinter_Delaborator_delabBVar___closed__2(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabBVar___closed__2); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabBVar___closed__1 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabBVar___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabBVar___closed__1); +res = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabBVar(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_PrettyPrinter_Delaborator_delabMVar___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabMVar___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabMVar___closed__1); +l_Lean_PrettyPrinter_Delaborator_delabMVar___closed__2 = _init_l_Lean_PrettyPrinter_Delaborator_delabMVar___closed__2(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabMVar___closed__2); +l_Lean_PrettyPrinter_Delaborator_delabMVar___closed__3 = _init_l_Lean_PrettyPrinter_Delaborator_delabMVar___closed__3(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabMVar___closed__3); +l_Lean_PrettyPrinter_Delaborator_delabMVar___closed__4 = _init_l_Lean_PrettyPrinter_Delaborator_delabMVar___closed__4(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabMVar___closed__4); +l_Lean_PrettyPrinter_Delaborator_delabMVar___closed__5 = _init_l_Lean_PrettyPrinter_Delaborator_delabMVar___closed__5(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabMVar___closed__5); +l_Lean_PrettyPrinter_Delaborator_delabMVar___closed__6 = _init_l_Lean_PrettyPrinter_Delaborator_delabMVar___closed__6(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabMVar___closed__6); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabMVar___closed__1 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabMVar___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabMVar___closed__1); +res = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabMVar(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_PrettyPrinter_Delaborator_delabSort___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabSort___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabSort___closed__1); +l_Lean_PrettyPrinter_Delaborator_delabSort___closed__2 = _init_l_Lean_PrettyPrinter_Delaborator_delabSort___closed__2(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabSort___closed__2); +l_Lean_PrettyPrinter_Delaborator_delabSort___closed__3 = _init_l_Lean_PrettyPrinter_Delaborator_delabSort___closed__3(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabSort___closed__3); +l_Lean_PrettyPrinter_Delaborator_delabSort___closed__4 = _init_l_Lean_PrettyPrinter_Delaborator_delabSort___closed__4(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabSort___closed__4); +l_Lean_PrettyPrinter_Delaborator_delabSort___closed__5 = _init_l_Lean_PrettyPrinter_Delaborator_delabSort___closed__5(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabSort___closed__5); +l_Lean_PrettyPrinter_Delaborator_delabSort___closed__6 = _init_l_Lean_PrettyPrinter_Delaborator_delabSort___closed__6(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabSort___closed__6); +l_Lean_PrettyPrinter_Delaborator_delabSort___closed__7 = _init_l_Lean_PrettyPrinter_Delaborator_delabSort___closed__7(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabSort___closed__7); +l_Lean_PrettyPrinter_Delaborator_delabSort___closed__8 = _init_l_Lean_PrettyPrinter_Delaborator_delabSort___closed__8(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabSort___closed__8); +l_Lean_PrettyPrinter_Delaborator_delabSort___closed__9 = _init_l_Lean_PrettyPrinter_Delaborator_delabSort___closed__9(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabSort___closed__9); +l_Lean_PrettyPrinter_Delaborator_delabSort___closed__10 = _init_l_Lean_PrettyPrinter_Delaborator_delabSort___closed__10(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabSort___closed__10); +l_Lean_PrettyPrinter_Delaborator_delabSort___closed__11 = _init_l_Lean_PrettyPrinter_Delaborator_delabSort___closed__11(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabSort___closed__11); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabSort___closed__1 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabSort___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabSort___closed__1); +res = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabSort(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_PrettyPrinter_Delaborator_delabConst___lambda__1___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabConst___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabConst___lambda__1___closed__1); +l_Lean_PrettyPrinter_Delaborator_delabConst___lambda__1___closed__2 = _init_l_Lean_PrettyPrinter_Delaborator_delabConst___lambda__1___closed__2(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabConst___lambda__1___closed__2); +l_Lean_PrettyPrinter_Delaborator_delabConst___lambda__1___closed__3 = _init_l_Lean_PrettyPrinter_Delaborator_delabConst___lambda__1___closed__3(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabConst___lambda__1___closed__3); +l_Lean_PrettyPrinter_Delaborator_delabConst___lambda__1___closed__4 = _init_l_Lean_PrettyPrinter_Delaborator_delabConst___lambda__1___closed__4(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabConst___lambda__1___closed__4); +l_Lean_PrettyPrinter_Delaborator_delabConst___lambda__1___closed__5 = _init_l_Lean_PrettyPrinter_Delaborator_delabConst___lambda__1___closed__5(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabConst___lambda__1___closed__5); +l_Lean_PrettyPrinter_Delaborator_delabConst___lambda__1___closed__6 = _init_l_Lean_PrettyPrinter_Delaborator_delabConst___lambda__1___closed__6(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabConst___lambda__1___closed__6); +l_Lean_PrettyPrinter_Delaborator_delabConst___lambda__2___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabConst___lambda__2___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabConst___lambda__2___closed__1); +l_Lean_PrettyPrinter_Delaborator_delabConst___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabConst___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabConst___closed__1); +l_Lean_PrettyPrinter_Delaborator_delabConst___closed__2 = _init_l_Lean_PrettyPrinter_Delaborator_delabConst___closed__2(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabConst___closed__2); +l_Lean_PrettyPrinter_Delaborator_delabConst___closed__3 = _init_l_Lean_PrettyPrinter_Delaborator_delabConst___closed__3(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabConst___closed__3); +l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_getParamKinds___spec__1___closed__1 = _init_l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_getParamKinds___spec__1___closed__1(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_getParamKinds___spec__1___closed__1); +l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_getParamKinds___spec__1___closed__2 = _init_l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_getParamKinds___spec__1___closed__2(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_getParamKinds___spec__1___closed__2); +l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_getParamKinds___spec__1___closed__3 = _init_l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_getParamKinds___spec__1___closed__3(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_getParamKinds___spec__1___closed__3); +l_Lean_PrettyPrinter_Delaborator_getParamKinds___lambda__1___boxed__const__1 = _init_l_Lean_PrettyPrinter_Delaborator_getParamKinds___lambda__1___boxed__const__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_getParamKinds___lambda__1___boxed__const__1); +l_Lean_PrettyPrinter_Delaborator_getParamKinds___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_getParamKinds___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_getParamKinds___closed__1); +l_Lean_PrettyPrinter_Delaborator_delabAppExplicit___lambda__2___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabAppExplicit___lambda__2___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabAppExplicit___lambda__2___closed__1); +l_Lean_PrettyPrinter_Delaborator_delabAppExplicit___lambda__2___closed__2 = _init_l_Lean_PrettyPrinter_Delaborator_delabAppExplicit___lambda__2___closed__2(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabAppExplicit___lambda__2___closed__2); +l_Lean_PrettyPrinter_Delaborator_delabAppExplicit___lambda__2___closed__3 = _init_l_Lean_PrettyPrinter_Delaborator_delabAppExplicit___lambda__2___closed__3(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabAppExplicit___lambda__2___closed__3); +l_Lean_PrettyPrinter_Delaborator_delabAppExplicit___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabAppExplicit___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabAppExplicit___closed__1); +l_Lean_PrettyPrinter_Delaborator_delabAppExplicit___closed__2 = _init_l_Lean_PrettyPrinter_Delaborator_delabAppExplicit___closed__2(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabAppExplicit___closed__2); +l_Lean_PrettyPrinter_Delaborator_delabAppExplicit___closed__3 = _init_l_Lean_PrettyPrinter_Delaborator_delabAppExplicit___closed__3(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabAppExplicit___closed__3); +l_Lean_PrettyPrinter_Delaborator_delabAppExplicit___closed__4 = _init_l_Lean_PrettyPrinter_Delaborator_delabAppExplicit___closed__4(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabAppExplicit___closed__4); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAppExplicit___closed__1 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAppExplicit___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAppExplicit___closed__1); +res = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAppExplicit(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_PrettyPrinter_Delaborator_delabAppImplicit___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabAppImplicit___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabAppImplicit___closed__1); +l_Lean_PrettyPrinter_Delaborator_delabAppImplicit___closed__2 = _init_l_Lean_PrettyPrinter_Delaborator_delabAppImplicit___closed__2(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabAppImplicit___closed__2); +l_Lean_PrettyPrinter_Delaborator_delabAppImplicit___closed__3 = _init_l_Lean_PrettyPrinter_Delaborator_delabAppImplicit___closed__3(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabAppImplicit___closed__3); +l_Lean_PrettyPrinter_Delaborator_delabAppImplicit___closed__4 = _init_l_Lean_PrettyPrinter_Delaborator_delabAppImplicit___closed__4(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabAppImplicit___closed__4); +l_Lean_PrettyPrinter_Delaborator_delabAppImplicit___closed__5 = _init_l_Lean_PrettyPrinter_Delaborator_delabAppImplicit___closed__5(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabAppImplicit___closed__5); +l_Lean_PrettyPrinter_Delaborator_delabAppImplicit___closed__6 = _init_l_Lean_PrettyPrinter_Delaborator_delabAppImplicit___closed__6(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabAppImplicit___closed__6); +l_Lean_PrettyPrinter_Delaborator_delabAppImplicit___closed__7 = _init_l_Lean_PrettyPrinter_Delaborator_delabAppImplicit___closed__7(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabAppImplicit___closed__7); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAppImplicit___closed__1 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAppImplicit___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAppImplicit___closed__1); +res = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAppImplicit(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_PrettyPrinter_Delaborator_AppMatchState_params___default = _init_l_Lean_PrettyPrinter_Delaborator_AppMatchState_params___default(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_AppMatchState_params___default); +l_Lean_PrettyPrinter_Delaborator_AppMatchState_hasMotive___default = _init_l_Lean_PrettyPrinter_Delaborator_AppMatchState_hasMotive___default(); +l_Lean_PrettyPrinter_Delaborator_AppMatchState_discrs___default = _init_l_Lean_PrettyPrinter_Delaborator_AppMatchState_discrs___default(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_AppMatchState_discrs___default); +l_Lean_PrettyPrinter_Delaborator_AppMatchState_rhss___default = _init_l_Lean_PrettyPrinter_Delaborator_AppMatchState_rhss___default(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_AppMatchState_rhss___default); +l_Lean_PrettyPrinter_Delaborator_AppMatchState_moreArgs___default = _init_l_Lean_PrettyPrinter_Delaborator_AppMatchState_moreArgs___default(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_AppMatchState_moreArgs___default); +l_Array_mapIdxM_map___at___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabPatterns___spec__3___closed__1 = _init_l_Array_mapIdxM_map___at___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabPatterns___spec__3___closed__1(); +lean_mark_persistent(l_Array_mapIdxM_map___at___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabPatterns___spec__3___closed__1); +l_Array_mapIdxM_map___at___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabPatterns___spec__3___closed__2 = _init_l_Array_mapIdxM_map___at___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabPatterns___spec__3___closed__2(); +lean_mark_persistent(l_Array_mapIdxM_map___at___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabPatterns___spec__3___closed__2); +l_Array_mapIdxM_map___at___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabPatterns___spec__3___closed__3 = _init_l_Array_mapIdxM_map___at___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabPatterns___spec__3___closed__3(); +lean_mark_persistent(l_Array_mapIdxM_map___at___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabPatterns___spec__3___closed__3); +l_Array_mapIdxM_map___at___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabPatterns___spec__3___closed__4 = _init_l_Array_mapIdxM_map___at___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabPatterns___spec__3___closed__4(); +lean_mark_persistent(l_Array_mapIdxM_map___at___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabPatterns___spec__3___closed__4); +l_Array_mapIdxM_map___at___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabPatterns___spec__3___closed__5 = _init_l_Array_mapIdxM_map___at___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabPatterns___spec__3___closed__5(); +lean_mark_persistent(l_Array_mapIdxM_map___at___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabPatterns___spec__3___closed__5); +l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_delabAppMatch___spec__3___closed__1 = _init_l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_delabAppMatch___spec__3___closed__1(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_delabAppMatch___spec__3___closed__1); +l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_delabAppMatch___spec__3___closed__2 = _init_l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_delabAppMatch___spec__3___closed__2(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_delabAppMatch___spec__3___closed__2); +l_Array_zipWithAux___at_Lean_PrettyPrinter_Delaborator_delabAppMatch___spec__4___closed__1 = _init_l_Array_zipWithAux___at_Lean_PrettyPrinter_Delaborator_delabAppMatch___spec__4___closed__1(); +lean_mark_persistent(l_Array_zipWithAux___at_Lean_PrettyPrinter_Delaborator_delabAppMatch___spec__4___closed__1); +l_Array_zipWithAux___at_Lean_PrettyPrinter_Delaborator_delabAppMatch___spec__4___closed__2 = _init_l_Array_zipWithAux___at_Lean_PrettyPrinter_Delaborator_delabAppMatch___spec__4___closed__2(); +lean_mark_persistent(l_Array_zipWithAux___at_Lean_PrettyPrinter_Delaborator_delabAppMatch___spec__4___closed__2); +l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__2___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__2___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__2___closed__1); +l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__3___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__3___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__3___closed__1); +l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__3___closed__2 = _init_l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__3___closed__2(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__3___closed__2); +l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__3___closed__3 = _init_l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__3___closed__3(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__3___closed__3); +l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__3___closed__4 = _init_l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__3___closed__4(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__3___closed__4); +l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__3___closed__5 = _init_l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__3___closed__5(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__3___closed__5); +l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__3___closed__6 = _init_l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__3___closed__6(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__3___closed__6); +l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__3___closed__7 = _init_l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__3___closed__7(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__3___closed__7); +l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__3___closed__8 = _init_l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__3___closed__8(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__3___closed__8); +l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__3___closed__9 = _init_l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__3___closed__9(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__3___closed__9); +l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__3___closed__10 = _init_l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__3___closed__10(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__3___closed__10); +l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__3___closed__11 = _init_l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__3___closed__11(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__3___closed__11); +l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__3___closed__12 = _init_l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__3___closed__12(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__3___closed__12); +l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__3___closed__13 = _init_l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__3___closed__13(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__3___closed__13); +l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__3___closed__14 = _init_l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__3___closed__14(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__3___closed__14); +l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__3___closed__15 = _init_l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__3___closed__15(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__3___closed__15); +l_Lean_PrettyPrinter_Delaborator_delabAppMatch___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabAppMatch___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabAppMatch___closed__1); +l_Lean_PrettyPrinter_Delaborator_delabAppMatch___closed__2 = _init_l_Lean_PrettyPrinter_Delaborator_delabAppMatch___closed__2(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabAppMatch___closed__2); +l_Lean_PrettyPrinter_Delaborator_delabAppMatch___closed__3 = _init_l_Lean_PrettyPrinter_Delaborator_delabAppMatch___closed__3(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabAppMatch___closed__3); +l_Lean_PrettyPrinter_Delaborator_delabAppMatch___closed__4 = _init_l_Lean_PrettyPrinter_Delaborator_delabAppMatch___closed__4(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabAppMatch___closed__4); +l_Lean_PrettyPrinter_Delaborator_delabAppMatch___closed__5 = _init_l_Lean_PrettyPrinter_Delaborator_delabAppMatch___closed__5(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabAppMatch___closed__5); +l_Lean_PrettyPrinter_Delaborator_delabAppMatch___closed__6 = _init_l_Lean_PrettyPrinter_Delaborator_delabAppMatch___closed__6(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabAppMatch___closed__6); +l_Lean_PrettyPrinter_Delaborator_delabAppMatch___closed__7 = _init_l_Lean_PrettyPrinter_Delaborator_delabAppMatch___closed__7(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabAppMatch___closed__7); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAppMatch___closed__1 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAppMatch___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAppMatch___closed__1); +res = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAppMatch(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_PrettyPrinter_Delaborator_delabMData___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabMData___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabMData___closed__1); +l_Lean_PrettyPrinter_Delaborator_delabMData___closed__2 = _init_l_Lean_PrettyPrinter_Delaborator_delabMData___closed__2(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabMData___closed__2); +l_Lean_PrettyPrinter_Delaborator_delabMData___closed__3 = _init_l_Lean_PrettyPrinter_Delaborator_delabMData___closed__3(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabMData___closed__3); +l_Lean_PrettyPrinter_Delaborator_delabMData___closed__4 = _init_l_Lean_PrettyPrinter_Delaborator_delabMData___closed__4(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabMData___closed__4); +l_Lean_PrettyPrinter_Delaborator_delabMData___closed__5 = _init_l_Lean_PrettyPrinter_Delaborator_delabMData___closed__5(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabMData___closed__5); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabMData___closed__1 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabMData___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabMData___closed__1); +res = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabMData(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_shouldGroupWithNext___closed__1 = _init_l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_shouldGroupWithNext___closed__1(); +lean_mark_persistent(l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_shouldGroupWithNext___closed__1); +l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_shouldGroupWithNext___closed__2 = _init_l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_shouldGroupWithNext___closed__2(); +lean_mark_persistent(l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_shouldGroupWithNext___closed__2); +l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabBinders___closed__1 = _init_l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabBinders___closed__1(); +lean_mark_persistent(l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabBinders___closed__1); +l_Lean_PrettyPrinter_Delaborator_delabLam___lambda__3___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabLam___lambda__3___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabLam___lambda__3___closed__1); +l_Lean_PrettyPrinter_Delaborator_delabLam___lambda__3___closed__2 = _init_l_Lean_PrettyPrinter_Delaborator_delabLam___lambda__3___closed__2(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabLam___lambda__3___closed__2); +l_Lean_PrettyPrinter_Delaborator_delabLam___lambda__3___closed__3 = _init_l_Lean_PrettyPrinter_Delaborator_delabLam___lambda__3___closed__3(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabLam___lambda__3___closed__3); +l_Lean_PrettyPrinter_Delaborator_delabLam___lambda__3___closed__4 = _init_l_Lean_PrettyPrinter_Delaborator_delabLam___lambda__3___closed__4(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabLam___lambda__3___closed__4); +l_Lean_PrettyPrinter_Delaborator_delabLam___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabLam___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabLam___closed__1); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabLam___closed__1 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabLam___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabLam___closed__1); +res = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabLam(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Array_foldrMUnsafe_fold___at_Lean_PrettyPrinter_Delaborator_delabForall___spec__1___closed__1 = _init_l_Array_foldrMUnsafe_fold___at_Lean_PrettyPrinter_Delaborator_delabForall___spec__1___closed__1(); +lean_mark_persistent(l_Array_foldrMUnsafe_fold___at_Lean_PrettyPrinter_Delaborator_delabForall___spec__1___closed__1); +l_Lean_PrettyPrinter_Delaborator_delabForall___lambda__1___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabForall___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabForall___lambda__1___closed__1); +l_Lean_PrettyPrinter_Delaborator_delabForall___lambda__1___closed__2 = _init_l_Lean_PrettyPrinter_Delaborator_delabForall___lambda__1___closed__2(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabForall___lambda__1___closed__2); +l_Lean_PrettyPrinter_Delaborator_delabForall___lambda__1___closed__3 = _init_l_Lean_PrettyPrinter_Delaborator_delabForall___lambda__1___closed__3(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabForall___lambda__1___closed__3); +l_Lean_PrettyPrinter_Delaborator_delabForall___lambda__1___closed__4 = _init_l_Lean_PrettyPrinter_Delaborator_delabForall___lambda__1___closed__4(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabForall___lambda__1___closed__4); +l_Lean_PrettyPrinter_Delaborator_delabForall___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabForall___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabForall___closed__1); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabForall___closed__1 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabForall___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabForall___closed__1); +res = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabForall(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_PrettyPrinter_Delaborator_delabLetE___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabLetE___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabLetE___closed__1); +l_Lean_PrettyPrinter_Delaborator_delabLetE___closed__2 = _init_l_Lean_PrettyPrinter_Delaborator_delabLetE___closed__2(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabLetE___closed__2); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabLetE___closed__1 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabLetE___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabLetE___closed__1); +res = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabLetE(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_PrettyPrinter_Delaborator_delabLit___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabLit___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabLit___closed__1); +l_Lean_PrettyPrinter_Delaborator_delabLit___closed__2 = _init_l_Lean_PrettyPrinter_Delaborator_delabLit___closed__2(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabLit___closed__2); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabLit___closed__1 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabLit___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabLit___closed__1); +res = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabLit(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_PrettyPrinter_Delaborator_delabOfNat___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabOfNat___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabOfNat___closed__1); +l_Lean_PrettyPrinter_Delaborator_delabOfNat___closed__2 = _init_l_Lean_PrettyPrinter_Delaborator_delabOfNat___closed__2(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabOfNat___closed__2); +l_Lean_PrettyPrinter_Delaborator_delabOfNat___closed__3 = _init_l_Lean_PrettyPrinter_Delaborator_delabOfNat___closed__3(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabOfNat___closed__3); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabOfNat___closed__1 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabOfNat___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabOfNat___closed__1); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabOfNat___closed__2 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabOfNat___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabOfNat___closed__2); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabOfNat___closed__3 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabOfNat___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabOfNat___closed__3); +res = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabOfNat(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_PrettyPrinter_Delaborator_delabOne___lambda__1___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabOne___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabOne___lambda__1___closed__1); +l_Lean_PrettyPrinter_Delaborator_delabOne___lambda__1___closed__2 = _init_l_Lean_PrettyPrinter_Delaborator_delabOne___lambda__1___closed__2(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabOne___lambda__1___closed__2); +l_Lean_PrettyPrinter_Delaborator_delabOne___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabOne___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabOne___closed__1); +l_Lean_PrettyPrinter_Delaborator_delabOne___closed__2 = _init_l_Lean_PrettyPrinter_Delaborator_delabOne___closed__2(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabOne___closed__2); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabOne___closed__1 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabOne___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabOne___closed__1); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabOne___closed__2 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabOne___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabOne___closed__2); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabOne___closed__3 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabOne___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabOne___closed__3); +res = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabOne(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_PrettyPrinter_Delaborator_delabZero___lambda__1___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabZero___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabZero___lambda__1___closed__1); +l_Lean_PrettyPrinter_Delaborator_delabZero___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabZero___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabZero___closed__1); +l_Lean_PrettyPrinter_Delaborator_delabZero___closed__2 = _init_l_Lean_PrettyPrinter_Delaborator_delabZero___closed__2(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabZero___closed__2); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabZero___closed__1 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabZero___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabZero___closed__1); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabZero___closed__2 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabZero___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabZero___closed__2); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabZero___closed__3 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabZero___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabZero___closed__3); +res = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabZero(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_PrettyPrinter_Delaborator_delabProj___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabProj___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabProj___closed__1); +l_Lean_PrettyPrinter_Delaborator_delabProj___closed__2 = _init_l_Lean_PrettyPrinter_Delaborator_delabProj___closed__2(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabProj___closed__2); +l_Lean_PrettyPrinter_Delaborator_delabProj___closed__3 = _init_l_Lean_PrettyPrinter_Delaborator_delabProj___closed__3(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabProj___closed__3); +l_Lean_PrettyPrinter_Delaborator_delabProj___closed__4 = _init_l_Lean_PrettyPrinter_Delaborator_delabProj___closed__4(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabProj___closed__4); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabProj___closed__1 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabProj___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabProj___closed__1); +res = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabProj(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_PrettyPrinter_Delaborator_delabProjectionApp___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabProjectionApp___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabProjectionApp___closed__1); +l_Lean_PrettyPrinter_Delaborator_delabProjectionApp___closed__2 = _init_l_Lean_PrettyPrinter_Delaborator_delabProjectionApp___closed__2(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabProjectionApp___closed__2); +l_Lean_PrettyPrinter_Delaborator_delabProjectionApp___closed__3 = _init_l_Lean_PrettyPrinter_Delaborator_delabProjectionApp___closed__3(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabProjectionApp___closed__3); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabProjectionApp___closed__1 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabProjectionApp___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabProjectionApp___closed__1); +res = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabProjectionApp(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Array_mapIdxM_map___at_Lean_PrettyPrinter_Delaborator_delabStructureInstance___spec__1___closed__1 = _init_l_Array_mapIdxM_map___at_Lean_PrettyPrinter_Delaborator_delabStructureInstance___spec__1___closed__1(); +lean_mark_persistent(l_Array_mapIdxM_map___at_Lean_PrettyPrinter_Delaborator_delabStructureInstance___spec__1___closed__1); +l_Array_mapIdxM_map___at_Lean_PrettyPrinter_Delaborator_delabStructureInstance___spec__1___closed__2 = _init_l_Array_mapIdxM_map___at_Lean_PrettyPrinter_Delaborator_delabStructureInstance___spec__1___closed__2(); +lean_mark_persistent(l_Array_mapIdxM_map___at_Lean_PrettyPrinter_Delaborator_delabStructureInstance___spec__1___closed__2); +l_Lean_PrettyPrinter_Delaborator_delabStructureInstance___lambda__2___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabStructureInstance___lambda__2___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabStructureInstance___lambda__2___closed__1); +l_Lean_PrettyPrinter_Delaborator_delabStructureInstance___lambda__3___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabStructureInstance___lambda__3___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabStructureInstance___lambda__3___closed__1); +l_Lean_PrettyPrinter_Delaborator_delabStructureInstance___lambda__3___closed__2 = _init_l_Lean_PrettyPrinter_Delaborator_delabStructureInstance___lambda__3___closed__2(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabStructureInstance___lambda__3___closed__2); +l_Lean_PrettyPrinter_Delaborator_delabStructureInstance___lambda__3___closed__3 = _init_l_Lean_PrettyPrinter_Delaborator_delabStructureInstance___lambda__3___closed__3(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabStructureInstance___lambda__3___closed__3); +l_Lean_PrettyPrinter_Delaborator_delabStructureInstance___lambda__3___closed__4 = _init_l_Lean_PrettyPrinter_Delaborator_delabStructureInstance___lambda__3___closed__4(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabStructureInstance___lambda__3___closed__4); +l_Lean_PrettyPrinter_Delaborator_delabStructureInstance___lambda__3___closed__5 = _init_l_Lean_PrettyPrinter_Delaborator_delabStructureInstance___lambda__3___closed__5(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabStructureInstance___lambda__3___closed__5); +l_Lean_PrettyPrinter_Delaborator_delabStructureInstance___lambda__3___closed__6 = _init_l_Lean_PrettyPrinter_Delaborator_delabStructureInstance___lambda__3___closed__6(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabStructureInstance___lambda__3___closed__6); +l_Lean_PrettyPrinter_Delaborator_delabStructureInstance___lambda__3___closed__7 = _init_l_Lean_PrettyPrinter_Delaborator_delabStructureInstance___lambda__3___closed__7(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabStructureInstance___lambda__3___closed__7); +l_Lean_PrettyPrinter_Delaborator_delabStructureInstance___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabStructureInstance___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabStructureInstance___closed__1); +l_Lean_PrettyPrinter_Delaborator_delabStructureInstance___closed__2 = _init_l_Lean_PrettyPrinter_Delaborator_delabStructureInstance___closed__2(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabStructureInstance___closed__2); +l_Lean_PrettyPrinter_Delaborator_delabStructureInstance___closed__3 = _init_l_Lean_PrettyPrinter_Delaborator_delabStructureInstance___closed__3(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabStructureInstance___closed__3); +l_Lean_PrettyPrinter_Delaborator_delabStructureInstance___closed__4 = _init_l_Lean_PrettyPrinter_Delaborator_delabStructureInstance___closed__4(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabStructureInstance___closed__4); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabStructureInstance___closed__1 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabStructureInstance___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabStructureInstance___closed__1); +res = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabStructureInstance(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_PrettyPrinter_Delaborator_delabTuple___lambda__1___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabTuple___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabTuple___lambda__1___closed__1); +l_Lean_PrettyPrinter_Delaborator_delabTuple___lambda__1___closed__2 = _init_l_Lean_PrettyPrinter_Delaborator_delabTuple___lambda__1___closed__2(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabTuple___lambda__1___closed__2); +l_Lean_PrettyPrinter_Delaborator_delabTuple___lambda__1___closed__3 = _init_l_Lean_PrettyPrinter_Delaborator_delabTuple___lambda__1___closed__3(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabTuple___lambda__1___closed__3); +l_Lean_PrettyPrinter_Delaborator_delabTuple___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabTuple___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabTuple___closed__1); +l_Lean_PrettyPrinter_Delaborator_delabTuple___closed__2 = _init_l_Lean_PrettyPrinter_Delaborator_delabTuple___closed__2(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabTuple___closed__2); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabTuple___closed__1 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabTuple___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabTuple___closed__1); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabTuple___closed__2 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabTuple___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabTuple___closed__2); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabTuple___closed__3 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabTuple___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabTuple___closed__3); +res = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabTuple(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_PrettyPrinter_Delaborator_delabCoe___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabCoe___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabCoe___closed__1); +l_Lean_PrettyPrinter_Delaborator_delabCoe___closed__2 = _init_l_Lean_PrettyPrinter_Delaborator_delabCoe___closed__2(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabCoe___closed__2); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabCoe___closed__1 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabCoe___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabCoe___closed__1); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabCoe___closed__2 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabCoe___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabCoe___closed__2); +res = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabCoe(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabCoeFun___closed__1 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabCoeFun___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabCoeFun___closed__1); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabCoeFun___closed__2 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabCoeFun___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabCoeFun___closed__2); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabCoeFun___closed__3 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabCoeFun___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabCoeFun___closed__3); +res = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabCoeFun(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_PrettyPrinter_Delaborator_delabInfixOp___lambda__1___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabInfixOp___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabInfixOp___lambda__1___closed__1); +l_Lean_PrettyPrinter_Delaborator_delabInfixOp___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabInfixOp___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabInfixOp___closed__1); +l_Lean_PrettyPrinter_Delaborator_delabProd___lambda__1___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabProd___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabProd___lambda__1___closed__1); +l_Lean_PrettyPrinter_Delaborator_delabProd___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabProd___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabProd___closed__1); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabProd___closed__1 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabProd___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabProd___closed__1); +res = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabProd(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_PrettyPrinter_Delaborator_delabFComp___lambda__1___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabFComp___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabFComp___lambda__1___closed__1); +l_Lean_PrettyPrinter_Delaborator_delabFComp___lambda__1___closed__2 = _init_l_Lean_PrettyPrinter_Delaborator_delabFComp___lambda__1___closed__2(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabFComp___lambda__1___closed__2); +l_Lean_PrettyPrinter_Delaborator_delabFComp___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabFComp___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabFComp___closed__1); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabFComp___closed__1 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabFComp___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabFComp___closed__1); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabFComp___closed__2 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabFComp___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabFComp___closed__2); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabFComp___closed__3 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabFComp___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabFComp___closed__3); +res = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabFComp(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_PrettyPrinter_Delaborator_delabAdd___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabAdd___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabAdd___closed__1); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAdd___closed__1 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAdd___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAdd___closed__1); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAdd___closed__2 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAdd___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAdd___closed__2); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAdd___closed__3 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAdd___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAdd___closed__3); +res = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAdd(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_PrettyPrinter_Delaborator_delabSub___lambda__1___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabSub___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabSub___lambda__1___closed__1); +l_Lean_PrettyPrinter_Delaborator_delabSub___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabSub___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabSub___closed__1); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabSub___closed__1 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabSub___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabSub___closed__1); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabSub___closed__2 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabSub___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabSub___closed__2); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabSub___closed__3 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabSub___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabSub___closed__3); +res = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabSub(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_PrettyPrinter_Delaborator_delabMul___lambda__1___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabMul___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabMul___lambda__1___closed__1); +l_Lean_PrettyPrinter_Delaborator_delabMul___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabMul___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabMul___closed__1); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabMul___closed__1 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabMul___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabMul___closed__1); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabMul___closed__2 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabMul___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabMul___closed__2); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabMul___closed__3 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabMul___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabMul___closed__3); +res = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabMul(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_PrettyPrinter_Delaborator_delabDiv___lambda__1___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabDiv___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabDiv___lambda__1___closed__1); +l_Lean_PrettyPrinter_Delaborator_delabDiv___lambda__1___closed__2 = _init_l_Lean_PrettyPrinter_Delaborator_delabDiv___lambda__1___closed__2(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabDiv___lambda__1___closed__2); +l_Lean_PrettyPrinter_Delaborator_delabDiv___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabDiv___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabDiv___closed__1); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabDiv___closed__1 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabDiv___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabDiv___closed__1); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabDiv___closed__2 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabDiv___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabDiv___closed__2); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabDiv___closed__3 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabDiv___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabDiv___closed__3); +res = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabDiv(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_PrettyPrinter_Delaborator_delabMod___lambda__1___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabMod___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabMod___lambda__1___closed__1); +l_Lean_PrettyPrinter_Delaborator_delabMod___lambda__1___closed__2 = _init_l_Lean_PrettyPrinter_Delaborator_delabMod___lambda__1___closed__2(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabMod___lambda__1___closed__2); +l_Lean_PrettyPrinter_Delaborator_delabMod___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabMod___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabMod___closed__1); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabMod___closed__1 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabMod___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabMod___closed__1); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabMod___closed__2 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabMod___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabMod___closed__2); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabMod___closed__3 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabMod___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabMod___closed__3); +res = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabMod(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_PrettyPrinter_Delaborator_delabModN___lambda__1___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabModN___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabModN___lambda__1___closed__1); +l_Lean_PrettyPrinter_Delaborator_delabModN___lambda__1___closed__2 = _init_l_Lean_PrettyPrinter_Delaborator_delabModN___lambda__1___closed__2(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabModN___lambda__1___closed__2); +l_Lean_PrettyPrinter_Delaborator_delabModN___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabModN___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabModN___closed__1); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabModN___closed__1 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabModN___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabModN___closed__1); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabModN___closed__2 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabModN___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabModN___closed__2); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabModN___closed__3 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabModN___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabModN___closed__3); +res = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabModN(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_PrettyPrinter_Delaborator_delabPow___lambda__1___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabPow___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabPow___lambda__1___closed__1); +l_Lean_PrettyPrinter_Delaborator_delabPow___lambda__1___closed__2 = _init_l_Lean_PrettyPrinter_Delaborator_delabPow___lambda__1___closed__2(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabPow___lambda__1___closed__2); +l_Lean_PrettyPrinter_Delaborator_delabPow___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabPow___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabPow___closed__1); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabPow___closed__1 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabPow___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabPow___closed__1); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabPow___closed__2 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabPow___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabPow___closed__2); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabPow___closed__3 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabPow___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabPow___closed__3); +res = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabPow(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_PrettyPrinter_Delaborator_delabLE___lambda__1___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabLE___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabLE___lambda__1___closed__1); +l_Lean_PrettyPrinter_Delaborator_delabLE___lambda__1___closed__2 = _init_l_Lean_PrettyPrinter_Delaborator_delabLE___lambda__1___closed__2(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabLE___lambda__1___closed__2); +l_Lean_PrettyPrinter_Delaborator_delabLE___lambda__1___closed__3 = _init_l_Lean_PrettyPrinter_Delaborator_delabLE___lambda__1___closed__3(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabLE___lambda__1___closed__3); +l_Lean_PrettyPrinter_Delaborator_delabLE___lambda__1___closed__4 = _init_l_Lean_PrettyPrinter_Delaborator_delabLE___lambda__1___closed__4(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabLE___lambda__1___closed__4); +l_Lean_PrettyPrinter_Delaborator_delabLE___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabLE___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabLE___closed__1); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabLE___closed__1 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabLE___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabLE___closed__1); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabLE___closed__2 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabLE___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabLE___closed__2); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabLE___closed__3 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabLE___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabLE___closed__3); +res = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabLE(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_PrettyPrinter_Delaborator_delabGE___lambda__1___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabGE___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabGE___lambda__1___closed__1); +l_Lean_PrettyPrinter_Delaborator_delabGE___lambda__1___closed__2 = _init_l_Lean_PrettyPrinter_Delaborator_delabGE___lambda__1___closed__2(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabGE___lambda__1___closed__2); +l_Lean_PrettyPrinter_Delaborator_delabGE___lambda__1___closed__3 = _init_l_Lean_PrettyPrinter_Delaborator_delabGE___lambda__1___closed__3(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabGE___lambda__1___closed__3); +l_Lean_PrettyPrinter_Delaborator_delabGE___lambda__1___closed__4 = _init_l_Lean_PrettyPrinter_Delaborator_delabGE___lambda__1___closed__4(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabGE___lambda__1___closed__4); +l_Lean_PrettyPrinter_Delaborator_delabGE___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabGE___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabGE___closed__1); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabGE___closed__1 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabGE___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabGE___closed__1); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabGE___closed__2 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabGE___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabGE___closed__2); +res = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabGE(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_PrettyPrinter_Delaborator_delabLT___lambda__1___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabLT___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabLT___lambda__1___closed__1); +l_Lean_PrettyPrinter_Delaborator_delabLT___lambda__1___closed__2 = _init_l_Lean_PrettyPrinter_Delaborator_delabLT___lambda__1___closed__2(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabLT___lambda__1___closed__2); +l_Lean_PrettyPrinter_Delaborator_delabLT___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabLT___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabLT___closed__1); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabLT___closed__1 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabLT___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabLT___closed__1); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabLT___closed__2 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabLT___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabLT___closed__2); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabLT___closed__3 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabLT___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabLT___closed__3); +res = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabLT(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_PrettyPrinter_Delaborator_delabGT___lambda__1___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabGT___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabGT___lambda__1___closed__1); +l_Lean_PrettyPrinter_Delaborator_delabGT___lambda__1___closed__2 = _init_l_Lean_PrettyPrinter_Delaborator_delabGT___lambda__1___closed__2(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabGT___lambda__1___closed__2); +l_Lean_PrettyPrinter_Delaborator_delabGT___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabGT___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabGT___closed__1); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabGT___closed__1 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabGT___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabGT___closed__1); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabGT___closed__2 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabGT___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabGT___closed__2); +res = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabGT(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_PrettyPrinter_Delaborator_delabEq___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabEq___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabEq___closed__1); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabEq___closed__1 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabEq___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabEq___closed__1); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabEq___closed__2 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabEq___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabEq___closed__2); +res = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabEq(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_PrettyPrinter_Delaborator_delabNe___lambda__1___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabNe___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabNe___lambda__1___closed__1); +l_Lean_PrettyPrinter_Delaborator_delabNe___lambda__1___closed__2 = _init_l_Lean_PrettyPrinter_Delaborator_delabNe___lambda__1___closed__2(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabNe___lambda__1___closed__2); +l_Lean_PrettyPrinter_Delaborator_delabNe___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabNe___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabNe___closed__1); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabNe___closed__1 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabNe___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabNe___closed__1); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabNe___closed__2 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabNe___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabNe___closed__2); +res = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabNe(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_PrettyPrinter_Delaborator_delabBEq___lambda__1___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabBEq___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabBEq___lambda__1___closed__1); +l_Lean_PrettyPrinter_Delaborator_delabBEq___lambda__1___closed__2 = _init_l_Lean_PrettyPrinter_Delaborator_delabBEq___lambda__1___closed__2(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabBEq___lambda__1___closed__2); +l_Lean_PrettyPrinter_Delaborator_delabBEq___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabBEq___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabBEq___closed__1); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabBEq___closed__1 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabBEq___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabBEq___closed__1); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabBEq___closed__2 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabBEq___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabBEq___closed__2); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabBEq___closed__3 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabBEq___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabBEq___closed__3); +res = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabBEq(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_PrettyPrinter_Delaborator_delabBNe___lambda__1___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabBNe___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabBNe___lambda__1___closed__1); +l_Lean_PrettyPrinter_Delaborator_delabBNe___lambda__1___closed__2 = _init_l_Lean_PrettyPrinter_Delaborator_delabBNe___lambda__1___closed__2(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabBNe___lambda__1___closed__2); +l_Lean_PrettyPrinter_Delaborator_delabBNe___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabBNe___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabBNe___closed__1); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabBNe___closed__1 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabBNe___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabBNe___closed__1); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabBNe___closed__2 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabBNe___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabBNe___closed__2); +res = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabBNe(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_PrettyPrinter_Delaborator_delabHEq___lambda__1___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabHEq___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabHEq___lambda__1___closed__1); +l_Lean_PrettyPrinter_Delaborator_delabHEq___lambda__1___closed__2 = _init_l_Lean_PrettyPrinter_Delaborator_delabHEq___lambda__1___closed__2(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabHEq___lambda__1___closed__2); +l_Lean_PrettyPrinter_Delaborator_delabHEq___lambda__1___closed__3 = _init_l_Lean_PrettyPrinter_Delaborator_delabHEq___lambda__1___closed__3(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabHEq___lambda__1___closed__3); +l_Lean_PrettyPrinter_Delaborator_delabHEq___lambda__1___closed__4 = _init_l_Lean_PrettyPrinter_Delaborator_delabHEq___lambda__1___closed__4(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabHEq___lambda__1___closed__4); +l_Lean_PrettyPrinter_Delaborator_delabHEq___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabHEq___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabHEq___closed__1); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabHEq___closed__1 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabHEq___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabHEq___closed__1); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabHEq___closed__2 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabHEq___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabHEq___closed__2); +res = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabHEq(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_PrettyPrinter_Delaborator_delabEquiv___lambda__1___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabEquiv___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabEquiv___lambda__1___closed__1); +l_Lean_PrettyPrinter_Delaborator_delabEquiv___lambda__1___closed__2 = _init_l_Lean_PrettyPrinter_Delaborator_delabEquiv___lambda__1___closed__2(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabEquiv___lambda__1___closed__2); +l_Lean_PrettyPrinter_Delaborator_delabEquiv___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabEquiv___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabEquiv___closed__1); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabEquiv___closed__1 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabEquiv___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabEquiv___closed__1); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabEquiv___closed__2 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabEquiv___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabEquiv___closed__2); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabEquiv___closed__3 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabEquiv___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabEquiv___closed__3); +res = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabEquiv(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_PrettyPrinter_Delaborator_delabAnd___lambda__1___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabAnd___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabAnd___lambda__1___closed__1); +l_Lean_PrettyPrinter_Delaborator_delabAnd___lambda__1___closed__2 = _init_l_Lean_PrettyPrinter_Delaborator_delabAnd___lambda__1___closed__2(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabAnd___lambda__1___closed__2); +l_Lean_PrettyPrinter_Delaborator_delabAnd___lambda__1___closed__3 = _init_l_Lean_PrettyPrinter_Delaborator_delabAnd___lambda__1___closed__3(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabAnd___lambda__1___closed__3); +l_Lean_PrettyPrinter_Delaborator_delabAnd___lambda__1___closed__4 = _init_l_Lean_PrettyPrinter_Delaborator_delabAnd___lambda__1___closed__4(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabAnd___lambda__1___closed__4); +l_Lean_PrettyPrinter_Delaborator_delabAnd___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabAnd___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabAnd___closed__1); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAnd___closed__1 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAnd___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAnd___closed__1); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAnd___closed__2 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAnd___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAnd___closed__2); +res = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAnd(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_PrettyPrinter_Delaborator_delabOr___lambda__1___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabOr___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabOr___lambda__1___closed__1); +l_Lean_PrettyPrinter_Delaborator_delabOr___lambda__1___closed__2 = _init_l_Lean_PrettyPrinter_Delaborator_delabOr___lambda__1___closed__2(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabOr___lambda__1___closed__2); +l_Lean_PrettyPrinter_Delaborator_delabOr___lambda__1___closed__3 = _init_l_Lean_PrettyPrinter_Delaborator_delabOr___lambda__1___closed__3(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabOr___lambda__1___closed__3); +l_Lean_PrettyPrinter_Delaborator_delabOr___lambda__1___closed__4 = _init_l_Lean_PrettyPrinter_Delaborator_delabOr___lambda__1___closed__4(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabOr___lambda__1___closed__4); +l_Lean_PrettyPrinter_Delaborator_delabOr___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabOr___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabOr___closed__1); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabOr___closed__1 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabOr___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabOr___closed__1); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabOr___closed__2 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabOr___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabOr___closed__2); +res = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabOr(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_PrettyPrinter_Delaborator_delabIff___lambda__1___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabIff___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabIff___lambda__1___closed__1); +l_Lean_PrettyPrinter_Delaborator_delabIff___lambda__1___closed__2 = _init_l_Lean_PrettyPrinter_Delaborator_delabIff___lambda__1___closed__2(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabIff___lambda__1___closed__2); +l_Lean_PrettyPrinter_Delaborator_delabIff___lambda__1___closed__3 = _init_l_Lean_PrettyPrinter_Delaborator_delabIff___lambda__1___closed__3(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabIff___lambda__1___closed__3); +l_Lean_PrettyPrinter_Delaborator_delabIff___lambda__1___closed__4 = _init_l_Lean_PrettyPrinter_Delaborator_delabIff___lambda__1___closed__4(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabIff___lambda__1___closed__4); +l_Lean_PrettyPrinter_Delaborator_delabIff___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabIff___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabIff___closed__1); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabIff___closed__1 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabIff___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabIff___closed__1); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabIff___closed__2 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabIff___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabIff___closed__2); +res = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabIff(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_PrettyPrinter_Delaborator_delabBAnd___lambda__1___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabBAnd___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabBAnd___lambda__1___closed__1); +l_Lean_PrettyPrinter_Delaborator_delabBAnd___lambda__1___closed__2 = _init_l_Lean_PrettyPrinter_Delaborator_delabBAnd___lambda__1___closed__2(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabBAnd___lambda__1___closed__2); +l_Lean_PrettyPrinter_Delaborator_delabBAnd___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabBAnd___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabBAnd___closed__1); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabBAnd___closed__1 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabBAnd___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabBAnd___closed__1); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabBAnd___closed__2 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabBAnd___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabBAnd___closed__2); +res = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabBAnd(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_PrettyPrinter_Delaborator_delabBOr___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabBOr___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabBOr___closed__1); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabBOr___closed__1 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabBOr___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabBOr___closed__1); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabBOr___closed__2 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabBOr___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabBOr___closed__2); +res = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabBOr(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_PrettyPrinter_Delaborator_delabAppend___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabAppend___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabAppend___closed__1); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAppend___closed__1 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAppend___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAppend___closed__1); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAppend___closed__2 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAppend___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAppend___closed__2); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAppend___closed__3 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAppend___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAppend___closed__3); +res = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAppend(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_PrettyPrinter_Delaborator_delabCons___lambda__1___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabCons___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabCons___lambda__1___closed__1); +l_Lean_PrettyPrinter_Delaborator_delabCons___lambda__1___closed__2 = _init_l_Lean_PrettyPrinter_Delaborator_delabCons___lambda__1___closed__2(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabCons___lambda__1___closed__2); +l_Lean_PrettyPrinter_Delaborator_delabCons___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabCons___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabCons___closed__1); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabCons___closed__1 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabCons___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabCons___closed__1); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabCons___closed__2 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabCons___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabCons___closed__2); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabCons___closed__3 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabCons___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabCons___closed__3); +res = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabCons(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_PrettyPrinter_Delaborator_delabAndThen___lambda__1___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabAndThen___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabAndThen___lambda__1___closed__1); +l_Lean_PrettyPrinter_Delaborator_delabAndThen___lambda__1___closed__2 = _init_l_Lean_PrettyPrinter_Delaborator_delabAndThen___lambda__1___closed__2(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabAndThen___lambda__1___closed__2); +l_Lean_PrettyPrinter_Delaborator_delabAndThen___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabAndThen___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabAndThen___closed__1); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAndThen___closed__1 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAndThen___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAndThen___closed__1); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAndThen___closed__2 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAndThen___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAndThen___closed__2); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAndThen___closed__3 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAndThen___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAndThen___closed__3); +res = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAndThen(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_PrettyPrinter_Delaborator_delabBind___lambda__1___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabBind___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabBind___lambda__1___closed__1); +l_Lean_PrettyPrinter_Delaborator_delabBind___lambda__1___closed__2 = _init_l_Lean_PrettyPrinter_Delaborator_delabBind___lambda__1___closed__2(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabBind___lambda__1___closed__2); +l_Lean_PrettyPrinter_Delaborator_delabBind___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabBind___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabBind___closed__1); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabBind___closed__1 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabBind___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabBind___closed__1); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabBind___closed__2 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabBind___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabBind___closed__2); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabBind___closed__3 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabBind___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabBind___closed__3); +res = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabBind(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_PrettyPrinter_Delaborator_delabseq___lambda__1___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabseq___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabseq___lambda__1___closed__1); +l_Lean_PrettyPrinter_Delaborator_delabseq___lambda__1___closed__2 = _init_l_Lean_PrettyPrinter_Delaborator_delabseq___lambda__1___closed__2(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabseq___lambda__1___closed__2); +l_Lean_PrettyPrinter_Delaborator_delabseq___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabseq___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabseq___closed__1); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabseq___closed__1 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabseq___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabseq___closed__1); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabseq___closed__2 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabseq___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabseq___closed__2); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabseq___closed__3 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabseq___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabseq___closed__3); +res = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabseq(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_PrettyPrinter_Delaborator_delabseqLeft___lambda__1___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabseqLeft___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabseqLeft___lambda__1___closed__1); +l_Lean_PrettyPrinter_Delaborator_delabseqLeft___lambda__1___closed__2 = _init_l_Lean_PrettyPrinter_Delaborator_delabseqLeft___lambda__1___closed__2(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabseqLeft___lambda__1___closed__2); +l_Lean_PrettyPrinter_Delaborator_delabseqLeft___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabseqLeft___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabseqLeft___closed__1); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabseqLeft___closed__1 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabseqLeft___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabseqLeft___closed__1); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabseqLeft___closed__2 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabseqLeft___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabseqLeft___closed__2); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabseqLeft___closed__3 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabseqLeft___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabseqLeft___closed__3); +res = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabseqLeft(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_PrettyPrinter_Delaborator_delabseqRight___lambda__1___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabseqRight___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabseqRight___lambda__1___closed__1); +l_Lean_PrettyPrinter_Delaborator_delabseqRight___lambda__1___closed__2 = _init_l_Lean_PrettyPrinter_Delaborator_delabseqRight___lambda__1___closed__2(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabseqRight___lambda__1___closed__2); +l_Lean_PrettyPrinter_Delaborator_delabseqRight___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabseqRight___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabseqRight___closed__1); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabseqRight___closed__1 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabseqRight___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabseqRight___closed__1); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabseqRight___closed__2 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabseqRight___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabseqRight___closed__2); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabseqRight___closed__3 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabseqRight___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabseqRight___closed__3); +res = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabseqRight(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_PrettyPrinter_Delaborator_delabMap___lambda__1___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabMap___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabMap___lambda__1___closed__1); +l_Lean_PrettyPrinter_Delaborator_delabMap___lambda__1___closed__2 = _init_l_Lean_PrettyPrinter_Delaborator_delabMap___lambda__1___closed__2(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabMap___lambda__1___closed__2); +l_Lean_PrettyPrinter_Delaborator_delabMap___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabMap___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabMap___closed__1); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabMap___closed__1 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabMap___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabMap___closed__1); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabMap___closed__2 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabMap___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabMap___closed__2); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabMap___closed__3 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabMap___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabMap___closed__3); +res = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabMap(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_PrettyPrinter_Delaborator_delabMapRev___lambda__1___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabMapRev___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabMapRev___lambda__1___closed__1); +l_Lean_PrettyPrinter_Delaborator_delabMapRev___lambda__1___closed__2 = _init_l_Lean_PrettyPrinter_Delaborator_delabMapRev___lambda__1___closed__2(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabMapRev___lambda__1___closed__2); +l_Lean_PrettyPrinter_Delaborator_delabMapRev___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabMapRev___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabMapRev___closed__1); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabMapRev___closed__1 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabMapRev___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabMapRev___closed__1); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabMapRev___closed__2 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabMapRev___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabMapRev___closed__2); +res = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabMapRev(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_PrettyPrinter_Delaborator_delabOrElse___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabOrElse___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabOrElse___closed__1); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabOrElse___closed__1 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabOrElse___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabOrElse___closed__1); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabOrElse___closed__2 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabOrElse___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabOrElse___closed__2); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabOrElse___closed__3 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabOrElse___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabOrElse___closed__3); +res = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabOrElse(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_PrettyPrinter_Delaborator_delabOrM___lambda__1___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabOrM___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabOrM___lambda__1___closed__1); +l_Lean_PrettyPrinter_Delaborator_delabOrM___lambda__1___closed__2 = _init_l_Lean_PrettyPrinter_Delaborator_delabOrM___lambda__1___closed__2(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabOrM___lambda__1___closed__2); +l_Lean_PrettyPrinter_Delaborator_delabOrM___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabOrM___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabOrM___closed__1); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabOrM___closed__1 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabOrM___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabOrM___closed__1); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabOrM___closed__2 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabOrM___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabOrM___closed__2); +res = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabOrM(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_PrettyPrinter_Delaborator_delabAndM___lambda__1___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabAndM___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabAndM___lambda__1___closed__1); +l_Lean_PrettyPrinter_Delaborator_delabAndM___lambda__1___closed__2 = _init_l_Lean_PrettyPrinter_Delaborator_delabAndM___lambda__1___closed__2(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabAndM___lambda__1___closed__2); +l_Lean_PrettyPrinter_Delaborator_delabAndM___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabAndM___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabAndM___closed__1); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAndM___closed__1 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAndM___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAndM___closed__1); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAndM___closed__2 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAndM___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAndM___closed__2); +res = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAndM(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_PrettyPrinter_Delaborator_delabNot___lambda__1___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabNot___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabNot___lambda__1___closed__1); +l_Lean_PrettyPrinter_Delaborator_delabNot___lambda__1___closed__2 = _init_l_Lean_PrettyPrinter_Delaborator_delabNot___lambda__1___closed__2(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabNot___lambda__1___closed__2); +l_Lean_PrettyPrinter_Delaborator_delabNot___lambda__1___closed__3 = _init_l_Lean_PrettyPrinter_Delaborator_delabNot___lambda__1___closed__3(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabNot___lambda__1___closed__3); +l_Lean_PrettyPrinter_Delaborator_delabNot___lambda__1___closed__4 = _init_l_Lean_PrettyPrinter_Delaborator_delabNot___lambda__1___closed__4(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabNot___lambda__1___closed__4); +l_Lean_PrettyPrinter_Delaborator_delabNot___lambda__1___closed__5 = _init_l_Lean_PrettyPrinter_Delaborator_delabNot___lambda__1___closed__5(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabNot___lambda__1___closed__5); +l_Lean_PrettyPrinter_Delaborator_delabNot___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabNot___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabNot___closed__1); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabNot___closed__1 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabNot___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabNot___closed__1); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabNot___closed__2 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabNot___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabNot___closed__2); +res = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabNot(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_PrettyPrinter_Delaborator_delabBNot___lambda__1___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabBNot___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabBNot___lambda__1___closed__1); +l_Lean_PrettyPrinter_Delaborator_delabBNot___lambda__1___closed__2 = _init_l_Lean_PrettyPrinter_Delaborator_delabBNot___lambda__1___closed__2(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabBNot___lambda__1___closed__2); +l_Lean_PrettyPrinter_Delaborator_delabBNot___lambda__1___closed__3 = _init_l_Lean_PrettyPrinter_Delaborator_delabBNot___lambda__1___closed__3(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabBNot___lambda__1___closed__3); +l_Lean_PrettyPrinter_Delaborator_delabBNot___lambda__1___closed__4 = _init_l_Lean_PrettyPrinter_Delaborator_delabBNot___lambda__1___closed__4(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabBNot___lambda__1___closed__4); +l_Lean_PrettyPrinter_Delaborator_delabBNot___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabBNot___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabBNot___closed__1); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabBNot___closed__1 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabBNot___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabBNot___closed__1); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabBNot___closed__2 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabBNot___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabBNot___closed__2); +res = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabBNot(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_PrettyPrinter_Delaborator_delabNil___lambda__1___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabNil___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabNil___lambda__1___closed__1); +l_Lean_PrettyPrinter_Delaborator_delabNil___lambda__1___closed__2 = _init_l_Lean_PrettyPrinter_Delaborator_delabNil___lambda__1___closed__2(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabNil___lambda__1___closed__2); +l_Lean_PrettyPrinter_Delaborator_delabNil___lambda__1___closed__3 = _init_l_Lean_PrettyPrinter_Delaborator_delabNil___lambda__1___closed__3(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabNil___lambda__1___closed__3); +l_Lean_PrettyPrinter_Delaborator_delabNil___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabNil___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabNil___closed__1); +l_Lean_PrettyPrinter_Delaborator_delabNil___closed__2 = _init_l_Lean_PrettyPrinter_Delaborator_delabNil___closed__2(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabNil___closed__2); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabNil___closed__1 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabNil___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabNil___closed__1); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabNil___closed__2 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabNil___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabNil___closed__2); +res = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabNil(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_PrettyPrinter_Delaborator_delabConsList___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabConsList___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabConsList___closed__1); +l_Lean_PrettyPrinter_Delaborator_delabConsList___closed__2 = _init_l_Lean_PrettyPrinter_Delaborator_delabConsList___closed__2(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabConsList___closed__2); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabConsList___closed__1 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabConsList___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabConsList___closed__1); +res = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabConsList(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_PrettyPrinter_Delaborator_delabListToArray___lambda__1___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabListToArray___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabListToArray___lambda__1___closed__1); +l_Lean_PrettyPrinter_Delaborator_delabListToArray___lambda__1___closed__2 = _init_l_Lean_PrettyPrinter_Delaborator_delabListToArray___lambda__1___closed__2(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabListToArray___lambda__1___closed__2); +l_Lean_PrettyPrinter_Delaborator_delabListToArray___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabListToArray___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabListToArray___closed__1); +l_Lean_PrettyPrinter_Delaborator_delabListToArray___closed__2 = _init_l_Lean_PrettyPrinter_Delaborator_delabListToArray___closed__2(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabListToArray___closed__2); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabListToArray___closed__1 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabListToArray___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabListToArray___closed__1); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabListToArray___closed__2 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabListToArray___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabListToArray___closed__2); +res = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabListToArray(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_PrettyPrinter_Delaborator_delabNamedPattern___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabNamedPattern___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabNamedPattern___closed__1); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabNamedPattern___closed__1 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabNamedPattern___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabNamedPattern___closed__1); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabNamedPattern___closed__2 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabNamedPattern___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabNamedPattern___closed__2); +res = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabNamedPattern(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_PrettyPrinter_Delaborator_delabDoElems_delabAndRet___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabDoElems_delabAndRet___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabDoElems_delabAndRet___closed__1); +l_Lean_PrettyPrinter_Delaborator_delabDoElems_delabAndRet___closed__2 = _init_l_Lean_PrettyPrinter_Delaborator_delabDoElems_delabAndRet___closed__2(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabDoElems_delabAndRet___closed__2); +l_Lean_PrettyPrinter_Delaborator_delabDoElems___lambda__1___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabDoElems___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabDoElems___lambda__1___closed__1); +l_Lean_PrettyPrinter_Delaborator_delabDoElems___lambda__1___closed__2 = _init_l_Lean_PrettyPrinter_Delaborator_delabDoElems___lambda__1___closed__2(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabDoElems___lambda__1___closed__2); +l_Lean_PrettyPrinter_Delaborator_delabDoElems___lambda__1___closed__3 = _init_l_Lean_PrettyPrinter_Delaborator_delabDoElems___lambda__1___closed__3(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabDoElems___lambda__1___closed__3); +l_Lean_PrettyPrinter_Delaborator_delabDoElems___lambda__2___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabDoElems___lambda__2___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabDoElems___lambda__2___closed__1); +l_Lean_PrettyPrinter_Delaborator_delabDoElems___lambda__4___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabDoElems___lambda__4___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabDoElems___lambda__4___closed__1); +l_Lean_PrettyPrinter_Delaborator_delabDoElems___lambda__4___closed__2 = _init_l_Lean_PrettyPrinter_Delaborator_delabDoElems___lambda__4___closed__2(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabDoElems___lambda__4___closed__2); +l_Lean_PrettyPrinter_Delaborator_delabDoElems___lambda__4___closed__3 = _init_l_Lean_PrettyPrinter_Delaborator_delabDoElems___lambda__4___closed__3(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabDoElems___lambda__4___closed__3); +l_Lean_PrettyPrinter_Delaborator_delabDoElems___lambda__4___closed__4 = _init_l_Lean_PrettyPrinter_Delaborator_delabDoElems___lambda__4___closed__4(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabDoElems___lambda__4___closed__4); +l_Lean_PrettyPrinter_Delaborator_delabDoElems___lambda__4___closed__5 = _init_l_Lean_PrettyPrinter_Delaborator_delabDoElems___lambda__4___closed__5(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabDoElems___lambda__4___closed__5); +l_Lean_PrettyPrinter_Delaborator_delabDoElems___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabDoElems___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabDoElems___closed__1); +l_Lean_PrettyPrinter_Delaborator_delabDoElems___closed__2 = _init_l_Lean_PrettyPrinter_Delaborator_delabDoElems___closed__2(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabDoElems___closed__2); +l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_delabDo___spec__1___closed__1 = _init_l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_delabDo___spec__1___closed__1(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_delabDo___spec__1___closed__1); +l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_delabDo___spec__1___closed__2 = _init_l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_delabDo___spec__1___closed__2(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_delabDo___spec__1___closed__2); +l_Lean_PrettyPrinter_Delaborator_delabDo___lambda__1___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabDo___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabDo___lambda__1___closed__1); +l_Lean_PrettyPrinter_Delaborator_delabDo___lambda__1___closed__2 = _init_l_Lean_PrettyPrinter_Delaborator_delabDo___lambda__1___closed__2(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabDo___lambda__1___closed__2); +l_Lean_PrettyPrinter_Delaborator_delabDo___lambda__1___closed__3 = _init_l_Lean_PrettyPrinter_Delaborator_delabDo___lambda__1___closed__3(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabDo___lambda__1___closed__3); +l_Lean_PrettyPrinter_Delaborator_delabDo___lambda__1___closed__4 = _init_l_Lean_PrettyPrinter_Delaborator_delabDo___lambda__1___closed__4(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabDo___lambda__1___closed__4); +l_Lean_PrettyPrinter_Delaborator_delabDo___lambda__1___closed__5 = _init_l_Lean_PrettyPrinter_Delaborator_delabDo___lambda__1___closed__5(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabDo___lambda__1___closed__5); +l_Lean_PrettyPrinter_Delaborator_delabDo___lambda__1___closed__6 = _init_l_Lean_PrettyPrinter_Delaborator_delabDo___lambda__1___closed__6(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabDo___lambda__1___closed__6); +l_Lean_PrettyPrinter_Delaborator_delabDo___lambda__2___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabDo___lambda__2___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabDo___lambda__2___closed__1); +l_Lean_PrettyPrinter_Delaborator_delabDo___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabDo___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabDo___closed__1); +l_Lean_PrettyPrinter_Delaborator_delabDo___closed__2 = _init_l_Lean_PrettyPrinter_Delaborator_delabDo___closed__2(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabDo___closed__2); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabDo___closed__1 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabDo___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabDo___closed__1); +res = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabDo(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)); +} +#ifdef __cplusplus +} +#endif diff --git a/stage0/stdlib/Lean/Server/ServerBin.c b/stage0/stdlib/Lean/Server/ServerBin.c new file mode 100644 index 0000000000..edda8e79fa --- /dev/null +++ b/stage0/stdlib/Lean/Server/ServerBin.c @@ -0,0 +1,330 @@ +// Lean compiler output +// Module: Lean.Server.ServerBin +// Imports: Init Init.System.IO Lean.Server +#include +#if defined(__clang__) +#pragma clang diagnostic ignored "-Wunused-parameter" +#pragma clang diagnostic ignored "-Wunused-label" +#elif defined(__GNUC__) && !defined(__CLANG__) +#pragma GCC diagnostic ignored "-Wunused-parameter" +#pragma GCC diagnostic ignored "-Wunused-label" +#pragma GCC diagnostic ignored "-Wunused-but-set-variable" +#endif +#ifdef __cplusplus +extern "C" { +#endif +lean_object* lean_get_stdin(lean_object*); +lean_object* lean_io_error_to_string(lean_object*); +lean_object* _lean_main(lean_object*, lean_object*); +lean_object* lean_get_stderr(lean_object*); +lean_object* l_main___boxed__const__1; +lean_object* l_IO_getStdin___at_main___spec__1(lean_object*); +lean_object* lean_init_search_path(lean_object*, lean_object*); +lean_object* lean_get_stdout(lean_object*); +lean_object* l_IO_FS_Stream_putStrLn___at_Lean_Server_Test_runWithInputFile___spec__1(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_initAndRunServer(lean_object*, lean_object*, lean_object*); +lean_object* l_IO_getStdin___at_main___spec__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_get_stdin(x_1); +return x_2; +} +} +static lean_object* _init_l_main___boxed__const__1() { +_start: +{ +uint32_t x_1; lean_object* x_2; +x_1 = 0; +x_2 = lean_box_uint32(x_1); +return x_2; +} +} +lean_object* _lean_main(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +lean_dec(x_1); +x_3 = lean_get_stdin(x_2); +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_4 = lean_ctor_get(x_3, 0); +lean_inc(x_4); +x_5 = lean_ctor_get(x_3, 1); +lean_inc(x_5); +lean_dec(x_3); +x_6 = lean_get_stdout(x_5); +if (lean_obj_tag(x_6) == 0) +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = lean_ctor_get(x_6, 0); +lean_inc(x_7); +x_8 = lean_ctor_get(x_6, 1); +lean_inc(x_8); +lean_dec(x_6); +x_9 = lean_get_stderr(x_8); +if (lean_obj_tag(x_9) == 0) +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_9, 1); +lean_inc(x_11); +lean_dec(x_9); +x_12 = lean_box(0); +x_13 = lean_init_search_path(x_12, x_11); +if (lean_obj_tag(x_13) == 0) +{ +lean_object* x_14; lean_object* x_15; +x_14 = lean_ctor_get(x_13, 1); +lean_inc(x_14); +lean_dec(x_13); +x_15 = l_Lean_Server_initAndRunServer(x_4, x_7, x_14); +if (lean_obj_tag(x_15) == 0) +{ +uint8_t x_16; +lean_dec(x_10); +x_16 = !lean_is_exclusive(x_15); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; +x_17 = lean_ctor_get(x_15, 0); +lean_dec(x_17); +x_18 = l_main___boxed__const__1; +lean_ctor_set(x_15, 0, x_18); +return x_15; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_ctor_get(x_15, 1); +lean_inc(x_19); +lean_dec(x_15); +x_20 = l_main___boxed__const__1; +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_20); +lean_ctor_set(x_21, 1, x_19); +return x_21; +} +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_22 = lean_ctor_get(x_15, 0); +lean_inc(x_22); +x_23 = lean_ctor_get(x_15, 1); +lean_inc(x_23); +lean_dec(x_15); +x_24 = lean_io_error_to_string(x_22); +x_25 = l_IO_FS_Stream_putStrLn___at_Lean_Server_Test_runWithInputFile___spec__1(x_10, x_24, x_23); +if (lean_obj_tag(x_25) == 0) +{ +uint8_t x_26; +x_26 = !lean_is_exclusive(x_25); +if (x_26 == 0) +{ +lean_object* x_27; lean_object* x_28; +x_27 = lean_ctor_get(x_25, 0); +lean_dec(x_27); +x_28 = l_main___boxed__const__1; +lean_ctor_set(x_25, 0, x_28); +return x_25; +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_25, 1); +lean_inc(x_29); +lean_dec(x_25); +x_30 = l_main___boxed__const__1; +x_31 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_31, 0, x_30); +lean_ctor_set(x_31, 1, x_29); +return x_31; +} +} +else +{ +uint8_t x_32; +x_32 = !lean_is_exclusive(x_25); +if (x_32 == 0) +{ +return x_25; +} +else +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_33 = lean_ctor_get(x_25, 0); +x_34 = lean_ctor_get(x_25, 1); +lean_inc(x_34); +lean_inc(x_33); +lean_dec(x_25); +x_35 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_35, 0, x_33); +lean_ctor_set(x_35, 1, x_34); +return x_35; +} +} +} +} +else +{ +uint8_t x_36; +lean_dec(x_10); +lean_dec(x_7); +lean_dec(x_4); +x_36 = !lean_is_exclusive(x_13); +if (x_36 == 0) +{ +return x_13; +} +else +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_37 = lean_ctor_get(x_13, 0); +x_38 = lean_ctor_get(x_13, 1); +lean_inc(x_38); +lean_inc(x_37); +lean_dec(x_13); +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; +} +} +} +else +{ +uint8_t x_40; +lean_dec(x_7); +lean_dec(x_4); +x_40 = !lean_is_exclusive(x_9); +if (x_40 == 0) +{ +return x_9; +} +else +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_41 = lean_ctor_get(x_9, 0); +x_42 = lean_ctor_get(x_9, 1); +lean_inc(x_42); +lean_inc(x_41); +lean_dec(x_9); +x_43 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_43, 0, x_41); +lean_ctor_set(x_43, 1, x_42); +return x_43; +} +} +} +else +{ +uint8_t x_44; +lean_dec(x_4); +x_44 = !lean_is_exclusive(x_6); +if (x_44 == 0) +{ +return x_6; +} +else +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_45 = lean_ctor_get(x_6, 0); +x_46 = lean_ctor_get(x_6, 1); +lean_inc(x_46); +lean_inc(x_45); +lean_dec(x_6); +x_47 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_47, 0, x_45); +lean_ctor_set(x_47, 1, x_46); +return x_47; +} +} +} +else +{ +uint8_t x_48; +x_48 = !lean_is_exclusive(x_3); +if (x_48 == 0) +{ +return x_3; +} +else +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_49 = lean_ctor_get(x_3, 0); +x_50 = lean_ctor_get(x_3, 1); +lean_inc(x_50); +lean_inc(x_49); +lean_dec(x_3); +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; +} +} +} +} +lean_object* initialize_Init(lean_object*); +lean_object* initialize_Init_System_IO(lean_object*); +lean_object* initialize_Lean_Server(lean_object*); +static bool _G_initialized = false; +lean_object* initialize_Lean_Server_ServerBin(lean_object* w) { +lean_object * res; +if (_G_initialized) return lean_io_result_mk_ok(lean_box(0)); +_G_initialized = true; +res = initialize_Init(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Init_System_IO(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Server(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_main___boxed__const__1 = _init_l_main___boxed__const__1(); +lean_mark_persistent(l_main___boxed__const__1); +return lean_io_result_mk_ok(lean_box(0)); +} +void lean_initialize(); + + #if defined(WIN32) || defined(_WIN32) + #include + #endif + + int main(int argc, char ** argv) { + #if defined(WIN32) || defined(_WIN32) + SetErrorMode(SEM_FAILCRITICALERRORS); + #endif + lean_object* in; lean_object* res; +lean_initialize(); +res = initialize_Lean_Server_ServerBin(lean_io_mk_world()); +lean_io_mark_end_initialization(); +if (lean_io_result_is_ok(res)) { +lean_dec_ref(res); +lean_init_task_manager(); +in = lean_box(0); +int i = argc; +while (i > 1) { + lean_object* n; + i--; + n = lean_alloc_ctor(1,2,0); lean_ctor_set(n, 0, lean_mk_string(argv[i])); lean_ctor_set(n, 1, in); + in = n; +} +res = _lean_main(in, lean_io_mk_world()); +} +if (lean_io_result_is_ok(res)) { + int ret = lean_unbox(lean_io_result_get_value(res)); + lean_dec_ref(res); + return ret; +} else { + lean_io_result_show_error(res); + lean_dec_ref(res); + return 1; +} +} +#ifdef __cplusplus +} +#endif