Index of theproofnetwork/open-problems@860a535/FormalConjectures/ErdosProblems/Erdos1174.lean

qedmarket’s copy of theproofnetwork/open-problems@860a535, 1 Dec 2026original source ↗

109 lines · 4.4 kBraw
/-Copyright 2026 The Formal Conjectures Authors. Licensed under the Apache License, Version 2.0 (the "License");you may not use this file except in compliance with the License.You may obtain a copy of the License at     https://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, softwaredistributed under the License is distributed on an "AS IS" BASIS,WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.See the License for the specific language governing permissions andlimitations under the License.-/ module public import FormalConjecturesUtil /-!# Erdős Problem 1174 *References:*- [erdosproblems.com/1174](https://www.erdosproblems.com/1174)- [Va99] Various, *Some of Paul's favorite problems*. Booklet produced for the conference  "Paul Erdős and his mathematics", Budapest, July 1999 (1999), problem 7.91.-/ @[expose] public section open Cardinalopen scoped Cardinal namespace Erdos1174 /--**Erdős Problem 1174, part (i)** [Va99, 7.91]. A problem of Erdős and Hajnal:does there exist a graph $G$ with no $K_4$ such that every edge colouring of $G$with countably many colours contains a monochromatic $K_3$? For simplicity the colourings are given on all unordered pairs $\operatorname{Sym}_2(V)$;only the values on the edges of $G$ matter, since a monochromatic triangle is witnessed byedges alone. Shelah proved that a graph with this property can consistently exist, so theproblem is not disprovable in ZFC; whether such a graph exists outright remains open.-/@[category research open, question, AMS 3 5]theorem erdos_1174.parts.i :    ∃ (V : Type) (G : SimpleGraph V), G.CliqueFree 4 ∧      ∀ c : Sym2 V → ℕ, ∃ x y z : V,        G.Adj x y ∧ G.Adj y z ∧ G.Adj x z ∧        c s(x, y) = c s(y, z) ∧ c s(y, z) = c s(x, z) := by  sorry /--**Erdős Problem 1174, part (ii)** [Va99, 7.91]. A problem of Erdős and Hajnal:does there exist a graph $G$ with no $K_{\aleph_1}$ (that is, every clique of $G$is countable) such that every edge colouring of $G$ with countably many colourscontains a monochromatic $K_{\aleph_0}$ (an infinite clique all of whose edgesreceive the same colour)? For simplicity the colourings are given on all unordered pairs $\operatorname{Sym}_2(V)$;only the values on the edges of $G$ matter. Shelah proved that a graph with this property can consistently exist, so theproblem is not disprovable in ZFC; whether such a graph exists outright remains open.-/@[category research open, question, AMS 3 5]theorem erdos_1174.parts.ii :    ∃ (V : Type) (G : SimpleGraph V),      (∀ S : Set V, G.IsClique S → #S ≤ ℵ₀) ∧      ∀ c : Sym2 V → ℕ, ∃ S : Set V, G.IsClique S ∧ S.Infinite ∧        ∃ k : ℕ, ∀ x ∈ S, ∀ y ∈ S, x ≠ y → c s(x, y) = k := by  sorry /-**Shelah's consistency result.** Shelah proved that a graph with either property —a $K_4$-free graph forcing a monochromatic $K_3$ in every countable edge colouring,or a $K_{\aleph_1}$-free graph forcing a monochromatic $K_{\aleph_0}$ — can*consistently* exist (i.e. in some model of ZFC). Hence neither question above canbe answered negatively in ZFC: the problem is "not disprovable". Formalizing theconsistency statement itself is out of scope here, since it cannot be stated inplain ZFC (cf. the prose remark on Larson's MA result in Erdős Problem 601).-/ /- ### Sanity checks -/ /-- The complete graph on $\mathbb{N}$ is *not* $K_4$-free, so it is not a candidatefor part (i). -/@[category test, AMS 5]theorem top_not_cliqueFree_four : ¬ (⊤ : SimpleGraph ℕ).CliqueFree 4 :=  SimpleGraph.IsContained.not_cliqueFree    ⟨SimpleGraph.Embedding.toCopy (⟨Fin.valEmbedding, by simp [Fin.val_injective.ne_iff]⟩ :      SimpleGraph.completeGraph (Fin 4) ↪g (⊤ : SimpleGraph ℕ))⟩ /-- The empty graph on $\mathbb{N}$ is trivially $K_4$-free but fails the colouringproperty of part (i): it has no triangles at all, so the $K_4$-free condition aloneis not enough. -/@[category test, AMS 5]theorem bot_fails_colouring_property :    ¬ ∀ c : Sym2 ℕ → ℕ, ∃ x y z : ℕ,        (⊥ : SimpleGraph ℕ).Adj x y ∧ (⊥ : SimpleGraph ℕ).Adj y z ∧        (⊥ : SimpleGraph ℕ).Adj x z ∧        c s(x, y) = c s(y, z) ∧ c s(y, z) = c s(x, z) := by  simp end Erdos1174

download (.tar)