Blueprint

🔍 Explore view: explanations, figures, other mathematical languages and labs are shown, marked commentary; they are not part of the paper. Switch to Paper for the statements, proofs and evidence only.

How Many Dyck Words Do the Divisors of an Integer Make? III. A Three-Step Law and the Exact Ambiguity Profile for \(a=2\)

🏷️ Combinatorics on words · divisor arrangements · section lengths

Carles Marín Muñoz

At a glance

What the draft contributes

A divisor word can come from several different cells in the parameter plane. This draft measures the combined length of those cells along a section at fixed slope, for odd exponent pattern $(2,b)$.

  • Increasing $b$ by three adds exactly $3F_2(\theta)$ to the ambiguous length above the slope-dependent threshold. On $0<\theta\le1$, three finite base sections give the exact offsets, including a correction modulo three.
  • The limiting fraction has two peaks. Their heights at finite $b$ are given by exact cell counts, and every cell on the diagonal has a singleton fibre.
  • The manuscript uses the computer-assisted fibre classification from Part I. The section-length statistic is defined in the parameter plane. Its interpretation as a frequency among integers ordered by size remains open.

🚀 Start here: Theorem 4: Adding three to the exponent adds three copies of the limit profile in length.

Main results:

  • Theorem 1: Exact section length from a boundary term and a correction modulo three
  • Corollary 2: Uniform convergence and the limiting mean on the Part II interval
  • Theorem 4: Adding three to the exponent adds three copies of the limit profile in length
  • Proposition 6: Exact fractions at slopes one third and two thirds
  • Theorem 7: Every cell meeting the diagonal has a singleton fibre
7 results ✅ 7 entirely in Lean ◐ 0 partly in Lean 💻 5 checked by a program written proof only (a result can carry several tags)
🗺️ 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, abstract and Section 1)

For integers of shape \(2^{e-1}r^2s^b\), the divisor Dyck word is constant on the cells of a line arrangement in the coordinates \(\Lambda =\log (2^e)/\log s\) and \(\theta =\log r/\log s\). A cell is ambiguous if another cell has the same word.

Fix \(b\ge 1\). The exact profile below assumes \(b\ge 12\theta +18\); the peak formulas hold for \(b\ge 3\), the diagonal theorem for \(b\ge 1\), and the asymptotic statements concern \(b\to \infty \). Let \(c_h(\Lambda ,\theta )\), \(-2\le h\le 2\), be the cell vector

\[ c_h=\operatorname {clip}_{[-b-1,b]} \lfloor \Lambda +h\theta \rfloor , \qquad \Lambda ,\theta {\gt}0. \]

Write \(\mathcal C_{2,b}\) for the realisable vectors and \(Z(c)\) for the multiset encoding the divisor Dyck word as in Part I. Put

\[ \mathcal A_{2,b}=\{ c\in \mathcal C_{2,b}: \exists d\in \mathcal C_{2,b},\ d\ne c,\ Z(d)=Z(c)\} . \]

The length proportion on a vertical section is

\[ A_{2,b}(\theta )=\frac{1}{b+2\theta } \operatorname {len}\{ 0{\lt}\Lambda {\lt}b+2\theta : c(\Lambda ,\theta )\in \mathcal A_{2,b}\} . \]

Boundary points on arrangement lines have zero length and do not affect this definition.

Set \(L_b(\theta )=(b+2\theta )A_{2,b}(\theta )\). Define

\[ F_2(\theta )= \begin{cases} 2\theta ,& 0{\lt}\theta \le \frac14,\\ 6\theta -1,& \frac14\le \theta \le \frac13,\\ 3-6\theta ,& \frac13\le \theta \le \frac12,\\ 2\theta -1,& \frac12\le \theta \le \frac23,\\ \frac53-2\theta ,& \frac23\le \theta \le \frac34,\\ \frac23(1-\theta ),& \frac34\le \theta \le 1,\\ 0,& \theta \ge 1. \end{cases} \]

The boundary and residue corrections on its support are

\[ \kappa (\theta )= \begin{cases} \theta ,& 0{\lt}\theta \le \frac13,\\ 4\theta -1,& \frac13\le \theta \le \frac12,\\ 1,& \frac12\le \theta \le \frac34,\\ 4(1-\theta ),& \frac34\le \theta \le 1, \end{cases} \qquad \delta (\theta )= \begin{cases} 0,& 0{\lt}\theta \le \frac23,\\ 3\theta -2,& \frac23\le \theta \le \frac34,\\ 1-\theta ,& \frac34\le \theta \le 1. \end{cases} \]

Phase widths (Section 2).

For a vector \(k=(k_h)_{h=-2}^2\), define its phase width by

\[ w_k(\theta )=\left[ \min \! \left(1,\min _{-2\le h\le 2}(k_h+1-h\theta )\right) -\max \! \left(0,\max _{-2\le h\le 2}(k_h-h\theta )\right) \right]_+. \]

Indeed, this is exactly the length of the \(u\in (0,1)\) for which \(\lfloor u+h\theta \rfloor =k_h\) for every \(h\). Set

\[ U_m(\theta )=\sum _{r=0}^2 w_{(\lfloor (r+mh)/3\rfloor )_{h=-2}^2}(\theta ), \qquad m=1,2. \]

1 The section statistic

Let \(0{\lt}\theta \le 1\) and let \(b\) be an integer with \(b\ge 12\theta +18\). With \((\varepsilon _0,\varepsilon _1,\varepsilon _2)=(0,1,5)\),

\[ L_b(\theta )=bF_2(\theta )+\kappa (\theta ) +\frac{\varepsilon _{b\bmod 3}}3\, \delta (\theta ). \]

The residue correction is nonzero exactly when \(2/3{\lt}\theta {\lt}1\) and \(b\not\equiv 0\pmod3\).

Lean · oursshow

