Composition of Boolean delta-matroids #
Composition identifies shared coordinates and existentially removes them. This formalizes Proposition 6 and its evenness corollary of [KKR18], arXiv v6, printed pp. 4–5. In addition to the source's exchange hypotheses we require a nonempty output: nonempty inputs alone need not have compatible shared coordinates. Empty external coordinate types are allowed. The proof uses one-sided exchange twice to eliminate one equal pair, then eliminates finitely many pairs; it assumes no simultaneous exchange principle.
Main definitions #
comp: relational composition along finitely many shared Boolean coordinates.tracePair,trace: eliminate one equal pair, or a finite family of equal pairs.oneHotRelation: exactly-one on an arbitrary coordinate type.star,starAt: the all-zero or single-internal/connector-pair gadget and its twists.
Main results #
IsDeltaMatroid.comp,IsEvenDeltaMatroid.comp: closure with compatible output.isEvenDeltaMatroid_oneHotRelation: exactly-one has odd common parity.isEvenDeltaMatroid_starAt: the reference-based contraction gadget is even.
Direct products preserve one-sided exchange.
Parity splits over disjoint coordinate types.
Direct products preserve common parity, including odd parity inputs.
Eliminating one equal pair preserves exchange, provided the result is nonempty. When exchange enters the hidden pair, a second exchange exits it. Both steps move toward the same feasible target, so the second cannot undo the first external coordinate.
An eliminated equal pair contributes zero parity.
Finite equal-pair elimination preserves exchange. The output must have a witness.
Eliminating equal pairs preserves common parity.
Proposition 6 of [KKR18], with compatibility explicit. Neither input nonemptiness nor nonempty external coordinates imply compatibility.
The parity corollary after Proposition 6, with nonempty output explicit.
The relation with exactly one true coordinate. The coordinate type must be inhabited for this relation to be a delta-matroid.
Instances For
Exactly-one is an even delta-matroid of odd common parity. This is Example 17 of [KKR18], printed p. 7, with a nonempty coordinate type explicit: the arity-zero relation has no tuples and is excluded by Definition 5.
The even star gadget in Section 5.3 of [KKR18], printed p. 12. It accepts all-zero, and each tuple with one internal bit and the final connector true. It is exactly-one twisted at the connector, rather than exactly-one on all ports.
Instances For
The star relation is an even delta-matroid, including with no internal coordinates.
The star's two cases: all internal bits zero, or exactly one true internal bit. The connector is false in the first case and true in the second.
The star gadget based at an arbitrary internal reference tuple; its connector reference is false. Only the internal coordinates are twisted.
Instances For
The reference-based star remains even.
Membership in the reference-based star records zero or one internal deviations.