Reduction modulo is multiplicative on good matrices
ProvedIntMul.Kappa.R8.Bit.Oppbank.redM_mulReduction of rational frame matrices modulo is a ring homomorphism on the matrices whose entries have denominators coprime to .
Let denote the entrywise reduction of a rational matrix to , via the total map that inverts the denominator whenever it is coprime to . If are rational matrices of this size and every denominator of an entry of or of is coprime to , then
The argument is that such matrices take values in the subring of rationals with denominator coprime to ; reduction is a ring homomorphism on that subring, and therefore (entrywise) a homomorphism of matrix rings. Consequently the same identity holds for partial-swap frames and for the stage-one labels , once the factors are known to be good.
Formalization Note. This is the R8 packaging of the R6 identity redMap_mul, stated for the published redM of Defs4. The proof uses only Defs4 / K_Defs2 (goodSub, redHom, redQ) and does not import QHNet or QHNetRec.
import Definitions.Def_IntMul_Kappa_R6_Defs4 import Mathlib set_option autoImplicit false set_option relaxedAutoImplicit false
namespace IntMul.Kappa.R8.Bit.Oppbank
open IntMul.Kappa.R6.Bit
/-- Reduction modulo `N` is multiplicative on matrices whose entries have
denominators coprime to `N`. -/
theorem redM_mul {m N : ℕ} (A B : QMat2 m)
(hA : ∀ i j, Nat.Coprime (A i j).den N)
(hB : ∀ i j, Nat.Coprime (B i j).den N) :
redM N (A * B) = redM N A * redM N B := by sorry
end IntMul.Kappa.R8.Bit.Oppbank