Extra slides for Chapter 3: Adequacy of connectives Based on Prof. Lila Kari’s slides For CS2209A, 2009 By Dr. Charles Ling;

Slides:



Advertisements
Similar presentations
Exercises for CS1512 Weeks 7 and 8 Propositional Logic 1 (questions)
Advertisements

Exercises for CS1512 Weeks 7 and 8 Propositional Logic 1 (questions + solutions)
Completeness and Expressiveness
Some important properties Lectures of Prof. Doron Peled, Bar Ilan University.
Chapter 3 Direct Proof and Proof by Contrapositive
Possible World Semantics for Modal Logic
Primitive Recursive Functions (Chapter 3)
1 Logic Logic in general is a subfield of philosophy and its development is credited to ancient Greeks. Symbolic or mathematical logic is used in AI. In.
Copyright © Cengage Learning. All rights reserved. CHAPTER 5 SEQUENCES, MATHEMATICAL INDUCTION, AND RECURSION SEQUENCES, MATHEMATICAL INDUCTION, AND RECURSION.
Copyright © Cengage Learning. All rights reserved.
L41 Lecture 2: Predicates and Quantifiers.. L42 Agenda Predicates and Quantifiers –Existential Quantifier  –Universal Quantifier 
Copyright © Cengage Learning. All rights reserved. CHAPTER 5 SEQUENCES, MATHEMATICAL INDUCTION, AND RECURSION SEQUENCES, MATHEMATICAL INDUCTION, AND RECURSION.
1 Semantic Description of Programming languages. 2 Static versus Dynamic Semantics n Static Semantics represents legal forms of programs that cannot be.
Complexity 11-1 Complexity Andrei Bulatov Space Complexity.
Computability and Complexity 9-1 Computability and Complexity Andrei Bulatov Logic Reminder (Cnt’d)
Computability and Complexity 8-1 Computability and Complexity Andrei Bulatov Logic Reminder.
TR1413: Discrete Mathematics For Computer Science Lecture 3: Formal approach to propositional logic.
1 Section 10.1 Boolean Functions. 2 Computers & Boolean Algebra Circuits in computers have inputs whose values are either 0 or 1 Mathematician George.
Chapter 9: Boolean Algebra
EE1J2 – Discrete Maths Lecture 5
Propositional Calculus Math Foundations of Computer Science.
Propositional Equivalence Goal: Show how propositional equivalences are established & introduce the most important such equivalences.
Propositional Calculus CS 680: Formal Methods in Verification Computer Systems Jeremy Johnson.
Mathematical Induction Assume that we are given an infinite supply of stamps of two different denominations, 3 cents and and 5 cents. Prove using mathematical.
Adapted from Discrete Math
Boolean Algebra Computer Organization 1 © McQuain Boolean Algebra A Boolean algebra is a set B of values together with: -two binary operations,
Discrete Mathematics Goals of a Discrete Mathematics Learn how to think mathematically 1. Mathematical Reasoning Foundation for discussions of methods.
Intro to Discrete Structures
Discrete Mathematics and Its Applications
Mathematical Structures A collection of objects with operations defined on them and the accompanying properties form a mathematical structure or system.
Systems Architecture I1 Propositional Calculus Objective: To provide students with the concepts and techniques from propositional calculus so that they.
Theoretical basis of GUHA Definition 1. A (simplified) observational predicate language L n consists of (i) (unary) predicates P 1,…,P n, and an infinite.
MATH 224 – Discrete Mathematics
Boolean Algebra and Computer Logic Mathematical Structures for Computer Science Chapter 7.1 – 7.2 Copyright © 2006 W.H. Freeman & Co.MSCS Slides Boolean.
Advanced Topics in Propositional Logic Chapter 17 Language, Proof and Logic.
Propositional Logic Dr. Rogelio Dávila Pérez Profesor-Investigador División de Posgrado Universidad Autónoma Guadalajara
Copyright © Curt Hill Mathematical Logic An Introduction.
Chapter Three Truth Tables 1. Computing Truth-Values We can use truth tables to determine the truth-value of any compound sentence containing one of.
Propositional Calculus CS 270: Mathematical Foundations of Computer Science Jeremy Johnson.
LDK R Logics for Data and Knowledge Representation Propositional Logic: Reasoning First version by Alessandro Agostini and Fausto Giunchiglia Second version.
Extra slides for Chapter 3: Propositional Calculus & Normal Forms Based on Prof. Lila Kari’s slides For CS2209A, 2009 By Dr. Charles Ling;
IB Computer Science – Logic
Chapter 1: The Foundations: Logic and Proofs
Chapter 1: The Foundations: Logic and Proofs
Section 3.4 Boolean Algebra. A link between:  Section 1.3: Logic Systems  Section 3.3: Set Systems Application:  Section 3.5: Logic Circuits in Computer.
Propositional Equivalence A needed step towards proofs Copyright © 2014 Curt Hill.
Theory of Computation Lecture 5: Primitive Recursive Functions I
VECTORS AND THE GEOMETRY OF SPACE. The Cross Product In this section, we will learn about: Cross products of vectors and their applications. VECTORS AND.
Predicate Logic One step stronger than propositional logic Copyright © Curt Hill.
We will now study some special kinds of non-standard quantifiers. Definition 4. Let  (x),  (x) be two fixed formulae of a language L n such that x is.
Propositional Logic Rather than jumping right into FOL, we begin with propositional logic A logic involves: §Language (with a syntax) §Semantics §Proof.
1 Section 6.2 Propositional Calculus Propositional calculus is the language of propositions (statements that are true or false). We represent propositions.
Boolean Expression Evaluation CS 270: Math Foundations of CS Jeremy Johnson.
Foundations of Discrete Mathematics Chapter 1 By Dr. Dalia M. Gil, Ph.D.
Logics for Data and Knowledge Representation ClassL (part 1): syntax and semantics.
Chapter 1 Logic and proofs
CS-7081 Application - 1. CS-7082 Example - 2 CS-7083 Simplifying a Statement – 3.
CENG 424-Logic for CS Introduction Based on the Lecture Notes of Konstantin Korovin, Valentin Goranko, Russel and Norvig, and Michael Genesereth.
Francisco Antonio Doria
Advanced Algorithms Analysis and Design
Propositional Calculus: Boolean Functions and Expressions
CSNB 143 Discrete Mathematical Structures
Lecture 1 – Formal Logic.
Chapter 1 – Logic and Proof
Chapter 1 Logic and Proofs.
Boolean Algebra A Boolean algebra is a set B of values together with:
Chapter 8 Logic Topics
Propositional Calculus: Boolean Algebra and Simplification
CSE 311 Foundations of Computing I
Foundations of Discrete Mathematics
Presentation transcript:

