Translatable Updates of Selection Views under Constant Complement
|
|
- Bernard Hill
- 6 years ago
- Views:
Transcription
1 Translatable Updates of Selection Views under Constant Complement Enrico Franconi and Paolo Guagliardo Free University of Bozen-Bolzano, Italy 4 th September 2014 DEXA 2014, Munich (Germany) KRDB Research Centre for Knowledge and Data
2 Outline 1. The View Update Problem 2. Updatable Selection Views 3. Propagation of Updates 4. Mending Non-Updatable Selection Views 5. Summary and Future Work 1 / 18
3 The View Update Problem view definitions 2 / 18
4 The View Update Problem view definitions view update 2 / 18
5 The View Update Problem view definitions database update view update 2 / 18
6 The View Update Problem view definitions database update view update view definitions 2 / 18
7 Unambiguous Progagation of View Updates S source schema (finite set of relation symbols) Σ S intergrity contraints over S (source constraints) T target schema disjoint with S 3 / 18
8 Unambiguous Progagation of View Updates S source schema (finite set of relation symbols) Σ S intergrity contraints over S (source constraints) T target schema disjoint with S f view: maps instances of S satisfying Σ S to instances of T I f J 3 / 18
9 Unambiguous Progagation of View Updates S source schema (finite set of relation symbols) Σ S intergrity contraints over S (source constraints) T target schema disjoint with S f view: maps instances of S satisfying Σ S to instances of T I f J u J 3 / 18
10 Unambiguous Progagation of View Updates S source schema (finite set of relation symbols) Σ S intergrity contraints over S (source constraints) T target schema disjoint with S f view: maps instances of S satisfying Σ S to instances of T I f J u I f J 3 / 18
11 Unambiguous Progagation of View Updates S source schema (finite set of relation symbols) Σ S intergrity contraints over S (source constraints) T target schema disjoint with S f view: maps instances of S satisfying Σ S to instances of T I f J u I f J Requirement: I must exist and be unique (in such a case we say that u is uniquely translatable on J) 3 / 18
12 Views Specified by Constraints Σ ST one formula of the form x. T (x) ϕ(x) for each T T where ϕ is a (safe) query over S 4 / 18
13 Views Specified by Constraints Σ ST one formula of the form x. T (x) ϕ(x) for each T T where ϕ is a (safe) query over S A view f under Σ S and specified by Σ ST is updatable if each S(x) has an exact rewriting in terms of T under Σ S Σ ST 4 / 18
14 Views Specified by Constraints Σ ST one formula of the form x. T (x) ϕ(x) for each T T where ϕ is a (safe) query over S A view f under Σ S and specified by Σ ST is updatable if each S(x) has an exact rewriting in terms of T under Σ S Σ ST General Translatability Criterion For each S S, replace every occurrence of S(x) in Σ S Σ ST with its exact rewriting in terms of T The resulting set Σ T mentions only symbols in T An update u is uniquely translatable on J img(f) precisely if u(j) = Σ T (AC 0 data complexity) 4 / 18
15 Global Translatability Drawback: The general translatability criterion is applicable only when the target instances are materialized 5 / 18
16 Global Translatability Drawback: The general translatability criterion is applicable only when the target instances are materialized Solution: Given a view update u, check whether it is globally translatable, that is, translatable on every J img(f) 5 / 18
17 Global Translatability Drawback: The general translatability criterion is applicable only when the target instances are materialized Solution: Given a view update u, check whether it is globally translatable, that is, translatable on every J img(f) We show how this can be done for insertions / deletions sequences of insertions and deletions replacements w.r.t. selection views 5 / 18
18 Selection Views S 6 / 18
19 Selection Views T 1 selection S 6 / 18
20 Selection Views T 2 T 1 selection selection S 6 / 18
21 Selection Views T 2 T 1 T 3 selection selection selection S 6 / 18
22 Selection Views T 2 T 1 T 3 S 6 / 18
23 Selection Views T 2 T 1 T 3 S 6 / 18
24 Interpreted Attributes Data values from special domains (e.g., the integers or the reals) on which a set of predicates (e.g., smaller/greater than) and functions (e.g., addition and subtraction) are defined, according to a first-order language C 7 / 18
25 Interpreted Attributes Data values from special domains (e.g., the integers or the reals) on which a set of predicates (e.g., smaller/greater than) and functions (e.g., addition and subtraction) are defined, according to a first-order language C Notation S( x 1,..., x k, y 1,..., y n ) x 1,..., x k non-interpreted (values from dom) y 1,..., y n interpreted over idom associated with C 7 / 18
26 Interpreted Attributes Data values from special domains (e.g., the integers or the reals) on which a set of predicates (e.g., smaller/greater than) and functions (e.g., addition and subtraction) are defined, according to a first-order language C Notation S( x 1,..., x k, y 1,..., y n ) x 1,..., x k non-interpreted (values from dom) y 1,..., y n interpreted over idom associated with C We assume C to be closed under negation 7 / 18
27 Unit Two-Variable Per Inequality (UTVPI) Constraints A UTVPI constraint is a formula of the form ax + by d where x, y integer variables a, b { 1, 0, 1} (unit coefficients) d Z (an integer) 8 / 18
28 Unit Two-Variable Per Inequality (UTVPI) Constraints A UTVPI constraint is a formula of the form ax + by d where x, y integer variables a, b { 1, 0, 1} (unit coefficients) d Z (an integer) Fragment of linear arithmetic constraints over the integers Satisfiability of UTVPIs is decidable in polynomial time 8 / 18
29 Unit Two-Variable Per Inequality (UTVPI) Constraints A UTVPI constraint is a formula of the form ax + by d where x, y integer variables a, b { 1, 0, 1} (unit coefficients) d Z (an integer) Fragment of linear arithmetic constraints over the integers Satisfiability of UTVPIs is decidable in polynomial time BUTVPI = a Boolean combination of UTVPIs Satisfiability of BUTVPIs is NP-complete 8 / 18
30 Conditional Domain Constraints (CDCs) A conditional domain constraint is a formula of the form x, y. S(x, y) λ(x) δ(y) where λ(x) Boolean combination of equalities x = a, with x from x and a from dom δ(y) a formula in C For short S λ δ 9 / 18
31 Specification of Selection Views Each target symbol T T is defined by a formula of the form x, y. T (x, y) ( S(x, y) λ(x) σ(y) ) where λ(x) Boolean combination of equalities x = a, with x from x and a from dom σ(y) a formula in C For short T λ σ 10 / 18
32 Example S( x 1, x 2, x 3, y 1, y 2 ) Name Department Position Salary Bonus non-interpreted interpreted over Z 11 / 18
33 Example S( x 1, x 2, x 3, y 1, y 2 ) Name Department Position Salary Bonus non-interpreted interpreted over Z Let y 1, y 2 be expressed in thousands of euros per month Let a = ICT and b = Manager Source Constraints Employees in ICT gain at most 5 x 2 = a y 1 + y 2 5 Σ S x 3 = b y 2 2 Managers receive a bonus of at least 2 y 1 y 2 0 Bonus is never greater than salary 11 / 18
34 Example S( x 1, x 2, x 3, y 1, y 2 ) Name Department Position Salary Bonus non-interpreted interpreted over Z Let y 1, y 2 be expressed in thousands of euros per month Let a = ICT and b = Manager View Specification Σ ST T 1 x 2 a x 3 = b T 2 y 2 < 4 T 3 x 3 b Managers in departments other than ICT Employees getting strictly less than 4 as bonus Employees not working as managers 11 / 18
35 Derived Target Constraints When a selection view under Σ S and specified by Σ ST is updatable we have that Σ S Σ ST = x, y. S(x, y) T 1 (x, y) T n (x, y) 12 / 18
36 Derived Target Constraints When a selection view under Σ S and specified by Σ ST is updatable we have that Σ S Σ ST = x, y. S(x, y) T 1 (x, y) T n (x, y) Replacing S(x, y) by T 1 (x, y) T n (x, y) in Σ S Σ ST we get the following set Σ T of derived target constraints: T i λ δ every tuple in T i must satisfy the source CDCs 12 / 18
37 Derived Target Constraints When a selection view under Σ S and specified by Σ ST is updatable we have that Σ S Σ ST = x, y. S(x, y) T 1 (x, y) T n (x, y) Replacing S(x, y) by T 1 (x, y) T n (x, y) in Σ S Σ ST we get the following set Σ T of derived target constraints: T i λ δ every tuple in T i must satisfy the source CDCs T i λ i σ i every tuple in T i must satisfy the selection conditions of T i 12 / 18
38 Derived Target Constraints When a selection view under Σ S and specified by Σ ST is updatable we have that Σ S Σ ST = x, y. S(x, y) T 1 (x, y) T n (x, y) Replacing S(x, y) by T 1 (x, y) T n (x, y) in Σ S Σ ST we get the following set Σ T of derived target constraints: T i λ δ every tuple in T i must satisfy the source CDCs T i λ i σ i every tuple in T i must satisfy the selection conditions of T i T i λ j σ j T j every tuple in T i satisfying the selection conditions of T j must also be in T j 12 / 18
39 Translatability of Insertions and Deletions Theorem Let u be the insertion +J. Then, u is translatable on J if and only if J \ J = Σ T (look only at the newly inserted facts) 13 / 18
40 Translatability of Insertions and Deletions Theorem Let u be the insertion +J. Then, u is translatable on J if and only if J \ J = Σ T (look only at the newly inserted facts) u is globally translatable if and only if J = Σ T 13 / 18
41 Translatability of Insertions and Deletions Theorem Let u be the insertion +J. Then, u is translatable on J if and only if J \ J = Σ T (look only at the newly inserted facts) u is globally translatable if and only if J = Σ T Theorem Let u be the deletion J. Then, u is translatable on J if and only if J J = Σ T (look only at the facts that are effectively deleted) 13 / 18
42 Translatability of Insertions and Deletions Theorem Let u be the insertion +J. Then, u is translatable on J if and only if J \ J = Σ T (look only at the newly inserted facts) u is globally translatable if and only if J = Σ T Theorem Let u be the deletion J. Then, u is translatable on J if and only if J J = Σ T (look only at the facts that are effectively deleted) u is globally translatable if and only if J \ J = Σ T, where J is the maximal subset of J that does not satisfy cdc(σ T ) 13 / 18
43 Translatability of Insertions and Deletions Theorem Let u be the insertion +J. Then, u is translatable on J if and only if J \ J = Σ T (look only at the newly inserted facts) u is globally translatable if and only if J = Σ T Theorem Let u be the deletion J. Then, u is translatable on J if and only if J J = Σ T (look only at the facts that are effectively deleted) u is globally translatable if and only if J \ J = Σ T, where J is the maximal subset of J that does not satisfy cdc(σ T ) Theorem The global translatability problem for insertions and deletions is in AC 0 13 / 18
44 Translatability of Sequences of Insertions and Deletions +J 1,1 +J 1,m1 J 2,1 J 2,m2 +J n 1,1 +J n 1,mn 1 J n,1 J n,mn 14 / 18
45 Translatability of Sequences of Insertions and Deletions +J 1,1 +J 1,m1 J 2,1 J 2,m2 +J n 1,1 +J n 1,mn 1 J n,1 J n,mn +J 1 14 / 18
46 Translatability of Sequences of Insertions and Deletions +J 1,1 +J 1,m1 J 2,1 J 2,m2 +J n 1,1 +J n 1,mn 1 J n,1 J n,mn +J 1 J 2 14 / 18
47 Translatability of Sequences of Insertions and Deletions +J 1,1 +J 1,m1 J 2,1 J 2,m2 +J n 1,1 +J n 1,mn 1 J n,1 J n,mn +J 1 J 2 +J n 1 14 / 18
48 Translatability of Sequences of Insertions and Deletions +J 1,1 +J 1,m1 J 2,1 J 2,m2 +J n 1,1 +J n 1,mn 1 J n,1 J n,mn +J 1 J 2 +J n 1 J n 14 / 18
49 Translatability of Sequences of Insertions and Deletions +J 1,1 +J 1,m1 J 2,1 J 2,m2 +J n 1,1 +J n 1,mn 1 J n,1 J n,mn +J 1 J 2 +J n 1 J n equivalent to inserting A and simultaneously deleting D, where: a fact is in A iff it is inserted at some point in the sequence and it is not deleted afterwards a fact is in D iff it is deleted at some point in the sequence and it is not re-inserted afterwards 14 / 18
50 Translatability of Sequences of Insertions and Deletions +J 1,1 +J 1,m1 J 2,1 J 2,m2 +J n 1,1 +J n 1,mn 1 J n,1 J n,mn +J 1 J 2 +J n 1 J n equivalent to inserting A and simultaneously deleting D, where: a fact is in A iff it is inserted at some point in the sequence and it is not deleted afterwards a fact is in D iff it is deleted at some point in the sequence and it is not re-inserted afterwards Theorem The global translatability problem for sequences consisting of insertions and deletions is in AC 0 14 / 18
51 Translatability of Replacements A replacement u is specified by means of a surjective mapping r : D A where D and A are disjoint sets of facts 15 / 18
52 Translatability of Replacements A replacement u is specified by means of a surjective mapping r : D A where D and A are disjoint sets of facts Theorem Let u be the replacement specified by r : D A. Then, u is translatable on J if and only if D+r(J D) is 15 / 18
53 Translatability of Replacements A replacement u is specified by means of a surjective mapping r : D A where D and A are disjoint sets of facts Theorem Let u be the replacement specified by r : D A. Then, u is translatable on J if and only if D+r(J D) is Let D be the maximal subset of D that satisfies cdc(σ T ); u is globally translatable iff D = Σ T and, for each D D, r(d ) satisfies Σ T whenever D does 15 / 18
54 Translatability of Replacements A replacement u is specified by means of a surjective mapping r : D A where D and A are disjoint sets of facts Theorem Let u be the replacement specified by r : D A. Then, u is translatable on J if and only if D+r(J D) is Let D be the maximal subset of D that satisfies cdc(σ T ); u is globally translatable iff D = Σ T and, for each D D, r(d ) satisfies Σ T whenever D does Theorem The global translatability of a replacement specified by r : D A can be decided in linear time in the size of D 15 / 18
55 Non-Updatable Views Skip Problem: What if a view f is not updatable? 16 / 18
56 Non-Updatable Views Skip Problem: What if a view f is not updatable? Solution: Use another view g such that f g is updatable g is called a complement of f g provides information missing from f 16 / 18
57 Non-Updatable Views Skip Problem: What if a view f is not updatable? Solution: Use another view g such that f g is updatable g is called a complement of f g provides information missing from f Constant complement principle Update propagation must not affect, directly or indirectly, the contents of the view complement 16 / 18
58 Non-Updatable Views Skip Problem: What if a view f is not updatable? Solution: Use another view g such that f g is updatable g is called a complement of f g provides information missing from f Constant complement principle Update propagation must not affect, directly or indirectly, the contents of the view complement Complements must be as small as possible 16 / 18
59 Complements of Selection Views We provide necessary and sufficient conditions for the existence of a unique minimal complement 17 / 18
60 Complements of Selection Views We provide necessary and sufficient conditions for the existence of a unique minimal complement Selection conditions expressed by BUTVPIs There exists a unique minimal complement We provide an algorithm for finding the minimal complement 17 / 18
61 Complements of Selection Views We provide necessary and sufficient conditions for the existence of a unique minimal complement Selection conditions expressed by BUTVPIs There exists a unique minimal complement We provide an algorithm for finding the minimal complement Selection conditions expressed by UTVPIs There might not exist a unique minimal complement We provide an algorithm for finding one minimal complement 17 / 18
62 Complements of Selection Views We provide necessary and sufficient conditions for the existence of a unique minimal complement Selection conditions expressed by BUTVPIs There exists a unique minimal complement We provide an algorithm for finding the minimal complement Selection conditions expressed by UTVPIs There might not exist a unique minimal complement We provide an algorithm for finding one minimal complement Both algorithms have exponential worst-case running time in the size of the original view 17 / 18
63 Conclusion Summary The global translatability problem for sequences consisting of insertions and deletions is in AC 0 The global translatability problem for replacements can be decided in linear time 18 / 18
64 Conclusion Summary The global translatability problem for sequences consisting of insertions and deletions is in AC 0 The global translatability problem for replacements can be decided in linear time Future Work Update independence update a target relation without affecting the others Additional source constraints FDs and UINDs in addition to (suitably restricted) CDCs 18 / 18
Lossless Horizontal Decomposition with Domain Constraints on Interpreted Attributes
Lossless Horizontal Decomposition with Domain Constraints on Interpreted Attributes Ingo Feinerer 1 and Enrico Franconi 2 and Paolo Guagliardo 2 1 Vienna University of Technology 2 Free University of Bozen-Bolzano
More informationTHE problem of updating a database through a set
FULL VERSION WITH COMPLETE PROOFS 1 Lossless Selection Views under Conditional Domain Constraints Ingo Feinerer, Enrico Franconi and Paolo Guagliardo name suggests, prescribes how a database relation can
More informationEnhancing the Updatability of Projective Views
Enhancing the Updatability of Projective Views (Extended Abstract) Paolo Guagliardo 1, Reinhard Pichler 2, and Emanuel Sallinger 2 1 KRDB Research Centre, Free University of Bozen-Bolzano 2 Vienna University
More informationEntity-Relationship Diagrams and FOL
Free University of Bozen-Bolzano Faculty of Computer Science http://www.inf.unibz.it/ artale Descrete Mathematics and Logic BSc course Thanks to Prof. Enrico Franconi for provoding the slides What is a
More informationPropositional Logic: Models and Proofs
Propositional Logic: Models and Proofs C. R. Ramakrishnan CSE 505 1 Syntax 2 Model Theory 3 Proof Theory and Resolution Compiled at 11:51 on 2016/11/02 Computing with Logic Propositional Logic CSE 505
More informationProofs. Chapter 2 P P Q Q
Chapter Proofs In this chapter we develop three methods for proving a statement. To start let s suppose the statement is of the form P Q or if P, then Q. Direct: This method typically starts with P. Then,
More informationDecomposing and Pruning Primary Key Violations from Large Data Sets
Decomposing and Pruning Primary Key Violations from Large Data Sets (discussion paper) Marco Manna, Francesco Ricca, and Giorgio Terracina DeMaCS, University of Calabria, Italy {manna,ricca,terracina}@mat.unical.it
More informationFrom Satisfiability to Linear Algebra
From Satisfiability to Linear Algebra Fangzhen Lin Department of Computer Science Hong Kong University of Science and Technology Clear Water Bay, Kowloon, Hong Kong Technical Report August 2013 1 Introduction
More informationThe Meaning of Entity-Relationship Diagrams, part II
(1/23) Logic The Meaning of Entity-Relationship Diagrams, part II Enrico Franconi franconi@inf.unibz.it http://www.inf.unibz.it/ franconi Faculty of Computer Science, Free University of Bozen-Bolzano (2/23)
More informationQuery Answering in DL-Lite with Datatypes: A Non-Uniform Approach
1 / 20 Department of Computer Science Query Answering in DL-Lite with Datatypes: A Non-Uniform Approach February 2, 2017 André Hernich, Julio Lemos, Frank Wolter OBDM In Ontology-Based Data Management,
More informationDatabase 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 informationRDF and Logic: Reasoning and Extension
RDF and Logic: Reasoning and Extension Jos de Bruijn Faculty of Computer Science, Free University of Bozen-Bolzano, Italy debruijn@inf.unibz.it Stijn Heymans Digital Enterprise Research Institute (DERI),
More informationData Dependencies in the Presence of Difference
Data Dependencies in the Presence of Difference Tsinghua University sxsong@tsinghua.edu.cn Outline Introduction Application Foundation Discovery Conclusion and Future Work Data Dependencies in the Presence
More informationCS21 Decidability and Tractability
CS21 Decidability and Tractability Lecture 20 February 23, 2018 February 23, 2018 CS21 Lecture 20 1 Outline the complexity class NP NP-complete probelems: Subset Sum NP-complete problems: NAE-3-SAT, max
More informationProofs. Chapter 2 P P Q Q
Chapter Proofs In this chapter we develop three methods for proving a statement. To start let s suppose the statement is of the form P Q or if P, then Q. Direct: This method typically starts with P. Then,
More informationRelational Calculus. Dr Paolo Guagliardo. University of Edinburgh. Fall 2016
Relational Calculus Dr Paolo Guagliardo University of Edinburgh Fall 2016 First-order logic term t := x (variable) c (constant) f(t 1,..., t n ) (function application) formula ϕ := P (t 1,..., t n ) t
More informationFixpoint Extensions of Temporal Description Logics
Fixpoint Extensions of Temporal Description Logics Enrico Franconi Faculty of Computer Science Free University of Bozen-Bolzano, Italy franconi@inf.unibz.it David Toman School of Computer Science University
More informationTheory of Computation Chapter 9
0-0 Theory of Computation Chapter 9 Guan-Shieng Huang May 12, 2003 NP-completeness Problems NP: the class of languages decided by nondeterministic Turing machine in polynomial time NP-completeness: Cook
More informationMonadic 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 informationQuery answering using views
Query answering using views General setting: database relations R 1,...,R n. Several views V 1,...,V k are defined as results of queries over the R i s. We have a query Q over R 1,...,R n. Question: Can
More informationKnowledge base (KB) = set of sentences in a formal language Declarative approach to building an agent (or other system):
Logic Knowledge-based agents Inference engine Knowledge base Domain-independent algorithms Domain-specific content Knowledge base (KB) = set of sentences in a formal language Declarative approach to building
More informationDisjunctive Databases for Representing Repairs
Noname manuscript No (will be inserted by the editor) Disjunctive Databases for Representing Repairs Cristian Molinaro Jan Chomicki Jerzy Marcinkowski Received: date / Accepted: date Abstract This paper
More informationGAV-sound with conjunctive queries
GAV-sound with conjunctive queries Source and global schema as before: source R 1 (A, B),R 2 (B,C) Global schema: T 1 (A, C), T 2 (B,C) GAV mappings become sound: T 1 {x, y, z R 1 (x,y) R 2 (y,z)} T 2
More informationComputational Logic. Relational Query Languages with Negation. Free University of Bozen-Bolzano, Werner Nutt
Computational Logic Free University of Bozen-Bolzano, 2010 Werner Nutt (Slides adapted from Thomas Eiter and Leonid Libkin) Computational Logic 1 Queries with All Who are the directors whose movies are
More informationLecture 11: Measuring the Complexity of Proofs
IAS/PCMI Summer Session 2000 Clay Mathematics Undergraduate Program Advanced Course on Computational Complexity Lecture 11: Measuring the Complexity of Proofs David Mix Barrington and Alexis Maciel July
More information03 Review of First-Order Logic
CAS 734 Winter 2014 03 Review of First-Order Logic William M. Farmer Department of Computing and Software McMaster University 18 January 2014 What is First-Order Logic? First-order logic is the study of
More information1 Predicates and Quantifiers
1 Predicates and Quantifiers We have seen how to represent properties of objects. For example, B(x) may represent that x is a student at Bryn Mawr College. Here B stands for is a student at Bryn Mawr College
More informationLecturecise 22 Weak monadic second-order theory of one successor (WS1S)
Lecturecise 22 Weak monadic second-order theory of one successor (WS1S) 2013 Reachability in the Heap Many programs manipulate linked data structures (lists, trees). To express many important properties
More informationHierarchic Superposition: Completeness without Compactness
Hierarchic Superposition: Completeness without Compactness Peter Baumgartner 1 and Uwe Waldmann 2 1 NICTA and Australian National University, Canberra, Australia Peter.Baumgartner@nicta.com.au 2 MPI für
More information2.1 Sets. Definition 1 A set is an unordered collection of objects. Important sets: N, Z, Z +, Q, R.
2. Basic Structures 2.1 Sets Definition 1 A set is an unordered collection of objects. Important sets: N, Z, Z +, Q, R. Definition 2 Objects in a set are called elements or members of the set. A set is
More informationGrade 8 Math Curriculum Map Erin Murphy
Topic 1 Variables and Expressions 2 Weeks Summative Topic Test: Students will be able to (SWBAT) use symbols o represent quantities that are unknown or that vary; demonstrate mathematical phrases and real-world
More informationRelational Database Design
Relational Database Design Jan Chomicki University at Buffalo Jan Chomicki () Relational database design 1 / 16 Outline 1 Functional dependencies 2 Normal forms 3 Multivalued dependencies Jan Chomicki
More informationCS2742 midterm test 2 study sheet. Boolean circuits: Predicate logic:
x NOT ~x x y AND x /\ y x y OR x \/ y Figure 1: Types of gates in a digital circuit. CS2742 midterm test 2 study sheet Boolean circuits: Boolean circuits is a generalization of Boolean formulas in which
More informationIntroduction to Complexity Theory
Introduction to Complexity Theory Read K & S Chapter 6. Most computational problems you will face your life are solvable (decidable). We have yet to address whether a problem is easy or hard. Complexity
More informationSome algorithmic improvements for the containment problem of conjunctive queries with negation
Some algorithmic improvements for the containment problem of conjunctive queries with negation Michel Leclère and Marie-Laure Mugnier LIRMM, Université de Montpellier, 6, rue Ada, F-3439 Montpellier cedex
More informationAbsolute Value Equations and Inequalities. Use the distance definition of absolute value.
Chapter 2 Section 7 2.7 Absolute Value Equations and Inequalities Objectives 1 2 3 4 5 6 Use the distance definition of absolute value. Solve equations of the form ax + b = k, for k > 0. Solve inequalities
More information07 Equational Logic and Algebraic Reasoning
CAS 701 Fall 2004 07 Equational Logic and Algebraic Reasoning Instructor: W. M. Farmer Revised: 17 November 2004 1 What is Equational Logic? Equational logic is first-order logic restricted to languages
More informationDatabase Design and Normalization
Database Design and Normalization Chapter 12 (Week 13) EE562 Slides and Modified Slides from Database Management Systems, R. Ramakrishnan 1 Multivalued Dependencies Employee Child Salary Year Hilbert Hubert
More informationInformal Statement Calculus
FOUNDATIONS OF MATHEMATICS Branches of Logic 1. Theory of Computations (i.e. Recursion Theory). 2. Proof Theory. 3. Model Theory. 4. Set Theory. Informal Statement Calculus STATEMENTS AND CONNECTIVES Example
More informationExecutive Assessment. Executive Assessment Math Review. Section 1.0, Arithmetic, includes the following topics:
Executive Assessment Math Review Although the following provides a review of some of the mathematical concepts of arithmetic and algebra, it is not intended to be a textbook. You should use this chapter
More informationFrom 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 informationWhat is Binary? Digital Systems and Information Representation. An Example. Physical Representation. Boolean Algebra
What is Binary? Digital Systems and Information Representation CSE 102 Underlying base signals are two valued: 0 or 1 true or false (T or F) high or low (H or L) One bit is the smallest unambiguous unit
More informationData Cleaning and Query Answering with Matching Dependencies and Matching Functions
Data Cleaning and Query Answering with Matching Dependencies and Matching Functions Leopoldo Bertossi Carleton University Ottawa, Canada bertossi@scs.carleton.ca Solmaz Kolahi University of British Columbia
More informationEfficient Reasoning about Data Trees via Integer Linear Programming
Efficient Reasoning about Data Trees via Integer Linear Programming Claire David Université Paris-Est Claire.David@univ-mlv.fr Leonid Libkin University of Edinburgh libkin@inf.ed.ac.uk Tony Tan University
More informationDecidability 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 informationA Dichotomy. in in Probabilistic Databases. Joint work with Robert Fink. for Non-Repeating Queries with Negation Queries with Negation
Dichotomy for Non-Repeating Queries with Negation Queries with Negation in in Probabilistic Databases Robert Dan Olteanu Fink and Dan Olteanu Joint work with Robert Fink Uncertainty in Computation Simons
More informationThe Potential and Challenges of CAD with Equational Constraints for SC-Square
The Potential and Challenges of with Equational Constraints for SC-Square Matthew England (Coventry University) Joint work with: James H. Davenport (University of Bath) 7th International Conference on
More informationLogic and Automata I. Wolfgang Thomas. EATCS School, Telc, July 2014
Logic and Automata I EATCS School, Telc, July 2014 The Plan We present automata theory as a tool to make logic effective. Four parts: 1. Some history 2. Automata on infinite words First step: MSO-logic
More informationEquivalence of SQL Queries In Presence of Embedded Dependencies
Equivalence of SQL Queries In Presence of Embedded Dependencies Rada Chirkova Department of Computer Science NC State University, Raleigh, NC 27695, USA chirkova@csc.ncsu.edu Michael R. Genesereth Department
More informationProvenance Semirings. Todd Green Grigoris Karvounarakis Val Tannen. presented by Clemens Ley
Provenance Semirings Todd Green Grigoris Karvounarakis Val Tannen presented by Clemens Ley place of origin Provenance Semirings Todd Green Grigoris Karvounarakis Val Tannen presented by Clemens Ley place
More informationOn the Satisfiability of Two-Variable Logic over Data Words
On the Satisfiability of Two-Variable Logic over Data Words Claire David, Leonid Libkin, and Tony Tan School of Informatics, University of Edinburgh Abstract. Data trees and data words have been studied
More informationCS154 Final Examination
CS154 Final Examination June 7, 2010, 7-10PM Directions: CS154 students: answer all 13 questions on this paper. Those taking CS154N should answer only questions 8-13. The total number of points on this
More informationNP-Hardness reductions
NP-Hardness reductions Definition: P is the class of problems that can be solved in polynomial time, that is n c for a constant c Roughly, if a problem is in P then it's easy, and if it's not in P then
More informationLightweight Description Logics: DL-Lite A and EL ++
Lightweight Description Logics: DL-Lite A and EL ++ Elena Botoeva 1 KRDB Research Centre Free University of Bozen-Bolzano January 13, 2011 Departamento de Ciencias de la Computación Universidad de Chile,
More informationEssential 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 informationx y x y ax bx c x Algebra I Course Standards Gap 1 Gap 2 Comments a. Set up and solve problems following the correct order of operations (including proportions, percent, and absolute value) with rational
More informationAnother max flow application: baseball
CS124 Lecture 16 Spring 2018 Another max flow application: baseball Suppose there are n baseball teams, and team 1 is our favorite. It is the middle of baseball season, and some games have been played
More informationTHE LOGIC OF COMPOUND STATEMENTS
CHAPTER 2 THE LOGIC OF COMPOUND STATEMENTS Copyright Cengage Learning. All rights reserved. SECTION 2.4 Application: Digital Logic Circuits Copyright Cengage Learning. All rights reserved. Application:
More informationXML Security Views. Queries, Updates, and Schema. Benoît Groz. University of Lille, Mostrare INRIA. PhD defense, October 2012
XML Security Views Queries, Updates, and Schema Benoît Groz University of Lille, Mostrare INRIA PhD defense, October 2012 Benoît Groz (Mostrare) XML Security Views PhD defense, October 2012 1 / 45 Talk
More information1 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 informationWhat are the recursion theoretic properties of a set of axioms? Understanding a paper by William Craig Armando B. Matos
What are the recursion theoretic properties of a set of axioms? Understanding a paper by William Craig Armando B. Matos armandobcm@yahoo.com February 5, 2014 Abstract This note is for personal use. It
More informationSchema Refinement and Normal Forms
Schema Refinement and Normal Forms Chapter 19 Database Management Systems, 3ed, R. Ramakrishnan and J. Gehrke 1 The Evils of Redundancy Redundancy is at the root of several problems associated with relational
More informationRelations, Functions & Binary Operations
Relations, Functions & Binary Operations Important Terms, Definitions & Formulae 0 TYPES OF INTERVLS a) Open interval: If a and b be two real numbers such that a b then, the set of all the real numbers
More informationCS 372: Computational Geometry Lecture 4 Lower Bounds for Computational Geometry Problems
CS 372: Computational Geometry Lecture 4 Lower Bounds for Computational Geometry Problems Antoine Vigneron King Abdullah University of Science and Technology September 20, 2012 Antoine Vigneron (KAUST)
More informationIntroduction to Tree Logics
1 / 26 Introduction to Tree Logics Pierre Genevès CNRS (slides mostly based on the ones by W. Martens and T. Schwentick) University of Grenoble, 2014 2015 2 / 26 Why Logic? Tree automaton algorithm Logical
More informationDetermine the size of an instance of the minimum spanning tree problem.
3.1 Algorithm complexity Consider two alternative algorithms A and B for solving a given problem. Suppose A is O(n 2 ) and B is O(2 n ), where n is the size of the instance. Let n A 0 be the size of the
More informationPolynomial kernels for constant-factor approximable problems
1 Polynomial kernels for constant-factor approximable problems Stefan Kratsch November 11, 2010 2 What do these problems have in common? Cluster Edge Deletion, Cluster Edge Editing, Edge Dominating Set,
More informationarxiv: v1 [cs.db] 21 Feb 2017
Answering Conjunctive Queries under Updates Christoph Berkholz, Jens Keppeler, Nicole Schweikardt Humboldt-Universität zu Berlin {berkholz,keppelej,schweika}@informatik.hu-berlin.de February 22, 207 arxiv:702.06370v
More informationPROOFS IN PREDICATE LOGIC AND COMPLETENESS; WHAT DECIDABILITY MEANS HUTH AND RYAN 2.3, SUPPLEMENTARY NOTES 2
PROOFS IN PREDICATE LOGIC AND COMPLETENESS; WHAT DECIDABILITY MEANS HUTH AND RYAN 2.3, SUPPLEMENTARY NOTES 2 Neil D. Jones DIKU 2005 12 September, 2005 Some slides today new, some based on logic 2004 (Nils
More informationevaluate functions, expressed in function notation, given one or more elements in their domains
Describing Linear Functions A.3 Linear functions, equations, and inequalities. The student writes and represents linear functions in multiple ways, with and without technology. The student demonstrates
More informationSimplifying Schema Mappings
Simplifying Schema Mappings Diego Calvanese KRDB Research Centre Free Univ. of Bozen-Bolzano I-39100 Bolzano, Italy calvanese@inf.unibz.it Giuseppe De Giacomo Maurizio Lenzerini Dip. di Inf. e Sist. Univ.
More informationif t 1,...,t k Terms and P k is a k-ary predicate, then P k (t 1,...,t k ) Formulas (atomic formulas)
FOL Query Evaluation Giuseppe De Giacomo Università di Roma La Sapienza Corso di Seminari di Ingegneria del Software: Data and Service Integration Laurea Specialistica in Ingegneria Informatica Università
More informationHandbook of Logic and Proof Techniques for Computer Science
Steven G. Krantz Handbook of Logic and Proof Techniques for Computer Science With 16 Figures BIRKHAUSER SPRINGER BOSTON * NEW YORK Preface xvii 1 Notation and First-Order Logic 1 1.1 The Use of Connectives
More informationMaximizing Conjunctive Views in Deletion Propagation
Maximizing Conjunctive Views in Deletion Propagation Extended Version Benny Kimelfeld Jan Vondrák Ryan Williams IBM Research Almaden San Jose, CA 9510, USA {kimelfeld, jvondrak, ryanwill}@us.ibm.com ABSTRACT
More informationComplexity 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 informationOutline. 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 informationPREDICATE LOGIC: UNDECIDABILITY AND INCOMPLETENESS HUTH AND RYAN 2.5, SUPPLEMENTARY NOTES 2
PREDICATE LOGIC: UNDECIDABILITY AND INCOMPLETENESS HUTH AND RYAN 2.5, SUPPLEMENTARY NOTES 2 Neil D. Jones DIKU 2005 14 September, 2005 Some slides today new, some based on logic 2004 (Nils Andersen) OUTLINE,
More informationNP-COMPLETE PROBLEMS. 1. Characterizing NP. Proof
T-79.5103 / Autumn 2006 NP-complete problems 1 NP-COMPLETE PROBLEMS Characterizing NP Variants of satisfiability Graph-theoretic problems Coloring problems Sets and numbers Pseudopolynomial algorithms
More informationOn the satisfiability problem for a 4-level quantified syllogistic and some applications to modal logic
On the satisfiability problem for a 4-level quantified syllogistic and some applications to modal logic Domenico Cantone and Marianna Nicolosi Asmundo Dipartimento di Matematica e Informatica Università
More informationComp487/587 - Boolean Formulas
Comp487/587 - Boolean Formulas 1 Logic and SAT 1.1 What is a Boolean Formula Logic is a way through which we can analyze and reason about simple or complicated events. In particular, we are interested
More informationNP Complete Problems. COMP 215 Lecture 20
NP Complete Problems COMP 215 Lecture 20 Complexity Theory Complexity theory is a research area unto itself. The central project is classifying problems as either tractable or intractable. Tractable Worst
More informationComplexity of Reasoning in Entity Relationship Models
Complexity of Reasoning in Entity Relationship Models A. Artale 1, D. Calvanese 1, R. Kontchakov 2, V. Ryzhikov 1, M. Zakharyaschev 2 1 Faculty of Computer Science Free University of Bozen-Bolzano I-39100
More informationOn the Complexity of the Reflected Logic of Proofs
On the Complexity of the Reflected Logic of Proofs Nikolai V. Krupski Department of Math. Logic and the Theory of Algorithms, Faculty of Mechanics and Mathematics, Moscow State University, Moscow 119899,
More informationWest Windsor-Plainsboro Regional School District Algebra Grade 8
West Windsor-Plainsboro Regional School District Algebra Grade 8 Content Area: Mathematics Unit 1: Foundations of Algebra This unit involves the study of real numbers and the language of algebra. Using
More informationFoundations of Query Languages
Foundations of Query Languages SS 2011 2. 2. Foundations of Query Languages Dr. Fang Wei Lehrstuhl für Datenbanken und Informationssysteme Universität Freiburg SS 2011 Dr. Fang Wei 30. Mai 2011 Seite 1
More informationThe Evils of Redundancy. Schema Refinement and Normal Forms. Example: Constraints on Entity Set. Functional Dependencies (FDs) Example (Contd.
The Evils of Redundancy Schema Refinement and Normal Forms Chapter 19 Database Management Systems, 3ed, R. Ramakrishnan and J. Gehrke 1 Redundancy is at the root of several problems associated with relational
More informationNP-Complete Problems. Complexity Class P. .. Cal Poly CSC 349: Design and Analyis of Algorithms Alexander Dekhtyar..
.. Cal Poly CSC 349: Design and Analyis of Algorithms Alexander Dekhtyar.. Complexity Class P NP-Complete Problems Abstract Problems. An abstract problem Q is a binary relation on sets I of input instances
More informationThe Evils of Redundancy. Schema Refinement and Normal Forms. Example: Constraints on Entity Set. Functional Dependencies (FDs) Refining an ER Diagram
Schema Refinement and Normal Forms Chapter 19 Database Management Systems, R. Ramakrishnan and J. Gehrke 1 The Evils of Redundancy Redundancy is at the root of several problems associated with relational
More informationOn the Relationship between Consistent Query Answering and Constraint Satisfaction Problems
On the Relationship between Consistent Query Answering and Constraint Satisfaction Problems Carsten Lutz 1 and Frank Wolter 2 1 Fachbereich Informatik, Universität Bremen, Germany clu@uni-bremen.de 2 Department
More informationAbout the impossibility to prove P NP or P = NP and the pseudo-randomness in NP
About the impossibility to prove P NP or P = NP and the pseudo-randomness in NP Prof. Marcel Rémon 1 arxiv:0904.0698v3 [cs.cc] 24 Mar 2016 Abstract The relationship between the complexity classes P and
More informationAlgebraic Proof Systems
Algebraic Proof Systems Pavel Pudlák Mathematical Institute, Academy of Sciences, Prague and Charles University, Prague Fall School of Logic, Prague, 2009 2 Overview 1 a survey of proof systems 2 a lower
More informationcorrelated to the Washington D.C. Public Schools Learning Standards Algebra I
correlated to the Washington D.C. Public Schools Learning Standards Algebra I McDougal Littell Algebra 1 2007 correlated to the Washington DC Public Schools Learning Standards Algebra I NUMBER SENSE AND
More informationUmans Complexity Theory Lectures
Complexity Theory Umans Complexity Theory Lectures Lecture 1a: Problems and Languages Classify problems according to the computational resources required running time storage space parallelism randomness
More informationUndecidable Problems. Z. Sawa (TU Ostrava) Introd. to Theoretical Computer Science May 12, / 65
Undecidable Problems Z. Sawa (TU Ostrava) Introd. to Theoretical Computer Science May 12, 2018 1/ 65 Algorithmically Solvable Problems Let us assume we have a problem P. If there is an algorithm solving
More informationConstraint Logic Programming and Integrating Simplex with DPLL(T )
Constraint Logic Programming and Integrating Simplex with DPLL(T ) Ali Sinan Köksal December 3, 2010 Constraint Logic Programming Underlying concepts The CLP(X ) framework Comparison of CLP with LP Integrating
More informationIntroduction to Proofs in Analysis. updated December 5, By Edoh Y. Amiran Following the outline of notes by Donald Chalice INTRODUCTION
Introduction to Proofs in Analysis updated December 5, 2016 By Edoh Y. Amiran Following the outline of notes by Donald Chalice INTRODUCTION Purpose. These notes intend to introduce four main notions from
More informationSemantic Optimization Techniques for Preference Queries
Semantic Optimization Techniques for Preference Queries Jan Chomicki Dept. of Computer Science and Engineering, University at Buffalo,Buffalo, NY 14260-2000, chomicki@cse.buffalo.edu Abstract Preference
More informationRelational completeness of query languages for annotated databases
Relational completeness of query languages for annotated databases Floris Geerts 1,2 and Jan Van den Bussche 1 1 Hasselt University/Transnational University Limburg 2 University of Edinburgh Abstract.
More information2.2 Lowenheim-Skolem-Tarski theorems
Logic SEP: Day 1 July 15, 2013 1 Some references Syllabus: http://www.math.wisc.edu/graduate/guide-qe Previous years qualifying exams: http://www.math.wisc.edu/ miller/old/qual/index.html Miller s Moore
More information