Documentation

Lean.Meta.Match.SimpH

def Lean.Meta.Match.simpH (mvarId : MVarId) (numEqs : Nat) :

Like simpH?, but works directly on a goal corresponding to the unsimplified equational theorem hypothesis, and either closes it or returns a residual goal whose type is the simplified equational theorem hypothesis.

Equations
    Instances For

      Auxiliary method for simplifying equational theorem hypotheses.

      Recall that each equation contains additional hypotheses to ensure the associated case was not taken by previous cases. We have one hypothesis for each previous case.

      Equations
        Instances For