Documentation

LeanPool.RegtsSevenster.RS.Novel.Coordinates.RegroupSign

The regroup sign #

The extraction enumerates a subset's participating flags three ways: oriented, each edge's representative followed by its pairing partner; matched, each incoming flag followed by its match; and global, the per-vertex pair blocks concatenated. The sign relating them is the regroup sign, and this module computes it in two halves.

Both run on the flat-map presentations of the three lists and on the index arithmetic of a list of pairs.

Slot extraction from block membership #

Slot contradiction helper #

Nodup: matched pair list #

The matched pair list has no repeats.

Membership: matched pair list #

theorem RS.mem_matchedPairList' (W : ClosedFragment) (F : EdgeSubset W) {κ : F.TransitionSystem} (o : κ.Orientation) (x : ↥F.flags) :

And lists every participating flag — so it is a reordering of them, and its sign is the regroup sign.

Nodup and membership: global pair list #

Length equalities #

Match subtype and base lists #

FlatMap decompositions #

Pairing properties #

Orientation properties of base elements #

Nodup getElem? injection #

pairBlowup and sign #

Half 1 infrastructure #

Half 1: sign of oriented → matched = sign of outPerm #

Half 1: the sign of the index permutation from oriented to matched equals the sign of the out-permutation.

Half 2: sign of matched → global = 1 #

Half 2: the sign of the index permutation from matched to global pair list is +1.