Documentation

ReflectiveSubsystems.Persistence.AdvanceGate

The advance gate: a reading is admissible when one map of a class advances it #

The intertwining square Intertwines U F โ„“ ([Guests] ยง2 Definition 2.2, Remark 2.4(a)) says that a world U, read through a family โ„“, runs a law F on the readings. This module prices a different question about the same data: can the guest's state k steps later be computed from the present, by one map of a prescribed class, uniformly in the time? A reading passes the advance gate over a class ๐’ž (AdvanceGate) when one A โˆˆ ๐’ž returns โ„“ (t + k) (U^[k] s) from k, the present guest state โ„“ t s, the present host state s and the host's state U^[k] s k steps later. The host's own flow is free to the gate: the map is handed the host's later state and does not pay for it. The class is an arbitrary predicate on such maps; closure under composition enters only as the named hypothesis of AdvanceGate.law_iterates.

This module is [Guests] ยง2 Proposition 2.6: its clauses (i) and (ii), the obstruction and the advance gate, and its clause (iii), the reading that forgets at time zero.

Main results #

The definition, and the telescoping from any frame #

theorem ReflectiveSubsystems.Intertwines.iterate_from {X : Type u_1} {M : Type u_2} {U : X โ†’ X} {F : M โ†’ M} {โ„“ : โ„• โ†’ X โ†’ M} (h : Intertwines U F โ„“) (t k : โ„•) (s : X) :
โ„“ (t + k) (U^[k] s) = F^[k] (โ„“ t s)

Telescoping a square from an arbitrary frame: k steps of the world, read through frame t + k, are k steps of the law applied to frame t's reading. Intertwines.iterate is the case t = 0.

def ReflectiveSubsystems.AdvanceGate {X : Type u_1} {M : Type u_2} (๐’ž : (โ„• โ†’ M โ†’ X โ†’ X โ†’ M) โ†’ Prop) (U : X โ†’ X) (โ„“ : โ„• โ†’ X โ†’ M) :

The advance gate over a class ๐’ž: one map A of the class returns the guest's state k steps later from k, the present guest state, the present host state and the host's state k steps later, uniformly in the time t. The host's later state is an argument of A, so the host's own flow costs the gate nothing.

