Skip to content
khanukovPublic

About

Partial bounds for Erdos Problem 302, with exact certificates and Lean verification materials. Preliminary and unrefereed.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

An improved upper bound for Erdős Problem 302

Preliminary and unrefereed. Version 0.3.0-preprint is a candidate and is not independently verified by human reviewers. Publication is enabled (PUBLISH_READY=true) and requires the exact release commit to pass all publication checks. The reserved release tag and URL are v0.3.0-corrected-preprint; the URL becomes live only after publication. Zenodo assigns a new immutable version DOI after GitHub ingestion under concept DOI 10.5281/zenodo.21966590.

The earlier two-sided v0.2.0-corrected-preprint is archived as 10.5281/zenodo.22737316. Historical v0.1.1 (10.5281/zenodo.21989077) and v0.1.0 (10.5281/zenodo.21966591) remain unchanged.

Upper bound in the v0.3.0 candidate

The manuscript gives a computer-assisted proof that

$$ \limsup_{N\to\infty}\frac{f_{302}(N)}{N} < 0.830783022367. $$

The English verification guide explains how to check the arithmetic, replay the finite witnesses, and build the Lean project from the pinned checkout or the companion certificate ZIP.

The cold and exterior replay checked proof-source commit 4abf9b466b3e0d920ce918a8a7d7579ed4cf34ae. The cold run regenerated all 3,094,631 positive correction cells, and the expanded cell file matched the recorded SHA-256 digest. The C++17 and Python checks verify the finite witnesses; Lean checks the counting and exact arithmetic, with explicit finite-witness hypotheses at the endpoint. This is not an end-to-end Lean proof of the stronger bound.

The bound is partial progress. It does not determine the density or solve Erdős Problem 302, and no independent human verification or peer review is claimed.

Earlier two-sided results (v0.2.0)

Let (f_{302}(N)) be the largest size of a subset of ({1,\ldots,N}) containing no three distinct integers (a,b,c) with

[ \frac1a=\frac1b+\frac1c. ]

The v0.2.0 preprint gives the partial bounds

[ \exists\delta>0\ \exists N_0\ \forall N\ge N_0:\qquad f_{302}(N)\ge\left(\frac58+\delta\right)N, ]

and

[ \limsup_{N\to\infty}\frac{f_{302}(N)}N \le \frac{140803024}{163562355} \approx 0.860852266403232. ]

The upper result is a computer-assisted proof with a dependency-free exact rational verifier and does not depend on the Della Pietra developments. The lower result is derived using Donald Della Pietra's structured Problem 301 construction; the contribution developed here is the odd-quarter padding lemma that converts that witness into a Problem 302 construction of density strictly greater than (5/8). The required external Lean development is pinned, kernel-checked, and unrefereed. Its proof terms enter the dependency closure rather than the final theorem statement as hypotheses. The ordinary build uses the pinned Mathlib binary cache. Pull request CI performs the source audit, exact-pins build, and axiom comparison; it skips the long full-closure replay. Blocking Verify runs on pushes to main, version tags, and manual dispatch additionally run leanchecker --fresh Erdos302Lower over the complete imported-and-local .olean closure. This kernel-checks the stored proof terms in a fresh environment while structurally trusting .olean serialization. Its transitive axiom report contains only propext, Classical.choice, and Quot.sound. The v0.2.0 manuscript uses a qualitative (\delta); the companion overlay in lower-lean/explicit-overlay additionally proves the weaker explicit choice (1/(86400,\mathrm{commonL})). The constant is astronomically small, and the external developments and this manuscript are unrefereed.

This is partial progress, not a solution of Problem 302.

Prior upper bounds

The official Problem 302 page records van Doorn's direct (9/10) bound. There is also an earlier transferable bound on the official Problem 301 page: van Doorn's five-point configuration

[ {2t,3t,4t,6t,12t} ]

gives (25/28) for Problem 302 as well. This transfer uses only the three two-tail identities inside that configuration,

[ \frac1{2t}=\frac1{3t}+\frac1{6t},\qquad \frac1{3t}=\frac1{4t}+\frac1{12t},\qquad \frac1{4t}=\frac1{6t}+\frac1{12t}. ]

