The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V12. Number theory

Mathlib.NumberTheory.ModularForms.ArithmeticSubgroups

58 declarations and 2 deprecated aliases. Mathlib docs · Source

Arithmetic subgroups of GL(2, ℝ)

We define a subgroup of GL (Fin 2) ℝ to be arithmetic if it is commensurable with the image of SL(2, ℤ).

class Subgroup.HasDetPlusMinusOne E1 #

{n : Type u_1} →
  [inst : Fintype n] → [inst_1 : DecidableEq n] → {R : Type u_2} → [inst_2 : CommRing R] → Subgroup (GL n R) → Prop

Typeclass saying that a subgroup of GL(2, ℝ) has determinant contained in {±1}. Necessary so that the typeclass system can detect when the slash action is multiplicative.

ctor Subgroup.HasDetPlusMinusOne.mk E0 #

∀ {n : Type u_1} [inst : Fintype n] [inst_1 : DecidableEq n] {R : Type u_2} [inst_2 : CommRing R]
  {Γ : Subgroup (GL n R)},
  (∀ {g : GL n R}, g ∈ Γ → Matrix.GeneralLinearGroup.det g = 1 ∨ Matrix.GeneralLinearGroup.det g = -1) →
    Γ.HasDetPlusMinusOne

theorem Subgroup.HasDetPlusMinusOne.det_eq E0 #

∀ {n : Type u_1} {inst : Fintype n} {inst_1 : DecidableEq n} {R : Type u_2} {inst_2 : CommRing R}
  {Γ : Subgroup (GL n R)} [self : Γ.HasDetPlusMinusOne] {g : GL n R},
  g ∈ Γ → Matrix.GeneralLinearGroup.det g = 1 ∨ Matrix.GeneralLinearGroup.det g = -1

theorem Subgroup.HasDetPlusMinusOne.abs_det E1 #

∀ {n : Type u_1} [inst : Fintype n] [inst_1 : DecidableEq n] {R : Type u_2} [inst_2 : CommRing R]
  {Γ : Subgroup (GL n R)} [inst_3 : LinearOrder R] [IsOrderedRing R] [Γ.HasDetPlusMinusOne] {g : GL n R},
  g ∈ Γ → |↑(Matrix.GeneralLinearGroup.det g)| = 1

theorem Subgroup.hasDetPlusMinusOne_iff_abs_det E1 #

∀ {n : Type u_1} [inst : Fintype n] [inst_1 : DecidableEq n] {R : Type u_2} [inst_2 : CommRing R]
  (Γ : Subgroup (GL n R)) [inst_3 : LinearOrder R] [IsOrderedRing R],
  Γ.HasDetPlusMinusOne ↔ ∀ {g : GL n R}, g ∈ Γ → |↑(Matrix.GeneralLinearGroup.det g)| = 1

class Subgroup.HasDetOne E1 #

{n : Type u_1} →
  [inst : Fintype n] → [inst_1 : DecidableEq n] → {R : Type u_2} → [inst_2 : CommRing R] → Subgroup (GL n R) → Prop

Typeclass saying that a subgroup of GL(n, R) is contained in SL(n, R). Necessary so that the typeclass system can detect when the slash action is ℂ-linear.

ctor Subgroup.HasDetOne.mk E0 #

∀ {n : Type u_1} [inst : Fintype n] [inst_1 : DecidableEq n] {R : Type u_2} [inst_2 : CommRing R]
  {Γ : Subgroup (GL n R)}, (∀ {g : GL n R}, g ∈ Γ → Matrix.GeneralLinearGroup.det g = 1) → Γ.HasDetOne

theorem Subgroup.HasDetOne.det_eq E0 #

∀ {n : Type u_1} {inst : Fintype n} {inst_1 : DecidableEq n} {R : Type u_2} {inst_2 : CommRing R}
  {Γ : Subgroup (GL n R)} [self : Γ.HasDetOne] {g : GL n R}, g ∈ Γ → Matrix.GeneralLinearGroup.det g = 1

instance Subgroup.instHasDetOneMapSpecialLinearGroupGeneralLinearGroupToGL E0 #

∀ {n : Type u_1} [inst : Fintype n] [inst_1 : DecidableEq n] {R : Type u_2} [inst_2 : CommRing R]
  (Γ : Subgroup (Matrix.SpecialLinearGroup n R)), (Subgroup.map Matrix.SpecialLinearGroup.toGL Γ).HasDetOne

