Created
December 21, 2025 20:09
-
-
Save Aaron1011/87d87639ebdd2e2f84a152a47cbadbcb to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import Mathlib | |
| lemma is_fg {n: ℕ} (H: AddSubgroup ((Fin n) → ℤ)): H.FG := by | |
| let foo := H.toIntSubmodule | |
| let foo_finite: Module.Finite ℤ foo := by | |
| infer_instance | |
| rw [Module.Finite.iff_fg] at foo_finite | |
| --rw [Module.Finite.iff_addGroup_fg] at foo_finite | |
| simp [foo] at foo_finite | |
| rw [Submodule.fg_iff_addSubgroup_fg] at foo_finite | |
| exact foo_finite |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment