introvoyz045's picture
Migrated from GitHub
4a56cd6 verified
Raw History Blame Contribute Delete
3.49 kB
import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.LatticeDenominators
/-! # Level Matrices -/
namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Integral.LevelMatrices
noncomputable section
/-! Deep congruences on the specified integral lattice become integral
matrix congruences in the standard E-coordinates, after one fixed
nonzero denominator is cleared. -/
open scoped Classical
variable {E : Type*} [Field E] [NumberField E] [Algebra β„š E]
omit [Algebra β„š E] in
theorem lattice_congruence_coordinates (Ξ› : Submodule β„€ (Fin 3 β†’ E))
(d c : β„€) (hd : d β‰  0)
(hbasis : βˆ€ j : Fin 3, d β€’ (Pi.single j (1 : E)) ∈ Ξ›)
(hcoords : βˆ€ y ∈ Ξ›, βˆ€ i, IsIntegral β„€ (c β€’ y i))
(N m : β„•) (k : β„€) (hN : (N : β„€) = d * c * m * k)
(g : (Fin 3 β†’ E) ≃ₗ[E] (Fin 3 β†’ E))
(hg : βˆ€ x ∈ Ξ›, βˆƒ y ∈ Ξ›, g x - x = (N : β„€) β€’ y)
(i j : Fin 3) :
βˆƒ a : E, IsIntegral β„€ a ∧
(LinearMap.toMatrix' g.toLinearMap) i j - (1 : Matrix (Fin 3) (Fin 3) E) i j = (m : E) * a := by
obtain ⟨y, hy, he⟩ := hg (d β€’ Pi.single j 1) (hbasis j)
have hgsmul : g (d β€’ Pi.single j 1) = d β€’ g (Pi.single j 1) :=
(g.toLinearMap.restrictScalars β„€).map_smul d _
have he' : d β€’ (g (Pi.single j 1) - Pi.single j 1) = (N : β„€) β€’ y := by
rw [smul_sub, ← hgsmul]
exact he
have hz := congrArg (fun x : Fin 3 β†’ E => x i) he'
have hz' : (d : E) * (g (Pi.single j 1) i - (Pi.single j 1 : Fin 3 β†’ E) i) =
(N : E) * y i := by
simpa only [Pi.sub_apply, Pi.smul_apply, zsmul_eq_mul, Int.cast_natCast] using hz
refine ⟨k β€’ (c β€’ y i), (hcoords y hy i).smul k, ?_⟩
change g (Pi.single j 1) i - (1 : Matrix (Fin 3) (Fin 3) E) i j = _
have hid : (1 : Matrix (Fin 3) (Fin 3) E) i j = (Pi.single j 1 : Fin 3 β†’ E) i := by
simp only [Matrix.one_apply, Pi.single_apply]
rw [hid]
apply mul_left_cancelβ‚€ (show (d : E) β‰  0 from Int.cast_ne_zero.mpr hd)
rw [hz']
have hc : (N : E) = (d : E) * (c : E) * (m : E) * (k : E) := by exact_mod_cast hN
rw [hc]
simp only [zsmul_eq_mul]
ring
/-- Every prescribed coefficient modulus admits a fixed principal
level whose matrices are congruent to identity over the ring of integers. -/
theorem exists_integral_matrix_congruence_depth (Ξ› : Submodule β„€ (Fin 3 β†’ E))
(hfg : Ξ›.FG) (hspan : Submodule.span β„š (Ξ› : Set (Fin 3 β†’ E)) = ⊀)
(m : β„•) (hm : 0 < m) :
βˆƒ D : β„•, 0 < D ∧ βˆ€ N : β„•, D ∣ N β†’
βˆ€ g : (Fin 3 β†’ E) ≃ₗ[E] (Fin 3 β†’ E),
(βˆ€ x ∈ Ξ›, βˆƒ y ∈ Ξ›, g x - x = (N : β„€) β€’ y) β†’
βˆ€ i j, βˆƒ a : E, IsIntegral β„€ a ∧
(LinearMap.toMatrix' g.toLinearMap) i j -
(1 : Matrix (Fin 3) (Fin 3) E) i j = (m : E) * a := by
obtain ⟨d, hd, hbasis⟩ := LatticeDenominators.common_integer_multiple_mem Ξ› hspan (fun j : Fin 3 => Pi.single j (1 : E))
obtain ⟨c, hc, hcoords⟩ := LatticeDenominators.common_integral_coordinate_multiple Ξ› hfg
refine ⟨(d * c * (m : β„€)).natAbs, Int.natAbs_pos.mpr
(mul_ne_zero (mul_ne_zero hd hc) (by exact_mod_cast hm.ne')), ?_⟩
intro N hN g hg i j
have hdiv : d * c * (m : β„€) ∣ (N : β„€) := Int.natAbs_dvd_natAbs.mp (by
simpa only [Int.natAbs_natCast] using hN)
obtain ⟨k, hk⟩ := hdiv
exact lattice_congruence_coordinates Ξ› d c hd hbasis hcoords N m k hk g hg i j
end
end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Integral.LevelMatrices