Abu Hanifa gives legal weight to the apparent state of the carcass as a basis for a one- or three-day retrospective estimate.
Abu Yusuf and Muhammad presume the continuation of established past purity and do not require repeating prayers on mere uncertainty.
Their disagreement concerns the proof needed to overturn past purity, not whether a carcass can contaminate the well.