Documentation

LeanPool.RareSubtreePatterns.RootDeclumping.Generations

Generations of a plane tree #

A minimal generation API for the proof of Lemma lem:S_lh (source lines 3066–3083, inventory P23):

The fringe subtrees rooted at generation i, in depth-first order.

Equations
Instances For

    Z_i(T), the number of vertices of T at generation i.

    Equations
    Instances For

      C_k(T) = ∑_{i < k} Z_i(T), the number of vertices in generations 0, …, k - 1.

      Equations
      Instances For

        C_{k+1}(T) = 1 + ∑_{u ∈ Γ_∅(T)} C_k(T_u).

        |T| = C_k(T) + ∑_{v ∈ gen k T} |T_v| (source lines 3076–3082).