A Lean 4 formalization of exact values and structural properties of sunflower-free families.
| Result | Status | Method |
|---|---|---|
| M(1,3) = 2 | Verified | native_decide |
| M(2,3) = 3 | Verified | native_decide |
| M(3,3) = 5 | Verified | native_decide |
| M(4,3) = 8 | Verified | native_decide |
| M(5,3) = 12 | Verified | SAT + LRAT bridge |
| M(6,3) = 19 | Verified | SAT + LRAT bridge |
| M(7,3) = 29 | SAT-certified | UNSAT at 30; Lean statement has one sorry due LRAT size |
M(n,3) is the maximum size of a 3-sunflower-free family on [n] in this repository's non-uniform convention.
- Erdős Problem #20 (
ErdosProblem20.lean) — uniform sunflower route,f(r,3) ≤ C^r. Framework and finite-rcomponents are formalized; global bound remains open.
- Development in this repository includes AI-assisted ideation, drafting, and proof-attempt generation.
- Public claims are accepted only after local verification:
- Lean claims must typecheck under the Lean kernel.
- SAT-backed claims must have reproducible local certificate checks.
- Model output is treated as candidate reasoning, not trusted evidence.
- See
AI_DISCLOSURE.mdfor the full disclosure text.
lake exe cache get # download Mathlib cache (fast)
lake build # build everything (~4 min first time)| File | Contents |
|---|---|
Basic.lean |
Core definitions: IsSunflower, IsSunflowerFree, IsSFreeC |
SmallCases.lean |
Exact values for n=1..4, plus witness lower bounds including n=5..7 |
SATBridge.lean |
Sorry-free LRAT bridge theorems for n=5 (253KB) and n=6 (26MB) |
SATUpperBound.lean |
Exact values M(5,3)=12, M(6,3)=19; SAT-certified M(7,3)=29 status |
BalanceCore.lean |
Foundational balance definitions and Local Turan bridge layer |
PairWeight.lean |
Pair-weight counting machinery (public aggregator module) |
UnionBounds.lean |
Union-size bound layer and transfer theorems |
ErdosProblem20.lean |
Erdős Problem #20 framework and base cases |
Provenance.lean |
In-code provenance and verification-boundary declarations |
AI_DISCLOSURE.md |
Public disclosure of AI assistance and acceptance criteria |
- Exact values
M(n,3)forn ≤ 6are fully sorry-free in this model. M(7,3)=29is SAT-certified; Lean-level ingestion of the full LRAT artifact is currently size-limited.ErdosProblem20.leanand parts of the balance program still contain opensorrystubs.
Cody Mitchell