Under Constructions
Last updated 22. January 2011
Previous update 06. January 2010
About teaching and learning
Lecture 1 (18. October, 2010)
What we know from Database Systems
- Entity-Relationship model
- Relational model
- Relational algebra (RA) and logic (DRC)
- First Order Logic (FOL) = DRC
- Datalog and Stratified Datalog
- Functional dependencies
- Outlook
Lecture 2 (25. October, 2010)
What we know from Logic
- What we can say in First Order Logic (FOL)
- The Completeness Theorem
- The Compactness Theorem
- Connectivity is not definable over finite and infinite structures
Student notes: Notes by Yacov Shapiro
Lecture 3 (01. November, 2010)
Lecture given by T. Kotek
Course Notes
Computability and Definability 236331-08.
Pebble Games and definability in First order Logic (or DRC).
Lecture on Pebble Games, I,
Lecture on Pebble Games, II, from Computability and Definability 236331-01.
Lecture 4 (08. November, 2010)
More on Pebble Games
- Games in structures WITHOUT relations (sets).
- Even/Odd are not FOL-definable
- Games in ordered structures.
- Using (implementation) order in queries.
- Order invariant queries in DRC.
- Even/Odd are order invariant definable using Transitive closure.
- OUTLOOK: Order invariant queries with Transitive closure are
complete for Nondeterministic Logspace.
Student notes: Notes by Orit Abutbul
Lecture 5 (15. November, 2010)
Views and translation schemes
- Views in Databases
- Translation schemes
- Examples from Mathematics
- Examples from Databases
- The Fundamental Theorem of Translation schemes
- Using the Fundamental Theorem for computing queries over views.
- Decomposition of Database schemes and preserving functional dependencies.
(to be expanded in the lectures on "Dependency Theory" and Normal Forms).
Lecture on Translation schemes from Computability and Definability 236331-01.
Student notes: Notes by Amit Yungman
Lecture 6 (22. November, 2010)
Using Translation schemes
- Using the Fundamental Theorem for non-definability
Equicardinality is not FOL definable
Hamiltonicity is not FOL definable
Eulerian graphs are not FOL definable.
Deterministic reachability, Reachability and Path Systems
are not FOL definable.
-
Completeness via Translation schemes.
The universality of Transitive Closures:
Deterministic reachability, Reachability and Path Systems.
-
Complexity of query languages.
- Stratified Datalog on ordered structures corresponds to
P-time computable queries
- Linear Datalog on ordered structures corresponds to
NL-space computable queries.
See also:
L. Libkin, The Finite Model Theory Toolbox of Database Theoretician,
download
and
E. Graedel, P. Kolaitis, L. Libkin, M. Marx, J. Spencer, M. Vardi, Y. Venema and
S. Weinstein,
Finite Model Theory and Its Applications, Chapters 2 and 3.
Student notes: Notes by Orit Abutbul
Distributing projects.
November 29 and December 6 2010
No lecture (Conference and Chanukkah).
Lecture 7 (13. December, 2010)
The Decision Problem in Logic, I
Tool 1:
The Completeness Theorem
Tool 2:
The Finite Model Property
Tool 3:
Elimination of quantifiers (not yet discussed).
Solvable cases of the Decision problem, I
- The logic of pure equality (using the Finite Model Property)
- The logic of pure equality (using Elimination of quantiers)
- The logic of equality with unary predicates only
- Universal formulas
- The Bernays-Schoenfinkel Theorem (Satisfiability of E*A*-formulas)
E. Boerger, E. Graedel and Y. Gurevich, The Classical Decision Problem,
Springer 1997.
Chapters 8-10 of:
S. Abiteboul, R. Hull and V. Vianu, Foundations of Databases, Addison-Wesley 1995.
Lecture 8 (20. December, 2010)
Solvable cases of the Decision problem, II
- Functional dependencies (FD's) and Multivalued dependencies (MD's)
- Inclusion dependencies
- Dependencies in ER-diagrams
- (Full) Tuple generating dependencies in databases (FTGD's)
- Embedded tuple generating dependencies in databases (ETGD's)
Lecture 9 (27. December, 2010)
Proof systems for dependencies
- Functional dependencies (FD's) and Multivalued dependencies (MD's)
- Inclusion dependencies
- Armstrong relations and generic models
- Propositional Horn formulas and resolution
- Universal Horn formulas
- The CHASE algorithm (if time permits)
Lecture 10 (3. January, 2011)
Dependencies and design, I
slides of lecture
You can see the
latex-files of the slides of this lecture (for those who want to do their project in LaTeX).
See also
Blog on design problems
Lecture 11 (10. January, 2010)
Dependencies and design, II
slides of lecture (corrected)
New Paper: BCNF for SQL
Recent Papers on Normal Forms in XML:
- download
An Information-Theoretic Approach to Normal Forms for Relational and XML Data, by Marcelo Arenas and Leonid Libkin
- download
Title and authors
- download
Title and authors
- download
Title and authors
- download
Title and authors
- download
Title and authors
- download
Title and authors
Lecture 12 (17. January, 2010)
Computable queries, I
After Levine and Loizou (Chapter 6).
Lecture 13 (24. January, 2010)
Computable queries, II
After Levine and Loizou (Chapter 6).
End of Lectures
Not treated:
Tool 4:
The unsolvability of the Halting Problem of Turing machines
Tool 5:
Translation schemes and Turing reductions.
Unsolvable cases of the Decision problem
- The Church-Turing Theorem
- Trakhtenbrot's Theorem
- Embedded Tuple generating dependencies (ETGD's)