Documentation

Mathlib.Tactic.Constructor

The fconstructor and econstructor tactics #

The fconstructor and econstructor tactics are variants of the constructor tactic in Lean core, except that

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.

Equations
Instances For

    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.

    Equations
    Instances For