Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 2.2, p. 8 — for any random assignment, E[Cⱼ] = Σᵢ (Pr[j ↦ i]·pᵢⱼ + Σ_{k ≺ᵢ j} Pr[j,k ↦ i]·pᵢₖ)

Proved
SkutellaCQP.NoRel.lemma_2_2

by mikedeng1 · Oct 7, 2026 · Mathlib 0df444a (Lean v4.33.1)

expected-completion-timep2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1randomized-roundingschedulingunrelated-machines

Consider an algorithm that assigns each job randomly to one of the mmm machines, i.e. a probability distribution μ\muμ on assignments σ\sigmaσ (no independence between jobs is assumed), and let every machine sequence its jobs by Smith's order ≺i\prec_i≺i​. Write Pr⁡[j↦i]\Pr[j\mapsto i]Pr[j↦i] for the probability that job jjj is assigned to machine iii and Pr⁡[j,k↦i]\Pr[j,k\mapsto i]Pr[j,k↦i] for the probability that both jjj and kkk are. Then for every job jjj

E[Cj]=∑i=1m(Pr⁡[j↦i]⋅pij+∑k≺ijPr⁡[j,k↦i]⋅pik).\mathbb E[C_j]=\sum_{i=1}^m\Bigl(\Pr[j\mapsto i]\cdot p_{ij}+\sum_{k\prec_i j}\Pr[j,k\mapsto i]\cdot p_{ik}\Bigr).E[Cj​]=i=1∑m​(Pr[j↦i]⋅pij​+k≺i​j∑​Pr[j,k↦i]⋅pik​).

This expresses the expected completion time through the one- and two-job marginals of the random assignment only; it is the step from which the expected value of randomized rounding (Theorem 2.1) is computed.

Formalization Note The distribution is a nonnegative weight μ\muμ on the finite set of assignments with total mass 111, and E[Cj]=∑σμ(σ)Cj(σ)\mathbb E[C_j]=\sum_\sigma\mu(\sigma)C_j(\sigma)E[Cj​]=∑σ​μ(σ)Cj​(σ). The standing assumptions pij>0p_{ij}>0pij​>0, wj≥0w_j\ge 0wj​≥0 are carried as hypotheses.

Preamble
import Mathlib
import Definitions.Def_SkutellaCQP_NoRel_Setting
Formal statement
namespace SkutellaCQP.NoRel

open Finset

/-- Lemma 2.2 (p. 8). For any random assignment of jobs to machines (a probability weight `μ` on
assignments, with no independence assumed), the expected completion time of job `j` under Smith
sequencing is `∑_i (Pr[j ↦ i] p_ij + ∑_{k ≺_i j} Pr[j, k ↦ i] p_ik)`. -/
theorem lemma_2_2 {m n : ℕ} (p : Fin m → Fin n → ℝ) (w : Fin n → ℝ)
    (hp : ∀ i j, 0 < p i j) (hw : ∀ j, 0 ≤ w j)
    (μ : (Fin n → Fin m) → ℝ) (hμ0 : ∀ σ, 0 ≤ μ σ) (hμ1 : ∑ σ, μ σ = 1) (j : Fin n) :
    E μ (fun σ => compl p w σ j) =
      ∑ i, ((∑ σ ∈ univ.filter (fun σ : Fin n → Fin m => σ j = i), μ σ) * p i j +
        ∑ k ∈ univ.filter (fun k => prec p w i k j),
          (∑ σ ∈ univ.filter (fun σ : Fin n → Fin m => σ j = i ∧ σ k = i), μ σ) * p i k) := by sorry

end SkutellaCQP.NoRel
Source
Skutella, Convex quadratic and semidefinite programming relaxations in scheduling, J. ACM 48 (2001), p. 8, Lemma 2.2
Human review
  • Endorsed by Shuze Chen · Oct 7, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 7, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me