Keyboard shortcuts

Press ← or → to navigate between chapters

Press ? to show this help

Press Esc to hide this help

Zero-Star Prefix-Reversal Complements

Abstract

Deleting any retained b-edge from an independently defined zero star gives a Hamiltonian path with the exact complementary word Z_j.

Theorem 1.1 (The Supplier Residual Has No Repeated Labels).

\forall m \in \mathrm{Nat},\; \forall z \in \mathrm{Configuration}\left(m\right),\; \mathrm{Nodup}\left(\mathrm{residualList}\left(z\right)\right)

Proof. Machine-checked in Lean as D5/S3/Combinatorics/Graph/PrefixReversalZeroStarComplement.native_residual_nodup (✓ std3). ∎

Source. Repository-derived.

Commentary.

Deleting the last position from an actual permutation tuple leaves a list without repeated labels. Concrete supplier-star separation consumes this fact.

A configuration is a permutation v of the positions Fin(m+1); v(i) is the label at position i. Right multiplication acts on positions: (v g)(i)=v(g(i)). The generators a, b and c reverse the first m+1, m and m-1 positions respectively. The oriented circle of v is its tuple modulo rotation. For a marked label t and an oriented residual circle W, Star(t,W) consists of all configurations whose deletion of t is W or its reverse. This domain is specified before any path is constructed. The factor retains every a-edge, the b-edge when t is not at the last position, and the c-edge when t is at the last position, within the actual Cayley graph generated by these three reversals.

Put R=ab and B=bc. R rotates the entire tuple left by one position; B rotates its first m positions left by one and fixes the last position. Choose a base z with t last. The coordinates (k,r,s) in Fin(m) times Fin(m+1) times Bool represent z B^k R^r when s is false and z B^k R^r a when s is true. For m at least three this is a bijection onto Star(t,W), where W is the residual circle of z. Deletion orientation distinguishes s, the position of t distinguishes r, and the rotation of the residual tuple distinguishes k. Exhaustiveness follows by rotating any configuration to put t last, and reversing its residual direction when needed. A residual circle on at least three distinct labels cannot equal its reverse, by preservation of untouched restrictions under circular deletion transport.

Write E(k,r) and O(k,r) for the false and true coordinates. The native order is E(k,0), O(k,0), E(k,1), O(k,1), through E(k,m), O(k,m). An a-edge joins E(k,r) to O(k,r), a b-edge joins O(k,r) to E(k,r+1) for r less than m, and a c-edge joins O(k,m) to E(k+1,0), with k read modulo m. Thus the literal circular word is (Hc)^m, where U_k=(ab)^k a and H=U_m. There are exactly 2m(m+1) configurations.

Theorem 1.2 (Full reversal on positions).

\forall m \in \mathrm{Nat},\; \forall i \in \mathrm{Fin}\left(m + 1\right),\; \mathrm{apply}\left(\mathrm{a}\left(m\right), i\right) = \mathrm{rev}\left(i\right)

Proof. Machine-checked in Lean as D5/S3/Combinatorics/Graph/PrefixReversalZeroStarComplement.a_apply (✓ std3). ∎

Source. Repository-derived.

Commentary.

The full reversal sends every native position to its Fin reversal. This existing proof is exposed for live reuse by native switching polygons and complete native circle complements.

Theorem 1.3 (Prefix reversal on positions).

\forall m \in \mathrm{Nat},\; \forall i \in \mathrm{Fin}\left(m + 1\right),\; \mathrm{val}\left(\mathrm{apply}\left(\mathrm{b}\left(m\right), i\right)\right) = \mathrm{ite}\left(\mathrm{val}\left(i\right) < m, m - 1 - \mathrm{val}\left(i\right), \mathrm{val}\left(i\right)\right)

Proof. Machine-checked in Lean as D5/S3/Combinatorics/Graph/PrefixReversalZeroStarComplement.b_apply (✓ std3). ∎

Source. Repository-derived.

Commentary.

The m-prefix reversal reverses positions below m and fixes the last position. This existing proof is exposed for live reuse by native switching polygons and complete native circle complements.

Theorem 1.4 (Short prefix reversal on positions).

