Proposition 1
Tag 08UD, permanent. Cite it as [Bourbaki, Tag 08UD].
Integration, IV, p. 59, § 5. Measurable functions and sets
For a mapping of into to be measurable, it is necessary and sufficient that, for every compact set and every number , there exist a compact set such that and the restriction of to is continuous.
If this condition is fulfilled, we may define recursively a sequence of pairwise disjoint compact sets such that and such that the restriction of to each is continuous (, No. 6, Th. 4); the complement with respect to of the union of the is then negligible (, No. 5, Cor. of Prop. 7), thus is measurable. Conversely, suppose there exist a negligible set and a partition of formed of compact sets such that the restriction of to each is continuous; for every there exists an integer such that, if , then (§ 4, No. 5, Cor. of Prop. 7); the set is compact, the () form a finite partition of into compact sets, and the restriction of to each is continuous; therefore the restriction of to is continuous.
Bourbaki puts the proof directly after the statement, so what is above is the statement and its proof together.