English
The degree of a polynomial p equals the supremum (over the support of p) of the multisets obtained from the exponents; i.e., deg(p) = sup{s ∈ supp(p)} toMultiset(s).
Русский
Степень многочлена p равнаерхуинф: супремум над опорой p множества toMultiset существующих степеней; то есть deg(p) = sup_{s ∈ supp(p)} toMultiset(s).
LaTeX
$$$\deg(p) = \operatorname{sup}_{s \in \operatorname{support}(p)} \operatorname{toMultiset}(s)$$$
Lean4
theorem degrees_def [DecidableEq σ] (p : MvPolynomial σ R) :
p.degrees = p.support.sup fun s : σ →₀ ℕ => Finsupp.toMultiset s := by rw [degrees]; convert rfl