Complementation, Local Complementation, and Switching in Binary Matroids
James Oxley, Jagdeep Singh

TL;DR
This paper generalizes graph operations like complementation and switching to binary matroids, characterizes their effects on binary projective geometries, and introduces a new operation to generate all binary matroids.
Contribution
It extends graph operations to binary matroids, characterizes their effects, and introduces a new operation to generate all binary matroids from projective geometries.
Findings
Not all binary matroids of a given rank can be obtained from a projective geometry using three operations.
A fourth operation is introduced that allows generating all binary matroids.
The paper provides a characterization of binary matroids obtainable from projective geometries.
Abstract
In 2004, Ehrenfeucht, Harju, and Rozenberg showed that any graph on a vertex set can be obtained from a complete graph on via a sequence of the operations of complementation, switching edges and non-edges at a vertex, and local complementation. The last operation involves taking the complement in the neighbourhood of a vertex. In this paper, we consider natural generalizations of these operations for binary matroids and explore their behaviour. We characterize all binary matroids obtainable from the binary projective geometry of rank under the operations of complementation and switching. Moreover, we show that not all binary matroids of rank at most can be obtained from a projective geometry of rank via a sequence of the three generalized operations. We introduce a fourth operation and show that, with this additional operation, we are able to obtain all binary…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
\stackMath
Complementation, Local Complementation, and Switching in Binary Matroids
James Oxley
Mathematics Department
Louisiana State University
Baton Rouge, Louisiana
and
Jagdeep Singh
Mathematics Department
Louisiana State University
Baton Rouge, Louisiana
Abstract.
In 2004, Ehrenfeucht, Harju, and Rozenberg showed that any graph on a vertex set can be obtained from a complete graph on via a sequence of the operations of complementation, switching edges and non-edges at a vertex, and local complementation. The last operation involves taking the complement in the neighbourhood of a vertex. In this paper, we consider natural generalizations of these operations for binary matroids and explore their behaviour. We characterize all binary matroids obtainable from the binary projective geometry of rank under the operations of complementation and switching. Moreover, we show that not all binary matroids of rank at most can be obtained from a projective geometry of rank via a sequence of the three generalized operations. We introduce a fourth operation and show that, with this additional operation, we are able to obtain all binary matroids.
Key words and phrases:
complementation, local complementation, switching, binary matroid
1991 Mathematics Subject Classification:
05B35, 05C25
This paper is dedicated to Joseph Kung who has done so much for our subject.
1. Introduction
We only consider simple graphs and simple binary matroids in this paper. Our notation and terminology will follow [4]. Ehrenfeucht et al. consider three natural operations on a graph in [2]. Let be the complete graph on the vertex set . The complement of is . Let be a vertex of and be the set of edges of meeting . The graph , the switching of at , is . Thus, at , we interchange edges and non-edges. Let be the set of neighbours of . The local complementation of at is , that is, in the neighbourhood of , we interchange edges and non-edges.
Ehrenfeucht et al.[2] showed that complementation can be obtained by a sequence of operations of switching and local complementation. Their main result is the following.
Theorem 1.1**.**
Every graph on the vertex set can be obtained from via a sequence of switchings and local complementations.
In this paper, we try to generalize this theorem to binary matroids. Just as every -vertex simple graph is a subgraph of , every simple binary matroid of rank at most is a restriction of . Moreover, the three graph operations defined above have natural analogues for binary matroids.
Throughout this paper, we denote the rank- binary projective geometry by . We call cocircuits and hyperplanes of projective cocircuits and projective hyperplanes, respectively. For a given binary matroid , we fix a binary projective geometry of which is a restriction. The complement of in is the matroid on the ground set , that is, we change the elements of present in the ground set of to non-elements and vice versa. Observe that the switching of the graph with respect to a vertex is obtained by complementing inside the vertex bond of at . Since bonds in graphs correspond to cocircuits in matroids, a natural binary-matroid generalization of the switching operation in graphs is to complement inside a cocircuit of . The switching of in with respect to a cocircuit of is the matroid on the ground set , that is, we change the elements of present in the ground set of to non-elements and vice versa. The local complementation of in with respect to a projective cocircuit is the matroid on the ground set , that is, we complement inside , where denotes projective closure, that is, closure in . For example, is the rank- binary affine geometry, , which we will write as here.
In Section 3, we shall observe that the operations of complementation and switching commute with each other and that a composition of switchings is a switching. We use these observations to characterize the matroids in the same orbit as under the action of the operations of switching and complementation. In Section 4, we show that the switchings with respect to row-cocircuits of some fixed standard representation of generate all switchings.
In Section 5, we show that complementation can be written in terms of switchings and local complementations and that not all binary matroids of rank at most can be obtained from via a sequence of the operations of complementation, switching, and local complementation.
In Section 6, we introduce the pointed-swap operation and show that this new operation along with the operations of switching and complementation are enough to transform into any binary matroid of rank at most . Moreover, we show that any non-empty binary matroid other than can be obtained from via the operations of local complementation and pointed swaps.
2. Preliminaries
Let denote the set of all binary matroids that are restrictions of a fixed copy of and let Sym denote the symmetric group on . For any subset of and a matroid , let denote the matroid on the ground set , the symmetric difference of and . With the above notation, our three operations with respect to can be written in the following way:
- (1)
Complementation: . 2. (2)
Switching: . 3. (3)
Local Complementation: .
From the above notation, it is clear that and are all identity operations, that is, . Note that the operations of switching, complementation, and local complementation generate a subgroup of Sym. The following lemma is an immediate consequence of the fact that the operation of symmetric difference is commutative. It implies that the operations of complementation and switching commute.
Lemma 2.1**.**
For a binary matroid of rank at most and ,
[TABLE]
The following is a straightforward consequence of the last lemma.
Lemma 2.2**.**
Let be a restriction of and be a projective cocircuit. Then .
We shall refer to the operation as complementation inside the projective hyperplane . It may appear that the matroid generalization of the switching operation is stronger than the switching operation for graphs since, in graphs, we do complementation inside a vertex bond of the complete graph while, in matroids we do complementation inside any projective cocircuit. The following well-known result shows that this is not the case.
Lemma 2.3**.**
A set of edges of a complete graph on is a bond if and only if it can be written as the symmetric difference of some set of vertex bonds of .
This implies that we can do complementation inside any bond of the complete graph via a sequence of switchings.
3. Switching and Complementation
In this section, we characterize all the matroids obtainable from using the operations of complementation and switching.
The following result is known for graphs [1, 3, 5].
Theorem 3.1**.**
The graphs obtainable from a complete graph on vertices using the operations of complementation and switching consist of all complete bipartite graphs on vertices together with their complements.
For binary matroids, we start with the following elementary result.
Lemma 3.2**.**
Let and be two distinct cocircuits of . Then is also a cocircuit of .
Proof.
Note that is a disjoint union of cocircuits of . Since and the number of elements in any projective cocircuit is , we deduce that is a cocircuit of . ∎
Recall that we are denoting the operation of complementation by . We use to denote the identity operator.
Lemma 3.3**.**
Every product of a sequence of the operations of complementation and switching is equal to , to , to for some cocircuit of , or to .
Proof.
Observe that . Since the operations of complementation and switching commute, and both have order two, the result follows.
∎
This lemma immediately implies the following result.
Proposition 3.4**.**
The binary matroids obtainable from using the operations of complementation and switching are all of the matroids that are isomorphic to one of , , , and .
By combining this result with Lemma 2.2, we obtain the following.
Corollary 3.5**.**
Two distinct binary matroids and are in the same orbit under the action of the group generated by the operations of switching and complementation on if and only if one of the following holds:
- (i)
* can be obtained from via complementation inside a cocircuit of ;* 2. (ii)
* can be obtained from via complementation inside a hyperplane of ; or* 3. (iii)
* can be obtained from via complementation inside .*
4. Local complementation and switching with respect to row cocircuits
In this section, let denote a restriction of . For local complementation in , we do the following in order:
- (i)
Fix a cocircuit of . 2. (ii)
Find the intersection of with . 3. (iii)
Find the projective closure of . 4. (iv)
Complement inside .
Note that is a flat of and is therefore a smaller projective geometry. Thus local complementation in a matroid takes the complement inside a smaller projective geometry just as, in a graph, local complementation takes the complement inside a smaller complete graph.
Next, we show that, in performing a local complementation in , we can focus initially on any disjoint union of cocircuits of .
Lemma 4.1**.**
Let be a non-empty disjoint union of cocircuits of . Then there is a projective cocircuit such that .
Proof.
Observe that for some . Let be the disjoint union of cocircuits of . Note that, for all , there is a projective cocircuit of such that . Then . The result follows. ∎
In view of this lemma, every local complementation in can be achieved as follows:
- (i)
Find a non-empty disjoint union of cocircuits in . 2. (ii)
Find . 3. (iii)
Find a hyperplane of avoiding . 4. (iv)
Complement inside .
Switchings in the graph case are only done with respect to the vertex bonds. However, by Lemma 2.3, via those switchings, we can complement inside any arbitrary bond of the complete graph. In the matroid case, we have been allowing switchings relative to any projective cocircuit. Next, we note that, just as for graphs, we can restrict ourselves to doing switchings with respect to a small number of cocircuits.
Fix a standard representation of with respect to the basis . Row of this matrix is the incidence vector of a cocircuit of , a fundamental cocircuit with respect to the cobasis . We call such a cocircuit a row-cocircuit. The following lemma is well-known (see, for example, [4] Proposition 9.2.2).
Lemma 4.2**.**
Every cocircuit of can be written as a symmetric difference of row-cocircuits.
This lemma has the following immediate consequence.
Proposition 4.3**.**
Switching with respect to an arbitrary cocircuit of can be expressed in terms of switchings with respect to row-cocircuits of .
5. Not all binary matroids are obtainable
In this section, we show that, unlike for graphs, we cannot obtain all binary matroids of rank at most from using the three generalized operations.
The following result shows that the effect on a matroid of a local complementation with respect to a projective cocircuit is the same as performing complementation in the complementary projective hyperplane if has rank .
Lemma 5.1**.**
Let be a cocircuit of and be a restriction of such that has rank . Then
[TABLE]
Proof.
As , we see that . Thus . By Lemma 2.2, the last matroid is .
∎
The next result shows that the operation of complementation is redundant and can be expressed in terms of the operations of switching and local complementation. Recall that complementation and switching commute.
Proposition 5.2**.**
Let be a matroid that can be obtained from using the operations of complementation, switching, and local complementation. Then the operations of switching and local complementation are enough to obtain from .
Proof.
It is enough to show that complementation of an arbitrary restriction of can be written in terms of switchings and local complementation. Suppose . Then there is a projective cocircuit of such that . Hence . As every cocircuit of is spanning, by Lemma 5.1, we have . Thus . We may now assume that . Then contains a basis of . Since every projective cocircuit contains a basis of , by the symmetry of , the basis is contained in a projective cocircuit, say . Then, using Lemma 5.1 again, we get . ∎
The following is the main result of this section.
Theorem 5.3**.**
For fixed exceeding seven, not all binary matroids of rank at most can be obtained from using the operations of complementation, local complementation, and switching.
Proof.
Consider a restriction of . We say that has Property 1 if, for every two distinct cocircuits and of , both and have rank . Instead, if, for every cocircuit of , both and have rank , then we say that has Property 2.
5.3.1**.**
If has Property 1, then it has Property 2.
Let be an arbitrary cocircuit of . Let . Observe that there is a different projective cocircuit such that . Since has Property 1, . As is not in the projective closure of , we deduce that , so . Similarly, unless . In the exceptional case, since, by Lemma 3.2, is a cocircuit of , and , we get a violation of Property 1. Hence 5.3.1 holds.
We will use probabilistic methods for the rest of the proof. Independently colour each element of green or red with equal probability. Let and denote the sets of green and red elements, respectively. This gives members of a sample space, , of all possible 2-colourings of .
5.3.2**.**
There is a -colouring, say , of such that, for all distinct cocircuits and of , both and have rank .
Call a 2-colouring of bad if, for some pair of distinct cocircuits, and , of , either or has rank less than . Note that is isomorphic to . Moreover, or has rank less than if and only if it is contained in an . Thus a 2-colouring is bad if and only if there is a monochromatic . Therefore, the number of bad colourings is at most twice the product of the number of copies of in and the number of subsets of . The number of copies of in is the product of the number of copies of in and the number of hyperplanes of . Thus the number of bad colourings is at most
[TABLE]
Thus the probability that has a bad colouring is at most
[TABLE]
For r>{\color[rgb]{0,0,0}\definecolor[named]{pgfstrokecolor}{rgb}{0,0,0}\pgfsys@color@gray@stroke{0}\pgfsys@color@gray@fill{0}7}, this probability is less than , so 5.3.2 holds.
Now, for the 2-colouring , let . Then, by 5.3.1 and 5.3.2, satisfies Properties 1 and 2. Note that satisfies Properties 1 and 2; and satisfies Property 2 for all projective cocircuits . Moreover, since satisfies Property 2, by Lemma 5.1, and so also satisfies Property 2. Now suppose that is a sequence of operations, each a complementation, a switching, or a local complementation. We show next that
5.3.3**.**
* is , , , or , for some projective cocircuit , and so satisfies Property 2.*
We obtain this from Lemma 3.3 by showing, by induction on , that can be written as a sequence of switchings and complementations. This was noted above for . Assume it holds for and let . Then where is the product of the first operations and is the operation. By the induction assumption, has the specified form and satisfies Property 2. Thus, so does unless . But, in the exceptional case, by Lemma 5.1, and the assertion again follows by Lemma 3.3. We conclude that 5.3.3 holds.
It follows that any matroid that can be obtained from by a sequence of the operations of complementation, switching, and local complementation satisfies Property 2. Since each of these operations has order two and cannot be obtained from , we see that cannot be obtained from . ∎
It is not difficult to check that, for in , all binary matroids of rank at most can be obtained from using the given operations. The next proposition establishes that this is also true when is . By Theorem 5.3, the corresponding result fails when is at least . We do not know what happens when .
Proposition 5.4**.**
All binary matroids of rank at most four can be obtained from using the operations of complementation, switching, and local complementation.
Proof.
Because we can use complementation inside of projective hyperplanes, to see that every matroid of rank at most three can be obtained, it suffices to show that a member of each of the following pairs can be obtained from : , , , . Now . A local complementation in gives . Doing a local complementation using a 2-cocircuit of gives . In this matroid, there is 3-cocircuit and a 4-element set that is a disjoint union of two 2-cocircuits. Local complementation with respect to the first of these sets gives ; local complementation with respect to the second gives . We conclude that every matroid of rank at most three is obtainable from .
Assume the result fails and let be a minimum-sized matroid that cannot be obtained from . Observe that , , and that every hyperplane of has exactly three elements. First, we show that is not isomorphic to . Observe that there is a projective cocircuit such that . Performing a local complementation with respect to transforms to . Now, complementation in the hyperplane containing the ground set of gives us . Since can be obtained from , so too can .
Observe that if has a coloop, then . Assume all cocircuits of have at least three elements. Then is simple of corank four and rank at most three. Thus . Note that . Now, complementation in the hyperplane gives us and therefore, can be obtained from using the given operations.
We may now assume that has a 2-element cocircuit. Since has no coloops, . Using local complementation with respect to a 2-cocircuit, we can transform into . Now, doing a complementation in the hyperplane containing the ground set of gives us . Finally, performing a local complementation using a 2-cocircuit of , we obtain implying that is obtainable via the given operations, a contradiction. ∎
6. More Operations
In this section, we introduce a new operation. Let be a restriction of . Colour an element of green if and red otherwise. Denote the sets of green and red elements of by and , respectively. Note that . Let be an element of . For every line passing through , we consider , and swap their colours if these colours are different. We call this operation a pointed swap with respect to . It is an on-element swap if and an off-element swap otherwise. We use and to denote the matroids obtained from by doing on-element and off-element swaps with respect to .
This new operation can also be viewed in terms of matrices. Let be an matrix over representing such that the columns of correspond to the green elements of . Let be a binary vector of length corresponding to an element of . By , we denote the matrix obtained by adding to every column of that is distinct from . Observe that is the matroid obtained from by a pointed swap with respect to . This operation is an on-element swap if and an off-element swap otherwise.
Lemma 6.1**.**
Let be a -element matroid that is a restriction of . Then every -element restriction of can be obtained from using pointed swaps.
Proof.
Let be a matrix representing , so the columns of correspond to the green elements of . Note that it is enough to show that, for any vector corresponding to a red element of and an arbitrary green element of corresponding to the column , we can use pointed swaps to obtain a matroid from such that . Doing an off-element swap on with respect to , we get
[TABLE]
Now, doing an on-element swap with respect to , we get
[TABLE]
Finally, doing an off-element swap with respect to , we get
[TABLE]
∎
Next we show that the operation of complementation can be obtained by three complementations inside of projective hyperplanes.
Lemma 6.2**.**
For , let be three projective hyperplanes that contain a fixed rank- flat of . Then .
Proof.
By Lemma 2.1, . But , so . ∎
Theorem 6.3**.**
For , all binary matroids of rank at most can be obtained from via a sequence of the operations of pointed swaps and complementation inside projective hyperplanes.
Proof.
Assume the theorem fails and let be a matroid with minimum-sized ground set that cannot be obtained from via the specified operations. First, we show that can be obtained from , and so has at least two elements. Doing a complementation inside a hyperplane of , we obtain a matroid that is isomorphic to and thus has elements. As {\color[rgb]{0,0,0}\definecolor[named]{pgfstrokecolor}{rgb}{0,0,0}\pgfsys@color@gray@stroke{0}\pgfsys@color@gray@fill{0}P_{r-1}}\oplus U_{1,1} also has elements, Lemma 6.1 implies we can get a matroid isomorphic to from via pointed swaps. Now, complementation inside the hyperplane gives us .
Let be two distinct elements in the ground set of and let be a projective cocircuit containing and . Let . Recall that and are coloured green in . We may assume that has at least one red element, say , otherwise, by complementation inside of , we reduce the number of green elements. Note that the colours of any pair of differently coloured elements of can be interchanged by a single pointed swap. Thus we can swap the colours of and to get a matroid such that . Lemma 6.2 allows us to perform complementation on followed by complementation inside the hyperplane . Observe that, after this operation, becomes a red element and becomes a green element. Again, using pointed swaps, we swap the colours of and . Finally, doing switching with respect to gives us a matroid such that . Since , is obtainable from using the allowed operations and so, is obtainable as well, a contradiction. ∎
We now show that the operations of on-element and off-element swaps are linked via complementation.
Lemma 6.4**.**
Let be a restriction of and be an element of . Then
[TABLE]
and
[TABLE]
Proof.
To show the first part, it suffices to show that . In considering , we note that must be green. The following statements are equivalent for an element of :
- (i)
is green in ; 2. (ii)
is red in ; 3. (iii)
is red in ; 4. (iv)
is green in ; 5. (v)
is green in .
Thus the first part holds.
For the second part, let be red in . Then is green in . Thus, by the first part, , so . Hence and the second part holds.
∎
By combining the last three results we obtain the following.
Theorem 6.5**.**
Let be a binary projective geometry of rank greater than one. Then all binary matroids of rank at most can be obtained from via a sequence of the operations of pointed swaps and complementation in hyperplanes, where either all such swaps are on-element swaps, or they are all off-element swaps.
Proof.
By the last lemma, when one has the operation of complementation, one needs only on-element or off-element swaps but not both. By Lemma 6.2, complementation can be achieved via a sequence of complementations inside of projective hyperplanes. The theorem follows from Theorem 6.3. ∎
Theorem 6.6**.**
Let be a binary projective geometry of rank and be a binary matroid of rank at most such that is not isomorphic to or . Then can be obtained from via a sequence of the operations of local complementation and pointed swaps.
Our proof of this theorem will use the following two lemmas.
Lemma 6.7**.**
Let be a -element restriction of such that and are coloops of . Then there is a -element matroid that can be obtained from via local complementation.
Proof.
Let be the line containing and in . By Lemma 4.1, there is a projective cocircuit such that . Since cannot be odd, . Note that and . Therefore, the result holds. ∎
Lemma 6.8**.**
Let . For an integer in , there is a restriction of such that and has two coloops.
Proof.
Let be a flat of of rank and be a restriction of such that and . Note that has two coloops. The maximum number of elements can have is , that is, . Therefore, our result follows. ∎
Proof of Theorem 6.6.
We can check that the result is true for , and . Therefore, we may assume that . We say if is obtainable from via the given operations. Since both the operations have order two, the relation is symmetric and so is an equivalence relation.
First, we show that all binary matroids with at least two and at most elements can be obtained from via the operations above. Given a matroid with at least two coloops and at most elements altogether, Lemma 6.7 implies that we can obtain a matroid with elements. Thus, for all integers in , we can construct a -element matroid starting with . Hence, by Lemma 6.1, using pointed swaps, we can construct every -element matroid from .
Let be a matroid with elements. Via pointed swaps, we can obtain a rank- matroid from such that for a projective cocircuit . Note that has size and is obtainable from .
We now show the following.
6.6.1**.**
For , every binary matroid with elements can be obtained from using the given operations.
Recall that an element of is coloured green if is in the ground set of the present matroid and red otherwise. We start with and do a local complementation with respect to a projective cocircuit to obtain a matroid whose ground set is . Let be a basis of contained in . Pick -element subsets of each of and and, by Lemma 6.1, pointed swaps enable us to interchange the colours on these elements to get a matroid . Now, we do a local complementation in with respect to to obtain a matroid with elements. Thus 6.6.1 holds.
The above implies that all matroids of odd size between and can be obtained from using the allowed operations. Therefore, the -element matroid , which was constructed above from , can also be constructed from . Since is an equivalence relation, from , we can obtain all matroids with elements for all in . This implies that all matroids other than that have an odd number of elements are obtainable from .
Finally, we show that all matroids with a non-zero even number of elements are obtainable from . Since is odd for a projective cocircuit , we can obtain a matroid from such that . Let be an integer in . Let be a basis of contained in . Pick -element subsets of each of and and, using pointed swaps, interchange the colours on these elements to get a matroid . Now, we do a local complementation in with respect to to obtain a matroid of size . Observe that, when , the matroid has elements. Since and all matroids having at most elements are obtainable from , the matroids having even size less than are also obtainable from . This completes the proof. ∎
Acknowledgement
The authors thank the referee for carefully reading the paper and, in particular, for detecting an error in the proof of Theorem 5.3.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] Ehrenfeucht, A., Harju, T., and Rozenberg, G., Theory of 2 2 2 -Structures , World Scientific, River Edge, NJ, 1999.
- 2[2] Ehrenfeucht, A., Harju, T., and, Rozenberg, G., Transitivity of local complementation and switching on graphs, Discrete Math. 278 (2004), 45–60.
- 3[3] Hage, J., Structural aspects of switching classes, Ph.D. Thesis, Leiden University, Leiden, 2001.
- 4[4] Oxley, J., Matroid Theory , Second Edition, Oxford University Press, New York, 1992.
- 5[5] Seidel, J.J., A survey of two-graphs, Colloquio Internationalesulle Teorie Combinatorie (Rome 1973), Tomo I , pp. 481–511, Atti dei Converni Lincei, No. 17, Accad. Naz. Lincei, Rome, 1976.
