The determinant directional sum as an adjugate trace
ProvedDifferentialGeometry.Integral.Measure.perm_sum_eq_trace_adjugate_mulclosed-surface-area-variationcolding-minicozziricci-flowriemannian-geometry
For real square matrices on a finite index type,
This algebraic identity is valid even when is singular and connects the determinant expansion to Jacobi's formula.
Proof from DifferentialGeometry, preserved and packaged by OpenGA with source attribution.
Preamble
import Definitions.Def_OpenGA_ImmersedMetric
import Mathlib.Analysis.Calculus.Deriv.Add
import Mathlib.Analysis.Calculus.Deriv.Mul
import Mathlib.Analysis.SpecialFunctions.Sqrt
import Mathlib.LinearAlgebra.Matrix.Adjugate
import Mathlib.LinearAlgebra.Matrix.NonsingularInverse
import Mathlib.LinearAlgebra.Matrix.PosDef
import Mathlib.LinearAlgebra.Matrix.Trace
noncomputable section
open Matrix
open scoped Matrix BigOperators
namespace DifferentialGeometry
end DifferentialGeometry
open _root_.DifferentialGeometry
namespace DifferentialGeometry.Integral
end DifferentialGeometry.Integral
open _root_.DifferentialGeometry
open _root_.DifferentialGeometry.Integral
namespace DifferentialGeometry.Integral.Measure
end DifferentialGeometry.Integral.Measure
open _root_.DifferentialGeometry
open _root_.DifferentialGeometry.Integral
open _root_.DifferentialGeometry.Integral.Measure
variable {n : Type*} [Fintype n] [DecidableEq n]
namespace DifferentialGeometry.Integral.Measure
end DifferentialGeometry.Integral.Measure
open _root_.DifferentialGeometry.Integral.MeasureFormal statement
theorem DifferentialGeometry.Integral.Measure.perm_sum_eq_trace_adjugate_mul
(A B : Matrix n n ℝ) :
(∑ σ : Equiv.Perm n, ((Equiv.Perm.sign σ : ℤ) : ℝ) *
∑ k, (∏ i ∈ Finset.univ.erase k, A (σ i) i) * B (σ k) k)
= trace (adjugate A * B) := by sorrySource