A [Monad-Based] Semantics for Hybrid Iteration

Size: px
Start display at page:

Download "A [Monad-Based] Semantics for Hybrid Iteration"

Transcription

1 A [Monad-Based] Semantics for Hybrid Iteration Sergey Goncharov a Julian Jakob a Renato Neves b CONCUR 2018, September 4-7, Beijing a Friedrich-Alexander-Universität Erlangen-Nürnberg b INESC TEC (HASLab) & University of Minho 1/15

2 Plan of the Talk Precursors: Hybrid automata Platzer s dynamic logic Höfner and Möller s algebra of hybrid systems Hybrid process calculi: ACP srt hs, hybrid χ, HYPE, HyPA, hybrid CSP,... More recently: hybrid monad : H 0 (deterministic, abstract, composable) Here: two new monads H` and H for hybrid iteration : Neves, Barbosa, Hofmann, and Martins 2016, Continuity as a computational effect 2/15

3 Quick Intro: Bouncing Ball and Zeno Behaviour Bouncing ball is a simple Newtonian system specified by differential equation : h g (g «9.8) whose solution is hptq h 0 ` v 0 t gt2 2 1 with initial values: v 0 0, h 0 0 (peak height) h 0 0, v 0 0 (zero height) The velocity changes discretely at the bottom v ÞÑ cv, but it changes continuously in the meanwhile. This is called hybrid behaviour The state of rest is only reachable in the limit. This is called Zeno behaviour 3/15

4 Progressive Iteration vs. Singular Iteration Bouncing ball movement is progressive in the sense that each iteration is non-instantaneous On the other hand while true tx : 1 xu is not progressive and must yield the divergence K This disrupts the time flow structure, for we expect while true tx : 1 xu» while true tx : 1 xu; waitp1q Idea: progressiveness is a form of abstract guardedness : : Goncharov and Schröder 2018, Guarded Traced Categories 4/15