Every one-point deletion of the five-point block leaves at least one of these triples, so a full block forces two omissions; the truncated block ({2t,3t,4t,6t}) forces one via the first identity. Together with the same disjoint-dilate count, these are exactly the ingredients needed for the (25/28) bound. This does not transfer the full all-tail statement of Problem 301 to Problem 302.

Xinjun Wang's May 2026 (667/806) preprint concerns Problem 301 and likewise does not directly upper-bound (f_{302}). Restricting his public (D=\operatorname{Div}(720)\setminus{1}) tile to two-tail edges, while retaining its disjoint multiplier family, does give a valid derived Problem 302 comparison:

[ \frac{2125}{2418}\approx0.8788254756. ]

verify_wang_two_tail_baseline.py checks the finite two-tail edges, exact prefix covers, density arithmetic, and the displayed fraction. Applying Wang's disjoint multiplier family and the asymptotic prefix count is the short human comparison argument in the manuscript; the result is not the theorem stated by Wang. An anonymous public partial proof posted in July 2026 subsequently obtained (373/420). The exact transferable and derived comparison documented here is

[ \frac{140803024}{163562355}<\frac{2125}{2418} <\frac{373}{420}<\frac{25}{28}<\frac9{10}. ]

Verification status of the v0.2.0 bounds

Layer Status
(Q=139{,}708{,}800) finite hierarchical certificate exact standard-library verifier
Derived (D(720)) finite two-tail data and arithmetic exact exhaustive standard-library verifier
Derived (D(720)) multiplier/disjoint-prefix transfer human comparison argument in the manuscript
Upper asymptotic disjoint-block argument Lean-kernel checked
Upper end-to-end Lean formalization complete for the stated 140803024/163562355 eventual upper bound; the exact-main cache-free workflow rebuilt all 80,181 project-local Lean modules from source, checked the 160,362 expected .olean/.ilean outputs, replayed the final declarations, and reproduced the axiom allowlist
Lower analytic input pinned cached .olean closure; full Lean-kernel replay runs on main, tag, and manual Verify events but is skipped on pull requests; the automated publisher accepts only a successful push-to-main run for the exact commit; serialization trusted; unrefereed
Lower local layer structured wrapper, padding, anti-vacuity checks, and formal maximum-(f_{302}) bridge kernel-checked
Full solution of Erdős 302 not claimed

Generated proof data for the upper theorem is guarded by deterministic regeneration, mutation tests, a comment-aware proof-escape scan, exact artifact hashes, and a final #print axioms allowlist in the dedicated high-memory integration workflow.

The lower theorem establishes

[ \exists\delta>0\ \exists N_0\ \forall N\ge N_0:\qquad f_{302}(N)\ge\left(\frac58+\delta\right)N. ]

The lower Lean project defines f302 N as the finite maximum of the cardinalities of triple-free subsets of Finset.Icc 1 N, proves that every such subset has cardinality at most f302 N, and derives the displayed extremal-function statement from the constructed witness. It also verifies directly that ({2,3,6}) and every full interval ending at (N\ge6) are not triple-free, making the statement encoding visibly non-vacuous.

The route takes the qualitative constant (\delta=\operatorname{roughDensity}(L)/48>0) for the fixed cutoff supplied existentially by the upstream proof. No numerical value of (L) or (\delta) is claimed. The exact pre-absorption ledger is

[ |A_N|\ge \left(\frac58+\frac{\operatorname{roughDensity}(L)}{24}\right)N-1. ]

The separately reviewed explicit overlay effectivizes every threshold and defines a closed natural number commonL. It proves, for all sufficiently large (N),

[ f_{302}(N)\ge \left(\frac58+\frac1{86400,\mathrm{commonL}}\right)N, ]

and the corresponding normalized liminf inequality. This is a strict formal improvement over (5/8), but commonL is so large that it is not a practical decimal improvement. See lower-lean/explicit-overlay/README.md.

Verify the v0.2.0 upper bound

