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.

Equations
  • One or more equations did not get rendered due to their size.
Instances For

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

    Equations
    Instances For
      Equations
      • One or more equations did not get rendered due to their size.
      Instances For