5 Monads in Semantics Monads formalize generalized functions : f : X Ñ TY, like nondeterministic (with T PX ) or partial (with TX X ` 1) T is a type constructor, together with operations η : X Ñ TX (unit) and pf : X Ñ TY q ÞÑ pf : TX Ñ TY q (lifting), inducing the Klesili category of T under id η : X Ñ TX f g pf : Y Ñ TZq pg : X Ñ TY q In Haskell s point-full notation: do x Ð p; f pxq f ppq : Moggi 1991, Notions of Computation and Monads 5/15

6 Abstract Guardedness on Monads Abstract guardedeness for a monad T is a relation between Kleisi morphisms f : X Ñ TY and summands σ : Y 1 Y satisfying (trv) (sum) (cmp) f : X Ñ TY pt in 1 q f : X Ñ in2 T py ` Zq f : X Ñ σ TZ g : Y Ñ σ TZ rf, gs : X ` Y Ñ σ TZ f : X Ñ in2 T py ` Zq g : Y Ñ σ TV h : Z Ñ TV rg, hs f : X Ñ σ TV where f : X Ñ σ TY means that f and σ are in the relation 6/15

7 Abstract Guardedness on Monads A monad is guarded Elgot if it supports partial iteration sending each f : X Ñ 2 T py ` X q to f : : X Ñ TY satisfying the fixpoint law and other laws of iteration f : rη, f : s f This yields 2-dimensional classification: total partial iterative (unique -- : ) degenerate, e.g. T 1 completely iterative, e.g. T νγ. P ω p-- `A ˆ γq Elgot (non-unique -- : ) e.g. T P e.g. T PpA ˆ -- `A ω q 7/15

8 Comparing Guarded and Unguarded Iteration We identify totally guarded iteration with unguarded iteration T P: this supports unguarded iteration via least fixpoints T P `, i.e. non-empty powerset: the iteration operator is inherited from P along injection P ` ãñ P The resulting operator is partial, for η inr : 1 Ñ P `p1 ` 1q does not have a fixpoint This operator is guarded with f : X Ñ 2 P `py ` Zq Dy. inl y P f pxq 8/15

9 Basic Monad for Hybrid Computations

10 The Monad H 0 1. A closed trajectory t is a pair pt d P R`, t e : r0, t d s Ñ X q 2. An infinite trajectory t is a pair p8, t e : r0, 8q Ñ X q 3. More uniformly, t P R` ˆ X R` + flattening condition: x ě t d implies t e pxq t e pt d q Let H 0 X be the set of trajectories identified by (3). 9/15

11 The Monad H 0 1. A closed trajectory t is a pair pt d P R`, t e : r0, t d s Ñ X q 2. An infinite trajectory t is a pair p8, t e : r0, 8q Ñ X q 3. More uniformly, t P R` ˆ X R` + flattening condition: x ě t d implies t e pxq t e pt d q Let H 0 X be the set of trajectories identified by (3). H 0 is a monad! : Unit: ηpxq p0, xq, where x is the constant function λ. x; Kleisli lifting: given f : X Ñ H 0 Y and pd, eq P H 0 X, pf pd, eqq d d ` f d pe d q d P R` 8 pf pd, eqq t e fe 0 pe t q t ă d fe t d pe d q where x t reads as xptq and x y z as if y then x else z : Neves, Barbosa, Hofmann, and Martins 2016, Continuity as a computational effect 9/15

12 Why H 0 Does Not Suffice? Closure under iteration ñ closure under Zeno behaviour 10/15

13 Why H 0 Does Not Suffice? Closure under iteration ñ closure under Zeno behaviour However, 1. Zeno argued that it is impossible to reach the limit;) So, it is impossible to close the trajectory even if there is a unique closed trajectory candidate 10/15

14 Why H 0 Does Not Suffice? Closure under iteration ñ closure under Zeno behaviour However, 1. Zeno argued that it is impossible to reach the limit;) So, it is impossible to close the trajectory even if there is a unique closed trajectory 1 candidate 2. It is certainly possible to have hybrid behaviour without a closed trajectory candidate whatsoever Solution: open trajectories /15

15 Iterating Hybrid Computations

16 Partial Trajectories Let M be the maybe monad: MX X ` 1 Proposition: Every monad T pt, η, p--q q induces a monad TM whose underlying functor is X ÞÑ T px ` 1q Theorem: The hom-sets HompX, TMq can be suitably ordered, so that 1. Every H 0 MX is an ω-complete partial order under Ď, and p0, Kq is the bottom element 2. Kleisli composition is monotone and continuous on both sides 3. Kleisli composition is right-strict: f p0, Kq p0, Kq However, Kleisli composition is not left-strict: p0, Kq p1, idq p1, Kq p0, Kq! Theorem: By (1) (3), H 0 M is a (total) Elgot monad 11/15

17 Open Trajectories H 0 M contains lots of junk trajectories, while we only need open and closed ones: pd P R`, e : r0, dq Ñ X q and pd P R`, e : r0, ds Ñ X q Let H` be the following subfunctor of H 0 M: pd, eq P H`X iff e K and e t Ó for all t P r0, dq This induces a monad H` with pf pd, eqq d d, pf pd, eqq t e f 0 e pe t q t ă d K if e d Ò pf pd, eqq d d ` f d pe d q, pf pd, eqq t e f 0 e pe t q t ă d f t d e pe d q if e d Ó Total iteration of H 0 M restricts to guarded iteration of H` with guardedness being progressiveness: pd, eq : X Ñ 2 H`pY ` Zq if e 0 : X Ñ Y ` Z factors through inl 12/15

18 Full Hybrid Monad H In H` we excluded the black hole trajectory p0, Kq, for it brings up space-time artefacts like p1, Kq Let H be the following subfunctor of H 0 M: pd, eq P HX iff e K and e t Ó for all t P r0, dq Now, the induced injection υ : H ãñ H 0 M is not a monad morphism: p0, Kq p1, idq must be p0, Kq in H, but not in H 0 M However, υ has a retraction ρ : H 0 M Ñ H, which is a monad morphism. Moreover pυ, ρq is an iteration-congruent retraction : Theorem: H is an iteration-congruent retract of H 0 M, hence an Elgot monad : Goncharov, Schröder, Rauch, and Piróg 2017, Unifying Guarded and Unguarded Iteration 13/15

19 Big Picture H 0 M ι υ H` ρι ρ H H` is a submonad of H via ρι progressive (partial) iteration on H` is a restriction of total iteration on H (analogously to P ` vs. P) 14/15

20 Further Work What is a topological semantic domain for hybrid computations? Designing a hybrid programming language, relating to the metalanguage for guarded iteration : Program logics for hybrid iteration, apposing Platzer s differential dynamic logic Process semantics via generalized coalgebraic resumption monad transform ; νγ. Hp-- `A ˆ γq Guarded Lawvere theories, guarded PROPs and applications to H 0, H`, H : Goncharov, Rauch, and Schröder 2018, A Metalanguage for Guarded Iteration ; Goncharov, Rauch, and Schröder 2015, Unguarded Recursion on Coinductive Resumptions 15/15

21 References I References Sergey Goncharov and Lutz Schröder. Guarded traced categories. In Christel Baier and Ugo Dal Lago, editors, Proc. 21th International Conference on Foundations of Software Science and Computation Structures (FoSSaCS 2018). Springer, Sergey Goncharov, Christoph Rauch, and Lutz Schröder. Unguarded recursion on coinductive resumptions. In Mathematical Foundations of Programming Semantics, MFPS 2015, /15

22 References II Sergey Goncharov, Lutz Schröder, Christoph Rauch, and Maciej Piróg. Unifying guarded and unguarded iteration. In Javier Esparza and Andrzej Murawski, editors, Foundations of Software Science and Computation Structures, FoSSaCS 2017, volume 10203, pages Springer, Sergey Goncharov, Christoph Rauch, and Lutz Schröder. A metalanguage for guarded iteration. In Bernd Fischer and Tarmo Uustalu, editors, 15th International Colloquium on Theoretical Aspects of Computing (ICTAC 2018), Eugenio Moggi. Notions of computation and monads. Inf. Comput., 93: 55 92, Renato Neves, Luis S. Barbosa, Dirk Hofmann, and Manuel A. Martins. Continuity as a computational effect. Journal of Logical and Algebraic Methods in Programming, 85(5, Part 2): , Articles dedicated to Prof. J. N. Oliveira on the occasion of his 60th birthday. 14/15

