Documentation

ReflectiveSubsystems.FixedLensCriterion

The fixed-lens factor criterion ([Guests] §2 Proposition 2.5) #

Intertwines.fixed_bijective already shows that a time-independent reading of a reversible host forces the guest law bijective. This file sharpens that dichotomy to a criterion for WHICH bijective laws a fixed lens can realize, entirely in terms of cycle structure.

A fixed reading ℓ intertwining a permutation U with F sends the U-orbit of x onto the F-orbit of ℓ x, and the source orbit's length is a multiple of the image orbit's (Intertwines.minimalPeriod_dvd, Intertwines.orbit_image_eq). Conversely, any assignment of U-orbits to F-orbits respecting that divisibility is realized by transporting a chosen base point along each cycle (Intertwines.exists_fixedLens_of_orbitAssignment) — this is the construction [Inevitability] §5 Remark 5.6 applies to build a fixed, non-injective reading of a decision-shaped guest over a multi-cycle host.

The single-cycle case is the load-bearing corollary: over a host that is one cycle on all of X, a fixed lens forces F transitive on M (Intertwines.transitive_of_singleCycle), so a nontrivial F-invariant partition of M rules out a fixed lens entirely (Intertwines.not_fixedLens_of_invariantPartition) — the bar Remark 5.6 draws against reading a non-degenerate decoupled subsystem through a lens that never moves. Read at the guest's own time scale τ, the permutation that matters is U^τ; zmod_translate_minimalPeriod and zmod_translate_orbitCount record the arithmetic instance Remark 5.6 uses to cross that bar: on ZMod (2^k) under +1, the time scale τ = 2^j produces exactly 2^j cycles of length 2^(k-j) each, one per code block.

The forward half: a fixed reading forces orbit-onto-orbit divisibility #

Along any U-orbit the reading advances lockstep with the law (h.iterate specialized to a constant family), so the ℓ-image of the orbit of x is exactly the F-orbit of ℓ x; the source orbit's length — Function.minimalPeriod U x, standard for a finite permutation (MulAction.minimalPeriod_eq_card) — is then a multiple of the image orbit's.

theorem ReflectiveSubsystems.Intertwines.orbit_image_eq {X : Type u_1} {M : Type u_2} {U : X → X} {F : M → M} {ℓ : X → M} (h : Intertwines U F fun (x : ℕ) => ℓ) (x : X) :
(ℓ '' Set.range fun (j : ℕ) => U^[j] x) = Set.range fun (j : ℕ) => F^[j] (ℓ x)

The image orbit ([Guests] §2 Definition 2.2, Proposition 2.5): a fixed reading carries the U-orbit of x onto exactly the F-orbit of ℓ x.

theorem ReflectiveSubsystems.Intertwines.minimalPeriod_dvd {X : Type u_1} {M : Type u_2} {U : X → X} {F : M → M} {ℓ : X → M} (h : Intertwines U F fun (x : ℕ) => ℓ) (x : X) :

The divisibility criterion ([Guests] §2 Definition 2.2, Proposition 2.5): the image orbit's length divides the source orbit's — the necessary half of the fixed-lens factor criterion.

theorem ReflectiveSubsystems.Intertwines.iUnion_orbit_image_eq_univ {X : Type u_1} {M : Type u_2} {F : M → M} {ℓ : X → M} (hℓ : Function.Surjective ℓ) :
(⋃ (x : X), Set.range fun (j : ℕ) => F^[j] (ℓ x)) = Set.univ

Surjectivity exhausts M ([Guests] §2 Definition 2.2): a reading's own image orbits, ranging over every starting point, cover the whole alphabet.

The converse: transport along the cycles realizes any period-compatible assignment #

Given a target g x for every x, constant along U-orbits and dividing-compatible with them, transporting g's value at a chosen orbit representative forward under F, step for step with U, builds a fixed reading realizing exactly that assignment. The representative and the transport offset are chosen via Equiv.Perm.SameCycle.setoid and Nat.find; both are internal to the construction.

