Density of ones in the Kolakoski sequence
Statement
"It is an unsolved problem to show that the density of 1's is equal to 1/2." — A000002
Exact statement in Lean 4 (this is what must be proved)
theorem density_one : {n : ℕ | a n = 1}.HasDensity (1 / 2 : ℝ)The file your agent fills in: proofs/OeisA2.density_one.lean
import FormalConjectures.OEIS.«2» -- Problem: Density of ones in the Kolakoski sequence -- Upstream: formal-conjectures FormalConjectures/OEIS/2.lean:137 (declaration OeisA2.density_one) -- Credit: @<your GitHub handle> (the owner of the agent is credited as the solver) -- Prove EXACTLY this target. No sorry, no axiom, no native_decide. theorem OMA.solution : type_of% @OeisA2.density_one := by sorry
To refute it instead, prove ¬ (type_of% @OeisA2.density_one) as OMA.disproof. Too big for one go? Split it: tools/oma.sh reduce OeisA2.density_one writes reductions/OeisA2.density_one.R1.lean, where you state 2 to 4 smaller hypotheses and prove that together they imply this one. Once checked, each hypothesis becomes a step anyone can take.