The Lattice of All Clones Definable by Binary Relations on a Three-Element Set

Size: px
Start display at page:

Download "The Lattice of All Clones Definable by Binary Relations on a Three-Element Set"

Transcription

1 1 The Lattice of All Clones Definable by Binary Relations on a Three-Element Set Stanislav V. Moiseev <stanislav.moiseev@gmail.com> The 94th Workshop on General Algebra (AAA94) Novi Sad, Serbia, June 15 18, 2017

2 2 What is Studied: Relational Clones Let R k be the set of all finitary predicates on {0, 1,..., k 1}. Definition. M R k is called a relational clone if 1. {false (0), true (0), eq (2) } M; 2. and M is closed under primitive positive formulas: p (r1) 1 M,..., p (rn) n M, ( ) p (r) (x 1,..., x r ) = y 1... y s p (r1) 1 (z 1,1,..., z 1,r1 )... p (rn) n (z n,1,..., z n,rn ) = p (r) M (s 0, n 0; z k,j is one of the symbols: x 1,..., x r, y 1,..., y s ).

3 3 What is Studied: Closure Operator for Predicates Definition. We say that p is generated from M if p {false (0), true (0), eq (2) } or if p can be expressed as a primitive positive formula: p (r) (x 1,..., x r ) = ( ) = y 1... y s p (r1) 1 (z 1,1,..., z 1,r1 )... p (rn) n (z n,1,..., z n,rn ) The set of all predicates generated from M we denote as [M] p.p.

4 4 What is Studied: Finitely Generated Relational Clones Definition. A relational clone M is finitely generated if M 0 M: (M 0 is finite) (M = [M 0 ] p.p. ). Definition. Degree of a (finitely generated) relational clone M is the smallest number r such that M = [M R k (r)] p.p. where R k (r) is the set of all predicates of arity r on {0, 1,..., k 1}.

5 What is Studied: Finitely Generated Relational Clones Number of relational clones of degree r on k-element set. r = 2 r = 3 r = 4 k = k = 3? > 2 50 > k = 4 > 2 60 > > Figures for k = 2 are known from Блохина Г. Н. О предикатном описании классов Поста. Дискретный анализ 16, (1970). 2 Figures in red are known from Dmitriy Zhuk, Stanislav Moiseev. On the Clones Containing a Near-Unanimity Function. 5 ISMVL 2013:

6 6 Our Aim Construct all relational clones of degree 2 on three-element set: { M M = [M R 3 (2)] p.p. } =?

7 7 Our Tools and Obstacles Main tool Generation of predicates. Main obstacle There are infinitely many primitive positive formulas p(x 1,..., x r ) = y 1... y s φ(...) No limit for arities of predicates. No limit for the number of existential quantifiers. Our solution Consider binary predicates only. Limit the complexity of formulas.

8 8 Solution: Weak Closure Operator Definition Let M R k (2). By [M] weak we denote the smallest set satisfying the axioms: 1. {false (2), true (2), eq (2) } [M] weak. 2. If p M then p [M] weak. 3. [M] weak is closed under the following operations: op_permutation(p)(x 0, x 1 ) p(x 1, x 0 ) op_conjunction(p 1, p 2 )(x 0, x 1 ) p 1 (x 0, x 1 ) p 2 (x 0, x 1 ) op_composition(p 1, p 2 )(x 0, x 1 ) y (p 1 (x 0, y) p 2 (y, x 1 ) )

9 9 Our Plan to Compute All Relational Clones 1. Compute all [ ] weak -closed sets of binary predicates. 2. Analyze the connection between weakly closed sets of binary predicates and relational clones. [M 0 ] weak [M 0 ] p.p. [M 1 ] weak [M 2 ] weak [M 1 ] p.p. = [M 2 ] p.p. [M 3 ] weak weakly closed sets of binary predicates [M 3 ] p.p. relational clones

10 10 Step 1: Computation of All Weakly Closed Sets of Binary Predicates Algorithm Fix a sequence of all predicates: p 1, p 2,..., p 512. We will use an inductive procedure with 512 steps.

11 11 Algorithm: Induction Basis [ ] weak

12 Algorithm: Induction Step n Given: A set {M 0,..., M sn 1 } of all [ ] weak -closed predicate sets generated by predicates p 1, p 2,..., p n 1. Task: Construct all [ ] weak -closed predicate sets generated by p 1, p 2,..., p n 1, p n. M 0 M 1 M 2 M 3 12 M 4

13 Algorithm: Induction Step n M 0 +p n [M 0 {p n }] weak M 1 M 2 M 3 +p n [M 2 {p n }] weak = [M 3 {p n }] weak M 4 = [M 1 {p n }] weak = [M 4 {p n }] weak 13 new classes constructed on this induction step

14 14 Results Theorem On three-element set, there are exactly 2, 079, 040 weakly closed sets of binary predicates.

15 15 Our Plan to Compute All Relational Clones 1. Compute all [ ] weak -closed sets of predicates. 2. Analyze the connection between weakly closed sets of binary predicates and relational clones. [M 0 ] weak [M 0 ] p.p. [M 1 ] weak [M 2 ] weak [M 1 ] p.p. = [M 2 ] p.p. [M 3 ] weak weakly closed sets of binary predicates [M 3 ] p.p. relational clones

16 16 Step 2: Clone Separation Clone separation problem [M 1 ] weak preserves Given: [M 1 ] weak [M 2 ] weak Decide: [M 1 ] p.p.? = [M 2 ] p.p. f [M 2 ] weak preserves not

17 17 Step 2: Clone Separation Microsoft Z3 Solver Z3 is a Satisfiability Modulo Theories (SMT) solver. Z3 integrates several decision procedures. Z3 is used in several program analysis, verification, test case generation projects at Microsoft.

