Documentation

Lean.Meta.Tactic.Constructor

When the goal mvarId type is an inductive datatype, constructorCore calls apply with the first matching constructor.

Along with the resulting goals, it returns the constructors that apply succeeds with, in declaration order. When findAll is false, the search stops at the first match, so at most one constructor is reported.

Instances For

    When the goal mvarId type is an inductive datatype, constructor calls apply with the first matching constructor.

    Instances For
      Instances For