Source: http://hautmathelin.fr/math/seconde/2_Automath_Systeme_par_substitution.pdf