Descriptive Complexity: An overview of the field, key results, techniques, and applications.

Size: px
Start display at page:

Download "Descriptive Complexity: An overview of the field, key results, techniques, and applications."

Transcription

1 Descriptive Complexity: An overview of the field, key results, techniques, and applications. Ryan Flannery 22 May 2009 Abstract In 1974 Ronald Fagin proved that problems in the complexity classes of P and NP can be characterized by the form of logic necessary to state the problem. That is, given a problem stated formally in logic, one can determine if answering the problem is in P or NP based solely on the form of the logic used to state the problem. Since this result, many other key complexity classes have been shown to be equivalent to various forms of logic: a problem X is solvable in time O(f(n)) if and only if X can be stated in a specific logic. This field of logic and computer science is called Descriptive Complexity and has applications in database theory, model checking and logic programming. This presentation will present the field of descriptive complexity, it s key results, techniques used within the field, and various areas of application. Contents 1 Introduction: What is Descriptive Complexity? Some Key Results Why These are Important: Easy Complexity Analysis An Important Note: The Finite Assumption Origins of Descriptive Complexity Origins of Finite Model Theory Applications of Descriptive Complexity Complexity Theory Database Theory Model Checking & Formal Verification Logic Programming Current Research into Descriptive Complexity Relevant Research Groups Relevant Journals & Conferences Descriptive Complexity: In (some) Detail 5 6 Descriptive Complexity: Some Key Notions First-Order Vocabularies & Models Definability Undefinability Descriptive Complexity: Some Key Techniques Weird Inductions Ehrenfeucht-Fraïsse (EF) Games

2 8 Descriptive Complexity: Key Results 9 References 10 2

3 1 Introduction: What is Descriptive Complexity? Descriptive Complexity (DC) is a field of mathematical logic, finite model theory, and computer science DC did not arise in response to a specific problem, but rather in response to a strange theorem by Ronald Fagin in 1974 [2]. DC provides another method of classifying the time/space complexity of problems based on the logical form of the problem statement itself It is an active area of research 1.1 Some Key Results Given a problem P... P can be stated in pure, First-Order Logic iff P can be solved in O(log n) time P can be stated in First-Order Logic extended with a Least-Fixed-Point operator iff P can be solved in Polynomial time P can be stated in Existential Second-Order Logic iff P can be solved in NP time Symbolically, FO O(log n) FO+LFP P -SO NP The key results of DC are that the time/space requirements to solve a problem can be understood by the richness of the logic required to state the problem This makes intuitive sense... If a problem can be stated using a very simple language, it s probably a very simple problem to solve If a problem requires a very complex language to even state, then it s probably a very complex problem to solve The results of DC show that this intuition is correct In fact, the relationship between the logic required to state a problem and the complexity of the problem is tight Most major complexity classes can be characterized using the tools of DC 1

4 1.2 Why These are Important: Easy Complexity Analysis Remarkably, they characterize complexity classes with no mention of any model of computation! (Turing Machines, etc.) Normal Complexity Analysis: State problem, analyze it to try and deduce the complexity If you re lucky, you ll find an easy reduction from some known problem to yours Otherwise, life may become... difficult DC Analysis: State the problem formally, et voila 1.3 An Important Note: The Finite Assumption Anyone familiar with logic would look at the above results and say... IF FO+LFP P and -SO NP, THEN clearly P NP! The reason why this is not immediately known is the following... In DC we always interpret logics over finite structures only We ll cover this more precisely later Just know that DC and the study of finite structures, called Finite Model Theory (FMT), are closely related It s important to note that with the finite assumption, we always assume the structures we are talking about are (simply) finite That is, when we talk about graphs, we only talk about graphs with finitely many nodes NOTE: The finite assumptions does not say that we only reason about structures with exactly n elements or at most n elements for some fixed n! It simply states that the structures we reason about are not infinite. 2 Origins of Descriptive Complexity DC was created in 1974 by Ronald Fagin [2], who proved the result -SO NP (1) It was considered remarkable since it characterizes the NP class of problems without using a model of computation (Turing machines, etc.) It was until 1980 that further results were made, characterizing other complexity classes as fragments of various logics Throughout the 1980 s, Neil Immerman, Moshe Vardi, Erich Grädel, and Phokion Kolaitis established most of the major results characterizing complexity classes (for sequential machines) as fragments of various logics (see [3] and [5] for surveys of all the results) 2

5 2.1 Origins of Finite Model Theory As mentioned earlier, FMT is central to DC The first results in FMT was a 1950 theorem by Trakhtenbrot, where he proved that validity over finite models is not recursively enumerable [9] That is, FO is not complete when interpreted over finite structures! Until Fagin s results in 1974, no other work was done with finite structures When something as simple as FO is incomplete, why study this further!? Since Fagin s 1974 result, FMT became, and still is, an active area of research It was quickly realized that the vast majority of techniques from regular model theory fail in finite model theory Diagonalization How do you diagonalize over a finite set of unknown size? Completeness A consequence of Trakhtenbrot s result Compactness Ouch! and many more This is why Finite Model Theory is not just a single chapter in model theory texts! 3 Applications of Descriptive Complexity Since it s inception, DC has become increasingly used in Complexity Theory Database Theory Model Checking & Formal Verification Logic Programming 3.1 Complexity Theory The applicability here is obvious For sequential machines, all major complexity classes can be easily characterized using DC For parallel and distributed settings, some complexity classes have been characterized in DC.... this is a very active area of research in the field Survey of uses in this area in [5] 3

6 3.2 Database Theory DC is used to identify query languages where it s easier to classify/identify the complexity of answering queries it s easier to state queries in an optimal fashion Survey of uses in this area in [7] and [5] 3.3 Model Checking & Formal Verification DC is not a standard tool used in most active areas of model checking DC results can be easily translated to transition logics where, once you state the property you want to check/verify, it s immediately evident the complexity of that operation Knowledge of the complexity of the components of a specification aid in model search/construction (now part of standard techniques) Survey of uses in this area in [7] and [5] 3.4 Logic Programming Well, DC hasn t been used here much yet... But I m hoping to change this 4 Current Research into Descriptive Complexity Prominent People include... Neil Immerman (University of Massachusetts at Amherst) Moshe Vardi (Rice University) Phokion Kolaitis (IBM Almaden Research Center) Erich Grädel (RWTH Aachen University, Germany) Leonid Libkin (University of Edinburgh, School of Informatics) 4.1 Relevant Research Groups University of Massachusetts, Database and Information Management Lab, and Theory of Computation Lab Rice University, Ken Kennedy Institute for Information Technology University of Edinburgh, Lab. for Foundations of Computer Science Durham University, Department of Computer Science IBM Almaden Research Center, Computer Science Principles and Methodologies 4

