Lemma B.2, p. 23 — the moment generating function of a cyclic sum W = A₀B₁ + … + AₙB₀ of correlated edge pairs
ProvedGraphAlignment.Possible.lemma_B_2graph-alignmentmoment-generating-functionp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1transfer-matrix
Let and let be independent pairs of -valued random variables, each with the law of (3): , , . Assume the covariance of and is positive. Define the cyclic sum
Then for every ,
where and .
This is the moment generating function of the contribution of one cycle of the permutation to , the key computation in the union bound of Proposition 4.4.
Formalization Note The expectation is the finite sum over all -tuples of edge states in Bool × Bool, weighted by ; indices are in Fin (n+1) with cyclic addition, so the last term is (for , ). is (2), and is the lemma's hypothesis. holds under these assumptions, so the square root is the real one.
Preamble
import Mathlib import Definitions.Def_GraphAlignment_Possible_Setting
Formal statement
namespace GraphAlignment.Possible
theorem lemma_B_2 (n : ℕ) (q s t : ℝ) (hq : 0 ≤ q) (hqs : q < s) (hs : s ≤ 1)
(hσ : 0 < q * (s - q)) (ht : 0 < t) :
let T : ℝ := q * s * (Real.exp t - 1) + 1
let D : ℝ := q * (s - q) * (Real.exp t - 1)
let W : (Fin (n + 1) → Bool × Bool) → ℝ := fun ω =>
∑ i : Fin (n + 1), (if (ω i).1 && (ω (i + 1)).2 then (1 : ℝ) else 0)
∑ ω : Fin (n + 1) → Bool × Bool, (∏ i, pLaw q s (ω i)) * Real.exp (t * W ω) =
((T + Real.sqrt (T ^ 2 - 4 * D)) / 2) ^ (n + 1) +
((T - Real.sqrt (T ^ 2 - 4 * D)) / 2) ^ (n + 1) := by sorry
end GraphAlignment.Possible
Source
Hall, Massoulié, Partial Recovery in the Graph Alignment Problem, arXiv:2007.00533v5, p. 23, Lemma B.2; p. 7, (2)–(3)
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.