∑ Math Proof PlaygroundA317940 (interactive)verification report

Strict positivity of the Dirichlet square root behind OEIS A317940

A machine-checked Lean 4 proof of the Google DeepMind Formal Conjectures theorem A317940_f_nonnegative — an open OEIS conjecture.

⚗ Under review · submitted through this system Theorem kernel-verified · Lean 4 + Mathlib (CI) axioms: propext · Classical.choice · Quot.sound no sorry / admit / custom axiom

Submitted via the /math/new/ pipeline. The formal theorem is machine-verified; what remains under review is novelty/priority and acceptance by OEIS/DeepMind.

AbstractTheoremProof idea VerificationOpen→closedDownloads ReproduceNovelty🔍 Prior-art check

Abstract

Let g be the multiplicative arithmetic function determined on prime powers by g(pᵉ) = 2^A005187(e), where A005187(e) = Σₖ ⌊e/2ᵏ⌋. Let f be the unique arithmetic function with f(1)=1 and Dirichlet square f∗f = g (OEIS A046644). OEIS A317940 records the numerators of the rational values f(n) and asks whether they are nonnegative. We prove the stronger statement f(n) > 0 for every n ≥ 1. The argument reduces the problem to positivity of the coefficients of the formal square root of the binary Euler product ∏ᵣ (1 + z^{2ʳ}/2), which follows from a closed positive formula for the logarithmic coefficients. A Lean 4 formalization proves the exact upstream statement and is kernel-verified against Mathlib.

The theorem (exact upstream statement)

theorem A317940_f_nonnegative (n : ℕ) (h : n > 0) : A317940_f n ≥ 0

Using DeepMind's exact definitions of A005187, A046644 and A317940_f — byte-identical to the upstream file (see below). The formalization also establishes the stronger internal fact that the values are strictly positive.

Proof idea

  1. Because g is multiplicative with g(1)=1, its Dirichlet square root f is multiplicative; it suffices to understand the local coefficients c_e = f(pᵉ), satisfying Σⱼ c_j c_{e−j} = 2^A005187(e).
  2. Since A005187(e) = 2e − s₂(e) (s₂ = binary digit sum), the normalized coefficients b_e = 2^{−s₂(e)} have generating function B(z) = ∏ᵣ (1 + z^{2ʳ}/2).
  3. Let A(z)² = B(z), A(0)=1. For n = 2ᵛ·m with m odd, [zⁿ] log A(z) = (1/2m)(2^{−m} − Σⱼ 2^{−j−2ʲm}) > 0, so every coefficient of A = exp(log A) is strictly positive.
  4. Rescaling c_e = 4ᵉ a_e recovers the prime-power convolution; the multiplicative lift h with h(pᵉ)=c_e satisfies h∗h = g, and endpoint-divisor separation shows h obeys the exact well-founded recursion defining f. Hence f = h and f(n) > 0. ∎

Full write-up: HUMAN_PROOF.md · paper draft (PDF) · short note (PDF). The same argument generalizes to ∏ᵣ(1+q z^{2ʳ})^α for 0<q≤1, α>0DigitalEulerPositivity.lean.

Verification

The 659-line Lean proof was compiled against real Mathlib on GitHub Actions (it fetched 7,869 Mathlib .olean files), and the kernel's axiom audit is clean:

ℹ [7885/7886] Built A317940 (41s) info: 'A317940_f_nonnegative' depends on axioms: [propext, Classical.choice, Quot.sound] Build completed successfully (7886 jobs).

Re-confirmed at two independent commits. CI run: verify-lean (job lean-a317940) ↗. Artifacts: axiom_audit.log · AXLE_verification.json · spec_integrity.json · VERIFICATION_REPORT.md.

Independent numeric corroboration

A from-scratch exact-rational reimplementation of the definitions reproduces the OEIS anchors a(1..4)=1,1,1,7 and finds f(n) > 0 for all n ≤ 200,000. Try it live on the interactive page.

Open upstream → closed here (reproducible)

DeepMind's file states the theorem with := by sorry (Lean's marker for “unproved”). Ours discharges it. Run either command:

# THEIRS — still open: $ curl -s https://raw.githubusercontent.com/google-deepmind/formal-conjectures/auto_oeis/FormalConjectures/OEIS/Auto/317940_cd729cdd.lean | grep -n A317940_f_nonnegative 78:theorem A317940_f_nonnegative (n : ℕ) (h : n > 0) : A317940_f n ≥ 0 := by sorry # OURS — proved: $ grep -c 'sorry' proof/A317940_verified.lean 0

Hashes

DeepMind upstream file sha256 4658ee6927738e3b54f54e64fed146124558797b161bc3ec280f8b64280ef020
definition code (both sides, identical) sha256 5dff4de1ae9d49868a0bdc09471f326608992d74d6a4efa415b4c0f50f6f0eec
our proof A317940_verified.lean see PROJECT_SHA256SUMS.txt

Machine-readable: evidence/A317940.json · archived upstream copy.

All files

Proof (Lean 4)

A317940_verified.leancomplete proof (659 lines, no sorry)
A317940.leanLake-project form (+#print axioms)
A317940_upstream_form.leaninstalled into the exact upstream file
A317940_upstream_spec.leanthe original stated-with-sorry conjecture
DigitalEulerPositivity_generalization.leanthe general theorem
lakefile.toml · lean-toolchainbuild config (Mathlib, v4.27.0)

Papers & notes

paper_draft.pdf · .texfull paper draft
short_note.pdf · .texshort note
HUMAN_PROOF.mdreadable proof
PRIOR_ART.mdnovelty boundary

Submit to DeepMind Formal Conjectures

SUBMISSION_GUIDE.mdstep-by-step: CLA → issue → fork → PR
317940_cd729cdd.SOLVED.leanthe exact file to submit (adds the research solved + formal_proof marker)
ISSUE.md · PR.mdissue & PR text, ready to paste
OEIS_SUBMISSION.txtOEIS comment/proof text

Provenance for every file: PROJECT_SHA256SUMS.txt.

Reproduce the verification

# from this directory (needs elan/lake; downloads Mathlib cache): $ cd proof $ lake exe cache get $ lake build # prints: 'A317940_f_nonnegative' depends on axioms: [propext, Classical.choice, Quot.sound]

Or push to the repo and let .github/workflows/verify-lean.yml (job lean-a317940) run it on GitHub's runners.

Scope & novelty

What is established here is that the formal theorem is proved — kernel-checked, clean axioms, faithful to DeepMind's exact statement. Whether the result and its argument are new relative to the literature is a separate, human question; the honest boundary is documented in PRIOR_ART.md (the binary digit-sum product identity is classical; the positivity argument and its A317940 application appear to be new — pending independent literature review).

🔍 Prior-art check → a deep, reproducible search (live upstream status, GitHub code search, OEIS, arXiv) with an automated crawler that re-runs in CI. Current finding: no pre-existing formal proof found; the conjecture is still open upstream.

This page is about our own proof (A317940). A second problem from the same package, A300997, was already solved by DeepMind's AlphaProof — it is credited and archived under /math/archive/a300997/, not claimed here.

OEIS A317940 · DeepMind Formal Conjectures · interactive & live verifier: Math Proof Playground → A317940.