7 4.2 Relevant Journals & Conferences Association for Symbolic Logic (Journal, Bulletin, and a Review) Logical Methods in Computer Science (Journal) Logic In Computer Science (LICS) annual symposium Federated Logic Conference (FLoC) Society for Industrial and Applied Mathematics (SIAM) Journal on Computing (SICOMP) 5 Descriptive Complexity: In (some) Detail The talk will proceed as follows 1. A discussion of the Key Notions in DC 2. An introduction to some of the Key Techniques used in DC 3. An overview of Key Results in DC 6 Descriptive Complexity: Some Key Notions 6.1 First-Order Vocabularies & Models A vocabulary σ is simply a set of relations, functions, and constants used in a first-order logic. A simple first-order number theory would have a vocabulary such as σ = (0,, S) A model M of a vocabulary σ is an extension of σ which includes a domain (or universe), and each symbol in σ is given an explicit representation as a set A model of the σ given above for number theory might look like where M = (N; 0 M, M, S M ) (2) 0 M = 0 (3) M = { (0, 0), (0, 1), (0, 2),... (4) (1, 1), (1, 2), (1, 3),... (5). (6) } (7) S M = { (0, 0, 0), (0, 1, 1), (0, 2, 2),... (8) (1, 0, 1), (1, 1, 2), (1, 2, 3),... (9). (10) } (11) A common structure we ll work with are graphs 5

8 For a graph G = (V, E) The vocabulary is simply E, the edge relation V is the domain A graph representing a simple 3-node triangle would be simply G = ({1, 2, 3}; {(1, 2), (2, 3), (3, 1)}) (12) We say a formula φ is true in a given model M (denoted M φ) iff when we go look into M we find that φ is, in fact, true. (There s a standard recursive definition for this, which you ve probably seen, and I m skipping) In the above graph example G = ({1, 2, 3}; {(1, 2), (2, 3), (3, 1)}) (13) The following formula (asserting that every node has a neighbor) is true φ ( x)( y)(e(x, y)) (14) 6.2 Definability We say a property P is definable in a logic L if there exists a formula φ in L such that for any model M, P is true in M if and only if M φ. What does this say? Take the property of graphs being 3-colorable Look at the collection of all finite graphs Separate them into two sets, those which are 3-colorable (set A) and those which are not 3- colorable (set B) A formula φ in logic L defines the property of being 3-colorable iff for every G A, G φ, and for every G B, G φ. Example: Graph 3-colorability is definable in -SO, by the following formula φ (from [4]) ( R)( Y )( B)( x) [(R(x) Y (x) B(x)) ( y) (E(x, v) (R(x) R(y)) (Y (x) Y (y)) (B(x) B(y)))] (15) For any graph G = (V, E), G is 3-colorable iff G φ (requires proof, obviously) 6.3 Undefinability Recall that the complexity hierarchy is cumulative That is, if a problem P has a linear time solution, then it also has polynomial time solution, an NP solution, etc. What we re usually interested in is the lower-bound complexity of P 6

9 In DC this corresponds directly to the increasing expressibility of logics I.e. if a problem P can be stated in FO logic, then it can be stated in FO plus a LFP operator, and it can be stated in SO logic, etc. Thus one of the central notions in DC is figuring out where in the hierarchy a property P goes from being definable to undefinable This is what most of the proof-techniques in DC revolve around This is also where the field of Finite Model Theory plays a heavy role 7 Descriptive Complexity: Some Key Techniques We will now look at two of the key techniques for proving undefinability results Weird Inductions / Pebble Games Ehrenfeucht-Fraïsse (EF) Games (of a limited form)... as well as some of their extensions In general, to prove that a given property P is undefinable in a logic L, you have to show that no formula in L defines that property Recall the framework above to talking about definability, and let s use the example of Graph Connectivity... Look at the set of all finite graphs Divide them into two sets: set A is all the graphs that are connected, and set B is the set of all graphs that are not connected To prove that graph connectivity cannot be solve in logarithmic time, we must show that the property of graph connectivity is not expressible in FO That is, there is no formula φ in FO such that for every graph G, G A iff G φ 7.1 Weird Inductions For the above example (proving that graph connectivity is not FO definable), we can use the following technique Prove by induction, on the number of quantifiers in a FO formula, that no formula can distinguish between every connected and disconnected graph. Outline Base Case: Let φ be any FO formula with no quantifiers. Construct two graphs, one connected and one disconnected, and prove that φ is either true for both of them, or false for both of them (i.e. it can t distinguish). Inductive Step: Suppose no FO formula with n quantifiers can distinguish between all connected and disconnected graphs. Now try to prove that for any FO formula φ with n + 1 quantifiers, you can still construct two graphs (one connected, one not), such that φ cannot distinguish between them. 7

10 7.2 Ehrenfeucht-Fraïsse (EF) Games A Game-Theoretic approach to proving undefinability results Most significant results in DC/FMT are proved using EF games The basic structure: There are two player: the spoiler and the duplicator (often called Sampson and Delilah) The board of the game consists of two structures A and B The goal of the spoiler is to show these two models are different The goal of the duplicator is to show these two models are the same An EF games proceeds for a specified number of rounds (say n), each consisting of the following steps: The spoiler picks a model (A or B) The spoiler picks a single element of that model s domain (so, either some a A or some b B) Then the duplicator moves by picking an element from the other model After the number of rounds is over, we compare the sequence of (a 1,..., a n ) and (b 1,..., b n ) to see who won I know what you re thinking: Why hasn t Toys-R-Us picked this up, right???? We say the duplicator wins if ( a, b) is a partial isomorphism between A and B A partial isomorphism between two models A and B (defined over the same vocabulary σ), is defined as the mapping ( a, b) (where a A and b B), such that 1. a = b = n 2. For every i, j n, a i = a j iff b i = b j 3. For every k-ary relation symbol P in σ and every sequence of (i 1,..., i k ) of numbers from [1, n], NOTE: I m only considering vocabularies without constants (a i1,..., a ik ) P A iff (b i1,..., b ik ) P B (16) What does that mean? It means that the duplicator wins (remember: their goal is to show that the two models are the same) if after n rounds of an EF game, the parts of the two structures that were picked out are isomorphic (a.k.a. indistinguishable!) How does one use EF games? To prove some property P is undefinable in FO logic, you prove by induction on the number of rounds in an EF game, duplicator always has a winning strategy What about for undefinability in other logics, aside from FO? There are simple extensions to the EF game above that account for other logics Additionally, an immense amount of work has been done identifying winning conditions for the duplicator (e.g. Hanf s Condition, see [7] for a nice explanation of this and others) This work makes the task of playing these EF games much easier 8

