The areas / V34. The tactics of Mathlib
Mathlib.Tactic.Constructor
2 declarations. Mathlib docs · Source
The fconstructor and econstructor tactics
The fconstructor and econstructor tactics are variants of the constructor tactic in Lean core,
except that
fconstructordoes not reorder goalseconstructoradds only non-dependent premises as new goals.
def tacticFconstructor E1 #
Lean.ParserDescr
fconstructor, on a goal which is an inductive type, solves it by applying the first matching
constructor, creating new goals for all arguments to the constructor in the same order.
This is like constructor except the goals are not reordered.
def tacticEconstructor E1 #
Lean.ParserDescr
econstructor, on a goal which is an inductive type, solves it by applying the first matching
constructor, creating new goals for non-dependent arguments to the constructor in the same order.
This is like constructor except only non-dependent arguments are shown as new goals.