theorem ReflectiveSubsystems.Intertwines.exists_fixedLens_of_orbitAssignment {X : Type u_1} {M : Type u_2} [Finite X] (U : Equiv.Perm X) {F : M → M} {g : X → M} (hg : ∀ (x : X), g (U x) = g x) (hdvd : ∀ (x : X), Function.minimalPeriod F (g x) ∣ Function.minimalPeriod (⇑U) x) (honto : ∀ (m : M), ∃ (x : X) (j : ℕ), F^[j] (g x) = m) :
∃ (ℓ : X → M), Function.Surjective ℓ ∧ Intertwines (⇑U) F fun (x : ℕ) => ℓ

The fixed-lens factor criterion, converse half ([Guests] §2 Definition 2.2, Proposition 2.5): an assignment g of U-orbits to F-orbit basepoints — constant along U-orbits, each image period dividing its source's, and jointly onto M — is realized by a genuine fixed reading, surjective and intertwining U with F. This is the transport construction Remark 5.6 uses to read a guest through a lens that never moves. The construction itself does not assume F injective — but Intertwines.fixed_bijective shows F is bijective automatically whenever M is additionally finite, exactly the regime zmod_translate_minimalPeriod and zmod_translate_orbitCount instantiate: the dichotomy is not evaded, only its fixed-lens half is now realized constructively.

The single-cycle corollary: the load-bearing dichotomy ([Guests] §2 Proposition 2.5) #

Over a host that is one cycle on all of X, a fixed lens has no room to be lossy in a partition-respecting way: reading ℓ(U^j x) = F^j(ℓ x) from a single x already exhausts M, so F must connect every pair of labels. A nontrivial F-invariant partition therefore rules out a fixed lens outright — the bar a non-degenerate decoupled subsystem's code-preserving update forces on any host it survives as a fixed-lens guest of.

theorem ReflectiveSubsystems.Intertwines.transitive_of_singleCycle {X : Type u_1} {M : Type u_2} {U : X → X} {F : M → M} {ℓ : X → M} (hU : ∀ (x y : X), ∃ (j : ℕ), U^[j] x = y) (hℓ : Function.Surjective ℓ) (h : Intertwines U F fun (x : ℕ) => ℓ) (m₁ m₂ : M) :
∃ (j : ℕ), F^[j] m₁ = m₂

Single-cycle forces transitivity ([Guests] §2 Proposition 2.5): if U is one cycle on all of X, a fixed reading forces F to connect every pair of labels in M.

theorem ReflectiveSubsystems.Intertwines.not_fixedLens_of_invariantPartition {X : Type u_1} {M : Type u_2} {U : X → X} {F : M → M} (hU : ∀ (x y : X), ∃ (j : ℕ), U^[j] x = y) (S : Setoid M) (hFS : ∀ (m : M), S m (F m)) {m₁ m₂ : M} (hne : ¬S m₁ m₂) :
¬∃ (ℓ : X → M), Function.Surjective ℓ ∧ Intertwines U F fun (x : ℕ) => ℓ

No fixed lens over a single cycle survives a nontrivial invariant partition ([Guests] §2 Proposition 2.5): if U is one cycle on all of X and M carries an F-invariant equivalence with at least two classes, no fixed reading intertwines U with F at all — stated over an abstract invariant partition, the shape a non-degenerate decoupled subsystem's code/work split instantiates without being built into the statement.

The scale instance: ZMod (2^k) under +1 ([Inevitability] §5 Remark 5.6) #

A reading intertwines at time scale τ, so the permutation that matters is U^τ. On ZMod (2^k) under +1, taking τ = 2^j produces exactly 2^j cycles of length 2^(k-j) — one cycle per code block once j = |s_code|, which is what lets a fixed reading transport a work-memory update along each block without ever touching the code cells.

The orbit length at an arbitrary time scale ([Guests] §2 Proposition 2.5): every cycle of the τ-th power of +1 on ZMod N has length N / gcd(N, τ) — raising the scale acts on a single host cycle by a gcd, exactly the pull the remark's closed form balances.

