Only needs to be a random sampling of known democrats, if they are trying to prove democrat fraud, not fraud generally. Right?  You don't need whole population, just population of democrats. However whether voting rate is lower, higher, or same between registered and non-registered democrats may be up for discussion. Also, 40k is a massive, massive sample. The CI is impressive with a grouping like that. Damning, you might say.