#!/usr/bin/env python3 # -*- coding: utf-8 -*- """Scope of the printed corollary (cor:kloost-large-sieve) at the corpus's parameters. Mission: the register row filed as #760/#761 says the corollary is unavailable because "K = x^{51/100} is outside the proved range M, N << c^{1/2}". Read the source: which statement carries which hypothesis, and does the statement actually used carry it? Two halves, both pure exponent arithmetic over the dual window span T: (1) SCOPE. Print the hypothesis set of each of the four statements in the chain (intro Cor 1.4 = thm:bilinear-forms-general; thm:MN-bilinear-forms-general = Thm 7.1; thm:MN-bilinear-forms-composite = Thm 7.6; cor:MN-bilinear-forms-large-d = Cor 7.9; cor:kloost-large-sieve = Cor 8.1) and test our parameters against each. (2) WINDOW. With the corollary admissible, its five terms, optimised over delta in [0,1/24], as a function of T, against the requirement the corpus must meet. Conventions (corpus): K = A_h E = 51/100 (shift range; exponents add, so A_h = 3/50 and E = 9/20), c = 19/20 (the modulus r = c), M = 14/25 (the m-range), peak window T = c - M = 39/100, corpus's own per-window bound l^1(pairs)*sup|S|*l^1(weight) = 9/10 + 19/40 + 19/20, target saving 7/400. """ from fractions import Fraction as F K = F(51, 100) # shift range A_h + E c = F(19, 20) # modulus r = c M_e = F(14, 25) # m-range peak = c - M_e # the peak window T = c/M = 39/100 req = F(7, 400) # the deficit the corpus must close corpus = F(9, 10) + F(19, 40) + F(19, 20) # l^1(pairs) + sup|S| + l^1(weight) per octave merge_half = F(51, 200) l2_coeff_half = F(39, 100) cm = F(151, 100) # c*M, the Parseval norm of the weight # ---------------------------------------------------------------- (1) scope STATEMENTS = [ ("intro Cor 1.4 / thm:bilinear-forms-general", "main.tex:62", ["M, N << c^{1/2+o(1)}"], "DILUTED: the range is assumed, not derived"), ("Thm 7.1 / thm:MN-bilinear-forms-general (i)", "main.tex:2565", ["M, N <= c"], "general range up to c"), ("Thm 7.1 / thm:MN-bilinear-forms-general (ii)", "main.tex:2578", ["|alpha_m| <= 1"], "the M,N <= c hypothesis is REMOVED for (ii) at the end of the proof (main.tex:2674-2709)"), ("Thm 7.6 / thm:MN-bilinear-forms-composite", "main.tex:2209", ["1 <= N <= M <= c", "c = dd'e, d'|d, (d,e)=1", "f^2 | cd, f <= sqrt(cd)"], "no c^{1/2} range hypothesis"), ("Cor 7.9 / cor:MN-bilinear-forms-large-d", "main.tex:2417", ["setup of Thm 7.6", "d >= c^{1/2}"], "no c^{1/2} range hypothesis"), ("Cor 8.1 / cor:kloost-large-sieve <-- the one we apply", "main.tex:2866", ["r | q", "K, M >= 1", "|lambda_k| <= 1"], "proof: 'precisely the content of eq:MN-bilinear-forms-general-2 with (M,N,c) -> (K,M,r)'"), ] # our parameters, in the corollary's letters our = {"r": c, "q": c, "K": K, "M": F(1), "lambda": "|lambda_k| <= 1 by hypothesis in the corpus"} def scope_report(): print("== (1) SCOPE: statement -> hypotheses -> does it exclude us? ==") for name, loc, hyps, note in STATEMENTS: print(" %-46s %-16s %s" % (name, loc, "; ".join(hyps))) print(" %s" % note) print() print(" our parameters in the corollary's letters: r = q = c = x^{%s}, K = A_hE = x^{%s}, M >= 1," % (c, K)) print(" |lambda_k| <= 1 (the corpus's own normalisation), r | q trivially.") print(" -> the only statement in the chain with a c^{1/2} range hypothesis is the DILUTED intro") print(" corollary, which is not the statement applied. Cor 8.1 carries no such hypothesis,") print(" and its source Thm 7.1 (ii) is proved for arbitrary M, N. The range objection fails.") # ---------------------------------------------------------------- (2) window def w2(T): """log_x of the weight's l^2 norm over a window of span T (Parseval / Abel).""" return min(cm / 2, c - T / 2) def requirement(T): return corpus - req - merge_half - l2_coeff_half - w2(T) def k_triv(T): return (K + T) / 2 + c / 2 def terms_bilinear(T, delta): """The five terms of eq:MN-bilinear-forms-general-2 with (M,N,c) -> (K,M=T,r=c), as exponents. Cor 8.1's five terms are the squares of these; the operator norm is triv(T) * max(terms). """ Mt = min(K, T) return { "c^{(11+53d)/64}/(KM)^{3/16}": c * (11 + 53 * delta) / 64 - (K + T) * F(3, 16), "c^{(1-d)/4}/M~^{1/2}": c * (1 - delta) / 4 - Mt / 2, "1/c^{3/16}": -c * F(3, 16), "c^{1/8}/M~^{1/3}": c / 8 - Mt / 3, "c^{11/24}/(KM)^{1/2}": c * F(11, 24) - (K + T) / 2, } def best_saving(T, steps=24 * 24): """min over delta in [0,1/24] of -(max term); the saving over the trivial bound.""" best = None for i in range(steps + 1): delta = F(1, 24) * i / steps t = terms_bilinear(T, delta) m = max(t.values()) if best is None or m < best[0]: best = (m, delta, max(t.items(), key=lambda kv: kv[1])[0]) return -best[0], best[1], best[2] def threshold(target=req, lo=F(1, 5), hi=F(1)): """The smallest T with best_saving(T) >= target, by bisection.""" if best_saving(lo)[0] >= target: return lo if best_saving(hi)[0] < target: return None for _ in range(60): mid = (lo + hi) / 2 if best_saving(mid)[0] >= target: hi = mid else: lo = mid return hi def main(): scope_report() print("\n== (2) WINDOW: the printed corollary against the requirement ==") print(" requirement(T) = trivial(T) - 7/400 (verify), and saving(T) = -min_delta max_i term_i") print() print(" %-8s %-10s %-10s %-10s %-10s %s" % ("T", "trivial", "requirement", "saving", "need", "verdict")) for T in [F(39, 100), F(45, 100), F(475, 1000), F(49, 100), F(1, 2), F(505, 1000), K, F(52, 100), F(3, 5), c]: s, d, name = best_saving(T) ok = s >= req print(" %-8s %-10.6f %-10.6f %-10.6f %-10.6f %s (delta=%s, %s)" % (T, float(k_triv(T)), float(requirement(T)), float(s), float(req), "OK" if ok else "SHORT", d, name)) print() ok_req = all(requirement(T) == k_triv(T) - req for T in [peak, F(1, 2), K, c]) print(" requirement(T) = trivial(T) - 7/400 holds at every T tested above the peak: %s" % ok_req) print(" and below it the trivial bound is already enough: requirement(1/4) - trivial(1/4) = %+.6f" % float(requirement(F(1, 4)) - k_triv(F(1, 4)))) tstar = threshold() t0 = threshold(F(0)) print() print(" threshold T0 (corollary starts to beat the trivial bound): T0 = %s = x^{%.6f}" % (t0, float(t0))) print(" threshold T* (saving reaches 7/400): T* = %s = x^{%.6f}" % (tstar, float(tstar))) print(" the requirement zone runs down to: peak = %s = x^{%.6f}" % (peak, float(peak))) print(" the corollary cannot beat trivial below: c^{1/2} = %s = x^{%.6f}" % (c / 2, float(c / 2))) print(" the shift range: K = %s = x^{%.6f}" % (K, float(K))) print() print(" identity: (K - c^{1/2})/2 = %s vs 7/400 = %s equal: %s" % ((K - c / 2) / 2, req, (K - c / 2) / 2 == req)) print(" identity: (peak - 0) ... the requirement zone extends x^{%.6f} below c^{1/2}" % float(c / 2 - peak)) print() print(" at the peak window, is any delta enough? best saving there = %s (need %s): %s" % (best_saving(peak)[0], req, "no delta suffices at any T < c^{1/2}" if best_saving(peak)[0] < req else "yes")) print() print("VERDICT: the printed corollary IS admissible at our parameters (the range objection was") print(" unfounded). It is exactly critical on T >= T* ~ K, and STRUCTURALLY unable to beat the") print(" trivial bound for T < c^{1/2}, where its second term c^{(1-d)/4}/M~^{1/2} exceeds 1 for") print(" every delta. The requirement zone reaches x^{%.6f} below c^{1/2}. So D does not reopen:" % float(c / 2 - peak)) print(" the deficit is a WINDOW band, not a parameter range.") return 0 if __name__ == "__main__": raise SystemExit(main())