Skip to content

Commit 10b6f5e

Browse files
committed
more
1 parent 60b771a commit 10b6f5e

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

Mathlib/GroupTheory/Schreier.lean

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,9 +151,10 @@ theorem exists_finset_card_le_mul [FiniteIndex H] {S : Finset G} (hS : closure (
151151
/-- **Schreier's Lemma**: A finite index subgroup of a finitely generated
152152
group is finitely generated. -/
153153
instance fg_of_index_ne_zero [hG : Group.FG G] [FiniteIndex H] : Group.FG H := by
154-
obtain ⟨S, hS⟩ := hG.1
154+
rw [Group.fg_def, Subgroup.fg_def] at hG ⊢
155+
obtain ⟨S, hS⟩ := hG
155156
obtain ⟨T, -, hT⟩ := exists_finset_card_le_mul H hS
156-
exact ⟨T, hT
157+
exact ⟨T, hT⟩
157158

158159
theorem rank_le_index_mul_rank [hG : Group.FG G] [FiniteIndex H] :
159160
Group.rank H ≤ H.index * Group.rank G := by

Mathlib/RingTheory/FiniteType.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,7 @@ theorem finiteType_iff_fg [CommRing R] [Nontrivial R] :
452452
FiniteType R R[M] ↔ AddMonoid.FG M := by
453453
refine ⟨fun h => ?_, fun h => @AddMonoidAlgebra.finiteType_of_fg _ _ _ _ h⟩
454454
obtain ⟨S, hS⟩ := @exists_finset_adjoin_eq_top R M _ _ h
455-
refine AddMonoid.fg_def.2 ⟨S, (eq_top_iff' _).2 fun m => ?_⟩
455+
refine ⟨S, (eq_top_iff' _).2 fun m => ?_⟩
456456
have hm : of' R M m ∈ Subalgebra.toSubmodule (adjoin R (of' R M '' ↑S)) := by
457457
simp only [hS, top_toSubmodule, Submodule.mem_top]
458458
rw [adjoin_eq_span] at hm

0 commit comments

Comments
 (0)