Title: On the theory of discrete varieties