Blueprint

🗺️ Map of How Many Dyck Words Do the Divisors of an Integer Make? II. Generic Rigidity and Persistent Ambiguity

🏷️ Combinatorics on words · divisors of integers · line arrangements · Presburger arithmetic · computer-assisted proof
60 results ✅ 0 entirely in Lean ◐ 10 partly in Lean ✅ 5 in Isabelle 💻 33 checked by a program written proof only (a result can carry several tags)

Dependencies in the written proof: an arrow A → B means that this proof of B uses A. Every result rests on its written proof; the tags record what was checked besides, and each statement's “Evidence & scope” block says how far. The colour of a box is its strongest tag, in the order above; the tags in the box give the rest. Boxes with a thick border are the main results; click a box to read the statement.

cluster_0 Setting, two tools, and the linear term of R(a,b) cluster_1 Wall weights and fibres cluster_2 The dimension criterion cluster_3 The finite reduction cluster_4 The certificate for a≤5 cluster_5 The denominator a+1 cluster_6 Lemma D for a=3 cluster_7 The case a=3: the families of coincidences cluster_8 Open questions lem:M Lemma 2.1 Lemma M: moving one coordinate by ±1 changes the rows i with 0 ≤ i − h ≤ a by ±1 on an explicit interval J ✅ Isabelle · 💻 program rem:Da-lit Remark 2.4 literature: the count is Alekseyev’s, the leading term too; what may be new is at most the explicit Dₐ and the bound Pₐ prop:wall Proposition 3.1 wall weights: crossing Λ + hθ = ρ upwards raises Σ(c) by exactly ω(h,ρ) = (a+1−|h|)(b+1−|ρ|) > 0 ◐ part in Isabelle · 💻 program lem:M->prop:wall prop:pair-a2 Proposition 3.11 a = 2: the cells c = (−3, −1, 0, 1, 2) and d = (−2, −1, 0, 1, 1) have the same word for every b ≥ 2 💻 program lem:M->prop:pair-a2 thm:F Theorem 9.2 the five families F₁, …, F₅ next to the upper clipping: pairs of distinct realisable vectors with one word, for every b ◐ part in Isabelle · 💻 program lem:M->thm:F lem:P Lemma 2.2 Lemma P: H_(i′)(j′) counts the positions iθ + j below Λ + i′θ + j′, so Z(c) is a multiset of counts ✅ Isabelle rem:presentation Remark 3.3 E is intrinsic: no line can be added or erased, so E counts disconnected realisations of a word; only generic words occur lem:P->rem:presentation prop:twonum Proposition 6.3 two numerations of one progression: θ = 1/(a+1) and θ = b+1 give the same words in distinct cells; lower bounds for the ambiguous share on both sides of 1/(a+1) ◐ part in Isabelle · 💻 program lem:P->prop:twonum prop:Os Proposition 9.1 a = 3: O₁(s) at θ = 1/4 and O₂(s) at θ = b+1 have the word O(s), distinct iff s ≤ 4b+1 ◐ part in Isabelle · 💻 program lem:P->prop:Os thm:S1 Theorem 9.4 the family S₁: (x, y, B⁵) and G_(m/5)(s) at the exact point θ = m/5 have the same word, 2(⌊(b+1)/4⌋ + ⌊(b+2)/4⌋) pairs ◐ part in Isabelle · 💻 program lem:P->thm:S1 prop:Da Proposition 2.3 R(a,b) = Cₐ b(b+1) + (a+1) b + πₐ(b), with πₐ periodic of period dividing Pₐ (odd primes ≤ 2a) 💻 program prop:Da->rem:Da-lit thm:rigid Theorem 6.1 rigidity for a ≤ 5: E(a,b) = Θ(b) and W(a,b) = Cₐ b² + O(b) for a = 2, 3, 4, 5 (computer-assisted) 💻 program prop:Da->thm:rigid conj:a3 Conjecture 9.8 conjecture: E(3,b) = Efam(b) + g*_(b mod 4), slope 61/6 (checked by exact enumeration for 5 ≤ b ≤ 170 and some b ≤ 400) 💻 program prop:Da->conj:a3 cor:antichain Corollary 3.2 adjacent cells have different words; every fibre is an antichain; a coincidence balances the weights of the walls crossed ◐ part in Isabelle · 💻 program prop:wall->cor:antichain auto:remark-3.4 Remark 3.4 how much the balance filters prop:wallk Proposition 10.10 wall weights for k primes: crossing Λ = ⟨h, ϑ⟩ raises Σ by exactly ∏(aᵢ + 1 − |hᵢ|) ≥ 1 💻 program prop:wall->prop:wallk cor:antichain->rem:presentation cor:antichain->auto:remark-3.4 prop:fibre Proposition 3.5 every fibre has at most 1 + Σ_(q≤2a) Φq(2b) ≤ 4ab + 1 vectors (vertical strips + antichain) 💻 program lem:amb Lemma 3.6 E(a,b) ≤ Amb(a,b) ≤ 2E(a,b): rigidity is a statement on the number of ambiguous cells ◐ part in Isabelle · 💻 program thm:moments Theorem 3.7 finitely many power sums of Z(c), a number depending on a only (≤ 2tₐ − 1), determine the word 💻 program prop:momentsQ Proposition 3.8 with the cyclotomic multiplier, 2sₐ − 1 = O(a⁴) power sums of Z(c) determine the word 💻 program auto:question-10.7 Question 10.7 is the largest fibre other than O(0) eventually constant in b? prop:fibre->auto:question-10.7 prop:burnside Proposition 3.9 square patterns: exchanging the primes is an involution with 2a+1 fixed cells, so W(a,a) ≤ (R(a,a) + 2a + 1)/2 ◐ part in Isabelle · 💻 program cor:faith Corollary 6.2 asymptotic faithfulness for a ≤ 5: the proportion of cells whose word is shared is Θₐ(1/b) 💻 program lem:amb->cor:faith q:amb Question 10.4 is the set of ambiguous cells a finite union of families with one free parameter per b? lem:amb->q:amb prop:Nj Proposition 10.6 the number of fibres of a fixed size j is eventually a quasipolynomial in b; of degree ≤ 1 for j ≥ 2 under rigidity lem:amb->prop:Nj thm:moments->prop:momentsQ rem:exchange Remark 3.10 for a ≠ b the exchange maps (a,b) onto (b,a): R(a,b) = R(b,a), W(a,b) = W(b,a), but no symmetry inside one arrangement q:moments Question 10.5 is the least number of power sums that separate the words bounded by a small constant? thm:moments->q:moments prop:burnside->rem:exchange auto:question-10.9 Question 10.9 the diagonal: does E(n,n)/R(n,n) have a limit, and is it 1/2? prop:burnside->auto:question-10.9 rem:exchange->prop:pair-a2 prop:dim Proposition 4.1 dimension criterion: E(a,b) = O(b) iff every linear component of the semilinear set Bₐ has rank ≤ 2 auto:remark-4.2 Remark 4.2 prop:dim->auto:remark-4.2 rem:effective Remark 4.3 effectivity: for each fixed a, whether E(a,b) = O(b) is decidable (in principle only) prop:dim->rem:effective prop:dim->q:amb thm:reduction Theorem 5.1 finite reduction: (C1) rank two on every piece and (C2) on pairs with one signature imply E(a,b) = O(b) 💻 program thm:reduction->prop:momentsQ rem:area Remark 5.2 positive area alone gives no family: integer compatibility, distinct vectors and persistence are also needed thm:reduction->rem:area thm:reduction->thm:rigid cor:deep Corollary 6.5 no coincidence between two deep cells (a = 3, 4, 5; for a = 5 without the independent reproduction) 💻 program thm:reduction->cor:deep prop:tau Proposition 7.1 the smallest element of Z(c) is τ(c) = (a+1)(n+1) − a(a+1)m/2 + S_−(ε): equal words force (a+1)(n′−n) = S_−(ε) − S_−(ε′) ✅ Isabelle · 💻 program thm:reduction->prop:tau lem:formal Lemma 7.5 formal sums: the terms of the level identity are the entries of V_P, so every piece of C_+ has rank two (C1) thm:reduction->lem:formal prop:P678 Proposition 7.8 for 2 ≤ a ≤ 6 every candidate lies in C_+, one row forces m′ = m; a = 6: 132 candidates, none integer (no regression) 💻 program thm:reduction->prop:P678 thm:D Theorem 8.1 Lemma D (a = 3, b ≥ 317): a vector with two free coordinates far from 25 fixed lines shares its word with no other 💻 program thm:reduction->thm:D lem:C Lemma 8.3 Lemma C: every exceptional or thin vector lies in one of finitely many explicit affine families (strips, thin, rays) 💻 program thm:reduction->lem:C lem:S Lemma 8.4 Lemma S: if no recession direction keeps inside the chamber, the depth is bounded on the solution polyhedron thm:reduction->lem:S q:uniform Question 10.1 is W(a,b) = Cₐ b² + Oₐ(b) for every a ≥ 2? (C1) and (C2) outside C_+ thm:reduction->q:uniform thm:rigid->cor:faith cor:persist Corollary 6.4 ambiguity of positive section measure: liminf of the mean ambiguous share ≥ 1/(2a(a+1)|I|), and ≥ 3/(4a(a+1)|I|) with both sides 💻 program thm:rigid->cor:deep cor:tau Corollary 7.2 in all 109 candidates (a ≤ 5) the shift is exactly (S_−(ε) − S_−(ε′))/(a+1), and the two are not congruent mod a+1 💻 program thm:rigid->cor:tau thm:rigid->conj:a3 thm:rigid->prop:Nj prop:twonum->cor:persist prop:twonum->prop:Os q:profile Question 10.8 does the ambiguity profile A_(a,b)(θ) converge to a piecewise linear limit, and is the limit of its mean positive? prop:twonum->q:profile cor:persist->q:profile cor:deep->thm:D q:local Question 10.3 for every a ≥ 2, do shared words with two free coordinates stay within K(a) of the degenerate lines? cor:deep->q:local prop:tau->cor:tau auto:remark-7.3 Remark 7.3 prop:tau->auto:remark-7.3 prop:levels Proposition 7.4 levels: in C_+ the polynomial 𝒬Gc splits into clusters, one per level r ≤ a placed at Tᵣ m, plus a+1 that carry n ✅ Isabelle · 💻 program thm:allpos Theorem 7.6 pairs in the all-positive chamber, every a ≥ 2: same signature and different vectors ⇒ m′ = m, (N2) and (N3); conversely within one chamber 💻 program prop:tau->thm:allpos cor:allpos Corollary 7.7 the entries of level r coincide entry by entry; a single one forces m′ = m prop:tau->cor:allpos prop:levels->lem:formal prop:levels->thm:allpos lem:formal->thm:allpos cor:C2plus Corollary 7.11 for every a ≥ 2 every pair of pieces of C_+ satisfies (C1) and (C2): no two- parameter family comes from C_+ lem:formal->cor:C2plus thm:allpos->cor:allpos thm:allpos->prop:P678 cor:allpos-count Corollary 7.9 the candidates of the certificate are exactly the pairs of templates with (N2) and (N3): 6, 15, 42, 45, 132 for a = 2..6 💻 program thm:allpos->cor:C2plus q:N2N3 Question 10.2 do equal window sums up to a constant (N2) force equal multisets of level constants (N3)? (true for a ≤ 15) thm:allpos->q:N2N3 thm:nonint Theorem 7.10 the shift is never an integer: if the window sums of two distinct templates differ by a constant D, then a+1 ∤ D ✅ Isabelle · 💻 program prop:P678->cor:allpos-count conj:uniform Conjecture 7.12 conjecture: for a ≥ 2 every candidate pair of (C2) lies in C_+ (checked for a ≤ 6) prop:P678->conj:uniform thm:nonint->cor:C2plus thm:nonint->q:N2N3 cor:C2plus->conj:uniform cor:C2plus->q:uniform conj:uniform->q:uniform rem:thin-deep Remark 8.2 the condition of two free coordinates is necessary: the thin vectors O₂(s) are deep and share their word 💻 program thm:D->rem:thin-deep thm:D->q:local lem:C->thm:D lem:S->thm:D prop:Os->rem:thin-deep thm:a3-families Theorem 9.7 a = 3: every listed set has one word, so E(3,b) ≥ |𝒰b| − |π₀(𝒢b)| ◐ part in Isabelle · 💻 program prop:Os->thm:a3-families auto:remark-9.3 Remark 9.3 heuristically the five families are clipped reflections around m/q; not made precise thm:F->auto:remark-9.3 cor:fibre4 Corollary 9.5 a fibre with at least four cells: (b−4, b−1, B⁵), (b−3, b−2, B⁵), (b−2, b−2, b−1, B⁴), (b−2, b−1, b−1, b−1, B³) ◐ part in Isabelle · 💻 program thm:F->thm:a3-families auto:remark-9.6 Remark 9.6 a = 2 has its exact point at denominator a+1 = 3; for a = 3 the denominator is 5 (no link proved) thm:S1->cor:fibre4 thm:S1->auto:remark-9.6 cor:fibre4->thm:a3-families cor:fibre4->auto:question-10.7 thm:a3-families->conj:a3 prop:Nj->auto:question-10.7 auto:question-10.11 Question 10.11 three primes: is the share of ambiguous cells of lower order than the number of cells as a₃ → ∞? prop:wallk->auto:question-10.11