✅ Checked when this page was built: AngularExact.lean, AngularPaper3Final.lean compiles with Lean 4.35.0, no errors, no sorry. Axioms — exact_profile_final, base_54: propext, Classical.choice, Quot.sound.
Reproduce: Lean 4.35.0, Mathlib f0b4c8150aa0; in that Lean project, lake env lean AngularExact.lean AngularPaper3Final.lean (SHA-256 of the compiled file: 3854a999ff27824b…; 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

↳ Not used by another result of the paper.

Proof ▼

By Theorem 4, \(L_b-bF_2\) is constant within each residue class of \(b\) above the stated threshold. For \(0{\lt}\theta \le 1\), the three integers \(30,31,32\) meet that threshold. Let \(b\ge 12\theta +18\) and let \(b_0\in \{ 30,31,32\} \) with \(b_0\equiv b\pmod3\). Every \(b'\equiv b\pmod3\) between \(b\) and \(b_0\) satisfies \(b'\ge \min (b,b_0)\ge 12\theta +18\), so Theorem 4 applies to each step from \(b'\) to \(b'+3\) in this range, forwards or backwards, and \(L_b-bF_2=L_{b_0}-b_0F_2\). It remains to establish the displayed formula for these three sections.

For a fixed \(b\), section boundaries are intersections of \(\Lambda =\rho -h\theta \), \(-2\le h\le 2\), including the two ends of the section. Their crossings in \([0,1]\) are the Farey points \(0,1/4,1/3,1/2,2/3,3/4,1\). Between consecutive points, the order of boundaries and the fibre label of each cell stay fixed. Thus \(L_b\) is affine there; so are \(F_2,\kappa ,\delta \). Two interior rational values per interval and each rational right endpoint therefore suffice. Direct enumeration of the word fibres and exact rational section lengths verifies all \(3\cdot 6\cdot 3=54\) required equalities, including the endpoint \(\theta =1\); the reproducible calculation is certificar_kappa.py. This finite calculation is independent of the family translator used for the proof of Theorem 4, but both arguments depend on the cell and word definitions in Part I.

💡 In plain words

Once the section is long enough, adding three to the exponent adds the same amount of ambiguous length each time. The three starting exponents fix a different possible offset for each residue class. Exact fibre enumeration gives the offsets at rational slopes, and affinity between slope walls gives the offsets throughout each interval. The residue correction appears only between the second peak and the diagonal, for exponents outside the zero residue class.

🛡️ Evidence & scope
  • Program: Direct enumeration of word-fibre labels and exact rational section lengths checks 54 base equalities at b = 30, 31, 32. The proof extends these values in slope by affinity and in b by the three-step law.. suplemento_III/scripts/certificar_kappa.py

  • Audit: The local Lean base verifies the 54 equalities under the Part I classification hypothesis. The integrated Lean theorem verifies the exact profile and the residue criterion using the proved three-step law, with the classification as its remaining hypothesis.. AngularExact.lean (CaballeroExact.base_54), AngularPaper3Final.lean (CaballeroPaper3Final.exact_profile_final)

🧪 Lab: The section live: A₂,b(θ) from the exact cells against the limit F₂ = U₁ + U₂/3, with the two peaks

Move \(b\) (\(3\le b\le 48\)). For every slope \(\theta =k/120\le 1.2\) the lab cuts the section \(\{ \theta \} \times (0,b+2\theta )\) at the walls \(\rho -h\theta \) (\(|h|\le 2\), \(|\rho |\le b\)), reads the cell vector \(c\) at the midpoint of each piece with integer arithmetic, and adds the lengths of the pieces whose cell has a non-singleton fibre; the list of those cells comes from the paper’s exact enumerator (lab/hacer_datos.py). It draws \(A_{2,b}(\theta )\) against \(F_2=U_1+U_2/3\), marks the peaks with their exact values \((3b+1)/(3b+2)\) and \((b+3)/(3b+4)\), and checks: the two peak formulas, \(A_{2,b}(1)=0\), \(F_2\) against its closed form, and the three-step law \(L_{b+3}(\theta )-L_b(\theta )=3F_2(\theta )\) wherever \(b\ge 12\theta +18\) and both exponents are in the data. For your own \(\theta =p/q\) it prints \(A\), \(L_b\), \(F_2\) and \(L_b-bF_2\), which the theorem identifies with \(\kappa (\theta )+\varepsilon _{b\bmod 3}\delta (\theta )/3\) when \(0{\lt}\theta \le 1\) and \(b\ge 12\theta +18\). The segments joining the exact dots are visual interpolation.

Examples:

For every compact interval \(J\subset (0,\infty )\),

\[ \sup _{\theta \in J}|A_{2,b}(\theta )-F_2(\theta )|=O_J(b^{-1}). \]

In particular, \(F_2(1/3)=1\), \(F_2(2/3)=1/3\), and \(\int _0^\infty F_2(\theta )\, d\theta =5/18\). For \(I=[7/50,69/10]\),

\[ \frac1{|I|}\int _I A_{2,b}(\theta )\, d\theta =\frac{5809}{152100}+O(b^{-1}). \]
Lean · oursshow

✅ Checked when this page was built: AngularExact.lean, AngularPaper3Final.lean, AngularPhase2.lean compiles with Lean 4.35.0, no errors, no sorry. Axioms — integral_F2, perfil_uniforme_final, media_perfil_final, control_peak_values: propext, Classical.choice, Quot.sound.
Reproduce: Lean 4.35.0, Mathlib f0b4c8150aa0; in that Lean project, lake env lean AngularExact.lean AngularPaper3Final.lean AngularPhase2.lean (SHA-256 of the compiled file: de8c272a11213282…; 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

↳ Not used by another result of the paper.

Proof ▼

Theorem 4 gives the uniform error directly: set \(B=\lceil 12\max J+18\rceil \). For \(b\ge B\), \(L_b-bF_2\) equals one of the three bounded functions \(L_{B+r}-(B+r)F_2\), \(r=0,1,2\), according to its residue. The following calculation through Lemma 5 provides an independent check of the leading term. By Lemma 5 and \(b+2\theta =b+O_J(1)\), \(A_{2,b}(\theta )=U_1(\theta )+U_2(\theta )/3+O_J(b^{-1})\). The reflection in Lemma 3 gives the whole profile from one phase function:

\[ F_2(\theta )=U_1(\theta )+\frac13U_1(1-\theta ). \]

Its displayed row yields the piecewise formula in the statement. Moreover, \(\int _0^1U_1(\theta )\, d\theta =5/24\) by adding the three trapezoid areas, and reflection preserves the integral. Thus

\[ \int _0^\infty F_2(\theta )\, d\theta =\left(1+\frac13\right)\frac5{24}=\frac5{18}. \]

On \(I=[7/50,69/10]\), the omitted interval \([0,7/50]\) has area \((7/50)^2=49/2500\); thus \(\int _I F_2=5/18-49/2500=5809/22500\). Dividing by \(|I|=169/25\) gives \(5809/152100\).

🖼️ Figure 2
The explicit limit \(F_2\) and three finite-\(b\) sections. The finite sections are computed at rational slopes by exact line intersections and exact fibre labels; only the plotted line segments between sampled slopes are visual interpolation. Source: fig_perfil_a2.py.

The explicit limit \(F_2\) and three finite-\(b\) sections. The finite sections are computed at rational slopes by exact line intersections and exact fibre labels; only the plotted line segments between sampled slopes are visual interpolation. Source: fig_perfil_a2.py.

💡 In plain words

On any fixed compact slope interval the ambiguous fraction approaches the same explicit curve, with error bounded by a constant times one over the exponent. The three-step law bounds the length error using three starting sections. A separate count of the two repeating patterns gives the same leading term. Integrating their affine pieces gives the total area and the mean on the test interval.

🛡️ Evidence & scope
  • Program: Exact phase integration gives the area 5/18 and the window mean 5809/152100. The finite means in Table 1 are numerical evaluations of logarithmic integrals after an exact slope partition.. suplemento_III/scripts/n33_certificar_fases.py, suplemento_III/scripts/medias_n30.py

  • Audit: The integrated Lean theorems use the proved three-step law and the Part I classification hypothesis to establish uniform convergence on compact positive slope sets and the mean estimate on I, including integrability.. AngularPaper3Final.lean (CaballeroPaper3Final.perfil_uniforme_final and CaballeroPaper3Final.media_perfil_final)

  • Numerical illustration (not a proof): Figure 2 compares exact rational section samples at b = 12, 64 and 160 with F₂. The connecting line segments are visual interpolation.. suplemento_III/scripts/fig_perfil_a2.py

🧪 Lab: Figure 3 live: the landscape A₂,b(θ) over (θ, b) in 3D, each row against F₂ in 2D

The 3D figure comes first (drag to turn it): the exact sections \(A_{2,b}(k/48)\), \(1\le k\le 48\), for the rows \(b\) you choose inside \(3\le b\le 24\), recomputed in your browser and compared value by value with the mesh of the paper’s Figure 3 (fig_perfil_3d.py). The crests at \(\theta =1/3\) and \(2/3\) are drawn with their exact heights \((3b+1)/(3b+2)\) and \((b+3)/(3b+4)\), and \(F_2\) behind the last row. The slider picks a row; beside the 3D figure, its 2D view compares that row with \(F_2\). The table gives \(\max |A_{2,b}-F_2|\) on \([1/8,1]\) per row: the corollary says it is \(O(1/b)\); here it is an observation. The mesh vertices are exact; the faces are visual interpolation.

Examples:

2 Two families with macroscopic length

\(U_1\) and \(U_2\) are continuous and vanish outside \([0,1]\). For every real \(\theta \),

\[ U_2(\theta )=U_1(1-\theta ). \]

The entire phase table is therefore determined by

\[ \begin{array}{c|rrrr} \theta & [0,\frac14]& [\frac14,\frac13]& [\frac13,\frac12]& [\frac12,1]\\ \hline U_1(\theta )& 2\theta & 6\theta -1& 3-6\theta & 0 \end{array} \]

The union of the breakpoints of \(U_1\) and \(U_2\) in \([0,1]\), including the support endpoints, is the Farey sequence of order four:

\[ \mathcal F_4=\left\{ 0,\frac14,\frac13,\frac12, \frac23,\frac34,1\right\} . \]

At the generating slopes,

\[ U_1(1/3)=U_2(2/3)=1, \qquad U_1(2/3)=U_2(1/3)=0. \]
Lean · oursshow

✅ Checked when this page was built: AngularPhaseLemma.lean, AngularPhaseTable.lean compiles with Lean 4.35.0, no errors, no sorry. Axioms — phases, fases_continuas: propext, Classical.choice, Quot.sound.
Reproduce: Lean 4.35.0, Mathlib f0b4c8150aa0; in that Lean project, lake env lean AngularPhaseLemma.lean AngularPhaseTable.lean (SHA-256 of the compiled file: d12612411ba71719…; 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: Corollary 2, Theorem 4, Lemma 5

Proof ▼

Write \(k^{(m,r)}_h=\lfloor (r+mh)/3\rfloor \). The nontrivial unit of \((\mathbb Z/3\mathbb Z)^\times \) is \(-1\): for every \(h\) and \(r\),

\[ h-k^{(1,r)}_h=k^{(2,2-r)}_h. \]

The reflection \(u\mapsto 1-u\) of the unit interval, together with \(\theta \mapsto 1-\theta \), sends the floor pattern \(k_h\) to \(h-k_h\) away from the finitely many boundary points. It preserves length, so

\[ w_k(1-\theta )=w_{(h-k_h)_{h=-2}^2}(\theta ). \]

Summing over \(r=0,1,2\) proves the reflection identity for all real \(\theta \). It remains to compute \(U_1\). Each of its three widths is the positive part of the difference between a minimum and a maximum of finitely many affine functions. Their active bounds change at \(0,1/4,1/3,1/2\); direct substitution on the resulting intervals gives the displayed row, with matching values at the endpoints and zero outside \([0,1/2]\). The reflection identity supplies the row for \(U_2\) and its continuity. The possible crossings of affine bounds have denominators at most four in lowest terms, since \(|h-h'|\le 4\) for the five positions. The row and its reflection show that all the listed Farey breakpoints occur. For irrational \(0{\lt}\theta {\lt}1\), successive differences of the five floor coordinates form a length-four factor of a mechanical word. The width \(w_k(\theta )\) measures the intercepts producing this factor and equals its frequency along the irrational rotation. Berthé’s Theorems 1–2 [ 6 ] , applied with factor length four, give the three possible affine frequencies and their multiplicities on each open interval between consecutive Farey fractions of order four. For example, on \((1/3,1/2)\) our three selected widths all equal \(1-2\theta \), hence \(U_1(\theta )=3(1-2\theta )\). The identification of the three selected factors with the \(O_1\) or \(G\) fibre families comes from Part I; their weights in the profile are \(1\) and \(1/3\), respectively. The direct affine bounds above also establish the values at rational endpoints and outside \(0{\lt}\theta {\lt}1\). The values at the generating slopes follow by substitution: there the three phase intervals fill the unit interval up to endpoints. The exact-rational phase calculation is in the Part II script paper2/numeros/n33_certificar_fases.py. The complete lemma, including continuity and the exact breakpoints, is also verified in Lean 4.35 as CaballeroPhaseLemma.phases. See the verification note below for the script’s availability.

🖼️ Figure 1
The phase decomposition of the limit profile. The blue area is \(U_1\) and the amber area is its reflected copy with weight \(1/3\); their upper boundary is \(F_2\). All three curves use the exact piecewise formulas of Lemma 3. Source: fig_fases_reflejo.py.

The phase decomposition of the limit profile. The blue area is \(U_1\) and the amber area is its reflected copy with weight \(1/3\); their upper boundary is \(F_2\). All three curves use the exact piecewise formulas of Lemma 3. Source: fig_fases_reflejo.py.

💡 In plain words

Each floor pattern occurs for an interval of intercepts. Its width is the overlap of five intervals inside one unit. Reflecting the slope and the intercept exchanges the two pattern families and preserves those widths. Adding the first three widths gives a piecewise affine function, and reflection gives the second one.

🛡️ Evidence & scope
  • Program: Exact rational phase-width calculations check the affine table and the weighted sum F₂ at crossings and on the intervening intervals.. suplemento_III/scripts/n33_certificar_fases.py

  • Audit: The local Lean theorem verifies the complete phase lemma: continuity, support, reflection, the four affine pieces, the exact Farey breakpoint set, and the values at both generating slopes. It requires no fibre classification hypothesis.. AngularPhaseLemma.lean (CaballeroPhaseLemma.phases)

✅ Checked when this page was built: AngularGapPatterns.lean, AngularListStability.lean, AngularPhaseFiber.lean, AngularPhaseMass.lean, AngularSectionTransport.lean, AngularStepPartition.lean, AngularThreeStep.lean compiles with Lean 4.35.0, no errors, no sorry. Axioms — three_step, new_partition, region_word, estabilidad, gap_iff, volume_phase_fiber, phase_sum: propext, Classical.choice, Quot.sound.
Reproduce: Lean 4.35.0, Mathlib f0b4c8150aa0; in that Lean project, lake env lean AngularGapPatterns.lean AngularListStability.lean AngularPhaseFiber.lean AngularPhaseMass.lean AngularSectionTransport.lean AngularStepPartition.lean AngularThreeStep.lean (SHA-256 of the compiled file: 8f8ab50a4bd0067c…; a source page on this site may show it with comments edited, under its own hash).

Trust base: 🔒 kernel only. Lean: 7 results, standard axioms only

Proof: in this note·Formalized: Lean 4, by the author (public formalizations repository)·Covers: the whole statement

↳ Used in: Theorem 1, Corollary 2

Proof ▼

The claim uses the complete list in Part I, Lemma 9.3. Put \(j_1=\lfloor b/6\rfloor \), \(j_2=\lfloor b/2\rfloor \), \(j_3=\lfloor 5b/6\rfloor \), and partition the old section at \(j_1,j_2,j_3\). Translate its four parts by \(t=0,1,2,3\), respectively. Their images fill the section for \(b+3\) except the unit intervals beginning at \(j_1,j_2+1,j_3+2\). The bound on \(b\) implies \(b{\gt}4\theta +1\) and \(b-j_3\ge 2\theta +2\). Hence no lower clipping occurs. For every realised vector, including clipped ones, \(c_2-c_{-2}\le \lfloor \Lambda +2\theta \rfloor -\lfloor \Lambda -2\theta \rfloor \le 4\theta +1\): clipping can only reduce this span. The two half-spans satisfy \(c_0-c_{-2}\le \lceil 2\theta \rceil \) and \(c_2-c_0\le \lceil 2\theta \rceil \) by the floor-difference bound and monotonicity of clipping. Put \(H=\lceil 2\theta \rceil \); the stated bound also gives \(b\ge 6H+12\). This is the integer form used by the combinatorial stability lemma. Since \(c_0{\lt}j_3\) in the first three parts, their upper coordinates satisfy \(c_2\le c_0+H{\lt}b\); thus there is no upper clipping there. In the fourth part, where no lower clipping occurs, upper clipping commutes with translation: for every integer \(x\ge -b-1\), \(\operatorname {clip}_{b+3}(x+3) =\operatorname {clip}_b(x)+3\), where \(\operatorname {clip}_b\) denotes clipping to \([-b-1,b]\). (Below \(-b-1\) the identity fails, which is why lower clipping has to be excluded first.) Thus every old section vector becomes its coordinatewise translate.

We check that this map preserves membership in \(\mathcal A_{2,b}\), including the reverse implication. For each ambiguous list in Part I, we compare its realised members in a part with those of the corresponding list in the image part. The equality for their union follows; aliases between lists, such as \(G(3b+1)=O_1(3b)\), cause no difficulty. A realised vector with a coordinate equal to \(b\) has \(c_0\ge b-2\theta -1\ge j_3\). For the \(B\) pairs (where \(b=3w+2\)), \(c_2=b\) and \(c_{-2}\in \{ -w-2,-w-1\} \), so the span is at least \(b+w+1{\gt}4\theta +1\). The non-\(G\) sides of the two isolated pairs have \(c_{-2}=-b\), \(c_2=b\), and span \(2b{\gt}4\theta +1\). None occurs on the section. No vector in the second or third part has a coordinate equal to \(b\); hence \(D,E\), the non-\(G\) side of \(F\), and \(O_2\) occur only in the fourth part. In the first three parts, the remaining candidates are \(O(0)\), \(A_k\), \(O_1(s)\) and \(G(s)\). The first two have \(c_0=0\) and are confined to the first part. Writing \(s=3c_0+r\), \(r=0,1,2\), the applicable ranges are

\[ \begin{array}{c|c|c} \text{part}& \text{ambiguous }G\text{-indices}& \text{parameter translation}\\ \hline 0& \varnothing & O_1:s\mapsto s\\ 1& \{ b,b+1\} & O_1,G:s\mapsto s+3\\ 2& [2b+1,3j_3-1]& O_1,G:s\mapsto s+6\\ 3& [3j_3,3b-1]& O_1,G:s\mapsto s+9 \end{array} \]

Here the \(G\)-indices in the second and third parts map exactly to \(\{ b+3,b+4\} \) and \([2(b+3)+1,3j_3+5]\), respectively. \(3j_3\ge 2b+1\) for \(b\ge 7\); hence the lower end of the ambiguous \(G\) range cannot intervene in the fourth part. Its indices there satisfy \(s\in [3j_3,3b-1]\) if and only if their images satisfy \(s+9\in [3j_3+9,3(b+3)-1]\). The \(O_1\) range \(1\le s\le 3b\) is preserved in both directions. The first-part \(A_k\) candidates are stable because a realised \(A_k\) has \(k\le \theta +1/2{\lt}b/2\). Any new \(A_k\) for \(b+3\) has \(b/2{\lt}k\le (b+3)/2\), \(c_0=0\) and span at least \(4k-1{\gt}4\theta +1\), so it cannot occur.

It remains to check the clipped families in the fourth part. The non-\(G\) members of \(D\) and \(E\) retain their indices. The members of the two \(D\) classes with index \(i\) have extreme spans \(6+3i\) or \(5+3i\), and those of \(E\) have \(6+2i\) and \(5+2i\). The indices that are new for \(b+3\) satisfy \(i\ge \lfloor (b-5)/3\rfloor +1\) in \(D\) and \(i\ge \lfloor (b-5)/2\rfloor +1\) in \(E\), hence \(3i\ge b-4\) and \(2i\ge b-4\), so

\[ 5+3i\ge b+1,\qquad 5+2i\ge b+1. \]

Since \(b+1{\gt}4\theta +1\), they cannot be realised. The non-\(G\) member of \(F\) maps by \(x\mapsto x+3\); its new indices \(x=-1,0,1\) give \((x,b+2,b+3,b+3,b+3)\), of span \(b+3-x\ge b+2{\gt}4\theta +1\), so they cannot be realised either. The \(G\) members of those same new \(F\) classes can be realised: they are already covered by the third-part \(G\) row. The three-member class at \(x=b-4\) maps to the corresponding class at \(x=b-1\). For \(O_2(s)\), if \(s{\lt}b\), its extreme span is \(2b+1\), so it cannot occur. If it occurs, \(c_0=b\) and \(c_0-c_{-2}\le 2\theta +1\) excludes lower clipping. Consequently \(c_{-2}=s-2b-2\), \(s\ge 3b-2\theta +1\), and \(c_{-1}=b\). Every realised \(O_2(s)\) therefore has the form \((s-2b-2,b,b,b,b)\), which is carried exactly to \(O_2(s+9)\). Conversely, for a realised \(O_2(s')\) in the image fourth part, set \(s=s'-9\). Then \(1\le s\le 3b\), \(s\ge 3b-2\theta +1\ge 2b+1\), and \(-b-1{\lt}s-2b-2{\lt}b\). These bounds give the required clipped coordinates of \(O_2(s)\). The geometric bijection of the four parts ensures that the translated-back vector is realised; thus the converse holds as well. This exhausts the classification.

Finally, consider the three inserted units of the section for \(b+3\), beginning at \(j=j_1,\ j_2+1,\ j_3+2\). On each of them \(j_1-H\le c_{-2}\) and \(c_2\le j_3+2+H\le b+1{\lt}b+3\), so there is no clipping, and \(c_0\ge j_1\ge 3\). Hence no coordinate equals \(b+3\) and \(c_0\ne 0\), which excludes every class except \(O_1\) and \(G\). On the unit beginning at \(j\) the candidate indices are \(s=3j+r\), \(r=0,1,2\), and for \(b\ge 18\) they lie in the disjoint ranges

\[ [3j_1,3j_1+2]\subset [9,\, b+2],\quad [3j_2+3,3j_2+5]\subset [b+5,\, 2b+6],\quad [3j_3+6,3j_3+8]\subset [2b+7,\, 3b+8]. \]

All of them lie in the \(O_1\) range \(1\le s\le 3(b+3)\). Moreover \(O_1(s)\ne O_2(s)\) there, since every \(O_2(s)\) for \(b+3\) has \(c_1=b+3\) while \(c_2\le b+1\) on these units. So the \(O_1\) patterns of each unit contribute \(U_1\). The ambiguous \(G\)-indices for \(b+3\) are \(\{ b+3,b+4\} \cup [2(b+3)+1,3(b+3)-1]\); the first two ranges avoid both, and the third lies inside the interval. Only the third unit contributes \(U_2\). Adding their lengths proves the identity.

💡 In plain words

Split the old section into four pieces and shift them by zero, one, two and three units. Once the exponent meets the slope-dependent bound, the classification lets us match ambiguous cells on the shifted pieces in both directions. Each new gap contains the first phase family, and only the last gap also contains the second. Their widths give the exact increase.

🛡️ Evidence & scope
  • Audit: The local Lean theorem checks real-section partition, bidirectional list transport, and the lengths of the three inserted gaps. It assumes the complete classification from Part I at b and b + 3. The divisor-word map remains outside that check.. AngularThreeStep.lean (CaballeroExact.three_step)

  • Program: Direct enumeration checks 65 finite pairs above the threshold and rejects the mutated coefficient 2 in place of 3.. suplemento_III/scripts/auditar_paso3_directo.py

Lemma 5✅ Lean
✓
#
📕 p. 6📍 map

Uniformly for \(\theta \) in any compact \(J\subset (0,\infty )\),

\[ (b+2\theta )A_{2,b}(\theta ) =bU_1(\theta )+\frac b3U_2(\theta )+O_J(1). \]
Lean · oursshow

✅ Checked when this page was built: AngularPhase2.lean compiles with Lean 4.35.0, no errors, no sorry. Axioms — longitud_uniforme: propext, Classical.choice, Quot.sound.
Reproduce: Lean 4.35.0, Mathlib f0b4c8150aa0; in that Lean project, lake env lean AngularPhase2.lean (SHA-256 of the compiled file: de8c272a11213282…; 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: Corollary 2

Proof ▼

Write \(\Lambda =j+u\), \(j\in \mathbb Z\), \(0{\lt}u{\lt}1\). For all but a bounded number of \(j\) at the two ends of the section, the vector is not clipped and \(c_h=j+\lfloor u+h\theta \rfloor \). For \(O_1(s)\), write \(s=3j+r\) with \(0\le r{\lt}3\). Every \(j\) in the central \(b+O_J(1)\) integer units has all three values of \(r\) in its stated range; thus its ambiguous length from this family is \(bU_1(\theta )+O_J(1)\). For \(G(s)\), the same decomposition gives \(b/3+O_J(1)\) central units, hence \(bU_2(\theta )/3+O_J(1)\).

The other classes in Part I, Lemma 9.3 contribute bounded length. The \(O(0)\) class has \(c_0=0\) by Part I, Lemma 7.1, and so lies in \(0{\lt}\Lambda {\lt}1\). The \(A_k\) vectors also have \(c_0=0\); together these classes occupy at most one unit. The three \(B_i\) pairs and the two isolated pairs involving \(G(b),G(b+1)\) contain only a fixed number of vectors for each \(b\), each occupying at most one unit of \(\Lambda \). The vectors of the forms \((x,y,z,b,b)\) and \((x,y,b,b,b)\), and the non-\(G\) side of the final parametric family, have \(c_1=b\). Every \(O_2(s)\) vector has \(c_1=b\) as well. Thus \(\Lambda \ge b-\theta \), and all these vectors lie in a strip of length at most \(3\theta \) at the upper end of the section \(0{\lt}\Lambda {\lt}b+2\theta \). All these bounds are uniform on \(J\).

💡 In plain words

The first floor pattern appears across about as many full units as the exponent. The second appears across about a third as many. The other classified families contribute a bounded total length on a compact slope interval. This gives a second route to the leading term by counting where the families can occur.

🛡️ Evidence & scope
  • Audit: The local Lean length bound uses the Part I classification hypothesis and the direct decomposition into phase intervals.. AngularPhase2.lean (CaballeroFase2.longitud_uniforme)

3 Exact values at the two peaks

For every integer \(b\ge 3\),

\[ \begin{aligned} A_{2,b}(1/3)& =\frac{3b+1}{3b+2} =1-\frac1{3b+2},\\ A_{2,b}(2/3)& =\frac{b+3}{3b+4} =\frac13+\frac5{9b+12}. \end{aligned} \]
Lean · oursshow

✅ Checked when this page was built: AngularPeaks.lean compiles with Lean 4.35.0, no errors, no sorry. Axioms — pico_un_tercio_condicional, pico_dos_tercios_condicional: propext, Classical.choice, Quot.sound.
Reproduce: Lean 4.35.0, Mathlib f0b4c8150aa0; in that Lean project, lake env lean AngularPeaks.lean (SHA-256 of the compiled file: 4efcebc35661e501…; 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

↳ Not used by another result of the paper.

Proof ▼

Put \(\theta =p/3\), \(p=1\) or \(2\). The section \(0{\lt}\Lambda {\lt}b+2p/3\) consists of \(3b+2p\) consecutive cells \((k/3,(k+1)/3)\), each of length \(1/3\). On the \(k\)th cell,

\[ c_h=\operatorname {clip}\left\lfloor \frac{k+ph}{3}\right\rfloor \quad (-2\le h\le 2), \]

because no integer lies strictly between two consecutive multiples of \(1/3\). Thus the vectors are \(O_1(k)\) when \(p=1\) and \(G(k)\) when \(p=2\). Here we evaluate the formulas for \(O_1(k)\) and \(G(k)\) at all integer \(k\), including values outside their named family ranges in Section 2.

For \(p=1\), \(O_1(0)\) belongs to the \(O(0)\) class, and \(O_1(k)\) belongs to the non-singleton \(O(k)\) class for \(1\le k\le 3b\). The last vector is \(O_1(3b+1)=(b-1,b,b,b,b)\), which is absent from the complete list in Part I, Lemma 9.3. Indeed, among the listed vectors only \(O_2(s)\) can have \(c_{-1}=b\); then \(s\ge 2b+1\) and \(c_{-2}\le b-2\), unlike this vector. Hence exactly \(3b+1\) cells are ambiguous.

For \(p=2\), comparison of the five coordinates of \(G(k)\) with each family in Part I, Lemma 9.3 gives the following complete intersection with \(0\le k\le 3b+3\). Here \(C_1,C_2\) name the two isolated pairs in that list; \(F\) is the family whose \(G\) side has parameter \(s=2b+2+x\), \(-1\le x\le b-3\):

\[ \begin{array}{c|c} \text{class}& \text{values of }k\\ \hline O(0)& 0\\ O(s)& 3b+1\\ C_1,C_2& b,b+1\\ F& 2b+1,\ldots ,3b-1\\ A,B,D,E& \varnothing \end{array} \]

Here \(G(3b+1)=O_1(3b)\), while \(G(3b)\) would require \(x=b-2\) in family \(F\), beyond its range \(x\le b-3\). In the \(F\) row, \(k=2b+2+x\) with \(-1\le x\le b-3\). The rows are disjoint and contain \(1+1+2+(b-1)=b+3\) cells. Division by the total number \(3b+4\) proves the formula and shows that the second defect has leading term \(5/(9b)\), rather than the tentative \(1/(2b)\) in part (ii) of the profile question in Part II. The exclusions in this coordinate comparison were also checked by an SMT case list of the eight families with \(b\ge 3\) free; the list shares the \(O_1,O_2,G\) vector formulas with the translator of Part I’s classification. This check is an audit of the case analysis, not an independent proof of the completeness of Part I’s classification.

🖼️ Figure 3
Finite-section landscape for integer \(3\le b\le 24\) and rational slopes \(k/48\), \(1\le k\le 48\). Mesh vertices are exact section values; the connecting surface is visual interpolation. The orange ridges at \(1/3\) and \(2/3\) use the exact values from Proposition 6. Source: fig_perfil_3d.py.

Finite-section landscape for integer \(3\le b\le 24\) and rational slopes \(k/48\), \(1\le k\le 48\). Mesh vertices are exact section values; the connecting surface is visual interpolation. The orange ridges at \(1/3\) and \(2/3\) use the exact values from Proposition 6. Source: fig_perfil_3d.py.

💡 In plain words

At either peak the arrangement cuts the section into cells of equal length, so the length fraction is a cell fraction. At the first peak only the final cell is singleton. At the second peak the list singles out the cells at the start, two isolated indices, a consecutive run and one additional index near the end. The second-peak excess over its limiting height has leading term \(5/(9b)\).

🛡️ Evidence & scope
  • Audit: Local Lean checks both peak fractions for b ≥ 3 with ClasificacionI as a hypothesis.. AngularPeaks.lean (CaballeroPeaks.pico_un_tercio_condicional and CaballeroPeaks.pico_dos_tercios_condicional)

  • Audit: The SMT query at θ = 2/3 works with b free above the bound and checks the family comparison using partly shared templates. Completeness of the classification is an input.. suplemento_III/scripts/picos_theta23_z3.py

  • Numerical illustration (not a proof): Figure 3 checks both peaks for integers 3 ≤ b ≤ 24. Its mesh vertices are exact rational samples and its faces are visual interpolation.. suplemento_III/scripts/fig_perfil_3d.py

🧪 Lab: The peaks live: A₂,b(1/3) and A₂,b(2/3) for b = 3 … 48 against (3b+1)/(3b+2) and (b+3)/(3b+4)

For every \(b=3,\dots ,48\) the lab cuts the sections at \(\theta =1/3\) and \(\theta =2/3\) from the exact cells and compares them with the formulas of the proposition. For the \(b\) you choose it draws the \(3b+2\) (resp. \(3b+4\)) cells of length \(1/3\) of the two sections, coloured when their fibre is not a singleton, as in the proof (at \(\theta =1/3\) only one cell is singleton), and prints the excess \(A_{2,b}(2/3)-1/3=5/(9b+12)\).

Examples:

4 An unambiguous diagonal section

For every \(b\ge 1\), every cell meeting the line \(\{ (\Lambda ,1):\Lambda {\gt}0\} \) has a singleton fibre. In particular \(A_{2,b}(1)=0\) exactly, not merely in the limit.

Lean · oursshow

✅ Checked when this page was built: AngularDiagonal.lean compiles with Lean 4.35.0, no errors, no sorry. Axioms — diagonal, diagonal_pequena: propext, Classical.choice, Quot.sound.
Reproduce: Lean 4.35.0, Mathlib f0b4c8150aa0; in that Lean project, lake env lean AngularDiagonal.lean (SHA-256 of the compiled file: cee1fa67ccbf987c…; 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

↳ Not used by another result of the paper.

Proof ▼

First suppose \(b\ge 3\). On \(j{\lt}\Lambda {\lt}j+1\) the vector is \(c_h=\operatorname {clip}(j+h)\), \(0\le j\le b+1\). For \(0\le j\le b-2\) its extreme coordinates differ by four. For \(j=b-1,b,b+1\) the vectors are respectively

\[ (b-3,b-2,b-1,b,b),\quad (b-2,b-1,b,b,b),\quad (b-1,b,b,b,b). \]

We compare them with the complete list of ambiguous classes in Part I, Lemma 9.3; its labels \(A_k\), \(B_i\), \(C_1,C_2\) and \(D,E,F\) refer to the indexed families and isolated pairs there.

The \(O(0)\) word is excluded by Part I, Lemma 7.1: its vectors obey \(c_{-h}=-c_h-1\) for \(h=1,2\), whereas the section vector at \(j=0\) is \((-2,-1,0,1,2)\), which does not obey this identity; the other section vectors have \(c_0{\gt}0\). Every \(O_1(s)\) vector has extreme span at most two; thus it cannot match an interior \(j\) or \(j=b-1\). The only \(O_1(s)\) with \(c_0=b\) is \(s=3b\); its \(c_{-2}=b-1\) differs from \(j=b\), and its \(c_{-1}=b-1\) differs from \(j=b+1\). Every \(G(s)\) vector has extreme span at most three, excluding interior \(j\). Since \(s\le 3b-1\) in the classified classes, its \(c_0\le b-1\), excluding \(j=b,b+1\). For \(j=b-1\) one must have \(s=3b-3,3b-2,3b-1\); direct substitution gives a different \(c_{1}\) in the first case and a different \(c_{-2}\) in the other two.

For \(O_2(s)\), if \(c_0{\lt}b\) then \(c_1=b\) forces \(j=b-1\) and \(s=b-1\), but \(c_{-1}=-2\ne b-2\). If \(c_0=b\) then \(j=b\) or \(b+1\). Matching \(c_{-1}\) at \(j=b\) forces \(s=2b\), when \(c_{-2}=-2\ne b-2\). At \(j=b+1\), any \(s\le 3b\) has \(c_{-2}\le b-2{\lt}b-1\).

In the remaining families, \(A_k\) has \(c_0=0\), so only \(j=0\) is possible; its two candidate vectors differ from \((-2,-1,0,1,2)\) at an extreme coordinate. Each B vector has \(c_2=b\) and \(c_0\le w+1\) with \(b=3w+2\), \(w\ge 1\). For \(j\le b-2\), \(c_2=b\) would imply \(j=b-2=3w\); then \(c_0=3w{\gt}w+1\) because \(w\ge 1\), so the B vector cannot match. For \(j\ge b-1\), \(c_0\ge b-1{\gt}w+1\). Both are impossible. The two vectors paired with \(G(b)\) and \(G(b+1)\) have \(c_0=b-1\) and \(c_{-2}=-b\), unlike the \(j=b-1\) vector above. The vectors of family \(D\), of the form \((x,y,z,b,b)\) and their partners, have \(c_1=b\): the side with \(c_0\le b-2\) cannot match, and the other side forces \(j=b-1\) and the family index \(i=0\), when \(c_{-1}\le b-3{\lt}b-2\). The vectors of family \(E\), \((x,y,b,b,b)\) and their partners, have \(c_0=b\) but \(c_{-2}\le b-5\), while \(j=b,b+1\) have \(c_{-2}\ge b-2\). The non-\(G\) side of the last family has \(c_0=b,c_{-1}=b-1,c_{-2}\le b-3\), excluding \(j=b,b+1\); its additional third vector has \(c_{-1}=b-2\) and is also excluded. The list is exhausted. At \(j=b\) the section vector begins \((b-2,b-1,b)\); it would fit the shape \((x,b-1,b,b,b)\) only at \(x=b-2\), just outside the last family’s classified range \(-1\le x\le b-3\) in Part I, Lemma 9.3. Likewise \(j=b+1\) would give the degenerate value \(O_1(3b+1)=O_2(3b+1)\), one step beyond the listed range \(1\le s\le 3b\).

The remaining cell above \(\Lambda =b+2\) has vector \((b,b,b,b,b)\). It is also singleton: no vector in the classified ambiguous classes has \(c_{-2}=b\). Thus the conclusion covers every cell meeting \(\theta =1\), including this unbounded cell, when \(b\ge 3\).

For \(b=1,2\), the two finite arrangements are checked directly: the three and four open unit intervals on \(\theta =1\) respectively have singleton fibres, as does the upper unbounded cell. A direct enumeration checks the fibres of the bounded cells, and Lean checks every cell, the unbounded one included. A separately written translation of Part I’s families also yields an SMT exclusion for \(b\ge 3\); this checks the case analysis against the transcription, without producing a proof object.

💡 In plain words

At slope one, moving through a unit changes every unclipped coordinate by one. The resulting vectors, including the unbounded top cell, fall outside every ambiguous family for exponents at least three. For the two smaller exponents a finite comparison of the word multisets of all candidate vectors gives the same answer without the classification.

🛡️ Evidence & scope
  • Program: The supplement checks the bounded unit cells for b = 1 through 24. A separate local lookup with the same enumerator found fibre size one at the top vector for b = 1 and 2, the two base cases.. suplemento_III/scripts/diagonal_directo.py, RECIBO.md

  • Audit: The SMT audit excludes the section vectors against a separate transcription of the classification for b ≥ 3. The external solver result is an audit of those formulas.. suplemento_III/scripts/n34_theta_one_smt.py

  • Audit: Lean verifies the theorem for every b ≥ 1: no cell word of the section θ = 1 is ambiguous, with ambiguity defined from the Dyck word Z(c) of Part I, and the ambiguous section length is 0. For b ≥ 3 it assumes the Part I classification at b. For b = 1, 2 it has no hypothesis: a kernel check (decide +kernel) compares the multisets Z(c) over all nondecreasing vectors in [−b−1, b]⁵. The passage from n to its vector is outside Lean.. AngularDiagonal.lean (CaballeroDiagonal.diagonal, CaballeroDiagonal.diagonal_pequena)

📊 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 without a number, in the text of §2 Two families with macroscopic length
$b$Continuous mean on $I$$b\bigl({\mathrm{mean}}-5809/152100\bigr)$
640.10594.3351
1600.06754.6851
3200.05334.8242

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 (preprint, 27 November 2026).

3

J. M. Rodríguez Caballero, Symmetric Dyck Paths and Hooley’s \(\Delta \)-Function, Combinatorics on Words (WORDS 2017), 252–261, doi:10.1007/978-3-319-66396-8_23.

4

J. M. Rodríguez Caballero, Propriétés arithmétiques du E-polynôme du schéma de Hilbert de \(n\) points dans le tore bidimensionnel, master’s thesis, Université du Québec à Montréal, 2018, Annex I. https://archipel.uqam.ca/11733/1/M15703.pdf.

5

K. Woods, Presburger arithmetic, rational generating functions, and quasi-polynomials, J. Symbolic Logic 80 (2015), 433–449. 🔎 find it

6

V. Berthé, Fréquences des facteurs des suites sturmiennes, Theoretical Computer Science 165 (1996), 295–309, doi:10.1016/0304-3975(95)00224-3.