23 Simple Iteration and Instability Hybrid iteration occurring in the literature is a Kleene-style iteration: it is supposed to send f : X Ñ H`X to f # : X Ñ H`X (e.g. this is the case with bouncing ball, because there is no final result ) We recover such basic iteration pd, eq # : X Ñ H`X as a progressive one: : pd, λx. λt. inl e 0 pxq t 0 inr e t pxqq : X Ñ 2 H`pX ` X q Unlike H 0, we cannot move H` (even more so H) from Set to Top because of instability: given continuous pd, eq : R` Ñ H`R` with dpxq x, e t pxq x, pd, eq # d p0q 0, pd, eq# d pɛq 8 for any ɛ ą 0 15/15

On a Monadic Encoding of Continuous Behaviour

On a Monadic Encoding of Continuous Behaviour On a Monadic Encoding of Continuous Behaviour Renato Neves joint work with: Luís Barbosa, Manuel Martins, Dirk Hofmann INESC TEC (HASLab) & Universidade do Minho October 1, 2015 1 / 27 The main goal A

More information

Towards a Flowchart Diagrammatic Language for Monad-based Semantics

Towards a Flowchart Diagrammatic Language for Monad-based Semantics Towards a Flowchart Diagrammatic Language or Monad-based Semantics Julian Jakob Friedrich-Alexander-Universität Erlangen-Nürnberg julian.jakob@au.de 21.06.2016 Introductory Examples 1 2 + 3 3 9 36 4 while

More information

Unifying Guarded and Unguarded Iteration

Unifying Guarded and Unguarded Iteration Unifying Guarded and Unguarded Iteration Sergey Goncharov 1, Lutz Schröder 1, Christoph Rauch 1, and Maciej Piróg 2 1 Friedrich-Alexander-Universität Erlangen-Nürnberg 2 Department of Computer Science,

More information

(Co-)algebraic Automata Theory

(Co-)algebraic Automata Theory (Co-)algebraic Automata Theory Sergey Goncharov, Stefan Milius, Alexandra Silva Erlangen, 5.11.2013 Chair 8 (Theoretical Computer Science) Short Histrory of Coalgebraic Invasion to Automata Theory Deterministic

More information

Bringing class diagrams to life

Bringing class diagrams to life Bringing class diagrams to life Luis S. Barbosa & Sun Meng DI-CCTC, Minho University, Braga & CWI, Amsterdam UML & FM Workshop 2009 Rio de Janeiro 8 December, 2009 Formal Methods proofs problems structures

More information

Semantics for algebraic operations

Semantics for algebraic operations MFPS 17 Preliminary Version Semantics for algebraic operations Gordon Plotkin and John Power 1 Laboratory for the Foundations of Computer Science University of Edinburgh King s Buildings, Edinburgh EH9

More information

A Monad For Randomized Algorithms

A Monad For Randomized Algorithms A Monad For Randomized Algorithms Tyler Barker Tulane University 1 Domains XII August 26, 2015 1 Supported by AFOSR Tyler Barker Tulane University A Monad For Randomized Algorithms Domains XII August 26,

More information

Partially ordered monads and powerset Kleene algebras

Partially ordered monads and powerset Kleene algebras Partially ordered monads and powerset Kleene algebras Patrik Eklund 1 and Werner Gähler 2 1 Umeå University, Department of Computing Science, SE-90187 Umeå, Sweden peklund@cs.umu.se 2 Scheibenbergstr.

More information

Towards Trace Metrics via Functor Lifting

Towards Trace Metrics via Functor Lifting Towards Trace Metrics via Functor Lifting Paolo Baldan 1,Filippo Bonchi 2, Henning Kerstan 3 and Barbara König 3 1 Università di Padova, Italy 2 CNRS, ENS Lyon, Université de Lyon, France 3 Universität

More information

A categorical view of computational effects

A categorical view of computational effects Emily Riehl Johns Hopkins University A categorical view of computational effects C mp se::conference 1. Functions, composition, and categories 2. Categories for computational effects (monads) 3. Categories

More information

Synthetic Computability

Synthetic Computability Synthetic Computability Andrej Bauer Department of Mathematics and Physics University of Ljubljana Slovenia MFPS XXIII, New Orleans, April 2007 What is synthetic mathematics? Suppose we want to study mathematical

More information

Internalizing the simplicial model structure in Homotopy Type Theory. Simon Boulier

Internalizing the simplicial model structure in Homotopy Type Theory. Simon Boulier Internalizing the simplicial model structure in Homotopy Type Theory Simon Boulier A type theory with two equalities Model structures in mathematics Internalizing the simplicial model structure in HoTT

More information