18 18 Clone Separation: Specification for Z3 ;; define a finite domain (declare-datatypes () ((E3 V0 V1 V2))) ;; define a predicate p1 (declare-fun p1 (E3 E3) Bool) (assert (= (p1 V0 V0) true)) (assert (= (p1 V0 V1) true)) (assert (= (p1 V0 V2) true)) (assert (= (p1 V1 V0) false)) (assert (= (p1 V1 V1) true)) (assert (= (p1 V1 V2) true)) (assert (= (p1 V2 V0) false)) (assert (= (p1 V2 V1) false)) (assert (= (p1 V2 V2) true)) [M] weak preserves preserves not p (p / [M] weak ) f

19 19 Clone Separation: Specification for Z3 ;; declare f as an uninterpreted functional symbol (declare-fun f (E3 E3) E3) ;; f preserves p1 (assert (forall ((x0_0 E3) (x0_1 E3) (x1_0 E3) (x1_1 E3)) (implies (and (p1 x0_0 x0_1) (p1 x1_0 x1_1)) (and (p1 (f x0_0 x1_0) (f x0_1 x1_1)))))) ;; f does not preserve p (assert (not (forall ((x0_0 E3) (x0_1 E3) (x1_0 E3) (x1_1 E3)) (implies (and (p x0_0 x0_1) (p x1_0 x1_1)) (and (p (f x0_0 x1_0) (f x0_1 x1_1)))))))

20 Results Theorem (on clone separation) Given [M 1 ] weak [M 2 ] weak. There exists a function f (5) of arity 5 such that (f (5) preserves [M 1 ] weak ) (f (5) preserves [M 2 ] weak ). [M 1 ] weak preserves preserves not f (5) 20 [M 2 ] weak

21 Results Corollary Lattice of all weakly closed sets of binary predicates is isomorphic to the lattice of all relational clones of degree 2. [M 0 ] weak [M 0 ] p.p. [M 1 ] weak [M 2 ] weak [M 1 ] p.p. [M 2 ] p.p. 21 [M 3 ] weak weakly closed sets of binary predicates [M 3 ] p.p. relational clones

22 22 Results Theorem (on the closure operator in R 3 (2)) Let M R 3 (2) such that {false (2), true (2), eq (2) } M. Then [M] p.p. R 3 (2) = [M] weak.

23 23 Example p is expressed as a primitive positive formula over p 1, p 2, p 3, p 4, p 5 : p(x 1, x 2 ) = y 1 y 2 (p 1 (x 1, y 1 ) p 2 (x 2, y 1 ) p 3 (y 1, y 2 ) p 4 (y 2, x 1 ) p 5 (y 2, x 2 ) ). Fix p 1, p 2, p 3, p 4, p 5 R 3 (2). Then there exists a formula φ over op_permutation(p)(x 0, x 1 ) p(x 1, x 0 ) op_conjunction(p 1, p 2 )(x 0, x 1 ) p 1 (x 0, x 1 ) p 2 (x 0, x 1 ) op_composition(p 1, p 2 )(x 0, x 1 ) y (p 1 (x 0, y) p 2 (y, x 1 ) ) such that p(x 1, x 2 ) φ(false (2), true (2), eq (2), p 1, p 2, p 3, p 4, p 5 )(x 1, x 2 ). φ depends on p 1, p 2, p 3, p 4, p 5.

24 24 On Weak Closure for k 4 Observation (known from Dmitriy N. Zhuk, Reinhard Pöschel) Let k 4. There exists M R k (2) such that [M] p.p. R k (2) [M] weak.

25 25 On Weak Closure for k (a) Predicate p R 6(2) 5 (b) Predicate q R 6(2)

26 26 On Weak Closure for k 4 M = {false (2), true (2), eq (2), p}. [M] weak = M. q(x 1, x 2 ) = y 1 y 2... y k 2 k 2 i=1 p(x 1, y i ) i, j: i j p(y i, y j ) k 2 j=1 p(y j, x 2 ). q [M] p.p. \ [M] weak.

27 27 Results

28 28 Results

29 29 Summary: Finitely Generated Relational Clones Number of relational clones of degree r on k-element set. r = 2 r = 3 r = 4 k = k = 3 2, 079, 040 > 2 50 > k = 4 > 2 60 > > 2 270

30 30 Appendix

31 31 History: Clones of Degree 2 Bashtanov (1989) Classification of binary predicates in P 3 modulo automorphisms of P 3 and permutation of variables. All 74 equivalence classes were found. The number of corresponding clones of functions is 67.

32 32 History: Clones of Degree 2 Marchenkov S. S. (1997, 2003). A description of clones in P 3 containing the ternary discriminator function p(x, y, z) = z if x = y; x otherwise. 144 clones were described, 6 were missed.

33 History: Clones of Degree 2 33 Rosenberg (1993). A description of all 23 clones in P 3 containing f(x, y) = 2x + 2y.

34 34 History: Computer Calculations in Clone Theory Theorem [Wilde, Raney, 1972, without proof] Let Then (P 3 (1), ) has exactly (f g)(x) f(g(x)) 1299 subsemigroups (including ).

35 35 History: Computer Calculations in Clone Theory Theorem [Csákany, 1983, without proof] P 3 has exactly 84 minimal clones.

36 36 Thank You! {false (0), true (0), eq (2) } = 2, 079, 040 R 3

37 37 What is Studied? Let P k be the set of all finitary functions on {0, 1,..., k 1} (k < ℵ 0 ). Definition. F P k is called a clone if 1. F contains all the projection mappings: pr (r) j : (x 1,..., x r ) x j 2. and F is closed under superposition of functions: f (n) F, f (r1) 1 F,..., f (rn) n F, ( ) h (r) (x 1,..., x r ) = f (n) f (r) 1 (x 1,..., x r ),..., f (r) n (x 1,..., x r ) = h (r) F.

38 38 What is Studied? The set of all clones of P k forms a lattice L(P k ) with respect to inclusion. The lattice L(P k ) is the main object of study in clone theory. 1. L(P 1 ) contains exactly one element. 2. L(P 2 ) is countable. 3. L(P k ) (k 3) has the cardinality of the continuum.

