Inside-block chains and the cut-exception chain #
This file proves the exact connector used in the collapse step: multiplying the consecutive weights internal to the maximal inside blocks is the same as multiplying the flattened inside-word chain after omitting precisely the proper composition cuts.
A gap internal to one block of the inside-word composition.
Equations
- d.InsideBlockGap = ((i : Fin d.blockComposition.length) × Fin (d.blockComposition.blocksFun i - 1))
Instances For
The ith composition block, read directly from the flattened inside
word.
Equations
- d.insideBlockWord i j = d.insideWord ((d.blockComposition.embedding i) j)
Instances For
The composition view of a block recovers the recorded list block.
The left endpoint in the flattened inside word of an internal block gap.
Equations
- d.insideBlockGapLeft g = (d.blockComposition.embedding g.fst) ⟨↑g.snd, ⋯⟩
Instances For
The right endpoint in the flattened inside word of an internal block gap.
Equations
- d.insideBlockGapRight g = (d.blockComposition.embedding g.fst) ⟨↑g.snd + 1, ⋯⟩
Instances For
An internal block gap, regarded as an adjacency index of the flattened inside word.
Equations
- d.insideBlockGapAdjacentIndex g = ⟨d.insideBlockGapLeft g, ⋯⟩
Instances For
The canonical embedding of internal block gaps into flattened adjacency indices.
Equations
- d.insideBlockGapEmbedding = { toFun := d.insideBlockGapAdjacentIndex, inj' := ⋯ }
Instances For
An internal block gap is never a proper composition cut.
Every adjacency index outside the proper cuts comes from a unique internal block gap.
Internal gaps of all blocks are canonically equivalent to adjacency indices outside the proper composition cuts.
Equations
- d.insideBlockGapEquivNonCut = Equiv.ofBijective (fun (g : d.InsideBlockGap) => ⟨d.insideBlockGapAdjacentIndex g, ⋯⟩) ⋯
Instances For
Reindex a cut-exception product by the internal gaps of the composition blocks.
The chain product of a recorded block is the indexed chain product of that block as read from the flattened inside word.
The product of all recorded inside-block chains, reindexed by the internal gaps of the block composition.
Tree-facing connector #
The internal block factor in the expanded lattice chain is exactly the restricted-tree Hepp chain with the proper composition cuts omitted.