Keyboard shortcuts

Press ← or → to navigate between chapters

Press ? to show this help

Press Esc to hide this help

Canonical Opposite Selected Orders

Abstract

The two recursive marked orders are tied by one canonical exchange of the last two selected labels. Their earlier selected positions, base, terminal and child-base rotation retain exact literal identities.

Definition 1.1 (Exchange Only the Protected Pair).

Formalization. D5/S3/Combinatorics/Graph/PrefixReversal/NativeOppositeSelectedOrders.oppositeSelectedFrame (✓ std3).

Source. Repository-derived.

Commentary.

The complete SupplyFrame is rebuilt with the selected list mapped through the transposition of protectedP and protectedQ. Both labels occur in the original selected list, so the map is a permutation of that list. The independent base and terminal are literally unchanged. This fixes an ordering, rather than merely requiring equality of selected-label sets.

Theorem 1.2 (The Protected Labels Exchange Positions).

Proof. Machine-checked in Lean as D5/S3/Combinatorics/Graph/PrefixReversal/NativeOppositeSelectedOrders.native_opposite_protected_labels (✓ std3). ∎

Source. Repository-derived.

Commentary.

The actual labels at indices k minus two and k minus one exchange. No independently chosen opposite frame, cycle or relabelling is assumed.

Theorem 1.3 (The Earlier Selected Prefix Is Unchanged).

Proof. Machine-checked in Lean as D5/S3/Combinatorics/Graph/PrefixReversal/NativeOppositeSelectedOrders.native_opposite_selected_prefix (✓ std3). ∎

Source. Repository-derived.

Commentary.

Nodup of the complete literal tuple separates each earlier selected position from both protected labels. The transposition therefore fixes every one of those positions. Along with the exchanged final pair, this determines the exact opposite selected order.

Theorem 1.4 (The Canonical Exchange Is an Involution).

Proof. Machine-checked in Lean as D5/S3/Combinatorics/Graph/PrefixReversal/NativeOppositeSelectedOrders.native_opposite_selected_involutive (✓ std3). ∎

Source. Repository-derived.

Commentary.

After one exchange the protected labels themselves are reversed. The second exchange uses the same unordered transposition, restoring the entire complete frame, including its unchanged base and terminal.

Theorem 1.5 (The Exceptional J2 Order Uses the Same Exchange).

Proof. Machine-checked in Lean as D5/S3/Combinatorics/Graph/PrefixReversal/NativeOppositeSelectedOrders.native_opposite_selected_two (✓ std3). ∎

Source. Repository-derived.

Commentary.

At order two the protected pair is the entire selected list. The canonical exchange is exactly the existing reverseSelected frame used by the actual J2 seed, with the same base, terminal and port indices. This bridges the exceptional seed to the precise ordering required by later simultaneous states.

Theorem 1.6 (Prepending Commutes with the Exchange).

Proof. Machine-checked in Lean as D5/S3/Combinatorics/Graph/PrefixReversal/NativeOppositeSelectedOrders.native_opposite_next_frame (✓ std3). ∎

Source. Repository-derived.

Commentary.

For an original base A append singleton u, nextFrame prepends u to the selected list. Full tuple nodup proves u differs from both protected labels; the protected-label prepend theorem keeps their literal identities. Hence constructing the next frame and taking its opposite commutes exactly. This gives compatible simultaneous induction instances rather than assuming agreement of separately chosen orders.

Theorem 1.7 (The Outer Supplier Commutes with the Exchange).

Proof. Machine-checked in Lean as D5/S3/Combinatorics/Graph/PrefixReversal/NativeOppositeSelectedOrders.native_opposite_outer_frame (✓ std3). ∎

Source. Repository-derived.

Commentary.

The actual outer supplier replaces the base by A append the old terminal and replaces the terminal by u. Its selected list keeps the old order. The canonical opposite operation therefore commutes with this same literal supplier constructor.

Theorem 1.8 (Every Child-Base Rotation Commutes with the Exchange).

Proof. Machine-checked in Lean as D5/S3/Combinatorics/Graph/PrefixReversal/NativeOppositeSelectedOrders.native_opposite_child_frame (✓ std3). ∎

Source. Repository-derived.

Commentary.

For each independent child index, nativeChildFrame rotates the base by exactly that index and retains the selected list and terminal. Both marked orders therefore use the same literal child-base rotation. These order identities supply missing frame compatibility; they do not assert a completed all-order Hamiltonian induction.

References