OctoInform Beta

OpenAI preprint, September 2026 Β· Β§3. Counting global words and anchored local patterns

Definition 3.3: Words recording distinct paired interval labels on at least half a block, with positions selected by distance from the cut 1/21/2 under bounded drifts

Eligible local patterns in coordinate path blocks.

Hover over a blue or green term in the text, or a node in the graph, to find it in the other. Select it to read its declaration both in Lean and in words.

The setting

Take a finite cyclic group GG colored with two colors to avoid monochromatic kk-term arithmetic progressions, as in the study of the van der Waerden number W2(k)W_2(k). For a block of a progression with period hh, mapping GG into the DD-dimensional torus 𝕋D=(ℝ/β„€)D\mathbb{T}^D = (\mathbb{R}/\mathbb{Z})^D partitioned by a uniform mesh and an adaptive mesh with varying cell widths turns the block into a word of paired interval labels. To count the resulting local patterns across starting points and small coordinate drifts, one isolates the eligible partial words recorded where the adaptive coordinates that move modulo one in the absence of drift stay away from the cut 1/21/2.

Uniform cell labels

For a positive integer nn and a real number xx, the fractional part {x}=xβˆ’βŒŠxβŒ‹\{x\} = x - \lfloor x \rfloor lies in [0,1)[0,1), and the uniform cell index Un(x)∈{0,…,nβˆ’1}U_n(x) \in \{0,\ldots,n-1\} is ⌊n{x}βŒ‹\lfloor n\{x\} \rfloor. Each index a=Un(x)a = U_n(x) labels a half-open cell [a/n,(a+1)/n)[a/n, (a+1)/n) of [0,1)[0,1) of width 1/n1/n.

Distance to the cut

The centered fractional part of a real number xx is xΜƒ=xβˆ’βŒŠx+1/2βŒ‹\tilde x = x - \lfloor x + 1/2 \rfloor, the unique representative of xx modulo 11 in [βˆ’1/2,1/2)[-1/2, 1/2).✦ The function ρ\rho measures the circle distance of a coordinate from the representative cut 1/21/2.✦ For a real coordinate xx, the distance ρ(x)\rho(x) from xx to the cut 1/21/2 is the real number given by ρ(x)=12βˆ’|xΜƒ|\rho(x) = \tfrac12 - |\tilde x|.

Adaptive meshes

