I sometimes encounter a kind of repetitive proof in which you take an arbitrary family of some kind of structure and show that its intersection also has this structure.
The proof goes something like this.
Fix a ring $R$. Let $F$ be a nonempty family of ideals in $R$. Consider $\cap F$. We now verify that $\cap F$ is an ideal by running back to the definition.
- $0$ is in $\cap F$.
- If $a$ is in $\cap F$, then $a$ is in every $I \in F$ and thus $ra$ is in $\cap F$ for each ring element $r$.
- If $a-b$ is in $\cap F$, then $a$ and $b$ are in every $I \in F$ and thus $a-b$ is in every $I$ and thus $a-b$ is in $\cap F$.
The proof that the intersection of topologies (sets of open sets satisfying some rules) over a set of points $X$ is again a topology is also quite similar.
Fix a set of points $X$. Let $F$ be a nonempty family of topologies on $X$, i.e. $(X, \tau)$ is a topological space for each $\tau$ in $F$.
- $\varnothing$ is in $\cap F$.
- $\varnothing^c$ is in $\cap F$.
- Let $W$ be an arbitrary subset of $\cap F$. $W$ is a subset of each $\tau$ in $F$. Thus $\cup W$ is a subset of each $\tau$ in $F$. Thus $\cup W$ is in $\cap F$.
- Let $a$ and $b$ be elements of $\cap F$. Thus $a$ and $b$ are elements of each $\tau$ in $F$. Thus $a \cap b$ is an element of each $\tau$ in $F$. Thus $a \cap b$ is an element of $\cap F$.
I'm curious just how much we can generalize this.
Here's what I've come up with.
- Let $U$ be a nonempty set.
- Let $\lambda$ be a nonzero ordinal. Let $\text{Seq}[\bigcirc]$ denote $\lambda \to \bigcirc$.
- Let $\mathcal{F}$ be a family of functions each of which has the form $\text{Seq}[U] \to 2^U$.
- Let $f(x)$ be defined to be $\varnothing$ if $f$ is a function in $\mathcal{F}$ and $x$ is outside the domain of $x$.
If $X$ is a set, say that $X$ is closed under a function $f : \text{Seq}[U] \to 2^U$ if and only if it holds for all sequences $\vec{v}$ that $f(\vec{v})$ is a subset of $X$.
Say that $X$ is closed under a family of functions $\mathcal{F}$ precisely when $X$ is closed under $f$ for each $f$ in $\mathcal{F}$.
Lemma: Let $R$ be a set. Let $\mathcal{G}$ be a family of functions. Let $W$ be a nonempty family of subsets of $R$. Suppose each $V$ in $W$ is closed under $\mathcal{G}$. Then, $\cap V$ is closed under $\mathcal{G}$ as well.
Proof.
If $\cap W$ is empty, then we're done. Assume that it's not empty.
- Choose a function $f$ in $\mathcal{G}$ arbitrarily.
- Choose a sequence $\vec{v}$ with elements among $\cap W$ arbitrarily.
- $\vec{v}$ is in every $V$ in $W$.
- $f(\vec{v})$ is in every $V$ in $W$.
- $f(\vec{v})$ is in $\cap W$.
Since $f$ was chosen arbitrarily, we're done.
Here's how you prove the ideal case and the topology case using this lemma.
As a technical detail, a nullary operation ignores all of its arguments, a unary operation ignores all but its first argument, a binary operation ignores all but its first two arguments, and so on. Functions that are well-defined return a singleton set containing only their result. That's how you shoehorn something like $+$ into $\text{Seq}[U] \to 2^U$.
- For ideals, choose as our set of functions $0, +, -$ from the ring $R$ that all of our ideals are ideals of, as well as multiplication by $r$ for each element of $R$.
- For a family of topologies on a topological space $X$, set $\lambda = \min(|X|, \omega)$. Our operations are the nullary operations $\varnothing$ and $\varnothing^c$, the binary operation $\cap$, and arbitrary unions on sequences $\cup(\vec{v})$.
We can also prove that the intersection of a family of subfields is a subfield by choosing as our set of functions, $0, +, -, *$ and the unary partial function $\bigcirc^{-1}$.