`BookProof.ChapterB4.mixed_state_satisfies_both` : Matrix.trace (((1 / 2 : ℝ) • (1 : Matrix (Fin 2) (Fin 2) ℝ)) * P1) = 1 / 2 ∧ Matrix.trace (((1 / 2 : ℝ) • (1 : Matrix (Fin 2) (Fi
ProvedBookProof.ChapterB4.mixed_state_satisfies_boththeoremstimepiece
Prove the following Lean 4 theorem from ChapterB4.
BookProof.ChapterB4.mixed_state_satisfies_both : Matrix.trace (((1 / 2 : ℝ) • (1 : Matrix (Fin 2) (Fin 2) ℝ)) * P1) = 1 / 2 ∧ Matrix.trace (((1 / 2 : ℝ) • (1 : Matrix (Fin 2) (Fin 2) ℝ)) * P2) = 1 / 2
Formalization note: Lean 4 identifier BookProof.ChapterB4.mixed_state_satisfies_both.
Preamble
-- Generated from ChapterB4.lean — theorem BookProof.ChapterB4.mixed_state_satisfies_both import Mathlib import Definitions.Def_ChapterB4 open BookProof.ChapterB4 open Matrix noncomputable section
Formal statement
theorem BookProof.ChapterB4.mixed_state_satisfies_both :
Matrix.trace (((1 / 2 : ℝ) • (1 : Matrix (Fin 2) (Fin 2) ℝ)) * P1) = 1 / 2 ∧
Matrix.trace (((1 / 2 : ℝ) • (1 : Matrix (Fin 2) (Fin 2) ℝ)) * P2) = 1 / 2 := by sorry