@@ -64,6 +64,7 @@ namespace BilinForm
6464
6565#noalign bilin_form.coe_fn_mk
6666
67+ @[deprecated]
6768theorem coeFn_congr : ∀ {x x' y y' : M}, x = x' → y = y' → B x y = B x' y'
6869 | _, _, _, _, rfl, rfl => rfl
6970#align bilin_form.coe_fn_congr LinearMap.BilinForm.coeFn_congr
@@ -122,10 +123,7 @@ theorem coe_injective : Function.Injective ((fun B x y => B x y) : BilinForm R M
122123#align bilin_form.coe_injective LinearMap.BilinForm.coe_injective
123124
124125@[ext]
125- theorem ext (H : ∀ x y : M, B x y = D x y) : B = D :=
126- coe_injective <| by
127- funext
128- exact H _ _
126+ theorem ext (H : ∀ x y : M, B x y = D x y) : B = D := ext₂ H
129127#align bilin_form.ext LinearMap.BilinForm.ext
130128
131129theorem congr_fun (h : B = D) (x y : M) : B x y = D x y :=
@@ -136,6 +134,7 @@ theorem ext_iff : B = D ↔ ∀ x y, B x y = D x y :=
136134 ⟨congr_fun, ext₂⟩
137135#align bilin_form.ext_iff LinearMap.BilinForm.ext_iff
138136
137+ @[deprecated]
139138theorem coe_zero : ⇑(0 : BilinForm R M) = 0 :=
140139 rfl
141140#align bilin_form.coe_zero LinearMap.BilinForm.coe_zero
@@ -147,6 +146,7 @@ theorem zero_apply (x y : M) : (0 : BilinForm R M) x y = 0 :=
147146
148147variable (B D B₁ D₁)
149148
149+ @[deprecated]
150150theorem coe_add : ⇑(B + D) = B + D :=
151151 rfl
152152#align bilin_form.coe_add LinearMap.BilinForm.coe_add
@@ -159,6 +159,7 @@ theorem add_apply (x y : M) : (B + D) x y = B x y + D x y :=
159159#noalign bilin_form.coe_smul
160160#noalign bilin_form.smul_apply
161161
162+ @[deprecated]
162163theorem coe_neg : ⇑(-B₁) = -B₁ :=
163164 rfl
164165#align bilin_form.coe_neg LinearMap.BilinForm.coe_neg
@@ -168,6 +169,7 @@ theorem neg_apply (x y : M₁) : (-B₁) x y = -B₁ x y :=
168169 rfl
169170#align bilin_form.neg_apply LinearMap.BilinForm.neg_apply
170171
172+ @[deprecated]
171173theorem coe_sub : ⇑(B₁ - D₁) = B₁ - D₁ :=
172174 rfl
173175#align bilin_form.coe_sub LinearMap.BilinForm.coe_sub
0 commit comments