op_2068_example_seven_four_two_canonical_sizes
For parameters (n,k,t)=(7,4,2), the canonical families canonical_t_intersecting_family 7 4 2 0, canonical_t_intersecting_family 7 4 2 1, and canonical_t_intersecting_family 7 4 2 2 have cardinalities 16, 17, and 15 respectively, and canonical_t_intersecting_family 7 4 2 1 satisfies is_t_intersecting_family 2.
Statement
theorem op_2068_example_seven_four_two_canonical_sizes :
(canonical_t_intersecting_family 7 4 2 0).card = 16 ∧
(canonical_t_intersecting_family 7 4 2 1).card = 17 ∧
(canonical_t_intersecting_family 7 4 2 2).card = 15 ∧
is_t_intersecting_family 2 (canonical_t_intersecting_family 7 4 2 1)- Formalizes
- arXiv:2611.25346 Example 1.5
- Verified
- 23 Nov 2026
- Axioms
Classical.choiceQuot.soundpropext- Built on 2
- canonical_t_intersecting_familyThe canonical t-intersecting family S_r^{\le k} consists of all subsets of [n] of size at most k containing at least t + r points from the…
- is_t_intersecting_familyGiven a type α with decidable equality, a threshold t : ℕ, and a finite family ℱ : Finset (Finset α) of finite subsets of α,…
Read back from the Lean
The conjunction of four statements about canonical $t$-intersecting families of subsets of Fin 7 with maximum set size $k = 4$ and intersection parameter $t = 2$:
1. For $r = 0$, the family of subsets $A \subseteq \text{Fin } 7$ satisfying $|A| \le 4$ and $|A \cap \{x \in \text{Fin } 7 \mid x < 2\}| \ge 2$ has cardinality 16.
2. For $r = 1$, the family of subsets $A \subseteq \text{Fin } 7$ satisfying $|A| \le 4$ and $|A \cap \{x \in \text{Fin } 7 \mid x < 4\}| \ge 3$ has cardinality 17.
3. For $r = 2$, the family of subsets $A \subseteq \text{Fin } 7$ satisfying $|A| \le 4$ and $|A \cap \{x \in \text{Fin } 7 \mid x < 6\}| \ge 4$ has cardinality 15.
4. The family for $r = 1$ is 2-intersecting: for every pair of sets $A, B$ in that family, $|A \cap B| \ge 2$.
Written by a model that saw only the Lean, never the English above. If the two disagree, that is worth a challenge.
The proof, explained
The theorem is proved by direct computation. Expanding the definition of a 2-intersecting family leaves four assertions about finite subsets of a 7-element universe: three cardinality checks and a universal check on pairwise intersections. Lean's `decide` tactic settles the goal by exhaustive evaluation.
The canonical families for r = 0, 1, and 2 have cardinalities 16, 17, and 15 respectively, and the family for r = 1 is 2-intersecting. automation
Unfolding the definition of `is_t_intersecting_family` rephrases the last conjunct as the requirement that $|A ∩ B| ≥ 2$ for all pairs of subsets A, B in the canonical family with r = 1. Because the base universe is the finite type Fin 7, the families are concrete finite collections of subsets. The `decide` tactic evaluates the three cardinalities and exhaustively checks the intersection condition for all pairs of sets.
unfold is_t_intersecting_family decide
- The proof relies on Lean's `decide` tactic to verify the statement by computational exhaustion over finite sets, rather than by an analytic combinatorial argument.
Written by a model (gemini-3.8-flash) from the Lean proof and the goal states Lean reported at each step. Lean verified the proof; this explanation is a reading aid and is not itself machine-checked.
Lean source view module on GitHub
Choose a tactic — a marked line — to see the goals Lean had before and after it, as in Lean’s infoview. Step with ← → or j k.
/-- For parameters (n,k,t)=(7,4,2), the canonical families S_0, S_1, and S_2 have sizes 16, 17, and 15 respectively. -/theorem op_2068_example_seven_four_two_canonical_sizes : (canonical_t_intersecting_family 7 4 2 0).card = 16 ∧ (canonical_t_intersecting_family 7 4 2 1).card = 17 ∧ (canonical_t_intersecting_family 7 4 2 2).card = 15 ∧ is_t_intersecting_family 2 (canonical_t_intersecting_family 7 4 2 1) := by unfold is_t_intersecting_family decide