The 7/9 Rhythm · Study documents

The files behind section 13 of the findings. Every heading below has its own link.

As a plain file: theorems.md

✦
Contents
  1. T1. The levels of a circulant coupling, their symmetries, and their reduction for unions of orbits
  2. Statement
  3. Proof
  4. Tests (off the study's grid)
  5. Search
  6. Adversarial check
  7. T2. Which spacings collapse
  8. Statement
  9. Proof
  10. Tests
  11. Search
  12. Adversarial check
  13. T3. The isolated square's line weights
  14. Statement
  15. Proof
  16. The five starts of the study
  17. Tests
  18. Search
  19. Adversarial check
  20. T4. When each level is one part, the weight of each pair of levels does not depend on the tube or the law
  21. Statement
  22. Proof
  23. Consequence, computed before any grid cell
  24. Tests
  25. Search
  26. Adversarial check

#Theorems for the 7/9 study

Dogma Guru, 27 September 2026. Kickoff section 5: a statement of mathematics that the study needs is proved here, unless a source that has been read proves it. Each statement below has:

  • its assumptions;
  • a proof in steps that can be checked one at a time;
  • the exact or numerical tests that hold it (in tests/lab-seven-ninths.test.mjs);
  • the search for it in the literature;
  • the rounds of adversarial checking.

Kind: a statement becomes an established finding only when every reader in the last round of checking finds no break. Until then it is labelled as awaiting that check.

Premises about the lab's code. Some statements describe what the lab's code computes: the coordinates of embed, the rule of couplingsND, the sets in CURVE, and the weights of carpet.ts spectrum(). This file cannot prove a description of code. Each such premise is marked (code) where it is used, and a named test in tests/lab-seven-ninths.test.mjs holds it against the code itself.

Notation.

  • N = 108 beads, indexed by k ∈ Z/108.
  • A bead's station is k mod 27, and its corner is its square position (k − station)/27 ∈ {0, 1, 2, 3}. The letter a is kept for the corner (bead s + 27a).
  • For an offset d = k − j between two beads, t = d mod 4 is its tube offset and b = d mod 27 its ring offset. The tube offset is not the corner difference: for j = s + 27a and k = s′ + 27a′, t ≡ (s′ − a′) − (s − a) (mod 4), because 27 ≡ −1.
  • ζ_n = e^{2πi/n}.
  • A unit mod 27 is an integer coprime to 27.
  • For b ∈ Z/27, g(b) = gcd(b, 27), with g(0) = 27.
  • The scale of a set of levels is max(1, max_n |λ(n)|). "10⁻¹¹ of the scale" means 10⁻¹¹ times it.
  • q is T1's tube-offset mode (−n mod 4). T3 writes the corner-index mode, which is n mod 4 = −q; the corner classes {0}, {1, 3}, {2} are the same in both.

#T1. The levels of a circulant coupling, their symmetries, and their reduction for unions of orbits

#Statement

Let f : Z/108 → ℝ be even (f(−d) = f(d)) with f(0) = 0, and let J be the 108 × 108 matrix J_{jk} = f(k − j).

  • (a) For each n ∈ Z/108 the plane wave v_n(k) = ζ_108^{nk}/√108 is an eigenvector of J, with eigenvalue λ(n) = Σ_{d∈Z/108} f(d) cos(2πnd/108). The v_n form an orthonormal basis, and λ(−n) = λ(n).

  • (b) Take an equal-circle placement: multipliers M ⊆ {1, …, 13}, M containing an element not divisible by 3 (a unit), ring radius ρ = 1/√|M| per circle, and tube radius r > 0. Place bead k at the point with coordinates ρ(cos, sin)(2π·4mk/108) for each m ∈ M, then r(cos, sin)(2π·27k/108), then zeros; and couple beads j ≠ k by J_{jk} = (d_ref/|p_k − p_j|)^α, with d_ref = |p_27 − p_0| and J_{kk} = 0. Then no two beads coincide, and J_{jk} = f(k − j) with f(d) = F(d mod 4, d mod 27), where:

    • F(t, b) = (2r² / (ring²(b) + tube²(t)))^{α/2} for (t, b) ≠ (0, 0), and F(0, 0) = 0;
    • ring²(b) = 2 − (2/|M|) Σ_{m∈M} cos(2πmb/27);
    • tube²(t) = 2r²(1 − cos(πt/2)).

    (code) This is what embed and couplingsND compute for curve at every count, 12D-*, 12D-n, 12D-u and 4D (the lab's flat placements), and each of their multiplier sets lies in {1, …, 13} and contains a unit. Test: "T1 (b)".

  • (c) Write β = 7n mod 27 and q = −n mod 4: the station mode, and the mode in the tube offset. In the corner index a the plane wave's mode is −q ≡ n mod 4 (bead s + 27a has k mod 4 ≡ s − a). The corner class of n, {0}, {1, 3} or {2}, is closed under negation, and so is the same in either convention. For any even f, with F := f composed with the inverse of d ↦ (d mod 4, d mod 27),

    λ(n) = Σ_{t∈Z/4} Σ_{b∈Z/27} F(t, b) · ζ_4^{qt} · ζ_27^{βb}.

    (For the squares that do not couple, T3's f, T3 step 2 shows the corner classes {0}, {1, 3} and {2} are the square levels 2 + c, −c and −2 + c.)

  • (d) In the setting of (b), suppose further that M ∪ (27 − M) is a union of orbits of the units mod 27 acting on Z/27 by multiplication (T2). Then ring²(b) depends on b only through g(b), say F(t, b) = G(t, g(b)), and

    λ(n) = Σ_{t∈Z/4} ζ_4^{qt} Σ_{g|27} G(t, g) R_g(β), where R_g(β) = Σ_{b∈Z/27, g(b)=g} ζ_27^{βb}.

    Each R_g(β) is an integer that depends on β only through gcd(β, 27). Hence λ(n) depends on n only through the corner class of q ({0}, {1, 3} or {2}) and gcd(n, 27). That allows at most 3 × 4 = 12 distinct levels.

  • (e) Three orbit unions:

    • M = the nine units {1, 2, 4, 5, 7, 8, 10, 11, 13}: λ(n) depends only on the corner class and on whether β is 0, a nonzero multiple of 3, or neither. At most 9 levels.
    • M = the nine units with {3, 6, 12}: λ(n) depends only on the corner class and on whether β is 0, a nonzero multiple of 9, or not a multiple of 9. At most 9 levels.
    • M = {1, …, 13}: λ(n) depends only on the corner class and on whether β = 0. At most 6 levels.

    (code) These are CURVE's sets at 9, 12 and 13 circles. Test: "T1 (b)".

  • (f), symmetry. In the setting of (b), let S = M ∪ (27 − M) and Stab(M) = {u a unit mod 27 : uS = S}, a group containing −1. If n and n′ have the same corner class and 7n′ ≡ u · 7n (mod 27) for some u ∈ Stab(M), then λ(n′) = λ(n).

  • (g), all units present. In the setting of (b), suppose M contains all nine units {1, 2, 4, 5, 7, 8, 10, 11, 13}. Then λ(n) is the same for every n of one corner class whose station mode β is a unit (gcd(β, 27) = 1).

  • Corollary, the level classes of the lab's placements. Partition the 108 plane waves by corner class and by the orbit of β under Stab(M), and then join the classes that (e) and (g) show to be equal. λ is constant on each part. (code) The lab's sets are CURVE's at 1 to 13 circles, {1}, {1, 6}, {1, 4, 10}, {1, 4, 7, 9}, {1, 2, 5, 9, 12}, {1, 2, 4, 7, 10, 11}, {1, 2, 3, 6, 7, 11, 12}, {1, 2, 3, 6, 7, 8, 11, 12}, the nine units, the nine units with 3, the nine units with 3 and 9, the nine units with {3, 6, 12}, and {1, …, 13}; 12D-n {1, 2, 3, 4, 5}; 12D-u {1, 5, 7, 11, 13}; 12D-* {8, 9, 11, 12, 13}; and 4D {1}. Stab(M), computed for each by testing the 18 units against S, is {1, −1} at 1 to 8 circles, for the three 12D sets and for 4D (test "level classes"). This gives:

    • 42 parts at 1 to 8 circles, for the three 12D sets and for 4D, where Stab(M) = {1, −1}: 3 corner classes times 14 station classes (β up to sign). (g) cannot apply there: each of these sets has at most 8 elements, so it cannot hold nine units; and in any case a set holding all nine units has Stab(M) ⊇ {±1, ±8, ±10}, because a unit u ≡ ±1 (mod 9) sends each multiple of 3 to plus or minus itself mod 27.
    • 18 parts at 10 and 11 circles, where Stab(M) = {±1, ±8, ±10} and both sets hold all nine units, so (g) joins the three orbits of units: 3 times {0}, {9, 18}, {3, 24}, {6, 21}, {12, 15}, and the units.
    • 9 parts at 9 and at 12 circles, and 6 at 13 circles, by (e).

    The corollary says each part lies inside one level. It does not say the parts are the finest such partition for every M: for 24 sets that are not the lab's (for example {1, 8, 10}), the three orbits {3, 24}, {6, 21} and {12, 15} also share one level, which neither (e) nor (g) predicts (found by the third round of checking). For the lab's sets, that no two parts share a level is not claimed as a theorem either. It is checked numerically at two points off the study's grid (test "level classes"), and the study records, cell by cell, the smallest gap between parts.

#Proof

  1. (a) For each j:

    • (J v_n)(j) = Σ_k f(k − j) ζ_108^{nk}/√108 = ζ_108^{nj}/√108 · Σ_d f(d) ζ_108^{nd}, substituting d = k − j.
    • Since f is even, the terms d and −d pair up to 2f(d)cos(2πnd/108). d = 0 and d = 54 are their own negatives, and at those two the imaginary part sin(2πnd/108) is 0. So Σ_d f(d) ζ_108^{nd} = λ(n), which is real.
    • The v_n are the columns of the unitary discrete Fourier matrix, so they are orthonormal.
    • λ(−n) = λ(n) because cos is even.
  2. (b) Bead k has the coordinates stated in (b). For beads j and k with d = k − j:

    • |p_k − p_j|² = Σ_m 2ρ²(1 − cos(2π·4md/108)) + 2r²(1 − cos(2π·27d/108)).
    • Since 4md/108 = md/27, the first sum depends only on d mod 27 and equals ring²(d mod 27) with ρ² = 1/|M|.
    • Since 27d/108 = d/4, the last term depends only on d mod 4 and equals tube²(d mod 4).
    • Both are even in d.
    • No two beads coincide. If d ≢ 0 (mod 27), then ring²(d mod 27) > 0 by step 4. If d ≡ 0 (mod 27) and d ≢ 0 (mod 108), then t = d mod 4 ≠ 0 and tube²(t) = 2r²(1 − cos(πt/2)) ≥ 2r² > 0, because r > 0. So F is finite at every (t, b) ≠ (0, 0).

    For bead 27, d mod 27 = 0 and d mod 4 = 3, so d_ref² = 0 + 2r²(1 − cos(3π/2)) = 2r². The diagonal is 0. So J_{jk} = F((k − j) mod 4, (k − j) mod 27), which is f(k − j) with f even.

  3. (c)

    • Since 4 and 27 are coprime, d ↦ (d mod 4, d mod 27) is a bijection Z/108 → Z/4 × Z/27 (the Chinese remainder theorem).
    • Since −27 + 28 = 1, 1/108 = −1/4 + 7/27. So ζ_108^{nd} = ζ_4^{−nd} ζ_27^{7nd}.
    • ζ_4^{−nd} depends only on t = d mod 4 and equals ζ_4^{qt} with q = −n mod 4. ζ_27^{7nd} depends only on b = d mod 27 and equals ζ_27^{βb}.
    • Substitute into Σ_d f(d) ζ_108^{nd}, with f(d) = F(d mod 4, d mod 27). Nothing here uses the form of F in (b), only that f is even, so (c) holds for any even f.
  4. (d), the class of ring².

    • ring² is positive off 0. Let u ∈ M be a unit and b ≠ 0. Then ub ≢ 0 (mod 27), so cos(2πub/27) < 1, while every other term of Σ_{m∈M} cos(2πmb/27) is at most 1. So the sum is below |M| and ring²(b) > 0.
    • ring² is a function of g(b). T2's hypothesis M ⊆ {1, …, 13} holds, so by T2, Σ_{m∈M} cos(2πmb/27) is constant on {b : g(b) = g} for each g. (Without M ⊆ {1, …, 13} the step fails: M = {1, 2, 4, 5, 7, 8, 10, 11, 13, 26} has M ∪ (27 − M) equal to the units, yet its cosine sum is not constant on the units. That was found by the first round of checking.)
    • So F(t, b) = G(t, g(b)). Grouping the b-sum in (c) by g(b) gives the formula for λ(n).
  5. (d), R_g is an integer, and a function of gcd(β, 27).

    • Real. The set {b : g(b) = g} is closed under b ↦ −b, so R_g(β) is real.
    • Invariant under units. For a unit u, b ↦ ub permutes {b : g(b) = g}, because g(ub) = g(b). So R_g(uβ) = Σ_b ζ_27^{βub} = R_g(β).
    • Constant on gcd classes. By the lemma of T2, step 4, any β′ with gcd(β′, 27) = gcd(β, 27) is uβ for some unit u. So R_g(β′) = R_g(β).
    • Integer. R_g(β) is a Ramanujan sum: with b = g·b₁, R_g(β) = Σ_{b₁ ∈ (Z/(27/g))*} ζ_{27/g}^{βb₁} = c_{27/g}(β). By the classical formula c_q(β) = Σ_{e | gcd(β,q)} μ(q/e)·e, it is an integer (Cohen 1955, eq. 4, p. 940; Tóth and Haukkanen 2011, eq. 12; see Search). The test "Ramanujan-type class sums are integers" checks all 4 × 27 values against the definition, as a check of the arithmetic, not as the proof.
  6. (d), corner classes 1 and 3 coincide.

    • tube²(t) = tube²(−t), so G(t, g) = G(−t, g).
    • Hence Σ_t ζ_4^{qt} G(t, g) = G(0, g) + 2cos(πq/2) G(1, g) + (−1)^q G(2, g), which is the same for q = 1 and q = 3.
    • Combined with step 5, λ(n) depends only on the corner class of q and on gcd(β, 27) = gcd(7n, 27) = gcd(n, 27), since 7 is a unit.
  7. (e) The nine units:

    • Σ_{m∈M} cos(2πmb/27) = 0 whenever 9 ∤ b. M holds one of each ± pair of units, so 2Σ_{m∈M} cos(2πmb/27) = Σ_{x unit} ζ_27^{xb} = c_27(b). By the formula, c_27(b) = Σ_{e | gcd(b,27)} μ(27/e)·e is 0 when gcd(b, 27) is 1 or 3 (μ(27) = μ(9) = 0), and −9 when gcd(b, 27) = 9. So G(t, 1) = G(t, 3).
    • The station sum therefore needs only G(t, 27) R_27(β) + G(t, 9) R_9(β) + G(t, 1)(R_1(β) + R_3(β)).
    • R_27(β) = 1.
    • R_9(β) = ζ_27^{9β} + ζ_27^{18β} = 2cos(2πβ/3).
    • R_1(β) + R_3(β) = Σ_{9 ∤ b} ζ_27^{βb} = 27·[β = 0] − (1 + 2cos(2πβ/3)).
    • These depend on β only through [β = 0] and β mod 3.

    The nine units with {3, 6, 12}:

    • S = M ∪ (27 − M) is every x with 9 ∤ x. So 2Σ_{m∈M} cos(2πmb/27) = Σ_{x∈Z/27} ζ_27^{xb} − Σ_{j=0}^{2} ζ_27^{9jb} = 27·[b = 0] − 3·[3 | b]. For b ≠ 0 this is −3 when 3 | b and 0 otherwise. So G(t, 3) = G(t, 9).
    • The station sum needs only G(t, 27) R_27(β) + G(t, 1) R_1(β) + G(t, 3)(R_3(β) + R_9(β)).
    • R_27(β) = 1.
    • R_1(β) = c_27(β), which is 0 when gcd(β, 27) is 1 or 3, −9 when it is 9, and 18 when β = 0 (the formula of step 5).
    • R_3(β) + R_9(β) = Σ_{3 | b, b ≠ 0} ζ_27^{βb} = Σ_{j=0}^{8} ζ_9^{βj} − 1 = 9·[9 | β] − 1.
    • These depend on β only through [β = 0] and [9 | β].

    13 circles:

    • Σ_{m=1}^{13} cos(2πmb/27) = (Σ_{x=1}^{26} ζ_27^{xb})/2 = −1/2 for b ≠ 0. So G(t, 1) = G(t, 3) = G(t, 9).
    • R_1 + R_3 + R_9 = 27·[β = 0] − 1, which depends only on [β = 0].
  8. (f)

    • Stab(M) is a group containing −1. It is the stabiliser of S under the group of units, and S = −S.
    • ring² is invariant under Stab(M). Since M ⊆ {1, …, 13}, M and 27 − M are disjoint, so 2Σ_{m∈M} cos(2πmb/27) = Σ_{x∈S} ζ_27^{xb}. For u ∈ Stab(M), Σ_{x∈S} ζ_27^{xub} = Σ_{y∈uS} ζ_27^{yb} = Σ_{y∈S} ζ_27^{yb}. So ring²(ub) = ring²(b), and F(t, ub) = F(t, b) for every t.
    • The station sum. For u ∈ Stab(M), substitute b′ = ub, a bijection of Z/27: Σ_b F(t, b) ζ_27^{uβb} = Σ_{b′} F(t, u⁻¹b′) ζ_27^{βb′} = Σ_{b′} F(t, b′) ζ_27^{βb′}, since u⁻¹ ∈ Stab(M). So by (c), λ is unchanged when β is replaced by uβ and q is kept.
    • The corner. tube² is even in t, so F(t, b) = F(−t, b), and for each fixed b, Σ_t ζ_4^{qt} F(t, b) is unchanged when q is replaced by −q. So by (c), λ is unchanged when q = 1 is replaced by q = 3.
    • Combining the two, and using that n ↦ (q, β) is a bijection (the Chinese remainder theorem, step 3), λ(n) depends only on the corner class and on the Stab(M)-orbit of β.
  9. (g)

    • ring² is 9-periodic off the multiples of 9. S contains all 18 units, and its other elements are multiples of 3. For b ≢ 0 (mod 9), Σ_{x∈S} ζ_27^{x(b+9)} − Σ_{x∈S} ζ_27^{xb} = Σ_{x∈S} ζ_27^{xb}(ζ_3^x − 1). The terms with 3 | x vanish. The units contribute c_27(b + 9) − c_27(b), and both are 0: 9 divides neither b nor b + 9, so both gcds with 27 are 1 or 3, where c_27 = 0 (step 7). So ring²(b + 9) = ring²(b), and F(t, b + 9) = F(t, b), for every b ≢ 0 (mod 9).
    • The station sum at a unit β. Split Σ_b F(t, b) ζ_27^{βb} into b ≡ 0 (mod 9) and the rest. The rest falls into triples {b, b + 9, b + 18} on which F(t, ·) is constant, and Σ_{j=0}^{2} ζ_27^{β(b+9j)} = ζ_27^{βb}(1 + ζ_3^β + ζ_3^{2β}) = 0 because 3 ∤ β. The multiples of 9 give F(t, 0) + F(t, 9)(ζ_3^β + ζ_3^{−β}) = F(t, 0) − F(t, 9), using F(t, 18) = F(t, −9) = F(t, 9) and 2cos(2πβ/3) = −1 for 3 ∤ β.
    • So by (c), λ(n) = Σ_t ζ_4^{qt}(F(t, 0) − F(t, 9)) for every n whose β is a unit, which depends on n only through q, and, since F(t, b) = F(−t, b) (step 8, the corner bullet), only through the corner class.
  10. Corollary. By (f), λ is constant on each (corner class, Stab(M)-orbit) part; by (e) and (g), on the joined parts. The orbit counts are finite computations: Stab(M) is computed by testing the 18 units against S (test "level classes"). For Stab(M) = {±1}, the orbits of β are {0} and the 13 pairs {β, −β}. For Stab(M) = {±1, ±8, ±10}, the orbits are {0}, {9, 18}, {3, 24}, {6, 21}, {12, 15} and three orbits of 6 units; (g) joins the three orbits of units only when M holds all nine units, which the 10- and 11-circle sets do (both are (code) premises about CURVE, held by the test "T1 (b)", which checks every set written in the corollary). The lemma used for the 42 count: if M holds all nine units, S contains every unit, and every u ≡ ±1 (mod 9) maps each multiple of 3, x = 3y, to ux ≡ ±x (mod 27), so it preserves S ∩ 3Z (which is closed under negation) and the units; hence {±1, ±8, ±10} ⊆ Stab(M), and a set with Stab(M) = {±1} cannot hold all nine units.

∎

#Tests (off the study's grid)

  • The flat placements are circulant (defect below 10⁻¹²), and λ(n) matches symEig on five placements at tube sizes and laws the grid does not use.
  • T1 (b): for every lab placement (curve 1 to 13, the three 12D sets, 4D) at two off-grid points, the first row of couplingsND(embed(...)) equals F(d mod 4, d mod 27) to 10⁻¹²; each multiplier set lies in {1, …, 13} and contains a unit; the sets at 9, 12 and 13 circles are those of (e).
  • The closed form of (d) matches the circulant sum to 10⁻¹¹ at 9, 12 and 13 circles, again off the grid.
  • For the orbit unions of (d), the levels are constant on (corner class, gcd class).
  • R_g(β) is an integer and constant on gcd classes, for all 108 values.
  • Level classes: for every lab placement, Stab(M) is as stated, the parts number 42, 18, 9 or 6, and λ is constant on each part to 10⁻¹³ of the scale at four off-grid points (tube 0.17 under 1/d⁵, 0.44 under 1/d^2.5, 0.07 under 1/d⁸, 1.3 under 1/d²). At the second and fourth, no two parts are closer than 10⁻¹¹ of the scale, 10⁴ times the rounding error, so there the parts are exactly the distinct eigenvalues. (Whether spectrum(), whose tolerance is an absolute 10⁻⁹, also separates them is a different question. The closest parts over all the lab's placements are at 8 circles: 1.05 × 10⁻⁹ apart at tube 0.44 under 1/d^2.5, just above that tolerance, and 1.1 × 10⁻⁸ at 1.3 under 1/d².) Parts can come much closer elsewhere: at tube 0.17 under 1/d⁵ two of the 8-circle parts are 6.6 × 10⁻¹³ of the scale apart, and two of the 7-circle parts 2 × 10⁻¹², below what spectrum() separates.
  • T1 (g), step 9, exactly: for all 16 sets M holding the nine units, ring²(b + 9) = ring²(b) for every b ≢ 0 (mod 9), in ℤ[x]/(Φ₂₇).

Searched on 27 September 2026, for circulant eigenvalues, Ramanujan sums, r-even functions, and spectra of unitary Cayley graphs. Each source below was read in its primary text, unless marked not read.

  • (a), read. R. M. Gray, Toeplitz and Circulant Matrices: A Review, Foundations and Trends in Communications and Information Theory 2(3), 2006, read in the author's PDF (ee.stanford.edu/~gray/toeplitz.pdf; DOI 10.1561/0100000006, not opened), whose page numbers are its own: the definition C_{k,j} = c_{(j−k) mod n} on p. 31, section 3.1, eqs. (3.5) to (3.13), on pp. 32 to 34, and Theorem 3.1, which opens section 3.2 on p. 34.
    • It covers the eigenvectors, the eigenvalues as the discrete Fourier transform of the first row, and the unitary eigenbasis of any circulant. Change of notation: the study's J_{jk} = f(k − j) is Gray's convention with c_d = f(d); the study's v_n is Gray's y(−n mod 108), and λ(n) = ψ_{−n}.
    • It does not state the real even case.
  • (a), the real even case, read. J. Montaldi, Notes on circulant matrices, MIMS EPrint 2012.56, Manchester Institute for Mathematical Sciences (notes dated October 2008; lecture notes, not refereed), pp. 1 to 2, eqs. (1) to (3) and the paragraph "Symmetric circulant matrices" (eprints.maths.manchester.ac.uk/1829/1/circulant.pdf). A real circulant with m(−r) = m(r) has eigenvalues a(l) = Σ_r m(r) cos(2πlr/n), real, with a(n − l) = a(l). Same index convention as here, with m = f. Because the notes are not refereed, step 1 proves the case here as well.
  • (d), read. E. Cohen, "A class of arithmetical functions", Proc. Nat. Acad. Sci. USA 41 (1955), 939 to 944 (DOI 10.1073/pnas.41.11.939; read from the scanned pages at PMC534309), p. 940, eq. (4) and the sentence after it: c(n, r) = Σ_{d | (n,r)} μ(r/d)·d, and c depends only on (n, r). Integrality is not stated in words; it is immediate from (4).
  • (d), read. L. Tóth and P. Haukkanen, "The discrete Fourier transform of r-even functions", Acta Univ. Sapientiae, Mathematica 3(1) (2011), 5 to 25, read in the published version and in arXiv:1009.5281v1, whose equation numbers agree: eq. (9) (the definition of c_q), eq. (12) (the formula), eq. (13) (Hölder's identity), and Corollary 2 (c_r(n) is an integer).
  • (d), read. S. Ramanujan, "On certain trigonometrical sums and their applications in the theory of numbers", Trans. Cambridge Philos. Soc. 22 (1918), 259 to 276, read in the re-typeset online edition of the Collected Papers, Paper 21 (ramanujan.sirinudi.org/Volumes/published/ram21.pdf), section 2, eqs. (2.3) and (2.5) to (2.7). Eq. (2.7), with η_δ(n) = δ·[δ | n], is the formula of step 5.
  • (d), read. W. Klotz and T. Sander, "Some properties of unitary Cayley graphs", Electron. J. Combin. 14 (2007), #R45 (DOI 10.37236/963), p. 8, eq. (8), and p. 9, Theorem 16 and its proof. For circulants whose first row is the 0/1 indicator of a union of gcd classes, the eigenvalues are sums of Ramanujan sums, by the regrouping behind R_g. Not in the paper, and supplied here: the weighted first row G(t, g) (by linearity), the class g = 27, and the product with Z/4 (step 3).
  • (d), read. W. Schramm, "The Fourier transform of functions of the greatest common divisor", Integers 8 (2008), #A50, Theorem 1, eqs. (2) and (3), p. 2 (emis.icm.edu.pl/journals/INTEGERS/papers/i50/i50.pdf; the PDF's text layer uses a garbled font encoding, and the formulas were decoded by their evident substitution). The transform of a function of gcd(k, n) is Σ_{d|n} f(d) c_{n/d}(m), by the same regrouping.
  • (c). The index map (Good and Thomas) is the standard factorisation of a discrete Fourier transform of coprime length. No source was sought for it, so step 3 stands on its own two lines.
  • (f) and (g). No source was sought for them. They are proved here.
  • Not read, so supporting nothing: P. J. McCarthy, Introduction to Arithmetical Functions (1986), chapter 2 (the publisher's page refused access); P. J. Davis, Circulant Matrices (1979).

Kind:

  • (a): an established finding. The general case is Gray's Theorem 3.1; the real even case is in Montaldi's notes (not refereed) and is proved in step 1.
  • The formula used in step 5: an established finding (Cohen; Tóth and Haukkanen; Ramanujan).
  • (b) to (g) and the corollary, for the lab's placements: proved here, and checked (round 4: no break found by any reader): established findings. No source was sought for (f) or (g); (e) at 12 circles and the corollary were not found in the sources read. Novelty is not claimed. The (code) premises are held by tests, not proved.

#Adversarial check

Round 1 (27 September 2026). Three readers, each in a fresh context with only this file, went step by step.

  • All three found the same break, in step 4 of (d): a hidden hypothesis. (d) cited T2 without T2's M ⊆ {1, …, 13}, and without it the conclusion fails. Counterexamples: M = {1, 2, 4, 5, 7, 8, 10, 11, 13, 14} (33 distinct levels) and M with 26 in place of 14 (30 levels).
  • Two noted a further gap: F is infinite unless M contains an element not divisible by 3.
  • All three noted a mislabel: q is the mode in the tube index, not the corner index. It was harmless, because the corner classes are closed under negation.
  • One noted that step 5's integrality rested on the classical formula, not on the numerical test.
  • Fixed: the hypotheses were added to (b) and (d); (c) was relabelled; and the formula is now cited from sources read. Every other step: no break found, by all three.

Round 2 (27 September 2026). Three fresh readers, each given only this file, wrote their own code (exact arithmetic in ℤ[x]/(Φ₂₇) and exact rational projectors where the claims are exact).

  • Every proof step of (a) to (e): no break found, by all three. Each rebuilt J from the stated coordinates and checked the circulant form, the eigenvector equation, the Chinese remainder formula, the class constancy, and all 108 values R_g(β) against the Ramanujan formula. All three found 12 levels for the units with {9} (the bound of (d) attained), 9 for the nine units, and 6 at 13 circles.
  • All three noted: (b) describes code, which the file cannot prove. Fixed: (b) now states a mathematical setting, and the code premises are marked (code) and held by the test "T1 (b)".
  • All three noted: the file's rule required an "awaiting check" label that no statement carried. Fixed in the Kind lines.
  • Two noted: (c)'s remark about T3's levels was not proved by step 3 and concerned an f outside (b). Fixed: (c) is stated for any even f, and the remark cites T3 step 2.
  • Two noted: "no two beads coincide" silently used r > 0 when the ring offset is 0. Fixed in step 2.
  • One noted: the letter a meant both the corner and d mod 4. Fixed: the tube offset is now t.
  • One noted: "at 9 circles" in (e) was ambiguous, because CURVE's 7- and 11-circle sets are not orbit unions. Fixed: (e) names the sets.
  • One noted: part of (a) was labelled as taken from a source that does not state it. Fixed: Montaldi's notes are cited for the real even case, and the Kind line says step 1 proves it.
  • All three found the round 1 record wrong. Round 1 recorded 33 and 30 distinct levels for the two counterexample sets. The two sets have identical level multisets (their ring distances are the same function up to multiplying the offset by a unit), and the count depends on r, α and the tolerance: the readers found anything from 14 to 35. The two counts are withdrawn, 27 September 2026. The counterexample stands on the cosine sum, which is not constant on the units.
  • Added after round 2, from the study's need for exact level classes: (e) at 12 circles, (f), (g) and the corollary. They go to round 3.

Round 3 (27 September 2026). Three fresh readers, each given only this file. Exact checks in ℤ[ζ₂₇] and ℤ[x]/(Φ₂₇), and J rebuilt from (b)'s coordinates for many sets M, r from 0.05 to 2.5 and α from −3 to 9.

  • Steps 1 to 9: no break found, by all three. One reader checked (f) exactly for all 8,176 sets M in {1, …, 13} holding a unit: Stab(M) has order 2 for 8,064 sets, 6 for 108 and 18 for 4, and λ is equal on every (corner class, Stab(M)-orbit) part for every r and α, not only at sampled points. (g)'s closed form matched λ at every unit β to 3.6 × 10⁻¹⁴ on all 16 sets.
  • One reader found a break in step 10: a hidden premise. The rule "(g) joins the three orbits of units" at Stab(M) = {±1, ±8, ±10} needs M to hold all nine units, and that stabiliser does not force it: M = {1, 2, 3, 6, 7, 8, 9, 10, 11, 12} has that stabiliser, lacks 4, 5 and 13, and its three orbits of units carry different levels: the corollary's rule would give it 24 parts, not the 18 the rule claimed for its stabiliser. (It is itself one of the 24 exceptional sets noted below, so its distinct levels number 18 generically, a different 18.) The count of 18 at 10 circles therefore rests on the 10-circle set holding the nine units. Fixed: the corollary now names the lab's sets and marks that premise (code); the test "T1 (b)" checks every set it writes out (the 10-circle set among them, added after the final pre-seal review found the test did not yet check it).
  • All three noted: step 9's last line cited step 6, which is written through G(t, g) and exists only for orbit unions. Fixed: it cites step 8's corner bullet.
  • Two noted: the corollary did not say which case covers 4D. Fixed (|M| = 1, Stab(M) = {±1}, 42 parts).
  • Two noted: the count of 42 used an unstated lemma, that (g) never applies when Stab(M) = {±1}. Written out in step 10.
  • Two noted, as enrichment: for 24 sets that are not the lab's, the orbits {3, 24}, {6, 21} and {12, 15} share one level, so the corollary's partition is not always the finest. Recorded in the corollary. The readers confirmed that for the lab's kinds of set the corollary's partition equals the exact partition by class sums.
  • All three noted: "the scale" was undefined. Defined in the notation.
  • One noted: the test line "constant on (corner class, gcd class)" needed "for the orbit unions of (d)". Fixed.
  • One noted: q means the tube-offset mode in T1 and T3 writes the corner mode. A note is added to the notation.

Round 4 (27 September 2026). Three fresh readers, each given only this file. Every statement and every proof step of T1: no break found, by all three. One reader checked, for all 8,176 sets holding a unit, that the partition of (f), (g) and (e) refines the exact partition by class sums, with no failure, and that exactly 24 sets have a coarser exact partition, as stated. The check of T1 passes. Wording points, applied after the round without changing any step:

  • All three noted: the corollary did not write out CURVE's sets at 1 to 6 and 8 circles, so their stabiliser could not be checked from the file. They are now listed, and the plainer reason (at most 8 elements) is given beside the lemma.
  • All three noted: step 10 named only the 10-circle set as a (code) premise; the 11-circle set is one too. Fixed.
  • Two noted: the round 3 record's "24 parts, not 18" could be read as a level count. Clarified.
  • One noted: "level" meant an exact eigenvalue in the test line and spectrum()'s grouping elsewhere. The test line now says "distinct eigenvalues", with the absolute gaps.
  • One reported, by exact class sums, that for every set written in the file distinct parts have distinct class-sum vectors, so they carry distinct levels except on a set of (r, α) of measure zero. Recorded as that reader's computation; the file still claims only the numerical check.

#T2. Which spacings collapse

#Statement

Let M ⊆ {1, …, 13} and S = M ∪ (27 − M) ⊆ Z/27 \ {0}. Then these are equivalent:

  • (i) k ↦ Σ_{m∈M} cos(2πmk/27) is constant on each class {k ∈ Z/27 : g(k) = g}, for g = 1, 3 and 9;
  • (ii) S is a union of orbits of the units mod 27 acting by multiplication.

The orbits on Z/27 \ {0} are exactly the three gcd classes:

  • the 18 units;
  • {3, 6, 12, 15, 21, 24};
  • {9, 18}.

Their representatives in 1 to 13, up to sign, are {1, 2, 4, 5, 7, 8, 10, 11, 13}, {3, 6, 12} and {9}. So exactly 2³ − 1 = 7 nonempty sets M satisfy (i): {9}, {3, 6, 12}, {3, 6, 9, 12}, the nine units, the units with 9, the units with {3, 6, 12}, and all of 1 to 13.

Corollary. If M is nonempty and satisfies (ii), the crowding threshold r² = min_{s = 1, …, 26} G_M(s)/2 is rational, where G_M(s) = (4/|M|) Σ_m sin²(πms/27). (s ranges over the nonzero offsets; G_M(0) = 0. For the orbit unions with no unit, r² = 0: beads coincide.) The converse fails: the sets {1, 2, 3, 6, 7, 11, 12} (r*² = 6/7) and {1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 13} (21/22) are not orbit unions. (code) They are CURVE's sets at 7 and 11 circles (test "T1 (b)").

#Proof

  1. The sum is a Fourier transform. Let s = 1_S and ŝ(k) = Σ_{x∈Z/27} s(x) ζ_27^{xk}. Since M ⊆ {1, …, 13}, M and 27 − M are disjoint, and S = −S. So ŝ(k) = Σ_{m∈M} (ζ_27^{mk} + ζ_27^{−mk}) = 2Σ_{m∈M} cos(2πmk/27). Condition (i) is the statement that ŝ is constant on gcd classes.
  2. (ii) ⇒ (i). If uS = S for every unit u, then ŝ(uk) = Σ_x s(x) ζ_27^{xuk} = Σ_y s(u⁻¹y) ζ_27^{yk} = ŝ(k), substituting y = ux and using s(u⁻¹y) = s(y). By step 4, two elements with the same gcd are unit multiples of each other, so ŝ is constant on gcd classes.
  3. (i) ⇒ (ii).
    • Suppose ŝ is constant on gcd classes. For a unit u, uk has the same gcd as k, so ŝ(uk) = ŝ(k) for every k.
    • Let s_u(x) = s(ux). Its transform is ŝ_u(k) = Σ_x s(ux) ζ_27^{xk} = Σ_y s(y) ζ_27^{u⁻¹yk} = ŝ(u⁻¹k) = ŝ(k).
    • The discrete Fourier transform on Z/27 is injective, since its inverse is (1/27)Σ_k ζ_27^{−xk}. So s_u = s: x ∈ S exactly when ux ∈ S. S is invariant under every unit, and so it is a union of orbits.
  4. Lemma: the orbits are the gcd classes.
    • A unit u preserves gcd with 27, so each orbit lies in one gcd class.
    • Conversely, take x and x′ with gcd g < 27. Write x = g·x₁ and x′ = g·x₁′, with x₁ and x₁′ coprime to 27/g. Then x₁′ ≡ w·x₁ (mod 27/g) for w = x₁′x₁⁻¹, a unit mod 27/g.
    • Since 27/g is a power of 3, any integer w₀ ≡ w (mod 27/g) is not divisible by 3, so it is a unit mod 27. Then w₀x = g·w₀x₁ ≡ g·x₁′ = x′ (mod 27), since g·(w₀x₁ − x₁′) is a multiple of g·(27/g) = 27.
    • So each gcd class is one orbit. The class sizes 18, 6 and 2 are φ(27), φ(9) and φ(3).
  5. Count. S = −S always, so (ii) asks, for each of the three orbits, whether it lies in S. The orbits are unions of ± pairs, and exactly one member of each pair lies in {1, …, 13}. So M is a union of the listed representative sets, and there are 2³ − 1 = 7 nonempty choices.
  6. Corollary.
    • G_M(s) = (4/|M|) Σ_m sin²(πms/27) = (2/|M|)(|M| − Σ_m cos(2πms/27)).
    • By step 1, Σ_m cos(2πms/27) = ŝ(s)/2. Under (ii), ŝ(s) = Σ over the orbits O ⊆ S of Σ_{x∈O} ζ_27^{xs}.
    • Each inner sum is a Ramanujan sum c_{27/g}(s) (T1, step 5), an integer. So G_M(s) is rational for every s, and so is r*² = min_{s ≠ 0} G_M(s)/2.
    • The converse fails. For {1, 2, 3, 6, 7, 11, 12} the minimum is at s = 9 and 18, where 2Σ_m cos(2πms/27) = 2 exactly, so r² = (2/7)(7 − 1)/2 = 6/7. For {1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 13} the minimum is on the class g(s) = 3, where 2Σ_m cos = 1 exactly, so r² = (2/11)(11 − 1/2)/2 = 21/22. No set of size 7 or 11 is an orbit union (the orbit unions have sizes 1, 3, 4, 9, 10, 12 and 13). Many other sets that are not orbit unions also have rational r*², so rationality is far from a characterisation. ∎

#Tests

  • Exact arithmetic over all 8,191 nonempty M ⊆ {1, …, 13}. 2Σcos(2πmk/27) is represented as Σ_{x∈S} ζ^{xk} in ℤ[x]/(Φ₂₇), with Φ₂₇ = x¹⁸ + x⁹ + 1. Condition (i) holds for exactly the 7 orbit unions and for no other set.

#Search

  • Read. L. Tóth and P. Haukkanen, "The discrete Fourier transform of r-even functions" (2011, as above). In the published version: section 2.3 (the definition, p. 8), section 4, Proposition 2 (eqs. 16 and 17, p. 10), and Remark 2 (p. 11); in arXiv v1, pp. 3 and 5.
    • A function f is r-even if f(gcd(n, r)) = f(n) for all n.
    • Proposition 2: for every r, the discrete Fourier transform is an automorphism of the space of r-even functions. Remark 2: a function is r-even if and only if its transform is.
    • With r = 27, s = 1_S is 27-even exactly when S is a union of gcd classes. By the orbit lemma (step 4) that is condition (ii). Condition (i) says ŝ is 27-even. So Remark 2 gives (i) ⇔ (ii).
    • Change of notation: their transform uses e^{−2πikn/r}, and T2 uses the + sign. This is harmless, because gcd(−n, r) = gcd(n, r). Their functions live on {1, 2, …}, so the residue 0 is n = r, with gcd r, which agrees with g(0) = 27.
  • Read. E. Cohen (1955, as above), p. 941, Theorem 1: every even function (mod r) is uniquely Σ_{d|r} α(d) c(n, d), and every such sum is even. That is the same equivalence in the form of Ramanujan expansions; turning it into the transform statement takes one line Cohen does not write.
  • Read. W. Schramm (2008, as above), Theorem 1: the direction (ii) ⇒ (i), with the regrouping into Ramanujan sums. The converse is not stated there.
  • Read. V. Božović and Ž. Kovijanić Vukićević, "The cycle index of the automorphism group of Z_n", arXiv:1505.02632 (2015; published as DOI 10.2298/PIM1715099B), Lemmas 2.2, 2.3 and 3.1. For every n and every d | n, the elements of additive order d form a single orbit of the units. That is step 4, for every n.
  • Read, as a restatement. H. Li and X. Liu, "So's conjecture for integral circulant graphs of 4 types", arXiv:2402.04067 (2024), Lemma 1.1. It restates W. So's theorem: a circulant graph Cay(Z_n, S) has integer eigenvalues exactly when S is a union of gcd classes. This bears on the corollary. So's original paper (Discrete Math. 306 (2006)) could not be opened and supports nothing here.
  • Not read: McCarthy (1986); L. G. Lucht (2000, unpublished, cited by Tóth and Haukkanen).

Kind: T2 is a known result, an established finding from Tóth and Haukkanen's Remark 2 together with the orbit lemma (Božović and Kovijanić Vukićević, Lemma 3.1). It is not new. The proof above is kept because it is short, and the exact check over all 8,191 sets stands with it. The corollary is proved here, and checked (rounds 3 and 4: no break found): an established finding.

#Adversarial check

Round 1 (27 September 2026). Three readers, each in a fresh context with only this file, went step by step.

  • Steps 1 to 5: no break found, by all three. Each confirmed (i) ⇔ (ii) with exact arithmetic over all 8,191 sets.
  • All three noted: the corollary did not state that s ≠ 0. Fixed.
  • Two noted: the 7- and 11-circle sets were not given in the file. They are now given, with the size argument for why neither is an orbit union.

Round 2 (27 September 2026). Three fresh readers.

  • Steps 1 to 6: no break found, by all three. Each repeated the exhaustive exact check over all 8,191 sets, found the 7 sets, computed the orbits directly (sizes 18, 6, 2), and confirmed r² = 6/7 and 21/22 exactly, with the minimum of G_M separated from its next value by 7.7 × 10⁻³ and 4.3 × 10⁻² (added from round 4: 3.85 × 10⁻³ and 2.13 × 10⁻² in r²).
  • Two noted: the corollary needs M nonempty. Fixed.
  • One noted: "Under (ii)" was unnecessary in the line Σcos = ŝ/2, which holds always by step 1. Fixed.
  • One noted: 633 sets that are not orbit unions also have rational r². Recorded in step 6. (Added from round 4: 12 of them hold no unit, where r² = 0; 621 hold a unit.)
  • All three noted: that the two sets are CURVE's is a claim about code. Marked (code).
  • The literature search corrected two locators: Theorem 3.1 of Gray opens section 3.2, not 3.1; and Tóth and Haukkanen's Proposition 2 is in section 4, with the explicit equivalence in Remark 2. Both fixed.

Rounds 3 and 4: every step, no break found, by all six readers. The check of the corollary passes.


#T3. The isolated square's line weights

#Statement

Let 0 < c < 1 and let f(27) = f(81) = 1, f(54) = c, and f(d) = 0 otherwise: squares that do not couple to one another. Then J has exactly three distinct levels, 2 + c, −c and −2 + c, of multiplicity 27, 54 and 27. Its spectrum for a start ψ has at most three lines, at the three distinct gaps (a line whose weight is 0 is absent):

  • upper: 2 + 2c;
  • lower: 2 − 2c;
  • full: 4.

For square s (beads s + 27a, a = 0 … 3), let u_s(a) = ψ(s + 27a) and û_s(q) = Σ_a ζ_4^{−qa} u_s(a). Define a spectrum's line weights as carpet.ts spectrum() does (code): for each level L and bead k, A_{kL} = |(P_L ψ)(k)|, with P_L the orthogonal projection onto the level; for two distinct levels L ≠ M, w(L, M) = Σ_k 2A_{kL}A_{kM}; lines at equal gaps add (test "the plane-wave spectrum equals carpet.ts spectrum()"). No line joins a level to itself. Before normalisation the three weights are:

  • w_upper = Σ_s Σ_a 2 · |û_s(0)|/4 · |i^a û_s(1) + (−i)^a û_s(3)|/4;
  • w_lower = Σ_s Σ_a 2 · |i^a û_s(1) + (−i)^a û_s(3)|/4 · |û_s(2)|/4;
  • w_full = Σ_s Σ_a 2 · |û_s(0)|/4 · |û_s(2)|/4.

The lower and upper gaps are in the ratio (1 − c)/(1 + c). For c = 2^{−α/2} and α = 2k with k ≥ 1 (so 0 < c < 1) this is (2^k − 1)/(2^k + 1), which is 7/9 at α = 6.

Corollaries.

  1. One corner per square. If each square carries amplitude on at most one corner, then w_upper = w_lower = w_full.

  2. Mirror-symmetric squares. If u_s(a + 2) = u_s(a) for every s and a (for example the phase-0° start, two0), then w_upper = w_lower = 0: no line other than the full line can be present. (The full line can vanish too, for example if u_s is constant in a.)

  3. Two opposite corners. If each square s carries amplitude only on two opposite corners, a_s and a_s + 2, with amplitudes u_s and v_s (either may be 0), then

    w_upper = w_lower = Σ_s |u_s + v_s|·|u_s − v_s|/2, and w_full = Σ_s |u_s + v_s|²/2.

    So the upper and lower lines always have equal weight. If v_s = ±i·u_s in every square, all three weights are equal. (Corollary 1 is the case v_s = 0; the case v_s = u_s is covered by Corollary 2.)

#Proof

  1. Blocks.
    • f vanishes except at the offsets 27, 54 and 81, so J couples bead s + 27a only to s + 27a′ in the same square. J is block diagonal over the 27 squares.
    • Each block, in the corner index a, is the circulant on Z/4 with first row (0, 1, c, 1).
  2. The levels.
    • By the argument of T1 (a) with 108 replaced by 4, the block's eigenvectors are e_q(a) = ζ_4^{qa}/2, with eigenvalues μ(q) = 1·(ζ_4^q + ζ_4^{3q}) + c·ζ_4^{2q} = 2cos(πq/2) + c·cos(πq): 2 + c (q = 0), −c (q = 1, 3), −2 + c (q = 2).
    • These three values are distinct for 0 < c < 1.
    • J's levels are these with multiplicities 27, 2·27 and 27, and the gaps are (2 + c) − (−c) = 2 + 2c, (−c) − (−2 + c) = 2 − 2c, and (2 + c) − (−2 + c) = 4. These are distinct, so the lines do not merge.
  3. Projections.
    • The projection onto level L acts square by square: (P_L ψ)(s + 27a) = Σ_{q∈L} e_q(a) ⟨e_q, u_s⟩ = Σ_{q∈L} (1/4) ζ_4^{qa} û_s(q).
    • For L = {0} this is û_s(0)/4. For {2} it is (−1)^a û_s(2)/4. For {1, 3} it is (i^a û_s(1) + (−i)^a û_s(3))/4.
  4. Weights.
    • With the weights as defined, substituting step 3 gives the three formulas. (code) spectrum() computes A_{kL} = |Σ_{j∈L} V_{kj} γ_j| with γ_j = ⟨V_{·j}, ψ⟩ for a real orthonormal eigenbasis V, which is |(P_L ψ)(k)|; that is what the test comparing it with the plane-wave spectrum holds.
  5. Corollary 1.
    • If u_s is nonzero only at corner a₀, with amplitude u, then |û_s(q)| = |u| for every q.
    • Hence |P_0| = |P_2| = |u|/4, and |P_{1,3}(a)| = |u|·|cos(π(a − a₀)/2)|/2, which is |u|/2 at a = a₀ and a₀ + 2, and 0 otherwise.
    • So each of the three sums over a equals |u|²/2, and summing over squares gives w_upper = w_lower = w_full.
  6. Corollary 2. If u_s(a + 2) = u_s(a), then substituting a ↦ a + 2 in the sum gives û_s(q) = ζ_4^{−2q} û_s(q) = (−1)^q û_s(q). For odd q this forces û_s(q) = 0, so P_{1,3} = 0 and w_upper = w_lower = 0. Nothing is claimed about w_full.
  7. Corollary 3. Fix a square, drop the index s, and write a₀ = a_s.
    • û(q) = ζ_4^{−qa₀}(u + ζ_4^{−2q} v) = ζ_4^{−qa₀}(u + (−1)^q v). So |û(0)| = |û(2)| = |u + v|, and |P_0| = |P_2| = |u + v|/4 at every corner.
    • û(1) = (−i)^{a₀}(u − v) and û(3) = i^{a₀}(u − v). So i^a û(1) + (−i)^a û(3) = (u − v)(i^{a−a₀} + (−i)^{a−a₀}) = 2(u − v)cos(π(a − a₀)/2), and |P_{1,3}(a)| = |u − v|·|cos(π(a − a₀)/2)|/2.
    • Σ_a |cos(π(a − a₀)/2)| = 2. So the square contributes Σ_a 2·(|u + v|/4)·(|u − v||cos|/2) = |u + v||u − v|/2 to w_upper, the same to w_lower, and Σ_a 2(|u + v|/4)² = |u + v|²/2 to w_full.
    • Sum over squares. If v = ±iu, then |u + v| = |u − v| = √2|u|, and the three contributions are equal. ∎

#The five starts of the study

The starts (code: lib.mjs startState, the phase prime study's). A packet centred at bead m with momentum p is h(k) = exp(−d(k, m)²/18)·e^{ipk} for k = 0, …, 107, where d(k, m) = min(|k − m|, 108 − |k − m|) is the distance around the thread (width 3) and the phase uses k itself. Each start is normalised.

  • one: a packet at 0 with p = 0.9.
  • two0, two90: packets at 0 and 54 with p = 0, the second multiplied by e^{iφ}, φ = 0 or π/2.
  • opposite: a packet at 0 with p = 0.9 plus a packet at 54 with p = −0.9.
  • wound: bead 0 alone.

T3's formulas, computed for these starts. They hold in the limit where each corner class is one level: the squares do not couple at all, or all their levels in a corner class fall within spectrum()'s 10⁻⁹. Weights relative to the largest:

start upper lower full why
wound 1 1 1 one bead: Corollary 1, exactly
one 0.999999997 1 0.999999997 one corner per square, up to the packet's tails (Corollary 1, to 3 × 10⁻⁹)
two90 1 0.999999997 0.999999997 two opposite corners with v ≈ iu (Corollary 3, to 3.5 × 10⁻⁹)
two0 0 0 1 mirror-symmetric squares (Corollary 2; floating point gives 2 × 10⁻¹⁶)
opposite 0.5737 0.5737 1 two opposite corners, with a relative phase that varies from square to square (Corollary 3: upper = lower, to 1.3 × 10⁻¹⁰ of the full weight)

What the table does not say. On the study's grid a corner class is expected to hold several distinct levels, as it does in the seen cells at tube 0.30 (at 5 circles each of the square's two smaller gaps is 196 lines) and at the off-grid points of the test "level classes"; the study records the gaps between parts cell by cell. Where it does, the weights are T4's, not these: for the opposite start at 5 circles, with each part its own level, the full line becomes the weakest of the three types, not the strongest (this uses the (code) premise that the 5-circle set's stabiliser is {±1}). The table describes only the limit in which each corner class is one level.

#Tests

  • The formulas match planeSpectrum (and so spectrum()) on non-coupling squares, for random starts at laws 5 and 7.
  • Corollary 1 holds on a hand-built start with one corner per square.
  • Corollary 3 holds on hand-built starts with two opposite corners per square: random u and v, and v = iu.
  • The table above: the five starts' weights, with the stated equalities.
  • The ratio is (2^k − 1)/(2^k + 1) for k = 1 to 4.

#Search

No source was searched for T3 itself. Its levels follow from the circulant theorem (T1 (a) and Gray, Theorem 3.1) on a 4-cycle. The weight formulas follow from the definition of spectrum()'s weights. It is proved here.

Kind: proved here, and checked (round 4: no break found by any reader): an established finding. The definition of the weights as spectrum() computes them is a (code) premise, held by a test.

#Adversarial check

Round 1 (27 September 2026). Three readers, each in a fresh context with only this file, went step by step.

  • Steps 1 to 6: no break found, by all three. The formulas were checked with exact projectors.
  • All three found an overclaim in the statement: "exactly three lines" should be "at most three" (for example, a start inside one level has no line). They found the same in Corollary 2: the full line can vanish too. Both fixed.
  • One noted that step 2 cited T1 (a), which is stated for Z/108, on Z/4. It now says the same argument with 108 replaced by 4.

Round 2 (27 September 2026). Three fresh readers.

  • Steps 1 to 6 and both corollaries: no break found, by all three. Exact rational projectors at c = 1/8, 1/2 and 3/7 gave multiplicities 27, 54 and 27, and the weight formulas matched projector weights to 10⁻¹³ on random complex starts.
  • All three noted: the weights are defined by code. Fixed: the statement now defines them, and marks the code premise.
  • One noted: "at most three lines" assumes no line joins a level to itself. Fixed: the definition says L ≠ M, as spectrum() does.
  • One noted: the ratio needs k ≥ 1. Fixed.
  • One noted: a harmless ζ_4^{−2q} in step 6. Reworded.
  • Added after round 2: Corollary 3 and the table of the five starts (kickoff H4: derive the square's line weights for each start). They go to round 3.

Round 3 (27 September 2026). Three fresh readers.

  • Steps 1 to 7 and Corollaries 1 to 3: no break found, by all three.
  • All three noted: the table could not be checked from the file, because the starts were defined only in code. Fixed: the starts are now written out. All three reproduced every entry from their own reconstruction.
  • Two noted: the opposite row's formula φ_s = −0.9(2s + 54) holds only on squares 0 to 13; on squares 14 to 26 the loaded corners are 1 and 3 and the phase differs. Corollary 3's upper = lower does not depend on φ_s. Fixed: the formula is removed.
  • All three noted: the "consequence for the opposite start" drew a conclusion about the coupled placements from the uncoupled limit, and in the limit upper and lower tie to 1.3 × 10⁻¹⁰, so which one comes second is not decided by T3. The second pre-seal review then showed that with the parts resolved as levels the order changes (the full line is the weakest at 5 circles). The consequence is withdrawn, 27 September 2026, and replaced by the paragraph "What the table does not say".

Round 4 (27 September 2026). Three fresh readers. Every step and corollary of T3, and the table: no break found, by all three. Each rebuilt the starts from their written definition and reproduced the table. The check of T3 passes. Wording points, applied after the round without changing any step: the two0 entries are exactly 0 (floating point gives 2 × 10⁻¹⁶); the opposite row's "relative" now names the full weight; the packet's centre and profile no longer reuse the letters c and g; "What the table does not say" now cites the seen cells and the test for distinct levels, not T1's corollary, which does not claim them, and states that its claim about the 5-circle cell uses a (code) premise. The final pre-seal review checked each of these edits.


#T4. When each level is one part, the weight of each pair of levels does not depend on the tube or the law

#Statement

Let J be a real symmetric circulant (T1 (a)), and group its plane waves into levels: here a level is a set of plane waves. For a level L let P_L = Σ_{n∈L} v_n v_n^* be the orthogonal projection onto the span of its plane waves, and define weights as in T3: A_{kL} = |(P_L ψ)(k)|, and w(L, M) = Σ_k 2A_{kL}A_{kM} for L ≠ M. A line is a gap between two levels, with ω the difference of their λ; lines closer than 10⁻⁹ in ω add. A line's type is the pair of its levels' corner classes: upper (0 with odd), lower (odd with 2), full (0 with 2), band (the same class). A line is in the window of length T when 2π/ω ≤ T.

Then w(L, M) depends only on the start ψ and on the two sets of plane waves L and M, not on the values λ(n). In particular, for a flat placement, in every cell where the levels are exactly the parts of T1's corollary, the weight of every pair of levels, and so every sum of weights by type, is the same at every tube size and law. Only the lines' ω, which of them fall in the window, and which merge within 10⁻⁹ change.

#Proof

  1. By T1 (a) the v_n are an orthonormal basis of eigenvectors, so the orthogonal projection onto the span of a level's plane waves is Σ_{n∈L} v_n v_n^*. This expression contains no λ. (code) The study's plane-wave spectrum groups plane waves directly. carpet.ts spectrum() groups an eigensolver's real eigenvectors by an absolute 10⁻⁹; its levels are unions of whole eigenspaces, so sets of plane waves, up to the eigensolver's error, of order ε‖J‖ divided by the gap with ε ≈ 10⁻¹⁶ (the test comparing the two spectra holds it to 10⁻⁶ in weight).
  2. A_{kL} and w(L, M) are functions of P_L ψ and P_M ψ only. ∎

#Consequence, computed before any grid cell

The parts of T1's corollary are the same sets of plane waves for every set M with the same stabiliser and joins. So all 42-part placements (1 to 8 circles, the three 12D sets, 4D) share one row of the table below, and 10 and 11 circles share another. 9 and 12 circles each have 9 parts, but different parts, so they have different rows. With each part its own level, the share of upper and lower weight among upper, lower and full weight (band weight left out by definition: on the grid the band lines fall outside the window as the tube shrinks) is:

parts one two90 wound two0 opposite
42 (1 to 8 circles, 12D, 4D) 0.7465 0.7883 0.6667 0 0.7363
18 (10, 11 circles) 0.7259 0.7208 0.6667 0 0.6897
9 (9 circles) 0.7154 0.6864 0.6667 0 0.6208
9 (12 circles) 0.7412 0.7209 0.6667 0 0.6636
6 (13 circles) 0.7099 0.6624 0.6667 0 0.6100

(Computed by lib.mjs partLineWeights.) On the grid a cell departs from this table only where parts merge into one level (below 10⁻⁹), where band lines enter the window, where upper, lower or full lines leave it, or where lines of different types merge. Two columns are exact:

  • Corollary 1 (wound). If every part is a product of a corner class and a set of station modes, with the same station sets in every corner class (as in T1's corollary), the wound start gives equal upper, lower and full totals, so the share is exactly 2/3.
    • Proof. ψ = δ₀, so ⟨v_n, ψ⟩ = 1/√108 for every n, and (P_A ψ)(k) = (1/108) Σ_{n∈A} e^{2πink/108}. By the Chinese remainder theorem (T1 step 3), e^{2πink/108} = ζ_4^{qk} ζ_27^{βk}. So for the part A = K × B, with K a corner class, (P_A ψ)(k) = C_K(k) D_B(k)/108, where C_K(k) = Σ_{q∈K} ζ_4^{qk} and D_B(k) = Σ_{β∈B} ζ_27^{βk}.
    • |C_{0}(k)| = |C_{2}(k)| = 1, and |C_{odd}(k)| = |i^k + (−i)^k| = 2[k even].
    • Summing w over every pair of parts of the two corner classes: upper = lower = 4Σ_{k even} X(k) and full = 2Σ_k X(k), with X(k) = (Σ_B |D_B(k)|)²/108², which depends on k only through k mod 27.
    • Each residue mod 27 occurs at four k in 0 to 107 (r, r + 27, r + 54, r + 81), two even and two odd. So Σ_{k even} X = Σ_k X/2, and the three totals are equal. ∎
  • Corollary 2 (two0). two0 is unchanged by translation by 54 beads (its two packets swap), so ⟨v_n, ψ⟩ = 0 for every odd n. The odd corner class is n ≡ 1 or 3 (mod 4), so no odd part is loaded, and at any partition whose parts each lie in one corner class (as T1's do) there are no upper or lower lines.

#Tests

  • partLineWeights equals the plane-wave spectrum's totals by type when each part is given its own generic level, for all five starts and three partitions.
  • The weights of a spectrum whose levels are the parts are the same at two different (tube, law) points off the grid, line by line.
  • Corollaries 1 and 2 hold at the five partitions of the table, to rounding.

#Search

Not searched: it is the definition of an orthogonal projection onto a span of orthonormal eigenvectors.

Kind: proved here, and checked (round 4, below): an established finding. The weights' definition as spectrum() computes them, and spectrum()'s grouping, are (code) premises, held by a test.

#Adversarial check

Round 4 (27 September 2026), the first round to see T4. Three fresh readers, each given only this file. The statement, the proof, the table and both corollaries: no break found, by all three. Each rebuilt the partitions and starts and reproduced the table. The check of T4 passes.

Points the readers raised as statement issues, applied after the round. Two of them narrow what T4 says, as the readers proposed, and are recorded as such rather than as wording:

  • The statement said "every line's weight" is the same at every tube and law. A line that adds several pairs of levels changes when they merge, so it now says "the weight of every pair of levels". This was an overclaim, found and narrowed after the round.
  • Corollary 2 said "at any partition"; it now holds for partitions whose parts each lie in one corner class (all of T1's do).
  • Wording: the statement defines level, line, type and window; 10 and 11 circles, not 9 and 12, share a row of the table; the list of departures from the table includes lines leaving the window; step 1's claim about spectrum() is marked (code), with the eigensolver's error of order ε‖J‖/gap (ε ≈ 10⁻¹⁶); Corollary 1 uses ⟨v_n, ψ⟩ = 1/√108 rather than an undefined ψ̂, and K for a corner class.
  • The narrowed statements were checked by the final pre-seal review (one reader and one adversarial verifier), not by a further round of three.