Module mathcomp.analysis.topology_theory.separation_axioms
From HB Require Import structures.From mathcomp Require Import boot order algebra interval_inference finmap.
From mathcomp Require Import boolp classical_sets functions wochoice.
From mathcomp Require Import cardinality fsbigop set_interval filter reals.
From mathcomp Require Import topology_structure compact subspace_topology
discrete_topology order_topology uniform_structure uniform_metrizable
pseudometric_structure num_topology one_point_compactification connected
supremum_topology sigT_topology.
Set Implicit Arguments.
Unset Strict Implicit.
Unset Printing Implicit Defensive.
Import Order.TTheory GRing.Theory Num.Theory.
Local Open Scope classical_set_scope.
Local Open Scope ring_scope.
Context {dSource code} {TSource code : topologicalType d} (ASource code : set T).
Definition set_nbhs
set_nbhs : forall {d : filter.filter_display} {T : topology_structure.Topological.Exports.topologicalType d}, set (topology_structure.Topological.sort T) -> set (set (topology_structure.Topological.sort T)) set_nbhs is not universe polymorphic Arguments set_nbhs {d}%_fdisp_scope {T} A%_classical_set_scope _ set_nbhs is transparent Expands to: Constant mathcomp.analysis.topology_theory.separation_axioms.set_nbhs Declared in library mathcomp.analysis.topology_theory.separation_axioms, line 52, characters 11-19
Source code := \bigcap_(xSource code in A) nbhs x.
Global Instance set_nbhs_filterSource code : Filter set_nbhs.
Proof.
Global Instance set_nbhs_pfilterSource code : A !=set0 -> ProperFilter set_nbhs.
Proof.
Lemma set_nbhsPUsed by
- mathcomp.analysis.normedtype_theory.urysohn
Source code (BSource code : set T) :
set_nbhs B <-> (exists CSource code, [/\ open C, A `<=` C & C `<=` B]).
Proof.
by case=> V [? AV /filterS +] x /AV ?; apply; exact: open_mem_nbhs.
move=> snB; have Ux x : exists USource code, A x -> [/\ U x, open U & U `<=` B].
have [/snB|?] := pselect (A x); last by exists point.
by rewrite nbhsE => -[V [? ? ?]]; exists V.
exists (\bigcup_(xSource code in A) (projT1 (cid (Ux x)))); split.
- by apply: bigcup_open => x Ax; have [] := projT2 (cid (Ux x)).
- by move=> x Ax; exists x => //; have [] := projT2 (cid (Ux x)).
- by move=> x [y Ay]; have [//| _ _] := projT2 (cid (Ux y)); exact.
Qed.
End set_nbhs.
Context {dSource code} {TSource code : topologicalType d}.
Definition kolmogorov_space
kolmogorov_space : forall {d : filter.filter_display}, topology_structure.Topological.Exports.topologicalType d -> Prop kolmogorov_space is not universe polymorphic Arguments kolmogorov_space {d}%_fdisp_scope T kolmogorov_space is transparent Expands to: Constant mathcomp.analysis.topology_theory.separation_axioms.kolmogorov_space Declared in library mathcomp.analysis.topology_theory.separation_axioms, line 86, characters 11-27
Source code := forall xSource code ySource code, x != y ->
exists ASource code : set T, (A \in nbhs x /\ y \in ~` A) \/ (A \in nbhs y /\ x \in ~` A).
Definition accessible_space
accessible_space : forall {d : filter.filter_display}, topology_structure.Topological.Exports.topologicalType d -> Prop accessible_space is not universe polymorphic Arguments accessible_space {d}%_fdisp_scope T accessible_space is transparent Expands to: Constant mathcomp.analysis.topology_theory.separation_axioms.accessible_space Declared in library mathcomp.analysis.topology_theory.separation_axioms, line 89, characters 11-27
Used by
- mathcomp.analysis.topology_theory.function_spaces
- mathcomp.analysis.topology_theory.metric_structure
- mathcomp.analysis.normedtype_theory.urysohn
Source code := forall xSource code ySource code, x != y ->
exists ASource code : set T, [/\ open A, x \in A & y \in ~` A].
Definition hausdorff_space
hausdorff_space : forall {d : filter.filter_display}, topology_structure.Topological.Exports.topologicalType d -> Prop hausdorff_space is not universe polymorphic Arguments hausdorff_space {d}%_fdisp_scope T hausdorff_space is transparent Expands to: Constant mathcomp.analysis.topology_theory.separation_axioms.hausdorff_space Declared in library mathcomp.analysis.topology_theory.separation_axioms, line 92, characters 11-26
Used by
- mathcomp.analysis.lebesgue_integral_theory.measurable_fun_approximation
- mathcomp.analysis.homotopy_theory.wedge_sigT
- mathcomp.analysis.cantor
- mathcomp.analysis.topology_theory.function_spaces
- mathcomp.analysis.topology_theory.metric_structure
- mathcomp.analysis.functional_analysis.hahn_banach_theorem
- mathcomp.analysis.normedtype_theory.urysohn
- mathcomp.analysis.normedtype_theory.tvs
- mathcomp.analysis.normedtype_theory.pseudometric_normed_Zmodule
- mathcomp.analysis.normedtype_theory.ereal_normedtype
Source code := forall pSource code qSource code : T, cluster (nbhs p) q -> p = q.
Lemma compact_closedUsed by
- mathcomp.analysis.lebesgue_integral_theory.lebesgue_integral_differentiation
- mathcomp.analysis.lebesgue_integral_theory.measurable_fun_approximation
- mathcomp.analysis.cantor
- mathcomp.analysis.topology_theory.function_spaces
- mathcomp.analysis.real_measure.measurable_realfun
- mathcomp.analysis.real_measure.lebesgue_measure
Source code (ASource code : set T) : hausdorff_space -> compact A -> closed A.
Proof.
have [q [Aq clsAp_q]] := [elaborate Aco _ _ pA]; rewrite (hT p q) //.
by apply: cvg_cluster clsAp_q; apply: cvg_within.
Qed.
Lemma compact_cluster_set1Used by
- mathcomp.analysis.cantor
Source code (xSource code : T) FSource code VSource code :
hausdorff_space -> compact V -> nbhs x V ->
ProperFilter F -> F V -> cluster F = [set x] -> F --> x.
Proof.
wlog oU : U nbhsU / open U.
rewrite /= nbhsE in nbhsU; case: nbhsU => O [oO Ox] OsubU /(_ O) WH.
by apply: (filterS OsubU); apply: WH => //; exact: open_mem_nbhs.
have /compact_near_coveringP : compact (V `\` U).
apply: (subclosed_compact _ cptV) => //.
by apply: closedI; [exact: compact_closed | exact: open_closedC].
move=> /(_ _ (powerset_filter_from F) (fun WSource code xSource code => ~ W x))[].
move=> z [Vz ?]; have zE : x <> z by move/nbhs_singleton: nbhsU => /[swap] ->.
have : ~ cluster F z by move: zE; apply: contra_not; rewrite clFx1 => ->.
case/existsNP=> C /existsPNP [D] FC /existsNP [Dz] /nonemptyPn.
rewrite setIC => /disjoints_subset CD0; exists (D, [set WSource code | F W /\ W `<=` C]).
by split; rewrite //= nbhs_simpl; exact: powerset_filter_fromP.
by case => t W [Dt] [FW] /subsetCP; apply; apply: CD0.
move=> M [MF ME2 [W] MW /(_ _ MW) VUW].
apply: (@filterS _ _ _ (V `&` W)); last by apply: filterI => //; exact: MF.
by move=> t [Vt Wt]; apply: contrapT => Ut; exact: (VUW t).
Qed.
Lemma compact_precompactSource code (ASource code : set T) :
hausdorff_space -> compact A -> precompact A.
Proof.
Lemma open_hausdorffUsed by
- mathcomp.analysis.cantor
Source code : hausdorff_space =
forall (xSource code ySource code : T), x != y ->
exists2 ABSource code, (x \in AB.1 /\ y \in AB.2) &
[/\ open AB.1, open AB.2 & AB.1 `&` AB.2 == set0].
Proof.
have := contra_not (T_filterT2 x y); rewrite (rwP eqP) (rwP negP).
move=> /[apply] /asboolPn/existsp_asboolPn[A]; rewrite -existsNE => -[B].
rewrite [nbhs _ _ -> _](rwP imply_asboolP) => /negP.
rewrite asbool_imply !negb_imply => /andP[/asboolP xA] /andP[/asboolP yB].
move=> /asboolPn; rewrite -set0P => /negP; rewrite negbK => /eqP AIB_eq0.
move: xA yB; rewrite !nbhsE.
move=> - [oA [oA_open oAx] oAA] [oB [oB_open oBx] oBB].
by exists (oA, oB); rewrite ?inE; split => //; apply: subsetI_eq0 AIB_eq0.
apply: contraPP => /eqP /T_openT2[[/=A B]].
rewrite !inE => - [xA yB] [Aopen Bopen /eqP AIB_eq0].
move=> /(_ A B (open_mem_nbhs Aopen xA) (open_mem_nbhs Bopen yB)).
by move/set0P; rewrite AIB_eq0.
Qed.
Lemma hausdorff_accessibleUsed by
- mathcomp.analysis.lebesgue_integral_theory.lebesgue_Rintegral
- mathcomp.analysis.borel_hierarchy
- mathcomp.analysis.cantor
- mathcomp.analysis.functional_analysis.hahn_banach_theorem
- mathcomp.analysis.normedtype_theory.urysohn
Source code : hausdorff_space -> accessible_space.
Proof.
rewrite setIC => /disjoints_subset VUc; exists U; repeat split => //.
by rewrite inE; apply: VUc; rewrite -inE.
Qed.
Lemma accessible_closed_set1Used by
- mathcomp.analysis.borel_hierarchy
- mathcomp.analysis.cantor
- mathcomp.analysis.topology_theory.function_spaces
- mathcomp.analysis.functional_analysis.hahn_banach_theorem
- mathcomp.analysis.normedtype_theory.urysohn
- mathcomp.analysis.normedtype_theory.tvs
Source code : accessible_space -> forall xSource code : T, closed [set x].
Proof.
Lemma accessible_kolmogorovSource code : accessible_space -> kolmogorov_space.
Proof.
Lemma accessible_finite_set_closedSource code :
accessible_space <-> forall ASource code : set T, finite_set A -> closed A.
Proof.
rewrite -(fsbig_setU_set1 fA) fsbig_finite//=.
by apply: bigsetU_closed => x xA; exact: accessible_closed_set1.
by exists (~` [set y]); rewrite !inE/=; split;
[rewrite openC; exact: h|exact/eqP|].
Qed.
Lemma separated_set1Used by
- mathcomp.analysis.lebesgue_integral_theory.lebesgue_Rintegral
Source code (aSource code bSource code : T) : accessible_space ->
a != b -> separated [set a] [set b].
Proof.
- have := @accessible_closed_set1 T1 a; rewrite closure_id => <-.
rewrite -subset0 => x/= [xa xb].
by move: ab; rewrite -xa -xb eqxx.
- have := @accessible_closed_set1 T1 b; rewrite closure_id => <-.
rewrite -subset0 => x/= [xa xb].
by move: ab; rewrite -xa -xb eqxx.
Qed.
End point_separation_axioms.
Arguments hausdorff_space {d} T.
Arguments accessible_space {d} T.
Arguments kolmogorov_space {d} T.
Lemma limit_point_closedSource code {dSource code} {TSource code : topologicalType d} (ASource code : set T) :
accessible_space T -> closed (limit_point A).
Proof.
rewrite /setC/= not_limit_pointE => -[X].
rewrite nbhsE/= => -[U [oU Ua]] UX AXa.
rewrite /interior nbhsE/=.
exists U => // x Ux /=.
rewrite not_limit_pointE.
have [xa|xneqa] := eqVneq x a.
exists U; rewrite xa; first exact: open_mem_nbhs.
by apply: subset_trans AXa; exact: setIS.
exists (U `&` [set~ a]).
apply: open_mem_nbhs.
apply: openI => //.
by rewrite openC; exact: accessible_closed_set1.
by split => //; exact/eqP.
apply: (@subset_trans _ (A `&` (X `&` [set~ a]))).
by apply: setIS; exact: setSI.
apply: (@subset_trans _ ([set a] `&` [set~ a])).
by rewrite setIA; exact: setSI.
by rewrite setICr.
Qed.
Lemma subspace_hausdorffSource code {dSource code} {TSource code : topologicalType d} (ASource code : set T) :
hausdorff_space T -> hausdorff_space (subspace A).
Proof.
move=> [[P Q]] /= [Px Qx] /= [/open_subspaceW oP /open_subspaceW oQ].
by move=> ?; exists (P, Q); split.
Qed.
Lemma discrete_hausdorffUsed by
- mathcomp.analysis.cantor
Source code {dSource code} {TSource code : discreteTopologicalType d} :
hausdorff_space T.
Proof.
Lemma order_hausdorffSource code {tdSource code odSource code} {TSource code : orderTopologicalType td od} : hausdorff_space T.
Proof.
have /orP[] := le_total p q; rewrite le_eqVlt => /predU1P[->|].
- by rewrite eqxx.
- by move=> ?; exact.
- by rewrite eqxx.
- move=> qp WH; rewrite eq_sym => /(WH _ _ qp)[[P Q] [? ?] [? ? ?]].
by exists (Q, P); split; rewrite // setIC.
move=> plq ?; have [[z /andP[pz zq]]|] := pselect (exists zSource code, p < z < q)%O.
exists (`]-oo,z[, `]z,+oo[)%classic.
by split => //=; apply/mem_set; rewrite set_itvE.
split => //= ; apply/eqP; rewrite -subset0 => r; rewrite set_itvE => -[/= rz].
by apply/negP; rewrite in_itv/= andbT -leNgt (ltW rz).
move=> npzq; exists (`]-oo, q[, `]p, +oo[)%classic; split => //=.
- by apply /mem_set; rewrite set_itvE.
- by apply /mem_set; rewrite set_itvE.
- apply/eqP; rewrite -subset0 => r; rewrite !set_itvE => -[/= rz zr].
by apply: npzq; exists r; rewrite rz zr.
Qed.
Context {dSource code} {RSource code : numDomainType} (TSource code : pseudoMetricType d R).
Lemma ball_hausdorffUsed by
- mathcomp.analysis.normedtype_theory.pseudometric_normed_Zmodule
Source code : hausdorff_space T =
forall (aSource code bSource code : T), a != b ->
exists rSource code : {posnum R} * {posnum R},
ball a r.1%:num `&` ball b r.2%:num == set0.
Proof.
move=> A B; rewrite 2!inE => [[aA bB] [oA oB /eqP ABeq0]].
have /nbhs_ballP[_/posnumP[r] rA]: nbhs a A := open_mem_nbhs oA aA.
have /nbhs_ballP[_/posnumP[s] rB]: nbhs b B := open_mem_nbhs oB bB.
by exists (r, s) => /=; rewrite (subsetI_eq0 _ _ ABeq0).
move=> r s /eqP brs_eq0; exists ((ball a r%:num)°, (ball b s%:num)°) => /=.
split; by rewrite inE; apply: nbhs_singleton; apply: nbhs_interior;
apply/nbhs_ballP; apply: in_filter_from => /=.
split; do ?by apply: open_interior.
by rewrite (subsetI_eq0 _ _ brs_eq0)//; exact: interior_subset.
Qed.
End ball_hausdorff.
Import numFieldTopology.Exports.
Lemma RhausdorffUsed by
- mathcomp.analysis.lebesgue_integral_theory.lebesgue_integral_differentiation
- mathcomp.analysis.lebesgue_integral_theory.measurable_fun_approximation
- mathcomp.analysis.elementary_functions.trigonometry_functions
- mathcomp.analysis.sequences
- mathcomp.analysis.borel_hierarchy
- mathcomp.analysis.numfun
- mathcomp.analysis.real_measure.measurable_realfun
- mathcomp.analysis.real_measure.lebesgue_measure
- mathcomp.analysis.ftc
- mathcomp.analysis.normedtype_theory.ereal_normedtype
Source code (RSource code : realFieldType) : hausdorff_space R.
Proof.
Lemma one_point_compactification_hausdorffUsed by
- mathcomp.analysis.normedtype_theory.urysohn
Source code {dSource code} {XSource code : topologicalType d} :
locally_compact [set: X] ->
hausdorff_space X ->
hausdorff_space (one_point_compactification X).
Proof.
- move=> clxy; congr Some; apply: hsdfX => U V Ux Vy.
have [] := clxy (Some @` U) (Some @` V).
by apply: filterS Ux; exact: preimage_image.
by apply: filterS Vy; exact: preimage_image.
by case=> [_|] [] /= [// p /[swap] -[] <- Up] [q /[swap] -[] -> Vp]; exists p.
- have [U] := lcpt x I; rewrite withinET => Ux [cU clU].
case/(_ (Some @` U) (Some @` (~` U) `|` [set None])).
+ exact: one_point_compactification_some_nbhs.
+ by exists U.
+ by move=> [?|] [][]// z /[swap] -[] <- ? []//= [? /[swap] -[] ->].
- have [U] := lcpt y I; rewrite withinET => Uy [cU clU].
case/(_ (Some @` (~` U) `|` [set None]) (Some @` U)); first by exists U.
exact: one_point_compactification_some_nbhs.
by case=> [?|] [] [] //= + [] ? // /[swap] -[] -> => -[? /[swap] -[] <-].
Qed.
Context {dSource code} (TSource code : topologicalType d).
Implicit Types x y : T.
Local Open Scope classical_set_scope.
Definition close
close : forall {d : filter.filter_display} [T : topology_structure.Topological.Exports.topologicalType d], topology_structure.Topological.sort T -> topology_structure.Topological.sort T -> Prop close is not universe polymorphic Arguments close {d}%_fdisp_scope [T] x y close is transparent Expands to: Constant mathcomp.analysis.topology_theory.separation_axioms.close Declared in library mathcomp.analysis.topology_theory.separation_axioms, line 312, characters 11-16
Used by
- mathcomp.analysis.topology_theory.function_spaces
- mathcomp.analysis.topology_theory.edist
- mathcomp.analysis.normedtype_theory.pseudometric_normed_Zmodule
Source code xSource code ySource code : Prop := forall MSource code, open_nbhs y M -> closure M x.
Lemma closeEnbhsSource code xSource code : close x = cluster (nbhs x).
Proof.
by rewrite /cluster; under eq_fun do rewrite -meets_openl.
rewrite clusterEonbhs /close funeqE => y /=; rewrite meetsC /meets.
apply/eq_forall => A; rewrite forall_swap.
by rewrite closureEonbhs/= meets_globallyl.
Qed.
Lemma closeEonbhsSource code xSource code : close x = [set ySource code | open_nbhs x `#` open_nbhs y].
Proof.
Lemma close_symSource code xSource code ySource code : close x y -> close y x.
Proof.
Lemma cvg_closeSource code {FSource code} {FFSource code : ProperFilter F} xSource code ySource code : F --> x -> F --> y -> close x y.
Proof.
Lemma close_reflSource code xSource code : close x x.
Hint Resolve close_refl : core.
Lemma cvgx_closeSource code xSource code ySource code : x --> y -> close x y.
Proof.
Lemma cvgi_closeSource code T'Source code {FSource code} {FFSource code : ProperFilter F} (fSource code : T' -> set T) (lSource code l'Source code : T) :
{near F, is_fun f} -> f `@ F --> l -> f `@ F --> l' -> close l l'.
Proof.
suff f_totalfun: {near F, is_totalfun f}.
by apply: cvg_close fFl fFl'; exact: fmapi_proper_filter.
apply: filter_app f_prop; near do split=> //=.
have: (f `@ F) setT by apply: fFl; apply: filterT.
by rewrite fmapiE; apply: filterS => x [y []]; exists y.
Unshelve. all: by end_near. Qed.
Hypothesis sepSource code : hausdorff_space T.
Lemma closeEUsed by
- mathcomp.analysis.kernel
- mathcomp.analysis.lebesgue_integral_theory.lebesgue_integral_fubini
- mathcomp.analysis.sequences
- mathcomp.analysis.normedtype_theory.pseudometric_normed_Zmodule
Source code xSource code ySource code : close x y = (x = y).
Proof.
by rewrite closeEnbhs; exact: sep.
Qed.
Lemma close_eqUsed by
- mathcomp.analysis.cantor
- mathcomp.analysis.normedtype_theory.pseudometric_normed_Zmodule
Source code xSource code ySource code : close x y -> x = y.
Proof.
Lemma cvg_uniqueUsed by
- mathcomp.analysis.sequences
- mathcomp.analysis.probability_theory.random_variable
- mathcomp.analysis.probability_theory.independence
- mathcomp.analysis.real_measure.lebesgue_stieltjes_measure
- mathcomp.analysis.ftc
- mathcomp.analysis.normedtype_theory.pseudometric_normed_Zmodule
Source code {FSource code} {FFSource code : ProperFilter F} : is_subset1 [set xSource code : T | F --> x].
Lemma cvg_eqUsed by
- mathcomp.analysis.normedtype_theory.pseudometric_normed_Zmodule
Source code xSource code ySource code : x --> y -> x = y.
Lemma cvgi_uniqueUsed by
- mathcomp.analysis.normedtype_theory.pseudometric_normed_Zmodule
Source code {USource code : Type} {FSource code} {FFSource code : ProperFilter F} (fSource code : U -> set T) :
{near F, is_fun f} -> is_subset1 [set xSource code : T | f `@ F --> x].
Proof.
End hausdorff_topologicalType.
Context {dSource code} (TSource code : ptopologicalType d).
Implicit Types x y : T.
Lemma close_cvgSource code (F1Source code F2Source code : set_system T) {FF2Source code : ProperFilter F2} :
F1 --> F2 -> F2 --> F1 -> close (lim F1) (lim F2).
Proof.
Hypothesis sepSource code : hausdorff_space T.
Lemma cvg_limUsed by
- mathcomp.analysis_stdlib.Rstruct_topology
- mathcomp.analysis.kernel
- mathcomp.analysis.lebesgue_integral_theory.radon_nikodym
- mathcomp.analysis.lebesgue_integral_theory.counting_lebesgue
- mathcomp.analysis.lebesgue_integral_theory.lebesgue_Rintegral
- mathcomp.analysis.lebesgue_integral_theory.lebesgue_integrable
- mathcomp.analysis.lebesgue_integral_theory.lebesgue_integral_definition
- mathcomp.analysis.lebesgue_integral_theory.lebesgue_integral_fubini
- mathcomp.analysis.lebesgue_integral_theory.lebesgue_integral_dominated_convergence
- mathcomp.analysis.lebesgue_integral_theory.lebesgue_integral_monotone_convergence
- mathcomp.analysis.lebesgue_integral_theory.lebesgue_integral_under
- mathcomp.analysis.lebesgue_integral_theory.lebesgue_integral_nonneg
- mathcomp.analysis.lebesgue_integral_theory.measurable_fun_approximation
- mathcomp.analysis.lebesgue_integral_theory.giry
- mathcomp.analysis.elementary_functions.trigonometry_functions
- mathcomp.analysis.realfun
- mathcomp.analysis.sequences
- mathcomp.analysis.gauss_integral
- mathcomp.analysis.measure_theory.measure_function
- mathcomp.analysis.measure_theory.measure_extension
- mathcomp.analysis.measure_theory.signed_measure
- mathcomp.analysis.ess_sup_inf
- mathcomp.analysis.probability_theory.uniform_distribution
- mathcomp.analysis.probability_theory.independence
- mathcomp.analysis.numfun
- mathcomp.analysis.derive.derive_matrix
- mathcomp.analysis.derive.derivative_lemmas
- mathcomp.analysis.derive.derivative
- mathcomp.analysis.real_measure.measurable_realfun
- mathcomp.analysis.real_measure.lebesgue_measure
- mathcomp.analysis.ftc
- mathcomp.analysis.exp
- mathcomp.analysis.esum
- mathcomp.analysis.normedtype_theory.normed_module
- mathcomp.analysis.normedtype_theory.pseudometric_normed_Zmodule
Source code {FSource code} {FFSource code : ProperFilter F} (lSource code : T) :
F --> l -> lim F = l.
Proof.
Lemma lim_idUsed by
- mathcomp.analysis.derive.differential
- mathcomp.analysis.normedtype_theory.pseudometric_normed_Zmodule
Source code xSource code : lim (nbhs x) = x.
Proof.
Lemma lim_near_cstUsed by
- mathcomp.analysis.elementary_functions.trigonometry_functions
- mathcomp.analysis.sequences
- mathcomp.analysis.measure_theory.measure_function
- mathcomp.analysis.measure_theory.measure_extension
- mathcomp.analysis.derive.derivative
- mathcomp.analysis.real_measure.lebesgue_measure
- mathcomp.analysis.exp
- mathcomp.analysis.normedtype_theory.pseudometric_normed_Zmodule
Source code {USource code} {FSource code} {FFSource code : ProperFilter F} (lSource code : T) (fSource code : U -> T) :
(\forall xSource code \near F, f x = l) -> lim (f @ F) = l.
Proof.
Lemma lim_cstUsed by
- mathcomp.analysis.lebesgue_integral_theory.lebesgue_integral_monotone_convergence
- mathcomp.analysis.lebesgue_integral_theory.lebesgue_integral_nonneg
- mathcomp.analysis.sequences
- mathcomp.analysis.normedtype_theory.pseudometric_normed_Zmodule
Source code {USource code} {FSource code} {FFSource code : ProperFilter F} (kSource code : T) : lim (@cst U _ k @ F) = k.
Proof.
Lemma cvgi_limUsed by
- mathcomp.analysis.normedtype_theory.pseudometric_normed_Zmodule
Source code {USource code} {FSource code} {FFSource code : ProperFilter F} (fSource code : U -> T -> Prop) (lSource code : T) :
F (fun xSource code : U => is_subset1 (f x)) ->
f `@ F --> l -> lim (f `@ F) = l.
Proof.
End hausdorff_ptopologicalType.
Arguments close_cvg {d T} F1 F2 {FF2} _.
Context {dSource code : filter_display}.
Implicit Types (U : uniformType d).
Lemma entourage_closeUsed by
- mathcomp.analysis.topology_theory.function_spaces
Source code {USource code} (xSource code ySource code : U) :
close x y = forall ASource code, entourage A -> A (x, y).
Proof.
have /entourage_split_ent entsA := entA; rewrite closeEnbhs in cxy.
have yl := nbhs_entourage _ (entourage_inv entsA).
have yr := nbhs_entourage _ entsA.
have [z [/xsectionP zx /xsectionP zy]] := cxy _ _ (yr x) (yl y).
exact: (entourage_split z).
rewrite closeEnbhs => A B /nbhsP[E1 entE1 sE1A] /nbhsP[E2 entE2 sE2B].
exists y; split.
- by apply/sE1A/xsectionP; exact: cxy.
- by apply/sE2B/xsectionP; exact: entourage_refl.
Qed.
Lemma close_transSource code {USource code} (ySource code xSource code zSource code : U) : close x y -> close y z -> close x z.
Proof.
Lemma close_cvgxxSource code {USource code} (xSource code ySource code : U) : close x y -> x --> y.
Proof.
apply/nbhsP; exists (split_ent A) => // z /xsectionP xz; apply: sAP.
apply/xsectionP; apply: (entourage_split x) => //.
by have := cxy _ (entourage_inv (entourage_split_ent entA)).
Qed.
Lemma cvg_closePUsed by
- mathcomp.analysis.kernel
- mathcomp.analysis.lebesgue_integral_theory.lebesgue_integral_fubini
- mathcomp.analysis.sequences
Source code {USource code : puniformType d} (FSource code : set_system U) (lSource code : U) :
ProperFilter F ->
F --> l <-> ([cvg F in U] /\ close (lim F) l).
Proof.
by have /cvgP := Fl; split=> //; apply: (@cvg_close _ _ F).
by apply: cvg_trans (close_cvgxx Cl).
Qed.
Lemma ball_closeUsed by
- mathcomp.analysis.topology_theory.edist
Source code {RSource code : numFieldType} {MSource code : pseudoMetricType d R} (xSource code ySource code : M) :
close x y = forall epsSource code : {posnum R}, ball x eps%:num y.
Proof.
have := [elaborate cxy _ (open_nbhs_ball _ (eps%:num/2)%:pos)].
rewrite closureEonbhs/= meetsC meets_globallyr.
move/(_ _ (open_nbhs_ball _ (eps%:num/2)%:pos)) => [z [zx zy]].
by apply: (ball_splitl z); exact: interior_subset.
rewrite closeEnbhs => B A /nbhs_ballP[_/posnumP[e2 e2B]]
/nbhs_ballP[_/posnumP[e1 e1A]].
by exists y; split; [apply/e2B|apply/e1A; exact: ballxx].
Qed.
Context {dSource code} {TSource code : topologicalType d}.
Definition normal_space
normal_space : forall {d : filter.filter_display}, topology_structure.Topological.Exports.topologicalType d -> Prop normal_space is not universe polymorphic Arguments normal_space {d}%_fdisp_scope T normal_space is transparent Expands to: Constant mathcomp.analysis.topology_theory.separation_axioms.normal_space Declared in library mathcomp.analysis.topology_theory.separation_axioms, line 477, characters 11-23
Used by
- mathcomp.analysis.numfun
- mathcomp.analysis.normedtype_theory.urysohn
Source code :=
forall ASource code : set T, closed A ->
filter_from (set_nbhs A) closure `=>` set_nbhs A.
Definition regular_space
regular_space : forall {d : filter.filter_display}, topology_structure.Topological.Exports.topologicalType d -> Prop regular_space is not universe polymorphic Arguments regular_space {d}%_fdisp_scope T regular_space is transparent Expands to: Constant mathcomp.analysis.topology_theory.separation_axioms.regular_space Declared in library mathcomp.analysis.topology_theory.separation_axioms, line 481, characters 11-24
Used by
- mathcomp.analysis.topology_theory.function_spaces
- mathcomp.analysis.normedtype_theory.urysohn
Source code :=
forall aSource code : T, filter_from (nbhs a) closure --> a.
Lemma compact_regularUsed by
- mathcomp.analysis.topology_theory.function_spaces
Source code (xSource code : T) VSource code : hausdorff_space T -> compact V ->
nbhs x V -> {for x, regular_space}.
Proof.
- apply: filter_from_proper => //; first last.
by move=> ? /nbhs_singleton/subset_closure ?; exists x.
apply: filter_from_filter; first by exists setT; exact: filterT.
move=> P Q Px Qx; exists (P `&` Q); [exact: filterI | exact: closureI].
- by exists V => //; have /closure_id <- : closed V by exact: compact_closed.
rewrite eqEsubset; split; first last.
move=> _ -> A B [C Cx CA /nbhs_singleton Bx]; exists x; split => //.
by apply/CA/subset_closure; exact: nbhs_singleton.
move=> y /=; apply: contraPeq; move: sep; rewrite open_hausdorff => /[apply].
move=> [[B A]]/=; rewrite ?inE; case=> By Ax [oB oA BA0].
apply/existsNP; exists (closure A); apply/existsNP; exists B; apply/not_implyP.
split; first by exists A => //; exact: open_mem_nbhs.
apply/not_implyP; split; first exact: open_mem_nbhs.
apply/set0P/negP; rewrite negbK; apply/eqP/disjoints_subset.
have /closure_id -> : closed (~` B); first exact: open_closedC.
by apply/closureS/disjoints_subset; rewrite setIC.
Qed.
Lemma compact_normal_localSource code (KSource code : set T) : hausdorff_space T -> compact K ->
forall ASource code : set T, A `<=` K° -> {for A, normal_space}.
Proof.
apply/(subclosed_compact clA cptV)/(subset_trans AK).
exact: interior_subset.
have snbC (USource code : set T) : Filter (filter_from (set_nbhs U) closure).
apply: filter_from_filter; first by exists setT; apply: filterT.
by move=> P Q sAP sAQ; exists (P `&` Q); [apply filterI|exact: closureI].
have [/(congr1 setC)|/set0P[b0 B0]] := eqVneq (~` B) set0.
by rewrite setCK setC0 => ->; exact: filterT.
have PsnA : ProperFilter (filter_from (set_nbhs (~` B)) closure).
apply: filter_from_proper => ? P.
by exists b0; apply/subset_closure; apply: nbhs_singleton; exact: P.
pose F := powerset_filter_from (filter_from (set_nbhs (~` B)) closure).
have PF : Filter F by exact: powerset_filter_from_filter.
have cvP (xSource code : T) : A x -> \forall x'Source code \near x & iSource code \near F, (~` i) x'.
move=> Ax; case/set_nbhsP : snAB => C [oC AC CB].
have [] := @compact_regular x _ hT cptV _ C; first exact: AK.
by rewrite nbhsE /=; exists C => //; split => //; exact: AC.
move=> D /nbhs_interior nD cDC.
have snBD : filter_from (set_nbhs (~` B)) closure (closure (~` closure D)).
exists (closure (~` closure D)) => [z|].
move=> nBZ; apply: filterS; first exact: subset_closure.
apply: open_mem_nbhs; first exact/closed_openC/closed_closure.
exact/(subsetC _ nBZ)/(subset_trans cDC).
by have := @closed_closure _ _ (~` closure D); rewrite closure_id => <-.
near=> y U => /=; have Dy : D° y by exact: (near nD _).
have UclD : U `<=` closure (~` closure D).
exact: (near (small_set_sub snBD) U).
move=> Uy; have [z [/= + Dz]] := UclD _ Uy _ Dy.
by apply; exact: subset_closure.
case/(_ _ _ _ _ cvP) : cvA => R /= [RA Rmono [U RU] RBx].
have [V /set_nbhsP [W [oW cBW WV] clVU]] := RA _ RU; exists (~` W).
apply/set_nbhsP; exists (~` closure W); split.
- exact/closed_openC/closed_closure.
- by move=> y /(RBx _ RU) + Wy; apply; exact/clVU/(closureS WV).
- by apply: subsetC; exact/subset_closure.
have : closed (~` W) by exact: open_closedC.
by rewrite closure_id => <-; exact: subsetCl.
Unshelve. all: by end_near. Qed.
Lemma compact_normalUsed by
- mathcomp.analysis.normedtype_theory.urysohn
Source code : hausdorff_space T -> compact [set: T] -> normal_space.
Proof.
End set_separations.
Arguments normal_space {d} T.
Arguments regular_space {d} T.
Local Open Scope relation_scope.
Lemma uniform_regularSource code {dSource code} {TSource code : uniformType d} : regular_space T.
Proof.
pose E' := split_ent E; have eE' : entourage E' by exact: entourage_split_ent.
exists (xsection (E' `&` E'^-1) x).
rewrite -nbhs_entourageE; exists (E' `&` E'^-1) => //.
exact: filterI.
move=> z /= clEz; apply/ER/xsectionP; apply: subset_split_ent => //.
have [] := clEz (xsection (E' `&` E'^-1) z).
rewrite -nbhs_entourageE; exists (E' `&` E'^-1) => //.
exact: filterI.
by move=> y /= [/xsectionP[? ?] /xsectionP[? ?]]; exists y.
Qed.
#[global] Hint Resolve uniform_regular : core.
Context {dSource code : filter_display}.
Implicit Types (T : topologicalType d).
Definition totally_disconnected
totally_disconnected : forall {d : filter.filter_display} {T : topology_structure.Topological.Exports.topologicalType d}, set (topology_structure.Topological.sort T) -> Prop totally_disconnected is not universe polymorphic Arguments totally_disconnected {d}%_fdisp_scope {T} A%_classical_set_scope totally_disconnected is transparent Expands to: Constant mathcomp.analysis.topology_theory.separation_axioms.totally_disconnected Declared in library mathcomp.analysis.topology_theory.separation_axioms, line 581, characters 11-31
Used by
- mathcomp.analysis.topology_theory.function_spaces
Source code {TSource code} (ASource code : set T) :=
forall xSource code, A x -> connected_component A x = [set x].
Definition zero_dimensional
zero_dimensional : forall {d : filter.filter_display}, topology_structure.Topological.Exports.topologicalType d -> Prop zero_dimensional is not universe polymorphic Arguments zero_dimensional {d}%_fdisp_scope T zero_dimensional is transparent Expands to: Constant mathcomp.analysis.topology_theory.separation_axioms.zero_dimensional Declared in library mathcomp.analysis.topology_theory.separation_axioms, line 584, characters 11-27
Used by
- mathcomp.analysis.cantor
- mathcomp.analysis.topology_theory.function_spaces
Source code TSource code :=
(forall xSource code ySource code, x != y -> exists USource code : set T, [/\ clopen U, U x & ~ U y]).
Lemma discrete_zero_dimensionUsed by
- mathcomp.analysis.cantor
Source code {TSource code : discreteTopologicalType d} :
zero_dimensional T.
Proof.
by split; [exact: discrete_open | exact: discrete_closed].
Qed.
Lemma zero_dimension_totally_disconnectedSource code {TSource code} :
zero_dimensional T -> totally_disconnected [set: T].
Proof.
Lemma zero_dimensional_cvgSource code {TSource code} (xSource code : T) :
hausdorff_space T -> zero_dimensional T -> compact [set: T] ->
filter_from [set DSource code : set T | D x /\ clopen D] id --> x.
Proof.
have FF : Filter F.
apply: filter_from_filter; first by exists setT; split => //; exact: clopenT.
by move=> A B [? ?] [? ?]; exists (A `&` B) => //; split=> //; exact: clopenI.
have PF : ProperFilter F by apply: filter_from_proper; move=> ? [? _]; exists x.
move=> hsdfT zdT cmpT U Ux; rewrite nbhs_simpl -/F.
wlog oU : U Ux / open U.
move: Ux; rewrite /= nbhsE => -[] V [? ?] /filterS + /(_ V) P.
by apply; apply: P => //; exists V.
have /(iffLR (compact_near_coveringP _)) : compact (~` U).
by apply: (subclosed_compact _ cmpT) => //; exact: open_closedC.
move=> /(_ _ _ setC (powerset_filter_from_filter PF))[].
move=> y nUy; have /zdT [C [[oC cC] Cx Cy]] : x != y.
by apply: contra_notN nUy => /eqP <-; exact: nbhs_singleton.
exists (~` C, [set USource code | U `<=` C]); first split.
- by apply: open_mem_nbhs => //; exact: closed_openC.
- apply/near_powerset_filter_fromP; first by move=> ? ?; exact: subset_trans.
by exists C => //; exists C.
- by case=> i j [? /subsetC]; apply.
by move=> D [DF _ [C DC]]/(_ _ DC)/subsetC2/filterS; apply; exact: DF.
Qed.
Lemma zero_dimensional_raySource code {odSource code} {TSource code : orderTopologicalType d od} (xSource code ySource code : T) :
(x < y)%O -> zero_dimensional T ->
exists USource code, [/\ clopen U, U y , ~ U x & forall lSource code rSource code, U r -> ~ U l -> l < r]%O.
Proof.
have [U [clU Uy nUx]] := zt y x xNy.
have := clopen_bigcup_clopen clU Uy; set I := (I in clopen I); case=> ? ?.
pose V := I `|` `[y, +oo[; have Iy : I y.
case: clU => + _; rewrite openE => /(_ _ Uy).
rewrite /interior /= itv_nbhsE /= => -[i [] iy yi iU].
by exists i => //; split => //; exact: itv_open_ends_open.
have IU : I `<=` U by move=> ? [? [+ _ _]] => /subset_trans; exact.
exists V; split; first split.
- suff -> : V = I `|` `]y,+oo[ by exact: openU.
have /mem_set := Iy; rewrite -sub1set => /setUidl <-.
by rewrite -setUA setU1itv.
- by apply: closedU => //; exact: rray_closed.
- by left.
- by move=> [/IU //|]; rewrite set_itvE/= leNgt xy.
- move=> l r Vr Vl; rewrite ltNge; apply/negP; move: Vl; apply: contra_not.
move=> rl; case: Vr; first last.
by rewrite set_itvE => yr; right; rewrite set_itvE; exact: (le_trans yr).
have /orP[|ly] := le_total y l; first by move=> + _; right; rewrite set_itvE.
case=> i [iu oi /= yi ri]; left; exists i; first by split.
move: iu oi => _ _; case: i yi ri => p q /= /andP [py yq] /andP[pr rq].
apply/andP; split.
+ by rewrite (le_trans pr)// bnd_simp.
+ by rewrite (le_trans _ yq)// bnd_simp.
Qed.
End totally_disconnected.
Context {ISource code : choiceType} {dSource code} {XSource code : forall iSource code : I, topologicalType (d i)}.
Lemma sigT_hausdorffSource code :
(forall iSource code, hausdorff_space (X i)) -> hausdorff_space {iSource code & X i}.
Proof.
have [] := cl (existT X i @` [set: X i]) (existT X j @` [set: X j]);
[by apply: existT_nbhs; exact: filterT..|].
move=> p [/= [_ _ <-] [_ _ [ji]]] _.
rewrite {}ji {j} in x y cl *.
congr existT; apply: hX => U V Ux Vy.
have [] := cl (existT X i @` U) (existT X i @` V); [exact: existT_nbhs..|].
move=> z [] [l Ul <-] [r Vr lr]; exists l; split => //.
by rewrite -(existT_inj2 lr).
Qed.
End sigT_separations.