39 39 Main Tools: Idea of a Function Preserving a Relation Let R k be the set of all finitary predicates on {0, 1,..., k 1}. Definition. f (n) P k preserves p (r) R k if a 1 p (r),..., a n p (r) = f (n) (a 1,..., a n ) p (r). a 1 1 a 1 2 a 1 n a 2 1 a 2 2 a 2 n f (n) b 1 f (n) b 2 a r 1 a r 2 a r n (r) p p (r) p (r) f (n) b r p (r)

40 40 Main Tools: Idea of a Function Preserving a Relation Rosenberg (1970) Description of all maximal clones in P k based on the idea of a function preserving a relation. Theorem [Rosenberg] Every maximal clone in P k has the form where ρ R (r) k Pol ρ {f P k f preserves ρ} (1 r k).

41 41 Main Tools: The Galois Connection Between Clones and Relational Clones Krasner (1939, 1945, 1968/69) The connection between algebras and relations was introduced. A special Galois connection between subsets of the permutation groups S n {f P k (1) f is bijective} and subsets of R k was formulated.

42 42 Main Tools: The Galois Connection Between Clones and Relational Clones Geiger (1968); Bodnarchuk et al. (1969) Galois theory for function algebras and relation algebra. Theorem [Geiger; Bodnarchuk et al.] There exists a one-to-one correspondence between clones and relational clones. If F P k is a clone, then Pol Inv F = F. If M R k is a relational clone, then Inv Pol M = M.

43 43 Main Tools: The Galois Connection Between Clones and Relational Clones Inv: F {p R k f F : f preserves p} F 3 M 0 lattice of clones of functions F 2 F 1 F 0 M 1 M 2 lattice of relational M 3 clones Pol: M {f P k p M : f preserves p}

44 44 Solution: Weak Closure Operator Remark (on consistency of weak closure operator) Weak closure [ ] weak is consistent with the closure under all primitive positive formulas: [[M] weak ] p.p.f = [M] p.p.. M [ ] p.p. [ ] weak [ ] p.p. [[M] weak ] p.p. = [M] p.p. [M] weak

45 45 Appendix Some properties of the lattice of all relational clones of degree 2. Total number of classes 2, 079, 040 Number of maximal subclasses 18 The longest chain size 55 Number of maximal subclones of a given clone 0 30 (average 5.8)

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

Part II. Logic and Set Theory. Year

Part II. Logic and Set Theory. Year Part II Year 2018 2017 2016 2015 2014 2013 2012 2011 2010 2009 2008 2007 2006 2005 2018 60 Paper 4, Section II 16G State and prove the ǫ-recursion Theorem. [You may assume the Principle of ǫ- Induction.]

More information

Counting quantifiers, subset surjective functions, and counting CSPs

Counting quantifiers, subset surjective functions, and counting CSPs Counting quantifiers, subset surjective functions, and counting CSPs Andrei A. Bulatov Amir Hedayaty 1 Abstract We introduce a new type of closure operator on the set of relations, max-implementation,

More information

Clones (3&4) Martin Goldstern. TACL Olomouc, June Discrete Mathematics and Geometry, TU Wien

Clones (3&4) Martin Goldstern. TACL Olomouc, June Discrete Mathematics and Geometry, TU Wien Martin Goldstern Discrete Mathematics and Geometry, TU Wien TACL Olomouc, June 2017 Galois connections Let A, B be sets, R A B. For any S A and any T B let S u := {b B a S : arb} T l := {a A b T : arb}.

More information

First Order Logic (FOL)

First Order Logic (FOL) First Order Logic (FOL) Testing, Quality Assurance, and Maintenance Winter 2018 Prof. Arie Gurfinkel based on slides by Prof. Ruzica Piskac, Nikolaj Bjorner, and others References Chpater 2 of Logic for

More information

Bernhard Nebel, Julien Hué, and Stefan Wölfl. June 27 & July 2/4, 2012

Bernhard Nebel, Julien Hué, and Stefan Wölfl. June 27 & July 2/4, 2012 Bernhard Nebel, Julien Hué, and Stefan Wölfl Albert-Ludwigs-Universität Freiburg June 27 & July 2/4, 2012 vs. complexity For some restricted constraint languages we know some polynomial time algorithms

More information

More Model Theory Notes

More Model Theory Notes More Model Theory Notes Miscellaneous information, loosely organized. 1. Kinds of Models A countable homogeneous model M is one such that, for any partial elementary map f : A M with A M finite, and any

More information

Clones containing all almost unary functions

Clones containing all almost unary functions Clones containing all almost unary functions Michael Pinsker Abstract. Let X be an infinite set of regular cardinality. We determine all clones on X which contain all almost unary functions. It turns out

More information

Part II Logic and Set Theory

Part II Logic and Set Theory Part II Logic and Set Theory Theorems Based on lectures by I. B. Leader Notes taken by Dexter Chua Lent 2015 These notes are not endorsed by the lecturers, and I have modified them (often significantly)

More information

A strongly rigid binary relation

A strongly rigid binary relation A strongly rigid binary relation Anne Fearnley 8 November 1994 Abstract A binary relation ρ on a set U is strongly rigid if every universal algebra on U such that ρ is a subuniverse of its square is trivial.

More information

1. Group Theory Permutations.

1. Group Theory Permutations. 1.1. Permutations. 1. Group Theory Problem 1.1. Let G be a subgroup of S n of index 2. Show that G = A n. Problem 1.2. Find two elements of S 7 that have the same order but are not conjugate. Let π S 7

More information

Galois correspondence for counting quantifiers

Galois correspondence for counting quantifiers Galois correspondence for counting quantifiers ANDREI A. BULATOV 1, AMIR HEDAYATY 1 Simon Fraser University We introduce a new type of closure operator on the set of relations, max-implementation, and

More information

ECEN 5682 Theory and Practice of Error Control Codes

