Repository navigation
JSP-000448: register Lean formalization (Erdős #557) - #574
zhangjun725 wants to merge 1 commit into
Conversation
|
The linked Lean development has since been strengthened to the best-possible bounds |
…ze#574 (catalog-only) Updates the Lean proof and Attribution basis fields of JSP-000464 to reference the public proof source pinned at https://github.com/CollinYuanjieRen/awards branch proofs/jsp-000464-cyr, commit e3ce0e7, per the current external-intake rules. No proof source, build files or archives are committed. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
…ze#574 (catalog-only) Updates the Lean proof and Attribution basis fields of JSP-000464 to reference the public proof source pinned at https://github.com/CollinYuanjieRen/awards branch proofs/jsp-000464-cyr, commit e3ce0e7, per the current external-intake rules. No proof source, build files or archives are committed. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
1077988 to
db8a01c
Compare
db8a01c to
b95b0bd
Compare
b95b0bd to
37c36ad
Compare
37c36ad to
ca2d0d6
Compare
|
Update, 2026-10-12: the formal statements are now merged upstream in Formal Conjectures, google-deepmind/formal-conjectures#6028 (merged 2026-10-11). As part of that review, a reviewer independently replayed the linked commits
This gives third-party verification of the Lean development in addition to my own replay log (docs/replay-2026-10-10.md). This PR is still mergeable against current |
306a531 to
44f3f0f
Compare
|
Gentle ping @Federico2014 — this PR is rebased onto current |
…rize#557) A standalone Lean formalisation of JSP-000448 exists at https://github.com/zhangjun725/erdos557, commit 828ad6fdb5d0f1a72b8dcd812f4c91c285570ff6. It derives R_k(T) <= k(n-2)+3 for every tree T on n vertices from the Lean proof of JSP-000439 (Erdos548.erdos_548) by the pigeonhole principle, and additionally proves the best-possible constants k(n-2)+2, and k(n-2)+1 for odd n and even k. - Lean proof: "Reported; standalone Lean source not located" -> Yes, with the source link and formalization contributors. - Attribution basis row added (mathematical: paper/report authors; Lean: project authorship via formalization.yaml). - Problem index: Lean proof Yes; eligibility (Yes) and claim statuses (Unclaimed) unchanged, as set in TheJustinSunPrize#5135. Rebased onto c06d67a. Correction issue: TheJustinSunPrize#569.
44f3f0f to
c4cc2f3
Compare
Submission type
This is a Lean-only submission. The complete mathematical solution is already recorded in the catalog (JSP-000448 Current status: Solved, with its publication evidence) and is not changed by this PR; it is restated with evidence in the next section as required by
1d1db84.Mathematical solution (evidence for the Lean submission)
Per the submission requirements, the mathematical solution and its supporting evidence for JSP-000448 are:
mainbefore this PR, with Publication details [ReSt26] The Erdős-Sós conjecture in dense graphs (arXiv:2609.05417, 2026). This PR does not change Current status or Publication details.n. Reed and Stein [ReSt26] prove the Erdős–Sós conjecture fork ≥ εnwithnlarge and deduceR_k(T) ≤ k(n-2)+3in that range. The unrestricted statement follows from the full Erdős–Sós theorem, which this repository already records as solved with a complete Lean proof at JSP-000439 (Erdos548.erdos_548; tadamcz/erdos548 @82ffb751f3d37768927df9239ed08439bbe0dd09, found by GPT-6 Astra, benchmark of Adamczewski and Bloom), combined with the pigeonhole reduction recorded on the problem page erdosproblems.com/557 ("Implied by the Erdős-Sós conjecture [548]"). erdosproblems.com lists JSP-000307: Conditional theorem for strictly decreasing largest prime factors #557 as PROVED (LEAN) on that basis.K_mwithkcolours,m = k(n-2)+3. Some colour classHhas at leastbinom(m,2)/kedges. Sincem ≥ k,2k|E(H)| ≥ m(m-1) = k(n-2)m + m ≥ k(n-2)m + k, so|E(H)| ≥ (n-2)m/2 + 1, which is the Erdős–Sós edge-density hypothesis for trees onnvertices; henceH ⊇ T. Using the sharp form (2|E| ≤ (n-2)mwhen the tree is absent) instead givesk(n-2)+2, andk(n-2)+1for oddnand evenkby parity. This argument is exactly what the submitted Lean development formalises, so the mathematical solution and its machine-checked proof coincide here.k(n-2)+2andk(n-2)+1are those recorded by LouisD on the problem page (comment of 2026-09-04), and are best possible (attained by starsK_{1,n-1}).The mathematical solver credit is unchanged by this PR: it remains with the authors of [ReSt26] and the JSP-000439 record, not with the submitter. This PR claims only the Lean formalization role.
Problem
Reported; standalone Lean source not located …→Yes — Lean source, with formalization contributors.formalization.yaml).Yes, as set in docs: update MathDB pilot, renumber catalog and simplify eligibility #5135).Reported; standalone source not located→Yes; Eligible (Yes), Solver claim status and Lean claim status (Unclaimed) unchanged.JSP-000448,557and "multicolor Ramsey"). JSP-000439 already records the Erdős–Sós Lean proof; this submission is a separate development that imports it and is not a copy or mirror of it.Formal statement
k(n-2)+3from their dense-graph case fornlarge in terms ofk. The submitted formalization establishes it for alln.Erdos557/Basic.lean#L153Erdos557.erdos_557Supporting targets at the same commit:
Erdos557.erdos_557_explicitBasic.lean#L96k-colouring ofK_{k(n-2)+3}has a monochromatic copy of every tree onnverticesErdos557.multicolourRamsey_le_of_isTreeBasic.lean#L147R_k(T) ≤ k(n-2)+3, natural-number subtraction (the ordinary bound forn ≥ 2)Erdos557.erdos_557_tight/multicolourRamsey_le_tightTight.lean#L76,#L108R_k(T) ≤ k(n-2)+2forn ≥ 2Erdos557.erdos_557_tight_odd/multicolourRamsey_le_tight_oddTight.lean#L91,#L114R_k(T) ≤ k(n-2)+1for oddn, evenk ≥ 2multicolourGraphRamsey, is proposed to Google DeepMind's Formal Conjectures in google-deepmind/formal-conjectures#6028 (all checks passing; maintainer-labelledsolution found; reviewed by a community contributor with no blocking statement mismatch found).R_k(G)— the original asks for "the minimalmsuch that if the edges ofK_marek-coloured then there is a monochromatic copy ofG". Formalised asErdos557.multicolourRamsey k G = sInf {n | ∀ C : TopEdgeLabeling (Fin n) (Fin k), ∃ i, G.IsContained (C.labelGraph i)}.SimpleGraph.TopEdgeLabeling (Fin n) (Fin k)is Mathlib's type of functions from the edge set of the complete graph onFin ntoFin k, i.e. exactly ak-colouring of the edges ofK_n;C.labelGraph iis the graph of edges of colouri;T.IsContained His Mathlib's containment as a (not necessarily induced) subgraph, i.e. a copy ofTinH.sInfof the set of sufficientmis the "minimalm", and the explicit theorems exhibit a member of that set, so the infimum is attained and finite.nvertices —T : SimpleGraph (Fin n)withT.IsTree(Mathlib: connected and acyclic). Quantified over allnand all suchT.≤ kn + O(1)— formalised as a single constantcindependent ofk,nandT(∃ c, ∀ k n T, …), andc = 3is exhibited. This is the strongest reading ofO(1); a constant depending onkwould be weaker, so the submitted statement implies that reading as well.kranges over all naturals including0(degenerate: no0-colouring of a graph with an edge exists, and the bound holds);n ≥ 1for every tree (IsTreerequires a vertex, son = 0is vacuous). The explicit boundk(n-2)+3is meant forn ≥ 2; the Lean statement uses natural-number subtraction, so for the one-vertex tree it readsR_k(T) ≤ 3, which holds (indeedR_k(T) ≤ 2), whereas the ordinary-subtraction formula would fail atn = 1fork ≥ 3. The main statementR_k(T) ≤ kn + 3holds for alln. The tight variants additionally requiren ≥ 2, stated explicitly in their hypotheses.Proof submission
[ { "repository": "https://github.com/zhangjun725/erdos557", "branch": "main", "commit": "828ad6fdb5d0f1a72b8dcd812f4c91c285570ff6" } ]Erdos557/Basic.lean—Erdos557.erdos_557; tight bounds inErdos557/Tight.lean.exists_labelGraph_choose_two_le_mul_ncardgives the pigeonhole step (some colour class ofK_mhas at leastbinom(m,2)/kedges);key_ineqturns that into the edge-density hypothesis ofErdos548.erdos_548whenm = k(n-2)+3, which then containsT.multicolourRamsey_le_of_isTreeappliesNat.sInf_le, anderdos_557weakensk(n-2)+3tokn+3. The tight variants use the sharp lemmaErdos548.tree_free_edge_bound(2|E| ≤ (n-2)mwhen the tree is absent) instead of the advertised statement, plus a parity argument for the+1case.82ffb751f3d37768927df9239ed08439bbe0dd09— the same Lean source already recorded for JSP-000439. It is imported unmodified as a Lake dependency; no file of it is copied into this repository.Reproduction
lean-toolchainpath:leanprover/lean4:v4.28.0,lean-toolchainv4.28.0(8f9d9cff6bd728b17a24e163c9402775d9e6a365) andErdos548(82ffb751f3d37768927df9239ed08439bbe0dd09), pinned inlakefile.tomlandlake-manifest.jsonREADME.md#buildinganddocs/verification.mdscripts/check_axioms.leanrunsCollectAxioms(the same information as#print axioms) on every target and fails if anything outsidepropext,Quot.sound,Classical.choiceappears. Output at commit828ad6f, re-run 2026-09-22:No target depends on
sorryAx;grep -rn sorry Erdos557 Erdos557.leanreturns nothing. (Erdos557.erdos_547*are Erdős problem #547, proved by the same reduction; not part of this submission, listed for completeness of the audit.)Pre-submission Lean verification (optional)
v4.28.0, mathlibv4.28.0), not thelean-verifyskill.https://github.com/zhangjun725/erdos557at828ad6fdb5d0f1a72b8dcd812f4c91c285570ff6— identical to the submitted version.lake buildcompletes with no errors or warnings; all targets depend only on the three standard axioms. Limitations: this is the author's own build, not an independent replay; the imported Erdős–Sós proof was not independently re-derived, only rebuilt from its pinned commit; correspondence between the informal problem and the Lean statement is argued above but has not been confirmed by the erdosproblems.com curators.kand all trees onn ≥ 1vertices (the explicit bound uses natural-number subtraction atn = 1;n ≥ 2for the tight variants); Lean checks are a clean build plus the axiom audit; trust dependencies are Lean core, mathlibv4.28.0and the pinnederdos548commit.docs/verification.md(build log, axiom output, reproduction steps). GitHub Actions is unavailable on my account, so the repository's CI workflow has not run; the log is local and reproducible with the commands above.Attribution
formalization.yamlunderautomation, following the mathlib-initiative format.formalization.yaml.Submission checklist
sorry,admitor added unproved assumptions replacing proof steps.