The Expressivity of Quantifying over Regions Ernest Davis March 20, 2007.

Slides:



Advertisements
Similar presentations
Completeness and Expressiveness
Advertisements

The Complex Number System
Probability for a First-Order Language Ken Presting University of North Carolina at Chapel Hill.
Lecture 3 Universal TM. Code of a DTM Consider a one-tape DTM M = (Q, Σ, Γ, δ, s). It can be encoded as follows: First, encode each state, each direction,
CS 461 – Nov. 9 Chomsky hierarchy of language classes –Review –Let’s find a language outside the TM world! –Hints: languages and TM are countable, but.
Hybrid Systems Presented by: Arnab De Anand S. An Intuitive Introduction to Hybrid Systems Discrete program with an analog environment. What does it mean?
Problem: Give as many proofs as you can for the Pythagorean Theorem. i.e., a 2 + b 2 = c 2 holds for any right triangle with sides a & b and hypotenuse.
Informationsteknologi Wednesday, November 7, 2007Computer Graphics - Class 51 Today’s class Geometric objects and transformations.
Complexity 11-1 Complexity Andrei Bulatov Space Complexity.
A Semantic Characterization of Unbounded-Nondeterministic Abstract State Machines Andreas Glausch and Wolfgang Reisig 1.
Introduction to Computability Theory
Prof. Busch - LSU1 Decidable Languages. Prof. Busch - LSU2 Recall that: A language is Turing-Acceptable if there is a Turing machine that accepts Also.
CPSC 411, Fall 2008: Set 12 1 CPSC 411 Design and Analysis of Algorithms Set 12: Undecidability Prof. Jennifer Welch Fall 2008.
1 Undecidability Andreas Klappenecker [based on slides by Prof. Welch]
1 Uncountable Sets continued Theorem: Let be an infinite countable set. The powerset of is uncountable.
1 Introduction to Computability Theory Lecture4: Non Regular Languages Prof. Amos Israeli.
1 Decidability continued. 2 Undecidable Problems Halting Problem: Does machine halt on input ? State-entry Problem: Does machine enter state halt on input.
1 More Applications of the Pumping Lemma. 2 The Pumping Lemma: Given a infinite regular language there exists an integer for any string with length we.
Computability and Complexity 10-1 Computability and Complexity Andrei Bulatov Gödel’s Incompleteness Theorem.
Fall 2004COMP 3351 A Universal Turing Machine. Fall 2004COMP 3352 Turing Machines are “hardwired” they execute only one program A limitation of Turing.
1 Introduction to Computability Theory Lecture11: The Halting Problem Prof. Amos Israeli.
1 Applications of Regular Closure. 2 The intersection of a context-free language and a regular language is a context-free language context free regular.
Ofer Strichman, Technion Deciding Combined Theories.
1 First order theories. 2 Satisfiability The classic SAT problem: given a propositional formula , is  satisfiable ? Example:  Let x 1,x 2 be propositional.
1/25 Pointer Logic Changki PSWLAB Pointer Logic Daniel Kroening and Ofer Strichman Decision Procedure.
MA5209 Algebraic Topology Wayne Lawton Department of Mathematics National University of Singapore S ,
Basic Concepts of Algebra
MATH 224 – Discrete Mathematics
Area/Sigma Notation Objective: To define area for plane regions with curvilinear boundaries. To use Sigma Notation to find areas.
Automatic Structures Bakhadyr Khoussainov Computer Science Department The University of Auckland, New Zealand.
The Recursion Theorem Pages 217– ADVANCED TOPICS IN C O M P U T A B I L I T Y THEORY.
Invariants to affine transform What is affine transform ?
The Halting Problem – Undecidable Languages Lecture 31 Section 4.2 Wed, Oct 31, 2007.
1 1 CDT314 FABER Formal Languages, Automata and Models of Computation Lecture 15-1 Mälardalen University 2012.
Statements with Multiple Quantifiers. When a statement contains more than one quantifier, we imagine the actions suggested by the quantifiers as being.
1 Turing’s Thesis. 2 Turing’s thesis: Any computation carried out by mechanical means can be performed by a Turing Machine (1930)
1 ۞ An eigenvalue λ and an eigenfunction f(x) of an operator Ĥ in a space S satisfy Week 6 2. Properties of self-adjoint operators where f(x) is implied.
272: Software Engineering Fall 2012 Instructor: Tevfik Bultan Lecture 9: Test Generation from Models.
Mathematical Tools of Quantum Mechanics
1Computer Sciences Department. Book: INTRODUCTION TO THE THEORY OF COMPUTATION, SECOND EDITION, by: MICHAEL SIPSER Reference 3Computer Sciences Department.
Daniel Kroening and Ofer Strichman Decision Procedures An Algorithmic Point of View Deciding Combined Theories.
1 Finite Model Theory Lecture 5 Turing Machines and Finite Models.
The Church-Turing Thesis Chapter Are We Done? FSM  PDA  Turing machine Is this the end of the line? There are still problems we cannot solve:
Turing Machines- Cont. Theory of Computation Lecture 11 Tasneem Ghnaimat.
Lecture 9: Query Complexity Tuesday, January 30, 2001.
Recursively Enumerable and Recursive Languages. Definition: A language is recursively enumerable if some Turing machine accepts it.
1 A Universal Turing Machine. 2 Turing Machines are “hardwired” they execute only one program A limitation of Turing Machines: Real Computers are re-programmable.
1 Chapter 4 Geometry of Linear Programming  There are strong relationships between the geometrical and algebraic features of LP problems  Convenient.
CS 461 – Nov. 2 Sets Prepare for ATM finite vs. infinite Infinite sets
Recursively Enumerable and Recursive Languages
CSCI 2670 Introduction to Theory of Computing
Review : Theory of Computation
CSCI 2670 Introduction to Theory of Computing
Theory of Computability
Complex Variables. Complex Variables Open Disks or Neighborhoods Definition. The set of all points z which satisfy the inequality |z – z0|
Vapnik–Chervonenkis Dimension
Homework: Friday Read Section 4.1. In particular, you must understand the proofs of Theorems 4.1, 4.2, 4.3, and 4.4, so you can do this homework. Exercises.
Summary.
Lecture 27: Solid Modeling
Turing-Enumerable (Part II)
ICS 253: Discrete Structures I
Decidable Languages Costas Busch - LSU.
Lecture 10: Query Complexity
Formal Languages, Automata and Models of Computation
Theory of Computability
Applications of Regular Closure
Instructor: Aaron Roth
More Undecidable Problems
Instructor: Aaron Roth
Presentation transcript:

