Let X be a topological space.
a) For every nonempty closed subset Y of X, one has
dim(Y)+codim(Y,X)≤dim(X).
b) If Y,Z,T are closed subsets of X such that Y⊂Z⊂T, one has
codim(Y,Z)+codim(Z,T)≤codim(Y,T).
It is enough to prove assertion a) in the case where dim(X) is finite. In this case, dim(Y) and codim(Y,X) are finite. There exists a chain Y0⊂...⊂Yn of irreducible closed subsets of Y, of length n=dim(Y), and a chain Yn⊂...⊂Yn+p of irreducible closed subsets of X, of length p≥codim(Y,X). It follows that dim(X)≥n+p, whence a). To establish b), one may suppose Y irreducible. Since one has codim(Y,Z)≤codim(Y,T), the inequality is proved if codim(Y,Z)=+∞. Otherwise, let Z0 be an irreducible component of Z containing Y and such that codim(Y,Z)=codim(Y,Z0). One has codim(Z,T)≤codim(Z0,T), and one sees, as above, that codim(Y,Z0)+codim(Z0,T)≤codim(Y,T), whence b).
Bourbaki puts the proof directly after the statement, so what is above is the statement and its proof together.
Nothing.
Nothing.