What the paper contributes

The language of the words $\langle\!\langle n\rangle\!\rangle_2$ and its questions are Rodríguez Caballero's; paper I (doi:10.5281/zenodo.24541288) counted the cells $R(a,b)$ of the pattern $r^as^b$ and asked whether the excess $E(a,b)=R(a,b)-W(a,b)$ is linear in $b$ for $a\ge2$ (rigidity). This draft answers it for $a\le5$ and studies where the coincidences live, at three levels of status:

  • Level 1, general theory (every $a$; written proofs, re-derived by an independent AI agent, not checked by a human referee). A dimension criterion (Proposition 4.1) and a finite reduction to affine observation vectors on pieces of the parameter space (Theorem 5.1). Crossing the wall $\Lambda+h\theta=\rho$ raises $\Sigma(c)$ by exactly $\omega(h,\rho)=(a+1-|h|)(b+1-|\rho|)$ (Proposition 3.1), so adjacent cells have different words, every fibre is an antichain of at most $4ab+1$ cells, $E\le\mathrm{Amb}\le2E$, and boundedly many power sums of $Z(c)$ determine the word. From Alekseyev's count, $R(a,b)=C_ab(b+1)+(a+1)b+\pi_a(b)$ with $\pi_a$ of period dividing $P_a$ (Proposition 2.3; the count itself is classical).
  • Level 2, computer-assisted rigidity (program and reduction not checked by a human referee). $E(a,b)=\Theta(b)$ and $W(a,b)=C_ab^2+O(b)$ for $a=2,3,4,5$ (Theorem 6.1); the only affine candidates shift $n$ by a non-integral multiple of $1/(a+1)$, explained by the smallest element $\tau(c)$ of $Z(c)$ (Proposition 7.1). For every $a\ge2$ the all-positive chamber has no two-parameter family (Theorems 7.6 and 7.10, Corollary 7.11, written proofs; Theorem 7.10 and Proposition 7.4 are checked in Isabelle/HOL). Measured by length, ambiguity does not vanish: lower bounds on both sides of $\theta=1/(a+1)$ give a mean ambiguous share with $\liminf\ge3/(4a(a+1)|I|)$ (Proposition 6.3, Corollary 6.4). Lemma D for $a=3$, $b\ge317$ (Theorem 8.1).
  • Level 3, a conjectural classification for $a=3$. Nine one-parameter families of coincidences, each proved by hand (Theorems 9.2, 9.4, Proposition 9.1, Corollary 9.5), give $E(3,b)$ up to a periodic constant fitted to the data (Conjecture 9.8): it agrees with exact enumeration for $5\le b\le170$ and some $b\le400$; completeness is not proved.

