Skip to content

Commit 619a6a4

Browse files
committed
chore(LinearAlgebra/Eigenspace/Basic): remove an erw (leanprover-community#38771)
- rewrites `genEigenspace_restrict` by replacing the induction with a single `simp only` chain using the restriction and kernel lemmas Extracted from leanprover-community#38415 [![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/from-referrer/)
1 parent c18fab5 commit 619a6a4

1 file changed

Lines changed: 4 additions & 8 deletions

File tree

Mathlib/LinearAlgebra/Eigenspace/Basic.lean

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -747,14 +747,10 @@ theorem genEigenspace_restrict (f : End R M) (p : Submodule R M) (k : ℕ∞) (
747747
simp_rw [mem_genEigenspace, ← mem_genEigenspace_nat, this,
748748
Submodule.mem_comap, mem_genEigenspace (k := k), mem_genEigenspace_nat]
749749
intro l
750-
simp only [genEigenspace_nat, ← LinearMap.ker_comp]
751-
induction l with
752-
| zero =>
753-
rw [pow_zero, pow_zero, Module.End.one_eq_id]
754-
apply (Submodule.ker_subtype _).symm
755-
| succ l ih =>
756-
erw [pow_succ, pow_succ, LinearMap.ker_comp, LinearMap.ker_comp, ih, ← LinearMap.ker_comp,
757-
LinearMap.comp_assoc]
750+
rw [genEigenspace_nat, genEigenspace_nat, ← LinearMap.restrict_smul_one μ,
751+
LinearMap.restrict_sub hfp, Module.End.pow_restrict _,
752+
← LinearMap.ker_comp_of_ker_eq_bot _ (Submodule.ker_subtype p),
753+
LinearMap.subtype_comp_restrict, LinearMap.domRestrict, ← LinearMap.ker_comp]
758754

759755
lemma _root_.Submodule.inf_genEigenspace (f : End R M) (p : Submodule R M) {k : ℕ∞} {μ : R}
760756
(hfp : ∀ x : M, x ∈ p → f x ∈ p) :

0 commit comments

Comments
 (0)