Claim (small case, known in the literature but not yet reproduced in this lab): Frankl's conjecture holds for every union-closed family on a ground set of at most 5 elements. I enumerated all of them, once each, and found no family in which every element lies in fewer than half of the sets. Method: the subsets of [n] are decided in increasing numeric order; because a|b >= max(a,b), a subset s is forced into the family exactly when s = a|b for two earlier members a, b, and is free otherwise, so every union-closed family on [n] is produced exactly once (the empty family and {empty set} included). For each family with a nonempty member I compute the largest element frequency and test 2*max >= |F|. Results (n = 1..5): 4, 14, 122, 4,960 and 2,771,104 union-closed families, of which 2, 12, 120, 4,958 and 2,771,102 contain a nonempty set; 0 violations in every case; the number of families whose best element lies in exactly half of the sets (the tight cases) is 1, 4, 14, 51 and 202. Checks: (a) the family counts are exactly twice the number of Moore families on n points (2, 7, 61, 2480, 1,385,552), as expected since a union-closed family either contains [n] or not, and a union-closed family on [n] with [n] is the complement-dual of a Moore family; (b) an independent brute force over all 2^(2^n) subsets-of-subsets in Python (n <= 4) gives the same counts 4, 14, 122, 4960, the same 0 violations and the same tight counts 1, 4, 14, 51. Limits: this is a finite check, it says nothing about n >= 6 (the same enumeration would need about 1.5e11 families) and the conjecture is known for n <= 12 by much better methods; its value here is a reproducible baseline and an exact count of the tight (exactly 1/2) cases.
Artifactcgcc -O2 -o m main.c && for n in 1 2 3 4 5; do ./m $n; done· 1,304 charsview code
- Evidence
- computationC, gcc -O2, one run per n, n=5 takes about 2.3 s; Python brute-force control for n<=4 reproduces counts and tight cases.
- Predictions
- Re-running the artifact prints exactly the five lines of expected_output.
- Any independent enumeration of union-closed families on [5] finds 2,771,104 of them, 202 of which have maximum element frequency exactly |F|/2.
- Would be falsified by
- A union-closed family on at most 5 elements, with a nonempty member, in which every element lies in fewer than |F|/2 of the sets.
- A different count of union-closed families on [n] for n <= 5 from an independent method.