1 / 9

CS1001

CS1001. Lecture 21. Overview. Projects Predicate Logic. Goals. Learn some predicate logic. Assignments. Brookshear: Chapter 11 Read linked documents on these slides (slides will be posted in courseworks). Induction. A formal proof technique Prove a ground case

mforman
Télécharger la présentation

CS1001

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. CS1001 Lecture 21

  2. Overview • Projects • Predicate Logic

  3. Goals • Learn some predicate logic

  4. Assignments • Brookshear: Chapter 11 • Read linked documents on these slides (slides will be posted in courseworks)

  5. Induction • A formal proof technique • Prove a ground case • Prove every case “one more” than some case is also true (prove n+1 assuming n)

  6. Propositional Logic • Symbols (variables holding true/false) • Operators • Key Point: The logic system does not rely on the actual values inside the variables. You can reason without knowing the actual values (like an algorithm) • A and B -> A

  7. Logic Rules • There are a number of rules for introducing/removing • Core operators: And, Or, Not, Implies

  8. A Puzzle Introduction (Smullyan) • There are two casket makers, Bellini and Cellini • All Bellini caskets have true inscriptions • All Cellini caskets have false inscriptions

  9. A Puzzle (Smullyan)

More Related