Keyboard shortcuts

Press ← or → to navigate between chapters

Press ? to show this help

Press Esc to hide this help

Transient Letters and Palindromic Complexity

Abstract

A four-letter path language has symmetric orders and no connection, but only three palindromes of length three.

Words are finite lists over Fin k. A permutation sigma gives the departure order by sigma a < sigma b and the arrival order by sigma b < sigma a. Thus the two orders are strict, total and symmetric. Section 2, page 5: “A pair of orders (<D, <A) is symmetric if <A is the reverse of <D, i.e. a <A b if and only if b <D a for all distinct letters a, b ∈ A.”

Definition 1.1 (Factors remain in the language).

Formalization. D5/S1/Words/SymmetricOrderPalindromicComplexityRefutation.IsFactorial (✓ std3).

Citation. Sébastien Ferenczi, Luca Q. Zamboni (2025). Clustering, order conditions, and languages of interval exchanges. URL: https://arxiv.org/abs/2507.17370v2.

Commentary.

Section 1, page 4: “By a language L over A we mean a factorial language: a collection of sets (Ln)n≥0 where the only element of L0 is the empty word ε, and where each Ln for n ≥ 1 consists of words of length n, such that each v ∈ Ln+1 can be written in the form v = au = u′b with a, b ∈ A and u, u′ ∈ Ln.” IsFactorial encodes closure under every contiguous factor using List.IsInfix. The counterexample contains the empty word; UsesAllLetters fixes its alphabet.

Definition 1.2 (Two-sided extendability).

Formalization. D5/S1/Words/SymmetricOrderPalindromicComplexityRefutation.IsExtendable (✓ std3).

Citation. Sébastien Ferenczi, Luca Q. Zamboni (2025). Clustering, order conditions, and languages of interval exchanges. URL: https://arxiv.org/abs/2507.17370v2.

Commentary.

Section 1, page 4: “Except when otherwise mentioned, all our languages are tacitly assumed to be extendable: for each v ∈ Ln there exists a,b ∈ A with av,vb ∈ Ln+1.” Left extension is List.cons; right extension appends a singleton.

Definition 1.3 (The alphabet has k letters).

Formalization. D5/S1/Words/SymmetricOrderPalindromicComplexityRefutation.UsesAllLetters (✓ std3).

Citation. Sébastien Ferenczi, Luca Q. Zamboni (2025). Clustering, order conditions, and languages of interval exchanges. URL: https://arxiv.org/abs/2507.17370v2.

Commentary.

Conjecture 1, page 14: “A language on k letters satisfying a symmetric order condition and with no connection has palindromic complexity 1 for n even, k for n odd.” Every element of Fin k occurs as a singleton. Consequently the alphabet has exactly k letters, rather than merely being contained in Fin k.

Definition 1.4 (The symmetric order condition).

Formalization. D5/S1/Words/SymmetricOrderPalindromicComplexityRefutation.SymOrderCondition (✓ std3).

Citation. Sébastien Ferenczi, Luca Q. Zamboni (2025). Clustering, order conditions, and languages of interval exchanges. URL: https://arxiv.org/abs/2507.17370v2.

Commentary.

Definition 6, page 6: “A language L (extendable or not) satisfies the order condition for the pair of orders (<D,<A) if whenever axb, cxd ∈ L with a, b,c,d ∈ A, x ∈ A* (possibly empty), a ≠ c and b ≠ d, then a <A c if and only if b <D d. The order condition is called the symmetric order condition if the pair of orders (<D,<A) is symmetric.” The middle word x may be empty. The reversed arrival order explains the comparison sigma c < sigma a.

Definition 1.5 (Bispecial words).

Formalization. D5/S1/Words/SymmetricOrderPalindromicComplexityRefutation.IsBispecial (✓ std3).

Citation. Sébastien Ferenczi, Luca Q. Zamboni (2025). Clustering, order conditions, and languages of interval exchanges. URL: https://arxiv.org/abs/2507.17370v2.

Commentary.

