Unconditional correctness of recent quantum algorithms for factoring and computing discrete logarithms | Synapse