Explode command: datatypes #
This file contains datatypes used by the #explode command and their associated methods.
How to display pipes (│) for this entry in the Fitch table .
- sintro : Status
├Start intro (top-level) - intro : Status
Entry.depth*│+┌Normal intro - cintro : Status
Entry.depth*│+├Continuation intro - lam : Status
Entry.depth*│ - reg : Status
Entry.depth*│
Instances For
The row in the Fitch table.
- type : Lean.MessageData
A type of this expression as a
MessageData. Make sure to useaddMessageContext. - line : Option â„•
The row number, starting from
0. This is set byEntries.add. - depth : â„•
How many
ifs (aka lambda-abstractions) this row is nested under. - status : Status
What
Statusthis entry has - this only affects how│s are displayed. - thm : Lean.MessageData
What to display in the "theorem applied" column. Make sure to use
addMessageContextif needed. - deps : List (Option â„•)
Which other lines (aka rows) this row depends on.
nonemeans that the dependency has been filtered out of the table. - useAsDep : Bool
Whether or not to use this in future deps lists. Generally controlled by the
selectfunction passed toexplodeCore. Exception:∀Imay ignore this for introduced hypotheses.
Instances For
Find a row where Entry.expr == e.
Instances For
Length of our entries.
Instances For
Add the entry unless it already exists. Sets the line field to the next
available value.
Instances For
Add a pre-existing entry to the ExprMap for an additional expression.
This is used by let bindings where expr is an fvar.