Relabel sets for the canonical ledgers #
A canonical ledger reports the state it lands in as
stateOddFlipSet st E. This module is the arithmetic of the set
E: it is a symmetric-difference fold (pairFold) of label pairs,
one pair per flipped chain, each pair the two end labels of a chord
of the stage system. Within one recanonicalization the flipped
chains are distinct anti-canonical chains (AntiLowPair), so the
pairs are pairwise disjoint (PairDisjoint) and the fold is a
disjoint union (mem_pairFold_of_pairwise).
The accumulated relabel of a whole route is the status difference
statusDiff, which telescopes along chains (statusDiff_trans)
and vanishes on a pairing-preserving one
(statusDiff_of_samePairing).
The symmetric-difference fold of a list of label pairs.
Equations
- RS.pairFold L = List.foldr (fun (p : α × α) (E : Finset α) => RS.symmU (RS.pairSet p) E) ∅ L
Instances For
The fold of pairwise disjoint pairs is their union: under
PairDisjoint no cancellation occurs, so membership in the fold is
membership in some pair.
Set relabels: boundary matching and composition #
Composition of set relabels is the symmU of the sets.
Anti-canonical chain pairs #
A chord pair whose low end is anti-canonical for o: the label
pair of a chain flipped by the recanonicalization of o.
Equations
- RS.EdgeSubset.AntiLowPair o p = ∃ (β : W.Flag) (hβ : β ∈ F.boundaryFlags), β ∈ RS.EdgeSubset.antiLowSet o ∧ p.1 = F.boundaryLabel hβ ∧ p.2 = F.boundaryLabel ⋯
Instances For
An anti-low pair is ordered: low label first.
Anti-canonical pairs survive enlarging the anti-canonical set.
Distinct anti-canonical chains have disjoint label pairs: the low ends are distinct low ends, so no end of one chord can be an end of the other.
The status difference of two systems: the labels whose high-status differs — the potential of the canonical route's accumulated relabel.
Equations
Instances For
A system differs from itself nowhere: the relabel accumulated along a trivial route is empty.
The status difference telescopes along chains.
Same-pairing endpoints have empty status difference.
One holds and the other does not, so they differ.