A Lean formalization of iis:2611.00505: the forcing direction and integer color refinement
PDF built from iis-2611-00510.tex sha256 99277420d046… by the site's TeX builder, 2026-11-30 03:41 UTC.
This is iis:2611.00509v2. A newer version exists: iis:2611.00509v4.
Lean proves the full forcing direction of the Decay-Ramsey tail criterion from the definitions. The project proves the multicolor Ramsey upper bound and counts the vertex subsets hit by a late edge. In the converse direction it proves the transfer from any failed tail test to finite counterexamples under the regular graph-family hypothesis, up to one scale factor. All integer edge capacities and clique-preservation claims in the transfer are checked.
If the total allowance for late colors becomes small enough, Lean verifies that every sufficiently large colored complete graph must contain a single-color clique of any prescribed size. In the reverse direction, Lean verifies the passage from the proposed example graphs to the irregular color limits in the question.
The question formalized
Question 1.1 of Di Braccio, Griffiths, Noohi and Versteegen asks which positive, nonincreasing sequences \(a\) of total sum exceeding one force monochromatic cliques of each fixed size in sufficiently large complete graphs. The submitted classification in iis:2611.00505 tests the tail \(T_r=\sum_{i>r}a_i\). It asks whether \(T_r<r^{-Cr}\) for arbitrarily large \(r\) for every \(C>0\).
The attached Lean 4.27 project defines the classification as a proposition in DecayClassification.Classification. Edges have the unique representation \((x,y)\) with \(x<y\). A coloring is a function on all vertex pairs, with bounds imposed only on edges. Source color \(i+1\) is represented by \(i\). Source total sum greater than one is expressed by a finite partial sum greater than one. In the tail test, a single real \(u<r^{-Cr}\) must bound every finite partial tail beginning at index \(r\). This encodes the strict inequality on the infinite tail, including the divergent case. Testing positive integer \(C\) suffices since those exponents are unbounded.
Theorem 1. The unconditional forcing direction (DecayClassification.tail_implies_decay_ramsey)
If the tail test holds, every sufficiently large bounded coloring contains a monochromatic clique of each prescribed finite size. The only argument to the theorem is the tail condition on the given sequence. There is no external combinatorial hypothesis in this direction.
The proof uses a finite estimate that suffices in place of the sharper Turán estimate in the original written argument. For a target clique of size \(k\) and a palette of size \(r\ge2\), take \(M=r^{rk}\). On any \(M\)-vertex set using only these colors, select \(rk\) vertices in increasing order so that each vertex sends one color to all later ones. At each selection remove the smallest vertex and choose its largest remaining color class. Starting with at least \(r^{t+1}\) vertices leaves a class of at least \(r^t\). At least \(k\) of the selected vertices have the same outgoing color. This proves the finite Ramsey input inside the project, in DecayClassification.ramsey_supplier.
Consequently, in any coloring with no monochromatic \(K_k\), every \(M\)-set contains an edge colored outside the first \(r\) colors. If there are \(e\) such edges, counting \(M\)-sets through each edge gives \(\binom nM\le e\binom{n-2}{M-2}\) for \(n\ge M\). The binomial identity for choosing an \(M\)-set and a pair in it gives \(\binom n2\le e\binom M2\). This is DecayClassification.finite_density. The tail condition with exponent \(2k\) gives some \(r\) with total tail allowance strictly less than \(r^{-2kr}\). Since \(\binom M2\le r^{2kr}\), the required number of late edges exceeds their total capacity. The finite argument works for every \(n\ge M\).
Theorem 2. Transfer from arbitrary profiles to finite counterexamples (DecayClassification.scaled_counterexamples)
Assume RegularModels, an explicit graph-theoretic premise. Then for every positive nonincreasing profile \(a\) failing the tail test there exists a single \(\gamma\ge1\) such that \(\gamma a\) permits colorings at unbounded finite orders, all avoiding a fixed monochromatic clique size. The order and coloring can vary. The scale and forbidden clique size are fixed for the whole family.
The premise involves only the regular profiles \(b_j=A(j+1)^{-D(j+1)}\). For each positive integer \(D\) there must be \(A>0\) and a fixed \(k\ge2\) with the following property. Given any lower bound \(L\) on the graph order, every sufficiently large palette cutoff \(J\) permits some \(n\ge L\) and a \(b\)-bounded coloring on \(n\) vertices, using only colors through \(J\), avoiding a monochromatic \(K_k\), with \(2b_J\binom{n}{2}\ge1\). The original paper supplies these models by products of multicolor Ramsey constructions. The Lean theorem proves the transfer for every family satisfying the stated premise.
Theorem 3. Simultaneous integral refinement (DecayClassification.integral_transfer)
Suppose \(a\) is nonincreasing and nonnegative, \(b\) is positive, and \(2b_{j+1}\le b_j\). Suppose each paired tail \(\sum_{i\ge j}a_{2i+1}\) has a finite partial sum exceeding \(40b_j\). Then there are arbitrarily large cutoffs \(J\) at which every provisional \(b\)-bounded coloring using labels at most \(J\) and satisfying the edge-count condition above has an \(a\)-bounded refinement. If any set of vertices has a single edge color after refinement, it had a single edge color before refinement. This is a theorem about the finite coloring itself, including the integer edge counts.
The proof checks four steps.
DecayClassification.witnesses_of_failure,DecayClassification.paired_tailandDecayClassification.scaled_supplyextract finite witnesses from failure of the strict tail test, compare them with the shared pool of alternating labels, and obtain a single scale valid at every index. The finitely many early indices are included.DecayClassification.regular_tail_comparisonverifies that the regular exponent \(D=4C+1\) suffices.DecayClassification.good_blocksconstructs the first interval attaining the requested mass at every deficient index. The mass-cover inequality shows that these intervals leave arbitrarily large uncovered cutoffs. This construction was still an input to the checked lemma in the previous submission.DecayClassification.pack_sharedandDecayClassification.palettesassign pairwise disjoint pools, one to each provisional color. A later deficient color spends at most six times its own demand. Geometric decrease keeps the total spent by later assignments below the mass available to the current color. Each nondeficient color receives its own private label.DecayClassification.integer_refinementandDecayEdgeRefinement.recolorconstruct a new coloring from the integer capacities. An actual color with capacity \(m\) supplies slots numbered \(0\) through \(m-1\). Each old color class embeds in its pool of slots. Distinct old colors have disjoint pools, so no new monochromatic clique can appear. Every actual color receives at most the floor of its allowed edge count.
Theorem 4. Product bounds (DecayProducts.lex_same_clique, DecayProducts.lex_apart_clique, DecayProducts.equal_fibers)
For a pair of finite factors with monochromatic clique bounds \(p,q\), the first-differing-coordinate coloring has clique bound \(pq\) when the factors use the same palette. With disjoint palettes its clique bound is \(\max(p,q)\). The separate equal-fiber counting theorem proves \(P^2\binom m2\le\binom{Pm}2\) for \(P\ge1\). This gives the density estimate for edges contained within one of \(P\) equal prefix fibers.
Verification and remaining work
The source archive contains eleven Lean modules, thirty-four proved theorems and a pinned Mathlib manifest. It builds with lake build. The local Lean kernel reports only propext, Classical.choice and Quot.sound for the unconditional forcing theorem, the conditional converse, the integral transfer, and the integer recoloring construction. The assumptions in the conditional theorem occur in its statement as ordinary hypotheses.
The site independently rebuilt version 1 and accepted its receipt for the transfer and product theorems. This revision adds the forcing direction to the archive.
The full equivalence Classification is stated in the project. The forcing direction is proved. For the converse, the checked theorem obtains counterexamples after scaling from the explicit regular-family hypothesis. The written proof constructs that family from the quantitative triangle Ramsey lower bound and uses Proposition 1.2 of Di Braccio and coauthors to remove the scale. Those two steps remain to be connected in Lean. The written classification and its attributions are in iis:2611.00505.
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
- 15/15 theorems found
- no sorry
- standard axioms only
- no native_decide
- built in 166 s
- 46 declarations
If the total allowance for late colors becomes small enough, Lean verifies that every sufficiently large colored complete graph must contain a single-color clique of any prescribed size. In the reverse direction, Lean verifies the passage from the proposed example graphs to the irregular color limits in the question.
tail_implies_decay_ramseyDecayClassification2 lines
∀ (a : ℕ → ℝ),TailTest a → DecayRamsey a
ramsey_supplierDecayClassification1 line
RamseySupplierfinite_densityDecayClassification5 lines
∀ {n M : ℕ},2 ≤ M →M ≤ n →∀ late ⊆ edges n,(∀ (s : Finset (Fin n)), s.card = M → ∃ e ∈ late, e.1 ∈ s ∧ e.2 ∈ s) → n.choose 2 ≤ late.card * M.choose 2
late_budgetDecayClassification4 lines
∀ {n : ℕ} (a : ℕ → ℝ) (c : Fin n × Fin n → ℕ) (r : ℕ) (u : ℝ),Bounded a c →(∀ (l : ℕ), ∑ i ∈ Finset.Ico r l, a i ≤ u) →↑{e ∈ edges n | r ≤ c e}.card ≤ u * ↑(edges n).card
scaled_counterexamplesDecayClassification5 lines
RegularModels →∀ (a : ℕ → ℝ),Antitone a →(∀ (i : ℕ), 0 < a i) →¬TailTest a → ∃ γ, 1 ≤ γ ∧ ¬DecayRamsey fun i => γ * a i
integral_transferDecayClassification15 lines
∀ (a b : ℕ → ℝ),Antitone a →(∀ (i : ℕ), 0 ≤ a i) →(∀ (j : ℕ), 0 < b j) →(∀ (j : ℕ), 2 * b (j + 1) ≤ b j) →(∀ (j : ℕ), ∃ l ≥ j, 40 * b j < ∑ i ∈ Finset.Icc j l, a (2 * i + 1)) →∀ (N : ℕ),∃ J ≥ N,∀ (n : ℕ) (c : Fin n × Fin n → ℕ),(∀ e ∈ edges n, c e ≤ J) →Bounded b c →1 ≤ 2 * b J * ↑(edges n).card →∃ c',Bounded a c' ∧∀ (k : ℕ), MonoClique k c' → MonoClique k c
good_blocksDecayClassification9 lines
∀ (d b : ℕ → ℝ),Antitone d →(∀ (i : ℕ), 0 ≤ d i) →(∀ (j : ℕ), 0 < b j) →(∀ (s : ℕ), ∃ l ≥ s, ∑ i ∈ Finset.Icc s l, d i > ∑ i ∈ Finset.Icc s l, 20 * b i) →∀ (N : ℕ),∃ J ≥ N,4 * b J ≤ d J ∧∀ j ≤ J, d j < 4 * b j → ∃ B ⊆ Finset.Icc j J, 16 * b j ≤ ∑ i ∈ B, d i ∧ ∀ i ∈ B, d i ≤ 4 * b j
scaled_supplyDecayClassification9 lines
∀ (a b : ℕ → ℝ),Antitone a →(∀ (i : ℕ), 0 < a i) →(∀ (i : ℕ), 0 < b i) →∀ (C N M : ℕ) (K : ℝ),0 < K →(∀ r ≥ max 2 N, ∃ l, 1 < 2 * ↑r ^ (C * r) * ∑ i ∈ Finset.Ico r l, a i) →(∀ j ≥ M, b j * ↑(2 * j + 2) ^ (C * (2 * j + 2)) ≤ K) →∃ γ, 1 ≤ γ ∧ ∀ (j : ℕ), ∃ l ≥ j, 40 * b j < ∑ i ∈ Finset.Icc j l, γ * a (2 * i + 1)
DecayClassification.TailTestPropDecayClassification.lean:21
/-- A strict bound for the full nonnegative tail, expressed by a uniform upperbound on its finite partial sums. This includes the divergent-series case. -/def TailTest (a : ℕ → ℝ) : Prop :=∀ C : ℕ, 0 < C → ∀ N : ℕ, ∃ r : ℕ, r ≥ max 2 N ∧ ∃ u : ℝ,u * (r : ℝ)^(C*r) < 1 ∧ ∀ l, ∑ i ∈ Finset.Ico r l, a i ≤ u
DecayClassification.DecayRamseyPropDecayClassification.lean:16
/-- Color indices start at zero, so the source's color i+1 is represented by i. -/def DecayRamsey (a : ℕ → ℝ) : Prop :=∀ k ≥ 2, ∃ N, ∀ n ≥ N, ∀ c : Fin n × Fin n → ℕ, Bounded a c → MonoClique k c
DecayClassification.RamseySupplierPropDecayForcing.lean:97
/-- A finite Ramsey bound supplies a front-color clique on any M-set if noedge of that set uses the tail palette. -/def RamseySupplier : Prop :=∀ r k : ℕ, 2 ≤ r → 2 ≤ k → ∃ M : ℕ, 2 ≤ M ∧ M ≤ r^(r*k) ∧∀ n (c : Fin n × Fin n → ℕ) (s : Finset (Fin n)), s.card = M →(∀ x ∈ s, ∀ y ∈ s, x < y → c (x,y) < r) → MonoClique k c
DecayClassification.edgesDecayClassification.lean:6
/-- Unordered edges are represented once, with the smaller vertex first. -/def edges (n : ℕ) : Finset (Fin n × Fin n) :=Finset.univ.filter fun e => e.1 < e.2
DecayClassification.BoundedPropDecayClassification.lean:9
def Bounded {n : ℕ} (a : ℕ → ℝ) (c : Fin n × Fin n → ℕ) : Prop :=∀ i, (((edges n).filter fun e => c e = i).card : ℝ) ≤ a i * (edges n).card
DecayClassification.RegularModelsPropDecayConverse.lean:53
/-- The graph-theoretic input in the converse is independent of the targetprofile. It records exactly the provisional graph sizes and regular caps. -/def RegularModels : Prop :=∀ D : ℕ, 0 < D → ∃ A : ℝ, 0 < A ∧ ∃ k : ℕ, 2 ≤ k ∧∀ L : ℕ, ∃ N : ℕ, ∀ J ≥ N, ∃ n ≥ L, ∃ c : Fin n × Fin n → ℕ,(∀ e ∈ edges n, c e ≤ J) ∧ Bounded (regular A D) c ∧1 ≤ 2*regular A D J*(edges n).card ∧ ¬MonoClique k c
DecayClassification.MonoCliquePropDecayClassification.lean:12
def MonoClique {n : ℕ} (k : ℕ) (c : Fin n × Fin n → ℕ) : Prop :=∃ s : Finset (Fin n), s.card = k ∧ ∃ i, ∀ x ∈ s, ∀ y ∈ s, x < y → c (x,y) = i
DecayProducts.BoundedCliquesPropDecayProducts.lean:8
def BoundedCliques {V L : Type*} (c : V → V → L) (k : ℕ) : Prop :=∀ p s, OneColor c p s → s.card ≤ k
DecayProducts.lexSameDecayProducts.lean:11
def lexSame {U V L : Type*} [DecidableEq U] (c : U → U → L) (d : V → V → L)(x y : U × V) : L := if x.1 = y.1 then d x.2 y.2 else c x.1 y.1
Not 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-2611-00510.pdf | 276 kB | sha256 5b407a691636507e… .ots |
decay-ramsey-forcing-and-transfer.zip14 files inside, 52 kB unpacked
| 21 kB | sha256 c85c42d9fed91283… .ots |