3 ms·
As another example of this, In [1] I've taken a python program for counting (a bound on) the number of iterations needed of the SafeGCD algorithm to compute a m
by rssoconnor 4y ago
As another example of this, In [1] I've taken a python program for counting (a bound on) the number of iterations needed of the SafeGCD algorithm to compute a modular inverse for any 256-bit (relatively prime) modulus, translated the python into Coq, and proved the implementation correct. Then by running the computation within Coq we produce a theorem about the bounds (e.g. at most 590 iterations needed for the HD variant of the algorithm).
[1] https://blog.blockstream.com/a-formal-proof-of-safegcd-bounds/ https://blog.blockstream.com/a-formal-proof-of-safegcd-bound...