How Many Dyck Words Do the Divisors of an Integer Make? IV. Central Rigidity and the Exact Primary Ambiguity Profile for General \(a\)
At a glance
What the draft contributes
For integers $2^{e-1}r^as^b$ the divisor Dyck word is constant on the cells of a line arrangement. Part II asked for the limit $F_a(\theta)$ of the ambiguous proportion of the vertical section as $b\to\infty$; Part III found it for $a=2$ with a computer classification of fibres. This draft works for every $a\ge2$ without any classification.
- On the whole first strip $0<\theta\le1/a$ the ambiguous length of the section differs from $bU_a(\theta)$ by a non-negative excess bounded by an explicit constant depending only on $a$ (Theorem 1), so $F_a=U_a$ there; the lower bound $L_b\ge bU_a$ holds for every $\theta>0$.
- The key input is central injectivity: two distinct cells of small spread, one of them away from the boundary, never carry the same word. It gives central rigidity: every ambiguous central cell on the first strip is of the primary form $O_1(s)$.
- At the second peak the draft proves the lower bounds $\liminf_bA_{a,b}(\frac2{a+1})\ge\frac1{a+1}$ ($a$ even) and $\liminf_bA_{a,b}(\frac2{a+2})\ge\frac2{(a+1)(a+2)}$ ($a$ odd), by a reflection identity for the counting function of the set $\Sigma$.
- Equality at the second peak, the support and zeros of $F_a$, and a step law of period $a+1$ are stated as conjectures; the exact sections behind them are data, not theorems.
An AI assistant was used in preparing this work; every statement here is backed by the programs and Lean proofs linked from it.
Formal verification: every proved statement links to its Lean declarations (file and line, pinned to a commit); the whole folder is Formalizations/Combinatorics/Caballero in the public repository karlesmarin/formalizations.
🚀 Start here: Theorem 1: On the first strip the ambiguous length is b·Uₐ plus a bounded excess; hence Fₐ = Uₐ there.
Main results:
- Theorem 1: On the first strip the ambiguous length is b·Uₐ plus a bounded excess; hence Fₐ = Uₐ there
- Theorem 2: Central injectivity: a cell with a margin and small spread shares its word with no other cell of small spread
- Theorem 3: Second peak: lower bounds 1/(a+1) for even a and 2/((a+1)(a+2)) for odd a
🗺️ Map of the results (click a box to go to it)
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.
📐 Setting (copied from the paper, Section 1, Notation)
We follow Part II. Fix integers \(a\ge 2\) and \(b\ge 1\). For \(\Lambda ,\theta {\gt}0\) off the lines \(\Lambda +h\theta \in \mathbb Z\) (\(|h|\le a\)), put
and let \(Z(c)\) be the multiset of the \(K=(a+1)(b+1)\) values \(H_i(j)\). The word of the integer is determined by \(Z(c)\) and conversely (Part I, Section 6); a vector is realisable if it arises from some \((\Lambda ,\theta )\) as above, and every realisable vector is realised by primes (Part I, Lemma 2.3). The fibre of a realisable vector \(c\) is the set of realisable vectors \(d\) with \(Z(d)=Z(c)\); \(c\) is ambiguous if its fibre has at least two elements. The ambiguous length of the vertical section at \(\theta \) is
Points on lines of the arrangement have zero length and are ignored. When the limit exists we write \(F_a(\theta )=\lim _{b\to \infty }A_{a,b}(\theta )\).
Phase functions (copied from the paper, Section 1).
For a vector \(k=(k_h)_{h=-a}^{a}\) of integers define its phase width
the length of the set of \(u\in (0,1)\) with \(\left\lfloor u+h\theta \right\rfloor =k_h\) for every \(h\). The primary floor patterns are
and the primary phase function is
For \(a=2\) this is the function \(U_1\) of Part III.
We prove that for every \(a\ge 2\) the limit ambiguity profile \(F_a\) equals an explicit three-piece function \(U_a\) on the whole first strip \(0{\lt}\theta \le 1/a\): the ambiguous length satisfies \(0\le L_b(\theta )-bU_a(\theta )\le 12a+11\), and \(U_a\) vanishes for \(\theta \ge 1/a\). Here, for integers \(2^{e-1}r^as^b\), the divisor Dyck word is constant on the cells of a line arrangement in the \((\Lambda ,\theta )\)-plane, and \(F_a(\theta )\) is the limit as \(b\to \infty \) of the ambiguous proportion of the vertical section at \(\theta \), as asked in Part II. Part III found \(F_2\) using a computer classification of fibres that is not available for larger \(a\); no classification is used here. The proof rests on central rigidity: on the first strip, every ambiguous central cell is of the form \(O_1(s)\), the cell of the point \(P_1(s)\) of Part II. One of its three cases uses a central injectivity theorem: two distinct cells of spread at most \(E\), both with all coordinates between \(-1\) and \(b-1\) and one of them with all coordinates at most \(b-E\), never carry the same word. At the second peak we prove \(\liminf _bA_{a,b}(\frac2{a+1})\ge \frac1{a+1}\) for even \(a\) and \(\liminf _bA_{a,b}(\frac2{a+2})\ge \frac2{(a+1)(a+2)}\) for odd \(a\), by a reflection identity for the counting function of \(\Sigma =\{ 2t+qs:\ t,s\in \mathbb Z,\ 0\le t\le a,\ s\ge 0\} \), with \(q\) the denominator of the slope (for even \(a\), the numerical semigroup \(\langle 2,a+1\rangle \)); for \(a\le 5\) these bounds equal the limits estimated from exact sections. We close with conjectures on equality at the second peak, on the support and zeros of \(F_a\), and on a step law of period \(a+1\). All seventeen proved results are formalized in Lean 4 with Mathlib, with no hypotheses beyond those of the text, and each Lean statement was compared with the text before it was accepted. The scripts behind every computation are in the supplement.
1 Introduction
The question.
The divisor Dyck word of an integer records how its divisors interleave with a shifted copy of themselves on the logarithmic scale; Rodríguez Caballero used it to express Hooley’s \(\Delta \)-function [ 4 ] (for \(\Delta \) itself see [ 5 , 6 ] ). For integers \(2^{e-1}r^as^b\) with \(r\ne s\) odd primes, the word is constant on the cells of a line arrangement in the plane of \(\Lambda =\log (2^e)/\log s\) and \(\theta =\log r/\log s\) [ 1 ] . A cell is ambiguous if another cell carries the same word. Part II [ 2 ] showed that ambiguity persists along whole vertical sections and asked [ 2 , Question 10.8 ] whether the ambiguous proportion \(A_{a,b}(\theta )\) of the section \(\{ \theta \} \times (0,b+a\theta )\) converges as \(b\to \infty \), and to what. Part III [ 3 ] answered this for \(a=2\): the limit \(F_2\) exists, is piecewise affine with breakpoints in the Farey sequence of order four, and is the sum of two phase functions, one of weight \(1\) and one of weight \(1/3\).
For \(a\ge 3\) the approach of Part III is not available: it rests on the complete computer-assisted classification of non-singleton fibres for \(a=2\) in Part I, and no such classification is known for larger \(a\). This paper determines the profile on the whole first strip \(0{\lt}\theta \le 1/a\) for every \(a\ge 2\), without any classification of fibres, and gives lower bounds at the second peak.
Notation.
We follow Part II. Fix integers \(a\ge 2\) and \(b\ge 1\). For \(\Lambda ,\theta {\gt}0\) off the lines \(\Lambda +h\theta \in \mathbb Z\) (\(|h|\le a\)), put
and let \(Z(c)\) be the multiset of the \(K=(a+1)(b+1)\) values \(H_i(j)\). The word of the integer is determined by \(Z(c)\) and conversely [ 1 , Section 6 ] ; a vector is realisable if it arises from some \((\Lambda ,\theta )\) as above, and every realisable vector is realised by primes [ 1 , Lemma 2.3 ] . The fibre of a realisable vector \(c\) is the set of realisable vectors \(d\) with \(Z(d)=Z(c)\); \(c\) is ambiguous if its fibre has at least two elements. The ambiguous length of the vertical section at \(\theta \) is
Points on lines of the arrangement have zero length and are ignored. When the limit exists we write \(F_a(\theta )=\lim _{b\to \infty }A_{a,b}(\theta )\). (Part II, Proposition 6.3, uses \(F_a(d)\) for a different function of the distance \(d\) to \(1/(a+1)\); we do not use that notation.)
Phase functions.
For a vector \(k=(k_h)_{h=-a}^{a}\) of integers define its phase width
the length of the set of \(u\in (0,1)\) with \(\left\lfloor u+h\theta \right\rfloor =k_h\) for every \(h\). The primary floor patterns are
and the primary phase function is
For \(a=2\) this is the function \(U_1\) of Part III.
Main results.
Let \(a\ge 2\). For \(0{\lt}\theta \le 1/a\) and every \(b\ge 1\),
Consequently \(F_a\) exists on \((0,1/a]\), the convergence \(A_{a,b}\to F_a\) is uniform there with rate \(O_a(b^{-1})\), and
✅ Checked when this page was built: AngularPrimaryPhase.lean compiles with Lean 4.35.0, no errors, no sorry. Axioms — primary_phase, ambLength_le_primaryPhase, phase_of_isO1, isO1_of_ambiguous_central: propext, Classical.choice, Quot.sound.
Reproduce: Lean 4.35.0, Mathlib f0b4c8150aa0; in that Lean project, lake env lean AngularPrimaryPhase.lean (SHA-256 of the compiled file: 68cd24a560710d98…; a source page on this site may show it with comments edited, under its own hash).
Trust base: 🔒 kernel only. Lean: 4 results, standard axioms only
Proof: in this note·Formalized: Lean 4, by the author (public formalizations repository)·Covers: the whole statement
🆕 Classical and new: Abstract: "We determine $F_a$ on the whole first strip $0<\theta\le1/a$ for every $a\ge2$, with no classification." Part III did $a=2$ with a computer classification of fibres.
↳ Used in: Lemma 4
Split \((0,b+a\theta )\) into the unit intervals \((j,j+1)\), \(0\le j\le b\) (the last one truncated). The non-central units are those with \(j{\lt}4a+5\) or \(j{\gt}b-C_a\): at most \(4a+5+C_a\) of them, each of length at most \(1\). In a central unit, by Proposition 14 every ambiguous point lies in a cell of the form \(O_1\), that is its fractional part lies in the phase set of one of the patterns \(k^{(r)}\); these sets have total length \(U_a(\theta )\), and there are at most \(b\) central units. Hence
and Theorem 5 gives the lower bound. Finally, with \(R=L_b(\theta )-bU_a(\theta )\in [0,12a+11]\), \(0\le U_a\le 1\) and \(a\theta \le 1\), we get \(A_{a,b}(\theta )-U_a(\theta )=(R-a\theta U_a(\theta ))/(b+a\theta )\in [-1/b,(12a+11)/b]\), uniformly in \(\theta \in (0,1/a]\); so \(F_a\) exists there and equals \(U_a\). Exhaustive checks of the lemmas of this section and of the central rigidity: s10_bloque_local.py, s13_periodo_delta.py, s15_P_formas.py, s16_teorema_V399.py.
💡 In plain words (commentary, not part of the paper)
On slopes up to \(1/a\), count the unit intervals of the section. Near the two ends of the section nothing is controlled, but there are only a bounded number of such units. In the middle, central rigidity says that an ambiguous cell has the primary form, and the primary forms occupy exactly \(U_a(\theta )\) of each unit. So the ambiguous length is \(bU_a\) plus a constant that depends on \(a\) only; the lower bound is the separate theorem on the lower bound.
🛡️ Evidence & scope
Program: Exact sections for a = 1..5: L_b - b U_a lies in [0, 1] at every slope p/q <= 1/a of the archived sections (12852 sections, 0 failures of L_b >= b U_a; control falls in 2342). The paper says its constant is far from sharp (Question K3+).. suplemento_IV/scripts/s8_cota_vs_secciones.py
Program: Checks the block, marker and band lemmas at 1500 exact points (0 failures) and recomputes the constants of the case count; the supplement script is dated before the latest constant change of the text, so its printed constants are to be compared with the current Theorem 1.. suplemento_IV/scripts/a2_sec4.py
🧪 Lab: Primary phase live: the ambiguous length L_b(θ) of the exact section against b·U_a(θ), and A_a,b(θ) over (θ, b) in 3D
Choose \(a\in \{ 2,3,4,5\} \), \(b\) (from \(a+1\) up to the largest exponent whose exact fibres are in the page: 20, 16, 14, 12) and a slope \(\theta =p/q\) with \(0{\lt}\theta \le 1\). The 3D figure comes first (drag to turn): the exact sections \(A_{a,b}(k/60)\), \(1\le k\le 60\), for every \(b\) from \(a+1\) to the maximum; the slider picks the row \(b\) and the 2D view beside it compares that row with \(U_a\). For each section the lab cuts \(\{ \theta \} \times (0,b+a\theta )\) at the walls \(\rho -h\theta \) (\(|h|\le a\), \(|\rho |\le b\)), reads the cell vector \(c_h=\operatorname {clip}\lfloor \Lambda +h\theta \rfloor \) at the midpoint of each piece with integer arithmetic, and adds the lengths of the pieces whose vector lies in a non-singleton fibre; the list of those vectors comes from the supplement’s exact enumerator (lab/hacer_datos.py). \(U_a(\theta )\) is computed from its definition (the sum of the \(a+1\) phase widths) and compared with the three-piece formula of the primary-phase theorem where \(\theta \le 1/a\). It checks, in exact arithmetic: the lower bound \(L_b\ge bU_a\) of the lower-bound theorem at your \(\theta \) and at every pair \((b,k/60)\) of the landscape; and, for \(\theta \le 1/a\), the upper bound \(L_b-bU_a\le C_a\) of the primary-phase theorem, where \(C_a\) is the explicit constant of that theorem, read from the paper’s .tex when the lab data are generated (it is printed with each result). It also reports the smallest and largest excess \(L_b-bU_a\) on the strip, which is an observation (the paper’s Question K3⁺), not a theorem. Beyond \(1/a\) the dashed curve is \(U_a=0\), so the lower bound says nothing there. The segments and faces joining the exact values are visual interpolation.
🖼️ Figure 1
The ambiguity profile for \(a=2,3,4,5\): proved limit on the first strip, estimates elsewhere. Shaded: the first strip \(0{\lt}\theta \le 1/a\), where \(F_a=U_a\) is Theorem 1. Dots: the limit estimated at every slope \(p/q\) of the exact sections (\(q\le 6,12,10,12\)) by the step law \((N_{b+a+1}-N_b)/((a+1)q)\) on the upper half of the range of \(b\); at every one of the \(172\) pairs \((a,\theta )\) of the exact sections (all reduced \(p/q\le 4,1,1,1\) with \(q\le 6,12,10,12\); the figure shows those up to \(2/a+0.12\)) this estimate is a single value, and in the shaded strip it equals \(U_a\) at every slope. Diamonds (labelled by their slope): the lower bounds of Theorem 3, which the estimates meet. Beyond the strip the dots are data, not theorems: they suggest the zeros at \(\theta =1/j\) and the vanishing from \(2/a\) on (Conjecture 22). Source: fig_perfil_general.py.
🖼️ Figure 2
The finite sections \(A_{3,b}(\theta )\) for \(4\le b\le 40\) and all slopes \(p/q\le 2/3\) with \(q\le 12\); mesh vertices are exact, the faces between them are visual interpolation. Red, at the back: the limit \(U_3\) on the first strip (Theorem 1). Orange, along \(b\) at \(\theta =2/5\): the lower bound at each finite \(b\) proved in Section 5 (Theorem 18 and the proof of Theorem 3), which tends to \(1/10\). Beyond \(1/3\) the computed values stay low in the displayed range; their limit there is the subject of Section 6. Source: fig_perfil_3d.py (it checks \(L_b\ge bU_3\) on the strip and the orange bound at every vertex).
The lower bound \(L_b\ge bU_a\) holds for every \(\theta {\gt}0\) (Theorem 5), but it says nothing for \(\theta \ge 1/a\): there \(U_a=0\), because the \(a+1\) zeros \(k^{(r)}_{-r}=\dots =k^{(r)}_{a-r}=0\) force \(r\theta \le u{\lt}1-(a-r)\theta \), an interval of length \(1-a\theta \). The upper bound is the substance of the theorem. Its proof (Section 4) shows that in the first strip every ambiguous cell away from the ends of the section belongs to the primary family \(O_1\), the cells of the points \(P_1(s)\) of Part II, Proposition 6.3 (called \(O_1(s)\) for \(a=3\) in Part II, Proposition 9.1; Lemma 11 below). The key input is an injectivity statement for \(Z\) on central cells.
Let \(E\ge 1\) be an integer. Let \(c\) be a realisable vector with \(-1\le c_h\le b-E\) for all \(h\) and \(\max _hc_h-\min _hc_h\le E\). Then every realisable \(d\ne c\) with \(-1\le d_h\le b-1\) for all \(h\) and \(\max _hd_h-\min _hd_h\le E\) has \(Z(d)\ne Z(c)\).
✅ Checked when this page was built: AngularCentralInjective.lean compiles with Lean 4.35.0, no errors, no sorry. Axioms — central_injectivity, eq_of_Z_eq: propext, Classical.choice, Quot.sound.
Reproduce: Lean 4.35.0, Mathlib f0b4c8150aa0; in that Lean project, lake env lean AngularCentralInjective.lean (SHA-256 of the compiled file: cfd0e0eca3a6b19e…; a source page on this site may show it with comments edited, under its own hash).
Trust base: 🔒 kernel only. Lean: 2 results, standard axioms only
Proof: in this note·Formalized: Lean 4, by the author (public formalizations repository)·Covers: the whole statement
↳ Used in: Proposition 14, 19
A realisable vector with all coordinates in \([-1,b-1]\) is unclipped (the clip only produces \(-b-1\) and \(b\)), so \(c_h=\left\lfloor \Lambda +h\theta \right\rfloor \) with \(\theta {\gt}0\): a non-decreasing floor form; the same holds for \(d\). If \(Z(c)=Z(d)\), Lemma 7 gives \(Z^{\mathrm r}(c)=Z^{\mathrm r}(d)\), Lemma 8 gives equal window sums, and Lemma 9 gives \(c=d\). Exhaustive check: s22_colision_central.py, s25_E_un_margen.py.
💡 In plain words (commentary, not part of the paper)
If two cells have the same word, their row multisets agree (rows lemma). With the margin and the spread bound, the row multisets force the window sums to agree (upper tail lemma), and window sums of floor forms determine the vector (second lemma). So the two cells are equal.
🛡️ Evidence & scope
Program: b = 60, a = 2, 3: 18 and 42 shapes with equal P and 0 central collisions of Z.. suplemento_IV/scripts/s22_colision_central.py
Program: All realisable cells for a = 2, 3, b = 10..14, E = 2..5: 0 colliding pairs violating the theorem; the control without the spread bound on d finds pairs.. suplemento_IV/scripts/s25_E_un_margen.py
Program: Summary version without the hypotheses has colliding pairs; the version of the theorem has 0 (a = 2, 3, b = 8, 10, 12, E = 2..6).. suplemento_IV/scripts/a4_resumen_E.py
🧪 Lab: Central injectivity live: the ambiguous cells as (c₋ₐ, spread, cₐ), the pairs sharing a word, and what happens when a hypothesis is dropped
Choose \(a\in \{ 2,\dots ,5\} \), \(b\) (up to 20, 16, 14, 12) and \(E\in \{ 1,\dots ,6\} \). The lab holds every non-singleton fibre of the exact enumeration (the cells \(c\) that share their word \(Z(c)\) with another realisable cell). It lists the ordered pairs \((c,d)\) of one fibre, \(c\ne d\), such that \(c\) satisfies the hypotheses of the central injectivity theorem on \(c\) (\(-1\le c_h\le b-E\) and spread \(\le E\)) and \(d\) the hypotheses on \(d\) (\(-1\le d_h\le b-1\) and spread \(\le E\)), where the spread is \(\max _h c_h-\min _h c_h\). The theorem says there are none, and the lab counts them for \(E=1,\dots ,6\): the count must be \(0\). Two views remove a hypothesis: without the spread bound on \(d\), and without any margin (coordinates up to \(b\)); there pairs appear, which shows that the hypotheses are doing work, and for every pair shown the words \(Z(c)\) and \(Z(d)\) are recomputed from the definition and compared. The 3D figure places each ambiguous cell at \((c_{-a},\text{spread},c_a)\); the slider is \(E\); stars mark the cells meeting the hypotheses on \(c\), with a line to each partner in its fibre (at most 150 lines are drawn). It is a finite check on the stored fibres, not a proof; the paper’s the margin question is about removing the margin.
So if a cell \(c\) has all its coordinates between \(-1\) and \(b-E\) and spread at most \(E\), every other cell of its fibre has a coordinate below \(-1\) or equal to \(b\), or spread above \(E\). Only \(c\) needs the margin. Not every fibre is reached this way: in the families of Section 5 the two-step cell \(c\) always has coordinates equal to \(b\), while its partner \(g\) often has none (for \(a=4\), \(b=20\), \(x=0\): \(g=(15,15,16,16,16,17,17,18,18)\)); for \(a=4\), \(x=0\) and \(b\ge 32\), \(g\) has spread at most \(4\) and coordinates at most \(b-4\), so it satisfies the hypotheses of Theorem 2 and its partner \(c\) is a boundary cell, as the theorem requires. The partners of \(G(b)\) and \(G(b+1)\) have \(c_{-2}=-b\) [ 3 , proof of Theorem 7 ] : the boundary side can reach far below \(-1\), so no invariant built from the lower end alone can separate the two sides.
At the second peak we have lower bounds for all \(a\).
If \(a\) is even, \(\liminf _{b}A_{a,b}\bigl(\tfrac 2{a+1}\bigr)\ge \frac1{a+1}\). If \(a\) is odd, \(\liminf _bA_{a,b}\bigl(\tfrac 2{a+2}\bigr)\ge \frac2{(a+1)(a+2)}\).
✅ Checked when this page was built: AngularSecondPeakLiminf.lean compiles with Lean 4.35.0, no errors, no sorry. Axioms — thm_K6, le_ambLength, cellVec_of_mem, le_liminf_of_linear: propext, Classical.choice, Quot.sound.
Reproduce: Lean 4.35.0, Mathlib f0b4c8150aa0; in that Lean project, lake env lean AngularSecondPeakLiminf.lean (SHA-256 of the compiled file: 0b769883b511fe28…; a source page on this site may show it with comments edited, under its own hash).
Trust base: 🔒 kernel only. Lean: 4 results, standard axioms only
Proof: in this note·Formalized: Lean 4, by the author (public formalizations repository)·Covers: the whole statement
🆕 Classical and new: Intro: "At the second peak we have lower bounds for all $a$"; for $a=2,3,4,5$ they equal the limits estimated from exact sections, and equality in general is conjectured.
↳ Not used by another result of the paper.
For \(a\) even, each \(x\) of Theorem 17 gives the interval \(k{\lt}q\Lambda {\lt}k+1\) of the section \(\theta =2/q\), of length \(1/q\), inside \((0,b+a\theta )\) (as \(0\le k\le qb+1\)); the intervals are disjoint because \(k=ab+a+x\) is injective in \(x\); and every point of them has a vector \(g\) whose fibre also contains \(c\ne g\). There are \(\max (0,b-a+3)\) values of \(x\) for \(a\ge 4\) and \(\max (0,b-1)\) for \(a=2\), so \(L_b(2/q)\ge \max (0,b-a+3)/q\) (\(a\ge 4\)), \(L_b(2/3)\ge \max (0,b-1)/3\) (\(a=2\)), and in both cases \(\liminf _bA_{a,b}(2/q)\ge 1/q=1/(a+1)\). For \(a\) odd the pairs \((\ell ,\varepsilon )\) of Theorem 18 are \(\left\lfloor (b+2)/(a+1)\right\rfloor +\left\lfloor (b+1)/(a+1)\right\rfloor \) in number, with distinct \(k\) (distinct pairs give distinct \(T\), as \(q\ge 5\)), and each interval lies in \((0,b+a\theta )\) because \(k\ge 2a\) and \(k+1=qb+2a-T\le qb+2a\), so \(L_b(2/q)\ge \frac1q\bigl(\left\lfloor \frac{b+2}{a+1}\right\rfloor +\left\lfloor \frac{b+1}{a+1}\right\rfloor \bigr)\) and \(\liminf _bA_{a,b}(2/q)\ge \frac2{(a+1)(a+2)}\).
💡 In plain words (commentary, not part of the paper)
Each solution of the two families gives an interval of length \(1/q\) on the section at \(\theta =2/q\) whose cells are ambiguous. Counting the intervals that fit in the section gives the lower bound on the length, and dividing by \(b\) gives the bound on the liminf.
🛡️ Evidence & scope
Program: Both families checked for a = 2..12 over b = 1..3a+29 (6555 + 1549 cases, 0 failures; 357 small-b cases); controls out of range differ in 24/24.. suplemento_IV/scripts/a1_k6.py
Numerical illustration (not a proof): Table 2 compares these bounds with the limits estimated from the exact sections at a = 2, 3, 4, 5.. suplemento_IV/scripts/fig_perfil_general.py
🧪 Lab: Second peak live: the reflection identity for Σ in 3D, the two cells with the same word, and Table 2 recomputed
Choose \(a\) (\(2\le a\le 9\)), \(b\) and the parameter of the family: \(x\) for even \(a\) (the even-a theorem, \(-1\le x\le \min (b-3,b-a+1)\)) or \(\ell \ge 1\) and \(\varepsilon \in \{ 0,1\} \) for odd \(a\) (the odd-a theorem, with \(\Delta =\ell (a+1)-1+\varepsilon \le b+1\)); outside the range the lab says so. It builds the two-step vector \(c=(x,b-\rho ,b,\dots ,b)\) and the vector \(g_h=\operatorname {clip}\lfloor (k+2h)/q\rfloor \) of the points of the section \(\theta =2/q\), and then checks, with exact arithmetic and no use of the lemmas: \(Z(c)=Z(g)\) recomputed from the definition of \(Z\), \(c\ne g\), and that both are realisable (the explicit points \((\Lambda ,\theta )\) of the two-step lemma and of the interval \(k{\lt}q\Lambda {\lt}k+1\)). It then checks the lemmas on this instance: the positive row multiset of \(g\) equals \(\{ \Phi (T-v):v\in \Sigma ,v\le T\} \) (the slope-2/q rows lemma), the positive rows of \(c\) are the three runs of the two-step lemma, and removing the values \(\Phi (T-v)\) at the gaps \(v\) of \(\Sigma \) from the values \(\Phi (u)\), \(0\le u\le T\), leaves exactly that multiset (the reflection identity of Figure 3). It also checks every instance of the family at your \((a,b)\), and the proof’s finite-\(b\) lower bound on \(L_b(2/q)\) against the exact section when its fibres are in the page. The 3D figure is Figure 3 turned: the staircase \(\Phi \) with the removed indices starred, its mirror image, and the sorted remaining values against the two-step multiset; the slider runs over \(\Delta \). The table recomputes Table 2 of the paper from the archived exact sections of the supplement (the estimate \((N_{b+a+1}-N_b)/((a+1)q)\) on the upper half of \(b\)) and compares it with the bound of the second-peak theorem; the paper reports this equality for \(a=2,3,4,5\) as data, not as a theorem.
For \(a=2,3,4,5\) these bounds equal the limits estimated from exact sections, and we conjecture equality in general (Section 6, which also collects the other open questions: the support and zeros of \(F_a\), and a step law of period \(a+1\) generalising the three-step law of Part III). Figure 1 shows the three results against those computations.
Figure 2 shows, for \(a=3\), how the finite sections approach these limits as \(b\) grows.
Formal verification.
The seventeen proved results of this paper (Theorems 1, 2, 3, 5, 17, 18, Corollary 6, Proposition 14 and the lemmas) are formalized in Lean 4.35 with Mathlib, in seventeen modules Formalizations/Combinatorics/Caballero/Angular*; five more modules check the claims of the observations on the rate, the tent and the strip cells, the examples of Section 5, and items (1) for \(a=2\), (3) and (4) of Remark 19 (twenty-two modules in all, listed in the supplement), in https://github.com/karlesmarin/formalizations (commit 62e1604). The proofs use no sorry and no hypotheses beyond those of the text; the facts quoted from Part II (Proposition 6.3) are proved there too. Before each formalization was accepted, the Lean statement was compared with the statement in this paper; the differences recorded are of form (for instance a hypothesis \(b\ge 1\) that the Lean statement does not need, or the condition off the lines written as an explicit hypothesis).
2 The lower bound
Let \(a\ge 2\) and \(0{\lt}\theta \le 1/a\). Then
In particular \(U_a\) is given on \((0,1/a]\) by the three-piece formula of Theorem 1.
✅ Checked when this page was built: AngularWidths.lean compiles with Lean 4.35.0, no errors, no sorry. Axioms — phaseWidth_pattern_mid, phaseWidth_pattern_zero, phaseWidth_pattern_last, primaryPhase_first, primaryPhase_second, primaryPhase_third: propext, Classical.choice, Quot.sound.
Reproduce: Lean 4.35.0, Mathlib f0b4c8150aa0; in that Lean project, lake env lean AngularWidths.lean (SHA-256 of the compiled file: 2ead2f183fcce52b…; a source page on this site may show it with comments edited, under its own hash).
Trust base: 🔒 kernel only. Lean: 6 results, standard axioms only
Proof: in this note·Formalized: Lean 4, by the author (public formalizations repository)·Covers: the whole statement
🆕 Classical and new: After the lower-bound theorem: "Lemma and Theorem together improve Part II, Proposition 6.3(iii)-(iv)" (tent on the right half only) "and add the piece $2\theta$ on $(0,1/(a+2)]$"; the direct computation does not use the Sturmian-word results cited.
↳ Used in: Corollary 6
The pattern \(k^{(r)}\) takes only the values \(-1\) (for \(h{\lt}-r\)), \(0\) (for \(-r\le h\le a-r\)) and \(1\) (for \(h\ge a+1-r\)). The condition \(\left\lfloor u+h\theta \right\rfloor =k_h\) reads \(k_h-h\theta \le u{\lt}k_h+1-h\theta \), so on each block of equal values only the extreme \(h\) matter. For \(1\le r\le a-1\) the lower bounds on \(u\) are \(0\), \(r\theta \) (from \(k_{-r}=0\)), \(1-(a+1-r)\theta \) (from \(k_{a+1-r}=1\)) and \(a\theta -1\) (from \(k_{-a}=-1\)); the upper bounds are \(1\), \(1-(a-r)\theta \) (from \(k_{a-r}=0\)), \(2-a\theta \) (from \(k_a=1\)) and \((r+1)\theta \) (from \(k_{-r-1}=-1\)). For \(\theta \le 1/a\) we have \(a\theta -1\le 0\) and \(2-a\theta \ge 1\), so these two are never active. The width is the minimum, over pairs, of an upper bound minus a lower bound, clipped at \(0\). The four pairs not involving \(0\) or \(1\) give \(\theta \), \((a+2)\theta -1\), \(1-a\theta \) and \(\theta \); the pairs involving \(0\) or \(1\) give \(1\), \(1-r\theta \), \((a+1-r)\theta \), \((r+1)\theta \) and \(1-(a-r)\theta \), each at least as large as one of the previous four. This proves the formula for \(1\le r\le a-1\). For \(r=0\) the pattern is \(-1\) for \(h{\lt}0\) and \(0\) for \(h\ge 0\): the bounds are \(\max (0,a\theta -1)\le u{\lt} \min (\theta ,1-a\theta )\), of length \(\min (\theta ,1-a\theta )\). For \(r=a\) it is \(0\) for \(h\le 0\) and \(1\) for \(h\ge 1\): \(\max (a\theta ,1-\theta )\le u{\lt}\min (1,2-a\theta )=1\), of length \(\min (\theta ,1-a\theta )\).
Summing, \(U_a=2\min (\theta ,1-a\theta )+(a-1)\bigl[\min (\theta ,(a+2)\theta -1,1-a\theta )\bigr]_+\). On \((0,\frac1{a+2}]\) the bracket vanishes and \(\theta \le 1-a\theta \), giving \(2\theta \). On \([\frac1{a+2},\frac1{a+1}]\) we have \((a+2)\theta -1\le \theta \le 1-a\theta \), giving \(2\theta +(a-1)((a+2)\theta -1)=a(a+1)\theta -a+1\). On \([\frac1{a+1},\frac1a]\) we have \(1-a\theta \le \theta \le (a+2)\theta -1\), giving \((a+1)(1-a\theta )\).
💡 In plain words (commentary, not part of the paper)
Each primary pattern pins the integer parts of \(u+h\theta \) to a known value, so the admissible \(u\) form an interval whose width is a minimum of a few affine expressions. Summing the \(a+1\) widths gives \(2\theta \), then \(a(a+1)\theta -a+1\), then \((a+1)-a(a+1)\theta \) on the three pieces.
🛡️ Evidence & scope
Program: a = 2..12 and all slopes p/q <= 1/a with q <= 40 (1027 slopes): the closed formula equals the definition in exact rationals and a grid measurement; the negative control (altered central slope) is detected in 120 slopes.. suplemento_IV/scripts/s7_cota_O1.py
For all \(a\ge 2\), \(b\ge 1\) and \(\theta {\gt}0\),
Hence \(\liminf _bA_{a,b}(\theta )\ge U_a(\theta )\) for every \(\theta {\gt}0\).
✅ Checked when this page was built: AngularLowerBound.lean compiles with Lean 4.35.0, no errors, no sorry. Axioms — lower_bound, le_liminf_ambProportion, volume_phaseSet, ambiguous_of_mem_phaseSet: propext, Classical.choice, Quot.sound.
Reproduce: Lean 4.35.0, Mathlib f0b4c8150aa0; in that Lean project, lake env lean AngularLowerBound.lean (SHA-256 of the compiled file: d514a6c82eb230e4…; a source page on this site may show it with comments edited, under its own hash).
Trust base: 🔒 kernel only. Lean: 4 results, standard axioms only
Proof: in this note·Formalized: Lean 4, by the author (public formalizations repository)·Covers: the whole statement
🆕 Classical and new: After the theorem: with the lemma on phase widths it improves Part II, Proposition 6.3(iii)-(iv).
↳ Used in: Theorem 1, Corollary 6
Write \(\Lambda =j+u\) with \(0\le j\le b-1\) an integer and \(u\in (0,1)\), and suppose \(u\) lies in the phase set of \(k^{(r)}\), that is \(\left\lfloor u+h\theta \right\rfloor =k^{(r)}_h\) for all \(h\). Then
These values lie in \([-1,b]\), because \(s-a\ge -a\) and \(s+a\le (a+1)(b-1)+2a{\lt}(a+1)(b+1)\); so the clip does not act and \(c_h=\left\lfloor (s+h)/(a+1)\right\rfloor \). This is the vector of the point \(P_1(s)=\bigl(\frac{s+1/2}{a+1},\frac1{a+1}\bigr)\) of [ 2 , Proposition 6.3 ] : at that point \(\Lambda +h\theta =(s+h+\frac12)/(a+1)\) is not an integer and has the same floor. Since \(s\le (a+1)b-1\le K-3=(a+1)b+a-2\), part (ii) of that proposition shows that the cell of \(P_1(s)\) has the same word as the cell of \(P_2(s)=(s+\frac12,b+1)\); the vector of the latter has \(c_a=b\) and \(c_{-a}\le b-1-a\), hence spread at least \(a+1{\gt}2\), so it differs from \(c\) and \(c\) is ambiguous. The vector, hence the word, is constant on the cell, so every such \(\Lambda \) lies in an ambiguous cell.
For fixed \(j\) the phase sets of the \(a+1\) patterns \(k^{(r)}\) are disjoint, because \(u\) determines the pattern; and different \(j\) give disjoint intervals \((j,j+1)\subset (0,b+a\theta )\). The total length is therefore \(\sum _{j=0}^{b-1}\sum _{r=0}^{a}w_{k^{(r)}}(\theta )=b\, U_a(\theta )\). The bound was also tested against exact sections (s7_cota_O1.py, s8_cota_vs_secciones.py).
💡 In plain words (commentary, not part of the paper)
Split the section into the unit intervals \((j,j+1)\). When the fractional part lies in the phase set of a primary pattern, the vector is that of a point \(P_1(s)\) of Part II, Proposition 6.3, whose cell is known to be ambiguous. These sets have total length \(U_a\) in every unit, and there are \(b\) units.
🛡️ Evidence & scope
Program: 12852 exact sections (a = 1..5): L_b >= b U_a with 0 failures; the control (b+1) U_a + 1 fails in 2342.. suplemento_IV/scripts/s8_cota_vs_secciones.py
Program: Same bound through the O_1 widths for a = 2..12, 1027 slopes.. suplemento_IV/scripts/s7_cota_O1.py
Lemma 4 and Theorem 5 together improve Part II, Proposition 6.3(iii)–(iv), which gives the tent \(1-a(a+1)|d|\) around \(1/(a+1)\) only on its right half and the weaker slope \(2a(a+1)\) on its left, and add the piece \(2\theta \) on \((0,\frac1{a+2}]\). Part II, after Proposition 6.3, states that the exact computation gives the tent \(1-a(a+1)\| d\| \) for \(\| d\| \le \frac1{2a(a+1)}\) and a larger value beyond; for \(a\ge 3\) Theorem 1 shows that the left half of the tent persists down to \(\theta =\frac1{a+2}\), beyond \(d=\frac1{2a(a+1)}\), and that the profile exceeds the tent only below \(\frac1{a+2}\). The breakpoints \(\frac1{a+2},\frac1{a+1},\frac1a\) are Farey fractions of order \(a+2\); for irrational \(\theta \), each non-zero width \(w_{k^{(r)}}\) is the frequency of a factor of length \(2a\) of a Sturmian word [ 9 , Chapter 2 ] , by [ 8 , Lemma 1 ] (Theorem 8 there gives only that at most three values occur). Berthé’s theorem [ 7 , Th é or è me 2, with m=2a ] gives the set of values taken by the frequencies of the factors of length \(m\) between consecutive Farey fractions of order \(m\), and how many factors take each value; Lemma 4 also identifies which pattern carries each value and sums them to \(U_a\). The direct computation above does not use these results.
For every \(a\ge 2\), \(\lim _{b\to \infty }A_{a,b}\bigl(\frac1{a+1}\bigr)=1\).
✅ Checked when this page was built: AngularFirstPeak.lean compiles with Lean 4.35.0, no errors, no sorry. Axioms — tendsto_ambProportion_first_peak, primaryPhase_first_peak: propext, Classical.choice, Quot.sound.
Reproduce: Lean 4.35.0, Mathlib f0b4c8150aa0; in that Lean project, lake env lean AngularFirstPeak.lean (SHA-256 of the compiled file: 428c7cedf08c3a0b…; a source page on this site may show it with comments edited, under its own hash).
Trust base: 🔒 kernel only. Lean: 2 results, standard axioms only
Proof: in this note·Formalized: Lean 4, by the author (public formalizations repository)·Covers: the whole statement
🆕 Classical and new: After the corollary: "The corollary is not new: Part II, Proposition 6.3(iii) at $d=0$ already gives $A_{a,b}(\frac1{a+1})\ge1-1/((a+1)b+a)$"; it is included because it drops out of the lemma on phase widths.
↳ Not used by another result of the paper.
💡 In plain words (commentary, not part of the paper)
At \(\theta =1/(a+1)\) the primary phase function equals \(1\), so the lower bound already gives a proportion at least \(b/(b+a/(a+1))\), which tends to \(1\).
The corollary is not new: Part II, Proposition 6.3(iii) at \(d=0\) already gives \(A_{a,b}(\frac1{a+1})\ge 1-1/((a+1)b+a)\), and Part II observes (Figure 5, \(a=2\)) that this lower bound is the height of the ridge; for \(a=2\) this value is exact by Part III. We include it because it drops out of Lemma 4.
3 Central injectivity
Rows.
We use a second encoding of the word, by rows. For \(0\le i\le a\) and \(0\le j\le b\) put
and let \(Z^{\mathrm r}(c)\) be the multiset of the \(K\) values \(R_i(j)\).
For realisable \(c,d\): \(Z^{\mathrm r}(c)=Z^{\mathrm r}(d)\) if and only if \(Z(c)=Z(d)\).
✅ Checked when this page was built: AngularGeneralA.lean compiles with Lean 4.35.0, no errors, no sorry. Axioms — rows_iff, H_eq, R_eq, conj_iff: propext, Classical.choice, Quot.sound.
Reproduce: Lean 4.35.0, Mathlib f0b4c8150aa0; in that Lean project, lake env lean AngularGeneralA.lean (SHA-256 of the compiled file: f4f135b63e777d42…; a source page on this site may show it with comments edited, under its own hash).
Trust base: 🔒 kernel only. Lean: 4 results, standard axioms only
Proof: in this note·Formalized: Lean 4, by the author (public formalizations repository)·Covers: the whole statement
↳ Used in: Theorem 2, Lemma 8, Lemma 11, Lemma 15, Lemma 16, Theorem 17, Theorem 18
On the logarithmic scale (unit \(\log s\)) the divisor \(r^is^j\) sits at \(i\theta +j\) and contributes an opening bracket; \(2^er^{i'}s^{j'}\) sits at \(\Lambda +i'\theta +j'\) and contributes a closing bracket. Off the lines, the closing bracket of \((i',j')\) precedes the opening bracket of \((i,j)\) if and only if \(j'{\lt}j-(\Lambda +h\theta )\) with \(h=i'-i\), that is \(j'\le j-1-\left\lfloor \Lambda +h\theta \right\rfloor \). Counting \(0\le j'\le b\) gives \(\min (b+1,\max (0,j-c_h))\), also when \(c_h\) is clipped (if \(\Lambda +h\theta {\gt}b\), no \(j'\) qualifies and \(j-b\le 0\); if \(\Lambda +h\theta {\lt}-b\), all \(b+1\) qualify and \(j+b+1\ge b+1\)). So \(R_i(j)\) is the number of closing brackets before the opening bracket of \(r^is^j\). Since these counts are non-decreasing along the word, the number of closing brackets before the \(k\)-th opening bracket is the \(k\)-th smallest element of \(Z^{\mathrm r}(c)\), and the multiset determines the word; conversely the word determines the counts. By [ 1 , Section 6 ] the word also determines and is determined by \(Z(c)\).
💡 In plain words (commentary, not part of the paper)
On the logarithmic scale each divisor is an opening bracket and each shifted divisor a closing bracket. Counting, for each opening bracket, the closing brackets before it gives the row counts \(R_i(j)\). These counts are non-decreasing along the word, so their multiset determines it and conversely.
🛡️ Evidence & scope
Program: The row formula equals the Dyck word built from the actual positions at 12 points; a = 3, b = 40, 60, 80, central non-O_1 cells show no collisions; the control finds O_1/O_2 pairs in all cases.. suplemento_IV/scripts/s11_pares_acotados.py
Window sums.
Put \(m=a+1\). For a non-decreasing integer vector \(v=(v_h)_{h=-a}^{a}\) and \(0\le k\le a\) let
the sum over the window \(W_k=\{ k-a,\dots ,k\} \). The window \(W_k\) is the range of \(h\) in the row \(i=a-k\). The spread of \(v\) is \(\max v-\min v=v_a-v_{-a}\). Since \(S_{k+1}-S_k=v_{k+1}-v_{k-a}\ge 0\), the window sums are non-decreasing in \(k\).
Let \(E\ge 1\) be an integer and \(v,v'\) non-decreasing integer vectors with entries in \([-1,b]\) and spreads at most \(E\). If \(v_a\le b-E\) and \(Z^{\mathrm r}(v)=Z^{\mathrm r}(v')\), then \(S_k(v)=S_k(v')\) for \(0\le k\le a\).
✅ Checked when this page was built: AngularUpperTail.lean compiles with Lean 4.35.0, no errors, no sorry. Axioms — upper_tail, windowSum, count_diff, R_hi: propext, Classical.choice, Quot.sound.
Reproduce: Lean 4.35.0, Mathlib f0b4c8150aa0; in that Lean project, lake env lean AngularUpperTail.lean (SHA-256 of the compiled file: 1fa71af2403bd1a0…; a source page on this site may show it with comments edited, under its own hash).
Trust base: 🔒 kernel only. Lean: 4 results, standard axioms only
Proof: in this note·Formalized: Lean 4, by the author (public formalizations repository)·Covers: the whole statement
Let \(u\) be \(v\) or \(v'\). Write \(R_k\) for the row with window \(W_k\), and \(l_k=u_{k-a}\), \(M_k=u_k\) for the least and largest entries of the window. Since \(-1\le u_h\le b\) and \(0\le j\le b\), the cap \(b+1\) never acts, so \(R_k(j)=\sum _{h\in W_k}(j-u_h)_+\). Hence \(R_k(j)=mj-S_k(u)\) for \(M_k\le j\le b\), and \(R_k(j)\le m[j-l_k]_+\) for \(j{\lt}M_k\). Let \(G_u(X)=\sum _k\sum _{j=0}^{b}X^{R_k(j)}\), which is determined by \(Z^{\mathrm r}(u)\), and \(D_u(X)=(1-X^m)G_u(X)\). The part of each row with \(j\ge M_k\) telescopes (if \(M_k=-1\) the whole window is \(-1\); read \(M_k\) as \(0\) there, which changes neither the formula \(R_k(j)=mj-S_k(u)\) nor the degree bound below):
In \(P_u\) the exponents are at most \(m[M_k-1-l_k]_++m\le mE\) and \(mM_k-S_k(u)\le m(M_k-l_k)\le mE\). For \(u=v\) the exponents of \(N_v\) are at least \(m(b+1-v_a)\ge m(E+1)\). Since \(D_v=D_{v'}\), the monomials of degree above \(mE\) agree: \(N_v=[N_{v'}]_{{\gt}mE}\), where \([\, \cdot \, ]_{{\gt}mE}\) keeps the monomials of degree above \(mE\). Both \(N_v\) and \(N_{v'}\) are sums of \(a+1\) monomials with coefficient \(1\), so all monomials of \(N_{v'}\) have degree above \(mE\) and \(N_{v'}=N_v\). Thus the multisets \(\{ S_k(v)\} \) and \(\{ S_k(v')\} \) agree, and as both sequences are non-decreasing in \(k\), so do the sequences.
💡 In plain words (commentary, not part of the paper)
A generating-function identity makes the part of each row above its maximum telescope. The high-degree part of the resulting polynomial only sees the window sums, and a degree count with the margin separates it from the rest.
🛡️ Evidence & scope
Program: Repair after review: the positive part [.]_+ is needed; the text without it fails and the corrected version has 0 failures over 1979 vectors.. suplemento_IV/scripts/a5_criba_v405.py
Program: Lemma E1 window computation including the M_k = -1 discrepancy that led to the positive part.. suplemento_IV/scripts/a2_sec4.py
Let \(v_h=\left\lfloor \alpha +h\theta \right\rfloor \) and \(v'_h=\left\lfloor \alpha '+h\theta '\right\rfloor \) \((-a\le h\le a)\) with real \(\alpha ,\alpha ',\theta ,\theta '\). If \(S_k(v)=S_k(v')\) for \(0\le k\le a\), then \(v=v'\).
✅ Checked when this page was built: AngularWindows.lean compiles with Lean 4.35.0, no errors, no sorry. Axioms — windowSums_determine_floorVec, core: propext, Classical.choice, Quot.sound.
Reproduce: Lean 4.35.0, Mathlib f0b4c8150aa0; in that Lean project, lake env lean AngularWindows.lean (SHA-256 of the compiled file: 5dd2fdb76b7e16ed…; a source page on this site may show it with comments edited, under its own hash).
Trust base: 🔒 kernel only. Lean: 2 results, standard axioms only
Proof: in this note·Formalized: Lean 4, by the author (public formalizations repository)·Covers: the whole statement
Let \(\delta =v'-v\). Equal consecutive differences of the window sums give \(\delta _{k+1}=\delta _{k-a}\) for \(0\le k{\lt}a\), that is \(\delta _{h+m}=\delta _h\) for \(-a\le h\le -1\); and \(S_0(v)=S_0(v')\) gives \(\sum _{h=-a}^{0}\delta _h=0\). Let \(\ell (h)=(\alpha '-\alpha )+h(\theta '-\theta )\). If \(\delta _h{\gt}0\) then \(\alpha '+h\theta '{\gt}\alpha +h\theta \), so \(\ell (h){\gt}0\); likewise \(\delta _h{\lt}0\) implies \(\ell (h){\lt}0\). An affine function cannot take signs \(+,-,+\) or \(-,+,-\) at three increasing points, so \(\delta \) has no such pattern.
Suppose \(\delta \ne 0\). If \(\delta _h=0\) for all \(-a\le h\le -1\), then also \(\delta _1=\dots =\delta _a=0\) by periodicity and \(\delta _0=0\) by the zero sum; so some \(h\in [-a,-1]\) has \(\delta _h\ne 0\), say \(\delta _h{\gt}0\) (otherwise exchange \(v,v'\)). The zero sum gives \(r\in [-a,0]\) with \(\delta _r{\lt}0\). If \(r{\gt}h\), then \(h{\lt}r{\lt}h+m\) and \(\delta _{h+m}=\delta _h{\gt}0\): the pattern \(+,-,+\). If \(r{\lt}h\), then \(r\le -1\), \(\delta _{r+m}=\delta _r{\lt}0\) and \(r{\lt}h{\lt}r+m\): the pattern \(-,+,-\). Both are impossible.
💡 In plain words (commentary, not part of the paper)
The difference of two floor forms with equal window sums is periodic and has zero sum. An affine function cannot take signs plus, minus, plus at three increasing points, and that rules out any non-zero difference.
🛡️ Evidence & scope
Program: Counted together with the central injectivity theorem: 18 and 42 shapes with equal P, 0 central collisions of Z.. suplemento_IV/scripts/s22_colision_central.py
Lemma 8 uses no lower margin: the cells may reach \(c_{-a}=-1\). It does use \(v_{-a}\ge -1\), and this cannot be dropped on the partner’s side without changing the argument: the partners of \(G(b)\) and \(G(b+1)\) in Part III have \(c_{-2}=-b\). Lemma 9 holds for floor forms of arbitrary slopes and needs no margin at all; the linear map \(v\mapsto (S_k(v))_k\) has an \(a\)-dimensional kernel, but no non-zero difference of two floor forms lies in it.
↳ Not used by another result of the paper.
4 The primary phase
Throughout this section \(0{\lt}\theta \le 1/a\) and \(m=a+1\). By the lower bound it remains to show \(L_b(\theta )\le bU_a(\theta )+12a+11\).
Brackets and windows.
On the logarithmic scale a point \((\Lambda ,\theta )\) of the arrangement puts the opening brackets at \(P=\{ i\theta +j:0\le i\le a,\ 0\le j\le b\} \) and the closing brackets at \(\Lambda +P\). For \(\theta {\lt}1/a\) and off the lines all these positions are distinct (at \(\theta =1/a\) the openings \(a\theta +j\) and \(j+1\) coincide); until the proof of Proposition 14, which reduces that endpoint to this case, we assume \(0{\lt}\theta {\lt}1/a\). List the opening positions as \(p_0{\lt}p_1{\lt}\dots {\lt}p_{K-1}\) and put
Then \(Z_k\) is the number of closing brackets before the \(k\)-th opening one, so the word, hence the fibre, determines the function \(k\mapsto D(k)\) and conversely (Lemma 7). Let \(z_0=\# \{ k:D(k)=k\} =\# (P\cap [0,\Lambda ))\) and \(\delta (k)=Z_{k+1}-Z_k\), the number of closing brackets between the \(k\)-th and \((k+1)\)-st opening ones. Both are read off the word.
For the rest of the section, \(c\) is the vector of a point \((\Lambda ,\theta )\) of the section, with \(\Lambda =J+u\), \(J=\left\lfloor \Lambda \right\rfloor \), \(0{\lt}u{\lt}1\). Since \(|h\theta |\le 1\), every \(c_h\) lies in \(\{ J-1,J,J+1\} \); in particular \(c\) has spread at most \(2\), and if \(J\le b-1\) (in particular if \(c\) is central), \(c_h=J+k_h\) with the floor pattern \(k_h=\left\lfloor u+h\theta \right\rfloor \); for \(J=b\) the upper clip may act. We call \(c\) central if
The local block.
Let \(0{\lt}\theta {\lt}1/a\) and let \(c\) be central. Put \(\delta _i=c_{a-i}-c_{-i-1}\) for \(0\le i{\lt}a\) and \(\delta _a=m-\sum _{i{\lt}a}\delta _i\). Then \(\delta (k)=\delta _{k\bmod m}\) for \(m(J+1)\le k\le K-2\), and \(mJ\le z_0\le m(J+1)\). Moreover \(\delta _i=1\) for all \(i\) if and only if \(c=O_1(s)\), that is \(c_h=\left\lfloor (s+h)/m\right\rfloor \), for some \(s\).
✅ Checked when this page was built: AngularBlock.lean compiles with Lean 4.35.0, no errors, no sorry. Axioms — block_structure, Zk_eq, pk_eq, block_iff, z0_bounds: propext, Classical.choice, Quot.sound.
Reproduce: Lean 4.35.0, Mathlib f0b4c8150aa0; in that Lean project, lake env lean AngularBlock.lean (SHA-256 of the compiled file: acca56425cdc1ecd…; a source page on this site may show it with comments edited, under its own hash).
Trust base: 🔒 kernel only. Lean: 5 results, standard axioms only
Proof: in this note·Formalized: Lean 4, by the author (public formalizations repository)·Covers: the whole statement
↳ Used in: Lemma 12, Lemma 13, Proposition 14
Since \(a\theta {\lt}1\), the opening positions are ordered by columns: \(p_{mj+i}=j+i\theta \). By the proof of Lemma 7, \(Z_{mj+i}=R_i(j)=\sum _{h=-i}^{a-i}(j-c_h)_+\), and for \(j\ge J+1\ge \max c_h\) the positive parts are inactive: \(Z_{mj+i}=mj-S_{a-i}(c)\) in the notation of Section 3. Taking differences gives \(\delta (mj+i)=c_{a-i}-c_{-i-1}\) for \(i{\lt}a\), and \(\delta (mj+a)=m-\sum _{i{\lt}a}\delta _i\). The positions \(i\theta +j\) below \(\Lambda \) are those with \(j\le J-1\), together with some of those with \(j=J\), so \(mJ\le z_0\le m(J+1)\).
If all \(\delta _i=1\), then \(c_{h+m}=c_h+1\) for \(-a\le h\le -1\). The increments \(e_h=c_{h+1}-c_h\) lie in \(\{ 0,1\} \) because \(\theta {\lt}1\), and every window of \(m\) consecutive increments has sum \(1\). Subtracting consecutive window-sum identities yields \(e_{h+m}=e_h\) for \(-a\le h\le -2\); the initial window of length \(m\) contains exactly one \(1\), and these identities determine every remaining increment. Matching the position of that \(1\) and the value of \(c_0\) gives \(c_h=\left\lfloor (s+h)/m\right\rfloor \) for a suitable integer \(s\). The converse is immediate.
💡 In plain words (commentary, not part of the paper)
For a central cell the closing-bracket counts between consecutive opening brackets repeat with period \(a+1\). The block of \(a+1\) values sums to \(a+1\), and it is all ones exactly when the cell is of the primary form.
🛡️ Evidence & scope
Program: Alternating block iff O_1: 1957 phases, 0 failures (control without r = 0 detected in 254); the block read in the full word: 1953, 0 failures.. suplemento_IV/scripts/s10_bloque_local.py
Program: a = 2..12, q <= 30: 6080 phases, the minimal period and delta from the block match in all; the control (unordered delta) is detected in 2639.. suplemento_IV/scripts/s13_periodo_delta.py
Let \(0{\lt}\theta \le 1/a\) and let \(c\) be central and not of the form \(O_1(s)\). Then exactly one of \(\delta _0,\dots ,\delta _a\) is at least \(2\).
✅ Checked when this page was built: AngularMarker.lean compiles with Lean 4.35.0, no errors, no sorry. Axioms — exactly_one_marker, isO1_of_periodic: propext, Classical.choice, Quot.sound.
Reproduce: Lean 4.35.0, Mathlib f0b4c8150aa0; in that Lean project, lake env lean AngularMarker.lean (SHA-256 of the compiled file: 31fadcfbdc05bee6…; a source page on this site may show it with comments edited, under its own hash).
Trust base: 🔒 kernel only. Lean: 2 results, standard axioms only
Proof: in this note·Formalized: Lean 4, by the author (public formalizations repository)·Covers: the whole statement
↳ Used in: Proposition 14
Reduce modulo \(1\). The opening brackets of one column sit at \(A=\{ 0,\theta ,\dots ,a\theta \} \subset \mathbb R/\mathbb Z\) and the closing brackets at \(A+u\). Let \(G_0,\dots ,G_a\) be the open arcs between consecutive points of \(A\): \(a\) arcs of length \(\theta \) and one, \(G_a\), of length \(\lambda =1-a\theta \ge 0\). In the periodic range of Lemma 11, \(\delta _i=\# ((A+u)\cap G_i)\). An open arc containing two points of \(A+u\) contains a whole gap of \(A+u\), of length strictly less than the arc, because the ends of the arc lie in \(A\), which is disjoint from \(A+u\). The gaps of \(A+u\) are those of \(A\): \(a\) of length \(\theta \) and one of length \(\lambda \) (the simplest case, \(a\theta \le 1\), of the three distance theorem [ 10 , 11 ] ). If \(\lambda \ge \theta \), no arc of length \(\theta \) contains a whole gap, so only \(G_a\) can have two or more points. If \(\lambda {\lt}\theta \), then \(G_a\) contains no whole gap, and an arc of length \(\theta \) can only contain the short gap, which lies in a single arc. In both cases at most one \(\delta _i\) is at least \(2\). Since \(\sum \delta _i=m\), the \(\delta _i\) are all \(1\) unless one of them is at least \(2\); by Lemma 11 they are not all \(1\). If \(\theta =1/a\), perturb \(\theta \) downwards inside the cell: the vector, the word and the fibre do not change, and the cells of \(O_1\) have width \(\min (\theta ,1-a\theta )=0\) there.
💡 In plain words (commentary, not part of the paper)
Reduce modulo \(1\): the closing brackets of one column are a rotation of the opening ones. By the three distance theorem the gaps have at most two lengths, and an arc can contain a whole gap only in one place, so at most one block entry is at least \(2\).
🛡️ Evidence & scope
Program: Alternating block iff O_1 and the marker structure over 1957 phases, 0 failures.. suplemento_IV/scripts/s10_bloque_local.py
The band.
Let \(c\) be central. For every \(k\ge z_0\), \(|D(k)-z_0|\le m\), and the constant \(m\) cannot be lowered.
Lean · oursshow
✅ Checked when this page was built: AngularBand.lean compiles with Lean 4.35.0, no errors, no sorry. Axioms — band_le, band_sharp: propext, Classical.choice, Quot.sound.
Reproduce: Lean 4.35.0, Mathlib f0b4c8150aa0; in that Lean project, lake env lean AngularBand.lean (SHA-256 of the compiled file: 0c899880e6324131…; a source page on this site may show it with comments edited, under its own hash).
Trust base: 🔒 kernel only. Lean: 2 results, standard axioms only
Proof: in this note·Formalized: Lean 4, by the author (public formalizations repository)·Covers: the whole statement
↳ Used in: Proposition 14
For \(k\ge z_0\) we have \(\Lambda \le p_k\le b+a\theta \). In row \(l\), the window \([p_k-\Lambda ,p_k)\) meets \(\{ l\theta +j:j\in \mathbb Z\} \) in the \(j\) of an interval of length \(\Lambda \) whose ends lie in \((-1,b+1)\) (off the lines). So it contains \(J\) or \(J+1\) admissible \(j\), all in \([0,b]\), and \(mJ\le D(k)\le m(J+1)\). With \(mJ\le z_0\le m(J+1)\) from Lemma 11, \(|D(k)-z_0|\le m\). Optimality: when \(\theta {\lt}1/(2a)\), for \(a\theta {\lt}u{\lt}1-a\theta \) and \(p_k=J+1\) one gets \(z_0=m(J+1)\) and \(D(k)=mJ\).
💡 In plain words (commentary, not part of the paper)
In each row the window of length \(\Lambda \) contains \(J\) or \(J+1\) admissible positions, so \(D(k)\) stays within one block of \(z_0\). The extreme case is attained for an explicit range of \(u\).
🛡️ Evidence & scope
Program: Block, marker and band lemmas at 1500 exact points (0 failures).. suplemento_IV/scripts/a2_sec4.py
The partner.
Now let \(d\ne c\) be realisable with \(Z(d)=Z(c)\), realised at a point \((\Lambda ',\theta ')\) off the lines with \(\theta '\) irrational (cells are open, so such a point exists; then no two opening positions coincide), with opening positions \(P'=\{ i\theta '+j\} \). The functions \(D\) and \(\delta \) and the number \(z_0\) are the same for \(c\) and for \(d\), as functions of the index \(k\). Let \(\rho (y)=\# \{ i:i\theta '\le y\le i\theta '+b\} \) be the number of opening rows of \(d\) active at \(y\), and
In each row the number of points of the window \([p'_k-\Lambda ',p'_k)\) differs from the length of its intersection with \([i\theta ',i\theta '+b]\) by at most \(1\). Hence \(|D(k)-G(p'_k)|\le m\) and \(|z_0-G(\Lambda ')|\le m\), and Lemma 13 gives
Since \(K-z_0\ge m(b-J){\gt}0\) and \(z_0\) is a word invariant, the partner satisfies \(\Lambda '{\lt}b+a\theta '\). Put \(x=\Lambda '+a\theta '\). On \([a\theta ',b]\) all \(m\) opening rows are active.
Case A: \(\Lambda '\ge a\theta '\) and \(x{\lt}b\). The window of \(G(x)\) is \([a\theta ',x]\), so \(G(x)=m\Lambda '\), while \(G(\Lambda ')=\int _0^{a\theta '}(\left\lfloor y/\theta '\right\rfloor +1)\, dy+m(\Lambda '-a\theta ')=m\Lambda '-\frac{a(a+1)}2\theta '\). The opening bracket \(\lceil x\rceil \le b\) of row \(0\) lies after \(\Lambda '\) and within distance \(1\) of \(x\), and \(G\) is \(m\)-Lipschitz; by (B), \(\frac{a(a+1)}2\theta '\le E'+m=4m\), so \(\theta '\le 8/a\). Then \(0\le d_{-a}\), \(d_a\le b-1\) and \(d_a-d_{-a}\le \lceil 2a\theta '\rceil \le 16\), while \(c\) has coordinates in \([J-1,J+1]\subset [-1,b-16]\) and spread at most \(2\). Theorem 2 with \(E=16\) gives \(d=c\), a contradiction. (Here no assumption on the pattern of \(c\) is used.)
Case B: \(\Lambda '{\lt}a\theta '\) and \(x{\lt}b\). Again \(G(x)=m\Lambda '\), and \(G(\Lambda ')\le a\Lambda '\) because at most \(a\) opening rows are active on \([0,\Lambda ')\subset [0,a\theta ')\). As in case A, \(\Lambda '\le G(x)-G(\Lambda ')\le 4m\). Then \(z_0=\# (P'\cap [0,\Lambda '))\le m\lceil \Lambda '\rceil \le 4m^2\), while \(z_0\ge mJ\ge m(4m+1)\) for central \(c\): a contradiction.
Case C: \(x{\gt}b\). Let \(L'=b+a\theta '\) be the last opening position. The at most \(4m\) points \(i\theta '\), \(i\theta '+b\), \(\Lambda '+i\theta '\), \(\Lambda '+i\theta '+b\) cut \([\Lambda ',L']\) into at most \(N=4m+1\) open pieces; on each piece \(I\) the sets of active opening rows and active closing rows are constant, of sizes \(r\) and \(s\). Inside \(I\) the openings form a union of \(r\) translates of \(\mathbb Z\) and the closings a union of \(s\) translates; hence, if \(r\ge 1\) and \(p'_k,p'_{k+r}\in I\), then \(p'_{k+r}=p'_k+1\), and translation by \(1\) gives \(\delta (k+r)=\delta (k)\) whenever \(p'_k,p'_{k+1},p'_{k+r},p'_{k+r+1}\in I\). This uses no relation between \(r\) and \(s\). Call an opening of index at least \(m(J+1)\) a tail opening; tail openings lie after \(\Lambda '\), since \(m(J+1)\ge z_0\). By Lemma 11 the values of \(\delta \) at the tail openings are \(m\)-periodic with sum \(m\) over each period, and by Lemma 12, which uses that \(c\) is not of the form \(O_1(s)\), each period contains exactly one marker (a value \(\ge 2\)).
If \(1\le r{\lt}m\) and \(I\) contains \(m+r\) consecutive tail openings, they give \(m+r-1\) consecutive values \(s_0,\dots ,s_{m+r-2}\) of \(\delta \), with exactly one marker among \(s_0,\dots ,s_{m-1}\), say at \(t\). If \(t\le m-2\), then \(s_{t+r}=s_t\); if \(t=m-1\), then \(s_{t-r}=s_t\). Either way there is a second marker at distance \(r\), \(0{\lt}r{\lt}m\), a contradiction. If \(r=m\), then \(s{\lt}m\), because \(r=s=m\) would need \(\Lambda '+a\theta '\le y\le b\); if \(I\) contains \(m+1\) consecutive tail openings \(p'_k,\dots ,p'_{k+m}\), then \(p'_{k+m}=p'_k+1\) and the \(m\) values \(\delta (k),\dots ,\delta (k+m-1)\) add up to the \(s\) closings in \((p'_k,p'_k+1)\), against the period sum \(m\). So every piece contains at most \(\max (m+r-1,m)\le 2m-2\) tail openings, and at most \(4m\) openings are cut points. As there are \(K-m(J+1)=m(b-J)\) tail openings,
so \(b-J\le 8m-3\), contradicting \(b-J\ge C_a=8m-2\).
Let \(0{\lt}\theta \le 1/a\). A central cell of the section at \(\theta \) that is not of the form \(O_1(s)\) has a singleton fibre.
Lean · oursshow
✅ Checked when this page was built: AngularRigid.lean compiles with Lean 4.35.0, no errors, no sorry. Axioms — central_rigidity: propext, Classical.choice, Quot.sound.
Reproduce: Lean 4.35.0, Mathlib f0b4c8150aa0; in that Lean project, lake env lean AngularRigid.lean (SHA-256 of the compiled file: 9894d82a7f96cf4d…; a source page on this site may show it with comments edited, under its own hash).
Trust base: 🔒 kernel only. Lean: 1 result, standard axioms only
Proof: in this note·Formalized: Lean 4, by the author (public formalizations repository)·Covers: the whole statement
↳ Used in: Theorem 1
Cases A, B, C exhaust the positions of a partner \(d\) (the point is off the lines, so \(x\ne b\)). For \(\theta =1/a\), first perturb \(\theta \) downwards inside the cell of \(c\), as in the proof of Lemma 12; the vector, the fibre and the centrality do not change.
💡 In plain words (commentary, not part of the paper)
Suppose a partner exists. Its position relative to the section ends gives three cases. In two of them the band bound contradicts the size of the partner or forces it into the hypotheses of central injectivity. In the third the partner has long stretches where the same number of rows are open and closed, and there the periodicity forces a second marker, against the one-marker lemma.
🛡️ Evidence & scope
Program: Exhaustive over shapes with slope <= 3, a = 2..6: distinct shapes have distinct P (0 collisions); the control (level 2) merges shapes in 72 classes. Same for a = 7..10.. suplemento_IV/scripts/s15_P_formas.py, suplemento_IV/scripts/s15_P_formas_a7_10.py
Program: Competitors of spread <= 4, a = 2..6: 0 failures; control: 275 vectors with a window of spread 2 that do collide.. suplemento_IV/scripts/s16_teorema_V399.py
5 The second peak
Throughout this section \([t]_+=\max (0,t)\), and we compute words through the rows \(R_i(j)\) of Section 3 (Lemma 7). All multisets below are of positive integers unless said otherwise; since \(Z^{\mathrm r}(c)\) has \(K\) elements for every \(c\), two vectors have the same \(Z^{\mathrm r}\) as soon as the positive parts agree.
Vectors of slope \(2/q\).
Let \(q\ge a+1\) be odd and \(k\ge 2a\) an integer, and put \(g_h=\operatorname {clip}\left\lfloor (k+2h)/q\right\rfloor \) for \(|h|\le a\). This is the vector of every point \((\Lambda ,\frac2q)\) with \(k{\lt}q\Lambda {\lt}k+1\), since then \(\left\lfloor \Lambda +2h/q\right\rfloor =\left\lfloor (k+2h)/q\right\rfloor \). Let
Each element of \(\Sigma \) has a unique representation \(2t+qs\) with \(0\le t\le a\): if \(2t+qs=2t'+qs'\) then \(t\equiv t'\pmod q\) because \(q\) is odd, and \(|t-t'|\le a{\lt}q\).
If \(T{\lt}q(b+1)\), the positive part of \(Z^{\mathrm r}(g)\) is the multiset \(\{ \! \{ \Phi (T-v):v\in \Sigma ,\ v\le T\} \! \} \).
✅ Checked when this page was built: AngularSlopeTwo.lean compiles with Lean 4.35.0, no errors, no sorry. Axioms — rows_slopeTwo, slope2_repr_unique, slope2_row_Phi, slope2_count: propext, Classical.choice, Quot.sound.
Reproduce: Lean 4.35.0, Mathlib f0b4c8150aa0; in that Lean project, lake env lean AngularSlopeTwo.lean (SHA-256 of the compiled file: fd794f15a5735aa6…; a source page on this site may show it with comments edited, under its own hash).
Trust base: 🔒 kernel only. Lean: 4 results, standard axioms only
Proof: in this note·Formalized: Lean 4, by the author (public formalizations repository)·Covers: the whole statement
↳ Used in: Theorem 17, Theorem 18
All \(g_h\ge \left\lfloor (k-2a)/q\right\rfloor \ge 0\), so the lower clip does not act and the cap \(b+1\) in \(R_i(j)\) does not act; the upper clip replaces values above \(b\) by \(b\), which does not change \([j-g_h]_+\) for \(j\le b\). Writing \(h=-i+t\) with \(0\le t\le a\) and using \([j-\left\lfloor w/q\right\rfloor ]_+=\# \{ s\ge 0:qs+w{\lt}qj\} \) for integers \(w,j\),
with \(v=2(a-i)+q(b-j)\); the middle count is \(\Phi \) by uniqueness of representations. As \((i,j)\) runs over \([0,a]\times [0,b]\), \(v\) runs once over \(\{ 2t+qs:0\le t\le a,\ 0\le s\le b\} \), and \(\Phi (T-v){\gt}0\) if and only if \(v\le T\). An element of \(\Sigma \) that is at most \(T{\lt}q(b+1)\) has \(s\le b\), so the positive values are exactly those listed.
💡 In plain words (commentary, not part of the paper)
At slope \(2/q\) each row is a sum of floors with step \(q\), and the count of solutions \(2t+qs\le N\) in the set \(\Sigma \) is exactly that sum. Reflecting the index \(T-v\) over the elements \(v\) of \(\Sigma \) lists all rows.
🛡️ Evidence & scope
Program: Lemma on rows of a slope-2/q vector: 3000 random tests, 0 discrepancies; the control with q even is discrepant in 168/500.. suplemento_IV/scripts/a1_k6.py
Two-step vectors.
For integers \(\rho \ge 1\) and \(-1\le x\le y=b-\rho \) let \(c=(x,y,b,\dots ,b)\) (that is \(c_{-a}=x\), \(c_{-a+1}=y\) and \(c_h=b\) for \(h\ge 2-a\)), and put \(\Delta =b-x\).
The positive part of \(Z^{\mathrm r}(c)\) is
If \(\Delta \ge 2\rho -1\), \(c\) is realisable: it is the vector of the point with \(\theta =y-x+\frac12\) and \(\Lambda =x+\frac14+a\theta \).
✅ Checked when this page was built: AngularTwoStep.lean compiles with Lean 4.35.0, no errors, no sorry. Axioms — lem_twostep, twoStep_realisable, R_twoStep: propext, Classical.choice, Quot.sound.
Reproduce: Lean 4.35.0, Mathlib f0b4c8150aa0; in that Lean project, lake env lean AngularTwoStep.lean (SHA-256 of the compiled file: c9050a8d58bf1cb0…; a source page on this site may show it with comments edited, under its own hash).
Trust base: 🔒 kernel only. Lean: 3 results, standard axioms only
Proof: in this note·Formalized: Lean 4, by the author (public formalizations repository)·Covers: the whole statement
↳ Used in: Theorem 17, Theorem 18
Only \(c_{-a}\) and \(c_{-a+1}\) can contribute, so row \(i\le a-2\) vanishes, row \(a-1\) is \([j-y]_+\) and row \(a\) is \([j-x]_++[j-y]_+\) (\(0\le j\le b\); the cap does not act because \(x\ge -1\)). Row \(a-1\) gives \(1,\dots ,\rho \); row \(a\) gives \(1,\dots ,y-x\) for \(x{\lt}j\le y\) and \(y-x+2t\) for \(j=y+t\), \(1\le t\le \rho \). At the point given (where \(\theta \ge \frac12\) and \(\Lambda \ge -\frac34+\frac a2{\gt}0\)), \(\Lambda +h\theta \) equals \(x+\frac14\) for \(h=-a\), \(y+\frac34\) for \(h=1-a\), and \(2y-x+\frac54\ge b\) for \(h=2-a\) when \(\Delta \ge 2\rho -1\); it is never an integer, and the clipped floors are \(x,y,b,\dots ,b\). Exhaustive check of the lemma and of the families below: s17_segundo_pico.py, s18_pares_xyB.py, s19_familia_K6.py.
💡 In plain words (commentary, not part of the paper)
Only the first two coordinates differ from \(b\), so only two rows are non-zero. They give the three explicit runs of values, and an explicit point \((\Lambda ,\theta )\) realises the vector.
🛡️ Evidence & scope
Program: Second peak ambiguous cells and their companions at a = 2, 4; the count at a = 2 is the Part III count b+3.. suplemento_IV/scripts/s17_segundo_pico.py
Program: Colliding pairs (x, y) of the second peak for a = 2, 4.. suplemento_IV/scripts/s18_pares_xyB.py
Let \(a=2r\ge 2\), \(q=a+1\), and \(-1\le x\le \min (b-3,\, b-a+1)\). Put \(y=b-r\), \(c=(x,y,b,\dots ,b)\), \(k=ab+a+x\) and \(g_h=\operatorname {clip}\left\lfloor (k+2h)/q\right\rfloor \). Then \(c\) and \(g\) are distinct realisable vectors with \(Z(c)=Z(g)\).
✅ Checked when this page was built: AngularK6Even.lean compiles with Lean 4.35.0, no errors, no sorry. Axioms — k6_even, k6_even_ambiguous, key_multiset, Phi_closed: propext, Classical.choice, Quot.sound; mem_Sigma_iff: propext, Quot.sound.
Reproduce: Lean 4.35.0, Mathlib f0b4c8150aa0; in that Lean project, lake env lean AngularK6Even.lean (SHA-256 of the compiled file: 63c89496cb075035…; a source page on this site may show it with comments edited, under its own hash).
Trust base: 🔒 kernel only. Lean: 5 results, standard axioms only
Proof: in this note·Formalized: Lean 4, by the author (public formalizations repository)·Covers: the whole statement
↳ Used in: Theorem 3
Here \(t\) runs over \(0,\dots ,q-1\), so \(\Sigma \) is the numerical semigroup generated by \(2\) and \(q\), with gaps \(1,3,\dots ,2r-1\); hence \(\Phi (u)=\left\lfloor u/2\right\rfloor +1\) for \(0\le u\le 2r-1\) and \(\Phi (u)=u-r+1\) for \(u\ge 2r-1\). With \(\Delta =b-x\) we have \(T=\Delta +2r-1\le b+a{\lt}q(b+1)\) and \(k-2a=ab-a+x\ge 0\), so Lemma 15 applies. Over all \(u=0,\dots ,T\) the values \(\Phi (u)\) form \(\{ \! \{ 1,\dots ,\Delta +r\} \! \} \uplus \{ \! \{ 1,\dots ,r\} \! \} \): \(\Phi \) rises by one at each element of \(\Sigma \) and stays put at each gap \(g\), where \(\Phi (g)=\Phi (g-1)=(g+1)/2\). The indices \(u=T-v\) with \(v\) a gap are \(u=\Delta ,\Delta +2,\dots ,\Delta +2r-2\); since \(\Delta \ge a-1=2r-1\) they lie where \(\Phi (u)=u-r+1\), and removing them removes the values \(\Delta -r+1,\Delta -r+3,\dots ,\Delta +r-1\), all at least \(r\). What remains is the multiset of Lemma 16 with \(\rho =r\) (Figure 3 shows the case \(a=4\)). So \(Z^{\mathrm r}(c)=Z^{\mathrm r}(g)\), and \(Z(c)=Z(g)\) by Lemma 7.
The vector \(c\) is realisable by Lemma 16, and \(g\) is the vector of the points with \(k{\lt}q\Lambda {\lt}k+1\) on \(\theta =2/q\). Finally \(g_{-a}=\left\lfloor (ab-a+x)/q\right\rfloor \ge x+1\) because \(ab-a+x\ge q(x+1)\) is equivalent to \(ax\le ab-2a-1\), which holds for \(x\le b-3\). So \(g\ne c\). Exhaustive check: s19_familia_K6.py.
💡 In plain words (commentary, not part of the paper)
For even \(a\), \(\Sigma \) is the numerical semigroup \(\langle 2,a+1\rangle \), whose counting function is explicit. Removing the reflected gap indices from the list of values of \(\Phi \) leaves exactly the multiset of the two-step vector.
🛡️ Evidence & scope
Program: a = 2..12 even, b in a+6, 2a+7, 40, 61: 706 pairs, 0 failures, 706 witnesses correct; 1460/1460 controls (y +- 1, x = -2, x = b-a+2) give a different Z. Small b (1..a+7): 357 cases, 0 failures.. suplemento_IV/scripts/s19_familia_K6.py, suplemento_IV/scripts/a1_k6.py
Numerical illustration (not a proof): Figure 3 of the paper shows the reflection for a = 4, Δ = 8, and the script checks the identity for a = 2, 4, 6, 8 and a-1 <= Δ <= 29.. suplemento_IV/scripts/fig_reflejo_semigrupo.py
🖼️ Figure 3
The proof of Theorem 17 for \(a=4\), \(\Delta =b-x=8\). Top: the values \(\Phi (u)\), \(0\le u\le T=11\); \(\Phi \) stalls at the gaps \(1,3\) of \(\Sigma \), which doubles the values \(1,2\). The reflected indices \(T-1=10\) and \(T-3=8\) are removed. Bottom: what remains is the positive part of the rows of \(c=(x,b-2,b,\dots ,b)\) given by Lemma 16. The script also checks the identity for \(a=2,4,6,8\) and \(a-1\le \Delta \le 29\). Source: fig_reflejo_semigrupo.py.
Let \(a=2r+1\ge 3\), \(q=a+2\), \(\ell \ge 1\), \(\varepsilon \in \{ 0,1\} \), and \(\Delta =\ell (a+1)-1+\varepsilon \) with \(\Delta \le b+1\). Put \(x=b-\Delta \), \(y=b-r\), \(c=(x,y,b,\dots ,b)\), \(T=(\ell +1)q-5+\varepsilon \), \(k=qb+2a-T-1\) and \(g_h=\operatorname {clip}\left\lfloor (k+2h)/q\right\rfloor \). Then \(c\) and \(g\) are distinct realisable vectors with \(Z(c)=Z(g)\).
✅ Checked when this page was built: AngularSecondPeakOdd.lean compiles with Lean 4.35.0, no errors, no sorry. Axioms — thm_K6odd, mem_sigma_iff, phiN_closed, core: propext, Classical.choice, Quot.sound.
Reproduce: Lean 4.35.0, Mathlib f0b4c8150aa0; in that Lean project, lake env lean AngularSecondPeakOdd.lean (SHA-256 of the compiled file: 0b5329dd4669975e…; a source page on this site may show it with comments edited, under its own hash).
Trust base: 🔒 kernel only. Lean: 4 results, standard axioms only
Proof: in this note·Formalized: Lean 4, by the author (public formalizations repository)·Covers: the whole statement
🆕 Classical and new: Remark (2) after the theorem: for $a=3$ the family is the family $S_1$ of Part II, Theorem 9.4 with $m=2$; whether slope $3/(a+2)$ gives an infinite family for odd $a\ge5$ is not known.
Now \(t\) runs over \(0,\dots ,q-2\): the residue \(2(q-1)\equiv q-2\) is missing. (\(\Sigma \) is no longer a semigroup: \(2(q-1)\notin \Sigma \).) The residues \(2t\), \(t\le r+1\), are even and represented from \(2t\) on; the odd residues \(2t-q\), \(r+2\le t\le q-2\), are represented from \(2t\) on. Hence the gaps of \(\Sigma \) are \(A=\{ 1,3,\dots ,2r-1\} \) and \(B=\{ q-2+nq:n\ge 0\} \). The elements of \(B\) up to \(T\) are those with \(n\le \ell -1\), so \(\Phi (T)=T+1-r-\ell =\Delta +r\), and over \(u=0,\dots ,T\) the values \(\Phi (u)\) form \(\{ \! \{ 1,\dots ,\Delta +r\} \! \} \) plus one extra copy of \(\Phi (g)\) for each gap \(g\le T\); the gaps in \(A\) give the extra copies \(1,\dots ,r\) (no element of \(B\) lies below \(2r-1\)).
Remove the indices \(u=T-v\) with \(v\) a gap. For \(v=q-2+nq\in B\) (\(0\le n\le \ell -1\)), \(u=(\ell -1-n)q+q-3+\varepsilon \): this is the gap \((\ell -1-n)q+q-2\) itself if \(\varepsilon =1\), and the integer just before it if \(\varepsilon =0\). In both cases the removed value is \(\Phi \) of that gap, so each extra copy coming from \(B\) is removed exactly once. For \(v=2i-1\in A\) the indices are \(u=T-1,T-3,\dots ,T-2r+1\ge \ell q-1+\varepsilon \), all beyond the last gap \(\ell q-2\) below \(T\), where \(\Phi (u)=\Phi (T)-(T-u)\); they remove \(\Delta +r-1,\Delta +r-3,\dots ,\Delta -r+1\), all larger than \(r\) because \(\Delta \ge a\). The indices from \(A\) and from \(B\) are distinct (the largest from \(B\) is \(\ell q-3+\varepsilon \)). What remains is the multiset of Lemma 16 with \(\rho =r\).
For Lemma 15: \(T{\lt}q(b+1)\), and \(k-2a=qb-T-1=q(b-\ell -1)+4-\varepsilon \ge 0\), because \(\Delta \le b+1\) gives \(b\ge \ell (a+1)-2+\varepsilon \ge \ell +1\). Realisability of \(c\) follows from \(\Delta \ge a{\gt}2r-1\) and Lemma 16. Finally \(g_{-a}=\left\lfloor (qb-T-1)/q\right\rfloor =b-\ell -1\) (as \(4-\varepsilon {\lt}q\)), while \(c_{-a}=b-\Delta \) and \(\Delta \ge 4\ell -1{\gt}\ell +1\). So \(g\ne c\). Exhaustive check: s20_familia_impar_V400.py.
💡 In plain words (commentary, not part of the paper)
For odd \(a\) the residue \(q-2\) is missing from \(\Sigma \), so \(\Sigma \) has gaps in two places. The extra values of \(\Phi \) coming from the second family of gaps are removed by the reflected indices of the first, and what remains is again the two-step multiset.
🛡️ Evidence & scope
Program: a = 3, 5, 7, 9, b up to 40: 0 failures, 0 non-realisable, count equal to the formula, controls different in 40/40.. suplemento_IV/scripts/s20_familia_impar_V400.py
Program: The range Delta <= b+1 is sharp within the family: inside, same Z and c != g in 474/474; outside, 0 of 132.. suplemento_IV/scripts/a7_rango_impar.py
(1) The ranges are sharp within these families: for even \(a\) by the following examples; for odd \(a\) only by computation (\(a=3,5,7\), \(b\le 30\): \(\Delta =b+2,\dots ,b+a+1\) always gives a different word). For \(a=2r\ge 4\) and \(x=b-a+2\) one finds \(Z^{\mathrm r}(g)= (Z^{\mathrm r}(c)\setminus \{ \! \{ r\} \! \} )\uplus \{ \! \{ r-1\} \! \} \) (for \(a=4\), \(b=10\), \(x=8\): \(c=(8,8,10^7)\), \(g=(8,9,9,10^6)\)); for \(x\le -2\) the maxima differ. For \(a=2\) and \(x=b-2,b-1\) the multisets agree but \(c=g\). (2) For \(a=3\) the family of Theorem 18 is the family \(S_1\) of [ 2 , Theorem 9.4 ] with \(m=2\); that theorem also contains a family of slope \(3/5\) (\(m=3\)). Whether slope \(3/(a+2)\) gives an infinite family for odd \(a\ge 5\) is not known to us. (3) The two-step vector \(c\) always has coordinates equal to \(b\); the vector \(g\) need not: \(g_a=b\) if and only if \(\Delta \le 3a\) (\(a\) even) or \(T\le 4a-1\) (\(a\) odd). So Theorem 2 is consistent with these fibres but does not exclude them: the partner \(c\) reaches \(b\). The upper half at the second peak (Conjecture 20) therefore needs control of partners that reach \(b\), which the argument of Section 4 does not give. (4) For even \(a\) the reflection has a classical meaning: \(\Sigma =\langle 2,q\rangle \) is a numerical semigroup with Frobenius number \(F=q-2\), it is symmetric, and \(T=\Delta +F\); so the removed indices \(T-v\), \(v\) a gap of \(\Sigma \), are exactly \(\Delta +s\) with \(s\in \Sigma \), \(s\le F\) [ 12 ] . Checked for even \(a\le 20\) and \(\Delta {\lt}60\) (fig_reflejo_semigrupo.py).
↳ Not used by another result of the paper.
6 Open questions
The exact sections used below are those of s2_secciones.py. For \(\theta =p/q\) the vector is constant on each interval \(k{\lt}q\Lambda {\lt}k+1\) of the section, so \(L_b(\theta )=N_b(\theta )/q\), where \(N_b\) is the exact number of these intervals that lie in ambiguous cells. The ranges are \(b\le 30\), \(q\le 6\) for \(a=2\); \(b\le 40\), \(q\le 12\) for \(a=3\); \(b\le 48\), \(q\le 10\) for \(a=4\); \(12\le b\le 40\), \(q\le 12\) for \(a=5\).
The second peak.
At the slopes of Theorem 3 the limit, estimated from the exact sections by \((N_{b+a+1}-N_b)/((a+1)q)\) on the upper half of the range of \(b\), equals the lower bound (Table 1). For \(a=2\) the value \(F_2(2/3)=1/3\) is a theorem of Part III.
\(a\) \(2\) \(4\) \(3\) \(5\) slope \(\theta \) \(2/3\) \(2/5\) \(2/5\) \(2/7\) estimate from exact sections \(1/3\) \(1/5\) \(1/10\) \(1/21\) lower bound, Theorem 3 \(1/3\) \(1/5\) \(1/10\) \(1/21\)
\(F_a(\frac2{a+1})=\frac1{a+1}\) for even \(a\) and \(F_a(\frac2{a+2})=\frac2{(a+1)(a+2)}\) for odd \(a\).
↳ Not used by another result of the paper.
The missing half would follow if the ambiguous length not accounted for by these families were \(o(b)\); the computations suggest more: that, as in Proposition 14, no other cell of these sections is ambiguous except near the ends.
Slopes \(2/q\).
For every \(a\ge 3\) and every odd \(q\) with \(a+2\le q\le 2a-1\), \(F_a(\frac2q)=\frac2{q(a+1)}\).
↳ Not used by another result of the paper.
For odd \(a\) the case \(q=a+2\) is Conjecture 20, whose lower half is Theorem 18. The step-law estimate \((N_{b+a+1}-N_b)/((a+1)q)\) equals \(2/(q(a+1))\) at all nine such pairs \((a,q)\) with \(a\le 7\): \((3,5)\), \((4,7)\), \((5,7)\), \((5,9)\) from the sections of Figure 1, and \((6,9)\), \((6,11)\), \((7,9)\), \((7,11)\), \((7,13)\), computed with s26_pendientes_2q.py (\(b\le 40\); as a control it recovers \(F_a(\frac1{a+2})=\frac2{a+2}\)). Under the step law of Conjecture 23, this says that the number of ambiguous intervals grows by \(2\) per period \(a+1\) of \(b\), whatever \(q\); without it the limit only gives \(N_b=2b/(a+1)+o(b)\). Lemma 15 holds for every such \(q\), so the lower half may follow as in Theorem 18.
Support and zeros.
For every \(a\ge 2\), \(F_a\) exists, vanishes on \([2/a,\infty )\), and on \((0,2/a)\) vanishes exactly at \(\theta =1/j\) with \(a/2{\lt}j\le a\).
↳ Not used by another result of the paper.
This holds for \(a=2\) by Part III and is consistent with the exact sections for \(a=3,\dots ,6\) (for \(a=6\), s5_a6.py). For \(\theta \ge 2/a\) the number of ambiguous intervals did not grow with \(b\) in our computations: for \(a=2,3,4\), all slopes \(p/q\in [2/a,2]\) with \(q\le 7\), and \(b=16,24,32\) the counts are constant (for \(a=4\) and the slopes \(1/2\), \(4/7\), \(3/5\), also for every \(b=16,\dots ,32\)); see Table 2. A bounded number of ambiguous cells of length at most \(1\) gives \(F_a=0\); what is missing is a proof.
\(a\) slopes \(p/q\in [2/a,2]\) with \(q\le 7\) \(N_b\) constant in \(b=16,24,32\)? control \(\theta =\frac1{a+1}\): \(N_{16},N_{24},N_{32}\) 2 19 all (\(N_b=0\)–\(19\)) \(49,\ 73,\ 97\) 3 25 all (\(N_b=0\)–\(30\)) \(66,\ 98,\ 130\) 4 28 all (\(N_b=0\)–\(37\)) \(83,\ 123,\ 163\)
Colour: blue shade = the number’s size within its column.
The step law.
For every \(a\ge 2\) and \(\theta {\gt}0\) there is \(b_0\) with \(L_{b+a+1}(\theta )-L_b(\theta )=(a+1)F_a(\theta )\) for \(b\ge b_0\).
↳ Not used by another result of the paper.
For \(a=2\) this is the three-step law of Part III. The smallest periods observed over the computed ranges of \(b\) are \(1\) or \(a+1\) for \(a=2,\dots ,5\), and \(a+1=7\) works at all \(14\) slopes \(p/q\le \frac12\) with \(q\le 9\) tested for \(a=6\), where period \(1\) fails at \(2/9\). In the first strip, Theorem 1 only gives \(L_b=bU_a+O(1)\). If \(b\mapsto N_b(\theta )\) were a Presburger counting function [ 13 , Definition 1.6 ] , [ 13 , Theorem 1.10 ] would make it piecewise quasi-polynomial, hence eventually quasi-polynomial since the variable is one-dimensional; Conjecture 23 asks for the period \(a+1\) and the linear part. It reduces to finitely many slopes in each bounded range: two lines \(\Lambda +h\theta =n\) and \(\Lambda +h'\theta =n'\) meet at \(\theta =(n-n')/(h-h')\) with \(|h-h'|\le 2a\), and the ends \(0\) and \(b+a\theta \) of the section lie on lines of the arrangement, so for every \(b\) the length \(L_b\) is affine between consecutive Farey fractions of order \(2a\) (Part II observes the piecewise affinity, without the order). If the step law holds at the two ends of such an interval, the difference \(L_{b+a+1}-L_b\), affine in between, gives it, and with it \(F_a\), on the whole interval. Exact sections confirm the affinity at \((a,b)=(2,5),(2,8),(3,6),(3,9),(4,7)\) (\(111\) intervals; with Farey order \(a\) instead, none is affine; s28_farey_afin.py).
The constant.
At every slope \(p/q\le 1/a\) of the exact sections (\(a\le 5\)), \(0\le L_b(\theta )-bU_a(\theta )\le 1\). Is the excess bounded by an absolute constant, or by \(1\)? Our constant \(12a+11=(4a+5)+(8a+6)\) comes from the margins that cases B and C of Section 4 need. In the same sections (\(a=2,3,4\), the values of \(b\) and slopes of s27_rigidez_lineal.py), every ambiguous cell outside \(O_1\) has \(b-J\le 1\), near either end or not, and every central ambiguous fibre has exactly two vectors. If the first held for all \(b\), the excess would be at most \(2\), a constant independent of \(a\).
↳ Not used by another result of the paper.
The margin in Theorem 2.
Can the condition \(c_h\le b-E\) be replaced by \(c_h\le b-1\)? In an exhaustive search (\(a=2,3\), \(b=10,\dots ,14\), \(E=2,\dots ,5\), all realisable vectors) every pair with \(Z(c)=Z(d)\), \(c\ne d\), both of spread at most \(E\) and coordinates in \([-1,b]\), has a coordinate equal to \(b\). A positive answer would exclude every partner with coordinates in \([-1,b-1]\) without a spread bound (case A of Section 4 without the estimate \(\theta '\le 8/a\)); partners that reach \(b\) or go below \(-1\) (cases B and C, and the families of Section 5) would still need a separate argument.
↳ Not used by another result of the paper.
Use of AI
I worked with an AI assistant.
📊 Tables
Every table of the paper, in its order: click one to unfold it, with where the paper cites it, how its numbers were checked, and its data as CSV. The typeset table is one click away, on its page of the PDF.
Table 1. The second peak: the proved lower bound against the limit estimated from the exact sections
($b\le30,48,40,40$). Source: s2_*.json, fig_perfil_general.py.
| tabhead$a$ | $2$ | $4$ | $3$ | $5$ |
| slope $\theta$ | $2/3$ | $2/5$ | $2/5$ | $2/7$ |
| tabaltestimate from exact sections | $1/3$ | $1/5$ | $1/10$ | $1/21$ |
| lower bound, Theorem 3 | $1/3$ | $1/5$ | $1/10$ | $1/21$ |
Table 2. Evidence for the vanishing part of Conjecture 22: exact numbers $N_b$ of ambiguous intervals of length $1/q$ on
the section. Beyond $2/a$ they take the same value at $b=16,24,32$; at the first peak, the control, they grow by $(a+1)\cdot8$ per step
of $8$ in $b$. Source: s23_K4_borde.py, s24_K4_b_consecutivo.py.
| tabhead$a$ | slopes $p/q\in[2/a,2]$ with $q\le7$ | $N_b$ constant in $b=16,24,32$? | control $\theta=\frac1{a+1}$: $N_{16},N_{24},N_{32}$ |
| 2 | 19 | all ($N_b=0$–$19$) | $49,\ 73,\ 97$ |
| tabalt3 | 25 | all ($N_b=0$–$30$) | $66,\ 98,\ 130$ |
| 4 | 28 | all ($N_b=0$–$37$) | $83,\ 123,\ 163$ |
Colour: blue shade = the number’s size within its column.
References
- 1
C. Marín Muñoz, How Many Dyck Words Do the Divisors of an Integer Make? Exact Counts and Quasipolynomial Growth, Zenodo, doi:10.5281/zenodo.24541288.
- 2
C. Marín Muñoz, How Many Dyck Words Do the Divisors of an Integer Make? II. Generic Rigidity and Persistent Ambiguity, Zenodo, doi:10.5281/zenodo.24572754.
- 3
C. Marín Muñoz, How Many Dyck Words Do the Divisors of an Integer Make? III. A Three-Step Law and the Exact Ambiguity Profile for \(a=2\), Zenodo, doi:10.5281/zenodo.24699411.
- 4
J. M. Rodríguez Caballero, Symmetric Dyck Paths and Hooley’s \(\Delta \)-Function, in: Combinatorics on Words (WORDS 2017), Lecture Notes in Comput. Sci. 10432, Springer, 2017, 252–261, doi:10.1007/978-3-319-66396-8_23.
- 5
C. Hooley, On a new technique and its applications to the theory of numbers, Proc. London Math. Soc. (3) 38 (1979), 115–151, doi:10.1112/plms/s3-38.1.115.
- 6
R. R. Hall and G. Tenenbaum, Divisors, Cambridge Tracts in Mathematics 90, Cambridge Univ. Press, 1988, doi:10.1017/CBO9780511566004.
- 7
V. Berthé, Fréquences des facteurs des suites sturmiennes, Theoretical Computer Science 165 (1996), 295–309, doi:10.1016/0304-3975(95)00224-3.
- 8
P. Alessandri and V. Berthé, Three distance theorems and combinatorics on words, Enseign. Math. (2) 44 (1998), 103–132. 🔎 find it
- 9
M. Lothaire, Algebraic Combinatorics on Words, Encyclopedia Math. Appl. 90, Cambridge Univ. Press, 2002, Chapter 2 (J. Berstel and P. Séébold, Sturmian words), doi:10.1017/CBO9781107326019.
- 10
V. T. Sós, On the distribution mod 1 of the sequence \(n\alpha \), Ann. Univ. Sci. Budapest. Eötvös Sect. Math. 1 (1958), 127–134. 🔎 find it
- 11
S. Świerczkowski, On successive settings of an arc on the circumference of a circle, Fund. Math. 46 (1958), 187–189, doi:10.4064/fm-46-2-187-189.
- 12
J. C. Rosales and P. A. García-Sánchez, Numerical Semigroups, Developments in Mathematics 20, Springer, New York, 2009, doi:10.1007/978-1-4419-0160-6.
- 13
K. Woods, Presburger arithmetic, rational generating functions, and quasi-polynomials, J. Symbolic Logic 80 (2015), 433–449, doi:10.1017/jsl.2015.4.