`BookProof.ChapterConditional.pJoint_sum_one` (B : Matrix Y X ๐) (hB : โ x, โ y, โB y xโ ^ 2 = 1) : โ x, โ y, pJoint B x y = 1
ProvedBookProof.ChapterConditional.pJoint_sum_onetheoremstimepiece
Prove the following Lean 4 theorem from ChapterConditional.
BookProof.ChapterConditional.pJoint_sum_one (B : Matrix Y X ๐) (hB : โ x, โ y, โB y xโ ^ 2 = 1) : โ x, โ y, pJoint B x y = 1
Formalization note: Lean 4 identifier BookProof.ChapterConditional.pJoint_sum_one.
Preamble
-- Generated from ChapterConditional.lean โ theorem BookProof.ChapterConditional.pJoint_sum_one
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_sum_one (B : Matrix Y X ๐)
(hB : โ x, โ y, โB y xโ ^ 2 = 1) :
โ x, โ y, pJoint B x y = 1 := by sorry