Logic and Artificial Intelligence Lecture 18

Similar documents
Logic and Artificial Intelligence Lecture 23

Logic and Artificial Intelligence Lecture 16

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

Formal Verification. Lecture 5: Computation Tree Logic (CTL)

Decidability of the PAL Substitution Core

Two Perspectives on Logic

arxiv: v1 [cs.ai] 20 Feb 2015

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

Reasoning About Strategies

A Logic for Social Influence through Communication

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

Presented By: Bikash Chandra ( ) Kaustav Das ( ) 14 November 2010

A Model-Theoretic Approach to the Verification of Situated Reasoning Systems

Introduction to Artificial Intelligence: cs580

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


February 11, 2015 :1 +0 (1 ) = :2 + 1 (1 ) =3 1. is preferred to R iff

Computational Logic and Agents Miniscuola WOA 2009

Game Description Logic and Game Playing

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

Multi-Agent Negotiation: Logical Foundations and Computational Complexity

Intelligent Systems. Lecture 1 - Introduction

5.4 Imperfect, Real-Time Decisions

Game Theory and Algorithms Lecture 3: Weak Dominance and Truthfulness

Zolt-Gilburne Imagination Seminar. Knowledge and Games. Sergei Artemov

Awareness in Games, Awareness in Logic

Games, Actions, and Social Software JAN VAN EIJCK AND RINEKE VERBRUGGE (EDS.)

Logics for Analyzing Games

