Ordered boundary operations on cyclic differences #
Explicit coordinate maps for adjacent identification and the two-difference cap. These are operations on Boolean tuples, with the cyclic order retained. In particular the last edge of an adjacent identification is the last-to-first edge, rather than an implicit permutation.
Main definitions #
Cslib.BitString.zeroPort: identifies the endpoints of one cyclic edge.Cslib.BitString.differencePort: lists the remaining difference coordinates in order.Cslib.BitString.capPort: identifies old ports 1 and 3 and hides old port 2.
Main results #
Cslib.BitString.mem_cyclicDifferenceRelation_zeroRestriction: exact conditioned deletion.Cslib.BitString.mem_cyclicDifferenceRelation_capRelation: exact cap semantics.Cslib.BitString.capDifferencePort_eq_zero_iff: only the first retained difference maps to zero.Cslib.BitString.three_le_val_capDifferencePort: every other retained difference follows the two hidden coordinates.
Re-expanding a retained port returns the original port except for the merged endpoint.
Exact difference semantics of adjacent identification, including deletion of the last edge. The deleted coordinate must be zero; this is conditioned restriction, not plain projection.
Retained difference edges start at the corresponding new free ports of a cap.
Equality of adjacent differences is equality of the two outside ports.
Exact two-difference cap semantics. Both inclusions account for the hidden witness.
The retained difference map is the standard increasing embedding omitting i.
Deleting an edge other than 0 leaves the distinguished difference at 0.
A pair containing difference 0 has exactly the same pair as its zero-conditioned lift.
The cap's retained differences are distinct.
The cap preserves the distinguished zero coordinate and sends no other coordinate to it.
Every nonzero retained difference lies after the two differences hidden by the cap.
The first hidden difference is not in the cap's retained coordinates.
The second hidden difference is not in the cap's retained coordinates.
Cyclic translation commutes with cyclic differences; orientation is preserved.
Cyclic translation by the inverse shift also commutes with cyclic differences.