Documentation

EqLift.Tactic.Cache

Cache for the lifting/unlifting transformations #

Transforming an equality repeatedly synthesizes the same instances (MeasurableSpace X, IsSFiniteKernel κ, ...) and rebuilds the same terms (measurable equivalences, types of kernels, ...). This file provides a cache, reset at the beginning of each transformation, that memoizes these computations.

Main declarations #

structure TransformCache :

The cache of the lifting/unlifting transformations.

Instances For

    Empties the cache. To be called at the beginning of each transformation.

    Equations
    Instances For

      synthInstance with memoization.

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

        inferType with memoization.

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

          Memoizes the computation f, keyed by tag and key.

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