Sympy-exact witness of the Hardy-Weinberg binomial identity and its evaluation at the symmetric-allele anchor p = q = 1/2. Setup: frequencies (p², 2pq, q²) for (AA, Aa, aa) genotypes under random mating. Sum: p² + 2pq + q² = (p+q)² as a…
Sympy-exact witness of the Hardy-Weinberg binomial identity and its evaluation at the symmetric-allele anchor p = q = 1/2. Setup: frequencies (p², 2pq, q²) for (AA, Aa, aa) genotypes under random mating. Sum: p² + 2pq + q² = (p+q)² as a…