math / data /lean /OAI /AlgebraicGeometry /AbelianModuli /ReferenceFamily /Integral /LevelMatrices.lean
Download data/lean/OAI/AlgebraicGeometry/AbelianModuli/ReferenceFamily/Integral/LevelMatrices.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 3.49 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/AlgebraicGeometry/AbelianModuli/ReferenceFamily/Integral/LevelMatrices.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/AlgebraicGeometry/AbelianModuli/ReferenceFamily/Integral/LevelMatrices.lean
-
curl -L -o LevelMatrices.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/AlgebraicGeometry/AbelianModuli/ReferenceFamily/Integral/LevelMatrices.lean
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 | |