Corretude - UFCG
Corretude - UFCG
Corretude - UFCG
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Introdução Indução Algoritmos Recursivos Algoritmos IterativosExemplo 13 Cont.◮ Base: Para j = 0, i = 0 + 2 = 2, a = f (0) = 0 eb = f (1) = 1.◮ Hip. Indutiva: Depois da k-ésima iteração,i := k + 2a := f (k)b := f (k + 1)◮ Mostre que depois da iteração k + 1,i = k + 3a = f (k + 1)b = f (k + 2)Prof. Dr. Leandro Balby Marinho 40 / 44 <strong>UFCG</strong> CEEI