relative_lorenz_curve
def
Given a natural number n, vectors x, γ : Fin n → ℝ, and a parameter t : ℝ, the relative Lorenz curve relative_lorenz_curve x γ t is defined as the supremum (sSup) of ∑ i, α i * x i over all α : Fin n → ℝ satisfying 0 ≤ α i ∧ α i ≤ 1 for all i and ∑ i, α i * γ i ≤ t.
Statement
noncomputable def relative_lorenz_curve {n : ℕ} (x γ : Fin n → ℝ) (t : ℝ) : ℝ
- Defined in
- arXiv:2610.35433:191; Lostaglio 2019; Ruch, Schoenhofer, Sloane 1978
- Verified
- 31 Oct 2026
- Axioms
- none listed
- Used by 1
- relative_lorenz_curve_zeroFor any natural number n, population vector x in stdSimplex ℝ (Fin n), and strictly positive Gibbs vector γ in stdSimplex ℝ (Fin n), the…
Read back from the Lean
Given a natural number n (implicit), two vectors x, γ : Fin n → ℝ, and a real number t, relative_lorenz_curve x γ t is defined as the supremum (in ℝ) of the values ∑_{i : Fin n} α(i) * x(i) over all functions α : Fin n → ℝ satisfying:
1. 0 ≤ α(i) ≤ 1 for every i : Fin n, and
2. ∑_{i : Fin n} α(i) * γ(i) ≤ t.
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
/-- The relative Lorenz curve L_{x|γ}(t) of population vector x with respect to Gibbs vector γ. -/ noncomputable def relative_lorenz_curve {n : ℕ} (x γ : Fin n → ℝ) (t : ℝ) : ℝ := sSup ((fun α : Fin n → ℝ => ∑ i, α i * x i) '' {α : Fin n → ℝ | (∀ i, 0 ≤ α i ∧ α i ≤ 1) ∧ ∑ i, α i * γ i ≤ t})