University stuff.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

hw7.mdn 658B

123456789101112131415161718192021222324252627282930313233
  1. # Innlevering 7
  2. ## 12.1
  3. * f(0) = 1
  4. * f(1) = 0
  5. * f(b0) = f(b)1, hvor b er en bitstreng
  6. * f(b1) = f(b)0, hvor b er en bitstreng
  7. A) Funksjonen inverterer alle bits i en bitstreng; gjør alle 1 til 0 og alle 0 til 1.
  8. B) f(100) = 011
  9. C)
  10. 1. påstanden
  11. 2. _Induksjons_
  12. 3. induksjonshypotesen
  13. 4. påstanden
  14. 5. bx
  15. 6. punkt (2)
  16. 7. f(f(b)0)
  17. 8. punkt (3)
  18. 9. strukturell induksjon
  19. 10. f(f(b)) = b
  20. ## 13.1
  21. A) Far(Ola, Kari)
  22. B) $\exists$x Mor(Kari, x)
  23. C) $\lnot$($\exists$x Mor(x, Ola))
  24. D) $\forall$x($\exists$y Mor(y, x) \land $\exists$z Far(z, x))
  25. E) $\forall$x($\exists$yz(Mor(y, x) \land Mor(z, y)))
  26. F) $\lnot$($\exists$xy(Mor(x, y) \land Far(x, y)))