Documentation

GaudisCrypt.Attic.DetermFootprint

DetermFootprint — LEGACY deterministic range theory (quarantined) #

Deprecated / quarantined. The deterministic (Function.End-based) lens-range theory, superseded by Footprint (sub-probability kernels — countability-free, self-range holds). Retained only for CounterExamples and not-yet-migrated consumers. New code: use Footprint.

structure DetermFootprint (m : Type u_1) :
Type u_1
Instances For
    @[implicit_reducible]
    Equations
    def GaudisCrypt.Lens.range {a : Type u_1} {m : Type u_2} (lens : Lens a m) :
    Equations
    Instances For
      theorem DetermFootprint.complement_range {a : Type u_1} {m : Type u_2} (lens : GaudisCrypt.Lens a m) :
      lens.compl.range = lens.rangeᶜ
      def DetermFootprint.from {m : Type u_1} (generators : Set (Function.End m)) :
      Equations
      Instances For
        @[implicit_reducible]
        Equations
        @[implicit_reducible]
        Equations
        • One or more equations did not get rendered due to their size.
        @[implicit_reducible]
        Equations

        Disjoint lenses have ranges contained in each other's complements: if disjoint v L, then every v-update lives in L.compl.range.

        @[implicit_reducible]
        Equations
        • One or more equations did not get rendered due to their size.
        @[implicit_reducible]
        Equations
        • One or more equations did not get rendered due to their size.
        @[implicit_reducible]
        Equations
        • One or more equations did not get rendered due to their size.
        noncomputable def LensIn.antisymmOrderEmb {m : Type u_1} [Nonempty m] :
        Equations
        • One or more equations did not get rendered due to their size.
        Instances For

          Orbits and the global getter #

          The R-orbit equivalence on m: s ~ s' iff one is reachable from the other via R-updates (the equivalence closure of the directed orbit relation, since R is a monoid not a group).

          Equations
          Instances For

            The "global getter" of a DetermFootprint: the quotient projection onto orbit-classes.

            Reading: two states give the same getter value iff they are in the same R-orbit.

            For a lens-derived range R = l.range, two states are in the same R-orbit iff they differ only in l's content — so this getter encodes the complement of l.

            Convention: glob A is typically "what A touches", i.e. the commutant's orbits, so one writes glob A := A.range.commutant.global_getter (commutant = Rᶜ). Equivalently glob A := A.rangeᶜ.global_getter.

            Equations
            Instances For

              The "touched" getter: the same construction applied to the commutant. For a lens-derived range R = l.range, this is isomorphic to l.toGetter.

              Equations
              Instances For