Theorem 6.3 — ECCA Performance
DisprovedNetworkControl.GeneralCosts.theorem_ecca_performanceTheorem 6.3 (ECCA Performance [116], p. 115-117). For any topology state process and any input process with for all , running the Energy Constrained Control Algorithm — flow control , power allocation chosen every slot to maximize subject to , and the virtual power queue updated via (6.13) — ensures for all , for all , and consequently the energy expended over any -slot interval is never more than . This is the most Lean-friendly capstone in the series: a purely deterministic, sample-path (worst-case, not expected-value) bound that holds for every realization of and — no probability space, no expectation, no i.i.d. hypothesis needed for these conclusions.
Retired. retired because the standing assumption C_i(P,S) ≥ 0 on transmission rates was omitted, which let the backlog grow with no admissions; replaced by NetworkControl.GeneralCosts.theorem_ecca_performance_v2.
import Mathlib import Definitions.Def_NetworkControl_GeneralCosts_eccaAdmitted import Definitions.Def_NetworkControl_GeneralCosts_virtualPowerQueue
namespace NetworkControl.GeneralCosts
/-- Theorem 6.3 (ECCA Performance [116]), p. 115-117. For any topology state process `S(t)` and
any input process `A(t)` with `A_i(t) ≤ R̂` for all `t`, running the Energy Constrained Control
Algorithm — flow control `R_i(t) = eccaAdmitted(U_i(t), V, A_i(t))`, power allocation `P(t)`
chosen every slot to maximize `Σ_i [U_i(t) C_i(P,S(t)) - D(t) P_i(t)]` subject to `Σ_i P_i(t) ≤
Pmax`, and the virtual power queue `D(t)` updated via (6.13) — ensures `U_i(t) ≤ Umax := V + R̂`
for all `i, t`, `D(t) ≤ Dmax := βV + βR̂ + Pmax` for all `t`, and consequently the energy expended
over any `T`-slot interval starting at `t0` is never more than `Pav·T + Dmax`.
**Formalization note.** This is a purely deterministic, sample-path statement: no probability
space, no expectation, no i.i.d. hypothesis (unlike every other capstone in this series) — the
bounds hold for *every* realization of `A`, `S`, and every admissible run of the algorithm. The
book's `β`-inequality (p. 117, used to show the power allocation drops power on link `i` once
`D(t)` is large) is stated as `hCbeta`, exactly as the book gives it, with `Function.update P i 0`
for the book's `P^{[i]}` (the power vector with the `i`-th entry zeroed). The throughput
conclusion under i.i.d. `A(t), S(t)` (p. 117, an expectation/`liminf` statement) is out of scope
for this item — see `STATUS.md`. -/
theorem theorem_ecca_performance
{L : ℕ} {Chan : Type*}
(V Rhat Pmax Pav β : ℝ) (hV : 0 ≤ V) (hRhat : 0 ≤ Rhat) (hPmax : 0 < Pmax)
(hPav : 0 < Pav) (hPavLtPmax : Pav < Pmax) (hβ : 0 < β)
(A : ℕ → Fin L → ℝ) (hA0 : ∀ t i, 0 ≤ A t i) (hAle : ∀ t i, A t i ≤ Rhat)
(S : ℕ → Chan)
(C : (Fin L → ℝ) → Chan → Fin L → ℝ)
(hCbeta : ∀ (P : Fin L → ℝ) (s : Chan) (i : Fin L), (∑ j : Fin L, P j) ≤ Pmax →
C P s i ≤ C (Function.update P i 0) s i + β * P i)
(U : ℕ → Fin L → ℝ) (hU0 : ∀ i : Fin L, U 0 i = 0)
(P : ℕ → Fin L → ℝ) (hPnonneg : ∀ t : ℕ, ∀ i : Fin L, 0 ≤ P t i)
(hPbudget : ∀ t : ℕ, (∑ i : Fin L, P t i) ≤ Pmax)
(D : ℕ → ℝ) (hDeq : ∀ t : ℕ, D t = virtualPowerQueue P Pav t)
(hPopt : ∀ t : ℕ, ∀ P' : Fin L → ℝ, (∀ i : Fin L, 0 ≤ P' i) → (∑ i : Fin L, P' i) ≤ Pmax →
(∑ i : Fin L, (U t i * C P' (S t) i - D t * P' i))
≤ ∑ i : Fin L, (U t i * C (P t) (S t) i - D t * (P t) i))
(hUrec : ∀ t : ℕ, ∀ i : Fin L,
U (t + 1) i = max (U t i - C (P t) (S t) i) 0 + eccaAdmitted (U t i) V (A t i)) :
(∀ t : ℕ, ∀ i : Fin L, U t i ≤ V + Rhat) ∧
(∀ t : ℕ, D t ≤ β * V + β * Rhat + Pmax) ∧
(∀ t0 T : ℕ, (∑ τ ∈ Finset.range T, ∑ i : Fin L, P (t0 + τ) i)
≤ Pav * (T : ℝ) + (β * V + β * Rhat + Pmax)) := by sorry
end NetworkControl.GeneralCosts
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.