instance Subgroup.instHasDetOneMapSpecialLinearGroupGeneralLinearGroupMapGL E0 #

∀ {n : Type u_1} [inst : Fintype n] [inst_1 : DecidableEq n] {R : Type u_2} [inst_2 : CommRing R] {S : Type u_3}
  [inst_3 : CommRing S] [inst_4 : Algebra R S] (Γ : Subgroup (Matrix.SpecialLinearGroup n R)),
  (Subgroup.map (Matrix.SpecialLinearGroup.mapGL S) Γ).HasDetOne

instance Subgroup.instHasDetOneRangeSpecialLinearGroupGeneralLinearGroupMapGL E0 #

∀ {n : Type u_1} [inst : Fintype n] [inst_1 : DecidableEq n] {R : Type u_2} [inst_2 : CommRing R] {S : Type u_3}
  [inst_3 : CommRing S] [inst_4 : Algebra R S], (Matrix.SpecialLinearGroup.mapGL S).range.HasDetOne

instance Subgroup.instHasDetPlusMinusOneOfHasDetOne E0 #

∀ {n : Type u_1} [inst : Fintype n] [inst_1 : DecidableEq n] {R : Type u_2} [inst_2 : CommRing R]
  (Γ : Subgroup (GL n R)) [Γ.HasDetOne], Γ.HasDetPlusMinusOne

instance Subgroup.instHasDetOneMinGeneralLinearGroup E0 #

∀ {n : Type u_1} [inst : Fintype n] [inst_1 : DecidableEq n] {R : Type u_2} [inst_2 : CommRing R]
  (Γ Γ' : Subgroup (GL n R)) [Γ.HasDetOne], (Γ ⊓ Γ').HasDetOne

instance Subgroup.instHasDetOneMinGeneralLinearGroup_1 E0 #

∀ {n : Type u_1} [inst : Fintype n] [inst_1 : DecidableEq n] {R : Type u_2} [inst_2 : CommRing R]
  (Γ Γ' : Subgroup (GL n R)) [Γ.HasDetOne], (Γ' ⊓ Γ).HasDetOne

instance Subgroup.instHasDetOneHSMulConjActGeneralLinearGroup E0 #

∀ {n : Type u_1} [inst : Fintype n] [inst_1 : DecidableEq n] {R : Type u_2} [inst_2 : CommRing R]
  (Γ : Subgroup (GL n R)) [Γ.HasDetOne] (g : ConjAct (GL n R)), (g • Γ).HasDetOne

instance Subgroup.instHasDetPlusMinusOneHSMulConjActGeneralLinearGroup E0 #

∀ {n : Type u_1} [inst : Fintype n] [inst_1 : DecidableEq n] {R : Type u_2} [inst_2 : CommRing R]
  (Γ : Subgroup (GL n R)) [Γ.HasDetPlusMinusOne] (g : ConjAct (GL n R)), (g • Γ).HasDetPlusMinusOne

def Subgroup.detOnePart E1 #

{n : Type u_1} →
  [inst : Fintype n] →
    [inst_1 : DecidableEq n] → {R : Type u_2} → [inst_2 : CommRing R] → Subgroup (GL n R) → Subgroup (GL n R)

The determinant-one part of a subgroup of GL(2, ℝ).

theorem Subgroup.mem_detOnePart E0 #

∀ {n : Type u_1} [inst : Fintype n] [inst_1 : DecidableEq n] {R : Type u_2} [inst_2 : CommRing R]
  {G : Subgroup (GL n R)} {g : GL n R}, g ∈ G.detOnePart ↔ g ∈ G ∧ Matrix.GeneralLinearGroup.det g = 1

theorem Subgroup.detOnePart_le E1 #

∀ {n : Type u_1} [inst : Fintype n] [inst_1 : DecidableEq n] {R : Type u_2} [inst_2 : CommRing R]
  (G : Subgroup (GL n R)), G.detOnePart ≤ G

instance Subgroup.instHasDetOneDetOnePart E0 #

∀ {n : Type u_1} [inst : Fintype n] [inst_1 : DecidableEq n] {R : Type u_2} [inst_2 : CommRing R]
  (G : Subgroup (GL n R)), G.detOnePart.HasDetOne

def MatrixGroups.term𝒮ℒ E1 #

