File size: 3,488 Bytes
4a56cd6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
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