Skip to content

Commit

Permalink
another trivial definition
Browse files Browse the repository at this point in the history
  • Loading branch information
eric-wieser committed Jul 17, 2023
1 parent 1c375e9 commit e7fe6ca
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,14 @@ def comp (g : Q₂.isometric_map Q₃) (f : Q₁.isometric_map Q₂) : Q₁.isom
map_app' := by { intro m, rw [← f.map_app, ← g.map_app] },
.. (g.to_linear_map : M₂ →ₗ[R] M₃).comp (f.to_linear_map : M₁ →ₗ[R] M₂) }

@[simp] lemma to_linear_map_comp (g : Q₂.isometric_map Q₃) (f : Q₁.isometric_map Q₂) :
@[simp] lemma to_linear_map_comp (g : Q₂.isometric_map Q₃) (f : Q₁.isometric_map Q₂) :
(g.comp f).to_linear_map = g.to_linear_map.comp f.to_linear_map := rfl

/-- Isometries are isometric maps -/
@[simps?]
def _root_.quadratic_form.isometry.to_isometric_map (g : Q₁.isometry Q₂) :

Check notice on line 66 in src/for_mathlib/linear_algebra/quadratic_form/isometric_map.lean

View workflow job for this annotation

GitHub Actions / Build project

/home/runner/work/lean-ga/lean-ga/src/for_mathlib/linear_algebra/quadratic_form/isometric_map.lean:66:0: [simps] > adding projection quadratic_form.isometry.to_isometric_map_apply: > ∀ {R : Type u_2} {M₁ : Type u_4} {M₂ : Type u_5} [_inst_1 : semiring R] [_inst_3 : add_comm_monoid M₁] [_inst_4 : add_comm_monoid M₂] [_inst_7 : module R M₁] [_inst_8 : module R M₂] {Q₁ : quadratic_form R M₁} {Q₂ : quadratic_form R M₂} (g : Q₁.isometry Q₂) (ᾰ : M₁), ⇑(g.to_isometric_map) ᾰ = g.to_linear_equiv.to_fun ᾰ
Q₁.isometric_map Q₂ := { ..g }

end isometric_map

end quadratic_form

0 comments on commit e7fe6ca

Please sign in to comment.