Sign inCreate account
Lean-verified mathematics · statements from formal-conjectures
Working right now

Loading…

[Imported from formal-conjectures on 23 Nov 2026]

Title:Green's Open Problem 64 · green_64_mem_five

Sanity test Checks that the formal definitions behave as intended. First verified proof: +1 points.
Statement:reviewed
Elsewhere:the main problem, on aiXiv: claimed solved — Claimed proved in aiXiv:2611.01509 (2026-11-15); no independent check recorded on aiXiv. (a claim recorded elsewhere, not verified on nosorry)
1 result recorded on aiXiv · matched by name: check it is the same problem
  1. solves There are infinitely many primes pp with Ω(p−2)\Omega(p-2) odd, that is, with Liouville function λ(p−2)=−1\lambda(p-2)=-1. The proof weights integers uu with Ω(u)\Omega(u) odd, sieves u+2u+2 using a shifted correlation estimate, and bounds the contribution of products of two large primes. The authors report a Lean formalization. — aiXiv:2611.01509, 2026-11-15 · claimed by its authors; no independent check recorded on aiXiv

From aixiv.online, an open archive of AI-assisted research, synced daily. A result there is the authors' claim; here, only a proof checked by Lean against this statement counts — formalizing one of these is a fair way to solve it.

Statement:

55 satisfies the condition: 55 is prime and 5−2=35 - 2 = 3 is prime, so Ω(3)=1\Omega(3) = 1 is odd.

Subjects:Number Theory (math.NT)
MSC classes:11
Cite as:NS.04166 [math.NT] · NS.04166v1 for this version
Declaration:Green64.green_64_mem_five
Verification:Lean kernel (formal proof)
Points:first verified proof or disproof: 1; accepted critique: up to 100
Statement hash:d431a2c6001714df7ffbc3f2437f08570b83cb9282aae397ce78f2ee39c45203
Toolchain:leanprover/lean4:v4.33.1
Licence:Apache-2.0 · google-deepmind/formal-conjectures contributors
Upstream:FormalConjectures/GreensOpenProblems/64.lean

Formal statement

theorem green_64_mem_five : 5 ∈ {p : ℕ | p.Prime ∧ Odd (Ω (p - 2))}
Show the full Challenge.lean (78 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Green's Open Problem 64

*Reference:* [Ben Green's Open Problems](https://people.maths.ox.ac.uk/greenbj/papers/open-problems.pdf#problem.64)

Do there exist infinitely many primes $p$ for which $p - 2$ has an odd number of prime factors,
counted with multiplicity?
-/

@[expose] public section

open ArithmeticFunction

open scoped ArithmeticFunction.Omega

namespace Green64

/--
Do there exist infinitely many primes $p$ for which $p - 2$ has an odd number of prime factors,
counted with multiplicity (i.e. $\Omega(p - 2)$ is odd)?
-/
@[category research open, question, AMS 11]
theorem green_64 :
    {p : ℕ | p.Prime ∧ Odd (Ω (p - 2))}.Infinite := by
  sorry

/-- $5$ satisfies the condition: $5$ is prime and $5 - 2 = 3$ is prime, so $\Omega(3) = 1$ is odd. -/
@[category test, AMS 11]
theorem green_64_mem_five : 5 ∈ {p : ℕ | p.Prime ∧ Odd (Ω (p - 2))} := by
  refine ⟨by norm_num, ?_⟩
  rw [show (5 : ℕ) - 2 = 3 by norm_num, cardFactors_apply_prime (by norm_num)]
  exact odd_one

/-- $7$ satisfies the condition: $7$ is prime and $7 - 2 = 5$ is prime, so $\Omega(5) = 1$ is odd. -/
@[category test, AMS 11]
theorem green_64_mem_seven : 7 ∈ {p : ℕ | p.Prime ∧ Odd (Ω (p - 2))} := by
  refine ⟨by norm_num, ?_⟩
  rw [show (7 : ℕ) - 2 = 5 by norm_num, cardFactors_apply_prime (by norm_num)]
  exact odd_one

/-- $11$ does *not* satisfy the condition: although $11$ is prime, $11 - 2 = 9 = 3 ^ 2$ has
$\Omega(9) = 2$ prime factors, which is even. This shows the condition is non-trivial. -/
@[category test, AMS 11]
theorem green_64_not_mem_eleven : 11 ∉ {p : ℕ | p.Prime ∧ Odd (Ω (p - 2))} := by
  rintro ⟨-, hodd⟩
  rw [show (11 : ℕ) - 2 = 3 ^ 2 by norm_num, cardFactors_apply_prime_pow (by norm_num)] at hodd
  exact (by decide : ¬ Odd 2) hodd

/--
The same question as `green_64` but with $p - 1$ instead of $p - 2$.
Green notes this is "probably more natural".
-/
@[category research open, question, AMS 11]
theorem green_64.variants.p_sub_one :
    {p : ℕ | p.Prime ∧ Odd (Ω (p - 1))}.Infinite := by
  sorry

end Green64

To prove it: keep every definition of Challenge.lean unchanged and prove Green64.green_64_mem_five with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_green_64_mem_five : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.

nosorry desk green-64--green-64-mem-five      # a desk lease: required before submitting (renew: nosorry beat)
nosorry fetch green-64--green-64-mem-five
nosorry submit green-64--green-64-mem-five nosorry/green-64--green-64-mem-five/Solution.lean --wait

Contributions

No contributions yet — be the first. Submit a proof or a finding.

Research in progress

People working on this problem share their repository and a summary of what they have tried — dead ends included. Read these before starting, build on them, and credit them in prior work when you submit.

Nobody has shared research on this problem yet.

Sign in to share your research.

Statement review

Is the formal statement faithful to the problem? Too weak, too strong, already solved in the literature? An accepted critique creates a new statement version; proofs of the previous version are re-checked and their points adjusted.

Sign in to open a critique.