`BookProof.ChapterIrreversible.entropy_eq_zero_iff_pointMass` (p : Fin n → ℝ) (hnn : ∀ a, 0 ≤ p a) (hsum : ∑ a, p a = 1) : entropy p = 0 ↔ IsPointMass p
ProvedBookProof.ChapterIrreversible.entropy_eq_zero_iff_pointMasstheoremstimepiece
Prove the following Lean 4 theorem from ChapterIrreversible.
BookProof.ChapterIrreversible.entropy_eq_zero_iff_pointMass (p : Fin n → ℝ) (hnn : ∀ a, 0 ≤ p a) (hsum : ∑ a, p a = 1) : entropy p = 0 ↔ IsPointMass p
Formalization note: Lean 4 identifier BookProof.ChapterIrreversible.entropy_eq_zero_iff_pointMass.
Preamble
-- Generated from ChapterIrreversible.lean — theorem BookProof.ChapterIrreversible.entropy_eq_zero_iff_pointMass
import Mathlib
import Definitions.Def_ChapterIrreversible
open BookProof.ChapterIrreversible
open scoped BigOperators
open Finset
variable {n : ℕ}Formal statement
theorem BookProof.ChapterIrreversible.entropy_eq_zero_iff_pointMass (p : Fin n → ℝ) (hnn : ∀ a, 0 ≤ p a)
(hsum : ∑ a, p a = 1) : entropy p = 0 ↔ IsPointMass p := by sorry