A note on coinduction and weak bisimilarity for while programs

A note on coinduction and weak bisimilarity for while programs Centrum voor Wiskunde en Informatica A note on coinduction and weak bisimilarity for while programs J.J.M.M. Rutten Software Engineering (SEN) SEN-R9826 October 31, 1998 Report SEN-R9826 ISSN 1386-369X

More information

FINITE RESOLUTIONS DIGEST NORTHWESTERN TAF SEMINAR FEBRUARY 21, Introduction

FINITE RESOLUTIONS DIGEST NORTHWESTERN TAF SEMINAR FEBRUARY 21, Introduction FINITE RESOLUTIONS DIGEST NORTHWESTERN TAF SEMINAR FEBRUARY, 04 Remark 0.. My main reference is A Resolution of the Kpq-Local Sphere at the Pme 3 by Goerss, Henn, Mahowald and Rezk, and Finite Resolutions

More information

Unifying Semantics for Programming and Verification

Unifying Semantics for Programming and Verification Unifying Semantics for Programming and Verification Sergey Goncharov April 28, 2018 Contents 1 Unifying Semantics: Methodology 2 1.1 General View of Semantics........................... 2 1.1.1 Denotational

More information

Univalent Foundations and Set Theory

Univalent Foundations and Set Theory Univalent Foundations and Set Theory Talk by Vladimir Voevodsky from Institute for Advanced Study in Princeton, NJ. May 8, 2013 1 Univalent foundations - are based on a class of formal deduction systems

More information

A fully abstract semantics for a nondeterministic functional language with monadic types

A fully abstract semantics for a nondeterministic functional language with monadic types A fully abstract semantics for a nondeterministic functional language with monadic types Alan Jeffrey 1 School of Cognitive and Computing Sciences University of Sussex, Brighton BN1 9QH, UK alanje@cogs.susx.ac.uk

More information

1 The Hyland-Schalke functor G Rel. 2 Weakenings

1 The Hyland-Schalke functor G Rel. 2 Weakenings 1 The Hyland-Schalke functor G Rel Let G denote an appropriate category of games and strategies, and let Rel denote the category of sets and relations. It is known (Hyland, Schalke, 1996) that the following

More information

Introduction to Kleene Algebras

Introduction to Kleene Algebras Introduction to Kleene Algebras Riccardo Pucella Basic Notions Seminar December 1, 2005 Introduction to Kleene Algebras p.1 Idempotent Semirings An idempotent semiring is a structure S = (S, +,, 1, 0)

More information

NOTES WEEK 13 DAY 2 SCOT ADAMS

NOTES WEEK 13 DAY 2 SCOT ADAMS NOTES WEEK 13 DAY 2 SCOT ADAMS Recall: Let px, dq be a metric space. Then, for all S Ď X, we have p S is sequentially compact q ñ p S is closed and bounded q. DEFINITION 0.1. Let px, dq be a metric space.

More information

ADVANCE TOPICS IN ANALYSIS - REAL. 8 September September 2011

ADVANCE TOPICS IN ANALYSIS - REAL. 8 September September 2011 ADVANCE TOPICS IN ANALYSIS - REAL NOTES COMPILED BY KATO LA Introductions 8 September 011 15 September 011 Nested Interval Theorem: If A 1 ra 1, b 1 s, A ra, b s,, A n ra n, b n s, and A 1 Ě A Ě Ě A n

More information

Conceptual Connections of Circularity and Category Theory

Conceptual Connections of Circularity and Category Theory 1/64 Conceptual Connections of Circularity and Category Theory Larry Moss Indiana University, Bloomington ESSLLI 2012, Opole 2/64 The conceptual comparison chart Filling out the details is my goal for

More information

Towards a Formal Theory of Graded Monads

Towards a Formal Theory of Graded Monads Towards a Formal Theory of Graded Monads Soichiro Fujii 1, Shin-ya Katsumata 2, and Paul-André Melliès 3 1 Department of Computer Science, The University of Tokyo 2 RIMS, Kyoto University 3 Laboratoire

More information

Lax Extensions of Coalgebra Functors and Their Logic

Lax Extensions of Coalgebra Functors and Their Logic Lax Extensions of Coalgebra Functors and Their Logic Johannes Marti, Yde Venema ILLC, University of Amsterdam Abstract We discuss the use of relation lifting in the theory of set-based coalgebra and coalgebraic

More information

Recursion in Coalgebras

Recursion in Coalgebras Recursion in Coalgebras Mauro Jaskelioff mjj@cs.nott.ac.uk School of Computer Science & IT FoP Away Day 2007 Outline Brief overview of coalgebras. The problem of divergence when considering unguarded recursion.

More information

An Algebra of Hybrid Systems

An Algebra of Hybrid Systems Peter Höfner University of Augsburg August 22, 2008 The University of Queensland, August 2008 1 c Peter Höfner Hybrid Systems Definition hybrid systems are heterogeneous systems characterised by the interaction

More information

Duality and Automata Theory

