Source: https://perso.lpsm.paris/~boutillier/teaching/confinv/confinv.pdf