Structured proof · Unit 143
lemma DividedSplitting.genResidue_smul_eq_iff
AuxPair E r n, z \colon r \hookrightarrow m and V a divided splitting (DividedSplitting N m a O z); let k and c be types, S a k\times c matrix over R_1 = O_E/M^2Q (the residue ring of O.levelModulus 2) and u \colon c \to k. Then \overline{t}\cdot(S reduced to R_0) = \overline{t}\cdot I_u in R_0 = O_E/M^2 (\overline{t} = V.genResidue , reduction by \operatorname{reduceToR}_0, I_u = inclMatrix u) if and only if for every chosen place w_i of O the reduction of S to the residue field k_{w_i} equals I_u.For every entry (a, b) choose an integral adele X_{ab} with S_{ab} = I_u(a, b) + (reduction of X_{ab} modulo M^2Q): the reduction \hat{O} \to O_E/M^2Q is surjective, and so is adding the constant I_u(a, b).
With S = I_u + \overline{X}: \overline{t}\cdot(\overline{S} - I_u) = 0 in O_E/M^2 says t\cdot X \equiv 0 mod M^2, i.e. (
reduction_levelModulus_eq_zero_iffwith c = 2) t^{-1}X is integral, i.e. X \equiv 0 modulo M; by the Chinese remainder theorem for M = \prod w_i (matrix_ext_modulusResidue, the chosen places being distinct) this holds iff X reduces to 0 at every chosen place, i.e. iff S reduces to I_u in every residue field k_{w_i}.Usesstep 1,
reduction_levelModulus_eq_zero_iffunit 143,Modulus.unit 104matrix_ext_modulusResidue