matroid_binary_bulk_test_counterexample
There are three nonzero binary two-coordinate columns, one supported on both coordinates, such that the last two columns are linearly dependent. Their fundamental-support bipartite graph is connected, so the permutation-family bulk test does not extend to this connected example.
Statement
theorem matroid_binary_bulk_test_counterexample : ∃ v : Fin 3 → Fin 2 → ZMod 2, (∀ e : Fin 3, ∃ b : Fin 2, v e b = 1) ∧ (∃ e : Fin 3, v e 0 = 1 ∧ v e 1 = 1) ∧ ¬ LinearIndependent (ZMod 2) (fun i : Fin 2 => v i.succ)
- Source
- Explicit connected-support binary counterexample from experiment 44245, related to OP-1998.
- Verified
- 28 Nov 2026
- Axioms
Classical.choiceQuot.soundpropext
The proof, explained
The theorem is proved by exhibiting an explicit counterexample: the three binary columns $v_0 = (1, 0)$, $v_1 = (1, 1)$, and $v_2 = (1, 1)$ in $(\mathbb{Z}/2\mathbb{Z})^2$. Each column is nonzero because its first coordinate is 1, and column $v_1$ has full support since both coordinates are 1. The pair of columns $(v_1, v_2)$ is linearly dependent because the two vectors are identical, which contradicts the injectivity required of any linearly independent family.
Define the candidate counterexample $v$ consisting of three columns in $(\mathbb{Z}/2\mathbb{Z})^2$, reducing the theorem to three subgoals.
We define the matrix $v : \text{Fin } 3 \to \text{Fin } 2 \to \mathbb{Z}/2\mathbb{Z}$ by the columns $v_0 = (1, 0)$, $v_1 = (1, 1)$, and $v_2 = (1, 1)$. Supplying $v$ as the existential witness reduces the theorem to verifying: (1) every column is nonzero, (2) at least one column has full support, and (3) the last two columns $(v_1, v_2)$ are linearly dependent.
let v : Fin 3 → Fin 2 → ZMod 2 := ![![1,0], ![1,1], ![1,1]] refine ⟨v, ?_, ?_, ?_⟩
Every column in $v$ is nonzero.
Given any column index $e \in \{0, 1, 2\}$, we show coordinate $0$ is nonzero. Case analysis on $e$ confirms by direct computation that $v_0(0) = 1$, $v_1(0) = 1$, and $v_2(0) = 1$, so each column contains at least one 1.
· intro e refine ⟨0, ?_⟩ fin_cases e <;> decide
There is a column supported on both coordinates.
We choose column $e = 1$. Direct computation verifies that $v_1(0) = 1$ and $v_1(1) = 1$, so this column has support on both coordinates.
· exact ⟨1, by decide, by decide⟩
The sub-family formed by the last two columns, $(v_1, v_2)$, is linearly dependent.
We assume for contradiction that $(v_1, v_2)$ is linearly independent. By evaluating both coordinates, we see that $v_1 = v_2 = (1, 1)$. Because any linearly independent family must have an injective indexing map, the identity $v_1 = v_2$ implies that the indices $0$ and $1$ in $\text{Fin } 2$ are equal. This contradicts $0 \ne 1$ in $\text{Fin } 2$, completing the proof.
· intro h have hv : v (0 : Fin 2).succ = v (1 : Fin 2).succ := by funext b fin_cases b <;> decide have he : (0 : Fin 2) = 1 := h.injective hv exact (by decide : (0 : Fin 2) ≠ 1) he
- The English theorem description mentions the connectivity of the fundamental-support bipartite graph and the permutation-family bulk test, which motivate the result in matroid theory; the formal Lean statement specifically establishes the algebraic core: the existence of three nonzero binary vectors with one fully supported column whose final two columns are linearly dependent.
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.
set_option maxRecDepth 8192theorem matroid_binary_bulk_test_counterexample : ∃ v : Fin 3 → Fin 2 → ZMod 2, (∀ e : Fin 3, ∃ b : Fin 2, v e b = 1) ∧ (∃ e : Fin 3, v e 0 = 1 ∧ v e 1 = 1) ∧ ¬ LinearIndependent (ZMod 2) (fun i : Fin 2 => v i.succ) := by let v : Fin 3 → Fin 2 → ZMod 2 := ![![1,0], ![1,1], ![1,1]] refine ⟨v, ?_, ?_, ?_⟩ · intro e refine ⟨0, ?_⟩ fin_cases e <;> decide · exact ⟨1, by decide, by decide⟩ · intro h have hv : v (0 : Fin 2).succ = v (1 : Fin 2).succ := by funext b fin_cases b <;> decide have he : (0 : Fin 2) = 1 := h.injective hv exact (by decide : (0 : Fin 2) ≠ 1) he