Functionality related to tactic-mode and term-mode goals with embedded CodeWithInfos.
- The user-friendly name for each hypothesis. Note that these are not - Names: they are pretty-printed and do not remember the macro scopes.
- fvarIds : Array Lean.FVarIdThe ids for each variable. Should have the same length as names.
- type : Lean.Widget.CodeWithInfos
- val? : Option Lean.Widget.CodeWithInfosThe value, in the case the hypothesis is a let-binder.
- The hypothesis is a typeclass instance. 
- The hypothesis is a type. 
- If true, the hypothesis was not present on the previous tactic state. Only present in tactic-mode goals. 
- If true, the hypothesis will be removed in the next tactic state. Only present in tactic-mode goals. 
In the infoview, if multiple hypotheses h₁, h₂ have the same type α, they are rendered
as h₁ h₂ : α. We call this a 'hypothesis bundle'. We use none instead of some false for
booleans to save space in the json encoding.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Equations
- One or more equations did not get rendered due to their size.
- type : Lean.Widget.CodeWithInfosThe target type. 
- Metavariable context that the goal is well-typed in. 
The shared parts of interactive term-mode and tactic-mode goals.
Instances For
- type : Lean.Widget.CodeWithInfos
- The name - fooin- case foo, if any.
- goalPrefix : StringThe symbol to display before the target type. Usually ⊢butconvgoals use∣and it could be extended.
- mvarId : Lean.MVarIdIdentifies the goal (ie with the unique name of the MVar that it is a goal for.) 
- If true, the goal was not present on the previous tactic state. 
- If true, the goal will be removed on the next tactic state. 
An interactive tactic-mode goal.
Instances For
- type : Lean.Widget.CodeWithInfos
- range : Lean.Lsp.RangeSyntactic range of the term. 
- Information about the term whose type is the term-mode goal. 
An interactive term-mode goal.
Instances For
Equations
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- Lean.Widget.InteractiveGoalCore.pretty.addLine fmt = if Std.Format.isNil fmt = true then fmt else fmt ++ Lean.Format.line
Instances For
Equations
- Lean.Widget.InteractiveGoal.pretty g = Lean.Widget.InteractiveGoalCore.pretty g.toInteractiveGoalCore g.userName? g.goalPrefix
Instances For
Equations
- Lean.Widget.InteractiveTermGoal.pretty g = Lean.Widget.InteractiveGoalCore.pretty g.toInteractiveGoalCore none "⊢ "
Instances For
- goals : Array Lean.Widget.InteractiveGoal
Instances For
Equations
Equations
- Lean.Widget.InteractiveGoals.append l r = { goals := l.goals ++ r.goals }
Instances For
Equations
- Lean.Widget.instEmptyCollectionInteractiveGoals = { emptyCollection := { goals := #[] } }
Extend an array of hypothesis bundles with another bundle.
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
A variant of Meta.ppGoal which preserves subexpression information for interactivity.
Equations
- One or more equations did not get rendered due to their size.