Documentation

EqLift.Tactic.Utils

Lift and Unlift utilities #

This file provides utility functions for lifting and unlifting equalities.

@[reducible, inline]

A type alias for lifting/unlifting functions.

Equations
Instances For
    @[reducible, inline]

    A type alias for finisher functions that construct the final proof of equality after lifting/ unlifting inner expressions.

    Equations
    Instances For

      Transforms an expression using the registered lifting/unlifting functions given in impl_ref. Returns the first successful transformation along with the updated list of proofs.

      Equations
      • One or more equations did not get rendered due to their size.
      Instances For
        def Lean.MVarId.nthRewrite (mvarId : MVarId) (n : Nat) (heq : Expr) :

        Rewrites the type of mvarId at the n-th occurrence using heq.

        Equations
        Instances For
          def constructProof (eqProofType lhs rhs lhs_t rhs_t : Lean.Expr) (maxLvl : Lean.Level) (proofs : List Lean.Expr) (finisher_ref : IO.Ref (Array finisherMetadata)) :

          Constructs a proof of equality between the original and transformed expressions using the provided proofs and finisher functions.

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

            Lifts or unlifts an equality expression by transforming both sides using the registered lifting/ unlifting functions. Returns the transformed equality and a proof of equality between the original and transformed expressions.

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