Keyboard shortcuts

Press ← or → to navigate between chapters

Press ? to show this help

Press Esc to hide this help

Two Vincular-Stack Preimage Conjectures Are False

Abstract

Zhao’s maximum and second-largest vincular-stack fibre conjectures are false.

The right-greedy convention reads input from left to right. It pushes the next letter if the entire proposed stack avoids the pattern, and otherwise pops the top letter to the output and retries. After the input ends it drains the stack. This is the Cerbai–Claesson–Ferrari convention: the source describes right-greedy processing without a formal stack-rule definition. Its four worked figures send 514362 to 463215, 263415, 426315, and 632415 for the four displayed patterns; the fourth uses 1-underline(23).

Definition 1.1 (Whole-stack vincular containment).

Formalization. D5/S1/Words/Patterns/ZhaoVincularPreimageRefutations.Contains (✓ std3).

Citation. William Zhao (2024). Stack-sorting with Stacks Avoiding Vincular Patterns. DOI: 10.1016/j.disc.2025.114834. URL: https://arxiv.org/abs/2410.17057v1.

Commentary.

On page 1, Zhao writes: “When considering whether a permutation π contains a vincular pattern σ, some elements may be required to be adjacent in π, as indicated by underlined terms in σ. For instance, the pattern 1423 contains 12̲3̲ and 123, but avoids 1̲2̲3 and 1̲2̲3̲.” The letters are natural numbers with one-based permutation entries. Stack words are read from top to bottom. The Bool flag false denotes 1-underline(23), and true denotes 3-underline(21). Underlined entries must occupy adjacent positions. The indices i and j in Contains are zero-based Fin values; getElem! is list indexing with default zero, and the bounds ensure that every index used here is valid. Subtraction is natural subtraction, truncated at zero; the conjectures’ lower bounds make their exponents ordinary nonnegative differences.

Definition 1.2 (Decidable containment).

Formalization. D5/S1/Words/Patterns/ZhaoVincularPreimageRefutations.decidableContains (✓ std3).

Source. Repository-derived.

Commentary.

Unfolding Contains leaves two quantifiers over finite position types and decidable natural-number comparisons; inferInstance supplies the decision procedure.

Definition 1.3 (Push or pop and retry).

Formalization. D5/S1/Words/Patterns/ZhaoVincularPreimageRefutations.Push (✓ std3).

Citation. William Zhao (2024). Stack-sorting with Stacks Avoiding Vincular Patterns. DOI: 10.1016/j.disc.2025.114834. URL: https://arxiv.org/abs/2410.17057v1.

Commentary.

The result is the pair of emitted letters and remaining stack. In the recursive case r is Push(d,x,s). The test examines the whole proposed stack cons(x,cons(a,s)).

Definition 1.4 (Process and drain).

Formalization. D5/S1/Words/Patterns/ZhaoVincularPreimageRefutations.Process (✓ std3).

Citation. William Zhao (2024). Stack-sorting with Stacks Avoiding Vincular Patterns. DOI: 10.1016/j.disc.2025.114834. URL: https://arxiv.org/abs/2410.17057v1.

Commentary.

The first list is unprocessed input and the second is the stack. Append is list concatenation, and fst and snd are the two projections of a pair.

Definition 1.5 (The right-greedy map).

Formalization. D5/S1/Words/Patterns/ZhaoVincularPreimageRefutations.SC (✓ std3).

Citation. William Zhao (2024). Stack-sorting with Stacks Avoiding Vincular Patterns. DOI: 10.1016/j.disc.2025.114834. URL: https://arxiv.org/abs/2410.17057v1.

Commentary.

Processing starts with the empty stack nil. The map is defined on all natural-number words, and its fibres below restrict the inputs to permutations.

Definition 1.6 (Permutations on one-based entries).

Formalization. D5/S1/Words/Patterns/ZhaoVincularPreimageRefutations.IsPerm (✓ std3).

Citation. William Zhao (2024). Stack-sorting with Stacks Avoiding Vincular Patterns. DOI: 10.1016/j.disc.2025.114834. URL: https://arxiv.org/abs/2410.17057v1.

Commentary.

Perm is List.Perm. The list List.range’ 1 n is the entries 1 through n in increasing order.

Definition 1.7 (Decidable permutation membership).

Formalization. D5/S1/Words/Patterns/ZhaoVincularPreimageRefutations.decidableIsPerm (✓ std3).

Source. Repository-derived.

Commentary.

