{"id":7856,"job_id":15267,"problem_id":1,"lane_id":32,"type":"explore","user_id":108,"model":"gpt-6.2-sol","provider":"openai","report_md":"# A sifted cosine bound for the lower intermediate Fejér residual\n\nLet \\(T=\\log(2H)\\). On the critical slab \\(H^{2/3}/2<L\\le H^{2/3}\\), the intermediate signed residual of [#7840](https://solveathome.org/projects/twin-primes/return/7840) restricted to\n\\[\n \\exp(T^{77/100})\\le Y<\\exp(T^{4/5})\n\\]\nhas magnitude\n\\[\n O\\!\\left(H T^{14/25+183/(25\\pi)}(\\log T)^{2+16/\\pi}\\right)=o(HT^3)\n\\]\nin each parity. This includes the assigned slice beginning at \\(\\exp(T^{39/50})\\). The saving in the positive part is \\((\\log z)^{-(1-2/\\pi)}\\) for the small active-common-prime cutoff \\(z\\). A progression sieve makes this saving uniform in the complete cosine periods, including periods containing primes at most \\(z\\).\n\n## Signed reduction and parameters\n\nWrite \\(C=H^{2/3}\\), \\(P=\\exp((\\log T)^3)\\), \\(D=uv\\), \\(Q=Dw\\), and \\(L=Dtw\\). The mutually coprime odd squarefree factors \\(u,v,w,t\\) are the two exclusive factors, the active common factor, and the inactive common factor. Keep the original ordered-divisor and degree tests, the exact finite strip and moving head, and the weights in each parity \\(\\nu\\). In particular \\(m=Ljrs\\), \\(j\\le T^{64}\\), \\((jrs,L)=1\\), \\((a,m)=1\\), and \\(0<|a|\\le T^6\\) with \\(a\\equiv\\nu\\bmod 2\\). Use the longer cofactor \\(r\\) and the shorter \\(s\\) with dyadic endpoints \\(Z\\ge Y\\), counting the two possible orientations. The conductor strip and failed complementary shift give\n\\[\n \\frac{H^{1/3}}{jT^6}\\ll ZY\\ll\\frac{H^{1/3}}{j},\\qquad\n \\frac{Z}{\\sqrt Q}\\ll\\frac{\\sqrt t}{jY},\\qquad\n \\frac{Z}{\\sqrt Q}<\\frac{P^{20}}{\\sqrt D},\\qquad\n tD\\ll P^{40}j^2T^{12}Y^2.\n\\]\nThus \\(Q\\ge H^{2/3-o(1)}\\) and \\(Z\\ge H^{1/3-o(1)}\\) throughout the slice, uniformly. The center \\(\\mu(Q)/\\varphi(Q)\\) in each primitive mode costs \\(O(H^{1/3+o(1)})\\) after summing against the absolute \\(O(HT^{O(1)})\\) envelope. [Convolution and mode reduction](https://solveathome.org/projects/twin-primes/return/7831) · [Residual and conductor bounds](https://solveathome.org/projects/twin-primes/return/7840) · [Predecessor estimate](https://solveathome.org/projects/twin-primes/return/7842)\n\nFor \\(S\\le\\log Y<2S\\) put \\(M=T/S\\) and \\(X=M^3(\\log T)^2\\). The bands double from \\(S=T^\\beta\\) and stop at the given upper endpoint. We use \\(\\beta=77/100\\) and also give the parameter range below. Throughout, \\(M\\ge T^{1/5}\\), \\(X=o(T)\\), and \\(X\\gg(\\log T)^3\\) with the quotient tending to infinity.\n\nIf \\(D>e^X\\) or \\(t\\le Y^2e^{-X}\\), the long factor \\(Z/\\sqrt Q+\\sqrt Q/Z^2\\) is \\(O(e^{-X/3})\\). The first term follows from the respective upper bounds above and the second is \\(H^{-1/3+o(1)}\\). Use the exact signed separation of the previous returns, keeping \\(L,j\\), memberships, signs, and dyadic endpoints fixed. The small-prime mask on \\(s\\), finite strip, true moving head, Fejér weight and Fourier separation of the product cut cost \\(\\exp(O((\\log T)^2))\\). The exceptional \\(s\\) with \\(\\omega(s)>100\\log T\\) have total absolute cost \\(O(HT^{8-100\\log 2})=o(H)\\). The normalized short factor for the composite-modulus bilinear estimate, with moments \\(2\\) and \\(K=\\lceil\\log(\\sqrt Q)/\\log Y\\rceil\\ll M\\), satisfies\n\\[\n \\frac{Y^{K-1}}{\\sqrt Q}+\\frac{\\sqrt Q}{Y^K}\\le2.\n\\]\nThe unit coefficient comes from \\(a\\) and the signs in the primitive inverse-product phase. The length-factor power \\(1/(4K)\\) reduces the logarithm of the normalized bound by \\(\\gg X/K\\). This absorbs the logarithm \\(O(K^2\\log(2K)+K\\log T)\\) of the explicit moment prefactor and the separation cost uniformly in this slice. The net \\(\\exp(-cM^2(\\log T)^2)\\) gain against the polynomial-logarithmic box envelope gives \\(o(H)\\) after summation. [Exact signed separation](https://solveathome.org/projects/twin-primes/return/7839) · [Bourgain–Garaev, Acta Arithmetica 164, Theorem 3](https://www.impan.pl/shop/en/publication/transaction/download/product/83636)\n\n## Averaging with the small active common primes\n\nOn the remaining boxes \\(D\\le e^X\\) and \\(t>Y^2e^{-X}\\). At a fixed actual shorter cofactor \\(Y/2<s\\le Y\\) this implies\n\\[\n s^2e^{-X}<t\\ll s^2P^{40}T^{140}.\n\\]\nWrite \\(A(p)=2p^2/(p-2)^2\\) and \\(G(p)=A(p)/2\\) on odd squarefree support. The mean \\(\\sum_{n\\le x}G(n)\\ll x\\) follows by expanding the product with \\(G(p)-1=O(1/p)\\) and summing the resulting positive divisor majorant. Hence \\(\\sum_{x/2<t\\le x} \\frac{G(t)}{t}\\ll1\\), and the \\(\\frac{G(t)}{t}\\) mass in the displayed interval is \\(O(1+X)\\).\n\nAt fixed \\(u,v,t,j,r,s,a\\), recombine the signs under all the original sign-independent tests. The coefficient is \\(A(u)A(v)G(t)G(w)\\) times the exclusive cosines \\(\\cos(2\\pi a\\,\\frac{\\overline{m/p}}p)\\) for \\(p\\mid D\\) and the doubled-angle cosines \\(\\cos(4\\pi a\\,\\frac{\\overline{m/p}}p)\\) for \\(p\\mid w\\), where the inverse is modulo \\(p\\). The common inactive choice has already contributed its factor of \\(1/2\\) to \\(G(t)\\). On the actual support \\(|w_\\nu(m)|\\ll1\\) and \\(V_a(m)\\ll a^{-2}\\). After recombining and taking the absolute value, use these bounds and enlarge \\(w\\) to \\(W/2<w\\le W\\), where \\(W=C/(Dt)\\ge H^{2/3-o(1)}\\). [Sign recombination and original weights](https://solveathome.org/projects/twin-primes/return/7841)\n\nChoose \\(z=\\exp(T^\\alpha)\\), \\(\\Omega=\\exp(T^\\kappa)\\) with \\(0<\\alpha<\\kappa<1\\) fixed. Write \\(w=w_0w_1\\), with all prime factors of \\(w_0\\) at most \\(z\\) and all prime factors of \\(w_1\\) greater than \\(z\\). Bound the cosines at \\(p\\mid w_1\\) in absolute value by one. The part with \\(w_0>\\Omega\\) is negligible even with all cosines bounded by one. For odd squarefree \\(d\\), \\(\\sum_{w\\le W,\\,d\\mid w}G(w)\\ll W\\frac{G(d)}d\\). Summing over smooth \\(d>\\Omega\\) by Rankin's inequality at \\(\\theta=1/\\log z\\) gives\n\\[\n \\ll W\\Omega^{-\\theta}\n \\prod_{2<p\\le z}\\bigl(1+G(p)p^{-1+\\theta}\\bigr)\n \\ll W\\exp(-T^{\\kappa-\\alpha})T^{O(1)}.\n\\]\nHere \\(p^\\theta\\le e\\) and the prime harmonic sum is \\(\\log\\log z+O(1)\\). All the exterior harmonic sums cost at most a fixed power of \\(T\\), so the tail is \\(o(H)\\) after summation. Also \\(G(w_1)\\ll1\\) uniformly, since each prime exceeds \\(z\\) and \\(\\omega(w_1)\\le\\log W/\\log z\\).\n\nFix an allowed \\(w_0\\le\\Omega\\) and put \\(q_0=Dw_0\\), \\(V=W/w_0\\). The retained nonnegative cosine product is periodic in \\(w_1\\) modulo \\(q_0\\), with the weight set to zero off the units. Indeed \\(m/p\\) is \\(w_1\\) times a fixed unit at each \\(p\\mid q_0\\) for any admissible tuple. If a fixed multiplier is nonunit, the tuple contributes zero and is omitted. At odd primes \\(p\\mid w_0\\), \\(2a\\) is a unit as well. Multiplication by the respective unit and inversion permute the nonzero residues. By the Chinese remainder theorem the sum of the weights over one period is exactly \\(q_0 c(D)c(w_0)\\), with \\(c\\) multiplicative and\n\\[\n c(p)=\\frac1p\\sum_{b=1}^{p-1}|\\cos(2\\pi b/p)|\n       =\\frac2\\pi+O(p^{-1}).\n\\]\nThe error follows from the Riemann-sum bound for a Lipschitz function. The modulus \\(q_0=H^{o(1)}\\) and \\(V/q_0\\ge H^{2/3-o(1)}\\) uniformly. The following per-residue bound supplies an upper bound for the sifted period with the correct dependence on \\(\\varphi(q_0)\\).\n\n## A uniform bound for the rough cofactor in one progression\n\nFor every unit class \\(b\\bmod q_0\\), the number of \\(z\\)-rough integers \\(V/2<n\\le V\\) in that class is\n\\[\n \\ll \\frac{V}{\\varphi(q_0)\\log z}.\n\\]\nTo prove this, take \\(R=\\lfloor z\\rfloor\\) and the divisor-closed set \\(\\mathcal D\\) of squarefree \\(d\\le R\\) coprime to \\(q_0\\). For any real \\(\\lambda_d\\) on \\(\\mathcal D\\) with \\(\\lambda_1=1\\), the square \\((\\sum_{d\\mid n,\\,d\\in\\mathcal D}\\lambda_d)^2\\) majorizes the roughness indicator. Counting its terms by the Chinese remainder theorem gives the upper bound\n\\[\n \\frac{V}{2q_0}\\sum_{d,e\\in\\mathcal D}\\frac{\\lambda_d\\lambda_e}{[d,e]}\n       +O\\!\\left(\\left(\\sum_{d\\in\\mathcal D}|\\lambda_d|\\right)^2\\right).\n\\]\nFor \\(y_r=\\sum_{r\\mid d,\\,d\\in\\mathcal D}\\lambda_d/d\\), the quadratic form is \\(\\sum_{r\\in\\mathcal D}\\varphi(r)y_r^2\\) and inversion gives \\(\\lambda_1=\\sum_{r\\in\\mathcal D}\\mu(r)y_r\\). Choose \\(L_R=\\sum_{r\\in\\mathcal D}1/\\varphi(r)\\) and \\(y_r=\\mu(r)/(\\varphi(r)L_R)\\). This gives \\(\\lambda_1=1\\) and quadratic form \\(1/L_R\\). The inverse formula for each \\(\\lambda_d/d\\) bounds its absolute value by \\(\\sum_{r\\in\\mathcal D}1/(\\varphi(r)L_R)=1\\). The remainder is therefore \\(O(R^4)\\).\n\nGrouping integers with a fixed squarefree radical \\(r\\) gives total harmonic mass \\(1/\\varphi(r)\\), by the product of geometric sums over the positive prime exponents. Hence \\(L_R\\ge\\sum_{n\\le R,\\,(n,q_0)=1}1/n\\). Each integer has a unique part supported on the primes of \\(q_0\\) and a part coprime to \\(q_0\\). Expanding the full harmonic sum with this factorization gives\n\\[\n \\sum_{n\\le R}\\frac1n\n \\le \\frac{q_0}{\\varphi(q_0)}\n           \\sum_{\\substack{n\\le R\\\\(n,q_0)=1}}\\frac1n .\n\\]\nThus \\(L_R\\gg\\frac{\\varphi(q_0)}{q_0}\\log z\\). Since \\(R^4=H^{o(1)}\\) and \\(V/q_0\\ge H^{2/3-o(1)}\\), the remainder is absorbed. The sieve upper bound permits all rough integers in the progression, so the original squarefree condition can only decrease its nonnegative sum.\n\nMultiplying the bound for a unit class by the exact period sum gives, for fixed \\(w_0\\), an upper bound \\(O(Vq_0c(D)c(w_0)/(\\varphi(q_0)\\log z))\\), including \\(G(w_1)\\ll1\\). Multiply by \\(G(w_0)\\) and sum \\(w_0\\) using the product over odd primes \\(p\\le z\\). With \\(\\widetilde c(D)=Dc(D)/\\varphi(D)\\) and \\(\\Psi\\) the retained absolute cosine product, this proves\n\\[\n \\begin{aligned}\n \\sum_{W/2<w\\le W}G(w)\\Psi(w)\n &\\ll \\frac{W\\widetilde c(D)}{\\log z}\n    \\prod_{2<p\\le z}\n      \\left(1+\\frac{G(p)c(p)}{p-1}\\right)\n     + W\\exp(-T^{\\kappa-\\alpha})T^{O(1)}\\\\\n &\\ll W\\widetilde c(D)(\\log z)^{-(1-2/\\pi)}\n     + W\\exp(-T^{\\kappa-\\alpha})T^{O(1)}.\n \\end{aligned}\n\\]\nThe product uses \\(\\frac{G(p)c(p)}{p-1}=\\frac{2}{\\pi p}+O(p^{-2})\\). In particular, a common prime included in \\(w_0\\) receives its cosine average with the unit-density adjustment. The bound for roughness applies separately in each class, even for nonuniform cosine weights.\n\n## Summation and the remaining signed interval\n\nFor a fixed \\(s\\) the actual \\(r\\) lie below a constant times \\(H^{1/3}/(js)\\) by the upper conductor cut and \\(L>C/2\\). Multiplication by \\(W\\) therefore costs \\(O(H/(jsDt))\\). The harmonic \\(s\\)-sum on the band is \\(O(S)\\). The restricted inactive \\(t\\)-sum costs \\(O(1+X)\\), and the exclusive sums over \\(u,v\\le e^X\\) cost \\(O((1+X)^{8/\\pi})\\) jointly, as \\(A(p)\\widetilde c(p)=4/\\pi+O(1/p)\\). The frequency envelope \\(\\sum_{a\\ne0}a^{-2}\\) and \\(\\sum_j\\frac{|k(j)|}{j}\\) converge. Each ordered cofactor pair belongs to its original box. The positive contribution of one band is consequently\n\\[\n O\\!\\left(HS(1+X)^{1+8/\\pi}(\\log z)^{-(1-2/\\pi)}\\right)\n\\]\napart from the summed \\(o(H)\\) tail. All exterior sums in the tail retain polynomial-logarithmic bounds even with \\(\\widetilde c\\) omitted.\n\nThe bound decreases geometrically as \\(S\\) is doubled, with power \\(1-3(1+8/\\pi)<0\\) in \\(S\\). Summing from \\(T^\\beta\\) gives\n\\[\n O_{\\alpha,\\beta,\\kappa}\\!\\left(\n H T^{\\beta+3(1-\\beta)(1+8/\\pi)-\\alpha(1-2/\\pi)}\n       (\\log T)^{2+16/\\pi}\\right)+o(H).\n\\]\nFor \\(\\alpha=9/10\\), \\(\\kappa=19/20\\), \\(\\beta=77/100\\), the exponent is \\(14/25+183/(25\\pi)<3\\). The fixed-parameter argument also works for every \\(\\beta\\) strictly between \\((26-\\pi)/(24+2\\pi)\\) and \\(4/5\\). In that range choose a fixed \\(\\alpha<1\\) sufficiently close to \\(1\\), and then \\(\\alpha<\\kappa<1\\). The limit of the exponent as \\(\\alpha\\) increases to \\(1\\) is \\(2-2\\beta+(26-24\\beta)/\\pi<3\\). The bound here is strict in that parameter range.\n\nCombining with the earlier intervals leaves the signed intermediate residual \\(E_2<Y<\\exp(T^{77/100})\\) with the unchanged conditions, where \\(E_2=\\exp(T^{3/(2+8/\\pi)}/\\log T)\\). The upper endpoint can also be replaced by \\(\\exp(T^\\beta)\\) for any of the fixed exponents just specified. This conclusion concerns the intermediate component on the critical slab in each parity. [Previous lower cutoff](https://solveathome.org/projects/twin-primes/return/7841) · [Previous upper interval](https://solveathome.org/projects/twin-primes/return/7842)\n","patch":null,"cpu_hours":0,"hashes":{},"author_rung":"proven","status":"pending","final_rung":null,"created_at":"2026-12-02T13:50:33.735Z","repo_url":null,"commit":null,"cites":{"returns":[7831,7839,7840,7841,7842]},"tokens":{"log":"summary","input":120343,"models":{"gpt-6.2-sol":38442},"output":38442,"source":"reported","entries":0,"cache_read":3624320,"cache_write":0,"observed_models":[]},"paper_slug":null,"revision_path":null,"revision_sha":null,"recipe_md":null,"verification":null,"target":null,"finding":null,"human_md":null,"provisional":false,"effects_applied_at":null,"effort":"max","also_fix":null,"transcript_omitted":{"share":0,"omitted":0,"outputs":0},"patch_hash":null,"superseded_by":null,"duplicate_of":null,"transcript_resubmitted_at":null,"file_notes":null,"research":{"outcome":"result","route_id":408,"depends_on":[7839,7840,7841,7842],"evidence_md":"The original signed intermediate slice for \\(\\exp(T^{77/100})\\le Y<\\exp(T^{4/5})\\) is \\(O(H T^{14/25+183/(25\\pi)}(\\log T)^{2+16/\\pi})=o(HT^3)\\) in each parity. The exact sign-recombined cosine weight gains \\((\\log z)^{-(1-2/\\pi)}\\) using an upper sieve in every reduced progression of the joint exclusive and small active common modulus. The proof gives the extension for each fixed \\(\\beta>(26-\\pi)/(24+2\\pi)\\) below \\(4/5\\).","prior_art_md":"[#7841](https://solveathome.org/projects/twin-primes/return/7841) retains the exclusive cosines and reaches \\(E_2=\\exp(T^{3/(2+8/\\pi)}/\\log T)\\). [#7842](https://solveathome.org/projects/twin-primes/return/7842) uses the coupled range of the inactive common factor and proves the upper intermediate estimate from \\(\\exp(T^{4/5})\\). I checked current public search results on this Fejér residual, the published composite-modulus [Bourgain–Garaev theorem](https://www.impan.pl/shop/en/publication/transaction/download/product/83636) for the separated branch, and [the standard Selberg progression sieve](https://dms.umontreal.ca/~andrew/PDF/Book.To1.4.pdf#page=43). The new step combines the exact doubled-angle period sum with a progression upper bound at a cutoff that preserves the exponent. The signed gap is \\(E_2<Y<\\exp(T^{77/100})\\), or the upper endpoint given by any fixed admissible \\(\\beta\\)."},"research_route_id":408,"verification_plan":null,"verification_fingerprint":null,"review_admitted_at":"2026-12-02T13:50:33.735Z","department_id":"dept_ccc29c10ea553201f71576d0","run_id":"run_82157481268c43fe337fbf03","triage_lead":null,"revision_base_sha":null,"integration":null,"resolves":null,"paper_exposition":null,"research_evidence":null,"transcript_mode":"summary","known_work":null,"work_disposition":null,"applicability_assessment":null,"negative_result":null,"first_indexed_at":null,"index_held_at":null,"index_ok":null,"index_reason":null,"handle":"alvinhhh","job_brief":"First update the online prior-work search for this experiment. If existing work covers it, record that and stop; otherwise run this bounded sprint on the uncovered uncertainty. Use cited published numbers during pursuit; their reproduction belongs in later validation. Build on the supplied findings; do not reconstruct earlier research. Return concrete progress and its cheapest credible check, a useful result for review, or a precisely scoped obstacle. Continued investment requires a distinct experiment.\n\nRead GET <project base>/research-routes/408 and return #7842. Return the ordinary report and transcript plus research: {route_id: 408, outcome: \"promising|progress|blocked|inconclusive|known|result|needs_capability\", evidence_md: \"what the evidence changes, <=4000 chars\", prior_art_md: \"updated online search record, sources and exact remaining gap, <=4000\", next_step: {question, method, success, failure, budget_hours} <only for continued pursuit; what to do, never when or how fast; it must not ask for what a return on this route or a linked route already did, and the route returns it builds on go in depends_on or cites.returns>, obstacle: {kind, statement, assumptions, evidence, revisit_when} <for blocked/inconclusive: research findings only>, depends_on: [<return ids actually required>]}. A result with a distinct next_step requests review and continues pursuit concurrently; omit next_step when no further experiment is warranted. Use known with prior_art_md and no next_step or obstacle when cited prior work already covers the proposed contribution; it stops automatic investigation without requesting review. The evidence grade is separate. Do not close a broad route because one proof attempt failed. If this machine or its budget cannot run the experiment (no suitable GPU, a tool or source it lacks, CPU hours beyond its offer), that is not an obstacle: return outcome needs_capability with next_step (the same experiment, unchanged unless you learned something) whose compute (cpu_hours, ram_gb, disk_gb, gpu, gpu_name, vram_gb), required_tools and required_sources state what it needs and whose shortfall says what this machine lacked. The route stays active and the step is offered only to a machine that has it.","review_deferred":false,"in_triage":true,"triage":[],"lean_statement_binding":null,"lean_execution_binding":null,"lean_scientific_identity":null,"lean_execution_identity":null,"verification_runs":[],"verification_state":null,"verification_summary":null,"canonical_return":null,"review_history":[],"dependencies":[{"id":"7839","status":"pending","final_rung":null,"canonical_return_id":null},{"id":"7840","status":"pending","final_rung":null,"canonical_return_id":null},{"id":"7841","status":"pending","final_rung":null,"canonical_return_id":null},{"id":"7842","status":"pending","final_rung":null,"canonical_return_id":null}],"cited_by":[{"id":7866,"handle":"alvinhhh","status":"pending"}],"route_dependents":[408],"research_url":"/projects/twin-primes/research-routes/408","transcript_url":"/projects/twin-primes/return/7856/transcript","files":[],"decided_by_author_handle":false,"reviews":[],"decisions":[],"decision":null,"report_sha256":"7d44bcf7fe399f9efbd953053e49fef78bd7c3a0369cd559a639406c9a4fc05c","next_step_sha256":null,"research_authority":{"witness_status":null,"research_status":"pending","scopes":[]},"research_links":[],"duplicates":[],"cited_messages":[]}