AFTD Auto-Formalizing Theoretical Domains

op1370_sharp_no_private_dense_fibers_counterexample

theoremverifiedoriginal

There exist three nonempty uncomplemented mutually strongly incomparable families of subsets of Fin 7. For every coordinate, some two distinct families contain sets including it, and some two distinct families contain sets excluding it. The sum of their sizes is 62. For each coordinate x, at least fourteen arbitrary subsets R of Fin 7 excluding x satisfy that both R and R union {x} belong to the union of the families.

Statement

theorem op1370_sharp_no_private_dense_fibers_counterexample : ∃ 𝒜 : Fin 3 → Finset (Finset (Fin 7)), (∀ i, (𝒜 i).Nonempty) ∧ (∀ i, is_uncomplemented (𝒜 i)) ∧ strongly_incomparable 𝒜 ∧ (∀ x, ∃ i j : Fin 3, i ≠ j ∧ (∃ S ∈ 𝒜 i, x ∈ S) ∧ (∃ T ∈ 𝒜 j, x ∈ T)) ∧ (∀ x, ∃ i j : Fin 3, i ≠ j ∧ (∃ S ∈ 𝒜 i, x ∉ S) ∧ (∃ T ∈ 𝒜 j, x ∉ T)) ∧ (∑ i, (𝒜 i).card) = 62 ∧ ∀ x, 14 ≤ (((Finset.univ.biUnion 𝒜).filter (fun S => x ∉ S)) ∩ (((Finset.univ.biUnion 𝒜).filter (fun S => x ∈ S)).image (fun S => S.erase x))).card
Related work
A counterexample to a sparse-fiber approach to the no-private stability case of Conjecture 4.3 of arXiv:2611.12199.
Verified
17 Nov 2026
Axioms
Classical.choiceQuot.soundpropext
Built on 2
  • is_uncomplementedA family of subsets of a finite set is uncomplemented if no set and its complement both belong to the family.
  • strongly_incomparableAn indexed family of finset families 𝒜 : ι → Finset (Finset α) is strongly incomparable if for all i j : ι with i ≠ j, for all…

Read back from the Lean

There exists a family 𝒜 indexed by Fin 3 of finite sets of subsets of Fin 7 (i.e., 𝒜 : Fin 3 → Finset (Finset (Fin 7))) such that all of the following hold: 1. For every i : Fin 3, 𝒜 i is nonempty. 2. For every i : Fin 3, 𝒜 i is uncomplemented (i.e., for every A ∈ 𝒜 i, Aᶜ ∉ 𝒜 i). 3. 𝒜 is strongly incomparable (i.e., for all i, j : Fin 3 with i ≠ j, for every A ∈ 𝒜 i and B ∈ 𝒜 j, A ⊈ B). 4. For every x : Fin 7, there exist distinct i, j : Fin 3 (i ≠ j) such that there exists S ∈ 𝒜 i with x ∈ S and there exists T ∈ 𝒜 j with x ∈ T. 5. For every x : Fin 7, there exist distinct i, j : Fin 3 (i ≠ j) such that there exists S ∈ 𝒜 i with x ∉ S and there exists T ∈ 𝒜 j with x ∉ T. 6. The sum over i : Fin 3 of the cardinality of 𝒜 i equals 62. 7. For every x : Fin 7, the cardinality of the intersection of: - the set of all sets S in the union ⋃_{i : Fin 3} 𝒜 i such that x ∉ S, and - the image under (S ↦ S \ {x}) of the set of all sets S in the union ⋃_{i : Fin 3} 𝒜 i such that x ∈ S is at least 14 (equivalently, there are at least 14 sets S in the union such that x ∉ S and S ∪ {x} is also in the union).

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 exhibiting an explicit counterexample: a triple of families of subsets of Fin 7 defined by bitmasks with sizes 21, 40, and 1, respectively. All required properties—nonemptiness, uncomplementedness, mutual strong incomparability, non-privateness of coordinate appearances and exclusions, total size 62, and having at least 14 dense fiber pairs along each coordinate—are then verified by finite computation via Lean's `decide` tactic.

  1. To prove the theorem, it suffices to show that the explicit triple of families of subsets of {0, …, 6} satisfies all seven conditions.

    We provide the explicitly defined triple 𝒜 = (𝒜₀, 𝒜₁, 𝒜₂) of families of subsets of {0, …, 6} (defined via bitmasks with sizes 21, 40, and 1, respectively) as a witness for the existential quantifier. This leaves seven subgoals, corresponding to each conjunct in the statement.

    line 21

      refine ⟨op1370_sharp_no_private_dense_fibers_counterexample_fam, ?_, ?_, ?_, ?_, ?_, ?_, ?_⟩
  2. Each of the three families 𝒜₀, 𝒜₁, 𝒜₂ is nonempty. automation

    Each family has at least one element (their cardinalities are 21, 40, and 1), which is verified by direct computation.

    line 22

      · decide
  3. Each of the three families is uncomplemented: no family contains both a set and its complement. automation

    Unfolding the definition of `is_uncomplemented`, we must check that for each family and each set A in it, the complement {0, …, 6} \ A does not belong to that family. Lean's decision procedure checks this exhaustively for all sets across the three families.

    lines 23–24

    uses is_uncomplemented

      · simp only [is_uncomplemented]
        decide
  4. The three families are mutually strongly incomparable: no set in one family is a subset of a set in another family. automation

    Unfolding the definition of `strongly_incomparable`, we must check that for all distinct indices i ≠ j, no set A ∈ 𝒜 i satisfies A ⊆ B for any B ∈ 𝒜 j. Lean exhaustively checks all pairs of sets between distinct families.

    lines 25–26

    uses strongly_incomparable

      · simp only [strongly_incomparable]
        decide
  5. For every coordinate x ∈ {0, …, 6}, at least two distinct families contain sets including x. automation

    For each of the 7 coordinates, we find two distinct indices i ≠ j such that x belongs to some set in 𝒜 i and some set in 𝒜 j. The finite search over coordinates and sets is discharged by direct computation.

    line 27

      · decide
  6. For every coordinate x ∈ {0, …, 6}, at least two distinct families contain sets excluding x. automation

    For each of the 7 coordinates, we find two distinct indices i ≠ j such that x is absent from some set in 𝒜 i and from some set in 𝒜 j. The finite search is discharged by direct computation.

    line 28

      · decide
  7. The sum of the sizes of the three families is 62. automation

    The cardinalities of the three families are 21, 40, and 1, respectively, and 21 + 40 + 1 = 62, which Lean checks by direct arithmetic evaluation.

    line 29

      · decide
  8. For each coordinate x, at least 14 subsets R excluding x have both R and R ∪ {x} in the union of the families. automation

    For each coordinate x ∈ {0, …, 6}, we form the intersection of the sets in ⋃ 𝒜 that exclude x with the sets obtained by deleting x from the sets in ⋃ 𝒜 that include x. This intersection corresponds to the pairs (R, R ∪ {x}) entirely contained in ⋃ 𝒜. Lean evaluates the size of this intersection for each of the 7 coordinates by finite computation and confirms that each is at least 14.

    line 30

      · decide
