pub fn poly_degree(p: &Poly) -> usize
The degree of a multilinear GF(2) polynomial: its largest monomial’s popcount (0 for the zero polynomial and for the constant 1).
GF(2)
0
1