\forall m \in \mathrm{Nat},\; \forall i \in \mathrm{Fin}\left(m + 1\right),\; \mathrm{val}\left(\mathrm{apply}\left(\mathrm{c}\left(m\right), i\right)\right) = \mathrm{ite}\left(\mathrm{val}\left(i\right) < m - 1, m - 2 - \mathrm{val}\left(i\right), \mathrm{val}\left(i\right)\right)

Proof. Machine-checked in Lean as D5/S3/Combinatorics/Graph/PrefixReversalZeroStarComplement.c_apply (✓ std3). ∎

Source. Repository-derived.

Commentary.

The (m-1)-prefix reversal reverses positions below m-1 and fixes the final two positions. This existing proof is exposed for live reuse by native switching polygons and complete native circle complements.

Theorem 1.5 (Full rotation from two reversals).

\forall m \in \mathrm{Nat},\; \mathrm{a}\left(m\right) \cdot \mathrm{b}\left(m\right) = \mathrm{finRotate}\left(m + 1\right)

Proof. Machine-checked in Lean as D5/S3/Combinatorics/Graph/PrefixReversalZeroStarComplement.ab_eq_rotate (✓ std3). ∎

Source. Repository-derived.

Commentary.

The actual product ab rotates all m+1 positions by one. This existing proof is exposed for live reuse by native switching polygons and complete native circle complements.

Theorem 1.6 (Prefix rotation from two reversals).

\forall m \in \mathrm{Nat},\; (2 \le m) \Rightarrow (\forall i \in \mathrm{Fin}\left(m + 1\right),\; \mathrm{apply}\left(\mathrm{b}\left(m\right) \cdot \mathrm{c}\left(m\right), i\right) = \mathrm{ite}\left(\mathrm{val}\left(i\right) < m, \mathrm{mkFin}\left(\mathrm{mod}\left(\mathrm{val}\left(i\right) + 1, m\right), m + 1\right), i\right))

Proof. Machine-checked in Lean as D5/S3/Combinatorics/Graph/PrefixReversalZeroStarComplement.bc_apply (✓ std3). ∎

Source. Repository-derived.

Commentary.

For m at least two, bc rotates the first m positions by one and fixes the last position. This existing proof is exposed for live reuse by native switching polygons and complete native circle complements.

Theorem 1.7 (Actual tuple reversal).

\forall m \in \mathrm{Nat},\; \forall v \in \mathrm{Configuration}\left(m\right),\; \mathrm{ofFn}\left(v \cdot \mathrm{a}\left(m\right)\right) = \mathrm{reverse}\left(\mathrm{ofFn}\left(v\right)\right)

Proof. Machine-checked in Lean as D5/S3/Combinatorics/Graph/PrefixReversalZeroStarComplement.full_reverse_list (✓ std3). ∎

Source. Repository-derived.

Commentary.

Right multiplication by a reverses the full actual configuration tuple. This existing proof is exposed for live reuse by native switching polygons and complete native circle complements.

Theorem 1.8 (Actual tuple rotations).

\forall m \in \mathrm{Nat},\; \forall v \in \mathrm{Configuration}\left(m\right),\; \forall k \in \mathrm{Nat},\; \mathrm{ofFn}\left(v \cdot \mathrm{pow}\left(\mathrm{finRotate}\left(m + 1\right), k\right)\right) = \mathrm{rotate}\left(\mathrm{ofFn}\left(v\right), k\right)

Proof. Machine-checked in Lean as D5/S3/Combinatorics/Graph/PrefixReversalZeroStarComplement.rotate_pow_list (✓ std3). ∎

Source. Repository-derived.

Commentary.

Every power of the full rotation produces the corresponding literal tuple rotation. This existing proof is exposed for live reuse by native switching polygons and complete native circle complements.

Theorem 1.9 (Full rotation power coordinates).

\forall m \in \mathrm{Nat},\; \forall k \in \mathrm{Nat},\; \mathrm{pow}\left(\mathrm{finRotate}\left(m + 1\right), k\right) = \mathrm{finCycle}\left(\mathrm{natCast}\left(k, m + 1\right)\right)

Proof. Machine-checked in Lean as D5/S3/Combinatorics/Graph/PrefixReversalZeroStarComplement.rotate_pow_eq_cycle (✓ std3). ∎

Source. Repository-derived.

Commentary.

Natural powers of the full rotation equal finCycle at the corresponding finite cyclic index. This existing proof is exposed for live reuse by native switching polygons and complete native circle complements.

Theorem 1.10 (Zero full rotation).

