Attack log — Brocard–Ramanujan modular hunt
2026-08-16
- Environment created. Overnight quest. written: modular / covering hunt, re-run a published sieve slice, one Lean lemma. No attack yet. Do not claim the conjecture.
2026-08-16 — q1
- Lean:
FactorialMod151.lean(p=151 interval lemma). Memory: commit 199ebaf. - Scripts:
modular_hunt.py,sieve_kernel.c,verify_q1.py,plot_obstructions.py.
2026-08-16 — q2
FactorialPrimePower.leanbuilds (memory). Scripts:unitary_factorization.py,verify_q2.py.
2026-08-23 — q3: certificate shapes before search
The target certificate is a short list of parameterized congruence families, not another interval scan. Each row must contain the offset or multiplier, the prime congruence class, the exact residue identity, and an independently recomputed Legendre symbol. Six shapes were considered before writing the search.
- Wilson offset. Put , with fixed and prime. Wilson's theorem gives A row is fatal when is a quadratic nonresidue modulo every prime in a stated reduced residue class. Dirichlet's theorem then makes each such prime class an infinite family of excluded indices . The smallest hoped-for certificate is , where the target is 2 and its character is controlled modulo 8.
- Offset-window cover. Generate Wilson-offset rows for several small values of , then solve a set-cover problem on the observed indices for which some is prime. This can make a useful finite diagnostic, but it is not an arithmetic-progression theorem unless every claimed row has its own proof of infinitude.
- Central factorial. For prime, Wilson gives . Substituting leaves a quartic condition on . A certificate would be a prime residue class on which that quartic has no root; merely observing many failures is not enough.
- Prime-square lift. When a Wilson-offset target is zero modulo , a square would force divisibility modulo . The certificate would give for a parameterized prime family. This is stronger than a Legendre-symbol row but appears to require control of a Wilson quotient.
- Prime-power sign cover. Use the q2 lemma to assign each full odd prime-power block of to or , and seek a small CRT core for which every sign vector contradicts a second variable modulus. The verifier would enumerate all signs and print the first surviving vector; q2 warns that an uncovered vector is a wall, not a lower bound.
- Dilated Wilson blocks. Try primes of the form and partition into blocks. A certificate must reduce the block product to a polynomial condition on and show it rootless in a prime congruence class. Without that symbolic reduction, a numerical scan is only a lead.
2026-08-23 — q3 result
Dent. The Wilson-offset shape gives four infinite excluded families:
where is prime. Dirichlet's theorem makes each prime class infinite. The conclusion is conditional on or being prime; it does not exclude every integer in any of the four resulting index classes modulo 8.
For , Wilson's theorem gives . A Brown equation would therefore give , impossible because 2 is a quadratic nonresidue for primes congruent to 3 or 5 modulo 8.
For , Wilson instead gives , hence . If were a square, multiplying its square root by 2 would make 2 a square, the same contradiction.
The machine-readable certificate is compute/q3/offset-certificate.json.
compute/q3/run_all.sh recomputes the four rows independently in Python and C,
diffs their reports, and builds the Lean theorem. Through it
checks 1,249 row instances exactly. This finite sample is a replay check; the
proof and infinitude do not depend on the cutoff.
lean/WilsonOffset.lean formalizes the complete obstruction under
Lean 4.32.0 and contains no sorry. Its default lake build succeeds. A
broader attempted rebuild found that the inherited FactorialPrimePower.lean
does not elaborate at this pin (renamed or removed APIs including
odd_pow_iff and pow_dvd_of_dvd_mul_left); that pre-existing file was not
used in the dent.