General lemmas not specific to analysis of Boolean functions.
@[reducible, inline]
Real-valued 0-1 indicator testing a proposition. We prefer this over using Set.indicator
and we don't call it indicator to avoid overloading the Mathlib definition.