(6), p. 330 and Appendix II, p. 356 — time mean exceeds space mean by space variance divided by space mean
ProvedWardropTraffic.MeanSpeed.time_space_mean_relationConsider subsidiary traffic streams, each with positive flow and positive speed . Let and be the time-mean and space-mean speeds, and let be the variance of the space distribution defined in equation (7). Wardrop's relation (6), together with its equality condition, is
Thus the two means agree exactly when there is no variation among the constituent stream speeds. The result explains why measurements made at a road point and measurements of vehicles occupying a stretch of road report different averages.
Formalization Note The variance is defined by the independent weighted formula (7), rather than by rearranging (6). Positivity of the number of streams, every flow, and every speed rules out zero denominators and makes the equality condition range exactly over present streams.
import Mathlib import Definitions.Def_WardropTraffic_MeanSpeed_Setting
namespace WardropTraffic.MeanSpeed
theorem time_space_mean_relation {C : ℕ} (q v : Fin C → ℝ)
(hC : 0 < C) (hq : ∀ i, 0 < q i) (hv : ∀ i, 0 < v i) :
timeMean q v = spaceMean q v + spaceVar q v / spaceMean q v ∧
spaceMean q v ≤ timeMean q v ∧
(timeMean q v = spaceMean q v ↔ ∀ i j, v i = v j) := by sorry
end WardropTraffic.MeanSpeed
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.