Which of the following is a characteristic of the Hardy-Weinberg law?