11 8 Descriptive Complexity: Key Results The Logarithmic-Time Hierarchy = FO The log-time hierarchy is equivalent to the set of queries expressible in FO DSPACE[log n] = FO(DTC) Deterministic log-space is equivalent to the set of queries expressible in FO with a nondeterministic transitive closure operator NSPACE[log n] = FO(TC) Nondeterministic log-space is equivalent to the set of queries expressible in FO with a (deterministic) transitive closure operator P = FO(LFP) Polynomial-time is equivalent to the set of queries expressible in FO with a least fixed point operator NP = -SO Nondeterministic polynomial-time is equivalent to the set of queries expressible in second order existential logic Co-NP = -SO Nondeterministic polynomial-time is equivalent to the set of queries expressible in second order existential logic PH = SO The polynomial time hierarchy is equivalent to the set of queries expressible in second order logic PSPACE = FO(PFP) = SO(TC) Polynomial Space is the set of queries expressible by FO with a partial fixed point operator, which is also equivalent to SO formulas with a transitive closure operator. EXPTIME = SO(LFP) = SO[2 no(1) ] Exponential time is the set of queries expressible in SO extended with the capacity to define new relations by induction. (This is the same as second-order quantifier blocks that may be iterated exponentially) 9

12 References [1] Herbert B. Enderton. A Mathematical Introduction to Logic. Harcourt Academic Press, San Diego, California, second edition, [2] Ronald Fagin. Generalized first-order spectra and polynomial-time recognizable sets. Complexity of Computation, 7:27 41, [3] Erich Grädel, Phokion G. Kolaitis, Leonid Libkin, Maarten Marx, Joel Spencer, Moshe Y. Vardi, Yde Venema, and Scott Weinstein. Finite Model Theory and Its Applications. Texts in Theoretical Computer Science. Springer-Verlag, New York, [4] Neil Immerman. Descriptive complexity: a logician s approach to computation. Notices of the American Mathematical Society, 42(10): , [5] Neil Immerman. Descriptive Complexity. Graduate Texts in Computer Science. Springer-Verlag, New York, [6] Neil Immerman. Progress in descriptive complexity. SIGACT News, 36(4):24 35, [7] Leonid Libkin. Elements of Finite Model Theory. Texts in Theoretical Computer Science. Springer- Verlag, New York, [8] Joseph R. Shoenfield. Mathematical Logic. A K Peters, Ltd., Natick, Massachusetts, [9] B. A. Trakhtenbrot. Impossibility of an algorithm for the decision problem for finite classes. D.A.N., 70: , [10] Jouko Väänänen. A short course on finite model theory. Based on lectures given from 1993 to

13 Figure 1: Immerman s Descriptive World 11

Finite Model Theory: First-Order Logic on the Class of Finite Models

Finite Model Theory: First-Order Logic on the Class of Finite Models 1 Finite Model Theory: First-Order Logic on the Class of Finite Models Anuj Dawar University of Cambridge Modnet Tutorial, La Roche, 21 April 2008 2 Finite Model Theory In the 1980s, the term finite model

More information

Overview of Topics. Finite Model Theory. Finite Model Theory. Connections to Database Theory. Qing Wang

Overview of Topics. Finite Model Theory. Finite Model Theory. Connections to Database Theory. Qing Wang Overview of Topics Finite Model Theory Part 1: Introduction 1 What is finite model theory? 2 Connections to some areas in CS Qing Wang qing.wang@anu.edu.au Database theory Complexity theory 3 Basic definitions

More information

Infinite and Finite Model Theory Part II

Infinite and Finite Model Theory Part II Infinite and Finite Model Theory Part II Anuj Dawar Computer Laboratory University of Cambridge Lent 2002 3/2002 0 Finite Model Theory Finite Model Theory motivated by computational issues; relationship

More information

Descriptive Complexity

Descriptive Complexity Descriptive Complexity and Nested Words 1/46 Descriptive Complexity and Nested Words Neil Immerman www.cs.umass.edu/ immerman I decided to start with a survey of Descriptive Complexity, and end with a

More information

About the relationship between formal logic and complexity classes

About the relationship between formal logic and complexity classes About the relationship between formal logic and complexity classes Working paper Comments welcome; my email: armandobcm@yahoo.com Armando B. Matos October 20, 2013 1 Introduction We analyze a particular

More information

Finite Model Theory Tutorial. Lecture 1

Finite Model Theory Tutorial. Lecture 1 1 Finite Model Theory Tutorial Lecture 1 Anuj Dawar University of Cambridge Modnet Summer School, Manchester, 14-18 July 2008 2 Finite Model Theory In the 1980s, the term finite model theory came to be

More information

Algorithmic Model Theory SS 2016

Algorithmic Model Theory SS 2016 Algorithmic Model Theory SS 2016 Prof. Dr. Erich Grädel and Dr. Wied Pakusa Mathematische Grundlagen der Informatik RWTH Aachen cbnd This work is licensed under: http://creativecommons.org/licenses/by-nc-nd/3.0/de/

More information

Definition: Alternating time and space Game Semantics: State of machine determines who

Definition: Alternating time and space Game Semantics: State of machine determines who CMPSCI 601: Recall From Last Time Lecture Definition: Alternating time and space Game Semantics: State of machine determines who controls, White wants it to accept, Black wants it to reject. White wins

More information

Connectivity. Topics in Logic and Complexity Handout 7. Proof. Proof. Consider the signature (E, <).

