diff 2bdbbf5..b1f9bc4 ultraflat_littlewood_v2.txt
diff --git a/ultraflat_littlewood_v2.txt b/ultraflat_littlewood_v2.txt
index bba8722..fe72078 100644
--- a/ultraflat_littlewood_v2.txt
+++ b/ultraflat_littlewood_v2.txt
@@ -58,115 +58,6 @@ lies within that tolerance (relative to sqrt(N)) of being perfectly
constant. The signs are chosen separately at each length.
-==============================================================================
-2. WHY sqrt(N) IS THE RIGHT SCALE
-==============================================================================
-
-The key fact is that the average of |P|^2 over the circle is exactly N,
-no matter what the signs are. This is orthogonality of the functions
-e(k t) = exp(2 pi i k t):
-
- int_0^1 e(j t) conj(e(k t)) dt = 1 if j = k, else 0.
-
-Hence, writing P(e(t)) = sum_k eps_k e(k t) and expanding |P|^2 =
-
- |P|^2 = sum_{j,k} eps_j eps_k e((j-k) t),
-
-and integrating term by term, only j = k survives:
-
- int_0^1 |P(e(t))|^2 dt = sum_k eps_k^2 = sum_k 1 = N.
-
-So the MEAN of |P|^2 is exactly N. This is what people call Parseval's
-identity in this setting.
-
-Two consequences:
-
- * The mean of |P| is at most sqrt(mean of |P|^2) = sqrt(N) (concavity
- of the square root, or Jensen's inequality). So the modulus spends
- most of its time at or below sqrt(N).
- * The maximum of |P| is at least sqrt(N). Otherwise |P|^2 would be
- strictly below N everywhere and its mean could not be N.
-
-If |P| happened to be constant in modulus, the constant would be
-sqrt(N) and the polynomial would be perfectly flat. "Flat" means the
-modulus is close to sqrt(N) everywhere, i.e. min and max both close to
-sqrt(N). "Ultraflat" means this closeness improves without bound as
-N grows.
-
-The budget (average N) is fixed; the whole problem is to spread it
-evenly, and pure signs make that hard because they come in discrete
-steps.
-
-
-==============================================================================
-3. WHAT WAS KNOWN BEFORE, AND WHY THE REAL CASE IS HARD
-==============================================================================
-
-Some landmarks.
-
- * Trivial upper bound: |P(z)| <= N by the triangle inequality.
- * Rudin-Shapiro (1959): at special lengths (powers of 2) one can make
- |P| <= sqrt(2N) everywhere. This gives a constant factor 2 above
- the optimum, but only at those lengths and not with the constant
- tending to 1.
- * Balister, Bollobas, Morris, Sahasrabudhe, Tiba (Annals 2020):
- at every degree >= 2 there are signs with BOTH extrema within fixed
- constant factors of sqrt(N). That is, c sqrt(N) <= |P| <= C sqrt(N)
- with absolute constants c, C > 0. This controls the scale but does
- not force c, C -> 1.
- * Kahane (1980): if coefficients are allowed to be ANY complex
- numbers of modulus one (not just +-1), then ultraflat polynomials
- exist. Bombieri and Bourgain (2009) made the construction
- quantitative.
-
-So ultraflatness was known for complex unit coefficients, not for +-1.
-The real case must pass through a discrepancy step: rounding a
-near-unimodular coefficient to a sign shifts the whole polynomial, and
-section 8 keeps that shift uniformly small.
-
-There are also genuine obstructions, which is why the quantifiers in the
-theorem matter:
-
- * Erdelyi (2026) shows that the partial sums of one fixed unimodular
- power series cannot be ultraflat, which is why the signs here are
- chosen afresh at each length. His other bound, max |P|^2 >= N +
- (N-1)^(1/3)/38, is compatible with max = (1+o(1)) sqrt(N).
-
-What is new: [OpenAIMinimal] had max near sqrt(N) but min only of order
-sqrt(N)/16, and [OpenAILowerEnvelope2026] fixed the min at a positive
-constant; here both bounds become 1 + o(1).
-
-
-==============================================================================
-4. THE PLAN
-==============================================================================
-
-Three steps.
-
- (A) Build a continuous B on the circle with 1 <= |B| <= 1 + small whose
- Fourier coefficients are real, of size about 1/sqrt(N) for
- 0 <= k < N, and summable to o(1) outside that range.
- (B) Rescale those N coefficients to numbers Y_k in [-1,1]. Near
- constancy of |B| forces the mean of Y_k^2 to be close to 1, and
- since |Y_k| >= Y_k^2 it forces the defect mu = (1/2) sum
- (1 - |Y_k|) to be small.
- (C) Round Y_k to real signs eps_k with a sup-norm error of at most
- C sqrt((mu/N) log(80 N/mu)). Small defect means small error, so
- the rounded polynomial is still uniformly close to modulus 1.
-
-Step (B) and (C) are section 8; step (A) is sections 6 and 7.
-
-The one trap in (A). To control the coefficient of B at frequency k you
-lay down a short wave (amplitude) * e(N * phase). By stationary phase
-such a wave contributes (amplitude)/sqrt(N) times a unit number, and
-only at points where its local phase derivative equals k/N. Between
-waves, and at wave endpoints, integration by parts leaves boundary
-terms. The fix is to join the waves across the gaps while matching BOTH
-their values and their leading phase derivatives: matching values keeps
-B continuous and near modulus 1, matching derivatives cancels the
-boundary terms, and the exterior coefficients become summable.
-
-
==============================================================================
5. TOOLS
==============================================================================
@@ -814,37 +705,5 @@ here. The parameters are chosen in this order.
==============================================================================
-10. WHAT IS NOT CLAIMED, AND WHAT STAYS OPEN
-==============================================================================
-
-(a) No rate. N_0(delta) is never computed: "sufficiently large" hides
- in T (Lemma 6.1), the o(1) of Lemma 5.2b, "N large" in section 8,
- and H (Lemma 7.1). The open question is quantitative: what is the
- best f with max_t | |P(e(t))|^2 - N | <= f(N) for suitable signs at
- every N? Erdelyi's bound max |P|^2 >= N + (N-1)^(1/3)/38 shows f
- cannot be zero, and this theorem only shows f(N) = o(N) works.
-
-(b) delta cannot shrink with N: delta is frozen first and N_0(delta)
- follows, so there is no single sequence with a quantified speed of
- flatness, only a threshold for each tolerance.
-
-(c) The signs must be chosen afresh at each length: Erdelyi (2026)
- shows the partial sums of one fixed unimodular series are not
- ultraflat, so quantifier (iii) of section 1 is sharp.
-(d) Two inputs are imported rather than reproved: Lemmas 5.3 and 7.1,
- both from [OpenAILowerEnvelope2026]. New here: the equal-modulus
- spreading of Lemma 6.1, Proposition 6.2's two-sided coefficient
- comparison, the endpoint-curvature waves and join matching of
- Proposition 7.2, and Lemma 5.4, which rounds complex phases.
-
-(e) Nothing is said about which signs work, how many choices there are,
- or about other norms (L^1, L^4, Mahler measure): only the sup norm
- on the circle is controlled. The complex analogue is classical and
- quantitative (Kahane 1980; Bombieri-Bourgain 2009); the real case
- needs the extra rounding step of 5.4 and 8.
-
-
-==============================================================================
-END OF ACCOUNT
==============================================================================