Fifteen written results are checked, wholly or in part, in Isabelle/HOL (public: karlesmarin/formalizations, Isabelle/CaballeroDyckWords). What the paper claims as its own, as far as its searches could see: the finite reduction and its certificate, Lemma D, the all-positive-chamber analysis and the families of Section 9; the rest is known, standard or elementary and is labelled so in the paper. Draft of 26 November 2026, not refereed, not published.

🚀 Start here: Proposition 3.1: wall weights: crossing Λ + hθ = ρ upwards raises Σ(c) by exactly ω(h,ρ) = (a+1−|h|)(b+1−|ρ|) > 0.

Main results:

  • Proposition 2.3: R(a,b) = Cₐ b(b+1) + (a+1) b + πₐ(b), with πₐ periodic of period dividing Pₐ (odd primes ≤ 2a)
  • Proposition 3.1: wall weights: crossing Λ + hθ = ρ upwards raises Σ(c) by exactly ω(h,ρ) = (a+1−|h|)(b+1−|ρ|) > 0
  • Theorem 5.1: finite reduction: (C1) rank two on every piece and (C2) on pairs with one signature imply E(a,b) = O(b)
  • Theorem 6.1: rigidity for a ≤ 5: E(a,b) = Θ(b) and W(a,b) = Cₐ b² + O(b) for a = 2, 3, 4, 5 (computer-assisted)
  • Proposition 6.3: two numerations of one progression: θ = 1/(a+1) and θ = b+1 give the same words in distinct cells; lower bounds for the ambiguous share on both sides of 1/(a+1)
  • Theorem 7.6: pairs in the all-positive chamber, every a ≥ 2: same signature and different vectors ⇒ m′ = m, (N2) and (N3); conversely within one chamber
  • Theorem 7.10: the shift is never an integer: if the window sums of two distinct templates differ by a constant D, then a+1 ∤ D
  • Theorem 8.1: Lemma D (a = 3, b ≥ 317): a vector with two free coordinates far from 25 fixed lines shares its word with no other
  • Theorem 9.2: the five families F₁, …, F₅ next to the upper clipping: pairs of distinct realisable vectors with one word, for every b
  • Conjecture 9.8: conjecture: E(3,b) = Efam(b) + g*_(b mod 4), slope 61/6 (checked by exact enumeration for 5 ≤ b ≤ 170 and some b ≤ 400)