Duality and Automata Theory Duality and Automata Theory Mai Gehrke Université Paris VII and CNRS Joint work with Serge Grigorieff and Jean-Éric Pin Elements of automata theory A finite automaton a 1 2 b b a 3 a, b The states are

More information

The equivalence axiom and univalent models of type theory.

The equivalence axiom and univalent models of type theory. The equivalence axiom and univalent models of type theory. (Talk at CMU on February 4, 2010) By Vladimir Voevodsky Abstract I will show how to define, in any type system with dependent sums, products and

More information

Topological Groupoids and Exponentiability

Topological Groupoids and Exponentiability Topological Groupoids and Exponentiability Susan Niefield (joint with Dorette Pronk) July 2017 Overview Goal: Study exponentiability in categories of topological groupoid. Starting Point: Consider exponentiability

More information

REAL ANALYSIS II TAKE HOME EXAM. T. Tao s Lecture Notes Set 5

REAL ANALYSIS II TAKE HOME EXAM. T. Tao s Lecture Notes Set 5 REAL ANALYSIS II TAKE HOME EXAM CİHAN BAHRAN T. Tao s Lecture Notes Set 5 1. Suppose that te 1, e 2, e 3,... u is a countable orthonormal system in a complex Hilbert space H, and c 1, c 2,... is a sequence

More information

A probabilistic lambda calculus - Some preliminary investigations

A probabilistic lambda calculus - Some preliminary investigations A probabilistic lambda calculus - Some preliminary investigations Ugo Dal Lago, Margherita Zorzi Università di Bologna, Università di Verona June, 9-11, 2010, Torino Introduction: Λ P We present some results

More information

A Behavioral Congruence for Concurrent Constraint Programming with Nondeterministic Choice

A Behavioral Congruence for Concurrent Constraint Programming with Nondeterministic Choice A Behavioral Congruence for Concurrent Constraint Programming with Nondeterministic Choice Luis Pino*, Filippo Bonchi** and Frank Valencia* (Presented by: Jorge A. Pe rez) *E quipe Come te, LIX, Laboratoire

More information

PDF hosted at the Radboud Repository of the Radboud University Nijmegen

PDF hosted at the Radboud Repository of the Radboud University Nijmegen PDF hosted at the Radboud Repository of the Radboud University Nijmegen The following full text is a preprint version which may differ from the publisher's version. For additional information about this

More information

Probabilistic Recursion Theory and Implicit Computational Complexity

Probabilistic Recursion Theory and Implicit Computational Complexity Probabilistic Recursion Theory and Implicit Computational Complexity Sara Zuppiroli (Work with Ugo Dal Lago) ICTAC, Bucharest, September 17th 2014 Deterministic Machines M Deterministic Machines x Σ M

More information

A Non-Topological View of Dcpos as Convergence Spaces

A Non-Topological View of Dcpos as Convergence Spaces A Non-Topological View of Dcpos as Convergence Spaces Reinhold Heckmann AbsInt Angewandte Informatik GmbH, Stuhlsatzenhausweg 69, D-66123 Saarbrücken, Germany e-mail: heckmann@absint.com Abstract The category

More information

Synthetic Computability (Computability Theory without Computers)

Synthetic Computability (Computability Theory without Computers) Synthetic Computability (Computability Theory without Computers) Andrej Bauer Department of Mathematics and Physics University of Ljubljana Slovenia Gargnano, Lago di Garda, September 2006 What is synthetic

More information

Coinductive big-step semantics and Hoare logics for nontermination

Coinductive big-step semantics and Hoare logics for nontermination Coinductive big-step semantics and Hoare logics for nontermination Tarmo Uustalu, Inst of Cybernetics, Tallinn joint work with Keiko Nakata COST Rich Models Toolkit meeting, Madrid, 17 18 October 2013

More information

Preliminaries. Chapter 3

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

Equational reasoning for probabilistic programming Part II: Quantitative equational logic

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

Formal Concept Analysis

Formal Concept Analysis Formal Concept Analysis II Closure Systems and Implications Robert Jäschke Asmelash Teka Hadgu FG Wissensbasierte Systeme/L3S Research Center Leibniz Universität Hannover slides based on a lecture by Prof.

More information

Healthiness Conditions for Predicate Transformers

Healthiness Conditions for Predicate Transformers MFPS 2015 Healthiness Conditions for Predicate Transformers Klaus Keimel 1,2 Fachbereich Mathematik Technische Universität Darmstadt 64289 Darmstadt, Germany Abstract The behavior of a program can be modeled

More information

Categorical Databases

Categorical Databases Categorical Databases Patrick Schultz, David Spivak MIT Ryan Wisnesky Categorical Informatics and others October 2017 Introduction This talk describes a new algebraic (purely equational) way to formalize

More information

Logical connections in the many-sorted setting

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

The State Explosion Problem

The State Explosion Problem The State Explosion Problem Martin Kot August 16, 2003 1 Introduction One from main approaches to checking correctness of a concurrent system are state space methods. They are suitable for automatic analysis

More information

Categories and Functors (Lecture Notes for Midlands Graduate School, 2013) Uday S. Reddy The University of Birmingham

