Documentation

LeanPool.RareSubtreePatterns.Statements.Defs

Statement-level definitions #

Every definition on which the statements of the four Introduction theorems depend: finite plane trees, fringe subtrees and marked counts, Bienaymé laws and size conditioning, total variation, the Łukasiewicz walk and hypothesis (H_α), cutoffs and Assumptions (M), (S), (C), and the four statement propositions (PoissonApproximationStatement, PoissonApproximation2Statement, MaxStringStatement, MaxLeafHeightStatement), proved in PoissonDeclumping.MainTheorems.

These definitions originate in the upstream statement contract. The phase refinement in TwoPointLocalization is strengthened here to every nontrivial filter of admissible sizes, so that it applies to phase-separated subsequences even when the full sequence approaches integer phases. The remaining definitions retain the upstream statements.

Plane trees and fringe subtrees (lemmas: PlaneTree/Basic.lean) #

A finite plane tree consists of a root and an ordered list of child trees.

Instances For

    Ordered child subtrees of the root. A leaf has an empty list of children.

    Equations
    Instances For

      Outdegree of the root.

      Equations
      Instances For
        @[irreducible]

        One fringe subtree per vertex, in depth-first order, including the root.

        Equations
        Instances For

          Number of vertices, including the root.

          Equations
          Instances For

            Number of vertices whose fringe subtree satisfies the marking predicate.

            Equations
            Instances For

              The declumped mark of Section 1.2: an allowed root degree and a marked child.

              Equations
              Instances For

                Discrete σ-algebra, outdegree sequence (lemmas: PlaneTree/Countable.lean) #

                @[instance_reducible]

                The discrete σ-algebra: every set of finite plane trees is measurable.

                Equations

                Outdegrees of the vertices in depth-first order, one entry per vertex (k_{u_1}(T), …, k_{u_n}(T)). The paper's DFS sequence 𝐱(T) is this list shifted by -1.

                Equations
                Instances For

                  Complete r-ary trees, non-fringe embeddings and leaf-height (Sections 1.3–1.4, 2.1) #

                  The complete r-ary tree H_{r,k} of height k: all leaves at distance k from the root, every internal vertex with exactly r children.

                  Equations
                  Instances For

                    Embeds T' T is the paper's T' ≺ T: T is obtained from T' by grafting plane trees onto the leaves of T'. A leaf of T' matches an arbitrary tree; a vertex of T' with d ≥ 1 children matches a vertex of T with exactly d children, whose children are matched in order.

                    Instances For

                      H_r(T) = max {k ≥ 0 : ∃ u ∈ T, H_{r,k} ≺ T_u}; the set is nonempty (it contains 0) and, for r ≥ 1, bounded by the number of vertices.

                      Equations
                      Instances For
                        @[irreducible]

                        The leaf-height λ_∅(T) of the root: the number of edges to the closest leaf descendant (0 for a leaf, 1 + the minimum over the children otherwise).

                        Equations
                        Instances For

                          The leaf-height λ(T) = max_{v ∈ T} λ_v(T) of a tree.

                          Equations
                          Instances For

                            Bienaymé trees and size conditioning (Section 2.1) #

                            μ is critical: its mean ∑ j μ_j equals one. The sum is taken in ℝ≥0∞, so this statement includes finiteness of the mean.

                            Equations
                            Instances For

                              The Bienaymé weight ∏_{u∈T} μ_{k_u(T)} of a finite plane tree: the product of the offspring masses of the outdegrees of its vertices, listed in depth-first order.

                              Equations
                              Instances For

                                The law of a μ-Bienaymé tree, as a measure on finite plane trees (with the discrete σ-algebra). It is a probability measure for critical μ with μ 1 ≠ 1 (PoissonDeclumping.PlaneTree.bienayme_isProbabilityMeasure).

                                Equations
                                Instances For

                                  A size n is admissible if a μ-Bienaymé tree has n vertices with positive probability.

                                  Equations
                                  Instances For

                                    The μ-Bienaymé tree conditioned to have n vertices. This is a probability measure exactly at admissible n (and the zero measure otherwise).

                                    Equations
                                    Instances For

                                      Total variation (lemmas: Probability/TotalVariation.lean) #

                                      noncomputable def PoissonDeclumping.paperTVDist {α : Type u_1} [MeasurableSpace α] (μ ν : MeasureTheory.Measure α) :

                                      Total variation in the paper's probability convention. For finite measures this is half of mathlib's total variation. Like mathlib's real-valued distance, it is totalized to zero if either measure is infinite; probabilistic uses must retain their probability-measure hypotheses.

                                      Equations
                                      Instances For

                                        The Łukasiewicz walk and the stable-domain hypothesis (H_α) #

                                        The law of one increment X = K - 1, P(X = i) = μ_{i+1} for i ≥ -1.

                                        Equations
                                        Instances For

                                          The law of the random walk S_m = X_1 + … + X_m (S_0 = 0) as an m-fold convolution.

                                          Equations
                                          Instances For

                                            A slowly varying function at infinity: ℓ(a x) / ℓ(x) → 1 for every a > 0 (the paper's literal definition, line 850: no positivity or measurability is required; it is used only on the hypothesis side, where a weaker notion would strengthen the theorems).

                                            Equations
                                            Instances For
                                              structure PoissonDeclumping.StableDomain (μ : PMF ℕ) (α : ℝ) (a : ℕ → ℝ) :

                                              Hypothesis (H_α) with normalizing sequence a: μ is critical, μ_1 ≠ 1, α ∈ (1,2], and a is a nondecreasing sequence (the paper's "increasing"), positive for n ≥ 1, for which (K_1+…+K_n−n)/a_n → Y_α in distribution, where Y_α (with law ν) has E exp(-λ Y_α) = exp(λ^α) for all λ > 0. Convergence in distribution is expressed through bounded continuous test functions (equivalent to weak convergence of the laws). No truncated-moment criterion or local-limit estimate is assumed; the latter is proved from this normalized attraction hypothesis.

                                              Instances For

                                                (H_α) for some α and some normalizing sequence (the phrase "critical and belongs to the domain of attraction of a stable law" of Theorems 1.3 and 1.4).

                                                Equations
                                                Instances For

                                                  Marks, cutoffs and Assumptions (M), (S), (C) #

                                                  @[instance_reducible]

                                                  Lists of plane trees (a countable type) carry the discrete σ-algebra.

                                                  Equations

                                                  Limits are taken along admissible sizes: n → ∞ with P(|𝒯| = n) > 0.

                                                  Equations
                                                  Instances For
                                                    structure PoissonDeclumping.IsCutoff (M : ℕ → ℕ) :

                                                    A cutoff sequence: positive integers (for n ≥ 1) with M_n → ∞ and M_n = o(n).

                                                    Instances For
                                                      noncomputable def PoissonDeclumping.markProb (μ : PMF ℕ) (G : ℕ → PlaneTree → Prop) (k : ℕ → ℕ) (n : ℕ) :

                                                      π_n = P(G_{k_n}(𝒯) = 1) for the unconditioned Bienaymé tree.

                                                      Equations
                                                      Instances For

                                                        The law of the fringe subtree 𝒯^n_{U_n} at a uniform vertex U_n of 𝒯^n, with U_n independent of 𝒯^n: sample T ~ 𝒯^n and an independent uniform DFS index i < n, and take the fringe subtree of the i-th vertex.

                                                        Equations
                                                        • One or more equations did not get rendered due to their size.
                                                        Instances For
                                                          def PoissonDeclumping.Microscopic (μ : PMF ℕ) (G : ℕ → PlaneTree → Prop) (k M : ℕ → ℕ) :

                                                          Assumption (M), microscopicity: P(G_{k_n}(𝒯^n_{U_n}) = 1) ∼ P(G_{k_n}(𝒯) = 1) and P(|𝒯^n_{U_n}| > M_n | G_{k_n}(𝒯^n_{U_n}) = 1) = o(1). The conditional probability is mathlib's cond, which is 0 when the conditioning event is null (the paper works along subsequences with positive marking probability, line 206).

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

                                                            A decomposition as in Assumption (S) for one mark G, i.e. under P_k = P(· | G(𝒯) = 1). It is a law ρ of (𝒯, C, 𝒯^{(1)},…,𝒯^{(L)}) on PlaneTree × ℕ × List PlaneTree, with L the length of the list, such that: (1) the first coordinate has law P(· | G(𝒯) = 1); (2) conditionally on (C, L) the listed trees are independent with the law of 𝒯 (the product formula for point masses); (3) almost surely |𝒯| = C + ∑_{i ≤ L} |𝒯^{(i)}|. (The paper's infinite sequence 𝒯^{(1)}, 𝒯^{(2)},… only matters through its first L terms.)

                                                            Instances For
                                                              def PoissonDeclumping.StructuralMicroscopic (μ : PMF ℕ) (a : ℕ → ℝ) (G : ℕ → PlaneTree → Prop) (k M : ℕ → ℕ) :

                                                              Assumption (S), structural microscopicity, with respect to the normalizing sequence a of (H_α): for each mark G_k with P(G_k(𝒯) = 1) > 0 there is a decomposition ρ_k (the paper works along subsequences with positive marking probability, line 206; at null marks ρ_k is unconstrained), and for every ε > 0 a_n P_{k_n}(C_{k_n} > ε M_n) → 0 and E_{k_n}[L_{k_n}] / a_{M_n} → 0.

                                                              Equations
                                                              • One or more equations did not get rendered due to their size.
                                                              Instances For
                                                                noncomputable def PoissonDeclumping.pairProb (μ : PMF ℕ) (G : ℕ → PlaneTree → Prop) (k : ℕ → ℕ) (n ℓ : ℕ) :

                                                                A_n(ℓ) = P(|𝒯| ≥ ℓ+1, G_{k_n}(𝒯) = 1, G_{k_n}(𝒯_{u_{ℓ+1}}) = 1); the (ℓ+1)-st vertex in DFS order has fringe tree T.fringeTrees[ℓ].

                                                                Equations
                                                                Instances For
                                                                  def PoissonDeclumping.NonClustering (μ : PMF ℕ) (G : ℕ → PlaneTree → Prop) (k M : ℕ → ℕ) :

                                                                  Assumption (C), pair non-clustering: ∑_{ℓ=1}^{M_n} A_n(ℓ) = o(n π_n²).

                                                                  Equations
                                                                  • One or more equations did not get rendered due to their size.
                                                                  Instances For
                                                                    noncomputable def PoissonDeclumping.markedCountLaw (μ : PMF ℕ) (G : ℕ → PlaneTree → Prop) (k : ℕ → ℕ) (n : ℕ) :

                                                                    The number of marked fringe subtrees #{u ∈ 𝒯^n : G_{k_n}(𝒯^n_u) = 1} is markCount (G (k n)), a random variable on conditioned μ n. Its law, as a measure on ℕ.

                                                                    Equations
                                                                    Instances For

                                                                      Statements of the four Introduction theorems #

                                                                      Theorem 1.1 (thm:PoissonApproximation, source lines 305–329).

                                                                      Equations
                                                                      • One or more equations did not get rendered due to their size.
                                                                      Instances For
                                                                        noncomputable def PoissonDeclumping.cB (μ : PMF ℕ) (B : Set ℕ) :

                                                                        The constant c_B = E[k_∅(𝒯) 1_{k_∅(𝒯) ∈ B}] = ∑_{j ∈ B} j μ_j.

                                                                        Equations
                                                                        Instances For

                                                                          Theorem 1.2 (thm:PoissonApproximation2, source lines 396–442): root declumping. The raw marks satisfy (S) and the declumped marks Ghat_k = declumpedMark B G_k satisfy (C), both with the same cutoff sequence.

                                                                          Equations
                                                                          • One or more equations did not get rendered due to their size.
                                                                          Instances For
                                                                            noncomputable def PoissonDeclumping.tStar (μ₁ : ℝ) (n : ℕ) :

                                                                            The centering t_n^* of Theorem 1.3(i).

                                                                            Equations
                                                                            Instances For
                                                                              noncomputable def PoissonDeclumping.tStarStar (r : ℕ) (μᵣ : ℝ) (n : ℕ) :

                                                                              The centering t_n^{**} of Theorem 1.3(ii).

                                                                              Equations
                                                                              Instances For

                                                                                The two-point set J_n: {m_n - 1, m_n} if θ_n ≤ 1/2, otherwise {m_n, m_n + 1}, where m_n = ⌊x⌋ and θ_n = {x} for the centering x.

                                                                                Equations
                                                                                Instances For

                                                                                  Localization on J_n along all admissible sizes, and on m_n along every nontrivial filter of admissible sizes whose phases stay a positive distance from the integers. In particular, the single-point refinement applies to every such admissible subsequence.

                                                                                  Equations
                                                                                  • One or more equations did not get rendered due to their size.
                                                                                  Instances For
                                                                                    def PoissonDeclumping.LatticeGumbel (μ : PMF ℕ) (H : PlaneTree → ℕ) (μ₁ : ℝ) (x : ℕ → ℝ) :

                                                                                    The lattice-modulated Gumbel limit P(H(𝒯^n) ≤ ⌊x_n + t⌋) − exp(−μ₁^{t+1−{x_n+t}}) → 0 for every real t.

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

                                                                                      Theorem 1.3 (thm:max_string, source lines 475–501): the maximal complete non-fringe r-ary height H_r = maxCompleteHeight r.

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

                                                                                        Theorem 1.4 (thm:max_lh, source lines 533–558): the maximum leaf-height λ = PlaneTree.leafHeight. The constants C_μ, D_μ are identified with the limits of the root leaf-height tails π_k = P(λ_∅(𝒯) ≥ k) (source lines 562–572), as the paper records; the centerings are k_n^* and k_n^{**}.

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