25.06.2013 Views

1 transparent par page - Montefiore

1 transparent par page - Montefiore

1 transparent par page - Montefiore

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Exercices<br />

Montrez <strong>par</strong> induction forte que le nombre de transition de la machine<br />

d’état de l’algorithme d’exponentiation s’arrêtera après ⌈log 2 n⌉ + 1<br />

transitions à <strong>par</strong>tir d’un état où z = n = 0 ∈ N.<br />

Montrer que l’algorithme du <strong>trans<strong>par</strong>ent</strong> 91 est totalement correct pour<br />

les précondition et postcondition suivantes :<br />

Pre((x, y)) = ”x > 0 et y > 0”<br />

Post((x, y)) = ”x est le plus grand commun diviseur de a et b”<br />

101

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!