Categories and Functors (Lecture Notes for Midlands Graduate School, 2013) Uday S. Reddy The University of Birmingham Categories and Functors (Lecture Notes for Midlands Graduate School, 2013) Uday S. Reddy The University of Birmingham April 7, 2013 2 Contents 1 Categories 5 1.1 Categories with and without elements.......................

More information

Disjunctive Bases: Normal Forms for Modal Logics

Disjunctive Bases: Normal Forms for Modal Logics Disjunctive Bases: Normal Forms for Modal Logics Sebastian Enqvist sebastian.enqvist@fil.lu.se Yde Venema y.venema@uva.nl Abstract We present the concept of a disjunctive basis as a generic framework for

More information

Productive functions as Term-coalgebra anamorphisms in Coq

Productive functions as Term-coalgebra anamorphisms in Coq Productive functions as Term-coalgebra anamorphisms in Coq Clemens Kupke, Milad Niqui and Jan Rutten April 26, 2010 Abstract We present a method for implementing a class of productive functions in Coq.

More information

Wolfgang Jeltsch. Seminar talk at the Institute of Cybernetics Tallinn, Estonia

Wolfgang Jeltsch. Seminar talk at the Institute of Cybernetics Tallinn, Estonia in in Brandenburgische Technische Universität Cottbus Cottbus, Germany Seminar talk at the Institute of Cybernetics Tallinn, Estonia February 10, 2011 in in in trueness of a proposition depends on time

More information

Interpreting Polymorphic FPC into domain theoretic models of parametric polymorphism

Interpreting Polymorphic FPC into domain theoretic models of parametric polymorphism Interpreting Polymorphic FPC into domain theoretic models of parametric polymorphism Rasmus Ejlers Møgelberg DISI, Università di Genova mogelberg@disi.unige.it Abstract. This paper shows how parametric

More information

Algebras. Larry Moss Indiana University, Bloomington. TACL 13 Summer School, Vanderbilt University

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

1. The Method of Coalgebra

1. The Method of Coalgebra 1. The Method of Coalgebra Jan Rutten CWI Amsterdam & Radboud University Nijmegen IMS, Singapore - 15 September 2016 Overview of Lecture one 1. Category theory (where coalgebra comes from) 2. Algebras

More information

arxiv: v1 [cs.lo] 23 Feb 2018

arxiv: v1 [cs.lo] 23 Feb 2018 Guarded Traced Categories Sergey Goncharov and Lutz Schröder Friedrich-Alexander-Universität Erlangen-Nürnberg arxiv:1802.08756v1 [cs.lo] 23 Feb 2018 Abstract. Notions of guardedness serve to delineate

More information

INTERPLAY BETWEEN C AND VON NEUMANN

INTERPLAY BETWEEN C AND VON NEUMANN INTERPLAY BETWEEN C AND VON NEUMANN ALGEBRAS Stuart White University of Glasgow 26 March 2013, British Mathematical Colloquium, University of Sheffield. C AND VON NEUMANN ALGEBRAS C -algebras Banach algebra

More information

Elements of Category Theory

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

Higher Order Containers

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

NOTES WEEK 01 DAY 1 SCOT ADAMS

NOTES WEEK 01 DAY 1 SCOT ADAMS NOTES WEEK 01 DAY 1 SCOT ADAMS Question: What is Mathematics? Answer: The study of absolute truth. Question: Why is it so hard to teach and to learn? Answer: One must learn to play a variety of games called

More information

A Coalgebraic Approach to Linear-Time Logics

A Coalgebraic Approach to Linear-Time Logics A Coalgebraic Approach to Linear-Time Logics Corina Cîrstea University of Southampton cc2@ecs.soton.ac.uk Abstract. We extend recent work on defining linear-time behaviour for state-based systems with

More information

Recent Developments in and Around Coaglgebraic Logics

Recent Developments in and Around Coaglgebraic Logics Recent Developments in and Around Coaglgebraic Logics D. Pattinson, Imperial College London (in collaboration with G. Calin, R. Myers, L. Schröder) Example: Logics in Knowledge Representation Knowledge

More information

Probability as Logic

Probability as Logic Probability as Logic Prakash Panangaden 1 1 School of Computer Science McGill University Estonia Winter School March 2015 Panangaden (McGill University) Probabilistic Languages and Semantics Estonia Winter

More information

What are Iteration Theories?

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

Proofs and computations

Proofs and computations (j.w.w. Kenji Miyamoto) Mathematisches Institut, LMU, München Leeds University, 7. March 2012 Formalization and extraction One can extract from a (constructive) proof of a formula with computational content

More information

A few bridges between operational and denotational semantics of programming languages

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

Towards Operations on Operational Semantics

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

Coalgebraic Lindström Theorems

Coalgebraic Lindström Theorems Coalgebraic Lindström Theorems Alexander Kurz University of Leicester, UK Yde Venema ILLC, Amsterdam, The Netherlands Abstract We study modal Lindström theorems from a coalgebraic perspective. We provide