Lean.ParserDescr

The image of the modular group SL(2, ℤ), as a subgroup of GL(2, ℝ).

instance Subgroup.instCoeSpecialLinearGroupFinOfNatNatIntGeneralLinearGroupReal E0 #

Coe (Subgroup (Matrix.SpecialLinearGroup (Fin 2) ℤ)) (Subgroup (GL (Fin 2) ℝ))

Coercion from subgroups of SL(2, ℤ) to subgroups of GL(2, ℝ) by mapping along the obvious inclusion homomorphism.

class Subgroup.IsArithmetic E1 #

Subgroup (GL (Fin 2) ℝ) → Prop

A subgroup of GL(2, ℝ) is arithmetic if it is commensurable with the image of SL(2, ℤ).

theorem Subgroup.isArithmetic_iff E0 #

∀ (𝒢 : Subgroup (GL (Fin 2) ℝ)), 𝒢.IsArithmetic ↔ 𝒢.Commensurable (Matrix.SpecialLinearGroup.mapGL ℝ).range

ctor Subgroup.IsArithmetic.mk E0 #

∀ {𝒢 : Subgroup (GL (Fin 2) ℝ)}, 𝒢.Commensurable (Matrix.SpecialLinearGroup.mapGL ℝ).range → 𝒢.IsArithmetic

theorem Subgroup.IsArithmetic.is_commensurable E1 #

∀ {𝒢 : Subgroup (GL (Fin 2) ℝ)} [self : 𝒢.IsArithmetic], 𝒢.Commensurable (Matrix.SpecialLinearGroup.mapGL ℝ).range

instance Subgroup.instIsArithmeticRangeSpecialLinearGroupFinOfNatNatIntGeneralLinearGroupRealMapGL E0 #

(Matrix.SpecialLinearGroup.mapGL ℝ).range.IsArithmetic

The image of SL(2, ℤ) in GL(2, ℝ) is arithmetic.

theorem Subgroup.isArithmetic_iff_finiteIndex E1 #

∀ {Γ : Subgroup (Matrix.SpecialLinearGroup (Fin 2) ℤ)},
  (Subgroup.map (Matrix.SpecialLinearGroup.mapGL ℝ) Γ).IsArithmetic ↔ Γ.FiniteIndex

instance Subgroup.instIsArithmeticMapSpecialLinearGroupFinOfNatNatIntGeneralLinearGroupRealMapGLOfFiniteIndex E0 #

∀ (Γ : Subgroup (Matrix.SpecialLinearGroup (Fin 2) ℤ)) [Γ.FiniteIndex],
  (Subgroup.map (Matrix.SpecialLinearGroup.mapGL ℝ) Γ).IsArithmetic

Images in GL(2, ℝ) of finite-index subgroups of SL(2, ℤ) are arithmetic.

instance Subgroup.IsArithmetic.finiteIndex_comap E0 #

∀ (𝒢 : Subgroup (GL (Fin 2) ℝ)) [𝒢.IsArithmetic], (Subgroup.comap (Matrix.SpecialLinearGroup.mapGL ℝ) 𝒢).FiniteIndex

If Γ is arithmetic, its preimage in SL(2, ℤ) has finite index.

instance Subgroup.instHasDetPlusMinusOneFinOfNatNatRealOfIsArithmetic E0 #

∀ {Γ : Subgroup (GL (Fin 2) ℝ)} [h : Γ.IsArithmetic], Γ.HasDetPlusMinusOne

instance Subgroup.IsArithmetic.isFiniteRelIndex E0 #

∀ (G H : Subgroup (GL (Fin 2) ℝ)) [G.IsArithmetic] [H.IsArithmetic], G.IsFiniteRelIndex H

instance Subgroup.IsArithmetic.inter E0 #

