@@ -39,7 +39,7 @@ additively.
3939
4040open scoped Pointwise
4141
42- variable {G G' : Type *} [Group G] [Group G']
42+ variable {G G' : Type *} [Group G] [Group G'] {H K L : Subgroup G}
4343
4444/-- Equivalence of `K / (H ⊓ K)` with `gKg⁻¹/ (gHg⁻¹ ⊓ gKg⁻¹)` -/
4545@ [deprecated "This technical lemma is no longer necessary for the proof of `commensurable_conj`."
@@ -64,13 +64,13 @@ namespace Subgroup.Commensurable
6464protected theorem refl (H : Subgroup G) : Commensurable H H := by simp [Commensurable]
6565
6666@[to_additive]
67- theorem comm {H K : Subgroup G} : Commensurable H K ↔ Commensurable K H := and_comm
67+ theorem comm : Commensurable H K ↔ Commensurable K H := and_comm
6868
6969@ [to_additive (attr := symm)]
70- theorem symm {H K : Subgroup G} : Commensurable H K → Commensurable K H := And.symm
70+ theorem symm : Commensurable H K → Commensurable K H := And.symm
7171
7272@ [to_additive (attr := trans)]
73- theorem trans {H K L : Subgroup G} (hhk : Commensurable H K) (hkl : Commensurable K L) :
73+ theorem trans (hhk : Commensurable H K) (hkl : Commensurable K L) :
7474 Commensurable H L :=
7575 ⟨hhk.1 .trans hkl.1 , hkl.2 .trans hhk.2 ⟩
7676
@@ -79,62 +79,58 @@ theorem equivalence : Equivalence (@Commensurable G _) :=
7979 ⟨Commensurable.refl, fun h => Commensurable.symm h, fun h₁ h₂ => Commensurable.trans h₁ h₂⟩
8080
8181@ [to_additive (attr := simp)]
82- theorem top_left_iff {H : Subgroup G} : Commensurable ⊤ H ↔ H.FiniteIndex := by
82+ theorem top_left_iff : Commensurable ⊤ H ↔ H.FiniteIndex := by
8383 simp [Commensurable, isFiniteRelIndex_iff_relIndex_ne_zero, finiteIndex_iff]
8484
8585@ [to_additive (attr := simp)]
86- theorem top_right_iff {H : Subgroup G} : Commensurable H ⊤ ↔ H.FiniteIndex := by
86+ theorem top_right_iff : Commensurable H ⊤ ↔ H.FiniteIndex := by
8787 simp [Commensurable, isFiniteRelIndex_iff_relIndex_ne_zero, finiteIndex_iff]
8888
8989@ [to_additive (attr := simp)]
90- theorem bot_left_iff {H : Subgroup G} : Commensurable ⊥ H ↔ Finite H := by
90+ theorem bot_left_iff : Commensurable ⊥ H ↔ Finite H := by
9191 simp [Commensurable, isFiniteRelIndex_iff_relIndex_ne_zero, Nat.card_ne_zero, One.instNonempty]
9292
9393@ [to_additive (attr := simp)]
94- theorem bot_right_iff {H : Subgroup G} : Commensurable H ⊥ ↔ Finite H := by
94+ theorem bot_right_iff : Commensurable H ⊥ ↔ Finite H := by
9595 simp [Commensurable, isFiniteRelIndex_iff_relIndex_ne_zero, Nat.card_ne_zero, One.instNonempty]
9696
97- theorem inf_left {H K L : Subgroup G} (hHL : Commensurable H L) (hKL : Commensurable K L) :
97+ theorem inf_left (hHL : Commensurable H L) (hKL : Commensurable K L) :
9898 Commensurable (H ⊓ K) L :=
9999 ⟨hHL.1 .inf hKL.1 , have := hHL.2 ; isFiniteRelIndex_of_le_right L inf_le_left⟩
100100
101- theorem inf_right {H K L : Subgroup G} (hHK : Commensurable H K) (hHL : Commensurable H L) :
101+ theorem inf_right (hHK : Commensurable H K) (hHL : Commensurable H L) :
102102 Commensurable H (K ⊓ L) :=
103103 ⟨have := hHL.1 ; isFiniteRelIndex_of_le_right H inf_le_right, hHK.2 .inf hHL.2 ⟩
104104
105- protected theorem map {H K : Subgroup G} (f : G →* G') (h : H.Commensurable K) :
105+ protected theorem map (f : G →* G') (h : H.Commensurable K) :
106106 Commensurable (H.map f) (K.map f) :=
107107 h.imp (.map f) (.map f)
108108
109- protected theorem comap {H K : Subgroup G} (f : G' →* G) (h : H.Commensurable K) :
109+ protected theorem comap (f : G' →* G) (h : H.Commensurable K) :
110110 Commensurable (H.comap f) (K.comap f) :=
111111 h.imp (.comap f) (.comap f)
112112
113- theorem map_injective_iff {H K : Subgroup G} { f : G →* G'} (hf : Function.Injective f) :
113+ theorem map_injective_iff {f : G →* G'} (hf : Function.Injective f) :
114114 Commensurable (H.map f) (K.map f) ↔ Commensurable H K :=
115115 ⟨fun h ↦ by simpa [comap_map_eq_self_of_injective hf] using h.comap f, .map f⟩
116116
117- theorem comap_surjective_iff {H K : Subgroup G}
118- {f : G' →* G} (hf : Function.Surjective f) :
117+ theorem comap_surjective_iff {f : G' →* G} (hf : Function.Surjective f) :
119118 Commensurable (H.comap f) (K.comap f) ↔ Commensurable H K :=
120119 ⟨fun h ↦ by simpa [map_comap_eq_self_of_surjective hf] using h.map f, .comap f⟩
121120
122- protected theorem smul {H K : Subgroup G}
123- {Φ : Type *} [Group Φ] [MulDistribMulAction Φ G] (φ : Φ) (h : H.Commensurable K) :
124- Commensurable (φ • H) (φ • K) :=
121+ protected theorem smul {Φ : Type *} [Group Φ] [MulDistribMulAction Φ G] (φ : Φ)
122+ (h : H.Commensurable K) : Commensurable (φ • H) (φ • K) :=
125123 h.map _
126124
127125@ [deprecated (since := "2026-06-25" )] alias conj := Subgroup.Commensurable.smul
128126
129- theorem smul_iff {H K : Subgroup G}
130- {Φ : Type *} [Group Φ] [MulDistribMulAction Φ G] {φ : Φ} :
127+ theorem smul_iff {Φ : Type *} [Group Φ] [MulDistribMulAction Φ G] {φ : Φ} :
131128 Commensurable (φ • H) (φ • K) ↔ Commensurable H K :=
132129 ⟨fun h ↦ by simpa using h.smul φ⁻¹, .smul φ⟩
133130
134131@ [deprecated (since := "2026-06-25" )] alias commensurable_conj := Subgroup.Commensurable.smul_iff
135132
136- theorem inv_smul_iff {H K : Subgroup G}
137- {Φ : Type *} [Group Φ] [MulDistribMulAction Φ G] {φ : Φ} :
133+ theorem inv_smul_iff {Φ : Type *} [Group Φ] [MulDistribMulAction Φ G] {φ : Φ} :
138134 Commensurable (φ⁻¹ • H) K ↔ Commensurable H (φ • K) := by
139135 simpa using smul_iff (H := H) (K := φ • K) (φ := φ⁻¹)
140136
@@ -164,7 +160,7 @@ theorem commensurator'_mem_iff (H : Subgroup G) (g : ConjAct G) :
164160 rw [commensurator', map_equiv_eq_comap_symm']
165161 rfl
166162
167- theorem eq {H K : Subgroup G} (hk : Commensurable H K) : commensurator H = commensurator K :=
163+ theorem eq (hk : Commensurable H K) : commensurator H = commensurator K :=
168164 Subgroup.ext fun x =>
169165 let hx := hk.smul (MulAut.conj x)
170166 ⟨fun h => hx.symm.trans (h.trans hk), fun h => hx.trans (h.trans hk.symm)⟩
0 commit comments