Algebraic theories in the presence of binding operators, substitution, etc.
|
|
- Edith Hensley
- 5 years ago
- Views:
Transcription
1 Algebraic theories in the presence of binding operators, substitution, etc. Chung Kil Hur Joint work with Marcelo Fiore Computer Laboratory University of Cambridge 20th March 2006
2 Overview First order syntax: modelled by algebras on Set First order syntax with bindings: modelled by subst-algebras (binding-algebras) on Set F First order syntax with equations: modelled by algebraic theories (lawvere theories, or variety of algebras). First oder syntax with bindings and equations: equational theories by Kelly and Power (problematic). New equational theories.
3 1 Abstract Syntax with Binding First order syntax without binding First order syntax with binding Substitution Algebras 2 Equational Theories Classical approach New view on equations Examples of equations
4 Definition and Example Signature for First Order Syntax S = (O, a) O is a set of operators a is an arity function from O to N Terms built from Signature Term V := V V is a set of variables f (Term 1 V,..., Termn V ) f O, a(f ) = n Example: Group O = {e, i, m} a(e) = 0, a(i) = 1, a(m) = 2 V = {x, y, z,...} Term V = {x, e, m(x, m(y, z)), m(e, m(i(x), y)),...}
5 Categorical Construction Base Category: Set of sets and functions. Endofunctor: ΣX = f O X a(f ) Example: Group ΣX = 1 + X + X 2 State Set Depth Group S 0 S 1 V + ΣS 0 0 x, y, z,..., e S 2 V + ΣS 1 1 x, e, i(e), i(x), m(e, x),... S 3 V + ΣS 2 2 x, e, i(x), m(e, x), m(x, i(e)), S Term V <..., m(i(i(x)), m(x, i(e))),... Free Monad of Σ: TX = µa.x + ΣA with X + ΣTX =[η X,τ X] TX
6 Algebras Definition of Σ-alg objects: (X, s : ΣX X) where X, s in Set morphisms: f : (X, s) (Y, t) where f : X Y in Set satisfying ΣX s X Σf f ΣY t Y Example: Group objects: (X, 1 + X + X 2 [e,i,m] X) morphisms: f : (X, e, i, m) (Y, e, i, m ) where f : X Y 1 e X id 1 f Y e X i X f f Y Y i X 2 m X f 2 f Y 2 m Y
7 Free Algebras Free Algebras and Free monads (TX, ΣTX τx TX) F X Σ-alg F Set Free monad T = uf u (X, s) X u Universal property ΣTX Σ(i,r) # ΣY ΣTTX Σµ X ΣTX τ X η X TX X (i,r) # i Y r τ TX η TX τ X µ X TTX TX id TX
8 1 Abstract Syntax with Binding First order syntax without binding First order syntax with binding Substitution Algebras 2 Equational Theories Classical approach New view on equations Examples of equations
9 Definition and Example Signature for First Order Syntax with Binding S = (O, a) O is a set of operators a is an arity function from O to N, i.e.a(f ) = (a 1,..., a k ) Terms built from Signature Term({x 1,..., x n }) := {x 1,..., x n } f (x n+1,..., x n+a1.term({x 1,..., x n+a1 }),. x n+1,..., x n+ak.term({x 1,..., x n+ak })) where f O, a(f ) = (a 1,..., a k ) Example: Untyped λ-calculus O = {lam, app} a(lam) = (1), a(app) = (0, 0) Term(x 1, x 2 ) = {x 1, app(x 1, x 2 ), lam(x 3.app(x 1, app(x 2, x 3 )))...} Term({x 1,..., x n }) = {[t] α FV(t) {x 1,..., x n } in untyped λ-calculus}
10 Category of Presheaves Definitions F objects finite cardinals, i.e., {x 1 }, {x 1, x 2 },... let n be {x 1,..., x n } morphisms set functions from n to m Set F objects functors from F to Set morphisms natural transformations between functors Interpretations X Set F : a language. X(n): set of terms in context {x 1,..., x n }, i.e.{t x 1,..., x n t} X(n) X(ρ) X(m): x 1,..., x n t x 1,..., x m t[x ρ(1) /x 1,..., x ρ(n) /x n ] Presheaf of variables and Type constructor for context extension V Set F : V(n) = {x 1,..., x n }, V(ρ) = ρ δ : Set F Set F : (δx)(n) = X(n + 1), (δx)(ρ) = X(ρ + 1)
11 Categorical Construction Base Category: Set F Endofunctor: Σ(X) def = f O 1 i k a(f )=(a i) 1 i k Example: λ-calculus ΣX = δx + X 2 δ ai X State Set {x 1 } {x 1, x 2 } S 0 S 1 V + ΣS 0 x 1 x 1, x 2 S 2 V + ΣS 1 λx 1.x 1 x 1, x 1 x 1, λx 2.x 1, λx 2.x 2 x 1, x 2, x 1 x 2, λx 3.x 3,... S 3 V + ΣS 2 (λx 1.x 1 )(λx 1.x 1 ), λx 1.λx 2.x 1,... x 1,(x 1 x 1 )(λx 2.x 2 ), λx 2.λx 3.x 3,... x 2,(x 1 x 2 )(λx 3.x 3 ), λx 3.λx 4.x 3, S Term Term( ) Term({x 1 }) Term({x 1, x 2 }) Free Monad of Σ: TX = µa.x + ΣA with X + ΣTX =[η X,τ X] TX
12 Algebras Example: λ-calculus objects: (X, δx + X 2 [lam,app] X) morphisms: f : (X, lam, app) (Y, lam, app ) where f : X Y δx lam X δf f δy Y lam X 2 app X f 2 f Y 2 app Y Universality δtv + TV 2 δ(i,lam,app) # +(i,lam,app) #2 δy + Y 2 τ V η V TV V (i,lam,app) # i Y [lam,app]
13 1 Abstract Syntax with Binding First order syntax without binding First order syntax with binding Substitution Algebras 2 Equational Theories Classical approach New view on equations Examples of equations
14 Motivations for substitution as an algebraic operation We can express operations involving substitution, e.g.β equations in λ-calculus. It ensures semantics substitution lemma, i.e.compositionality of substitution. It automatically verifies some structural rules related to substitution, e.g.syntactic substitution lemma and admissibility of cut.
15 Substitutions on concrete terms σ k,n : (x 1,..., x k t); (x 1,..., x n u 1,..., u k ) x 1,..., x n t[u 1 /x 1,..., u k /x k ] Example: λ-calculus σ k,n (t[x 1,..., x k ]; u 1,..., u k ) = u i if t = x i (σ k,n (t 1 ; u 1,..., u k ))(σ k,n (t 2 ; u 1,..., u k )) if t = t 1 t 2 λx n+1.σ k+1,n+1 (t 1 [x 1,..., x k+1 ]; u 1,..., u k, x n+1 ) if t = λx k+1.t 1 [x 1,..., x k+1 ]
16 Categorical Construction Substitution: Function from Substitutable Pairs to Term Substitutable Pair: (x 1,..., x k t); (x 1,..., x n u 1,..., u k ) Type Constructor for Substitutable Pairs (X Y)({x 1,..., x n }) def = k N X({x 1,..., x k }) (Y({x 1,..., x n })) k / = {(t; u) k N, t X({x 1,..., x k }), u (Y({x 1,..., x n })) k }/ where is the equivalence relation generated by (t; u 1,..., u k ) (t ; u 1,..., u k ) iff r:k k X(r)(t) = t u i = u r(i) The tensor : Set F Set F Set F forms a closed monoidal structure with a unit V and suitable natural transformations α, λ, ρ.
17 Categorical Construction st X,e:V Y : ΣX Y Σ(X Y) is a natural transformation between two functors of type Set F V Set F Set F. Example: λ-calculus: st X,e:V Y : (δx + X X) Y = (δx) Y + (X X) Y δ(x Y) + (X Y) (X Y) σ : X X X is defined in the following way. ΣTV TV st TV,ηV :V TV Σ(TV TV) Σσ ΣTV τ id σ TV TV TV λ TV V TV η V id τ
18 Initial Algebra Semantics Category of S-subst-algebras Objects: (X, e : V X, h : ΣX X, sub : X X X) where (X, e, sub) is a monoid in Set F and (X, h) is an Σ-algebra such that the following diagram commutes. ΣX X st X,e:V X Σ(X X) Σ(sub) ΣX h id X X sub X h Morphisms: maps of Set F which are both Σ-algebra and monoid homomorphisms. Initial Object: (TV, η V : V TV, τ : ΣTV TV, σ : TV TV TV)
19 Abstract Theory Definition (Category of Σ-subst-algebras) Monoidal closed category C = (C,, I) Strong endofunctor Σ with a strength a st Objects: X = (X, e, h, sub), where (X, e, sub) is a monoid in C and (X, h) is a Σ-algebra such that the following diagram commutes. ΣX X st X,X Σ(X X) Σ(sub) ΣX h id X X sub X h Morphisms: maps of C which are both Σ-algebra and monoid homomorphisms. a A strength for Σ is a natural transformation of type Σ(X) Y Σ(X Y) satisfying some coherence conditions.
20 Abstract Theory Theorem If Σ has a free monad T then (TI, η I, σ, τ) is an initial Σ-subst-algebra, where τ : ΣTI TI is the free Σ-algebra of I and σ is given as follows: σ : TI TI st I,TI T(I TI) Tλ TI TTI µ I TI, where st : TX Y T(X Y) is the lifting of the strength st of Σ to its free monad T.
21 Abstract Theory Definition (Category of Σ-ptd-subst-algebras) Monoidal closed category C = (C,, I) u-strong endofunctor Σ with a u-strength a st for the forgetful functor u from I C Objects: X = (X, e, h, sub), where (X, e, sub) is a monoid in C and (X, h) is a Σ-algebra such that the following diagram commutes. ΣX X st X,e:I X Σ(X X) Σ(sub) ΣX h id X X sub X h Morphisms: maps of C which are both Σ-algebra and monoid homomorphisms. a A u-strength for Σ is a natural transformation of type Σ(X) uy Σ(X uy) satisfying some coherence conditions.
22 Abstract Theory Theorem (TI, η I, σ, µ I ) is an initial Σ-ptd-subst-algebra, where σ is given by the following composite: TI TI = TI u(η I : I TI) st I,ηI T(I u(η I )) = T(I TI) Tλ TI TTI µ I TI.
23 1 Abstract Syntax with Binding First order syntax without binding First order syntax with binding Substitution Algebras 2 Equational Theories Classical approach New view on equations Examples of equations
24 Motivation for equations Group Axioms Given a group algebra (X, e, i, m), (G1) x, y, z X m(m(x, y), z) = m(x, m(y, z)) (G2) x X m(e, x) = x (G3) x X m(i(x), x) = e β, η equations for λ-calculus Given a λ-calculus algebra (X, e, lam, app, sub), (β-eqn) t δx(n), u X(n) (η-eqn) t X(n) app(lam(x n+1.t), u) = sub(t; (x 1,..., x n, u)) lam(x n+1.app(t, x n+1 )) = t
25 Kelly & Power equational theories KP Theory Groups Sig S : C fp C Sig S : N Set (0, 1, 2) (1, 1, 1) ΣX = a C fp C(a, X) S(a) ΣX = a N Xa S(a) = 1 + X + X 2 TX = µa.x + ΣA TX = µa.x + ΣA TX = all terms freely generated from X TX = all group terms freely generated from a variable set X (Equation) (Equation) D : C fp C together with D : N Set : (1, 3) (2, 1) a C fp D(a) EL(a) T(a) E R(a) D(1) = 2 EL(1) T(1) E R(1) E L (1)(1) = m(e, x 1 ), E R (1)(1) = x 1 E L (1)(2) = m(i(x 1 ), x 1 ), E R (1)(2) = e D(3) = 1 EL(3) E R(3) T(3) E L (3)(1) = m(m(x 1, x 2 ), x 3 ), E R (3)(1) = m(x 1, m(x 2, x 3 ))
26 Free Constructions KP Theory There exists a finitary monad T such that T -Alg = Σ-alg/ EL=E R F C where Σ-alg/ EL=E R is a full subcategory of Σ-alg whose objects are Σ-algebras satisfying the equations. u Groups There exists a finitary monad T such that T -Alg = Σ-alg/ EL=E R F Set where Σ-alg/ EL=E R is a full subcategory of Σ-alg whose objects are group-algebras, i.e.(x, e, i, m) satisfying the group axioms G1, G2, and G3 u
27 Problems with applying K.P. theory to subst-algebras Recall: subst-algebras for λ-calculus Objects: (X, e : V X, lam : δx X, app : X 2 X, sub : X X X) satisfying V X e id X X λ X X sub X V id e X X ρ X X sub (X X) X sub id X X sub α X,X,X X (X X) sub X X X id sub (δx + X 2 ) X st X,e:V X δ(x X) + (X X) 2 δsub+sub 2 δx + X 2 [lam,app] id X X sub X [lam,app]
28 1 Abstract Syntax with Binding First order syntax without binding First order syntax with binding Substitution Algebras 2 Equational Theories Classical approach New view on equations Examples of equations
29 A new view on equational theories: Observation Example: Group Given a group algebra (X, 1 + X + X 2 [e,i,m] X), (G1) x, y, z X m(m(x, y), z) = m(x, m(y, z)) (G2) x X m(e, x) = x (G3) x X m(i(x), x) = e X X X m id X X X i,id X X id m X X G1 m X m! 1 e G3 X m X 1 X X X!,id e id id G2 X m
30 A new view on equational theories Observation Σ-alg 1 + X + X 2 [e,i,m] X D-alg X 3 + X + X E L X E R Definition (Equations for algebras) a category C and an endofunctor Σ Equation: a domain endofunctor D with functors E L and E R from Σ-alg to D-alg preserving base-objects of algebras, i.e.u E L = u and u E R = u. Σ-alg u C E L E R u D-alg
31 Free constructions Theorem If either (Cond1) C is cocomplete and Σ, D preserve colimits of ω-chains. (Cond2) C is cocomplete and well-copowered, and Σ preserves epimorphisms. then L E 1 Σ-Alg/ E1=E 2 Σ-Alg D-Alg K E 2 u u =uk u C
32 Free constructions Theorem If either (Cond1) C has coequalizers, pushouts and colimits of chains whose cardinals are less than or equal to a regular cardinal λ, and Σ, D preserve colimits of chains whose cardinals are equal to λ. (Cond2) C has coequalizers, pushouts and colimits of chains (whose cardinals are less than a regular cardinal λ) and is (λ-)well-copowered, and Σ preserves epimorphisms. then L E 1 Σ-Alg/ E1=E 2 Σ-Alg D-Alg K E 2 u u =uk u C
33 Sketch of the Proof ΣX X h
34 Sketch of the Proof ΣX 0 h 0 X 0
35 Sketch of the Proof ΣX 0 E Lh 0 E Rh 0 DX 0 X 0 h 0
36 Sketch of the Proof ΣX 0 X 0 X0 1 E Lh 0 E Rh 0 DX 0 h 0
37 Sketch of the Proof ΣX 0 ΣX 1 0 X 0 X0 1 E Lh 0 E Rh 0 DX 0 h 0
38 Sketch of the Proof ΣX 0 ΣX0 1 X 0 X0 1 E Lh 0 E Rh 0 DX 0 h 0 X 2 0
39 Sketch of the Proof ΣX 0 ΣX0 1 ΣX 0 2 X 0 X0 1 E Lh 0 E Rh 0 DX 0 h 0 X 2 0
40 Sketch of the Proof ΣX 0 ΣX0 1 ΣX 0 2 X 0 X0 1 E Lh 0 E Rh 0 DX 0 h 0 X 2 0 X 3 0
41 Sketch of the Proof ΣX 0 ΣX0 1 ΣX 2 0 ΣX 0 3 ΣX 1 X 0 X0 1 E Lh 0 E Rh 0 DX 0 h 0 X 2 0 X 3 0 X 1
42 Sketch of the Proof ΣX 0 ΣX0 1 ΣX 2 0 ΣX 0 3 ΣX 1 X 0 X0 1 E Lh 0 E Rh 0 DX 0 h 0 X 2 0 X 3 0 X 1 h 1
43 Sketch of the Proof ΣX 0 ΣX 1 X 0 X 1 E Lh 0 E Rh 0 DX 0 h 0 h 1
44 Sketch of the Proof ΣX 0 ΣX 1 X 0 X 1 E Lh 0 E Lh 1 E Rh 0 E DX 0 Rh 1 DX 1 h 0 h 1
45 Sketch of the Proof ΣX 0 ΣX 1 ΣX 2 h 0 X 0 X 1 X 2 E Lh 0 E Lh 1 E Lh 2 E Rh 0 E Rh 1 DX 0 E DX 1 Rh 2 DX 2 h 1 h 2
46 Sketch of the Proof ΣX 0 ΣX 1 ΣX 2 ΣX ω h 0 X 0 X 1 X 2 X ω E Lh 0 E Lh 1 E Lh 2 E Lh ω E Rh 0 E Rh 1 DX 0 E Rh 2 E DX 1 Rh ω DX 2 DXω h 1 h 2 h ω
47 1 Abstract Syntax with Binding First order syntax without binding First order syntax with binding Substitution Algebras 2 Equational Theories Classical approach New view on equations Examples of equations
48 Examples of Equations subst-algebras for λ-calculus Objects: (X, e : V X, lam : δx X, app : X 2 X, sub : X X X) satisfying V X e id X X λ X X sub X V id e X X ρ X X sub (X X) X sub id X X sub α X,X,X X (X X) sub X X X id sub (δx + X 2 ) X st X,e:V X δ(x X) + (X X) 2 δsub+sub 2 δx + X 2 [lam,app] id X X sub X [lam,app]
49 Examples of Equations Example: λ-calculus (β-eqn) t δx(n), u X(n) app(lam(x n+1.t), u) = sub(t; (x 1,..., x n, u)) δx X emb X X lam id sub X X X app (η-eqn) t X(n) lam(x n+1.app(t, x n+1 )) = t X id,! X 1 id up λe δx δx δ(x X) δapp δx X lam
50 Examples of Equations π-calculus Base category Set I ν : δx X, where δx = (V X) νx.νy.t = νy.νx.t t δ 2 X(n) νx n+1.νx n+2.t = νx n+1.νx n+2.t[x n+2 /x n+1, x n+1 /x n+2 ] δδx swap δδx δν δν δx δx ν ν X
51 Future Work Modelling DILL (Dual Intuitionistic Linear Logic) Modelling Dependent type languages. Develop the equational theories in pre-ordered setting, and apply them to Term Rewriting Systems. Find more applications of the equational theories. Example: the free-algebra models for the π-calculus by Ian Stark.
On the Construction of Free Algebras for Equational Systems
On the Construction of Free Algebras for Equational Systems Marcelo Fiore and Chung-Kil Hur 1 Computer Laboratory, University of Cambridge Abstract The purpose of this paper is threefold: to present a
More informationMathematical Synthesis of Equational Deduction Systems. Marcelo Fiore. Computer Laboratory University of Cambridge
Mathematical Synthesis of Equational Deduction Systems Marcelo Fiore Computer Laboratory University of Cambridge TLCA 2009 3.VII.2009 Context concrete theories meta-theories Context concrete theories meta-theories
More informationCategorical Equational Systems: Algebraic Models and Equational Reasoning
Categorical Equational Systems: Algebraic Models and Equational Reasoning Chung-Kil Hur Churchill College University of Cambridge Computer Laboratory November 2009 This dissertation is submitted for the
More informationSecond-Order Equational Logic
Second-Order Equational Logic Extended Abstract Marcelo Fiore Computer Laboratory University of Cambridge Chung-Kil Hur Laboratoire PPS Université Paris 7 Abstract We provide an extension of universal
More informationTerm Equational Systems and Logics
Term Equational Systems and Logics Extended Abstract Marcelo Fiore 1 Chung-Kil Hur 2,3 Computer Laboratory University of Cambridge Cambridge, UK Abstract We introduce an abstract general notion of system
More informationProgramming Languages in String Diagrams. [ four ] Local stores. Paul-André Melliès. Oregon Summer School in Programming Languages June 2011
Programming Languages in String iagrams [ four ] Local stores Paul-André Melliès Oregon Summer School in Programming Languages June 2011 Finitary monads A monadic account of algebraic theories Algebraic
More informationSecond-Order Equational Logic
Second-Order Equational Logic (Extended Abstract) Marcelo Fiore 1 and Chung-Kil Hur 2 1 Computer Laboratory, University of Cambridge 2 Laboratoire PPS, Université Paris 7 Abstract. We extend universal
More informationUniversal Algebra for Termination of Higher-Order Rewriting. Makoto Hamana
Universal Algebra for Termination of Higher-Order Rewriting Makoto Hamana Department of Computer Science, Gunma University, Japan RTA 05 2005, April 1 Intro: First-Order Term Rewriting System (TRS) Terms
More informationAbstracting away from cell complexes
Abstracting away from cell complexes Michael Shulman 1 Peter LeFanu Lumsdaine 2 1 University of San Diego 2 Stockholm University March 12, 2016 Replacing big messy cell complexes with smaller and simpler
More informationSemantics and syntax of higher inductive types
Semantics and syntax of higher inductive types Michael Shulman 1 Peter LeFanu Lumsdaine 2 1 University of San Diego 2 Stockholm University http://www.sandiego.edu/~shulman/papers/stthits.pdf March 20,
More informationA few bridges between operational and denotational semantics of programming languages
A few bridges between operational and denotational semantics of programming languages Soutenance d habilitation à diriger les recherches Tom Hirschowitz November 17, 2017 Hirschowitz Bridges between operational
More informationAn introduction to Yoneda structures
An introduction to Yoneda structures Paul-André Melliès CNRS, Université Paris Denis Diderot Groupe de travail Catégories supérieures, polygraphes et homotopie Paris 21 May 2010 1 Bibliography Ross Street
More informationEquational reasoning for probabilistic programming Part II: Quantitative equational logic
Equational reasoning for probabilistic programming Part II: Quantitative equational logic Prakash Panangaden 1 1 School of Computer Science McGill University Probabilistic Programming Languages 29th May
More informationAN EQUATIONAL METALOGIC FOR MONADIC EQUATIONAL SYSTEMS
Theory and Applications of Categories, Vol. 27, No. 18, 2013, pp. 464 492. AN EQUATIONAL METALOGIC FOR MONADIC EQUATIONAL SYSTEMS MARCELO FIORE Abstract. The paper presents algebraic and logical developments.
More informationSecond-Order Algebraic Theories
Second-Order Algebraic Theories (Extended Abstract) Marcelo Fiore and Ola Mahmoud University of Cambridge, Computer Laboratory Abstract. Fiore and Hur [10] recently introduced a conservative extension
More informationThe algebraicity of the lambda-calculus
The algebraicity of the lambda-calculus André Hirschowitz 1 and Marco Maggesi 2 1 Université de Nice Sophia Antipolis http://math.unice.fr/~ah 2 Università degli Studi di Firenze http://www.math.unifi.it/~maggesi
More informationAbstract Syntax and Variable Binding
Abstract Syntax and Variable Binding (Extended Abstract) Marcelo Fiore COGS Univ. of Sussex Gordon Plotkin LFCS Univ. of Edinburgh Daniele Turi LFCS Univ. of Edinburgh Abstract We develop a theory of abstract
More informationUniversity of Oxford, Michaelis November 16, Categorical Semantics and Topos Theory Homotopy type theor
Categorical Semantics and Topos Theory Homotopy type theory Seminar University of Oxford, Michaelis 2011 November 16, 2011 References Johnstone, P.T.: Sketches of an Elephant. A Topos-Theory Compendium.
More informationOn a Categorical Framework for Coalgebraic Modal Logic
On a Categorical Framework for Coalgebraic Modal Logic Liang-Ting Chen 1 Achim Jung 2 1 Institute of Information Science, Academia Sinica 2 School of Computer Science, University of Birmingham MFPS XXX
More informationAlgebra and local presentability: how algebraic are they? (A survey)
Algebra and local presentability: how algebraic are they? (A survey) Jiří Adámek 1 and Jiří Rosický 2, 1 Department of Mathematics, Faculty of Electrical Engineering, Czech Technical University in Prague,
More informationThe Essentially Equational Theory of Horn Classes
The Essentially Equational Theory of Horn Classes Hans E. Porst Dedicated to Professor Dr. Dieter Pumplün on the occasion of his retirement Abstract It is well known that the model categories of universal
More informationPART I. Abstract algebraic categories
PART I Abstract algebraic categories It should be observed first that the whole concept of category is essentially an auxiliary one; our basic concepts are those of a functor and a natural transformation.
More informationApplications of 2-categorical algebra to the theory of operads. Mark Weber
Applications of 2-categorical algebra to the theory of operads Mark Weber With new, more combinatorially intricate notions of operad arising recently in the algebraic approaches to higher dimensional algebra,
More informationElements of Category Theory
Elements of Category Theory Robin Cockett Department of Computer Science University of Calgary Alberta, Canada robin@cpsc.ucalgary.ca Estonia, Feb. 2010 Functors and natural transformations Adjoints and
More informationWhat are Iteration Theories?
What are Iteration Theories? Jiří Adámek 1, Stefan Milius 1 and Jiří Velebil 2 1 Institute of Theoretical Computer Science, TU Braunschweig, Germany {adamek,milius}@iti.cs.tu-bs.de 2 Department of Mathematics,
More informationHigher Order Containers
Higher Order Containers Thorsten Altenkirch 1, Paul Levy 2, and Sam Staton 3 1 University of Nottingham 2 University of Birmingham 3 University of Cambridge Abstract. Containers are a semantic way to talk
More informationSome glances at topos theory. Francis Borceux
Some glances at topos theory Francis Borceux Como, 2018 2 Francis Borceux francis.borceux@uclouvain.be Contents 1 Localic toposes 7 1.1 Sheaves on a topological space.................... 7 1.2 Sheaves
More informationLogical connections in the many-sorted setting
Logical connections in the many-sorted setting Jiří Velebil Czech Technical University in Prague Czech Republic joint work with Alexander Kurz University of Leicester United Kingdom AK & JV AsubL4 1/24
More informationMONADS WITH ARITIES AND THEIR ASSOCIATED THEORIES
MONADS WITH ARITIES AND THEIR ASSOCIATED THEORIES CLEMENS BERGER, PAUL-ANDRÉ MELLIÈS AND MARK WEBER Abstract. After a review of the concept of monad with arities we show that the category of algebras for
More informationAlgebras. Larry Moss Indiana University, Bloomington. TACL 13 Summer School, Vanderbilt University
1/39 Algebras Larry Moss Indiana University, Bloomington TACL 13 Summer School, Vanderbilt University 2/39 Binary trees Let T be the set which starts out as,,,, 2/39 Let T be the set which starts out as,,,,
More informationLECTURE X: KOSZUL DUALITY
LECTURE X: KOSZUL DUALITY Fix a prime number p and an integer n > 0, and let S vn denote the -category of v n -periodic spaces. Last semester, we proved the following theorem of Heuts: Theorem 1. The Bousfield-Kuhn
More informationLIST OF CORRECTIONS LOCALLY PRESENTABLE AND ACCESSIBLE CATEGORIES
LIST OF CORRECTIONS LOCALLY PRESENTABLE AND ACCESSIBLE CATEGORIES J.Adámek J.Rosický Cambridge University Press 1994 Version: June 2013 The following is a list of corrections of all mistakes that have
More informationAbout categorical semantics
About categorical semantics Dominique Duval LJK, University of Grenoble October 15., 2010 Capp Café, LIG, University of Grenoble Outline Introduction Logics Effects Conclusion The issue Semantics of programming
More informationCategory Theory. Travis Dirle. December 12, 2017
Category Theory 2 Category Theory Travis Dirle December 12, 2017 2 Contents 1 Categories 1 2 Construction on Categories 7 3 Universals and Limits 11 4 Adjoints 23 5 Limits 31 6 Generators and Projectives
More informationThe lambda calculus with constructors
The lambda calculus with constructors Categorical semantic and Continuations Barbara Petit Focus - Univ. Bologna CaCos 2012 Barbara Petit (Focus - Univ. Bologna) The lambda calculus with constructors 1
More informationHOMOTOPY THEORY OF MODULES OVER OPERADS AND NON-Σ OPERADS IN MONOIDAL MODEL CATEGORIES
HOMOTOPY THEORY OF MODULES OVER OPERADS AND NON-Σ OPERADS IN MONOIDAL MODEL CATEGORIES JOHN E. HARPER Abstract. We establish model category structures on algebras and modules over operads and non-σ operads
More informationPreliminaries. Chapter 3
Chapter 3 Preliminaries In the previous chapter, we studied coinduction for languages and deterministic automata. Deterministic automata are a special case of the theory of coalgebras, which encompasses
More informationDerived Algebraic Geometry I: Stable -Categories
Derived Algebraic Geometry I: Stable -Categories October 8, 2009 Contents 1 Introduction 2 2 Stable -Categories 3 3 The Homotopy Category of a Stable -Category 6 4 Properties of Stable -Categories 12 5
More informationLogic for Computational Effects: work in progress
1 Logic for Computational Effects: work in progress Gordon Plotkin and John Power School of Informatics University of Edinburgh King s Buildings Mayfield Road Edinburgh EH9 3JZ Scotland gdp@inf.ed.ac.uk,
More informationWhat are Iteration Theories?
What are Iteration Theories? Jiří Adámek and Stefan Milius Institute of Theoretical Computer Science Technical University of Braunschweig Germany adamek,milius @iti.cs.tu-bs.de Jiří Velebil Department
More informationNOTES ON ADJUNCTIONS, MONADS AND LAWVERE THEORIES. 1. Adjunctions
NOTES ON ADJUNCTIONS, MONADS AND LAWVERE THEORIES FILIP BÁR 1. Adjunctions 1.1. Universal constructions and adjunctions. Definition 1.1 (Adjunction). A pair of functors U : C D and F : D C form an adjoint
More informationNotions of Computation Determine Monads
Notions of Computation Determine Monads Gordon Plotkin and John Power Division of Informatics, University of Edinburgh, King s Buildings, Edinburgh EH9 3JZ, Scotland Abstract. We model notions of computation
More informationAlgebraic Theories of Quasivarieties
Algebraic Theories of Quasivarieties Jiří Adámek Hans E. Porst Abstract Analogously to the fact that Lawvere s algebraic theories of (finitary) varieties are precisely the small categories with finite
More informationCategory theory for computer science. Overall idea
Category theory for computer science generality abstraction convenience constructiveness Overall idea look at all objects exclusively through relationships between them capture relationships between objects
More informationSOME EXERCISES. This is not an assignment, though some exercises on this list might become part of an assignment. Class 2
SOME EXERCISES This is not an assignment, though some exercises on this list might become part of an assignment. Class 2 (1) Let C be a category and let X C. Prove that the assignment Y C(Y, X) is a functor
More informationIndCoh Seminar: Ind-coherent sheaves I
IndCoh Seminar: Ind-coherent sheaves I Justin Campbell March 11, 2016 1 Finiteness conditions 1.1 Fix a cocomplete category C (as usual category means -category ). This section contains a discussion of
More informationUniform Schemata for Proof Rules
Uniform Schemata for Proof Rules Ulrich Berger and Tie Hou Department of omputer Science, Swansea University, UK {u.berger,cshou}@swansea.ac.uk Abstract. Motivated by the desire to facilitate the implementation
More informationHOW ALGEBRAIC IS ALGEBRA?
Theory and Applications of Categories, Vol. 8, No. 9, 2001, pp. 253 283. HOW ALGEBRAIC IS ALGEBRA? J. ADÁMEK, F. W. LAWVERE AND J. ROSICKÝ ABSTRACT. The 2-category VAR of finitary varieties is not varietal
More informationHigher toposes Internal logic Modalities Sub- -toposes Formalization. Modalities in HoTT. Egbert Rijke, Mike Shulman, Bas Spitters 1706.
Modalities in HoTT Egbert Rijke, Mike Shulman, Bas Spitters 1706.07526 Outline 1 Higher toposes 2 Internal logic 3 Modalities 4 Sub- -toposes 5 Formalization Two generalizations of Sets Groupoids: To keep
More informationBarr s Embedding Theorem for Enriched Categories
Barr s Embedding Theorem for Enriched Categories arxiv:0903.1173v3 [math.ct] 31 Aug 2009 Dimitri Chikhladze November 9, 2018 Abstract We generalize Barr s embedding theorem for regular categories to the
More informationLocally cartesian closed categories
Locally cartesian closed categories Clive Newstead 80-814 Categorical Logic, Carnegie Mellon University Wednesday 1st March 2017 Abstract Cartesian closed categories provide a natural setting for the interpretation
More informationarxiv: v1 [math.ct] 11 May 2018
MONADS AND THEORIES JOHN BOURKE AND RICHARD GARNER arxiv:805.04346v [math.ct] May 208 Abstract. Given a locally presentable enriched category E together with a small dense full subcategory A of arities,
More informationReconsidering MacLane. Peter M. Hines
Reconsidering MacLane Coherence for associativity in infinitary and untyped settings Peter M. Hines Oxford March 2013 Topic of the talk: Pure category theory... for its own sake. This talk is about the
More informationFrom parametric polymorphism to models of polymorphic FPC
Under consideration for publication in Math. Struct. in Comp. Science From parametric polymorphism to models of polymorphic FPC Rasmus Ejlers Møgelberg IT University of Copenhagen Rued Langgaards Vej 7
More informationTakeuchi s Free Hopf Algebra Construction Revisited
Takeuchi s Free Hopf Algebra Construction Revisited Hans E. Porst Department of Mathematics, University of Bremen, 28359 Bremen, Germany Abstract Takeuchi s famous free Hopf algebra construction is analyzed
More informationMinimal logic for computable functionals
Minimal logic for computable functionals Helmut Schwichtenberg Mathematisches Institut der Universität München Contents 1. Partial continuous functionals 2. Total and structure-total functionals 3. Terms;
More informationMORITA EQUIVALENCE OF MANY-SORTED ALGEBRAIC THEORIES
Pré-Publicações do Departamento de Matemática Universidade de Coimbra Preprint Number 04 39 MORITA EQUIVALENCE OF MANY-SORTED ALGEBRAIC THEORIES JIŘÍ ADÁMEK, MANUELA SOBRAL AND LURDES SOUSA Abstract: Algebraic
More informationHomological Algebra and Differential Linear Logic
Homological Algebra and Differential Linear Logic Richard Blute University of Ottawa Ongoing discussions with Robin Cockett, Geoff Cruttwell, Keith O Neill, Christine Tasson, Trevor Wares February 24,
More informationarxiv: v1 [math.ct] 28 Dec 2018
arxiv:1812.10941v1 [math.ct] 28 Dec 2018 Janelidze s Categorical Galois Theory as a step in the Joyal and Tierney result Christopher Townsend December 31, 2018 Abstract We show that a trivial case of Janelidze
More informationMonad Transformers as Monoid Transformers
Monad Transformers as Monoid Transformers Mauro Jaskelioff CIFASIS/Universidad Nacional de Rosario, Argentina Eugenio Moggi 1 DISI, Università di Genova, Italy Abstract The incremental approach to modular
More information1 Categorical Background
1 Categorical Background 1.1 Categories and Functors Definition 1.1.1 A category C is given by a class of objects, often denoted by ob C, and for any two objects A, B of C a proper set of morphisms C(A,
More informationAxiomatics for Data Refinement in Call by Value Programming Languages
Electronic Notes in Theoretical Computer Science 225 (2009) 281 302 www.elsevier.com/locate/entcs Axiomatics for Data Refinement in Call by Value Programming Languages John Power 1,2 Department of Computer
More informationsset(x, Y ) n = sset(x [n], Y ).
1. Symmetric monoidal categories and enriched categories In practice, categories come in nature with more structure than just sets of morphisms. This extra structure is central to all of category theory,
More informationInterpolation in Logics with Constructors
Interpolation in Logics with Constructors Daniel Găină Japan Advanced Institute of Science and Technology School of Information Science Abstract We present a generic method for establishing the interpolation
More informationTeooriaseminar. TTÜ Küberneetika Instituut. May 10, Categorical Models. for Two Intuitionistic Modal Logics. Wolfgang Jeltsch.
TTÜ Küberneetika Instituut Teooriaseminar May 10, 2012 1 2 3 4 1 2 3 4 Modal logics used to deal with things like possibility, belief, and time in this talk only time two new operators and : ϕ now and
More informationCategory Theory for Linear Logicians
Category Theory for Linear Logicians Richard Blute Philip Scott September 10, 2003 Abstract This paper presents an introduction to category theory with an emphasis on those aspects relevant to the analysis
More informationU-Sets as a probabilistic set theory
U-Sets as a probabilistic set theory Claudio Sossai ISIB-CNR, Corso Stati Uniti 4, 35127 Padova, Italy sossai@isib.cnr.it Technical Report 05/03 ISIB-CNR, October 2005 Abstract A topos of presheaves can
More informationCategorical techniques for NC geometry and gravity
Categorical techniques for NC geometry and gravity Towards homotopical algebraic quantum field theory lexander Schenkel lexander Schenkel School of Mathematical Sciences, University of Nottingham School
More informationCompleteness for coalgebraic µ-calculus: part 2. Fatemeh Seifan (Joint work with Sebastian Enqvist and Yde Venema)
Completeness for coalgebraic µ-calculus: part 2 Fatemeh Seifan (Joint work with Sebastian Enqvist and Yde Venema) Overview Overview Completeness of Kozen s axiomatisation of the propositional µ-calculus
More informationMorita Equivalence for Unary Varieties
Morita Equivalence for Unary Varieties Tobias Rieck Dissertation zur Erlangung des Grades eines Doktors der Naturwissenschaften Dr. rer. nat. Vorgelegt im Fachbereich 3 (Mathematik & Informatik) der Universität
More informationA Linear/Producer/Consumer model of Classical Linear Logic
A Linear/Producer/Consumer model of Classical Linear Logic Jennifer Paykin Steve Zdancewic February 14, 2014 Abstract This paper defines a new proof- and category-theoretic framework for classical linear
More informationA unifying model of variables and names
A unifying model of variables and names Marino Miculan 1 Kidane Yemane 2 1 Dept. of Mathematics and Computing Science, University of Udine Via delle Scienze 206, I-33100 Udine, Italy. miculan@dimi.uniud.it
More informationRelational semantics for a fragment of linear logic
Relational semantics for a fragment of linear logic Dion Coumans March 4, 2011 Abstract Relational semantics, given by Kripke frames, play an essential role in the study of modal and intuitionistic logic.
More informationCartesian Closed Topological Categories and Tensor Products
Cartesian Closed Topological Categories and Tensor Products Gavin J. Seal October 21, 2003 Abstract The projective tensor product in a category of topological R-modules (where R is a topological ring)
More informationUNITARY UNIFICATION OF S5 MODAL LOGIC AND ITS EXTENSIONS
Bulletin of the Section of Logic Volume 32:1/2 (2003), pp. 19 26 Wojciech Dzik UNITARY UNIFICATION OF S5 MODAL LOGIC AND ITS EXTENSIONS Abstract It is shown that all extensions of S5 modal logic, both
More informationRealizability Semantics of Parametric Polymorphism, General References, and Recursive Types
Realizability Semantics of Parametric Polymorphism, General References, and Recursive Types Lars Birkedal IT University of Copenhagen Joint work with Kristian Støvring and Jacob Thamsborg Oct, 2008 Lars
More informationLEFT-INDUCED MODEL STRUCTURES AND DIAGRAM CATEGORIES
LEFT-INDUCED MODEL STRUCTURES AND DIAGRAM CATEGORIES MARZIEH BAYEH, KATHRYN HESS, VARVARA KARPOVA, MAGDALENA KȨDZIOREK, EMILY RIEHL, AND BROOKE SHIPLEY Abstract. We prove existence results for and verify
More informationTHE HEART OF A COMBINATORIAL MODEL CATEGORY
Theory and Applications of Categories, Vol. 31, No. 2, 2016, pp. 31 62. THE HEART OF A COMBINATORIAL MODEL CATEGORY ZHEN LIN LOW Abstract. We show that every small model category that satisfies certain
More informationMONADS NEED NOT BE ENDOFUNCTORS
MONADS NEED NOT BE ENDOFUNCTORS THORSTEN ALTENKIRCH, JAMES CHAPMAN, AND TARMO UUSTALU School of Computer Science, University of Nottingham, Jubilee Campus, Wollaton Road, Nottingham NG8 1BB, United Kingdom
More informationInstances of computational effects: an algebraic perspective
Instances of computational effects: an algebraic perspective Sam Staton Computer Laboratory, University of Cambridge, UK Abstract We investigate the connections between computational effects, algebraic
More informationNormalisation by evaluation
Normalisation by evaluation Sam Lindley Laboratory for Foundations of Computer Science The University of Edinburgh Sam.Lindley@ed.ac.uk August 11th, 2016 Normalisation and embedded domain specific languages
More informationResource lambda-calculus: the differential viewpoint
Resource lambda-calculus: the differential viewpoint Preuves, Programmes et Systèmes (PPS) Université Paris Diderot and CNRS September 13, 2011 History ( 1985): Girard Girard had differential intuitions
More informationKathryn Hess. Category Theory, Algebra and Geometry Université Catholique de Louvain 27 May 2011
MATHGEOM Ecole Polytechnique Fédérale de Lausanne Category Theory, Algebra and Geometry Université Catholique de Louvain 27 May 2011 Joint work with... Steve Lack (foundations) Jonathan Scott (application
More informationNew York Journal of Mathematics. Directed algebraic topology and higher dimensional transition systems
New York Journal of Mathematics New York J. Math. 16 (2010) 409 461. Directed algebraic topology and higher dimensional transition systems Philippe Gaucher Abstract. Cattani Sassone s notion of higher
More informationCompleteness for algebraic theories of local state
Completeness for algebraic theories of local state Sam Staton Computer Laboratory, University of Cambridge Abstract. Every algebraic theory gives rise to a monad, and monads allow a meta-language which
More information1 Replete topoi. X = Shv proét (X) X is locally weakly contractible (next lecture) X is replete. D(X ) is left complete. K D(X ) we have R lim
Reference: [BS] Bhatt, Scholze, The pro-étale topology for schemes In this lecture we consider replete topoi This is a nice class of topoi that include the pro-étale topos, and whose derived categories
More informationWhat is a quantum symmetry?
What is a quantum symmetry? Ulrich Krähmer & Angela Tabiri U Glasgow TU Dresden CLAP 30/11/2016 Uli (U Glasgow) What is a quantum symmetry? CLAP 30/11/2016 1 / 20 Road map Classical maths: symmetries =
More informationMONOID-LIKE DEFINITIONS OF CYCLIC OPERAD
Theory and Applications of Categories, Vol. 32, No. 2, 207, pp. 396 436. MONOID-LIKE DEFINITIONS OF CYCLIC OPERAD JOVANA OBRADOVIĆ Abstract. Guided by the microcosm principle of Baez-Dolan and by the algebraic
More informationA brief Introduction to Category Theory
A brief Introduction to Category Theory Dirk Hofmann CIDMA, Department of Mathematics, University of Aveiro, 3810-193 Aveiro, Portugal Office: 11.3.10, dirk@ua.pt, http://sweet.ua.pt/dirk/ October 9, 2017
More informationQuantizations and classical non-commutative non-associative algebras
Journal of Generalized Lie Theory and Applications Vol. (008), No., 35 44 Quantizations and classical non-commutative non-associative algebras Hilja Lisa HURU and Valentin LYCHAGIN Department of Mathematics,
More informationESSENTIALLY ALGEBRAIC THEORIES AND LOCALIZATIONS IN TOPOSES AND ABELIAN CATEGORIES
ESSENTIALLY ALGEBRAIC THEORIES AND LOCALIZATIONS IN TOPOSES AND ABELIAN CATEGORIES A thesis submitted to the University of Manchester for the degree of Doctor of Philosophy in the Faculty of Engineering
More informationEndomorphism Semialgebras in Categorical Quantum Mechanics
Endomorphism Semialgebras in Categorical Quantum Mechanics Kevin Dunne University of Strathclyde November 2016 Symmetric Monoidal Categories Definition A strict symmetric monoidal category (A,, I ) consists
More informationPresenting Functors by Operations and Equations
j ) v Presenting Functors by Operations and Equations Marcello M. Bonsangue 1? Alexander Kurz 2?? 1 LIACS, Leiden University, The Netherlands 2 Department of Computer Science, University of Leicester,
More informationA Semantics for Evaluation Logic (extended version)
A Semantics for Evaluation Logic (extended version) Eugenio Moggi DISI, Univ. of Genova, Italy moggi@disi.unige.it July 29, 1993 Abstract This paper proposes an internal semantics for the modalities and
More informationModel Structures on the Category of Small Double Categories
Model Structures on the Category of Small Double Categories CT2007 Tom Fiore Simona Paoli and Dorette Pronk www.math.uchicago.edu/ fiore/ 1 Overview 1. Motivation 2. Double Categories and Their Nerves
More informationACLT: 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 informationLecture 9: Sheaves. February 11, 2018
Lecture 9: Sheaves February 11, 2018 Recall that a category X is a topos if there exists an equivalence X Shv(C), where C is a small category (which can be assumed to admit finite limits) equipped with
More informationTowards Operations on Operational Semantics
Towards Operations on Operational Semantics Mauro Jaskelioff mjj@cs.nott.ac.uk School of Computer Science & IT 22 nd British Colloquium for Theoretical Computer Science The Context We need semantics to
More informationMODEL CATEGORIES OF DIAGRAM SPECTRA
MODEL CATEGORIES OF DIAGRAM SPECTRA M. A. MANDELL, J. P. MAY, S. SCHWEDE, AND B. SHIPLEY Abstract. Working in the category T of based spaces, we give the basic theory of diagram spaces and diagram spectra.
More informationAlgebraic models for higher categories
Algebraic models for higher categories Thomas Nikolaus Fachbereich Mathematik, Universität Hamburg Schwerpunkt Algebra und Zahlentheorie Bundesstraße 55, D 20 146 Hamburg Abstract We introduce the notion
More information