Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions FormalConjectures/ErdosProblems/108.lean
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
/-
Copyright 2025 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, software
distributed 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 and
limitations under the License.
-/

import FormalConjectures.Util.ProblemImports

/-!
# Problem 108: Erdős-Hajnal conjecture on subgraphs with high girth and chromatic number

*Reference:* [Erdős Problems](https://erdosproblems.com/108)

For every r≥4 and k≥2, does there exist finite f(k,r) such that every graph of chromatic number ≥f(k,r) contains a subgraph of girth ≥r and chromatic number ≥k?
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The convention we're following is to have the statement of the theorem as a docstring above the result rather than in the module docstring.

-/

variable {V : Type*} [Fintype V]

@[category research open, AMS 5]
theorem erdos_108 :
(∃ (f : ℕ → ℕ → ℕ), ∀ (r k : ℕ), r ≥ 4 → k ≥ 2 →
∀ (G : SimpleGraph V) [DecidableRel G.Adj],
G.chromaticNumber ≥ f k r →
∃ (H : G.Subgraph), H.coe.girth ≥ r ∧ H.coe.chromaticNumber ≥ k) ↔
answer(sorry) := by
sorry
39 changes: 39 additions & 0 deletions FormalConjectures/ErdosProblems/740.lean
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
/-
Copyright 2025 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, software
distributed 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 and
limitations under the License.
-/

import FormalConjectures.Util.ProblemImports

/-!
# Problem 740: Infinitary version of chromatic number and odd cycles

*Reference:* [Erdős Problems](https://erdosproblems.com/740)

Does every graph with infinite chromatic number contain a subgraph of infinite chromatic number that avoids odd cycles of length ≤r?
-/

variable {V : Type*}

/-- A graph avoids odd cycles of length ≤ r if it contains no odd cycles of length at most r -/
def avoidsOddCyclesOfLength (G : SimpleGraph V) (r : ℕ) : Prop :=
∀ (n : ℕ) (v : V) (c : G.Walk v v), c.length = n → n ≤ r → Odd n → ¬c.IsCycle

@[category research open, AMS 5]
theorem erdos_740 :
(∀ (r : ℕ) (G : SimpleGraph V),
G.chromaticNumber = ⊤ →
∃ (H : G.Subgraph), H.coe.chromaticNumber = ⊤ ∧ avoidsOddCyclesOfLength H.coe r) ↔
answer(sorry) := by
sorry