Section 1, page 4: “A word w in L is right special (resp. left special) if it has more than one right extension wx (resp. left extension xw) in L, with x in A. If w is both right special and left special, then w is bispecial.” The two existential pairs state that the one-letter extensions are distinct. For a factorial language these extensions also imply w ∈ L.

Definition 1.6 (No connection).

Formalization. D5/S1/Words/SymmetricOrderPalindromicComplexityRefutation.NoConnection (✓ std3).

Citation. Sébastien Ferenczi, Luca Q. Zamboni (2025). Clustering, order conditions, and languages of interval exchanges. URL: https://arxiv.org/abs/2507.17370v2.

Commentary.

Definition 7, page 6: “If a language L on an alphabet A satisfies the order condition for (<D,<A), a bispecial word w has a connection if there are letters a <A a′, consecutive in the order <A, letters b <D b′, consecutive in the order <D, such that awb and a′wb′ are in L, and neither awb′ nor a′wb is in L.” The letters ap and bp encode a′ and b′. Consecutiveness means strict comparison with no intervening letter. Arrival consecutiveness is reversed, so sigma ap < sigma a; departure consecutiveness is sigma b < sigma bp.

Definition 1.7 (Palindromic complexity).

Formalization. D5/S1/Words/SymmetricOrderPalindromicComplexityRefutation.palComplexity (✓ std3).

Citation. Sébastien Ferenczi, Luca Q. Zamboni (2025). Clustering, order conditions, and languages of interval exchanges. URL: https://arxiv.org/abs/2507.17370v2.

Commentary.

Introduction, page 3: “We give also some estimates on the palindromic complexity of L, i.e., the number of palindromes in L of each given length n.” A palindrome satisfies List.reverse w = w. Set.ncard counts the set of such words of length n; this set is finite because Fin k is finite. The empty word contributes one at length zero whenever it belongs to the language.

Definition 1.8 (Conjecture 1).

Formalization. D5/S1/Words/SymmetricOrderPalindromicComplexityRefutation.claim (✓ std3).

Citation. Sébastien Ferenczi, Luca Q. Zamboni (2025). Clustering, order conditions, and languages of interval exchanges. URL: https://arxiv.org/abs/2507.17370v2.

Commentary.

Section 4, Conjecture 1, page 14: “A language on k letters satisfying a symmetric order condition and with no connection has palindromic complexity 1 for n even, k for n odd.” The encoding quantifies over every natural k, every K : Set (List (Fin k)), every sigma : Equiv.Perm (Fin k), and every natural n, including zero. The hypotheses state factoriality, two-sided extendability, use of all letters, the symmetric order condition, and absence of connections. No recurrence or closure under reversal is assumed.

Theorem 1.9 (A four-letter counterexample).

Proof. Machine-checked in Lean as D5/S1/Words/SymmetricOrderPalindromicComplexityRefutation.result (✓ std3). ∎

Resolves. Problems/ferenczi-zamboni-2025-palindromic-complexity-no-connection (refuted) by D5/S1/Words/SymmetricOrderPalindromicComplexityRefutation.result.

Source. Repository-derived.

Acknowledgement. Sébastien Ferenczi, Luca Q. Zamboni (2025). Clustering, order conditions, and languages of interval exchanges. URL: https://arxiv.org/abs/2507.17370v2.

Commentary.

Use the graph on Fin 4 with edges 0 → 3, 1 → 3, 2 → j for every j, and 3 → 0. Its finite paths form a factorial language containing the empty word. Vertex 2 precedes every vertex, and every vertex has a successor, so the language extends on both sides and uses all four letters. Distinct incoming edges force their common target into {0,3}; subsequent vertices stay in the deterministic two-cycle. Hence no nonempty word is bispecial. The empty word satisfies the symmetric order condition and has no connection, as verified from the edge rows. The palindromes of length three are exactly [2,2,2], [0,3,0] and [3,0,3]. Thus palComplexity at three is three, while the conjecture requires four. The source vertices 1,2,3,4 correspond to 0,1,2,3.

References