Steven Lindell Scott Weinstein

Slides:



Advertisements
Similar presentations
Chapter 2 Revision of Mathematical Notations and Techniques
Advertisements

Lecture 15. Graph Algorithms
Great Theoretical Ideas in Computer Science for Some.
CSE 311 Foundations of Computing I
Lecture 5 Graph Theory. Graphs Graphs are the most useful model with computer science such as logical design, formal languages, communication network,
Polynomial dynamical systems over finite fields, with applications to modeling and simulation of biological networks. IMA Workshop on Applications of.
1 Nondeterministic Space is Closed Under Complement Presented by Jing Zhang and Yingbo Wang Theory of Computation II Professor: Geoffrey Smith.
Hybrid Systems Presented by: Arnab De Anand S. An Intuitive Introduction to Hybrid Systems Discrete program with an analog environment. What does it mean?
Entropy Rates of a Stochastic Process
Introduction to Computability Theory
1 Polynomial Church-Turing thesis A decision problem can be solved in polynomial time by using a reasonable sequential model of computation if and only.
CS 454 Theory of Computation Sonoma State University, Fall 2011 Instructor: B. (Ravi) Ravikumar Office: 116 I Darwin Hall Original slides by Vahid and.
Computability and Complexity 32-1 Computability and Complexity Andrei Bulatov Boolean Circuits.
CS 454 Theory of Computation Sonoma State University, Fall 2011 Instructor: B. (Ravi) Ravikumar Office: 116 I Darwin Hall Original slides by Vahid and.
Theoretical Computer Science COMP 335 Fall 2004
Theory of Computing Lecture 19 MAS 714 Hartmut Klauck.
1 CSCI 2400 section 3 Models of Computation Instructor: Costas Busch.
GRAPH Learning Outcomes Students should be able to:
1 The Theory of NP-Completeness 2012/11/6 P: the class of problems which can be solved by a deterministic polynomial algorithm. NP : the class of decision.
Complexity 2-1 Problems and Languages Complexity Andrei Bulatov.
Chapter 9. Chapter Summary Relations and Their Properties Representing Relations Equivalence Relations Partial Orderings.
Theory of Computing Lecture 17 MAS 714 Hartmut Klauck.
Mathematical Preliminaries. Sets Functions Relations Graphs Proof Techniques.
Theory of Computing Lecture 21 MAS 714 Hartmut Klauck.
1 Closures of Relations: Transitive Closure and Partitions Sections 8.4 and 8.5.
Mathematical Preliminaries
Graph Theory and Applications
CSCI 115 Chapter 8 Topics in Graph Theory. CSCI 115 §8.1 Graphs.
1 Linear Bounded Automata LBAs. 2 Linear Bounded Automata (LBAs) are the same as Turing Machines with one difference: The input string tape space is the.
Chapter Relations and Their Properties
Strings Basic data type in computational biology A string is an ordered succession of characters or symbols from a finite set called an alphabet Sequence.
GRAPHS. Graph Graph terminology: vertex, edge, adjacent, incident, degree, cycle, path, connected component, spanning tree Types of graphs: undirected,
Graphs Basic properties.
Donghyun (David) Kim Department of Mathematics and Physics North Carolina Central University 1 Chapter 0 Introduction Some slides are in courtesy of Prof.
Great Theoretical Ideas in Computer Science for Some.
1 Finite Model Theory Lecture 5 Turing Machines and Finite Models.
COMPSCI 102 Introduction to Discrete Mathematics.
Lecture 9: Query Complexity Tuesday, January 30, 2001.
Discrete Structures Li Tak Sing( 李德成 ) Lectures
Introduction to Algorithms
Elementary Graph Algorithms
Computability and Complexity
Pushdown Automata.
Mathematical Structures for Computer Science Chapter 6
COMP 6/4030 ALGORITHMS Prim’s Theorem 10/26/2000.
Computer Science Department
Chapter 2 Sets and Functions.
Turing Machines Acceptors; Enumerators
Intro to Theory of Computation
Traversal-invariant elementary definability
CSE 421: Introduction to Algorithms
Lecture 10 Algorithm Analysis
Complexity 6-1 The Class P Complexity Andrei Bulatov.
Alternating tree Automata and Parity games
Non-Deterministic Finite Automata
Nondeterministic Finite Automata
Introduction to Finite Automata
CSCI-2400 Models of Computation.
2017, Fall Pusan National University Ki-Joune Li
Lecture 10: Query Complexity
Time Complexity Classes
Text Book: Introduction to algorithms By C L R S
Discrete Mathematics for Computer Science
Important Problem Types and Fundamental Data Structures
ICS 353: Design and Analysis of Algorithms
Part 7. Phantoms: Legal States That Cannot Be Constructed
Properties of Relational Logic
Theory of Computability
Turing Machines Everything is an Integer
Presentation transcript:

