AFTD Auto-Formalizing Theoretical Domains

op_2068_canonical_counterexample_non_isomorphic

theoremverifiedformalization

For parameters (n,k,t)=(5,3,2), both canonical families canonical_t_intersecting_family 5 3 2 0 and canonical_t_intersecting_family 5 3 2 1 have cardinality 4, both satisfy is_t_intersecting_family 2, and they are not isomorphic under are_perm_isomorphic_families 5.

Statement

theorem op_2068_canonical_counterexample_non_isomorphic :
    (canonical_t_intersecting_family 5 3 2 0).card = 4 ∧
    (canonical_t_intersecting_family 5 3 2 1).card = 4 ∧
    is_t_intersecting_family 2 (canonical_t_intersecting_family 5 3 2 0) ∧
    is_t_intersecting_family 2 (canonical_t_intersecting_family 5 3 2 1) ∧
    ¬ are_perm_isomorphic_families 5
      (canonical_t_intersecting_family 5 3 2 0)
      (canonical_t_intersecting_family 5 3 2 1)
Formalizes
arXiv:2611.25346 Sec. 3
Verified
23 Nov 2026
Axioms
Classical.choiceQuot.soundpropext
Built on 3
  • 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 α,…
  • are_perm_isomorphic_familiesTwo families of subsets of [n] are isomorphic if there is a permutation of [n] mapping one to the other.

Read back from the Lean

The theorem asserts that for the canonical families with parameters $(n, k, t, r) = (5, 3, 2, 0)$ and $(5, 3, 2, 1)$, all of the following hold: 1. The family canonical_t_intersecting_family 5 3 2 0 has cardinality 4. 2. The family canonical_t_intersecting_family 5 3 2 1 has cardinality 4. 3. canonical_t_intersecting_family 5 3 2 0 is 2-intersecting (every pair of its members intersects in at least 2 elements). 4. canonical_t_intersecting_family 5 3 2 1 is 2-intersecting. 5. The two families are not permutation-isomorphic on Fin 5 (there is no permutation of Fin 5 that maps one family to the other).

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 shows that for parameters (n, k, t) = (5, 3, 2), the two canonical intersecting families ℱ₀ (for r = 0) and ℱ₁ (for r = 1) form a counterexample to the conjecture that canonical intersecting families of the same size are isomorphic. The proof constructs a 5-part conjunction verifying that both families have cardinality 4, both are 2-intersecting, and no permutation of the 5-element ground set maps one to the other. Because all sets and permutations involved are finite, each statement is proved by computational reflection using the `decide` tactic after unfolding the relevant definitions.

  1. The canonical families ℱ₀ and ℱ₁ each contain exactly 4 sets. automation

    For parameters (n, k, t) = (5, 3, 2), the family ℱ₀ (with r = 0) consists of all subsets of {0, 1, 2, 3, 4} of size at most 3 containing {0, 1}, which yields 4 sets: {0, 1}, {0, 1, 2}, {0, 1, 3}, and {0, 1, 4}. The family ℱ₁ (with r = 1) consists of all 3-element subsets of {0, 1, 2, 3}, which also yields (4 choose 3) = 4 sets. The `decide` tactic computes and confirms both cardinalities directly.

    line 9

          (canonical_t_intersecting_family 5 3 2 1) := ⟨by decide, by decide, by
  2. The canonical family ℱ₀ is 2-intersecting. automation

    Unfolding the definition of a t-intersecting family with t = 2, it suffices to check that |A ∩ B| ≥ 2 for all A, B ∈ ℱ₀. Since every member of ℱ₀ contains the pair {0, 1}, any two sets share at least these 2 elements. The `decide` tactic verifies this condition by checking all pairs of sets in the family.

    lines 10–11

          unfold is_t_intersecting_family
          decide, by
  3. The canonical family ℱ₁ is 2-intersecting. automation

    Unfolding the definition with t = 2, it suffices to show that |A ∩ B| ≥ 2 for all A, B ∈ ℱ₁. Every set in ℱ₁ is a 3-element subset of the 4-element base set {0, 1, 2, 3}; by inclusion-exclusion, any two such subsets intersect in at least 3 + 3 - 4 = 2 elements. The `decide` tactic verifies this condition exhaustively across all pairs in the family.

    lines 12–13

          unfold is_t_intersecting_family
          decide, by
  4. The canonical families ℱ₀ and ℱ₁ are not permutation-isomorphic. automation

    Unfolding the definition of isomorphic families, we must show that no permutation of {0, 1, 2, 3, 4} maps ℱ₀ to ℱ₁. Permutations preserve set sizes, but ℱ₀ contains a 2-element set ({0, 1}) whereas every set in ℱ₁ has size 3. The `decide` tactic confirms non-isomorphism by exhaustively testing all 120 permutations in the symmetric group S₅.

    lines 14–15

          unfold are_perm_isomorphic_families
          decide⟩

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

/-- For parameters (n,k,t)=(5,3,2), both canonical families S_0 and S_1 have size 4 and are 2-intersecting, but are not isomorphic. -/theorem op_2068_canonical_counterexample_non_isomorphic :    (canonical_t_intersecting_family 5 3 2 0).card = 4 ∧    (canonical_t_intersecting_family 5 3 2 1).card = 4 ∧    is_t_intersecting_family 2 (canonical_t_intersecting_family 5 3 2 0) ∧    is_t_intersecting_family 2 (canonical_t_intersecting_family 5 3 2 1) ∧    ¬ are_perm_isomorphic_families 5      (canonical_t_intersecting_family 5 3 2 0)      (canonical_t_intersecting_family 5 3 2 1) := ⟨by decide, by decide, by      unfold is_t_intersecting_family      decide, by      unfold is_t_intersecting_family      decide, by      unfold are_perm_isomorphic_families      decide⟩
See it in the graphDiscuss this resultChallenge it