Non-fringe patterns: grafting at the leaves and the conditional law (U06) #
Source lines 682 (definition of T' ≺ T), 1433–1445 (inventory U06) and 2468–2476.
T' ≺ T (PlaneTree.Embeds T' T) means that T is obtained from T' by grafting plane trees
onto the leaves of T'; internal vertices of T' keep their exact outdegree.
leafCount T'(number of leavesL),internalCount T'(number of internal verticesC) andpatternWeight μ T' = ∏_{v ∈ T' internal} μ_{k_v(T')}.leafTrees T' T = (𝒯^{(1)}, …, 𝒯^{(L)}): the trees grafted onto the leaves ofT', in DFS order;graftLeaves T' ls = T'[ls]grafts a list ofLtrees.embedsEquiv T'is the bijection{T : T' ≺ T} ≃ {lists of L trees};weight_eq_of_embeds:𝐏(𝒯 = T) = patternWeight μ T' ∏_i 𝐏(𝒯 = 𝒯^{(i)});vertexCount_eq_of_embeds:|T| = C + ∑_{i ≤ L} |𝒯^{(i)}|.forestLaw μ L: the law of a list ofLindependentμ-Bienaymé trees.- U06:
bienayme_embeds_eq:𝐏(T' ≺ 𝒯) = ∏_{v ∈ T' internal} μ_{k_v(T')};bienayme_embeds_leafTrees_mem,map_cond_embeds_leafTrees,cond_embeds_leafTrees_pi: conditionally onT' ≺ 𝒯, the grafted trees𝒯^{(1)}, …, 𝒯^{(L)}are i.i.d. (unconditioned)μ-Bienaymé trees;cond_embeds_eq_map_graftLeaves: conditionally onT' ≺ 𝒯,𝒯has the law ofT'[𝒯^{(1)}, …, 𝒯^{(L)}];skeleton_embeds: the resulting decomposition(𝒯, C, (𝒯^{(1)}, …, 𝒯^{(L)}))is aPoissonDeclumping.Skeletonfor the markT' ≺ ·(Assumption (S) shape, used in the proof of Corollarycor:Non-fringe Poisson), with deterministicC = internalCount T'andL = leafCount T'(embedsSkeletonLaw_ae).
Leaves, internal vertices and the pattern weight #
The number of leaves (vertices of outdegree 0).
Equations
- T.leafCount = List.count 0 T.degSeq
Instances For
The number of internal vertices (vertices of positive outdegree).
Equations
- T.internalCount = List.countP (fun (x : ℕ) => decide (x ≠ 0)) T.degSeq
Instances For
∏_{v ∈ T internal} μ_{k_v(T)}: the product of the offspring masses over the internal
vertices only (leaves of a pattern receive grafted trees and contribute no factor).
Equations
- PoissonDeclumping.PlaneTree.patternWeight μ T = (List.map (⇑μ) (List.filter (fun (x : ℕ) => decide (x ≠ 0)) T.degSeq)).prod
Instances For
Embeddings #
Induction principle for Embeds with the children handled by List.Forall₂.
leafTrees T' T: for T' ≺ T, the list (𝒯^{(1)}, …, 𝒯^{(L)}) of the fringe subtrees of
T at the images of the leaves of T', in DFS order (meaningful only when Embeds T' T).
Equations
- (PoissonDeclumping.PlaneTree.node []).leafTrees x✝ = [x✝]
- (PoissonDeclumping.PlaneTree.node (c :: cs)).leafTrees x✝ = PoissonDeclumping.PlaneTree.leafTreesForest (c :: cs) x✝.children
Instances For
Forest version of leafTrees: concatenation over matched children.
Equations
- PoissonDeclumping.PlaneTree.leafTreesForest (c :: cs) (t :: ts) = c.leafTrees t ++ PoissonDeclumping.PlaneTree.leafTreesForest cs ts
- PoissonDeclumping.PlaneTree.leafTreesForest x✝¹ x✝ = []
Instances For
T'[ls]: the tree obtained by grafting the trees of the list ls (of length
leafCount T') onto the leaves of T', in DFS order; characterized by embeds_graftLeaves
and graftLeaves_leafTrees (for lists of the wrong length it is the junk value T').
Equations
- T'.graftLeaves ls = if h : ∃ (T : PoissonDeclumping.PlaneTree), T'.Embeds T ∧ T'.leafTrees T = ls then h.choose else T'
Instances For
The bijection {T : T' ≺ T} ≃ {(𝒯^{(1)}, …, 𝒯^{(L)})}.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Forest law #
The law of L independent μ-Bienaymé trees, as a measure on lists of trees:
forestLaw μ L {[t_1, …, t_L]} = ∏_i 𝐏_μ(t_i), and lists of other lengths have mass zero.
Equations
- One or more equations did not get rendered due to their size.
Instances For
U06: the law of a non-fringe pattern occurrence #
The grafted trees are independent μ-Bienaymé trees:
𝐏(T' ≺ 𝒯, 𝒯^{(i)} ∈ A_i ∀ i) = patternWeight μ T' ∏_{i < L} 𝐏(𝒯 ∈ A_i).
U06: conditionally on T' ≺ 𝒯, the grafted list (𝒯^{(1)}, …, 𝒯^{(L)}) has the law of L
independent unconditioned μ-Bienaymé trees.
U06, law form: the image of 𝐏(· | T' ≺ 𝒯) under T ↦ (𝒯^{(1)}, …, 𝒯^{(L)}) is the law of
L independent μ-Bienaymé trees.
The law ρ of (𝒯, C, (𝒯^{(1)}, …, 𝒯^{(L)})) under 𝐏(· | T' ≺ 𝒯), with the deterministic
number C = internalCount T' of internal vertices of the pattern.
Equations
- One or more equations did not get rendered due to their size.
Instances For
U06 in the shape of Assumption (S) (source lines 1437–1440): for critical μ with
μ_1 ≠ 1 and 𝐏(T' ≺ 𝒯) > 0, embedsSkeletonLaw μ T' is a skeleton decomposition for the
mark T' ≺ ·: under 𝐏(· | T' ≺ 𝒯), |𝒯| = C + ∑_{i ≤ L} |𝒯^{(i)}| with i.i.d. unconditioned
𝒯^{(i)}.
Under ρ, C and L are deterministic and 𝒯 = T'[𝒯^{(1)}, …, 𝒯^{(L)}].
U06, tree form: conditionally on T' ≺ 𝒯, the tree 𝒯 has the law of
T'[𝒯^{(1)}, …, 𝒯^{(L)}] with 𝒯^{(1)}, …, 𝒯^{(L)} independent μ-Bienaymé trees.