Repository navigation
JSP-000301: Lean formalization of the powerful-consecutive-integers disproof - #5132
Open
cosmos2explorer wants to merge 1 commit into
Open
cosmos2explorer wants to merge 1 commit into
cosmos2explorer wants to merge 1 commit into
Conversation
Updated Lean proof status to 'Yes' and added source link.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Submission type
Problem
Golomb's question as recorded in the catalog entry
problems/catalog-0301-0400.md#JSP-000301
Lean prooffield changes fromNotoYes — [Lean source](https://github.com/cosmos2explorer/JSP-000301/blob/f4789f1f976998575463d3c995d4e094dddc9ecb/JSP000301.lean);formalization contributor
@cosmos2explorer. No other fields changed.Open Lean PRs for the same problem include JSP-000301: Lean formalization of Golomb's counterexample (consecutive powerful numbers) #4872 (universe2explorer),
JSP-000301: complete Lean disproof and proof of the least counterexample #4698 (DF-dan), docs(problems): add Lean 4 formalization for JSP-000301 #692 (Drag0ndddd1118), JSP-000301: Lean formalization - consecutive powerful numbers counterexample (Golomb 1970) #4704 (kunjunsong-code),
Lean formalizations: JSP-000301 and JSP-000307 #1084 (qzxuwenlong), Lean formalizations for JSP-000122, JSP-000301, JSP-000307, JSP-000554, JSP-000598, JSP-000945, JSP-001010 #4862 (aznikline). I reviewed the five most recent;
all are mathematically correct formalizations as far as I could verify.
Per the award process, the earliest verified commit holds priority — I
understand this submission is later than JSP-000301: Lean formalization of Golomb's counterexample (consecutive powerful numbers) #4872 and do not claim priority
over it. This PR offers an independent core-only (no-Mathlib) formalization
with full reproduction evidence and a disclosed axiom audit, so maintainers
have a second verified source for the same result.
Formal statement
The solution is already in the catalog entry: Solomon W. Golomb's 1970
counterexample — 12167 = 23³ and 12168 = 2³ · 3² · 13² are consecutive
powerful numbers, neither a perfect square (both strictly between
110² = 12100 and 111² = 12321). [Go70] Powerful numbers, Amer. Math.
Monthly 77(8) (1970), 848–852, https://doi.org/10.2307/2317020.
The catalog's Review notes (2026-09-13) record the disproof explicitly.
already records
Current status: Solvedwith Golomb as proof contributor;review notes confirm the disproof.
https://github.com/cosmos2explorer/JSP-000301/blob/f4789f1f976998575463d3c995d4e094dddc9ecb/JSP000301.lean
jsp000301statement exists for JSP-000301; catalog shows
Lean proof: No).The original question: "If two consecutive positive integers are powerful,
must at least one be a perfect square?" The formal theorem is
∃ n : Nat, 0 < n ∧ Powerful' n ∧ Powerful' (n + 1) ∧ ¬ IsSquare' n ∧ ¬ IsSquare' (n + 1),i.e. there exist consecutive positive integers, both powerful, neither a
square — the exact negation of the question, hence a disproof.
Definitions used:
Powerful' n := ∀ p : Nat, Prime' p → p ∣ n → p ^ 2 ∣ n(every prime divisor occurs with exponent ≥ 2 — the standard definition
of a powerful number),
IsSquare' n := ∃ r : Fin (n + 1), n = r.val * r.val(n equals r² for some r — equivalent to the standard "n is a square"
since any square root of n is < n+1),
Prime' p := 2 ≤ p ∧ ∀ m : Fin (p + 1), m.val ∣ p → m.val = 1 ∨ m.val = p(bounded-decidable primality, equivalent to standard primality).
The witness is n = 12167:
powerful_12167(12167 = 23³),powerful_12168(12168 = 2³·3²·13²),not_isSquare_12167,not_isSquare_12168(both between 110² and 111²).Proof submission
[ { "repository": "https://github.com/cosmos2explorer/JSP-000301", "branch": "main", "commit": "f4789f1f976998575463d3c995d4e094dddc9ecb" } ]JSP000301.lean(repository root), theoremjsp000301, with supportinglemmas
powerful_12167,powerful_12168,not_isSquare_12167,not_isSquare_12168.Divisor-classification lemmas (
divs_12167,divs_12168) enumerate everydivisor below the bound via
native_decide, establishing the prime-divisorsets {23} and {2, 3, 13}; each prime's square is shown to divide the
number, giving powerfulness. Non-squareness follows from
110² < n < 111² via a bounded search (
not_isSquare_of_betweenstyleargument, discharged by
native_decide). The main theorem combines thefour lemmas at n = 12167. No
sorry, noadmit, no added axioms.Reproduction
lean-toolchainpath: Lean 4.34.1(
leanprover/lean4:v4.34.1),lean-toolchainat repository root.none — core-only proof, no Mathlib, no external dependencies.
lakefile.tomlat repository root declares theJSP000301library.lean JSP000301.lean # file ends with #print axioms linespropextandQuot.soundare standard Lean axioms; the fournative_decideaxioms are Lean-generated kernel certificates for thedecidable computations (not
sorryAx).Pre-submission Lean verification (optional)
(
lean JSP000301.lean), plus independent Python re-verification of thefactorizations and the 110² < n < 111² bounds.
submitted version: same commit as submitted (f4789f1f976998575463d3c995d4e094dddc9ecb).
compiles with exit 0, no errors, no
sorry/admit; axiom audit as above.Limitation: verification is of the formal statement's proof, not of the
statement-to-English correspondence, which is argued in "Correspondence"
above for maintainer review.
coverage is the full disproof (both powerfulness and non-squareness for
both numbers); trust dependencies are the Lean 4.34.1 kernel plus the
disclosed
native_decidecertificates.README.md contains the build and axiom-audit record.
Attribution
counterexample (12167, 12168), [Go70] 1970; already credited in the
catalog entry. This PR claims no mathematical discovery.
core-only Lean 4 formalization of the disproof (statement, definitions,
all lemmas, main theorem).
submitting account (cosmos2explorer); the PR is opened from that account's
fork. The formalization was produced for this submission; commit history
in the proof repository documents authorship.
Submission checklist
sorry,admitor added unproved assumptions replacing proof steps.