`BookProof.ChapterUniformPriorPosterior.binaryLikelihood_sum` (q : Hyp → ℝ) (x : Hyp) : ∑ observed : Bool, binaryLikelihood q x observed = 1
ProvedBookProof.ChapterUniformPriorPosterior.binaryLikelihood_sumtheoremstimepiece
Prove the following Lean 4 theorem from ChapterUniformPriorPosterior.
BookProof.ChapterUniformPriorPosterior.binaryLikelihood_sum (q : Hyp → ℝ) (x : Hyp) : ∑ observed : Bool, binaryLikelihood q x observed = 1
Formalization note: Lean 4 identifier BookProof.ChapterUniformPriorPosterior.binaryLikelihood_sum.
Preamble
-- Generated from ChapterUniformPriorPosterior.lean — theorem BookProof.ChapterUniformPriorPosterior.binaryLikelihood_sum
import Mathlib
import Definitions.Def_ChapterUniformPriorPosterior
open BookProof.ChapterUniformPriorPosterior
open scoped BigOperators
variable {Hyp : Type*} [Fintype Hyp] [DecidableEq Hyp]Formal statement
theorem BookProof.ChapterUniformPriorPosterior.binaryLikelihood_sum (q : Hyp → ℝ) (x : Hyp) :
∑ observed : Bool, binaryLikelihood q x observed = 1 := by sorry