Matrix coefficients transfer along a ring hom fixing the base, and vanish together
ProvedDiaz.coeff_transfer_iffTransfer of matrix coefficients along a ring homomorphism, and the equivalence it gives.
Let be a subfield and let be a ring homomorphism fixing pointwise. Let be a complex matrix, indexed by arbitrary finite sets, and let , be vectors with entries in . Writing for applied entrywise,
and consequently
Proof. Apply to : it preserves finite sums and products and fixes each and . The equivalence follows because is injective — its kernel is an ideal of the field not containing , hence zero.
What is new here relative to the existing node. Diaz.coeff_transfer already carries the
forward identity, over an arbitrary subfield , for index types and
. It does not carry the "consequently" clause. That clause is
the half that uses injectivity, and it is the half the intended application needs: one wants to
conclude that a coefficient fails to vanish downstream from its failing to vanish upstream,
which the identity alone does not give. This node states both halves, and takes the
index types to be arbitrary finite types rather than , :
is a finite double sum, so finiteness of the index sets is what the
expression means rather than an extra hypothesis, and there is no reason to force a caller
through a numbering of the index set.
Hypotheses. None beyond those stated above. is an arbitrary complex matrix; only the coefficient vectors are constrained to lie in ; is only assumed to be a ring homomorphism fixing — not surjective, not continuous, not conjugation-equivariant.
Attribution. The statement is Carlo Perassi's. His companion note to https://github.com/carlok/diaz-modulus-lean (version 1.9, 25 September 2026, GitHub release note-v1.9) does not state it separately: its case is the coefficient equivalence behind the last clause of Theorem 5.1 there, and in this generality it is unpublished apart from this node. No novelty is claimed for the mathematics, which is elementary; the contribution is the formalisation.
import Mathlib open ComplexConjugate
theorem Diaz.coeff_transfer_iff {K : Subfield ℂ} {m n : Type*} [Fintype m] [Fintype n]
(Φ : ℂ →+* ℂ) (hK : ∀ a ∈ K, Φ a = a)
(M : Matrix m n ℂ) (w : m → ℂ) (v : n → ℂ)
(hw : ∀ i, w i ∈ K) (hv : ∀ j, v j ∈ K) :
Φ (∑ i, ∑ j, w i * M i j * v j) = ∑ i, ∑ j, w i * Φ (M i j) * v j ∧
((∑ i, ∑ j, w i * M i j * v j) = 0 ↔ (∑ i, ∑ j, w i * Φ (M i j) * v j) = 0) := by sorry