Conceptual Treatment of Multivalued Dependencies
|
|
- Dominic Paul
- 6 years ago
- Views:
Transcription
1 Conceptual Treatment of Multivalued Dependencies Bernhard Thalheim Computer Science Institute, Brandenburg University of Technology at Cottbus, PostBox , D Cottbus 1 Abstract. Multivalued dependencies are considered to be difficult to teach, to handle and to model. This observation is true if multivalued dependencies are treated in the classical approach. We introduce another treatment of multivalued dependencies based on ER modeling techniques and show that multivalued dependenices can be handled in a more natural and intuitive way within our framework. Based on the concept of competing multivalued dependencies we can prove in which case a unique ER schema representation exists. If multivalued dependencies are competing then either one of the competing schemata is chosen or an approximation which combines the competing schemata can be used. 1 Introduction Multivalued dependencies (MVD) have been thoroughly investigated at the end of the 70ies and during the 80ies. The research led to a deep insight into the relational model and to five equivalent definitions of MVD s. [Thal91] surveys more than threescore papers directly concerned with MVD s. At the same time it surprises that multivalued dependencies did not find their place in the ER model, except[chnc81,ling85,ling85 ]. We claim that ER models handle MVD s in a more sophisticated, better understandable, and more natural form. This paper aims in proving this claim. We are able to provide a natural treatment for MVD s which more flexible and more natural than that one which has been developed for the relational model. 1.1 Multivalued Dependencies Are Difficult To Model, To Teach, To Learn And To Handle Multivalued dependencies are introduced in almost any database book. The classical introduction is based on the tuple-generating definition of 1 Published at ER 2003, Chicago, LNCS 2813, Springer,
2 the multivalued dependency Y Z. It requires that whenever two tuples have the same value on the left-hand side then there also exist a tuple in the relation which matches to the first tuple by the left-hand side and the first element of the right-hand side and which matches to the second tuple by the left-hand side and the second element of the right-hand side. More formally, given a type R, two sets, Y of components of R and the set Z of remaining components of R. The statement Y Z is called multivalued dependency. The multivalued dependency Y Z is valid in a class R C defined over the type R (denoted by R C = Y Z ) if for all objects t, t R C with t = t an object t R C can be found for which the equalities t = Y t and t = Y t are valid. This definition has the clarity of a mathematical definition and the problematic treatment often observed for other mathematical constructs. It has been stated (e.g., [Mood01,Sims94]) in a number of practitioner reports that modeling MVD is rather difficult and often confuses people in practice. Modeling MVD s in teams becomes a nightmare. For this reason, modelers try to stay away from MVD s. At the same time, MVD s are extensively used whenever normalization is concerned. In this case, they express that a certain normalization step is based on (vertical) decomposition, i.e. R C = R C [ Y ] R C [ Z]. Functional dependency normalization is mainly based on synthesis approaches. Currently, no synthesis approach is known for multivalued dependencies. Normalization based on multivalued dependencies is based on the decomposition approach. Unfortunately, the two normalization approaches are incompatible [Thal91]. Therefore, sets of multivalued and functional dependencies must be treated by the decomposition approach. 1.2 The Outline of The Paper In Section 2 we introduce multivalued dependencies through the extended entity-relationship model. It is demonstrated that this treatment is far more natural and much simpler. A logical implication theory for the ER treatment of sets of multivalued dependencies is provided. In Section 3 we introduce the notion of competing schemata. We show that competing equivalent schema naturally appear and outline a way how to find a unique schema. Finally, a schema approximation approach is proposed for the case that competition among schemata cannot be resolved.
3 2 The ER Approach To Dependencies 2.1 Multivalued Dependencies within ER Schemata J. Biskup [Bisk95] introduces three heuristical principles of conceptual modeling. The first principle is Separation of Application Aspects. Each type in the conceptual schema describes one and only one aspect. The type describes one and only one class of existing things. This principle allows to give another definition of validity of multivalued dependencies in the context of extended entity-relationship models [Thal00]. Definition 1 Given a type R, the partition of components of R into, Y and Z. The multivalued dependency Y Z is ER-valid in a class R C defined over the type R (denoted by R C = ER Y Z) if the type can be decomposed into three types representing, Y, and Z and two mandatory relationship types defined on Y and Z, respectively. The MVD can be represented by a decomposition of the type R displayed in Figure 1. We use the last figure whenever we want to use compact schemata. In this case, the relationship type with the components ()Z is based on the -components. It allows to show the direct decomposition imposed by the multivalued dependency. Y Y Y Z (1,n) (1,n) Y Z (1,n) (1,n) Y() ()Z (1,n) (1,n) Z Z -components form an entity type of the relationship type R -components form a relationship sub-type of the relationship type R abbreviated notation for -components that form an entity type of the relationship type R Fig. 1. Three ER representations of a MVD Example 1. (Running example) Let us consider a relationship type EmployeeAssociation defined on the entity types: StaffMember, DependentPerson, Project, Supplier, Product. We observe a number of MVDs, e.g. A staff member determines the department he is working for and members of his family in dependently on the projects and products and their suppliers. { StaffMember } { Department, DependentPerson } { Project, Product, Supplier } This MVD can be represented by following picture. We shall see later that
4 (Department, DependentPerson) StaffMember (Project, Product, Supplier) other MVD s allow to decompose the association of the type EmployeeAssociation into types representing the relationship between staff member and their dependent people, between staff member and departments and between staff members and projects, products and suppliers. 2.2 ER-Schema-Based Derivation Rules for Multivalued Dependencies It is now our interest to reason on ER-validity of multivalued dependencies within the ER schema. In this case we can directly display the results of the type decomposition within the ER schema. We introduce a deductive system in Figure 2 that allows to derive ERschema decompositions based on the knowledge of ER-validity of MVD s. The axiom enables in introducing any component clustering for any relationship type. For rules of our calculus 2 we use subsets,,, Y, Y, Z, Z, V, W R and assume that the sets in one multivalued dependency constitute a cover of R. The following three rules is based on the ER-validity of MVD s. We remember the following statement of [Thal91]: Proposition 1 The deductive system consisting of the trivial MVD, the root reduction rule, and the weakening rule is correct and complete for inference of multivalued dependencies. The tree restructuring rule is correct too but does not form together with the trivial MVD and the weakening rule a complete system. This proposition allows to deduce the following theorem 3. Theorem 1 The axiom and the weakening, root reduction and tree restructuring rules are sound and complete for inference of ER-validity of multivalued dependencies. 2 Derivation rules are displayed in the Hilbert style, i.e. using a dividing line. The formulas (in our case the sub-schemata) above the line are the prerequisites of the rule. The formula (in our case the sub-schema) below the line represents the conclusion of the rule. 3 Proofs of theorems in this paper are based on the classical relational theory and can be derived directly by applying classical approaches [PDGG89]. Further, the full paper is available [Thal03].
5 Axiom Z Y () V ()Z Root reduction rule Y Z() Y () ()V ()Z V Y () () Z Weakening rule Y ( ) Z ( ) Y Y () ()Z Z Tree restructuring rule Y Z() Y () ()Y Z ()Z Z Y Fig. 2. The deductive system for ER schema derivation based on MVD s
6 We observe that the axiomatization of functional and multivalued dependencies can be derived in a similar way. 2.3 ER Treatment of Horizontal Dependencies ER diagrams are not restricted to entity types which have not more than two associated relationship types. Therefore, multivalued dependencies are not powerful enough. We may use, however, hierarchical dependencies. Given a cover, Y 1,..., Y m of components of (R) where the sets Y 1,..., Y m are pairwise disjoint. The hierarchical dependency Y 1 Y 2... Y m is valid in R C if for object t 1, t 2,..., t m from R C which are equal on an object t exists in R C for which t[ Y i ] = t i [ Y i ] for all i (1 i m). Obviously, if m = 2 the hierarchical dependency is a multivalued dependency. The hierarchical dependency can be represented in the ER diagram. The following picture shows this representation for the case that the set of components forms an entity type. Y 2 ()... Y 1() ()Y m Fig. 3. The ER representation of a hierarchical dependency This star unfolding rule in Figure 4 is a very powerful rule. It leads directly to star or snowflake schemata [Thal02]. We conclude based on [Thal00]: Corollary 1 The star unfolding rule is sound. Star unfolding provides an insight into the finest separation of types associated with a type through a set of multivalued dependencies. Based on hierarchical dependencies we can generalize the the dependency basis defined for multivalued dependencies to the dependency basis for functional, multivalued and hierarchical dependencies. Define now + = { A U Σ = {A} }. The dependency basis of a set Σ of functional, multivalued and hierarchical dependencies is given by
7 Y Y () ()Z Z Star unfolding rule Y Z() Y () ()Y Z Z()... Y () ()Z Fig. 4. The star unfolding rule for hierarchical dependencies Dep M,H (, Σ) = { Y i Σ = Y i, Y i + =, Y i Y i(y i Y i Σ = Y i ) } Dep M,H,F (, Σ) = Dep M (, Σ) { + \ }. It defines the finest separation among components of the type. Similar to the proof for the classical dependency basis in [Thal91] we can proof the following statement. Proposition 2 For any set Σ of functional, multivalued and hierarchical dependencies and any multivalued or hierarchical dependency Z 1... Z m, the set Σ implies Z 1... Z r if and only if either Y i Z j or Y i Z j = for all i, j(1 i n, 1 j m) and for the dependency basis Dep M,H (, Σ) = {Y 1,..., Y n } of. Furthermore, Σ = Z if and only if Z +. 3 Competing Schemata Due To MVD s So far only local decomposition based on one component set has been investigated. Another component set may lead to another decomposition of the same type. Example 2. (Continuation of the running example by additional MVD s) { StaffMember } { DependentPerson } { Department, Project, Product, Supplier } { Project } { StaffMember, Department, DependentPerson } { Product, Supplier } { Product } { Department, StaffMember, DependentPerson, Project } { Supplier }
8 The dependency basis for StaffMember is the set Dep M,H ( StaffMember,Σ) = {{ Department }, { DependentPerson }, { Project, Product, Supplier }} Therefore, the following ER schema can be derived. Staff Member Point of View (Project, Product, Supplier) Department StaffMember DependentPerson Computing the dependency basis for Project Dep M,H ( Product, Σ) = {{ Supplier }, { StaffMember, Department, DependentPerson }} we derive the point of view in the following figure: Project Point of View (StaffMember, Department, DependentPerson) Product Project Supplier Which point is the correct one? Is there any unifying point of view? The schemata are somehow competing. Therefore, we need a competition resolution technique. Let us consider the reduced cover of all multivalued and hierarchical dependencies by Σ = { Y Z Σ = Y Z, Y = Z = Y Z =, Y, Z }. Definition 2 Given two partitions, Z, V and Y, U, W of components of R. Two multivalued dependencies Z V and Y U W from Σ are competing if (1) Σ = Y Z V W for Z = U or (2) U and W.
9 Competing schemata offer different points of views. It might be the case that we find a unifying point of view that resolves competition. One solution for competing schemata is the introduction of an artificial separator type. [Scio81] gave it in the context of conflicting dependency bases. Definition 3 Given a type R and two partitions {, V 1,..., V n, 1,..., m } and {Y, V 1,..., V n, Y 1,..., Y k } of components of R which both form a dependency basis, i.e. Dep M (, Σ) = {V 1,..., V n, 1,..., m } Dep M (Y, Σ) = {V 1,..., V n, Y 1,..., Y k }. The two dependency bases are conflicting if Σ = Y n i=1 V i. The solution given by [Scio81] is based on the introduction of an artificial separator type P,Y into R combined with the additional functional dependencies P,Y and Y P,Y and the hierarchical dependencies ( Y ) {P,Y } V 1... V n, {P,Y } V 1... V n 1... m and Y {P,Y } V 1... V n Y 1... Y k. This solution may be adequate in some cases. In most practical situations the solutions is not adequate for conceptual modeling since conceptual modeling aims in developing conceptually minimal schemata which use only types that are meaningful in the application. The solution may be however used as an implementation trick. This idea can be however further developed. We introduce a new rule 4 displayed in the picture 5. Proposition 3 The tree separation rule is sound. Proof sketch. First we observe that root reduction allows to derive a convenient generalized root split rule in Figure 5. Another rule that can be derived from the theory of MVD s is the second root reduction rule shows in Figure 5. The combination of the three rules proves the proposition. We finally obtain a very serious argument in favor of non-competing sets of multivalued dependencies. Theorem 2 If a set of multivalued dependencies is not competing then there exists a unique decomposition which can be pictured entirely by a higher-order entity-relationship schema without additional multivalued or path dependencies. 4 The tree separation rules uses a property of the extended entity-relationship model: Entity types are of order 0, relationship types are ordered by orders 1, 2, 3,... The lowest order in any schema is 0. Therefore, the orders can be adapted whenever we wish to have a dense order.
10 Y Z() ()U Tree separation rule U (Y) Y (Y)Z Z P,Y Y U () Y () V ()Z Root split rule Y Z() Y () ()V ()Z V () Y U W () ()Z V Second root reduction rule U ( Y Z) U ( Y ) Y Z ( Y Z)V W Y ( Y )Z V W Fig. 5. Three derived rules for resolution of competition
11 Example 3. (Continuation of the running example) We can now resolve the competition among schemata. The application of the tree separation rules leads to the schema in the following picture which is the most detailed view and lies underneath of the two competing schemata discussed before. Let us use the name Working for denoting the new type P P roduct, Department StaffMember. Department Project Working StaffMember Product Supplier Dependent 4 Approximation and Weakening of Competing Schemata So far we considered only the case that multivalued dependency sets can be represented by a unique minimal schema. There are however cases in which competing dependency sets cannot be resolved to a unique minimal schema. Example 4. (Example from [LevL99]: Competing dependency set without resolution) Given a schema with a relationship type Engaged = ( Employee, Project, Manager, Location, Σ) and the multivalued dependencies { Employee, Manager, } { Location } { Project }, { Project, Location } { Employee} { Manager}. Location Manager Engaged Project Employee
12 The relationship type can be represented by two competing sub-schemata. The competition stresses two different points of view: The Engaged relationship type is differentiated by the working association and the leadership association. The last one related Mangers with employees at different project. The first one associates workers with the location and with the leadership. Additionally, the decomposition generates an inclusion constraint Works[Employee, Manager] Leads [Employee, Manager]. The Engaged relationship type is decomposed into the relationship types WorkingAt and ManagingAt. We observe the same kind of inclusion constraint WorkingAt[Project, Location] MangagingAt [Project, Location]. This inclusion constraint show again that the decomposition is not the most appropriate one. Second-order relationship types improve the situation. The inclusion constraints directly lead to another decomposition which is more appropriate and much simpler to maintain. These decompositions are more appropriate and better reflect the sense of the multivalued dependencies. We may, however, find stronger decompositions which are not entirely supported by the multivalued dependencies and weaker schemata which do not reflect the full power of the multivalued dependencies. Definition 4 Given a set of multivalued dependencies Σ for a relationship type R. Let weaker M (Σ) = { Σ MV D Σ = Σ Σ = Σ and stronger M (Σ) = { Σ MV D Σ = Σ Σ = Σ } the sets of weaker or stronger sets of multivalued dependencies for a set of multivalued dependencies. We define now the set approx M (Σ) of maximal elements of weaker M (Σ) and the set approx M (Σ) of minimal elements of stronger M (Σ) as approximations of Σ. If we discover in an application sets of competing schemata then we might either stress whether one of the elements of approx M (Σ) is valid as well (strengthening the specification) or one of sets in approx M (Σ) can be used instead of Σ (weakening the specification). Both approaches have their merits. Proposition 4 Approximations have the following regularity properties: approx M (Σ 1 Σ 2 ) approx M (Σ 1 ) approx M (Σ) Σ Σ for some Σ approx M (Σ) approx M (approx M (Σ)) = approx M (Σ)
13 approx M (Σ 1 Σ 2 ) approx M (Σ 1 ) approx M (Σ) Σ Σ for some Σ approx M (Σ) approx M (approx M (Σ)) = approx M (Σ) The proof is based on the properties of approximations and the monotonicity of derivable sets. These regularity properties allow to weaken or strengthen one of the multivalued dependencies. Therefore, we can restrict our attention to those multivalued dependencies which do not have strong support or which are a bit too strict. This idea invokes the idea of Lukasiewicz of assigning fractional truth values to formulas and sets of formulas depending on their support. Especially, weakening leads to singleton sets of multivalued dependencies in most cases. Since the theory is rather complex in this case we demonstrate this property for second example. Example 5. (Resolving the example from [LevL99] by approximation) The example has a convincing weakening which is based on a fact-association based modeling approach [Thal00] and uses the association by relating the left-hand sides of the two multivalued dependencies. Weakening the Set of Multivalued Dependencies for the Point of View that Stresses Work Association Employee Manages AssignedTo Location PerformedAt Manager Project We note that the multivalued dependencies may be easily maintained by triggers in our weaker schema. Furthermore, cardinality constraints such as card(manages, Employee) = (1, 1) can easily be integrated. The set of upper approximations has a similar convenient property. It is characterized by strengthening one of the dependencies used in the decomposition. For instance, if we are more interested in work association then strengthening the second multivalued dependency to the functional dependency {Project, Location} {Manager} then we obtain a unique decomposition through applying results in the previous section.
14 5 Conclusion Multivalued dependencies are a stepchild of database practice. Their specification is often error-prone. Sets of multivalued dependencies are difficult to survey and to understand. In reality, multivalued dependencies specify relative separation of aspects of concern. Therefore, the most natural way to reflect them is their usage for decomposition of types in ER schemata. In this case we obtain a view on the set of multivalued dependencies that is simple and which is easy to survey, to maintain and to extend. Therefore, multivalued dependencies should be treated at the level of ER schemata rather than at the level of logical schemata. It is an open problem whether competing schemata can be unified by critical pair resolution similar to term rewriting systems. References [Bisk95] J. Biskup: Foundations of Information Systems. Vieweg, Braunschweig, 1995 (in German). [ChNC81] I. Chung, F. Nakamura and P.P. Chen: A Decomposition of Relations Using the Entity-Relationship Approach. Proc. ER 1981: [LevL99] M. Levene and G. Loizou: A Guided Tour of Relational Databases and Beyond. Springer, Berlin, 1999 [Ling85] T.W. Ling: An Analysis of Multivalued and Join Dependencies Based on the Entity-Relationship Approach. Data and Knowledge Engineering, 1985,1: 3. [Ling85 ] T.W. Ling: A Normal Form for Entity-Relationship Diagram. Proc. 4th ER Conference, IEEE Computer Science Press, Silver Spring, 1985: [Mood01] D.L. Moody: Dealing with Complexity: A Practical Method for Representing Large Entity-Relationship Models. PhD., Dept. of Information Systems, University of Melbourne, 2001 [PDGG89] J. Paredaens, P. De Bra, M. Gyssens, and D. Van Gucht: The Structure of the Relational Database Model. Springer, Berlin, [Scio81] E. Sciore: Real-world MVD s. Proc. Int. Conf. on Data Management, 1981: [Sims94] G.C. Simsion, Data Modeling Essential - Analysis, Design, and Innovation. Van Nostrand Reinhold, New York 1994 [Thal91] B. Thalheim: Dependencies in Relational Databases. Teubner, Leipzig, 1991 [Thal00] B. Thalheim: Entity-Relationship Modeling - Fundamentals of Database Technology. Springer, Berlin, [Thal02] B. Thalheim: Component Construction of Database Schemes. Proc. ER 02, LNCS 2503, Springer, 2002: [Thal03] B. Thalheim: Scrutinizing Multivalued Dependencies through the Higher- Order Entity-Relationship Model. Preprint BTU Cottbus, Informatik
On a problem of Fagin concerning multivalued dependencies in relational databases
Theoretical Computer Science 353 (2006) 53 62 www.elsevier.com/locate/tcs On a problem of Fagin concerning multivalued dependencies in relational databases Sven Hartmann, Sebastian Link,1 Department of
More informationSchema Refinement: Other Dependencies and Higher Normal Forms
Schema Refinement: Other Dependencies and Higher Normal Forms Spring 2018 School of Computer Science University of Waterloo Databases CS348 (University of Waterloo) Higher Normal Forms 1 / 14 Outline 1
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 informationOn the logical Implication of Multivalued Dependencies with Null Values
On the logical Implication of Multivalued Dependencies with Null Values Sebastian Link Department of Information Systems, Information Science Research Centre Massey University, Palmerston North, New Zealand
More informationConstraints: Functional Dependencies
Constraints: Functional Dependencies Fall 2017 School of Computer Science University of Waterloo Databases CS348 (University of Waterloo) Functional Dependencies 1 / 42 Schema Design When we get a relational
More informationSystems of modal logic
499 Modal and Temporal Logic Systems of modal logic Marek Sergot Department of Computing Imperial College, London utumn 2008 Further reading: B.F. Chellas, Modal logic: an introduction. Cambridge University
More informationTopic Dependencies for Electronic Books
Topic Dependencies for Electronic Books Graham Cormode July 10, 2002 Abstract Electronics books consist of a number of topics, and information about dependencies between topics. We examine some theoretical
More informationConnectedness. Proposition 2.2. The following are equivalent for a topological space (X, T ).
Connectedness 1 Motivation Connectedness is the sort of topological property that students love. Its definition is intuitive and easy to understand, and it is a powerful tool in proofs of well-known results.
More informationHypersequent Calculi for some Intermediate Logics with Bounded Kripke Models
Hypersequent Calculi for some Intermediate Logics with Bounded Kripke Models Agata Ciabattoni Mauro Ferrari Abstract In this paper we define cut-free hypersequent calculi for some intermediate logics semantically
More informationIntroduction to Metalogic
Philosophy 135 Spring 2008 Tony Martin Introduction to Metalogic 1 The semantics of sentential logic. The language L of sentential logic. Symbols of L: Remarks: (i) sentence letters p 0, p 1, p 2,... (ii)
More informationPropositional Calculus - Hilbert system H Moonzoo Kim CS Division of EECS Dept. KAIST
Propositional Calculus - Hilbert system H Moonzoo Kim CS Division of EECS Dept. KAIST moonzoo@cs.kaist.ac.kr http://pswlab.kaist.ac.kr/courses/cs402-07 1 Review Goal of logic To check whether given a formula
More informationWarm-Up Problem. Is the following true or false? 1/35
Warm-Up Problem Is the following true or false? 1/35 Propositional Logic: Resolution Carmen Bruni Lecture 6 Based on work by J Buss, A Gao, L Kari, A Lubiw, B Bonakdarpour, D Maftuleac, C Roberts, R Trefler,
More informationCHAPTER 10. Gentzen Style Proof Systems for Classical Logic
CHAPTER 10 Gentzen Style Proof Systems for Classical Logic Hilbert style systems are easy to define and admit a simple proof of the Completeness Theorem but they are difficult to use. By humans, not mentioning
More informationA Goal-Oriented Algorithm for Unification in EL w.r.t. Cycle-Restricted TBoxes
A Goal-Oriented Algorithm for Unification in EL w.r.t. Cycle-Restricted TBoxes Franz Baader, Stefan Borgwardt, and Barbara Morawska {baader,stefborg,morawska}@tcs.inf.tu-dresden.de Theoretical Computer
More informationApplied Logic. Lecture 1 - Propositional logic. Marcin Szczuka. Institute of Informatics, The University of Warsaw
Applied Logic Lecture 1 - Propositional logic Marcin Szczuka Institute of Informatics, The University of Warsaw Monographic lecture, Spring semester 2017/2018 Marcin Szczuka (MIMUW) Applied Logic 2018
More informationFunctional Dependencies and Normalization
Functional Dependencies and Normalization There are many forms of constraints on relational database schemata other than key dependencies. Undoubtedly most important is the functional dependency. A functional
More informationPlan of the lecture. G53RDB: Theory of Relational Databases Lecture 10. Logical consequence (implication) Implication problem for fds
Plan of the lecture G53RDB: Theory of Relational Databases Lecture 10 Natasha Alechina School of Computer Science & IT nza@cs.nott.ac.uk Logical implication for functional dependencies Armstrong closure.
More informationLecture Notes on Combinatory Modal Logic
Lecture Notes on Combinatory Modal Logic 15-816: Modal Logic Frank Pfenning Lecture 9 February 16, 2010 1 Introduction The connection between proofs and program so far has been through a proof term assignment
More informationPart II On the Equivalence of Scientific Theories
Published in Philosophy of Science, 1960, 27, 359 365. Studies in the Empiricist Theory of Scientific Meaning Part II On the Equivalence of Scientific Theories Abstract Drawing upon the Carnapian explication
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 informationResolution for mixed Post logic
Resolution for mixed Post logic Vladimir Komendantsky Institute of Philosophy of Russian Academy of Science, Volkhonka 14, 119992 Moscow, Russia vycom@pochtamt.ru Abstract. In this paper we present a resolution
More informationKey Words: geospatial ontologies, formal concept analysis, semantic integration, multi-scale, multi-context.
Marinos Kavouras & Margarita Kokla Department of Rural and Surveying Engineering National Technical University of Athens 9, H. Polytechniou Str., 157 80 Zografos Campus, Athens - Greece Tel: 30+1+772-2731/2637,
More informationAxiomatic set theory. Chapter Why axiomatic set theory?
Chapter 1 Axiomatic set theory 1.1 Why axiomatic set theory? Essentially all mathematical theories deal with sets in one way or another. In most cases, however, the use of set theory is limited to its
More informationCombining Induction Axioms By Machine
Combining Induction Axioms By Machine Christoph Walther Technische Hochschule Darmstadt Fachbereich Informatik, AlexanderstraBe 10 D 6100 Darmstadt Germany Abstract The combination of induction axioms
More informationFormal Epistemology: Lecture Notes. Horacio Arló-Costa Carnegie Mellon University
Formal Epistemology: Lecture Notes Horacio Arló-Costa Carnegie Mellon University hcosta@andrew.cmu.edu Logical preliminaries Let L 0 be a language containing a complete set of Boolean connectives, including
More informationDR.RUPNATHJI( DR.RUPAK NATH )
Contents 1 Sets 1 2 The Real Numbers 9 3 Sequences 29 4 Series 59 5 Functions 81 6 Power Series 105 7 The elementary functions 111 Chapter 1 Sets It is very convenient to introduce some notation and terminology
More informationMatroid intersection, base packing and base covering for infinite matroids
Matroid intersection, base packing and base covering for infinite matroids Nathan Bowler Johannes Carmesin June 25, 2014 Abstract As part of the recent developments in infinite matroid theory, there have
More information1. Propositional Calculus
1. Propositional Calculus Some notes for Math 601, Fall 2010 based on Elliott Mendelson, Introduction to Mathematical Logic, Fifth edition, 2010, Chapman & Hall. 2. Syntax ( grammar ). 1.1, p. 1. Given:
More informationChapter 3: Propositional Calculus: Deductive Systems. September 19, 2008
Chapter 3: Propositional Calculus: Deductive Systems September 19, 2008 Outline 1 3.1 Deductive (Proof) System 2 3.2 Gentzen System G 3 3.3 Hilbert System H 4 3.4 Soundness and Completeness; Consistency
More informationAN INTRODUCTION TO SEPARATION LOGIC. 2. Assertions
AN INTRODUCTION TO SEPARATION LOGIC 2. Assertions John C. Reynolds Carnegie Mellon University January 7, 2011 c 2011 John C. Reynolds Pure Assertions An assertion p is pure iff, for all stores s and all
More informationThe matrix approach for abstract argumentation frameworks
The matrix approach for abstract argumentation frameworks Claudette CAYROL, Yuming XU IRIT Report RR- -2015-01- -FR February 2015 Abstract The matrices and the operation of dual interchange are introduced
More informationPropositional Calculus - Natural deduction Moonzoo Kim CS Dept. KAIST
Propositional Calculus - Natural deduction Moonzoo Kim CS Dept. KAIST moonzoo@cs.kaist.ac.kr 1 Review Goal of logic To check whether given a formula Á is valid To prove a given formula Á ` Á Syntactic
More informationPřednáška 12. Důkazové kalkuly Kalkul Hilbertova typu. 11/29/2006 Hilbertův kalkul 1
Přednáška 12 Důkazové kalkuly Kalkul Hilbertova typu 11/29/2006 Hilbertův kalkul 1 Formal systems, Proof calculi A proof calculus (of a theory) is given by: A. a language B. a set of axioms C. a set of
More informationPropositional Calculus - Hilbert system H Moonzoo Kim CS Dept. KAIST
Propositional Calculus - Hilbert system H Moonzoo Kim CS Dept. KAIST moonzoo@cs.kaist.ac.kr CS402 1 Review Goal of logic To check whether given a formula Á is valid To prove a given formula Á ` Á Syntactic
More information1 The Hyland-Schalke functor G Rel. 2 Weakenings
1 The Hyland-Schalke functor G Rel Let G denote an appropriate category of games and strategies, and let Rel denote the category of sets and relations. It is known (Hyland, Schalke, 1996) that the following
More informationTree sets. Reinhard Diestel
1 Tree sets Reinhard Diestel Abstract We study an abstract notion of tree structure which generalizes treedecompositions of graphs and matroids. Unlike tree-decompositions, which are too closely linked
More informationProgram verification. Hoare triples. Assertional semantics (cont) Example: Semantics of assignment. Assertional semantics of a program
Program verification Assertional semantics of a program Meaning of a program: relation between its inputs and outputs; specified by input assertions (pre-conditions) and output assertions (post-conditions)
More informationA Comparative Study of Noncontextual and Contextual Dependencies
A Comparative Study of Noncontextual Contextual Dependencies S.K.M. Wong 1 C.J. Butz 2 1 Department of Computer Science, University of Regina Regina, Saskatchewan, Canada S4S 0A2 E-mail: wong@cs.uregina.ca
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 informationKRIPKE S THEORY OF TRUTH 1. INTRODUCTION
KRIPKE S THEORY OF TRUTH RICHARD G HECK, JR 1. INTRODUCTION The purpose of this note is to give a simple, easily accessible proof of the existence of the minimal fixed point, and of various maximal fixed
More informationLecture 2: Syntax. January 24, 2018
Lecture 2: Syntax January 24, 2018 We now review the basic definitions of first-order logic in more detail. Recall that a language consists of a collection of symbols {P i }, each of which has some specified
More informationInterpolation via translations
Interpolation via translations Walter Carnielli 2,3 João Rasga 1,3 Cristina Sernadas 1,3 1 DM, IST, TU Lisbon, Portugal 2 CLE and IFCH, UNICAMP, Brazil 3 SQIG - Instituto de Telecomunicações, Portugal
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 informationFrom fuzzy dependences to fuzzy formulas and vice versa, for Kleene-Dienes fuzzy implication operator
From fuzzy dependences to fuzzy formulas and vice versa, for Kleene-Dienes fuzzy implication operator NEDŽAD DUKIĆ, DŽENAN GUŠIĆ, AMELA MURATOVIĆ-RIBIĆ, ADIS ALIHODŽIĆ, EDIN TABAK, HARIS DUKIĆ University
More informationOutline. Overview. Syntax Semantics. Introduction Hilbert Calculus Natural Deduction. 1 Introduction. 2 Language: Syntax and Semantics
Introduction Arnd Poetzsch-Heffter Software Technology Group Fachbereich Informatik Technische Universität Kaiserslautern Sommersemester 2010 Arnd Poetzsch-Heffter ( Software Technology Group Fachbereich
More informationClassical Propositional Logic
The Language of A Henkin-style Proof for Natural Deduction January 16, 2013 The Language of A Henkin-style Proof for Natural Deduction Logic Logic is the science of inference. Given a body of information,
More informationPropositional Calculus - Deductive Systems
Propositional Calculus - Deductive Systems Moonzoo Kim CS Division of EECS Dept. KAIST moonzoo@cs.kaist.ac.kr http://pswlab.kaist.ac.kr/courses/cs402-07 1 Deductive proofs (1/3) Suppose we want to know
More informationS4LP and Local Realizability
S4LP and Local Realizability Melvin Fitting Lehman College CUNY 250 Bedford Park Boulevard West Bronx, NY 10548, USA melvin.fitting@lehman.cuny.edu Abstract. The logic S4LP combines the modal logic S4
More informationTopological properties
CHAPTER 4 Topological properties 1. Connectedness Definitions and examples Basic properties Connected components Connected versus path connected, again 2. Compactness Definition and first examples Topological
More informationChapter 11: Automated Proof Systems
Chapter 11: Automated Proof Systems SYSTEM RS OVERVIEW Hilbert style systems are easy to define and admit a simple proof of the Completeness Theorem but they are difficult to use. Automated systems are
More informationPropositional Logic: Syntax
4 Propositional Logic: Syntax Reading: Metalogic Part II, 22-26 Contents 4.1 The System PS: Syntax....................... 49 4.1.1 Axioms and Rules of Inference................ 49 4.1.2 Definitions.................................
More informationThis section will take the very naive point of view that a set is a collection of objects, the collection being regarded as a single object.
1.10. BASICS CONCEPTS OF SET THEORY 193 1.10 Basics Concepts of Set Theory Having learned some fundamental notions of logic, it is now a good place before proceeding to more interesting things, such as
More informationWhat is an Ideal Logic for Reasoning with Inconsistency?
What is an Ideal Logic for Reasoning with Inconsistency? Ofer Arieli School of Computer Science The Academic College of Tel-Aviv Israel Arnon Avron School of Computer Science Tel-Aviv University Israel
More informationEquational Logic. Chapter Syntax Terms and Term Algebras
Chapter 2 Equational Logic 2.1 Syntax 2.1.1 Terms and Term Algebras The natural logic of algebra is equational logic, whose propositions are universally quantified identities between terms built up from
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 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 informationGuaranteeing No Interaction Between Functional Dependencies and Tree-Like Inclusion Dependencies
Guaranteeing No Interaction Between Functional Dependencies and Tree-Like Inclusion Dependencies Mark Levene Department of Computer Science University College London Gower Street London WC1E 6BT, U.K.
More informationEvaluation Driven Proof-Search in Natural Deduction Calculi for Intuitionistic Propositional Logic
Evaluation Driven Proof-Search in Natural Deduction Calculi for Intuitionistic Propositional Logic Mauro Ferrari 1, Camillo Fiorentini 2 1 DiSTA, Univ. degli Studi dell Insubria, Varese, Italy 2 DI, Univ.
More informationIntroductory Analysis I Fall 2014 Homework #5 Solutions
Introductory Analysis I Fall 2014 Homework #5 Solutions 6. Let M be a metric space, let C D M. Now we can think of C as a subset of the metric space M or as a subspace of the metric space D (D being a
More informationSchema Refinement and Normal Forms. Chapter 19
Schema Refinement and Normal Forms Chapter 19 1 Review: Database Design Requirements Analysis user needs; what must the database do? Conceptual Design high level descr. (often done w/er model) Logical
More informationMath 541 Fall 2008 Connectivity Transition from Math 453/503 to Math 541 Ross E. Staffeldt-August 2008
Math 541 Fall 2008 Connectivity Transition from Math 453/503 to Math 541 Ross E. Staffeldt-August 2008 Closed sets We have been operating at a fundamental level at which a topological space is a set together
More informationOn some Metatheorems about FOL
On some Metatheorems about FOL February 25, 2014 Here I sketch a number of results and their proofs as a kind of abstract of the same items that are scattered in chapters 5 and 6 in the textbook. You notice
More informationUVA UVA UVA UVA. Database Design. Relational Database Design. Functional Dependency. Loss of Information
Relational Database Design Database Design To generate a set of relation schemas that allows - to store information without unnecessary redundancy - to retrieve desired information easily Approach - design
More informationRedundancy, Deduction Schemes, and Minimum-Size Bases for Association Rules
Redundancy, Deduction Schemes, and Minimum-Size Bases for Association Rules José L. Balcázar Departament de Llenguatges i Sistemes Informàtics Laboratori d Algorísmica Relacional, Complexitat i Aprenentatge
More informationSchema Refinement and Normal Forms. The Evils of Redundancy. Functional Dependencies (FDs) CIS 330, Spring 2004 Lecture 11 March 2, 2004
Schema Refinement and Normal Forms CIS 330, Spring 2004 Lecture 11 March 2, 2004 1 The Evils of Redundancy Redundancy is at the root of several problems associated with relational schemas: redundant storage,
More informationConstraints: Functional Dependencies
Constraints: Functional Dependencies Spring 2018 School of Computer Science University of Waterloo Databases CS348 (University of Waterloo) Functional Dependencies 1 / 32 Schema Design When we get a relational
More informationLogic and Proofs 1. 1 Overview. 2 Sentential Connectives. John Nachbar Washington University December 26, 2014
John Nachbar Washington University December 26, 2014 Logic and Proofs 1 1 Overview. These notes provide an informal introduction to some basic concepts in logic. For a careful exposition, see, for example,
More informationLecture 14 Rosser s Theorem, the length of proofs, Robinson s Arithmetic, and Church s theorem. Michael Beeson
Lecture 14 Rosser s Theorem, the length of proofs, Robinson s Arithmetic, and Church s theorem Michael Beeson The hypotheses needed to prove incompleteness The question immediate arises whether the incompleteness
More information1. Propositional Calculus
1. Propositional Calculus Some notes for Math 601, Fall 2010 based on Elliott Mendelson, Introduction to Mathematical Logic, Fifth edition, 2010, Chapman & Hall. 2. Syntax ( grammar ). 1.1, p. 1. Given:
More informationDetermining conditions sufficient for the existence of arc-disjoint hamiltonian paths and out-branchings in tournaments
Determining conditions sufficient for the existence of arc-disjoint hamiltonian paths and out-branchings in tournaments Alex Beckwith Department of Mathematics, Kenyon College, Gambier, Ohio Aleesha Moran
More informationBETWEEN THE LOGIC OF PARMENIDES AND THE LOGIC OF LIAR
Bulletin of the Section of Logic Volume 38:3/4 (2009), pp. 123 133 Kordula Świȩtorzecka BETWEEN THE LOGIC OF PARMENIDES AND THE LOGIC OF LIAR Abstract In the presented text we shall focus on some specific
More informationPropositional Logic: Evaluating the Formulas
Institute for Formal Models and Verification Johannes Kepler University Linz VL Logik (LVA-Nr. 342208) Winter Semester 2015/2016 Propositional Logic: Evaluating the Formulas Version 2015.2 Armin Biere
More informationIntroduction to Kleene Algebra Lecture 14 CS786 Spring 2004 March 15, 2004
Introduction to Kleene Algebra Lecture 14 CS786 Spring 2004 March 15, 2004 KAT and Hoare Logic In this lecture and the next we show that KAT subsumes propositional Hoare logic (PHL). Thus the specialized
More informationLecture 10: Gentzen Systems to Refinement Logic CS 4860 Spring 2009 Thursday, February 19, 2009
Applied Logic Lecture 10: Gentzen Systems to Refinement Logic CS 4860 Spring 2009 Thursday, February 19, 2009 Last Tuesday we have looked into Gentzen systems as an alternative proof calculus, which focuses
More informationA Discrete Duality Between Nonmonotonic Consequence Relations and Convex Geometries
A Discrete Duality Between Nonmonotonic Consequence Relations and Convex Geometries Johannes Marti and Riccardo Pinosio Draft from April 5, 2018 Abstract In this paper we present a duality between nonmonotonic
More informationPropositional Logic: Part II - Syntax & Proofs 0-0
Propositional Logic: Part II - Syntax & Proofs 0-0 Outline Syntax of Propositional Formulas Motivating Proofs Syntactic Entailment and Proofs Proof Rules for Natural Deduction Axioms, theories and theorems
More informationConditional probabilities and graphical models
Conditional probabilities and graphical models Thomas Mailund Bioinformatics Research Centre (BiRC), Aarhus University Probability theory allows us to describe uncertainty in the processes we model within
More informationFundamentals of Logic
Fundamentals of Logic No.5 Soundness and Completeness Tatsuya Hagino Faculty of Environment and Information Studies Keio University 2015/5/18 Tatsuya Hagino (Faculty of Environment and InformationFundamentals
More information35 Chapter CHAPTER 4: Mathematical Proof
35 Chapter 4 35 CHAPTER 4: Mathematical Proof Faith is different from proof; the one is human, the other is a gift of God. Justus ex fide vivit. It is this faith that God Himself puts into the heart. 21
More informationMeasuring the Good and the Bad in Inconsistent Information
Proceedings of the Twenty-Second International Joint Conference on Artificial Intelligence Measuring the Good and the Bad in Inconsistent Information John Grant Department of Computer Science, University
More informationMicroeconomics. Joana Pais. Fall Joana Pais
Microeconomics Fall 2016 Primitive notions There are four building blocks in any model of consumer choice. They are the consumption set, the feasible set, the preference relation, and the behavioural assumption.
More informationChapter 11: Automated Proof Systems (1)
Chapter 11: Automated Proof Systems (1) SYSTEM RS OVERVIEW Hilbert style systems are easy to define and admit a simple proof of the Completeness Theorem but they are difficult to use. Automated systems
More informationFilters in Analysis and Topology
Filters in Analysis and Topology David MacIver July 1, 2004 Abstract The study of filters is a very natural way to talk about convergence in an arbitrary topological space, and carries over nicely into
More informationOverview of Logic and Computation: Notes
Overview of Logic and Computation: Notes John Slaney March 14, 2007 1 To begin at the beginning We study formal logic as a mathematical tool for reasoning and as a medium for knowledge representation The
More informationMAGIC Set theory. lecture 1
MAGIC Set theory lecture 1 David Asperó University of East Anglia 15 October 2014 Welcome Welcome to this set theory course. This will be a 10 hour introduction to set theory. The only prerequisite is
More informationRelational Design Theory
Relational Design Theory CSE462 Database Concepts Demian Lessa/Jan Chomicki Department of Computer Science and Engineering State University of New York, Buffalo Fall 2013 Overview How does one design a
More informationCHAPTER 2 INTRODUCTION TO CLASSICAL PROPOSITIONAL LOGIC
CHAPTER 2 INTRODUCTION TO CLASSICAL PROPOSITIONAL LOGIC 1 Motivation and History The origins of the classical propositional logic, classical propositional calculus, as it was, and still often is called,
More informationPairing Transitive Closure and Reduction to Efficiently Reason about Partially Ordered Events
Pairing Transitive Closure and Reduction to Efficiently Reason about Partially Ordered Events Massimo Franceschet Angelo Montanari Dipartimento di Matematica e Informatica, Università di Udine Via delle
More informationChapter One. The Real Number System
Chapter One. The Real Number System We shall give a quick introduction to the real number system. It is imperative that we know how the set of real numbers behaves in the way that its completeness and
More informationProof Techniques (Review of Math 271)
Chapter 2 Proof Techniques (Review of Math 271) 2.1 Overview This chapter reviews proof techniques that were probably introduced in Math 271 and that may also have been used in a different way in Phil
More informationChapter 2. Assertions. An Introduction to Separation Logic c 2011 John C. Reynolds February 3, 2011
Chapter 2 An Introduction to Separation Logic c 2011 John C. Reynolds February 3, 2011 Assertions In this chapter, we give a more detailed exposition of the assertions of separation logic: their meaning,
More informationMA651 Topology. Lecture 9. Compactness 2.
MA651 Topology. Lecture 9. Compactness 2. This text is based on the following books: Topology by James Dugundgji Fundamental concepts of topology by Peter O Neil Elements of Mathematics: General Topology
More informationUpper Bounds on the Time and Space Complexity of Optimizing Additively Separable Functions
Upper Bounds on the Time and Space Complexity of Optimizing Additively Separable Functions Matthew J. Streeter Computer Science Department and Center for the Neural Basis of Cognition Carnegie Mellon University
More informationPropositional Logic Arguments (5A) Young W. Lim 11/8/16
Propositional Logic (5A) Young W. Lim Copyright (c) 2016 Young W. Lim. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version
More informationRussell s logicism. Jeff Speaks. September 26, 2007
Russell s logicism Jeff Speaks September 26, 2007 1 Russell s definition of number............................ 2 2 The idea of reducing one theory to another.................... 4 2.1 Axioms and theories.............................
More informationModal and temporal logic
Modal and temporal logic N. Bezhanishvili I. Hodkinson C. Kupke Imperial College London 1 / 83 Overview Part II 1 Soundness and completeness. Canonical models. 3 lectures. 2 Finite model property. Filtrations.
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 1, Solmaz Kolahi 2, and Laks V. S. Lakshmanan 2 1 Carleton University, Ottawa, Canada. bertossi@scs.carleton.ca
More information{x : P (x)} P (x) = x is a cat
1. Sets, relations and functions. 1.1. Set theory. We assume the reader is familiar with elementary set theory as it is used in mathematics today. Nonetheless, we shall now give a careful treatment of
More informationarxiv:math/ v1 [math.lo] 5 Mar 2007
Topological Semantics and Decidability Dmitry Sustretov arxiv:math/0703106v1 [math.lo] 5 Mar 2007 March 6, 2008 Abstract It is well-known that the basic modal logic of all topological spaces is S4. However,
More informationProving Completeness for Nested Sequent Calculi 1
Proving Completeness for Nested Sequent Calculi 1 Melvin Fitting abstract. Proving the completeness of classical propositional logic by using maximal consistent sets is perhaps the most common method there
More information