
























Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

























A computer language (Perl) with commands that compute logical expressions. Another language (logic) with statements that describe preconditions and postconditions of commands in the computer language. How can we reason faster? What can we reason about? So far, our concept of proof is laborious: enumerate possibilities. So far, we have Proving yourself Wednesday, September 08, 2010 12:44 PM Docsity.com
Mathematicians are often thought of as sitting in quiet rooms working alone on proofs no one else will read. In fact, proof is really a social transaction. Proof is a really efficient way to communicate the correctness of a claim to someone else. In this class, you will prove things to convince me that they're true. In research, one proves things in order to convince other researchers of a basic fact. Proof as a social activity Saturday, September 11, 2010 5:27 PM Docsity.com
Suppositions: what we assume to be true. Consequences: what is true as a result of what we suppose. A theorem, lemma, or corollary always has a specific format: Preconditions: what we assume is true before a statement. Postconditions: what is true afterward, if the preconditions are true. Note the similarity to programs with Stating a theorem Saturday, September 11, 2010 4:51 PM Docsity.com
equivalence "always" holds. So far, our concept of truth has been invariant. If preconditions hold, then postconditions hold. Today, our concept of truth becomes conditional This is the definition of program correctness. Changing gears Wednesday, September 15, 2010 3:08 PM Docsity.com
Proof technique #1 (enumeration): If all possibilities for truth values of propositions in a statement lead to a true result, then the statement is true. E.g., for all truth values of p and q, so we conclude that Enumeration Wednesday, September 08, 2010 1:01 PM Docsity.com
Some important equivalences Saturday, September 11, 2010 4:39 PM Docsity.com
In the preceding, note that I applied DeMorgan's law to to get and treated an expression of propositions as a proposition Subtleties of substitution Subtleties of substitution Wednesday, September 08, 2010 1:02 PM Docsity.com
Different from equivalence and substitution. Unlike equivalence and substitution, deductions often work in only one direction. Logical deduction is a matter of assuming that some statements are true , and then deducing other true statements from them. Deduction Saturday, September 11, 2010 5:35 PM Docsity.com
If I know how to play a bassoon concerto, then I know how to play the bassoon. I know how to play a bassoon concerto.
I know how to play the bassoon. Example of modus ponens Using modus ponens Saturday, September 11, 2010 5:41 PM Docsity.com
Modus (tollendo) tollens: reasoning from negation Latin: that which denies by denying. If p implies q and q is not true, then p is not true. In symbols: Modus Tollens Saturday, September 11, 2010 5:47 PM Docsity.com
Latin: that which affirms by denying (Also called disjunctive syllogism ) If p or q is true, and q is not, then p must be. In symbols: Modus Tollendo Ponens Saturday, September 11, 2010 5:40 PM Docsity.com
Either I or my wife paints watercolor landscapes. I do not paint watercolor landscapes.
My wife paints watercolor landscapes. Example of modus tollendo ponens Saturday, September 11, 2010 6:00 PM Docsity.com
It is not true that both my wife and I can ride a unicycle. I can ride a unicycle.
My wife cannot ride a unicycle. Example of Modus Ponendo Tollens Saturday, September 11, 2010 6:05 PM Docsity.com
(also called transitivity of implication) Hypothetical syllogism Wednesday, September 15, 2010 12:45 PM Docsity.com