- env : Lean.Environment
- mctx : Lean.MetavarContext
- lctx : Lean.LocalContext
- opts : Lean.Options
- currNamespace : Lake.Name
- openDecls : List Lean.OpenDecl
Instances For
@[reducible, inline]
Equations
Instances For
A format tree with Elab.Info
annotations.
Each .tag n _
node is annotated with infos[n]
.
This is used to attach semantic data such as expressions
to pretty-printer outputs.
- fmt : Lean.Format
- infos : Lean.PrettyPrinter.InfoPerPos
Instances For
Equations
- Lean.instCoeFormatFormatWithInfos = { coe := fun (fmt : Lean.Format) => { fmt := fmt, infos := ∅ } }
- ppExprWithInfos : Lean.PPContext → Lean.Expr → IO Lean.FormatWithInfos
- ppTerm : Lean.PPContext → Lean.Term → IO Lean.Format
- ppLevel : Lean.PPContext → Lean.Level → IO Lean.Format
- ppGoal : Lean.PPContext → Lean.MVarId → IO Lean.Format
Instances For
Equations
- Lean.instInhabitedPPFns = { default := { ppExprWithInfos := default, ppTerm := default, ppLevel := default, ppGoal := default } }
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- Lean.ppLevel ctx l = (Lean.ppExt.getState ctx.env).ppLevel ctx l
Instances For
Equations
- Lean.ppGoal ctx mvarId = (Lean.ppExt.getState ctx.env).ppGoal ctx mvarId