ECEN 5682 Theory and Practice of Error Control Codes ECEN 5682 Theory and Practice of Error Control Codes Introduction to Algebra University of Colorado Spring 2007 Motivation and For convolutional codes it was convenient to express the datawords and the

More information

MATH 3300 Test 1. Name: Student Id:

MATH 3300 Test 1. Name: Student Id: Name: Student Id: There are nine problems (check that you have 9 pages). Solutions are expected to be short. In the case of proofs, one or two short paragraphs should be the average length. Write your

More information

There is 2 c automorphisms of complex numbers

There is 2 c automorphisms of complex numbers University of Silesia, Institute of Mathematics Wisła, February 7, 2011 Some facts from field theory Every field has its algebraic closure. It is unique up to isomorphism; hence one can denote the algebraic

More information

ON ENDOMORPHISM MONOIDS OF PARTIAL ORDERS AND CENTRAL RELATIONS 1

ON ENDOMORPHISM MONOIDS OF PARTIAL ORDERS AND CENTRAL RELATIONS 1 Novi Sad J. Math. Vol. 38, No. 1, 2008, 111-125 ON ENDOMORPHISM MONOIDS OF PRTIL ORDERS ND CENTRL RELTIONS 1 Dragan Mašulović 2 bstract. In this paper we characterize pairs of Rosenberg s (ρ, σ) with the

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

CLASSIFYING THE COMPLEXITY OF CONSTRAINTS USING FINITE ALGEBRAS

CLASSIFYING THE COMPLEXITY OF CONSTRAINTS USING FINITE ALGEBRAS CLASSIFYING THE COMPLEXITY OF CONSTRAINTS USING FINITE ALGEBRAS ANDREI BULATOV, PETER JEAVONS, AND ANDREI KROKHIN Abstract. Many natural combinatorial problems can be expressed as constraint satisfaction

More information

Combinations of Theories for Decidable Fragments of First-order Logic

Combinations of Theories for Decidable Fragments of First-order Logic Combinations of Theories for Decidable Fragments of First-order Logic Pascal Fontaine Loria, INRIA, Université de Nancy (France) Montreal August 2, 2009 Montreal, August 2, 2009 1 / 15 Context / Motivation

More information

Automorphisms and strongly invariant relations

Automorphisms and strongly invariant relations Automorphisms and strongly invariant relations Ferdinand Börner, Martin Goldstern, and Saharon Shelah Abstract. We investigate characterizations of the Galois connection sinv Aut between sets of finitary

More information

Lecture Notes 1 Basic Concepts of Mathematics MATH 352

Lecture Notes 1 Basic Concepts of Mathematics MATH 352 Lecture Notes 1 Basic Concepts of Mathematics MATH 352 Ivan Avramidi New Mexico Institute of Mining and Technology Socorro, NM 87801 June 3, 2004 Author: Ivan Avramidi; File: absmath.tex; Date: June 11,

More information

Galois Theory, summary

