How this calculation works
Compute the complete connectivity cut function lambda(A), connected components and all low-order separations of a represented matroid. Circuits/flats engine does not enumerate separations or supply connectivity certificates.
λ(A)=r(A)+r(E\A)−r(E); A|B is a k-separation when |A|,|B|≥k and λ(A)≤k−1.A worked example
Over GF(2), columns [e1,e1,e2,e2] split into {0,1}|{2,3}. Each side has rank 1 and total rank is 2, so lambda=0 and the two parallel pairs form a direct sum.
Good to know
Prime field2,3,5,7; matrix≤8rows×12labeled columns; separation order1–3. Enumerates subset ranks and low-order cut witnesses. Does not separately return connected components or a canonical decomposition tree.
Reference: SageMath: Matroid connectivity (opens in a new tab) ↗
Represented matroid ground set
The columns of the supplied matrix are the labeled matroid ground elements. A subset’s rank is the linear rank of those columns over the selected prime field.
Row operations and redundant rows preserve the represented matroid. Column labels remain fixed even for parallel or zero columns, since separations are subsets of the labeled ground set.
Compare this with the Linear matroid circuits and flats calculator from a matrix. Compute the complete connectivity cut function lambda(A), connected components and all low-order separations of a represented matroid. Circuits/flats engine does not enumerate separations or supply connectivity certificates.
Rank cut function lambda
For a cut A|B, compute lambda as r(A)+r(B)−r(E). This measures the rank interaction shared across the two sides rather than counting graph edges crossing a cut.
The function is symmetric under exchanging sides. Listing only the side containing label zero removes complementary duplicates while preserving one representative of every nontrivial cut. The default binary matrix consists of two parallel pairs in independent directions. For the split separating those pairs, each side has rank one and the total has rank two, so lambda is zero. That demonstrates disconnected matroid structure without needing a graph interpretation. Element labels refer to matrix columns, and a zero column is a loop rather than a malformed row. Working over a different prime field can change subset ranks and therefore the connectivity function.
Size conventions for k-separations
A k-separation requires at least k elements on each side and lambda at most k−1. Both conditions matter: a low lambda on a tiny side does not automatically qualify for larger k.
Keep the rank convention explicit. Some sources define connectivity with an extra one; adding that shift here would change the stated separation inequalities and invalidate the certificates.
Complement symmetry
Lambda-zero cuts describe direct-sum separation. Connected components can be recovered by grouping elements linked through circuits, or by using the complete zero-cut structure.
Loops and coloops deserve explicit handling, since they can form singleton direct-sum components. The finite matrix model naturally detects them through rank, without requiring a graph interpretation. For each subset A the calculator evaluates r(A)+r(E minus A)−r(E). A k-separation additionally requires both sides to contain at least k elements and lambda at most k−1. Each unordered cut is listed once by keeping element zero on the left. The histogram, however, counts all labeled subsets including complements and empty/full subsets. Those two output conventions are intentionally different, so the number of listed separations cannot be read directly from one histogram bin without accounting for side-size constraints and complementary duplication.
Connected components and direct sums
The default matrix has two copies of e1 followed by two copies of e2. For A={0,1}, r(A)=1; for B={2,3}, r(B)=1; the full rank is two.
Hence lambda(A)=0. Both sides contain two elements, so this cut satisfies the size conditions for a two-separation as well as exhibiting a direct-sum split.
Worked low-order separator
The diagram groups the parallel columns and displays the three ranks used in the formula. A useful certificate always retains both sides, their ranks and the resulting lambda value.
As a contrasting fixture, U2,4 represented over GF(3) has rank two and every pair independent. Its two-versus-two cuts have lambda two, so none is a two-separation. The current output supplies low-order separation witnesses and the rank histogram; it does not separately list connected components or a tree decomposition of3-connected pieces. Circuits and flats encode related structure but do not replace these explicit cut certificates. Above twelve columns exhaustive subset ranking is outside the supported domain. The absence of a k-separation is a statement for that selected order, not proof that every stronger notion of connectivity or every higher-order separation has been analyzed.
Limits and distinction from graph cuts
Enumerating every subset supports exact low-order separation counts within the ground-size limit. Rank results can be cached, and complement symmetry reduces repeated work without changing the mathematical enumeration.
A complete separation table is not automatically a canonical decomposition tree. The initial scope reports cuts and a rank-connectivity histogram; stronger decomposition choices would require additional conventions and algorithms.
A few questions, answered
Is matroid connectivity graph edge connectivity?
No. It measures rank interaction across a ground-set partition.
Why exclude tiny sides of a separation?
The definition of a k-separation requires at least k elements on both sides.
How are loops handled?
Zero columns are loops and remain labeled ground elements, including their singleton direct-sum behavior.
Does the tool produce a canonical decomposition tree?
No. The initial output lists exact separations and connectivity witnesses.