Complete-k-distinguishability for retiming and resynthesis equivalence checking without restricting synthesis