For finite subsetsAi of a finite ambient setX, the indicator function of their complement is ∏i(1−1Ai). Expanding this finite product and summing it against any weight f:X→R proves the weighted formula. The empty intersection is X. Negative weights are allowed; finiteness removes every convergence issue.