symmetric_power_sum
def
The r-th power sum of an n-dimensional real vector x is the sum of (x i)^r over all indices i in Fin n.
Statement
def symmetric_power_sum {n : ℕ} (r : ℕ) (x : Fin n → ℝ) : ℝ- Defined in
- arXiv:2611.16690, Hilbert's 17th problem for symmetric functions: undecidability and a counterexample, Section 1
- Verified
- 13 Nov 2026
- Axioms
- none listed
- Used by 1
- symmetric_oct_fThe degree-8 symmetric function F evaluated on an n-dimensional vector x, defined in terms of power sums by 4 p_1^2 (p_3 - 4 p_1^3)^2 + 9…
Read back from the Lean
Given a natural number n, a natural number r, and a sequence/vector of real numbers x : Fin n → ℝ, symmetric_power_sum is defined as the sum over all i : Fin n of (x i) ^ r (that is, ∑_{i=0}^{n-1} x_i^r).
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 r-th power sum symmetric function of a vector x. -/ def symmetric_power_sum {n : ℕ} (r : ℕ) (x : Fin n → ℝ) : ℝ := ∑ i : Fin n, x i ^ r