The published verify path uses only the Python standard library, exact integers, and fractions.Fraction. It regenerates 719 divisor vertices, 12,675 reciprocal-triple edges, 2,016 embedded base gadgets, and all 14,691 configurations before checking the rational packing.

CI also reconstructs the complete 12,675-edge set by the independent factorisation ((b-a)(c-a)=a^2), requires equality of the two base-edge generators, and pins the exact (Q=3360) checker by SHA-256 before importing its API.

PYTHONDONTWRITEBYTECODE=1 python3 -I -S -O \
  certificates/q139708800/hierarchical_certificate.py verify \
  certificates/q139708800/certificate.json \
  --base-verifier certificates/q3360/exact_certificate.py

Expected final lines:

weighted prefix sum = 3251333/4989600
multiplier density = 23520/110143
forced omission density = 22759331/163562355
verified upper bound = 140803024/163562355
decimal upper bound = 0.860852266403232
configuration sha256 = b6d0d19a51029400cc63e8cca5a4b7e1da99f7d4e6b62a479d5ed92cb8a1eafa

Run the negative tests as well:

PYTHONDONTWRITEBYTECODE=1 python3 -I -S -O scripts/test_upper_mutations.py

They require rejection of thirteen corruption classes: altered, missing, or negative weights; a repeated configuration ID; wrong, missing, or duplicated certificates; a changed threshold ledger, configuration digest, multiplier density, or final bound; a missing generated hierarchical configuration; and a base verifier whose pinned SHA-256 no longer matches.

The original (Q=3360) exhaustive verifier remains in scripts/ as an algorithmically separate cross-check of the 21 base demands used by the hierarchical certificate.

What the Lean files prove

The single statement to read is Erdos302Lower.erdos302_f302_lower_five_eighths_plus, in lower-lean/Erdos302Lower/Maximum.lean. The proof modules Defs.lean, FromErdos301.lean, and Maximum.lean culminate in it; Validate.lean and Axioms.lean are not among its dependencies and provide independent anti-vacuity and axiom-audit checks.

Its type is the wrapper Erdos302MaximumLowerConclusion, which unfolds to

∃ δ : ℝ, 0 < δ ∧ ∃ N₀ : ℕ, ∀ N ≥ N₀, ((5 : ℝ) / 8 + δ) * N ≤ (f302 N : ℝ)

The unfolded statement mentions one project definition, f302. Reading that one in turn requires admissibleSubsets and NoUnitFractionTriple, so three project definitions in total make up the whole vocabulary:

def NoUnitFractionTriple (A : Finset ℕ) : Prop :=
  ∀ a ∈ A, ∀ b ∈ A, ∀ c ∈ A, a ≠ b → a ≠ c → b ≠ c →
    (1 : ℚ) / a ≠ (1 : ℚ) / b + (1 : ℚ) / c

noncomputable def admissibleSubsets (N : ℕ) : Finset (Finset ℕ) :=
  (Finset.Icc 1 N).powerset.filter NoUnitFractionTriple

noncomputable def f302 (N : ℕ) : ℕ :=
  (admissibleSubsets N).sup Finset.card

(admissibleSubsets is written with classical in the source; it is shown here without that wrapper for readability.)

To build it and print its axiom dependencies:

cd lower-lean
lake exe cache get && lake build
lake env lean Erdos302Lower/Axioms.lean

The last command reports the transitive axioms of that theorem, and of the six supporting results, as [propext, Classical.choice, Quot.sound]; CI diffs its output against the committed AXIOMS.txt.

Two independent checks guard against the statement being vacuously true: not_noUnitFractionTriple_236 and full_interval_not_triple_free prove that {2,3,6} and every full interval with N ≥ 6 are not triple-free, so NoUnitFractionTriple is not accidentally an empty or trivial predicate.

What this does not establish. The proof imports Della Pietra's Problem 301 development as checked proof terms rather than as hypotheses, so its axiom report is clean; but the structured bulk construction is unrefereed external work. The original downstream contribution is the odd-quarter padding lemma and its Problem 302 bridge. See dependence on Problem 301 below.

The upper interface theorem is declared in Erdos302.Asymptotic.erdos_302_upper_140803024_163562355, in Erdos302/Asymptotic/Integration.lean. Its exact source type is

