Pan-Skandera-Wang Selection Invariant
Abstract
Selection positions and their invariance under reverse-complementation and matched insertion.
Definition 1.1 (Selection positions).
Formalization. D5/S3/Combinatorics/PanSkanderaWangBruhatInvariant.selectionPositions (✓ std3).
Source. Repository-derived.
Acknowledgement. Sihong Pan, Mark Skandera, Jiayuan Wang (2026). Permanental Inequalities and Unit Interval Orders. DOI: 10.4204/EPTCS.445.17. URL: https://arxiv.org/abs/2606.13162v1.
Commentary.
The selected zero-based positions consist of an initial interval followed by every other position in a window of width twice d.
Definition 1.2 (Selected entries).
Formalization. D5/S3/Combinatorics/PanSkanderaWangBruhatInvariant.selection (✓ std3).
Source. Repository-derived.
Acknowledgement. Sihong Pan, Mark Skandera, Jiayuan Wang (2026). Permanental Inequalities and Unit Interval Orders. DOI: 10.4204/EPTCS.445.17. URL: https://arxiv.org/abs/2606.13162v1.
Commentary.
The selection is the list of entries at the selected positions, with zero used outside the word.
Definition 1.3 (Threshold count).
Formalization. D5/S3/Combinatorics/PanSkanderaWangBruhatInvariant.countGE (✓ std3).
Source. Repository-derived.
Acknowledgement. Sihong Pan, Mark Skandera, Jiayuan Wang (2026). Permanental Inequalities and Unit Interval Orders. DOI: 10.4204/EPTCS.445.17. URL: https://arxiv.org/abs/2606.13162v1.
Commentary.
The threshold count records how many entries in a word are at least q.
Definition 1.4 (Selection invariant).
Formalization. D5/S3/Combinatorics/PanSkanderaWangBruhatInvariant.SelectionInvariant (✓ std3).
Source. Repository-derived.
Acknowledgement. Sihong Pan, Mark Skandera, Jiayuan Wang (2026). Permanental Inequalities and Unit Interval Orders. DOI: 10.4204/EPTCS.445.17. URL: https://arxiv.org/abs/2606.13162v1.
Commentary.
The invariant compares threshold counts in the first p source entries with every legal selection of the target word.
Theorem 1.5 (Reverse-complement preserves permutations).
Proof. Machine-checked in Lean as D5/S3/Combinatorics/PanSkanderaWangBruhatInvariant.ru_isPerm (✓ std3). ∎
Source. Repository-derived.
Acknowledgement. Sihong Pan, Mark Skandera, Jiayuan Wang (2026). Permanental Inequalities and Unit Interval Orders. DOI: 10.4204/EPTCS.445.17. URL: https://arxiv.org/abs/2606.13162v1.
Commentary.
Reverse-complementation sends every permutation of the interval from one through n to another permutation of that interval.
Theorem 1.6 (Reverse-complement preserves the invariant).
Proof. Machine-checked in Lean as D5/S3/Combinatorics/PanSkanderaWangBruhatInvariant.selectionInvariant_ru (✓ std3). ∎
Source. Repository-derived.
Acknowledgement. Sihong Pan, Mark Skandera, Jiayuan Wang (2026). Permanental Inequalities and Unit Interval Orders. DOI: 10.4204/EPTCS.445.17. URL: https://arxiv.org/abs/2606.13162v1.
Commentary.
The selection invariant is unchanged when both words are reverse-complemented.
Definition 1.7 (Ordinary maximum insertion).
Formalization. D5/S3/Combinatorics/PanSkanderaWangBruhatInvariant.insertMax (✓ std3).
Source. Repository-derived.
Acknowledgement. Sihong Pan, Mark Skandera, Jiayuan Wang (2026). Permanental Inequalities and Unit Interval Orders. DOI: 10.4204/EPTCS.445.17. URL: https://arxiv.org/abs/2606.13162v1.
Commentary.
Ordinary insertion places the new maximum n at the one-based position r.
Theorem 1.8 (Pair swapping preserves length).
Proof. Machine-checked in Lean as D5/S3/Combinatorics/PanSkanderaWangBruhatInvariant.swapPairs_length (✓ std3). ∎
Source. Repository-derived.
Acknowledgement. Sihong Pan, Mark Skandera, Jiayuan Wang (2026). Permanental Inequalities and Unit Interval Orders. DOI: 10.4204/EPTCS.445.17. URL: https://arxiv.org/abs/2606.13162v1.
Commentary.
Pair swapping preserves the length of every list.
Theorem 1.9 (Matched insertion preserves the invariant).
Proof. Machine-checked in Lean as D5/S3/Combinatorics/PanSkanderaWangBruhatInvariant.selectionInvariant_insert (✓ std3). ∎
Source. Repository-derived.
Acknowledgement. Sihong Pan, Mark Skandera, Jiayuan Wang (2026). Permanental Inequalities and Unit Interval Orders. DOI: 10.4204/EPTCS.445.17. URL: https://arxiv.org/abs/2606.13162v1.
Commentary.
Matched ordinary insertion and suffix-swapping insertion preserve the full selection invariant under the stated parity and position conditions.
References
- Truth anchor:
D5/S3/Combinatorics/PanSkanderaWangBruhatInvariant.SelectionInvariant - Truth anchor:
D5/S3/Combinatorics/PanSkanderaWangBruhatInvariant.countGE - Truth anchor:
D5/S3/Combinatorics/PanSkanderaWangBruhatInvariant.insertMax - Truth anchor:
D5/S3/Combinatorics/PanSkanderaWangBruhatInvariant.ru_isPerm - Truth anchor:
D5/S3/Combinatorics/PanSkanderaWangBruhatInvariant.selection - Truth anchor:
D5/S3/Combinatorics/PanSkanderaWangBruhatInvariant.selectionInvariant_insert - Truth anchor:
D5/S3/Combinatorics/PanSkanderaWangBruhatInvariant.selectionInvariant_ru - Truth anchor:
D5/S3/Combinatorics/PanSkanderaWangBruhatInvariant.selectionPositions - Truth anchor:
D5/S3/Combinatorics/PanSkanderaWangBruhatInvariant.swapPairs_length - Dependency: D5/S3/Combinatorics/PanSkanderaWangBruhatDefs