Module mathcomp.analysis.topology_theory.pseudometric_structure
From HB Require Import structures.From mathcomp Require Import boot order algebra archimedean all_classical.
From mathcomp Require Import interval_inference topology_structure.
From mathcomp Require Import uniform_structure.
Import Order.TTheory GRing.Theory Num.Theory.
Set Implicit Arguments.
Unset Strict Implicit.
Unset Printing Implicit Defensive.
#[local]
Obligation Tactic := idtac.
Local Open Scope classical_set_scope.
Local Open Scope ring_scope.
HBSource code.mixinSource code RecordSource code Uniform_isPseudoMetricSource code dSource code (RSource code :Source code numDomainTypeSource code) M
& Uniform d M := {
ball : M -> R -> M -> Prop ;
ball_center_subproof : forall xSource code (eSource code : R), 0 < e -> ball x e x ;
ball_sym_subproof : forall xSource code ySource code (eSource code : R), ball x e y -> ball y e x ;
ball_triangle_subproof :
forall xSource code ySource code zSource code e1Source code e2Source code, ball x e1 y -> ball y e2 z -> ball x (e1 + e2) z;
entourageE_subproof : entourage = entourage_ ball
}.
#[shortUsed by
- mathcomp.analysis.cantor
- mathcomp.analysis.topology_theory.order_topology
- mathcomp.analysis.topology_theory.metric_structure
- mathcomp.analysis.topology_theory.uniform_metrizable
- mathcomp.analysis.topology_theory.discrete_topology
Source code(type=Used by
- mathcomp.analysis.cantor
- mathcomp.analysis.topology_theory.order_topology
- mathcomp.analysis.topology_theory.metric_structure
- mathcomp.analysis.topology_theory.uniform_metrizable
- mathcomp.analysis.topology_theory.discrete_topology
Source code"pseudoMetricType"Used by
- mathcomp.analysis.cantor
- mathcomp.analysis.topology_theory.order_topology
- mathcomp.analysis.topology_theory.metric_structure
- mathcomp.analysis.topology_theory.uniform_metrizable
- mathcomp.analysis.topology_theory.discrete_topology
Source code)]Used by
- mathcomp.analysis.cantor
- mathcomp.analysis.topology_theory.order_topology
- mathcomp.analysis.topology_theory.metric_structure
- mathcomp.analysis.topology_theory.uniform_metrizable
- mathcomp.analysis.topology_theory.discrete_topology
Source code
HBUsed by
- mathcomp.analysis.cantor
- mathcomp.analysis.topology_theory.order_topology
- mathcomp.analysis.topology_theory.metric_structure
- mathcomp.analysis.topology_theory.uniform_metrizable
- mathcomp.analysis.topology_theory.discrete_topology
Source code.structureUsed by
- mathcomp.analysis.cantor
- mathcomp.analysis.topology_theory.order_topology
- mathcomp.analysis.topology_theory.metric_structure
- mathcomp.analysis.topology_theory.uniform_metrizable
- mathcomp.analysis.topology_theory.discrete_topology
Source code DefinitionUsed by
- mathcomp.analysis.cantor
- mathcomp.analysis.topology_theory.order_topology
- mathcomp.analysis.topology_theory.metric_structure
- mathcomp.analysis.topology_theory.uniform_metrizable
- mathcomp.analysis.topology_theory.discrete_topology
Source code PseudoMetricUsed by
- mathcomp.analysis.cantor
- mathcomp.analysis.topology_theory.order_topology
- mathcomp.analysis.topology_theory.metric_structure
- mathcomp.analysis.topology_theory.uniform_metrizable
- mathcomp.analysis.topology_theory.discrete_topology
Source code dUsed by
- mathcomp.analysis.cantor
- mathcomp.analysis.topology_theory.order_topology
- mathcomp.analysis.topology_theory.metric_structure
- mathcomp.analysis.topology_theory.uniform_metrizable
- mathcomp.analysis.topology_theory.discrete_topology
Source code (RUsed by
- mathcomp.analysis.cantor
- mathcomp.analysis.topology_theory.order_topology
- mathcomp.analysis.topology_theory.metric_structure
- mathcomp.analysis.topology_theory.uniform_metrizable
- mathcomp.analysis.topology_theory.discrete_topology
Source code :Used by
- mathcomp.analysis.cantor
- mathcomp.analysis.topology_theory.order_topology
- mathcomp.analysis.topology_theory.metric_structure
- mathcomp.analysis.topology_theory.uniform_metrizable
- mathcomp.analysis.topology_theory.discrete_topology
Source code numDomainTypeUsed by
- mathcomp.analysis.cantor
- mathcomp.analysis.topology_theory.order_topology
- mathcomp.analysis.topology_theory.metric_structure
- mathcomp.analysis.topology_theory.uniform_metrizable
- mathcomp.analysis.topology_theory.discrete_topology
Source code) :=
{TSource code of Uniform d T & Uniform_isPseudoMetric d R T}.
#[shortUsed by
- mathcomp.analysis.normedtype_theory.pseudometric_normed_Zmodule
Source code(type=Used by
- mathcomp.analysis.normedtype_theory.pseudometric_normed_Zmodule
Source code"pseudoPMetricType"Used by
- mathcomp.analysis.normedtype_theory.pseudometric_normed_Zmodule
Source code)]Used by
- mathcomp.analysis.normedtype_theory.pseudometric_normed_Zmodule
Source code
HBUsed by
- mathcomp.analysis.normedtype_theory.pseudometric_normed_Zmodule
Source code.structureUsed by
- mathcomp.analysis.normedtype_theory.pseudometric_normed_Zmodule
Source code DefinitionUsed by
- mathcomp.analysis.normedtype_theory.pseudometric_normed_Zmodule
Source code PseudoPointedMetricUsed by
- mathcomp.analysis.normedtype_theory.pseudometric_normed_Zmodule
Source code dUsed by
- mathcomp.analysis.normedtype_theory.pseudometric_normed_Zmodule
Source code (RUsed by
- mathcomp.analysis.normedtype_theory.pseudometric_normed_Zmodule
Source code :Used by
- mathcomp.analysis.normedtype_theory.pseudometric_normed_Zmodule
Source code numDomainTypeUsed by
- mathcomp.analysis.normedtype_theory.pseudometric_normed_Zmodule
Source code) :=
{TSource code of Pointed T & Uniform d T & Uniform_isPseudoMetric d R T}.
HBSource code.instanceSource code DefinitionSource code _Source code d'Source code dSource code RSource code (TSource code :Source code pseudoMetricTypeSource code d R) :=
Uniform_isPseudoMetric.Build d' R (with_fdisp d' T)
ball_center_subproof ball_sym_subproof ball_triangle_subproof
entourageE_subproof.
HBSource code.instanceSource code DefinitionSource code _Source code d'Source code dSource code RSource code (TSource code :Source code pseudoPMetricTypeSource code d R) :=
PseudoPointedMetric.on (with_fdisp d' T).
HBSource code.factorySource code RecordSource code Nbhs_isPseudoMetricSource code dSource code (RSource code :Source code numFieldTypeSource code) M & Nbhs d M := {
ent : set_system (M * M);
nbhsE : nbhs = nbhs_ ent;
ball : M -> R -> M -> Prop ;
ball_center : forall xSource code (eSource code : R), 0 < e -> ball x e x ;
ball_sym : forall xSource code ySource code (eSource code : R), ball x e y -> ball y e x ;
ball_triangle :
forall xSource code ySource code zSource code e1Source code e2Source code, ball x e1 y -> ball y e2 z -> ball x (e1 + e2) z;
entourageE : ent = entourage_ ball
}.
HBSource code.buildersSource code ContextSource code dSource code RSource code MSource code &Source code Nbhs_isPseudoMetricSource code d R M.
Local Open Scope relation_scope.
Let ball_leSource code xSource code : {homo ball x : e1Source code e2Source code / e1 <= e2 >-> e1 `<=` e2}.
Proof.
move: le12; rewrite le_eqVlt => /orP [/eqP <- //|].
rewrite -subr_gt0 => lt12.
rewrite -[e2](subrK e1); apply: ball_triangle xe1_y.
suff : ball x (PosNum lt12)%:num x by [].
exact: ball_center.
Qed.
Let entourage_filter_subproofSource code : Filter ent.
Proof.
Let ball_sym_subproofSource code ASource code : ent A -> diagonal `<=` A.
Proof.
by apply: sbeA; rewrite /= xey; exact: ball_center.
Qed.
Let ball_triangle_subproofSource code ASource code : ent A -> ent A^-1.
Proof.
Let entourageE_subproofSource code ASource code : ent A -> exists2 BSource code, ent B & B \; B `<=` A.
Proof.
HBSource code.instanceSource code DefinitionSource code _Source code :=Source code Nbhs_isUniformSource code.Build d M
entourage_filter_subproof ball_sym_subproof ball_triangle_subproof
entourageE_subproof nbhsE.
HBSource code.instanceSource code DefinitionSource code _Source code :=Source code Uniform_isPseudoMetricSource code.Build d R M
ball_center ball_sym ball_triangle entourageE.
HBSource code.endSource code.
Lemma entourage_ballEUsed by
- mathcomp.analysis.topology_theory.subspace_topology
- mathcomp.analysis.topology_theory.product_topology
- mathcomp.analysis.topology_theory.initial_topology
- mathcomp.analysis.topology_theory.matrix_topology
- mathcomp.analysis.topology_theory.function_spaces
- mathcomp.analysis.normedtype_theory.urysohn
Source code dSource code {RSource code : numDomainType} {MSource code : pseudoMetricType d R} :
entourage_ (@ball d R M) = entourage.
Proof.
Lemma entourage_from_ballESource code dSource code {RSource code : numDomainType} {MSource code : pseudoMetricType d R} :
@filter_from R _ [set xSource code : R | 0 < x]
(fun eSource code => [set xySource code | @ball d R M xy.1 e xy.2]) = entourage.
Proof.
Lemma entourage_ballSource code dSource code {RSource code : numDomainType} (MSource code : pseudoMetricType d R)
(eSource code : {posnum R}) : entourage [set xySource code : M * M | ball xy.1 e%:num xy.2].
Proof.
Definition nbhs_ball_
nbhs_ball_ : forall {R : numDomainType} {T T' : Type}, (T -> R -> set T') -> T -> set_system T' nbhs_ball_ is not universe polymorphic Arguments nbhs_ball_ {R} {T T'}%_type_scope ball%_function_scope x _ nbhs_ball_ is transparent Expands to: Constant mathcomp.analysis.topology_theory.pseudometric_structure.nbhs_ball_ Declared in library mathcomp.analysis.topology_theory.pseudometric_structure, line 167, characters 11-21
Used by
- mathcomp.analysis.sequences
- mathcomp.analysis.topology_theory.metric_structure
- mathcomp.analysis.topology_theory.num_topology
- mathcomp.analysis.normedtype_theory.pseudometric_normed_Zmodule
- mathcomp.analysis.normedtype_theory.num_normedtype
Source code {RSource code : numDomainType} {TSource code T'Source code} (ballSource code : T -> R -> set T')
(xSource code : T) := @filter_from R _ [set eSource code | e > 0] (ball x).
Definition nbhs_ball
nbhs_ball : forall [d : filter.filter_display] {R : numDomainType} {M : pseudoMetricType d R}, M -> set_system M nbhs_ball is not universe polymorphic Arguments nbhs_ball [d]%_fdisp_scope {R M} x _ nbhs_ball is transparent Expands to: Constant mathcomp.analysis.topology_theory.pseudometric_structure.nbhs_ball Declared in library mathcomp.analysis.topology_theory.pseudometric_structure, line 170, characters 11-20
Used by
- mathcomp.analysis.normedtype_theory.num_normedtype
Source code dSource code {RSource code : numDomainType} {MSource code : pseudoMetricType d R} :=
nbhs_ball_ (@ball d R M).
Lemma nbhs_ballEUsed by
- mathcomp.analysis.ereal
- mathcomp.analysis.topology_theory.num_topology
- mathcomp.analysis.normedtype_theory.urysohn
- mathcomp.analysis.normedtype_theory.normed_module
- mathcomp.analysis.normedtype_theory.pseudometric_normed_Zmodule
- mathcomp.analysis.normedtype_theory.num_normedtype
Source code dSource code {RSource code : numDomainType} {MSource code : pseudoMetricType d R} :
@nbhs_ball d R M = nbhs.
Proof.
Lemma filter_from_ballEUsed by
- mathcomp.analysis.topology_theory.metric_structure
- mathcomp.analysis.topology_theory.num_topology
- mathcomp.analysis.normedtype_theory.pseudometric_normed_Zmodule
Source code {dSource code} {RSource code : numDomainType} {MSource code : pseudoMetricType d R} xSource code :
@filter_from R _ [set xSource code : R | 0 < x] (@ball d R M x) = nbhs x.
Proof.
Definition nbhs_simpl
NbhsBall.nbhs_simpl : (forall (T : Type) (F : set_system T), filter.nbhs F = F) * (forall (T : Type) (F : filter.filter_on T), filter.nbhs F = filter.nbhs (filter.filter F)) * (forall (d : filter.filter_display) (M : uniformType d) (x : M), filter.filter_from entourage ((xsection (T2:=M))^~ x) = filter.nbhs x) * (forall (d : filter.filter_display) (M : uniformType d), nbhs_ entourage = filter.nbhs) * (forall (d : filter.filter_display) (R : numDomainType) (M : pseudoMetricType d R) (x : M), filter.filter_from [set x0 | (0 < x0)%R] (ball x) = filter.nbhs x) * (forall (d : filter.filter_display) (R : numDomainType) (M : pseudoMetricType d R), nbhs_ball (d:=d) = filter.nbhs) NbhsBall.nbhs_simpl is not universe polymorphic NbhsBall.nbhs_simpl is transparent Expands to: Constant mathcomp.analysis.topology_theory.pseudometric_structure.NbhsBall.nbhs_simpl Declared in library mathcomp.analysis.topology_theory.pseudometric_structure, line 188, characters 11-21
Used by
- mathcomp.analysis.topology_theory.subspace_topology
- mathcomp.analysis.topology_theory.initial_topology
- mathcomp.analysis.topology_theory.subtype_topology
- mathcomp.analysis.topology_theory.function_spaces
- mathcomp.analysis.topology_theory.edist
- mathcomp.analysis.topology_theory.metric_structure
- mathcomp.analysis.topology_theory.one_point_compactification
- mathcomp.analysis.topology_theory.separation_axioms
- mathcomp.analysis.topology_theory.compact
- mathcomp.analysis.topology_theory.discrete_topology
Source code := (nbhs_simpl,@filter_from_ballE,@nbhs_ballE).
End NbhsBall.
Lemma nbhs_ballPUsed by
- mathcomp.analysis.sequences
- mathcomp.analysis.ereal
- mathcomp.analysis.derive.differential
- mathcomp.analysis.derive.derivative_lemmas
- mathcomp.analysis.derive.derivative
- mathcomp.analysis.topology_theory.metric_structure
- mathcomp.analysis.topology_theory.num_topology
- mathcomp.analysis.topology_theory.separation_axioms
- mathcomp.analysis.topology_theory.compact
- mathcomp.analysis.exp
- mathcomp.analysis.functional_analysis.hahn_banach_theorem
- mathcomp.analysis.normedtype_theory.normed_module
- mathcomp.analysis.normedtype_theory.num_normedtype
- mathcomp.analysis.normedtype_theory.matrix_normedtype
Source code {dSource code} {RSource code : numDomainType} {MSource code : pseudoMetricType d R} (xSource code : M) PSource code :
nbhs x P <-> nbhs_ball x P.
Proof.
Lemma ball_centerUsed by
- mathcomp.analysis.sequences
- mathcomp.analysis.topology_theory.initial_topology
Source code dSource code {RSource code : numDomainType} (MSource code : pseudoMetricType d R) (xSource code : M)
(eSource code : {posnum R}) : ball x e%:num x.
Proof.
Context {dSource code} {RSource code : numDomainType} {MSource code : pseudoMetricType d R}.
Implicit Types x y z : M.
Lemma ballxxUsed by
- mathcomp.analysis.lebesgue_integral_theory.lebesgue_integral_differentiation
- mathcomp.analysis.gauss_integral
- mathcomp.analysis.measure_theory.dirac_measure
- mathcomp.analysis.probability_theory.normal_distribution
- mathcomp.analysis.ereal
- mathcomp.analysis.topology_theory.subspace_topology
- mathcomp.analysis.topology_theory.matrix_topology
- mathcomp.analysis.topology_theory.metric_structure
- mathcomp.analysis.topology_theory.separation_axioms
- mathcomp.analysis.normedtype_theory.tvs
- mathcomp.analysis.normedtype_theory.normed_module
- mathcomp.analysis.normedtype_theory.pseudometric_normed_Zmodule
- mathcomp.analysis.normedtype_theory.num_normedtype
- mathcomp.analysis.normedtype_theory.vitali_lemma
Source code xSource code (eSource code : R) : 0 < e -> ball x e x.
Proof.
Lemma ball_symUsed by
- mathcomp.analysis.numfun
- mathcomp.analysis.ereal
- mathcomp.analysis.derive.derivative_lemmas
- mathcomp.analysis.topology_theory.subspace_topology
- mathcomp.analysis.topology_theory.product_topology
- mathcomp.analysis.topology_theory.initial_topology
- mathcomp.analysis.topology_theory.matrix_topology
- mathcomp.analysis.topology_theory.function_spaces
- mathcomp.analysis.topology_theory.edist
- mathcomp.analysis.topology_theory.metric_structure
- mathcomp.analysis.topology_theory.compact
- mathcomp.analysis.normedtype_theory.urysohn
- mathcomp.analysis.normedtype_theory.normed_module
Source code xSource code ySource code (eSource code : R) : ball x e y -> ball y e x.
Proof.
Lemma ball_symEUsed by
- mathcomp.analysis.topology_theory.edist
Source code xSource code ySource code (eSource code : R) : ball x e y = ball y e x.
Lemma ball_triangleUsed by
- mathcomp.analysis.topology_theory.subspace_topology
- mathcomp.analysis.topology_theory.product_topology
- mathcomp.analysis.topology_theory.initial_topology
- mathcomp.analysis.topology_theory.matrix_topology
- mathcomp.analysis.topology_theory.function_spaces
- mathcomp.analysis.topology_theory.edist
- mathcomp.analysis.topology_theory.metric_structure
- mathcomp.analysis.topology_theory.compact
- mathcomp.analysis.normedtype_theory.urysohn
Source code ySource code xSource code zSource code (e1Source code e2Source code : R) :
ball x e1 y -> ball y e2 z -> ball x (e1 + e2) z.
Proof.
Lemma nbhsx_ballxUsed by
- mathcomp.analysis_stdlib.showcase.uniform_bigO
- mathcomp.analysis.sequences
- mathcomp.analysis.derive.differential
- mathcomp.analysis.topology_theory.edist
- mathcomp.analysis.topology_theory.metric_structure
- mathcomp.analysis.topology_theory.num_topology
- mathcomp.analysis.topology_theory.compact
- mathcomp.analysis.real_measure.measurable_realfun
- mathcomp.analysis.real_measure.lebesgue_measure
- mathcomp.analysis.normedtype_theory.urysohn
- mathcomp.analysis.normedtype_theory.tvs
- mathcomp.analysis.normedtype_theory.normed_module
- mathcomp.analysis.normedtype_theory.pseudometric_normed_Zmodule
Source code xSource code (epsSource code : R) : 0 < eps -> nbhs x (ball x eps).
Proof.
Lemma open_nbhs_ballUsed by
- mathcomp.analysis.topology_theory.separation_axioms
- mathcomp.analysis.real_measure.measurable_realfun
Source code xSource code (epsSource code : {posnum R}) : open_nbhs x (ball x eps%:num)°.
Proof.
Lemma le_ballUsed by
- mathcomp.analysis.lebesgue_integral_theory.lebesgue_integral_differentiation
- mathcomp.analysis.realfun
- mathcomp.analysis.ereal
- mathcomp.analysis.topology_theory.product_topology
- mathcomp.analysis.topology_theory.initial_topology
- mathcomp.analysis.topology_theory.matrix_topology
- mathcomp.analysis.topology_theory.edist
- mathcomp.analysis.topology_theory.compact
- mathcomp.analysis.normedtype_theory.urysohn
- mathcomp.analysis.normedtype_theory.normed_module
- mathcomp.analysis.normedtype_theory.vitali_lemma
Source code xSource code (e1Source code e2Source code : R) : e1 <= e2 -> ball x e1 `<=` ball x e2.
Proof.
by rewrite -[e2](subrK e1); apply/ball_triangle/ballxx; rewrite subr_gt0.
Qed.
Lemma near_ballSource code ySource code (epsSource code : R) : 0 < eps -> \forall y'Source code \near y, ball y eps y'.
Proof.
Lemma dnbhs_ballUsed by
- mathcomp.analysis.realfun
Source code xSource code (eSource code : R) : (0 < e)%R -> x^' (ball x e `\ x).
Proof.
Lemma fcvg_ballPUsed by
- mathcomp.analysis_stdlib.Rstruct_topology
- mathcomp.analysis.topology_theory.product_topology
Source code {FSource code} {FFSource code : Filter F} (ySource code : M) :
F --> y <-> forall epsSource code : R, 0 < eps -> \forall y'Source code \near F, ball y eps y'.
Proof.
Lemma fcvg_ballUsed by
- mathcomp.analysis.sequences
Source code {FSource code} {FFSource code : Filter F} (ySource code : M) :
F --> y -> forall epsSource code : R, 0 < eps -> \forall y'Source code \near F, ball y eps y'.
Proof.
Lemma cvg_ballPUsed by
- mathcomp.analysis_stdlib.Rstruct_topology
- mathcomp.analysis.lebesgue_integral_theory.lebesgue_integral_dominated_convergence
- mathcomp.analysis.lebesgue_integral_theory.lebesgue_integral_differentiation
- mathcomp.analysis.lebesgue_integral_theory.lebesgue_integral_nonneg
- mathcomp.analysis.elementary_functions.trigonometry_functions
- mathcomp.analysis.realfun
- mathcomp.analysis.sequences
- mathcomp.analysis.measure_theory.dirac_measure
- mathcomp.analysis.normedtype_theory.normed_module
- mathcomp.analysis.normedtype_theory.num_normedtype
Source code {TSource code} {FSource code} {FFSource code : Filter F} (fSource code : T -> M) ySource code :
f @ F --> y <-> forall epsSource code : R, 0 < eps -> \forall xSource code \near F, ball y eps (f x).
Proof.
Lemma cvg_ballSource code {TSource code} {FSource code} {FFSource code : Filter F} (fSource code : T -> M) ySource code :
f @ F --> y -> forall epsSource code : R, 0 < eps -> \forall xSource code \near F, ball y eps (f x).
Proof.
Lemma cvgi_ballPSource code TSource code {FSource code} {FFSource code : Filter F} (fSource code : T -> M -> Prop) ySource code :
f `@ F --> y <->
forall epsSource code : R, 0 < eps -> \forall xSource code \near F, exists zSource code, f x z /\ ball y eps z.
Proof.
move=> /nbhs_ballP[_ /posnumP[eps] subP].
rewrite near_simpl near_mapi; near=> x.
have [//|z [fxz yz]] := near (Fy _ (gt0 eps)) x.
by exists z => //; split => //; apply: subP.
Unshelve. all: end_near. Qed.
Lemma cvgi_ballSource code TSource code {FSource code} {FFSource code : Filter F} (fSource code : T -> M -> Prop) ySource code :
f `@ F --> y ->
forall epsSource code : R, 0 < eps -> F [set xSource code | exists zSource code, f x z /\ ball y eps z].
Proof.
End pseudoMetricType_numDomainType.
#[global] Hint Resolve nbhsx_ballx : core.
Global Instance entourage_proper_filterSource code {dSource code} {RSource code : numDomainType}
{MSource code : pseudoPMetricType d R} : ProperFilter (@entourage d M).
Proof.
by exists (point, point); apply: sbeA; apply: ballxx.
Qed.
Arguments nbhsx_ballx {d R M} x eps.
Arguments near_ball {d R M} y eps.
Context {dSource code} {RSource code : numFieldType} {MSource code : pseudoMetricType d R}.
Implicit Types x y z p : M.
Lemma ball_splitUsed by
- mathcomp.analysis.normedtype_theory.pseudometric_normed_Zmodule
Source code zSource code xSource code ySource code (eSource code : R) :
ball x (e / 2) z -> ball z (e / 2) y -> ball x e y.
Proof.
Lemma ball_splitrUsed by
- mathcomp.analysis.normedtype_theory.pseudometric_normed_Zmodule
Source code zSource code xSource code ySource code (eSource code : R) :
ball z (e / 2) x -> ball z (e / 2) y -> ball x e y.
Proof.
Lemma ball_splitlUsed by
- mathcomp.analysis.ereal
- mathcomp.analysis.topology_theory.separation_axioms
- mathcomp.analysis.normedtype_theory.pseudometric_normed_Zmodule
Source code zSource code xSource code ySource code (eSource code : R) :
ball x (e / 2) z -> ball y (e / 2) z -> ball x e y.
Proof.
End pseudoMetricType_numFieldType.
Arguments ball_splitr {d R M} z {x y e}.
Arguments ball_splitl {d R M} z {x y e}.
Lemma cvg_withinPUsed by
- mathcomp.analysis.realfun
Source code {dSource code} {TSource code : topologicalType d} {d'Source code} {RSource code : archiRealFieldType}
{MSource code : pseudoMetricType d' R} (fSource code : M -> T) (pSource code : M) (lSource code : T) (ASource code : set M) :
f @ within A (nbhs p) --> l <->
(forall uSource code : M^nat, (forall nSource code, A (u n)) /\ u @ \oo --> p ->
f (u n) @[nSource code --> \oo] --> l).
Proof.
move=> V Vnb.
have := fpl _ Vnb; rewrite {1 2 4}/nbhs/= /within/= => Unb.
have [N _ {}up] := up _ Unb.
by exists N => // n /= Nn; exact: up.
apply: contrapT => fpl; move: ful; apply/existsNP.
suff: exists2 uSource code : M^nat,
(forall kSource code, A (u k)) /\ u @ \oo --> p & ~ f (u n) @[nSource code --> \oo] --> l.
by move=> [x_] h; exists x_; exact/not_implyP.
have [V Vnb hV] : exists2 VSource code : set T, nbhs l V & forall eSource code : {posnum R},
exists xnSource code : M, [/\ A xn, ball xn e%:num p & ~ V (f xn)].
apply: contrapT; apply: contra_not fpl => /forallPNP h.
move=> V Vnb; have /existsNP[e] := h V Vnb; move/forallNP => {}h.
rewrite nbhs_nearE near_map near_withinE; near=> t => At.
have /not_and3P[//|bp|/contrapT //] := h t.
exfalso; apply: bp.
by rewrite ball_symE; near: t; apply: near_ball.
have invn n : 0 < n.+1%:R^-1 :> R by rewrite invr_gt0.
exists (fun nSource code => sval (cid (hV (PosNum (invn n))))).
- split => [k|]; first by rewrite /sval/=; case: cid => x [].
apply/cvg_ballP => r r0; near=> n.
rewrite /sval/=; case: cid => x [Ax xpn _].
rewrite ball_symE; apply: le_ball xpn.
rewrite -(@invrK _ r) lef_pV2 ?posrE ?invr_gt0//.
near: n; exists (Num.truncn r^-1) => // s /= rs.
by apply/ltW; rewrite -truncn_le_nat.
- move=> /(_ V Vnb)[N _] /(_ _ (leqnn _)).
by rewrite /sval/=; case: cid => // x [Ax xpN].
Unshelve. all: by end_near. Qed.
Lemma cvg_nbhsPUsed by
- mathcomp.analysis.lebesgue_integral_theory.lebesgue_integral_under
Source code {dSource code} {TSource code : topologicalType d} {d'Source code} {RSource code : archiRealFieldType}
{MSource code : pseudoMetricType d' R} (fSource code : M -> T) (pSource code : M) (lSource code : T) :
f @ p --> l <->
(forall uSource code : M^nat, u @ \oo --> p -> f (u n) @[nSource code --> \oo] --> l).
Proof.
Context {RSource code : numDomainType}.
Lemma unif_continuousPUsed by
- mathcomp.analysis.normedtype_theory.pseudometric_normed_Zmodule
Source code dSource code (USource code : pseudoMetricType d R)
d'Source code (VSource code : pseudoMetricType d' R) (fSource code : U -> V) :
unif_continuous f <->
forall eSource code, e > 0 -> exists2 dSource code, d > 0 &
forall xSource code, ball x.1 d x.2 -> ball (f x.1) e (f x.2).
Proof.
by rewrite entourage_ballE; apply: fmap_filter.
by rewrite /unif_continuous -!entourage_ballE filter_fromP.
Qed.
End entourages.
Lemma countable_uniformity_metricUsed by
- mathcomp.analysis.cantor
- mathcomp.analysis.topology_theory.uniform_metrizable
Source code {dSource code} {RSource code : archiRealFieldType}
{TSource code : pseudoMetricType d R}:
countable_uniformity T.
Proof.
exists (fun nSource code => [set xySource code : T * T | ball xy.1 n.+1%:R^-1 xy.2]); last first.
by move=> n; exact: (entourage_ball _ n.+1%:R^-1%:pos).
move=> E; rewrite -entourage_ballE => -[e e0 subE].
exists (Num.truncn e^-1); apply: subset_trans subE => xy; apply: le_ball.
by rewrite /= -[leRHS]invrK lef_pV2 ?posrE ?invr_gt0// ltW// truncnS_gt.
Qed.
HBSource code.instanceSource code DefinitionSource code _Source code (RSource code :Source code zmodTypeSource code) := isPointed.Build R 0.
Definition ball_
ball_ : forall {R : numDomainType} {V : GRing.Zmodule.Exports.zmodType}, (V -> R) -> V -> R -> set V ball_ is not universe polymorphic Arguments ball_ {R V} norm x e%_ring_scope y / (where some original arguments have been renamed) The reduction tactics unfold ball_ when applied to 6 arguments ball_ is transparent Expands to: Constant mathcomp.analysis.topology_theory.pseudometric_structure.ball_ Declared in library mathcomp.analysis.topology_theory.pseudometric_structure, line 386, characters 11-16
Used by
- mathcomp.analysis.lebesgue_integral_theory.lebesgue_integral_differentiation
- mathcomp.analysis.realfun
- mathcomp.analysis.sequences
- mathcomp.analysis.numfun
- mathcomp.analysis.ereal
- mathcomp.analysis.derive.derive_matrix
- mathcomp.analysis.derive.derivative
- mathcomp.analysis.topology_theory.num_topology
- mathcomp.analysis.ftc
- mathcomp.analysis.normedtype_theory.tvs
- mathcomp.analysis.normedtype_theory.normed_module
- mathcomp.analysis.normedtype_theory.pseudometric_normed_Zmodule
- mathcomp.analysis.normedtype_theory.num_normedtype
- mathcomp.analysis.normedtype_theory.matrix_normedtype
- mathcomp.analysis.normedtype_theory.complete_normed_module
Source code
(RSource code : numDomainType) (VSource code : zmodType) (normSource code : V -> R) (xSource code : V) (eSource code : R) :=
[set ySource code | norm (x - y) < e].
Arguments ball_ {R} {V} norm x e%_R y /.
Lemma subset_ball_prop_in_itvUsed by
- mathcomp.analysis.number_theory.pnt
- mathcomp.analysis.topology_theory.num_topology
- mathcomp.analysis.normedtype_theory.pseudometric_normed_Zmodule
- mathcomp.analysis.normedtype_theory.ereal_normedtype
Source code (RSource code : realDomainType) (xSource code : R) eSource code PSource code :
ball_ Num.Def.normr x e `<=` P <->
{in `](x - e), (x + e)[, forall ySource code, P y}.
Proof.
Lemma subset_ball_prop_in_itvccUsed by
- mathcomp.analysis.normedtype_theory.pseudometric_normed_Zmodule
Source code (RSource code : realDomainType) (xSource code : R) eSource code PSource code : 0 < e ->
ball_ Num.Def.normr x (2 * e) `<=` P ->
{in `[(x - e), (x + e)], forall ySource code, P y}.
Proof.
by rewrite (le_lt_trans ye)// ltr_pMl// ltr1n.
Qed.
Global Instance ball_filterSource code (RSource code : realDomainType) (tSource code : R) : Filter
[set PSource code | exists2 iSource code : R, 0 < i & ball_ Num.norm t i `<=` P].
Proof.
- move=> -[x x0 xP] [y ? yQ]; exists (Num.min x y); first by rewrite lt_min x0.
move=> z tz; split.
by apply: xP; rewrite /= (lt_le_trans tz) // ge_min lexx.
by apply: yQ; rewrite /= (lt_le_trans tz) // ge_min lexx orbT.
- by move=> -[x ? xP]; exists x => //; apply: (subset_trans xP).
Qed.
#[global] Hint Extern 0 (Filter [set PSource code | exists2 iSource code, _ & ball_ _ _ i `<=` P]) =>
(apply: ball_filter) : typeclass_instances.
Context {KSource code : numDomainType} {RSource code : normedZmodType K}.
Lemma ball_norm_centerUsed by
- mathcomp.analysis.topology_theory.num_topology
- mathcomp.analysis.real_measure.measurable_realfun
Source code (xSource code : R) (eSource code : K) : 0 < e -> ball_ Num.norm x e x.
Lemma ball_norm_symmetricUsed by
- mathcomp.analysis.topology_theory.num_topology
Source code (xSource code ySource code : R) (eSource code : K) :
ball_ Num.norm x e y -> ball_ Num.norm y e x.
Proof.
Lemma ball_norm_triangleUsed by
- mathcomp.analysis.topology_theory.num_topology
Source code (xSource code ySource code zSource code : R) (e1Source code e2Source code : K) :
ball_ Num.norm x e1 y -> ball_ Num.norm y e2 z -> ball_ Num.norm x (e1 + e2) z.
Proof.
Lemma nbhs_ball_normEUsed by
- mathcomp.analysis.topology_theory.num_topology
Source code :
@nbhs_ball_ K R R (ball_ Num.norm) = nbhs_ (entourage_ (ball_ Num.norm)).
Proof.
End pseudoMetric_of_normedDomain.
HBSource code.instanceSource code DefinitionSource code _Source code (RSource code :Source code zmodTypeSource code) := Pointed.on R^o.
#[shortSource code(type=Source code"completePseudoMetricType"Source code)]Source code
HBSource code.structureSource code DefinitionSource code CompletePseudoMetricSource code dSource code RSource code :=Source code
{TSource code of Complete d T & PseudoPointedMetric d R T}.
HBSource code.instanceSource code DefinitionSource code _Source code d'Source code dSource code RSource code (TSource code :Source code completePseudoMetricTypeSource code d R) :=
CompletePseudoMetric.on (with_fdisp d' T).
Definition cauchy_ex
cauchy_ex : forall {d : filter.filter_display} {R : numDomainType} {T : pseudoMetricType d R}, set_system T -> Prop cauchy_ex is not universe polymorphic Arguments cauchy_ex {d}%_fdisp_scope {R T} F cauchy_ex is transparent Expands to: Constant mathcomp.analysis.topology_theory.pseudometric_structure.cauchy_ex Declared in library mathcomp.analysis.topology_theory.pseudometric_structure, line 457, characters 11-20
Used by
- mathcomp.analysis.sequences
Source code {dSource code} {RSource code : numDomainType} {TSource code : pseudoMetricType d R}
(FSource code : set_system T) :=
forall epsSource code : R, 0 < eps -> exists xSource code, F (ball x eps).
Definition cauchy_ball
cauchy_ball : forall {d : filter.filter_display} {R : numDomainType} {T : pseudoMetricType d R}, set_system T -> Prop cauchy_ball is not universe polymorphic Arguments cauchy_ball {d}%_fdisp_scope {R T} F cauchy_ball is transparent Expands to: Constant mathcomp.analysis.topology_theory.pseudometric_structure.cauchy_ball Declared in library mathcomp.analysis.topology_theory.pseudometric_structure, line 461, characters 11-22
Source code {dSource code} {RSource code : numDomainType} {TSource code : pseudoMetricType d R}
(FSource code : set_system T) :=
forall eSource code, e > 0 -> \forall xSource code & ySource code \near F, ball x e y.
Lemma cauchy_ballPUsed by
- mathcomp.analysis.sequences
- mathcomp.analysis.numfun
- mathcomp.analysis.normedtype_theory.complete_normed_module
Source code {dSource code} (RSource code : numDomainType) (TSource code : pseudoMetricType d R)
(FSource code : set_system T) (FFSource code : Filter F) :
cauchy_ball F <-> cauchy F.
Proof.
by move=> _/posnumP[eps]; apply/cauchyF/entourage_ball.
move=> U; rewrite -entourage_ballE => - [_/posnumP[eps] xyepsU].
by near do apply: xyepsU; apply: cauchyF.
Unshelve. all: by end_near. Qed.
Lemma cauchy_exPUsed by
- mathcomp.analysis.sequences
Source code {dSource code} (RSource code : numFieldType) (TSource code : pseudoMetricType d R)
(FSource code : set_system T) (FFSource code : Filter F) :
cauchy_ex F -> cauchy F.
Proof.
have /Fc [z /= Fze] := [gt0 of e%:num / 2]; near=> x y; apply: sdeA => /=.
by apply: (ball_splitr z); [near: x|near: y].
Unshelve. all: by end_near. Qed.
Lemma cauchyPUsed by
- mathcomp.analysis.normedtype_theory.complete_normed_module
Source code dSource code (RSource code : numFieldType) (TSource code : pseudoMetricType d R)
(FSource code : set_system T) (PFSource code : ProperFilter F) :
cauchy F <-> cauchy_ex F.
Proof.
near F => x; exists x; near: x; apply: (@nearP_dep _ _ F F).
exact/Fcauchy/entourage_ball.
Unshelve. all: by end_near. Qed.
Definition closed_ball_
closed_ball_ : forall {R : numDomainType} {V : GRing.Zmodule.Exports.zmodType}, (V -> R) -> V -> R -> set V closed_ball_ is not universe polymorphic Arguments closed_ball_ {R V} norm%_function_scope (x e)%_ring_scope _ closed_ball_ is transparent Expands to: Constant mathcomp.analysis.topology_theory.pseudometric_structure.closed_ball_ Declared in library mathcomp.analysis.topology_theory.pseudometric_structure, line 496, characters 11-23
Used by
- mathcomp.analysis.sequences
- mathcomp.analysis.real_measure.lebesgue_measure
- mathcomp.analysis.normedtype_theory.normed_module
- mathcomp.analysis.normedtype_theory.vitali_lemma
Source code {RSource code : numDomainType} {VSource code : zmodType} (normSource code : V -> R)
(xSource code : V) (eSource code : R) := [set ySource code | norm (x - y) <= e].
Definition closed_ball
closed_ball : forall {d : filter.filter_display} {R : numDomainType} {V : pseudoMetricType d R}, V -> R -> set (topology_structure.Topological.sort V) closed_ball is not universe polymorphic Arguments closed_ball {d}%_fdisp_scope {R V} x e%_ring_scope _ closed_ball is transparent Expands to: Constant mathcomp.analysis.topology_theory.pseudometric_structure.closed_ball Declared in library mathcomp.analysis.topology_theory.pseudometric_structure, line 499, characters 11-22
Used by
- mathcomp.analysis.lebesgue_integral_theory.lebesgue_integral_differentiation
- mathcomp.analysis.lebesgue_integral_theory.lebesgue_integral_nonneg
- mathcomp.analysis.sequences
- mathcomp.analysis.number_theory.pi_irrational
- mathcomp.analysis.real_measure.measurable_realfun
- mathcomp.analysis.real_measure.lebesgue_measure
- mathcomp.analysis.normedtype_theory.normed_module
- mathcomp.analysis.normedtype_theory.pseudometric_normed_Zmodule
- mathcomp.analysis.normedtype_theory.vitali_lemma
Source code {dSource code} {RSource code : numDomainType} {VSource code : pseudoMetricType d R}
(xSource code : V) (eSource code : R) := closure (ball x e).
Context {dSource code} {RSource code : numDomainType} {VSource code : pseudoMetricType d R}.
Implicit Types (x : V) (r : R).
Lemma closure_ballEUsed by
- mathcomp.analysis.real_measure.lebesgue_measure
- mathcomp.analysis.normedtype_theory.normed_module
Source code xSource code rSource code : closure (ball x r) = closed_ball x r.
Proof.
Lemma closed_ballxxUsed by
- mathcomp.analysis.sequences
- mathcomp.analysis.normedtype_theory.normed_module
Source code xSource code rSource code : 0 < r -> closed_ball x r x.
Proof.
Lemma closed_ball_closedUsed by
- mathcomp.analysis.sequences
- mathcomp.analysis.normedtype_theory.normed_module
Source code xSource code rSource code : closed (closed_ball x r).
Proof.
Lemma subset_closed_ballUsed by
- mathcomp.analysis.lebesgue_integral_theory.lebesgue_integral_differentiation
- mathcomp.analysis.normedtype_theory.vitali_lemma
Source code xSource code rSource code : ball x r `<=` closed_ball x r.
Proof.
Lemma le_closed_ballUsed by
- mathcomp.analysis.sequences
Source code xSource code r1Source code r2Source code : (r1 <= r2)%O ->
closed_ball x r1 `<=` closed_ball x r2.
Proof.
End closed_ball_lemmas.
Notation closure_ballSource code := closure_ballE (only parsing).
Lemma subset_closure_halfSource code dSource code {RSource code : numFieldType} {VSource code : pseudoMetricType d R}
(xSource code : V) (rSource code : R) :
0 < r -> closed_ball x (r / 2) `<=` ball x r.