The Existential Graphs Project Rensselaer Reasoning Group September 12, 2001.

Slides:



Advertisements
Similar presentations
Chapter 3 Direct Proof and Proof by Contrapositive
Advertisements

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.
Propositional Logic CMSC 471 Chapter , 7.7 and Chuck Dyer
Deduction In addition to being able to represent facts, or real- world statements, as formulas, we want to be able to manipulate facts, e.g., derive new.
Copyright © Cengage Learning. All rights reserved.
L41 Lecture 2: Predicates and Quantifiers.. L42 Agenda Predicates and Quantifiers –Existential Quantifier  –Universal Quantifier 
Goals Determine the true value of statements with AND, OR, IF..THEN. Negate statements with the connectives above Construct truth tables Understand when.
Truth Trees Intermediate Logic.
22C:19 Discrete Structures Logic and Proof Spring 2014 Sukumar Ghosh.
Logic 3 Tautological Implications and Tautological Equivalences
Formalizing Alpha: Soundness and Completeness Bram van Heuveln Dept. of Cognitive Science RPI.
Existential Graphs: Beta Introduction to Logic. Alpha Review: Symbolization ‘P’ ‘not P’ ‘P and Q’ ‘P or Q’ ‘if P then Q’ F EG PP PP P  Q P  Q P 
Inference and Resolution for Problem Solving
Copyright © Zeph Grunschlag, Set Operations Zeph Grunschlag.
Existential Graphs and Davis-Putnam April 3, 2002 Bram van Heuveln Department of Cognitive Science.
LIMITS Continuity LIMITS In this section, we will: See that the mathematical definition of continuity corresponds closely with the meaning of the.
March 10: Quantificational Notions Interpretations: Every interpretation interprets every individual constant, predicate, and sentence letter of PL. Our.
Logic: Connectives AND OR NOT P Q (P ^ Q) T F P Q (P v Q) T F P ~P T F
Using the EG Applet Bram van Heuveln. Contents General Comments –Some general comments regarding the use of the applet Work Area –Instructions for creating.
Alpha: Symbolization and Inference Bram van Heuveln Minds and Machines Lab RPI.
MULTIPLE INTEGRALS Double Integrals over General Regions MULTIPLE INTEGRALS In this section, we will learn: How to use double integrals to.
Copyright © Cengage Learning. All rights reserved. CHAPTER 2 THE LOGIC OF COMPOUND STATEMENTS THE LOGIC OF COMPOUND STATEMENTS.
Improvements and Extensions of the EG Interface Fall 2002.
Propositional Calculus Math Foundations of Computer Science.
Predicates and Quantifiers
Methods of Proof & Proof Strategies
DOUBLE INTEGRALS OVER GENERAL REGIONS
Copyright © Cengage Learning. All rights reserved.
A Java Implementation of Peirce’s Existential Graphs Bram van Heuveln Department of Philosophy State University College at Oneonta March 22, 2001.
Existential Graphs Software Dr. Russell Herman Department of Mathematics and Statistics University of North Carolina at Wilmington August 2003.
Marriage Problem Your the sovereign in a small kingdom. One of your jobs is to marry off the people in kingdom. There are three rules that apply.
Keystone Problems… Keystone Problems… next Set 2 © 2007 Herbert I. Gross.
Chapter 1, Part II: Predicate Logic With Question/Answer Animations.
Advanced Topics in Propositional Logic Chapter 17 Language, Proof and Logic.
1 CMSC 471 Fall 2002 Class #10/12–Wednesday, October 2 / Wednesday, October 9.
Propositional Logic Dr. Rogelio Dávila Pérez Profesor-Investigador División de Posgrado Universidad Autónoma Guadalajara
Existential Graphs Intermediate Logic. Existential Graphs A graphical logic system developed by C.S. Peirce almost 100 years ago. Peirce studied semiotics:
Copyright © Cengage Learning. All rights reserved. CHAPTER 3 THE LOGIC OF QUANTIFIED STATEMENTS THE LOGIC OF QUANTIFIED STATEMENTS.
Chapter 1, Part II: Predicate Logic With Question/Answer Animations.
A Java implementation of Peirce’s Alpha Graphs Bram van Heuveln (RPI) Dennis Higgins (SUNY Oneonta) SUNY Oneonta undergraduate programmers: Elizabeth Hatfield,
A Java implementation of Peirce’s Existential Graphs* faculty advisors: Bram van Heuveln (Philosophy) Dennis Higgins (Math & Computer Science) student.
A Java implementation of Peirce’s Existential Graphs
Propositional Logic. Propositions Any statement that is either True (T) or False (F) is a proposition Propositional variables: a variable that can assume.
Automated Reasoning Early AI explored how to automated several reasoning tasks – these were solved by what we might call weak problem solving methods as.
Automated Reasoning Early AI explored how to automate several reasoning tasks – these were solved by what we might call weak problem solving methods as.
Extra slides for Chapter 3: Propositional Calculus & Normal Forms Based on Prof. Lila Kari’s slides For CS2209A, 2009 By Dr. Charles Ling;
Chapter 2 Logic 2.1 Statements 2.2 The Negation of a Statement 2.3 The Disjunction and Conjunction of Statements 2.4 The Implication 2.5 More on Implications.
LOGIC AND QUANTIFIERS. INTRODUCTION Many algorithms and proofs use logical expressions such as: “IF p THEN q” or “If p1 AND p2, THEN q1 OR q2” Therefore.
CSS342: Quantifiers1 Professor: Munehiro Fukuda. CSS342: Quantifiers2 Review of Propositions Proposition: a statement that is either true or false, but.
Propositional Logic Predicate Logic
Copyright © Cengage Learning. All rights reserved. Fundamental Concepts of Algebra 1.1 Real Numbers.
Copyright © Curt Hill Minimization Arbitrary Truth Table to Minimal Function.
CS104:Discrete Structures Chapter 2: Proof Techniques.
ARTIFICIAL INTELLIGENCE Lecture 2 Propositional Calculus.
Week 4 - Friday.  What did we talk about last time?  Floor and ceiling  Proof by contradiction.
1 Introduction to Abstract Mathematics Proof Methods , , ~, ,  Instructor: Hayk Melikya Purpose of Section:Most theorems in mathematics.
Foundations of Discrete Mathematics Chapter 1 By Dr. Dalia M. Gil, Ph.D.
1 Section 7.1 First-Order Predicate Calculus Predicate calculus studies the internal structure of sentences where subjects are applied to predicates existentially.
Chapter 1 Logic and proofs
Chapter 1 Logic and Proof.
Lecture 1 – Formal Logic.
7/20/2018 EMR 17 Logical Reasoning Lecture 7.
CS201: Data Structures and Discrete Mathematics I
TRUTH TABLES.
Predicates and Quantifiers
Propositional Logic CMSC 471 Chapter , 7.7 and Chuck Dyer
CS201: Data Structures and Discrete Mathematics I
RESOLUTION.
Foundations of Discrete Mathematics
Presentation transcript:

