network_power_cost
def
For a finite set of resources E with cost coefficients c : E → ℝ and exponents pe : E → ℝ, the total network power cost of a load vector x : E → ℝ is Phi(x) = ∑ e ∈ E, c e * (x e)^(pe e).
Statement
noncomputable def network_power_cost {E : Type*} [Fintype E] (c : E → ℝ) (pe : E → ℝ) (x : E → ℝ) : ℝ
- Defined in
- arXiv:2611.30912 Section 1.1 and Section 2
- Verified
- 25 Nov 2026
- Axioms
- none listed
Read back from the Lean
Given a finite type E and functions c, pe, x : E → ℝ, network_power_cost c pe x is defined as the real number equal to the sum over all e : E of c e * (x e) ^ (pe e).
Written by a model that saw only the Lean, never the English above. If the two disagree, that is worth a challenge.
Lean source view module on GitHub
/-- Total network power cost function Phi(x) = sum_e c_e * x_e^(p_e). -/ noncomputable def network_power_cost {E : Type*} [Fintype E] (c : E → ℝ) (pe : E → ℝ) (x : E → ℝ) : ℝ := ∑ e : E, c e * (x e) ^ (pe e)