Theorem 4
Tag 0BSQ, permanent. Cite it as [Bourbaki, Tag 0BSQ].
General Topology, chapter IV, § 6. Continuous and semi-continuous real-valued functions
The upper envelope of a family of functions which are lower semi-continuous at a point is lower semi-continuous at .
Let be the upper envelope. For each there is an index such that , and a neighbourhood of such that for all ; hence fortiori for all .
It follows from Proposition 2 that the lower envelope of a finite number of lower semi-continuous functions is again lower semi-continuous; but this is not in general true for the lower envelope of an infinite family of lower semi-continuous functions. For example, if is any rational number, let denote the function which is equal to 0 at and equal to 1 for all real numbers ; the lower envelope of the is the function which is equal to 0 for every rational number and 1 for every irrational number ("Dirichlet's function"), and this function is not lower semi-continuous at irrational points.
Bourbaki puts the proof directly after the statement, so what is above is the statement and its proof together.