@@ -41,17 +41,19 @@ From mathcomp Require Import pseudometric_normed_Zmodule.
4141(* UniformLmodule K == HB class, join of UniformNmodule and Lmodule *)
4242(* with a uniformly continuous scaling operation *)
4343(* K is a numFieldType. *)
44- (* tvsType R == interface type for a locally convex *)
45- (* tvs on a numDomain R *)
46- (* A tvs is constructed over a uniform space. *)
47- (* The HB class is Tvs. *)
48- (* PreTopologicalLmod_isTvs == factory allowing the construction of a tvs *)
49- (* from an Lmodule which is also a topological *)
50- (* space *)
44+ (* convextvsType R == interface type for a locally convex *)
45+ (* tvs on a numDomain R. *)
46+ (* A convex tvs is constructed over a uniform *)
47+ (* space. *)
48+ (* The HB class is ConvexTvs. *)
49+ (* PreTopologicalLmod_isConvexTvs == factory allowing the construction of a *)
50+ (* convex tvs from an Lmodule which is also a *)
51+ (* topological space. *)
5152(* ``` *)
5253(* HB instances: *)
53- (* - The type R^o (R : numFieldType) is endowed with the structure of Tvs. *)
54- (* - The product of two Tvs is endowed with the structure of Tvs. *)
54+ (* - The type R^o (R : numFieldType) is endowed with the structure of *)
55+ (* ConvexTvs. *)
56+ (* - The product of two Tvs is endowed with the structure of ConvexTvs. *)
5557(***************************************************************************** *)
5658
5759Set SsrOldRewriteGoalsOrder. (* change Set to Unset when porting the file, then remove the line when requiring MathComp >= 2.6 *)
@@ -306,15 +308,15 @@ HB.instance Definition _ :=
306308
307309HB.end .
308310
309- HB.mixin Record Uniform_isTvs (R : numDomainType) E
311+ HB.mixin Record Uniform_isConvexTvs (R : numDomainType) E
310312 & Uniform E & GRing.Lmodule R E := {
311313 locally_convex : exists2 B : set_system E,
312314 (forall b, b \in B -> convex_set b) & basis B
313315}.
314316
315- #[short(type="tvsType ")]
316- HB.structure Definition Tvs (R : numDomainType) :=
317- {E of Uniform_isTvs R E & Uniform E & TopologicalLmodule R E}.
317+ #[short(type="convextvsType ")]
318+ HB.structure Definition ConvexTvs (R : numDomainType) :=
319+ {E of Uniform_isConvexTvs R E & Uniform E & TopologicalLmodule R E}.
318320
319321Section properties_of_topologicalLmodule.
320322Context (R : numDomainType) (E : preTopologicalLmodType R) (U : set E).
@@ -352,15 +354,15 @@ Unshelve. all: by end_near. Qed.
352354
353355End properties_of_topologicalLmodule.
354356
355- HB.factory Record PreTopologicalLmod_isTvs (R : numDomainType) E
357+ HB.factory Record PreTopologicalLmod_isConvexTvs (R : numDomainType) E
356358 & Topological E & GRing.Lmodule R E := {
357359 add_continuous : continuous (fun x : E * E => x.1 + x.2) ;
358360 scale_continuous : continuous (fun z : R^o * E => z.1 *: z.2) ;
359361 locally_convex : exists2 B : set_system E,
360362 (forall b, b \in B -> convex_set b) & basis B
361363 }.
362364
363- HB.builders Context R E & PreTopologicalLmod_isTvs R E.
365+ HB.builders Context R E & PreTopologicalLmod_isConvexTvs R E.
364366
365367Definition entourage : set_system (E * E) :=
366368 fun P => exists (U : set E), nbhs (0 : E) U /\
@@ -449,8 +451,8 @@ HB.instance Definition _ := Nbhs_isUniform_mixin.Build E
449451 nbhsE.
450452HB.end .
451453
452- Section Tvs_numDomain .
453- Context (R : numDomainType) (E : tvsType R) (U : set E).
454+ Section ConvexTvs_numDomain .
455+ Context (R : numDomainType) (E : convextvsType R) (U : set E).
454456
455457Lemma nbhs0N : nbhs 0 U -> nbhs 0 (-%R @` U).
456458Proof . exact/nbhs0N_subproof/scale_continuous. Qed .
@@ -461,11 +463,11 @@ Proof. exact/nbhsT_subproof/add_continuous. Qed.
461463Lemma nbhsB (z x : E) : nbhs z U -> nbhs (x + z) (+%R x @` U).
462464Proof . exact/nbhsB_subproof/add_continuous. Qed .
463465
464- End Tvs_numDomain .
466+ End ConvexTvs_numDomain .
465467
466- Section Tvs_numField .
468+ Section ConvexTvs_numField .
467469
468- Lemma nbhs0Z (R : numFieldType) (E : tvsType R) (U : set E) (r : R) :
470+ Lemma nbhs0Z (R : numFieldType) (E : convextvsType R) (U : set E) (r : R) :
469471 r != 0 -> nbhs 0 U -> nbhs 0 ( *:%R r @` U ).
470472Proof .
471473move=> r0 U0; have /= := scale_continuous (r^-1, 0) U.
@@ -474,7 +476,7 @@ near=> x => //=; exists (r^-1 *: x); last by rewrite scalerA divff// scale1r.
474476by apply: (BU (r^-1, x)); split => //=;[exact: nbhs_singleton|near: x].
475477Unshelve. all: by end_near. Qed .
476478
477- Lemma nbhsZ (R : numFieldType) (E : tvsType R) (U : set E) (r : R) (x :E) :
479+ Lemma nbhsZ (R : numFieldType) (E : convextvsType R) (U : set E) (r : R) (x :E) :
478480 r != 0 -> nbhs x U -> nbhs (r *:x) ( *:%R r @` U ).
479481Proof .
480482move=> r0 U0; have /= := scale_continuous ((r^-1, r *: x)) U.
@@ -483,7 +485,7 @@ near=> z; exists (r^-1 *: z); last by rewrite scalerA divff// scale1r.
483485by apply: (BU (r^-1,z)); split; [exact: nbhs_singleton|near: z].
484486Unshelve. all: by end_near. Qed .
485487
486- End Tvs_numField .
488+ End ConvexTvs_numField .
487489
488490Section standard_topology.
489491Variable R : numFieldType.
@@ -537,12 +539,12 @@ HB.instance Definition _ :=
537539HB.instance Definition _ :=
538540 TopologicalNmodule_isTopologicalLmodule.Build R R^o standard_scale_continuous.
539541HB.instance Definition _ :=
540- Uniform_isTvs .Build R R^o standard_locally_convex_set.
542+ Uniform_isConvexTvs .Build R R^o standard_locally_convex_set.
541543
542544End standard_topology.
543545
544- Section prod_Tvs .
545- Context (K : numFieldType) (E F : tvsType K).
546+ Section prod_ConvexTvs .
547+ Context (K : numFieldType) (E F : convextvsType K).
546548
547549Local Lemma prod_add_continuous :
548550 continuous (fun x : (E * F) * (E * F) => x.1 + x.2).
@@ -598,6 +600,6 @@ HB.instance Definition _ := PreTopologicalNmodule_isTopologicalNmodule.Build
598600HB.instance Definition _ := TopologicalNmodule_isTopologicalLmodule.Build
599601 K (E * F)%type prod_scale_continuous.
600602HB.instance Definition _ :=
601- Uniform_isTvs .Build K (E * F)%type prod_locally_convex.
603+ Uniform_isConvexTvs .Build K (E * F)%type prod_locally_convex.
602604
603- End prod_Tvs .
605+ End prod_ConvexTvs .
0 commit comments