Steven Lindell Scott Weinstein Traversal-invariant elementary definability and logarithmic-space computation Steven Lindell Scott Weinstein 11/29/2018 Workshop on Logic and Computational Complexity

Elementary (first-order) definability on graphs Graphs are finite relational structures with a single binary relation. First-order sentences/formulas define elementary (Boolean) queries, i.e. global properties/relations over the class of all graphs. A graph 〈V; E〉 is simple (symmetric and irreflexive) if and only if: For every x, y, z in V, [E(x, y) → E(y, x)] ∧ ¬E(z, z). A binary string is a graph whose edge relation lies in between a strict linear order < and a non-strict linear order ≤ of its vertices. E.g. 1010 would be: 1 2 3 4 11/29/2018 Workshop on Logic and Computational Complexity

Order invariant definability Motivation: all inputs to computers are arbitrarily linearly ordered Are there properties of (directed) graphs which can be defined in the presence of a linear order, independent of that linear order? Example [Yuri Gurevich]: Formulate Boolean algebras in the language of subsets, and ask if there is a set of atoms (minimal elements) containing the first atom in the linear order, alternate atoms thereafter, and not the last atom. This order invariant property defines an even number of atoms. By compactness this cannot be elementary because all infinite atomic Boolean algebras are elementarily equivalent [Tarski]. 11/29/2018 Workshop on Logic and Computational Complexity

Connectivity & Acyclicity (with order) [Yuri] Corollary: Neither connectivity nor acyclicity are order invariant. Proof: Given any finite linear order, define an edge between every other adjacent element, as well as the first and last elements. This always results in a chain, plus a cycle iff the length is odd. If either connectivity or acyclicity were elementary, then we could define even length linear orders, which is impossible because the theory of infinite discrete linear orders with endpoints is complete. 1 2 3 4 5 6 1 2 3 4 5 6 7 11/29/2018 Workshop on Logic and Computational Complexity

Graph traversals (for simple graphs) Definition: A traversal of a connected simple graph is a linear ordering of its vertices in which every initial segment is connected. Example: Take a simple path (a − b − c − d) ordered as shown: OK: NOT: Note: I.e. every node (except the first) has a preceding neighbor. A traversal of an arbitrary simple graph is a linear ordering of traversals of its connected components (i.e. their direct sum). Fact: Every simple graph admits many traversals (e.g. using DFS). a b c d a c b d Motivate traversals By saying that elements must when possible be connected to previously input data. 11/29/2018 Workshop on Logic and Computational Complexity

Traversal invariant definability (idea) Idea: A graph property P is traversal invariant if it can be defined by a first-order sentence θ on ordered graphs (G, <) in which < is a traversal of G. I.e. θ ⊧ (G, <) ⇔ G ∈ P independent of the traversal <. Examples: these properties are elementary with any traversal: Connected: every element except the first has a preceding neighbor. Acyclic: no element has two preceding neighbors. The non-Boolean query transitive-closure is elementary as well: Reachability: there is a path between two nodes s and t iff every node between them (except the first one) has a preceding neighbor. 11/29/2018 Workshop on Logic and Computational Complexity

Breadth-first traversals Definition: A graph traversal (G, <) is breadth-first if the earliest preceding neighbor function p is monotone (p(x) = x if undefined). Example: Take a simple cycle (a − b − c − d − a) ordered as shown: OK: NOT: Definition: A formula on ordered graphs is breadth-first invariant if it determines a query on a breadth-first traversal of the underlying simple graph independent of any particular breadth-first traversal. Example: Are two nodes x and y equidistant from a fixed node c? a b d c a b c d 11/29/2018 Workshop on Logic and Computational Complexity

Logarithmic-space computability (L and NL) Fact: Equivalent to a multi-head finite automaton with bidirectional read-only input tapes and a unidirectional write-only output tape. Capturing L and NL in logic requires a successor relation, so we assume that all of our graphs come with an arbitrary successor. Example: An empty graph has an even number of vertices if and only if the square S² of its successor relation S, together with an edge between the two endpoints, is connected. S S S … S²: 1 2 3 4 1 2 3 4 5 11/29/2018 Workshop on Logic and Computational Complexity

Traversal invariance − full version Close the notion of traversal invariance under elementary interpretations, to be the composition of the following: S → π(S) = G → (G, <) → σ(G, <) A (finite) structure S, in some signature with successor; A first-order translation π which results in a simple graph G; A (breadth-first) traversal < of G; followed by A traversal invariant sentence σ over ordered simple graphs. 11/29/2018 Workshop on Logic and Computational Complexity

Workshop on Logic and Computational Complexity Results Theorem: A problem on (finite) structures with successor is computable in (nondeterministic) log-space iff it is elementarily definable in a (breadth-first) traversal invariant manner. I.e., L = FO(successor) + simple graph traversals NL = FO(successor) + breadth-first traversals The proofs of these rely on essential internal ideas from the arguments within the celebrated results of SL = L and co-NL = NL. 11/29/2018 Workshop on Logic and Computational Complexity