Galois Theory, summary Galois Theory, summary Chapter 11 11.1. UFD, definition. Any two elements have gcd 11.2 PID. Every PID is a UFD. There are UFD s which are not PID s (example F [x, y]). 11.3 ED. Every ED is a PID (and

More information

Set Theory and the Foundation of Mathematics. June 19, 2018

Set Theory and the Foundation of Mathematics. June 19, 2018 1 Set Theory and the Foundation of Mathematics June 19, 2018 Basics Numbers 2 We have: Relations (subsets on their domain) Ordered pairs: The ordered pair x, y is the set {{x, y}, {x}}. Cartesian products

More information

A Proof of CSP Dichotomy Conjecture

A Proof of CSP Dichotomy Conjecture 58th Annual IEEE Symposium on Foundations of Computer Science A Proof of CSP Dichotomy Conjecture Dmitriy Zhuk Department of Mechanics and Mathematics Lomonosov Moscow State University Moscow, Russia Email:

More information

Section V.3. Splitting Fields, Algebraic Closure, and Normality (Supplement)

Section V.3. Splitting Fields, Algebraic Closure, and Normality (Supplement) V.3. Splitting Fields, Algebraic Closure, and Normality (Supplement) 1 Section V.3. Splitting Fields, Algebraic Closure, and Normality (Supplement) Note. In this supplement, we consider splitting fields

More information

Automated Program Verification and Testing 15414/15614 Fall 2016 Lecture 7: Procedures for First-Order Theories, Part 1

Automated Program Verification and Testing 15414/15614 Fall 2016 Lecture 7: Procedures for First-Order Theories, Part 1 Automated Program Verification and Testing 15414/15614 Fall 2016 Lecture 7: Procedures for First-Order Theories, Part 1 Matt Fredrikson mfredrik@cs.cmu.edu October 17, 2016 Matt Fredrikson Theory Procedures

More information

Simple homogeneous structures

Simple homogeneous structures Department of Mathematics Uppsala University Logic Colloquium, 3-8 August 2015, Helsinki Introduction Homogeneous structures have interesting properties from a model theoretic point of view. They also

More information

Department of Computer Science University at Albany, State University of New York Solutions to Sample Discrete Mathematics Examination II (Fall 2007)

Department of Computer Science University at Albany, State University of New York Solutions to Sample Discrete Mathematics Examination II (Fall 2007) Department of Computer Science University at Albany, State University of New York Solutions to Sample Discrete Mathematics Examination II (Fall 2007) Problem 1: Specify two different predicates P (x) and

More information

Isomorphisms between pattern classes

Isomorphisms between pattern classes Journal of Combinatorics olume 0, Number 0, 1 8, 0000 Isomorphisms between pattern classes M. H. Albert, M. D. Atkinson and Anders Claesson Isomorphisms φ : A B between pattern classes are considered.

More information

The complexity of constraint satisfaction: an algebraic approach

The complexity of constraint satisfaction: an algebraic approach The complexity of constraint satisfaction: an algebraic approach Andrei KROKHIN Department of Computer Science University of Durham Durham, DH1 3LE UK Andrei BULATOV School of Computer Science Simon Fraser

More information

Skeleton relational structures By J.A.J. van Leunen

Skeleton relational structures By J.A.J. van Leunen Skeleton relational structures By J.A.J. van Leunen Last modified: 15 november 2014 Abstract The theory of skeleton relational structures is very useful in the investigation of the isomorphism between

More information

Algebraic Cryptography Exam 2 Review

Algebraic Cryptography Exam 2 Review Algebraic Cryptography Exam 2 Review You should be able to do the problems assigned as homework, as well as problems from Chapter 3 2 and 3. You should also be able to complete the following exercises:

More information

Introduction to Model Theory

Introduction to Model Theory Introduction to Model Theory Charles Steinhorn, Vassar College Katrin Tent, University of Münster CIRM, January 8, 2018 The three lectures Introduction to basic model theory Focus on Definability More

More information

arxiv: v1 [cs.pl] 19 May 2016

arxiv: v1 [cs.pl] 19 May 2016 arxiv:1605.05858v1 [cs.pl] 19 May 2016 Domain Theory: An Introduction Robert Cartwright Rice University Rebecca Parsons ThoughtWorks, Inc. Moez AbdelGawad SRTA-City Hunan University This monograph is an

More information

Combined Satisfiability Modulo Parametric Theories

Combined Satisfiability Modulo Parametric Theories Intel 07 p.1/39 Combined Satisfiability Modulo Parametric Theories Sava Krstić*, Amit Goel*, Jim Grundy*, and Cesare Tinelli** *Strategic CAD Labs, Intel **The University of Iowa Intel 07 p.2/39 This Talk

More information

Satisfiability Modulo Theories (SMT)

Satisfiability Modulo Theories (SMT) CS510 Software Engineering Satisfiability Modulo Theories (SMT) Slides modified from those by Aarti Gupta Textbook: The Calculus of Computation by A. Bradley and Z. Manna 1 Satisfiability Modulo Theory

More information

Equivalence of Propositions

Equivalence of Propositions Equivalence of Propositions 1. Truth tables: two same columns 2. Sequence of logical equivalences: from one to the other using equivalence laws 1 Equivalence laws Table 6 & 7 in 1.2, some often used: Associative:

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

First-Order Theorem Proving and Vampire. Laura Kovács (Chalmers University of Technology) Andrei Voronkov (The University of Manchester)

First-Order Theorem Proving and Vampire. Laura Kovács (Chalmers University of Technology) Andrei Voronkov (The University of Manchester) First-Order Theorem Proving and Vampire Laura Kovács (Chalmers University of Technology) Andrei Voronkov (The University of Manchester) Outline Introduction First-Order Logic and TPTP Inference Systems

More information

DO FIVE OUT OF SIX ON EACH SET PROBLEM SET

DO FIVE OUT OF SIX ON EACH SET PROBLEM SET DO FIVE OUT OF SIX ON EACH SET PROBLEM SET 1. THE AXIOM OF FOUNDATION Early on in the book (page 6) it is indicated that throughout the formal development set is going to mean pure set, or set whose elements,

More information

Page Points Possible Points. Total 200

Page Points Possible Points. Total 200 Instructions: 1. The point value of each exercise occurs adjacent to the problem. 2. No books or notes or calculators are allowed. Page Points Possible Points 2 20 3 20 4 18 5 18 6 24 7 18 8 24 9 20 10

More information

An Introduction to Z3

An Introduction to Z3 An Introduction to Z3 Huixing Fang National Trusted Embedded Software Engineering Technology Research Center April 12, 2017 Outline 1 SMT 2 Z3 Huixing Fang (ECNU) An Introduction to Z3 April 12, 2017 2

More information

Fields and Galois Theory. Below are some results dealing with fields, up to and including the fundamental theorem of Galois theory.

Fields and Galois Theory. Below are some results dealing with fields, up to and including the fundamental theorem of Galois theory. Fields and Galois Theory Below are some results dealing with fields, up to and including the fundamental theorem of Galois theory. This should be a reasonably logical ordering, so that a result here should

More information

A monoidal interval of clones of selfdual functions

A monoidal interval of clones of selfdual functions Journal of Automata, Languages and Combinatorics u v w, x y c Otto-von-Guericke-Universität Magdeburg A monoidal interval of clones of selfdual functions Andrei Krokhin Department of Computer Science,

More information

Notes for Math 290 using Introduction to Mathematical Proofs by Charles E. Roberts, Jr.

Notes for Math 290 using Introduction to Mathematical Proofs by Charles E. Roberts, Jr. Notes for Math 290 using Introduction to Mathematical Proofs by Charles E. Roberts, Jr. Chapter : Logic Topics:. Statements, Negation, and Compound Statements.2 Truth Tables and Logical Equivalences.3

More information

TESTING FOR A SEMILATTICE TERM

TESTING FOR A SEMILATTICE TERM TESTING FOR A SEMILATTICE TERM RALPH FREESE, J.B. NATION, AND MATT VALERIOTE Abstract. This paper investigates the computational complexity of deciding if a given finite algebra is an expansion of a semilattice.

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

Group construction in geometric C-minimal non-trivial structures.

Group construction in geometric C-minimal non-trivial structures. Group construction in geometric C-minimal non-trivial structures. Françoise Delon, Fares Maalouf January 14, 2013 Abstract We show for some geometric C-minimal structures that they define infinite C-minimal

More information

Winter School on Galois Theory Luxembourg, February INTRODUCTION TO PROFINITE GROUPS Luis Ribes Carleton University, Ottawa, Canada

Winter School on Galois Theory Luxembourg, February INTRODUCTION TO PROFINITE GROUPS Luis Ribes Carleton University, Ottawa, Canada Winter School on alois Theory Luxembourg, 15-24 February 2012 INTRODUCTION TO PROFINITE ROUPS Luis Ribes Carleton University, Ottawa, Canada LECTURE 2 2.1 ENERATORS OF A PROFINITE ROUP 2.2 FREE PRO-C ROUPS

More information

ClC (X ) : X ω X } C. (11)