More information

Monad Transformers as Monoid Transformers

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

Monoidal Categories, Bialgebras, and Automata

Monoidal Categories, Bialgebras, and Automata Monoidal Categories, Bialgebras, and Automata James Worthington Mathematics Department Cornell University Binghamton University Geometry/Topology Seminar October 29, 2009 Background: Automata Finite automata

More information

Monads Need Not Be Endofunctors

Monads Need Not Be Endofunctors Monads Need Not Be Endofunctors Thorsten Altenkirch 1, James Chapman 2, and Tarmo Uustalu 2 1 School of Computer Science, University of Nottingham 2 Institute of Cybernetics, Tallinn University of Technology

More information

A Propositional Dynamic Logic for Instantial Neighborhood Semantics

A Propositional Dynamic Logic for Instantial Neighborhood Semantics A Propositional Dynamic Logic for Instantial Neighborhood Semantics Johan van Benthem, Nick Bezhanishvili, Sebastian Enqvist Abstract We propose a new perspective on logics of computation by combining

More information

Erdinç Dündar, Celal Çakan

Erdinç Dündar, Celal Çakan DEMONSTRATIO MATHEMATICA Vol. XLVII No 3 2014 Erdinç Dündar, Celal Çakan ROUGH I-CONVERGENCE Abstract. In this work, using the concept of I-convergence and using the concept of rough convergence, we introduced

More information

GENERAL RECURSION VIA COINDUCTIVE TYPES

GENERAL RECURSION VIA COINDUCTIVE TYPES Logical Methods in Computer Science Vol. 1 (2:1) 2005, pp. 1 28 www.lmcs-online.org Submitted Dec. 22, 2004 Published Jul. 13, 2005 GENERAL RECURSION VIA COINDUCTIVE TYPES VENANZIO CAPRETTA Department

More information

Teooriaseminar. TTÜ Küberneetika Instituut. May 10, Categorical Models. for Two Intuitionistic Modal Logics. Wolfgang Jeltsch.

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

b e i ga set s oane f dast heco mm on n va ns ing lo c u soft w section

b e i ga set s oane f dast heco mm on n va ns ing lo c u soft w section 66 M M Eq: 66 - -I M - - - -- -- - - - - -- - S I T - I S W q - I S T q ] q T G S W q I ] T G ˆ Gα ˆ ˆ ] H Z ˆ T α 6H ; Z - S G W [6 S q W F G S W F S W S W T - I ] T ˆ T κ G Gα ±G κ α G ˆ + G > H O T

More information

Cellularity, composition, and morphisms of algebraic weak factorization systems

Cellularity, composition, and morphisms of algebraic weak factorization systems Cellularity, composition, and morphisms of algebraic weak factorization systems Emily Riehl University of Chicago http://www.math.uchicago.edu/~eriehl 19 July, 2011 International Category Theory Conference

More information

Domain theory and denotational semantics of functional programming

Domain theory and denotational semantics of functional programming Domain theory and denotational semantics of functional programming Martín Escardó School of Computer Science, Birmingham University MGS 2007, Nottingham, version of April 20, 2007 17:26 What is denotational

More information

EXTENSIONS IN THE THEORY OF LAX ALGEBRAS Dedicated to Walter Tholen on the occasion of his 60th birthday

EXTENSIONS IN THE THEORY OF LAX ALGEBRAS Dedicated to Walter Tholen on the occasion of his 60th birthday Theory and Applications of Categories, Vol. 21, No. 7, 2008, pp. 118 151. EXTENSIONS IN THE THEORY OF LAX ALGEBRAS Dedicated to Walter Tholen on the occasion of his 60th birthday CHRISTOPH SCHUBERT AND

More information

Simulations and Bisimulations for Coalgebraic Modal Logics

Simulations and Bisimulations for Coalgebraic Modal Logics Simulations and Bisimulations for Coalgebraic Modal Logics Daniel Gorín and Lutz Schröder Department of Computer Science, Universität Erlangen-Nürnberg Abstract. Simulations serve as a proof tool to compare

More information

The Approximation Theorem for the Λµ-Calculus

The Approximation Theorem for the Λµ-Calculus The Approximation Theorem for the Λµ-Calculus Ugo de Liguoro ICTCS 13 - September 2013, Palermo Parigot s λµ-calculus (1992) is an extension of the λ-calculus to compute with classical proofs However there

More information

ALGEBRAIC GROUPS JEROEN SIJSLING