The Expressivity of Quantifying over Regions Ernest Davis March 20, 2007

Quantifying over regions There has recently been interest in spatial representations: That are first-order (Boolean operators, quantified variables) In which entities are regions in space That have a limited vocabulary of primitives: –Language 1: Closer(x,y,z). –Language 2: C(x,y), Convex(x)

Examples Assume language 1, with sole primitive Closer(x,y,z) and assume regions are closed. Define: C(x,y) ¬ (z) Closer(x,z,y) P(x,y) (z) C(z,x) C(z,y)

Question: What properties can be expressed in this representation? Answer: Just about anything. X and Y have the same area. X is an L by W rectangle where L/W is a transcendental number. X is the graph of a Bessel function X is a polygon with N sides where N is the index of a non-halting Turing machine The boundary of X has fractal dimension 1.5.

What cant be represented? 1. Properties that are not invariant under orthogonal transformation: X is 1 foot away from Y X is due north of Y 2. Distinguishing between two sets with the same closure. 3. Properties of remote logical complexity The shape of X cannot be represented by any 2-order formula

Universe of well-behaved regions What is well-behaved? Regular? Connected? Connected interior? Semi-algebraic? Smooth? Well be flexible: U is any universe of closed regions that contains all simple polygons.

Analytical relations Let ω be the set of integers, and let ω ω be the set of infinite sequences of integers. Let U = ω ω ω. A relation over U I is analytical if it is definable as a first-order formula using the functions +, X, and s[i] (indexing). (2 nd order arithmetic)

