`BookProof.ChapterConditional.pJoint_eq_cond_mul_marg` (B : Matrix Y X π) (x : X) (y : Y) (hx : 0 < pMarg B x) : pJoint B x y = pCond B x y * pMarg B x
ProvedBookProof.ChapterConditional.pJoint_eq_cond_mul_margtheoremstimepiece
Prove the following Lean 4 theorem from ChapterConditional.
BookProof.ChapterConditional.pJoint_eq_cond_mul_marg (B : Matrix Y X π) (x : X) (y : Y) (hx : 0 < pMarg B x) : pJoint B x y = pCond B x y * pMarg B x
Formalization note: Lean 4 identifier BookProof.ChapterConditional.pJoint_eq_cond_mul_marg.
Preamble
-- Generated from ChapterConditional.lean β theorem BookProof.ChapterConditional.pJoint_eq_cond_mul_marg
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 π]Formal statement
theorem BookProof.ChapterConditional.pJoint_eq_cond_mul_marg (B : Matrix Y X π) (x : X) (y : Y)
(hx : 0 < pMarg B x) :
pJoint B x y = pCond B x y * pMarg B x := by sorry