Skip to content

Heilbronn-triangle: three pre-build questions (profile range & stepping stones, comparator layout for a ~240-file proof tree, huge-rational target form) #105

Closed

Description

@darkhipo

I'm preparing Lean submissions for the Heilbronn-triangle board against the
trusted statement from #20 (BigOSpeedrun.HeilbronnTriangle.Bound, frozen OAI
Problem355 definitions), and I'd like to pre-build against the right targets
before the profile lands. Three questions:

1. Profile range and stepping-stone rows. The README argues the meaningful
range is 0 ≤ η ≤ 5/6. Will the profile's range be that (or wider)? And per
the 2026-11-02 records ruling (8cf5db1) — with no Lean Verified row yet, every
bound in the profile range runs, and the best Lean Verified row is listed even
when it is worse than the classic bound — can I confirm that a Lean Verified row
below the OpenAI baseline exponent is listed as a stepping stone? Concretely:
η = 0 (the statement package's own bound_zero), and later the comparator
exponent η₀ = 1/(100000·K) ≈ 7·10⁻²³⁷ obtained by extending OpenAI's existing
proof tree with the §8 interpolation argument (Bertrand prime choice +
deletion to exact n). Both are below the Claimed baseline 2/(45435K+16); both
would be Lean Verified. Is that the intended reading?

2. Comparator layout binding + a ~240-file submission tree. The statement
README leaves it to the maintainer whether submissions copy
Statement.lean/Definitions.lean under Submission/ (imports adjusted) or
the profile stages challenges/heilbronn-triangle/ next to the submission.
Which will the target generator bind? Submitters must pre-build import paths
now. (I've pre-built the copy-into-Submission/ variant, and also keep a
byte-exact OAI/Geometry/HeilbronnTriangle/Definitions.lean at the original
module path so either layout is a packaging-time choice.) Related: a full port
of openai/math's lean/OAI/Geometry/HeilbronnTriangle/ tree is 243 modules
(~1.6 MB of Lean, Mathlib-only external imports, on exactly the board pins
v4.34.1 + d13f23b — verified, builds green locally in ~5 minutes warm-cached).
Will a tree of that size pass the Comparator kernel check, nanoda, and the
axiom audit within CI budget, or should large submissions be pre-trimmed to
the modules reachable from the entry theorem? Catalan's split-build note in
docs/targets.md suggests large proofs are anticipated — does Heilbronn get the
same treatment?

3. Huge-rational target form. Has the rational target generator been
exercised with a ~237-digit denominator like 100000·K (K = T²+1, 232 digits)?
Two sub-questions: (a) exact form the controller substitutes for such an η —
Bound ((1 : ℚ) / <literal>) reduced, per the targets.md ((p : ℚ) / q)
convention? (b) since upstream marks heilbronnK @[irreducible], a proof
can't unfold K to a numeral; the sane route is bounding K symbolically
(K ≤ L for an explicit literal L, via heilbronnT = choose heilbronnM 3 ≤ heilbronnM³) and filing η₀ = 1/(100000·L) ≤ heilbronnExponent — i.e. the
filed rational is slightly below the paper's exact exponent. Is a
symbolic-bound η₀ acceptable for the row (it's the same ~10⁻²³⁷ scale), or do
you expect the exact 1/(100000·K) value with K's numeral computed out-of-band
and certified? For what it's worth, local timing shows 237-digit literals add
<1s to elaboration and norm_num reduction, so the mechanics look fine either
way.

Happy to file the η = 0 vacuity-row smoke first (analogous to the subset-sum
#94 pattern) the moment the profile exists. Thanks for the statement work —
the frozen-definitions + parameterized-adapter split is a pleasure to build
against.

Activity

  1. nmamano commented on Nov 3, 2026

    @nmamano
    Contributor

    This is an agent for Nil (BOS Integrations), writing for Big O Speedrun.

    @darkhipo thank you for the detailed questions. The Heilbronn statement from #20 is on main, but the verifier has no Heilbronn profile yet, and the route is not open. We will open it with the same steps as Catalan, Subset Sum and Snaky: a self-contained verifier statement, a closed profile, a maintainer smoke, then the open route. We will write here when it is ready. Please do not open a submission issue before then. Answers, as far as we can give them now:

    (1) Range and stepping stones. The range will be 0 < η ≤ 5/6. The form refuses η = 0: it is the vacuous bound, and the statement package already proves it (bound_zero). Every positive bound in the range runs while it matches or beats the best Lean Verified bound on the row, and the best Lean Verified bound is listed even below the baseline. In practice no filed row can be below the baseline: every bound that the form takes is far above it, and (3) explains why.

    (2) Layout and size. We plan one self-contained statement file, as for Snaky: the frozen OAI.Problem355 definitions and BigOSpeedrun.HeilbronnTriangle.Bound in one file that imports only Mathlib. Your Submission/ copies it byte for byte and imports it. The module path OAI.Geometry.HeilbronnTriangle.Definitions will not be staged next to the submission, so a port of OpenAI's tree must change those imports. Comparator compares every definition that the theorem uses, so the definitions must stay as they are. We will post the exact path when the file is on main. A tree of 243 modules and about 1.6 MB is well inside the source limits (20 MB per file, 150 MB in total). You do not have to remove modules that the entry theorem does not use. We decide between one job and the split build after the smoke.

    (3) Large rationals. At this time the form takes at most 40 digits in each integer of the bound, so a 237-digit denominator is refused before any run. Any rational that fits in 40 digits is much larger than 10^-236, so 1/(100000·K) and nearby values cannot be filed now. We will tell you if this limit changes. On (a): for a bound p/q, the target will be Bound ((p : ℚ) / q) with the reduced fraction, as for Catalan. On (b): the verifier checks exactly the rational that you file. Bound is monotone, so a filed value below the exact exponent is acceptable, and the row shows the filed value.

  2. nmamano commented on Nov 3, 2026

    @nmamano
    Contributor

    This is an agent for Nil (BOS Integrations), writing for Big O Speedrun.

    @darkhipo the Heilbronn route is open now (issue route only). You can file a submission with the submission form and the problem heilbronn-triangle.

    • Statement: challenges/heilbronn-triangle/VerifierStatement.lean. It is OpenAI's Definitions.lean byte for byte, followed by BigOSpeedrun.HeilbronnTriangle.Bound. Its only import is Mathlib. Copy it byte for byte below Submission/ (for example Submission/HeilbronnStatement.lean) and import it from your proof modules. The verifier does not stage OAI.Geometry.HeilbronnTriangle.Definitions.
    • Target: for a reduced bound p/q with 0 < p/q ≤ 5/6, export theorem Race.bound : BigOSpeedrun.HeilbronnTriangle.Bound ((p : ℚ) / q) from Submission.lean. The form refuses 0. Each integer of the bound can have at most 40 digits.
    • Toolchain: Lean v4.34.1 and Mathlib d13f23b, the pins that you use. The proof builds with autoImplicit = false, and only propext, Classical.choice and Quot.sound are permitted.
    • Jobs: one job, not the split build. Our own smoke (the bound 0 from bound_zero, a maintainer test only) took 7 minutes. Verification stops at a 320-minute total deadline (docs/execution.md); a larger tree takes longer.
    • Gate: the row has no Lean Verified result yet, so every positive bound in the range runs. After the first one, a run starts only if its bound matches or beats the best Lean Verified bound on the row.

    The full guide is in the Heilbronn section of docs/targets.md. A passing result appears as Lean Verified on the Heilbronn triangle row.

  3. darkhipo commented on Nov 3, 2026

    @darkhipo
    ContributorAuthor

    One evidence-backed follow-up on the 40-digit limit (then we go quiet until you announce a change):

    We have a complete, machine-checked positive-η proof for this board, blocked only by the form's digit cap. Stage B: Bound (1/10^237) — the comparator exponent η₀ = 1/(100000·K), K = T²+1 (T = choose 163 41, 232 digits) — proven end-to-end on your exact pins (Lean v4.34.1 + Mathlib d13f23b): OpenAI's full 243-module HeilbronnTriangle tree ported with imports rewritten (definitions byte-unchanged, ready to re-base onto your VerifierStatement.lean), plus a §8-interpolation bridge (two-sided sampleCard cardinality bounds with α = 45435k+16 matching the baseline exponent, Bertrand-prime selection, deletion to exact n, K kept symbolically opaque via K ≤ 10^232). Zero sorry; axioms exactly [propext, Classical.choice, Quot.sound]; one-job build in the 320-minute envelope on our hardware.

    The mechanics of huge rationals are measurably cheap (this is the part the form cap may be over-guarding): local timings show the 238-digit reduced-literal target form — Bound ((1 : ℚ) / <237-digit literal>) including norm_num gcd reduction and the literal-vs-symbolic-K comparison — elaborates within +0.8 s of the import baseline. The literal appears only in the filed η; the proof treats K opaquely throughout.

    The ask: would you consider raising the per-integer digit cap (any bound ≥ 240 digits admits this row), or telling us what comparator/nanoda/display constraint motivates it so we can smoke-test against it? We're glad to run our tree through any harness you specify, the way the snaky smoke went.

    Honest framing of the value: η₀ ≈ 7·10⁻²³⁷ sits ~229 orders below the Chen claimed row (1.98·10⁻⁸) — this is not a ladder climb. It would be the first machine-verified positive η on the board: a verified anchor proving the Δ(n) ≥ c·n^(−2+η) shape is attainable at all, in exactly the stepping-stone sense of the records ruling, and a pipeline proof that the OpenAI comparator tree extends to board form. If the cap stays for good reasons, we'll keep the artifact frozen-ready and wait for the Chen-line mathematics — no further pestering either way.

    (Also confirming we read the open-route announcement: no submission issue from us until a filable bound exists. Thanks for the byte-exact statement spec — the port already matches it.)

  4. nmamano commented on Nov 3, 2026

    @nmamano
    Contributor

    This is an agent for Nil (BOS Integrations), writing for Big O Speedrun.

    @darkhipo thank you for the clear numbers. We changed the limit: a heilbronn-triangle bound can now have up to 300 digits in each integer. The other problems keep 40. The limit was 40 because no earlier bound needed more (the longest needed 19 digits). A Heilbronn bound with a full proof can be a very small number (yours is near 10^-237), so this row needs more.

    To file η₀ = 1/(100000·K):

    • Use the submission form with the problem heilbronn-triangle and the bound as one reduced fraction of digits, 1/<237-digit integer>. Do not use a power or a product.
    • Submission.lean exports theorem Race.bound : BigOSpeedrun.HeilbronnTriangle.Bound ((1 : ℚ) / <same integer>). If your proof is about another form of the same number, your proof must also show that the two are equal. To file a smaller bound instead, copy the lemma bound_mono from Validation.lean into your own tree (it is not in the trusted statement). Then it is one line.

    The row has no Lean Verified result yet, so the run starts. If it passes, it is listed as a Lean Verified stepping stone. It ranks below the Claimed rows, which have larger savings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions