retained_line_expected_msf
def
The expectation of the minimum spanning forest weight on n linearly arranged vertices when every possible edge is independently retained with probability q, for 0 ≤ q ≤ 1.
Statement
noncomputable def retained_line_expected_msf (n : ℕ) (q : ℝ) : ℝ
- Source
- OP-815, proposed here; compares independent edge retention on the line with classical random spanning-tree results.
- Verified
- 19 Nov 2026
- Axioms
- none listed
- Built on 1
- retained_line_msf_weightFor a graph on the first n nonnegative integers, the minimum total edge length among its spanning forests, one tree in each connected…
- Used by 1
- retained_line_expected_msf_twoFor two vertices, the expected retained minimum spanning forest weight is q.
Lean source view module on GitHub
noncomputable def retained_line_expected_msf (n : ℕ) (q : ℝ) : ℝ := by classical exact ∑ G : SimpleGraph (Fin n), q ^ G.edgeFinset.card * (1 - q) ^ (Nat.choose n 2 - G.edgeFinset.card) * retained_line_msf_weight G