The Existential Graphs Project Rensselaer Reasoning Group September 12, 2001

Overview Alpha –Symbolization –Inference Rules –Current Java Implementation Beta –Symbolization –The Bird Problem The Future –Questions –Extensions

Symbolization Sheet of Assertion To assert some statement in EG, you put the symbolization  of that statement on a sheet of paper, called the ‘Sheet of Assertion’ (SA). Thus, to assert the truth of some statement p, draw:  where  is the symbolization of p SA

Symbolization Location is irrelevant The location of the symbolization on the SA does not matter: as long as it is somewhere on the SA, it is being asserted. Thus:   states the same as: In fact, the above two graphs are regarded as completely identical.

Symbolization Juxtaposition and Conjunction By drawing the symbolization of two statements on the SA, you are asserting the truth of both statements at once. Hence, the mere juxtaposition of two symbolizations on the SA can be interpreted as the assertion of a single conjunction. Thus:   can be seen as the assertion of both  and , but also as the assertion of   , and also as the assertion   .

Symbolization Cut and Negation You assert the negation of some statement by drawing a cut (circle, oval, rectangle, or any other enclosing figure) around the symbolization of that statement. Thus:  asserts that  is false. (from now on, the SA will not always be drawn)

Symbolization Expressive Completeness Atomic propositions, cuts and juxtaposition are the only symbolization tools of Alpha. However, since conjunction and negation form an expressively complete set of operators for propositional logic, Alpha is expressively complete as well (and Alpha does not need parentheses).