theorem ReflectiveSubsystems.zmod_translate_minimalPeriod (k j : ℕ) (hj : j ≤ k) (x : ZMod (2 ^ k)) :
Function.minimalPeriod (⇑(Equiv.addRight 1 ^ 2 ^ j)) x = 2 ^ (k - j)

The orbit length at time scale 2^j ([Inevitability] §5 Remark 5.6): every cycle of the 2^j-th power of +1 on ZMod (2^k) has length 2^(k-j), the case of zmod_translate_minimalPeriod_general the remark's decoupled-guest instance uses.

The cycle count at an arbitrary time scale ([Guests] §2 Proposition 2.5): the τ-th power of +1 on ZMod N has exactly gcd(N, τ) cycles — the cosets of the subgroup the surviving offset generates, and the other half of the same gcd split.

The cycle count at time scale 2^j ([Inevitability] §5 Remark 5.6): the 2^j-th power of +1 on ZMod (2^k) has exactly 2^j cycles, the case of zmod_translate_orbitCount_general the remark's decoupled-guest instance uses.

Guard: the divisibility hypothesis is load-bearing #

A concrete refuting instance, held beside Intertwines.exists_fixedLens_of_orbitAssignment: over U a single 2-cycle and F a single 3-cycle, no reading intertwines them at all, since Intertwines.minimalPeriod_dvd would force 3 ∣ 2. Dropping the assignment's divisibility hypothesis would therefore let the converse claim something the forward half already refutes.

theorem ReflectiveSubsystems.guard_orbitAssignment_dvd_load_bearing :
¬∃ (ℓ : ZMod 2 → ZMod 3), ∀ (x : ZMod 2), ℓ (x + 1) = ℓ x + 1

The divisibility hypothesis is load-bearing: a 2-cycle host and a 3-cycle guest law admit no fixed reading whatever, since 3 ∤ 2.

Block-cyclic sufficiency at an explicit scale ([Guests] §2 Proposition 2.5(ii)) #

The remark's own instance of Intertwines.exists_fixedLens_of_orbitAssignment: a guest of c invariant code blocks, each carrying a w-cycle work state, is realized over the single-cycle host ZMod N under +1 at the scale τ = N / w, exactly when w divides N (delivered from above, by the transport) and the blocks fit, c * w ≤ N (forced from below, by surjectivity) — the remark's own reading of its two clauses.

theorem ReflectiveSubsystems.exists_blockCyclic_fixedLens {N c w : ℕ} [NeZero N] (hw : w ∣ N) (hc : 0 < c) (hcw : c * w ≤ N) :
∃ (ℓ : ZMod N → Fin c × ZMod w), Function.Surjective ℓ ∧ Intertwines (⇑(Equiv.addRight 1 ^ (N / w))) (Prod.map id fun (x : ZMod w) => x + 1) fun (x : ℕ) => ℓ

Block-cyclic sufficiency at an explicit scale ([Guests] §2 Proposition 2.5(ii)): over the single-cycle host ZMod N under +1, a work-cycle length w dividing N and fitting c nonempty blocks — c * w ≤ N — realize the block-cyclic guest Fin c × ZMod w as a surjective fixed reading intertwining the host's own N / w-th power. This is the transport construction Intertwines.exists_fixedLens_of_orbitAssignment uses, at the assignment that sends each ZMod N point to its block via reduction mod N / w and a fixed work state — the assignment is the content the remark's closed form prices, not the transport.

The prime-period bar at every scale ([Guests] §2 Proposition 2.5(iii)) #

Over a host that is a single cycle of PRIME length, raising the scale buys the covering half nothing: the remark's own closed form forces ord(F) ∈ {1, N}, i.e. U^τ is either the identity (N ∣ τ) or again a single N-cycle (N ∤ τ, since N prime forces gcd(N,τ)=1) — and the single-cycle case is already not_fixedLens_of_invariantPartition's bar, applied at U^τ in place of U. The identity case needs one more ingredient the abstract dichotomy does not supply on its own: F must actually move something, or the trivial law satisfies every invariant partition vacuously (Decoupling §2.3 names this "memory" case as the triviality its own threshold does not exclude — which is why it is a hypothesis here rather than derived).

