That quote always rubs me the wrong way. To reach certainty through deduction you need a closed domain. Assume Holmes is 100% correct about the information he has, and he has three suspects, two of whom he ruled out. Does that mean the third did the deed? No. There may be information Holmes does not have and there is really no way for Holmes to know he does not have that information.