Symbolization From PL to EG P ~~                P      Symbolization in EG Expression in PL

Symbolization From EG to PL P  Q or Q  P or P and Q ~(~P  ~Q) or ~P  Q or P  Q or ~(~Q  ~P) or ~Q  P or Q  P ~(P  ~Q) or ~(~Q  P) or ~P  Q or Q  ~P or P  Q Q QP P QP QP ~(P  Q) or ~(Q  P) or ~P  ~Q or ~Q  ~P Possible Readings

Inference Rules Alpha has four inference rules: –2 rules of inference: Insertion Erasure –2 rules of equivalence: Double Cut Iteration/Deiteration To understand these inference rules, one first has to grasp the concepts of subgraph, double cut, level, and nested level.

Inference Rules Subgraph The notion of subgraph is best illustrated with an example: R Q The graph on the left has the following subgraphs: QRR R Q R Q,,,, In other words, a subgraph is any part of the graph, as long as cuts keep their contents.

Inference Rules Double Cut A Double Cut is any pair of cuts where one is inside the other and with nothing in between. Thus: P RQ RQ,, and contain double cuts, butdoes not.

Inference Rules Level The level of any subgraph is the number of cuts around it. Thus, in the following graph: R Q Q R R R Q R Q is at level 2 (the graph itself) is at level 0,,, andare at level 1, and

Inference Rules Nested Level A subgraph  is said to exist at a nested level in relation to some other subgraph  if and only if one can go from  to  by going inside zero or more cuts, and without going outside of any cuts. E.g. in the graph below: P R Q R exists at a nested level in relation to Q, but not in relation to P. Also: Q andR exist at a nested level in relation to each other.

Inference Rules Double Cut The Double Cut rule of equivalence allows one to draw or erase a double cut around any subgraph. Obviously, this rule corresponds exactly with Double Negation from PL.    

Inference Rules Insertion The Insertion rule allows one to insert any graph at any odd level.   12k+1  1

Inference Rules Erasure The Erasure rule of inference allows one to erase any graph from any even level.   12k  1

Inference Rules Iteration/Deiteration The Iteration/Deiteration rule of equivalence allows one to place or erase a copy of any subgraph at any nested level in relation to that subgraph. 

Inference Rules Completeness and Soundness Although no proof will be given here, it turns out that the 4 inference rules of Alpha form a complete system for truth-functional logic (for a proof, see “The Existential Graphs of Charles S. Peirce” by Don Roberts, 1973). The rules are also sound, although (except for Double Cut), this is not immediately obvious either (for a proof, see the ‘Alpha’ presentation online).

Java Implementation

Existentials, Individuals and Identity ‘Something exists’ ‘Nothing exists’ ‘John exists’ j ‘a=b’ ab ‘At least 2 things exist’ ‘a  b’ ba

Quantifier Square of Opposition ‘Something is P’‘Something is not P’ ‘Nothing is P’‘Everything is P’ PP P P

Traditional Square of Opposition ‘Some P is Q’‘Some P is not Q’ ‘No P is Q’‘Every P is Q’ P Q P Q P Q P Q

The Bird Problem  x (Bx   x Bx)

Questions Does one obtain a deep understanding of logic using EG? How do EG and PL compare and relate? Does EG reveal features that can be exploited in automated theorem proving?

Improvements and Extensions: Fitch Model after Fitch: –Have goal(s) (subgoals?) separate –The user needs to be able to load, save, and edit proofs User can ‘see’ the proof Justifications can be indicated as well Students can hand in proofs as HW –User should be able to make mistakes Program provides feedback User learns from mistakes

Improvements and Extensions: Other Relate to PL: –Translate between PL and EG Automatic? Partly automatic? Helpful Buttons: –To draw a ‘If P then Q’ graph, click on ‘if … then’ button, followed by ‘P’ button and ‘Q’ button (again, like Fitch) Beta!

More Improvements Tree->Graph automatic drawing –Facilitates proof editing as it facilitates pasting of parts of proof –Can ‘clean up’ user mess –Automatic/User Drawing mode Apply patterns to part of graph –Again, pasting can be facilitated through automatic drawing routine –Import patterns Con Rules! –Useful for user –Automatic Theorem Proving!