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

Similar documents
Topos Theory. Lectures 17-20: The interpretation of logic in categories. Olivia Caramello. Topos Theory. Olivia Caramello.

University of Oxford, Michaelis November 16, Categorical Semantics and Topos Theory Homotopy type theor

Morita-equivalences for MV-algebras

LOCALES AND TOPOSES AS SPACES

Topos Theory. Lectures 21 and 22: Classifying toposes. Olivia Caramello. Topos Theory. Olivia Caramello. The notion of classifying topos

via Topos Theory Olivia Caramello University of Cambridge The unification of Mathematics via Topos Theory Olivia Caramello

Equational Logic. Chapter Syntax Terms and Term Algebras

Propositional Logic Language

Boolean Algebra and Propositional Logic

Lecture 2: Syntax. January 24, 2018

The non-logical symbols determine a specific F OL language and consists of the following sets. Σ = {Σ n } n<ω

Qualifying Exam Logic August 2005

Binary positivity in the language of locales

Topos-theoretic background

Boolean Algebra and Propositional Logic

Mathematical Foundations of Logic and Functional Programming

On the Complexity of the Reflected Logic of Proofs

Lecture 7. Logic. Section1: Statement Logic.

Introduction to Model Theory

Olivia Caramello. University of Insubria - Como. Deductive systems and. Grothendieck topologies. Olivia Caramello. Introduction.

CS411 Notes 3 Induction and Recursion

Lecture 9. Model theory. Consistency, independence, completeness, categoricity of axiom systems. Expanded with algebraic view.

Foundations of Mathematics

Lecture 12. Statement Logic as a word algebra on the set of atomic statements. Lindenbaum algebra.

Foundations of Mathematics

Issues of logic, algebra and topology in ontology

Part II. Logic and Set Theory. Year

185.A09 Advanced Mathematical Logic

An Introduction to Modal Logic III

denition is that the space X enters the picture only through its poset of open subsets and the notion of a cover. Grothendieck's second basic observat

Infinite and Finite Model Theory Part II

MONADIC FRAGMENTS OF INTUITIONISTIC CONTROL LOGIC

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

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

A VIEW OF CANONICAL EXTENSION

First Order Logic (FOL) 1 znj/dm2017

CS 514, Mathematics for Computer Science Mid-semester Exam, Autumn 2017 Department of Computer Science and Engineering IIT Guwahati

Propositional Logic: Models and Proofs

Seminaar Abstrakte Wiskunde Seminar in Abstract Mathematics Lecture notes in progress (27 March 2010)

Relational semantics for a fragment of linear logic

HANDOUT AND SET THEORY. Ariyadi Wijaya

Datalog and Constraint Satisfaction with Infinite Templates

Lecture 1: Overview. January 24, 2018

Logic and Implication

From Constructibility and Absoluteness to Computability and Domain Independence

Gelfand spectra in Grothendieck toposes using geometric mathematics

Logic for Computer Science - Week 4 Natural Deduction

Syntactic Characterisations in Model Theory

Relations to first order logic

3. Only sequences that were formed by using finitely many applications of rules 1 and 2, are propositional formulas.

Learning Goals of CS245 Logic and Computation

A Tableau Calculus for Minimal Modal Model Generation

Löwenheim-Skolem Theorems, Countable Approximations, and L ω. David W. Kueker (Lecture Notes, Fall 2007)

Notes about Filters. Samuel Mimram. December 6, 2012

Unbounded quantifiers via 2-categorical logic

Logic Synthesis and Verification

First-Order Logic. Chapter Overview Syntax

Mathematical Preliminaries. Sipser pages 1-28

Formal Methods for Java

MAI0203 Lecture 7: Inference and Predicate Calculus

Predicate Logic: Sematics Part 1

Duality in Logic. Duality in Logic. Lecture 2. Mai Gehrke. Université Paris 7 and CNRS. {ε} A ((ab) (ba) ) (ab) + (ba) +

Propositional Logic: Syntax

A generalization of modal definability

COMPLETE SETS OF CONNECTIVES FOR GENERALIZED ŁUKASIEWICZ LOGICS KAMERYN J WILLIAMS. CUNY Graduate Center 365 Fifth Avenue New York, NY USA

Mathematical Logic. An Introduction

Universal Algebra for Logics

Part II Logic and Set Theory

Introduction to Metalogic

Reasoning with Constraint Diagrams

Canonical extension of coherent categories

Outline. Formale Methoden der Informatik First-Order Logic for Forgetters. Why PL1? Why PL1? Cont d. Motivation

A Discrete Duality Between Nonmonotonic Consequence Relations and Convex Geometries

Modal logics and their semantics

KRIPKE S THEORY OF TRUTH 1. INTRODUCTION

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

DECIDABILITY OF DEFINABILITY

Přednáška 12. Důkazové kalkuly Kalkul Hilbertova typu. 11/29/2006 Hilbertův kalkul 1