An adaptive mesh A=(H,Ξ±)A = (H, \alpha) is a pair consisting of a logarithmic step bound H∈(0,1/8]H \in (0, 1/8] and an offset scale α∈(0,1/4]\alpha \in (0, 1/4].✦ From HH and Ξ±\alpha, the mesh defines the logarithmic span RR, the number of cells per half mm, the logarithmic step ΞΈ\theta, and, for each integer jβ‰₯0j \ge 0, the exponential mesh offset E(j)E(j) by R=log⁡(1+12Ξ±),m=⌈R/HβŒ‰,ΞΈ=Rm,E(j)=Ξ±(exp⁡(jΞΈ)βˆ’1).R = \log\left(1 + \frac{1}{2\alpha}\right),\qquad m = \lceil R/H \rceil,\qquad \theta = \frac{R}{m},\qquad E(j) = \alpha\bigl(\exp(j\theta) - 1\bigr).(1) Using the cell count mm and offset EE fromΒ (1), a signed cell index c=(Οƒ,j)c = (\sigma, j) of AA consists of a half Οƒβˆˆ{βˆ’,+}\sigma \in \{-, +\} (for the negative or positive half) and a cell number j∈{0,…,mβˆ’1}j \in \{0,\ldots,m-1\}, with left cell endpoint β„“A(c)\ell_A(c) and right cell endpoint rA(c)r_A(c) given by β„“A(Οƒ,j)={βˆ’12+E(j),Οƒ=βˆ’,12βˆ’E(j+1),Οƒ=+,rA(Οƒ,j)={βˆ’12+E(j+1),Οƒ=βˆ’,12βˆ’E(j),Οƒ=+.\ell_A(\sigma, j) = \begin{cases} -\tfrac12 + E(j), & \sigma = -, \\ \tfrac12 - E(j+1), & \sigma = +, \end{cases} \qquad r_A(\sigma, j) = \begin{cases} -\tfrac12 + E(j+1), & \sigma = -, \\ \tfrac12 - E(j), & \sigma = +. \end{cases}(2)

In terms of the endpointsΒ (2), a real coordinate xx belongs to the half-open cell of signed cell index cc when β„“A(c)≀x<rA(c)\ell_A(c) \le x < r_A(c)✦, and the adaptive cell width of cc is width⁡A(c)=rA(c)βˆ’β„“A(c)\operatorname{width}_A(c) = r_A(c) - \ell_A(c).✦ For any xβˆˆβ„x \in \mathbb{R}, the adaptive cell index VA(x)V_A(x) is a signed cell index of AA whose half-open cell [β„“A(VA(x)),rA(VA(x)))[\ell_A(V_A(x)), r_A(V_A(x))) contains xΜƒβˆˆ[βˆ’1/2,1/2)\tilde x \in [-1/2, 1/2).✦

Local coordinate paths

In dimension DD, a local path realization is a quadruple (x,y,u,v)(x, y, u, v) of vectors in ℝD\mathbb{R}^D, consisting of starting vectors x,yx, y and drift vectors u,vu, v.✦ Fix natural numbers hh and Ξ»\lambda and a discrete step vector t∈{0,…,hβˆ’1}Dt \in \{0,\ldots,h-1\}^D. Given (x,y,u,v)(x, y, u, v), the uniform coordinate path Xzβˆˆβ„DX_z \in \mathbb{R}^D and the adaptive coordinate path Yzβˆˆβ„DY_z \in \mathbb{R}^D at each position z∈{0,…,hβˆ’1}z \in \{0,\ldots,h-1\} have coordinates i∈{1,…,D}i \in \{1,\ldots,D\} given by Xz,i=xi+zh(ti+ui),Yz,i=yi+zh(Ξ»ti+vi).X_{z,i} = x_i + \frac{z}{h}(t_i + u_i), \qquad Y_{z,i} = y_i + \frac{z}{h}(\lambda t_i + v_i).(3)

For a dimension DD and two label sets 𝒰\mathcal{U} and 𝒱\mathcal{V}, the paired interval label space is 𝒰D×𝒱D\mathcal{U}^D \times \mathcal{V}^D. The paired interval label space β„’n,A\mathcal{L}_{n,A} for a positive integer nn and an adaptive mesh AA with signed cell index set ℐA\mathcal{I}_A is the Cartesian product β„’n,A={0,…,nβˆ’1}D×ℐAD\mathcal{L}_{n,A} = \{0,\ldots,n-1\}^D \times \mathcal{I}_A^D.

For the paths inΒ (3), the local path label L(z)βˆˆβ„’n,AL(z) \in \mathcal{L}_{n,A} at position z∈{0,…,hβˆ’1}z \in \{0,\ldots,h-1\} is the pair of vectors of uniform and adaptive cell indices given by L(z)=((Un(Xz,i))i=1D,(VA(Yz,i))i=1D).L(z) = \bigl((U_n(X_{z,i}))_{i=1}^D,\, (V_A(Y_{z,i}))_{i=1}^D\bigr).(4)✦

Eligible path realizations

A coordinate i∈{1,…,D}i \in \{1,\ldots,D\} is stationary for (Ξ»,t)(\lambda, t) when h∣λtih \mid \lambda t_i, and rotating otherwise.✦

For a local path realization (x,y,u,v)(x, y, u, v) and a threshold Ξ·βˆˆβ„\eta \in \mathbb{R}, a position z∈{0,…,hβˆ’1}z \in \{0,\ldots,h-1\} is regular if ρ(Yz,i)β‰₯Ξ·\rho(Y_{z,i}) \ge \eta in every rotating coordinate ii. The set of regular positions 𝒡reg\mathcal{Z}_{\mathrm{reg}} is the subset of {0,…,hβˆ’1}\{0,\ldots,h-1\} consisting of all regular positions zz.

With ** denoting a dummy symbol, the recorded partial label word word⁡(x,y,u,v)∈(β„’n,Aβˆͺ{*})h\operatorname{word}(x,y,u,v) \in (\mathcal{L}_{n,A} \cup \{*\})^h of a local path realization assigns to each position z∈{0,…,hβˆ’1}z \in \{0,\ldots,h-1\} the local path label L(z)L(z) fromΒ (4) if zβˆˆπ’΅regz \in \mathcal{Z}_{\mathrm{reg}} and ** otherwise.

A local path realization (x,y,u,v)(x, y, u, v) is eligible for (n,A,Ξ·,Ξ»,t)(n, A, \eta, \lambda, t) if h≀2|𝒡reg|h \le 2|\mathcal{Z}_{\mathrm{reg}}|, the local path labels L(z)L(z) fromΒ (4) at regular positions zβˆˆπ’΅regz \in \mathcal{Z}_{\mathrm{reg}} are pairwise distinct, |ui|≀1/n|u_i| \le 1/n for every coordinate i∈{1,…,D}i \in \{1,\ldots,D\}, |vi|≀H|v_i| \le H for every rotating coordinate ii, and |vi|≀width⁡A(VA(Yz,i))|v_i| \le \operatorname{width}_A(V_A(Y_{z,i})) for every stationary coordinate ii and every regular position zβˆˆπ’΅regz \in \mathcal{Z}_{\mathrm{reg}}.✦

The definition

Definition 3.3. Let D,h,Ξ»D, h, \lambda be natural numbers, let n>0n > 0 be an integer, let AA be an adaptive mesh, let Ξ·βˆˆβ„\eta \in \mathbb{R}, and let t∈{0,…,hβˆ’1}Dt \in \{0,\ldots,h-1\}^D. An eligible local pattern w∈(β„’n,Aβˆͺ{*})hw \in (\mathcal{L}_{n,A} \cup \{*\})^h for (n,A,Ξ·,Ξ»,t)(n, A, \eta, \lambda, t) is a word for which βˆƒ(x,y,u,v)∈(ℝD)4,(x,y,u,v) is eligible for (n,A,Ξ·,Ξ»,t) and word⁡(x,y,u,v)=w.\exists\,(x,y,u,v) \in (\mathbb{R}^D)^4,\quad (x,y,u,v) \text{ is eligible for } (n, A, \eta, \lambda, t) \text{ and } \operatorname{word}(x,y,u,v) = w.(5)✦

In the paper, h0h_0 is the lower period cutoff and MM sets the upper period bound, and one fixes h0<h≀2Mh_0 < h \le 2M and t∈{0,…,hβˆ’1}Dt \in \{0,\ldots,h-1\}^D, forms the paths Xz=x+(z/h)(t+u)X_z = x + (z/h)(t+u) and Yz=y+(z/h)(Ξ»t+v)Y_z = y + (z/h)(\lambda t + v) modulo one (with 1/n1/n standing for HxH_x), calls a coordinate ii stationary when h∣λtih \mid \lambda t_i, and counts each eligible word once however many eligible realizations it has.

What is checked

Definition 3.3 is stated over natural numbers D,h,Ξ»D, h, \lambda, a positive integer nn, an adaptive mesh AA, a real threshold Ξ·\eta, a step vector t∈{0,…,hβˆ’1}Dt \in \{0,\ldots,h-1\}^D, and a word w∈(β„’n,Aβˆͺ{*})hw \in (\mathcal{L}_{n,A} \cup \{*\})^h. The definition uses uniform and adaptive cell indices, the distance ρ\rho to the cut, local coordinate paths, stationary coordinates, regular positions, and eligible path realizations.