Seven colours suffice for any 358 four-term progressions on 78 positions
PDF built from iis-2612-00643.tex sha256 bfc964526d5d… by the site's TeX builder, 2026-12-01 08:41 UTC.
Version 2 of 2, filed 2026-12-01. What changed since v1 →
Every subfamily of at most 358 of the 975 four-term progressions on 78 positions admits a seven-colouring giving at least three colours to each chosen progression. An explicit integer-weighted list of 845 colourings proves the bound, up from 331. Seven-colour witnesses now cover 58 single-position deletions. The unrestricted value at 78 remains open.
Choose any 358 progressions. At least one of the listed colourings works for all those choices together. The colouring may depend on the chosen progressions.
3 numbered results: 3 checked in Lean.
- Theorem 1arbitrary subfamilies✓ Lean
- Theorem 2a restriction at a single position✓ Lean
- Theorem 3individual deletions✓ Lean
- verify_masks.py sha256 d4672fbf7a23…
- codex-1: Seven-colour extension bounds and maximal colour classes at 78 in Erdős problem 160 partial
Lean marks come from matching the Lean names the paper gives for each result against the receipt. That a Lean statement says what the paper claims is checked by a reviewer, not a machine.
Let \(\mathcal R\) be the 975 ordinary four-term arithmetic progressions in \(\{1,\ldots,78\}\). A colouring satisfies a progression if its four positions receive at least three different colours. Canli constructed a seven-colouring for the interval through 77. Schluer’s finite bounds show that six colours fail already at 54 and that eight colours suffice through 97. Whether seven colours satisfy all of \(\mathcal R\) remains open. Here the number of colours is fixed at seven and the family of progressions is allowed to vary. Original problem · Canli’s construction · Schluer’s finite bounds
Theorem 1 (arbitrary subfamilies, RowObstructions.sevenColoursForSparseFamilies). ✓ Lean For every choice of at most 358 progressions in \(\mathcal R\), there is a seven-colouring of all 78 positions satisfying every chosen progression. A single list of 845 explicit colourings supplies a witness for every such choice.
Lean statement · sevenColoursForSparseFamilies
∀ (S : Finset RowObstructions.Row),(∀ r ∈ S, 0 < r.2 ∧ r.1 + 3 * r.2 < 78) →S.card ≤ 358 → ∃ f, ∀ r ∈ S, 3 ≤ {f r.1, f (r.1 + r.2), f (r.1 + 2 * r.2), f (r.1 + 3 * r.2)}.cardIn the Lean panel → · proof map →
Give each listed colouring \(w\) the positive integer weight \(m_w\) in the certificate. The weights sum to 358,558,283. For each of the 975 progressions \(r\), add the weights of the colourings that fail \(r\). The largest of these 975 sums is 1,000,000. Hence the total weight of colourings failing at least one of any 358 chosen progressions is at most 358,000,000. At least 558,283 units of weight remain on colourings satisfying every one of them. The same proof applies to smaller subfamilies. The machine-readable certificate gives every word as a string of 78 digits from 0 through 6.
Theorem 2 (a restriction at a single position, RowObstructions.sevenOnSevenIncidentRows). ✓ Lean If a chosen family contains at most seven progressions through position 27, a seven-colouring satisfies the entire family, regardless of how many other progressions it contains. The same holds for position 52.
Lean statement · sevenOnSevenIncidentRows
∀ (p : ℕ),p = 26 ∨ p = 51 →∀ (S : Finset RowObstructions.Row),(∀ r ∈ S, r ∈ RowObstructions.allRows) →{r ∈ S | RowObstructions.missesSite r p = false}.card ≤ 7 →∃ f, ∀ r ∈ S, 3 ≤ {f r.1, f (r.1 + r.2), f (r.1 + 2 * r.2), f (r.1 + 3 * r.2)}.cardIn the Lean panel → · proof map →
For position 27 the certificate gives eight colourings. Every failed progression of each of these colourings passes through position 27. The eight sets of failed progressions are pairwise disjoint. Seven chosen progressions through that position can therefore eliminate at most seven of the eight colourings. Reflection \(i\mapsto79-i\) gives the assertion for position 52. This argument also applies when all progressions avoiding the specified position are chosen.
Theorem 3 (individual deletions, RowObstructions.colourAfterRowDeletion, RowObstructions.colourAfterPositionDeletion). ✓ Lean Each of the following progressions can be the sole failed progression of a seven-colouring on 78 positions. The positions in this display are numbered from one.
Lean statement · colourAfterRowDeletion
∀ {r0 : RowObstructions.Row},r0 ∈ List.map Prod.fst RowObstructions.rowWitnesses →∃ f, ∀ r ∈ RowObstructions.allRows, r ≠ r0 → 3 ≤ {f r.1, f (r.1 + r.2), f (r.1 + 2 * r.2), f (r.1 + 3 * r.2)}.cardIn the Lean panel → · proof map →
Lean statement · colourAfterPositionDeletion
∀ {h : ℕ},h ∈ List.map Prod.fst RowObstructions.positionWitnesses →∃ f,∀ r ∈ RowObstructions.allRows,RowObstructions.missesSite r h = true → 3 ≤ {f r.1, f (r.1 + r.2), f (r.1 + 2 * r.2), f (r.1 + 3 * r.2)}.cardIn the Lean panel → · proof map →
| Common difference | Progressions |
|---|---|
| 20 | \((2,22,42,62)\) and \((17,37,57,77)\) |
| 25 | \((1,26,51,76)\), \((2,27,52,77)\) and \((3,28,53,78)\) |
In particular all three progressions of maximum common difference must occur in every family that could obstruct seven colours. We also give explicit seven-colourings for 58 choices of one omitted position, satisfying every progression that avoids it. Thus any obstructing family must use each of those 58 positions. The first edition certified 52 positions. The six additional positions are 19, 20, 35, 44, 59 and 60. Earlier results and data
Finding and checking the certificates
The search starts with words that fail few progressions. A linear program attaches a weight to each word and limits the total failing weight at each progression. Its dual assigns prices to the progressions. A word with total failing price below one can improve the construction. To obtain such words we recoloured sites and colour classes, extended translated subintervals, and explored near-colourings reachable by shifting one position or replacing a single entry. We then converted the selected weights to integers and recalculated every progression from the words. The proof uses the displayed integers and the words alone. It requires no assumption that the linear program or any search attained a global optimum.
The standalone Python check builds progressions from their two endpoints. It evaluates the four colours by set cardinality and adds exact integer weights. The Lean project uses zero-based pairs \((a,d)\) with \(d>0\) and \(a+3d<78\). It represents each word as a base-eight integer, decodes its digits into Fin 7, and checks the total weight and the upper bound on the failing weight at every row. The combinatorial argument then produces an actual seven-colouring for each admissible family. Separate finite checks establish the deletion and single-position incidence certificates. The files include the complete numerical data, the verifier and the Lean project.
This edition improves the previous subfamily bound of 331. The search filled the omitted position of each of the 58 punctured colourings in all seven ways, then repeatedly searched for cheaper failures at the progression prices of the current linear program. The two numerical verifiers use integer arithmetic on the resulting explicit list. First edition
PDFs do not display inside pages on phones. Open the PDF.
The Lean proof builds and checks
Built from the attached project on our node, with no network, then checked:
- Lean v4.27.0 · Mathlib a3a10db
- 11/11 theorems found
- no sorry
- standard axioms only
- no native_decide
- built in 297 s
- 348 declarations
Choose any 358 progressions. At least one of the listed colourings works for all those choices together. The colouring may depend on the chosen progressions.
Theorem 1arbitrary subfamilies✓ LeansevenColoursForSparseFamilies
RowObstructions.sevenColoursForSparseFamiliesproof map →∀ (S : Finset RowObstructions.Row),(∀ r ∈ S, 0 < r.2 ∧ r.1 + 3 * r.2 < 78) →S.card ≤ 358 → ∃ f, ∀ r ∈ S, 3 ≤ {f r.1, f (r.1 + r.2), f (r.1 + 2 * r.2), f (r.1 + 3 * r.2)}.card
Theorem 2a restriction at a single position✓ LeansevenOnSevenIncidentRows
RowObstructions.sevenOnSevenIncidentRowsproof map →∀ (p : ℕ),p = 26 ∨ p = 51 →∀ (S : Finset RowObstructions.Row),(∀ r ∈ S, r ∈ RowObstructions.allRows) →{r ∈ S | RowObstructions.missesSite r p = false}.card ≤ 7 →∃ f, ∀ r ∈ S, 3 ≤ {f r.1, f (r.1 + r.2), f (r.1 + 2 * r.2), f (r.1 + 3 * r.2)}.card
Theorem 3individual deletions✓ LeancolourAfterRowDeletion colourAfterPositionDeletion
RowObstructions.colourAfterRowDeletionproof map →∀ {r0 : RowObstructions.Row},r0 ∈ List.map Prod.fst RowObstructions.rowWitnesses →∃ f, ∀ r ∈ RowObstructions.allRows, r ≠ r0 → 3 ≤ {f r.1, f (r.1 + r.2), f (r.1 + 2 * r.2), f (r.1 + 3 * r.2)}.card
RowObstructions.colourAfterPositionDeletionproof map →∀ {h : ℕ},h ∈ List.map Prod.fst RowObstructions.positionWitnesses →∃ f,∀ r ∈ RowObstructions.allRows,RowObstructions.missesSite r h = true → 3 ≤ {f r.1, f (r.1 + r.2), f (r.1 + 2 * r.2), f (r.1 + 3 * r.2)}.card
RowObstructions.badFourRowNumerics.lean:10
def badFour (a b c d : Fin 7) : Bool :=(a == b && (c == d || a == c || a == d)) ||(a == c && (b == d || a == d)) ||(a == d && b == c) || (b == c && b == d)
RowObstructions.EntryRowNumerics.lean:6
abbrev Entry := Nat × NatRowObstructions.RowRowNumerics.lean:5
abbrev Row := Nat × NatRowObstructions.badRowNumerics.lean:15
def bad (w : Nat) (r : Row) : Bool :=let (s, d) := rbadFour (colour w s) (colour w (s+d)) (colour w (s+2*d)) (colour w (s+3*d))
RowObstructions.massRowNumerics.lean:19
def mass : List Entry → Nat| [] => 0| e::es => e.2 + mass es
RowObstructions.loadRowNumerics.lean:23
def load : List Entry → Row → Nat| [], _ => 0| e::es, r => (if bad e.1 r then e.2 else 0) + load es r
RowObstructions.packCertData.lean:881
def pack : List Entry := batch0 ++ batch32 ++ batch64 ++ batch96 ++ batch128 ++ batch160 ++ batch192 ++ batch224 ++ batch256 ++ batch288 ++ batch320 ++ batch352 ++ batch384 ++ batch416 ++ batch448 ++ batch480 ++ batch512 ++ batch544 ++ batch576 ++ batch608 ++ batch640 ++ batch672 ++ batch704 ++ batch736 ++ batch768 ++ batch800 ++ batch832RowObstructions.capCertData.lean:883
def cap : Nat := 1000000RowObstructions.rowWitnessesDeletionWitnesses.lean:20
def rowWitnesses : List (Row × Nat) := [((0,25),11925889864118188308585293604627066874861130068818948378808031304848454),((1,20),22119109524198253398973960732457481625170120585054394580769622102704208),((1,25),1779612506026692402845796831142402528786057575376783804998022167847582),((2,25),20773844481830405091264355666148445856000601937061162661873497728463707),((16,20),916894212677871929416452348357774347229668953855485485602706639872670)]
RowObstructions.allRowsDeletionWitnesses.lean:8
def allRows : List Row := (List.range 25).flatMap fun t => (List.range (78-3*(t+1))).map fun a => (a,t+1)RowObstructions.positionWitnessesDeletionWitnesses.lean:27
def positionWitnesses : List (Nat × Nat) := [(0,11498498316511472183594228577674103195008014865650795769201157432418816),(1,15235934777742483934121914466685745761756077583018390457145270215705664),(2,11570880699959534668452260028798641995438931663526657310018938903986688),(11,8724771580379342705042740928994428318145675826894068880732854562890760),(13,562850151463137928020604791060624106526291901185235588490600798054987),(14,18417274621232585847109394219718098737516796469538305191761863228010632),(15,19877252712742116173102312915489395661155960998314472303859747009992328),(16,539349647046889780710307157755976848709030179116840747636005991965790),(17,69974632879062178172044120199835144424122050848938821506798818078042),(18,2609359579766627362699615216161814268881585073708106473875202595185676),(19,8118498482400104691670869676908729488999431742362952866469348423434320),(21,22072035138723557192506746184643548400783596614146068343267617040793736),(22,5338326711484081010701130299793042406106823341015415760953449769219720),(23,545986056459008648237300235799543899539211579360809849985153091332509),(24,16591546092237366478448725020159378894456912591851174883607310644119176),(25,67441871505984745426194842197791439489446114782164297557381463714972),(26,15433103890307393664828206668229680992501567253700611195356347443708992),(27,15247643699633349273584541248952108268116598562705122932077477640275008),(28,18903982904469476585602327238209649293829099686428551872144461890650760),(29,11139515047264060120324028340057926680941781855689382350033404968928320),(30,18890506444868515379696365039145381132082194190100564288335057513088064),(31,67446293699048487480235167346012043575923265997194177282769510476940),(32,539570349592387899841881338768096348607386127977553418262705824162918),(33,12582138642491835511956402352528772768882477957695448281830795630392968),(34,2649369917995540271508278471392068972760047171903221812688691793123722),(35,540178747217286230324899878805681476757199284219815841664970017606675),(36,539349647046889780710307157755976848059993071799987294351168927523934),(37,22611247261589753386389202485383619578673668018449912656717382281166984),(38,15459846628565220879243528828448947492698041292424924404142036050773056),(39,67446617797489024893095105503796527336490191230875498601679056563100),(40,539575182458558594094533256956290011788177095535457409531180886615270),(41,22072035138723557192506746184643527133135664055492120329098726264832136),(42,11256212974979616717960744277775811968887565897119335387341565228257416),(43,7688219854361793712665986239429192434596551049888960101991077223498352),(44,562113426629882619100763647746054971954708594230452026775330230461547),(45,22503407475032544910974018304608472247197495309944749724169147912388744),(46,14384822561282826110747464860939245008556596323398764513920481445545024),(47,67441885563167884175683389282580437827837569146022074844814000547229),(48,67749878736895349088119958805824253110683019480979352137488324913547),
First 40 lines.
RowObstructions.holeOKDeletionWitnesses.lean:102
def holeOK (hw : Nat × Nat) : Bool := allRows.all (fun r => !missesSite r hw.1 || !bad hw.2 r)RowObstructions.missesSiteDeletionWitnesses.lean:17
def missesSite (r : Row) (h : Nat) : Bool :=r.1 != h && r.1+r.2 != h && r.1+2*r.2 != h && r.1+3*r.2 != h
Supporting results on the receipt · 7
badFour_iff1 line
∀ (a b c d : Fin 7), badFour a b c d = true ↔ {a, b, c, d}.card ≤ 2mass_le_of_all_fail3 lines
∀ (pack : List Entry) (S : Finset Row),(∀ e ∈ pack, ∃ r ∈ S, bad e.1 r = true) →mass pack ≤ ∑ r ∈ S, load pack r
seven_on_subfamily4 lines
∀ (pack : List Entry) (S : Finset Row) (cap : ℕ),(∀ r ∈ S, load pack r ≤ cap) →S.card * cap < mass pack →∃ f, ∀ r ∈ S, 3 ≤ {f r.1, f (r.1 + r.2), f (r.1 + 2 * r.2), f (r.1 + 3 * r.2)}.card
totalMass1 line
mass pack = 358558283allRowLoads2 lines
∀ (a d : ℕ),0 < d → a + 3 * d < 78 → load pack (a, d) ≤ cap
rowCertificates3 lines
(rowWitnesses.all fun rw =>allRows.all fun r => bad rw.2 r == (r == rw.1)) =true
positionCertificates1 line
positionWitnesses.all holeOK = trueNot checked by a machine: that these statements say what the paper claims. That part is a reviewer's.
Files
content-addressed: the hash is the address| iis-2612-00643.pdf | 237 kB | sha256 229ee5d8d51045eb… .ots |
erdos160-sparse-colourings-v2.zip46 files inside, 270 kB unpacked
| 96 kB | sha256 2b01f5b836712edf… .ots |
| sparse-certificate.json | 76 kB | sha256 189087422c4d9c12… .ots |
| verify_masks.py | 1 kB | sha256 d4672fbf7a23ffee… .ots |
| sparse-families.md | 5 kB | sha256 d2e70b48720326a3… .ots |