Review CHAPTER. 2.1 Definitions in Chapter Sample Exam Questions. 2.1 Set; Element; Member; Universal Set Partition. 2.

Classical Propositional Logic

Some consequences of compactness in Lukasiewicz Predicate Logic

Propositional and Predicate Logic - VII

MATH 770 : Foundations of Mathematics. Fall Itay Ben-Yaacov

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

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

UNITARY UNIFICATION OF S5 MODAL LOGIC AND ITS EXTENSIONS

An adjoint construction for topological models of intuitionistic modal logic Extended abstract

03 Review of First-Order Logic

Theory of Computer Science

Higher toposes Internal logic Modalities Sub- -toposes Formalization. Modalities in HoTT. Egbert Rijke, Mike Shulman, Bas Spitters 1706.

MODELS OF HORN THEORIES

What are Iteration Theories?

Notation Index. gcd(a, b) (greatest common divisor) NT-16

Why Knowledge Representation?

The Morita-equivalence between MV-algebras and abelian l-groups with strong unit

Overview of Logic and Computation: Notes

Theory Combination. Clark Barrett. New York University. CS357, Stanford University, Nov 2, p. 1/24

Meta-logic derivation rules

Propositional and Predicate Logic

Transcription:

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 first-order theories. TACL Tutorial course June 2017, Olomouc

2. Theories and models (First order, many sorted) Outline of course 1. Sheaves: Continuous set-valued maps 2. Theories and models: Categorical approach to many-sorted first-order theories. 3. Classifying categories: Maths generated by a generic model 4. Toposes and geometric reasoning: How to "do generalized topology". Theory = signature + axioms Context = finite set of free variables Axiom = sequent Models in Set - and in other categories Homomorphisms between models Geometric theories Propositional geometric theory => topological space of models. Generalize to predicate theories?

Oddities 1: Many-sorted A set of sorts for all terms, including variables Arities (of predicates, function symbols) say - not just how many arguments, - also what their sorts are - also (function symbols) the sort of the result Single-sorted = ordinary first order logic - all terms have the same sort No-sorted = propositional logic - no variables or terms - no function symbols (no sort for result) - predicates have no arguments - hence only possible predicates are propositional symbols

Oddities 2: Contexts Don't assume overall countable stock of (sorted) free variables. Instead, introduce context, finite set of sorted free variables, as needed. Terms, formulae, entailments are in context, - describing free variables allowed (and their sorts).

Empty carriers Empty context allows correct treatment of empty carriers. Entailment holds for every interpretation of x - vacuously true if carrier empty - false for empty carrier

Oddities 3: Sequents Deal with logics lacking some connectives e.g. geometric logic has conjunction, disjunction, but not implication - correspond to intersection and union of open sets in topology Two-level fomalization: - formulae in context are built up using available connectives - sequents in context express entailment

Oddities 4: Infinitary connectives In particular: infinitary disjunctions - for arbitrary unions of opens Unexpected consequences Algebraic treatment (e.g. Lindenbaum algebras) more ad hoc - see next talk Can characterize some models, e.g. natural numbers, Not possible with uniquely up to isomorphism. finitary first-order logic - hence logic takes on aspects of type theory

Oddities 5: Incompleteness No completeness in general Two possible interpretations: or Inference rules not strong enough to get all semantic entailments Not enough models to support all syntactic distinctions Solution Look for models in categories other than Set - then there are enough models - but category of models in Set, or monad on Set, don't describe theory adequately - need "categorical Lindenbaum algebras" (see next talk)

Many-sorted, first-order theory - in some given logic Theory = signature + axioms Signature has - sorts - predicates - function symbols Each predicate or function symbols has an arity specifying - number of arguments (finite, possibly zero) A constant is a 0-ary - the sort of each argument function (no arguments) - the sort of the result (for a function symbol) binary function, arguments of sorts σ_1, σ_2, and result of sort τ. binary predicate

Terms, formulae in context Given a signature: Context = finite list of variables, each assigned a sort Given a context: Terms built from free variables (from context) and function symbols in the usual way. Formulae built from: - predicates applied to terms (of correct sort) - equations between terms of same sort We always assume equality predicates - simpler formulae, using connectives and quantifiers as permitted by the logic Bound variables are outside the context

Sequents, axioms, theories Given a signature: A sequent is a context, together with two formulae in that context. A theory is a signature, together with a set of sequents (the axioms for the theory)

Example Be pragmatic about notation! Monoids - one sort, M - two function symbols 1: M : M,M -> M - no predicates - axioms unit infix multiplication unit laws associativity

Example Monoid actions - two sorts, M, A - function symbols and axioms as for Monoids - another function symbol : A,M -> A - two more axioms

