]> matita.cs.unibo.it Git - helm.git/commit
Prototype of min_aux changed.
authorClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Mon, 23 Jul 2007 15:14:29 +0000 (15:14 +0000)
committerClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Mon, 23 Jul 2007 15:14:29 +0000 (15:14 +0000)
commit445c98e6f96cdf622d35b5d362c61c2bf6160153
tree71f63167a0c1aa217423c10ef9e6d3440fdec259
parent604697f7e9869a50c30afba65f6753818a992d7a
Prototype of min_aux changed.
Now (min_aux off n f) find the smallest i such that
* f i = true or i = n+off
* \forall j,  n <= j <= n+off,  f j = false

The new function does no longer compute with off. Thus we obtain
for free a great computational speed-up in every function defined
in terms of it.
matita/library/nat/chinese_reminder.ma
matita/library/nat/minimization.ma
matita/library/nat/nth_prime.ma
matita/library/nat/primes.ma
matita/library/nat/totient.ma