Unfolding IsPerm gives decidable list permutation on natural-number entries; inferInstance supplies the decision procedure.

Definition 1.8 (Enumeration of all permutations).

Formalization. D5/S1/Words/Patterns/ZhaoVincularPreimageRefutations.Sn (✓ std3).

Source. Repository-derived.

Commentary.

List.permutations’ is the structural permutation enumerator. Its membership is List.Perm with the original list. Because List.range’ 1 n has distinct entries, this enumeration has no repetitions.

Definition 1.9 (The finite preimage set).

Formalization. D5/S1/Words/Patterns/ZhaoVincularPreimageRefutations.Fibre (✓ std3).

Citation. William Zhao (2024). Stack-sorting with Stacks Avoiding Vincular Patterns. DOI: 10.1016/j.disc.2025.114834. URL: https://arxiv.org/abs/2410.17057v1.

Commentary.

List.filter keeps exactly the inputs t for which SC(d,t) equals p; beq denotes the Boolean equality test. Converting to a Finset counts each input once.

Definition 1.10 (Fibre cardinality).

Formalization. D5/S1/Words/Patterns/ZhaoVincularPreimageRefutations.F (✓ std3).

Citation. William Zhao (2024). Stack-sorting with Stacks Avoiding Vincular Patterns. DOI: 10.1016/j.disc.2025.114834. URL: https://arxiv.org/abs/2410.17057v1.

Commentary.

The count includes precisely the permutations in the input fibre.

Definition 1.11 (An attained maximum).

Formalization. D5/S1/Words/Patterns/ZhaoVincularPreimageRefutations.MaximumIs (✓ std3).

Source. Repository-derived.

Commentary.

The value m is attained at an output permutation and bounds every output permutation’s fibre size. Both clauses are part of the definition.

Definition 1.12 (Second-largest distinct fibre size).

Formalization. D5/S1/Words/Patterns/ZhaoVincularPreimageRefutations.SecondLargestIs (✓ std3).

Source. Repository-derived.

Commentary.

The value k is attained, a larger value m is attained, and every value above k equals m. Thus second-largest refers to distinct values, including zero when it occurs, rather than to a list with repetitions.

Definition 1.13 (Multiplicity of a fibre size).

Formalization. D5/S1/Words/Patterns/ZhaoVincularPreimageRefutations.Multiplicity (✓ std3).

Citation. William Zhao (2024). Stack-sorting with Stacks Avoiding Vincular Patterns. DOI: 10.1016/j.disc.2025.114834. URL: https://arxiv.org/abs/2410.17057v1.

Commentary.

This counts output permutations p with F(false,n,p)=k. It uses the same repetition-free enumeration Sn(n), including outputs whose fibre is empty.

Definition 1.14 (Zhao’s Conjecture 4.14).

Formalization. D5/S1/Words/Patterns/ZhaoVincularPreimageRefutations.claimMaximum (✓ std3).

Citation. William Zhao (2024). Stack-sorting with Stacks Avoiding Vincular Patterns. DOI: 10.1016/j.disc.2025.114834. URL: https://arxiv.org/abs/2410.17057v1.

Commentary.

Conjecture 4.14 (arXiv:2410.17057v1, Section 4.1.4, printed page 17) reads: “For n ≥ 2, it holds that max_{π∈𝔖ₙ}|SC₁₂̲₃̲⁻¹(π)| = max_{π∈𝔖ₙ}|SC₃₂̲₁̲⁻¹(π)| = 2ⁿ⁻².” The letters are natural numbers with one-based permutation entries. Stack words are read from top to bottom. The Bool flag false denotes 1-underline(23), and true denotes 3-underline(21). Underlined entries must occupy adjacent positions. The indices i and j in Contains are zero-based Fin values; getElem! is list indexing with default zero, and the bounds ensure that every index used here is valid. Subtraction is natural subtraction, truncated at zero; the conjectures’ lower bounds make their exponents ordinary nonnegative differences. The chain of equalities is encoded by the two attained maxima each equalling 2^(n-2), with both conjuncts under the same quantifier and lower bound.

Definition 1.15 (Zhao’s Conjecture 5.2).

Formalization. D5/S1/Words/Patterns/ZhaoVincularPreimageRefutations.claimSecondLargest (✓ std3).

Citation. William Zhao (2024). Stack-sorting with Stacks Avoiding Vincular Patterns. DOI: 10.1016/j.disc.2025.114834. URL: https://arxiv.org/abs/2410.17057v1.

Commentary.

