/- 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, 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. -/ module public import FormalConjecturesUtil /-! # Erdős Problem 1022 *References:* - [erdosproblems.com/1022](https://www.erdosproblems.com/1022) - [Er71] Erdős, P., *Some unsolved problems in graph theory and combinatorial analysis*. Combinatorial Mathematics and its Applications (Proc. Conf., Oxford, 1969) (1971), 97-109. - [Lo68] Lovász, L., *On covering of graphs*. Theory of Graphs (Proc. Colloq., Tihany, 1966) (1968), 231-236. - [Wo13b] Wood, D. R., *Hypergraph colouring and degeneracy*. arXiv:1310.2972 (2013). -/ @[expose] public section namespace Erdos1022 /-- `SparseImpliesPropertyB t c` asserts that every finite family `F` of finite sets, all of size at least `t`, such that for every nonempty finite set `X` there are `< c * |X|` many `A ∈ F` with `A ⊆ X`, has property B. -/ def SparseImpliesPropertyB (t : ℕ) (c : ℝ) : Prop := ∀ F : Finset (Finset ℕ), (∀ A ∈ F, t ≤ A.card) → (∀ X : Finset ℕ, X.Nonempty → ((F.hypergraphInduce X).card : ℝ) < c * (X.card : ℝ)) → F.HasPropertyB set_option linter.style.formal_proof_palomar false in /-- Is there a constant $c_t$, where $c_t\to \infty$ as $t\to \infty$, such that if $\mathcal{F}$ is a finite family of finite sets, all of size at least $t$, and for every set $X$ there are $