ALGEBRAIC GROUPS JEROEN SIJSLING ALGEBRAIC GROUPS JEROEN SIJSLING The goal of these notes is to introduce and motivate some notions from the theory of group schemes. For the sake of simplicity, we restrict to algebraic groups (as defined

More information

Logic for Computational Effects: work in progress

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

About Typed Algebraic Lambda-calculi

About Typed Algebraic Lambda-calculi About Typed Algebraic Lambda-calculi Benoît Valiron INRIA Saclay/LIX Palaiseau, France valiron@lix.polytechnique.fr Abstract Arrighi and Dowek (2008) introduce an untyped lambdacalculus together with a

More information

Mathematical Finance

Mathematical Finance ETH Zürich, HS 2017 Prof. Josef Teichmann Matti Kiiski Mathematical Finance Solution sheet 14 Solution 14.1 Denote by Z pz t q tpr0,t s the density process process of Q with respect to P. (a) The second

More information

Valence automata as a generalization of automata with storage

Valence automata as a generalization of automata with storage Valence automata as a generalization of automata with storage Georg Zetzsche Technische Universität Kaiserslautern D-CON 2013 Georg Zetzsche (TU KL) Valence automata D-CON 2013 1 / 23 Example (Pushdown

More information

Streams and Coalgebra Lecture 2

Streams and Coalgebra Lecture 2 Streams and Coalgebra Lecture 2 Helle Hvid Hansen and Jan Rutten Radboud University Nijmegen & CWI Amsterdam Representing Streams II, Lorentz Center, Leiden, January 2014 Tutorial Overview Lecture 1 (Hansen):

More information

Jesse Han. October 10, McMaster University. Strong conceptual completeness and internal. adjunctions in DefpT q. Jesse Han.

Jesse Han. October 10, McMaster University. Strong conceptual completeness and internal. adjunctions in DefpT q. Jesse Han. and and McMaster University October 10, 2017 and What is for first-order logic? A statement for a logic(al doctrine) is an assertion that a theory in this logic(al doctrine) can be recovered from an appropriate

More information

Transformation of Corecursive Graphs

Transformation of Corecursive Graphs Transformation of Corecursive Graphs Towards M-Adhesive Categories of Corecursive Graphs Julia Padberg 10.2.2017 Padberg Transformation of Corecursive Graphs 10.2.2017 1 Motivation Table of Contents 1

More information

Abstracting away from cell complexes

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

Bisimulation for Neighbourhood Structures

Bisimulation for Neighbourhood Structures Bisimulation for Neighbourhood Structures Helle Hvid Hansen 1,2 Clemens Kupke 2 Eric Pacuit 3 1 Vrije Universiteit Amsterdam (VUA) 2 Centrum voor Wiskunde en Informatica (CWI) 3 Universiteit van Amsterdam

More information

Approximation Algorithms using Allegories and Coq

Approximation Algorithms using Allegories and Coq Approximation Algorithms using Allegories and Coq Durjay Chowdhury Supervisor: Dr. Michael Winter Submitted in partial fulfilment of the requirements for the degree of Master of Science Department of Computer

More information

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

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

Context-Free Languages, Coalgebraically

Context-Free Languages, Coalgebraically Context-Free Languages, Coalgebraically Joost Winter 1, Marcello M. Bonsangue 2,1, and Jan Rutten 1,3 1 Centrum Wiskunde & Informatica (CWI) 2 LIACS Leiden University 3 Radboud University Nijmegen Abstract.

More information

7. Homotopy and the Fundamental Group

7. Homotopy and the Fundamental Group 7. Homotopy and the Fundamental Group The group G will be called the fundamental group of the manifold V. J. Henri Poincaré, 895 The properties of a topological space that we have developed so far have

More information

Minimal logic for computable functionals

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

Flat Coalgebraic Fixed Point Logics

Flat Coalgebraic Fixed Point Logics Lutz Schröder, Yde Venema: Flat Coalgebraic Fixed Point Logics 1 IFIP WG 1.3 Meeting, Etelsen, July 2010 Flat Coalgebraic Fixed Point Logics Lutz Schröder 1,2 Yde Venema 3 1 Safe and Secure Cognitive Systems,

More information

Why walk when you can take the tube?

Why walk when you can take the tube? Under consideration for publication in J. Functional Programming 1 F U N C T I O N A L P E A R L Why walk when you can take the tube? LUCAS DIXON University of Edinburgh PETER HANCOCK and CONOR MCBRIDE

More information

Simulations in Coalgebra

Simulations in Coalgebra Simulations in Coalgebra Jesse Hughes Dept. Philosophy, Technical Univ. Eindhoven, P.O. Box 513, 5600 MB Eindhoven, The Netherlands. J.Hughes@tm.tue.nl Bart Jacobs Dept. Computer Science, Univ. Nijmegen,

More information

MONADS NEED NOT BE ENDOFUNCTORS

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

From parametric polymorphism to models of polymorphic FPC

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

Extensions in the theory of lax algebras

Extensions in the theory of lax algebras Extensions in the theory of lax algebras Christoph Schubert Gavin J. Seal July 26, 2010 Abstract Recent investigations of lax algebras in generalization of Barr s relational algebras make an essential

More information

What are Iteration Theories?

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

MTH 428/528. Introduction to Topology II. Elements of Algebraic Topology. Bernard Badzioch

MTH 428/528. Introduction to Topology II. Elements of Algebraic Topology. Bernard Badzioch MTH 428/528 Introduction to Topology II Elements of Algebraic Topology Bernard Badzioch 2016.12.12 Contents 1. Some Motivation.......................................................... 3 2. Categories

More information