is_uncomplemented
A family of subsets 𝒜 of a finite set is uncomplemented if for every set A ∈ 𝒜, its complement Aᶜ does not belong to 𝒜.
strongly_incomparable
An indexed collection of families of sets 𝒜 is strongly incomparable if for any two distinct indices i ≠ j, no set in 𝒜 i is a subset of any set in 𝒜 j.

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

def op1370_sharp_no_private_dense_fibers_counterexample_b (m : Nat) : Finset (Fin 7) :=  Finset.univ.filter (fun i => m.testBit i.val)def op1370_sharp_no_private_dense_fibers_counterexample_A0 : Finset (Finset (Fin 7)) :=  ({3,7,11,18,19,21,22,23,26,35,39,49,50,51,53,54,55,67,81,82,83} : Finset Nat).image    op1370_sharp_no_private_dense_fibers_counterexample_bdef op1370_sharp_no_private_dense_fibers_counterexample_A1 : Finset (Finset (Fin 7)) :=  ({12,13,14,28,40,41,42,44,45,46,56,60,68,69,70,72,73,74,76,77,78,84,88,92,96,97,98,100,101,102,104,105,106,108,109,110,112,116,120,124} : Finset Nat).image    op1370_sharp_no_private_dense_fibers_counterexample_bdef op1370_sharp_no_private_dense_fibers_counterexample_A2 : Finset (Finset (Fin 7)) :=  ({25} : Finset Nat).image op1370_sharp_no_private_dense_fibers_counterexample_bdef op1370_sharp_no_private_dense_fibers_counterexample_fam : Fin 3 → Finset (Finset (Fin 7)) :=  ![op1370_sharp_no_private_dense_fibers_counterexample_A0,    op1370_sharp_no_private_dense_fibers_counterexample_A1,    op1370_sharp_no_private_dense_fibers_counterexample_A2]theorem op1370_sharp_no_private_dense_fibers_counterexample : ∃ 𝒜 : Fin 3 → Finset (Finset (Fin 7)), (∀ i, (𝒜 i).Nonempty) ∧ (∀ i, is_uncomplemented (𝒜 i)) ∧ strongly_incomparable 𝒜 ∧ (∀ x, ∃ i j : Fin 3, i ≠ j ∧ (∃ S ∈ 𝒜 i, x ∈ S) ∧ (∃ T ∈ 𝒜 j, x ∈ T)) ∧ (∀ x, ∃ i j : Fin 3, i ≠ j ∧ (∃ S ∈ 𝒜 i, x ∉ S) ∧ (∃ T ∈ 𝒜 j, x ∉ T)) ∧ (∑ i, (𝒜 i).card) = 62 ∧ ∀ x, 14 ≤ (((Finset.univ.biUnion 𝒜).filter (fun S => x ∉ S)) ∩ (((Finset.univ.biUnion 𝒜).filter (fun S => x ∈ S)).image (fun S => S.erase x))).card := by  refine ⟨op1370_sharp_no_private_dense_fibers_counterexample_fam, ?_, ?_, ?_, ?_, ?_, ?_, ?_⟩  · decide  · simp only [is_uncomplemented]    decide  · simp only [strongly_incomparable]    decide  · decide  · decide  · decide  · decide
See it in the graphDiscuss this resultChallenge it