\forall m \in \mathrm{Nat},\; \mathrm{finCycle}\left(\mathrm{zeroFin}\left(m + 1\right)\right) = 1

Proof. Machine-checked in Lean as D5/S3/Combinatorics/Graph/PrefixReversalZeroStarComplement.cycle_zero (✓ std3). ∎

Source. Repository-derived.

Commentary.

The zero finCycle is the identity position permutation. This existing proof is exposed for live reuse by native switching polygons and complete native circle complements.

Theorem 1.11 (Full cyclic indices add under multiplication).

\forall m \in \mathrm{Nat},\; \forall r \in \mathrm{Fin}\left(m + 1\right),\; \forall s \in \mathrm{Fin}\left(m + 1\right),\; \mathrm{finCycle}\left(r\right) \cdot \mathrm{finCycle}\left(s\right) = \mathrm{finCycle}\left(r + s\right)

Proof. Machine-checked in Lean as D5/S3/Combinatorics/Graph/PrefixReversalZeroStarComplement.cycle_mul (✓ std3). ∎

Source. Repository-derived.

Commentary.

Multiplying the actual full cyclic position permutations at indices r and s gives the permutation at their sum. The literal J2 word endpoint proof consumes this identity. This existing proof is exposed for live reuse by native switching polygons and complete native circle complements.

Theorem 1.12 (Full reversal negates the cyclic index).

\forall m \in \mathrm{Nat},\; \forall r \in \mathrm{Fin}\left(m + 1\right),\; \mathrm{a}\left(m\right) \cdot \mathrm{finCycle}\left(r\right) = \mathrm{finCycle}\left(\mathrm{neg}\left(r\right)\right) \cdot \mathrm{a}\left(m\right)

Proof. Machine-checked in Lean as D5/S3/Combinatorics/Graph/PrefixReversalZeroStarComplement.a_cycle (✓ std3). ∎

Source. Repository-derived.

Commentary.

Moving an actual full cyclic position permutation past the full reversal negates its finite index. The literal J2 word endpoint proof consumes this identity. This existing proof is exposed for live reuse by native switching polygons and complete native circle complements.

Theorem 1.13 (Full reversal involution).

\forall m \in \mathrm{Nat},\; \mathrm{a}\left(m\right) \cdot \mathrm{a}\left(m\right) = 1

Proof. Machine-checked in Lean as D5/S3/Combinatorics/Graph/PrefixReversalZeroStarComplement.a_sq (✓ std3). ∎

Source. Repository-derived.

Commentary.

Two full native reversals have product identity. This existing proof is exposed for live reuse by native switching polygons and complete native circle complements.

Theorem 1.14 (The native b reflection coordinate).

\forall m \in \mathrm{Nat},\; \mathrm{b}\left(m\right) = \mathrm{finCycle}\left(\mathrm{negOneFin}\left(m + 1\right)\right) \cdot \mathrm{a}\left(m\right)

Proof. Machine-checked in Lean as D5/S3/Combinatorics/Graph/PrefixReversalZeroStarComplement.b_eq_cycle_a (✓ std3). ∎

Source. Repository-derived.

Commentary.

The b reversal is full cyclic index minus one followed by a. This existing proof is exposed for live reuse by native switching polygons and complete native circle complements.

Theorem 1.15 (The last position is fixed by b).

\forall m \in \mathrm{Nat},\; \mathrm{apply}\left(\mathrm{b}\left(m\right), \mathrm{last}\left(m\right)\right) = \mathrm{last}\left(m\right)

Proof. Machine-checked in Lean as D5/S3/Combinatorics/Graph/PrefixReversalZeroStarComplement.b_last (✓ std3). ∎

Source. Repository-derived.

Commentary.

The actual b reversal fixes the final position. This existing proof is exposed for live reuse by native switching polygons and complete native circle complements.

Theorem 1.16 (Literal native complementary length).

\forall m \in \mathrm{Nat},\; \forall k \in \mathrm{Nat},\; \mathrm{length}\left(\mathrm{uWord}\left(m, k\right)\right) = 2 \cdot k + 1

Proof. Machine-checked in Lean as D5/S3/Combinatorics/Graph/PrefixReversalZeroStarComplement.uWord_length (✓ std3). ∎

Source. Repository-derived.

Commentary.

