FormalConjectures/ErdosProblems/1167.lean
Explanation legend Lean4 Domain Explanation Language (L4DEL)
L4DEL explanations are a separate layer. They do not change the Lean source. Intuition is explanatory prose; numbered items are a reading path; sources link the wording back to evidence.
- L4DEL
- Lean4 Domain Explanation Language
Credit: The upstream authors and contributors retain credit for the project and mathematics. lean4-explainer only renders their pinned source and adds the separately disclosed explanation layer.
Project sources: Pinned project documentation, Formal Conjectures paper, arXiv v1
9 declarations, 5 contain sorry, 0 declared as axioms
Erdős Problem 1167
Reference: erdosproblems.com/1167
The original Erdős–Hajnal problem list gives the additional conditions $\gamma \geq 2$, $r < \omega$,
and $\kappa_\alpha > r$. Without $\gamma \geq 2$, the statement is false: taking $\gamma = 1$ and
$\kappa_0 = \aleph_1$ with $\lambda = \aleph_0$ gives a counterexample, since the partition relation
with one color degenerates to a cardinality comparison (see erdos_1167.unrestricted_is_false).
Without $\kappa_\alpha > r$ it is also false: with $r = 2$, $\lambda = \aleph_0$ and targets
$(2, \aleph_1)$, the premise $2^{\aleph_0} \to (3, \aleph_1)^3$ holds, but a constant colouring
of the pairs of $\aleph_0$ has neither a red pair nor a blue set of size $\aleph_1$.
Imports (1)
- theorem
Erdos1167.erdos_1167Erdős Problem 1167 sorry line 55 sourceSource documentation
Erdős Problem 1167. Let $r \geq 2$ be finite, $\gamma \geq 2$, and $\lambda$ be an infinite cardinal. Let $\kappa_\alpha > r$ be cardinals for all $\alpha < \gamma$. Is it true that $$2^\lambda \to (\kappa_\alpha + 1)_{\alpha < \gamma}^{r+1}$$ implies $$\lambda \to (\kappa_\alpha)_{\alpha < \gamma}^r?$$ Here $+$ means cardinal addition, so that $\kappa_\alpha + 1 = \kappa_\alpha$ if $\kappa_\alpha$ is infinite.
A problem of Erdős, Hajnal, and Rado.
depends on sorry what this means
Statement uses:
Iff,True,Nat,LE.le,OfNat.ofNat,Cardinal,Cardinal.aleph0,Ordinal,Ordinal.ToType,LT.lt, Combinatorics.cardinalPartitionRel,HPow.hPow,HAdd.hAddProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous44 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem erdos_1167 : answer(sorry) ↔ ∀ (r : ℕ), 2 ≤ r → ∀ (lam : Cardinal.{u}), ℵ₀ ≤ lam → ∀ (γ : Ordinal.{u}), 2 ≤ γ → ∀ (κ : γ.ToType → Cardinal.{u}), (∀ α, (r : Cardinal.{u}) < κ α) → cardinalPartitionRel ((2 : Cardinal.{u}) ^ lam) (r + 1) γ (fun α => κ α + 1) → cardinalPartitionRel lam r γ κ := by … - theorem
Erdos1167.erdos_1167.variants.finite_targetsFinite-target case sorry line 71 sourceSource documentation
Finite-target case. When all $\kappa_\alpha$ are finite, $\kappa_\alpha + 1$ is the ordinary natural-number successor. Special case of
erdos_1167.depends on sorry what this means
Statement uses:
Nat,LE.le,OfNat.ofNat,Cardinal,Cardinal.aleph0,Ordinal,Ordinal.ToType, Combinatorics.cardinalPartitionRel,HPow.hPow,HAdd.hAddProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous40 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem finite_targets (r : ℕ) (hr : 2 ≤ r) (lam : Cardinal.{u}) (hlam : ℵ₀ ≤ lam) (γ : Ordinal.{u}) (hγ : 2 ≤ γ) (n : γ.ToType → ℕ) : cardinalPartitionRel ((2 : Cardinal.{u}) ^ lam) (r + 1) γ (fun α => (n α : Cardinal.{u}) + 1) → cardinalPartitionRel lam r γ (fun α => (n α : Cardinal.{u})) := by … - theorem
Erdos1167.erdos_1167.variants.binary_colorsBinary-color case sorry line 82 sourceSource documentation
Binary-color case. The $\gamma = 2$ specialization (two color classes).
depends on sorry what this means
Statement uses:
Nat,LE.le,OfNat.ofNat,Cardinal,Cardinal.aleph0,Ordinal.ToType,Ordinal,LT.lt, Combinatorics.cardinalPartitionRel,HPow.hPow,HAdd.hAddProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous40 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem binary_colors (r : ℕ) (hr : 2 ≤ r) (lam : Cardinal.{u}) (hlam : ℵ₀ ≤ lam) (κ : (2 : Ordinal.{u}).ToType → Cardinal.{u}) (hκ : ∀ α, (r : Cardinal.{u}) < κ α) : cardinalPartitionRel ((2 : Cardinal.{u}) ^ lam) (r + 1) 2 (fun α => κ α + 1) → cardinalPartitionRel lam r 2 κ := by … - theorem
Erdos1167.erdos_1167.variants.infinite_targetsInfinite-target case sorry line 99 sourceSource documentation
Infinite-target case. When all $\kappa_\alpha \geq \aleph_0$ are infinite and bounded by $\lambda$, $\kappa_\alpha + 1 = \kappa_\alpha$, so the hypothesis simplifies to a "pure" stepping-down lemma: $$2^\lambda \to (\kappa_\alpha)_{\alpha<\gamma}^{r+1} \implies \lambda \to (\kappa_\alpha)_{\alpha<\gamma}^r.$$ The condition $\kappa_\alpha \leq \lambda$ is needed to avoid a size obstruction: without it, the conclusion would require a subset of $\lambda$ of size $\kappa_\alpha > \lambda$, which is impossible (see
infinite_targets_needs_bound).depends on sorry what this means
Statement uses:
Nat,LE.le,OfNat.ofNat,Cardinal,Cardinal.aleph0,Ordinal,Ordinal.ToType, Combinatorics.cardinalPartitionRel,HPow.hPow,HAdd.hAddProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous32 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem infinite_targets (r : ℕ) (hr : 2 ≤ r) (lam : Cardinal.{u}) (hlam : ℵ₀ ≤ lam) (γ : Ordinal.{u}) (hγ : 2 ≤ γ) (κ : γ.ToType → Cardinal.{u}) (hκ : ∀ i, ℵ₀ ≤ κ i) (hκ_le : ∀ i, κ i ≤ lam) : cardinalPartitionRel ((2 : Cardinal.{u}) ^ lam) (r + 1) γ κ → cardinalPartitionRel lam r γ κ := by … - theorem
Erdos1167.erdos_1167.variants.r_eq_two$r = 2$ case sorry line 113 sourceSource documentation
$r = 2$ case. The stepping-down from 3-uniform to 2-uniform partition relations: $2^\lambda \to (\kappa_\alpha + 1)_{\alpha<\gamma}^3$ implies $\lambda \to (\kappa_\alpha)_{\alpha<\gamma}^2$. Generalises the classical Erdős–Rado stepping-up/down theorem for pairs.
depends on sorry what this means
Statement uses:
Cardinal,LE.le,Cardinal.aleph0,Ordinal,OfNat.ofNat,Nat,Ordinal.ToType,LT.lt, Combinatorics.cardinalPartitionRel,HPow.hPow,HAdd.hAddProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous38 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem r_eq_two (lam : Cardinal.{u}) (hlam : ℵ₀ ≤ lam) (γ : Ordinal.{u}) (hγ : 2 ≤ γ) (κ : γ.ToType → Cardinal.{u}) (hκ : ∀ α, (2 : Cardinal.{u}) < κ α) : cardinalPartitionRel ((2 : Cardinal.{u}) ^ lam) 3 γ (fun α => κ α + 1) → cardinalPartitionRel lam 2 γ κ := by … - def
Erdos1167.i0A canonical element of the type(1 : Ordinal).ToTypeline 130 sourceSource documentation
A canonical element of the type
(1 : Ordinal).ToType.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Ordinal.ToType,OfNat.ofNat,OrdinalProof uses:
Inhabited.default6 instances, coercions and auxiliary constants left out.
noncomputable def i0 : (1 : Ordinal.{u}).ToType := default … - lemma
Erdos1167.cardinalPartitionRel_oneThe partition relation $\mu \to (\nu)^r_1$ with a single color is equivalent to $\nu \le \mu$ line 136 sourceSource documentation
The partition relation $\mu \to (\nu)^r_1$ with a single color is equivalent to $\nu \le \mu$.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Cardinal,Nat,Ordinal.ToType,OfNat.ofNat,Ordinal,Iff, Combinatorics.cardinalPartitionRel,GE.ge, Erdos1167.i0Proof uses:
id,Iff.intro,Eq,Cardinal.mk,Subtype,Finset,Finset.card,Exists,Set,And,LE.le,Subtype.mk,Quotient.out,Cardinal.mk_out,Subsingleton.elim,Cardinal.mk_set_le,Eq.mp,congrArg,Eq.symm,Eq.mprand 4 more16 instances, coercions and auxiliary constants left out.
Tactic trace: 19 steps
Open to load the checked before-and-after goal states.
lemma cardinalPartitionRel_one (μ : Cardinal.{u}) (r : ℕ) (ν : (1 : Ordinal.{u}).ToType → Cardinal.{u}) : cardinalPartitionRel μ r 1 ν ↔ μ ≥ ν i0 := by …Mentions: Erdos1167.i0
- theorem
Erdos1167.erdos_1167.unrestricted_is_falseThe unrestricted version of Erdős Problem 1167 (without the condition $\gamma \geq 2$ from the original Erdős–Hajnal list) is false line 163 sourceSource documentation
The unrestricted version of Erdős Problem 1167 (without the condition $\gamma \geq 2$ from the original Erdős–Hajnal list) is false. Taking $\gamma = 1$, $\kappa_0 = \aleph_1$, $\lambda = \aleph_0$: the premise $2^{\aleph_0} \to (\aleph_1 + 1)^3_1$ holds since $2^{\aleph_0} \geq \aleph_1$, but the conclusion $\aleph_0 \to (\aleph_1)^2_1$ fails since $\aleph_0 < \aleph_1$.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Not,Nat,LE.le,OfNat.ofNat,Cardinal,Cardinal.aleph0,Ordinal,Ordinal.ToType, Combinatorics.cardinalPartitionRel,HPow.hPow,HAdd.hAddProof uses:
OrderEmbedding,Cardinal.aleph,le_refl,Eq.mpr,GE.ge,id,Eq,congrArg,propext, Erdos1167.cardinalPartitionRel_one,Cardinal.add_one_of_aleph0_le,Cardinal.aleph0_le_aleph,Cardinal.aleph_one_le_continuum,LT.lt,Cardinal.aleph0_lt_aleph_one,And.right,Eq.mp37 instances, coercions and auxiliary constants left out.
Tactic trace: 11 steps
Open to load the checked before-and-after goal states.
theorem erdos_1167.unrestricted_is_false : ¬ (∀ (r : ℕ), 2 ≤ r → ∀ (lam : Cardinal.{u}), ℵ₀ ≤ lam → ∀ (γ : Ordinal.{u}) (κ : γ.ToType → Cardinal.{u}), cardinalPartitionRel ((2 : Cardinal.{u}) ^ lam) (r + 1) γ (fun α => κ α + 1) → cardinalPartitionRel lam r γ κ) := by … - theorem
Erdos1167.erdos_1167.variants.infinite_targets_needs_boundTheinfinite_targetsvariant without the bound $\kappa_\alpha \leq \lambda$ is false line 187 sourceSource documentation
The
infinite_targetsvariant without the bound $\kappa_\alpha \leq \lambda$ is false. Taking $\gamma = 1$, $\kappa_0 = 2^{\aleph_0}$, $\lambda = \aleph_0$: the premise $2^{\aleph_0} \to (2^{\aleph_0})^3_1$ holds since $2^{\aleph_0} \leq 2^{\aleph_0}$, but the conclusion $\aleph_0 \to (2^{\aleph_0})^2_1$ fails by Cantor's theorem.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Not,Nat,LE.le,OfNat.ofNat,Cardinal,Cardinal.aleph0,Ordinal,Ordinal.ToType, Combinatorics.cardinalPartitionRel,HPow.hPow,HAdd.hAddProof uses:
le_refl,LT.lt.le,Cardinal.cantor,Eq.mpr,GE.ge,id,Eq,congrArg,propext, Erdos1167.cardinalPartitionRel_one,And.right,Eq.mp27 instances, coercions and auxiliary constants left out.
Tactic trace: 7 steps
Open to load the checked before-and-after goal states.
theorem erdos_1167.variants.infinite_targets_needs_bound : ¬ (∀ (r : ℕ), 2 ≤ r → ∀ (lam : Cardinal.{u}), ℵ₀ ≤ lam → ∀ (γ : Ordinal.{u}) (κ : γ.ToType → Cardinal.{u}), (∀ i, ℵ₀ ≤ κ i) → cardinalPartitionRel ((2 : Cardinal.{u}) ^ lam) (r + 1) γ κ → cardinalPartitionRel lam r γ κ) := by …