OAI/Combinatorics/ProgressionColoring/LargeColor.lean
17 declarations, 0 contain sorry, 0 declared as axioms
- def
OAI.QuantitativeVanDerWaerden.LargeColor.halfline 13 - theorem
OAI.QuantitativeVanDerWaerden.LargeColor.half_coefficient_boundline 16Source documentation
The same-half bound is strict for both even and odd bases.
theorem half_coefficient_bound {b x y z : ℕ} (_hb : 2 ≤ b) (hx : x < b) (hy : y < b) (hz : z < b) (hxy : half b x = half b y) (hzy : half b z = half b y) : |(x : ℤ) - 2 * y + z| < b := by … - theorem
OAI.QuantitativeVanDerWaerden.LargeColor.coefficients_zeroline 28Source documentation
A zero base expansion with signed coefficients strictly smaller than the base has all coefficients zero.
theorem coefficients_zero {b : ℕ} (hb : 2 ≤ b) : ∀ {s : ℕ} (a : Fin s → ℤ), (∀ i, |a i| < (b : ℤ)) → (∑ i, a i * (b : ℤ) ^ (i : ℕ)) = 0 → ∀ i, a i = 0 := by … - theorem
OAI.QuantitativeVanDerWaerden.LargeColor.equal_of_midpoint_equal_normline 61Source documentation
Equal sums of squares and a coordinatewise midpoint force equality.
theorem equal_of_midpoint_equal_norm {s : ℕ} (x y z : Fin s → ℤ) (hm : ∀ i, x i - 2 * y i + z i = 0) (hxy : (∑ i, x i ^ 2) = ∑ i, y i ^ 2) (hzy : (∑ i, z i ^ 2) = ∑ i, y i ^ 2) : x = y := by … - def
OAI.QuantitativeVanDerWaerden.LargeColor.normSqline 84 - theorem
OAI.QuantitativeVanDerWaerden.LargeColor.normSq_leline 86 - abbrev
OAI.QuantitativeVanDerWaerden.LargeColor.Colorline 96 - def
OAI.QuantitativeVanDerWaerden.LargeColor.vectorColorline 98 - theorem
OAI.QuantitativeVanDerWaerden.LargeColor.card_colorline 101 - theorem
OAI.QuantitativeVanDerWaerden.LargeColor.vector_eq_of_monochromatic_midpointline 105 - def
OAI.QuantitativeVanDerWaerden.LargeColor.digitsline 139 - theorem
OAI.QuantitativeVanDerWaerden.LargeColor.digits_valueline 142 - def
OAI.QuantitativeVanDerWaerden.LargeColor.coloringline 146 - theorem
OAI.QuantitativeVanDerWaerden.LargeColor.coloring_avoids_threeline 149 - theorem
OAI.QuantitativeVanDerWaerden.LargeColor.coloring_avoidsline 170 - theorem
OAI.QuantitativeVanDerWaerden.LargeColor.exists_avoidingline 175Source documentation
The exact ambient cardinality suffices to recolor into
Fin r.theorem exists_avoiding {b s k r : ℕ} (hb : 2 ≤ b) (hk : 3 ≤ k) (hcolors : 2 ^ s * (s * (b - 1) ^ 2 + 1) ≤ r) : ∃ c : ℕ → Fin r, ¬ HasMonoAP c k (b ^ s) := by …Mentions: OAI.QuantitativeVanDerWaerden.HasMonoAP
- theorem
OAI.QuantitativeVanDerWaerden.LargeColor.pow_lt_Wline 184