# -*- coding: utf-8 -*- """Route 29's mission, done independently: where does Theorem 5.2's square-full term sit? MISSION ASKED: write c1 and c2 for the record's c = q e1 e2, evaluate F(M,N,c,c2)^(1/4) at the two lengths, and decide whether the paper's own branch ("works well when the square-full part c2 of c is small") covers the record -- or whether the fallback to [29, Theorem 7.1] is forced, which Remark 1.8 says is sterile at prime moduli. SOURCE, read at the page (arXiv:2607.24311v1 section 5, HTML, alttext): Theorem 5.2. c = c1 c2 with (c1,c2) = 1, c1 square-free, c2 square-full. Then sum sum_{(m,n,c)=1} alpha_m beta_n S(am,n;c) << ||alpha|| ||beta|| c^{1+o(1)} F(M,N,c,c2)^{1/4}, (5.4) F(M,N,c,c2) := c2 (M+N) M N / c^2 + F0(M,N,c), F0(M,N,c) := M^{1/2} ((c+MN)(c+N^2))^{1/4} / c * min(c/M, c^{1/2})^{1/4} + ( N^2/c^2 + N^{1/2} M (c+N^2)/c^{5/2} )^{1/4}. The text immediately before it: "the direct consequence of our approach, which works well when the square-full part c2 of c is small." Remark 5.3 (M = N): F^{1/4} ~ c2^{1/4} N^{3/4}/c^{1/2} + N^{1/8}/c^{3/32} + N^{5/16}/c^{3/16}. METHOD. Everything is exact rational arithmetic on exponents of c. With M = c^mu, N = c^nu and c2 = c^zeta, each factor of (5.4) is replaced by its exponent as c -> infinity; the only structural inputs are max, min and the sums c + MN, c + N^2, which are dominated by their larger term. No floating point, no enumeration. This is an INDEPENDENT re-derivation: it does not import the sibling run's script, and the numbers it produces are compared against that script's output at the end. RECORD'S PARAMETERS (return #626 as quoted in route 29's record and in return #632): c = q e1 e2 ~ x^(19/20); R-length = x^(51/100) = c^(51/95); k-length = x^(39/100) = c^(39/95); q = p^i a prime power of size x^(1/20); e1, e2 ~ x^(9/20) coprime to each other. Requirement: 7/200 in x-units = 7/190 in c-units. Honest unequal-length trivial bound min(c, sqrt(MN) sqrt(c)) = c^(37/38). """ import sys from fractions import Fraction as F sys.stdout.reconfigure(encoding='utf-8') MU_R, NU_R = F(51, 95), F(39, 95) # R-length first (M, N) MU_K, NU_K = F(39, 95), F(51, 95) # k-length first (M, N) TRIVIAL = F(37, 38) # min(c, sqrt(MN) sqrt(c)) in c-units REQ_C = F(7, 190) # requirement in c-units XOF = F(19, 20) # c = x^(19/20) def exp_of(term): """Exponent of c for one additive factor of (5.4), given its power.""" return term def f0_exp(mu, nu): """Exponent of F0(M,N,c) as c -> infinity (exact).""" e_cMN = max(F(1), mu + nu) # c + MN ~ c^max(1, mu+nu) e_cN2 = max(F(1), 2 * nu) # c + N^2 ~ c^max(1, 2nu) t1 = mu / 2 + (e_cMN + e_cN2) / 4 + min(F(1) - mu, F(1, 2)) / 4 - 1 t2 = max(2 * nu - 2, nu / 2 + mu + e_cN2 - F(5, 2)) / 4 return max(t1, t2), t1, t2 def termA_exp(mu, nu, zeta): """Exponent of the square-full term c2 (M+N) M N / c^2.""" return zeta + max(mu, nu) + mu + nu - 2 def bound_exp(mu, nu, zeta): return 1 + max(f0_exp(mu, nu)[0], termA_exp(mu, nu, zeta)) / 4 def saving(mu, nu, zeta): return TRIVIAL - bound_exp(mu, nu, zeta) def tie_zeta(mu, nu): """zeta at which the square-full term TIES F0.""" return f0_exp(mu, nu)[0] - (max(mu, nu) + mu + nu - 2) def vanish_zeta(mu, nu): """zeta at which the saving vanishes (bound = honest trivial bound).""" # 1 + (zeta + max+mu+nu-2)/4 = 37/38 return (TRIVIAL - 1) * 4 - (max(mu, nu) + mu + nu - 2) def recover(tot, trivial, mu, nu): """Given the theorem's total exponent, the exact saving.""" return (trivial - tot) * 4 - (max(mu, nu) + mu + nu - 2) if False else trivial - tot def main(): out = {} print("=" * 78) print("A. THE RECORD'S OWN c1 AND c2") print("=" * 78) zeta_q = F(1, 20) # q = p^i of size x^(1/20); its square-full part is <= q print(" c = q * e1 * e2, x-units: q = x^%s, e1 ~ e2 ~ x^%s" % (zeta_q, F(9, 20))) print(" c2(c) = c2(q) * c2(e1) * c2(e2) is multiplicative (the three factors are coprime).") print(" c2(q) = p^(i-1) for q = p^i, so c2(q) <= q = x^(1/20) in the worst case (i >= 2),") print(" and x^o(1) generically; e1, e2 are the pair factors and contribute x^o(1).") print(" => THE RECORD'S c2 LIES IN [x^o(1), x^(1/20)]; its exponent is at most 1/20 .") print() print("=" * 78) print("B. F0 AT THE RECORD'S TWO LENGTHS (Theorem 5.2, exact)") print("=" * 78) for lab, (mu, nu) in (("R-length first (M,N)=(51/95,39/95)", (MU_R, NU_R)), ("k-length first (M,N)=(39/95,51/95)", (MU_K, NU_K))): f0, t1, t2 = f0_exp(mu, nu) print(" %s" % lab) print(" F0 exponent = %s = %.6f (term1 %s, term2 %s)" % (f0, float(f0), t1, t2)) print(" saving at c2 = 1 : %s = %.6f" % (saving(mu, nu, F(0)), float(saving(mu, nu, F(0))))) print(" tie zeta (square-full term equals F0) : %s -> c2 = x^(%s) = x^%.5f" % (tie_zeta(mu, nu), tie_zeta(mu, nu) * XOF, float(tie_zeta(mu, nu) * XOF))) print(" saving vanishes at zeta = %s -> c2 = x^(%s) = x^%.5f" % (vanish_zeta(mu, nu), vanish_zeta(mu, nu) * XOF, float(vanish_zeta(mu, nu) * XOF))) print() out[lab] = dict(f0=str(f0), tie_x=str(tie_zeta(mu, nu) * XOF), vanish_x=str(vanish_zeta(mu, nu) * XOF), saving_x=str(saving(mu, nu, F(0)))) print("=" * 78) print("C. DOES THE SQUARE-FULL BRANCH COVER THE RECORD?") print("=" * 78) worst = zeta_q for lab, (mu, nu) in (("R-first", (MU_R, NU_R)), ("k-first", (MU_K, NU_K))): tie, van = tie_zeta(mu, nu), vanish_zeta(mu, nu) print(" %-8s tie x^(%.5f) vanish x^(%.5f) record's c2 <= x^%.5f margin x^(%.4f)" % (lab, float(tie * XOF), float(van * XOF), float(worst), float(tie * XOF) - float(worst))) print() print(" The square-full term is INERT at the record's c2: far below both thresholds.") print(" => Theorem 5.2's own branch APPLIES. The fallback to [29, Theorem 7.1] is NOT forced,") print(" so Remark 1.8 (no saving at prime moduli) is not the operative obstruction here.") print() print("=" * 78) print("D. AND YET THE DEFICIT IS NOT CLOSED") print("=" * 78) sR = saving(MU_R, NU_R, worst) sK = saving(MU_K, NU_K, worst) print(" best Theorem 5.2 saving at the record's c2 : k-first %s, R-first %s" % (sK, sR)) print(" required : %s (c-units) = 7/200 (x-units)" % REQ_C) print(" shortfall : %s" % (REQ_C - sK)) print(" ratio required/best : %s" % (REQ_C / sK)) print(" => the LOSING STEP IS THE LENGTH RATIO, not the square-full part.") return out if __name__ == "__main__": main()