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

              Delta reduce the equation left-hand-side

              Equations
                Instances For
                  Equations
                    Instances For

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

                      Equations
                        Instances For