`BookProof.ChapterMaxEntropy.entropy_le_log_card` [Nonempty α] {p : α → ℝ} (hp : IsProb p) : entropy p ≤ Real.log (Fintype.card α)
ProvedBookProof.ChapterMaxEntropy.entropy_le_log_cardtheoremstimepiece
Prove the following Lean 4 theorem from ChapterMaxEntropy.
BookProof.ChapterMaxEntropy.entropy_le_log_card [Nonempty α] {p : α → ℝ} (hp : IsProb p) : entropy p ≤ Real.log (Fintype.card α)
Formalization note: Lean 4 identifier BookProof.ChapterMaxEntropy.entropy_le_log_card.
Preamble
-- Generated from ChapterMaxEntropy.lean — theorem BookProof.ChapterMaxEntropy.entropy_le_log_card
import Mathlib
import Definitions.Def_ChapterMaxEntropy
import Definitions.Def_ChapterDutchBook
import Definitions.Def_ChapterIrreversible
open BookProof.ChapterDutchBook
open BookProof.ChapterIrreversible
open BookProof.ChapterMaxEntropy
open Real BigOperators Finset
variable {α : Type*} [Fintype α]Formal statement
theorem BookProof.ChapterMaxEntropy.entropy_le_log_card [Nonempty α] {p : α → ℝ} (hp : IsProb p) :
entropy p ≤ Real.log (Fintype.card α) := by sorry