Axiomatizing Conditional Independence and Inclusion Dependencies

Size: px
Start display at page:

Download "Axiomatizing Conditional Independence and Inclusion Dependencies"

Transcription

1 Axiomatizing Conditional Independence and Inclusion Dependencies Miika Hannula University of Helsinki Miika Hannula (University of Helsinki) Axiomatizing Conditional Independence and Inclusion Dependencies / 20

2 Introduction We provide an axiomatization for the so-called conditional independence atoms (which correspond to EMVDs + FDs in database theory) and inclusion atoms taken together (a joint work with Kontinen). This work arises from the dependence logic/lax team semantics framework. Miika Hannula (University of Helsinki) Axiomatizing Conditional Independence and Inclusion Dependencies / 20

3 Axiomatizating Dependence Logic Dependence Logic (D) cannot be axiomatized: validity problem of D-formulas is of the same complexity as that of full second-order logic formulas. Miika Hannula (University of Helsinki) Axiomatizing Conditional Independence and Inclusion Dependencies / 20

4 Axiomatizating Dependence Logic Dependence Logic (D) cannot be axiomatized: validity problem of D-formulas is of the same complexity as that of full second-order logic formulas. We can axiomatize fragments of D (or variants) for which the logical consequence is (at least) semidecidable: for instance, first-order consequences of D-sentences (Kontinen and Väänänen, 2012) and of FO( c )-sentences (H. 2013). Miika Hannula (University of Helsinki) Axiomatizing Conditional Independence and Inclusion Dependencies / 20

5 Axiomatizating Dependence Logic Dependence Logic (D) cannot be axiomatized: validity problem of D-formulas is of the same complexity as that of full second-order logic formulas. We can axiomatize fragments of D (or variants) for which the logical consequence is (at least) semidecidable: for instance, first-order consequences of D-sentences (Kontinen and Väänänen, 2012) and of FO( c )-sentences (H. 2013). Axiomatizations of dependence atoms (+variants): Dependence atoms (Armstrong axioms for FDs, 1974), Pure independence atoms (Geiger, Paz and Pearl for probabilistic independence, 1991), Inclusion atoms (Casanova, Fagin and Papadimitrou for INDs, 1982). Miika Hannula (University of Helsinki) Axiomatizing Conditional Independence and Inclusion Dependencies / 20

6 Conditional Independence Atom A conditional independence atom y x z is defined for sequences of variables x, y, and z (which are not necessarily disjoint or of the same length). Its team semantics is defined as follows: TS-ind: X = y x z if and only if for any two s, s X which assign the same value to x there exists a s X which agrees with s with respect to x and y and with s with respect to z. Miika Hannula (University of Helsinki) Axiomatizing Conditional Independence and Inclusion Dependencies / 20

7 Conditional Independence Atom cont. Let X be a team and s, s X such that s(x) = s (x ), and assume that M = X y x z. x y z v s s Miika Hannula (University of Helsinki) Axiomatizing Conditional Independence and Inclusion Dependencies / 20

8 Conditional Independence Atom cont. Let X be a team and s, s X such that s(x) = s (x ), and assume that M = X y x z. Then we find s X as in the picture: x y z v s s s Miika Hannula (University of Helsinki) Axiomatizing Conditional Independence and Inclusion Dependencies / 20

9 Embedded Multivalued Dependency Conditional independence atom generalizes embedded multivalued dependency (EMVD) of database theory. For sets of attributes X, Y, Z, X Y Z is an EMVD, given the following semantic rule r = X Y Z if and only if for every t 0, t 1 r with t 0 [X ] = t 1 [X ] there is t 2 r such that t 2 [X ] = t 0 [X ], t 2 [Y ] = t 0 [Y ] and t 2 [Z \ XY ] = t 1 [Z \ XY ]. Hence X Y Z corresponds to the independence atom Y X Z \ XY. Miika Hannula (University of Helsinki) Axiomatizing Conditional Independence and Inclusion Dependencies / 20

10 Functional Dependency A functional dependency (FD) X Y which corresponds to the dependence atom =(X, Y ) can also be expressed as the conditional independence atom Y X Y. X Z Y V s s s s Miika Hannula (University of Helsinki) Axiomatizing Conditional Independence and Inclusion Dependencies / 20

11 Functional Dependency A functional dependency (FD) X Y which corresponds to the dependence atom =(X, Y ) can also be expressed as the conditional independence atom Y X Y. X Z Y V s s s s Hence, conditional independence atoms = EMVDs + FDs Miika Hannula (University of Helsinki) Axiomatizing Conditional Independence and Inclusion Dependencies / 20

12 Inclusion Atom An inclusion atom x y is defined for sequences of variables x and y of the same length (both possibly with repetitions). Its semantic rule is given as follows: TS-inc: X = x y if and only if for all s X there is s X such that s( x) = s ( y). Miika Hannula (University of Helsinki) Axiomatizing Conditional Independence and Inclusion Dependencies / 20

13 Axiomatizing { c, }-atoms Given a set Σ {φ} of { c, }-atoms, the implication problem Σ = φ is to decide whether X = φ for all teams X such that X = Σ. We will present a complete axiomatization of the implication problem for { c, }-atoms. Miika Hannula (University of Helsinki) Axiomatizing Conditional Independence and Inclusion Dependencies / 20

14 Axiomatizing { c, }-atoms Given a set Σ {φ} of { c, }-atoms, the implication problem Σ = φ is to decide whether X = φ for all teams X such that X = Σ. We will present a complete axiomatization of the implication problem for { c, }-atoms. Since the implication problem for EMVDs is undecidable (Herrmann, 1995), the same is true for { c, }-atoms taken together (i.e. EMVDs+FDs+INDs in database theory). How can we find complete axioms then? Miika Hannula (University of Helsinki) Axiomatizing Conditional Independence and Inclusion Dependencies / 20