🧭 Fields: where the paper lives and what it connects

Tools taken from other branches

  • Paper I of the series (Rodríguez Caballero’s language L) → the cells of the lines Λ + hθ = ρ, the multiset Z(c) that encodes the word, realisation by primes, the count R(a,b), Woods’ quasipolynomiality, W(1,b) and W(2,b), the two tools of its Supplement (Lemma M and Lemma P) — Lemma 2.1, Lemma 2.2, Proposition 2.3, Theorem 6.1
  • Threshold functions (Acketa–Žunić 1991; Alekseyev 2010) → R(a,b) = (N(2b,2a) + 4a + 4b + 6)/8 through Alekseyev’s exact count; the linear term D_a = C_a + a + 1 and the period bound P_a are read off it by Möbius inversion — Proposition 2.3
  • Semilinear sets (Ginsburg–Spanier) and polyhedra (Hoffman; Minkowski–Weyl) → the dimension criterion for E(a,b) = O(b); the error bound in case (iv) of the finite reduction; the recession argument of Lemma S — Proposition 4.1, Theorem 5.1, Lemma 8.4
  • Sturmian words (Mignosi; Berstel–Pocchiola; Lothaire) → the templates ε are the factors of length 2a of mechanical words, counted by Mignosi’s formula; the non-integrality theorem is a statement on equal window sums of two such factors — Theorem 5.1, Theorem 7.10
  • Sparse polynomials (Hajós’s lemma) → finitely many power sums of Z(c), a number depending on a only, determine the word — Theorem 3.7

What the results serve

  • Rigidity of the words of divisors (Question 11.1 of paper I) ← E(a,b) = Θ(b) and W(a,b) = C_a b² + O(b) for a ≤ 5, the all-positive chamber for every a, where the coincidences live (Lemma D), the families for a = 3 and open questions on every a, fibres, periods and the ambiguity profile — Theorem 6.1, Theorem 7.6, Theorem 8.1, 9.8