Source: https://people.math.harvard.edu/~knill/seminars/perfect/handout.pdf