Documentation

FormalConjectures.ErdosProblems.«602»

Erdős Problem 602 #

Reference: erdosproblems.com/602

def Erdos602.IsMonochromatic {α : Type u_1} (f : αFin 2) (A : Set α) :

A set A ⊆ α is monochromatic under a 2-colouring f : α → Fin 2 if all elements of A receive the same colour.

Equations
Instances For
    def Erdos602.HasPropertyB {α : Type u_1} (I : Type u_2) (A : ISet α) :

    A family (A_i)_{i ∈ I} of subsets of α has Property B if there exists a 2-colouring f : α → Fin 2 such that no A_i is monochromatic.

    Equations
    Instances For
      theorem Erdos602.erdos_602 :
      True ∀ {α : Type u_1} {I : Type u_2} (A : ISet α), (∀ (i : I), (A i).Countable (A i).Infinite)(∀ (i j : I), i j(A i A j).Finite)(∀ (i j : I), i j(A i A j).ncard 1)HasPropertyB I A

      Does every almost-disjoint family of countably infinite sets whose pairwise intersections all have size ≠ 1 have Property B?

      Formally: let α be any type, let (A_i)_{i ∈ I} be a family of countably infinite subsets of α such that for all i ≠ j, the intersection A_i ∩ A_j is finite and |A_i ∩ A_j| ≠ 1. Does there exist a 2-colouring f : α → Fin 2 such that no A_i is monochromatic?

      This is an open question about Property B for almost-disjoint families with a forbidden intersection size of 1.

      Note: This generalises the formulation in which the ground set is . Since every countably infinite set is in bijection with , the two formulations are equivalent, but working over an arbitrary ground type makes the statement apply immediately to, e.g., almost-disjoint families of countable subsets of an uncountable space.

      theorem Erdos602.erdos_602.variants.disjoint :
      True ∀ {α : Type u_1} {I : Type u_2} (A : ISet α), (∀ (i : I), (A i).Infinite)(∀ (i j : I), i jDisjoint (A i) (A j))HasPropertyB I A

      Trivial case: pairwise disjoint families.

      If the A_i are pairwise disjoint (all intersections are empty, which in particular satisfies |A_i ∩ A_j| ≠ 1), then Property B holds trivially.

      Proof sketch: Since each A_i is infinite, it has (at least) two distinct elements a_i and b_i. We can define a colouring that assigns colour 0 to a_i and colour 1 to b_i for each i (using disjointness, these choices don't conflict), and extend arbitrarily elsewhere. Then no A_i is monochromatic.

      theorem Erdos602.erdos_602.variants.countable_index :
      True ∀ {α : Type u_1} (A : Set α), (∀ (i : ), (A i).Countable (A i).Infinite)(∀ (i j : ), i j(A i A j).Finite)(∀ (i j : ), i j(A i A j).ncard 1)HasPropertyB A

      Countable index set case.

      If the index set is countable, the answer is yes, and the intersection condition is unnecessary. This is Bernstein's Lemma: every countable system of infinite sets has Property B.

      theorem Erdos602.erdos_602.variants.single_set {α : Type u_1} (A : Set α) (hA : A.Infinite) :
      ∃ (f : αFin 2), ¬IsMonochromatic f A

      Intersections of size ≥ 2 suffice.

      For a single countably infinite set A ⊆ α, there trivially exists a 2-colouring of α that makes A non-monochromatic: since A is infinite, it has two distinct elements, so any colouring that assigns them different colours works.

      Empty index set.

      If the index set I is empty (has no elements), then Property B holds vacuously: any 2-colouring works, since there are no sets to be made non-monochromatic.

      theorem Erdos602.erdos_602.variants.unique_index {α : Type u_1} (I : Type u_2) [Unique I] (A : ISet α) (hInfinite : ∀ (i : I), (A i).Infinite) :

      Unique index set.

      If the index set has exactly one element (i.e., [Unique I]), then Property B holds: any 2-colouring that makes the single set A (default : I) non-monochromatic works. This follows from the single-set case.

      theorem Erdos602.erdos_602.variants.two_sets :
      True ∀ {α : Type u_1} (A : Fin 2Set α), (∀ (i : Fin 2), (A i).Infinite)(A 0 A 1).Finite(A 0 A 1).ncard 1HasPropertyB (Fin 2) A

      Two infinite sets with pairwise intersection of size ≠ 1.

      If the family consists of exactly two countably infinite sets A₀ and A₁ with |A₀ ∩ A₁| ≠ 1 (and finite), then Property B holds.

      Proof sketch:

      • If A₀ ∩ A₁ = ∅: the sets are disjoint. Pick distinct a, b ∈ A₀ and distinct c, d ∈ A₁. Colour b and c with 1, everything else with 0. Then A₀ has a (colour 0) and b (colour 1), and A₁ has c (colour 1) and d (colour 0), so neither is monochromatic.
      • If |A₀ ∩ A₁| ≥ 2: the intersection contains two distinct points x and y. Assign x colour 0 and y colour 1. Both A₀ and A₁ contain x and y, so neither is monochromatic.

      A natural but FALSE relaxation of erdos_602.variants.disjoint: drop the hypothesis that each A i is infinite. The original disjoint variant requires (∀ i, (A i).Infinite). Without it, the claim is false.

      Equations
      Instances For

        Formal disproof of disjoint_without_infinite_claim.

        Counterexample: Take α = ℕ, I = Fin 2, with A 0 = {0} and A 1 = {1}. These are pairwise disjoint, satisfying the only hypothesis. But singleton sets are vacuously monochromatic under any colouring: the only pair (x, y) ∈ {0} × {0} is (0, 0), and f 0 = f 0 trivially. So any colouring makes A 0 monochromatic, meaning HasPropertyB fails.