Predication via Finite-State Methods

Size: px
Start display at page:

Download "Predication via Finite-State Methods"

Transcription

1 Predication via Finite-State Methods 1. Introduction: Less is More Tim Fernando ESSLLI 2017, Toulouse Course themes: finite-state approximability bounded granularity Today: extension/instance/node }{{} instantiation vs mechanism/string/label }{{} characterization 1 / 25 Predicates and instances analysis G. Carlson (1) Socrates is human S h individual Socrates is mortal Socrates is widespread Socrates is an omnivore (2) Humans are mortal h m Humans are widespread h w kind Humans are omnivores generic (3) Socrates was thirsty temporal stage Socrates was walking his dog Socrates was running a mile Semantic networks (Woods), frames (Fillmore, Barsalou/Düsseldorf), records (Cooper), attribute value structures... as finite automata (with strings for instances)

2 Attribute values and strings name nationality dob pat irish day 30 month june year 1990 name pat, nationality irish, dob day 30, dob month june, dob year 1990 Form strings over the alphabet Σ = {name, pat, nationality,..., 1990} = Attributes Values A domain D of objects d D described by L(d) Σ a D-indexed family L : D 2 Σ of Σ-languages. Brzozowski automaton over Σ A state is a subset of Σ, and for L, L Σ, L a L L = {s Σ as L} L is accepting ɛ L Brzozowski s-derivative of L so that s 1 L := {s Σ ss L} ɛ 1 L = L (as) 1 L = s 1 (a 1 L) L s L L = s 1 L s L ɛ s 1 L Myhill-Nerode: L is regular iff {s 1 L s Σ } is finite

3 Relations, type symbols, extensions and records n-ary relation R with attributes att 1,..., att n R att 1 att n d d 1 d n For d 1,..., d n, R Σ, define extension.. ext L (R(d 1 d n )) := {d D {R, att 1 d 1,..., att n d n } L(d)} ext L (R) := ext L (R(d 1 d n )) d 1 d n D n. Or add A 1,..., A n Σ with A i L(d i ) whenever ext L (R(d 1 d n )) ext L (R A1 A n ) := {d D {R, att 1 A 1,..., att n A n } L(d)} Record type [att 1 :A 1,..., att n :A n ] with extension ext L ([att 1 :A 1,..., att n :A n ]) := {d D {att 1 A 1,..., att n A n } L(d)}. Subsets of D from languages over Σ A language L Σ describes the D-subset L L := {d D L L(d)} E.g. {att 1 A 1,..., att n A n } L = ext L ([att 1 :A 1,..., att n :A n ]) {R, att 1 A 1,..., att n A n } L = ext L (R A1 A n ) {R, att 1 d 1,..., att n d n } L = ext L (R(d 1 d n )) Clearly, L L = L L L L but = may fail because D is not large enough L L(d) d L L L(d) L d L L

4 Languages from subsets of D A subset E of D is described by the Σ-language E L := L(d) d E with (antitone) Galois connection L E L E L L Formal Concept Analysis: a concept is a pair (E, L) s.t. L = E L (intent) and E = L L (extent). concepts (E, L) and (E, L ) can be partially ordered E E L L E consists of objects in D L consists of strings in Σ, not just symbols in Σ. NEXT: focus on concepts given by objects form strings sharpening partial order on concepts Concepts from objects in D An object d D names the concept (L(d) L, L(d)). An L-extensional account of is-a d is-a L d d L(d ) L L(d) L L(d ) L L(d ) L(d) supporting inheritance along is-a s L(d ) d is-a L d s L(d) e.g. bird flies Tweety is-a L bird Tweety flies Complications 1 defeasibility: penguins are birds that don t fly 2 other sorts of predication: kind-level, stage-level 3 dependence on choice of L : D 2 Σ

5 Reconstruing is-a: defeasibility & strings Replace L(d) by a set Φ[d] of predicates that hold of d ψ Φ[d ] d is-a d ψ Φ[d] ψ Φ[d] ψ Ψ 1 defeasibility: introduce negation not-opposed(ψ, d) 2 other sorts: Ψ Φ 3 dependence on L: form Φ[d] institutionally (Goguen) Ensure {ψ, ψ} Φ[d] by taking is-a to be a successor relation on finitely many d s for a string Φ[d 1 ] Φ[d 2 ] Φ[d n ] with d i is-a d i+1. Similar strings for stage-level predication, with prev (and inertia) in place of is-a (and inheritance). Woods intensional subsumption (contra is-a L ) - more on Thursday (Lecture 4) Subatomic semantics (Parsons 1990) the study of those formulas of English that are treated as atomic formulas in most logical investigations of English including predication/modification (Davidson 1967) Jones did it slowly, deliberately, in the bathroom, with a knife, at midnight and tense & aspect - Reichenbach relates R to { S for tense E for aspect - Inside E: e.g. (non-)entailments (Aristotle... Dowty 1979) Al was running (towards home) Al ran (towards home) Al was running home Al ran home

6 Strings for natural language semantics W. Klein The expression of time in natural languages relates a clause-internal temporal structure to a clause-external temporal structure. The latter may shrink to a single interval, for example, the time at which the sentence is uttered; but this is just a special case. The clause-internal temporal structure may also be very simple it may be reduced to a single interval without any further differentiation, the time of the situation ; but if this ever happens, it is only a borderline case. As a rule, the clause-internal structure is much more complex. Ed exhaled E S H. Reichenbach tense aspect it rained E,R S R S E,R it has rained E R,S R,S E R Open-endedness & institutions more than one symbol in a box alphabet as powerset Σ 2 Σ := {A A Σ} add symbols, possibly lengthening string e.g. real line R from finite sets of rational numbers Formulate Σ as a signature in an institution (Goguen & Burstall) model M given by a functor Mod M = Σ ϕ signature Σ in a category Sign sentence ϕ given by a functor sen Mark Steedman: temporality is not just about timelines Greg Carlson: rules & regulations Tess is eating dal Tess eats dal From episodes/particulars to generics/types (frames) models-as-strings models-as-finite automata

7 Strings built from fluents representing states tense aspect it rained E,R S R S E,R it has rained E R,S R,S E R E,R,S as temporal propositions or fluents (for short) Interpret a fluent ϕ over an interval I I = ϕ leading to filmstrips such as months in a year Jan Feb Dec + d1,d2,... d31 Jan,d1 Jan,d2 Jan,d31 Feb,d1 Dec,d31 where, for example, Jan represents a state I = Jan ( t I ) {t} = Jan Against such strings Bach 1986 (NLM, page 587) There is apparently a strong tendency to think that states are somehow basic, a sort of filmstrip view of reality which I do not share. If anything quite the opposite seems to be true. It took about two millenia to come up with satisfactory ways of coping with Zeno s questions about what it could possibly mean to be in a state of motion at an instant or how you could possibly add together dimensionless instants to get changes (you can t). Krifka 1998 (page 98) the filmstrip model of change... arguably is not the way movement and change is conceptualized (cf. Jackendoff 1996).

8 Jackendoff 1996 on filmstrips I wish to reject this snapshot conceptualization, on the grounds that it misrepresents the essential continuity of events of motion. For one thing, aside from the beginning and end points, the choice of a finite set of subevents is altogether arbitrary. How many subevents are there, and how is one to choose them? Notice that to stipulate the subevents as equally spaced, for instance one second or 3.5 milliseconds apart, is as arbitrary and unmotivated as any other choice. Another difficulty with a snapshot conceptualization concerns the representation of nonbounded events (activities) such as John ran along the river (for hours). A finite sequence of subevents necessarily has a specified beginning and ending, so it cannot encode the absence of endpoints. And excluding the specified endpoints simply exposes other specified subevents, which thereby become new endpoints. Thus encoding nonbounded events requires major surgery in the semantic representation. page 316 Calendar & block compression days in a year months in a year Jan,d1 Jan,d2 Dec,d31 ρ months Jan 31 Feb 28 Dec 31 bc Jan Feb Dec ρ A see only A ρ A (α 1 α 2 α n ) := (α 1 A)(α 2 A) (α n A) bc compress α + to α [ no identical adjacent boxes ] bc(s) := s if length(s) 1 { bc(αα bc(αs) if α = α s) := α bc(α s) otherwise α 1 α n is stutterless if α i α i+1 for 1 i < n (fixed pt of bc) bc A is ρ A ; bc [ vocabulary ; ontology ]

9 The real line R & inverse limits R and numbers a < a < a < a a a a a a For any set X, let Fin(X ) be the set of finite subsets of X. Let lim (bc A ) A Fin(Q) be the set of f : Fin(Q) Fin(Q) s.t. ( A Fin(Q))( B A) f (B) = bc B (f (A)). E.g. str : Fin(Q) Fin(Q) + s.t. str({a 1,..., a n }) := a 1 a n where a 1 < < a n and also for C Q, str C : Fin(Q) Fin(C) + s.t. str C (A) := str(a C). Dedekind cuts & prefixes Map a real number to the set of rational numbers less than it left Q : R 2 Q, r {q Q q < r} Let Cut be the set of C Q s.t. C Q ( a C)( a Q) a < a implies a C (lower half) ( a C)( a C) a < a (else 2 copies of Q) Fact. left Q : R, < = Cut, (extends to ordered field) = {str C C Cut}, where for f, f lim (bc A ) A Fin(Φ), f f f f and ( A Fin(Φ)) f (A) prefix f (A) and for strings s, s, s prefix s ( x) sx = s.

10 Where are we? We formed the continuum R from stutterless strings in Fin(Q) + }{{} {bc(s) s Fin(Q) + } Next: consider intervals - Reichenbachian progressive R inside E - subinterval property (Bennett and Partee 1972/8) Ed slept from 3 to 6 }{{}}{{} Ed slept from 3 to 5 }{{}}{{} ϕ I ϕ I I = ϕ and I I implies I = ϕ Ed slept from 3 to 5pm, Ed slept from 4 to 6pm Ed slept from 3 to 6pm. From points to intervals Fix a (strict) linear order < on some non-empty set T of points. We lift < to non-empty subsets I, I of T via I < I ( t I )( t I ) t < t for the left and right sides of I left(i ) := {t T {t} < I } right(i ) := {t T I < {t}}. The set Ivl of intervals (wrt <) is Ivl := {I T T left(i ) I right(i )} { } and a satisfaction relation = between T and a set Φ of fluents ϕ can be lifted to intervals I via I = ϕ ( t I ) t = ϕ.

11 Fluents over intervals & Dowty s aspect hypothesis Interpret fluents from a set Φ over a Φ-timeline A = T,, = - a linear order on a non-empty set T of points - a binary relation = between intervals I and fluents in Φ Given = between Ivl and Φ, call ϕ pointwise if I = ϕ ( t I ) {t} = ϕ. Widespread assumption (Taylor 1977, Dowty 1979,...). Fluents expressing statives (predicates over states) are pointwise. Dowty s Aspect Hypothesis (1979) the different aspectual properties of the various kinds of verbs can be explained by postulating a single homogeneous class of predicates stative predicates plus three or four sentential operators and connectives Negation & homogeneity The negation ϕ of a pointwise ϕ need not be pointwise I = ϕ not I = ϕ An interval I is ϕ-homogeneous if ϕ is satisfied by either all or none of the subintervals of I ( I I ) I = ϕ ( I I ) I = ϕ (where the subinterval relation is restricted to Ivl). N.B. I is ϕ-homogeneous I is ϕ-homogeneous Wikipedia on Ramsey s theorem: one will find monochromatic cliques in any edge colouring of a sufficiently large complete graph. Plan. Segment an interval into homogeneous subintervals string

12 Segmentations A segmentation of I is a <-increasing sequence I 1 I n covering I I 1 I n I n I i = I and for 1 i < n, I i < I i+1 i=1 i.e. a finite partition of I ordered by <. A seg is a segmentation I 1 I n of n i=1 I i. A ϕ-segmentation is a seg I 1 I n s.t. each I i is ϕ-homogeneous. A seg I 1 I n tracks ϕ if for all I n i=1 I i, I = ϕ I {I i 1 i n and I i = ϕ}. Fact. For pointwise ϕ, a seg is a ϕ-segmentation iff it tracks ϕ. Alternations When does an interval I have a ϕ-segmentation? A (ϕ, n)-alternation of I is a string t 1 t n I n s.t. for 1 i < n, t i < t i+1 and {t i } = ϕ {t i+1 } = ϕ (e.g. {t 1 } = ϕ, {t 2 } = ϕ, {t 3 } = ϕ,...). I is ϕ-alternation bounded (a.b.) if there is an integer n > 0 s.t. no (ϕ, n)-alternation of I exists. Fact. For pointwise ϕ, I has a ϕ-segmentation iff I is ϕ-a.b. Stepping up from a fluent ϕ to a set A of fluents, we call a seg an A-segmentation if it is a ϕ-segmentation for each ϕ A. I is A-segmentable if there is an A-segmentation of I. Fact. Given a finite set A of pointwise fluents and an interval I, I is A-segmentable I is ϕ-a.b. for all ϕ A.

13 From A-segmentations to strings in (2 A ) + The A-diagram of a seg I 1 I n is the string A (I 1 I n ) := {ϕ A I 1 = ϕ} {ϕ A I n = ϕ}. Fact. If an interval I is A-segmentable, there is a unique string s I A s.t. for all A-segmentations I 1 I n of I, bc( A (I 1 I n )) = s I A. Moreover, s I A is the A-diagram of the shortest A-segmentation of I. Recall: an A-segmentation I 1 I n tracks each ϕ A for all I n i=1 I i, I = ϕ I {I i 1 i n and I i = ϕ}. Block compression bc implements the Aristotelian insight More tomorrow. No time without change.

Two perspectives on change & institutions

Two perspectives on change & institutions Two perspectives on change & institutions Tim Fernando Trinity College Dublin, Ireland Nicola Guarino 2014 - Ontological analysis as a search for truth makers - Episodes as truth makers for material relations

More information

Predication via Finite-State Methods

Predication via Finite-State Methods Predication via Finite-State Methods 4/5. Finite-state truthmaking Tim Fernando ESSLLI 2017, Toulouse Key phrases: events vs statives vs forces ceteris paribus: explicit vs derived pathfinding granularity

More information

Image schemas via finite-state methods structured category-theoretically

Image schemas via finite-state methods structured category-theoretically Objective predication Subjective predication Reconciliation Image schemas via finite-state methods structured category-theoretically Tim Fernando Bolzano, 22 August 2016, PROSECCO a recurring structure

More information

Prior and temporal sequences for natural language

Prior and temporal sequences for natural language Prior and temporal sequences for natural language Tim Fernando Trinity College Dublin, Ireland Tim.Fernando@tcd.ie In a widely quoted defense of logics of discrete time, Arthur Prior writes The usefulness

More information

Intervals & events with & without points

Intervals & events with & without points Intervals & events with & without points Tim Fernando (Dublin, Ireland) Stockholm, 2018 James Allen: intervals as primitive There seems to be a strong intuition that, given an event, we can always turn

More information

A Finite-State Temporal Ontology and Event-intervals

A Finite-State Temporal Ontology and Event-intervals A Finite-State Temporal Ontology and Event-intervals Tim Fernando Computer Science Department Trinity College Dublin Ireland tfernand@tcd.ie Abstract A finite-state approach to temporal ontology for natural

More information

Entailments in finite-state temporality

Entailments in finite-state temporality Entailments in finite-state temporality Tim Fernando and Rowan Nairn Computer Science Department, Trinity College Dublin 1 Introduction The surge in use of finite-state methods ([10]) in computational

More information

Segmenting Temporal Intervals for Tense and Aspect

Segmenting Temporal Intervals for Tense and Aspect Segmenting Temporal Intervals for Tense and Aspect Tim Fernando Trinity College Dublin, Ireland Tim.Fernando@tcd.ie Abstract Timelines interpreting interval temporal logic formulas are segmented into strings

More information

On regular languages over power sets

On regular languages over power sets On regular languages over power sets Tim Fernando Trinity College Dublin, Ireland abstract The power set of a finite set is used as the alphabet of a string interpreting a sentence of Monadic Second-Order

More information

CSE 1400 Applied Discrete Mathematics Definitions

CSE 1400 Applied Discrete Mathematics Definitions CSE 1400 Applied Discrete Mathematics Definitions Department of Computer Sciences College of Engineering Florida Tech Fall 2011 Arithmetic 1 Alphabets, Strings, Languages, & Words 2 Number Systems 3 Machine

More information

Relational Reasoning in Natural Language

Relational Reasoning in Natural Language 1/67 Relational Reasoning in Natural Language Larry Moss ESSLLI 10 Course on Logics for Natural Language Inference August, 2010 Adding transitive verbs the work on R, R, and other systems is joint with

More information

Logic Background (1A) Young W. Lim 12/14/15

Logic Background (1A) Young W. Lim 12/14/15 Young W. Lim 12/14/15 Copyright (c) 2014-2015 Young W. Lim. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any

More information

Decidability of WS1S and S1S (An Exposition) Exposition by William Gasarch-U of MD

Decidability of WS1S and S1S (An Exposition) Exposition by William Gasarch-U of MD 1 Introduction Decidability of WS1S and S1S (An Exposition) Exposition by William Gasarch-U of MD We are going to prove that a (small) fragment of mathematics is decidable. 1. A Formula allows variables

More information

First Order Logic (1A) Young W. Lim 11/18/13

First Order Logic (1A) Young W. Lim 11/18/13 Copyright (c) 2013. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software

More information

06 From Propositional to Predicate Logic

06 From Propositional to Predicate Logic Martin Henz February 19, 2014 Generated on Wednesday 19 th February, 2014, 09:48 1 Syntax of Predicate Logic 2 3 4 5 6 Need for Richer Language Predicates Variables Functions 1 Syntax of Predicate Logic

More information

ICS141: Discrete Mathematics for Computer Science I

ICS141: Discrete Mathematics for Computer Science I ICS141: Discrete Mathematics for Computer Science I Dept. Information & Computer Sci., Originals slides by Dr. Baek and Dr. Still, adapted by J. Stelovsky Based on slides Dr. M. P. Frank and Dr. J.L. Gross

More information

Proseminar on Semantic Theory Fall 2013 Ling 720 Propositional Logic: Syntax and Natural Deduction 1

Proseminar on Semantic Theory Fall 2013 Ling 720 Propositional Logic: Syntax and Natural Deduction 1 Propositional Logic: Syntax and Natural Deduction 1 The Plot That Will Unfold I want to provide some key historical and intellectual context to the model theoretic approach to natural language semantics,

More information

Database Theory VU , SS Complexity of Query Evaluation. Reinhard Pichler

Database Theory VU , SS Complexity of Query Evaluation. Reinhard Pichler Database Theory Database Theory VU 181.140, SS 2018 5. Complexity of Query Evaluation Reinhard Pichler Institut für Informationssysteme Arbeitsbereich DBAI Technische Universität Wien 17 April, 2018 Pichler

More information

Towards Efficient String Processing of Annotated Events

Towards Efficient String Processing of Annotated Events Towards Efficient String Processing of Annotated Events David Woods 1 Tim Fernando 2 Carl Vogel 2 1 ADAPT Centre Trinity College Dublin, Ireland 2 Computational Linguistics Group Trinity Centre for Computing

More information

Intensionality. 1. Intensional Propositional Logic (IntPL).

Intensionality. 1. Intensional Propositional Logic (IntPL). Ling255: Sem and CogSci Maribel Romero April 5, 2005 1. Intensional Propositional Logic (IntPL). Intensionality Intensional PL adds some operators O to our standard PL. The crucial property of these operators

More information

Lecture 23 : Nondeterministic Finite Automata DRAFT Connection between Regular Expressions and Finite Automata

Lecture 23 : Nondeterministic Finite Automata DRAFT Connection between Regular Expressions and Finite Automata CS/Math 24: Introduction to Discrete Mathematics 4/2/2 Lecture 23 : Nondeterministic Finite Automata Instructor: Dieter van Melkebeek Scribe: Dalibor Zelený DRAFT Last time we designed finite state automata

More information

FORMAL LANGUAGES, AUTOMATA AND COMPUTATION

FORMAL LANGUAGES, AUTOMATA AND COMPUTATION FORMAL LANGUAGES, AUTOMATA AND COMPUTATION DECIDABILITY ( LECTURE 15) SLIDES FOR 15-453 SPRING 2011 1 / 34 TURING MACHINES-SYNOPSIS The most general model of computation Computations of a TM are described

More information

Spring 2018 Ling 620 The Basics of Intensional Semantics, Part 1: The Motivation for Intensions and How to Formalize Them 1

Spring 2018 Ling 620 The Basics of Intensional Semantics, Part 1: The Motivation for Intensions and How to Formalize Them 1 The Basics of Intensional Semantics, Part 1: The Motivation for Intensions and How to Formalize Them 1 1. The Inadequacies of a Purely Extensional Semantics (1) Extensional Semantics a. The interpretation

More information

1 More finite deterministic automata

1 More finite deterministic automata CS 125 Section #6 Finite automata October 18, 2016 1 More finite deterministic automata Exercise. Consider the following game with two players: Repeatedly flip a coin. On heads, player 1 gets a point.

More information

First Order Logic (1A) Young W. Lim 11/5/13

First Order Logic (1A) Young W. Lim 11/5/13 Copyright (c) 2013. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software

More information

Adding Some. Larry Moss. Nordic Logic School August 7-11, Indiana University 1/37

Adding Some. Larry Moss. Nordic Logic School August 7-11, Indiana University 1/37 1/37 Adding Some Larry Moss Indiana University Nordic Logic School August 7-11, 2017 2/37 What this chapter is about We started with the very small logic A of All x are y. And most recently we added verbs

More information

Automata theory. An algorithmic approach. Lecture Notes. Javier Esparza

Automata theory. An algorithmic approach. Lecture Notes. Javier Esparza Automata theory An algorithmic approach Lecture Notes Javier Esparza July 2 22 2 Chapter 9 Automata and Logic A regular expression can be seen as a set of instructions ( a recipe ) for generating the words

More information

Extensions to the Logic of All x are y: Verbs, Relative Clauses, and Only

Extensions to the Logic of All x are y: Verbs, Relative Clauses, and Only 1/53 Extensions to the Logic of All x are y: Verbs, Relative Clauses, and Only Larry Moss Indiana University Nordic Logic School August 7-11, 2017 2/53 An example that we ll see a few times Consider the

More information

Logic (3A) Young W. Lim 10/29/13

Logic (3A) Young W. Lim 10/29/13 Copyright (c) 2013. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software

More information

Finite-state representations embodying temporal relations

Finite-state representations embodying temporal relations Finite-state representations embodying temporal relations Tim Fernando Computer Science Department Trinity College Dublin 2, Ireland Tim.Fernandol@tcd.ie Abstract Finite-state methods are applied to the

More information

Logic (3A) Young W. Lim 11/2/13

Logic (3A) Young W. Lim 11/2/13 Copyright (c) 2013. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software

More information

From Constructibility and Absoluteness to Computability and Domain Independence

From Constructibility and Absoluteness to Computability and Domain Independence From Constructibility and Absoluteness to Computability and Domain Independence Arnon Avron School of Computer Science Tel Aviv University, Tel Aviv 69978, Israel aa@math.tau.ac.il Abstract. Gödel s main

More information

Mathematics 114L Spring 2018 D.A. Martin. Mathematical Logic

Mathematics 114L Spring 2018 D.A. Martin. Mathematical Logic Mathematics 114L Spring 2018 D.A. Martin Mathematical Logic 1 First-Order Languages. Symbols. All first-order languages we consider will have the following symbols: (i) variables v 1, v 2, v 3,... ; (ii)

More information

Mathematical Foundations of Logic and Functional Programming

Mathematical Foundations of Logic and Functional Programming Mathematical Foundations of Logic and Functional Programming lecture notes The aim of the course is to grasp the mathematical definition of the meaning (or, as we say, the semantics) of programs in two

More information

Logical Structures in Natural Language: Propositional Logic II (Truth Tables and Reasoning

Logical Structures in Natural Language: Propositional Logic II (Truth Tables and Reasoning Logical Structures in Natural Language: Propositional Logic II (Truth Tables and Reasoning Raffaella Bernardi Università degli Studi di Trento e-mail: bernardi@disi.unitn.it Contents 1 What we have said

More information

Logic (3A) Young W. Lim 10/31/13

Logic (3A) Young W. Lim 10/31/13 Copyright (c) 2013. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software

More information

Propositional Logic: Methods of Proof (Part II)

Propositional Logic: Methods of Proof (Part II) Propositional Logic: Methods of Proof (Part II) You will be expected to know Basic definitions Inference, derive, sound, complete Conjunctive Normal Form (CNF) Convert a Boolean formula to CNF Do a short

More information

Logic Overview, I. and T T T T F F F T F F F F

Logic Overview, I. and T T T T F F F T F F F F Logic Overview, I DEFINITIONS A statement (proposition) is a declarative sentence that can be assigned a truth value T or F, but not both. Statements are denoted by letters p, q, r, s,... The 5 basic logical

More information

Computational Models - Lecture 4

Computational Models - Lecture 4 Computational Models - Lecture 4 Regular languages: The Myhill-Nerode Theorem Context-free Grammars Chomsky Normal Form Pumping Lemma for context free languages Non context-free languages: Examples Push

More information

Argumentation-Based Models of Agent Reasoning and Communication

Argumentation-Based Models of Agent Reasoning and Communication Argumentation-Based Models of Agent Reasoning and Communication Sanjay Modgil Department of Informatics, King s College London Outline Logic and Argumentation - Dung s Theory of Argumentation - The Added

More information

Propositional Logic Logical Implication (4A) Young W. Lim 4/21/17

Propositional Logic Logical Implication (4A) Young W. Lim 4/21/17 Propositional Logic Logical Implication (4A) Young W. Lim Copyright (c) 2016-2017 Young W. Lim. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation

More information

Automata-based Verification - III

Automata-based Verification - III COMP30172: Advanced Algorithms Automata-based Verification - III Howard Barringer Room KB2.20: email: howard.barringer@manchester.ac.uk March 2009 Third Topic Infinite Word Automata Motivation Büchi Automata

More information

Lecture 2: Syntax. January 24, 2018

Lecture 2: Syntax. January 24, 2018 Lecture 2: Syntax January 24, 2018 We now review the basic definitions of first-order logic in more detail. Recall that a language consists of a collection of symbols {P i }, each of which has some specified

More information

6 Coalgebraic modalities via predicate liftings

6 Coalgebraic modalities via predicate liftings 6 Coalgebraic modalities via predicate liftings In this chapter we take an approach to coalgebraic modal logic where the modalities are in 1-1 correspondence with so-called predicate liftings for the functor

More information

Automata, Logic and Games: Theory and Application

Automata, Logic and Games: Theory and Application Automata, Logic and Games: Theory and Application 1. Büchi Automata and S1S Luke Ong University of Oxford TACL Summer School University of Salerno, 14-19 June 2015 Luke Ong Büchi Automata & S1S 14-19 June

More information

Description Logics. Foundations of Propositional Logic. franconi. Enrico Franconi

Description Logics. Foundations of Propositional Logic.   franconi. Enrico Franconi (1/27) Description Logics Foundations of Propositional Logic Enrico Franconi franconi@cs.man.ac.uk http://www.cs.man.ac.uk/ franconi Department of Computer Science, University of Manchester (2/27) Knowledge

More information

ON THE LOGIC OF VERBAL MODIFICATION DAVID BEAVER AND CLEO CONDORAVDI

ON THE LOGIC OF VERBAL MODIFICATION DAVID BEAVER AND CLEO CONDORAVDI ON THE LOGIC OF VERBAL ODIFICATION DAVID BEAVER AND CLEO CONDORAVDI Department of Linguistics University of Texas at Austin dib@mail.utexas.edu PARC and Department of Linguistics Stanford University condorav@csli.stanford.edu

More information

Monadic Second Order Logic and Automata on Infinite Words: Büchi s Theorem

Monadic Second Order Logic and Automata on Infinite Words: Büchi s Theorem Monadic Second Order Logic and Automata on Infinite Words: Büchi s Theorem R. Dustin Wehr December 18, 2007 Büchi s theorem establishes the equivalence of the satisfiability relation for monadic second-order

More information

Essential facts about NP-completeness:

Essential facts about NP-completeness: CMPSCI611: NP Completeness Lecture 17 Essential facts about NP-completeness: Any NP-complete problem can be solved by a simple, but exponentially slow algorithm. We don t have polynomial-time solutions

More information

FORMAL LANGUAGES, AUTOMATA AND COMPUTABILITY

FORMAL LANGUAGES, AUTOMATA AND COMPUTABILITY 15-453 FORMAL LANGUAGES, AUTOMATA AND COMPUTABILITY THURSDAY APRIL 3 REVIEW for Midterm TUESDAY April 8 Definition: A Turing Machine is a 7-tuple T = (Q, Σ, Γ, δ, q, q accept, q reject ), where: Q is a

More information

Decision Problems with TM s. Lecture 31: Halting Problem. Universe of discourse. Semi-decidable. Look at following sets: CSCI 81 Spring, 2012

Decision Problems with TM s. Lecture 31: Halting Problem. Universe of discourse. Semi-decidable. Look at following sets: CSCI 81 Spring, 2012 Decision Problems with TM s Look at following sets: Lecture 31: Halting Problem CSCI 81 Spring, 2012 Kim Bruce A TM = { M,w M is a TM and w L(M)} H TM = { M,w M is a TM which halts on input w} TOTAL TM

More information

Postulates for logic-based argumentation systems

Postulates for logic-based argumentation systems Postulates for logic-based argumentation systems Leila Amgoud IRIT CNRS Toulouse France Abstract Logic-based argumentation systems are developed for reasoning with inconsistent information. Starting from

More information

Turing Machines Part III

Turing Machines Part III Turing Machines Part III Announcements Problem Set 6 due now. Problem Set 7 out, due Monday, March 4. Play around with Turing machines, their powers, and their limits. Some problems require Wednesday's

More information

3/29/2017. Logic. Propositions and logical operations. Main concepts: propositions truth values propositional variables logical operations

3/29/2017. Logic. Propositions and logical operations. Main concepts: propositions truth values propositional variables logical operations Logic Propositions and logical operations Main concepts: propositions truth values propositional variables logical operations 1 Propositions and logical operations A proposition is the most basic element

More information

Complexity Theory VU , SS The Polynomial Hierarchy. Reinhard Pichler

Complexity Theory VU , SS The Polynomial Hierarchy. Reinhard Pichler Complexity Theory Complexity Theory VU 181.142, SS 2018 6. The Polynomial Hierarchy Reinhard Pichler Institut für Informationssysteme Arbeitsbereich DBAI Technische Universität Wien 15 May, 2018 Reinhard

More information

Outline. Complexity Theory EXACT TSP. The Class DP. Definition. Problem EXACT TSP. Complexity of EXACT TSP. Proposition VU 181.

Outline. Complexity Theory EXACT TSP. The Class DP. Definition. Problem EXACT TSP. Complexity of EXACT TSP. Proposition VU 181. Complexity Theory Complexity Theory Outline Complexity Theory VU 181.142, SS 2018 6. The Polynomial Hierarchy Reinhard Pichler Institut für Informationssysteme Arbeitsbereich DBAI Technische Universität

More information

LIN1032 Formal Foundations for Linguistics

LIN1032 Formal Foundations for Linguistics LIN1032 Formal Foundations for Lecture 1 Albert Gatt Practical stuff Course tutors: Albert Gatt (first half) albert.gatt@um.edu.mt Ray Fabri (second half) ray.fabri@um.edu.mt Course website: TBA Practical

More information

Expressiveness, decidability, and undecidability of Interval Temporal Logic

Expressiveness, decidability, and undecidability of Interval Temporal Logic University of Udine Department of Mathematics and Computer Science Expressiveness, decidability, and undecidability of Interval Temporal Logic ITL - Beyond the end of the light Ph.D. Defence Dario Della

More information

5.4 Continuity: Preliminary Notions

5.4 Continuity: Preliminary Notions 5.4. CONTINUITY: PRELIMINARY NOTIONS 181 5.4 Continuity: Preliminary Notions 5.4.1 Definitions The American Heritage Dictionary of the English Language defines continuity as an uninterrupted succession,

More information

Introduction to Logic in Computer Science: Autumn 2006

Introduction to Logic in Computer Science: Autumn 2006 Introduction to Logic in Computer Science: Autumn 2006 Ulle Endriss Institute for Logic, Language and Computation University of Amsterdam Ulle Endriss 1 Plan for Today Today s class will be an introduction

More information

Chapter 2. Reductions and NP. 2.1 Reductions Continued The Satisfiability Problem (SAT) SAT 3SAT. CS 573: Algorithms, Fall 2013 August 29, 2013

Chapter 2. Reductions and NP. 2.1 Reductions Continued The Satisfiability Problem (SAT) SAT 3SAT. CS 573: Algorithms, Fall 2013 August 29, 2013 Chapter 2 Reductions and NP CS 573: Algorithms, Fall 2013 August 29, 2013 2.1 Reductions Continued 2.1.1 The Satisfiability Problem SAT 2.1.1.1 Propositional Formulas Definition 2.1.1. Consider a set of

More information

Notes on Satisfiability-Based Problem Solving. First Order Logic. David Mitchell October 23, 2013

Notes on Satisfiability-Based Problem Solving. First Order Logic. David Mitchell October 23, 2013 Notes on Satisfiability-Based Problem Solving First Order Logic David Mitchell mitchell@cs.sfu.ca October 23, 2013 Preliminary draft. Please do not distribute. Corrections and suggestions welcome. In this

More information

Predicate Calculus. Formal Methods in Verification of Computer Systems Jeremy Johnson

Predicate Calculus. Formal Methods in Verification of Computer Systems Jeremy Johnson Predicate Calculus Formal Methods in Verification of Computer Systems Jeremy Johnson Outline 1. Motivation 1. Variables, quantifiers and predicates 2. Syntax 1. Terms and formulas 2. Quantifiers, scope

More information

Lecture 10: Predicate Logic and Its Language

Lecture 10: Predicate Logic and Its Language Discrete Mathematics (II) Spring 2017 Lecture 10: Predicate Logic and Its Language Lecturer: Yi Li 1 Predicates and Quantifiers In this action, we show you why a richer language should be introduced than

More information

Contexts for Quantification

Contexts for Quantification Contexts for Quantification Valeria de Paiva Stanford April, 2011 Valeria de Paiva (Stanford) C4Q April, 2011 1 / 28 Natural logic: what we want Many thanks to Larry, Ulrik for slides! Program Show that

More information

Existential Second-Order Logic and Modal Logic with Quantified Accessibility Relations

Existential Second-Order Logic and Modal Logic with Quantified Accessibility Relations Existential Second-Order Logic and Modal Logic with Quantified Accessibility Relations preprint Lauri Hella University of Tampere Antti Kuusisto University of Bremen Abstract This article investigates

More information

Halting and Equivalence of Program Schemes in Models of Arbitrary Theories

Halting and Equivalence of Program Schemes in Models of Arbitrary Theories Halting and Equivalence of Program Schemes in Models of Arbitrary Theories Dexter Kozen Cornell University, Ithaca, New York 14853-7501, USA, kozen@cs.cornell.edu, http://www.cs.cornell.edu/~kozen In Honor

More information

Duality in Probabilistic Automata

Duality in Probabilistic Automata Duality in Probabilistic Automata Chris Hundt Prakash Panangaden Joelle Pineau Doina Precup Gavin Seal McGill University MFPS May 2006 Genoa p.1/40 Overview We have discovered an - apparently - new kind

More information

Introduction to Intensional Logic. Ling 406/802 Read Meaning and Grammar, Ch

Introduction to Intensional Logic. Ling 406/802 Read Meaning and Grammar, Ch Introduction to Intensional Logic Ling 406/802 Read Meaning and Grammar, Ch 51-52 1 Towards Intensional Semantics Extensional semantics that models the meaning of sentences based on the extensions of linguistic

More information

Languages, regular languages, finite automata

Languages, regular languages, finite automata Notes on Computer Theory Last updated: January, 2018 Languages, regular languages, finite automata Content largely taken from Richards [1] and Sipser [2] 1 Languages An alphabet is a finite set of characters,

More information

COMP 409: Logic Homework 5

COMP 409: Logic Homework 5 COMP 409: Logic Homework 5 Note: The pages below refer to the text from the book by Enderton. 1. Exercises 1-6 on p. 78. 1. Translate into this language the English sentences listed below. If the English

More information

3. Only sequences that were formed by using finitely many applications of rules 1 and 2, are propositional formulas.

3. Only sequences that were formed by using finitely many applications of rules 1 and 2, are propositional formulas. 1 Chapter 1 Propositional Logic Mathematical logic studies correct thinking, correct deductions of statements from other statements. Let us make it more precise. A fundamental property of a statement is

More information

Truth-Functional Logic

Truth-Functional Logic Truth-Functional Logic Syntax Every atomic sentence (A, B, C, ) is a sentence and are sentences With ϕ a sentence, the negation ϕ is a sentence With ϕ and ψ sentences, the conjunction ϕ ψ is a sentence

More information

CSC173 Workshop: 13 Sept. Notes

CSC173 Workshop: 13 Sept. Notes CSC173 Workshop: 13 Sept. Notes Frank Ferraro Department of Computer Science University of Rochester September 14, 2010 1 Regular Languages and Equivalent Forms A language can be thought of a set L of

More information

INTRODUCTION TO NONMONOTONIC REASONING

INTRODUCTION TO NONMONOTONIC REASONING Faculty of Computer Science Chair of Automata Theory INTRODUCTION TO NONMONOTONIC REASONING Anni-Yasmin Turhan Dresden, WS 2017/18 About the Course Course Material Book "Nonmonotonic Reasoning" by Grigoris

More information

Introduction to Semantics. The Formalization of Meaning 1

Introduction to Semantics. The Formalization of Meaning 1 The Formalization of Meaning 1 1. Obtaining a System That Derives Truth Conditions (1) The Goal of Our Enterprise To develop a system that, for every sentence S of English, derives the truth-conditions

More information

Existence and Predication in Free Logics. Secretaria de Estado de Educação do Distrito Federal, Brasil

Existence and Predication in Free Logics. Secretaria de Estado de Educação do Distrito Federal, Brasil Studia Humana Volume 6:4 (2017), pp. 3 9 DOI: 10.1515/sh-2017-0023 Guilherme Kubiszeski Existence and Predication in Free Logics Secretaria de Estado de Educação do Distrito Federal, Brasil email: guilhermefk4@gmail.com

More information

Logical reasoning - Can we formalise our thought processes?

Logical reasoning - Can we formalise our thought processes? Logical reasoning - Can we formalise our thought processes? Why study (mathematical) logic? Logic: the science or method of reasoning Logical: able to reason correctly Human reasoning poorly understood,

More information

Nondeterministic Finite Automata

Nondeterministic Finite Automata Nondeterministic Finite Automata Mahesh Viswanathan Introducing Nondeterminism Consider the machine shown in Figure. Like a DFA it has finitely many states and transitions labeled by symbols from an input

More information

Symbolic Logic 3. For an inference to be deductively valid it is impossible for the conclusion to be false if the premises are true.

Symbolic Logic 3. For an inference to be deductively valid it is impossible for the conclusion to be false if the premises are true. Symbolic Logic 3 Testing deductive validity with truth tables For an inference to be deductively valid it is impossible for the conclusion to be false if the premises are true. So, given that truth tables

More information

AI Principles, Semester 2, Week 2, Lecture 5 Propositional Logic and Predicate Logic

AI Principles, Semester 2, Week 2, Lecture 5 Propositional Logic and Predicate Logic AI Principles, Semester 2, Week 2, Lecture 5 Propositional Logic and Predicate Logic Propositional logic Logical connectives Rules for wffs Truth tables for the connectives Using Truth Tables to evaluate

More information

Predicate Calculus - Syntax

Predicate Calculus - Syntax Predicate Calculus - Syntax Lila Kari University of Waterloo Predicate Calculus - Syntax CS245, Logic and Computation 1 / 26 The language L pred of Predicate Calculus - Syntax L pred, the formal language

More information

Computational Models - Lecture 1 1

Computational Models - Lecture 1 1 Computational Models - Lecture 1 1 Handout Mode Ronitt Rubinfeld and Iftach Haitner. Tel Aviv University. February 29/ March 02, 2016 1 Based on frames by Benny Chor, Tel Aviv University, modifying frames

More information

Lecture 12. Statement Logic as a word algebra on the set of atomic statements. Lindenbaum algebra.

Lecture 12. Statement Logic as a word algebra on the set of atomic statements. Lindenbaum algebra. V. Borschev and B. Partee, October 26, 2006 p. 1 Lecture 12. Statement Logic as a word algebra on the set of atomic statements. Lindenbaum algebra. 0. Preliminary notes...1 1. Freedom for algebras. Word

More information

Logic for Computer Science - Week 2 The Syntax of Propositional Logic

Logic for Computer Science - Week 2 The Syntax of Propositional Logic Logic for Computer Science - Week 2 The Syntax of Propositional Logic Ștefan Ciobâcă November 30, 2017 1 An Introduction to Logical Formulae In the previous lecture, we have seen what makes an argument

More information

Computation and Logic Definitions

Computation and Logic Definitions Computation and Logic Definitions True and False Also called Boolean truth values, True and False represent the two values or states an atom can assume. We can use any two distinct objects to represent

More information

Introducing Proof 1. hsn.uk.net. Contents

Introducing Proof 1. hsn.uk.net. Contents Contents 1 1 Introduction 1 What is proof? 1 Statements, Definitions and Euler Diagrams 1 Statements 1 Definitions Our first proof Euler diagrams 4 3 Logical Connectives 5 Negation 6 Conjunction 7 Disjunction

More information

Theory of Computation Prof. Kamala Krithivasan Department of Computer Science and Engineering Indian Institute Of Technology, Madras

Theory of Computation Prof. Kamala Krithivasan Department of Computer Science and Engineering Indian Institute Of Technology, Madras Theory of Computation Prof. Kamala Krithivasan Department of Computer Science and Engineering Indian Institute Of Technology, Madras Lecture No. # 25 Problems and Solutions (Refer Slide Time: 00:16) Today,

More information

An Inquisitive Formalization of Interrogative Inquiry

An Inquisitive Formalization of Interrogative Inquiry An Inquisitive Formalization of Interrogative Inquiry Yacin Hamami 1 Introduction and motivation The notion of interrogative inquiry refers to the process of knowledge-seeking by questioning [5, 6]. As

More information

First Order Logic Semantics (3A) Young W. Lim 8/9/17

First Order Logic Semantics (3A) Young W. Lim 8/9/17 First Order Logic (3A) Young W. Lim Copyright (c) 2016-2017 Young W. Lim. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version

More information

(Refer Slide Time: 02:20)

(Refer Slide Time: 02:20) Discrete Mathematical Structures Dr. Kamala Krithivasan Department of Computer Science and Engineering Indian Institute of Technology, Madras Lecture - 5 Logical Inference In the last class we saw about

More information

Automata-based Verification - III

Automata-based Verification - III CS3172: Advanced Algorithms Automata-based Verification - III Howard Barringer Room KB2.20/22: email: howard.barringer@manchester.ac.uk March 2005 Third Topic Infinite Word Automata Motivation Büchi Automata

More information

6.045: Automata, Computability, and Complexity Or, Great Ideas in Theoretical Computer Science Spring, Class 8 Nancy Lynch

6.045: Automata, Computability, and Complexity Or, Great Ideas in Theoretical Computer Science Spring, Class 8 Nancy Lynch 6.045: Automata, Computability, and Complexity Or, Great Ideas in Theoretical Computer Science Spring, 2010 Class 8 Nancy Lynch Today More undecidable problems: About Turing machines: Emptiness, etc. About

More information

Lloyd-Topor Completion and General Stable Models

Lloyd-Topor Completion and General Stable Models Lloyd-Topor Completion and General Stable Models Vladimir Lifschitz and Fangkai Yang Department of Computer Science The University of Texas at Austin {vl,fkyang}@cs.utexas.edu Abstract. We investigate

More information

COMP219: Artificial Intelligence. Lecture 19: Logic for KR

COMP219: Artificial Intelligence. Lecture 19: Logic for KR COMP219: Artificial Intelligence Lecture 19: Logic for KR 1 Overview Last time Expert Systems and Ontologies Today Logic as a knowledge representation scheme Propositional Logic Syntax Semantics Proof

More information

Extended transition function of a DFA

Extended transition function of a DFA Extended transition function of a DFA The next two pages describe the extended transition function of a DFA in a more detailed way than Handout 3.. p./43 Formal approach to accepted strings We define the

More information

First Order Logic Semantics (3A) Young W. Lim 9/17/17

First Order Logic Semantics (3A) Young W. Lim 9/17/17 First Order Logic (3A) Young W. Lim Copyright (c) 2016-2017 Young W. Lim. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version

More information

Knowledge representation DATA INFORMATION KNOWLEDGE WISDOM. Figure Relation ship between data, information knowledge and wisdom.

Knowledge representation DATA INFORMATION KNOWLEDGE WISDOM. Figure Relation ship between data, information knowledge and wisdom. Knowledge representation Introduction Knowledge is the progression that starts with data which s limited utility. Data when processed become information, information when interpreted or evaluated becomes

More information

Büchi Automata and their closure properties. - Ajith S and Ankit Kumar

Büchi Automata and their closure properties. - Ajith S and Ankit Kumar Büchi Automata and their closure properties - Ajith S and Ankit Kumar Motivation Conventional programs accept input, compute, output result, then terminate Reactive program : not expected to terminate

More information

Meaning and Reference INTENSIONAL AND MODAL LOGIC. Intensional Logic. Frege: Predicators (general terms) have

Meaning and Reference INTENSIONAL AND MODAL LOGIC. Intensional Logic. Frege: Predicators (general terms) have INTENSIONAL AND MODAL LOGIC Meaning and Reference Why do we consider extensions to the standard logical language(s)? Requirements of knowledge representation / domain modelling Intensional expressions:

More information