--- pretty_name: Union-closed families in Lean tags: - lean4 - combinatorics - formal-proofs viewer: false --- # Union-closed families in Lean Every finite union-closed family of finite sets containing a nonempty member has an element in strictly more than 38.4470% of its members. A second theorem gives a strict 7/18 bound when a proper distributive principal ideal contains at least 16/27 of the family. The unrestricted 7/18 target remains open in this work. [Download the Lean sources and replay scripts](https://huggingface.co/datasets/plainreed/union-closed-lean/resolve/75bc37e4abe7de58db6266d78e96f1c920b2de0e/challenge9-community-kit-v2.zip?download=true) ยท [Read the three-page proof note](https://huggingface.co/datasets/plainreed/union-closed-lean/resolve/75bc37e4abe7de58db6266d78e96f1c920b2de0e/union-closed-frequency.pdf) ## Replay the unrestricted theorem Extract the ZIP and run the following commands from the extracted directory. The first checks the pinned inputs, and the second rebuilds the proof and runs the Lean kernel checker. ```sh cd unrestricted-proof python3 verify.py --check-inputs python3 verify.py ``` The final theorem is `Research.JointTariffFrequency.unrestricted`. Its rational certificate covers 710 cases. The archive also includes `ideal-proof/verify.py` for the conditional result and a runnable finite quotient example. Proof search and formalization used Codex and Lean 4. ZIP SHA-256: `1f5ca717555a76f8b983f650f96d61461a3884a34fe49a67665d5158f128a969`. [Report an independent replay or discuss the next step on Prove2Me](https://prove2.me/missions/Ten_Challenges_09%3A_Union-closed_sets_conjecture/discussions).