Many Valued Logic (MVL) By: Shay Erov - 01/11/2007.

Slides:



Advertisements
Similar presentations
Artificial Intelligence
Advertisements

Predicate Logic Colin Campbell. A Formal Language Predicate Logic provides a way to formalize natural language so that ambiguity is removed. Mathematical.
Some important properties Lectures of Prof. Doron Peled, Bar Ilan University.
The Logic of Quantified Statements
1 A formula in predicate logic An atom is a formula. If F is a formula then (~F) is a formula. If F and G are Formulae then (F /\ G), (F \/ G), (F → G),
The Liar and Dialetheism The Liar, the Strengthened Liar Dialetheism: Motivations and Problems Keith Allen Office Hour: Weds (D/140)
Kripke: Outline …(1975) First improtant decision: the theory is about sentences, not about propositions. Like Tarski, not like Barwise & Etchemendy. ***
Semantic Paradoxes.
Basic Structures: Sets, Functions, Sequences, Sums, and Matrices
CLASSICAL LOGIC and FUZZY LOGIC. CLASSICAL LOGIC In classical logic, a simple proposition P is a linguistic, or declarative, statement contained within.
© by Kenneth H. Rosen, Discrete Mathematics & its Applications, Sixth Edition, Mc Graw-Hill, 2007 Chapter 1: (Part 2): The Foundations: Logic and Proofs.
Basic Structures: Sets, Functions, Sequences, Sums, and Matrices
Knowledge Representation Methods
Truth Trees Intermediate Logic.
Fuzzy Logic Frank Costanzo – MAT 7670 Spring 2012.
CS128 – Discrete Mathematics for Computer Science
Artificial Intelligence Modal Logic
CPSC 322, Lecture 20Slide 1 Propositional Definite Clause Logic: Syntax, Semantics and Bottom-up Proofs Computer Science cpsc322, Lecture 20 (Textbook.
Me Talk Good One Day When Language and Logic Fail to Coincide.
Computing & Information Sciences Kansas State University Lecture 11 of 42 CIS 530 / 730 Artificial Intelligence Lecture 11 of 42 William H. Hsu Department.
Discrete Mathematics Math 6A Instructor: M. Welling.
EE1J2 – Discrete Maths Lecture 5 Analysis of arguments (continued) More example proofs Formalisation of arguments in natural language Proof by contradiction.
Logical and Rule-Based Reasoning Part I. Logical Models and Reasoning Big Question: Do people think logically?
First Order Logic. This Lecture Last time we talked about propositional logic, a logic on simple statements. This time we will talk about first order.
Fuzzy Logic. Lecture Outline Fuzzy Systems Fuzzy Sets Membership Functions Fuzzy Operators Fuzzy Set Characteristics Fuzziness and Probability.
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.
1 Derivation Schemes for Topological Logics. 2 Derived Logics What Are They? Why Do We Need Them? How Can We Use Them? Colleague: Michael Westmoreland.
Pattern-directed inference systems
Advanced Topics in Propositional Logic Chapter 17 Language, Proof and Logic.
Slide 1 Propositional Definite Clause Logic: Syntax, Semantics and Bottom-up Proofs Jim Little UBC CS 322 – CSP October 20, 2014.
Propositional Logic Dr. Rogelio Dávila Pérez Profesor-Investigador División de Posgrado Universidad Autónoma Guadalajara
Chapter 1, Part II: Predicate Logic With Question/Answer Animations.
Albert Gatt LIN3021 Formal Semantics Lecture 4. In this lecture Compositionality in Natural Langauge revisited: The role of types The typed lambda calculus.
Theory and Applications
1 Introduction to Abstract Mathematics Chapter 2: The Logic of Quantified Statements. Predicate Calculus Instructor: Hayk Melikya 2.3.
Naïve Set Theory. Basic Definitions Naïve set theory is the non-axiomatic treatment of set theory. In the axiomatic treatment, which we will only allude.
IEEE Intelligent Systems ‘2010, London, UK On Intuitionistic Fuzzy Negations and Law of Excluded Middle Krassimir T. Atanassov Centre of Biophysics and.
Chapter Thirteen Identity and Philosophical Problems of Symbolic Logic.
Artificial Intelligence 7. Making Deductive Inferences Course V231 Department of Computing Imperial College, London Jeremy Gow.
Artificial Intelligence “Introduction to Formal Logic” Jennifer J. Burg Department of Mathematics and Computer Science.
1 Propositional Logic: Fundamental Elements for Computer Scientists 0. Motivation for Computer Scientists 1. Propositions and Propositional Variables 2.
CS2351 Artificial Intelligence Bhaskar.V Class Notes on Knowledge Representation - Logical Agents.
Chapter 7. Propositional and Predicate Logic Fall 2013 Comp3710 Artificial Intelligence Computing Science Thompson Rivers University.
LDK R Logics for Data and Knowledge Representation Propositional Logic Originally by Alessandro Agostini and Fausto Giunchiglia Modified by Fausto Giunchiglia,
Conditionality What does TFF mean?. The paradox of material implication p ⊨ q ⊃ p is valid (by the definition of the truth table of ⊃ ) but trivially.
Tautology. In logic, a tautology (from the Greek word ταυτολογία) is a formula that is true in every possible interpretation.logic Greek formulainterpretation.
1 Georgia Tech, IIC, GVU, 2006 MAGIC Lab Rossignac Lecture 01: Boolean Logic Sections 1.1 and 1.2 Jarek Rossignac.
Foundations of Discrete Mathematics Chapter 1 By Dr. Dalia M. Gil, Ph.D.
Metalogic Soundness and Completeness. Two Notions of Logical Consequence Validity: If the premises are true, then the conclusion must be true. Provability:
PHILOSOPHY OF LANGUAGE Some topics and historical issues of the 20 th century.
Discrete Mathematical Structures: Theory and Applications 1 Logic: Learning Objectives  Learn about statements (propositions)  Learn how to use logical.
Chapter Eight Predicate Logic Semantics. 1. Interpretations in Predicate Logic An argument is valid in predicate logic iff there is no valuation on which.
Logics for Data and Knowledge Representation ClassL (part 1): syntax and semantics.
Chapter 2 1. Chapter Summary Sets (This Slide) The Language of Sets - Sec 2.1 – Lecture 8 Set Operations and Set Identities - Sec 2.2 – Lecture 9 Functions.
March 3, 2016Introduction to Artificial Intelligence Lecture 12: Knowledge Representation & Reasoning I 1 Back to “Serious” Topics… Knowledge Representation.
CENG 424-Logic for CS Introduction Based on the Lecture Notes of Konstantin Korovin, Valentin Goranko, Russel and Norvig, and Michael Genesereth.
Chapter 7. Propositional and Predicate Logic
Knowledge Representation and Reasoning
Lecture 2 Propositional Logic
CS201: Data Structures and Discrete Mathematics I
Logics for Data and Knowledge Representation
Lesson 5 Relations, mappings, countable and uncountable sets
Lesson 5 Relations, mappings, countable and uncountable sets
Back to “Serious” Topics…
Computer Security: Art and Science, 2nd Edition
Negations of quantifiers
Logics for Data and Knowledge Representation
Chapter 7. Propositional and Predicate Logic
CS201: Data Structures and Discrete Mathematics I
Logical and Rule-Based Reasoning Part I
Presentation transcript:

Many Valued Logic (MVL) By: Shay Erov - 01/11/2007

Many Valued Logic Today’s lecture: –What is MVL? –Motivation –MVL structure –Some 3-valued logics –Consequence relations –n-valued logics –Dunn/Belnap 4-valued logic –Extension to the first-order level

Many Valued Logic Today’s lecture (continued) : –Alternative –Fuzzy Logic (∞-valued logics) –Applications –History review –Summary

What is MVL? A truth-functional logic containing more than 2 truth values We will mainly focus on 3-valued logics, and Fuzzy logics (∞-valued )

Motivation Motivation for Many Valued Logic came mainly from paradoxes raised by philosophers MVL usually comes to give an answer to questions where it is hard / impossible to determine the truth values In the next couple of slides we will cover some of those motivations

Motivation – Inconsistent law Let assume that in a certain country, the following rules apply: –No aborigine shall have the right to vote –All property holders shall have the right to vote Now, let’s say John is an aborigine that did manage to buy a property. Is John allowed to vote?

Motivation – self reference Consider the following two paradoxes: –The Liar’s paradox : This sentence is false –Russell's paradox: Define a group r in the following way: {x| x x}. is r r? Any truth value assigned to one of the above, will result in it having both true and false values. Extended paradox : this sentence is either false or neither true nor false

Motivation – denotation failure There may be a sentence where neither A nor A can be verified “The present king of Canada was born in Italy” “Sherlock Holmes had 3 aunts” Sentences containing noun references that do not refer to anything Frege suggested that all such sentences are neither true nor false. Is that right?

Motivation – Future Contingents The sea battle paradox –There will be a sea battle tomorrow If there’s a truth value, then what will happen is of necessity, and it’s not possible since it’s still contingent matter.

Motivation – Future Contingents Łukasiewicz : If statements about the future events are already true or false, then the future is as much determined as the past and differs from the past only in so far as it has not yet come to pass

MVL – Definitions Language (atomic propositions, Connectives) Assignment / Interpretation Valid formula Designated values

MVL – Structure - Set of truth degrees - Set of designated truth values - for every n-place connective c, an n-place function on V to denote it Truth degrees meaning How do we define the classical logic this way?

3-valued logics Consist of 3 truth values, 2 main types for the third value, i,: –Neither true nor false –Both true and false and now for some examples…

3-valued logics – Invented by Łukasiewicz i stands for ‘possible’ {1} as the only designated value The tables for are intuitive Why is also 1 ? 10 ii 01 1 i 0 11 i 0 iii i i 1 ii 01 i 0 1 i 0 11 i 0 i 11 i 0111

3-valued logics – Invented by Kleene i stands for ‘possible’ {1} as the only designated value Same as besides What is the problem here? 10 ii 01 1 i 0 11 i 0 iii i i 1 ii 01 i 0 1 i 0 11 i 0 i 1 ii 0111

3-valued logics – i stands for ‘both true and false’ {1, i } as the designated values Tables the same as Follows the rule of excluded middle Does not follow Modus Ponens

3-valued logics – Based on LP, change in table of Follows Modus Ponens 1 i i 1 i

3-valued logics – Bochvar Trying to avoid the paradoxes i stands for ‘meaningless’ {1} as the only designated value Any formula involving i is meaningless No tautologies, introducing ‘assertion’ 10 ii 01 1 i 0 11 i 0 iiii 00 i 0

3-valued logics – Bochvar 1 i 0 11 i 0 iiii 01 i 1 Łukasiewicz Kleene Bochvar 1 i 0 11 i 0 i 11 i i 0 11 i 0 i 1 ii i 0 11 i 0 iii i 0 11 i 0 iii i 0 11 i 0 iiii 00 i 0 1 i 0 11 i 0 iiii 00 i 0 1 i i 1 ii 01 i 0 1 i i 1 ii 01 i 0 What are the main differences?

Consequence Relations To simplify notation we work with –1 two-place connective –1 one-place connective A matrix for language L consist of –A non empty set, V of truth values –A non empty subset of V, D of the designated values. –A set of interpretations for the connectives of L (for every n-place connective c, an n-place function )

Consequence Relations g is a substitution for a language L if it is a function from the set of variables into L We write for the result of applying the substitution g to the variables in is consistent with respect to if there’s a formula so that

Consequence Relations A is a consequence of Σ with respect to the matrix M (Σ A) if for every assignment g, if for all B Σ then A is a tautology with respect to the matrix M if A

Consequence Relations A consequence relation for a matrix M satisfies the following conditions: – Matrix M is a characteristic matrix of an abstract sequence relation if it coincides with

Consequence Relations is a structural consequence relation if it satisfies the rule of uniform substitution: –If and g is a substitution then is uniform if it satisfies : –If and is consistent, then If is a uniform structural consequence relation then has a characteristic matrix.

n-valued logics – Generalization of for n truth values truth functions :

n-valued logics - Post Truth values set = {0 … m-1} Designated values – {0 … n} Have a proof for completeness

Dunn/Belnap 4-valued logic The two additional values represent uncertainty / inconsistency The truth degrees ordering is non-linear, two natural ways to order it are :

Extension to first-order level We will use as an example We extend the language to contain: –Individual variables –Predicates –The quantifiers Given non empty set of individuals I –Constants a,b,c… to correlate with them

Extension to first-order level An m-valued structure is an assignment of a truth-value to the atomic sentences in the Language. For in I and an n-place predicate P we give the value And for the quantifiers:

Alternative - Supervaluations Given a interpretation v, v’ is a supervaluation of v if it is the same as v except where v(p)= i, in which case v’(p) is either 1 or 0. v’ represents one of the ways things could turn

Alternative - Supervaluations We define in the following way: –Σ A iff for every interpretation v, every supervaluation v’ that makes every true, makes A true. This definition reduces to truth preservation under all classical interpretations is just classical logic, although allowing truth-value gaps.

Fuzzy Logic (∞-valued logics) Fuzzy Logic is a type of MVL where the set of truth values is infinite Usually the set of all real values in [0,1] are used, where 1 is true.

Fuzzy Logic – Motivation Sorites paradox (the bald man / the heap) –( i ) One grain of wheat does not make a heap –( ii ) Adding one grain of wheat to something that is not a heap, does not make it a heap –Apply ( ii ) 9,999 times and you’ll get that 10,000 grains of wheat do not make a heap.

Fuzzy Logic – Motivation Can be displayed as a sequence of Modus Ponens:...

Fuzzy Logic – Motivation is definitely true. is definitely false If there exist a unique i for which is true and is false, then is false. It is counterintuitive that one small hair will make the person bald.

The continuum-valued logic - Ł Truth values – all real numbers in [0,1] Extension of for infinite truth-values Same truth functions

The continuum-valued logic - Ł Designated values –Are context dependent –We choose ε and will be Consequence relations –Σ A iff for all interpretation v, if for all B Σ, then –Context independent : Σ A iff for all Σ A

The continuum-valued logic - Ł Modus Ponens is invalid when v(p)=½ → v(^p)=½ → v( )=½ Let’s assume there are 3 balls (a,b) –Red(a)=1, Small(a)=½ –Red(b)=½, Small(b)=½ –Which ball is better for Red & Small?

Applications of MVL Linguistics – treating sentences with presuppositions (assumptions created by the sentence) Logic – understanding other systems of logic, merging modalities, and modeling truth-values gaps Philosophical – understanding the meaning of “truth” in paradoxes

Applications of MVL Hardware design – designing many valued switches (more than two voltage levels) Artificial Intelligence – using fuzzy logic for vague notions and commonsense reasoning. Mathematics – using the logical matrices as a technical tool for consistency proofs in the set theory

Some history Aristotle [~1920] Łukasiewicz [1952] Kleene [1975] Kripke suggested i should be lack of truth value and not a third one [1979] Priest created LP [1969] van Fraassen invented Supervaluations

Summary Last words and room for questions