1 / 10

The Logic of Boolean Connectives

Language, Proof and Logic. The Logic of Boolean Connectives . Chapter 4. 4.1.a. Tautologies and logical truth. A sentence is: Logically possible if it could be true. “Bob is funny or Bob is not funny” “Bob is funny” “Bob arrived from the Earth to Pluto within 1 min”

florrie
Download Presentation

The Logic of Boolean Connectives

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. Language, Proof and Logic The Logic of Boolean Connectives Chapter 4

  2. 4.1.a Tautologies and logical truth A sentence is: Logically possible if it could be true. “Bob is funny or Bob is not funny” “Bob is funny” “Bob arrived from the Earth to Pluto within 1 min” Logically necessary (logical truth) if it could not be false. “Bob is funny or Bob is not funny” “a=a” “if c=d and c is a grumber, then d is a grumber” How about: “Tet(a)  Cube(a)  Dodec(a)” “SameRow(a,a)”? Tautologyif every row of its truth table has a “T”. You try it, page 100

  3. 4.1.b Tautologies and logical truth Tarski’s world necessities Logical necessities Tautologies

  4. 4.2 Logical and tautological equivalence Two sentences S1 and S2 are: Logically equivalent if it is impossible that S1 is true while S2 is false, or S1 is false while S2 is true. Tautologically equivalent if S1 and S2 have identical truth values in their joint truth table. Construct such tables for: (AB) vs. AB A vs. B ((AB)  C) vs. (AB)  C a=b  Cube(a) vs. a=b  Cube(b)

  5. 4.3 Logical and tautological consequence A sentence S is a logical consequence of sentences P1,…,Pn if it is impossible that S is false while each of P1,…,Pn is true. A sentence S is a tautological consequence of sentences P1,…,Pn if in every row of the joint truth table, whenever each of P1,…,Pn is true, so is S. Is Cube(a) a logical consequence of Cube(b), a=b? Is it also a tautological consequence? Is AB a logical consequence of BA? How’bout vice versa? Is B a logical consequence of AB, A?

  6. 4.4 Tautological consequence in Fitch Ana Con vs. FO Con vs. Taut Con You try it, p. 117

  7. 4.5.a Pushing negation around The principle of substitution of logical equivalents: If P Q, then S(P)  S(Q). Negation normal form (NNF): negation is applied only to atoms. De Morgan’s laws allow us to bring any formula down to NNF: (AB)C  ((AB)C)  (AB)C  (AB)C

  8. 4.5.b Commutativity, idempotence, associativity (AB)C((BA)B)  (AB)C((BA)B)  (AB)C((BA)B)  (AB)C(BAB)  (AB)C(ABB)  (AB)C(AB)  (AB)(AB)C  (AB)C Commutativity: PQ  QP PQ  QP Idempotence: PP  P PP  P Associativity: P(QR)  (PQ)R  PQR P(QR)  (PQ)R  PQR Chain of equivalences

  9. 4.6.a Conjunctive and disjunctive normal forms Distribution of  over +: a(b+c) = ab + ac Hence, e.g., (a+b)(c+d) = (a+b)c + (a+b)d = ac + bc + (a+b)d = ac + bc + ad + bd Disjunctive normal form (DNF): disjunction of one or more conjunctions of literals Conjunctive normal form (CNF): conjunction of one or more disjunctions of literals What are these? (ABC)(AD)B (AB)C (A(BC))D AB

  10. 4.6.b Conjunctive and disjunctive normal forms Distributionof  over : P(QR)  (PQ)(PR) Allows us to bring any NNF to DNF Distributionof  over : P(QR)  (PQ)(PR) Allows us to bring any NNF to CNF (AB)(CD)  [(AB)C]  [(AB)D]  (AC)  (BC)  [(AB)D]  (AC)  (BC)  (AD) (BD) (AB)(CD)  [(AB)C]  [(AB)D]  (AC)  (BC)  [(AB)D]  (AC)  (BC)  (AD) (BD)

More Related