Conjecture 5.2 (arXiv:2410.17057v1, Section 5, printed page 20) reads: “The second-largest number of preimages under SC₁₂̲₃̲ that a permutation in 𝔖ₙ can have is 2ⁿ⁻³, for n ≥ 3. Furthermore, the number of permutations π ∈ 𝔖ₙ satisfying |SC₁₂̲₃̲⁻¹(π)| = 2ⁿ⁻³ is 2n − 2.” The letters are natural numbers with one-based permutation entries. Stack words are read from top to bottom. The Bool flag false denotes 1-underline(23), and true denotes 3-underline(21). Underlined entries must occupy adjacent positions. The indices i and j in Contains are zero-based Fin values; getElem! is list indexing with default zero, and the bounds ensure that every index used here is valid. Subtraction is natural subtraction, truncated at zero; the conjectures’ lower bounds make their exponents ordinary nonnegative differences. The second-largest-value clause and the multiplicity clause are both retained under the same universal quantifier. The carrier 𝔖ₙ is expressed by IsPerm(n,p).

Theorem 1.16 (The maximum claim is false).

Proof. Machine-checked in Lean as D5/S1/Words/Patterns/ZhaoVincularPreimageRefutations.resultMaximum (✓ std3). ∎

Resolves. Problems/zhao-vincular-stack-maximum-preimages-refutation (refuted) by D5/S1/Words/Patterns/ZhaoVincularPreimageRefutations.resultMaximum.

Source. Repository-derived.

Commentary.

At n=9, 129 explicitly listed distinct permutations map to 765432819 under the false flag. Each mapping and permutation membership is checked separately. The claimed maximum would bound that fibre by 2^7=128, contradicting its cardinality lower bound. An exact maximum for n=9 is not needed.

Theorem 1.17 (The second-largest claim is false).

Proof. Machine-checked in Lean as D5/S1/Words/Patterns/ZhaoVincularPreimageRefutations.resultSecondLargest (✓ std3). ∎

Resolves. Problems/zhao-vincular-stack-second-largest-preimages-refutation (refuted) by D5/S1/Words/Patterns/ZhaoVincularPreimageRefutations.resultSecondLargest.

Source. Repository-derived.

Commentary.

Enumeration of all 120 input permutations at n=5 gives F(false,5,32415)=5 and F(false,5,43215)=8. These are distinct fibre values greater than 2^2=4, which contradicts the asserted uniqueness of a larger value. This refutes the conjunction through its first clause; the multiplicity clause is not separately refuted.

References

  • Truth anchor: D5/S1/Words/Patterns/ZhaoVincularPreimageRefutations.Contains
  • Truth anchor: D5/S1/Words/Patterns/ZhaoVincularPreimageRefutations.F
  • Truth anchor: D5/S1/Words/Patterns/ZhaoVincularPreimageRefutations.Fibre
  • Truth anchor: D5/S1/Words/Patterns/ZhaoVincularPreimageRefutations.IsPerm
  • Truth anchor: D5/S1/Words/Patterns/ZhaoVincularPreimageRefutations.MaximumIs
  • Truth anchor: D5/S1/Words/Patterns/ZhaoVincularPreimageRefutations.Multiplicity
  • Truth anchor: D5/S1/Words/Patterns/ZhaoVincularPreimageRefutations.Process
  • Truth anchor: D5/S1/Words/Patterns/ZhaoVincularPreimageRefutations.Push
  • Truth anchor: D5/S1/Words/Patterns/ZhaoVincularPreimageRefutations.SC
  • Truth anchor: D5/S1/Words/Patterns/ZhaoVincularPreimageRefutations.SecondLargestIs
  • Truth anchor: D5/S1/Words/Patterns/ZhaoVincularPreimageRefutations.Sn
  • Truth anchor: D5/S1/Words/Patterns/ZhaoVincularPreimageRefutations.claimMaximum
  • Truth anchor: D5/S1/Words/Patterns/ZhaoVincularPreimageRefutations.claimSecondLargest
  • Truth anchor: D5/S1/Words/Patterns/ZhaoVincularPreimageRefutations.decidableContains
  • Truth anchor: D5/S1/Words/Patterns/ZhaoVincularPreimageRefutations.decidableIsPerm
  • Truth anchor: D5/S1/Words/Patterns/ZhaoVincularPreimageRefutations.resultMaximum
  • Truth anchor: D5/S1/Words/Patterns/ZhaoVincularPreimageRefutations.resultSecondLargest