From: AAAI Technical Report FS Compilation copyright 1994, AAAI ( All rights reserved.

Implications as rules

Domination Rationalizability Correlated Equilibrium Computing CE Computational problems in domination. Game Theory Week 3. Kevin Leyton-Brown

A Complete Approximation Theory for Weighted Transition Systems

Detecticon: A Prototype Inquiry Dialog System

Agents in the Real World Agents and Knowledge Representation and Reasoning

KARO logic (Van Linder et al.) Epistemic logic. Dynamic Logic. Dynamic Logic KARO. Dynamic Logic. knowledge. belief. Interpretation formulas

CS:4420 Artificial Intelligence

Bisimulation and Modal Logic in Distributed Computing

Game Solution, Epistemic Dynamics and Fixed-Point Logics

CS 188 Introduction to Fall 2014 Artificial Intelligence Midterm

Game Theory. Lecture Notes By Y. Narahari. Department of Computer Science and Automation Indian Institute of Science Bangalore, India August 2012

On game semantics of the affine and intuitionistic logics (Extended abstract)

A game-based model for human-robots interaction

Agent Theories, Architectures, and Languages: A Survey

Philosophy. AI Slides (5e) c Lin

Probability with Set Operations. MATH 107: Finite Mathematics University of Louisville. March 17, Complicated Probability, 17th century style

Alessandro Cincotti School of Information Science, Japan Advanced Institute of Science and Technology, Japan

On the Benefits of Enhancing Optimization Modulo Theories with Sorting Jul 1, Networks 2016 for 1 / MAXS 31

18 Completeness and Compactness of First-Order Tableaux

CS269I: Incentives in Computer Science Lecture #20: Fair Division

Enumeration of Two Particular Sets of Minimal Permutations

DEPARTMENT OF ECONOMICS WORKING PAPER SERIES. Stable Networks and Convex Payoffs. Robert P. Gilles Virginia Tech University

3-2 Lecture 3: January Repeated Games A repeated game is a standard game which isplayed repeatedly. The utility of each player is the sum of

COMP310 Multi-Agent Systems Chapter 3 - Deductive Reasoning Agents. Dr Terry R. Payne Department of Computer Science

Artificial Intelligence

Artificial Intelligence

MATH 225: Foundations of Higher Matheamatics. Dr. Morton. Chapter 2: Logic (This is where we begin setting the stage for proofs!)

OPEN PROBLEMS IN LOGIC AND GAMES

CITS2211 Discrete Structures Turing Machines

A paradox for supertask decision makers

Artificial Intelligence

Artificial Intelligence

Artificial Intelligence: An Introduction

Artificial Intelligence. What is AI?

Intensionalisation of Logical Operators

UPG - DUAL ENROLLMENT Courses offered in Spring 2018

Overview Agents, environments, typical components

Sensor Robot Planning in Incomplete Environment

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

Curriculum Vitae Dr. Frederik Van De Putte

Organising LTL Monitors over Systems with a Global Clock

arxiv: v2 [cs.cc] 18 Mar 2013

Self-interested agents What is Game Theory? Example Matrix Games. Game Theory Intro. Lecture 3. Game Theory Intro Lecture 3, Slide 1

Welcome to CompSci 171 Fall 2010 Introduction to AI.

Propositional attitudes

An architecture for rational agents interacting with complex environments

Design of intelligent surveillance systems: a game theoretic case. Nicola Basilico Department of Computer Science University of Milan

of the hypothesis, but it would not lead to a proof. P 1

Elements of Artificial Intelligence and Expert Systems

1.1 What is AI? 1.1 What is AI? Foundations of Artificial Intelligence. 1.2 Acting Humanly. 1.3 Thinking Humanly. 1.4 Thinking Rationally

CMSC 421, Artificial Intelligence

Dynamic epistemic logic and lying

Your Name and ID. (a) ( 3 points) Breadth First Search is complete even if zero step-costs are allowed.

Topic 1: defining games and strategies. SF2972: Game theory. Not allowed: Extensive form game: formal definition

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

Outline. Introduction to AI. Artificial Intelligence. What is an AI? What is an AI? Agents Environments

Math-Net.Ru All Russian mathematical portal

Probability. Engr. Jeffrey T. Dellosa.

STUDENT FOR A SEMESTER SUBJECT TIMETABLE JANUARY 2018

CMSC 372 Artificial Intelligence. Fall Administrivia

Introduction to Normative Multiagent Systems

Distributed Synthesis of Control Protocols for Smart Camera Networks

On Formal Specification of Emergent Behaviours in Swarm Robotic Systems

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

APPROXIMATE KNOWLEDGE OF MANY AGENTS AND DISCOVERY SYSTEMS

Logical Agents (AIMA - Chapter 7)

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

The Odds Calculators: Partial simulations vs. compact formulas By Catalin Barboianu

A Fractal which violates the Axiom of Determinacy

Surreal Numbers and Games. February 2010

Hamming Codes as Error-Reducing Codes

Transcription:

Logic and Artificial Intelligence Lecture 18 Eric Pacuit Currently Visiting the Center for Formal Epistemology, CMU Center for Logic and Philosophy of Science Tilburg University ai.stanford.edu/ epacuit e.j.pacuit@uvt.nl November 8, 2011 Logic and Artificial Intelligence 1/30

Ingredients of a Logical Analysis of Rational Agency informational attitudes (eg., knowledge, belief, certainty) time, actions and ability motivational attitudes (eg., preferences) group notions (eg., common knowledge and coalitional ability) normative attitudes (eg., obligations) Logic and Artificial Intelligence 2/30

Ingredients of a Logical Analysis of Rational Agency informational attitudes (eg., knowledge, belief, certainty) time, actions and ability motivational attitudes (eg., preferences) group notions (eg., common knowledge and coalitional ability) normative attitudes (eg., obligations) Logic and Artificial Intelligence 2/30

Time One of the most successful applications of modal logic is in the logic of time. Logic and Artificial Intelligence 3/30

Time One of the most successful applications of modal logic is in the logic of time. Many variations discrete or continuous branching or linear point based or interval based See, for example, Antony Galton. Temporal Logic. Stanford Encyclopedia of Philosophy: http: //plato.stanford.edu/entries/logic-temporal/. I. Hodkinson and M. Reynolds. Temporal Logic. Handbook of Modal Logic, 2008. Logic and Artificial Intelligence 3/30

Models of Time T = T, <, V where T is a set of time points (or moments), < T T is the precedence relation: s < t means time point s precedes time point t (or s occurs earlier than t) and V : At (T ) is a valuation function (describing when the atomic propositions are true). Logic and Artificial Intelligence 4/30

Models of Time T = T, <, V where T is a set of time points (or moments), < T T is the precedence relation: s < t means time point s precedes time point t (or s occurs earlier than t) and V : At (T ) is a valuation function (describing when the atomic propositions are true). < is typically assumed to be irreflexive and transitive (a strict partial order). Logic and Artificial Intelligence 4/30

Models of Time T = T, <, V where T is a set of time points (or moments), < T T is the precedence relation: s < t means time point s precedes time point t (or s occurs earlier than t) and V : At (T ) is a valuation function (describing when the atomic propositions are true). < is typically assumed to be irreflexive and transitive (a strict partial order). Examples: N, <, Z, <, Q, <, R, < Logic and Artificial Intelligence 4/30

Other properties of < Linearity: for all s, t T, s < t or s = t of t < s Past-linear: for all s, x, y T, if x < s and y < s, then either x < y or x = y or y < x Denseness for all s, t T, if s < t then there is a z T such that s < z and z < t Discreteness: for all s, t T, if s < t then there is a z such that (s < z and there is no u such that s < u and u < z) Logic and Artificial Intelligence 5/30

Priorean Temporal Logic L t be defined by the following grammar p ϕ ϕ ψ Gϕ Hϕ where p At. Logic and Artificial Intelligence 6/30

Priorean Temporal Logic L t be defined by the following grammar p ϕ ϕ ψ Gϕ Hϕ where p At. Gϕ: ϕ is going to become true Hϕ: ϕ has been true F ϕ := G ϕ: ϕ is true in the future Pϕ := H ϕ: ϕ was true some time in the past Logic and Artificial Intelligence 6/30

M = T, <, V M, t = p iff t V (p) M, t = ϕ iff M, t = ϕ M, t = ϕ ψ iff M, t = ϕ and M, t = ψ M, t = Gϕ iff for all s T, if t < s then M, s = ϕ M, t = Hϕ iff for all s T, if s < t thenm, s = ϕ M, t = F ϕ iff there is s T such that t < s and M, s = ϕ M, t = Pϕ iff there is s T such that s < t and M, s = ϕ Logic and Artificial Intelligence 7/30

Frame Correspondence H PH is valid Logic and Artificial Intelligence 8/30

Frame Correspondence H PH is valid iff there is a starting point Logic and Artificial Intelligence 8/30

Frame Correspondence H PH is valid iff there is a starting point P is valid Logic and Artificial Intelligence 8/30

Frame Correspondence H PH is valid iff there is a starting point P is valid iff there is no starting point Logic and Artificial Intelligence 8/30

Frame Correspondence H PH is valid iff there is a starting point P is valid iff there is no starting point G FG is valid Logic and Artificial Intelligence 8/30

Frame Correspondence H PH is valid iff there is a starting point P is valid iff there is no starting point G FG is valid iff there is an end point Logic and Artificial Intelligence 8/30

Frame Correspondence H PH is valid iff there is a starting point P is valid iff there is no starting point G FG is valid iff there is an end point F is valid Logic and Artificial Intelligence 8/30

Frame Correspondence H PH is valid iff there is a starting point P is valid iff there is no starting point G FG is valid iff there is an end point F is valid iff there is no endpoint Logic and Artificial Intelligence 8/30

Frame Correspondence H PH is valid iff there is a starting point P is valid iff there is no starting point G FG is valid iff there is an end point F is valid iff there is no endpoint PF ϕ (Pϕ ϕ F ϕ) is valid Logic and Artificial Intelligence 8/30

Frame Correspondence H PH is valid iff there is a starting point P is valid iff there is no starting point G FG is valid iff there is an end point F is valid iff there is no endpoint PF ϕ (Pϕ ϕ F ϕ) is valid iff the future is not branching Logic and Artificial Intelligence 8/30

Frame Correspondence H PH is valid iff there is a starting point P is valid iff there is no starting point G FG is valid iff there is an end point F is valid iff there is no endpoint PF ϕ (Pϕ ϕ F ϕ) is valid iff the future is not branching FPϕ (F ϕ ϕ Pϕ) is valid Logic and Artificial Intelligence 8/30

Frame Correspondence H PH is valid iff there is a starting point P is valid iff there is no starting point G FG is valid iff there is an end point F is valid iff there is no endpoint PF ϕ (Pϕ ϕ F ϕ) is valid iff the future is not branching FPϕ (F ϕ ϕ Pϕ) is valid iff the past is non-branching Logic and Artificial Intelligence 8/30

Frame Correspondence H PH is valid iff there is a starting point P is valid iff there is no starting point G FG is valid iff there is an end point F is valid iff there is no endpoint PF ϕ (Pϕ ϕ F ϕ) is valid iff the future is not branching FPϕ (F ϕ ϕ Pϕ) is valid iff the past is non-branching F ϕ FF ϕ is valid Logic and Artificial Intelligence 8/30

Frame Correspondence H PH is valid iff there is a starting point P is valid iff there is no starting point G FG is valid iff there is an end point F is valid iff there is no endpoint PF ϕ (Pϕ ϕ F ϕ) is valid iff the future is not branching FPϕ (F ϕ ϕ Pϕ) is valid iff the past is non-branching F ϕ FF ϕ is valid iff the flow of time is dense Logic and Artificial Intelligence 8/30

Frame Correspondence H PH is valid iff there is a starting point P is valid iff there is no starting point G FG is valid iff there is an end point F is valid iff there is no endpoint PF ϕ (Pϕ ϕ F ϕ) is valid iff the future is not branching FPϕ (F ϕ ϕ Pϕ) is valid iff the past is non-branching F ϕ FF ϕ is valid iff the flow of time is dense (F ϕ Hϕ) FHϕ is valid Logic and Artificial Intelligence 8/30

Frame Correspondence H PH is valid iff there is a starting point P is valid iff there is no starting point G FG is valid iff there is an end point F is valid iff there is no endpoint PF ϕ (Pϕ ϕ F ϕ) is valid iff the future is not branching FPϕ (F ϕ ϕ Pϕ) is valid iff the past is non-branching F ϕ FF ϕ is valid iff the flow of time is dense (F ϕ Hϕ) FHϕ is valid iff the flow of time is discrete Logic and Artificial Intelligence 8/30

Basic Temporal Logic All classical propositional tautologies Distribution G(ϕ ψ) (Gϕ Gψ) G(ϕ ψ) (Gϕ Gψ) Converse ϕ GPϕ ϕ HF ϕ Transitivity: Gϕ GGϕ Modus Ponens: from ϕ and ϕ ψ infer ψ Temporal Generalization: from ϕ infer F ϕ; from ϕ infer Gϕ Logic and Artificial Intelligence 9/30

Basic Temporal Logic All classical propositional tautologies Distribution G(ϕ ψ) (Gϕ Gψ) G(ϕ ψ) (Gϕ Gψ) Converse ϕ GPϕ ϕ HF ϕ Transitivity: Gϕ GGϕ Modus Ponens: from ϕ and ϕ ψ infer ψ Temporal Generalization: from ϕ infer F ϕ; from ϕ infer Gϕ Theorem. The above logic is sound and complete with respect to the class of all flows of time Logic and Artificial Intelligence 9/30

Logic of Linear Time Theorem. The above logic with the linearity axioms is sound and complete with respect to the class of all linear flows of time PF ϕ (Pϕ ϕ F ϕ) FPϕ (F ϕ ϕ Pϕ) Logic and Artificial Intelligence 10/30

Other Languages: Since and Until M, t = ϕuψ iff M, s = ψ for some s such that t < s and M, u = ϕ for all u with t < u < s M, t = ϕsψ iff M, s = ψ for some s such that s < t and M, u = ϕ for all u with s < u < t Logic and Artificial Intelligence 11/30

Other Languages: Since and Until M, t = ϕuψ iff M, s = ψ for some s such that t < s and M, u = ϕ for all u with t < u < s M, t = ϕsψ iff M, s = ψ for some s such that s < t and M, u = ϕ for all u with s < u < t Theorem (Kamp). Over the class of linear, continuous orderings, every temporal operator can be defined using the above modalities Logic and Artificial Intelligence 11/30

Branching Time Each moment t T can be decided into the Past(t) = {s T s < t} and the Future(t) = {s T t < s} ( A-series ) Typically, it is assumed that the past is linear, but the future may be branching. Logic and Artificial Intelligence 12/30

Branching Time Each moment t T can be decided into the Past(t) = {s T s < t} and the Future(t) = {s T t < s} ( A-series ) Typically, it is assumed that the past is linear, but the future may be branching. F ϕ: it will be the case that ϕ ϕ will be the case in the case in the actual course of events or no matter what course of events Logic and Artificial Intelligence 12/30

Branching Time Logics A branch b in T, < is a maximal linearly ordered subset of T s T is on a branch b of T provided s b (we also say b is a branch going through t ). Logic and Artificial Intelligence 13/30

Branching Time Logics A branch b in T, < is a maximal linearly ordered subset of T s T is on a branch b of T provided s b (we also say b is a branch going through t ). M, t, b = p iff t V (p) M, t, b = ϕ iff M, t, b = ϕ M, t, b = ϕ ψ iff M, t, b = ϕ and M, t = ψ M, t, b = Gϕ iff for all s T, if s is on b and t < s then M, s, b = ϕ M, t, b = Hϕ iff for all s T, if s is on b and s < t then M, s, b = ϕ M, t, b = ϕ iff M, s, c = ϕ for all branches c through t Logic and Artificial Intelligence 13/30

Computational vs. Behavioral Structures q 0 x = 1 q 0 q 0 q 0 q 0 q 1 q 1 x = 2 q 0 q 0 q 0 q 0 q 0 q 1 q 0 q 1 q 0 q 0 q 1 q 1. Logic and Artificial Intelligence 14/30

Temporal Logics Logic and Artificial Intelligence 15/30

Temporal Logics Linear Time Temporal Logic: Reasoning about computation paths: F ϕ: ϕ is true some time in the future. A. Pnuelli. A Temporal Logic of Programs. in Proc. 18th IEEE Symposium on Foundations of Computer Science (1977). Logic and Artificial Intelligence 15/30

Temporal Logics Linear Time Temporal Logic: Reasoning about computation paths: F ϕ: ϕ is true some time in the future. A. Pnuelli. A Temporal Logic of Programs. in Proc. 18th IEEE Symposium on Foundations of Computer Science (1977). Branching Time Temporal Logic: Allows quantification over paths: F ϕ: there is a path in which ϕ is eventually true. E. M. Clarke and E. A. Emerson. Design and Synthesis of Synchronization Skeletons using Branching-time Temproal-logic Specifications. In Proceedings Workshop on Logic of Programs, LNCS (1981). Logic and Artificial Intelligence 15/30

Temporal Logics q 0 x = 1 q 0 Fp x=2 q 0 q 0 q 0 q 1 q 1 x = 2 q 0 q 0 q 0 q 0 q 0 q 1 q 0 q 1 q 0 q 0 q 1 q 1. Logic and Artificial Intelligence 16/30

Temporal Logics q 0 x = 1 q 0 Fp x=2 q 0 q 0 q 0 q 1 q 1 x = 2 q 0 q 0 q 0 q 0 q 0 q 1 q 0 q 1 q 0 q 0 q 1 q 1. Logic and Artificial Intelligence 16/30

Temporal Logics q 0 x = 1 q 0 Fp x=2 q 0 q 0 q 0 q 1 q 1 x = 2 q 0 q 0 q 0 q 0 q 0 q 1 q 0 q 1 q 0 q 0 q 1 q 1. Logic and Artificial Intelligence 16/30

Interval Values J. Allen and G. Ferguson. Actions and Events in Interval Temporal Logics. Journal of Logic and Computation, 1994. J. Halpern and Y. Shoham. A Propositional Modal Logic of Time Intervals. Journal of the ACM, 38:4, pp. 935-962, 1991. J. van Benthem. Logics of Time. Kluwer, 1991. Logic and Artificial Intelligence 17/30

Interval Temporal Logics Let T = T, < be a frame and I (T ) = {[a, b] a, b T and a b} be the set of intervals over T Models are M = I (T ), {R X }, V where R X I (T ) I (T ) and V : At (I (T )). Logic and Artificial Intelligence 18/30

Interval Temporal Logics Let T = T, < be a frame and I (T ) = {[a, b] a, b T and a b} be the set of intervals over T Models are M = I (T ), {R X }, V where R X I (T ) I (T ) and V : At (I (T )). M, [a, b] = p iff [a, b] V (p) M, [a, b] = pt iff a = b M, [a, b] = X ϕ iff there is an interval [c, d] such that [a, b]r X [c, d] and M, [c, d] = ϕ Logic and Artificial Intelligence 18/30

a b hai hli hbi hei hdi hoi [a, b]r A [c, d], b = c [a, b]r L [c, d], b<c [a, b]r B [c, d], a = c, d < b [a, b]r E [c, d], b = d, a < c [a, b]r D [c, d], a<c,d<b [a, b]r O [c, d], a<c<b<d c d c c c c d d c d d d Table I Logic and Artificial Intelligence 19/30

High Undecidability! D. Bersolin et al.. The dark side of interval temporal logic: sharpening the undecidability border. 2011. Logic and Artificial Intelligence 20/30

Actions and Abilities: Pre-theoretic Intuitions What does it mean for an agent to be able to do some action a or bring about some state of affairs ϕ? Logic and Artificial Intelligence 21/30

Actions and Abilities: Pre-theoretic Intuitions What does it mean for an agent to be able to do some action a or bring about some state of affairs ϕ? 1. Control: The action a should be in the control of agent i or the truth of ϕ should be under i s control. Logic and Artificial Intelligence 21/30

Actions and Abilities: Pre-theoretic Intuitions What does it mean for an agent to be able to do some action a or bring about some state of affairs ϕ? 1. Control: The action a should be in the control of agent i or the truth of ϕ should be under i s control. 2. Repeatability: Agent i should be able to repeatedly do action a or repeatedly bring about formula ϕ. Logic and Artificial Intelligence 21/30

Actions and Abilities: Pre-theoretic Intuitions What does it mean for an agent to be able to do some action a or bring about some state of affairs ϕ? 1. Control: The action a should be in the control of agent i or the truth of ϕ should be under i s control. 2. Repeatability: Agent i should be able to repeatedly do action a or repeatedly bring about formula ϕ. 3. Avoidability: Agent i should be able to avoid doing action a. Logic and Artificial Intelligence 21/30

Actions and Abilities: Pre-theoretic Intuitions What does it mean for an agent to be able to do some action a or bring about some state of affairs ϕ? 1. Control: The action a should be in the control of agent i or the truth of ϕ should be under i s control. 2. Repeatability: Agent i should be able to repeatedly do action a or repeatedly bring about formula ϕ. 3. Avoidability: Agent i should be able to avoid doing action a. 4. Free-will: Agent i should be free to decide whether or not to do action a. That is, the agent should have a choice as to whether or not to do action a or bring about formula ϕ. Logic and Artificial Intelligence 21/30

Actions and Abilities: Pre-theoretic Intuitions What does it mean for an agent to be able to do some action a or bring about some state of affairs ϕ? 1. Control: The action a should be in the control of agent i or the truth of ϕ should be under i s control. 2. Repeatability: Agent i should be able to repeatedly do action a or repeatedly bring about formula ϕ. 3. Avoidability: Agent i should be able to avoid doing action a. 4. Free-will: Agent i should be free to decide whether or not to do action a. That is, the agent should have a choice as to whether or not to do action a or bring about formula ϕ. 5. Causality: Agent i should cause action a to take place or the formula ϕ to become true. Logic and Artificial Intelligence 21/30

Actions and Abilities: Pre-theoretic Intuitions What does it mean for an agent to be able to do some action a or bring about some state of affairs ϕ? 1. Control: The action a should be in the control of agent i or the truth of ϕ should be under i s control. 2. Repeatability: Agent i should be able to repeatedly do action a or repeatedly bring about formula ϕ. 3. Avoidability: Agent i should be able to avoid doing action a. 4. Free-will: Agent i should be free to decide whether or not to do action a. That is, the agent should have a choice as to whether or not to do action a or bring about formula ϕ. 5. Causality: Agent i should cause action a to take place or the formula ϕ to become true. 6. Intentionality: Agent i should intentionally do action a or bring about ϕ. Logic and Artificial Intelligence 21/30

Abilities Abl i ϕ: agent i has the ability to bring about (see to it that) ϕ is true What are core logical principles? Logic and Artificial Intelligence 22/30

Abilities Abl i ϕ: agent i has the ability to bring about (see to it that) ϕ is true What are core logical principles? 1. Abl i ϕ ϕ (or ϕ Abl i ϕ) Logic and Artificial Intelligence 22/30

Abilities Abl i ϕ: agent i has the ability to bring about (see to it that) ϕ is true What are core logical principles? 1. Abl i ϕ ϕ (or ϕ Abl i ϕ) 2. Abl i Logic and Artificial Intelligence 22/30

Abilities Abl i ϕ: agent i has the ability to bring about (see to it that) ϕ is true What are core logical principles? 1. Abl i ϕ ϕ (or ϕ Abl i ϕ) 2. Abl i 3. (Abl i ϕ Abl i ψ) Abl i (ϕ ψ) Logic and Artificial Intelligence 22/30

Abilities Abl i ϕ: agent i has the ability to bring about (see to it that) ϕ is true What are core logical principles? 1. Abl i ϕ ϕ (or ϕ Abl i ϕ) 2. Abl i 3. (Abl i ϕ Abl i ψ) Abl i (ϕ ψ) 4. Abl i (ϕ ψ) (Abl i ϕ Abl i ψ) Logic and Artificial Intelligence 22/30

Abilities Abl i ϕ: agent i has the ability to bring about (see to it that) ϕ is true What are core logical principles? 1. Abl i ϕ ϕ (or ϕ Abl i ϕ) 2. Abl i 3. (Abl i ϕ Abl i ψ) Abl i (ϕ ψ) 4. Abl i (ϕ ψ) (Abl i ϕ Abl i ψ) 5. Abl i (ϕ ψ) (Abl i ϕ Abl i ψ) Logic and Artificial Intelligence 22/30

Abilities Abl i ϕ: agent i has the ability to bring about (see to it that) ϕ is true What are core logical principles? 1. Abl i ϕ ϕ (or ϕ Abl i ϕ) 2. Abl i 3. (Abl i ϕ Abl i ψ) Abl i (ϕ ψ) 4. Abl i (ϕ ψ) (Abl i ϕ Abl i ψ) 5. Abl i (ϕ ψ) (Abl i ϕ Abl i ψ) 6. Abl i Abl j ϕ Abl i ϕ, Abl i Abl i ϕ Abl i ϕ Logic and Artificial Intelligence 22/30

Games: (Abl i ϕ Abl i ψ) Abl i (ϕ ψ) Logic and Artificial Intelligence 23/30

Games: (Abl i ϕ Abl i ψ) Abl i (ϕ ψ) s 1 A s 2 B B s 3 p p, q p, q q Logic and Artificial Intelligence 23/30

Games: (Abl i ϕ Abl i ψ) Abl i (ϕ ψ) s 1 A s 2 B B s 3 p p, q p, q q s 1 = Abl A p Logic and Artificial Intelligence 23/30

Games: (Abl i ϕ Abl i ψ) Abl i (ϕ ψ) s 1 A s 2 B B s 3 p p, q p, q q s 1 = Abl A p Abl A q Logic and Artificial Intelligence 23/30

Games: (Abl i ϕ Abl i ψ) Abl i (ϕ ψ) s 1 A s 2 B B s 3 p p, q p, q q s 1 = Abl A p Abl A q Abl A (p q) Logic and Artificial Intelligence 23/30

Games: (Abl i ϕ Abl i ψ) Abl i (ϕ ψ) R. Parikh. The Logic of Games and its Applications. Annals of Discrete Mathematics (1985). M. Pauly and R. Parikh. Game Logic An Overview. Studia Logica (2003). J. van Benthem. Logic and Games. Course notes (2007). Logic and Artificial Intelligence 23/30

ϕ Abl i ϕ Suppose an agent (call her Ann) is throwing a dart and she is not a very good dart player, but she just happens to throw a bull s eye. Logic and Artificial Intelligence 24/30

ϕ Abl i ϕ Suppose an agent (call her Ann) is throwing a dart and she is not a very good dart player, but she just happens to throw a bull s eye. Intuitively, we do not want to say that Ann has the ability to throw a bull s eye even though it happens to be true. Logic and Artificial Intelligence 24/30

Abl i (ϕ ψ) Abl i ϕ Abl i ψ Continuing with this example, suppose that Ann has the ability to hit the dart board, but has no other control over the placement of the dart. Logic and Artificial Intelligence 25/30

Abl i (ϕ ψ) Abl i ϕ Abl i ψ Continuing with this example, suppose that Ann has the ability to hit the dart board, but has no other control over the placement of the dart. Now, when she throws the dart, as a matter of fact, it will either hit the top half of the board or the bottom half of the board. Logic and Artificial Intelligence 25/30

Abl i (ϕ ψ) Abl i ϕ Abl i ψ Continuing with this example, suppose that Ann has the ability to hit the dart board, but has no other control over the placement of the dart. Now, when she throws the dart, as a matter of fact, it will either hit the top half of the board or the bottom half of the board. Since, Ann has the ability to hit the dart board, she has the ability to either hit the top half of the board or the bottom half of the board. Logic and Artificial Intelligence 25/30

Abl i (ϕ ψ) Abl i ϕ Abl i ψ Continuing with this example, suppose that Ann has the ability to hit the dart board, but has no other control over the placement of the dart. Now, when she throws the dart, as a matter of fact, it will either hit the top half of the board or the bottom half of the board. Since, Ann has the ability to hit the dart board, she has the ability to either hit the top half of the board or the bottom half of the board. However, intuitively, it seems true that Ann does not have the ability to hit the top half of the dart board, and also she does not have the ability to hit the bottom half of the dart board. Logic and Artificial Intelligence 25/30

Abilities Abl i ϕ: agent i has the ability to bring about (see to it that) ϕ is true What are core logical principles? Depends very much on the intended application and how actions are represented... 1. Abl i ϕ ϕ (or ϕ Abl i ϕ) 2. Abl i 3. (Abl i ϕ Abl i ψ) Abl i (ϕ ψ) 4. Abl i (ϕ ψ) (Abl i ϕ Abl i ψ) 5. Abl i (ϕ ψ) (Abl i ϕ Abl i ψ) 6. Abl i Abl j ϕ Abl i ϕ, Abl i Abl i ϕ Abl i ϕ Logic and Artificial Intelligence 26/30

D. Elgesem. The modal logic of agency. Nordic Journal of Philosophical Logic 2(2), 1-46, 1997. G. Governatori and A. Rotolo. On the Axiomatisation of Elgesem s Logic of Agency and Ability. Journal of Philosophical Logic, 34, pgs. 403-431 (2005). Logic and Artificial Intelligence 27/30

A Minimal Logic of Abilities Cϕ means the agent is capable of realizing ϕ Eϕ means the agent does bring about ϕ Logic and Artificial Intelligence 28/30

A Minimal Logic of Abilities Cϕ means the agent is capable of realizing ϕ Eϕ means the agent does bring about ϕ 1. All propositional tautologies 2. C 3. Eϕ Eψ E(ϕ ψ) 4. Eϕ ϕ 5. Eϕ Cϕ 6. Modus Ponens plus from ϕ ψ infer Eϕ Eψ and from ϕ ψ infer Cϕ Cψ Logic and Artificial Intelligence 28/30

Brief digression: weak systems of modal logic Logic and Artificial Intelligence 29/30

PC Propositional Calculus E ϕ ϕ M (ϕ ψ) ( ϕ ψ) C ( ϕ ψ) (ϕ ψ) N K (ϕ ψ) ( ϕ ψ) RE Nec ϕ ψ ϕ ψ ϕ ϕ MP ϕ ϕ ψ ψ Logic and Artificial Intelligence 30/30

PC Propositional Calculus E ϕ ϕ M (ϕ ψ) ( ϕ ψ) C ( ϕ ψ) (ϕ ψ) N K (ϕ ψ) ( ϕ ψ) RE Nec ϕ ψ ϕ ψ ϕ ϕ MP ϕ ϕ ψ ψ A modal logic L is classical if it contains all instances of E and is closed under RE. Logic and Artificial Intelligence 30/30

PC Propositional Calculus E ϕ ϕ M (ϕ ψ) ( ϕ ψ) C ( ϕ ψ) (ϕ ψ) N K (ϕ ψ) ( ϕ ψ) RE Nec ϕ ψ ϕ ψ ϕ ϕ MP ϕ ϕ ψ ψ A modal logic L is classical if it contains all instances of E and is closed under RE. E is the smallest classical modal logic. Logic and Artificial Intelligence 30/30

PC Propositional Calculus E ϕ ϕ M (ϕ ψ) ( ϕ ψ) C ( ϕ ψ) (ϕ ψ) N K (ϕ ψ) ( ϕ ψ) RE Nec ϕ ψ ϕ ψ ϕ ϕ MP ϕ ϕ ψ ψ E is the smallest classical modal logic. In E, M is equivalent to ϕ ψ (Mon) ϕ ψ Logic and Artificial Intelligence 30/30

PC Propositional Calculus E ϕ ϕ ϕ ψ Mon ϕ ψ C ( ϕ ψ) (ϕ ψ) N K (ϕ ψ) ( ϕ ψ) RE Nec ϕ ψ ϕ ψ ϕ ϕ MP ϕ ϕ ψ ψ E is the smallest classical modal logic. EM is the logic E + Mon Logic and Artificial Intelligence 30/30

PC 6. Propositional Calculus E ϕ ϕ ϕ ψ Mon ϕ ψ C ( ϕ ψ) (ϕ ψ) N K (ϕ ψ) ( ϕ ψ) RE Nec ϕ ψ ϕ ψ ϕ ϕ MP ϕ ϕ ψ ψ E is the smallest classical modal logic. EM is the logic E + Mon EC is the logic E + C Logic and Artificial Intelligence 30/30

PC Propositional Calculus E ϕ ϕ ϕ ψ Mon ϕ ψ C ( ϕ ψ) (ϕ ψ) N K (ϕ ψ) ( ϕ ψ) RE Nec ϕ ψ ϕ ψ ϕ ϕ MP ϕ ϕ ψ ψ E is the smallest classical modal logic. EM is the logic E + Mon EC is the logic E + C EMC is the smallest regular modal logic Logic and Artificial Intelligence 30/30

PC Propositional Calculus E ϕ ϕ ϕ ψ Mon ϕ ψ C ( ϕ ψ) (ϕ ψ) N K (ϕ ψ) ( ϕ ψ) RE Nec ϕ ψ ϕ ψ ϕ ϕ MP ϕ ϕ ψ ψ E is the smallest classical modal logic. EM is the logic E + Mon EC is the logic E + C EMC is the smallest regular modal logic A logic is normal if it contains all instances of E, C and is closed under Mon and Nec Logic and Artificial Intelligence 30/30

PC Propositional Calculus E ϕ ϕ ϕ ψ Mon ϕ ψ C ( ϕ ψ) (ϕ ψ) N K (ϕ ψ) ( ϕ ψ) RE Nec ϕ ψ ϕ ψ ϕ ϕ MP ϕ ϕ ψ ψ E is the smallest classical modal logic. EM is the logic E + Mon EC is the logic E + C EMC is the smallest regular modal logic K is the smallest normal modal logic Logic and Artificial Intelligence 30/30

PC Propositional Calculus E ϕ ϕ ϕ ψ Mon ϕ ψ C ( ϕ ψ) (ϕ ψ) N K (ϕ ψ) ( ϕ ψ) RE Nec ϕ ψ ϕ ψ ϕ ϕ MP ϕ ϕ ψ ψ E is the smallest classical modal logic. EM is the logic E + Mon EC is the logic E + C EMC is the smallest regular modal logic K = EMCN Logic and Artificial Intelligence 30/30

PC Propositional Calculus E ϕ ϕ ϕ ψ Mon ϕ ψ C ( ϕ ψ) (ϕ ψ) N K (ϕ ψ) ( ϕ ψ) RE Nec ϕ ψ ϕ ψ ϕ ϕ MP ϕ ϕ ψ ψ E is the smallest classical modal logic. EM is the logic E + Mon EC is the logic E + C EMC is the smallest regular modal logic K = PC(+E) + K + Nec + MP Logic and Artificial Intelligence 30/30