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