Models and Propositional Logic In propositional logic, a model in general simply fixes the truth value – true or false – for every proposition symbol.

Slides:



Advertisements
Similar presentations
Automated Theorem Proving
Advertisements

Resolution Proof System for First Order Logic
Knowledge & Reasoning Logical Reasoning: to have a computer automatically perform deduction or prove theorems Knowledge Representations: modern ways of.
UIUC CS 497: Section EA Lecture #2 Reasoning in Artificial Intelligence Professor: Eyal Amir Spring Semester 2004.
Propositional and First Order Reasoning. Terminology Propositional variable: boolean variable (p) Literal: propositional variable or its negation p 
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.
Methods of Proof Chapter 7, second half.. Proof methods Proof methods divide into (roughly) two kinds: Application of inference rules: Legitimate (sound)
For Friday No reading Homework: –Chapter 9, exercise 4 (This is VERY short – do it while you’re running your tests) Make sure you keep variables and constants.
Logic Use mathematical deduction to derive new knowledge.
Logic.
Quiz Propositional Logic. 1. Let A,B,C be propositions, i.e. they can take values False (F) or True (T). a) How many possible worlds are there.
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)
Formal Logic Proof Methods Direct Proof / Natural Deduction Conditional Proof (Implication Introduction) Reductio ad Absurdum Resolution Refutation.
Computability and Complexity 8-1 Computability and Complexity Andrei Bulatov Logic Reminder.
Proof methods Proof methods divide into (roughly) two kinds: –Application of inference rules Legitimate (sound) generation of new sentences from old Proof.
1 Boolean Satisfiability in Electronic Design Automation (EDA ) By Kunal P. Ganeshpure.
Propositional Logic. Negation Given a proposition p, negation of p is the ‘not’ of p.
Inference and Resolution for Problem Solving
COMMONWEALTH OF AUSTRALIA Copyright Regulations 1969 WARNING This material has been reproduced and communicated to you by or on behalf of Monash University.
Knoweldge Representation & Reasoning
ECI 2007: Specification and Verification of Object- Oriented Programs Lecture 4.
Adapted from Discrete Math
CS1502 Formal Methods in Computer Science Lecture Notes 10 Resolution and Horn Sentences.
SAT Solver Math Foundations of Computer Science. 2 Boolean Expressions  A Boolean expression is a Boolean function  Any Boolean function can be written.
Proof Systems KB |- Q iff there is a sequence of wffs D1,..., Dn such that Dn is Q and for each Di in the sequence: a) either Di is in KB or b) Di can.
CHAPTERS 7, 8 Oliver Schulte Logical Inference: Through Proof to Truth.
CS1502 Formal Methods in Computer Science
Propositional Equivalences
INTRODUCTION TO ARTIFICIAL INTELLIGENCE COS302 MICHAEL L. LITTMAN FALL 2001 Satisfiability.
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.
CS344: Introduction to Artificial Intelligence Lecture: Herbrand’s Theorem Proving satisfiability of logic formulae using semantic trees (from Symbolic.
Unification Algorithm Input: a finite set Σ of simple expressions Output: a mgu for Σ (if Σ is unifiable) 1. Set k = 0 and  0 = . 2. If Σ  k is a singleton,
CS Introduction to AI Tutorial 8 Resolution Tutorial 8 Resolution.
Propositional calculus
Logical Agents Chapter 7. Outline Knowledge-based agents Logic in general Propositional (Boolean) logic Equivalence, validity, satisfiability.
CS6133 Software Specification and Verification
First-Order Logic and Inductive Logic Programming.
© Copyright 2008 STI INNSBRUCK Intelligent Systems Propositional Logic.
Planning as Satisfiability (SAT-Plan). SAT-Plan Translate the planning problem into a satisfiability problem for length n of Plan garb 0 (proposition)present.
CS2351 Artificial Intelligence Bhaskar.V Class Notes on Knowledge Representation - Logical Agents.
Reasoning with Propositional Logic automated processing of a simple knowledge base CD.
1 Propositional Logic Limits The expressive power of propositional logic is limited. The assumption is that everything can be expressed by simple facts.
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.
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.
Propositional Logic (a.k.a. Sentential Logic)
Knowledge Representation and Reasoning
Resolution in the Propositional Calculus
The Propositional Calculus
ARTIFICIAL INTELLIGENCE
First-Order Logic and Inductive Logic Programming
Logical Inference: Through Proof to Truth
Semantics In propositional logic, we associate atoms with propositions about the world. We specify the semantics of our logic, giving it a “meaning”. Such.
NP-Completeness Proofs
Propositional Equivalences
Artificial Intelligence: Agents and Propositional Logic.
Carlos Varela Rensselaer Polytechnic Institute November 10, 2017
Back to “Serious” Topics…
PROPOSITIONAL LOGIC - SYNTAX-
Quiz Nov Logic.
Quiz Nov Logic.
Quiz Propositional Logic.
Carlos Varela Rennselaer Polytechnic Institute August 30, 2007
The Satisfiability Problem
Propositional Satisfiability
Presentation transcript:

Models and Propositional Logic In propositional logic, a model in general simply fixes the truth value – true or false – for every proposition symbol. A model for a formula (set) is an assignment that makes the formula(s) true. One convention is to make a list of the symbols that are true in the model. Example: { P22, B21} is a model for the formula B21   P1  (B11 (P12  P21) )  (B21 (P11  P22  P31) )   B11

Implicative Normal Form Clauses on Conjunctive Normal Form, which is the basis for Resolution, can be presented in a more readable form. This means that all clauses, which originally are in conjunctive normal form (CNF) like A1   B1  A2 ...   B2   B3...  An (order of literals is immaterial) is transformed to the equivalent formula (B1  B2  B3  …  Bm )  (A1  A2  …  An) If m=0, we write True  (A1  A2  …  An) If n=0, we write (B1  B2  B3  …  Bm )  False

Implicative Normal Form (LOUIS Style) For some implementations, the clauses in INF are represented using some conventions inherited from Prolog: - identifiers starting with small letters denote constants - identifiers starting with capital letters denote variables Operators (     ) are printed as (and,or,not,=>) and each clause is ended with a ‘.’ b1 and b2 and b3...bn => a1 or a2... an. If m = 0 (no negative literal), we write t => a1 or a2... an. where t denotes the logical constant TRUE. If n = 0 (no positive literals), we write b1 and b2 and b3...bn => f. where f denotes is the logical constant FALSE.

LOUIS Theorem Prover (A Model Builder for Logical Expressions) LOUIS Therorem Prover is a model builder for clauses in Implicative Normal Form. It will try to find a model for the formulas, represented as a list of symbols that are true. If so, the formulas are satisfiable.If the formulas are unsatisfiable, a message is given. The system can be used to prove theorems of the kind KB |=  if the negation of the formula  is added to KB, and showing that the combined set is unsatisfiable.