ClC (X ) : X ω X } C. (11) With each closed-set system we associate a closure operation. Definition 1.20. Let A, C be a closed-set system. Define Cl C : : P(A) P(A) as follows. For every X A, Cl C (X) = { C C : X C }. Cl C (X) is

More information

First-Order Theorem Proving and Vampire

First-Order Theorem Proving and Vampire First-Order Theorem Proving and Vampire Laura Kovács 1,2 and Martin Suda 2 1 TU Wien 2 Chalmers Outline Introduction First-Order Logic and TPTP Inference Systems Saturation Algorithms Redundancy Elimination

More information

Weak bases of Boolean co-clones

Weak bases of Boolean co-clones Weak bases of Boolean co-clones Victor Lagerkvist Linköping University Post Print N.B.: When citing this work, cite the original article. Original Publication: Victor Lagerkvist, Weak bases of Boolean

More information

Complexity of conservative Constraint Satisfaction Problems

Complexity of conservative Constraint Satisfaction Problems Complexity of conservative Constraint Satisfaction Problems ANDREI A. BULATOV Simon Fraser University In a constraint satisfaction problem (CSP) the aim is to find an assignment of values to a given set

More information

Quantifiers. Leonardo de Moura Microsoft Research

Quantifiers. Leonardo de Moura Microsoft Research Quantifiers Leonardo de Moura Microsoft Research Satisfiability a > b + 2, a = 2c + 10, c + b 1000 SAT a = 0, b = 3, c = 5 Model 0 > 3 + 2, 0 = 2 5 + 10, 5 + ( 3) 1000 Quantifiers x y x > 0 f x, y = 0

More information

Discrete Mathematics. W. Ethan Duckworth. Fall 2017, Loyola University Maryland

Discrete Mathematics. W. Ethan Duckworth. Fall 2017, Loyola University Maryland Discrete Mathematics W. Ethan Duckworth Fall 2017, Loyola University Maryland Contents 1 Introduction 4 1.1 Statements......................................... 4 1.2 Constructing Direct Proofs................................

More information

Algebraic Tractability Criteria for Infinite-Domain Constraint Satisfaction Problems

Algebraic Tractability Criteria for Infinite-Domain Constraint Satisfaction Problems Algebraic Tractability Criteria for Infinite-Domain Constraint Satisfaction Problems Manuel Bodirsky Institut für Informatik Humboldt-Universität zu Berlin May 2007 CSPs over infinite domains (May 2007)

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

tp(c/a) tp(c/ab) T h(m M ) is assumed in the background.

tp(c/a) tp(c/ab) T h(m M ) is assumed in the background. Model Theory II. 80824 22.10.2006-22.01-2007 (not: 17.12) Time: The first meeting will be on SUNDAY, OCT. 22, 10-12, room 209. We will try to make this time change permanent. Please write ehud@math.huji.ac.il

More information

On minimal models of the Region Connection Calculus

On minimal models of the Region Connection Calculus Fundamenta Informaticae 69 (2006) 1 20 1 IOS Press On minimal models of the Region Connection Calculus Lirong Xia State Key Laboratory of Intelligent Technology and Systems Department of Computer Science

More information

CSE507. Satisfiability Modulo Theories. Computer-Aided Reasoning for Software. Emina Torlak

CSE507. Satisfiability Modulo Theories. Computer-Aided Reasoning for Software. Emina Torlak Computer-Aided Reasoning for Software CSE507 Satisfiability Modulo Theories courses.cs.washington.edu/courses/cse507/18sp/ Emina Torlak emina@cs.washington.edu Today Last lecture Practical applications

More information

SMT BASICS WS 2017/2018 ( ) LOGIC SATISFIABILITY MODULO THEORIES. Institute for Formal Models and Verification Johannes Kepler Universität Linz

SMT BASICS WS 2017/2018 ( ) LOGIC SATISFIABILITY MODULO THEORIES. Institute for Formal Models and Verification Johannes Kepler Universität Linz LOGIC SATISFIABILITY MODULO THEORIES SMT BASICS WS 2017/2018 (342.208) Armin Biere Martina Seidl biere@jku.at martina.seidl@jku.at Institute for Formal Models and Verification Johannes Kepler Universität

More information

The complexity of recursive constraint satisfaction problems.

The complexity of recursive constraint satisfaction problems. The complexity of recursive constraint satisfaction problems. Victor W. Marek Department of Computer Science University of Kentucky Lexington, KY 40506, USA marek@cs.uky.edu Jeffrey B. Remmel Department

More information

Foundations of Mathematics

Foundations of Mathematics Foundations of Mathematics L. Brian Lawrence Department of Mathematics George Mason University Fairfax, VA 22030 4444 U.S.A. e mail: blawrenc@mail.gmu.edu January 1, 2007 Preface This set of notes is an

More information

A Readable Introduction to Real Mathematics

A Readable Introduction to Real Mathematics Solutions to selected problems in the book A Readable Introduction to Real Mathematics D. Rosenthal, D. Rosenthal, P. Rosenthal Chapter 10: Sizes of Infinite Sets 1. Show that the set of all polynomials

More information

Stipulations, multivalued logic, and De Morgan algebras

Stipulations, multivalued logic, and De Morgan algebras Stipulations, multivalued logic, and De Morgan algebras J. Berman and W. J. Blok Department of Mathematics, Statistics, and Computer Science University of Illinois at Chicago Chicago, IL 60607 U.S.A. Dedicated

More information

ACLT: Algebra, Categories, Logic in Topology - Grothendieck's generalized topological spaces (toposes)

ACLT: Algebra, Categories, Logic in Topology - Grothendieck's generalized topological spaces (toposes) ACLT: Algebra, Categories, Logic in Topology - Grothendieck's generalized topological spaces (toposes) Steve Vickers CS Theory Group Birmingham 2. Theories and models Categorical approach to many-sorted

More information

