A Lean formalization of iis:2611.00505: integer color allocations for arbitrary Decay-Ramsey profiles
PDF built from iis-2611-00509.tex sha256 0ad13c9febb2… by the site's TeX builder, 2026-11-30 03:21 UTC.
This is iis:2611.00509v1. A newer version exists: iis:2611.00509v4.
We verify the transfer from failure of the Decay-Ramsey tail test to finite counterexamples under the regular-family hypothesis of iis:2611.00505. Lean constructs disjoint palettes, rounds all capacities, and produces actual edge colorings avoiding the forbidden clique at unbounded orders, up to a single scaling. The project also checks the different clique bounds for reused and disjoint palettes.
The earlier proof assigns edges to colors with sometimes extremely small limits. Lean now checks that the assignments can be made with whole edges, that every color stays within its budget, and that this operation preserves the forbidden clique. The graph family supplying the starting colorings remains a hypothesis in the computer-checked theorem.
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. 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 2. 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 3. 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 nine Lean modules, twenty-seven 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 main conditional theorem, the integral transfer, and the integer recoloring construction. The assumptions in the conditional theorem occur in its statement as ordinary hypotheses.
The full equivalence Classification is a definition in this project. The attached proof checks the part converting irregular tails into actual finite counterexamples. Completing a kernel proof of the equivalence also requires constructing RegularModels from the quantitative triangle Ramsey bound with its growth estimates, applying scaling invariance to remove \(\gamma\), and proving the forcing direction. 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
- 13/13 theorems found
- no sorry
- standard axioms only
- no native_decide
- built in 81 s
- 38 declarations
The earlier proof assigns edges to colors with sometimes extremely small limits. Lean now checks that the assignments can be made with whole edges, that every color stays within its budget, and that this operation preserves the forbidden clique.
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
nonforcing_of_modelsDecayClassification18 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)) →∀ (k : ℕ),2 ≤ k →(∀ (L : ℕ),∃ N,∀ J ≥ N,∃ n ≥ L,∃ c,(∀ e ∈ edges n, c e ≤ J) ∧Bounded b c ∧1 ≤ 2 * b J * ↑(edges n).card ∧¬MonoClique k c) →¬DecayRamsey a
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)
regular_tail_comparisonDecayClassification2 lines
∀ (A : ℝ),0 ≤ A → ∀ (C j : ℕ), 1 ≤ j → regular A (4 * C + 1) j * ↑(2 * j + 2) ^ (C * (2 * j + 2)) ≤ A
pack_sharedDecayClassification10 lines
∀ (d b : ℕ → ℝ),(∀ (i : ℕ), 0 ≤ d i) →(∀ (j : ℕ), 0 ≤ b j) →∀ (block : ℕ → Finset ℕ) (S : Finset ℕ),(∀ j ∈ S, 16 * b j ≤ ∑ i ∈ block j, d i) →(∀ j ∈ S, ∀ i ∈ block j, d i ≤ 4 * b j) →(∀ j ∈ S, ∑ h ∈ S with j < h, b h ≤ b j) →∃ A,(∀ j ∈ S, A j ⊆ block j ∧ 2 * b j ≤ ∑ i ∈ A j, d i ∧ ∑ i ∈ A j, d i ≤ 6 * b j) ∧∀ j ∈ S, ∀ h ∈ S, j ≠ h → Disjoint (A j) (A h)
palettesDecayClassification12 lines
∀ (a b : ℕ → ℝ),Antitone a →(∀ (i : ℕ), 0 ≤ a i) →(∀ (i : ℕ), 0 ≤ b i) →∀ (J : ℕ),(∀ j ≤ J, ∑ h ∈ Finset.Ioc j J, b h ≤ b j) →(∀ j ≤ J,a (2 * j + 1) < 4 * b j →∃ B ⊆ Finset.Icc j J, 16 * b j ≤ ∑ i ∈ B, a (2 * i + 1) ∧ ∀ i ∈ B, a (2 * i + 1) ≤ 4 * b j) →∃ A,(∀ (j h : ℕ), j ≠ h → Disjoint (A j) (A h)) ∧(∀ (j i : ℕ), i ∈ A j → i ≤ 2 * J + 1) ∧ ∀ j ≤ J, 2 * b j ≤ ∑ i ∈ A j, a i
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.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.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.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
DecayClassification.regularDecayConverse.lean:7
/-- i+1 converts from the formal zero-based index to the source index. -/noncomputable def regular (A : ℝ) (D j : ℕ) : ℝ := A / ((j+1:ℕ):ℝ)^(D*(j+1))
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-00509.pdf | 273 kB | sha256 8110bdd8f51c7c7d… .ots |
decay-ramsey-integral-lean.zip12 files inside, 41 kB unpacked
| 16 kB | sha256 da8b7be9ebbc0b53… .ots |