Quelle Cusps.lean
Sprache: Lean
|
|
/-
Copyright (c) 2025 David Loeffler. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: David Loeffler
-/
module
public import Mathlib.NumberTheory.ModularForms.CongruenceSubgroups
public import Mathlib.Topology.Algebra.Order.ArchimedeanDiscrete
public import Mathlib.Topology.Compactification.OnePoint.ProjectiveLine
import Mathlib.Analysis.RCLike.Basic
import Mathlib.RingTheory.Localization.NumDen
/-!
# Cusps
We define the cusps of a subgroup of `GL(2, ℝ)` as the fixed points of parabolic elements.
-/
@[expose] public section
open Matrix SpecialLinearGroup GeneralLinearGroup Filter Polynomial OnePoint
open scoped MatrixGroups LinearAlgebra.Projectivization
namespace OnePoint
variable {K : Type*} [Field K] [DecidableEq K]
/-- The modular group `SL(2, A)` acts transitively on `OnePoint K`, if `A` is a PID whose fraction
field is `K`. (This includes the case `A = ℤ`, `K = ℚ`.) -/
lemma exists_mem_SL2 (A : Type*) [CommRing A] [IsDomain A] [Algebra A K] [IsFractionRing A K]
[IsPrincipalIdealRing A] (c : OnePoint K) :
∃ g : SL(2, A), (mapGL K g) • ∞ = c := by
cases c with
| infty => exact ⟨1, by simp⟩
| coe q =>
obtain ⟨g, hg0, hg1⟩ := (IsFractionRing.num_den_reduced A q).isCoprime.exists_SL2_col 0
exact ⟨g, by simp [hg0, hg1, smul_infty_eq_ite]⟩
end OnePoint
namespace Subgroup.HasDetPlusMinusOne
variable {K : Type*} [Field K] [LinearOrder K] [IsStrictOrderedRing K]
{ : Subgroup (GL (Fin 2) K)} [.HasDetPlusMinusOne]
lemma isParabolic_iff_of_upperTriangular {g} (hg : g ∈ ) (hg10 : g 1 0 = 0) :
g.IsParabolic ↔ (∃ x ≠ 0, g = upperRightHom x) ∨ (∃ x ≠ (0 : K), g = -upperRightHom x) :=
isParabolic_iff_of_upperTriangular_of_det (HasDetPlusMinusOne.det_eq hg) hg10
end Subgroup.HasDetPlusMinusOne
section IsCusp
/-- The *cusps* of a subgroup of `GL(2, ℝ)` are the fixed points of parabolic elements of `g`. -/
def IsCusp (c : OnePoint ℝ) ( : Subgroup (GL (Fin 2) ℝ)) : Prop :=
∃ g ∈ , g.IsParabolic ∧ g • c = c
open scoped Pointwise in
lemma IsCusp.smul {c : OnePoint ℝ} { : Subgroup (GL (Fin 2) ℝ)} (hc : IsCusp c )
(g : GL (Fin 2) ℝ) : IsCusp (g • c) (ConjAct.toConjAct g • ) := by
obtain ⟨p, hp, hpp, hpc⟩ := hc
refine ⟨_, .smul_mem_pointwise_smul _ _ hp, ?_, ?_⟩
· simpa [ConjAct.toConjAct_smul] using hpp
· simp [ConjAct.toConjAct_smul, mul_smul, hpc]
lemma IsCusp.smul_of_mem {c : OnePoint ℝ} { : Subgroup (GL (Fin 2) ℝ)} (hc : IsCusp c )
{g : GL (Fin 2) ℝ} (hg : g ∈ ) : IsCusp (g • c) := by
convert hc.smul g
ext x
rw [Subgroup.mem_pointwise_smul_iff_inv_smul_mem, ← ConjAct.toConjAct_inv,
ConjAct.toConjAct_smul, inv_inv, Subgroup.mul_mem_cancel_right _ hg,
Subgroup.mul_mem_cancel_left _ (inv_mem hg)]
lemma isCusp_iff_of_relIndex_ne_zero { ' : Subgroup (GL (Fin 2) ℝ)}
(h : ' ≤ ) (h' : '.relIndex ≠ 0) (c : OnePoint ℝ) :
IsCusp c ' ↔ IsCusp c := by
refine ⟨fun ⟨g, hg, hgp, hgc⟩ ↦ ⟨g, h hg, hgp, hgc⟩, fun ⟨g, hg, hgp, hgc⟩ ↦ ?_⟩
obtain ⟨n, hn, -, hgn⟩ := Subgroup.exists_pow_mem_of_relIndex_ne_zero h' hg
refine ⟨g ^ n, (Subgroup.mem_inf.mpr hgn).1, hgp.pow hn.ne', ?_⟩
rw [Nat.pos_iff_ne_zero] at hn
rwa [(hgp.pow hn).smul_eq_self_iff, hgp.parabolicFixedPoint_pow hn, ← hgp.smul_eq_self_iff]
lemma Subgroup.Commensurable.isCusp_iff { ' : Subgroup (GL (Fin 2) ℝ)}
(h : Commensurable ') {c : OnePoint ℝ} :
IsCusp c ↔ IsCusp c ' := by
rw [← isCusp_iff_of_relIndex_ne_zero inf_le_left, isCusp_iff_of_relIndex_ne_zero inf_le_right]
· simpa [Subgroup.inf_relIndex_right] using h.1.relIndex_ne_zero
· simpa [Subgroup.inf_relIndex_left] using h.2.relIndex_ne_zero
lemma IsCusp.mono { ℋ : Subgroup (GL (Fin 2) ℝ)} {c : OnePoint ℝ} (hGH : ≤ ℋ)
(hc : IsCusp c ) : IsCusp c ℋ :=
match hc with | ⟨h, hh, hp, hc⟩ => ⟨h, hGH hh, hp, hc⟩
lemma IsCusp.of_isFiniteRelIndex { ℋ : Subgroup (GL (Fin 2) ℝ)} {c : OnePoint ℝ}
[.IsFiniteRelIndex ℋ] (hc : IsCusp c ℋ) : IsCusp c := by
have hGH : .relIndex ℋ ≠ 0 := .relIndex_ne_zero
rw [← Subgroup.inf_relIndex_right] at hGH
rw [← isCusp_iff_of_relIndex_ne_zero inf_le_right hGH] at hc
exact hc.mono inf_le_left
open scoped Pointwise in
/-- Variant version of `IsCusp.of_isFiniteRelIndex`. -/
lemma IsCusp.of_isFiniteRelIndex_conj { ℋ : Subgroup (GL (Fin 2) ℝ)} {c : OnePoint ℝ}
[.IsFiniteRelIndex ℋ] (hc : IsCusp c ℋ) {h} (hh : h ∈ ℋ) :
IsCusp c (ConjAct.toConjAct h • ) := by
suffices (ConjAct.toConjAct h • ).IsFiniteRelIndex ℋ from hc.of_isFiniteRelIndex
constructor
rw [← ℋ.conjAct_pointwise_smul_eq_self (ℋ.le_normalizer hh), .relIndex_pointwise_smul]
exact .relIndex_ne_zero
/-- The cusps of `SL(2, ℤ)` are precisely the elements of `ℙ¹(ℚ)`. -/
lemma isCusp_SL2Z_iff {c : OnePoint ℝ} : IsCusp c ℒ ↔ c ∈ Set.range (OnePoint.map Rat.cast) := by
constructor
· rintro ⟨-, ⟨g, rfl⟩, hgp, hgc⟩
simpa only [hgp.smul_eq_self_iff.mp hgc] using ⟨(mapGL ℚ g).parabolicFixedPoint,
by simp [GeneralLinearGroup.parabolicFixedPoint, apply_ite]⟩
· rintro ⟨c, rfl⟩
obtain ⟨a, rfl⟩ := c.exists_mem_SL2 ℤ
refine ⟨_, ⟨a * ModularGroup.T * a⁻¹, rfl⟩, ?_, ?_⟩
· suffices (mapGL ℝ ModularGroup.T).IsParabolic by simpa
refine ⟨fun ⟨a, ha⟩ ↦ zero_ne_one' ℝ (by simpa [ModularGroup.coe_T] using congr($ha 0 1)), ?_⟩
simp [discr_fin_two, trace_fin_two, det_fin_two, ModularGroup.coe_T]
norm_num
· rw [← Rat.coe_castHom, ← (Rat.castHom ℝ).algebraMap_toAlgebra]
simp [OnePoint.map_smul, mul_smul, smul_infty_eq_self_iff, ModularGroup.coe_T]
/-- The cusps of `SL(2, ℤ)` are precisely the `SL(2, ℤ)` orbit of `∞`. -/
lemma isCusp_SL2Z_iff' {c : OnePoint ℝ} : IsCusp c ℒ ↔ ∃ g : SL(2, ℤ), c = mapGL ℝ g • ∞ := by
rw [isCusp_SL2Z_iff]
constructor
· rintro ⟨c, rfl⟩
obtain ⟨g, rfl⟩ := c.exists_mem_SL2 ℤ
refine ⟨g, ?_⟩
rw [← Rat.coe_castHom, OnePoint.map_smul, OnePoint.map_infty,
← (Rat.castHom ℝ).algebraMap_toAlgebra, g.map_mapGL]
· rintro ⟨g, rfl⟩
refine ⟨mapGL ℚ g • ∞, ?_⟩
rw [← Rat.coe_castHom, OnePoint.map_smul, OnePoint.map_infty,
← (Rat.castHom ℝ).algebraMap_toAlgebra, g.map_mapGL]
/-- The cusps of any arithmetic subgroup are the same as those of `SL(2, ℤ)`. -/
lemma Subgroup.IsArithmetic.isCusp_iff_isCusp_SL2Z ( : Subgroup (GL (Fin 2) ℝ)) [.IsArithmetic]
{c : OnePoint ℝ} : IsCusp c ↔ IsCusp c ℒ :=
is_commensurable.isCusp_iff
instance {Γ : Subgroup (GL (Fin 2) ℝ)} [Γ.IsArithmetic] : Fact (IsCusp ∞ Γ) :=
⟨by simpa [Subgroup.IsArithmetic.isCusp_iff_isCusp_SL2Z, isCusp_SL2Z_iff]
using ⟨_, OnePoint.map_infty _⟩⟩
end IsCusp
section CuspOrbits
/-!
## Cusp orbits
We consider the orbits for the action of `` on its own cusps. The main result is that if
`[.IsArithmetic]` holds, then this set is finite.
-/
/-- The action of `` on its own cusps. -/
noncomputable def cuspsSubMulAction ( : Subgroup (GL (Fin 2) ℝ)) :
SubMulAction (OnePoint ℝ) where
carrier := {c | IsCusp c }
smul_mem' g _ hc := IsCusp.smul_of_mem hc g.property
@[simp] lemma mem_cuspsSubMulAction {} {c : OnePoint ℝ} :
c ∈ cuspsSubMulAction ↔ IsCusp c :=
Iff.rfl
/-- The type of cusp orbits of ``, i.e. orbits for the action of `` on its own cusps. -/
abbrev CuspOrbits ( : Subgroup (GL (Fin 2) ℝ)) :=
MulAction.orbitRel.Quotient (cuspsSubMulAction )
namespace CuspOrbits
variable {G H K : Subgroup (GL (Fin 2) ℝ)}
/-- The map on cusp orbits induced by an inclusion of groups. -/
noncomputable def map (hGH : G ≤ H) : CuspOrbits G → CuspOrbits H :=
Quotient.map (fun c ↦ ⟨c.val, c.property.mono hGH⟩)
(fun _ _ ⟨g, hg⟩ ↦ ⟨⟨g.val, hGH g.property⟩, Subtype.ext (congr(Subtype.val $hg))⟩)
@[simp] lemma map_mk (hGH : G ≤ H) (c : cuspsSubMulAction G) :
map hGH ⟦c⟧ = ⟦⟨c.val, c.property.mono hGH⟩⟧ := rfl
@[simp] lemma map_map (hGH : G ≤ H) (hHK : H ≤ K) (c : CuspOrbits G) :
map hHK (map hGH c) = map (hGH.trans hHK) c :=
Quotient.inductionOn c fun _ ↦ rfl
/-- Every cusp orbit lifts along an inclusion of finite relative index. -/
lemma map_surjective (hGH : G ≤ H) [G.IsFiniteRelIndex H] :
Function.Surjective (map hGH) :=
Quotient.ind fun c ↦ ⟨⟦⟨c.val, c.property.of_isFiniteRelIndex⟩⟧, rfl⟩
open scoped Pointwise
/-- Conjugation transports cusp orbits along the action on the projective line. -/
noncomputable def conj (G : Subgroup (GL (Fin 2) ℝ)) (g : GL (Fin 2) ℝ) :
CuspOrbits G → CuspOrbits (ConjAct.toConjAct g • G) :=
Quotient.map (fun c ↦ ⟨g • c.val, c.property.smul g⟩) (by
rintro c d ⟨a, ha⟩
refine ⟨⟨ConjAct.toConjAct g • a.val, G.smul_mem_pointwise_smul _ _ a.property⟩, ?_⟩
have ha' : (a : GL (Fin 2) ℝ) • d.val = c.val := congr(Subtype.val $ha)
apply Subtype.ext
simp [ConjAct.toConjAct_smul, mul_smul, ha'])
@[simp] lemma conj_mk (g : GL (Fin 2) ℝ) (c : cuspsSubMulAction G) :
conj G g ⟦c⟧ = ⟦⟨g • c.val, c.property.smul g⟩⟧ :=
rfl
lemma conj_bijective (G : Subgroup (GL (Fin 2) ℝ)) (g : GL (Fin 2) ℝ) :
Function.Bijective (conj G g) := by
refine Function.bijective_iff_has_inverse.mpr ⟨map (by simp) ∘ conj _ g⁻¹, ?_, ?_⟩ <;>
exact Quotient.ind fun _ ↦ congrArg _ <| Subtype.ext <| by simp
-- this cannot be `@[simp]` because it will never match on the LHS
lemma map_conj (hGH : G ≤ H) (g : GL (Fin 2) ℝ) (c : CuspOrbits G) :
map (by simpa) (conj G g c) = conj H g (map hGH c) := by
induction c using Quotient.inductionOn
rfl
/-- The natural map from cusp orbits for `G` to those for `G.adjoinNegOne` is a bijection. -/
lemma map_adjoinNegOne_bijective (G : Subgroup (GL (Fin 2) ℝ)) :
Function.Bijective (map G.le_adjoinNegOne) := by
refine ⟨Quotient.forall.mpr fun c ↦ Quotient.forall.mpr fun d h ↦ ?_,
map_surjective G.le_adjoinNegOne⟩
obtain ⟨a, ha⟩ := Quotient.eq.mp h
have ha' : (a : GL (Fin 2) ℝ) • d.val = c.val := congr(Subtype.val $ha)
rcases a.property with hmem | hmem
· exact Quotient.eq.mpr ⟨⟨a.val, hmem⟩, Subtype.ext ha'⟩
· exact Quotient.eq.mpr ⟨⟨-a.val, hmem⟩, Subtype.ext <| by simpa using ha'⟩
end CuspOrbits
/-- Surjection from `SL(2, ℤ) / ( ⊓ SL(2, ℤ))` to cusp orbits of ``. Mostly useful for showing
that `CuspOrbits ` is finite for arithmetic subgroups. -/
noncomputable def cosetToCuspOrbit ( : Subgroup (GL (Fin 2) ℝ)) [.IsArithmetic] :
SL(2, ℤ) ⧸ (.comap <| mapGL ℝ) → CuspOrbits :=
Quotient.lift
(fun g ↦ ⟦⟨mapGL ℝ g⁻¹ • ∞,
(Subgroup.IsArithmetic.isCusp_iff_isCusp_SL2Z ).mpr <| isCusp_SL2Z_iff.mpr
⟨mapGL ℚ g⁻¹ • ∞, by rw [← Rat.coe_castHom, OnePoint.map_smul, OnePoint.map_infty,
← (Rat.castHom ℝ).algebraMap_toAlgebra, map_mapGL]⟩⟩⟧)
(fun a b hab ↦ by
rw [← Quotient.eq_iff_equiv, Quotient.eq, QuotientGroup.leftRel_apply] at hab
refine Quotient.eq.mpr ⟨⟨_, hab⟩, ?_⟩
simp [mul_smul])
@[simp]
lemma cosetToCuspOrbit_apply_mk { : Subgroup (GL (Fin 2) ℝ)} [.IsArithmetic] (g : SL(2, ℤ)) :
cosetToCuspOrbit ⟦g⟧ = ⟦⟨mapGL ℝ g⁻¹ • ∞,
(Subgroup.IsArithmetic.isCusp_iff_isCusp_SL2Z ).mpr <| isCusp_SL2Z_iff.mpr
⟨mapGL ℚ g⁻¹ • ∞, by rw [← Rat.coe_castHom, OnePoint.map_smul, OnePoint.map_infty,
← (Rat.castHom ℝ).algebraMap_toAlgebra, map_mapGL]⟩⟩⟧ :=
rfl
lemma surjective_cosetToCuspOrbit ( : Subgroup (GL (Fin 2) ℝ)) [.IsArithmetic] :
(cosetToCuspOrbit ).Surjective := by
rintro ⟨c, (hc : IsCusp c _)⟩
rw [Subgroup.IsArithmetic.isCusp_iff_isCusp_SL2Z, isCusp_SL2Z_iff'] at hc
obtain ⟨g, rfl⟩ := hc
use ⟦g⁻¹⟧
aesop
/-- An arithmetic subgroup has finitely many cusp orbits. -/
instance ( : Subgroup (GL (Fin 2) ℝ)) [.IsArithmetic] : Finite (CuspOrbits ) :=
.of_surjective _ (surjective_cosetToCuspOrbit )
/-- The cusp `∞`. (The `Fact` hypothesis is automatically supplied for arithmetic groups.) -/
noncomputable abbrev cuspOrbitInfty { : Subgroup (GL (Fin 2) ℝ)} [Fact (IsCusp ∞ )] :
CuspOrbits :=
⟦⟨∞, mem_cuspsSubMulAction.mpr Fact.out⟩⟧
noncomputable instance : Unique (CuspOrbits ℒ) where
default := cuspOrbitInfty
uniq c := by
induction c using Quotient.inductionOn with | h c =>
obtain ⟨g, hg⟩ := isCusp_SL2Z_iff'.mp (mem_cuspsSubMulAction.mp c.property)
exact Quotient.eq.mpr ⟨⟨_, ⟨g, rfl⟩⟩, Subtype.ext hg.symm⟩
end CuspOrbits
section Width
/-!
## Width of a cusp
We define the *strict width* of `` at `∞` to be the smallest `h > 0` such that `[1, h; 0, 1] ∈ `,
or `0` if no such `h` exists; and the *width* of `` to be the strict width of the subgroup
generated by `` and `-1`, or equivalently the smallest `h > 0` such that `±[1, h; 0, 1] ∈ `
(again, if it exists). We show both widths exist when `` is discrete and has det `± 1`.
-/
namespace Subgroup
section Ring
variable {R : Type*} [Ring R] ( : Subgroup (GL (Fin 2) R))
/-- For a subgroup `` of `GL(2, R)`, this is the additive group of `x : R` such that
`[1, x; 0, 1] ∈ `. -/
def strictPeriods : AddSubgroup R :=
(toAddSubgroup ).comap upperRightHom.toAddMonoidHom
variable {} in
@[simp] lemma mem_strictPeriods_iff {x : R} :
x ∈ .strictPeriods ↔ upperRightHom x ∈ := by
simp [strictPeriods]
/-- For a subgroup `` of `GL(2, R)`, this is the additive group of `x : R` such that
`±[1, x; 0, 1] ∈ `. -/
protected noncomputable def periods : AddSubgroup R :=
.adjoinNegOne.strictPeriods
lemma strictPeriods_le_periods : .strictPeriods ≤ .periods := by
intro k
simp only [Subgroup.periods, strictPeriods]
apply .le_adjoinNegOne
/-- A subgroup is *regular at ∞* if its periods and strict periods coincide. -/
def IsRegularAtInfty : Prop :=
.strictPeriods = .periods
lemma IsRegularAtInfty.eq (h : .IsRegularAtInfty) : .strictPeriods = .periods := h
lemma relIndex_strictPeriods :
.strictPeriods.relIndex .periods = 1 ∨ .strictPeriods.relIndex .periods = 2 := by
by_cases h : .strictPeriods = .periods
· simp [h]
· replace h := .strictPeriods_le_periods.lt_of_ne h
obtain ⟨u, hu_mem, hu_notMem⟩ := (IsConcreteLE.lt_iff_le_and_exists.mp h).2
rw [AddSubgroup.relIndex_eq_two_iff_exists_notMem_and]
refine .inr ⟨u, hu_mem, hu_notMem, fun b hb ↦ ?_⟩
simp only [Subgroup.periods, mem_strictPeriods_iff, mem_adjoinNegOne_iff,
AddChar.map_add_eq_mul] at hu_mem hu_notMem hb ⊢
rcases hb with h | h
· exact Or.inr h
· simpa only [neg_mul_neg] using Or.inl (mul_mem h <| hu_mem.resolve_left hu_notMem)
/-- The regularity factor at infinity: the index of the strict periods in the periods. It is `1`
if `` is regular at `∞` and `2` otherwise. -/
noncomputable def regularityFactorInfty : ℕ :=
.strictPeriods.relIndex .periods
lemma relIndex_strictPeriods_eq_regularityFactorInfty :
.strictPeriods.relIndex .periods = .regularityFactorInfty :=
rfl
@[simp] lemma regularityFactorInfty_eq_one_of_isRegularAtInfty (h : .IsRegularAtInfty) :
.regularityFactorInfty = 1 := by
simp [regularityFactorInfty, h.eq]
@[simp] lemma regularityFactorInfty_eq_two_of_not_isRegularAtInfty (h : ¬ .IsRegularAtInfty) :
.regularityFactorInfty = 2 :=
.relIndex_strictPeriods.resolve_left fun hi ↦
h (.strictPeriods_le_periods.antisymm (AddSubgroup.relIndex_eq_one.mp hi))
lemma commensurable_strictPeriods_periods :
.strictPeriods.Commensurable .periods := by
simp_rw [AddSubgroup.Commensurable, AddSubgroup.isFiniteRelIndex_iff_relIndex_ne_zero]
constructor
· rcases .relIndex_strictPeriods with h | h <;> simp [h]
· simp [AddSubgroup.relIndex_eq_one.mpr .strictPeriods_le_periods]
variable {}
lemma strictPeriods_eq_periods_of_neg_one_mem (h : -1 ∈ ) :
.strictPeriods = .periods := by
simp [Subgroup.periods, adjoinNegOne_eq_self_iff.mpr h]
lemma isRegularAtInfty_of_neg_one_mem (h : -1 ∈ ) : .IsRegularAtInfty :=
.strictPeriods_eq_periods_of_neg_one_mem h
variable [TopologicalSpace R] [IsTopologicalRing R]
/-- If `` is discrete, so is its strict period subgroup. -/
instance instDiscreteTopStrictPeriods [hG : DiscreteTopology ] :
DiscreteTopology .strictPeriods := by
let H : Set (GL (Fin 2) R) := ∩ Set.range upperRightHom
have hH : DiscreteTopology H := hG.of_subset Set.inter_subset_left
have : Set.MapsTo upperRightHom .strictPeriods H := fun x hx ↦ by
grind [SetLike.mem_coe, Subgroup.mem_strictPeriods_iff]
exact .of_continuous_injective (continuous_upperRightHom.restrict this)
(this.restrict_inj.mpr injective_upperRightHom.injOn)
/-- If `` is discrete, so is its period subgroup. -/
instance instDiscreteTopPeriods [T2Space R] [hG : DiscreteTopology ] :
DiscreteTopology .periods :=
inferInstanceAs (DiscreteTopology .adjoinNegOne.strictPeriods)
end Ring
lemma strictPeriods_eq_zmultiples_one_of_T_mem {Γ : Subgroup SL(2, ℤ)} (hΓ : ModularGroup.T ∈ Γ) :
strictPeriods (Γ : Subgroup (GL (Fin 2) ℝ)) = AddSubgroup.zmultiples 1 := by
ext x
simp only [mem_strictPeriods_iff, Subgroup.mem_map, Units.ext_iff, mapGL_coe_matrix,
map_apply_coe]
refine ⟨fun ⟨g, _, hg⟩ ↦ ⟨g 0 1, by simpa using congr($hg 0 1)⟩, ?_⟩
rintro ⟨m, rfl⟩
refine ⟨ModularGroup.T ^ m, zpow_mem hΓ m, ?_⟩
ext i j
fin_cases i <;> fin_cases j <;> simp [ModularGroup.coe_T_zpow]
@[simp] lemma strictPeriods_SL2Z : strictPeriods ℒ = AddSubgroup.zmultiples 1 := by
simpa [MonoidHom.range_eq_map] using strictPeriods_eq_zmultiples_one_of_T_mem (mem_top _)
section Real
variable ( : Subgroup (GL (Fin 2) ℝ))
open scoped Classical in
/-- The strict width of the cusp `∞`, i.e. the `x` such that `.strictPeriods = zmultiples x`, or
0 if no such `x` exists. -/
noncomputable def strictWidthInfty : ℝ :=
if h : DiscreteTopology .strictPeriods then
|Exists.choose <| .strictPeriods.isAddCyclic_iff_exists_zmultiples_eq.mp
<| AddSubgroup.isAddCyclic_iff_discreteTopology.mpr h|
else 0
lemma strictWidthInfty_nonneg : 0 ≤ .strictWidthInfty := by
unfold strictWidthInfty; aesop
/-- The width of the cusp `∞`, i.e. the `x` such that `.periods = zmultiples x`, or 0 if no such
`x` exists. -/
noncomputable def widthInfty : ℝ := .adjoinNegOne.strictWidthInfty
lemma widthInfty_nonneg : 0 ≤ .widthInfty := .adjoinNegOne.strictWidthInfty_nonneg
variable {} in
lemma strictPeriods_eq_zmultiples_strictWidthInfty [DiscreteTopology .strictPeriods] :
.strictPeriods = .zmultiples .strictWidthInfty := by
simp [Subgroup.strictWidthInfty, dite_eq_left,
Exists.choose_spec <| .strictPeriods.isAddCyclic_iff_exists_zmultiples_eq.mp
<| AddSubgroup.isAddCyclic_iff_discreteTopology.mpr inferInstance]
variable {} in
lemma strictWidthInfty_eq_of_strictPeriods_eq_zmultiples {x : ℝ}
(hper : .strictPeriods = .zmultiples x) (hnonneg : 0 ≤ x) :
.strictWidthInfty = x := by
have : DiscreteTopology .strictPeriods := hper ▸ NormedSpace.discreteTopology_zmultiples x
rw [strictPeriods_eq_zmultiples_strictWidthInfty] at hper
rcases hnonneg.eq_or_lt with rfl | hx'
· simpa using hper
rw [Eq.comm, AddSubgroup.zmultiples_eq_zmultiples_iff
(not_isOfFinAddOrder_of_isAddTorsionFree hx'.ne')] at hper
grind [strictWidthInfty_nonneg]
lemma strictWidthInfty_eq_one_of_T_mem {Γ : Subgroup SL(2, ℤ)} (hΓ : ModularGroup.T ∈ Γ) :
strictWidthInfty (Γ : Subgroup (GL (Fin 2) ℝ)) = 1 :=
strictWidthInfty_eq_of_strictPeriods_eq_zmultiples
(strictPeriods_eq_zmultiples_one_of_T_mem hΓ) zero_le_one
@[simp] lemma strictWidthInfty_SL2Z : strictWidthInfty ℒ = 1 := by
simpa [MonoidHom.range_eq_map] using strictWidthInfty_eq_one_of_T_mem (mem_top _)
@[simp] lemma widthInfty_SL2Z : widthInfty ℒ = 1 := by
rw [widthInfty, adjoinNegOne_eq_self_iff.mpr, strictWidthInfty_SL2Z]
exact ⟨-1, by ext; simp⟩
lemma strictWidthInfty_mem_strictPeriods : .strictWidthInfty ∈ .strictPeriods := by
by_cases h : DiscreteTopology .strictPeriods
· simp [strictPeriods_eq_zmultiples_strictWidthInfty]
· simp [strictWidthInfty, dite_eq_right h]
variable {} in
lemma periods_eq_zmultiples_widthInfty [DiscreteTopology .periods] :
.periods = AddSubgroup.zmultiples .widthInfty :=
have : DiscreteTopology .adjoinNegOne.strictPeriods := ‹_›
.adjoinNegOne.strictPeriods_eq_zmultiples_strictWidthInfty
lemma widthInfty_mem_periods : .widthInfty ∈ .periods :=
.adjoinNegOne.strictWidthInfty_mem_strictPeriods
lemma two_mul_widthInfty_mem_strictPeriods : 2 * .widthInfty ∈ .strictPeriods := by
have := .widthInfty_mem_periods
simp only [Subgroup.periods, mem_strictPeriods_iff] at this
rcases this with (h | h) <;>
simpa [-upperRightHom_apply, ← AddChar.map_nsmul_eq_pow] using Subgroup.pow_mem _ h 2
variable {} in
lemma strictWidthInfty_pos_iff [DiscreteTopology .strictPeriods] [.HasDetPlusMinusOne] :
0 < .strictWidthInfty ↔ IsCusp ∞ := by
constructor
· refine fun h ↦ ⟨_, mem_strictPeriods_iff.mpr .strictWidthInfty_mem_strictPeriods, ?_, ?_⟩
· rw [GeneralLinearGroup.isParabolic_iff_of_upperTriangular (by simp)]
simpa using h.ne'
· simp [smul_infty_eq_self_iff]
· -- Hard implication: if `∞` is a cusp, show the strict width is positive.
rintro ⟨g, hgg, hgp, hgi⟩
apply .strictWidthInfty_nonneg.lt_of_ne'
rw [← AddSubgroup.zmultiples_ne_bot]
simp only [AddSubgroup.ne_bot_iff_exists_ne_zero, Subtype.exists, Ne, AddSubgroup.mk_eq_zero,
exists_prop, and_comm, ← strictPeriods_eq_zmultiples_strictWidthInfty, mem_strictPeriods_iff]
-- We have some `g ∈ ` which is parabolic and fixes `∞`. So `g = ±[1, x; 0, 1]` some `x ≠ 0`.
rw [smul_infty_eq_self_iff] at hgi
rw [Subgroup.HasDetPlusMinusOne.isParabolic_iff_of_upperTriangular hgg hgi] at hgp
rcases hgp with ⟨x, hx, rfl⟩ | ⟨x, hx, rfl⟩
· -- If `g = [1, x; 0, 1]`, we're done
exact ⟨x, hx, hgg⟩
· -- If `g = -[1, x; 0, 1]` then `g ^ 2 = [1, 2 * x; 0, 1]`.
exact ⟨2 • x, by grind,
by simpa only [AddChar.map_nsmul_eq_pow, neg_sq] using pow_mem hgg 2⟩
lemma strictWidthInfty_pos [.IsArithmetic] : 0 < .strictWidthInfty :=
strictWidthInfty_pos_iff.mpr Fact.out
variable {} in
lemma isCusp_of_mem_strictPeriods {h : ℝ} (hh : 0 < h) (h : h ∈ .strictPeriods) :
IsCusp OnePoint.infty := by
refine ⟨upperRightHom h, .mem_strictPeriods_iff.mp h, ?_, smul_infty_eq_self_iff.mpr rfl⟩
exact (GeneralLinearGroup.isParabolic_iff_of_upperTriangular rfl).mpr ⟨rfl, hh.ne'⟩
variable {} in
lemma widthInfty_pos_iff [DiscreteTopology .periods] [.HasDetPlusMinusOne] :
0 < .widthInfty ↔ IsCusp ∞ := by
have : DiscreteTopology .adjoinNegOne.strictPeriods := ‹_›
rw [widthInfty, strictWidthInfty_pos_iff, (commensurable_adjoinNegOne_self ).isCusp_iff]
variable {} in
lemma isRegularAtInfty_iff [DiscreteTopology .periods] :
.IsRegularAtInfty ↔ .widthInfty ∈ .strictPeriods := by
refine ⟨fun h ↦ h ▸ widthInfty_mem_periods , fun h ↦ ?_⟩
apply .strictPeriods_le_periods.antisymm
rwa [periods_eq_zmultiples_widthInfty, AddSubgroup.zmultiples_le]
/-- The strict width is the width multiplied by the regularity factor. -/
lemma strictWidthInfty_eq_regularityFactorInfty_mul_widthInfty :
.strictWidthInfty = .regularityFactorInfty * .widthInfty := by
rw [← relIndex_strictPeriods_eq_regularityFactorInfty]
by_cases hd : DiscreteTopology .strictPeriods
· have : DiscreteTopology .periods :=
.commensurable_strictPeriods_periods.discreteTopology_iff.mp hd
have h := periods_eq_zmultiples_widthInfty ( := ) ▸
.strictPeriods_le_periods .strictWidthInfty_mem_strictPeriods
rw [strictPeriods_eq_zmultiples_strictWidthInfty, periods_eq_zmultiples_widthInfty]
simpa [abs_of_nonneg, strictWidthInfty_nonneg, widthInfty_nonneg] using
(AddSubgroup.abs_nsmul_relIndex_zmultiples h).symm
· have hp : ¬ DiscreteTopology .adjoinNegOne.strictPeriods :=
mt .commensurable_strictPeriods_periods.discreteTopology_iff.mpr hd
simp [widthInfty, strictWidthInfty, hd, hp]
lemma strictWidthInfty_of_isRegularAtInfty (h : .IsRegularAtInfty) :
.strictWidthInfty = .widthInfty := by
simp [strictWidthInfty_eq_regularityFactorInfty_mul_widthInfty, h]
lemma strictWidthInfty_of_not_isRegularAtInfty (h : ¬ .IsRegularAtInfty) :
.strictWidthInfty = 2 * .widthInfty := by
simp [strictWidthInfty_eq_regularityFactorInfty_mul_widthInfty, h]
lemma widthInfty_pos [.IsArithmetic] : 0 < .widthInfty := by
apply strictWidthInfty_pos
open scoped Pointwise
/-- Translation parameters under an upper triangular change of cusp coordinate. -/
lemma mem_strictPeriods_conj_of_upperTriangular {G : Subgroup (GL (Fin 2) ℝ)} {g : GL (Fin 2) ℝ}
(hg : g 1 0 = 0) {x : ℝ} :
x ∈ (ConjAct.toConjAct g⁻¹ • G).strictPeriods ↔ (g 0 0 / g 1 1) * x ∈ G.strictPeriods := by
rw [mem_strictPeriods_iff, mem_pointwise_smul_iff_inv_smul_mem, mem_strictPeriods_iff]
simp only [ConjAct.smul_def, ConjAct.ofConjAct_inv, ConjAct.ofConjAct_toConjAct, inv_inv]
rw [upperRightHom_conj_of_upperTriangular hg]
/-- Strict cusp widths scale inversely under an upper triangular change of coordinate. -/
lemma strictWidthInfty_conj_of_upperTriangular (G : Subgroup (GL (Fin 2) ℝ))
[DiscreteTopology G.strictPeriods] {g : GL (Fin 2) ℝ} (hg : g 1 0 = 0) :
(ConjAct.toConjAct g⁻¹ • G).strictWidthInfty = G.strictWidthInfty / |g 0 0 / g 1 1| := by
refine strictWidthInfty_eq_of_strictPeriods_eq_zmultiples ?_
(div_nonneg G.strictWidthInfty_nonneg (abs_nonneg _))
ext
rw [← abs_of_nonneg G.strictWidthInfty_nonneg, ← abs_div, zmultiples_abs,
mem_strictPeriods_conj_of_upperTriangular hg, strictPeriods_eq_zmultiples_strictWidthInfty]
grind [AddSubgroup.mem_zmultiples_iff, g.a_ne_zero_of_c_eq_zero hg, g.d_ne_zero_of_c_eq_zero hg]
/-- Cusp widths scale inversely under an upper triangular change of coordinate. -/
lemma widthInfty_conj_of_upperTriangular (G : Subgroup (GL (Fin 2) ℝ))
[DiscreteTopology G.periods] {g : GL (Fin 2) ℝ} (hg : g 1 0 = 0) :
(ConjAct.toConjAct g⁻¹ • G).widthInfty = G.widthInfty / |g 0 0 / g 1 1| := by
have : DiscreteTopology G.adjoinNegOne.strictPeriods := ‹_›
simpa [widthInfty, adjoinNegOne_conj] using strictWidthInfty_conj_of_upperTriangular _ hg
/-- In a discrete determinant-one group with a cusp at infinity, every element fixing
infinity is a signed translation. -/
lemma eq_upperRightHom_or_neg_of_upperTriangular {G : Subgroup (GL (Fin 2) ℝ)} [DiscreteTopology G]
[G.HasDetOne] (hw : 0 < G.widthInfty) {g : GL (Fin 2) ℝ} (hgG : g ∈ G) (hg : g 1 0 = 0) :
g = upperRightHom (g 0 1) ∨ g = -upperRightHom (-g 0 1) := by
have hdet : g 0 0 * g 1 1 = 1 := by
simpa [Matrix.det_fin_two, hg] using congr($(HasDetOne.det_eq hgG).val)
have hwidth := widthInfty_conj_of_upperTriangular G hg
rw [conjAct_pointwise_smul_eq_self (G.le_normalizer (G.inv_mem hgG))] at hwidth
have heq : g 0 0 = g 1 1 := by grind
rcases (show g 1 1 = 1 ∨ g 1 1 = -1 by grind) with h | h <;> [left; right] <;>
simp [Units.ext_iff, ← Matrix.ext_iff, hg, heq, h]
end Real
end Subgroup
open Subgroup
namespace CongruenceSubgroup
@[simp] lemma strictPeriods_Gamma0 (N : ℕ) :
strictPeriods (Gamma0 N : Subgroup (GL (Fin 2) ℝ)) = AddSubgroup.zmultiples 1 :=
strictPeriods_eq_zmultiples_one_of_T_mem <| by simp [ModularGroup.coe_T]
@[simp] lemma strictPeriods_Gamma1 (N : ℕ) :
strictPeriods (Gamma1 N : Subgroup (GL (Fin 2) ℝ)) = AddSubgroup.zmultiples 1 :=
strictPeriods_eq_zmultiples_one_of_T_mem <| by simp [ModularGroup.coe_T]
@[simp] lemma strictWidthInfty_Gamma0 (N : ℕ) :
strictWidthInfty (Gamma0 N : Subgroup (GL (Fin 2) ℝ)) = 1 :=
strictWidthInfty_eq_one_of_T_mem <| by simp [ModularGroup.coe_T]
@[simp] lemma strictWidthInfty_Gamma1 (N : ℕ) :
strictWidthInfty (Gamma1 N : Subgroup (GL (Fin 2) ℝ)) = 1 :=
strictWidthInfty_eq_one_of_T_mem <| by simp [ModularGroup.coe_T]
@[simp] lemma strictPeriods_Gamma (N : ℕ) :
strictPeriods (Gamma N : Subgroup (GL (Fin 2) ℝ)) = AddSubgroup.zmultiples ↑N := by
ext x
have : AddSubgroup.zmultiples ↑N = .map (Int.castAddHom ℝ) (.zmultiples N) := by simp
simp only [this, mem_strictPeriods_iff, Subgroup.mem_map, Gamma_mem]
constructor
· rintro ⟨g, ⟨-, hg, -, -⟩, hx⟩
rw [show x = g 0 1 by simpa using congr($hx.symm 0 1)]
apply AddSubgroup.mem_map_of_mem
rwa [Int.mem_zmultiples_iff, ← ZMod.intCast_zmod_eq_zero_iff_dvd]
· simp only [AddSubgroup.mem_map, AddSubgroup.mem_zmultiples_iff, existsAndEq, true_and,
Units.ext_iff, mapGL_coe_matrix, map_apply_coe, forall_exists_index]
refine fun a ha ↦ ⟨ModularGroup.T ^ (a * N), by simp [ModularGroup.coe_T_zpow], ?_⟩
ext i j
fin_cases i <;> fin_cases j <;> simp [ModularGroup.coe_T_zpow, ← ha]
@[simp] lemma strictWidthInfty_Gamma (N : ℕ) :
strictWidthInfty (Gamma N : Subgroup (GL (Fin 2) ℝ)) = N :=
strictWidthInfty_eq_of_strictPeriods_eq_zmultiples (strictPeriods_Gamma N) N.cast_nonneg
end CongruenceSubgroup
end Width
¤ Dauer der Verarbeitung: 0.16 Sekunden
¤
*© Formatika GbR, Deutschland
|
|
2026-11-24
|