Documentation

Lean.Elab.PreDefinition.EqnsUtils

This module contains helpers useful to prove unfolding and/or equational theorems.

def Lean.Elab.Eqns.simpIf? (mvarId : MVarId) (useNewSemantics : Bool := false) :

Simplify if-then-expressions in the goal target. If useNewSemantics is true, the flag backward.split is ignored.

Instances For

    Try to close goal using rfl with smart unfolding turned off.

    Instances For

      Delta reduce the equation left-hand-side

      Instances For

        Apply whnfR to lhs, return none if lhs was not modified

        Instances For