Source: https://perso.math.univ-toulouse.fr/lagnoux/files/2013/12/master2_2.pdf