Documentation

Lean.Meta.Tactic.Constructor

def Lean.MVarId.constructor (mvarId : MVarId) (cfg : Meta.ApplyConfig := { newGoals := Meta.ApplyNewGoals.nonDependentFirst, synthAssignedInstances := true, allowSynthFailures := false, approx := true }) :

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

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