Documentation

BGW.LocallyFinite.Generation

Finite generations of locally finite trees #

generation T n lists exactly the present addresses of length n, with the root at generation zero. Its cardinality is generationSize T n. The definition adapts the finite-generation construction of Freezing1/PlaneTreeGeometry.lean; indices in Finset.range are shifted by one to retain the positive child convention. No finiteness of the whole tree is assumed.

The finite set of vertices at depth n, including the root at depth zero.

Equations
Instances For

    The number of present vertices at depth n.

    Equations
    Instances For
      theorem BGW.LocallyFinite.generationSize_succ (T : Tree) (n : ℕ) :
      generationSize T (n + 1) = ∑ j ∈ Finset.range (degree T), generationSize (child T (j + 1)) n

      A generation is the disjoint union of the corresponding generations of existing children.

      No vertex at depth n is equivalent to extinction by generation n.

      The finite-tree bridge shifts child indices and preserves every generation.