Trace and determinant of a sum of two-by-two matrices
ProvedWorkbookRestored.plus_9863lean-workbookrestored-importssource-checked
For real two-by-two matrices ,
This restores the missing imports or namespaces of the original node, retaining its formal proposition. Source: Lean-Workbook row lean_workbook_plus_9863 (Apache-2.0).
Preamble
import Mathlib.Analysis.Complex.Basic import Mathlib.LinearAlgebra.Matrix.Determinant.Basic import Mathlib.LinearAlgebra.Matrix.Trace open Matrix
Formal statement
theorem WorkbookRestored.plus_9863 (A B : Matrix (Fin 2) (Fin 2) ℝ) : 2 * A.trace * B.trace - 2 * (A * B).trace + 2 * A.det + 2 * B.det - 2 * (A + B).det = 0 := by sorry
Source