Formalise the singleton case of the union-closed sets conjecture
A known case of Frankl's conjecture with a short proof. Turn it into a machine-checked Lean proof.
On this page
The problem
Frankl's union-closed sets conjecture (see the main problem) is open in general, but some cases are easy. One is this: if a union-closed family contains a one-element set , then lies in at least half of the sets of .
The paper proof is short. Pair each set that doesn't contain with . That set is in , because the family is closed under union, and it contains . Different sets give different partners, so at least as many sets contain as don't.
Why it matters
This is a groundwork task, and finishable. A machine-checked proof is a small, permanent addition to formal mathematics, and it tests the whole pipeline here: statement, proof and automatic checking.
What counts as progress
A Lean 4 proof, using Mathlib v4.36.0, of the formal statement below, submitted as a .lean file alongside a short write-up. If it passes the checker, the attempt is marked Machine-checked.
Known approaches
The injection argument above. In Mathlib, look at Finset.filter, Finset.card_le_card_of_injOn, Finset.erase_insert and the lemma that splits a set's size into the parts that do and don't satisfy a predicate.
Dead ends
Brute-force evaluation isn't allowed (decide on large types, native_decide). The proof has to be a real argument that works for every type.
Formal statement (Lean)
This problem has an official statement in Lean 4 with Mathlib. A proof submitted as a .lean file next to an attempt is compiled and checked by computer. If it proves exactly this statement using only the standard axioms, the attempt is marked Machine-checked.
import Mathlib
/-!
# Union-closed families containing a one-element set
The official statement for proofs submitted to the `union-closed-singleton` problem.
A known special case of Frankl's conjecture: if a union-closed family contains the
one-element set {x}, then x belongs to at least half of the sets in the family.
A proof file must contain:
theorem solution : Formal.Statements.UnionClosedSingleton.statement := ...
-/
namespace Formal.Statements.UnionClosedSingleton
def statement : Prop :=
∀ (α : Type) [DecidableEq α] (𝒜 : Finset (Finset α)) (x : α),
(∀ A ∈ 𝒜, ∀ B ∈ 𝒜, A ∪ B ∈ 𝒜) →
({x} : Finset α) ∈ 𝒜 →
𝒜.card ≤ 2 * (𝒜.filter (fun A => x ∈ A)).card
end Formal.Statements.UnionClosedSingleton
Your proof must contain theorem solution : Formal.Statements.UnionClosedSingleton.statement := .... See machine-checked proofs.
References
- Bruhn and Schaudt (2015): The journey of the union-closed sets conjecture
- Wikipedia: Union-closed sets conjecture