theorem erdos_302_upper_140803024_163562355
    (f : ℕ → ℕ) (hf : ∀ N : ℕ, IsMaxNoTripleCard N (f N))
    (epsilon : ℝ) (positivity : 0 < epsilon) :
    ∀ᶠ N : ℕ in (Filter.atTop : Filter ℕ),
      (f N : ℝ) ≤
        ((140803024 : ℝ) / (163562355 : ℝ) + epsilon) * (N : ℝ)

The same file states the concrete extremal-function corollary, with no abstract function or maximality premise:

theorem f302_upper_140803024_163562355
    (epsilon : ℝ) (positivity : 0 < epsilon) :
    ∀ᶠ N : ℕ in (Filter.atTop : Filter ℕ),
      (f302 N : ℝ) ≤
        ((140803024 : ℝ) / (163562355 : ℝ) + epsilon) * (N : ℝ)

The concrete prefix-omission certificate is constructed inside the Lean development; it is not an external hypothesis of this theorem. The proof connects the finite semantics and packing certificates through the omission argument to the asymptotic endpoint. Its transitive axiom report is [propext, Classical.choice, Quot.sound].

Verify the lower bound

The lower source is deliberately isolated from the root Lean 4.27 project. These commands reproduce its exact-pins build, replay into a fresh environment, and axiom report:

PYTHONDONTWRITEBYTECODE=1 python3 -I -S scripts/audit_lower_sources.py
cd lower-lean
lake update
git diff --exit-code -- lake-manifest.json
lake exe cache get
lake build
lake env leanchecker --fresh Erdos302Lower
lake env lean Erdos302Lower/Axioms.lean | tee /tmp/erdos302-axioms.txt
diff -u AXIOMS.txt /tmp/erdos302-axioms.txt

The dependency graph is pinned to:

  • donalddellapietra/erdos-301-proof@789c6f045dbc81da3811031247d186a7128dafce;
  • donalddellapietra/erdos-327-proof@a7201442f71af90a8e7b930f993c8eec69f685cf;
  • teorth/mathlib4@da1f94df976c7cd38117281c57d6ee3046c8d104;
  • leanprover/lean4:v4.33.0-rc1.

The local source contains no sorry, admit, project-local axiom, opaque, unsafe, or native_decide. Every lower CI path reproduces the axiom report limited to the ordinary Mathlib foundations propext, Classical.choice, and Quot.sound. The blocking main, tag, and manual paths additionally fresh-replay the stored dependency closure; pull requests skip that long step. The source audit itself is only a lexical guard over the six project-owned lower files.

See lower-bound provenance and the trust boundary before reusing or citing the lower route. At the pinned revisions, the upstream repositories provide no license file; this repository pins them as external dependencies and does not vendor their source.

Dependence on Problem 301

The lower bound is not self-contained, and the distinction between its formal and its mathematical status matters.

In Lean, Della Pietra's Problem 301 result is imported as a checked proof term, not assumed as a hypothesis, so no project-local hypothesis appears in the statement and the transitive axiom report contains only propext, Classical.choice, and Quot.sound.

Mathematically, the structured input depends on that external work. The chain is

this repository's 5/8 + δ
  └── donalddellapietra/erdos-301-proof   (unrefereed)
        └── donalddellapietra/erdos-327-proof   (unrefereed)
              └── standard analytic estimates in the literature

A clean axiom report means the Lean kernel accepted the proof terms at the pinned revisions. It does not mean the upstream mathematics has been reviewed by anyone. Any defect in the upstream formal statement, in its correspondence to the intended Problem 301 claim, or in the trusted pinned toolchain and serialized inputs would propagate directly to the lower bound in this repository.

The odd-quarter padding argument, which is the part of the lower bound original to this work, remains valid on its own terms: it is the implication that adding the odd quarter to a structured carrier creates no new triple. What it cannot do without the upstream construction is deliver the (5/8+\delta) conclusion, because the padding contributes only N/8 - O(1) elements to a set whose (1/2 + ρ_L/24)N bulk comes entirely from upstream.

