Rectangles in countable closed covers

See it in Lean

Axioms
ZFC only
Concerns
Countably metacompact

Statement

Let \(e:\mathbb R^2\to X\) be a map such that \(x\mapsto e(x,y)\) and \(y\mapsto e(x,y)\) are continuous for every fixed coordinate. If \(X=\bigcup_n C_n\), with each \(C_n\) closed, then some \(e^{-1}(C_n)\) contains a nonempty open rectangle.

Proof

For each \(x\), the closed sets \(\{y:e(x,y)\in C_n\}\) cover \(\mathbb R\). The Baire category theorem gives an index \(n\) and a nonempty interval \(J\) with rational endpoints such that \(e(x,y)\in C_n\) for every \(y\in J\).

For each such pair \((n,J)\), put \[E_{n,J}=\{x:e(x,y)\in C_n\text{ for every }y\in J\}.\] These sets are closed, being intersections of inverse images under the continuous horizontal maps. They form a countable cover of \(\mathbb R\). A second application of the Baire category theorem gives a nonempty open set \(U\subseteq E_{n,J}\). Then \(U\times J\subseteq e^{-1}(C_n)\). \(\blacksquare\)

Where it is used

Cited in proofs of other theorems