Repository navigation
Conversation
…it unchanged) Adds the Lean source at a pinned commit and one Attribution basis row. Current status, Proof contributors, Eligible to claim and both claim-status columns are untouched: the mathematics is Golomb's 1970 counterexample and eligibility is maintainer-reconciled.
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
Lean formalization only. The mathematical solution is not claimed by this submission: it is
Solomon W. Golomb's published counterexample, which the catalogue already credits. This PR
records the complete Lean formalization of that solution and links its published evidence.
Problem
problems/catalog-0301-0400.md, entryJSP-000301(#JSP-000301), field Problem description — "If two consecutive positiveintegers are powerful, must at least one be a perfect square?" The record's own origin
field states: "Unspecified; the original proposal date of this yes/no question is
unverified."
https://github.com/TheJustinSunPrize/awards/blob/main/problems/catalog-0301-0400.md#JSP-000301
Lean proofis currentlyNo; the index row(
problems/README.md) showsSolved | No | No | Unavailable | Unavailable. Proposed:Lean proof→Yes — [Lean source](https://github.com/shimiei/jsp-000301-lean/blob/531a6e31e098bdb8691bda3a1b829387d9105e0a/Jsp000301.lean)withtarget theorems
Jsp000301.golomb_counterexampleandJsp000301.answer_is_noandformalization contributor YEUNG CHUN HEI; plus one new
Attribution basisrow recording theformalization source. In the index, only the
Lean proofcolumn changes toYes.Current status/Proof contributors:(Golomb),Eligible to claimand both claim-statuscolumns are deliberately untouched, because they are maintainer-reconciled fields. The diff
in this PR totals
2 files changed, 3 insertions(+), 2 deletions(-).(
[Award claim] JSP-000301) will be opened only after this PR merges, asdocs/award-process.mdrequires.submission and supporting evidence (optional): this is a supplementary re-formalization,
not a first submission, and no priority of any kind is claimed. A search of
https://github.com/TheJustinSunPrize/awards/pulls?q=is%3Apr+JSP-000301 finds many earlier
JSP-000301 submissions; the earliest Lean formalizations date from 2026-09-16/17 (for example
JSP-000301: Lean proof of an infinite family of nonsquare powerful pairs #412 and JSP-000301: complete Lean disproof and general-seed quantitative construction #587), and JSP-000301: record Lean formalization (scks1/jsp-000301-formalization) #5134 was opened on 2026-10-25. Nothing here disputes them and nothing here
is offered as a replacement claim. What this commit adds, all machine-checked at
531a6e31e098bdb8691bda3a1b829387d9105e0a: (i)answer_is_no_poscarries the catalogue sentence's literal0 < a,0 < bpremises instead of leaving positivity to be discharged by the witness itself;(ii)
answer_is_no_unorderedreads "consecutive" symmetrically (b = a + 1ora = b + 1),so no ordering convention is left open; (iii) a
## Statement bridgesection of fivekernel-checked
exampleterms ties each literal reading of the English sentence to thetheorems, including a proof that the unordered form follows from the ordered one; (iv) the
development is
Classical.choice-free — every audited constant depends only on[propext, Quot.sound], which is strictly weaker than the axiom profile of the earlierformalizations. If a maintainer prefers one canonical formalization per problem, this PR
should be compared against the earlier ones rather than treated as superseding them.
version or date: Solomon W. Golomb, "Powerful numbers", American Mathematical Monthly
77(8) (1970), 848–852, https://doi.org/10.2307/2317020. The counterexample is the
consecutive pair
12167 = 23³and12168 = 2³·3²·13², neither a square. The catalogue'sreview note of 2026-09-13 already records this disproof; the entry's publication fields
additionally cite [Wa76] (Fibonacci Quart. 1976, 111–116) and [Gu04] (Guy, 2004). This PR
does not change any of those fields.
Formal statement
For Lean contributions only. Repeat the theorem details for each problem.
Complete mathematical solution (provided earlier or in this PR): public proof or
publication, relevant theorem/pages, version or date: provided earlier — Golomb, "Powerful
numbers", Amer. Math. Monthly 77(8) (1970), 848–852,
https://doi.org/10.2307/2317020. The counterexample pair used here,
12167 = 23³and12168 = 2³·3²·13², is the one also recorded in the catalogue review note of 2026-09-13.Mathematical review reference or current review status: the problem-bank record
JSP-000301is markedSolvedwithProof contributors: Solomon W. Golomband carries adated review note (2026-09-13) that reproduces the disproof and states that both numbers lie
strictly between
110² = 12100and111² = 12321. This formalization follows that reviewedmathematical solution; no new mathematical review is requested in this PR.
Formal statement location, pinned to a full commit SHA:
https://github.com/shimiei/jsp-000301-lean/blob/531a6e31e098bdb8691bda3a1b829387d9105e0a/Jsp000301.lean#L321-L400(definitions at lines 26–33; thefour statements are at lines 321–354 and the
## Statement bridgesection at lines 356–400).Fully qualified target theorem name:
Jsp000301.golomb_counterexample(the witness form) andJsp000301.answer_is_no(the negated universal form that answers the question).Statement origin (maintainer-approved reference and version, or proposed statement requiring
review): proposed statement, requiring review. No maintainer-approved formal statement
exists for JSP-000301 (the record shows
Lean proof: No); the statement below is a directtranscription of the catalogue sentence into
Nat, and is offered for review as such.Correspondence to the original problem: definitions, assumptions, quantifiers, conclusion
and all required cases; explain any differences from an approved statement:
Nat. The catalogue question quantifies over positiveintegers only, so no sign case or
Intsubtraction appears.b = a + 1, instantiated ata = 12167,b = 12168; the positivitycondition is met by the witness, not assumed.
pis exactlyp ^ 2 ∣ n; hence∀ p, Prime p → p ∣ n → p * p ∣ n. All primes arequantified over, not a supplied factorisation, so the property cannot be satisfied by
choosing convenient factors.
∃ m, n = m ^ 2; withn m : Natthis is exactly the intended set.∀ a b, b = a + 1 → Powerful a → Powerful b → IsSquare a ∨ IsSquare b;answer_is_nois its negation, proved by instantiating theuniversal statement at the witness and eliminating both disjuncts. Both cases are covered
(
not_square_12167,not_square_12168); no case is assumed away.Primeis defined in thefile. Core Lean 4.35 without Mathlib has no
Nat.Prime— verified on the pinnedtoolchain:
#check @Nat.Primegiveserror(lean.unknownIdentifier): Unknown constant 'Nat.Prime'. The definition used is thestandard one (
n ≥ 2, divisors only1andn), soPowerfulranges over genuineprimes; it is not a computable stand-in and not restricted to a bounded search range.
does not formalize the counting question of Erdős problem [Recipient] JSP-000178: Lean formalization, Erdős 184, the K_{3,n−3} lower bound for decompositions into cycles and edges #365, nor runs of three or more
consecutive powerful numbers (the separate entry JSP-000300).
Proof submission
For Lean contributions only. Use the original repository containing your contribution, owned
by your submitting account or an organization.
[ { "repository": "https://github.com/shimiei/jsp-000301-lean", "branch": "main", "commit": "531a6e31e098bdb8691bda3a1b829387d9105e0a" } ]Jsp000301.lean(repository root) at commit531a6e31e098bdb8691bda3a1b829387d9105e0a;theorems
Jsp000301.golomb_counterexampleandJsp000301.answer_is_no. The selected commitcontains that file in branch
main.entry: the repository root is a Lake project whose only target is the library
Jsp000301built from that one file.
powerful_12167proves12167 = 23 ^ 3has only the primedivisor
23with23 * 23 ∣ 12167;powerful_12168proves that the prime divisors of12168 = 2 ^ 3 * 3 ^ 2 * 13 ^ 2are exactly2, 3, 13and that each square divides it;not_square_12167andnot_square_12168place both numbers strictly between110 ^ 2and111 ^ 2and conclude with monotonicity of multiplication.golomb_counterexamplepackagesthose four facts with
b = a + 1, andanswer_is_noderives the negated universal statementfrom it. The separate verification entry is
verify.ps1, which deletes.lake/, rebuilds,re-runs the axiom audit and sweeps the sources for unproved-step placeholders and
compiler-trusting decision procedures; it exits non-zero on any failure. Because core Lean
has no Bézout or gcd library, Euclid's lemma (
Prime.dvd_of_dvd_mul) and the trial-divisionprimality criterion are proved inside the file rather than imported, so no unproved number
theory is assumed.
Reproduction
For Lean contributions only.
Exact Lean version and
lean-toolchainpath:leanprover/lean4:v4.35.0, pinned bylean-toolchainat the repository root (25 bytes, single line). Reproduced toolchain:Lean (version 4.35.0, x86_64-w64-windows-gnu, commit eb6cafb7290e8bd5f2937522d8d804f58f02bafc, Release),Lake version 5.0.0-src+eb6cafb (Lean version 4.35.0).Pinned dependencies (including mathlib, if used) and manifest path: none — no Mathlib and no
other dependency.
lake-manifest.jsonat the root has"packages": [].lakefile.tomldeclares a single
lean_libnamedJsp000301with norequireentries.Build instructions pinned to the selected commit:
https://github.com/shimiei/jsp-000301-lean/blob/531a6e31e098bdb8691bda3a1b829387d9105e0a/README.md#build-and-audit.Commands for setup, clean build and checking each target theorem; include a separate
statement-to-proof check if needed:
Statement-to-proof check: the file ends with four
#checkcommands(
golomb_counterexample,answer_is_no,answer_is_no_pos,answer_is_no_unordered) andnine
#print axiomscommands, so a plainlake env lean Jsp000301.leanprints the exact typeof each target next to its axiom dependencies; a statement change would change the printed
type.
Axiom audit command and output for each target (for example,
#print axioms Fully.Qualified.theoremName):Axioms reported:
propextandQuot.sound— both standard, and that is the complete list forall nine audited constants. There is no user axiom, no unproved-step axiom and no
compiler-trusting evaluation axiom, and
Classical.choicedoes not occur in the file at all:the least-divisor argument behind Euclid's lemma is constructed explicitly instead of
classically.
decideis applied to numerals only, which the kernel checks by computation.Pre-submission Lean verification (optional)
clone of the selected commit,
lake build,lake env lean Jsp000301.lean, plus therepository's own
verify.ps1gate (PowerShell 7, Lean 4.35.0, Lake 5.0.0-src+eb6cafb). Theoptional
lean-verifyskill was not run; this section is a description of what wasactually done, not a claim of a completed skill run.
https://github.com/shimiei/jsp-000301-leanat531a6e31e098bdb8691bda3a1b829387d9105e0a— identical to the submitted version (the same commit wascloned fresh and built; nothing was patched afterwards). The proof source
Jsp000301.leanis byte-identical to the verified development copy (SHA-2565f479c7e1186a9908c06e2a32c8a1932bc3ea342aeb9b0babfa829d468b81594).exit 0,Build completed successfully (3 jobs); 1.9 s wall clock on a freshly cloned tree,while the repository's own
logs/build.logrecords 1.4–1.6 s for the same three-job build onthe machine that produced it.
verify.ps1:build exit: 0,audit exit: 0,forbidden hits: 0,unproved axiom: 0,RESULT: PASS. Limitations: reproduced on one machine (Windows) by the author; noindependent third party has checked it; the statement is a proposed transcription, so
correspondence still needs maintainer review; nothing beyond the yes/no question is covered.
correspondence is set out field-by-field in the repository README ("Statement and
faithfulness") and in the Correspondence bullet above; coverage is the full universal
question plus its negation; Lean checks are the clean build, the printed
#checktypes andthe
#print axiomsaudit; trust dependencies are the two standard axioms (propext,Quot.sound) plus the Leankernel, with no dependency on Mathlib,
decide-on-large-terms, or any user axiom.repository —
AUDIT.md(verbatim#check/#print axiomscapture and timings),logs/build.log,logs/axioms.log, all at531a6e31e098bdb8691bda3a1b829387d9105e0a. No separate report document isclaimed.
Attribution
counterexample and its proof ("Powerful numbers", Amer. Math. Monthly 77(8) (1970),
848–852). The catalogue already credits him in
Current status; this PR does not alter thatcredit and does not claim the result.
(@shimiei) — the whole formalization at
531a6e31e098bdb8691bda3a1b829387d9105e0a: thePrime,PowerfulandIsSquaredefinitions, the trial-division primality criterion, Euclid's lemma andPrime.dvd_of_dvd_powbuilt from scratch, the four specific primalities, the twopowerfulness proofs, the two non-square proofs, the four statements, the
## Statement bridgesection, and
verify.ps1with its axiom/token gates.
a Lean-aware agentic coding tool) working under the submitting account, which directed the
work, chose the statement reading and reviewed every file. The proof itself is not asserted on
the agent's authority: it is kernel-checked by Lean 4.35.0 in this repository, and the
#print axiomsoutput lets a maintainer re-run the same check without trusting either party.Toolchain used:
leanprover/lean4:v4.35.0, no Mathlib, no automation beyonddecide/omegaon numerals. Disclosed because other submissions to this problem have disclosed AI assistance
and a reviewer should not have to infer it.
reproduction is requested and expected.
connecting your account to the claimed proof files/theorems: this is a personal repository
owned by @shimiei (not an organization), created and pushed by that account;
commit
531a6e31e098bdb8691bda3a1b829387d9105e0aon branchmainis the single rootcommit of the repository: it carries the whole formalization and is authored by
YEUNG CHUN HEI <hayes11424@gmail.com>, the account holder, with no intermediate orneutral-author commits in the history (
git log --format='%an <%ae>'lists exactly oneauthor). The repository contains no third-party proof material: it is a self-contained Lake
project whose only dependency-free source file is
Jsp000301.lean.Submission checklist
supporting sources and supplied the applicable evidence. (Two files: one replaced
Lean proofrow plus one insertedAttribution basisrow; one indexLean proofcell. Everyother field, including Golomb's solver credit and the maintainer-reconciled eligibility and
claim-status fields, is untouched. The rendered diff in this PR is the complete change.)
complete at the specified commit, with no unproved-step placeholder, no
admitand no addedunproved assumption replacing proof steps. (
verify.ps1sweep:forbidden hits: 0,unproved axiom: 0; axiom audit as quoted above.)evidence provided earlier, or supplied them in this PR, and identified the mathematical
solver and Lean formalization author separately. (Golomb 1970, DOI
10.2307/2317020; formalization author YEUNG CHUN HEI.)repository, with verifiable contribution evidence for an organization repository; the
selected commit is in the named branch, and I supplied statement correspondence, reproduction
commands and axiom audit results. (Personal repository;
531a6e31e098bdb8691bda3a1b829387d9105e0ais onmain.)private identity/contact/payment information. (Proof source stays in the external repository;
the PR edits catalog text only. No identity documents, payment details or private addresses
are included — those go by email to the official address.)
Request to maintainers
Per
CONTRIBUTING.md,Eligible to claimand the two claim-status columns are yours toreconcile after verification; this PR deliberately leaves them alone. If the proof passes
verification, the record would read
Eligible to claim: Yes, and percandidates/README.mdeach role would then be
Unclaimeduntil its candidate is published incandidates/. I willopen the
[Award claim] JSP-000301issue and send the identity-verification email only afterthis PR merges.