15 Axiomatizing { c, }-atoms Given a set Σ {φ} of { c, }-atoms, the implication problem Σ = φ is to decide whether X = φ for all teams X such that X = Σ. We will present a complete axiomatization of the implication problem for { c, }-atoms. Since the implication problem for EMVDs is undecidable (Herrmann, 1995), the same is true for { c, }-atoms taken together (i.e. EMVDs+FDs+INDs in database theory). How can we find complete axioms then? One could axiomatize some larger class of dependencies where these additional dependencies would be needed at intermediate steps of derivations. Miika Hannula (University of Helsinki) Axiomatizing Conditional Independence and Inclusion Dependencies / 20

16 Axiomatizing { c, }-atoms Given a set Σ {φ} of { c, }-atoms, the implication problem Σ = φ is to decide whether X = φ for all teams X such that X = Σ. We will present a complete axiomatization of the implication problem for { c, }-atoms. Since the implication problem for EMVDs is undecidable (Herrmann, 1995), the same is true for { c, }-atoms taken together (i.e. EMVDs+FDs+INDs in database theory). How can we find complete axioms then? One could axiomatize some larger class of dependencies where these additional dependencies would be needed at intermediate steps of derivations. One could (implicitly) use existential/universal quantification. Miika Hannula (University of Helsinki) Axiomatizing Conditional Independence and Inclusion Dependencies / 20

17 Axioms for FDs+INDs The latter line is used in Mitchell s axiomatization (1983) for FDs and inclusion dependencies (INDs) taken together. The corresponding implication problem is known to be undecidable but the following finite set of rules is still sound and complete. Complete axioms for FDs alone (3). Complete axioms for INDs alone (3). (Identity) From AB CC and σ derive τ, where τ is obtained from σ by substituting A for one or more occurrences of B. (Pullback) From UV XY and X Y derive U V, where X = U. (Collection) From UV XY, UW XZ and X Y derive UVW XYZ, where X = U. (Attribute Introduction) From U V and V B derive UA VB. Miika Hannula (University of Helsinki) Axiomatizing Conditional Independence and Inclusion Dependencies / 20

18 Axioms for FDs+INDs cont. Note that Attribute Introduction from U V and V B derive UA VB, is not sound in the usual sense. For instance the following relation U V A B t t satisfies U V and V B, but not UA VB. Miika Hannula (University of Helsinki) Axiomatizing Conditional Independence and Inclusion Dependencies / 20

19 Axioms for FDs+INDs cont. Note that Attribute Introduction from U V and V B derive UA VB, is not sound in the usual sense. For instance the following relation U V A B t t satisfies U V and V B, but not UA VB. Soundness is obtained if we assume that the attribute A does not appear earlier in the proof, and no new variables of this kind are allowed to appear at the final step of a derivation. Hence, A should be thought of as implicitly existentially quantified. Miika Hannula (University of Helsinki) Axiomatizing Conditional Independence and Inclusion Dependencies / 20

20 Axioms for { c, }-atoms I In this style we can axiomatize { c, }-atoms also: 1 Reflexivity: x x. 2 Projection and Permutation: if x 1... x n y 1... y n, then x i1... x ik y i1... y ik, for each sequence i 1,..., i k of integers from {1,..., n}. 3 Transitivity: if x y y z, then x y. 4 Identity Rule: if ab cc φ, then φ, where φ is obtained from φ by replacing any number of occurrences of a by b. Miika Hannula (University of Helsinki) Axiomatizing Conditional Independence and Inclusion Dependencies / 20

21 Axioms for { c, }-atoms II 5 Inclusion Introduction: if a b, then ax bc, where x is a new variable. 6 Start Axiom: a c a x b a x a x a c where x is a sequence of pairwise distinct new variables. 7 Chase Rule: if y x z a b x y a c x z, then a b c x y z. 8 Final Rule: if a c a x b a x a b x a b c, then b a c. Miika Hannula (University of Helsinki) Axiomatizing Conditional Independence and Inclusion Dependencies / 20

22 Axioms for { c, }-atoms III A deduction from Σ is a sequence of formulas (φ 1,..., φ n ) such that: 1 Each φ i is either an element of Σ, an instance of Reflexivity or Start Axiom, or follows from one or more formulas of Σ {φ 1,..., φ i 1 } by one of the rules. 2 If φ i is an instance of Start Axiom (or follows from Σ {φ 1,..., φ i 1 } by Inclusion Introduction), then the new variables of x (or the new variable x) must not appear in Σ {φ 1,..., φ i 1 }. Miika Hannula (University of Helsinki) Axiomatizing Conditional Independence and Inclusion Dependencies / 20

23 Axioms for { c, }-atoms IV We say that φ is provable from Σ, written Σ φ, if there is a deduction (φ 1,..., φ n ) from Σ with φ = φ n and such that no variables in φ are new in φ 1,..., φ n. Miika Hannula (University of Helsinki) Axiomatizing Conditional Independence and Inclusion Dependencies / 20

24 On Soundness: Inclusion Introduction Definition If a b, then ax bc, where x is a new variable. This rule is sound if we interpret x as existentially quantified. For instance X = {s 0, s 1, s 2, s 3 } satisfies a b, and it can be extended to satisfy ax bc. a b c s s s s Miika Hannula (University of Helsinki) Axiomatizing Conditional Independence and Inclusion Dependencies / 20

25 On Soundness: Inclusion Introduction Definition If a b, then ax bc, where x is a new variable. This rule is sound if we interpret x as existentially quantified. For instance X = {s 0, s 1, s 2, s 3 } satisfies a b, and it can be extended to satisfy ax bc. a b c x s s s s Miika Hannula (University of Helsinki) Axiomatizing Conditional Independence and Inclusion Dependencies / 20

