Documentation

Lean.Meta.Tactic.Constructor

def Lean.MVarId.constructor (mvarId : Lean.MVarId) (cfg : optParam Lean.Meta.ApplyConfig { newGoals := Lean.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
    @[deprecated Lean.MVarId.constructor]
    def Lean.Meta.constructor (mvarId : Lean.MVarId) (cfg : optParam Lean.Meta.ApplyConfig { newGoals := Lean.Meta.ApplyNewGoals.nonDependentFirst, synthAssignedInstances := true, allowSynthFailures := false, approx := true }) :
    Equations
    Instances For
      Equations
      • One or more equations did not get rendered due to their size.
      Instances For
        @[deprecated Lean.MVarId.existsIntro]
        Equations
        Instances For