Documentation

EqLift.Tactic.Kernel.Utils

Kernel lifting utilities #

Utilities for lifting and unlifting kernel expressions, built with Qq.

Main declarations #

Extract (X, Y, u, v) from an expression of type Kernel X Y.

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

    Simplify the maxima max l l of a level, which appear in the universe levels of the products of types living in the same universe Type l.

    Equations
    Instances For

      The universe level w of the carriers of a lifted kernel κ : Kernel X Y: all the carriers of a lifted equality live in Type w.

      Equations
      Instances For
        partial def liftCarrier (w : Lean.Level) (X : Lean.Expr) :
        Lean.MetaM ((x : Lean.Level) × (X : Q(Type x)) × (x_1 : Q(MeasurableSpace «$X»)) × (X' : Q(Type w)) × (x_2 : Q(MeasurableSpace «$X'»)) × Q(«$X'» ≃ᵐ «$X»))

        The lift X' of a measurable space X : Type x to the universe w, together with the MeasurableSpace instances of X and X' and the measurable equivalence X' ≃ᵐ X. Products are lifted componentwise, PUnit to PUnit and the other types to ULift.

        Get the original type from a lifted type. PUnit is unlifted to Unit.

        def unliftCarrier (w : Lean.Level) (X' : Lean.Expr) :
        Lean.MetaM ((X' : Q(Type w)) × (x : Q(MeasurableSpace «$X'»)) × (x_1 : Lean.Level) × (X : Q(Type x_1)) × (x_2 : Q(MeasurableSpace «$X»)) × Q(«$X'» ≃ᵐ «$X»))

        A lifted measurable space X' : Type w with its original space X (see getOriginalType), their MeasurableSpace instances and the measurable equivalence X' ≃ᵐ X of liftCarrier.

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