Documentation

BGW.Tree.FringeWalk

Fringe subtrees as contiguous DFS blocks #

At the vertex in DFS position i, the fringe subtree occupies a contiguous block of the increment word beginning at i. Rotating to this position and stopping at the first passage to -1 therefore recovers exactly that fringe subtree.

This is eq:fringe in Section 2.1 of Kortchemski–Vetter, Rare subtree patterns in size-conditioned Bienaymé trees (source lines 691–696). The block induction adapts PoissonDeclumping/Lukasiewicz/Coding.lean, dfsSeq_fringeTrees_prefix. Here the fringe is identified by its actual address, and the decoder accepts an entire finite word; the bounded prefix characterization does not claim that it accepts an untruncated rotation.

The fringe at DFS index i occupies a contiguous block beginning at that index.

Rotating to a vertex and taking its fringe size gives exactly the fringe code. Its total sum is -1, and every shorter prefix sum is nonnegative.

The only accepted bounded prefix of a rotation is the complete fringe code at that vertex. The bound on m prevents the saturation of List.take from giving longer apparent cut times.