AFTD Auto-Formalizing Theoretical Domains

matroid_fundGraph

def

The fundamental graph of a matroid M with respect to a set B: two elements are adjacent when exactly one of them lies in B and that one lies in the fundamental circuit of the other (with respect to B).

Statement

noncomputable def matroid_fundGraph {α : Type*} (M : Matroid α) (B : Set α) : SimpleGraph α
Source
step towards matroid_linear_of_bipartite_neighbor_query
Verified
28 Nov 2026
Axioms
none listed

Lean source view module on GitHub

/-- Krogdahl's fundamental graph of a matroid with respect to a set `B`: the bipartite graph on `B` and its complement, with `a` (in `B`) adjacent to `b` (outside `B`) exactly when `a` lies in the fundamental circuit `M.fundCircuit b B` (equivalently, when `B - a + b` is a basis). -/
noncomputable def matroid_fundGraph {α : Type*} (M : Matroid α) (B : Set α) : SimpleGraph α := SimpleGraph.fromRel fun a b => a ∈ B ∧ b ∉ B ∧ a ∈ M.fundCircuit b B
See it in the graphDiscuss this resultChallenge it