Extra slides for Chapter 3: Adequacy of connectives Based on Prof. Lila Kari’s slides For CS2209A, 2009 By Dr. Charles Ling;

Adequate set of connectives A remarkable property of the standard set of connectives is the fact that for every table there is a formula (depending on the variables P, Q,... and using only the standard connectives) that has exactly this truth table. (There is Boolean function f(P, Q, …) with exactly this truth table). Any set of connectives with the capability to express all truth tables is said to be adequate. As Post (1921) observed, the standard connectives are adequate. We can show that a set S of connectives is adequate if we can express all the standard connectives in terms of S.

Adequate set of connectives Formulas and are tautologically equivalent. Then is definable in terms of (or is reducible to or can be expressed in terms of) and. Similarly, is definable in terms of and because is tautologically equivalent to Theorem. is an adequate set of connectives. Proof. For any formulas A,B and Corollary are adequate. Proof. Exercise.

Adequate set of connectives Schroder showed in 1880 that each of the standard connectives is definable in terms of a single binary connective, where the truth table associated with is We can express in terms of the standard connectives by, and also the standard connectives in terms of by Thus it follows that a single connective is adequate. Consequently, to test a given S for being adequate it suffices to test if can be expressed by S.

Adequate set of connectives In 1913 Sheer showed that the Sheer stroke | with associated truth table is also a single binary connective in terms of which the standard connectives can be expressed.

Proving inadequacy How do we show that a given set of connectives is not adequate? Show that some standard connective cannot be expressed by S. Example. The set is not adequate. Proof. To see this, note that a formula depending on only one variable and which uses only the connective has the property that its truth value for a value assignment that makes P= 0 is always 0. In order to define the negation in terms of, there should exist a formula f depending on the variable P and using only the connective such that However, for a value assignment such that, we have and therefore, which shows that and F cannot be tautologically equivalent.

If-then-else Let us use the symbol for the ternary connective whose truth table is given by It is easy to see that for any value assignment we have This is the familiar if-then-else connective from computer science, namely If P then Q else R

We can consider now propositional logic based not upon the five common connectives, but upon an adequate set of connectives, for instance Let be a sublanguage of obtained by deleting from the three connectives is the set of formulas of. Theorem. Proof. Obviously, Conversely, for we define (by recursion) its translation into as follows: