Documentation

Lean.Elab.PreDefinition.EqnsUtils

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

Equations
Instances For
    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.

    Equations
    Instances For

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

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

        Delta reduce the equation left-hand-side

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

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

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