The generator list U_k has exactly 2k+1 entries. This existing proof is exposed for live reuse by native switching polygons and complete native circle complements.

Theorem 1.17 (Literal native complementary endpoint).

\forall m \in \mathrm{Nat},\; \forall k \in \mathrm{Nat},\; \mathrm{prod}\left(\mathrm{uWord}\left(m, k\right)\right) = \mathrm{pow}\left(\mathrm{finRotate}\left(m + 1\right), k\right) \cdot \mathrm{a}\left(m\right)

Proof. Machine-checked in Lean as D5/S3/Combinatorics/Graph/PrefixReversalZeroStarComplement.uWord_product (✓ std3). ∎

Source. Repository-derived.

Commentary.

The product of U_k is the kth full rotation followed by a. This existing proof is exposed for live reuse by native switching polygons and complete native circle complements.

Theorem 1.18 (Short reversal involution).

\forall m \in \mathrm{Nat},\; \mathrm{c}\left(m\right) \cdot \mathrm{c}\left(m\right) = 1

Proof. Machine-checked in Lean as D5/S3/Combinatorics/Graph/PrefixReversalZeroStarComplement.c_sq (✓ std3). ∎

Source. Repository-derived.

Commentary.

Two short native reversals have product identity. This existing proof is exposed for live reuse by native switching polygons and complete native circle complements.

Theorem 1.19 (The Exact Hamiltonian Complement).

\forall m \in \mathrm{Nat},\; (3 \le m) \Rightarrow (\forall t \in \mathrm{Fin}\left(m + 1\right),\; \forall W \in \mathrm{Cycle}\left(\mathrm{Fin}\left(m + 1\right)\right),\; \forall v \in \mathrm{Configuration}\left(m\right),\; \forall j \in \mathrm{Fin}\left(m\right),\; (\mathrm{Star}\left(t, W, v\right) \land \mathrm{apply}\left(v, \mathrm{castSucc}\left(j\right)\right) = t) \Rightarrow (\mathrm{Star}\left(t, W, \mathrm{rightMultiply}\left(v, \mathrm{b}\left(m\right)\right)\right) \land \left(\exists w \in \mathrm{Walk}\left(\mathrm{deleteEdges}\left(\mathrm{starFactor}\left(t, W\right), \mathrm{singletonEdge}\left(v, \mathrm{rightMultiply}\left(v, \mathrm{b}\left(m\right)\right)\right)\right), v, \mathrm{rightMultiply}\left(v, \mathrm{b}\left(m\right)\right)\right),\; \mathrm{IsHamiltonian}\left(w\right) \land \left(\mathrm{length}\left(w\right) = 2 \cdot m \cdot \left(m + 1\right) - 1 \land \mathrm{map}\left(\mathrm{support}\left(w\right), \mathrm{underlyingConfiguration}\right) = \mathrm{scanl}\left(\mathrm{rightMultiply}, v, \mathrm{zWord}\left(m, \mathrm{val}\left(j\right)\right)\right)\right)\right)))

Proof. Machine-checked in Lean as D5/S3/Combinatorics/Graph/PrefixReversalZeroStarComplement.zeroStar_b_complement_hamiltonian (✓ std3). ∎

Source. Repository-derived.

Commentary.

For every m at least three, every marked label t, every residual circle W, and every v in Star(t,W), suppose t occurs at position j with j in Fin(m). Then vb is also in Star(t,W). After deleting the undirected edge between v and vb from the induced factor, there is a Hamiltonian walk from v to vb of length 2m(m+1)-1. Its configuration support is exactly the successive right products starting at v of the literal word Z_j=U_j(cH)^(m-1)cU_(m-j-1); powers here mean repetition of lists, not replacement by a group product.

To handle either residual orientation uniformly, take z=v U_j. The word U_j is an involution, so v is O(0,j) relative to z, and t is last in z. Number the native coordinates by 2r+s+2(m+1)k. Start at the odd rank 2j+1 and traverse the remaining circle backwards. The rank sequence visits every coordinate once, ends at the successor of the cut rank, and no consecutive pair is the removed edge. All its consecutive pairs are retained native edges. Reversing the tail of the circle word rotated to the cut gives exactly Z_j. This establishes both full coverage of the independent domain and the literal support identity.

The result concerns one zero star and its retained factor. It does not connect distinct stars or assert a Hamiltonian cycle on all permutations.

References