`BookProof.ChapterConditional.pMarg_eq_sum` (B : Matrix Y X ๐) (x : X) : pMarg B x = โ y, pJoint B x y
ProvedBookProof.ChapterConditional.pMarg_eq_sumtheoremstimepiece
Prove the following Lean 4 theorem from ChapterConditional.
BookProof.ChapterConditional.pMarg_eq_sum (B : Matrix Y X ๐) (x : X) : pMarg B x = โ y, pJoint B x y
Formalization note: Lean 4 identifier BookProof.ChapterConditional.pMarg_eq_sum.
Preamble
-- Generated from ChapterConditional.lean โ theorem BookProof.ChapterConditional.pMarg_eq_sum
import Mathlib
import Definitions.Def_ChapterConditional
open BookProof.ChapterConditional
open scoped BigOperators Matrix
open Finset
variable {X Y : Type*} [Fintype X] [Fintype Y] [DecidableEq X]
variable {๐ : Type*} [RCLike ๐]
omit [Fintype X] [DecidableEq X] inFormal statement
theorem BookProof.ChapterConditional.pMarg_eq_sum (B : Matrix Y X ๐) (x : X) :
pMarg B x = โ y, pJoint B x y := by sorry