Geometric theories Formulae built using: finite conjunctions arbitrary disjunctions Propositional fragment (no sorts) Signature = set of propositional symbols No-sorted = propositional logic - no variables or terms - no function symbols (no sort for result) - predicates have no arguments - hence only possible predicates are propositional symbols Formulae built with finite conjunctions, arbitrary disjunctions - relate to finite intersections, arbitrary unions of open sets

Interpreting a signature Suppose we are given a signature Each sort σ is interpreted as a set (its carrier) A context is interpreted as the product of the carriers of the sorts of the free variables

Interpreting a signature To define interpretation I: - specify interpretations of sorts, function symbols and predicates (*) - other parts can then be derived

Interpreting terms - always in context Tuples of values to instantiate variables in context Define by structural induction Evaluate t on a tuple (1) For free variable in the context: use projection Get i'th component of tuple

Interpreting terms Define by structural induction (2) For function application induction given tupling

Example: Monoids (x,y,z:m. (xy)z)

Interpreting formulae (in context) Define by structural induction (1) logical constants "the set of tuples for which φ holds" Depends on context!

Interpreting formulae (in context) Define by structural induction (1) predicate symbol applied to terms

Interpreting formulae (in context) Define by structural induction (2) equation equalizer - those elements on whch two functions agree

Interpreting formulae (in context) Define by structural induction (3) connectives - apply corresponding operations on subsets intersection union

Interpreting formulae (in context) Define by structural induction (4) quantifiers

Models of a theory An interpretation I satisfies a sequent if - for every tuple: if φ holds then so does ψ A model of a theory is - an interpretation of its signature - that satisfies all its axioms.

e.g. Monoids Interpret signature: set M with constant 1 and binary operation Axioms: e.g. associativity holds for all triples of elements of M

Special case: propositional theories No sorts to interpret Empty context () interpreted as I() = nullary product 1 Propositional symbol P interpreted as subset I(P) of 1 = {*} = truth value - 1 is true, 0 (empty set) is false Likewise, any formula φ - connectives interpreted in lattice of truth values Sequent φ ψ is satisfied means: - if * I(φ) then * I(ψ) - if I(φ) true then so is I(ψ)

Homomorphisms between models M, N two models homomorphism α: M -> N has - for each sort σ, a carrier function α_σ: M(σ) -> N(σ) - such that they preserve function symbols and predicates product of carrier functions Models and homomorphisms form a category

Homomorphisms preserve all terms By structural induction on t

Homomorphisms preserve some formulae Yes for geometric formulae - use structural induction on formula We shall be using homomorphisms for geometric theories

Homomorphisms preserve some formulae No if formula uses negation, implication, or universal quantification e.g. theory with one sort and one unary predicate P - model = set equipped with subset P - homomorphism = function that restricts to the subsets Lecture 3: Important to lift model morphisms to other formulae. Hence classical logic needs different account of model morphism

Homomorphisms for propositional theories No sorts - no carrier functions required - only one possible homomorphism empty list of sorts - but it only exists if all propositional symbols preserved - models and homomorphisms form a poset homomorphism M -> N exists iff: for every propositional symbol P, if P true for M then it's also true for N

Geometric theories: Examples 1. Algebraic theories - e.g. monoids, monoid actions Signature has sorts and function symbols Formulae built with equations Sequents all of form

Geometric theories: Examples 2. Points of topological space X Signature has - no sorts (propositional theory) - one propositional symbol P_U for each open U of X Sequents converse sequents follow from first infinite disjunctions!

Models? Each P_U interpreted as subset of 1, i.e. truth value. Let F = {U P_U interpreted as true} Axioms say - - F is up-closed - F contains X - F is closed under intersection F is a filter in lattice O(X) of opens - F "splits unions" We say F is a completely prime filter The models of the theory are the completely prime filters of O(X)

Neighbourhood filters For each x in X: - N_x = {open U x in U} - is a completely prime filter X is sober if N is a bijection y specializes x (x less than y in specialization order) if every open neighbourhood of x also contains y. N is injective iff specialization is a partial order Think: the completely prime filters are the true points - if x, y have the same neighbourhood filter, they are just "different labels for the same point"

For sober spaces X, Y: Maps f: X -> Y are in bijection with functions f*: Ω(Y) -> Ω(X) preserving finite intersections, arbitrary unions Given f, f* is inverse image. For reverse: Completely prime filters of Ω(X) are equivalent to functions Ω(X) -> Ω = P(1) = {truthvalues} preserving finite intersections, arbitrary unions Given f*, preserving those, by composition it transforms completely prime filters of Ω(X) to those of Ω(Y) Hence by sobriety it gives f: X -> Y. It is continuous.

Point-free topology Idea Use a geometric theory to describe a topological space Points = models of the theory Opens = geometric formulae Specifies points and opens all in one structure This is point-free topology Contrast with point-set topology - first specify set of points - then specify topology

Further reading First order categorical logic Johnstone - Elephant D1