Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Appendix II, p. 356 — time mean as the space-frequency second moment divided by space mean

Proved
WardropTraffic.MeanSpeed.time_mean_second_moment

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

p2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1speed-distributionweighted-moment

In a finite traffic stream with positive flows qiq_iqi​ and speeds viv_ivi​, let fi′=ki/Kf'_i=k_i/Kfi′​=ki​/K be the frequencies in space and vˉs\bar v_svˉs​ the space-mean speed. Then the time-mean speed is

vˉt=∑i=1Cfi′vi2vˉs.\bar v_t=\frac{\sum_{i=1}^{C}f'_i v_i^2}{\bar v_s}.vˉt​=vˉs​∑i=1C​fi′​vi2​​.

This is the intermediate identity of Appendix II that links the two sampling distributions before the variance is introduced.

Formalization Note At least one stream and positive flow and speed in every stream ensure that QQQ, KKK, and vˉs\bar v_svˉs​ are positive.

Preamble
import Mathlib
import Definitions.Def_WardropTraffic_MeanSpeed_Setting
Formal statement
namespace WardropTraffic.MeanSpeed

theorem time_mean_second_moment {C : ℕ} (q v : Fin C → ℝ)
    (hC : 0 < C) (hq : ∀ i, 0 < q i) (hv : ∀ i, 0 < v i) :
    timeMean q v = (∑ i, spaceFreq q v i * v i ^ 2) / spaceMean q v := by sorry

end WardropTraffic.MeanSpeed
Source
Wardrop, Some theoretical aspects of road traffic research, Proc. Instn Civ. Engrs Part II 1 (1952), p. 356, Appendix II, third display in the derivation
Human review
  • Endorsed by Shuze Chen · Oct 6, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 6, 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