26 On Soundness: Start Axiom Definition a c a x b a x a x a c where x is a sequence of pairwise distinct new variables. This rule is sound if we interpret x as existentially quantified in the (lax) team semantics sense: Definition (Ex. Quant. in TS) M = X vψ if and only if there is a function F : X P(M)\{ } such that M = X [F /v] ψ, where X [F /v] = {s[m/v] : s X, m F (s)}. Miika Hannula (University of Helsinki) Axiomatizing Conditional Independence and Inclusion Dependencies / 20

27 On Soundness: Start Axiom cont. Definition a c a x b a x a x a c where x is a sequence of pairwise distinct new variables. Let X be a team. If we extend each assignment s X with a set of values for x as below, then X satisfies ac ax b a x ax ac. a b c... s Miika Hannula (University of Helsinki) Axiomatizing Conditional Independence and Inclusion Dependencies / 20

28 On Soundness: Start Axiom cont. Definition a c a x b a x a x a c where x is a sequence of pairwise distinct new variables. Let X be a team. If we extend each assignment s X with a set of values for x as below, then X satisfies ac ax b a x ax ac. a b c x.... s {s (c) : s X, s (a) = 1}.... Miika Hannula (University of Helsinki) Axiomatizing Conditional Independence and Inclusion Dependencies / 20

29 Soundness: Conclusion Theorem Let Σ {φ} be a finite set of conditional independence and inclusion atoms. Then Σ = φ if Σ φ. Proof. Idea. Assume that X = Σ; we have to show that X = φ. By the assumption there is a deduction (φ 1,..., φ n ) from Σ with φ = φ n and such that no variables in φ are new in φ 1,..., φ n. By the previous considerations we find a team X = φ which extends X with values for the new variables. Since no new variables appear in φ, we obtain that X = φ. Miika Hannula (University of Helsinki) Axiomatizing Conditional Independence and Inclusion Dependencies / 20

30 On completeness Theorem Let Σ {φ} be a finite set of conditional independence and inclusion atoms. Then Σ φ if Σ = φ. Proof. Idea. A chase characterization of the implication problem is presented: for each Σ {φ}, we inductively construct an infinite graph G Σ,φ, consisting of nodes and labeled edges, and such that Σ = φ exactly when we find a node v G Σ,φ which is connected to the initial stage in a certain way. The construction of G Σ,φ can be simulated in our axiom system from which the result will follow. Miika Hannula (University of Helsinki) Axiomatizing Conditional Independence and Inclusion Dependencies / 20

Hierarchies in independence logic

Hierarchies in independence logic Hierarchies in independence logic Pietro Galliani, Miika Hannula, and Juha Kontinen University of Helsinki, Department of Mathematics and Statistics, P.O. Box 68, 00014 Helsinki, Finland pgallian@gmail.com,

More information

On the Interaction of Inclusion Dependencies with Independence Atoms

On the Interaction of Inclusion Dependencies with Independence Atoms EPiC Series in Computing Volume 46, 2017, Pages 212 226 LPAR-21. 21st International Conference on Logic for Programming, Artificial Intelligence and Reasoning On the Interaction of Inclusion Dependencies

More information

arxiv: v1 [cs.db] 17 Apr 2014

arxiv: v1 [cs.db] 17 Apr 2014 On Independence Atoms and Keys Miika Hannula 1, Juha Kontinen 1, and Sebastian Link 2 arxiv:14044468v1 [csdb] 17 Apr 2014 1 University of Helsinki, Department of Mathematics and Statistics, Helsinki, Finland

More information

Corrigendum to On the undecidability of implications between embedded multivalued database dependencies [Inform. and Comput. 122 (1995) ]