theorem ReflectiveSubsystems.Intertwines.not_fixedLens_prime_period_any_scale {X : Type u_1} {M : Type u_2} [Finite X] {U : X → X} {F : M → M} (hU : ∀ (x y : X), ∃ (j : ℕ), U^[j] x = y) {x₀ : X} (hp : Nat.Prime (Function.minimalPeriod U x₀)) (hFid : ∃ (m : M), F m ≠ m) (S : Setoid M) (hFS : ∀ (m : M), S m (F m)) {m₁ m₂ : M} (hne : ¬S m₁ m₂) (τ : ℕ) :
¬∃ (ℓ : X → M), Function.Surjective ℓ ∧ Intertwines U^[τ] F fun (x : ℕ) => ℓ

The prime-period bar survives raising the scale ([Guests] §2 Proposition 2.5(iii)): over a host that is a single cycle of prime length, no surjective fixed reading intertwines U^τ with a law that both moves something and carries a nontrivial invariant partition, at any scale τ. The identity clause (∃ m, F m ≠ m) is not in the remark's own statement of the bar — it is exactly what excludes the "memory" triviality Decoupling §2.3 already names as the threshold's one un-excluded degenerate case, and it is only needed when N ∣ τ, where U^τ collapses to the identity and the invariant-partition hypothesis alone is satisfied vacuously by F = id.

Guard: the capacity condition is load-bearing #

A concrete refuting instance, held beside exists_blockCyclic_fixedLens: when the blocks overflow the host, c * w > N, no reading of ZMod N into Fin c × ZMod w is even surjective — a pure cardinality bound, prior to any question of intertwining. Dropping the capacity hypothesis would therefore let the sufficiency claim something surjectivity alone already refutes.

theorem ReflectiveSubsystems.guard_blockCyclic_capacity_load_bearing {N c w : ℕ} [NeZero N] [NeZero w] (hcw : N < c * w) :
¬∃ (ℓ : ZMod N → Fin c × ZMod w), Function.Surjective ℓ

The capacity hypothesis is load-bearing: c blocks of w work states outnumber the host the moment c * w > N, so no reading ZMod N → Fin c × ZMod w is surjective at all.

Guard: the primality hypothesis is load-bearing #

A concrete refuting instance, held beside Intertwines.not_fixedLens_prime_period_any_scale: at the composite length 4 = 2^2 — the case [Inevitability] §5 Remark 5.6 turns on — the block-index partition on Fin 2 × ZMod 2 is nontrivial and F-invariant, yet IS realized by a surjective fixed reading, at scale τ = 4 / 2. Dropping primality from the bar would therefore claim something this instance, built from exists_blockCyclic_fixedLens itself, already refutes.

theorem ReflectiveSubsystems.guard_primePeriod_composite_load_bearing :
∃ (S : Setoid (Fin 2 × ZMod 2)), (∀ (m : Fin 2 × ZMod 2), S m (Prod.map id (fun (x : ZMod 2) => x + 1) m)) ∧ (∃ (m₁ : Fin 2 × ZMod 2) (m₂ : Fin 2 × ZMod 2), ¬S m₁ m₂) ∧ ∃ (ℓ : ZMod 4 → Fin 2 × ZMod 2), Function.Surjective ℓ ∧ Intertwines (⇑(Equiv.addRight 1 ^ (4 / 2))) (Prod.map id fun (x : ZMod 2) => x + 1) fun (x : ℕ) => ℓ

The primality hypothesis is load-bearing: at the composite length 4, a nontrivial F-invariant partition on the block-cyclic guest is realized by a surjective fixed reading, the scale-multiplied cycle count the prime case forbids.