The maximal-flag code-to-simplex bridge #
This file completes the explicit bridge left open by MaximalFlagCode.
For a code z = (bottom, removal, top) and a stage j, the retained bars are those whose
removal time is at least j. They determine an ordered block number for every label. The rank
inside the stage cell is the ordinal rank of the lexicographic key
(stage block, final top rank).
Thus stage zero has the bottom singleton order, the final stage has the top order, and every intermediate stage orders its blocks from left to right while using the final top permutation inside each current block. This is the finite construction used by the exact regression checker.
The two internal pairings act transparently on this model:
- the bottom partner changes only stage zero, because its transposed labels lie on opposite sides of the first bar and that bar has disappeared at every later stage;
- the removal partner changes only the one intermediate stage between the two swapped removal times.
Consequently the paired maximal flags have literally equal deleted faces.
Bars already removed before stage j.
Equations
- NRR.FoxNeuwirthOrderComplex.MaximalFlagCode.removedBefore z j = {r : Fin (p - 1) | ↑((Equiv.symm z.removal) r) < ↑j}
Instances For
Bars still present at stage j.
Equations
Instances For
Zero-based block number at one stage, computed in the bottom singleton order.
Equations
- NRR.FoxNeuwirthOrderComplex.MaximalFlagCode.stageBlock z j x = {r ∈ NRR.FoxNeuwirthOrderComplex.MaximalFlagCode.retainedBars z j | ↑r < ↑(z.bottom x)}.card
Instances For
Lexicographic key used to order labels at a stage.
Equations
Instances For
The stage key is injective because its second coordinate is a permutation rank.
For injective keys, ordinal rank is injective.
The ordinal-rank permutation associated with a code stage.
Equations
- One or more equations did not get rendered due to their size.
Instances For
A bottom prefix has the expected cardinality.
A retained cut occurs before a stage rank exactly when it occurs before the bottom rank.
The stage cell represented by a maximal-flag code.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The stage-cell block index is the block number used in its construction.
Retained bars decrease with the stage.
Equality of blocks persists after further bar removals.
Ordered blocks at an earlier stage remain ordered after further removals.
A genuinely later stage has strictly fewer retained bars.
Consecutive code stages form a strict Fox--Neuwirth face chain.
A stage cell is determined by its retained bars, block numbers, and final permutation.
The first removed bar is absent from every positive stage.