In this theory file we reformulate the concepts related to a topology in relation with a base of the topology and we give examples of topologies defined by bases or subbases.
Given a family of subsets satisfying the base condition, it is possible to construct a topology where that family is a base of. Even more, it is the only topology with such characteristics.
We define the topology generated by a base satisfying the base condition as the unique topology for which that family is a base.
definition
\( U \text{ satisfies the base condition } \Longrightarrow TopologyBase U \equiv \text{The } T.\ U \text{ is a base for } T \)
If a collection \(U\) of sets satisfies the base condition then the topology constructed from it is indeed a topology and \(U\) is a base for this topology.
theorem Base_topology_is_a_topology:
assumes \( U \text{ satisfies the base condition } \)
shows \( (TopologyBase U) \text{ is a topology } \) and \( U \text{ is a base for } (TopologyBase U) \)proofA base doesn't need the empty set.
lemma base_no_0:
shows \( B\text{ is a base for }T \longleftrightarrow (B-\{0\})\text{ is a base for }T \)proofThe interior of a set is the union of all the sets of the base which are fully contained by it.
lemma interior_set_base_topology:
assumes \( U \text{ is a base for } T \), \( T\text{ is a topology } \)
shows \( \text{Interior}(A,T) = \bigcup \{T\in U.\ T\subseteq A\} \)proofIn the following, we offer another lemma about the closure of a set given a basis for a topology. This lemma is based on cl_inter_neigh and inter_neigh_cl. It states that it is only necessary to check the sets of the base, not all the open sets.
lemma closure_set_base_topology:
assumes \( U \text{ is a base for } Q \), \( Q\text{ is a topology } \), \( A\subseteq \bigcup Q \)
shows \( \text{Closure}(A,Q) = \{x\in \bigcup Q.\ \forall T\in U.\ x\in T\longrightarrow A\cap T\neq 0\} \)proofThe restriction of a base is a base for the restriction.
lemma subspace_base_topology:
assumes \( B \text{ is a base for } T \)
shows \( (B \text{ restricted to } Y) \text{ is a base for } (T \text{ restricted to } Y) \)proofIf the base of a topology is contained in the base of another topology, then the topologies maintain the same relation.
theorem base_subset:
assumes \( B\text{ is a base for }T \), \( B2\text{ is a base for }T2 \), \( B\subseteq B2 \)
shows \( T\subseteq T2 \)proofA dual base for closed sets is the collection of complements of sets of a base for the topology.
Given a base \(B\) for a topology \(T\), the dual base consists of the complements \(\bigcup T \setminus U\) for each \(U \in B\), together with the whole space \(\bigcup T\).
definition
\( B\text{ is a base for }T \Longrightarrow DualBase B T\equiv \{\bigcup T-U.\ U\in B\}\cup \{\bigcup T\} \)
Every closed set can be written as an intersection of sets from the dual base.
lemma closed_inter_dual_base:
assumes \( D\text{ is closed in }T \), \( B\text{ is a base for }T \)
obtains \( M \) where \( M\subseteq DualBase B T \), \( D=\bigcap M \)proofWe have already seen for a base that whenever there is a union of open sets, we can consider only basic open sets due to the fact that any open set is a union of basic open sets. What we should expect now is that when there is an intersection of closed sets, we can consider only dual basic closed sets.
lemma closure_dual_base:
assumes \( U \text{ is a base for } Q \), \( Q\text{ is a topology } \), \( A\subseteq \bigcup Q \)
shows \( \text{Closure}(A,Q)=\bigcap \{T\in DualBase U Q.\ A\subseteq T\} \)proofIn the theory file Partitions\_ZF.thy; there is a definition to work with partitions. In this setting is much easier to work with a family of subsets.
A partition of a set \(X\) is a family of pairwise disjoint nonempty subsets whose union covers all of \(X\).
definition
\( (U \text{ is a partition of } X) \equiv (\bigcup U=X \wedge (\forall A\in U.\ \forall B\in U.\ A=B\vee A\cap B=0)\wedge 0\notin U) \)
A subcollection of a partition is a partition of its union.
lemma subpartition:
assumes \( U \text{ is a partition of } X \), \( V\subseteq U \)
shows \( V\text{ is a partition of }\bigcup V \) using assms unfolding IsAPartition_defA restriction of a partition is a partition. If the empty set appears it has to be removed.
lemma restriction_partition:
assumes \( U \text{ is a partition of }X \)
shows \( ((U \text{ restricted to } Y)-\{0\}) \text{ is a partition of } (X\cap Y) \) using assms unfolding IsAPartition_def, RestrictedTo_defGiven a partition, the complement of a union of a subfamily is a union of a subfamily.
lemma diff_union_is_union_diff:
assumes \( R\subseteq P \), \( P \text{ is a partition of } X \)
shows \( X - \bigcup R=\bigcup (P-R) \)proofA partition satisfies the base condition.
A partition satisfies the base condition because any two distinct partition classes are either equal or disjoint, so their intersection is trivially covered by a partition class.
lemma partition_base_condition:
assumes \( P \text{ is a partition of } X \)
shows \( P \text{ satisfies the base condition } \)proofSince a partition is a base of a topology, and this topology is uniquely determined; we can built it. In the definition we have to make sure that we have a partition.
definition
\( (U \text{ is a partition of } X) \Longrightarrow PTopology X U \equiv TopologyBase U \)
The partition topology is indeed a topology, and the partition is a base for it.
theorem Ptopology_is_a_topology:
assumes \( U \text{ is a partition of } X \)
shows \( (PTopology X U) \text{ is a topology } \) and \( U \text{ is a base for } (PTopology X U) \) using assms, Base_topology_is_a_topology, partition_base_condition, PartitionTopology_defThe partition topology satisfies the assumptions of the topology0 locale.
lemma topology0_ptopology:
assumes \( U \text{ is a partition of } X \)
shows \( topology0(PTopology X U) \) using Ptopology_is_a_topology, topology0_def, assmsThe union of all open sets in the partition topology equals the set \(X\) that the partition covers.
lemma union_ptopology:
assumes \( U \text{ is a partition of } X \)
shows \( \bigcup (PTopology X U)=X \) using assms, Ptopology_is_a_topology(2), Top_1_2_L5, IsAPartition_defThe closed sets are the open sets.
lemma closed_sets_ptopology:
assumes \( T \text{ is a partition of } X \)
shows \( D \text{ is closed in } (PTopology X T) \longleftrightarrow D\in (PTopology X T) \)proofThere is a formula for the interior given by an intersection of sets of the dual base. Is the intersection of all the closed sets of the dual basis such that they do not complement \(A\) to \(X\). Since the interior of \(X\) must be inside \(X\), we have to enter \(X\) as one of the sets to be intersected.
lemma interior_set_ptopology:
assumes \( U \text{ is a partition of } X \), \( A\subseteq X \)
shows \( \text{Interior}(A,(PTopology X U))=\bigcap \{T\in DualBase U (PTopology X U).\ T=X\vee T\cup A\neq X\} \)proofThe closure of a set is the union of all the sets of the partition which intersect with A.
lemma closure_set_ptopology:
assumes \( U \text{ is a partition of } X \), \( A\subseteq X \)
shows \( \text{Closure}(A,(PTopology X U))=\bigcup \{T\in U.\ T\cap A\neq 0\} \)proofThe boundary of a set is given by the union of the sets of the partition which have non empty intersection with the set but that are not fully contained in it. Another equivalent statement would be: the union of the sets of the partition which have non empty intersection with the set and its complement.
lemma boundary_set_ptopology:
assumes \( U \text{ is a partition of } X \), \( A\subseteq X \)
shows \( \text{Boundary}(A,(PTopology X U))=\bigcup \{T\in U.\ T\cap A\neq 0 \wedge \neg (T\subseteq A)\} \)proofThe discrete and the indiscrete topologies appear as special cases of this partition topologies.
The singletons \(\{x\}\) for \(x \in X\) form a partition of \(X\).
lemma discrete_partition:
shows \( \{\{x\}.\ x\in X\} \text{ is a partition of }X \) using IsAPartition_defFor a nonempty set \(X\), the family \(\{X\}\) consisting only of \(X\) itself is a partition of \(X\).
lemma indiscrete_partition:
assumes \( X\neq 0 \)
shows \( \{X\} \text{ is a partition of } X \) using assms, IsAPartition_defThe partition topology arising from the discrete partition (singletons) equals the discrete topology \(\mathrm{Pow}(X)\).
theorem discrete_ptopology:
shows \( (PTopology X \{\{x\}.\ x\in X\})=Pow(X) \)proofThe partition topology arising from the indiscrete partition \(\{X\}\) equals the indiscrete topology \(\{0, X\}\).
theorem indiscrete_ptopology:
assumes \( X\neq 0 \)
shows \( (PTopology X \{X\})=\{0,X\} \)proofThe topological subspaces of the \( (PTopology X U) \) are partition topologies.
lemma subspace_ptopology:
assumes \( U\text{ is a partition of }X \)
shows \( (PTopology X U) \text{ restricted to } Y=(PTopology (X\cap Y) ((U \text{ restricted to } Y)-\{0\})) \)proofGiven a totally ordered set, several topologies can be defined using the order relation. First we define an open interval, notice that the set defined as Interval is a closed interval; and open rays.
An open interval in the ordered set \((X,r)\) is the closed interval with both endpoints removed.
definition
\( \text{IntervalX}(X,r,b,c)\equiv ( \text{Interval}(r,b,c)\cap X)-\{b,c\} \)
A left open ray consists of all points of \(X\) that are strictly below a given bound.
definition
\( \text{LeftRayX}(X,r,b)\equiv \{c\in X.\ \langle c,b\rangle \in r\}-\{b\} \)
A right open ray consists of all points of \(X\) that are strictly above a given bound.
definition
\( \text{RightRayX}(X,r,b)\equiv \{c\in X.\ \langle b,c\rangle \in r\}-\{b\} \)
Intersections of intervals and rays.
lemma inter_two_intervals:
assumes \( bu\in X \), \( bv\in X \), \( cu\in X \), \( cv\in X \), \( \text{IsLinOrder}(X,r) \)
shows \( \text{IntervalX}(X,r,bu,cu)\cap \text{IntervalX}(X,r,bv,cv)= \text{IntervalX}(X,r, \text{GreaterOf}(r,bu,bv), \text{SmallerOf}(r,cu,cv)) \)proofThe intersection of a right ray with an open interval is again an open interval, with the left endpoint replaced by the greater of the two lower bounds.
lemma inter_rray_interval:
assumes \( bv\in X \), \( bu\in X \), \( cv\in X \), \( \text{IsLinOrder}(X,r) \)
shows \( \text{RightRayX}(X,r,bu)\cap \text{IntervalX}(X,r,bv,cv)= \text{IntervalX}(X,r, \text{GreaterOf}(r,bu,bv),cv) \)proofThe intersection of a left ray with an open interval is again an open interval, with the right endpoint replaced by the smaller of the two upper bounds.
lemma inter_lray_interval:
assumes \( bv\in X \), \( cu\in X \), \( cv\in X \), \( \text{IsLinOrder}(X,r) \)
shows \( \text{LeftRayX}(X,r,cu)\cap \text{IntervalX}(X,r,bv,cv)= \text{IntervalX}(X,r,bv, \text{SmallerOf}(r,cu,cv)) \)proofThe intersection of a left ray and a right ray is an open interval bounded by the two points.
lemma inter_lray_rray:
assumes \( bu\in X \), \( cv\in X \), \( \text{IsLinOrder}(X,r) \)
shows \( \text{LeftRayX}(X,r,bu)\cap \text{RightRayX}(X,r,cv)= \text{IntervalX}(X,r,cv,bu) \) unfolding LeftRayX_def, RightRayX_def, IntervalX_def, Interval_defThe intersection of two left rays is the left ray determined by the smaller of the two bounds.
lemma inter_lray_lray:
assumes \( bu\in X \), \( cv\in X \), \( \text{IsLinOrder}(X,r) \)
shows \( \text{LeftRayX}(X,r,bu)\cap \text{LeftRayX}(X,r,cv)= \text{LeftRayX}(X,r, \text{SmallerOf}(r,bu,cv)) \)proofThe intersection of two right rays is the right ray determined by the greater of the two bounds.
lemma inter_rray_rray:
assumes \( bu\in X \), \( cv\in X \), \( \text{IsLinOrder}(X,r) \)
shows \( \text{RightRayX}(X,r,bu)\cap \text{RightRayX}(X,r,cv)= \text{RightRayX}(X,r, \text{GreaterOf}(r,bu,cv)) \)proofThe open intervals and rays satisfy the base condition.
lemma intervals_rays_base_condition:
assumes \( \text{IsLinOrder}(X,r) \)
shows \( \{ \text{IntervalX}(X,r,b,c).\ \langle b,c\rangle \in X\times X\}\cup \{ \text{LeftRayX}(X,r,b).\ b\in X\}\cup \{ \text{RightRayX}(X,r,b).\ b\in X\} \text{ satisfies the base condition } \)proofSince the intervals and rays form a base of a topology, and this topology is uniquely determined; we can built it. In the definition we have to make sure that we have a totally ordered set.
definition
\( \text{IsLinOrder}(X,r) \Longrightarrow OrdTopology X r \equiv TopologyBase \{ \text{IntervalX}(X,r,b,c).\ \langle b,c\rangle \in X\times X\}\cup \{ \text{LeftRayX}(X,r,b).\ b\in X\}\cup \{ \text{RightRayX}(X,r,b).\ b\in X\} \)
The order topology is indeed a topology, and the collection of open intervals and rays is a base for it.
theorem Ordtopology_is_a_topology:
assumes \( \text{IsLinOrder}(X,r) \)
shows \( (OrdTopology X r) \text{ is a topology } \) and \( \{ \text{IntervalX}(X,r,b,c).\ \langle b,c\rangle \in X\times X\}\cup \{ \text{LeftRayX}(X,r,b).\ b\in X\}\cup \{ \text{RightRayX}(X,r,b).\ b\in X\} \text{ is a base for } (OrdTopology X r) \) using assms, Base_topology_is_a_topology, intervals_rays_base_condition, OrderTopology_defThe order topology satisfies the assumptions of the topology0 locale.
lemma topology0_ordtopology:
assumes \( \text{IsLinOrder}(X,r) \)
shows \( topology0(OrdTopology X r) \) using Ordtopology_is_a_topology, topology0_def, assmsThe topology is defined in the set \(X\), when \(X\) has more than one point
The union of all open sets in the order topology is all of \(X\), provided \(X\) has at least two distinct points (so that some ray or interval is nonempty).
lemma union_ordtopology:
assumes \( \text{IsLinOrder}(X,r) \), \( \exists x y.\ x\neq y \wedge x\in X\wedge y\in X \)
shows \( \bigcup (OrdTopology X r)=X \)proofNotice that the left and right rays are closed under intersection, hence they form a base of a topology. They are called right order topology and left order topology respectively.
If the order in \(X\) has a minimal or a maximal element, is necessary to consider \(X\) as an element of the base or that limit point wouldn't be in any basic open set.
lemma leftrays_base_condition:
assumes \( \text{IsLinOrder}(X,r) \)
shows \( \{ \text{LeftRayX}(X,r,b).\ b\in X\}\cup \{X\} \text{ satisfies the base condition } \)proofThe collection of right open rays together with the whole space satisfies the base condition.
lemma rightrays_base_condition:
assumes \( \text{IsLinOrder}(X,r) \)
shows \( \{ \text{RightRayX}(X,r,b).\ b\in X\}\cup \{X\} \text{ satisfies the base condition } \)proofThe left order topology is the topology generated by the collection of left open rays together with the whole space.
definition
\( \text{IsLinOrder}(X,r) \Longrightarrow LOrdTopology X r \equiv TopologyBase \{ \text{LeftRayX}(X,r,b).\ b\in X\}\cup \{X\} \)
The right order topology is the topology generated by the collection of right open rays together with the whole space.
definition
\( \text{IsLinOrder}(X,r) \Longrightarrow ROrdTopology X r \equiv TopologyBase \{ \text{RightRayX}(X,r,b).\ b\in X\}\cup \{X\} \)
The left and right order topologies are topologies, with the respective ray families (together with the whole space) as bases.
theorem LOrdtopology_ROrdtopology_are_topologies:
assumes \( \text{IsLinOrder}(X,r) \)
shows \( (LOrdTopology X r) \text{ is a topology } \) and \( \{ \text{LeftRayX}(X,r,b).\ b\in X\}\cup \{X\} \text{ is a base for } (LOrdTopology X r) \) and \( (ROrdTopology X r) \text{ is a topology } \) and \( \{ \text{RightRayX}(X,r,b).\ b\in X\}\cup \{X\} \text{ is a base for } (ROrdTopology X r) \) using Base_topology_is_a_topology, leftrays_base_condition, assms, rightrays_base_condition, LeftOrderTopology_def, RightOrderTopology_defBoth the left and the right order topologies satisfy the assumptions of the topology0 locale.
lemma topology0_lordtopology_rordtopology:
assumes \( \text{IsLinOrder}(X,r) \)
shows \( topology0(LOrdTopology X r) \) and \( topology0(ROrdTopology X r) \) using LOrdtopology_ROrdtopology_are_topologies, topology0_def, assmsThe topology is defined on the set \(X\)
lemma union_lordtopology_rordtopology:
assumes \( \text{IsLinOrder}(X,r) \)
shows \( \bigcup (LOrdTopology X r)=X \) and \( \bigcup (ROrdTopology X r)=X \)proofThe union of two topologies is not a topology. A way to overcome this fact is to define the following topology:
Given a family of topologies on the same underlying set, the join topology is defined as the unique topology for which the union of all members is a subbase.
definition
\( (\forall T\in M.\ T\text{ is a topology } \wedge (\forall Q\in M.\ \bigcup Q=\bigcup T)) \Longrightarrow (joinT M \equiv \text{The } T.\ (\bigcup M)\text{ is a subbase for } T) \)
The first result states that from any family of sets we get a base using finite intersections of them. The second one states that any family of sets is a subbase of some topology.
theorem subset_as_subbase:
shows \( \{\bigcap A.\ A \in \text{FinPow}(B)\} \text{ satisfies the base condition } \)proofAny family of sets is a subbase for a topology: the topology of all unions of finite intersections of members of the family.
theorem Top_subbase:
assumes \( T = \{\bigcup A.\ A\in Pow(\{\bigcap A.\ A \in \text{FinPow}(B)\})\} \)
shows \( T \text{ is a topology } \) and \( B \text{ is a subbase for } T \)proofA subbase defines a unique topology.
theorem same_subbase_same_top:
assumes \( B \text{ is a subbase for } T \) and \( B \text{ is a subbase for } S \)
shows \( T = S \) using IsAsubBaseFor_def, assms, same_base_same_topassumes \( B \text{ satisfies the base condition } \) and \( T = \{\bigcup A.\ A\in Pow(B)\} \)
shows \( T \text{ is a topology } \) and \( B \text{ is a base for } T \)assumes \( B \text{ is a base for } T \) and \( B \text{ is a base for } S \)
shows \( T = S \)assumes \( B \text{ satisfies the base condition } \) and \( T = \{\bigcup A.\ A\in Pow(B)\} \)
shows \( T \text{ is a topology } \) and \( B \text{ is a base for } T \)assumes \( U\subseteq A \) and \( U\in T \)
shows \( U \subseteq int(A) \)assumes \( B \text{ is a base for } T \) and \( U\in T \) and \( x\in U \)
shows \( \exists V\in B.\ V\subseteq U \wedge x\in V \)assumes \( A \subseteq \bigcup T \)
shows \( cl(A) \subseteq \bigcup T \), \( cl(\bigcup T \setminus A) = \bigcup T \setminus int(A) \)assumes \( B \text{ is a base for } T \) and \( U \in B \)
shows \( U \in T \)assumes \( A \subseteq \bigcup T \) and \( U\in T \) and \( x \in cl(A) \cap U \)
shows \( A\cap U \neq 0 \)assumes \( A \subseteq \bigcup T \) and \( x\in \bigcup T \) and \( \forall U\in T.\ x\in U \longrightarrow U\cap A \neq 0 \)
shows \( x \in cl(A) \)assumes \( A\in T \)
shows \( (\bigcup T - A) \text{ is closed in } T \)assumes \( U \text{ is a base for } Q \), \( Q\text{ is a topology } \), \( A\subseteq \bigcup Q \)
shows \( \text{Closure}(A,Q) = \{x\in \bigcup Q.\ \forall T\in U.\ x\in T\longrightarrow A\cap T\neq 0\} \)assumes \( U \text{ satisfies the base condition } \)
shows \( (TopologyBase U) \text{ is a topology } \) and \( U \text{ is a base for } (TopologyBase U) \)assumes \( P \text{ is a partition of } X \)
shows \( P \text{ satisfies the base condition } \)assumes \( U \text{ is a partition of } X \)
shows \( (PTopology X U) \text{ is a topology } \) and \( U \text{ is a base for } (PTopology X U) \)assumes \( U \text{ is a partition of } X \)
shows \( (PTopology X U) \text{ is a topology } \) and \( U \text{ is a base for } (PTopology X U) \)assumes \( B \text{ is a base for } T \)
shows \( \bigcup T = \bigcup B \)assumes \( U \text{ is a partition of } X \)
shows \( \bigcup (PTopology X U)=X \)assumes \( B \text{ is a base for } T \) and \( U\in T \)
shows \( \exists A\in Pow(B).\ U = \bigcup A \)assumes \( R\subseteq P \), \( P \text{ is a partition of } X \)
shows \( X - \bigcup R=\bigcup (P-R) \)assumes \( V\in T \)
shows \( \forall x\in V.\ \exists U\in T.\ (x\in U \wedge U\subseteq V) \)assumes \( U \text{ is a partition of } X \)
shows \( topology0(PTopology X U) \)assumes \( K\neq 0 \) and \( \forall D\in K.\ D \text{ is closed in } T \)
shows \( (\bigcap K) \text{ is closed in } T \)assumes \( T \text{ is a partition of } X \)
shows \( D \text{ is closed in } (PTopology X T) \longleftrightarrow D\in (PTopology X T) \)assumes \( \exists U\in T.\ (x\in U \wedge U\subseteq A) \)
shows \( x \in int(A) \)assumes \( U \text{ is a partition of } X \), \( A\subseteq X \)
shows \( \text{Closure}(A,(PTopology X U))=\bigcup \{T\in U.\ T\cap A\neq 0\} \)assumes \( U \text{ is a base for } T \), \( T\text{ is a topology } \)
shows \( \text{Interior}(A,T) = \bigcup \{T\in U.\ T\subseteq A\} \)assumes \( A \subseteq \bigcup T \)
shows \( \partial A = cl(A) - int(A) \)assumes \( U \text{ is a partition of } X \), \( V\subseteq U \)
shows \( V\text{ is a partition of }\bigcup V \)assumes \( X\neq 0 \)
shows \( \{X\} \text{ is a partition of } X \)assumes \( U \text{ is a partition of } X \)
shows \( (PTopology X U) \text{ is a topology } \) and \( U \text{ is a base for } (PTopology X U) \)assumes \( T \text{ is a topology } \)
shows \( \emptyset \in T \)assumes \( T \text{ is a topology } \) and \( \forall A\in \mathcal{A} .\ A \in T \)
shows \( (\bigcup \mathcal{A} ) \in T \)assumes \( B \text{ is a base for } T \)
shows \( (B \text{ restricted to } Y) \text{ is a base for } (T \text{ restricted to } Y) \)assumes \( U \text{ is a partition of }X \)
shows \( ((U \text{ restricted to } Y)-\{0\}) \text{ is a partition of } (X\cap Y) \)assumes \( x \in \text{Interval}(r,a,b) \)
shows \( \langle a,x\rangle \in r \), \( \langle x,b\rangle \in r \)assumes \( bu\in X \), \( bv\in X \), \( cu\in X \), \( cv\in X \), \( \text{IsLinOrder}(X,r) \)
shows \( \text{IntervalX}(X,r,bu,cu)\cap \text{IntervalX}(X,r,bv,cv)= \text{IntervalX}(X,r, \text{GreaterOf}(r,bu,bv), \text{SmallerOf}(r,cu,cv)) \)assumes \( bv\in X \), \( cu\in X \), \( cv\in X \), \( \text{IsLinOrder}(X,r) \)
shows \( \text{LeftRayX}(X,r,cu)\cap \text{IntervalX}(X,r,bv,cv)= \text{IntervalX}(X,r,bv, \text{SmallerOf}(r,cu,cv)) \)assumes \( bv\in X \), \( bu\in X \), \( cv\in X \), \( \text{IsLinOrder}(X,r) \)
shows \( \text{RightRayX}(X,r,bu)\cap \text{IntervalX}(X,r,bv,cv)= \text{IntervalX}(X,r, \text{GreaterOf}(r,bu,bv),cv) \)assumes \( bu\in X \), \( cv\in X \), \( \text{IsLinOrder}(X,r) \)
shows \( \text{LeftRayX}(X,r,bu)\cap \text{RightRayX}(X,r,cv)= \text{IntervalX}(X,r,cv,bu) \)assumes \( bu\in X \), \( cv\in X \), \( \text{IsLinOrder}(X,r) \)
shows \( \text{LeftRayX}(X,r,bu)\cap \text{LeftRayX}(X,r,cv)= \text{LeftRayX}(X,r, \text{SmallerOf}(r,bu,cv)) \)assumes \( bu\in X \), \( cv\in X \), \( \text{IsLinOrder}(X,r) \)
shows \( \text{RightRayX}(X,r,bu)\cap \text{RightRayX}(X,r,cv)= \text{RightRayX}(X,r, \text{GreaterOf}(r,bu,cv)) \)assumes \( \text{IsLinOrder}(X,r) \)
shows \( \{ \text{IntervalX}(X,r,b,c).\ \langle b,c\rangle \in X\times X\}\cup \{ \text{LeftRayX}(X,r,b).\ b\in X\}\cup \{ \text{RightRayX}(X,r,b).\ b\in X\} \text{ satisfies the base condition } \)assumes \( \text{IsLinOrder}(X,r) \)
shows \( (OrdTopology X r) \text{ is a topology } \) and \( \{ \text{IntervalX}(X,r,b,c).\ \langle b,c\rangle \in X\times X\}\cup \{ \text{LeftRayX}(X,r,b).\ b\in X\}\cup \{ \text{RightRayX}(X,r,b).\ b\in X\} \text{ is a base for } (OrdTopology X r) \)assumes \( \text{IsLinOrder}(X,r) \)
shows \( (OrdTopology X r) \text{ is a topology } \) and \( \{ \text{IntervalX}(X,r,b,c).\ \langle b,c\rangle \in X\times X\}\cup \{ \text{LeftRayX}(X,r,b).\ b\in X\}\cup \{ \text{RightRayX}(X,r,b).\ b\in X\} \text{ is a base for } (OrdTopology X r) \)assumes \( \text{IsLinOrder}(X,r) \)
shows \( \{ \text{LeftRayX}(X,r,b).\ b\in X\}\cup \{X\} \text{ satisfies the base condition } \)assumes \( \text{IsLinOrder}(X,r) \)
shows \( \{ \text{RightRayX}(X,r,b).\ b\in X\}\cup \{X\} \text{ satisfies the base condition } \)assumes \( \text{IsLinOrder}(X,r) \)
shows \( (LOrdTopology X r) \text{ is a topology } \) and \( \{ \text{LeftRayX}(X,r,b).\ b\in X\}\cup \{X\} \text{ is a base for } (LOrdTopology X r) \) and \( (ROrdTopology X r) \text{ is a topology } \) and \( \{ \text{RightRayX}(X,r,b).\ b\in X\}\cup \{X\} \text{ is a base for } (ROrdTopology X r) \)assumes \( \text{IsLinOrder}(X,r) \)
shows \( (LOrdTopology X r) \text{ is a topology } \) and \( \{ \text{LeftRayX}(X,r,b).\ b\in X\}\cup \{X\} \text{ is a base for } (LOrdTopology X r) \) and \( (ROrdTopology X r) \text{ is a topology } \) and \( \{ \text{RightRayX}(X,r,b).\ b\in X\}\cup \{X\} \text{ is a base for } (ROrdTopology X r) \)assumes \( \text{IsLinOrder}(X,r) \)
shows \( (LOrdTopology X r) \text{ is a topology } \) and \( \{ \text{LeftRayX}(X,r,b).\ b\in X\}\cup \{X\} \text{ is a base for } (LOrdTopology X r) \) and \( (ROrdTopology X r) \text{ is a topology } \) and \( \{ \text{RightRayX}(X,r,b).\ b\in X\}\cup \{X\} \text{ is a base for } (ROrdTopology X r) \)assumes \( B \text{ satisfies the base condition } \) and \( T = \{\bigcup A.\ A\in Pow(B)\} \)
shows \( T \text{ is a topology } \) and \( B \text{ is a base for } T \)