OctoInform Beta

OpenAI preprint, September 2026 · §4. Two levels from reduced words

Lemma 4.2: Along every word prefix, the cocycle takes the constant integer levels −n−-n_- and n+n_+, whose gap equals the reduced length

Two cocycle levels from reduced words.

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

In the study of Banach space geometry and superreflexivity via Markov type, finite words over a four-letter alphabet act on the real line by order automorphisms and produce integer-valued cocycles. Extracting quantitative separation from these cocycles depends on evaluating them on the integer lattice ℤ\mathbb{Z} and on a translate of ℤ\mathbb{Z} determined by the image of 00 under the corresponding order automorphism. The relevant invariant of a word is its reduced form, obtained by canceling adjacent inverse letters, and the counts of positive and negative letters that remain.

Reduced words

Let S={u,v,u−1,v−1}S = \{u, v, u^{-1}, v^{-1}\} be the four-letter alphabet of signed generator letters, where each letter pairs a generator index in {0,1}\{0, 1\} with a sign: the positive letters are uu and vv, and the negative letters are u−1u^{-1} and v−1v^{-1}.✦ The inverse letter s−1s^{-1} of a signed generator letter s∈Ss \in S is the letter with the same generator index and the opposite sign, so that uu and u−1u^{-1} are inverses of each other, as are vv and v−1v^{-1}.✦

A word ww over SS is a finite sequence of signed generator letters, with length |w|∈ℕ|w| \in \mathbb{N}; the empty word is denoted by ε\varepsilon. For a word ww over SS and a natural number k∈ℕk \in \mathbb{N}, the prefix wkw_k is the word consisting of the first kk letters of ww, or all of ww when k≥|w|k \ge |w|. The positive letter count n+(w)∈ℕn_{+}(w) \in \mathbb{N} is the number of positive letters in ww✦, and the negative letter count n−(w)∈ℕn_{-}(w) \in \mathbb{N} is the number of negative letters in ww.✦

For a signed generator letter s∈Ss \in S and a word rr over SS, the stack cancellation step step⁡(s,r)\operatorname{step}(s, r) is the word defined by (1): step⁡(s,r)={s,if r=ε,r′,if r=ar′ with s=a−1,sar′,if r=ar′ with s≠a−1.\operatorname{step}(s, r) = \begin{cases} s, & \text{if } r = \varepsilon, \\ r', & \text{if } r = a r' \text{ with } s = a^{-1}, \\ s a r', & \text{if } r = a r' \text{ with } s \neq a^{-1}. \end{cases}(1)✦ For words ww and rr over SS, the word reduction scan scan⁡(w,r)\operatorname{scan}(w, r) processes the letters of ww from left to right starting from the stack rr, defined recursively by (2): scan⁡(ε,r)=r,scan⁡(sw′,r)=scan⁡(w′,step⁡(s,r)),\begin{aligned} \operatorname{scan}(\varepsilon, r) &= r, \\ \operatorname{scan}(s w', r) &= \operatorname{scan}\bigl(w', \operatorname{step}(s, r)\bigr), \end{aligned}(2)✦ for every letter s∈Ss \in S and every word w′w' over SS. The reduced form red⁡(w)\operatorname{red}(w) of a word ww over SS is the reversal of scan⁡(w,ε)\operatorname{scan}(w, \varepsilon), obtained by running the word reduction scan on ww from the empty stack and reversing the resulting word.✦

The word cocycle

Assign each signed generator letter s∈Ss \in S its rank r(u)=0r(u) = 0, r(v)=1r(v) = 1, r(u−1)=2r(u^{-1}) = 2, r(v−1)=3r(v^{-1}) = 3, its endpoints αs=(2r(s)+1)/9\alpha_s = (2 r(s) + 1)/9 and βs=αs+1/9\beta_s = \alpha_s + 1/9, and its periodic arc As=⋃j∈ℤ[αs+j,βs+j)A_s = \bigcup_{j \in \mathbb{Z}} [\alpha_s + j, \beta_s + j). Let ϕ:ℝ→ℝ\phi : \mathbb{R} \to \mathbb{R} be the 11-periodic order automorphism lifted from the two-slope order isomorphism fixing 00 and 11. For each positive letter s∈{u,v}s \in \{u, v\}, define its letter order automorphism hs:ℝ→ℝh_s : \mathbb{R} \to \mathbb{R} by hs(x)=(βs−1)+ϕ(x−αs−1)h_s(x) = (\beta_s - 1) + \phi(x - \alpha_{s^{-1}}), and for each negative letter set hs−1=hs−1h_{s^{-1}} = h_s^{-1}. Define the letter cocycle χs:ℝ→ℤ\chi_s : \mathbb{R} \to \mathbb{Z} by χs(y)=𝟏As(y)\chi_s(y) = \mathbf{1}_{A_s}(y) for positive letters s∈{u,v}s \in \{u, v\} and χs(y)=𝟏As(y)−1\chi_s(y) = \mathbf{1}_{A_s}(y) - 1 for negative letters s∈{u−1,v−1}s \in \{u^{-1}, v^{-1}\}. The word order automorphism hw:ℝ→ℝh_w : \mathbb{R} \to \mathbb{R} of a word ww over SS is the order automorphism of ℝ\mathbb{R} defined recursively by (3): hε=id⁡ℝ,hsw=hs∘hw,\begin{aligned} h_{\varepsilon} &= \operatorname{id}_{\mathbb{R}}, \\ h_{s w} &= h_s \circ h_w, \end{aligned}(3)✦ for every letter s∈Ss \in S and every word ww over SS.

The word cocycle cw:ℝ→ℤc_w : \mathbb{R} \to \mathbb{Z} of a word ww over SS is the integer-valued function defined recursively by (4): cε(y)=0,csw(y)=χs(y)+cw(hs−1(y)),\begin{aligned} c_{\varepsilon}(y) &= 0, \\ c_{s w}(y) &= \chi_s(y) + c_w\bigl(h_s^{-1}(y)\bigr), \end{aligned}(4)✦ for every letter s∈Ss \in S, every word ww over SS, and every y∈ℝy \in \mathbb{R}.

The claim

Lemma 4.2. For every word ww over SS, every natural number k∈ℕk \in \mathbb{N}, and every integer j∈ℤj \in \mathbb{Z}, the word cocycle of the prefix wkw_k takes the two constant integer values cwk(j)=−n−(red⁡(wk)),cwk(hwk(0)+j)=n+(red⁡(wk)).\begin{aligned} c_{w_k}(j) &= -n_{-}\bigl(\operatorname{red}(w_k)\bigr), \\ c_{w_k}\bigl(h_{w_k}(0) + j\bigr) &= n_{+}\bigl(\operatorname{red}(w_k)\bigr). \end{aligned}(5)✦ Moreover, for every word ww over SS, the difference between these two levels equals the length of the reduced form of ww: n+(red⁡(w))−(−n−(red⁡(w)))=|red⁡(w)|.n_{+}\bigl(\operatorname{red}(w)\bigr) - \bigl(-n_{-}\bigl(\operatorname{red}(w)\bigr)\bigr) = \bigl|\operatorname{red}(w)\bigr|.(6)✦

What is checked

In the Lean library, Lemma 4.2 states (5) and (6) over finite words in the signed generator alphabet SS, using the stack cancellation step, the word reduction scan, the reduced form with its positive and negative letter counts, the word order automorphism, and the word cocycle.