Skip to content
This repository was archived by the owner on Jul 24, 2024. It is now read-only.

Commit a7e38a0

Browse files
committed
feat(linear_algebra/bilinear_form): add is_refl and ortho_sym for alt_bilin_form (#10304)
Lemma `is_refl` shows that every alternating bilinear form is reflexive. Lemma `ortho_sym` shows that being orthogonal with respect to an alternating bilinear form is symmetric.
1 parent a232366 commit a7e38a0

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/linear_algebra/bilinear_form.lean

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1016,6 +1016,15 @@ begin
10161016
exact H1,
10171017
end
10181018

1019+
lemma is_refl (H : is_alt B₁) : refl_bilin_form.is_refl B₁ :=
1020+
begin
1021+
intros x y h,
1022+
rw [←neg H, h, neg_zero],
1023+
end
1024+
1025+
lemma ortho_sym (H : is_alt B₁) {x y : M₁} :
1026+
is_ortho B₁ x y ↔ is_ortho B₁ y x := refl_bilin_form.ortho_sym (is_refl H)
1027+
10191028
end alt_bilin_form
10201029

10211030
namespace bilin_form

0 commit comments

Comments
 (0)