Andreotti and Frankel Theorem