Skip to content

Commit

Permalink
feat(linear_algebra/basis): basis.map_equiv_fun (#11888)
Browse files Browse the repository at this point in the history
Add a `simp` lemma about the effect of `equiv_fun` for a basis
obtained with `basis.map`.
  • Loading branch information
jsm28 committed Feb 7, 2022
1 parent f94b0b3 commit 36d3b68
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/linear_algebra/basis.lean
Expand Up @@ -744,6 +744,10 @@ by simp [basis.equiv_fun, finsupp.total_apply, finsupp.sum_fintype]
@[simp]
lemma basis.equiv_fun_apply (u : M) : b.equiv_fun u = b.repr u := rfl

@[simp] lemma basis.map_equiv_fun (f : M ≃ₗ[R] M') :
(b.map f).equiv_fun = f.symm.trans b.equiv_fun :=
rfl

lemma basis.sum_equiv_fun (u : M) : ∑ i, b.equiv_fun u i • b i = u :=
begin
conv_rhs { rw ← b.total_repr u },
Expand Down

0 comments on commit 36d3b68

Please sign in to comment.