Corrigendum to On the undecidability of implications between embedded multivalued database dependencies [Inform. and Comput. 122 (1995) ] Information and Computation 204 (2006) 1847 1851 www.elsevier.com/locate/ic Corrigendum Corrigendum to On the undecidability of implications between embedded multivalued database dependencies [Inform.

More information

On Dependence Logic. Pietro Galliani Department of Mathematics and Statistics University of Helsinki, Finland

On Dependence Logic. Pietro Galliani Department of Mathematics and Statistics University of Helsinki, Finland On Dependence Logic Pietro Galliani Department of Mathematics and Statistics University of Helsinki, Finland Jouko Väänänen Department of Mathematics and Statistics University of Helsinki, Finland and

More information

Preliminaries. Introduction to EF-games. Inexpressivity results for first-order logic. Normal forms for first-order logic

Preliminaries. Introduction to EF-games. Inexpressivity results for first-order logic. Normal forms for first-order logic Introduction to EF-games Inexpressivity results for first-order logic Normal forms for first-order logic Algorithms and complexity for specific classes of structures General complexity bounds Preliminaries

More information

03 Review of First-Order Logic

03 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 information

First-Order Logic. 1 Syntax. Domain of Discourse. FO Vocabulary. Terms

First-Order Logic. 1 Syntax. Domain of Discourse. FO Vocabulary. Terms First-Order Logic 1 Syntax Domain of Discourse The domain of discourse for first order logic is FO structures or models. A FO structure contains Relations Functions Constants (functions of arity 0) FO

More information

Abstract model theory for extensions of modal logic

Abstract model theory for extensions of modal logic Abstract model theory for extensions of modal logic Balder ten Cate Stanford, May 13, 2008 Largely based on joint work with Johan van Benthem and Jouko Väänänen Balder ten Cate Abstract model theory for

More information

Guaranteeing No Interaction Between Functional Dependencies and Tree-Like Inclusion Dependencies

Guaranteeing 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 information

What 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 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 information

Plan 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. 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 information

Model Checking for Modal Intuitionistic Dependence Logic

Model Checking for Modal Intuitionistic Dependence Logic 1/71 Model Checking for Modal Intuitionistic Dependence Logic Fan Yang Department of Mathematics and Statistics University of Helsinki Logical Approaches to Barriers in Complexity II Cambridge, 26-30 March,

More information

Herbrand Theorem, Equality, and Compactness

Herbrand Theorem, Equality, and Compactness CSC 438F/2404F Notes (S. Cook and T. Pitassi) Fall, 2014 Herbrand Theorem, Equality, and Compactness The Herbrand Theorem We now consider a complete method for proving the unsatisfiability of sets of first-order

More information

First-Order Logic First-Order Theories. Roopsha Samanta. Partly based on slides by Aaron Bradley and Isil Dillig

First-Order Logic First-Order Theories. Roopsha Samanta. Partly based on slides by Aaron Bradley and Isil Dillig First-Order Logic First-Order Theories Roopsha Samanta Partly based on slides by Aaron Bradley and Isil Dillig Roadmap Review: propositional logic Syntax and semantics of first-order logic (FOL) Semantic

More information

Approximation and dependence via multiteam semantics

Approximation and dependence via multiteam semantics https://helda.helsinki.fi Approximation and dependence via multiteam semantics Durand, Arnaud 2018-08 Durand, A, Hannula, M, Kontinen, J, Meier, A & Virtema, J 2018, ' Approximation and dependence via

More information

Propositional and Predicate Logic - IV

Propositional and Predicate Logic - IV Propositional and Predicate Logic - IV Petr Gregor KTIML MFF UK ZS 2015/2016 Petr Gregor (KTIML MFF UK) Propositional and Predicate Logic - IV ZS 2015/2016 1 / 19 Tableau method (from the previous lecture)

More information

UVA UVA UVA UVA. Database Design. Relational Database Design. Functional Dependency. Loss of Information

UVA 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 information

Relational Database Design

Relational 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 information

TR : Binding Modalities

TR : Binding Modalities City University of New York (CUNY) CUNY Academic Works Computer Science Technical Reports Graduate Center 2012 TR-2012011: Binding Modalities Sergei N. Artemov Tatiana Yavorskaya (Sidon) Follow this and

More information

Finite and Algorithmic Model Theory II: Automata-Based Methods

Finite and Algorithmic Model Theory II: Automata-Based Methods Finite and Algorithmic Model Theory II: Automata-Based Methods Anuj Dawar University of Cambridge Computer Laboratory Simons Institute, 30 August 2016 Review We aim to develop tools for studying the expressive

More information

Model Theory MARIA MANZANO. University of Salamanca, Spain. Translated by RUY J. G. B. DE QUEIROZ

Model Theory MARIA MANZANO. University of Salamanca, Spain. Translated by RUY J. G. B. DE QUEIROZ Model Theory MARIA MANZANO University of Salamanca, Spain Translated by RUY J. G. B. DE QUEIROZ CLARENDON PRESS OXFORD 1999 Contents Glossary of symbols and abbreviations General introduction 1 xix 1 1.0

More information

Chapter 1 : The language of mathematics.

Chapter 1 : The language of mathematics. MAT 200, Logic, Language and Proof, Fall 2015 Summary Chapter 1 : The language of mathematics. Definition. A proposition is a sentence which is either true or false. Truth table for the connective or :

More information

Learning Goals of CS245 Logic and Computation

Learning Goals of CS245 Logic and Computation Learning Goals of CS245 Logic and Computation Alice Gao April 27, 2018 Contents 1 Propositional Logic 2 2 Predicate Logic 4 3 Program Verification 6 4 Undecidability 7 1 1 Propositional Logic Introduction

More information

Logic Part II: Intuitionistic Logic and Natural Deduction

Logic Part II: Intuitionistic Logic and Natural Deduction Yesterday Remember yesterday? classical logic: reasoning about truth of formulas propositional logic: atomic sentences, composed by connectives validity and satisability can be decided by truth tables

More information

Predicate Calculus. Formal Methods in Verification of Computer Systems Jeremy Johnson

Predicate Calculus. Formal Methods in Verification of Computer Systems Jeremy Johnson Predicate Calculus Formal Methods in Verification of Computer Systems Jeremy Johnson Outline 1. Motivation 1. Variables, quantifiers and predicates 2. Syntax 1. Terms and formulas 2. Quantifiers, scope

More information

A Tableau-Based Decision Procedure for Right Propositional Neighborhood Logic (RPNL )

A Tableau-Based Decision Procedure for Right Propositional Neighborhood Logic (RPNL ) A Tableau-Based Decision Procedure for Right Propositional Neighborhood Logic (RPNL ) Davide Bresolin Angelo Montanari Dipartimento di Matematica e Informatica Università degli Studi di Udine {bresolin,

More information

Logic: The Big Picture

Logic: The Big Picture Logic: The Big Picture A typical logic is described in terms of syntax: what are the legitimate formulas semantics: under what circumstances is a formula true proof theory/ axiomatization: rules for proving

More information

GENERALIZED QUANTIFIERS IN DEPENDENCE LOGIC

GENERALIZED QUANTIFIERS IN DEPENDENCE LOGIC GENERALIZED QUANTIFIERS IN DEPENDENCE LOGIC FREDRIK ENGSTRÖM Abstract. We introduce generalized quantifiers, as defined in Tarskian semantics by Mostowski and Lindström, in logics whose semantics is based

More information

Example. Lemma. Proof Sketch. 1 let A be a formula that expresses that node t is reachable from s

Example. Lemma. Proof Sketch. 1 let A be a formula that expresses that node t is reachable from s Summary Summary Last Lecture Computational Logic Π 1 Γ, x : σ M : τ Γ λxm : σ τ Γ (λxm)n : τ Π 2 Γ N : τ = Π 1 [x\π 2 ] Γ M[x := N] Georg Moser Institute of Computer Science @ UIBK Winter 2012 the proof

More information

Bound and Free Variables. Theorems and Proofs. More valid formulas involving quantifiers:

Bound and Free Variables. Theorems and Proofs. More valid formulas involving quantifiers: Bound and Free Variables More valid formulas involving quantifiers: xp(x) x P(x) Replacing P by P, we get: x P(x) x P(x) Therefore x P(x) xp(x) Similarly, we have xp(x) x P(x) x P(x) xp(x) i(i 2 > i) is

More information

Team Semantics and Recursive Enumerability

Team Semantics and Recursive Enumerability Team Semantics and Recursive Enumerability Antti Kuusisto University of Wroc law, Poland, Technical University of Denmark Stockholm University, Sweden antti.j.kuusisto@uta.fi Abstract. It is well known

More information

a. (6.25 points) where we let b. (6.25 points) c. (6.25 points) d. (6.25 points) B 3 =(x)[ H(x) F (x)], and (11)

a. (6.25 points) where we let b. (6.25 points) c. (6.25 points) d. (6.25 points) B 3 =(x)[ H(x) F (x)], and (11) A1 Logic (25 points) For each of the following either prove it step-by-step using resolution or another sound and complete technique of your stated choice or disprove it by exhibiting in detail a relevant

More information

Model-Checking Games for Logics of Imperfect Information

Model-Checking Games for Logics of Imperfect Information Model-Checking Games for Logics of Imperfect Information Erich Grädel a a Mathematische Grundlagen der Informatik, RWTH Aachen University, Germany Abstract Logics of dependence and independence have semantics

More information

On the Complexity of the Reflected Logic of Proofs

On 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 information

Predicate Calculus. CS 270 Math Foundations of Computer Science Jeremy Johnson

Predicate Calculus. CS 270 Math Foundations of Computer Science Jeremy Johnson Predicate Calculus CS 270 Math Foundations of Computer Science Jeremy Johnson Presentation uses material from Huth and Ryan, Logic in Computer Science: Modelling and Reasoning about Systems, 2nd Edition

More information

Formalizing Arrow s Theorem in Logics of Dependence and Independence

Formalizing Arrow s Theorem in Logics of Dependence and Independence 1/22 Formalizing Arrow s Theorem in Logics of Dependence and Independence Fan Yang Delft University of Technology Logics for Social Behaviour ETH Zürich 8-11 February, 2016 Joint work with Eric Pacuit

More information

Schema Refinement: Other Dependencies and Higher Normal Forms

Schema 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 information

Properties of Relational Logic

Properties of Relational Logic Computational Logic Lecture 8 Properties of Relational Logic Michael Genesereth Autumn 2011 Programme Expressiveness What we can say in First-Order Logic And what we cannot Semidecidability and Decidability

More information

GS03/4023: Validation and Verification Predicate Logic Jonathan P. Bowen Anthony Hall

GS03/4023: Validation and Verification Predicate Logic Jonathan P. Bowen   Anthony Hall GS03/4023: Validation and Verification Predicate Logic Jonathan P. Bowen www.cs.ucl.ac.uk/staff/j.bowen/gs03 Anthony Hall GS03 W1 L3 Predicate Logic 12 January 2007 1 Overview The need for extra structure

More information

Contents Propositional Logic: Proofs from Axioms and Inference Rules

Contents Propositional Logic: Proofs from Axioms and Inference Rules Contents 1 Propositional Logic: Proofs from Axioms and Inference Rules... 1 1.1 Introduction... 1 1.1.1 An Example Demonstrating the Use of Logic in Real Life... 2 1.2 The Pure Propositional Calculus...

More information

1. Propositional Calculus

1. 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 information

AN EXTENSION OF THE PROBABILITY LOGIC LP P 2. Tatjana Stojanović 1, Ana Kaplarević-Mališić 1 and Zoran Ognjanović 2

AN EXTENSION OF THE PROBABILITY LOGIC LP P 2. Tatjana Stojanović 1, Ana Kaplarević-Mališić 1 and Zoran Ognjanović 2 45 Kragujevac J. Math. 33 (2010) 45 62. AN EXTENSION OF THE PROBABILITY LOGIC LP P 2 Tatjana Stojanović 1, Ana Kaplarević-Mališić 1 and Zoran Ognjanović 2 1 University of Kragujevac, Faculty of Science,

More information

2.2 Lowenheim-Skolem-Tarski theorems

2.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

Marketing Impact on Diffusion in Social Networks

Marketing Impact on Diffusion in Social Networks Marketing Impact on Diffusion in Social Networks Pavel Naumov Vassar College, Poughkeepsie, New York, USA Jia Tao The College of New Jersey, Ewing, New Jersey, USA Abstract The article proposes a way to

More information

Propositional and Predicate Logic - XIII

Propositional and Predicate Logic - XIII Propositional and Predicate Logic - XIII Petr Gregor KTIML MFF UK WS 2016/2017 Petr Gregor (KTIML MFF UK) Propositional and Predicate Logic - XIII WS 2016/2017 1 / 22 Undecidability Introduction Recursive

More information

Chapter 3: Propositional Calculus: Deductive Systems. September 19, 2008

Chapter 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 information

Examples: P: it is not the case that P. P Q: P or Q P Q: P implies Q (if P then Q) Typical formula:

Examples: P: it is not the case that P. P Q: P or Q P Q: P implies Q (if P then Q) Typical formula: Logic: The Big Picture Logic is a tool for formalizing reasoning. There are lots of different logics: probabilistic logic: for reasoning about probability temporal logic: for reasoning about time (and

More information

Syntax. Notation Throughout, and when not otherwise said, we assume a vocabulary V = C F P.

Syntax. Notation Throughout, and when not otherwise said, we assume a vocabulary V = C F P. First-Order Logic Syntax The alphabet of a first-order language is organised into the following categories. Logical connectives:,,,,, and. Auxiliary symbols:.,,, ( and ). Variables: we assume a countable

More information

Informal Statement Calculus

Informal 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 information

First Order Logic: Syntax and Semantics

First Order Logic: Syntax and Semantics CS1081 First Order Logic: Syntax and Semantics COMP30412 Sean Bechhofer sean.bechhofer@manchester.ac.uk Problems Propositional logic isn t very expressive As an example, consider p = Scotland won on Saturday

More information

Infinite and Finite Model Theory Part II

Infinite and Finite Model Theory Part II Infinite and Finite Model Theory Part II Anuj Dawar Computer Laboratory University of Cambridge Lent 2002 3/2002 0 Finite Model Theory Finite Model Theory motivated by computational issues; relationship

More information

DEFINABILITY OF SECOND ORDER GENERALIZED QUANTIFIERS JUHA KONTINEN

DEFINABILITY OF SECOND ORDER GENERALIZED QUANTIFIERS JUHA KONTINEN DEFINABILITY OF SECOND ORDER GENERALIZED QUANTIFIERS JUHA KONTINEN Academic dissertation To be presented, with the permission of the Faculty of Science of the University of Helsinki, for public criticism

More information

First Order Logic (FOL) 1 znj/dm2017

First Order Logic (FOL) 1   znj/dm2017 First Order Logic (FOL) 1 http://lcs.ios.ac.cn/ znj/dm2017 Naijun Zhan March 19, 2017 1 Special thanks to Profs Hanpin Wang (PKU) and Lijun Zhang (ISCAS) for their courtesy of the slides on this course.

More information

Relations to first order logic

Relations to first order logic An Introduction to Description Logic IV Relations to first order logic Marco Cerami Palacký University in Olomouc Department of Computer Science Olomouc, Czech Republic Olomouc, November 6 th 2014 Marco

More information

An Independence Relation for Sets of Secrets

An Independence Relation for Sets of Secrets Sara Miner More Pavel Naumov An Independence Relation for Sets of Secrets Abstract. A relation between two secrets, known in the literature as nondeducibility, was originally introduced by Sutherland.

More information

Special Topics on Applied Mathematical Logic

Special Topics on Applied Mathematical Logic Special Topics on Applied Mathematical Logic Spring 2012 Lecture 04 Jie-Hong Roland Jiang National Taiwan University March 20, 2012 Outline First-Order Logic Truth and Models (Semantics) Logical Implication

More information

Lecturecise 22 Weak monadic second-order theory of one successor (WS1S)

Lecturecise 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 information

Model Theory of Modal Logic Lecture 5. Valentin Goranko Technical University of Denmark

Model Theory of Modal Logic Lecture 5. Valentin Goranko Technical University of Denmark Model Theory of Modal Logic Lecture 5 Valentin Goranko Technical University of Denmark Third Indian School on Logic and its Applications Hyderabad, January 29, 2010 Model Theory of Modal Logic Lecture

More information

TR : Possible World Semantics for First Order LP

TR : Possible World Semantics for First Order LP City University of New York (CUNY) CUNY Academic Works Computer Science Technical Reports Graduate Center 2011 TR-2011010: Possible World Semantics for First Order LP Melvin Fitting Follow this and additional

More information

Logic. Propositional Logic: Syntax

Logic. Propositional Logic: Syntax Logic Propositional Logic: Syntax Logic is a tool for formalizing reasoning. There are lots of different logics: probabilistic logic: for reasoning about probability temporal logic: for reasoning about

More information

Classical Propositional Logic

Classical 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 information

Introduction to Model Theory

Introduction to Model Theory Introduction to Model Theory Jouko Väänänen 1,2 1 Department of Mathematics and Statistics, University of Helsinki 2 Institute for Logic, Language and Computation, University of Amsterdam Beijing, June

More information

Recursion Theory. Joost J. Joosten

Recursion Theory. Joost J. Joosten Recursion Theory Joost J. Joosten Institute for Logic Language and Computation University of Amsterdam Plantage Muidergracht 24 1018 TV Amsterdam Room P 3.26, +31 20 5256095 jjoosten@phil.uu.nl www.phil.uu.nl/

More information

Overview. CS389L: Automated Logical Reasoning. Lecture 7: Validity Proofs and Properties of FOL. Motivation for semantic argument method

Overview. CS389L: Automated Logical Reasoning. Lecture 7: Validity Proofs and Properties of FOL. Motivation for semantic argument method Overview CS389L: Automated Logical Reasoning Lecture 7: Validity Proofs and Properties of FOL Agenda for today: Semantic argument method for proving FOL validity Işıl Dillig Important properties of FOL

More information

Proof mining and positive-bounded logic

Proof mining and positive-bounded logic Institute of Mathematics of the Romanian Academy & University of Bucharest September 12, 2016 Colloquium Logicum Hamburg, Germany Proof mining Proof mining (introduced and developed by U. Kohlenbach) aims

More information

Semantics of intuitionistic propositional logic

Semantics of intuitionistic propositional logic Semantics of intuitionistic propositional logic Erik Palmgren Department of Mathematics, Uppsala University Lecture Notes for Applied Logic, Fall 2009 1 Introduction Intuitionistic logic is a weakening

More information

ISAAC GOLDBRING AND THOMAS SINCLAIR

ISAAC GOLDBRING AND THOMAS SINCLAIR ON THE AXIOMATIZABILITY OF C -ALGEBRAS AS OPERATOR SYSTEMS ISAAC GOLDBRING AND THOMAS SINCLAIR Abstract. We show that the class of unital C -algebras is an elementary class in the language of operator

More information

Lecture 1: Logical Foundations

Lecture 1: Logical Foundations Lecture 1: Logical Foundations Zak Kincaid January 13, 2016 Logics have two components: syntax and semantics Syntax: defines the well-formed phrases of the language. given by a formal grammar. Typically

More information

Temporal Logic - Soundness and Completeness of L

Temporal Logic - Soundness and Completeness of L Temporal Logic - Soundness and Completeness of L CS402, Spring 2018 Soundness Theorem 1 (14.12) Let A be an LTL formula. If L A, then A. Proof. We need to prove the axioms and two inference rules to be

More information

Axiomatic set theory. Chapter Why axiomatic set theory?

Axiomatic 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 information

NOTES ON CONGRUENCE n-permutability AND SEMIDISTRIBUTIVITY

NOTES ON CONGRUENCE n-permutability AND SEMIDISTRIBUTIVITY NOTES ON CONGRUENCE n-permutability AND SEMIDISTRIBUTIVITY RALPH FREESE Abstract. In [1] T. Dent, K. Kearnes and Á. Szendrei define the derivative, Σ, of a set of equations Σ and show, for idempotent Σ,

More information

Semantics and Pragmatics of NLP

Semantics and Pragmatics of NLP Semantics and Pragmatics of NLP Alex Ewan School of Informatics University of Edinburgh 28 January 2008 1 2 3 Taking Stock We have: Introduced syntax and semantics for FOL plus lambdas. Represented FOL

More information

Applied Logic for Computer Scientists. Answers to Some Exercises

Applied Logic for Computer Scientists. Answers to Some Exercises Applied Logic for Computer Scientists Computational Deduction and Formal Proofs Springer, 2017 doi: http://link.springer.com/book/10.1007%2f978-3-319-51653-0 Answers to Some Exercises Mauricio Ayala-Rincón

More information

Algebraizing Hybrid Logic. Evangelos Tzanis University of Amsterdam Institute of Logic, Language and Computation

Algebraizing Hybrid Logic. Evangelos Tzanis University of Amsterdam Institute of Logic, Language and Computation Algebraizing Hybrid Logic Evangelos Tzanis University of Amsterdam Institute of Logic, Language and Computation etzanis@science.uva.nl May 1, 2005 2 Contents 1 Introduction 5 1.1 A guide to this thesis..........................

More information

Connectivity. Topics in Logic and Complexity Handout 7. Proof. Proof. Consider the signature (E, <).

Connectivity. Topics in Logic and Complexity Handout 7. Proof. Proof. Consider the signature (E, <). 1 2 Topics in Logic and Complexity Handout 7 Anuj Dawar MPhil Advanced Computer Science, Lent 2010 Consider the signature (E,

More information

Mathematical Logic. Reasoning in First Order Logic. Chiara Ghidini. FBK-IRST, Trento, Italy

Mathematical Logic. Reasoning in First Order Logic. Chiara Ghidini. FBK-IRST, Trento, Italy Reasoning in First Order Logic FBK-IRST, Trento, Italy April 12, 2013 Reasoning tasks in FOL Model checking Question: Is φ true in the interpretation I with the assignment a? Answer: Yes if I = φ[a]. No

More information

NONSTANDARD MODELS AND KRIPKE S PROOF OF THE GÖDEL THEOREM

NONSTANDARD MODELS AND KRIPKE S PROOF OF THE GÖDEL THEOREM Notre Dame Journal of Formal Logic Volume 41, Number 1, 2000 NONSTANDARD MODELS AND KRIPKE S PROOF OF THE GÖDEL THEOREM HILARY PUTNAM Abstract This lecture, given at Beijing University in 1984, presents

More information

Modal logics: an introduction

Modal logics: an introduction Modal logics: an introduction Valentin Goranko DTU Informatics October 2010 Outline Non-classical logics in AI. Variety of modal logics. Brief historical remarks. Basic generic modal logic: syntax and

More information

Chapter 6: Computation Tree Logic

Chapter 6: Computation Tree Logic Chapter 6: Computation Tree Logic Prof. Ali Movaghar Verification of Reactive Systems Outline We introduce Computation Tree Logic (CTL), a branching temporal logic for specifying system properties. A comparison

More information

Decision Problems with TM s. Lecture 31: Halting Problem. Universe of discourse. Semi-decidable. Look at following sets: CSCI 81 Spring, 2012

Decision Problems with TM s. Lecture 31: Halting Problem. Universe of discourse. Semi-decidable. Look at following sets: CSCI 81 Spring, 2012 Decision Problems with TM s Look at following sets: Lecture 31: Halting Problem CSCI 81 Spring, 2012 Kim Bruce A TM = { M,w M is a TM and w L(M)} H TM = { M,w M is a TM which halts on input w} TOTAL TM

More information

Př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 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 information

Finitude and Infinitude in the Atomic Calculus of Individuals

Finitude and Infinitude in the Atomic Calculus of Individuals Finitude and Infinitude in the Atomic Calculus of Individuals WILFRID HODGES AND DAVID LEWIS BEDFORD COLLEGE, LONDON, AND UNIVERSITY OF CALIFORNIA AT LOS ANGELES Nelson Goodman has asked' whether there

More information

Inclusion and Exclusion Dependencies in Team Semantics On some logics of imperfect information

Inclusion and Exclusion Dependencies in Team Semantics On some logics of imperfect information Inclusion and Exclusion Dependencies in Team Semantics On some logics of imperfect information Pietro Galliani Faculteit der Natuurwetenschappen, Wiskunde en Informatica Institute for Logic, Language and

More information

Propositional Logic: Syntax

Propositional Logic: Syntax Logic Logic is a tool for formalizing reasoning. There are lots of different logics: probabilistic logic: for reasoning about probability temporal logic: for reasoning about time (and programs) epistemic

More information

185.A09 Advanced Mathematical Logic

185.A09 Advanced Mathematical Logic 185.A09 Advanced Mathematical Logic www.volny.cz/behounek/logic/teaching/mathlog13 Libor Běhounek, behounek@cs.cas.cz Lecture #1, October 15, 2013 Organizational matters Study materials will be posted

More information

FINITE MODEL THEORY (MATH 285D, UCLA, WINTER 2017) LECTURE NOTES IN PROGRESS

FINITE MODEL THEORY (MATH 285D, UCLA, WINTER 2017) LECTURE NOTES IN PROGRESS FINITE MODEL THEORY (MATH 285D, UCLA, WINTER 2017) LECTURE NOTES IN PROGRESS ARTEM CHERNIKOV 1. Intro Motivated by connections with computational complexity (mostly a part of computer scientice today).

More information

Peano Arithmetic. CSC 438F/2404F Notes (S. Cook) Fall, Goals Now

Peano Arithmetic. CSC 438F/2404F Notes (S. Cook) Fall, Goals Now CSC 438F/2404F Notes (S. Cook) Fall, 2008 Peano Arithmetic Goals Now 1) We will introduce a standard set of axioms for the language L A. The theory generated by these axioms is denoted PA and called Peano

More information

Finite Model Theory Tutorial. Lecture 1

Finite Model Theory Tutorial. Lecture 1 1 Finite Model Theory Tutorial Lecture 1 Anuj Dawar University of Cambridge Modnet Summer School, Manchester, 14-18 July 2008 2 Finite Model Theory In the 1980s, the term finite model theory came to be

More information

Lecture 2: Syntax. January 24, 2018

Lecture 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 information

COMP 409: Logic Homework 5

COMP 409: Logic Homework 5 COMP 409: Logic Homework 5 Note: The pages below refer to the text from the book by Enderton. 1. Exercises 1-6 on p. 78. 1. Translate into this language the English sentences listed below. If the English

More information

Information Flow on Directed Acyclic Graphs

Information Flow on Directed Acyclic Graphs Information Flow on Directed Acyclic Graphs Michael Donders, Sara Miner More, and Pavel Naumov Department of Mathematics and Computer Science McDaniel College, Westminster, Maryland 21157, USA {msd002,smore,pnaumov}@mcdaniel.edu

More information

Sequent calculus for predicate logic

Sequent calculus for predicate logic CHAPTER 13 Sequent calculus for predicate logic 1. Classical sequent calculus The axioms and rules of the classical sequent calculus are: Axioms { Γ, ϕ, ϕ for atomic ϕ Γ, Left Γ,α 1,α 2 Γ,α 1 α 2 Γ,β 1

More information

Grammatical resources: logic, structure and control

Grammatical resources: logic, structure and control Grammatical resources: logic, structure and control Michael Moortgat & Dick Oehrle 1 Grammatical composition.................................. 5 1.1 Grammar logic: the vocabulary.......................

More information

Design Theory: Functional Dependencies and Normal Forms, Part I Instructor: Shel Finkelstein

Design Theory: Functional Dependencies and Normal Forms, Part I Instructor: Shel Finkelstein Design Theory: Functional Dependencies and Normal Forms, Part I Instructor: Shel Finkelstein Reference: A First Course in Database Systems, 3 rd edition, Chapter 3 Important Notices CMPS 180 Final Exam

More information

Nonclassical logics (Nichtklassische Logiken)

Nonclassical logics (Nichtklassische Logiken) Nonclassical logics (Nichtklassische Logiken) VU 185.249 (lecture + exercises) http://www.logic.at/lvas/ncl/ Chris Fermüller Technische Universität Wien www.logic.at/people/chrisf/ chrisf@logic.at Winter

More information

Introduction to Logic in Computer Science: Autumn 2007

Introduction to Logic in Computer Science: Autumn 2007 Introduction to Logic in Computer Science: Autumn 2007 Ulle Endriss Institute for Logic, Language and Computation University of Amsterdam Ulle Endriss 1 Tableaux for First-order Logic The next part of

More information

Syntax of FOL. Introduction to Logic in Computer Science: Autumn Tableaux for First-order Logic. Syntax of FOL (2)

Syntax of FOL. Introduction to Logic in Computer Science: Autumn Tableaux for First-order Logic. Syntax of FOL (2) Syntax of FOL Introduction to Logic in Computer Science: Autumn 2007 Ulle Endriss Institute for Logic, Language and Computation University of Amsterdam The syntax of a language defines the way in which

More information

Predicate Calculus - Semantics 1/4

Predicate Calculus - Semantics 1/4 Predicate Calculus - Semantics 1/4 Moonzoo Kim CS Dept. KAIST moonzoo@cs.kaist.ac.kr 1 Introduction to predicate calculus (1/2) Propositional logic (sentence logic) dealt quite satisfactorily with sentences

More information

Craig Interpolation Theorem for L!1! (or L!! )

Craig Interpolation Theorem for L!1! (or L!! ) Craig Interpolation Theorem for L!1! (or L!! ) Theorem We assume that L 1 and L 2 are vocabularies. Suppose =!, where is an L 1 -sentence and is an L 2 -sentence of L!!. Then there is an L 1 \ L 2 -sentence

More information