The upper bound has no such dependency: it rests on the exact certificate and the asymptotic argument in the manuscript, both self-contained.

As of 15 August 2026 the pinned Problem 327 base carries an open upstream pull request, which corrects manuscript and finite-certificate exposition only and changes no Lean file; see trust boundary.

Licensing

Original software, verification artifacts, certificates, and non-manuscript documentation are MIT-licensed. Original manuscript material is licensed under CC BY 4.0. See LICENSE_SCOPE.md for the path-specific rules and third-party exclusions.

These licenses do not cover the externally fetched #301, #327, or teorth/mathlib4 sources, cited works, or other third-party material. They also do not imply independent human review or peer-reviewed publication.

The lower-claim restoration checklist records the promotion gate that was applied after the first green exact-pins run.

Run all checks

scripts/verify_all.sh

The SciPy/HiGHS regression cross-check is outside the proof boundary. Run it as an additional layer with RUN_MILP_CROSSCHECK=1 scripts/verify_all.sh after installing requirements-crosscheck.txt.

The v0.3.0 manuscript source is Erdos302_0830783022367.tex. The v0.2.0 manuscript source remains paper/erdos302_two_sided.tex. Pull-request CI may produce development PDF and bundle artifacts after the PR-scoped checks pass; those artifacts do not include fresh-replay evidence and are not authoritative release candidates. The automated publisher accepts a release PDF and bundle only from a successful push-triggered Verify run on main for the exact commit, including the full lower closure replay. Tag-triggered and manual runs also execute that replay, but provide only additional evidence and are not authoritative publisher inputs. The historical paper/erdos302_upper_bound.tex is retained only to document the earlier (Q=3360) stage; it is no longer the headline result.

For the complete command ledger and audit status, see REPRODUCIBILITY.md and the independent-review checklist. Citation metadata is provided in CITATION.cff.

Preliminary release policy

A tagged GitHub/Zenodo release and an arXiv preprint may be published before independent human review to establish a public timestamp, provided that:

  1. every proof-boundary CI job passes in a push-triggered main Verify run on the exact released commit;
  2. the manuscript and release are explicitly labelled preliminary and unrefereed;
  3. AI assistance, external dependencies, licensing, and trust boundaries remain disclosed; and
  4. neither the release nor its announcement claims independent verification, peer review, or a solution of Erdős Problem 302.

The reproducible bundle and operator checklist are documented in PREPRINT_RELEASE.md. The checked-in release notes, arXiv metadata, reviewer email, and public announcement are under release/.

Scientific validation policy

A named independent human mathematical review, or a complete end-to-end formalization of every released claim, is required before posting the result to the Erdős Problems forum or describing it as independently verified. Referee corrections may be made in a versioned follow-up release and arXiv replacement; earlier public versions remain part of the scientific record.

Scope and disclosure

The v0.2.0 finite upper packing was discovered with AI-assisted search. Its finite acceptance depends only on the committed exact certificate and verifier, not on the floating-point solver used during discovery. The finite semantics, packing certificates, omission argument, and asymptotic endpoint are connected in the Lean proof. For exact main commit 015d376e432040a2a71c7a5689c2fd238779ac2c, the cache-free full-project workflow rebuilt all 80,181 committed project-local Lean modules from source, required the exact 160,362 .olean/.ilean output inventory, replayed the final declarations, and reproduced the axiom allowlist; see run 34676374033. The Lean kernel/toolchain, operating system and hardware, and Mathlib remain disclosed trusted boundaries. AI systems assisted with code generation, proof audits, and Lean formalization. The external #301/#327 work and the present manuscript are unrefereed. Repository merge is an engineering integration event: a fully green commit may be merged while remaining explicitly unrefereed, with any referee corrections made in follow-up pull requests. A preliminary GitHub/Zenodo/arXiv release and a carefully qualified public announcement are permitted under the policy above. Posting to the Erdős Problems forum and using the phrase “independently verified” remain gated on named human review or complete end-to-end formalization.

About

Partial bounds for Erdos Problem 302, with exact certificates and Lean verification materials. Preliminary and unrefereed.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages