MODALITY, SI! MODAL LOGIC, NO!

Similar documents
MODALITY FOR ROBOTS RESPONSES TO HALPERN AND WANSING

Todd Moody s Zombies

Modal logic. Benzmüller/Rojas, 2014 Artificial Intelligence 2

FROM HERE TO HUMAN-LEVEL AI

Awareness and Understanding in Computer Programs A Review of Shadows of the Mind by Roger Penrose

John McCarthy March 23 ROADS TO HUMAN LEVEL AI? Will we ever reach human level AI?

From here to human-level AI

My papers are on the above web page. This paper is

arxiv: v1 [cs.ai] 20 Feb 2015

HANDBOOK OF TABLEAU METHODS

Robin Milner,

Logic and Artificial Intelligence Lecture 16

The Multi-Mind Effect

Almost all of my papers are on the web page.

APPROXIMATE KNOWLEDGE OF MANY AGENTS AND DISCOVERY SYSTEMS

Propositional attitudes

22c181: Formal Methods in Software Engineering. The University of Iowa Spring Propositional Logic

What is AI? AI is the reproduction of human reasoning and intelligent behavior by computational methods. an attempt of. Intelligent behavior Computer

A review of Reasoning About Rational Agents by Michael Wooldridge, MIT Press Gordon Beavers and Henry Hexmoor

Because Strong AI is Dead, Test-Based AI Lives

Stuart C. Shapiro. Department of Computer Science. State University of New York at Bualo. 226 Bell Hall U.S.A. March 9, 1995.

Introduction to cognitive science Session 3: Cognitivism

Introduction and History of AI

Philosophical Foundations. Artificial Intelligence Santa Clara University 2016

The Importance of Being Right. Sergei Artemov, CUNY Graduate Center

Philosophy. AI Slides (5e) c Lin

Philosophical Foundations

Automated Reasoning. Satisfiability Checking

Artificial Intelligence. What is AI?

COMP219: Artificial Intelligence. Lecture 2: AI Problems and Applications

This is the Telephone Dialogue Word-for-Word Transcription. --- Begin Transcription ---

Logical Agents (AIMA - Chapter 7)

11/18/2015. Outline. Logical Agents. The Wumpus World. 1. Automating Hunt the Wumpus : A different kind of problem

Detecticon: A Prototype Inquiry Dialog System

Should AI be Granted Rights?

COMP219: Artificial Intelligence. Lecture 17: Semantic Networks

THE LOGICAL ROAD TO HUMAN LEVEL. Will we ever reach human level AI the main ambitio AI research?

Appendices master s degree programme Artificial Intelligence

A paradox for supertask decision makers

Master Artificial Intelligence

To Build Truly Intelligent Machines, Teach Them Cause and Effect


Lecture 6: Latin Squares and the n-queens Problem

EARIN Jarosław Arabas Room #223, Electronics Bldg.

History and Philosophical Underpinnings

Digital image processing vs. computer vision Higher-level anchoring

Intelligent Agents. Introduction to Planning. Ute Schmid. Cognitive Systems, Applied Computer Science, Bamberg University. last change: 23.

Intelligent Agents: Theory and Practice

Artificial Intelligence CS365. Amitabha Mukerjee

Minds and Machines spring Searle s Chinese room argument, contd. Armstrong library reserves recitations slides handouts

CS360: AI & Robotics. TTh 9:25 am - 10:40 am. Shereen Khoja 8/29/03 CS360 AI & Robotics 1

Ideas beyond Number. Teacher s guide to Activity worksheets

Multiples and Divisibility

Artificial Intelligence

Artificial Intelligence

Annotated Bibliography: Artificial Intelligence (AI) in Organizing Information By Sara Shupe, Emporia State University, LI 804

Midterm Examination. CSCI 561: Artificial Intelligence

AI Day on Knowledge Representation and Automated Reasoning

AI in a New Millennium: Obstacles and Opportunities 1

The interpretation that the listeners arrives at may be quite different, then, depending on the context of utterance of the expression.

CPS 270: Artificial Intelligence Introduction

CS5331: Concepts in Artificial Intelligence & Machine Learning systems. Rattikorn Hewett

Artificial Intelligence

CS 540: Introduction to Artificial Intelligence

CSC242 Intro to AI Spring 2012 Project 2: Knowledge and Reasoning Handed out: Thu Mar 1 Due: Wed Mar 21 11:59pm

Trust and Commitments as Unifying Bases for Social Computing

CS 202, section 2 Final Exam 13 December Pledge: Signature:

Rights and Responsibilities

Turing Centenary Celebration

A Cognitive Approach to Robot Self-Consciousness

Natural Language Processing for Knowledge Representation and Reasoning

What is Artificial Intelligence? Alternate Definitions (Russell + Norvig) Human intelligence

Artificial Intelligence

Variations on the Two Envelopes Problem

Agent Theories, Architectures, and Languages: A Survey

Multi-Agent Negotiation: Logical Foundations and Computational Complexity

KOWALSKI, Robert, Anthony

Is artificial intelligence possible?

intentionality Minds and Machines spring 2006 the Chinese room Turing machines digression on Turing machines recitations

CSIS 4463: Artificial Intelligence. Introduction: Chapter 1

Introduction to Artificial Intelligence: cs580

FIRST GRADE FIRST GRADE HIGH FREQUENCY WORDS FIRST 100 HIGH FREQUENCY WORDS FIRST 100

COS 402 Machine Learning and Artificial Intelligence Fall Lecture 1: Intro

INTRODUCTION What is Artificial Intelligence? (chapter 1) Cse352 Lecture Notes (1) Professor Anita Wasilewska

What is AI? Artificial Intelligence. Acting humanly: The Turing test. Outline

Introduction to Artificial Intelligence

CIS/CSE 774 Principles of Distributed Access Control Exam 1 October 3, Points Possible. Total 60

AUTOMATIC PROGRAMMING

Intriguing Problems for Students in a Proofs Class

Artificial Intelligence

Introduction to AI. What is Artificial Intelligence?

A Representation Theorem for Decisions about Causal Models

Artificial Intelligence: Your Phone Is Smart, but Can It Think?

Your best friend is a two-faced backstabber.

Artificial Intelligence

ANoteonthe Game - Bounded Rationality and Induction

First-order logic. Chapter 8, Sections 1 3

Launchpad Maths. Arithmetic II

Computer Science and Philosophy Information Sheet for entry in 2018

Probability (Devore Chapter Two)

Transcription:

MODALITY, SI! MODAL LOGIC, NO! John McCarthy Computer Science Department Stanford University Stanford, CA 94305 jmc@cs.stanford.edu http://www-formal.stanford.edu/jmc/ 1997 Mar 18, 5:23 p.m. Abstract This article is oriented toward the use of modality in artificial intelligence (AI). An agent must reason about what it or other agents know, believe, want, intend or owe. Referentially opaque modalities are needed and must be formalized correctly. Unfortunately, modal logics seem too limited for many important purposes. This article contains examples of uses of modality for which modal logic seems inadequate. I have no proof that modal logic is inadequate, so I hope modal logicians will take the examples as challenges. Maybe this article will also have philosophical and mathematical logical interest. Here are the main considerations. Many modalities: Natural language often uses several modalities in a single sentence, I want him to believe that I know he has lied. [Gab96] introduces a formalism for combining modalities, but I don t know whether it can handle the examples mentioned in this article. New Modalities: Human practice sometimes introduces new modalities on an ad hoc basis. The institution of owing money or the obligations the 1

Bill of Rights imposes on the U.S. Government are not matters of basic logic. Introducing new modalities should involve no more fuss than introducing a new predicate. In particular, human-level AI requires that programs be able to introduce modalities when this is appropriate, e.g. have function taking modalities as values. Knowing what: Pat knows Mike s telephone number is a simple example. In [McC79b], this is formalized as knows(pat, T elephone(m ike)), where pat stands for the person Pat, Mike stands for a standard concept of the person Mike and T elephone takes a concept of a person into a concept of his telephone number. We might have telephone(mike) = telephone(mary), expressing the fact that Mike and Mary have the same telephone, but we won t have T elephone(m ike) = T elephone(m ary), which would assert that the concept of Mike s telephone number is the same as that of Mary s telephone number. This permits us to have knows(pat, T elephone(m ary)). even though Pat knows Mike s telephone number which happens to be the same as Mary s. The theory in [McC79b] also includes functions from some kinds of things, e.g. numbers or people, to standard concepts of them. This permits saying that Kepler did not know that the number of planets is composite while saying that Kepler knew that the number we know to be the number of planets (9) is composite. The point of this example is not mainly to advertise [McC79b] but to advocate that a theory of knowledge must treat knowing what as well as knowing that and to illustrate some of the capabilities needed for adequately using knowing what. Presumably knows(pat, T elephone(m ike)) 2

could be avoided by writing ( x)(knows(pat, T elephone(m ike) = x)), but the required quantifying in is likely to be a nuisance. Proving Non-knowledge [McC78] formalizes two puzzles whose solution requires inferring non-knowledge from previously asserted non-knowledge and from limiting what is learned when a person hears some information. 1 [McC78] uses a variant of the Kripke accessibility relation, but here it is used directly in first order logic rather than to give semantics to a modal logic. The relation is A(w1, w2, person, time) interpreted as asserting that in world w1, it is possible for person that the world is w2. Non-knowledge of a term in w1 is e.g. the color of a spot or the value of a numerical variable, is expressed by saying that there is a world w2 in which the value of the term differs from its value in w1. [Lev90] uses a modality whose interpretation is all I know is..... He uses autoepistemic logic [Moo85], a nonmonotonic modal logic. This seems inadequate in general, because we need to be able to express All 1 The three wise men puzzle is as follows: A certain king wishes to test his three wise men. He arranges them in a circle so that they can see and hear each other and tells them that he will put a white or black spot on each of their foreheads but that at least one spot will be white. In fact all three spots are white. He then repeatedly asks them, Do you know the color of your spot? What do they answer? The solution is that they answer, No, the first two times the question is asked and answer Yes thereafter. This is a variant form of the puzzle which avoids having wise men reason about how fast their colleagues reason. Here is the Mr. S and Mr. P puzzle: Two numbers m and n are chosen such that 2 m n 99. Mr. S is told their sum and Mr. P is told their product. The following dialogue ensues: Mr. P: I don t know the numbers. Mr. S: I knew you didn t know. I don t know either. Mr. P: Now I know the numbers. Mr S: Now I know them too. In view of the above dialogue, what are the numbers? 3

I know about the value of x is.... 2 Here s an example. At one stage in Mr. S and Mr. P, we can say that all Mr. P knows about the value of the pair is their product and the fact that their sum is not the sum of two primes. [KPH91] treats the question of showing how President Bush could reason that he didn t know whether Gorbachev was standing or sitting and how Bush could also reason that Gorbachev didn t know whether Bush was standing or sitting. The treatment does not use modal logic but rather a variant of circumscription called autocircumscription proposed by Perlis [Per88]. Joint knowledge and learning In the wise men problem, they learn at each stage that the others don t know the colors of their spots, and in Mr. S and Mr. P they learn what the others have said. In each case the learning is joint knowledge, wherein several people knowing something jointly implies not only that each knows it but also that they know it jointly. [McC78] treats joint knowledge by introducing pseudo-persons for each subset of the real knowers. The pseudo-person knows what the subset knows jointly. The logical treatment of joint knowledge in [McC78] makes the joint knowers S5 in their knowledge. I don t know whether a more subtle axiomatization would avoid this. [McC78] treats learning a fact by using the time argument of the accessibility relation. After person learns a fact p the worlds that are possible for him are those worlds that were previously possible for him and in which p holds. Learning the value of a term is treated similarly. Other modalities [McC79a] treats believing and intending and [McC96] treats introspection by robots. Neither paper introduces enough formalism to provide a direct challenge to modal logic, but it seems to me that the problems are even harder than those previously treated. Acknowledgements: This work was supported in part by DARPA (ONR) grant N00014-94-1-0775. Tom Costello provided some useful discussion. 2 Halpern and Lakemeyer in [HL95] show that the quantified version of Levesque s logic is incomplete, but this is a different complaint from the one we make here. 4

References [Gab96] [HL95] Dov Gabbay. Fibred semantics and the weaving of logics: Part I: Modal and intuitionistic logics. Journal of Symbolic Logic, 61(4):1057 1120, 1996. Joseph Y. Halpern and Gerhard Lakemeyer. Levesque s axiomatization of only knowing is incomplete. Artificial Intelligence, 74(2):381 387, 1995. [KPH91] Sarit Kraus, Donald Perlis, and John Horty. Reasoning about ignorance: A note on the Bush-Gorbachev problem. Fundamenta Informatica, XV:325 332, 1991. [Lev90] Hector J. Levesque. All I know: a study in autoepistemic logic. Artificial Intelligence, 42:263 309, 1990. [McC78] John McCarthy. Formalization of two puzzles involving knowledge 3, 1978. Reprinted in [McC90]. [McC79a] John McCarthy. Ascribing mental qualities to machines 4. In Martin Ringle, editor, Philosophical Perspectives in Artificial Intelligence. Harvester Press, 1979. Reprinted in [McC90]. [McC79b] John McCarthy. First Order Theories of Individual Concepts and Propositions 5. In Donald Michie, editor, Machine Intelligence, volume 9. Edinburgh University Press, Edinburgh, 1979. Reprinted in [McC90]. [McC90] John McCarthy. Formalization of common sense, papers by John McCarthy edited by V. Lifschitz. Ablex, 1990. [McC96] John McCarthy. Making Robots Conscious of their Mental States 6. In Stephen Muggleton, editor, Machine Intelligence 15. Oxford University Press, 1996. 3 http://www-formal.stanford.edu/jmc/puzzles.html 4 http://www-formal.stanford.edu/jmc/ascribing.html 5 http://www-formal.stanford.edu/jmc/concepts.html 6 http://www-formal.stanford.edu/jmc/consciousness.html 5

[Moo85] Robert C. Moore. Semantical considerations on nonmonotonic logic. Artificial Intelligence, 25(1):75 94, January 1985. [Per88] Donald Perlis. Autocircumscription. Artificial Intelligence, 36:223 236, 1988. /@steam.stanford.edu:/u/jmc/w97/modality1.tex: begun Sat Mar 1 11:21:20 1997, latexed March 18, 1997 at 5:23 p.m. 6