Products over conjugation-stable finite sets #
Each nonreal pair in a conjugation-stable set contributes a squared norm to the product of values of a function that commutes with conjugation. This exposes the factors that determine the sign of a real spectral product.
Adapted from ConjugateProducts in lean-canny at
970f28a5ecefc1327402ade16c068aa4b1b2c183.
theorem Complex.prod_eq_ofReal_mul_prod_normSq (S : Finset ℂ) (f : ℂ → ℂ) (hS : ∀ z ∈ S, (starRingEnd ℂ) z ∈ S) (hf : ∀ z ∈ S, f ((starRingEnd ℂ) z) = (starRingEnd ℂ) (f z)) :
A conjugation-stable product factors into the real values on the real axis and one squared norm per nonreal pair, indexed by the points with positive imaginary part.