a > 3, (a = b a = b + 1), f(a) = 0, f(b) = 1

a > 3, (a = b a = b + 1), f(a) = 0, f(b) = 1 Yeting Ge New York University Leonardo de Moura Microsoft Research a > 3, (a = b a = b + 1), f(a) = 0, f(b) = 1 Dynamic symbolic execution (DART) Extended static checking Test-case generation Bounded model

More information

S15 MA 274: Exam 3 Study Questions

S15 MA 274: Exam 3 Study Questions S15 MA 274: Exam 3 Study Questions You can find solutions to some of these problems on the next page. These questions only pertain to material covered since Exam 2. The final exam is cumulative, so you

More information

International Workshop on Mathematics of Constraint Satisfaction: Algebra, Logic and Graph Theory

International Workshop on Mathematics of Constraint Satisfaction: Algebra, Logic and Graph Theory International Workshop on Mathematics of Constraint Satisfaction: Algebra, Logic and Graph Theory 20-24 March 2006 St Anne's College, University of Oxford www.comlab.ox.ac.uk/mathscsp Constraints & Algebra

More information

Let us first solve the midterm problem 4 before we bring up the related issues.

Let us first solve the midterm problem 4 before we bring up the related issues. Math 310 Class Notes 6: Countability Let us first solve the midterm problem 4 before we bring up the related issues. Theorem 1. Let I n := {k N : k n}. Let f : I n N be a one-toone function and let Im(f)

More information

Exercises for Unit VI (Infinite constructions in set theory)

Exercises for Unit VI (Infinite constructions in set theory) Exercises for Unit VI (Infinite constructions in set theory) VI.1 : Indexed families and set theoretic operations (Halmos, 4, 8 9; Lipschutz, 5.3 5.4) Lipschutz : 5.3 5.6, 5.29 5.32, 9.14 1. Generalize

More information

Disjoint n-amalgamation

Disjoint n-amalgamation October 13, 2015 Varieties of background theme: the role of infinitary logic Goals 1 study n- toward 1 existence/ of atomic models in uncountable cardinals. 2 0-1-laws 2 History, aec, and Neo-stability

More information

Functions and cardinality (solutions) sections A and F TA: Clive Newstead 6 th May 2014

Functions and cardinality (solutions) sections A and F TA: Clive Newstead 6 th May 2014 Functions and cardinality (solutions) 21-127 sections A and F TA: Clive Newstead 6 th May 2014 What follows is a somewhat hastily written collection of solutions for my review sheet. I have omitted some

More information

Combining Decision Procedures

Combining Decision Procedures Combining Decision Procedures Ashish Tiwari tiwari@csl.sri.com http://www.csl.sri.com/. Computer Science Laboratory SRI International 333 Ravenswood Menlo Park, CA 94025 Combining Decision Procedures (p.1

More information

Generalizing Gödel s Constructible Universe:

Generalizing Gödel s Constructible Universe: Generalizing Gödel s Constructible Universe: Ultimate L W. Hugh Woodin Harvard University IMS Graduate Summer School in Logic June 2018 Ordinals: the transfinite numbers is the smallest ordinal: this is

More information

Extension fields II. Sergei Silvestrov. Spring term 2011, Lecture 13

Extension fields II. Sergei Silvestrov. Spring term 2011, Lecture 13 Extension fields II Sergei Silvestrov Spring term 2011, Lecture 13 Abstract Contents of the lecture. Algebraic extensions. Finite fields. Automorphisms of fields. The isomorphism extension theorem. Splitting

More information

Automated Program Verification and Testing 15414/15614 Fall 2016 Lecture 8: Procedures for First-Order Theories, Part 2

Automated Program Verification and Testing 15414/15614 Fall 2016 Lecture 8: Procedures for First-Order Theories, Part 2 Automated Program Verification and Testing 15414/15614 Fall 2016 Lecture 8: Procedures for First-Order Theories, Part 2 Matt Fredrikson mfredrik@cs.cmu.edu October 17, 2016 Matt Fredrikson Theory Procedures

More information

BASICS OF CLONE THEORY DRAFT. Contents

BASICS OF CLONE THEORY DRAFT. Contents BASICS OF CLONE THEORY DRAFT ERHARD AICHINGER Abstract. Some well known facts on clones are collected (cf. [PK79, Sze86, Maš10]). Contents 1. Definition of clones 1 2. Polymorphisms and invariant relations

More information

TOPOLOGY IS IRRELEVANT (IN THE INFINITE DOMAIN DICHOTOMY CONJECTURE FOR CONSTRAINT SATISFACTION PROBLEMS)

TOPOLOGY IS IRRELEVANT (IN THE INFINITE DOMAIN DICHOTOMY CONJECTURE FOR CONSTRAINT SATISFACTION PROBLEMS) TOPOLOGY IS IRRELEVANT (IN THE INFINITE DOMAIN DICHOTOMY CONJECTURE FOR CONSTRAINT SATISFACTION PROBLEMS) LIBOR BARTO AND MICHAEL PINSKER Abstract. We prove that an ω-categorical core structure primitively

More information

Equational Logic. Chapter Syntax Terms and Term Algebras

Equational 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 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

Lattices, closure operators, and Galois connections.

Lattices, closure operators, and Galois connections. 125 Chapter 5. Lattices, closure operators, and Galois connections. 5.1. Semilattices and lattices. Many of the partially ordered sets P we have seen have a further valuable property: that for any two

More information

Logical Abstract Domains and Interpretations

Logical Abstract Domains and Interpretations Logical Abstract Domains and Interpretations Patrick Cousot 2,3, Radhia Cousot 3,1, and Laurent Mauborgne 3,4 1 Centre National de la Recherche Scientifique, Paris 2 Courant Institute of Mathematical Sciences,

More information

LINDSTRÖM S THEOREM SALMAN SIDDIQI

