Documentation

LeanPool.RareSubtreePatterns.Bienayme.Basic

Bienaymé trees: weights, the branching property and forests #

Source lines 679–704 (Section 2.1) of the paper. For an arbitrary offspring law μ (a PMF on ℕ, no criticality assumed) we prove:

Tree combinatorics #

The number of vertices is one plus the total size of the root's child trees.

A tree is determined by its list of children.

Finite plane trees are in bijection with lists of finite plane trees (their children).

Equations
  • One or more equations did not get rendered due to their size.
Instances For

    Finite plane trees are in bijection with pairs (k, (T_0, …, T_{k-1})): the root degree and the ordered tuple of child trees.

    Equations
    Instances For
      theorem PoissonDeclumping.PlaneTree.tsum_pi_fin_prod {α : Type u_1} (k : ℕ) (g : Fin k → α → ENNReal) :
      ∑' (f : Fin k → α), ∏ i : Fin k, g i (f i) = ∏ i : Fin k, ∑' (a : α), g i a

      Sum over k-tuples of a product of functions of the coordinates (in ℝ≥0∞).

      Weights and the Bienaymé measure #

      The weight of a tree is μ of the root degree times the weights of the child trees.

      theorem PoissonDeclumping.PlaneTree.weight_node_ofFn (μ : PMF ℕ) {k : ℕ} (f : Fin k → PlaneTree) :
      weight μ (node (List.ofFn f)) = μ k * ∏ i : Fin k, weight μ (f i)

      𝐏_μ(T ∈ s) = ∑_{T ∈ s} ∏_{u ∈ T} μ_{k_u(T)}.

      𝐏_μ(T) = ∏_{u ∈ T} μ_{k_u(T)} (source line 696).

      Decomposition of 𝐏_μ(T ∈ s) according to the root degree k and the tuple of child trees.

      theorem PoissonDeclumping.PlaneTree.tsum_weight_node_ofFn_indicator (μ : PMF ℕ) (k : ℕ) (A : Fin k → Set PlaneTree) :
      ∑' (f : Fin k → PlaneTree), {f : Fin k → PlaneTree | ∀ (i : Fin k), f i ∈ A i}.indicator (fun (f : Fin k → PlaneTree) => weight μ (node (List.ofFn f))) f = μ k * ∏ i : Fin k, (bienayme μ) (A i)

      For a fixed root degree k, summing the weight of node [T_0, …, T_{k-1}] over the tuples with T_i ∈ A_i gives μ_k ∏_i 𝐏_μ(A_i).

      theorem PoissonDeclumping.PlaneTree.bienayme_eq_tsum_of_mem_iff (μ : PMF ℕ) (s : Set PlaneTree) (D : Set ℕ) (A : (k : ℕ) → Fin k → Set PlaneTree) (hs : ∀ (k : ℕ) (f : Fin k → PlaneTree), node (List.ofFn f) ∈ s ↔ k ∈ D ∧ ∀ (i : Fin k), f i ∈ A k i) :
      (bienayme μ) s = ∑' (k : ℕ), D.indicator (fun (k : ℕ) => μ k * ∏ i : Fin k, (bienayme μ) (A k i)) k

      General branching decomposition: if membership of node [T_0, …, T_{k-1}] in s means k ∈ D and T_i ∈ A k i for all i, then 𝐏_μ(s) = ∑_{k ∈ D} μ_k ∏_i 𝐏_μ(A k i).

      Branching property #

      The law of the root's children: 𝐏_μ(children = [t_1, …, t_k]) = μ_k ∏_i 𝐏_μ(t_i).

      theorem PoissonDeclumping.PlaneTree.bienayme_rootDegree_eq_children_mem (μ : PMF ℕ) (k : ℕ) (A : ℕ → Set PlaneTree) :
      (bienayme μ) {T : PlaneTree | T.rootDegree = k ∧ ∀ (i : ℕ) (hi : i < T.children.length), T.children[i] ∈ A i} = μ k * ∏ i ∈ Finset.range k, (bienayme μ) (A i)

      Branching property (source lines 696–698): given root degree k, the k child subtrees are independent μ-Bienaymé trees: 𝐏_μ(k_∅ = k, T_i ∈ A_i for all i < k) = μ_k ∏_{i<k} 𝐏_μ(A_i).

      theorem PoissonDeclumping.PlaneTree.bienayme_node_ofFn_mem (μ : PMF ℕ) (k : ℕ) (A : Fin k → Set PlaneTree) :
      (bienayme μ) {T : PlaneTree | ∃ (f : Fin k → PlaneTree), T = node (List.ofFn f) ∧ ∀ (i : Fin k), f i ∈ A i} = μ k * ∏ i : Fin k, (bienayme μ) (A i)

      Branching property, Fin-indexed form: for sets A_0, …, A_{k-1}, 𝐏_μ(k_∅ = k, T_i ∈ A_i for all i) = μ_k ∏_i 𝐏_μ(A_i).

      𝐏_μ(all children in A) = ∑_k μ_k 𝐏_μ(A)^k, i.e. the generating function of μ evaluated at 𝐏_μ(A).

      Forests #

      theorem PoissonDeclumping.PlaneTree.tsum_forest_fin (μ : PMF ℕ) (k : ℕ) (A : Fin k → Set PlaneTree) :
      ∑' (f : Fin k → PlaneTree), ∏ i : Fin k, (A i).indicator (weight μ) (f i) = ∏ i : Fin k, (bienayme μ) (A i)

      Forest product formula: the total weight of k-tuples of trees with T_i ∈ A_i is ∏_i 𝐏_μ(A_i) (independence of the trees of a forest).

      theorem PoissonDeclumping.PlaneTree.tsum_forest_list (μ : PMF ℕ) (k : ℕ) (A : Set PlaneTree) :
      ∑' (ts : List PlaneTree), {ts : List PlaneTree | ts.length = k ∧ ∀ U ∈ ts, U ∈ A}.indicator (fun (ts : List PlaneTree) => (List.map (weight μ) ts).prod) ts = (bienayme μ) A ^ k

      Forest product formula for lists: the total weight of lists of k trees all in A is 𝐏_μ(A)^k.

      Total weight of the k-tuples of trees with n vertices in total: the probability that a forest of k independent μ-Bienaymé trees has n vertices.

      Equations
      • One or more equations did not get rendered due to their size.
      Instances For

        Law of the size: 𝐏_μ(|T| = n + 1) = ∑_k μ_k 𝐏(|F_k| = n), where F_k is a forest of k independent μ-Bienaymé trees.

        Summing over sizes, a forest of k trees has total weight 𝐏_μ(univ)^k.

        Total mass at most one #

        For every offspring law μ (critical or not), the total Bienaymé weight of the finite plane trees is at most one.