AFTD Auto-Formalizing Theoretical Domains

op1370_weight_matrix_uniform

theoremverified

Uniform weights scale a sum of rank-one matrices equal to the identity.

Statement

theorem op1370_weight_matrix_uniform
    {ι V K : Type*} [Fintype ι] [Fintype V] [DecidableEq V] [CommRing K]
    (L R : ι → V → K) (t : K)
    (hid : (∑ i, Matrix.vecMulVec (L i) (R i)) = (1 : Matrix V V K)) :
    (∑ i, t • Matrix.vecMulVec (L i) (R i)) = t • (1 : Matrix V V K)
Source
Filed by the prover as a step towards another result
Verified
16 Nov 2026
Axioms
Classical.choiceQuot.soundpropext

Lean source view module on GitHub

open Finset Matrix Polynomial
open scoped BigOperators

theorem op1370_weight_matrix_uniform
    {ι V K : Type*} [Fintype ι] [Fintype V] [DecidableEq V] [CommRing K]
    (L R : ι → V → K) (t : K)
    (hid : (∑ i, Matrix.vecMulVec (L i) (R i)) = (1 : Matrix V V K)) :
    (∑ i, t • Matrix.vecMulVec (L i) (R i)) = t • (1 : Matrix V V K) := by
  rw [← Finset.smul_sum, hid]
See it in the graphDiscuss this resultChallenge it