The separated count parity #
Discharges SeparatedCountParity: a separated repair square on a
localized configuration flips the circuit-count parity
(Δ openCircuitCount = ±1).
Architecture #
Instead of tracking the periodic-flag subtype (which changes across
the move in the chain-local cases), we close up the whole system
into a single permutation on all participating flags, the
full walk Π = M ∘ σ, where σ is the edge pairing and M is
the matching on internal flags extended by the path matching on
boundary flags. Its orbits are the circuit orbits (two per
circuit) plus one orbit per boundary flag (each boundary chain
contributes its two traversal directions, each containing exactly
one boundary flag). Hence
orbits Π = orbits (walkPermPeriodic) + boundaryFlags.card.
Because a localized square leaves the path matching untouched
(pathMatch_repair_of_localized), the repaired full walk is the
old one multiplied by the double transposition (a d)(b c). An
abstract transposition lemma (multiplying by a swap changes the
orbit count by exactly one, splitting iff the swapped points share
an orbit) plus the mirror symmetry σ Π σ = Π⁻¹ and the separated
orientation force the two swaps to act coherently: the orbit count
moves by exactly ±2, i.e. the circuit count by ±1.
Main results #
permOrbitCount_swap_mul_sameCycle/..._not_sameCycle— the abstract transposition ledger for total orbit counts.permOrbitCount_swap_swap_mul— the coherent double swap.EdgeSubset.fullPerm— the closed-up walk permutation.EdgeSubset.permOrbitCount_fullPerm_eq— the orbit bookkeepingorbits Π = orbits wpp + |B|.EdgeSubset.fullPerm_repair— the move is the double swap.separatedCountParity— the dischargedSeparatedCountParity.
(i) Abstract orbit counting #
The total orbit count of a permutation: nontrivial cycles plus fixed points.
Equations
- RS.permOrbitCount g = g.cycleType.card + Fintype.card ↑(Function.fixedPoints ⇑g)
Instances For
Fixed points and support partition the domain.
A SameCycle witness from a power.
Untouched orbits: SameCycle from a point in neither
swapped orbit transfers across the swap-multiplication.
Merging: swapping two points of different orbits joins them.
Orbit counting via representatives #
Orbit counting by representatives: a set meeting every orbit exactly once has the orbit count as its cardinality.
The cycle split #
The transposition orbit ledger #
Splitting: multiplying by a transposition of two points on one orbit raises the orbit count by one.
Merging: multiplying by a transposition of two points on different orbits lowers the orbit count by one.
The coherent double swap: with the mirror equivalence
b ∼ c ↔ a ∼ d and the two exclusions a ≁ b, a ≁ c, the double
transposition moves the orbit count by exactly two.
Transporting a permutation along an equivalence preserves the orbit count.
The orbit count of a sumCongr is the sum of the orbit
counts.
(ii) The closed-up full walk permutation #
The edge pairing as a permutation of the participating flags.
Equations
Instances For
The edge pairing as a permutation of participating flags, on underlying flags.
It is an involution.
Equivalently, its square is the identity.
The matching extended by the path matching, as a function on participating flags.
Equations
- RS.EdgeSubset.fullMatchFun κ x = if h : ↑x ∈ F.internalFlags then ⟨κ.match_ ↑x, ⋯⟩ else ⟨κ.pathMatch ↑x ⋯, ⋯⟩
Instances For
The full matching is the system's own on internal flags.
And the path matching on boundary flags: this is what closes the chains into orbits.
The full matching is an involution, both halves being ones.
The extended matching as an (involutive) permutation.
Equations
- RS.EdgeSubset.fullMatchPerm κ = { toFun := RS.EdgeSubset.fullMatchFun κ, invFun := RS.EdgeSubset.fullMatchFun κ, left_inv := ⋯, right_inv := ⋯ }
Instances For
The full matching as a permutation acts by that function.
Its square is the identity.
The full walk permutation: pairing followed by extended matching, a permutation of all participating flags.
Equations
Instances For
The full walk: cross the edge, then match — including at the boundary, where matching follows the chain to its far end.
Its value when the edge partner is internal.
Its value when the edge partner is a boundary flag.
Applying the full walk to a paired flag lands on the extended matching.
The inverse of the full walk.
Mirror symmetry: the pairing conjugates the full walk to
its inverse, so SameCycle transfers to paired flags.
Trajectories of the full walk #
While the pairings along a walk stay internal, powers of the full walk follow the iterated walk.
Powers of the full walk at a periodic flag follow the iterated walk forever.
SameCycle from a periodic flag produces a walk witness.
Mirror collision, periodic case: a periodic flag is never on the same full-walk orbit as its pairing.
Chain orbits of the full walk #
The chain wraps: the full walk from a boundary flag closes
up after k + 1 steps (through the path-matching jump).
Values on the full-walk orbit of a boundary flag are chain values.
A boundary flag on the full-walk orbit of a boundary flag is the base point.
Mirror collision, chain case: a chain flag is never on the same full-walk orbit as its pairing.
Orientation constancy along the walk side of a chain.
The pairing-side orientation along a chain.
The periodic/chain decomposition of the orbit count #
The full walk preserves periodicity.
The full walk restricted to periodic flags.
Equations
Instances For
The full walk restricted to non-periodic flags.
Equations
Instances For
The decomposition of the full walk over the periodicity partition.
The orbit count splits over the partition.
The double-subtype carrier of the periodic part.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The periodic part of the full walk is the periodic walk permutation.
The periodic part has the periodic orbit count.
Values of powers of the chain part.
SameCycle in the chain part descends to the full walk.
The chain part counts the boundary flags: each non-periodic orbit contains exactly one boundary flag.
The orbit bookkeeping: the full walk's orbit count is the periodic orbit count plus the number of boundary flags.
The move as a double swap #
The move is a double swap: on a square whose repair leaves
the path matching unchanged, the repaired full walk is the old full
walk multiplied by the double transposition (a d)(b c).
Orientation exclusions #
Orientation constancy along a periodic walk.
The separated exclusion, periodic seed: a flag oppositely oriented to a periodic flag is not on its full-walk orbit.
The separated exclusion, chain seeds: two chain flags in separated orientation are not on a common full-walk orbit.
(iii) The discharged parity input #
The separated count parity (the input
SeparatedCountParity): a
separated square on a localized configuration flips the
circuit-count parity.