LINDSTRÖM S THEOREM SALMAN SIDDIQI LINDSTRÖM S THEOREM SALMAN SIDDIQI Abstract. This paper attempts to serve as an introduction to abstract model theory. We introduce the notion of abstract logics, explore first-order logic as an instance

More information

Endomorphism rings generated using small numbers of elements arxiv:math/ v2 [math.ra] 10 Jun 2006

Endomorphism rings generated using small numbers of elements arxiv:math/ v2 [math.ra] 10 Jun 2006 Endomorphism rings generated using small numbers of elements arxiv:math/0508637v2 [mathra] 10 Jun 2006 Zachary Mesyan February 2, 2008 Abstract Let R be a ring, M a nonzero left R-module, and Ω an infinite

More information

Math 429/581 (Advanced) Group Theory. Summary of Definitions, Examples, and Theorems by Stefan Gille

Math 429/581 (Advanced) Group Theory. Summary of Definitions, Examples, and Theorems by Stefan Gille Math 429/581 (Advanced) Group Theory Summary of Definitions, Examples, and Theorems by Stefan Gille 1 2 0. Group Operations 0.1. Definition. Let G be a group and X a set. A (left) operation of G on X is

More information

The Galois group of a polynomial f(x) K[x] is the Galois group of E over K where E is a splitting field for f(x) over K.

The Galois group of a polynomial f(x) K[x] is the Galois group of E over K where E is a splitting field for f(x) over K. The third exam will be on Monday, April 9, 013. The syllabus for Exam III is sections 1 3 of Chapter 10. Some of the main examples and facts from this material are listed below. If F is an extension field

More information

A GUIDE FOR MORTALS TO TAME CONGRUENCE THEORY

A GUIDE FOR MORTALS TO TAME CONGRUENCE THEORY A GUIDE FOR MORTALS TO TAME CONGRUENCE THEORY Tame congruence theory is not an easy subject and it takes a considerable amount of effort to understand it. When I started this project, I believed that this

More information

March 3, The large and small in model theory: What are the amalgamation spectra of. infinitary classes? John T. Baldwin

March 3, The large and small in model theory: What are the amalgamation spectra of. infinitary classes? John T. Baldwin large and large and March 3, 2015 Characterizing cardinals by L ω1,ω large and L ω1,ω satisfies downward Lowenheim Skolem to ℵ 0 for sentences. It does not satisfy upward Lowenheim Skolem. Definition sentence

More information

Chapter 1. Sets and Mappings

Chapter 1. Sets and Mappings Chapter 1. Sets and Mappings 1. Sets A set is considered to be a collection of objects (elements). If A is a set and x is an element of the set A, we say x is a member of A or x belongs to A, and we write

More information

Copyright c 2007 Jason Underdown Some rights reserved. statement. sentential connectives. negation. conjunction. disjunction

Copyright c 2007 Jason Underdown Some rights reserved. statement. sentential connectives. negation. conjunction. disjunction Copyright & License Copyright c 2007 Jason Underdown Some rights reserved. statement sentential connectives negation conjunction disjunction implication or conditional antecedant & consequent hypothesis

More information

Foundations Revision Notes

Foundations Revision Notes oundations Revision Notes hese notes are designed as an aid not a substitute for revision. A lot of proofs have not been included because you should have them in your notes, should you need them. Also,

More information

WHAT IS AN SMT SOLVER? Jaeheon Yi - April 17, 2008

WHAT IS AN SMT SOLVER? Jaeheon Yi - April 17, 2008 WHAT IS AN SMT SOLVER? Jaeheon Yi - April 17, 2008 WHAT I LL TALK ABOUT Propositional Logic Terminology, Satisfiability, Decision Procedure First-Order Logic Terminology, Background Theories Satisfiability

More information

G52DOA - Derivation of Algorithms Predicate Logic

G52DOA - Derivation of Algorithms Predicate Logic G52DOA - Derivation of Algorithms Predicate Logic Venanzio Capretta Predicate Logic So far, we studied propositional logic, in which we started with unspecified propositional variables A, B, C, and combined

More information

Outline. We will now investigate the structure of this important set.

Outline. We will now investigate the structure of this important set. The Reals Outline As we have seen, the set of real numbers, R, has cardinality c. This doesn't tell us very much about the reals, since there are many sets with this cardinality and cardinality doesn't

More information

MODEL THEORY FOR ALGEBRAIC GEOMETRY

MODEL THEORY FOR ALGEBRAIC GEOMETRY MODEL THEORY FOR ALGEBRAIC GEOMETRY VICTOR ZHANG Abstract. We demonstrate how several problems of algebraic geometry, i.e. Ax-Grothendieck, Hilbert s Nullstellensatz, Noether- Ostrowski, and Hilbert s

More information

Between proof theory and model theory Three traditions in logic: Syntactic (formal deduction)

Between proof theory and model theory Three traditions in logic: Syntactic (formal deduction) Overview Between proof theory and model theory Three traditions in logic: Syntactic (formal deduction) Jeremy Avigad Department of Philosophy Carnegie Mellon University avigad@cmu.edu http://andrew.cmu.edu/

More information

Unsolvable problems, the Continuum Hypothesis, and the nature of infinity

Unsolvable problems, the Continuum Hypothesis, and the nature of infinity Unsolvable problems, the Continuum Hypothesis, and the nature of infinity W. Hugh Woodin Harvard University January 9, 2017 V : The Universe of Sets The power set Suppose X is a set. The powerset of X

More information

Jónsson posets and unary Jónsson algebras

Jónsson posets and unary Jónsson algebras Jónsson posets and unary Jónsson algebras Keith A. Kearnes and Greg Oman Abstract. We show that if P is an infinite poset whose proper order ideals have cardinality strictly less than P, and κ is a cardinal

More information

Mathematical Preliminaries. Sipser pages 1-28

Mathematical Preliminaries. Sipser pages 1-28 Mathematical Preliminaries Sipser pages 1-28 Mathematical Preliminaries This course is about the fundamental capabilities and limitations of computers. It has 3 parts 1. Automata Models of computation

More information