Source: https://who.rocq.inria.fr/Jean-Charles.Gilbert/ensta/cours2a/notes/cc-2020-2021-II.pdf