∀ {Γ Γ' : Subgroup (GL (Fin 2) ℝ)} [Γ.IsArithmetic] [Γ'.IsArithmetic], (Γ ⊓ Γ').IsArithmetic

instance Subgroup.instIsArithmeticDetOnePartFinOfNatNatReal E0 #

∀ (G : Subgroup (GL (Fin 2) ℝ)) [G.IsArithmetic], G.detOnePart.IsArithmetic

The determinant-one part of an arithmetic subgroup is arithmetic.

theorem Subgroup.isArithmetic_conj_of_mem E1 #

∀ {K H : Subgroup (GL (Fin 2) ℝ)} [K.IsArithmetic] [H.IsArithmetic] {r : GL (Fin 2) ℝ},
  r ∈ H → (ConjAct.toConjAct r • K).IsArithmetic

Conjugation by an element of an arithmetic group preserves arithmeticity.

instance Matrix.SpecialLinearGroup.discreteSpecialLinearGroupIntRange E0 #

∀ {n : Type u_1} [inst : Fintype n] [inst_1 : DecidableEq n],
  DiscreteTopology ↥(Matrix.SpecialLinearGroup.mapGL ℝ).range

The image of SL(n, ℤ) in GL(n, ℝ) is discrete.

instance Matrix.SpecialLinearGroup.discreteSpecialLinearGroupIntRangeSL E0 #

∀ {n : Type u_1} [inst : Fintype n] [inst_1 : DecidableEq n],
  DiscreteTopology ↥(Matrix.SpecialLinearGroup.map (Int.castRingHom ℝ)).range

The image of SL(n, ℤ) in SL(n, ℝ) is discrete.

theorem Matrix.SpecialLinearGroup.isClosedEmbedding_mapGLInt E1 #

∀ {n : Type u_1} [inst : Fintype n] [inst_1 : DecidableEq n],
  Topology.IsClosedEmbedding ⇑(Matrix.SpecialLinearGroup.mapGL ℝ)

instance Subgroup.IsArithmetic.discreteTopology E0 #

∀ {𝒢 : Subgroup (GL (Fin 2) ℝ)} [𝒢.IsArithmetic], DiscreteTopology ↥𝒢

Arithmetic subgroups of GL(2, ℝ) are discrete.

def Subgroup.adjoinNegOne E1 #

{G : Type u_2} → [inst : Group G] → [HasDistribNeg G] → Subgroup G → Subgroup G

Given a subgroup 𝒢 of a group with compatible negation, this is the subgroup generated by 𝒢 and -1.

theorem Subgroup.mem_adjoinNegOne_iff E0 #

∀ {G : Type u_2} [inst : Group G] [inst_1 : HasDistribNeg G] {𝒢 : Subgroup G} {g : G},
  g ∈ 𝒢.adjoinNegOne ↔ g ∈ 𝒢 ∨ -g ∈ 𝒢

theorem Subgroup.le_adjoinNegOne E1 #

∀ {G : Type u_2} [inst : Group G] [inst_1 : HasDistribNeg G] (𝒢 : Subgroup G), 𝒢 ≤ 𝒢.adjoinNegOne

theorem Subgroup.neg_one_mem_adjoinNegOne E1 #

∀ {G : Type u_2} [inst : Group G] [inst_1 : HasDistribNeg G] (𝒢 : Subgroup G), -1 ∈ 𝒢.adjoinNegOne

theorem Subgroup.adjoinNegOne_eq_self_iff E0 #

∀ {G : Type u_2} [inst : Group G] [inst_1 : HasDistribNeg G] {𝒢 : Subgroup G}, 𝒢.adjoinNegOne = 𝒢 ↔ -1 ∈ 𝒢

theorem Subgroup.relIndex_adjoinNegOne_eq_two E1 #

∀ {G : Type u_2} [inst : Group G] [inst_1 : HasDistribNeg G] {𝒢 : Subgroup G}, -1 ∉ 𝒢 → 𝒢.relIndex 𝒢.adjoinNegOne = 2

theorem Subgroup.relIndex_adjoinNegOne_ne_zero E1 #

∀ {G : Type u_2} [inst : Group G] [inst_1 : HasDistribNeg G] (𝒢 : Subgroup G), 𝒢.relIndex 𝒢.adjoinNegOne ≠ 0

instance Subgroup.instIsFiniteRelIndexAdjoinNegOne E0 #

∀ {G : Type u_2} [inst : Group G] [inst_1 : HasDistribNeg G] (𝒢 : Subgroup G), 𝒢.IsFiniteRelIndex 𝒢.adjoinNegOne

theorem Subgroup.commensurable_adjoinNegOne_self E1 #

∀ {G : Type u_2} [inst : Group G] [inst_1 : HasDistribNeg G] (𝒢 : Subgroup G), 𝒢.adjoinNegOne.Commensurable 𝒢

theorem Subgroup.map_adjoinNegOne E0 #

∀ {G : Type u_2} [inst : Group G] [inst_1 : HasDistribNeg G] {H : Type u_3} [inst_2 : Group H]
  [inst_3 : HasDistribNeg H] (𝒢 : Subgroup G) (f : G →* H),
  (∀ (g : G), f (-g) = -f g) → Subgroup.map f 𝒢.adjoinNegOne = (Subgroup.map f 𝒢).adjoinNegOne

Adjoining -1 commutes with taking images under a homomorphism that preserves negation.

theorem Subgroup.adjoinNegOne_mono E1 #

∀ {G : Type u_2} [inst : Group G] [inst_1 : HasDistribNeg G] {𝒢 ℋ : Subgroup G}, 𝒢 ≤ ℋ → 𝒢.adjoinNegOne ≤ ℋ.adjoinNegOne

Adjoining -1 preserves inclusion.

theorem Subgroup.adjoinNegOne_conj E1 #

∀ {G : Type u_2} [inst : Group G] [inst_1 : HasDistribNeg G] (𝒢 : Subgroup G) (g : ConjAct G),
  (g • 𝒢).adjoinNegOne = g • 𝒢.adjoinNegOne

Adjoining -1 commutes with conjugation.

instance instDiscreteTopologySubtypeGeneralLinearGroupMemSubgroupAdjoinNegOneOfIsTopologicalRingOfT2Space E0 #

∀ {n : Type u_1} [inst : Fintype n] [inst_1 : DecidableEq n] {R : Type u_2} [inst_2 : Ring R]
  [inst_3 : TopologicalSpace R] [IsTopologicalRing R] [T2Space R] (𝒢 : Subgroup (GL n R)) [DiscreteTopology ↥𝒢],
  DiscreteTopology ↥𝒢.adjoinNegOne

theorem Subgroup.hasDetPlusMinusOne_adjoinNegOne_iff E0 #

∀ {n : Type u_1} [inst : Fintype n] [inst_1 : DecidableEq n] {R : Type u_3} [inst_2 : CommRing R]
  {𝒢 : Subgroup (GL n R)}, 𝒢.adjoinNegOne.HasDetPlusMinusOne ↔ 𝒢.HasDetPlusMinusOne

theorem Subgroup.hasDetOne_adjoinNegOne_iff E0 #

∀ {n : Type u_1} [inst : Fintype n] [inst_1 : DecidableEq n] {R : Type u_3} [inst_2 : CommRing R]
  {𝒢 : Subgroup (GL n R)}, Even (Fintype.card n) → (𝒢.adjoinNegOne.HasDetOne ↔ 𝒢.HasDetOne)

instance instHasDetPlusMinusOneAdjoinNegOneGeneralLinearGroup E0 #

∀ {n : Type u_1} [inst : Fintype n] [inst_1 : DecidableEq n] {R : Type u_3} [inst_2 : CommRing R]
  {𝒢 : Subgroup (GL n R)} [𝒢.HasDetPlusMinusOne], 𝒢.adjoinNegOne.HasDetPlusMinusOne

instance instHasDetOneAdjoinNegOneGeneralLinearGroupOfFactEvenNatCard E0 #

∀ {n : Type u_1} [inst : Fintype n] [inst_1 : DecidableEq n] {R : Type u_3} [inst_2 : CommRing R]
  {𝒢 : Subgroup (GL n R)} [𝒢.HasDetOne] [Fact (Even (Fintype.card n))], 𝒢.adjoinNegOne.HasDetOne

theorem adjoinNegOne_detOnePart E1 #

∀ {n : Type u_1} [inst : Fintype n] [inst_1 : DecidableEq n] {R : Type u_3} [inst_2 : CommRing R]
  {G : Subgroup (GL n R)}, Even (Fintype.card n) → G.detOnePart.adjoinNegOne = G.adjoinNegOne.detOnePart

instance Subgroup.instIsArithmeticAdjoinNegOne E0 #

∀ {𝒢 : Subgroup (GL (Fin 2) ℝ)} [𝒢.IsArithmetic], 𝒢.adjoinNegOne.IsArithmetic

Deprecated aliases

NameNew nameSince
Subgroup.negOne_mem_adjoinNegOneSubgroup.neg_one_mem_adjoinNegOne2026-09-14
Subgroup.relindex_adjoinNegOne_eq_twoSubgroup.relIndex_adjoinNegOne_eq_two2026-09-14