I have that R is the k-algebra (k is a field) finitely generated by S={f1,...,fm}⊂k[x1,⋯,xn] and this set of polynomials is minimal with respect to inclusion (i.e., e do not have redundant elements). However, I know that the fi's are algebraically dependent. Can be the number m=|S| unique? What are the conditions?