The finite arithmetic–geometric mean inequality
ProvedProofsInTheBook.Chapter18.chapter18analysisbook-chapter-20lean4proofs-from-the-book
Let be any index set, let be finite and nonempty, and let satisfy for every . Writing , one has
The exponent is a real power; zero entries are allowed. No condition is imposed on entries outside .
Preamble
import Mathlib
Formal statement
theorem ProofsInTheBook.Chapter18.chapter18 {ι : Type*} (s : Finset ι) (hs : s.Nonempty) (z : ι → ℝ)
(hz : ∀ i ∈ s, 0 ≤ z i) :
(∏ i ∈ s, z i) ^ ((s.card : ℝ)⁻¹) ≤ (∑ i ∈ s, z i) / s.card := by sorrySource
Martin Aigner and Günter M. Ziegler, Proofs from THE BOOK, 6th edition, Springer, 2018, Chapter 20, “In praise of inequalities”, pp. 143–150 (https://doi.org/10.1007/978-3-662-57265-8_20). Formalization: https://github.com/xiangyazi24/proof_in_the_book/blob/88d88d141768cded75e782c525ef1bf04b8fe220/ProofsInTheBook/Chapter18.lean#L41. The book citation identifies the topic; the selected declaration does not claim to reproduce the entire chapter.