Module mathcomp.analysis.topology_theory.topology_structure
From HB Require Import structures.From mathcomp Require Import boot order algebra finmap.
From mathcomp Require Import all_classical.
From mathcomp Require Export filter.
# Basic topological notions
This file develops tools for the manipulation of basic topological
notions. The development of topological notions builds on "filtered types"
by extending the hierarchy.
In the identifiers, "nbhs" is an abbreviation for "neighborhoods".
## Mathematical structures
### Topology
`topologicalType`
: interface type for topological space structure
: The HB class is `Topological`.
`subTopologicalType d S`
: join of `SubNbhs` and `Topological` where `S` has type `pred V` with `V`
: a `topologicalType` and `d` is a display
: The HB class is `SubTopological`.
`ptopologicalType`
: a pointed `topologicalType`
`open`
: set of open sets
`closed`
: set of closed sets
`clopen U`
: `U` is both open and closed
`open_nbhs p`
: set of open neighbourhoods of `p`
`dense S`
: the set `S : set T` is dense in `T`, with `T` of type `topologicalType`
`basis B`
: a family of open sets that converges to each point
`separable_set A`
: `A : set T` admits a countable dense subset
`separable T`
: `separable_set T [set: T]`
`second_countable T`
: `T` has a countable basis
`[locally P]`
: `forall a, A a -> G (within A (nbhs x))` if `P` is convertible to
: `G (globally A)`
`U°`
: all of the points which are locally in `U`, i.e., the largest open set
: contained in `U`
: This is a notation for `interior U`.
`closure U`
: the smallest closed set containing `U`
`perfect_set A`
: `A` is closed, and every point in `A` is a limit point of `A`
`regopen U`
: `U` is regular open, i.e., equal to the interior of its closure
`regclosed U`
: `U` is regular closed, i.e., equal to the closure of its interior
`open_of_nbhs B`
: the open sets induced by neighborhoods
`nbhs_of_open B`
: the neighborhoods induced by open sets
`x^'`
: set of neighbourhoods of `x` where `x` is excluded
: (a "deleted neighborhood")
`limit_point E`
: the set of limit points of E
`isolated A`
: the set of isolated points of `A`
`continuousType`
: type of continuous functions
: The HB structures is `Continuous`.
`mkcts f_cts`
: object of type `continuousType` corresponding to the function `f`
: (`f_cts : continuous f`)
### Factories
```
Nbhs_isNbhsTopological == factory for a topology defined by a
filter
It builds the mixin for a topological
space from the properties of nbhs and
hence assumes that the carrier is a
filterType.
isOpenTopological == factory for a topology defined by open
sets
It builds the mixin for a topological
space from the properties of open
sets, nbhs_of_open must be used to
declare a filterType.
isBaseTopological == factory for a topology defined by a
base of open sets
It builds the mixin for a topological
space from the properties of a base of
open sets; the type of indices must be
a choiceType
isSubBaseTopological == factory for a topology defined by a
subbase of open sets
It builds the mixin for a topological
space from a subbase of open sets b
indexed on domain D
```
Reserved Notation "A °" (format "A °").
Reserved Notation "[ 'locally' P ]" (format "[ 'locally' P ]").
Reserved Notation "x ^'" (format "x ^'").
Set Implicit Arguments.
Unset Strict Implicit.
Unset Printing Implicit Defensive.
Local Open Scope classical_set_scope.
Local Open Scope ring_scope.
Topological spaces
HBUsed by
- mathcomp.analysis.topology_theory.function_spaces
Source code.mixinUsed by
- mathcomp.analysis.topology_theory.function_spaces
Source code RecordUsed by
- mathcomp.analysis.topology_theory.function_spaces
Source code Nbhs_isTopologicalUsed by
- mathcomp.analysis.topology_theory.function_spaces
Source code dUsed by
- mathcomp.analysis.topology_theory.function_spaces
Source code (TUsed by
- mathcomp.analysis.topology_theory.function_spaces
Source code :Used by
- mathcomp.analysis.topology_theory.function_spaces
Source code TypeUsed by
- mathcomp.analysis.topology_theory.function_spaces
Source code) &Used by
- mathcomp.analysis.topology_theory.function_spaces
Source code NbhsUsed by
- mathcomp.analysis.topology_theory.function_spaces
Source code d T := {
open : set_system T;
nbhs_pfilter_subproof : forall pSource code : T, ProperFilter (nbhs p) ;
nbhsE : forall pSource code : T, nbhs p =
[set ASource code : set T | exists2 BSource code : set T, open B /\ B p & B `<=` A ] ;
openE_subproof : open = [set ASource code : set T | A `<=` nbhs^~ A ]
}.
#[shortUsed by
- mathcomp.analysis.topology_theory.discrete_topology
- mathcomp.analysis.topology_theory.order_topology
- mathcomp.analysis.topology_theory.uniform_structure
- mathcomp.analysis.topology_theory.supremum_topology
- mathcomp.analysis.normedtype_theory.pseudometric_normed_Zmodule
- mathcomp.analysis.normedtype_theory.tvs
Source code(type=Used by
- mathcomp.analysis.topology_theory.discrete_topology
- mathcomp.analysis.topology_theory.order_topology
- mathcomp.analysis.topology_theory.uniform_structure
- mathcomp.analysis.topology_theory.supremum_topology
- mathcomp.analysis.normedtype_theory.pseudometric_normed_Zmodule
- mathcomp.analysis.normedtype_theory.tvs
Source code"topologicalType"Used by
- mathcomp.analysis.topology_theory.discrete_topology
- mathcomp.analysis.topology_theory.order_topology
- mathcomp.analysis.topology_theory.uniform_structure
- mathcomp.analysis.topology_theory.supremum_topology
- mathcomp.analysis.normedtype_theory.pseudometric_normed_Zmodule
- mathcomp.analysis.normedtype_theory.tvs
Source code)]Used by
- mathcomp.analysis.topology_theory.discrete_topology
- mathcomp.analysis.topology_theory.order_topology
- mathcomp.analysis.topology_theory.uniform_structure
- mathcomp.analysis.topology_theory.supremum_topology
- mathcomp.analysis.normedtype_theory.pseudometric_normed_Zmodule
- mathcomp.analysis.normedtype_theory.tvs
Source code
HBUsed by
- mathcomp.analysis.topology_theory.discrete_topology
- mathcomp.analysis.topology_theory.order_topology
- mathcomp.analysis.topology_theory.uniform_structure
- mathcomp.analysis.topology_theory.supremum_topology
- mathcomp.analysis.normedtype_theory.pseudometric_normed_Zmodule
- mathcomp.analysis.normedtype_theory.tvs
Source code.structureUsed by
- mathcomp.analysis.topology_theory.discrete_topology
- mathcomp.analysis.topology_theory.order_topology
- mathcomp.analysis.topology_theory.uniform_structure
- mathcomp.analysis.topology_theory.supremum_topology
- mathcomp.analysis.normedtype_theory.pseudometric_normed_Zmodule
- mathcomp.analysis.normedtype_theory.tvs
Source code DefinitionUsed by
- mathcomp.analysis.topology_theory.discrete_topology
- mathcomp.analysis.topology_theory.order_topology
- mathcomp.analysis.topology_theory.uniform_structure
- mathcomp.analysis.topology_theory.supremum_topology
- mathcomp.analysis.normedtype_theory.pseudometric_normed_Zmodule
- mathcomp.analysis.normedtype_theory.tvs
Source code TopologicalUsed by
- mathcomp.analysis.topology_theory.discrete_topology
- mathcomp.analysis.topology_theory.order_topology
- mathcomp.analysis.topology_theory.uniform_structure
- mathcomp.analysis.topology_theory.supremum_topology
- mathcomp.analysis.normedtype_theory.pseudometric_normed_Zmodule
- mathcomp.analysis.normedtype_theory.tvs
Source code dUsed by
- mathcomp.analysis.topology_theory.discrete_topology
- mathcomp.analysis.topology_theory.order_topology
- mathcomp.analysis.topology_theory.uniform_structure
- mathcomp.analysis.topology_theory.supremum_topology
- mathcomp.analysis.normedtype_theory.pseudometric_normed_Zmodule
- mathcomp.analysis.normedtype_theory.tvs
Source code :=Used by
- mathcomp.analysis.topology_theory.discrete_topology
- mathcomp.analysis.topology_theory.order_topology
- mathcomp.analysis.topology_theory.uniform_structure
- mathcomp.analysis.topology_theory.supremum_topology
- mathcomp.analysis.normedtype_theory.pseudometric_normed_Zmodule
- mathcomp.analysis.normedtype_theory.tvs
Source code
{TSource code of Nbhs d T & Nbhs_isTopological d T}.
#[shortUsed by
- mathcomp.analysis.topology_theory.order_topology
- mathcomp.analysis.topology_theory.uniform_structure
Source code(type=Used by
- mathcomp.analysis.topology_theory.order_topology
- mathcomp.analysis.topology_theory.uniform_structure
Source code"ptopologicalType"Used by
- mathcomp.analysis.topology_theory.order_topology
- mathcomp.analysis.topology_theory.uniform_structure
Source code)]Used by
- mathcomp.analysis.topology_theory.order_topology
- mathcomp.analysis.topology_theory.uniform_structure
Source code
HBUsed by
- mathcomp.analysis.topology_theory.order_topology
- mathcomp.analysis.topology_theory.uniform_structure
Source code.structureUsed by
- mathcomp.analysis.topology_theory.order_topology
- mathcomp.analysis.topology_theory.uniform_structure
Source code DefinitionUsed by
- mathcomp.analysis.topology_theory.order_topology
- mathcomp.analysis.topology_theory.uniform_structure
Source code PointedTopologicalUsed by
- mathcomp.analysis.topology_theory.order_topology
- mathcomp.analysis.topology_theory.uniform_structure
Source code dUsed by
- mathcomp.analysis.topology_theory.order_topology
- mathcomp.analysis.topology_theory.uniform_structure
Source code :=Used by
- mathcomp.analysis.topology_theory.order_topology
- mathcomp.analysis.topology_theory.uniform_structure
Source code
{TSource code of PointedNbhs d T & Nbhs_isTopological d T}.
#[shortSource code(type=Source code"bpTopologicalType"Source code)]Source code
HBSource code.structureSource code DefinitionSource code BiPointedTopologicalSource code dSource code :=Source code
{ XSource code of BiPointed X & Topological d X }.
#[shortUsed by
- mathcomp.analysis.normedtype_theory.tvs
Source code(type=Used by
- mathcomp.analysis.normedtype_theory.tvs
Source code"subTopologicalType"Used by
- mathcomp.analysis.normedtype_theory.tvs
Source code)]Used by
- mathcomp.analysis.normedtype_theory.tvs
Source code
HBUsed by
- mathcomp.analysis.normedtype_theory.tvs
Source code.structureUsed by
- mathcomp.analysis.normedtype_theory.tvs
Source code DefinitionUsed by
- mathcomp.analysis.normedtype_theory.tvs
Source code SubTopologicalUsed by
- mathcomp.analysis.normedtype_theory.tvs
Source code d'Used by
- mathcomp.analysis.normedtype_theory.tvs
Source code dUsed by
- mathcomp.analysis.normedtype_theory.tvs
Source code (VUsed by
- mathcomp.analysis.normedtype_theory.tvs
Source code :Used by
- mathcomp.analysis.normedtype_theory.tvs
Source code topologicalTypeUsed by
- mathcomp.analysis.normedtype_theory.tvs
Source code d)
(S : pred V) := {USource code of @SubNbhs d' d V S U & Topological d' U}.
HBSource code.instanceSource code DefinitionSource code _Source code d'Source code dSource code (TSource code :Source code topologicalTypeSource code d) :=
@Nbhs_isTopological.Build d' (with_fdisp d' T) open nbhs_pfilter_subproof
nbhsE openE_subproof.
HBSource code.instanceSource code DefinitionSource code _Source code d'Source code dSource code (TSource code :Source code ptopologicalTypeSource code d) :=
PointedTopological.on (with_fdisp d' T).
Section Topological1.
Context dSource code {TSource code : topologicalType d}.
Definition open_nbhs
Used by
Source code (pSource code : T) := open `&` nbhs p.
Global Instance nbhs_pfilterUsed by
Source code (pSource code : T) : ProperFilter (nbhs p).
Typeclasses Opaque nbhs.
Lemma nbhs_filterUsed by
Source code (pSource code : T) : Filter (nbhs p).
Canonical nbhs_filter_on
Used by
Source code (xSource code : T) := FilterType (nbhs x) (@nbhs_filter x).
Lemma nbhs_singletonUsed by
Source code (pSource code : T) (ASource code : set T) : nbhs p A -> A p.
Lemma open_nbhs_memUsed by
Source code (pSource code : T) (ASource code : set T) : open_nbhs p A = (open A /\ A p).
Definition interior
Used by
Source code (ASource code : set T) := (@nbhs _ _ T)^~ A.
#[deprecated(since="mathcomp-analysis 1.20.0", note="remove: true by definition, shouldn't be needed")]
Lemma open_nbhsESource code (pSource code : T) (ASource code : set T) : open_nbhs p A = (open A /\ nbhs p A).
Local Notation "A °"Source code := (interior A).
Lemma interior_subsetUsed by
Source code (ASource code : set T) : A° `<=` A.
Lemma openEUsed by
Source code : open = [set ASource code : set T | A `<=` A°].
Lemma nbhs_interiorUsed by
Source code (pSource code : T) (ASource code : set T) : nbhs p A -> nbhs p A°.
Lemma open0Used by
Source code : open (set0 : set T).
Lemma openTUsed by
Source code : open (setT : set T).
Lemma openIUsed by
Source code : setI_closed (@open _ T).
Lemma bigcup_openUsed by
Source code (ISource code : Type) (DSource code : set I) (fSource code : I -> set T) :
(forall iSource code, D i -> open (f i)) -> open (\bigcup_(iSource code in D) f i).
Lemma bigcap_openSource code (FSource code : (set T) ^nat) :
(forall iSource code, open (F i)) ->
forall iSource code, open (\bigcap_(jSource code < i) F j).
Lemma openUUsed by
Source code : setU_closed (@open _ T).
Lemma open_subsetEUsed by
Source code (ASource code BSource code : set T) : open A -> (A `<=` B) = (A `<=` B°).
Lemma open_interiorUsed by
Source code (ASource code : set T) : open A°.
Lemma interior_bigcupSource code ISource code (DSource code : set I) (fSource code : I -> set T) :
\bigcup_(iSource code in D) (f i)° `<=` (\bigcup_(iSource code in D) f i)°.
Lemma open_nbhsTSource code (pSource code : T) : open_nbhs p setT.
Lemma open_nbhsIUsed by
Source code (pSource code : T) : setI_closed (open_nbhs p).
#[deprecated(since="mathcomp-analysis 1.20.0", note="remove: true by definition, shouldn't be needed")]
Lemma open_nbhs_nbhsSource code (pSource code : T) (ASource code : set T) : open_nbhs p A -> nbhs p A.
Lemma open_mem_nbhsUsed by
Source code (pSource code : T) (ASource code : set T) : open A -> A p -> nbhs p A.
Lemma interiorISource code (ASource code BSource code : set T) : (A `&` B)° = A° `&` B°.
End Topological1.
Context dSource code {TSource code : topologicalType d}.
Definition open_nbhs
Used by
- mathcomp.analysis.topology_theory.uniform_structure
- mathcomp.analysis.topology_theory.compact
- mathcomp.analysis.topology_theory.subspace_topology
- mathcomp.analysis.topology_theory.pseudometric_structure
- mathcomp.analysis.topology_theory.metric_structure
- mathcomp.analysis.topology_theory.separation_axioms
- mathcomp.analysis.lebesgue_integral_theory.lebesgue_integral_differentiation
- mathcomp.analysis.normedtype_theory.pseudometric_normed_Zmodule
- mathcomp.analysis.normedtype_theory.matrix_normedtype
- mathcomp.analysis.normedtype_theory.normed_module
- mathcomp.analysis.sequences
Source code (pSource code : T) := open `&` nbhs p.
Global Instance nbhs_pfilterUsed by
- mathcomp.analysis.topology_theory.function_spaces
Source code (pSource code : T) : ProperFilter (nbhs p).
Proof.
Lemma nbhs_filterUsed by
- mathcomp.analysis.topology_theory.function_spaces
- mathcomp.analysis.topology_theory.subspace_topology
- mathcomp.analysis.ftc
- mathcomp.analysis.homotopy_theory.wedge_sigT
- mathcomp.analysis.realfun
- mathcomp.analysis.normedtype_theory.urysohn
Source code (pSource code : T) : Filter (nbhs p).
Proof.
Canonical nbhs_filter_on
Used by
- mathcomp.analysis.derive.derive_matrix
Source code (xSource code : T) := FilterType (nbhs x) (@nbhs_filter x).
Lemma nbhs_singletonUsed by
- mathcomp.analysis.topology_theory.function_spaces
- mathcomp.analysis.topology_theory.matrix_topology
- mathcomp.analysis.topology_theory.num_topology
- mathcomp.analysis.topology_theory.edist
- mathcomp.analysis.topology_theory.uniform_structure
- mathcomp.analysis.topology_theory.product_topology
- mathcomp.analysis.topology_theory.compact
- mathcomp.analysis.topology_theory.supremum_topology
- mathcomp.analysis.topology_theory.subspace_topology
- mathcomp.analysis.topology_theory.sigT_topology
- mathcomp.analysis.topology_theory.separation_axioms
- mathcomp.analysis.topology_theory.one_point_compactification
- mathcomp.analysis.lebesgue_integral_theory.lebesgue_integral_differentiation
- mathcomp.analysis.exp
- mathcomp.analysis.cantor
- mathcomp.analysis.derive.derivative_lemmas
- mathcomp.analysis.derive.differential
- mathcomp.analysis.realfun
- mathcomp.analysis.normedtype_theory.pseudometric_normed_Zmodule
- mathcomp.analysis.normedtype_theory.matrix_normedtype
- mathcomp.analysis.normedtype_theory.normed_module
- mathcomp.analysis.normedtype_theory.tvs
- mathcomp.analysis.normedtype_theory.urysohn
- mathcomp.analysis.normedtype_theory.ereal_normedtype
- mathcomp.analysis.elementary_functions.trigonometry_functions
- mathcomp.analysis.sequences
Source code (pSource code : T) (ASource code : set T) : nbhs p A -> A p.
Proof.
Lemma open_nbhs_memUsed by
- mathcomp.analysis.lebesgue_integral_theory.lebesgue_integral_differentiation
- mathcomp.analysis.normedtype_theory.matrix_normedtype
- mathcomp.analysis.normedtype_theory.normed_module
- mathcomp.analysis.normedtype_theory.tvs
- mathcomp.analysis.sequences
Source code (pSource code : T) (ASource code : set T) : open_nbhs p A = (open A /\ A p).
Proof.
apply/propext; split => [[oA /nbhs_singleton//]|[oA Ap]].
by split=> //; rewrite nbhsE/=; exists A.
Qed.
by split=> //; rewrite nbhsE/=; exists A.
Qed.
Definition interior
Used by
- mathcomp.analysis.topology_theory.function_spaces
- mathcomp.analysis.topology_theory.num_topology
- mathcomp.analysis.topology_theory.discrete_topology
- mathcomp.analysis.topology_theory.order_topology
- mathcomp.analysis.topology_theory.product_topology
- mathcomp.analysis.topology_theory.initial_topology
- mathcomp.analysis.topology_theory.compact
- mathcomp.analysis.topology_theory.supremum_topology
- mathcomp.analysis.topology_theory.subspace_topology
- mathcomp.analysis.topology_theory.sigT_topology
- mathcomp.analysis.topology_theory.subtype_topology
- mathcomp.analysis.topology_theory.metric_structure
- mathcomp.analysis.topology_theory.separation_axioms
- mathcomp.analysis.cantor
- mathcomp.analysis.real_measure.lebesgue_measure
- mathcomp.analysis.real_measure.measurable_realfun
- mathcomp.analysis.normedtype_theory.pseudometric_normed_Zmodule
- mathcomp.analysis.normedtype_theory.normed_module
- mathcomp.analysis.normedtype_theory.tvs
- mathcomp.analysis.normedtype_theory.urysohn
Source code (ASource code : set T) := (@nbhs _ _ T)^~ A.
#[deprecated(since="mathcomp-analysis 1.20.0", note="remove: true by definition, shouldn't be needed")]
Lemma open_nbhsESource code (pSource code : T) (ASource code : set T) : open_nbhs p A = (open A /\ nbhs p A).
Proof.
by []. Qed.
Local Notation "A °"Source code := (interior A).
Lemma interior_subsetUsed by
- mathcomp.analysis.topology_theory.function_spaces
- mathcomp.analysis.topology_theory.num_topology
- mathcomp.analysis.topology_theory.compact
- mathcomp.analysis.topology_theory.supremum_topology
- mathcomp.analysis.topology_theory.subspace_topology
- mathcomp.analysis.topology_theory.separation_axioms
- mathcomp.analysis.cantor
- mathcomp.analysis.derive.derivative_lemmas
- mathcomp.analysis.real_measure.lebesgue_measure
- mathcomp.analysis.real_measure.measurable_realfun
- mathcomp.analysis.normedtype_theory.normed_module
- mathcomp.analysis.normedtype_theory.tvs
- mathcomp.analysis.normedtype_theory.urysohn
- mathcomp.analysis.sequences
Source code (ASource code : set T) : A° `<=` A.
Lemma openEUsed by
- mathcomp.analysis.topology_theory.function_spaces
- mathcomp.analysis.topology_theory.num_topology
- mathcomp.analysis.topology_theory.discrete_topology
- mathcomp.analysis.topology_theory.order_topology
- mathcomp.analysis.topology_theory.product_topology
- mathcomp.analysis.topology_theory.initial_topology
- mathcomp.analysis.topology_theory.supremum_topology
- mathcomp.analysis.topology_theory.subspace_topology
- mathcomp.analysis.topology_theory.sigT_topology
- mathcomp.analysis.topology_theory.subtype_topology
- mathcomp.analysis.topology_theory.metric_structure
- mathcomp.analysis.topology_theory.separation_axioms
- mathcomp.analysis.topology_theory.one_point_compactification
- mathcomp.analysis.lebesgue_integral_theory.lebesgue_integral_differentiation
- mathcomp.analysis.cantor
- mathcomp.analysis.normedtype_theory.pseudometric_normed_Zmodule
- mathcomp.analysis.normedtype_theory.normed_module
- mathcomp.analysis.normedtype_theory.tvs
- mathcomp.analysis.normedtype_theory.urysohn
- mathcomp.analysis.normedtype_theory.ereal_normedtype
Source code : open = [set ASource code : set T | A `<=` A°].
Proof.
Lemma nbhs_interiorUsed by
- mathcomp.analysis.topology_theory.matrix_topology
- mathcomp.analysis.topology_theory.uniform_structure
- mathcomp.analysis.topology_theory.product_topology
- mathcomp.analysis.topology_theory.subspace_topology
- mathcomp.analysis.topology_theory.pseudometric_structure
- mathcomp.analysis.topology_theory.separation_axioms
- mathcomp.analysis.lebesgue_integral_theory.lebesgue_integral_differentiation
- mathcomp.analysis.cantor
- mathcomp.analysis.real_measure.lebesgue_measure
- mathcomp.analysis.normedtype_theory.normed_module
- mathcomp.analysis.normedtype_theory.tvs
- mathcomp.analysis.normedtype_theory.ereal_normedtype
Source code (pSource code : T) (ASource code : set T) : nbhs p A -> nbhs p A°.
Proof.
Lemma open0Used by
- mathcomp.analysis.topology_theory.subspace_topology
- mathcomp.analysis.real_measure.lebesgue_measure
- mathcomp.analysis.normedtype_theory.normed_module
- mathcomp.analysis.normedtype_theory.ereal_normedtype
Source code : open (set0 : set T).
Proof.
Lemma openTUsed by
- mathcomp.analysis.topology_theory.function_spaces
- mathcomp.analysis.topology_theory.order_topology
- mathcomp.analysis.topology_theory.quotient_topology
- mathcomp.analysis.topology_theory.initial_topology
- mathcomp.analysis.lebesgue_integral_theory.lebesgue_integral_differentiation
- mathcomp.analysis.ftc
- mathcomp.analysis.probability_theory.normal_distribution
- mathcomp.analysis.real_measure.lebesgue_measure
- mathcomp.analysis.real_measure.measurable_realfun
- mathcomp.analysis.normedtype_theory.ereal_normedtype
- mathcomp.analysis.normedtype_theory.num_normedtype
- mathcomp.analysis.sequences
Source code : open (setT : set T).
Lemma openIUsed by
- mathcomp.analysis.topology_theory.function_spaces
- mathcomp.analysis.topology_theory.order_topology
- mathcomp.analysis.topology_theory.quotient_topology
- mathcomp.analysis.topology_theory.initial_topology
- mathcomp.analysis.topology_theory.subspace_topology
- mathcomp.analysis.topology_theory.separation_axioms
- mathcomp.analysis.homotopy_theory.wedge_sigT
- mathcomp.analysis.borel_hierarchy
- mathcomp.analysis.normedtype_theory.num_normedtype
- mathcomp.analysis.sequences
Source code : setI_closed (@open _ T).
Proof.
Lemma bigcup_openUsed by
- mathcomp.analysis.topology_theory.function_spaces
- mathcomp.analysis.topology_theory.order_topology
- mathcomp.analysis.topology_theory.quotient_topology
- mathcomp.analysis.topology_theory.initial_topology
- mathcomp.analysis.topology_theory.subspace_topology
- mathcomp.analysis.topology_theory.separation_axioms
- mathcomp.analysis.real_measure.lebesgue_measure
- mathcomp.analysis.normedtype_theory.urysohn
- mathcomp.analysis.normedtype_theory.ereal_normedtype
- mathcomp.analysis.normedtype_theory.num_normedtype
- mathcomp.analysis.sequences
Source code (ISource code : Type) (DSource code : set I) (fSource code : I -> set T) :
(forall iSource code, D i -> open (f i)) -> open (\bigcup_(iSource code in D) f i).
Proof.
Lemma bigcap_openSource code (FSource code : (set T) ^nat) :
(forall iSource code, open (F i)) ->
forall iSource code, open (\bigcap_(jSource code < i) F j).
Proof.
move=> HU; elim; [rewrite bigcap_mkord big_ord0; apply: openT|move=> n IH].
by rewrite bigcap_mkord big_ord_recr -bigcap_mkord; exact: openI.
Qed.
by rewrite bigcap_mkord big_ord_recr -bigcap_mkord; exact: openI.
Qed.
Lemma openUUsed by
- mathcomp.analysis.topology_theory.order_topology
- mathcomp.analysis.topology_theory.subspace_topology
- mathcomp.analysis.topology_theory.separation_axioms
- mathcomp.analysis.normedtype_theory.normed_module
- mathcomp.analysis.normedtype_theory.num_normedtype
Source code : setU_closed (@open _ T).
Lemma open_subsetEUsed by
- mathcomp.analysis.normedtype_theory.normed_module
- mathcomp.analysis.normedtype_theory.num_normedtype
Source code (ASource code BSource code : set T) : open A -> (A `<=` B) = (A `<=` B°).
Proof.
rewrite openE => Aop; rewrite propeqE; split.
by move=> sAB p Ap; apply: filterS sAB _; apply: Aop.
by move=> sAB p /sAB /interior_subset.
Qed.
by move=> sAB p Ap; apply: filterS sAB _; apply: Aop.
by move=> sAB p /sAB /interior_subset.
Qed.
Lemma open_interiorUsed by
- mathcomp.analysis.topology_theory.function_spaces
- mathcomp.analysis.topology_theory.uniform_structure
- mathcomp.analysis.topology_theory.compact
- mathcomp.analysis.topology_theory.supremum_topology
- mathcomp.analysis.topology_theory.subspace_topology
- mathcomp.analysis.topology_theory.pseudometric_structure
- mathcomp.analysis.topology_theory.separation_axioms
- mathcomp.analysis.cantor
- mathcomp.analysis.derive.derivative_lemmas
- mathcomp.analysis.real_measure.measurable_realfun
- mathcomp.analysis.normedtype_theory.normed_module
- mathcomp.analysis.normedtype_theory.tvs
- mathcomp.analysis.normedtype_theory.urysohn
- mathcomp.analysis.sequences
Source code (ASource code : set T) : open A°.
Proof.
rewrite openE => p; rewrite /interior nbhsE => - [B [Bop Bp]].
by rewrite open_subsetE //; exists B.
Qed.
by rewrite open_subsetE //; exists B.
Qed.
Lemma interior_bigcupSource code ISource code (DSource code : set I) (fSource code : I -> set T) :
\bigcup_(iSource code in D) (f i)° `<=` (\bigcup_(iSource code in D) f i)°.
Proof.
Lemma open_nbhsTSource code (pSource code : T) : open_nbhs p setT.
Proof.
Lemma open_nbhsIUsed by
- mathcomp.analysis.normedtype_theory.tvs
Source code (pSource code : T) : setI_closed (open_nbhs p).
Proof.
#[deprecated(since="mathcomp-analysis 1.20.0", note="remove: true by definition, shouldn't be needed")]
Lemma open_nbhs_nbhsSource code (pSource code : T) (ASource code : set T) : open_nbhs p A -> nbhs p A.
Proof.
by case. Qed.
Lemma open_mem_nbhsUsed by
- mathcomp.analysis.topology_theory.function_spaces
- mathcomp.analysis.topology_theory.discrete_topology
- mathcomp.analysis.topology_theory.edist
- mathcomp.analysis.topology_theory.order_topology
- mathcomp.analysis.topology_theory.connected
- mathcomp.analysis.topology_theory.initial_topology
- mathcomp.analysis.topology_theory.compact
- mathcomp.analysis.topology_theory.sigT_topology
- mathcomp.analysis.topology_theory.separation_axioms
- mathcomp.analysis.real_measure.measurable_realfun
- mathcomp.analysis.homotopy_theory.wedge_sigT
- mathcomp.analysis.normedtype_theory.pseudometric_normed_Zmodule
- mathcomp.analysis.normedtype_theory.normed_module
- mathcomp.analysis.normedtype_theory.tvs
- mathcomp.analysis.normedtype_theory.urysohn
Source code (pSource code : T) (ASource code : set T) : open A -> A p -> nbhs p A.
Proof.
Lemma interiorISource code (ASource code BSource code : set T) : (A `&` B)° = A° `&` B°.
Proof.
End Topological1.
Lemma open_in_nearWUsed by
- mathcomp.analysis.ftc
Source code {dSource code} {TSource code : topologicalType d} (PSource code : T -> Prop) (SSource code : set T) :
open S -> {in S, forall xSource code, P x} -> {in S, forall xSource code, \forall x0Source code \near x, P x0}.
Proof.
#[global] Hint Extern 0 (Filter (nbhs _)) =>
solve [apply: nbhs_filter] : typeclass_instances.
#[global] Hint Extern 0 (ProperFilter (nbhs _)) =>
solve [apply: nbhs_pfilter] : typeclass_instances.
Global Instance alias_nbhs_filterSource code dSource code {TSource code : topologicalType d} xSource code :
@Filter T^o (@nbhs _ T^o T x).
Proof.
Global Instance alias_nbhs_pfilterSource code dSource code {TSource code : topologicalType d} xSource code :
@ProperFilter T^o (@nbhs _ T^o T x).
Proof.
Reserved Notation "A ^°" (at level 1, format "A ^°").
Notation "A °"Source code := (@interior _ _ A) (only parsing)
: classical_set_scope.
Lemma continuousPUsed by
- mathcomp.analysis.topology_theory.function_spaces
- mathcomp.analysis.topology_theory.quotient_topology
- mathcomp.analysis.topology_theory.initial_topology
- mathcomp.analysis.topology_theory.subspace_topology
- mathcomp.analysis.real_measure.measurable_realfun
Source code dSource code (SSource code : topologicalType d) d'Source code (TSource code : topologicalType d')
(fSource code : S -> T) :
continuous f <-> forall ASource code, open A -> open (f @^-1` A).
Proof.
split=> fcont; first by rewrite !openE => A Aop ? /Aop /fcont.
move=> s A; rewrite nbhs_simpl /= !nbhsE => - [B [Bop Bfs] sBA].
by exists (f @^-1` B); [split=> //; apply/fcont|move=> ? /sBA].
Qed.
move=> s A; rewrite nbhs_simpl /= !nbhsE => - [B [Bop Bfs] sBA].
by exists (f @^-1` B); [split=> //; apply/fcont|move=> ? /sBA].
Qed.
Lemma open_compUsed by
- mathcomp.analysis.topology_theory.function_spaces
- mathcomp.analysis.topology_theory.sigT_topology
- mathcomp.analysis.cantor
- mathcomp.analysis.homotopy_theory.wedge_sigT
- mathcomp.analysis.normedtype_theory.urysohn
- mathcomp.analysis.sequences
Source code {dSource code} {TSource code : topologicalType d} {d'Source code} {USource code : topologicalType d'}
(fSource code : T -> U) (DSource code : set U) :
{in f @^-1` D, continuous f} -> open D -> open (f @^-1` D).
Lemma cvg_fmapSource code {dSource code} {TSource code: topologicalType d} {d'Source code} {USource code : topologicalType d'}
(FSource code : set_system T) xSource code (fSource code : T -> U) :
{for x, continuous f} -> F --> x -> f @ F --> f x.
Proof.
by move=> cf fx P /cf /fx. Qed.
Lemma near_joinUsed by
- mathcomp.analysis.derive.derivative_lemmas
Source code dSource code (TSource code : topologicalType d) (xSource code : T) (PSource code : set T) :
(\forall x0Source code \near x, P x0) -> \forall x0Source code \near x, \forall x1Source code \near x0, P x1.
Proof.
Lemma near_bindSource code dSource code (TSource code : topologicalType d) (PSource code QSource code : set T) (xSource code : T) :
(\forall x0Source code \near x, (\forall x1Source code \near x, P x1) -> Q x0) ->
(\forall x0Source code \near x, P x0) ->
\forall x0Source code \near x, Q x0.
Proof.
limit composition
Lemma continuous_cvgUsed by
- mathcomp.analysis.measure_theory.signed_measure
- mathcomp.analysis.gauss_integral
- mathcomp.analysis.normedtype_theory.pseudometric_normed_Zmodule
- mathcomp.analysis.normedtype_theory.normed_module
- mathcomp.analysis.sequences
Source code {TSource code : Type} dSource code {VSource code : topologicalType d}
d'Source code {USource code : topologicalType d'} (FSource code : set_system T) (FFSource code : Filter F)
(fSource code : T -> V) (hSource code : V -> U) (aSource code : V) :
{for a, continuous h} ->
f @ F --> a -> (h \o f) @ F --> h a.
Lemma continuous_is_cvgSource code {TSource code : Type} {dSource code} {VSource code : ptopologicalType d}
{d'Source code} {USource code : ptopologicalType d'} [FSource code : set_system T]
(FFSource code : Filter F) (fSource code : T -> V) (hSource code : V -> U) :
(forall lSource code, f x @[xSource code --> F] --> l -> {for l, continuous h}) ->
cvg (f x @[xSource code --> F]) -> cvg ((h \o f) x @[xSource code --> F]).
Proof.
move=> ach /cvg_ex[l fxl]; apply/cvg_ex; exists (h l).
by apply: continuous_cvg => //; exact: ach.
Qed.
by apply: continuous_cvg => //; exact: ach.
Qed.
Lemma continuous2_cvgUsed by
- mathcomp.analysis.topology_theory.function_spaces
- mathcomp.analysis.topology_theory.order_topology
- mathcomp.analysis.normedtype_theory.pseudometric_normed_Zmodule
- mathcomp.analysis.normedtype_theory.normed_module
- mathcomp.analysis.normedtype_theory.tvs
Source code TSource code
{d1Source code} {VSource code : topologicalType d1} {d2Source code} {WSource code : topologicalType d2}
{d3Source code} {USource code : topologicalType d3} (FSource code : set_system T) (FFSource code : Filter F)
(fSource code : T -> V) (gSource code : T -> W) (hSource code : V -> W -> U) (aSource code : V) (bSource code : W) :
h z.1 z.2 @[zSource code --> (a, b)] --> h a b ->
f @ F --> a -> g @ F --> b -> (fun xSource code => h (f x) (g x)) @ F --> h a b.
Proof.
Lemma continuous_comp_cvgUsed by
- mathcomp.analysis.ftc
Source code
{d1Source code} {TSource code : topologicalType d1} {d2Source code} {VSource code : topologicalType d2}
{d3Source code} {USource code : topologicalType d3} (fSource code : T -> V) (hSource code : V -> U) (rSource code : T) (lSource code : U) :
{for f r, continuous h} ->
(h \o f) x @[xSource code --> r] --> l -> h x @[xSource code --> f r] --> l.
Proof.
Lemma cvg_near_cstUsed by
- mathcomp.analysis.topology_theory.separation_axioms
- mathcomp.analysis.lebesgue_integral_theory.lebesgue_integrable
- mathcomp.analysis.exp
- mathcomp.analysis.measure_theory.measure_extension
- mathcomp.analysis.realfun
- mathcomp.analysis.normedtype_theory.normed_module
- mathcomp.analysis.sequences
Source code TSource code dSource code (USource code : topologicalType d)
(lSource code : U) (fSource code : T -> U) (FSource code : set_system T) {FFSource code : Filter F} :
(\forall xSource code \near F, f x = l) -> f @ F --> l.
Proof.
move=> fFl P /=; rewrite !near_simpl => Pl.
by apply: filterS fFl => _ ->; exact: nbhs_singleton.
Qed.
by apply: filterS fFl => _ ->; exact: nbhs_singleton.
Qed.
Lemma is_cvg_near_cstUsed by
- mathcomp.analysis.exp
- mathcomp.analysis.derive.derivative
Source code TSource code dSource code (USource code : ptopologicalType d)
(lSource code : U) (fSource code : T -> U) (FSource code : set_system T) {FFSource code : Filter F} :
(\forall xSource code \near F, f x = l) -> cvg (f @ F).
Proof.
Lemma near_cst_continuousUsed by
- mathcomp.analysis.realfun
Source code dSource code (TSource code : topologicalType d)
d'Source code (USource code : topologicalType d') (lSource code : U) (fSource code : T -> U) (xSource code : T) :
(\forall ySource code \near x, f y = l) -> {for x, continuous f}.
Proof.
move=> eq_f_l; apply: cvg_near_cst; apply: filterS (eq_f_l) => y ->.
by rewrite (nbhs_singleton eq_f_l).
Qed.
by rewrite (nbhs_singleton eq_f_l).
Qed.
Lemma cvg_cstUsed by
- mathcomp.analysis.topology_theory.edist
- mathcomp.analysis.lebesgue_integral_theory.radon_nikodym
- mathcomp.analysis.ftc
- mathcomp.analysis.probability_theory.beta_distribution
- mathcomp.analysis.normedtype_theory.pseudometric_normed_Zmodule
- mathcomp.analysis.normedtype_theory.normed_module
- mathcomp.analysis.normedtype_theory.tvs
- mathcomp.analysis.normedtype_theory.ereal_normedtype
Source code dSource code (USource code : topologicalType d) (xSource code : U) (TSource code : Type)
(FSource code : set_system T) {FFSource code : Filter F} :
(fun _ : T => x) @ F --> x.
Proof.
#[global] Hint Extern 0 (_ @ _ --> _) => solve [apply: cvg_cst] : core.
Lemma is_cvg_cstUsed by
- mathcomp.analysis.sequences
Source code {dSource code} {USource code : ptopologicalType d} (xSource code : U) {TSource code : Type}
(FSource code : set_system T) {FFSource code : Filter F} :
cvg ((fun _ : T => x) @ F).
Arguments is_cvg_cst {d U} x {T F FF}.
#[global] Hint Extern 0 (cvg (_ @ _)) => solve [apply: is_cvg_cst] : core.
#[global] Hint Extern 0 (cvgn (_ @ _)) => solve [apply: is_cvg_cst] : core.
Lemma cst_continuousUsed by
- mathcomp.analysis.topology_theory.subspace_topology
- mathcomp.analysis.lebesgue_integral_theory.measurable_fun_approximation
- mathcomp.analysis.ftc
- mathcomp.analysis.probability_theory.exponential_distribution
- mathcomp.analysis.probability_theory.normal_distribution
- mathcomp.analysis.exp
- mathcomp.analysis.cantor
- mathcomp.analysis.derive.differential
- mathcomp.analysis.gauss_integral
- mathcomp.analysis.realfun
- mathcomp.analysis.normedtype_theory.pseudometric_normed_Zmodule
- mathcomp.analysis.normedtype_theory.normed_module
- mathcomp.analysis.normedtype_theory.tvs
- mathcomp.analysis.normedtype_theory.urysohn
- mathcomp.analysis.elementary_functions.trigonometry_functions
- mathcomp.analysis.numfun
Source code {dSource code} {TSource code : topologicalType d}
{d'Source code} {USource code : topologicalType d'} (xSource code : U) :
continuous (fun _ : T => x).
Proof.
Lemma id_continuousUsed by
- mathcomp.analysis.ftc
Source code {dSource code} {TSource code : topologicalType d} : continuous (@id T).
Proof.
Section within_topologicalType.
Context {dSource code} {TSource code : topologicalType d} (ASource code : set T).
Implicit Types B : set T.
Lemma within_nbhsWUsed by
Source code (xSource code : T) : A x -> within A (nbhs x) `=>` globally A.
Definition locally_of
Source code (PSource code : set_system T -> Prop) & phantom Prop (P (globally A))
:= forall xSource code, A x -> P (within A (nbhs x)).
Local Notation "[ 'locally' P ]"Source code := (@locally_of _ _ _ (Phantom _ P)).
Lemma within_interiorUsed by
Source code (xSource code : T) : A° x -> within A (nbhs x) = nbhs x.
Lemma within_subsetUsed by
Source code BSource code FSource code : Filter F -> A `<=` B -> within A F `=>` within B F.
Lemma withinEUsed by
Source code FSource code : Filter F ->
within A F = [set USource code | exists2 VSource code, F V & U `&` A = V `&` A].
Lemma fmap_within_eqUsed by
Source code {d'Source code} {SSource code : topologicalType d'}
(FSource code : set_system T) (fSource code gSource code : T -> S) :
Filter F -> {in A, f =1 g} -> f @ within A F --> g @ within A F.
End within_topologicalType.
Context {dSource code} {TSource code : topologicalType d} (ASource code : set T).
Implicit Types B : set T.
Lemma within_nbhsWUsed by
- mathcomp.analysis.normedtype_theory.normed_module
Source code (xSource code : T) : A x -> within A (nbhs x) `=>` globally A.
Proof.
Definition locally_of
Source code (PSource code : set_system T -> Prop) & phantom Prop (P (globally A))
:= forall xSource code, A x -> P (within A (nbhs x)).
Local Notation "[ 'locally' P ]"Source code := (@locally_of _ _ _ (Phantom _ P)).
Lemma within_interiorUsed by
- mathcomp.analysis.topology_theory.subspace_topology
- mathcomp.analysis.normedtype_theory.num_normedtype
Source code (xSource code : T) : A° x -> within A (nbhs x) = nbhs x.
Proof.
move=> Aox; rewrite eqEsubset; split; last exact: cvg_within.
rewrite nbhsE => W /= => [[B + BsubW]].
rewrite -open_nbhs_mem => -[oB nbhsB].
exists (B `&` A°); last by move=> t /= [] /BsubW + /interior_subset; apply.
rewrite -open_nbhs_mem.
split; first by apply: openI => //; exact: open_interior.
by apply: filterI => //; have := open_interior A; rewrite openE; exact.
Qed.
rewrite nbhsE => W /= => [[B + BsubW]].
rewrite -open_nbhs_mem => -[oB nbhsB].
exists (B `&` A°); last by move=> t /= [] /BsubW + /interior_subset; apply.
rewrite -open_nbhs_mem.
split; first by apply: openI => //; exact: open_interior.
by apply: filterI => //; have := open_interior A; rewrite openE; exact.
Qed.
Lemma within_subsetUsed by
- mathcomp.analysis.topology_theory.num_topology
- mathcomp.analysis.topology_theory.subspace_topology
- mathcomp.analysis.derive.derivative_lemmas
- mathcomp.analysis.realfun
- mathcomp.analysis.normedtype_theory.num_normedtype
Source code BSource code FSource code : Filter F -> A `<=` B -> within A F `=>` within B F.
Proof.
move=> FF AsubB W; rewrite /within/=; apply: filter_app; rewrite nbhs_simpl.
by apply: filterE => ? + ?; apply; exact: AsubB.
Qed.
by apply: filterE => ? + ?; apply; exact: AsubB.
Qed.
Lemma withinEUsed by
- mathcomp.analysis.topology_theory.uniform_structure
- mathcomp.analysis.topology_theory.subspace_topology
- mathcomp.analysis.topology_theory.subtype_topology
Source code FSource code : Filter F ->
within A F = [set USource code | exists2 VSource code, F V & U `&` A = V `&` A].
Proof.
move=> FF; rewrite eqEsubset; split=> U.
move=> Wu; exists [set xSource code | A x -> U x] => //.
by rewrite eqEsubset; split => t [L R]; split=> //; apply: L.
move=> [V FV AU]; rewrite /within /prop_near1 nbhs_simpl/=; near=> w => Aw.
by have []// : (U `&` A) w; rewrite AU; split => //; apply: (near FV).
Unshelve. all: by end_near. Qed.
move=> Wu; exists [set xSource code | A x -> U x] => //.
by rewrite eqEsubset; split => t [L R]; split=> //; apply: L.
move=> [V FV AU]; rewrite /within /prop_near1 nbhs_simpl/=; near=> w => Aw.
by have []// : (U `&` A) w; rewrite AU; split => //; apply: (near FV).
Unshelve. all: by end_near. Qed.
Lemma fmap_within_eqUsed by
- mathcomp.analysis.topology_theory.subspace_topology
Source code {d'Source code} {SSource code : topologicalType d'}
(FSource code : set_system T) (fSource code gSource code : T -> S) :
Filter F -> {in A, f =1 g} -> f @ within A F --> g @ within A F.
Proof.
move=> FF feq U /=; near_simpl; apply: filter_app.
rewrite ?nbhs_simpl; near_simpl; near=> w; rewrite (feq w) // inE.
exact: (near (withinT A FF) w).
Unshelve. all: by end_near. Qed.
rewrite ?nbhs_simpl; near_simpl; near=> w; rewrite (feq w) // inE.
exact: (near (withinT A FF) w).
Unshelve. all: by end_near. Qed.
End within_topologicalType.
Notation "[ 'locally' P ]"Source code := (@locally_of _ _ _ _ (Phantom _ P)).
Topology defined by a filter
HBSource code.factorySource code RecordSource code Nbhs_isNbhsTopologicalSource code dSource code TSource code &Source code NbhsSource code d T := {
nbhs_filter : forall pSource code : T, ProperFilter (nbhs p);
nbhs_singleton : forall (pSource code : T) (ASource code : set T), nbhs p A -> A p;
nbhs_nbhs : forall (pSource code : T) (ASource code : set T), nbhs p A -> nbhs p (nbhs^~ A);
}.
HBSource code.buildersSource code ContextSource code dSource code TSource code &Source code Nbhs_isNbhsTopologicalSource code d T.
Definition open_of_nbhs
Source code := [set ASource code : set T | A `<=` nbhs^~ A].
Let nbhsE_subproofSource code (pSource code : T) :
nbhs p = [set ASource code | exists2 BSource code, open_of_nbhs B /\ B p & B `<=` A ].
Proof.
rewrite predeqE => A; split=> [p_A|]; last first.
move=> [B [Bop Bp sBA]]; apply: filterS sBA _; last exact: Bop.
exact/nbhs_filter.
exists (nbhs^~ A); first by split=> // ?; exact: nbhs_nbhs.
by move=> q /nbhs_singleton.
Qed.
move=> [B [Bop Bp sBA]]; apply: filterS sBA _; last exact: Bop.
exact/nbhs_filter.
exists (nbhs^~ A); first by split=> // ?; exact: nbhs_nbhs.
by move=> q /nbhs_singleton.
Qed.
Let openE_subproofSource code : open_of_nbhs = [set ASource code : set T | A `<=` nbhs^~ A].
Proof.
by []. Qed.
HBSource code.instanceSource code DefinitionSource code _Source code :=Source code Nbhs_isTopologicalSource code.Build d T
nbhs_filter nbhsE_subproof openE_subproof.
HBSource code.endSource code.
Topology defined by open sets
Definition nbhs_of_open
Used by
- mathcomp.analysis.normedtype_theory.tvs
Source code (TSource code : Type) (opSource code : set_system T) (pSource code : T) (ASource code : set T) :=
exists BSource code, [/\ op B, B p & B `<=` A].
HBSource code.factorySource code RecordSource code isOpenTopologicalSource code (dSource code :Source code filter_displaySource code) T & Choice T := {
op : set_system T ;
opT : op setT ;
opI : setI_closed op ;
op_bigU : forall (ISource code : Type) (fSource code : I -> set T), (forall iSource code, op (f i)) ->
op (\bigcup_iSource code f i)
}.
HBSource code.buildersSource code ContextSource code dSource code TSource code &Source code isOpenTopologicalSource code d T.
HBSource code.instanceSource code DefinitionSource code _Source code :=Source code hasNbhsSource code.Build d T (nbhs_of_open op).
Let nbhs_pfilter_subproofSource code (pSource code : T) : ProperFilter (nbhs p).
Proof.
apply: Build_ProperFilter_ex.
by move=> A [B [_ Bp sBA]]; exists p; apply: sBA.
split; first by exists setT; split=> [|//|//]; exact: opT.
move=> A B [C [Cop Cp sCA]] [D [Dop Dp sDB]].
exists (C `&` D); split=> //; first exact: opI.
by move=> q [/sCA Aq /sDB Bq].
move=> A B sAB [C [Cop p_C sCA]].
by exists C; split=> //; apply: subset_trans sAB.
Qed.
by move=> A [B [_ Bp sBA]]; exists p; apply: sBA.
split; first by exists setT; split=> [|//|//]; exact: opT.
move=> A B [C [Cop Cp sCA]] [D [Dop Dp sDB]].
exists (C `&` D); split=> //; first exact: opI.
by move=> q [/sCA Aq /sDB Bq].
move=> A B sAB [C [Cop p_C sCA]].
by exists C; split=> //; apply: subset_trans sAB.
Qed.
Let nbhsE_subproofSource code (pSource code : T) :
nbhs p = [set ASource code | exists2 BSource code, op B /\ B p & B `<=` A].
Proof.
Let openE_subproofSource code : op = [set ASource code : set T | A `<=` nbhs^~ A].
Proof.
rewrite predeqE => A; split=> [Aop p Ap|Aop].
by exists A; split=> //; split.
suff -> : A = \bigcup_(BSource code : {BSource code : set T & op B /\ B `<=` A}) projT1 B.
by apply: op_bigU => B; have [] := projT2 B.
rewrite predeqE => p; split=> [|[B _ Bp]]; last by have [_] := projT2 B; apply.
by move=> /Aop [B [Bop Bp sBA]]; exists (existT _ B (conj Bop sBA)).
Qed.
by exists A; split=> //; split.
suff -> : A = \bigcup_(BSource code : {BSource code : set T & op B /\ B `<=` A}) projT1 B.
by apply: op_bigU => B; have [] := projT2 B.
rewrite predeqE => p; split=> [|[B _ Bp]]; last by have [_] := projT2 B; apply.
by move=> /Aop [B [Bop Bp sBA]]; exists (existT _ B (conj Bop sBA)).
Qed.
HBSource code.instanceSource code DefinitionSource code _Source code :=Source code Nbhs_isTopologicalSource code.Build d T
nbhs_pfilter_subproof nbhsE_subproof openE_subproof.
HBSource code.endSource code.
Definition openU_from
Source code (TSource code : Type) (ISource code : Type) (DSource code : set I) (bSource code : I -> set T) :=
[set \bigcup_(iSource code in D') b i | D'Source code in subset^~ D].
#[deprecated(since="mathcomp-analysis 1.17.0", use=openU_from)]
Notation open_fromSource code := openU_from (only parsing).
Topology defined by a base of open sets
HBSource code.factorySource code RecordSource code isBaseTopologicalSource code (dSource code :Source code filter_displaySource code) T & Choice T := {
I : choiceType ;
D : set I ;
b : I -> set T ;
b_cover : \bigcup_(iSource code in D) b i = setT ;
b_join : forall iSource code jSource code tSource code, D i -> D j -> b i t -> b j t ->
exists kSource code, [/\ D k, b k t & b k `<=` b i `&` b j]
}.
HBSource code.buildersSource code ContextSource code dSource code TSource code &Source code isBaseTopologicalSource code d T.
Local Notation openU_fromSource code := (openU_from D b).
Let openU_fromTSource code : openU_from setT.
Let openU_fromISource code : setI_closed openU_from.
Proof.
move=> A B [DA sDAD AeUbA] [DB sDBD BeUbB].
case: (pselectT I) => [/setF_eq0 h0|point].
by exists set0 => //; rewrite -AeUbA -BeUbB !h0 !bigcup_set0 setI0.
have ABU t : (A `&` B) t ->
exists itSource code, [/\ D it, b it t & b it `<=` A `&` B].
move=> [At Bt].
have [iA [DiA biAt sbiA]] : exists iSource code, [/\ D i, b i t & b i `<=` A].
move: At; rewrite -AeUbA => - [i DAi bit]; exists i.
by split => //; [exact: sDAD|exact: bigcup_sup].
have [iB [DiB biBt sbiB]] : exists iSource code, [/\ D i, b i t & b i `<=` B].
move: Bt; rewrite -BeUbB => - [i DBi bit]; exists i.
by split=> //; [exact: sDBD|exact: bigcup_sup].
have [i [Di bit sbiAB]] := b_join DiA DiB biAt biBt.
by exists i; split=> // s /sbiAB [/sbiA ? /sbiB].
set Dt := fun tSource code => [set itSource code | [/\ D it, b it t & b it `<=` A `&` B]].
exists [set xget point (Dt t) | tSource code in A `&` B].
by move=> _ [t ABt <-]; have /ABU/(xgetPex point) [] := ABt.
rewrite predeqE => t; split=> [[_ [s ABs <-] bDtst]|ABt].
by have /ABU/(xgetPex point) [_ _] := ABs; exact.
by exists (xget point (Dt t)); [exists t| have /ABU/(xgetPex point) [?]:= ABt].
Qed.
case: (pselectT I) => [/setF_eq0 h0|point].
by exists set0 => //; rewrite -AeUbA -BeUbB !h0 !bigcup_set0 setI0.
have ABU t : (A `&` B) t ->
exists itSource code, [/\ D it, b it t & b it `<=` A `&` B].
move=> [At Bt].
have [iA [DiA biAt sbiA]] : exists iSource code, [/\ D i, b i t & b i `<=` A].
move: At; rewrite -AeUbA => - [i DAi bit]; exists i.
by split => //; [exact: sDAD|exact: bigcup_sup].
have [iB [DiB biBt sbiB]] : exists iSource code, [/\ D i, b i t & b i `<=` B].
move: Bt; rewrite -BeUbB => - [i DBi bit]; exists i.
by split=> //; [exact: sDBD|exact: bigcup_sup].
have [i [Di bit sbiAB]] := b_join DiA DiB biAt biBt.
by exists i; split=> // s /sbiAB [/sbiA ? /sbiB].
set Dt := fun tSource code => [set itSource code | [/\ D it, b it t & b it `<=` A `&` B]].
exists [set xget point (Dt t) | tSource code in A `&` B].
by move=> _ [t ABt <-]; have /ABU/(xgetPex point) [] := ABt.
rewrite predeqE => t; split=> [[_ [s ABs <-] bDtst]|ABt].
by have /ABU/(xgetPex point) [_ _] := ABs; exact.
by exists (xget point (Dt t)); [exists t| have /ABU/(xgetPex point) [?]:= ABt].
Qed.
Let openU_from_bigUSource code (I0Source code : Type) (fSource code : I0 -> set T) :
(forall iSource code, openU_from (f i)) -> openU_from (\bigcup_iSource code f i).
Proof.
set fop := fun jSource code => [set DjSource code | Dj `<=` D /\ f j = \bigcup_(iSource code in Dj) b i].
exists (\bigcup_jSource code get (fop j)).
move=> i [j _ fopji].
suff /getPex [/(_ _ fopji)] : exists DjSource code, fop j Dj by [].
by have [Dj] := H j; exists Dj.
rewrite predeqE => t; split=> [[i [j _ fopji bit]]|[j _]].
exists j => //; suff /getPex [_ ->] : exists DjSource code, fop j Dj by exists i.
by have [Dj] := H j; exists Dj.
have /getPex [_ ->] : exists DjSource code, fop j Dj by have [Dj] := H j; exists Dj.
by move=> [i]; exists i => //; exists j.
Qed.
exists (\bigcup_jSource code get (fop j)).
move=> i [j _ fopji].
suff /getPex [/(_ _ fopji)] : exists DjSource code, fop j Dj by [].
by have [Dj] := H j; exists Dj.
rewrite predeqE => t; split=> [[i [j _ fopji bit]]|[j _]].
exists j => //; suff /getPex [_ ->] : exists DjSource code, fop j Dj by exists i.
by have [Dj] := H j; exists Dj.
have /getPex [_ ->] : exists DjSource code, fop j Dj by have [Dj] := H j; exists Dj.
by move=> [i]; exists i => //; exists j.
Qed.
HBSource code.instanceSource code DefinitionSource code _Source code :=Source code isOpenTopologicalSource code.Build d T
openU_fromT openU_fromI openU_from_bigU.
HBSource code.endSource code.
HBSource code.factorySource code RecordSource code isSubBaseTopologicalSource code (dSource code :Source code filter_displaySource code) T & Choice T := {
I : choiceType ;
D : set I ;
b : I -> set T
}.
HBSource code.buildersSource code ContextSource code dSource code TSource code &Source code isSubBaseTopologicalSource code d T.
Local Notation finI_fromSource code := (open_finI_from D b).
Let finI_from_coverSource code : \bigcup_(ASource code in finI_from) A = setT.
Proof.
Let finI_from_joinSource code ASource code BSource code tSource code : finI_from A -> finI_from B -> A t -> B t ->
exists kSource code, [/\ finI_from k, k t & k `<=` A `&` B].
Proof.
move=> [DA sDAD AeIbA] [DB sDBD BeIbB] At Bt.
exists (A `&` B); split => //.
exists (DA `|` DB)%fset; first by move=> i /fsetUP [/sDAD|/sDBD].
rewrite predeqE => s; split=> [Ifs|[As Bs] i /fsetUP].
split; first by rewrite -AeIbA => i DAi; apply: Ifs; rewrite /= inE DAi.
by rewrite -BeIbB => i DBi; apply: Ifs; rewrite /= inE DBi orbC.
by move=> [DAi|DBi];
[have := As; rewrite -AeIbA; apply|have := Bs; rewrite -BeIbB; apply].
Qed.
exists (A `&` B); split => //.
exists (DA `|` DB)%fset; first by move=> i /fsetUP [/sDAD|/sDBD].
rewrite predeqE => s; split=> [Ifs|[As Bs] i /fsetUP].
split; first by rewrite -AeIbA => i DAi; apply: Ifs; rewrite /= inE DAi.
by rewrite -BeIbB => i DBi; apply: Ifs; rewrite /= inE DBi orbC.
by move=> [DAi|DBi];
[have := As; rewrite -AeIbA; apply|have := Bs; rewrite -BeIbB; apply].
Qed.
HBSource code.instanceSource code DefinitionSource code _Source code :=Source code isBaseTopologicalSource code.Build d T
finI_from_cover finI_from_join.
HBSource code.endSource code.
Deleted neighborhood:
Definition dnbhsUsed by
- mathcomp.analysis.topology_theory.uniform_structure
- mathcomp.analysis.topology_theory.pseudometric_structure
- mathcomp.analysis.normedtype_theory.num_normedtype
Source code {dSource code} {TSource code : topologicalType d} (xSource code : T) :=
within (fun ySource code => y != x) (nbhs x).
Notation "x ^'"Source code := (dnbhs x) : classical_set_scope.
Lemma nbhs_dnbhs_neqSource code {dSource code} {TSource code : topologicalType d} (pSource code : T) :
\forall xSource code \near nbhs p^', x != p.
Proof.
#[global] Hint Extern 0 (\forall xSource code \near nbhs _^', is_true (x != _)) =>
solve [apply: nbhs_dnbhs_neq] : core.
Lemma nbhs_dnbhsUsed by
- mathcomp.analysis.derive.derivative_lemmas
Source code {dSource code} {TSource code : topologicalType d} (xSource code : T) : x^' `=>` nbhs x.
Proof.
Lemma dnbhsEUsed by
- mathcomp.analysis.derive.derivative
Source code dSource code (TSource code : topologicalType d) (xSource code : T) :
nbhs x = x^' `&` principal_filter x.
Proof.
rewrite predeqE => A; split=> [x_A|[+ Ax]].
by split; [exact: nbhs_dnbhs|apply/principal_filterP; exact: nbhs_singleton].
rewrite /dnbhs !nbhsE => -[B [oB x_B sBA]]; exists B => //.
by move=> y /sBA Ay; case: (eqVneq y x) => [->|//]; exact/principal_filterP.
Qed.
by split; [exact: nbhs_dnbhs|apply/principal_filterP; exact: nbhs_singleton].
rewrite /dnbhs !nbhsE => -[B [oB x_B sBA]]; exists B => //.
by move=> y /sBA Ay; case: (eqVneq y x) => [->|//]; exact/principal_filterP.
Qed.
Global Instance dnbhs_filterSource code {dSource code} {TSource code : topologicalType d} (xSource code : T) : Filter x^'.
Proof.
Canonical dnbhs_filter_on
Used by
- mathcomp.analysis.derive.derivative
Source code {dSource code} (TSource code : topologicalType d) (xSource code : T) :=
FilterType x^' (dnbhs_filter _).
Lemma cvg_fmap2Used by
- mathcomp.analysis.topology_theory.subspace_topology
Source code (TSource code USource code : Type) (fSource code : T -> U):
forall (FSource code GSource code : set_system T), G `=>` F -> f @ G `=>` f @ F.
Proof.
Lemma cvg_within_filterUsed by
- mathcomp.analysis.topology_theory.num_topology
- mathcomp.analysis.derive.derivative_lemmas
- mathcomp.analysis.real_measure.lebesgue_stieltjes_measure
- mathcomp.analysis.realfun
Source code {TSource code USource code} {fSource code : T -> U} (FSource code : set_system T) {FFSource code : (Filter F) }
(GSource code : set_system U) (DSource code : set T) : (f @ F) --> G -> (f @ within D F) --> G.
Proof.
Lemma cvg_app_withinSource code {TSource code} {dSource code} {USource code : ptopologicalType d}
(fSource code : T -> U) (FSource code : set_system T) (DSource code : set T) :
Filter F -> cvg (f @ F) -> cvg (f @ within D F).
Proof.
meets
Lemma meets_openrUsed by
- mathcomp.analysis.topology_theory.compact
- mathcomp.analysis.topology_theory.separation_axioms
Source code {dSource code} {TSource code : topologicalType d} (FSource code : set_system T) (xSource code : T) :
F `#` nbhs x = F `#` open_nbhs x.
Proof.
rewrite propeqE; split; [by apply/meetsSr; exact: subIsetr|].
move=> P A B {}/P P; rewrite nbhsE/= => -[B'].
by rewrite -open_nbhs_mem => /P + sB; exact: subsetI_neq0.
Qed.
move=> P A B {}/P P; rewrite nbhsE/= => -[B'].
by rewrite -open_nbhs_mem => /P + sB; exact: subsetI_neq0.
Qed.
Lemma meets_openlUsed by
- mathcomp.analysis.topology_theory.separation_axioms
Source code {dSource code} {TSource code : topologicalType d} (FSource code : set_system T) (xSource code : T) :
nbhs x `#` F = open_nbhs x `#` F.
Proof.
Closed sets in topological spaces
Section Closed.
Context {dSource code} {TSource code : topologicalType d}.
Definition closure
Used by
Source code (ASource code : set T) :=
[set pSource code : T | forall BSource code, nbhs p B -> A `&` B !=set0].
Lemma closureEnbhsUsed by
Source code ASource code : closure A = [set pSource code | globally A `#` nbhs p].
Lemma closureEonbhsUsed by
Source code ASource code : closure A = [set pSource code | globally A `#` open_nbhs p].
Lemma subset_closureUsed by
Source code (ASource code : set T) : A `<=` closure A.
Lemma closure_eq0Used by
Source code (ASource code : set T) : closure A = set0 -> A = set0.
Lemma closureIUsed by
Source code (ASource code BSource code : set T) : closure (A `&` B) `<=` closure A `&` closure B.
Definition limit_point
Used by
Source code ESource code := [set tSource code : T |
forall USource code, nbhs t U -> exists ySource code, [/\ y != t, E y & U y]].
Lemma limit_pointEnbhsSource code ESource code :
limit_point E = [set pSource code | globally (E `\ p) `#` nbhs p].
Lemma limit_pointEonbhsSource code ESource code :
limit_point E = [set pSource code | globally (E `\ p) `#` open_nbhs p].
Lemma subset_limit_pointSource code ESource code : limit_point E `<=` closure E.
Lemma not_limit_pointEUsed by
Source code ASource code aSource code : (~ limit_point A a) =
exists2 XSource code : set T, nbhs a X & A `&` X `<=` [set a].
Definition isolated
Used by
Source code (ASource code : set T) (xSource code : T) :=
x \in A /\ exists2 VSource code, nbhs x V & V `&` A = [set x].
Lemma isolatedSSource code (ASource code : set T) : isolated A `<=` A.
Lemma disjoint_isolated_limit_pointSource code (ASource code : set T) :
[disjoint isolated A & limit_point A].
Lemma closure_isolated_limit_pointUsed by
Source code (ASource code : set T) :
closure A = isolated A `|` limit_point A.
Lemma __deprecated__closure_limit_pointSource code ESource code : closure E = E `|` limit_point E.
Definition closed
Used by
Source code (DSource code : set T) := closure D `<=` D.
Lemma open_closedCUsed by
Source code (DSource code : set T) : open D -> closed (~` D).
Lemma closed_bigISource code {ISource code} (DSource code : set I) (fSource code : I -> set T) :
(forall iSource code, D i -> closed (f i)) -> closed (\bigcap_(iSource code in D) f i).
Lemma closedIUsed by
Source code : setI_closed closed.
Lemma closedTUsed by
Source code : closed setT
Lemma closed0Used by
Source code : closed set0.
Lemma closedEUsed by
Source code : closed = [set ASource code : set T | forall pSource code, ~ (\forall xSource code \near p, ~ A x) -> A p].
Lemma closed_openCUsed by
Source code (DSource code : set T) : closed D -> open (~` D).
Lemma closedCUsed by
Source code (DSource code : set T) : closed (~` D) = open D.
Lemma openCUsed by
Source code (DSource code : set T) : open (~` D) = closed D.
Lemma closed_closureUsed by
Source code (ASource code : set T) : closed (closure A).
End Closed.
#[deprecated(since="mathcomp-analysis 1.15.0", note="use `closure_isolated_limit_point` instead")]Context {dSource code} {TSource code : topologicalType d}.
Definition closure
Used by
- mathcomp.analysis.topology_theory.function_spaces
- mathcomp.analysis.topology_theory.num_topology
- mathcomp.analysis.topology_theory.order_topology
- mathcomp.analysis.topology_theory.uniform_structure
- mathcomp.analysis.topology_theory.connected
- mathcomp.analysis.topology_theory.compact
- mathcomp.analysis.topology_theory.subspace_topology
- mathcomp.analysis.topology_theory.pseudometric_structure
- mathcomp.analysis.topology_theory.separation_axioms
- mathcomp.analysis.cantor
- mathcomp.analysis.real_measure.lebesgue_measure
- mathcomp.analysis.normedtype_theory.pseudometric_normed_Zmodule
- mathcomp.analysis.normedtype_theory.normed_module
- mathcomp.analysis.normedtype_theory.tvs
- mathcomp.analysis.normedtype_theory.urysohn
- mathcomp.analysis.normedtype_theory.vitali_lemma
Source code (ASource code : set T) :=
[set pSource code : T | forall BSource code, nbhs p B -> A `&` B !=set0].
Lemma closureEnbhsUsed by
- mathcomp.analysis.topology_theory.compact
Source code ASource code : closure A = [set pSource code | globally A `#` nbhs p].
Proof.
Lemma closureEonbhsUsed by
- mathcomp.analysis.topology_theory.separation_axioms
Source code ASource code : closure A = [set pSource code | globally A `#` open_nbhs p].
Proof.
Lemma subset_closureUsed by
- mathcomp.analysis.topology_theory.function_spaces
- mathcomp.analysis.topology_theory.num_topology
- mathcomp.analysis.topology_theory.order_topology
- mathcomp.analysis.topology_theory.connected
- mathcomp.analysis.topology_theory.compact
- mathcomp.analysis.topology_theory.subspace_topology
- mathcomp.analysis.topology_theory.pseudometric_structure
- mathcomp.analysis.topology_theory.separation_axioms
- mathcomp.analysis.cantor
- mathcomp.analysis.real_measure.lebesgue_measure
- mathcomp.analysis.normedtype_theory.pseudometric_normed_Zmodule
- mathcomp.analysis.normedtype_theory.normed_module
- mathcomp.analysis.normedtype_theory.tvs
- mathcomp.analysis.normedtype_theory.urysohn
Source code (ASource code : set T) : A `<=` closure A.
Proof.
Lemma closure_eq0Used by
- mathcomp.analysis.normedtype_theory.vitali_lemma
Source code (ASource code : set T) : closure A = set0 -> A = set0.
Proof.
Lemma closureIUsed by
- mathcomp.analysis.topology_theory.connected
- mathcomp.analysis.topology_theory.separation_axioms
- mathcomp.analysis.normedtype_theory.normed_module
Source code (ASource code BSource code : set T) : closure (A `&` B) `<=` closure A `&` closure B.
Proof.
by move=> p clABp; split=> ? /clABp [q [[]]]; exists q. Qed.
Definition limit_point
Used by
- mathcomp.analysis.topology_theory.separation_axioms
- mathcomp.analysis.normedtype_theory.normed_module
- mathcomp.analysis.sequences
Source code ESource code := [set tSource code : T |
forall USource code, nbhs t U -> exists ySource code, [/\ y != t, E y & U y]].
Lemma limit_pointEnbhsSource code ESource code :
limit_point E = [set pSource code | globally (E `\ p) `#` nbhs p].
Proof.
under eq_fun do rewrite meets_globallyl; rewrite funeqE => p /=.
apply/eq2_forall => x px; apply/eq_exists => y.
by rewrite propeqE; split => [[/eqP ? ?]|[[? /eqP ?]]]; do 2?split.
Qed.
apply/eq2_forall => x px; apply/eq_exists => y.
by rewrite propeqE; split => [[/eqP ? ?]|[[? /eqP ?]]]; do 2?split.
Qed.
Lemma limit_pointEonbhsSource code ESource code :
limit_point E = [set pSource code | globally (E `\ p) `#` open_nbhs p].
Proof.
Lemma subset_limit_pointSource code ESource code : limit_point E `<=` closure E.
Proof.
by move=> t Et U tU; have [p [? ? ?]] := Et _ tU; exists p. Qed.
Lemma not_limit_pointEUsed by
- mathcomp.analysis.topology_theory.separation_axioms
Source code ASource code aSource code : (~ limit_point A a) =
exists2 XSource code : set T, nbhs a X & A `&` X `<=` [set a].
Proof.
Definition isolated
Used by
- mathcomp.analysis.normedtype_theory.normed_module
Source code (ASource code : set T) (xSource code : T) :=
x \in A /\ exists2 VSource code, nbhs x V & V `&` A = [set x].
Lemma isolatedSSource code (ASource code : set T) : isolated A `<=` A.
Proof.
Lemma disjoint_isolated_limit_pointSource code (ASource code : set T) :
[disjoint isolated A & limit_point A].
Proof.
Lemma closure_isolated_limit_pointUsed by
- mathcomp.analysis.topology_theory.num_topology
Source code (ASource code : set T) :
closure A = isolated A `|` limit_point A.
Proof.
apply/seteqP; split=> [t At0|t [|]].
- rewrite /setU/= -implyNp => /not_andP[tA U /At0[x [Ux Ax]]|+ U tU].
by exists x; split => //; contra: tA => <-; exact/mem_set.
move/forall2NP => /(_ U)[//|/seteqP/not_andP[|]].
by contra => H x [Ux Ax]; apply/eqP/negPn/negP => /H /(_ Ax).
have [At tUA|At _] := pselect (A t).
by absurd: tUA => _ ->; split => //; exact: nbhs_singleton.
have [x [Ax Ux]] := At0 _ tU.
by exists x; split => //; contra: At => <-.
- by move/isolatedS; exact: subset_closure.
- exact: subset_limit_point.
Qed.
- rewrite /setU/= -implyNp => /not_andP[tA U /At0[x [Ux Ax]]|+ U tU].
by exists x; split => //; contra: tA => <-; exact/mem_set.
move/forall2NP => /(_ U)[//|/seteqP/not_andP[|]].
by contra => H x [Ux Ax]; apply/eqP/negPn/negP => /H /(_ Ax).
have [At tUA|At _] := pselect (A t).
by absurd: tUA => _ ->; split => //; exact: nbhs_singleton.
have [x [Ax Ux]] := At0 _ tU.
by exists x; split => //; contra: At => <-.
- by move/isolatedS; exact: subset_closure.
- exact: subset_limit_point.
Qed.
Lemma __deprecated__closure_limit_pointSource code ESource code : closure E = E `|` limit_point E.
Proof.
apply/seteqP; split => [|x]; last first.
by case; [exact: subset_closure|exact: subset_limit_point].
by rewrite closure_isolated_limit_point => x [/isolatedS|]; [left|right].
Qed.
by case; [exact: subset_closure|exact: subset_limit_point].
by rewrite closure_isolated_limit_point => x [/isolatedS|]; [left|right].
Qed.
Definition closed
Used by
- mathcomp.analysis.topology_theory.function_spaces
- mathcomp.analysis.topology_theory.num_topology
- mathcomp.analysis.topology_theory.discrete_topology
- mathcomp.analysis.topology_theory.edist
- mathcomp.analysis.topology_theory.order_topology
- mathcomp.analysis.topology_theory.connected
- mathcomp.analysis.topology_theory.compact
- mathcomp.analysis.topology_theory.subspace_topology
- mathcomp.analysis.topology_theory.pseudometric_structure
- mathcomp.analysis.topology_theory.separation_axioms
- mathcomp.analysis.topology_theory.one_point_compactification
- mathcomp.analysis.lebesgue_integral_theory.measurable_fun_approximation
- mathcomp.analysis.cantor
- mathcomp.analysis.real_measure.lebesgue_measure
- mathcomp.analysis.real_measure.measurable_realfun
- mathcomp.analysis.homotopy_theory.wedge_sigT
- mathcomp.analysis.borel_hierarchy
- mathcomp.analysis.normedtype_theory.pseudometric_normed_Zmodule
- mathcomp.analysis.normedtype_theory.matrix_normedtype
- mathcomp.analysis.normedtype_theory.normed_module
- mathcomp.analysis.normedtype_theory.tvs
- mathcomp.analysis.normedtype_theory.urysohn
- mathcomp.analysis.normedtype_theory.ereal_normedtype
- mathcomp.analysis.normedtype_theory.num_normedtype
- mathcomp.analysis.numfun
- mathcomp.analysis.functional_analysis.hahn_banach_theorem
- mathcomp.analysis.sequences
Source code (DSource code : set T) := closure D `<=` D.
Lemma open_closedCUsed by
- mathcomp.analysis.topology_theory.function_spaces
- mathcomp.analysis.topology_theory.connected
- mathcomp.analysis.topology_theory.compact
- mathcomp.analysis.topology_theory.subspace_topology
- mathcomp.analysis.topology_theory.separation_axioms
- mathcomp.analysis.real_measure.lebesgue_measure
- mathcomp.analysis.normedtype_theory.urysohn
- mathcomp.analysis.normedtype_theory.ereal_normedtype
- mathcomp.analysis.normedtype_theory.num_normedtype
Source code (DSource code : set T) : open D -> closed (~` D).
Proof.
Lemma closed_bigISource code {ISource code} (DSource code : set I) (fSource code : I -> set T) :
(forall iSource code, D i -> closed (f i)) -> closed (\bigcap_(iSource code in D) f i).
Proof.
move=> fcl t clft i Di; have /fcl := Di; apply.
by move=> A /clft [s [/(_ i Di)]]; exists s.
Qed.
by move=> A /clft [s [/(_ i Di)]]; exists s.
Qed.
Lemma closedIUsed by
- mathcomp.analysis.topology_theory.order_topology
- mathcomp.analysis.topology_theory.connected
- mathcomp.analysis.topology_theory.subspace_topology
- mathcomp.analysis.topology_theory.separation_axioms
- mathcomp.analysis.cantor
- mathcomp.analysis.real_measure.lebesgue_measure
- mathcomp.analysis.normedtype_theory.num_normedtype
Source code : setI_closed closed.
Proof.
by move=> D E Dcl Ecl p clDEp; split; [apply: Dcl|apply: Ecl];
move=> A /clDEp [q [[]]]; exists q.
Qed.
move=> A /clDEp [q [[]]]; exists q.
Qed.
Lemma closedTUsed by
- mathcomp.analysis.topology_theory.function_spaces
- mathcomp.analysis.cantor
Source code : closed setT
Proof.
by []. Qed.
Lemma closed0Used by
- mathcomp.analysis.topology_theory.connected
- mathcomp.analysis.topology_theory.one_point_compactification
- mathcomp.analysis.lebesgue_integral_theory.measurable_fun_approximation
- mathcomp.analysis.cantor
- mathcomp.analysis.normedtype_theory.num_normedtype
Source code : closed set0.
Lemma closedEUsed by
- mathcomp.analysis.topology_theory.num_topology
Source code : closed = [set ASource code : set T | forall pSource code, ~ (\forall xSource code \near p, ~ A x) -> A p].
Proof.
rewrite predeqE => A; split=> Acl p; last first.
by move=> clAp; apply: Acl => /clAp [? []].
rewrite -nbhs_nearE nbhsE => /asboolP.
rewrite asbool_neg => /forallp_asboolPn2 clAp.
apply: Acl => B; rewrite nbhsE => - [C [oC pC]].
have /asboolP := clAp C.
rewrite asbool_or 2!asbool_neg => /orP[/asboolP/not_andP[]//|/existsp_asboolPn [q]].
move/asboolP; rewrite asbool_neg => /imply_asboolPn[+ /contrapT Aq sCB] => /sCB.
by exists q.
Qed.
by move=> clAp; apply: Acl => /clAp [? []].
rewrite -nbhs_nearE nbhsE => /asboolP.
rewrite asbool_neg => /forallp_asboolPn2 clAp.
apply: Acl => B; rewrite nbhsE => - [C [oC pC]].
have /asboolP := clAp C.
rewrite asbool_or 2!asbool_neg => /orP[/asboolP/not_andP[]//|/existsp_asboolPn [q]].
move/asboolP; rewrite asbool_neg => /imply_asboolPn[+ /contrapT Aq sCB] => /sCB.
by exists q.
Qed.
Lemma closed_openCUsed by
- mathcomp.analysis.topology_theory.function_spaces
- mathcomp.analysis.topology_theory.connected
- mathcomp.analysis.topology_theory.compact
- mathcomp.analysis.topology_theory.subspace_topology
- mathcomp.analysis.topology_theory.separation_axioms
- mathcomp.analysis.topology_theory.one_point_compactification
- mathcomp.analysis.real_measure.measurable_realfun
- mathcomp.analysis.homotopy_theory.wedge_sigT
- mathcomp.analysis.normedtype_theory.pseudometric_normed_Zmodule
- mathcomp.analysis.normedtype_theory.normed_module
- mathcomp.analysis.normedtype_theory.urysohn
Source code (DSource code : set T) : closed D -> open (~` D).
Lemma closedCUsed by
- mathcomp.analysis.topology_theory.discrete_topology
- mathcomp.analysis.topology_theory.edist
- mathcomp.analysis.topology_theory.order_topology
- mathcomp.analysis.topology_theory.connected
Source code (DSource code : set T) : closed (~` D) = open D.
Proof.
Lemma openCUsed by
- mathcomp.analysis.topology_theory.function_spaces
- mathcomp.analysis.topology_theory.subspace_topology
- mathcomp.analysis.topology_theory.separation_axioms
- mathcomp.analysis.borel_hierarchy
- mathcomp.analysis.normedtype_theory.normed_module
- mathcomp.analysis.normedtype_theory.urysohn
Source code (DSource code : set T) : open (~` D) = closed D.
Lemma closed_closureUsed by
- mathcomp.analysis.topology_theory.function_spaces
- mathcomp.analysis.topology_theory.connected
- mathcomp.analysis.topology_theory.compact
- mathcomp.analysis.topology_theory.subspace_topology
- mathcomp.analysis.topology_theory.pseudometric_structure
- mathcomp.analysis.topology_theory.separation_axioms
- mathcomp.analysis.cantor
- mathcomp.analysis.real_measure.lebesgue_measure
- mathcomp.analysis.normedtype_theory.normed_module
- mathcomp.analysis.normedtype_theory.tvs
- mathcomp.analysis.normedtype_theory.urysohn
Source code (ASource code : set T) : closed (closure A).
Proof.
End Closed.
Notation closure_limit_pointSource code := __deprecated__closure_limit_point (only parsing).
Lemma preimage_closedUsed by
- mathcomp.analysis.topology_theory.subspace_topology
- mathcomp.analysis.normedtype_theory.normed_module
- mathcomp.analysis.numfun
Source code {dSource code} {TSource code : topologicalType d} {d'Source code} {USource code : topologicalType d'}
(fSource code : T -> U) (DSource code : set U) :
{in ~` f @^-1` D, continuous f} -> closed D -> closed (f @^-1` D).
Proof.
rewrite !closedE => f_continuous D_cl x /= xDf.
apply: D_cl; apply: contra_not xDf => fxD.
have NDfx : ~ D (f x).
by move: fxD; rewrite -nbhs_nearE nbhsE => - [A [? ?]]; exact.
by apply: f_continuous fxD; rewrite inE.
Qed.
apply: D_cl; apply: contra_not xDf => fxD.
have NDfx : ~ D (f x).
by move: fxD; rewrite -nbhs_nearE nbhsE => - [A [? ?]]; exact.
by apply: f_continuous fxD; rewrite inE.
Qed.
Notation closed_compSource code := preimage_closed (only parsing).
Lemma closed_cvgUsed by
- mathcomp.analysis.cantor
- mathcomp.analysis.measure_theory.signed_measure
- mathcomp.analysis.normedtype_theory.normed_module
- mathcomp.analysis.normedtype_theory.ereal_normedtype
- mathcomp.analysis.sequences
Source code {TSource code dSource code} {VSource code : topologicalType d} {FSource code} {FFSource code : ProperFilter F}
(u_Source code : T -> V) (ASource code : V -> Prop) :
closed A -> (\forall nSource code \near F, A (u_ n)) ->
forall lSource code, u_ @ F --> l -> A l.
Proof.
move=> + FAu_ l u_Fl; apply => B /u_Fl /=; rewrite nbhs_filterE.
by move=> /(filterI FAu_) => /filter_ex[t [Au_t u_Bt]]; exists (u_ t).
Qed.
by move=> /(filterI FAu_) => /filter_ex[t [Au_t u_Bt]]; exists (u_ t).
Qed.
Lemma continuous_closedPUsed by
- mathcomp.analysis.topology_theory.subspace_topology
- mathcomp.analysis.normedtype_theory.tvs
Source code dSource code (SSource code : topologicalType d) d'Source code (TSource code : topologicalType d')
(fSource code : S -> T) :
continuous f <-> forall ASource code, closed A -> closed (f @^-1` A).
Proof.
rewrite continuousP; split=> ctsf ? ?.
by rewrite -openC preimage_setC; apply: ctsf; rewrite openC.
by rewrite -closedC preimage_setC; apply: ctsf; rewrite closedC.
Qed.
by rewrite -openC preimage_setC; apply: ctsf; rewrite openC.
by rewrite -closedC preimage_setC; apply: ctsf; rewrite closedC.
Qed.
Lemma closedUUsed by
- mathcomp.analysis.topology_theory.subspace_topology
- mathcomp.analysis.topology_theory.separation_axioms
- mathcomp.analysis.topology_theory.one_point_compactification
- mathcomp.analysis.lebesgue_integral_theory.measurable_fun_approximation
Source code dSource code (TSource code : topologicalType d) : setU_closed (@closed _ T).
Lemma bigsetU_closedUsed by
- mathcomp.analysis.topology_theory.separation_axioms
Source code {dSource code} {TSource code : topologicalType d} {ISource code : eqType} (sSource code : seq I)
(FSource code : I -> set T) : (forall xSource code, x \in s -> closed (F x)) ->
closed (\big[setU/set0]_(xSource code <- s) F x).
Proof.
Notation closed_bigsetUSource code := bigsetU_closed (only parsing).
Lemma bigcup_closedUsed by
- mathcomp.analysis.real_measure.lebesgue_measure
Source code {dSource code} {TSource code : topologicalType d} {ISource code : choiceType} (ASource code : set I)
(FSource code : I -> set T) :
finite_set A -> (forall iSource code, A i -> closed (F i)) ->
closed (\bigcup_(iSource code in A) F i).
Proof.
move=> finA cF; rewrite -bigsetU_fset_set//; apply: bigsetU_closed => i.
by rewrite in_fset_set// inE; exact: cF.
Qed.
by rewrite in_fset_set// inE; exact: cF.
Qed.
Notation closed_bigcupSource code := bigcup_closed (only parsing).
Section closure_lemmas.
Context {dSource code} {TSource code : topologicalType d}.
Implicit Types E A B U : set T.
Lemma closureSUsed by
Source code ASource code BSource code : A `<=` B -> closure A `<=` closure B.
#[deprecated(since="mathcomp-analysis 1.16.0", note="Use `closureS` instead.")]
Definition closure_subset
Source code := closureS.
Lemma closureEUsed by
Source code ASource code : closure A = smallest closed A.
Lemma closure_idUsed by
Source code ESource code : closed E <-> E = closure E.
End closure_lemmas.
Context {dSource code} {TSource code : topologicalType d}.
Implicit Types E A B U : set T.
Lemma closureSUsed by
- mathcomp.analysis.topology_theory.function_spaces
- mathcomp.analysis.topology_theory.num_topology
- mathcomp.analysis.topology_theory.connected
- mathcomp.analysis.topology_theory.compact
- mathcomp.analysis.topology_theory.subspace_topology
- mathcomp.analysis.topology_theory.pseudometric_structure
- mathcomp.analysis.topology_theory.separation_axioms
- mathcomp.analysis.ftc
- mathcomp.analysis.cantor
- mathcomp.analysis.normedtype_theory.pseudometric_normed_Zmodule
- mathcomp.analysis.normedtype_theory.tvs
- mathcomp.analysis.normedtype_theory.urysohn
Source code ASource code BSource code : A `<=` B -> closure A `<=` closure B.
Proof.
#[deprecated(since="mathcomp-analysis 1.16.0", note="Use `closureS` instead.")]
Definition closure_subset
Source code := closureS.
Lemma closureEUsed by
- mathcomp.analysis.topology_theory.function_spaces
- mathcomp.analysis.topology_theory.order_topology
- mathcomp.analysis.topology_theory.subspace_topology
- mathcomp.analysis.normedtype_theory.pseudometric_normed_Zmodule
- mathcomp.analysis.normedtype_theory.normed_module
Source code ASource code : closure A = smallest closed A.
Proof.
rewrite eqEsubset; split=> [x ? B [cB AB]|]; first exact/cB/(closureS AB).
by apply: smallest_sub; [exact: closed_closure|exact: subset_closure].
Qed.
by apply: smallest_sub; [exact: closed_closure|exact: subset_closure].
Qed.
Lemma closure_idUsed by
- mathcomp.analysis.topology_theory.function_spaces
- mathcomp.analysis.topology_theory.num_topology
- mathcomp.analysis.topology_theory.order_topology
- mathcomp.analysis.topology_theory.connected
- mathcomp.analysis.topology_theory.compact
- mathcomp.analysis.topology_theory.subspace_topology
- mathcomp.analysis.topology_theory.separation_axioms
- mathcomp.analysis.cantor
- mathcomp.analysis.normedtype_theory.urysohn
Source code ESource code : closed E <-> E = closure E.
Proof.
split=> [?|->]; last exact: closed_closure.
by rewrite eqEsubset; split => //; exact: subset_closure.
Qed.
by rewrite eqEsubset; split => //; exact: subset_closure.
Qed.
End closure_lemmas.
Section perfect_sets.
Context {dSource code : filter_display}.
Implicit Types (T : topologicalType d).
Definition perfect_set
Used by
Source code {TSource code} (ASource code : set T) := closed A /\ limit_point A = A.
Lemma perfectPSource code {TSource code} (ASource code : set T) :
perfect_set A <-> closed A /\ isolated A = set0.
Lemma perfectTPUsed by
Source code {TSource code} : perfect_set [set: T] <-> forall xSource code : T, ~ open [set x].
Lemma perfectTP_exUsed by
Source code {TSource code} : perfect_set [set: T] <->
forall USource code : set T, open U -> U !=set0 ->
exists xSource code ySource code, [/\ U x, U y & x != y] .
End perfect_sets.
Context {dSource code : filter_display}.
Implicit Types (T : topologicalType d).
Definition perfect_set
Used by
- mathcomp.analysis.topology_theory.function_spaces
- mathcomp.analysis.cantor
Source code {TSource code} (ASource code : set T) := closed A /\ limit_point A = A.
Lemma perfectPSource code {TSource code} (ASource code : set T) :
perfect_set A <-> closed A /\ isolated A = set0.
Proof.
split=> [[cA limA]|[cA isoA]]; have := closure_isolated_limit_point A.
- move=> /(congr1 (fun xSource code => x `\` limit_point A)).
rewrite setUDK.
by apply/disj_setPS; rewrite disj_set_sym disjoint_isolated_limit_point.
by rewrite limA -(closure_id A).1// setDv.
- by rewrite isoA set0U -(closure_id A).1.
Qed.
- move=> /(congr1 (fun xSource code => x `\` limit_point A)).
rewrite setUDK.
by apply/disj_setPS; rewrite disj_set_sym disjoint_isolated_limit_point.
by rewrite limA -(closure_id A).1// setDv.
- by rewrite isoA set0U -(closure_id A).1.
Qed.
Lemma perfectTPUsed by
- mathcomp.analysis.topology_theory.function_spaces
Source code {TSource code} : perfect_set [set: T] <-> forall xSource code : T, ~ open [set x].
Proof.
split.
case=> _; rewrite eqEsubset; case=> _ + x Ox => /(_ x I [set x]).
by move=> /(_ (open_mem_nbhs Ox erefl))[y [+ _]] => /[swap] -> /eqP.
move=> NOx; split; [exact: closedT |]; rewrite eqEsubset; split => x // _.
move=> U; rewrite nbhsE; case=> V [] oV Vx VU.
have Vnx: V != [set x] by apply/eqP => M; apply: (NOx x); rewrite -M.
have /existsNP [y /existsNP [Vy Ynx]] : ~ forall ySource code, V y -> y = x.
move/negP: Vnx; apply: contra_not => Vxy; apply/eqP; rewrite eqEsubset.
by split => // ? ->.
by exists y; split => //; [exact/eqP | exact: VU].
Qed.
case=> _; rewrite eqEsubset; case=> _ + x Ox => /(_ x I [set x]).
by move=> /(_ (open_mem_nbhs Ox erefl))[y [+ _]] => /[swap] -> /eqP.
move=> NOx; split; [exact: closedT |]; rewrite eqEsubset; split => x // _.
move=> U; rewrite nbhsE; case=> V [] oV Vx VU.
have Vnx: V != [set x] by apply/eqP => M; apply: (NOx x); rewrite -M.
have /existsNP [y /existsNP [Vy Ynx]] : ~ forall ySource code, V y -> y = x.
move/negP: Vnx; apply: contra_not => Vxy; apply/eqP; rewrite eqEsubset.
by split => // ? ->.
by exists y; split => //; [exact/eqP | exact: VU].
Qed.
Lemma perfectTP_exUsed by
- mathcomp.analysis.cantor
Source code {TSource code} : perfect_set [set: T] <->
forall USource code : set T, open U -> U !=set0 ->
exists xSource code ySource code, [/\ U x, U y & x != y] .
Proof.
apply: (iff_trans perfectTP); split.
move=> nx1 U oU [] x Ux; exists x.
have : U <> [set x] by move=> Ux1; apply: (nx1 x); rewrite -Ux1.
apply: contra_notP => /not_existsP/contrapT=> Uyx; rewrite eqEsubset.
by split => [y Uy|? ->//]; have /not_and3P[//|//|/negP/negPn/eqP] := Uyx y.
move=> Unxy x Ox; have [] := Unxy _ Ox; first by exists x.
by move=> y [] ? [->] -> /eqP.
Qed.
move=> nx1 U oU [] x Ux; exists x.
have : U <> [set x] by move=> Ux1; apply: (nx1 x); rewrite -Ux1.
apply: contra_notP => /not_existsP/contrapT=> Uyx; rewrite eqEsubset.
by split => [y Uy|? ->//]; have /not_and3P[//|//|/negP/negPn/eqP] := Uyx y.
move=> Unxy x Ox; have [] := Unxy _ Ox; first by exists x.
by move=> y [] ? [->] -> /eqP.
Qed.
End perfect_sets.
Section regular_open_closed.
Context {dSource code} {TSource code : topologicalType d}.
Definition regopen
Source code (ASource code : set T) := (closure A)° = A.
Definition regclosed
Source code (ASource code : set T) := closure (A°) = A.
End regular_open_closed.
Context {dSource code} {TSource code : topologicalType d}.
Definition regopen
Source code (ASource code : set T) := (closure A)° = A.
Definition regclosed
Source code (ASource code : set T) := closure (A°) = A.
End regular_open_closed.
Section closure_interior_lemmas.
Context {dSource code} {TSource code : topologicalType d}.
Implicit Types (A B : set T).
Lemma interiorCUsed by
Source code ASource code : (~` A)° = ~` closure A.
Lemma closureCUsed by
Source code ASource code : closure (~` A) = ~` A°.
Lemma interiorSSource code ASource code BSource code : A `<=` B -> A° `<=` B°.
Lemma interior_idSource code ASource code : open A <-> interior A = A.
Lemma closureTUsed by
Source code : closure [set: T] = [set: T].
Lemma closure0Used by
Source code : closure (@set0 T) = set0.
Lemma interiorTUsed by
Source code : (@setT T)° = setT.
Lemma interior0Used by
Source code : (@set0 T)° = set0.
Lemma closureUUsed by
Source code ASource code BSource code : closure (A `|` B) = closure A `|` closure B.
Lemma interiorUSource code ASource code BSource code : A° `|` B° `<=` (A `|` B)°.
Lemma closureEbigcapSource code ASource code :
closure A = \bigcap_(xSource code in [set CSource code | closed C /\ A `<=` C]) x.
Lemma interiorEbigcupUsed by
Source code ASource code : A° = \bigcup_(xSource code in [set USource code | open U /\ U `<=` A]) x.
Lemma closureEbigcap_itvcySource code ASource code :
closure A = \bigcap_(xSource code in closed `&` `[A, +oo[) x.
Lemma interiorEbigcup_itvNycSource code ASource code : A° = \bigcup_(xSource code in open `&` `]-oo, A]) x.
Lemma closureEbigcap_itvccUsed by
Source code ASource code BSource code :
closed B -> A `<=` B -> closure A = \bigcap_(xSource code in closed `&` `[A, B]) x.
Lemma interiorEbigcup_itvccSource code ASource code BSource code :
open B -> B `<=` A -> A° = \bigcup_(xSource code in open `&` `[B, A]) x.
Lemma interior_closed_regopenSource code ASource code : closed A -> regopen A°.
Lemma closure_open_regclosedSource code ASource code : open A -> regclosed (closure A).
Lemma interior_closure_idemSource code :
@idempotent_fun (set T) (@interior _ _ \o @closure _ _).
Lemma closure_interior_idemSource code :
@idempotent_fun (set T) (@closure _ _ \o @interior _ _).
End closure_interior_lemmas.
#[deprecated(since="mathcomp-analysis 1.17.0", note="renamed to `closureC`")]Context {dSource code} {TSource code : topologicalType d}.
Implicit Types (A B : set T).
Lemma interiorCUsed by
- mathcomp.analysis.topology_theory.function_spaces
- mathcomp.analysis.topology_theory.connected
Source code ASource code : (~` A)° = ~` closure A.
Proof.
rewrite eqEsubset; split=> x; rewrite /closure /interior nbhsE /= -existsNE.
case=> U; rewrite -open_nbhs_mem => -[oU Ux] /disjoints_subset UA.
exists U; rewrite not_implyE; split => //.
by rewrite setIC UA; apply/set0P; rewrite eqxx.
case=> X; rewrite not_implyE nbhsE=> -[] -[] U xU UX AX0.
exists U => //; apply/(subset_trans UX)/disjoints_subset; rewrite setIC.
exact/eqP/negbNE/negP/set0P.
Qed.
case=> U; rewrite -open_nbhs_mem => -[oU Ux] /disjoints_subset UA.
exists U; rewrite not_implyE; split => //.
by rewrite setIC UA; apply/set0P; rewrite eqxx.
case=> X; rewrite not_implyE nbhsE=> -[] -[] U xU UX AX0.
exists U => //; apply/(subset_trans UX)/disjoints_subset; rewrite setIC.
exact/eqP/negbNE/negP/set0P.
Qed.
Lemma closureCUsed by
- mathcomp.analysis.topology_theory.num_topology
Source code ASource code : closure (~` A) = ~` A°.
Lemma interiorSSource code ASource code BSource code : A `<=` B -> A° `<=` B°.
Proof.
move=> AB x.
rewrite /interior nbhsE => -[] U oxU UA.
exists U => //; move: UA AB; exact: subset_trans.
Qed.
rewrite /interior nbhsE => -[] U oxU UA.
exists U => //; move: UA AB; exact: subset_trans.
Qed.
Lemma interior_idSource code ASource code : open A <-> interior A = A.
Proof.
Lemma closureTUsed by
- mathcomp.analysis.topology_theory.num_topology
Source code : closure [set: T] = [set: T].
Proof.
Lemma closure0Used by
- mathcomp.analysis.topology_theory.num_topology
- mathcomp.analysis.topology_theory.compact
- mathcomp.analysis.normedtype_theory.pseudometric_normed_Zmodule
Source code : closure (@set0 T) = set0.
Proof.
Lemma interiorTUsed by
- mathcomp.analysis.topology_theory.num_topology
- mathcomp.analysis.ftc
- mathcomp.analysis.normedtype_theory.num_normedtype
Source code : (@setT T)° = setT.
Proof.
Lemma interior0Used by
- mathcomp.analysis.topology_theory.num_topology
- mathcomp.analysis.normedtype_theory.num_normedtype
Source code : (@set0 T)° = set0.
Proof.
Lemma closureUUsed by
- mathcomp.analysis.topology_theory.num_topology
Source code ASource code BSource code : closure (A `|` B) = closure A `|` closure B.
Lemma interiorUSource code ASource code BSource code : A° `|` B° `<=` (A `|` B)°.
Lemma closureEbigcapSource code ASource code :
closure A = \bigcap_(xSource code in [set CSource code | closed C /\ A `<=` C]) x.
Proof.
Lemma interiorEbigcupUsed by
- mathcomp.analysis.topology_theory.function_spaces
- mathcomp.analysis.topology_theory.connected
Source code ASource code : A° = \bigcup_(xSource code in [set USource code | open U /\ U `<=` A]) x.
Proof.
apply: setC_inj; rewrite -closureC closureEbigcap setC_bigcup.
rewrite -[RHS](bigcap_image _ setC idfun) /=.
apply: eq_bigcapl; split => X /=.
by rewrite -openC -setCS setCK; exists (~` X)=> //; rewrite setCK.
by case=> Y + <-; rewrite closedC setCS.
Qed.
rewrite -[RHS](bigcap_image _ setC idfun) /=.
apply: eq_bigcapl; split => X /=.
by rewrite -openC -setCS setCK; exists (~` X)=> //; rewrite setCK.
by case=> Y + <-; rewrite closedC setCS.
Qed.
Lemma closureEbigcap_itvcySource code ASource code :
closure A = \bigcap_(xSource code in closed `&` `[A, +oo[) x.
Proof.
rewrite closureEbigcap; apply: eq_bigcapl.
by split => ? /=; rewrite in_itv/= -subsetEset andbT.
Qed.
by split => ? /=; rewrite in_itv/= -subsetEset andbT.
Qed.
Lemma interiorEbigcup_itvNycSource code ASource code : A° = \bigcup_(xSource code in open `&` `]-oo, A]) x.
Proof.
apply: setC_inj; rewrite -closureC closureEbigcap_itvcy setC_bigcup.
rewrite -[RHS](bigcap_image _ setC); apply: eq_bigcapl.
apply/seteqP/funext => X.
rewrite -(setCK X) image_inj; first exact: setC_inj.
by rewrite /= !in_itv/= andbT !subsetEset setCS setCK openC.
Qed.
rewrite -[RHS](bigcap_image _ setC); apply: eq_bigcapl.
apply/seteqP/funext => X.
rewrite -(setCK X) image_inj; first exact: setC_inj.
by rewrite /= !in_itv/= andbT !subsetEset setCS setCK openC.
Qed.
Lemma closureEbigcap_itvccUsed by
- mathcomp.analysis.topology_theory.num_topology
Source code ASource code BSource code :
closed B -> A `<=` B -> closure A = \bigcap_(xSource code in closed `&` `[A, B]) x.
Proof.
move=> cB; rewrite -subsetEset => AB.
rewrite closureEbigcap_itvcy /bigcap; apply/seteqP.
split => x /= H Y [] cY; rewrite in_itv/= => /andP[] AY YB.
by have:= H Y; apply; split => //; rewrite in_itv/= AY.
apply/(@subIsetl _ _ B)/(H (Y `&` B)); split; first exact: closedI.
rewrite in_itv/=; apply/andP.
by rewrite Order.MeetTheory.lexI Order.MeetTheory.leIr AY AB.
Qed.
rewrite closureEbigcap_itvcy /bigcap; apply/seteqP.
split => x /= H Y [] cY; rewrite in_itv/= => /andP[] AY YB.
by have:= H Y; apply; split => //; rewrite in_itv/= AY.
apply/(@subIsetl _ _ B)/(H (Y `&` B)); split; first exact: closedI.
rewrite in_itv/=; apply/andP.
by rewrite Order.MeetTheory.lexI Order.MeetTheory.leIr AY AB.
Qed.
Lemma interiorEbigcup_itvccSource code ASource code BSource code :
open B -> B `<=` A -> A° = \bigcup_(xSource code in open `&` `[B, A]) x.
Proof.
rewrite -closedC -subsetCP => cB AB.
apply: setC_inj; rewrite -closureC (closureEbigcap_itvcc cB AB) setC_bigcup.
rewrite -[RHS](bigcap_image _ setC); apply: eq_bigcapl.
apply/seteqP/funext => X.
rewrite -(setCK X) image_inj; first exact: setC_inj.
by rewrite /= !in_itv/= !Order.CTBDistrLatticeTheory.leC setCK openC andbC.
Qed.
apply: setC_inj; rewrite -closureC (closureEbigcap_itvcc cB AB) setC_bigcup.
rewrite -[RHS](bigcap_image _ setC); apply: eq_bigcapl.
apply/seteqP/funext => X.
rewrite -(setCK X) image_inj; first exact: setC_inj.
by rewrite /= !in_itv/= !Order.CTBDistrLatticeTheory.leC setCK openC andbC.
Qed.
Lemma interior_closed_regopenSource code ASource code : closed A -> regopen A°.
Proof.
move=> cA; rewrite /regopen eqEsubset; split=> x.
rewrite /closure [X in X -> _]/interior nbhsE => -[] U oxU UciA.
rewrite /interior nbhsE /=; exists U => //.
apply: (subset_trans UciA) => y /= yA.
apply: cA => B /yA; apply/subset_nonempty; apply: setSI.
exact: interior_subset.
rewrite {1}/interior nbhsE=> -[] U [] oU Ux UA.
rewrite {1}/interior nbhsE /=; exists U=> //.
have:= UA; rewrite open_subsetE// => /subset_trans; apply.
exact: subset_closure.
Qed.
rewrite /closure [X in X -> _]/interior nbhsE => -[] U oxU UciA.
rewrite /interior nbhsE /=; exists U => //.
apply: (subset_trans UciA) => y /= yA.
apply: cA => B /yA; apply/subset_nonempty; apply: setSI.
exact: interior_subset.
rewrite {1}/interior nbhsE=> -[] U [] oU Ux UA.
rewrite {1}/interior nbhsE /=; exists U=> //.
have:= UA; rewrite open_subsetE// => /subset_trans; apply.
exact: subset_closure.
Qed.
Lemma closure_open_regclosedSource code ASource code : open A -> regclosed (closure A).
Proof.
Lemma interior_closure_idemSource code :
@idempotent_fun (set T) (@interior _ _ \o @closure _ _).
Proof.
Lemma closure_interior_idemSource code :
@idempotent_fun (set T) (@closure _ _ \o @interior _ _).
Proof.
End closure_interior_lemmas.
Notation closure_setCSource code := closureC (only parsing).
Arguments closureEbigcap_itvcc {d T A}.
Arguments interiorEbigcup_itvcc {d T A}.
Definition dense
Used by
- mathcomp.analysis.topology_theory.num_topology
- mathcomp.analysis.borel_hierarchy
- mathcomp.analysis.normedtype_theory.pseudometric_normed_Zmodule
- mathcomp.analysis.sequences
Source code dSource code (TSource code : topologicalType d) (SSource code : set T) :=
forall (OSource code : set T), O !=set0 -> open O -> O `&` S !=set0.
Lemma denseNEUsed by
- mathcomp.analysis.sequences
Source code dSource code (TSource code : topologicalType d) (SSource code : set T) : ~ dense S ->
exists OSource code, (exists xSource code, open_nbhs x O) /\ (O `&` S = set0).
Proof.
rewrite /dense /open_nbhs.
move=> /existsNP[X /not_implyP [[x Xx] /not_implyP[ Ox /forallNP A]]].
exists X; split; [exists x | by rewrite -subset0; exact/A].
by rewrite -/(open_nbhs x X) open_nbhs_mem.
Qed.
move=> /existsNP[X /not_implyP [[x Xx] /not_implyP[ Ox /forallNP A]]].
exists X; split; [exists x | by rewrite -subset0; exact/A].
by rewrite -/(open_nbhs x X) open_nbhs_mem.
Qed.
Lemma denseIUsed by
- mathcomp.analysis.borel_hierarchy
Source code dSource code (TSource code : topologicalType d) (ASource code BSource code : set T) :
open A -> dense A -> dense B -> dense (A `&` B).
Proof.
Lemma dense0Used by
- mathcomp.analysis.borel_hierarchy
Source code {dSource code} {RSource code : ptopologicalType d} : ~ dense (@set0 R).
Proof.
apply/existsNP; exists setT.
apply/not_implyP; split; first exact/set0P/setT0.
apply/not_implyP; split; first exact: openT.
by rewrite setTI => -[].
Qed.
apply/not_implyP; split; first exact/set0P/setT0.
apply/not_implyP; split; first exact: openT.
by rewrite setTI => -[].
Qed.
Lemma closed_NdenseUsed by
- mathcomp.analysis.normedtype_theory.tvs
Source code {dSource code} {TSource code : topologicalType d} (ASource code : set T) :
(A != [set: T]) -> closed A -> ~ (dense A).
Proof.
Section basis.
Context {dSource code} {TSource code : topologicalType d}.
Definition basis
Used by
Source code (BSource code : set_system T) :=
B `<=` open /\ forall xSource code : T, filter_from [set USource code | B U /\ U x] id --> x.
Lemma basis_open_bigcupUsed by
Source code (FSource code : set_system T) (ASource code : set T) :
basis F -> open A ->
A = \bigcup_(iSource code in [set iSource code | F i /\ i `<=` A]) i.
Lemma basisPSource code (BSource code : set_system T) : basis B <-> B `<=`open /\
(forall USource code : set T, open U -> U = \bigcup_(VSource code in [set WSource code | B W /\ W `<=`U]) V).
Definition nbhs_basis
Used by
Source code (xSource code : T) (BSource code : set_system T) :=
B `<=` nbhs x /\ filter_from [set USource code | B U] id --> x.
Definition separable_set
Source code (ASource code : set T) := exists DSource code,
[/\ countable D, D `<=` A &
forall OSource code, A `&` O !=set0 -> open O -> O `&` D !=set0].
Lemma separable_set0Source code : separable_set set0.
Definition separable
Source code := separable_set setT.
Definition second_countable
Used by
Source code := exists2 BSource code, countable B & basis B.
Lemma separableTESource code : separable = exists ASource code : set T, countable A /\ dense A.
Lemma second_countable_separableSource code : second_countable -> separable.
Lemma bigcupT_separableSource code (ASource code : (set T)^nat) :
(forall nSource code, separable_set (A n)) -> separable_set (\bigcup_nSource code A n).
Lemma bigcup_separableSource code (ASource code : (set T)^nat) (PSource code : set nat) :
(forall nSource code, P n -> separable_set (A n)) ->
separable_set (\bigcup_(iSource code in P) A i).
End basis.
Context {dSource code} {TSource code : topologicalType d}.
Definition basis
Used by
- mathcomp.analysis.normedtype_theory.normed_module
- mathcomp.analysis.normedtype_theory.num_normedtype
Source code (BSource code : set_system T) :=
B `<=` open /\ forall xSource code : T, filter_from [set USource code | B U /\ U x] id --> x.
Lemma basis_open_bigcupUsed by
- mathcomp.analysis.lebesgue_integral_theory.lebesgue_Rintegral
Source code (FSource code : set_system T) (ASource code : set T) :
basis F -> open A ->
A = \bigcup_(iSource code in [set iSource code | F i /\ i `<=` A]) i.
Proof.
case=> Fo Ffilt oA; apply/seteqP; split => x.
move=> Ax.
have [U/= [FU Ux UA]] := Ffilt x A (open_mem_nbhs oA Ax).
by exists U.
by case=> U/= [FU]; exact.
Qed.
move=> Ax.
have [U/= [FU Ux UA]] := Ffilt x A (open_mem_nbhs oA Ax).
by exists U.
by case=> U/= [FU]; exact.
Qed.
Lemma basisPSource code (BSource code : set_system T) : basis B <-> B `<=`open /\
(forall USource code : set T, open U -> U = \bigcup_(VSource code in [set WSource code | B W /\ W `<=`U]) V).
Proof.
split=> [[oB bB]|[Bo dec]].
- split=> // U oU.
apply/seteqP; split => [x Ux/=|]; last by apply: bigcup_sub => V /= [].
have : nbhs x U by exact: open_mem_nbhs.
by move=> /(bB x U)[V [BV Vx] VU]; exists V.
- split=> // x.
rewrite /cvg_to nbhsE/= => P [U [/(dec U)->] [A [BA AU] Ax] UP].
by exists A => // t At; apply: UP; exists A.
Qed.
- split=> // U oU.
apply/seteqP; split => [x Ux/=|]; last by apply: bigcup_sub => V /= [].
have : nbhs x U by exact: open_mem_nbhs.
by move=> /(bB x U)[V [BV Vx] VU]; exists V.
- split=> // x.
rewrite /cvg_to nbhsE/= => P [U [/(dec U)->] [A [BA AU] Ax] UP].
by exists A => // t At; apply: UP; exists A.
Qed.
Definition nbhs_basis
Used by
- mathcomp.analysis.normedtype_theory.normed_module
- mathcomp.analysis.normedtype_theory.tvs
Source code (xSource code : T) (BSource code : set_system T) :=
B `<=` nbhs x /\ filter_from [set USource code | B U] id --> x.
Definition separable_set
Source code (ASource code : set T) := exists DSource code,
[/\ countable D, D `<=` A &
forall OSource code, A `&` O !=set0 -> open O -> O `&` D !=set0].
Lemma separable_set0Source code : separable_set set0.
Definition separable
Source code := separable_set setT.
Definition second_countable
Used by
- mathcomp.analysis.topology_theory.compact
Source code := exists2 BSource code, countable B & basis B.
Lemma separableTESource code : separable = exists ASource code : set T, countable A /\ dense A.
Proof.
Lemma second_countable_separableSource code : second_countable -> separable.
Proof.
have [T0 _|/set0P[x _]] := eqVneq [set: T] set0.
by rewrite /separable T0; exact: separable_set0.
move=> [B] /(sub_countable (card_le_setD B [set set0])) cB /basisP[BO BB].
have /choice[f nef] : forall USource code, exists xSource code, (B `\ set0) U -> U x.
move=> U.
have [[BU /eqP/set0P[y Uy]]|/not_andP[|/contrapT]] := pselect ((B `\ set0) U).
- by exists y.
- by move=> BU; exists x => -[].
- by move=> U0; exists x => -[].
exists (f @` (B `\ set0)); split => //.
exact: (card_le_trans (card_image_le _ _)).
move=> U; rewrite setTI/= => /[swap] /BB -> /bigcup_nonempty[V [BV VU]] V0.
have ? : (B `\ set0) V by split => //; exact/eqP/set0P.
by exists (f V); split; exists V => //; exact: nef.
Qed.
by rewrite /separable T0; exact: separable_set0.
move=> [B] /(sub_countable (card_le_setD B [set set0])) cB /basisP[BO BB].
have /choice[f nef] : forall USource code, exists xSource code, (B `\ set0) U -> U x.
move=> U.
have [[BU /eqP/set0P[y Uy]]|/not_andP[|/contrapT]] := pselect ((B `\ set0) U).
- by exists y.
- by move=> BU; exists x => -[].
- by move=> U0; exists x => -[].
exists (f @` (B `\ set0)); split => //.
exact: (card_le_trans (card_image_le _ _)).
move=> U; rewrite setTI/= => /[swap] /BB -> /bigcup_nonempty[V [BV VU]] V0.
have ? : (B `\ set0) V by split => //; exact/eqP/set0P.
by exists (f V); split; exists V => //; exact: nef.
Qed.
Lemma bigcupT_separableSource code (ASource code : (set T)^nat) :
(forall nSource code, separable_set (A n)) -> separable_set (\bigcup_nSource code A n).
Proof.
move=> /choice[D_ /all_and3[cDx DAx dDx]].
exists (\bigcup_nSource code D_ n); split; [exact: bigcup_countable|exact: subset_bigcup|].
move=> O [x [[n _ Anx] Ox] oO].
have /dDx/(_ oO)[y [Oy Dny]] : A n `&` O !=set0 by exists x.
by exists y; split => //; exact: bigcup_sup Dny.
Qed.
exists (\bigcup_nSource code D_ n); split; [exact: bigcup_countable|exact: subset_bigcup|].
move=> O [x [[n _ Anx] Ox] oO].
have /dDx/(_ oO)[y [Oy Dny]] : A n `&` O !=set0 by exists x.
by exists y; split => //; exact: bigcup_sup Dny.
Qed.
Lemma bigcup_separableSource code (ASource code : (set T)^nat) (PSource code : set nat) :
(forall nSource code, P n -> separable_set (A n)) ->
separable_set (\bigcup_(iSource code in P) A i).
Proof.
rewrite bigcup_mkcond => nPsA; apply: bigcupT_separable => n.
by case: ifPn => [/set_mem/nPsA//|_]; exact: separable_set0.
Qed.
by case: ifPn => [/set_mem/nPsA//|_]; exact: separable_set0.
Qed.
End basis.
Lemma continuous_on_basisSource code {dSource code} {SSource code : topologicalType d} {d'Source code}
{TSource code : topologicalType d'} (FSource code : set_system T) (fSource code : S -> T) :
basis F -> (forall ASource code : set T, F A -> open (f @^-1` A)) -> continuous f.
Proof.
move=> bF bcf.
apply/continuousP => A /(basis_open_bigcup bF) ->.
rewrite preimage_bigcup; apply: bigcup_open.
by move=> U /= [] FU UA; exact: bcf.
Qed.
apply/continuousP => A /(basis_open_bigcup bF) ->.
rewrite preimage_bigcup; apply: bigcup_open.
by move=> U /= [] FU UA; exact: bcf.
Qed.
Section ClopenSets.
Context {dSource code} {TSource code : topologicalType d}.
Definition clopen
Used by
Source code (ASource code : set T) := open A /\ closed A.
Lemma clopenIUsed by
Source code : setI_closed clopen.
Lemma clopenUSource code : setU_closed clopen.
Lemma clopenCUsed by
Source code (ASource code BSource code : set T) :
clopen A -> clopen (~`A).
Lemma clopen0Source code : clopen set0.
Lemma clopenTUsed by
Source code : clopen [set: T].
End ClopenSets.
Context {dSource code} {TSource code : topologicalType d}.
Definition clopen
Used by
- mathcomp.analysis.topology_theory.order_topology
- mathcomp.analysis.topology_theory.connected
- mathcomp.analysis.topology_theory.compact
- mathcomp.analysis.topology_theory.subspace_topology
- mathcomp.analysis.topology_theory.separation_axioms
- mathcomp.analysis.cantor
Source code (ASource code : set T) := open A /\ closed A.
Lemma clopenIUsed by
- mathcomp.analysis.topology_theory.separation_axioms
- mathcomp.analysis.cantor
Source code : setI_closed clopen.
Lemma clopenUSource code : setU_closed clopen.
Lemma clopenCUsed by
- mathcomp.analysis.cantor
Source code (ASource code BSource code : set T) :
clopen A -> clopen (~`A).
Proof.
Lemma clopen0Source code : clopen set0.
Lemma clopenTUsed by
- mathcomp.analysis.topology_theory.compact
- mathcomp.analysis.topology_theory.separation_axioms
- mathcomp.analysis.cantor
Source code : clopen [set: T].
End ClopenSets.
Lemma preimage_clopenUsed by
- mathcomp.analysis.topology_theory.function_spaces
Source code dSource code {TSource code : topologicalType d} d'Source code {USource code : topologicalType d'}
(fSource code : T -> U) (ASource code : set U) :
clopen A -> continuous f -> clopen (f @^-1` A).
Proof.
#[deprecated(since="mathcomp-analysis 1.16.0", note="renamed to `preimage_clopen`")]
Notation clopen_compSource code := preimage_clopen (only parsing).
HBUsed by
- mathcomp.analysis.homotopy_theory.continuous_path
Source code.mixinUsed by
- mathcomp.analysis.homotopy_theory.continuous_path
Source code RecordUsed by
- mathcomp.analysis.homotopy_theory.continuous_path
Source code isContinuousUsed by
- mathcomp.analysis.homotopy_theory.continuous_path
Source code {d}Used by
- mathcomp.analysis.homotopy_theory.continuous_path
Source code {XUsed by
- mathcomp.analysis.homotopy_theory.continuous_path
Source code :Used by
- mathcomp.analysis.homotopy_theory.continuous_path
Source code nbhsTypeUsed by
- mathcomp.analysis.homotopy_theory.continuous_path
Source code d} {d'} {Y : nbhsType d'}
(f : X -> Y) :=
{ continuous_fun : continuous f }.
#[shortUsed by
- mathcomp.analysis.topology_theory.subspace_topology
- mathcomp.analysis.normedtype_theory.tvs
Source code(typeUsed by
- mathcomp.analysis.topology_theory.subspace_topology
- mathcomp.analysis.normedtype_theory.tvs
Source code =Used by
- mathcomp.analysis.topology_theory.subspace_topology
- mathcomp.analysis.normedtype_theory.tvs
Source code "continuousType"Used by
- mathcomp.analysis.topology_theory.subspace_topology
- mathcomp.analysis.normedtype_theory.tvs
Source code)]Used by
- mathcomp.analysis.topology_theory.subspace_topology
- mathcomp.analysis.normedtype_theory.tvs
Source code
HBUsed by
- mathcomp.analysis.topology_theory.subspace_topology
- mathcomp.analysis.normedtype_theory.tvs
Source code.structureUsed by
- mathcomp.analysis.topology_theory.subspace_topology
- mathcomp.analysis.normedtype_theory.tvs
Source code DefinitionUsed by
- mathcomp.analysis.topology_theory.subspace_topology
- mathcomp.analysis.normedtype_theory.tvs
Source code ContinuousUsed by
- mathcomp.analysis.topology_theory.subspace_topology
- mathcomp.analysis.normedtype_theory.tvs
Source code {d}Used by
- mathcomp.analysis.topology_theory.subspace_topology
- mathcomp.analysis.normedtype_theory.tvs
Source code {XUsed by
- mathcomp.analysis.topology_theory.subspace_topology
- mathcomp.analysis.normedtype_theory.tvs
Source code :Used by
- mathcomp.analysis.topology_theory.subspace_topology
- mathcomp.analysis.normedtype_theory.tvs
Source code nbhsTypeUsed by
- mathcomp.analysis.topology_theory.subspace_topology
- mathcomp.analysis.normedtype_theory.tvs
Source code d}
{d'} {Y : nbhsType d'} :=
{ fSource code of @isContinuous d X d' Y f }.
#[deprecated(since="mathcomp-analysis 1.17.0",
note="use `continuous_fun` instead")]
Notation cts_funSource code := (continuous_fun) (only parsing).
HBSource code.instanceSource code DefinitionSource code _Source code {d}Source code {XSource code :Source code topologicalTypeSource code d}
{d'} {Y : topologicalType d'} :=
gen_eqMixin (continuousType X Y).
HBSource code.instanceSource code DefinitionSource code _Source code {d}Source code {XSource code :Source code topologicalTypeSource code d}
{d'} {Y : topologicalType d'} :=
gen_choiceMixin (continuousType X Y).
Lemma continuousEPSource code {dSource code} {XSource code : nbhsType d} {d'Source code} {YSource code : nbhsType d'}
(fSource code gSource code : continuousType X Y) :
f = g <-> f =1 g.
Proof.
case: f g => [f [[ffun]]] [g [[gfun]]]/=; split=> [[->//]|/funext eqfg].
rewrite eqfg in ffun *; congr {| Continuous.sort := _; Continuous.class := {|
Continuous.topology_structure_isContinuous_mixin :=
{|isContinuous.continuous_fun := _|}|}|}.
exact: Prop_irrelevance.
Qed.
rewrite eqfg in ffun *; congr {| Continuous.sort := _; Continuous.class := {|
Continuous.topology_structure_isContinuous_mixin :=
{|isContinuous.continuous_fun := _|}|}|}.
exact: Prop_irrelevance.
Qed.
Definition mkcts
Source code {dSource code} {XSource code : nbhsType d} {d'Source code} {YSource code : nbhsType d'}
(fSource code : X -> Y) (f_ctsSource code : continuous f) := f.
HBSource code.instanceSource code DefinitionSource code _Source code {d}Source code {XSource code :Source code nbhsTypeSource code d} {d'} {Y : nbhsType d'}
(f : X -> Y) (f_cts : continuous f) :=
@isContinuous.Build d X d' Y (mkcts f_cts) f_cts.
Section continuous_comp.
Context {d1Source code} {XSource code : topologicalType d1} {d2Source code} {YSource code : topologicalType d2}
{d3Source code} {ZSource code : topologicalType d3}
(fSource code : continuousType X Y) (gSource code : continuousType Y Z).
#[local] Lemma cts_fun_compSource code : continuous (g \o f).
HBSource code.instanceSource code DefinitionSource code _Source code :=Source code @isContinuousSource code.Build d1 X d3 Z (g \o f) cts_fun_comp.
End continuous_comp.
Context {d1Source code} {XSource code : topologicalType d1} {d2Source code} {YSource code : topologicalType d2}
{d3Source code} {ZSource code : topologicalType d3}
(fSource code : continuousType X Y) (gSource code : continuousType Y Z).
#[local] Lemma cts_fun_compSource code : continuous (g \o f).
Proof.
HBSource code.instanceSource code DefinitionSource code _Source code :=Source code @isContinuousSource code.Build d1 X d3 Z (g \o f) cts_fun_comp.
End continuous_comp.
Section continuous_id.
Context {dSource code} {XSource code : topologicalType d}.
HBSource code.instanceSource code DefinitionSource code _Source code :=Source code
@isContinuousSource code.Build d X d X (@idfun X) id_continuous.
End continuous_id.
Context {dSource code} {XSource code : topologicalType d}.
HBSource code.instanceSource code DefinitionSource code _Source code :=Source code
@isContinuousSource code.Build d X d X (@idfun X) id_continuous.
End continuous_id.
Section continuous_const.
Context {dSource code} {XSource code : topologicalType d} {d'Source code} {YSource code : topologicalType d'} (ySource code : Y).
#[local] Lemma cts_constSource code : continuous (@cst X Y y).
HBSource code.instanceSource code DefinitionSource code _Source code :=Source code @isContinuousSource code.Build d X d' Y (cst y) cts_const.
End continuous_const.
Context {dSource code} {XSource code : topologicalType d} {d'Source code} {YSource code : topologicalType d'} (ySource code : Y).
#[local] Lemma cts_constSource code : continuous (@cst X Y y).
Proof.
HBSource code.instanceSource code DefinitionSource code _Source code :=Source code @isContinuousSource code.Build d X d' Y (cst y) cts_const.
End continuous_const.