Connectivity. Topics in Logic and Complexity Handout 7. Proof. Proof. Consider the signature (E, <). 1 2 Topics in Logic and Complexity Handout 7 Anuj Dawar MPhil Advanced Computer Science, Lent 2010 Consider the signature (E,

More information

Space and Nondeterminism

Space and Nondeterminism CS 221 Computational Complexity, Lecture 5 Feb 6, 2018 Space and Nondeterminism Instructor: Madhu Sudan 1 Scribe: Yong Wook Kwon Topic Overview Today we ll talk about space and non-determinism. For some

More information

Lecture 9: PSPACE. PSPACE = DSPACE[n O(1) ] = NSPACE[n O(1) ] = ATIME[n O(1) ]

Lecture 9: PSPACE. PSPACE = DSPACE[n O(1) ] = NSPACE[n O(1) ] = ATIME[n O(1) ] Lecture 9: PSPACE PSPACE = DSPACE[n O(1) ] = NSPACE[n O(1) ] = ATIME[n O(1) ] PSPACE consists of what we could compute with a feasible amount of hardware, but with no time limit. PSPACE is a large and

More information

Database Theory VU , SS Ehrenfeucht-Fraïssé Games. Reinhard Pichler

Database Theory VU , SS Ehrenfeucht-Fraïssé Games. Reinhard Pichler Database Theory Database Theory VU 181.140, SS 2018 7. Ehrenfeucht-Fraïssé Games Reinhard Pichler Institut für Informationssysteme Arbeitsbereich DBAI Technische Universität Wien 15 May, 2018 Pichler 15

More information

Expressiveness of predicate logic: Some motivation

Expressiveness of predicate logic: Some motivation Expressiveness of predicate logic: Some motivation In computer science the analysis of the expressiveness of predicate logic (a.k.a. first-order logic) is of particular importance, for instance In database

More information

Finite Model Theory and CSPs

Finite Model Theory and CSPs Finite Model Theory and CSPs Albert Atserias Universitat Politècnica de Catalunya Barcelona, Spain June 19, 2007 Part I FIRST-ORDER LOGIC, TYPES AND GAMES Relational Structures vs. Functional Structures

More information

First order logic on Galton-Watson trees

First order logic on Galton-Watson trees First order logic on Galton-Watson trees Moumanti Podder Georgia Institute of Technology Joint work with Joel Spencer January 9, 2018 Mathematics Seminar, Indian Institute of Science, Bangalore 1 / 20

More information

Finite Model Theory: A Personal Perspective

Finite Model Theory: A Personal Perspective Finite Model Theory: A Personal Perspective Moshe Y. Vardi Rice University We can see further, by standing on the shoulders of giants Bernard of Chartres (12C.) Dr. Ronald Fagin From Ron s CV: Ph.D. in

More information

THE COMPLEXITY OF RANDOM ORDERED STRUCTURES

THE COMPLEXITY OF RANDOM ORDERED STRUCTURES THE COMPLEXITY OF RANDOM ORDERED STRUCTURES JOEL H. SPENCER AND KATHERINE ST. JOHN Abstract. We show that for random bit strings, U p (n), with probability, p = 1 2, the first-order quantifier depth D(U

More information

Advanced topic: Space complexity

Advanced topic: Space complexity Advanced topic: Space complexity CSCI 3130 Formal Languages and Automata Theory Siu On CHAN Chinese University of Hong Kong Fall 2016 1/28 Review: time complexity We have looked at how long it takes to

More information

Preliminaries. Introduction to EF-games. Inexpressivity results for first-order logic. Normal forms for first-order logic

Preliminaries. Introduction to EF-games. Inexpressivity results for first-order logic. Normal forms for first-order logic Introduction to EF-games Inexpressivity results for first-order logic Normal forms for first-order logic Algorithms and complexity for specific classes of structures General complexity bounds Preliminaries

More information

On the Expressive Power of Logics on Finite Models

On the Expressive Power of Logics on Finite Models On the Expressive Power of Logics on Finite Models Phokion G. Kolaitis Computer Science Department University of California, Santa Cruz Santa Cruz, CA 95064, USA kolaitis@cs.ucsc.edu August 1, 2003 Partially

More information

Lecture 20: PSPACE. November 15, 2016 CS 1010 Theory of Computation

Lecture 20: PSPACE. November 15, 2016 CS 1010 Theory of Computation Lecture 20: PSPACE November 15, 2016 CS 1010 Theory of Computation Recall that PSPACE = k=1 SPACE(nk ). We will see that a relationship between time and space complexity is given by: P NP PSPACE = NPSPACE

More information

INAPPROX APPROX PTAS. FPTAS Knapsack P

INAPPROX APPROX PTAS. FPTAS Knapsack P CMPSCI 61: Recall From Last Time Lecture 22 Clique TSP INAPPROX exists P approx alg for no ε < 1 VertexCover MAX SAT APPROX TSP some but not all ε< 1 PTAS all ε < 1 ETSP FPTAS Knapsack P poly in n, 1/ε

More information

Finite and Algorithmic Model Theory II: Automata-Based Methods

Finite and Algorithmic Model Theory II: Automata-Based Methods Finite and Algorithmic Model Theory II: Automata-Based Methods Anuj Dawar University of Cambridge Computer Laboratory Simons Institute, 30 August 2016 Review We aim to develop tools for studying the expressive

More information

Definition: Alternating time and space Game Semantics: State of machine determines who

Definition: Alternating time and space Game Semantics: State of machine determines who CMPSCI 601: Recall From Last Time Lecture 3 Definition: Alternating time and space Game Semantics: State of machine determines who controls, White wants it to accept, Black wants it to reject. White wins

More information

Generalized Quantifiers

Generalized Quantifiers Generalized Quantifiers Jouko Väänänen Department of Mathematics University of Helsinki Helsinki, Finland Abstract We review recent work in the field of generalized quantifiers on finite models. We give

More information

Computational complexity measures how much time and/or memory space is needed as a function of the input size. Let TIME[t(n)] be the set of problems t

Computational complexity measures how much time and/or memory space is needed as a function of the input size. Let TIME[t(n)] be the set of problems t Descriptive Complexity: a Logician's Approach to Computation Neil Immerman Computer Science Dept. University of Massachusetts Amherst, MA 01003 immerman@cs.umass.edu Appeared in Notices of the American

More information

Friendly Logics, Fall 2015, Lecture Notes 5

Friendly Logics, Fall 2015, Lecture Notes 5 Friendly Logics, Fall 2015, Lecture Notes 5 Val Tannen 1 FO definability In these lecture notes we restrict attention to relational vocabularies i.e., vocabularies consisting only of relation symbols (or

More information

Model Theory on Finite Structures

Model Theory on Finite Structures Model Theory on Finite Structures Anuj Dawar Department of Computer Science University of Wales Swansea Swansea, SA2 8PP, U.K. e-mail: a.dawar@swansea.ac.uk 1 Introduction In mathematical logic, the notions

More information

Elementary Equivalence, Partial Isomorphisms, and. Scott-Karp analysis

Elementary Equivalence, Partial Isomorphisms, and. Scott-Karp analysis Elementary Equivalence, Partial Isomorphisms, and Scott-Karp analysis 1 These are self-study notes I prepared when I was trying to understand the subject. 1 Elementary equivalence and Finite back and forth

More information

Random Graphs. and. The Parity Quantifier

Random Graphs. and. The Parity Quantifier Random Graphs and The Parity Quantifier Phokion G. Kolaitis Swastik Kopparty UC Santa Cruz MIT & & IBM Research-Almaden Institute for Advanced Study What is finite model theory? It is the study of logics

More information

1 PSPACE-Completeness

1 PSPACE-Completeness CS 6743 Lecture 14 1 Fall 2007 1 PSPACE-Completeness Recall the NP-complete problem SAT: Is a given Boolean formula φ(x 1,..., x n ) satisfiable? The same question can be stated equivalently as: Is the

More information

Reflections on Finite Model Theory

Reflections on Finite Model Theory Reflections on Finite Model Theory Phokion G. Kolaitis IBM Almaden Research Center San Jose, CA 95120, USA kolaitis@almaden.ibm.com Abstract Advances in finite model theory have appeared in LICS proceedings

More information

January 25, by Albert Atserias Universitat Politècnica de Catalunya Barcelona, Spain

January 25, by Albert Atserias Universitat Politècnica de Catalunya Barcelona, Spain 1 Introduction Book Review Finite Model Theory and Its Applications, by Grädel, Kolaitis, Libkin, Marx, Spencer, Vardi, Venema, and Weinstein, published by Springer-Verlag 2007. January 25, 2008 by Albert

More information

POLYNOMIAL SPACE QSAT. Games. Polynomial space cont d

POLYNOMIAL SPACE QSAT. Games. Polynomial space cont d T-79.5103 / Autumn 2008 Polynomial Space 1 T-79.5103 / Autumn 2008 Polynomial Space 3 POLYNOMIAL SPACE Polynomial space cont d Polynomial space-bounded computation has a variety of alternative characterizations

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

Outline. Complexity Theory. Example. Sketch of a log-space TM for palindromes. Log-space computations. Example VU , SS 2018

Outline. Complexity Theory. Example. Sketch of a log-space TM for palindromes. Log-space computations. Example VU , SS 2018 Complexity Theory Complexity Theory Outline Complexity Theory VU 181.142, SS 2018 3. Logarithmic Space Reinhard Pichler Institute of Logic and Computation DBAI Group TU Wien 3. Logarithmic Space 3.1 Computational

More information

Notes on Complexity Theory Last updated: October, Lecture 6

Notes on Complexity Theory Last updated: October, Lecture 6 Notes on Complexity Theory Last updated: October, 2015 Lecture 6 Notes by Jonathan Katz, lightly edited by Dov Gordon 1 PSPACE and PSPACE-Completeness As in our previous study of N P, it is useful to identify

More information

1 First-order logic. 1 Syntax of first-order logic. 2 Semantics of first-order logic. 3 First-order logic queries. 2 First-order query evaluation

1 First-order logic. 1 Syntax of first-order logic. 2 Semantics of first-order logic. 3 First-order logic queries. 2 First-order query evaluation Knowledge Bases and Databases Part 1: First-Order Queries Diego Calvanese Faculty of Computer Science Master of Science in Computer Science A.Y. 2007/2008 Overview of Part 1: First-order queries 1 First-order

More information

Games and Isomorphism in Finite Model Theory. Part 1

Games and Isomorphism in Finite Model Theory. Part 1 1 Games and Isomorphism in Finite Model Theory Part 1 Anuj Dawar University of Cambridge Games Winter School, Champéry, 6 February 2013 2 Model Comparison Games Games in Finite Model Theory are generally

More information

Abstract State Machines: Verification Problems and Complexity

Abstract State Machines: Verification Problems and Complexity Abstract State Machines: Verification Problems and Complexity Dissertation Marc Spielmann Rheinisch-Westfälische Technische Hochschule Aachen June 2000 Abstract Abstract state machines (ASMs) provide

More information

RANK HIERARCHIES FOR GENERALIZED QUANTIFIERS

RANK HIERARCHIES FOR GENERALIZED QUANTIFIERS RANK HIERARCHIES FOR GENERALIZED QUANTIFIERS H. JEROME KEISLER AND WAFIK BOULOS LOTFALLAH Abstract. We show that for each n and m, there is an existential first order sentence which is NOT logically equivalent

More information

CSE200: Computability and complexity Space Complexity

CSE200: Computability and complexity Space Complexity CSE200: Computability and complexity Space Complexity Shachar Lovett January 29, 2018 1 Space complexity We would like to discuss languages that may be determined in sub-linear space. Lets first recall

More information

Computability and Complexity CISC462, Fall 2018, Space complexity 1

Computability and Complexity CISC462, Fall 2018, Space complexity 1 Computability and Complexity CISC462, Fall 2018, Space complexity 1 SPACE COMPLEXITY This material is covered in Chapter 8 of the textbook. For simplicity, we define the space used by a Turing machine

More information

FINITE MODELS AND FINITELY MANY VARIABLES

FINITE MODELS AND FINITELY MANY VARIABLES LOGIC, ALGEBRA, AND COMPUTER SCIENCE BANACH CENTER PUBLICATIONS, VOLUME 46 INSTITUTE OF MATHEMATICS POLISH ACADEMY OF SCIENCES WARSZAWA 1999 FINITE MODELS AND FINITELY MANY VARIABLES ANUJ DAWAR Department

More information

Finite Model Theory and Descriptive Complexity

Finite Model Theory and Descriptive Complexity 3 Finite Model Theory and Descriptive Complexity Erich Grädel This chapter deals with the relationship between logical definability and computational complexity on finite structures. Particular emphasis

More information

A Local Normal Form Theorem for Infinitary Logic with Unary Quantifiers

A Local Normal Form Theorem for Infinitary Logic with Unary Quantifiers mlq header will be provided by the publisher Local Normal Form Theorem for Infinitary Logic with Unary Quantifiers H. Jerome Keisler 1 and Wafik Boulos Lotfallah 2 1 Department of Mathematics University

More information

Ehrenfeucht-Fraïssé Games

Ehrenfeucht-Fraïssé Games Chapter 6 Ehrenfeucht-Fraïssé Games We introduce combinatorial games that are useful for determining what can be expressed in various logics. Ehrenfeucht-Fraïssé games offer a semantics for firstorder

More information

MTAT Complexity Theory October 13th-14th, Lecture 6

MTAT Complexity Theory October 13th-14th, Lecture 6 MTAT.07.004 Complexity Theory October 13th-14th, 2011 Lecturer: Peeter Laud Lecture 6 Scribe(s): Riivo Talviste 1 Logarithmic memory Turing machines working in logarithmic space become interesting when

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

Polynomial Time Computation. Topics in Logic and Complexity Handout 2. Nondeterministic Polynomial Time. Succinct Certificates.

Polynomial Time Computation. Topics in Logic and Complexity Handout 2. Nondeterministic Polynomial Time. Succinct Certificates. 1 2 Topics in Logic and Complexity Handout 2 Anuj Dawar MPhil Advanced Computer Science, Lent 2010 Polynomial Time Computation P = TIME(n k ) k=1 The class of languages decidable in polynomial time. The

More information

Connectivity. Corollary. GRAPH CONNECTIVITY is not FO definable

Connectivity. Corollary. GRAPH CONNECTIVITY is not FO definable Connectivity Corollary. GRAPH CONNECTIVITY is not FO definable Connectivity Corollary. GRAPH CONNECTIVITY is not FO definable If A is a linear order of size n, let G(A) be the graph with edges { i, i+2

More information

Modal Dependence Logic

Modal Dependence Logic Modal Dependence Logic Jouko Väänänen Institute for Logic, Language and Computation Universiteit van Amsterdam Plantage Muidergracht 24 1018 TV Amsterdam, The Netherlands J.A.Vaananen@uva.nl Abstract We

More information

U.C. Berkeley CS278: Computational Complexity Professor Luca Trevisan August 30, Notes for Lecture 1

U.C. Berkeley CS278: Computational Complexity Professor Luca Trevisan August 30, Notes for Lecture 1 U.C. Berkeley CS278: Computational Complexity Handout N1 Professor Luca Trevisan August 30, 2004 Notes for Lecture 1 This course assumes CS170, or equivalent, as a prerequisite. We will assume that the

More information

CSC 5170: Theory of Computational Complexity Lecture 9 The Chinese University of Hong Kong 15 March 2010

CSC 5170: Theory of Computational Complexity Lecture 9 The Chinese University of Hong Kong 15 March 2010 CSC 5170: Theory of Computational Complexity Lecture 9 The Chinese University of Hong Kong 15 March 2010 We now embark on a study of computational classes that are more general than NP. As these classes

More information

Finite Model Theory and Graph Isomorphism. II.

Finite Model Theory and Graph Isomorphism. II. Finite Model Theory and Graph Isomorphism. II. Anuj Dawar University of Cambridge Computer Laboratory visiting RWTH Aachen Beroun, 13 December 2013 Recapitulation Finite Model Theory aims to study the

More information

Descriptive Complexity and Some Unusual Quantifiers

Descriptive Complexity and Some Unusual Quantifiers MASSACHUSETTS INSTITUTE OF TECHNOLOGY 18.405J / 6.841J, ADVANCED COMPLEXITY THEORY Descriptive Complexity and Some Unusual Quantifiers Chelsea Voss May 6, 2016 Abstract. It is possible to define and operators

More information

CS 6783 (Applied Algorithms) Lecture 3

CS 6783 (Applied Algorithms) Lecture 3 CS 6783 (Applied Algorithms) Lecture 3 Antonina Kolokolova January 14, 2013 1 Representative problems: brief overview of the course In this lecture we will look at several problems which, although look

More information

Composing Schema Mappings: Second-Order Dependencies to the Rescue

Composing Schema Mappings: Second-Order Dependencies to the Rescue Composing Schema Mappings: Second-Order Dependencies to the Rescue RONALD FAGIN IBM Almaden Research Center PHOKION G. KOLAITIS IBM Almaden Research Center LUCIAN POPA IBM Almaden Research Center WANG-CHIEW

More information

Space Complexity. Huan Long. Shanghai Jiao Tong University

Space Complexity. Huan Long. Shanghai Jiao Tong University Space Complexity Huan Long Shanghai Jiao Tong University Acknowledgements Part of the slides comes from a similar course in Fudan University given by Prof. Yijia Chen. http://basics.sjtu.edu.cn/ chen/

More information

P versus NP: Approaches, Rebuttals, and Does It Matter?

P versus NP: Approaches, Rebuttals, and Does It Matter? versus N: Approaches, Rebuttals, and Does It Matter? www.cs.umass.edu/ immerman Spike of attention to vs. N problem, Aug. 2010 Deolalikar claimed that he had tamed the wildness of algorithms and shown

More information

9. PSPACE 9. PSPACE. PSPACE complexity class quantified satisfiability planning problem PSPACE-complete

9. PSPACE 9. PSPACE. PSPACE complexity class quantified satisfiability planning problem PSPACE-complete Geography game Geography. Alice names capital city c of country she is in. Bob names a capital city c' that starts with the letter on which c ends. Alice and Bob repeat this game until one player is unable

More information

Finite variable logics

Finite variable logics Finite variable logics Ian Hodkinson Department of Computing Imperial College 180 Queen s Gate, London SW7 2BZ, England. Email: imh@doc.ic.ac.uk Abstract In this survey article we discuss some aspects

More information

9. PSPACE. PSPACE complexity class quantified satisfiability planning problem PSPACE-complete

9. PSPACE. PSPACE complexity class quantified satisfiability planning problem PSPACE-complete 9. PSPACE PSPACE complexity class quantified satisfiability planning problem PSPACE-complete Lecture slides by Kevin Wayne Copyright 2005 Pearson-Addison Wesley Copyright 2013 Kevin Wayne http://www.cs.princeton.edu/~wayne/kleinberg-tardos

More information

COMPLEXITY THEORY. PSPACE = SPACE(n k ) k N. NPSPACE = NSPACE(n k ) 10/30/2012. Space Complexity: Savitch's Theorem and PSPACE- Completeness

COMPLEXITY THEORY. PSPACE = SPACE(n k ) k N. NPSPACE = NSPACE(n k ) 10/30/2012. Space Complexity: Savitch's Theorem and PSPACE- Completeness 15-455 COMPLEXITY THEORY Space Complexity: Savitch's Theorem and PSPACE- Completeness October 30,2012 MEASURING SPACE COMPLEXITY FINITE STATE CONTROL I N P U T 1 2 3 4 5 6 7 8 9 10 We measure space complexity

More information

Wied Pakusa. Finite Model Theory with Operators from Linear Algebra

Wied Pakusa. Finite Model Theory with Operators from Linear Algebra Wied Pakusa Finite Model Theory with Operators from Linear Algebra Contents Introduction 1 1. Preliminaries 7 1.1. Structures and Logics............................. 7 1.2. Descriptive Complexity Theory........................

More information

Team Semantics and Recursive Enumerability

Team Semantics and Recursive Enumerability Team Semantics and Recursive Enumerability Antti Kuusisto University of Wroc law, Poland, Technical University of Denmark Stockholm University, Sweden antti.j.kuusisto@uta.fi Abstract. It is well known

More information

6.841/18.405J: Advanced Complexity Wednesday, February 12, Lecture Lecture 3

6.841/18.405J: Advanced Complexity Wednesday, February 12, Lecture Lecture 3 6.841/18.405J: Advanced Complexity Wednesday, February 12, 2003 Lecture Lecture 3 Instructor: Madhu Sudan Scribe: Bobby Kleinberg 1 The language MinDNF At the end of the last lecture, we introduced the

More information

Computational Complexity

Computational Complexity p. 1/24 Computational Complexity The most sharp distinction in the theory of computation is between computable and noncomputable functions; that is, between possible and impossible. From the example of

More information

Lecture 8: Complete Problems for Other Complexity Classes

Lecture 8: Complete Problems for Other Complexity Classes IAS/PCMI Summer Session 2000 Clay Mathematics Undergraduate Program Basic Course on Computational Complexity Lecture 8: Complete Problems for Other Complexity Classes David Mix Barrington and Alexis Maciel

More information

Lecture 19: Interactive Proofs and the PCP Theorem

Lecture 19: Interactive Proofs and the PCP Theorem Lecture 19: Interactive Proofs and the PCP Theorem Valentine Kabanets November 29, 2016 1 Interactive Proofs In this model, we have an all-powerful Prover (with unlimited computational prover) and a polytime

More information

1 Primals and Duals: Zero Sum Games

1 Primals and Duals: Zero Sum Games CS 124 Section #11 Zero Sum Games; NP Completeness 4/15/17 1 Primals and Duals: Zero Sum Games We can represent various situations of conflict in life in terms of matrix games. For example, the game shown

More information

FINITE MODEL THEORY (MATH 285D, UCLA, WINTER 2017) LECTURE NOTES IN PROGRESS

FINITE MODEL THEORY (MATH 285D, UCLA, WINTER 2017) LECTURE NOTES IN PROGRESS FINITE MODEL THEORY (MATH 285D, UCLA, WINTER 2017) LECTURE NOTES IN PROGRESS ARTEM CHERNIKOV 1. Intro Motivated by connections with computational complexity (mostly a part of computer scientice today).

More information

Computer Science and Logic A Match Made in Heaven

Computer Science and Logic A Match Made in Heaven A Match Made in Heaven Luca Aceto Reykjavik University Reykjavik, 3 April 2009 Thanks to Moshe Vardi from whom I have drawn inspiration (read stolen ideas ) for this presentation. Why This Talk Today?

More information

Chapter 9. PSPACE: A Class of Problems Beyond NP. Slides by Kevin Wayne Pearson-Addison Wesley. All rights reserved.

Chapter 9. PSPACE: A Class of Problems Beyond NP. Slides by Kevin Wayne Pearson-Addison Wesley. All rights reserved. Chapter 9 PSPACE: A Class of Problems Beyond NP Slides by Kevin Wayne. Copyright @ 2005 Pearson-Addison Wesley. All rights reserved. 1 Geography Game Geography. Alice names capital city c of country she

More information

THE EXPRESSIVE POWER OF THE TEMPORAL QUERY LANGUAGE L H

THE EXPRESSIVE POWER OF THE TEMPORAL QUERY LANGUAGE L H U.P.B. Sci. Bull., Series, Vol. 77, Iss. 3, 2015 ISSN 1223-7027 THE EXPRESSIVE POWER OF THE TEMPORL QUERY LNGUGE L H Matei Popovici 1,2, Lorina Negreanu 3 The paper investigates the expressive power of

More information

Space Complexity. Master Informatique. Université Paris 5 René Descartes. Master Info. Complexity Space 1/26

Space Complexity. Master Informatique. Université Paris 5 René Descartes. Master Info. Complexity Space 1/26 Space Complexity Master Informatique Université Paris 5 René Descartes 2016 Master Info. Complexity Space 1/26 Outline Basics on Space Complexity Main Space Complexity Classes Deterministic and Non-Deterministic

More information

Large Numbers, Busy Beavers, Noncomputability and Incompleteness

Large Numbers, Busy Beavers, Noncomputability and Incompleteness Large Numbers, Busy Beavers, Noncomputability and Incompleteness Food For Thought November 1, 2007 Sam Buss Department of Mathematics U.C. San Diego PART I Large Numbers, Busy Beavers, and Undecidability

More information

Introduction to Computational Complexity

Introduction to Computational Complexity Introduction to Computational Complexity George Voutsadakis 1 1 Mathematics and Computer Science Lake Superior State University LSSU Math 400 George Voutsadakis (LSSU) Computational Complexity September

More information

Lecture 12: Randomness Continued

Lecture 12: Randomness Continued CS 710: Complexity Theory 2/25/2010 Lecture 12: Randomness Continued Instructor: Dieter van Melkebeek Scribe: Beth Skubak & Nathan Collins In the last lecture we introduced randomized computation in terms

More information

CSCI3390-Lecture 14: The class NP

CSCI3390-Lecture 14: The class NP CSCI3390-Lecture 14: The class NP 1 Problems and Witnesses All of the decision problems described below have the form: Is there a solution to X? where X is the given problem instance. If the instance is

More information

Regular Languages and Finite Automata

Regular Languages and Finite Automata Regular Languages and Finite Automata Theorem: Every regular language is accepted by some finite automaton. Proof: We proceed by induction on the (length of/structure of) the description of the regular

More information

Lecture 22: PSPACE

Lecture 22: PSPACE 6.045 Lecture 22: PSPACE 1 VOTE VOTE VOTE For your favorite course on automata and complexity Please complete the online subject evaluation for 6.045 2 Final Exam Information Who: You On What: Everything

More information

Circuits. Lecture 11 Uniform Circuit Complexity

Circuits. Lecture 11 Uniform Circuit Complexity Circuits Lecture 11 Uniform Circuit Complexity 1 Recall 2 Recall Non-uniform complexity 2 Recall Non-uniform complexity P/1 Decidable 2 Recall Non-uniform complexity P/1 Decidable NP P/log NP = P 2 Recall

More information

Algorithmic Model Theory SS 2016

Algorithmic Model Theory SS 2016 Algorithmic Model Theory SS 2016 Prof. Dr. Erich Grädel and Dr. Wied Pakusa Mathematische Grundlagen der Informatik RWTH Aachen cbnd This work is licensed under: http://creativecommons.org/licenses/by-nc-nd/3.0/de/

More information

Lecture 2: Connecting the Three Models

Lecture 2: Connecting the Three Models IAS/PCMI Summer Session 2000 Clay Mathematics Undergraduate Program Advanced Course on Computational Complexity Lecture 2: Connecting the Three Models David Mix Barrington and Alexis Maciel July 18, 2000

More information

Lecture 4: Constructing the Integers, Rationals and Reals

Lecture 4: Constructing the Integers, Rationals and Reals Math/CS 20: Intro. to Math Professor: Padraic Bartlett Lecture 4: Constructing the Integers, Rationals and Reals Week 5 UCSB 204 The Integers Normally, using the natural numbers, you can easily define

More information

At the start of the term, we saw the following formula for computing the sum of the first n integers:

At the start of the term, we saw the following formula for computing the sum of the first n integers: Chapter 11 Induction This chapter covers mathematical induction. 11.1 Introduction to induction At the start of the term, we saw the following formula for computing the sum of the first n integers: Claim

More information

Elementary Equivalence in Finite Structures

Elementary Equivalence in Finite Structures Elementary Equivalence in Finite Structures Anuj Dawar University of Cambridge Computer Laboratory YuriFest, Berlin, 11 September 2015 When I First Met Yuri When I was a graduate student, I sent Yuri a

More information

On the Computational Hardness of Graph Coloring

On the Computational Hardness of Graph Coloring On the Computational Hardness of Graph Coloring Steven Rutherford June 3, 2011 Contents 1 Introduction 2 2 Turing Machine 2 3 Complexity Classes 3 4 Polynomial Time (P) 4 4.1 COLORED-GRAPH...........................

More information

Complexity Theory. Knowledge Representation and Reasoning. November 2, 2005

Complexity Theory. Knowledge Representation and Reasoning. November 2, 2005 Complexity Theory Knowledge Representation and Reasoning November 2, 2005 (Knowledge Representation and Reasoning) Complexity Theory November 2, 2005 1 / 22 Outline Motivation Reminder: Basic Notions Algorithms

More information

PPL: A Logic for PTIME Queries on Programs

PPL: A Logic for PTIME Queries on Programs PPL: A Logic for PTIME Queries on Programs Anders Miltner amiltner@seas.upenn.edu Scott Weinstein weinstein@cis.upenn.edu Val Tannen val@cis.upenn.edu ABSTRACT There is a vast number of PTIME queries on

More information

Computability Theory

Computability Theory CS:4330 Theory of Computation Spring 2018 Computability Theory The class NP Haniel Barbosa Readings for this lecture Chapter 7 of [Sipser 1996], 3rd edition. Section 7.3. Question Why are we unsuccessful

More information

NP-Completeness. Until now we have been designing algorithms for specific problems

NP-Completeness. Until now we have been designing algorithms for specific problems NP-Completeness 1 Introduction Until now we have been designing algorithms for specific problems We have seen running times O(log n), O(n), O(n log n), O(n 2 ), O(n 3 )... We have also discussed lower

More information

Lecture 14 - P v.s. NP 1

Lecture 14 - P v.s. NP 1 CME 305: Discrete Mathematics and Algorithms Instructor: Professor Aaron Sidford (sidford@stanford.edu) February 27, 2018 Lecture 14 - P v.s. NP 1 In this lecture we start Unit 3 on NP-hardness and approximation

More information

2 P vs. NP and Diagonalization

2 P vs. NP and Diagonalization 2 P vs NP and Diagonalization CS 6810 Theory of Computing, Fall 2012 Instructor: David Steurer (sc2392) Date: 08/28/2012 In this lecture, we cover the following topics: 1 3SAT is NP hard; 2 Time hierarchies;

More information

CS601 DTIME and DSPACE Lecture 5. Time and Space functions: t,s : N N +

CS601 DTIME and DSPACE Lecture 5. Time and Space functions: t,s : N N + CS61 DTIME and DSPACE Lecture 5 Time and Space functions: t,s : N N + Definition 5.1 A set A U is in DTIME[t(n)] iff there exists a deterministic, multi-tape TM, M, and a constantc, such that, 1. A = L(M)

More information

An n! Lower Bound On Formula Size

An n! Lower Bound On Formula Size An n! Lower Bound On Formula Size Micah Adler Computer Science Dept. UMass, Amherst, USA http://www.cs.umass.edu/ micah Neil Immerman Computer Science Dept. UMass, Amherst, USA http://www.cs.umass.edu/

More information

1 Introduction The computational complexity of a problem is the amount of resources, such as time or space, required by a machine that solves the prob

1 Introduction The computational complexity of a problem is the amount of resources, such as time or space, required by a machine that solves the prob Easier Ways to Win Logical Games Ronald Fagin IBM Almaden Research Center 650 Harry Road San Jose, California 95120-6099 email: fagin@almaden.ibm.com URL: http://www.almaden.ibm.com/cs/people/fagin/ Abstract

More information

Lecture 3. 1 Terminology. 2 Non-Deterministic Space Complexity. Notes on Complexity Theory: Fall 2005 Last updated: September, 2005.

Lecture 3. 1 Terminology. 2 Non-Deterministic Space Complexity. Notes on Complexity Theory: Fall 2005 Last updated: September, 2005. Notes on Complexity Theory: Fall 2005 Last updated: September, 2005 Jonathan Katz Lecture 3 1 Terminology For any complexity class C, we define the class coc as follows: coc def = { L L C }. One class

More information

Friday Four Square! Today at 4:15PM, Outside Gates

Friday Four Square! Today at 4:15PM, Outside Gates P and NP Friday Four Square! Today at 4:15PM, Outside Gates Recap from Last Time Regular Languages DCFLs CFLs Efficiently Decidable Languages R Undecidable Languages Time Complexity A step of a Turing

More information