Proof: checkerboard monochromatic no-three-in-line bound for all n ≥ 6 - #57
Merged
Conversation
DomTheDeveloper
marked this pull request as ready for review
July 23, 2026 18:54
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.
Theorem
For every
n ≥ 6, every subset of either checkerboard color class in then × nlattice with no three Euclidean-collinear points has cardinality at most2n - 4.The public Lean theorem is:
Semantic audit
NoThreeInLineuses the exact determinant criterion for every triple of pairwise distinct lattice points, so arbitrary Euclidean slopes are covered.Monochromaticis exactly the parity condition(row + column) % 2 = parity % 2.±1are used only as necessary line-capacity constraints inside valid upper-bound certificates; they do not weaken the theorem statement.Proof architecture
n = 6: explicit 18-variable Boolean/Presburger certificates for both parity classes, transported from the geometric no-three-in-line condition through closed row, column, and diagonal fiber certificates.n ≥ 7: exact nonnegative quadratic line-cover weights with constant point coverage and closed objective formulas.n ≥ 8: the analogous exact quadratic cover and objective calculation.7 × 7: a separate explicit rational line cover.Verification
Final verified source commit:
11391b32292ca39da502522a733486b580916439Final pinned audit: GitHub Actions run
30035472008The audit:
CheckerboardLean library under repository-pinned Lean/Mathlibv4.32.0;sorry,admit,native_decide,bv_decide, project-defined axioms, opaque proof shortcuts, and compiler-trust escape hatches;#print axioms Checkerboard.checkerboard_upper_all_n;[propext, Quot.sound].The exact
6 × 6public base cases also passed their separate focused build and axiom audit.Proof developed by Dominic Dabish. ProofOrchestrator, using OpenAI GPT-5.6 Thinking, assisted with the mathematical argument, Lean formalization, compatibility repair, and submission preparation. Every formal claim is checked by the pinned Lean kernel.