PROPOSITIONAL LOGIC - SYNTAX-

Slides:



Advertisements
Similar presentations
Propositional and First Order Reasoning. Terminology Propositional variable: boolean variable (p) Literal: propositional variable or its negation p 
Advertisements

Models and Propositional Logic In propositional logic, a model in general simply fixes the truth value – true or false – for every proposition symbol.
Propositional Logic CMSC 471 Chapter , 7.7 and Chuck Dyer
Logic.
An Introduction to Propositional Logic Translations: Ordinary Language to Propositional Form.
Outline Recap Knowledge Representation I Textbook: Chapters 6, 7, 9 and 10.
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.
Logic in general Logics are formal languages for representing information such that conclusions can be drawn Syntax defines the sentences in the language.
1 Boolean Satisfiability in Electronic Design Automation (EDA ) By Kunal P. Ganeshpure.
1 CA 208 Logic Ex3 Define logical entailment  in terms of material implication  Define logical consequence |= (here the semantic consequence relation.
Propositional Logic. Negation Given a proposition p, negation of p is the ‘not’ of p.
COMMONWEALTH OF AUSTRALIA Copyright Regulations 1969 WARNING This material has been reproduced and communicated to you by or on behalf of Monash University.
An Introduction to Propositional Logic Translations: Ordinary Language to Propositional Form.
Sentential Logic(SL) 1.Syntax: The language of SL / Symbolize 2.Semantic: a sentence / compare two sentences / compare a set of sentences 3.DDerivation.
Knoweldge Representation & Reasoning
EE1J2 – Discrete Maths Lecture 5
Discussion #10 1/16 Discussion #10 Logical Equivalences.
Adapted from Discrete Math
Propositional Logic Reasoning correctly computationally Chapter 7 or 8.
Normal or Canonical Forms Rosen 1.2 (exercises). Logical Operators  - Disjunction  - Conjunction  - Negation  - Implication p  q   p  q  - Exclusive.
Normal Forms, Tautology and Satisfiability 2/3/121.
CS1502 Formal Methods in Computer Science
INTRODUCTION TO ARTIFICIAL INTELLIGENCE COS302 MICHAEL L. LITTMAN FALL 2001 Satisfiability.
1 Section 7.2 Equivalent Formulas Two wffs A and B are equivalent, written A  B, if they have the same truth value for every interpretation. Property:
Logical Agents Logic Propositional Logic Summary
1 Knowledge Representation. 2 Definitions Knowledge Base Knowledge Base A set of representations of facts about the world. A set of representations of.
Application: Digital Logic Circuits Lecture 5 Section 1.4 Wed, Jan 24, 2007.
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Circuit Design.
Fallacies The proposition [(p  q)  q]  p is not a tautology, because it is false when p is false and q is true. This type of incorrect reasoning is.
Logic Logic can be traced back to Aristotle, and more recently to Frege who introduced predicate logic as a language for representing and reasoning about.
Propositional calculus
LDK R Logics for Data and Knowledge Representation Propositional Logic: Reasoning First version by Alessandro Agostini and Fausto Giunchiglia Second version.
Propositional Logic. Propositions Any statement that is either True (T) or False (F) is a proposition Propositional variables: a variable that can assume.
Logical Agents Chapter 7. Outline Knowledge-based agents Logic in general Propositional (Boolean) logic Equivalence, validity, satisfiability.
Thinking Mathematically
CS6133 Software Specification and Verification
Automated reasoning with propositional and predicate logics Spring 2007, Juris Vīksna.
Review of Propositional Logic Syntax
Logic The Lost Art of Argument. Logic - Review Proposition – A statement that is either true or false (but not both) Conjunction – And Disjunction – Or.
© Copyright 2008 STI INNSBRUCK Intelligent Systems Propositional Logic.
CS2351 Artificial Intelligence Bhaskar.V Class Notes on Knowledge Representation - Logical Agents.
1 Section 6.2 Propositional Calculus Propositional calculus is the language of propositions (statements that are true or false). We represent propositions.
CSE 20: Discrete Mathematics for Computer Science Prof. Shachar Lovett.
Daniel Kroening and Ofer Strichman 1 Decision Procedures An Algorithmic Point of View Basic Concepts and Background.
The Logic of Boolean Connectives Chapter 4 Language, Proof and Logic.
CS.462 Artificial Intelligence SOMCHAI THANGSATHITYANGKUL Lecture 04 : Logic.
 Conjunctive Normal Form: A logic form must satisfy one of the following conditions 1) It must be a single variable (A) 2) It must be the negation of.
Logical Agents. Outline Knowledge-based agents Logic in general - models and entailment Propositional (Boolean) logic Equivalence, validity, satisfiability.
Simple Logic.
CENG 424-Logic for CS Introduction Based on the Lecture Notes of Konstantin Korovin, Valentin Goranko, Russel and Norvig, and Michael Genesereth.
Propositional Logic (a.k.a. Sentential Logic)
2. The Logic of Compound Statements Summary
Knowledge Representation and Reasoning
Chapter 1 – Logic and Proof
Logic.
The Propositional Calculus
Discussion #10 Logical Equivalences
ARTIFICIAL INTELLIGENCE
Proposition & Predicates
NP-Completeness (36.4-5) P: yes and no in pt NP: yes in pt NPH  NPC
Truth Tables – Logic (Continued)
The Boolean Connectives
Chapter 8 Logic Topics
Elementary Metamathematics
Logics for Data and Knowledge Representation
NP-Completeness Proofs
Back to “Serious” Topics…
Discrete Mathematics and Its Applications Kenneth H
Propositional Logic CMSC 471 Chapter , 7.7 and Chuck Dyer
Presentation transcript:

PROPOSITIONAL LOGIC - SYNTAX-

Semantics of propositional logic

Truth tables

Interpretation of a propositional formula

Semantic concepts

Semantic concepts (contd.)

Example 1. Build the truth tables of the formulas:

Logical equivalences

Logical equivalences (contd.)

Logical equivalences (contd.) --- Definitions of the connectives ---

Sets of propositional formulas

Theorems (semantic results)

Example

Example (contd.)

Example (contd.) – Truth table

Stylistic variants in English for logical connectives A and B Both A and B A, but B A, although B A as well as B A, B A, also B A or B Either A or B A unless B If A, then B If A, B A is a sufficient condition for B A is sufficient for B In case A, B Provided that A, then B B provided that A B is necessary for A A only if B B if A A if and only if B A is equivalent to B A is necessary and sufficient for B A just in case B

Normal forms - definitions A literal is a propositional variable or its negation. A clause is a disjunction of a finite number of literals. A cube is a conjunction of a finite number of literals. A formula is in disjunctive normal form (DNF), if it is written as a disjunction of cubes: A formula is in conjunctive normal form (CNF), if it is written as a conjunction of clauses:

Property

Normalization algorithm

Normal forms – theoretical results

Example

Example – models of a formula