In mathematics, particularly topology, the tube lemma, also called Wallace's theorem, is a useful tool in order to prove that the finite product of compact spaces is compact. The lemma uses the following terminology: If and are topological spaces and is the product space, endowed with the product topology, a slice in is a set of the form for . A tube in is a subset of the form where is an open subset of . It contains all the slices for . Using the concept of closed maps, this can be rephrased concisely as follows: if is any topological space and a compact space, then the projection map is closed.