Other analytical structures Lemma: The real numbers R with functions + and X and predicate Integer(x) is mutually definable with U I. (Contrast: R with + and X is decidable. Z with + and X is first-order arithmetic.) Lemma: The domain R R ω is mutually definable with U I.

Analytical relations over regions Observation: A closed region is the closure of a countable collection of points. Definition: Let C be a coordinate system, and let Φ(R 1 … R k ) be a relation on regions. Φ is analytical w.r.t. C if the corresponding relation on the coordinates of sequences of points whose closure satisfy Φ is analytical.

Theorems Theorem: Let U be a class of closed regions that includes all simple polygons. Let Φ be an analytical relation over U. If Φ is invariant under orthogonal transformations, then it is definable in a first-order formula over Closer(x,y,z). If Φ is invariant under affine transformations, then it is definable in terms of C(x,y) and Convex(x).

Steps of Proof 1.Define a point P as a pair of regions that meet only at P. 2.Define a coordinate system as a triple of points (origin,, and ). 3.Define a real number as a point on a coordinate system. 4.Define +, X, and Integer(x) on real numbers. 5.Define coords(P,X,Y).

Definition of Point AllCloser(a,b,c) z C(z,b) Closer(a,z,c) InInterior(a,b) d ¬C(d,a) ^ c AllCloser(a,c,d) P(c,b). Regular(b) c,d C(c,b) ^ ¬C(c,d) a Closer(c,a,d) ^ InInterior(a,b).

Definition of Point (cntd) IsPoint(a,b) Regular(a) ^ Regular(b) ^ c,d [P(c,a) ^ P(d,b) ^ C(b,c) ^ C(d,a)] C(c,d) SamePoint(a,b,c,d) IsPoint(a,b) ^ IsPoint(c,d) ^ w,x,y,z [P(w,a) ^ P(x,b) ^ P(y,c) ^ P(z,d) ^ C(w,x) ^ C(y,z)] C(w,y)

Properties of Points InPt(a,b;r) d,c SamePoint(d,c;a,b) C(d,r). PtCloser(p,q,r) a,b,c Regular(a) ^ Regular(b) ^ Regular(c) ^ InPt(p,a) ^ InPt(q,b) ^ InPt(r,c) d,e,f P(d,a) ^ P(e,b) ^ P(f,d) ^ Closer(d,e,f).

Lines Line(p,q,r) ¬ w PtCloser(w,p,q) ^ PtCloser(w,r,q).

Coordinate System Coordinate system Coordinates of a point

Real Arithmetic Addition Multiplication

Integer length S is connected, and for every point P in S, there exists a horizontal translation V such that P T+v and U+v is outside S.

Expressing a relation Φ on regions 1.Construct a relation Γ(p 1,1, p 1,2, … p 2,1, p 2,2, … p k,1,p k,2 …) which holds if and only if Φ(Closure(p 1,1, p 1,2, …), Closure(p 2,1, p 2,2, …) … Closure(p k,1, p k,2, …) ) 2. Translate Γ into a relation on the coordinates of the ps. 3. Express in terms of Plus, Times, Integer

Comment Note that any countable sequence of regions can be encoded using dovetailing of the points. Thus, one can express definitions that quantify over a countable sequence of regions.

Related Work (Grzegorczyk, 1951). The first-order language with C(x,y) is undecidable. (Cohn, Gotts, etc. 1990s) Work on expressing various relations in various 1 st order languages. (Schaefer and Stefankovich, 2004) The first-order language with C(x,y) has analytical complexity (not expressivity). Lots of work on constraint languages.

Open Problem What is the expressivity of the first-order language with just C(x,y)? Analogue: If Φ is analytical and is invariant under any homeomorphism of the plan to itself, then it can be represented.