Skip to content

Commit 5e7ea57

Browse files
committed
adapt to mc#19611
1 parent 97d0779 commit 5e7ea57

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

theories/tvs.v

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -124,18 +124,16 @@ Definition entourage : set_system (E * E) :=
124124
(forall xy : E * E, (xy.1 - xy.2) \in U -> xy \in P).
125125

126126
Let nbhs0N (U : set E) : nbhs (0 : E) U -> nbhs (0 : E) (-%R @` U).
127-
Proof. by apply: nbhs0N_subproof; exact: scale_continuous. Qed.
127+
Proof. by apply: (@nbhs0N_subproof _ _ (GRing.Lmodule.class E)); exact: scale_continuous. Qed.
128128

129129
Lemma nbhsN (U : set E) (x : E) : nbhs x U -> nbhs (-x) (-%R @` U).
130-
Proof.
131-
by apply: nbhsN_subproof; exact: scale_continuous.
132-
Qed.
130+
Proof. by apply: (@nbhsN_subproof _ _ (GRing.Lmodule.class E)); exact: scale_continuous. Qed.
133131

134132
Let nbhsT (U : set E) (x : E) : nbhs (0 : E) U -> nbhs x (+%R x @`U).
135-
Proof. by apply: nbhsT_subproof; exact: add_continuous. Qed.
133+
Proof. by apply: (@nbhsT_subproof _ _ (GRing.Lmodule.class E)); exact: add_continuous. Qed.
136134

137135
Let nbhsB (U : set E) (z x : E) : nbhs z U -> nbhs (x + z) (+%R x @`U).
138-
Proof. by apply: nbhsB_subproof; exact: add_continuous. Qed.
136+
Proof. by apply: (@nbhsB_subproof _ _ (GRing.Lmodule.class E)); exact: add_continuous. Qed.
139137

140138
Lemma entourage_filter : Filter entourage.
141139
Proof.
@@ -216,13 +214,13 @@ Section Tvs_numDomain.
216214
Context (R : numDomainType) (E : tvsType R) (U : set E).
217215

218216
Lemma nbhs0N : nbhs 0 U -> nbhs 0 (-%R @` U).
219-
Proof. exact/nbhs0N_subproof/scale_continuous. Qed.
217+
Proof. exact/(@nbhs0N_subproof _ _ (GRing.Lmodule.class E))/scale_continuous. Qed.
220218

221219
Lemma nbhsT (x :E) : nbhs 0 U -> nbhs x (+%R x @` U).
222-
Proof. exact/nbhsT_subproof/add_continuous. Qed.
220+
Proof. exact/(@nbhsT_subproof _ _ (GRing.Lmodule.class E))/add_continuous. Qed.
223221

224222
Lemma nbhsB (z x : E) : nbhs z U -> nbhs (x + z) (+%R x @` U).
225-
Proof. exact/nbhsB_subproof/add_continuous. Qed.
223+
Proof. exact/(@nbhsB_subproof _ _ (GRing.Lmodule.class E))/add_continuous. Qed.
226224

227225
End Tvs_numDomain.
228226

0 commit comments

Comments
 (0)