Equations
Instances For

    The verdicts #

    theorem ReflectiveSubsystems.advanceGate_fixed {X : Type u_1} {M : Type u_2} {๐’ž : (โ„• โ†’ M โ†’ X โ†’ X โ†’ M) โ†’ Prop} (U : X โ†’ X) (โ„“โ‚€ : X โ†’ M) (h๐’ž : ๐’ž fun (x : โ„•) (x_1 : M) (x_2 x_3 : X) => โ„“โ‚€ x_3) :
    AdvanceGate ๐’ž U fun (x : โ„•) => โ„“โ‚€

    A fixed reading passes the gate over every class holding the map that reads the host's later state through it.

    theorem ReflectiveSubsystems.advanceGate_copy {X : Type u_1} {๐’ž : (โ„• โ†’ X โ†’ X โ†’ X โ†’ X) โ†’ Prop} (U : X โ†’ X) (h๐’ž : ๐’ž fun (x : โ„•) (x_1 x_2 x_3 : X) => x_3) :
    AdvanceGate ๐’ž U fun (x : โ„•) => id

    The host's copy passes the gate over every class holding the map that returns the host's later state.

    theorem ReflectiveSubsystems.advanceGate_witnessLens {ฮน_J : Type u_3} (ฮบ k : โ„•) (G : Mem (Fin ฮบ) Bool โ†’ Mem (Fin ฮบ) Bool) (ฯ€ : Mem ฮน_J Bool โ†’ Mem ฮน_J Bool) {๐’ž : (โ„• โ†’ Mem (Fin ฮบ) Bool โ†’ Mem (Fin ฮบ ร— Fin (3 ^ k) โŠ• ฮน_J) Bool โ†’ Mem (Fin ฮบ ร— Fin (3 ^ k) โŠ• ฮน_J) Bool โ†’ Mem (Fin ฮบ) Bool) โ†’ Prop} (h๐’ž : ๐’ž fun (x : โ„•) (x_1 : Mem (Fin ฮบ) Bool) (x_2 x_3 : Mem (Fin ฮบ ร— Fin (3 ^ k) โŠ• ฮน_J) Bool) => witnessLens ฮบ k x_3) :
    AdvanceGate ๐’ž (witnessWorld ฮบ k G ฯ€) fun (x : โ„•) => witnessLens ฮบ k

    The witness world's macro reading passes the gate over every class holding the map that reads the host's later state through the reading.

    theorem ReflectiveSubsystems.intertwines_id_emergeLens {n m : โ„•} (U : Fin n โ†’ Fin n) (ฮธ : Fin n โ†’ Fin m) :

    The emergence family is a square with the identity law, over every endofunction of a finite set: from one frame to the next the family's exponent grows by n ! - 1, so one step of the host read one frame later is n ! further steps from the state the present frame reads, and the reading does not change. No surjectivity hypothesis: after n steps every state is in the core, and there U^[n !] is the identity.

    theorem ReflectiveSubsystems.advanceGate_emergeLens {n m : โ„•} {๐’ž : (โ„• โ†’ Fin m โ†’ Fin n โ†’ Fin n โ†’ Fin m) โ†’ Prop} (U : Fin n โ†’ Fin n) (ฮธ : Fin n โ†’ Fin m) (h๐’ž : ๐’ž fun (x : โ„•) (g : Fin m) (x_1 x_2 : Fin n) => g) :
    AdvanceGate ๐’ž U (emergeLens U ฮธ)

    The emergence family passes the gate over every class holding the map that returns the present guest state.

    A host whose flow is in the class hosts only laws whose iterates are #

    theorem ReflectiveSubsystems.AdvanceGate.law_iterates {X : Type u_1} {M : Type u_2} {๐’ž : (โ„• โ†’ M โ†’ X โ†’ X โ†’ M) โ†’ Prop} {๐’Ÿ : (โ„• โ†’ M โ†’ X โ†’ M) โ†’ Prop} {U : X โ†’ X} {F : M โ†’ M} {โ„“ : โ„• โ†’ X โ†’ M} {ฯ† : โ„• โ†’ X โ†’ X} (hฯ† : โˆ€ (k : โ„•) (s : X), ฯ† k s = U^[k] s) (hcomp : โˆ€ (A : โ„• โ†’ M โ†’ X โ†’ X โ†’ M), ๐’ž A โ†’ ๐’Ÿ fun (k : โ„•) (g : M) (s : X) => A k g s (ฯ† k s)) (hint : Intertwines U F โ„“) (hadv : AdvanceGate ๐’ž U โ„“) :
    โˆƒ (B : โ„• โ†’ M โ†’ X โ†’ M), ๐’Ÿ B โˆง โˆ€ (t k : โ„•) (s : X), F^[k] (โ„“ t s) = B k (โ„“ t s) s

    A reading that is a square and passes the gate gives the law's iterates as a map of the class ๐’Ÿ. The host's flow is ฯ†, computed from the exponent (hฯ†); the class ๐’ž composed with that flow lies in ๐’Ÿ (hcomp). Then k steps of the law, applied to the present reading, are one map of ๐’Ÿ of k, the present reading and the present host state.

    theorem ReflectiveSubsystems.AdvanceGate.law_iterates_nonvacuous :
    โˆƒ (ฯ† : โ„• โ†’ โ„• โ†’ โ„•), (โˆ€ (k s : โ„•), ฯ† k s = Nat.succ^[k] s) โˆง (โˆ€ (A : โ„• โ†’ โ„• โ†’ โ„• โ†’ โ„• โ†’ โ„•), (fun (x : โ„• โ†’ โ„• โ†’ โ„• โ†’ โ„• โ†’ โ„•) => True) A โ†’ (fun (x : โ„• โ†’ โ„• โ†’ โ„• โ†’ โ„•) => True) fun (k g s : โ„•) => A k g s (ฯ† k s)) โˆง (Intertwines Nat.succ Nat.succ fun (x : โ„•) => id) โˆง AdvanceGate (fun (x : โ„• โ†’ โ„• โ†’ โ„• โ†’ โ„• โ†’ โ„•) => True) Nat.succ fun (x : โ„•) => id

    The four hypotheses of AdvanceGate.law_iterates hold at once: the successor on the natural numbers read by the identity, with both classes everything.

    The two obstructions: readings carried by the host's flow #

    def ReflectiveSubsystems.flowReading {X : Type u_1} {M : Type u_2} (U : X โ†’ X) (ฮธ : X โ†’ M) (ฯƒ : โ„• โ†’ โ„•) :
    โ„• โ†’ X โ†’ M

    A reading carried by the host's flow along a schedule ฯƒ: at frame t it reads the host through ฮธ after ฯƒ t steps of the flow.

    Equations
    Instances For
      theorem ReflectiveSubsystems.emergeLens_eq_flowReading {n m : โ„•} (U : Fin n โ†’ Fin n) (ฮธ : Fin n โ†’ Fin m) :
      emergeLens U ฮธ = flowReading U ฮธ fun (t : โ„•) => (n.factorial - 1) * t + n

      The emergence family is the flow reading on the schedule (n ! โˆ’ 1) ยท t + n.

      theorem ReflectiveSubsystems.fixed_eq_flowReading {X : Type u_1} {M : Type u_2} (U : X โ†’ X) (ฮธ : X โ†’ M) :
      (fun (x : โ„•) => ฮธ) = flowReading U ฮธ fun (x : โ„•) => 0

      The fixed reading is the flow reading on the zero schedule.

      def ReflectiveSubsystems.ScheduleBlind {X : Type u_1} {M : Type u_2} (V : (X โ†’ X) โ†’ (โ„• โ†’ X โ†’ M) โ†’ Prop) :

      A condition on a host and a reading is schedule-blind when it gives every two flow readings of the same host through the same ฮธ the same verdict, whatever their schedules.

      Equations
      Instances For
        theorem ReflectiveSubsystems.ScheduleBlind.fixed_iff_emergeLens {n m : โ„•} {V : (Fin n โ†’ Fin n) โ†’ (โ„• โ†’ Fin n โ†’ Fin m) โ†’ Prop} (hV : ScheduleBlind V) (U : Fin n โ†’ Fin n) (ฮธ : Fin n โ†’ Fin m) :
        (V U fun (x : โ„•) => ฮธ) โ†” V U (emergeLens U ฮธ)

        A schedule-blind condition gives the fixed reading and the emergence family at one lens the same verdict.

        Over a bijective host the emergence family at the identity lens carries: the host's copy and the guest that carries are the two readings a schedule-blind condition cannot tell apart there.

        theorem ReflectiveSubsystems.clock_import_and_emergence {n m : โ„•} (G : Fin m โ†’ Fin m) (mโ‚€ : Fin m) (hper : G^[n + 1] mโ‚€ = mโ‚€) :
        (Intertwines (โ‡‘(finRotate (n + 1))) G fun (x : โ„•) (j : Fin (n + 1)) => G^[โ†‘j] mโ‚€) โˆง Intertwines (โ‡‘(finRotate (n + 1))) id (emergeLens โ‡‘(finRotate (n + 1)) fun (j : Fin (n + 1)) => G^[โ†‘j] mโ‚€)

        A clock imports its law and the emergence family reads it with the identity law: over the cyclic rotation of n + 1 states, the reading by the orbit of a periodic point of G is a square with the law G, and the emergence family at the same lens is a square with the identity law.

        theorem ReflectiveSubsystems.advanceGate_not_scheduleBlind :
        ยฌScheduleBlind fun (U : Fin 2 โ†’ Fin 2) (โ„“ : โ„• โ†’ Fin 2 โ†’ Fin 2) => AdvanceGate (fun (A : โ„• โ†’ Fin 2 โ†’ Fin 2 โ†’ Fin 2 โ†’ Fin 2) => A = fun (x : โ„•) (g x_1 x_2 : Fin 2) => g) U โ„“

        The advance gate is not schedule-blind. At the swap of Fin 2, with the class holding only the map that returns the present guest state, the emergence family at the identity lens passes and the copy fails.

        The clause that a reading forgets at time zero #

        def ReflectiveSubsystems.ForgetsAtZero {X : Type u_1} {M : Type u_2} (โ„“ : โ„• โ†’ X โ†’ M) :

        A reading forgets at time zero when its map at time zero is not injective.

        Equations
        Instances For

          The host's copy does not forget at time zero: the identity is injective, so the copy is the whole host in the host's own coordinates and not a proper factor of it.

          theorem ReflectiveSubsystems.forgetsAtZero_witnessLens {ฮน_J : Type u_3} [Finite ฮน_J] (ฮบ k : โ„•) (hฮบ : 1 โ‰ค ฮบ) (hk : 1 โ‰ค k) :
          ForgetsAtZero fun (x : โ„•) => witnessLens ฮบ k

          The witness world's macro reading forgets at time zero ([Guests] Theorem 5.1, read by the fixed map witnessLens): it sends the host's states, of which there are 2 ^ (ฮบ * 3 ^ k + c) for c the number of environment cells, onto the 2 ^ ฮบ macro states, and ฮบ * 3 ^ k + c > ฮบ once ฮบ โ‰ฅ 1 and k โ‰ฅ 1.

          The hypotheses of forgetsAtZero_witnessLens hold at once: the witness world with no environment cells, one macro bit and 3 ^ 1 cells per bit forgets at time zero.

          theorem ReflectiveSubsystems.forgetsAtZero_emergeLens_of_not_injective {n m : โ„•} (U : Fin n โ†’ Fin n) (ฮธ : Fin n โ†’ Fin m) (hU : ยฌFunction.Injective U) :

          Over a host that is not injective the emergence family forgets at time zero ([Guests] Theorem 6.1, whatever the frame ฮธ): two distinct states with one image merge at the first step, and n โ‰ฅ 1 steps of the host are taken before the frame reads.

          Over a bijective host the emergence family forgets at time zero exactly when the frame ฮธ is not injective ([Guests] Theorem 6.1): the host's n-th iterate is a bijection, so reading through it leaves injectivity unchanged.

          theorem ReflectiveSubsystems.carries_forgetsAtZero_emergeLens {n m : โ„•} (U : Fin n โ†’ Fin n) (ฮธ : Fin n โ†’ Fin m) (hsurj : Function.Surjective fun (s : Fin n) => ฮธ (U^[n] s)) (hฮธ : ยฌFunction.Injective ฮธ) :

          The emergence family at a frame that is not injective carries and forgets at time zero, over every host ([Guests] Theorem 6.1, and [Guests] ยง2 Definition 2.3 for the guest it makes): the hypothesis of the theorem keeps the frame onto the guest's states, and an injective reading at time zero would make the frame a self-map of a finite set that is onto, hence injective.

          theorem ReflectiveSubsystems.carries_forgetsAtZero_emergeLens_nonvacuous :
          Function.Bijective โ‡‘(finRotate 4) โˆง (Function.Surjective fun (s : Fin 4) => (fun (x : Fin 4) => โŸจโ†‘x % 2, โ‹ฏโŸฉ) ((โ‡‘(finRotate 4))^[4] s)) โˆง ยฌFunction.Injective fun (x : Fin 4) => โŸจโ†‘x % 2, โ‹ฏโŸฉ

          The hypotheses of carries_forgetsAtZero_emergeLens hold at once, over a bijective host: the rotation of four states, read through the frame that keeps the parity of the state and so forgets one bit.

          The guard at natural-number carriers: a clock whose law is outside the class #

          def ReflectiveSubsystems.SizeAdvance (A : โ„• โ†’ โ„• โ†’ โ„• โ†’ โ„• โ†’ โ„•) :

          Size-bounded advance maps: the bit-length of the map's value on the packed input โŸจk, g, s, xโŸฉ is polynomial in the bit-length of the packing.

          Equations
          • One or more equations did not get rendered due to their size.
          Instances For
            def ReflectiveSubsystems.PolyAdvance (A : โ„• โ†’ โ„• โ†’ โ„• โ†’ โ„• โ†’ โ„•) :

            Polynomial-time advance maps: the packed map is computed in time polynomial in the bit-length of its input, with output of polynomial bit-length.

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

              Size-bounded iterate maps: the bit-length of the map's value on the packed input โŸจk, g, sโŸฉ is polynomial in the bit-length of the packing.

              Equations
              Instances For

                A polynomial-time advance map is size-bounded: the output clause of polynomial time.

                The clock with doubling law is a square: over the successor on the natural numbers, reading the state j as 2 ^ j runs the law g โ†ฆ 2 * g.

                The doubling clock fails the advance gate over the size-bounded class: over the successor, no size-bounded map returns 2 ^ (s + k) from k, 2 ^ s, s and s + k. At s = 0 the map would return 2 ^ k, of bit-length k + 1, on an input whose bit-length is linear in that of k; at k = 2 ^ j this contradicts every polynomial bound.

                The doubling clock fails the advance gate over the polynomial-time class, since a polynomial-time map is size-bounded.

                theorem ReflectiveSubsystems.clock_law_iterates {F : โ„• โ†’ โ„•} {โ„“ : โ„• โ†’ โ„• โ†’ โ„•} (hint : Intertwines Nat.succ F โ„“) (hadv : AdvanceGate SizeAdvance Nat.succ โ„“) :
                โˆƒ (B : โ„• โ†’ โ„• โ†’ โ„• โ†’ โ„•), SizeIterate B โˆง โˆ€ (t k s : โ„•), F^[k] (โ„“ t s) = B k (โ„“ t s) s

                Over the successor on the natural numbers, a square that passes the advance gate over the size-bounded class has size-bounded iterates of its law.

                The hypotheses of clock_law_iterates hold at once: the successor read by the identity, a square with the successor as its law, passes the advance gate over the size-bounded class.

                Imports within a class of lenses: a guest read by a factor map of a class #

                def ReflectiveSubsystems.FactorFrom {X : Type u_1} {M : Type u_2} (๐’ฆ : (X โ†’ M) โ†’ Prop) (U : X โ†’ X) (F : M โ†’ M) (โ„“ : โ„• โ†’ X โ†’ M) (s : X) :

                The guest from s is read by a factor map of the class ๐’ฆ: some ฯ€ โˆˆ ๐’ฆ is a factor map from the world U onto the law F (ฯ€ (U x) = F (ฯ€ x)) that gives the guest's state at time zero at s.

                Equations
                Instances For
                  def ReflectiveSubsystems.Imports {X : Type u_1} {M : Type u_2} (๐’ฆ : (X โ†’ M) โ†’ Prop) (U : X โ†’ X) (F : M โ†’ M) (โ„“ : โ„• โ†’ X โ†’ M) :

                  A reading that is a square imports its law within the class ๐’ฆ when from some start state no factor map of the class reads the guest.

                  Equations
                  Instances For
                    theorem ReflectiveSubsystems.FactorFrom.trajectory {X : Type u_1} {M : Type u_2} {๐’ฆ : (X โ†’ M) โ†’ Prop} {U : X โ†’ X} {F : M โ†’ M} {โ„“ : โ„• โ†’ X โ†’ M} {s : X} (hint : Intertwines U F โ„“) (h : FactorFrom ๐’ฆ U F โ„“ s) :
                    โˆƒ (ฯ€ : X โ†’ M), ๐’ฆ ฯ€ โˆง โˆ€ (t : โ„•), โ„“ t (U^[t] s) = ฯ€ (U^[t] s)

                    Along the host's trajectory the reading is the factor map: when the reading is a square and a factor map of the class reads the guest from s, the guest's state at every time t is that map applied to the host's state U^[t] s ([Guests] ยง2 Definition 2.2).

                    theorem ReflectiveSubsystems.factorFrom_fixed {X : Type u_1} {M : Type u_2} {๐’ฆ : (X โ†’ M) โ†’ Prop} {U : X โ†’ X} {F : M โ†’ M} {โ„“โ‚€ : X โ†’ M} (h๐’ฆ : ๐’ฆ โ„“โ‚€) (hint : Intertwines U F fun (x : โ„•) => โ„“โ‚€) (s : X) :
                    FactorFrom ๐’ฆ U F (fun (x : โ„•) => โ„“โ‚€) s

                    A fixed reading of the class that is a square is read by itself from every start state: the square of a fixed reading is the statement that it is a factor map.

                    theorem ReflectiveSubsystems.factorFrom_fixed_nonvacuous :
                    (Intertwines Nat.succ Nat.succ fun (x : โ„•) => id) โˆง (fun (x : โ„• โ†’ โ„•) => True) id โˆง โˆ€ (s : โ„•), FactorFrom (fun (x : โ„• โ†’ โ„•) => True) Nat.succ Nat.succ (fun (x : โ„•) => id) s

                    The hypotheses of factorFrom_fixed hold at once: the successor on the natural numbers read by the identity, with the class everything.

                    def ReflectiveSubsystems.clockMod (d e : โ„•) [NeZero d] :
                    Fin (d * e) โ†’ Fin d

                    The coarser clock: the residue of a state of the clock of d * e states modulo d.

                    Equations
                    Instances For
                      theorem ReflectiveSubsystems.intertwines_clockMod (d e : โ„•) [NeZero d] :
                      Intertwines โ‡‘(finRotate (d * e)) โ‡‘(finRotate d) fun (x : โ„•) => clockMod d e

                      The clock of d * e states read modulo d is a square with the rotation of d states.

                      theorem ReflectiveSubsystems.factorFrom_clockMod {d e : โ„•} [NeZero d] {๐’ฆ : (Fin (d * e) โ†’ Fin d) โ†’ Prop} (h๐’ฆ : ๐’ฆ (clockMod d e)) (s : Fin (d * e)) :
                      FactorFrom ๐’ฆ (โ‡‘(finRotate (d * e))) (โ‡‘(finRotate d)) (fun (x : โ„•) => clockMod d e) s

                      The coarser clock is read by a factor map of any class holding it, from every start state.

                      Size-bounded readings: the bit-length of the map's value at N is polynomial in the bit-length of N.

                      Equations
                      Instances For
                        theorem ReflectiveSubsystems.factorFrom_clock_doubling (s : โ„•) :
                        FactorFrom (fun (x : โ„• โ†’ โ„•) => True) Nat.succ (fun (g : โ„•) => 2 * g) (fun (x j : โ„•) => 2 ^ j) s

                        The doubling law over the successor is read by j โ†ฆ 2 ^ j as a factor map, over the class of all maps, from every start state.

                        No size-bounded factor map reads the doubling clock, from any start state: a factor map with value 2 ^ s at s has value 2 ^ (s + i) at s + i, whose bit-length is s + i + 1 against an argument of bit-length logarithmic in i, which contradicts every polynomial bound.

                        The doubling clock imports its law within the size-bounded readings: it is a square over the successor, and from every start state no size-bounded factor map reads it.

                        theorem ReflectiveSubsystems.factorFrom_copy {X : Type u_1} {๐’ฆ : (X โ†’ X) โ†’ Prop} (h๐’ฆ : ๐’ฆ id) (U : X โ†’ X) (s : X) :
                        FactorFrom ๐’ฆ U U (fun (x : โ„•) => id) s

                        The host's copy is read by the identity, a factor map of any class holding it, from every start state.

                        theorem ReflectiveSubsystems.factorFrom_witnessLens {ฮน_J : Type u_3} (ฮบ k : โ„•) (G : Mem (Fin ฮบ) Bool โ†’ Mem (Fin ฮบ) Bool) (ฯ€ : Mem ฮน_J Bool โ†’ Mem ฮน_J Bool) {๐’ฆ : (Mem (Fin ฮบ ร— Fin (3 ^ k) โŠ• ฮน_J) Bool โ†’ Mem (Fin ฮบ) Bool) โ†’ Prop} (h๐’ฆ : ๐’ฆ (witnessLens ฮบ k)) (s : Mem (Fin ฮบ ร— Fin (3 ^ k) โŠ• ฮน_J) Bool) :
                        FactorFrom ๐’ฆ (witnessWorld ฮบ k G ฯ€) G (fun (x : โ„•) => witnessLens ฮบ k) s

                        The witness world's macro reading is read by itself as a factor map of any class holding it, from every start state.

                        theorem ReflectiveSubsystems.factorFrom_emergeLens {n m : โ„•} {๐’ฆ : (Fin n โ†’ Fin m) โ†’ Prop} (h๐’ฆ : โˆ€ (c : Fin m), ๐’ฆ fun (x : Fin n) => c) (U : Fin n โ†’ Fin n) (ฮธ : Fin n โ†’ Fin m) (s : Fin n) :
                        FactorFrom ๐’ฆ U id (emergeLens U ฮธ) s

                        The emergence family is read by a constant, since its law is the identity: a class holding every constant map reads it as a factor map from every start state.

                        theorem ReflectiveSubsystems.FactorFrom.iterate_eq_of_periodic {X : Type u_1} {M : Type u_2} {๐’ฆ : (X โ†’ M) โ†’ Prop} {U : X โ†’ X} {F : M โ†’ M} {โ„“ : โ„• โ†’ X โ†’ M} {s : X} (h : FactorFrom ๐’ฆ U F โ„“ s) {p : โ„•} (hp : U^[p] s = s) :
                        F^[p] (โ„“ 0 s) = โ„“ 0 s

                        A factor map returns to its start state's value: when a factor map of a class reads the guest from s and the world returns to s after p steps, the law returns to the guest's state at time zero after p steps, since the factor map sends s = U^[p] s to F^[p] of its value there.

                        theorem ReflectiveSubsystems.FactorFrom.iterate_eq_of_periodic_nonvacuous :
                        FactorFrom (fun (x : Fin 1 โ†’ Fin 1) => True) id id (fun (x : โ„•) => id) 0 โˆง id^[1] 0 = 0 โˆง id^[1] ((fun (x : โ„•) => id) 0 0) = (fun (x : โ„•) => id) 0 0

                        The hypotheses of FactorFrom.iterate_eq_of_periodic hold at once: the identity of a one-element type read by the identity, over the class of all maps, with period 1.

                        theorem ReflectiveSubsystems.imports_realize_of_not_periodic {X : Type u_4} {M : Type u_5} [Finite X] (e : X โ‰ƒ X) (F : M โ†’ M) (โ„“โ‚€ : X โ†’ M) (s : X) (hs : โˆ€ (p : โ„•), 0 < p โ†’ F^[p] (โ„“โ‚€ s) โ‰  โ„“โ‚€ s) (๐’ฆ : (X โ†’ M) โ†’ Prop) :
                        Imports ๐’ฆ (โ‡‘e) F fun (t : โ„•) => F^[t] โˆ˜ โ„“โ‚€ โˆ˜ (โ‡‘e.symm)^[t]

                        A reversible world over a finite type imports every law that does not return: over a permutation of a finite set, the reading t โ†ฆ F^[t] โˆ˜ โ„“โ‚€ โˆ˜ (eโปยน)^[t] of [Guests] ยง2 Remark 2.4(a) is a square, and when the law applied to the start state's reading never returns to it, no factor map of any class reads the guest from that start state: a permutation of a finite set has a finite order, so the world returns to the start state after some positive number of steps (FactorFrom.iterate_eq_of_periodic).

                        theorem ReflectiveSubsystems.imports_realize_finRotate_const (๐’ฆ : (Fin 2 โ†’ Fin 2) โ†’ Prop) :
                        Imports ๐’ฆ (โ‡‘(finRotate 2)) (fun (x : Fin 2) => 0) fun (t : โ„•) => (fun (x : Fin 2) => 0)^[t] โˆ˜ id โˆ˜ (โ‡‘(Equiv.symm (finRotate 2)))^[t]

                        A rotation of two states imports the constant law: the reading of the constant law at 0 of two states over the rotation of two states, within every class of readings.

                        A reading that imports, forgets at time zero and passes the advance gate #

                        The reading of the rotation of two states by the time modulo three: at every frame the constant map at the frame's residue.

                        Equations
                        Instances For

                          The time reading is a square over the rotation of two states, with the rotation of three states as the law.

                          theorem ReflectiveSubsystems.imports_timeReading (๐’ฆ : (Fin 2 โ†’ Fin 3) โ†’ Prop) :
                          Imports ๐’ฆ (โ‡‘(finRotate 2)) (โ‡‘(finRotate 3)) timeReading

                          The time reading imports its law within every class of readings: no map of two states to three states is a factor map from the rotation of two states onto the rotation of three, since two steps of the first are the identity and two steps of the second move every state.

                          The time reading forgets at time zero: its map at time zero is constant on two states.

                          theorem ReflectiveSubsystems.advanceGate_timeReading {๐’ž : (โ„• โ†’ Fin 3 โ†’ Fin 2 โ†’ Fin 2 โ†’ Fin 3) โ†’ Prop} (h๐’ž : ๐’ž fun (k : โ„•) (g : Fin 3) (x x_1 : Fin 2) => (โ‡‘(finRotate 3))^[k] g) :
                          AdvanceGate ๐’ž (โ‡‘(finRotate 2)) timeReading

                          The time reading passes the advance gate over every class holding the map that applies the k-th iterate of the rotation of three states to the present guest state.

                          theorem ReflectiveSubsystems.imports_forgetsAtZero_advanceGate_timeReading (๐’ฆ : (Fin 2 โ†’ Fin 3) โ†’ Prop) {๐’ž : (โ„• โ†’ Fin 3 โ†’ Fin 2 โ†’ Fin 2 โ†’ Fin 3) โ†’ Prop} (h๐’ž : ๐’ž fun (k : โ„•) (g : Fin 3) (x x_1 : Fin 2) => (โ‡‘(finRotate 3))^[k] g) :

                          A reading that imports its law within a class, forgets at time zero and passes the advance gate: the time reading, over any class of readings and any class of advance maps holding the iterates of the rotation of three states.

                          Axiom guards #