MSP101 Seminarhttps://msp.cis.strath.ac.uk/msp101.rssMSP101 is an ongoing series of informal talks by visiting academics or members of the MSP group.2024-02-13: Nobuko Yoshida (Strachey Chair at University of Oxford)<h2><a href='https://mrg.cs.ox.ac.uk/people/nobuko-yoshida/'>Nobuko Yoshida</a> (Strachey Chair at University of Oxford)</h2><h2>Session types, Linear Logic and Expressiveness</h2><p><b>Abstract</b><br/><br/>I will first talk about the origin of session types and its relationship with expressiveness.<br/>
<br/>
The first technical part of this talk will present an expressiveness result between Linear Logic-based Session Types and System F. The second part gives a summary of recent results on session types, highlighting the expressiveness correspondence between various session-based process calculi.</p><p><b>2024-02-13 12:00:00 UTC<br/>LT412</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#407Wed, 20 Mar 2024 15:23:56 +00002024-05-03: Academic Promotion Information Meeting<h2>Academic Promotion Information Meeting (LT209 (TBC))</h2><h2>Academic Promotion Information Meeting</h2><p><b>2024-05-03 15:00:00 UTC<br/>LT209 (TBC)</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#406Wed, 20 Mar 2024 15:23:56 +00002024-03-29: No talk this week (Easter Bank Holiday)<h2>No talk this week (Easter Bank Holiday)</h2><h2>No talk this week (Easter Bank Holiday)</h2><p><b>2024-03-29 15:00:00 UTC<br/></b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#405Wed, 20 Mar 2024 15:23:56 +00002024-03-15: Fredrik Nordvall Forsberg (MSP)<h2>Fredrik Nordvall Forsberg (MSP)</h2><h2>Can ordinal exponentiation be defined constructively in homotopy type theory?</h2><p><b>Abstract</b><br/><br/>A cornerstone of the classical theory of ordinals is its rich theory of arithmetic, extending the arithmetic of natural numbers. While addition and multiplication are easily seen to be realized by disjoint union and Cartesian product of wellorders respectively, exponentiation is more mysterious. Using classical logic, it can be defined using a case distinction on the exponent, but constructively, this can not serve as a definitional principle, but rather as a specification of what exponentiation should satisfy. Sierpiński [1958] gives an explicit construction for a base with a least element as the set of functions with finite support. This construction again relies on classical logic in several places, but working in homotopy type theory, we have managed to to refine the idea in a more intensional manner to define a^b for ordinals a of the form a = 1 + a' for some ordinal a'. In a sense, this is the best we can hope for: we can prove that an operation a^b satisfying the specification of ordinal exponentiation for all inputs a and b is definable if and only if the law of excluded middle holds.<br/>
<br/>
This is joint work with Tom de Jong, Nicolai Kraus, and Chuangjie Xu.</p><p><b>2024-03-15 15:00:00 UTC<br/>LT209 and Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#404Mon, 11 Mar 2024 18:21:38 +00002024-05-24: Guillaume Allais (MSP)<h2>Guillaume Allais (MSP)</h2><h2>TBD</h2><p><b>2024-05-24 15:00:00 UTC<br/>LT209 and Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#403Fri, 9 Feb 2024 10:14:47 +00002024-05-17: Ross Horne (MSP)<h2>Ross Horne (MSP)</h2><h2>TBD</h2><p><b>2024-05-17 15:00:00 UTC<br/>LT209 and Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#402Fri, 9 Feb 2024 10:14:47 +00002024-05-10: Clemens Kupke (MSP)<h2>Clemens Kupke (MSP)</h2><h2>TBD</h2><p><b>2024-05-10 15:00:00 UTC<br/>LT209 and Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#401Fri, 9 Feb 2024 10:14:47 +00002024-04-26: Zanzi (MSP)<h2>Zanzi (MSP)</h2><h2>TBD</h2><p><b>2024-04-26 15:00:00 UTC<br/>LT209 and Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#400Fri, 9 Feb 2024 10:14:47 +00002024-04-19: Ezra Schoen (MSP)<h2>Ezra Schoen (MSP)</h2><h2>TBD</h2><p><b>2024-04-19 14:00:00 UTC<br/>LT209 and Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#399Fri, 12 Apr 2024 16:35:08 +00002024-04-12: Dylan Braithwaite (MSP)<h2>Dylan Braithwaite (MSP)</h2><h2>Foundational Structures for Communicating Processes</h2><p><b>Abstract</b><br/><br/>In 2009 Cockett and Pastro introduced a model for a typed process calculus in terms of a ‘linear actegory’. They note that the sequent rules of their calculus can be naturally viewed as living in a ‘poly-actegory’, a polycategory whose terms are additionally indexed by a list of objects of a multicategory, of ‘message types’. Although poly-actegories are mainly used as a tool to study the soundness of their language, they could arguably be taken as the foundational concept. <br/> Indeed recently Shulman has proposed a nearly identical structure under the name ‘LNL-polycategories’. Shulman shows that by asking that different collections of universal properties be present, LNL-polycategories may be used as a model for the LNL calculus, CBPV, and other models of effectful calculi. Inspired by this I will survey the universal properties required for implementing the basic communication primitives in a process calculus. With this framework, we can compare process models with the structures present in linear logic models, or effectful models, offering an additional perspective into the existing connections between the pi-calculus and linear logic or algebraic effects.<br/>
</p><p><b>2024-04-12 15:00:00 UTC<br/>LT209 and Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#398Wed, 10 Apr 2024 12:54:44 +00002024-04-05: Jade Master (MSP)<h2>Jade Master (MSP)</h2><h2>I Think Indexed Enriched Categories are Nice.</h2><p><b>Abstract</b><br/><br/>First proposed by Lawvere in 1973, indexed enriched categories are a very complicated mathematical structure studied in only the most privileged ivory towers. In this talk I intend to bring them down to earth by exploring their viability as a data structure. I will cheat by only considering enrichments where the axioms are satisfied trivially. I will explain how these 'trivial' enriched categories are nice data structures for holding solutions to algebraic path problems. Then I will explain how making them indexed allows us to work with distributed, concurrent, and compositional algebraic path problems. This talk will be in line with the research programme I started to develop before I quit and left for industry. Namely, that indexed categories and Grothendieck constructions may be used to develop a general theory of compositional computation. This talk will feature Idris2 code and categorical terminology side-by-side so that those familiar with either language will be able to follow along.</p><p><b>2024-04-05 15:00:00 UTC<br/>LT209 and Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#397Tue, 2 Apr 2024 16:49:45 +00002024-03-22: Matteo Capucci (MSP)<h2>Matteo Capucci (MSP)</h2><h2>Softmax is Argmax, and the Logic of the Reals</h2><p><b>Abstract</b><br/><br/>I will report some work in progress on the semiotics of softmax. This is an operator used in machine learning (but familiar to physicists way before that) to normalize a log-distribution, turning a vector of (thus, a function valued in) logits (i.e. additive reals) into a probability distribution. Its name is due to the fact it acts as a 'probabilistic argmax', since the modes of a softmax distribution reflects the minima (by an accident of duality) of the function. I will show an attempt to make this statement precise, by exhibiting the semantics of a 'very linear logic' on the *-autonomous quantale of extended multiplicative reals. In this logic, additive connectives are also linear, but are still in the same algebraic relation with the multiplicative ones. I will show how to define quantifiers, and thus softmax. If time permits, I'll show a construction of an enriched equipment of relations in which softmax should be characterizable as a Kan lift, in the same way argmax is characterized as a Kan lift in relations.</p><p><b>2024-03-22 15:00:00 UTC<br/>LT209 and Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#396Wed, 20 Mar 2024 14:42:42 +00002024-03-08: Paulo Torrens (University of Kent)<h2>Paulo Torrens (University of Kent)</h2><h2>TBD</h2><p><b>Abstract</b><br/><br/>The continuation-passing style (CPS) translation employed within compilers gives rise to a class of target calculi where direct style functions don't exist anymore. While those may be studied using the lambda calculus, this might not be desired if the language should not be closed under beta-reduction, such as in the intermediate representation (IR) of Appel's compiler. The purpose of this talk is to introduce ongoing work on the metatheory of Thielecke's CPS-calculus, a small theory of continuations based on production IRs, how it relates to actual implementations, and how this allows us to have a strong theoretical background on the study of name-passing IRs in a similar way that the lambda calculus works as a theoretical foundation for functional programming.</p><p><b>2024-03-08 15:00:00 UTC<br/>LT209 and Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#395Thu, 7 Mar 2024 11:14:34 +00002024-03-01: Wen Kokke (MSP)<h2>Wen Kokke (MSP)</h2><h2>Type-Logical Grammar, Controlled Substructure, and Display Calculus</h2><p><b>2024-03-01 15:00:00 UTC<br/>LT209 and Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#394Wed, 28 Feb 2024 13:30:18 +00002024-02-23: Andre Videla (MSP)<h2>Andre Videla (MSP)</h2><h2>Containers for compiler architecture</h2><p><b>Abstract</b><br/><br/>Compiler architecture sucks. It's been left behind by years of software engineering development that have been very successful in developing software past the command-line age. Today, applications are meant to be responsive, accessible from a web browser, enable collaboration, be multi-platform, include some generative AI. Some of those ideas are good, some are bad, but most compilers do not include any of them. In this presentation, I aim to showcase how we can revisit the classical "compiler as a function" architecture using containers to bring the idea of compiler architecture to the XXI century.</p><p><b>2024-02-23 15:00:00 UTC<br/>LT209 and Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#393Wed, 21 Feb 2024 12:55:05 +00002024-02-16: Jules Hedges (MSP)<h2>Jules Hedges (MSP)</h2><h2>Making lenses less pointless</h2><p><b>Abstract</b><br/><br/>This talk contains two ideas. The first is a small trick for programming with lenses in a not-pointfree way, without using macros or other brittle hacks. The key is something I call a "dialectic", which is a value that carries around a delimited continuation with it. The second idea is realising that the central construction of Matteo's "Diegetic Open Games" paper amounts to a monad on the category of lenses that arises as the Kleisli dual of the linear ! comonad in a Dialectica category. By putting these two ideas together we get a shallow DSL for open games, differentiable programming, and other applications of categorical cybernetics. This will be a live coding talk using Haskell, although I think the same ideas should work in any language with first class functions.</p><p><b>2024-02-16 15:00:00 UTC<br/>LT209 and Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#392Wed, 14 Feb 2024 15:05:00 +00002024-02-09: Bob Atkey (MSP)<h2>Bob Atkey (MSP)</h2><h2>Stable domain theory, Program slicing, and Automatic Differentiation</h2><p><b>Abstract</b><br/><br/>I'll talk about a connection I think I've discovered between stable domain theory and program slicing by Galois Connections. Stable domain theory considers a refinement of continuous functions between domains that captures the intuitive idea that a "nice" computable functions that produce values must do so by only looking at part of their input, and that part must be uniquely determined. The same idea turns up in Perera et al.'s formulation of program slicing as Galois connections. I'll try to connect the two via ideas from Automatic Differentiation.</p><p><b>2024-02-09 15:00:00 UTC<br/>LT209 and Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#391Fri, 9 Feb 2024 10:14:47 +00002024-02-02: Conor McBride (MSP)<h2>Conor McBride (MSP)</h2><h2>Presheaves on Purpose</h2><p><b>Abstract</b><br/><br/>Dependently typed programming languages allow us to define indexed families of datatypes, e.g. <code>Term (n : Nat) : Set</code> as the type of lambda-terms with <code>n</code> variables free. As declared, <code>Term</code> is functorial only on the discrete structure of <code>Nat</code>, which is to say that it respects equality and nobody will faint with amazement. But by an outrageous coincidence (which I learned from Altenkirch, Hofmann and Streicher), such terms can be acted on by <em>thinnings</em> from <code>n</code> to some larger scope <code>m</code>, allowing us to carry terms under binders. That is, we can demonstrate by honest toil that <code>Term</code> is a functor from <code>Thin</code> to <code>Set</code>. I dislike honest toil, and will show you how to design it away in this and similar situations. To that end, I present a universe construction for descriptions of datatypes indexed over the objects of some category <code>C</code> which, by construction, extend to a functors from <code>C</code> to <code>Set</code>, a.k.a. presheaves on <code>Cop</code>.</p><p><b>2024-02-02 11:00:00 UTC<br/>LT401 and Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#390Fri, 9 Feb 2024 10:14:47 +00002024-01-26: Malin Altenmüller (MSP)<h2>Malin Altenmüller (MSP)</h2><h2>Plane Graphs, (Co-)Operads, and Pattern Matching</h2><p><b>Abstract</b><br/><br/>I will present work on open surface-embedded graphs as representations of string diagrams. The key feature of these graphs' definition are distinguished boundary vertices which represent their (outer and inner) boundaries. These special vertices make it possible to define surface-embeddings of graphs using a rotation system which specifies an ordering of incident edges at each vertex. We can then also express graph rewrite rules by their action on boundary vertices. Additionally, boundary vertices are a convenient structure to define planar graphs as operads, similar to Spivak's Operad of Wiring Diagrams [1]. I will explain this construction, as well as a dual "co-operad" version of it, and finally the operad-cooperad interaction which yields a notion of graph pattern matching.<br/>
<br/>
[1] https://arxiv.org/abs/1305.0297</p><p><b>2024-01-26 15:00:00 UTC<br/>LT209 and Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#389Fri, 9 Feb 2024 10:14:47 +00002023-12-04: CATNIP<h2><a href='https://sites.google.com/view/catniporg/home?authuser=0'>CATNIP</a> (University of Strathclyde (MC301))</h2><h2>CATNIP</h2><p>The second Categories Network Project (CATNIP) meeting.</p><p><b>2023-12-04 10:30:00 UTC<br/>University of Strathclyde (MC301)</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#388Fri, 9 Feb 2024 10:14:47 +00002023-11-23: Danel Ahman (University of Ljubljana)<h2><a href='https://danel.ahman.ee/'>Danel Ahman</a> (<a href='https://www.fmf.uni-lj.si/en/'>University of Ljubljana</a>)</h2><h2>What do bidirected containers (co-)interpret into?</h2><p><b>Abstract</b><br/><br/>Directed containers are a neat specialisation of containers that fully faithfully interpret into comonad structures on the polynomial functor interpretation of the underlying containers. In terms of shapes and positions, a directed container requires the family of positions to form a certain kind of dependently typed monoid acting on the shapes. In terms of data types, directed containers capture structures where every position in a shape determines a subshape rooted at that position, e.g., positions in a non-empty list determine sublists rooted at those positions.<br/>
<br/>
In this talk I will discuss bidirected containers and what they interpret into. Bidirected containers specialise directed containers further by asking the positions to form a certain kind of dependently typed group acting on the positions. In terms of data types, this corresponds to every sub data structure having a position in it that takes one back to the parent data structure, i.e., data types that behave like zippers. I will also discuss what we need to seem to ask from comonads to get a similarly tight correspondence as we have for directed containers. I will end by wondering whether an analogous story also applies to the cointerpretation of directed containers as update monads.</p><p><b>2023-11-23 15:00:00 UTC<br/>LT210 and Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#387Fri, 9 Feb 2024 10:14:47 +00002023-09-29: Conor McBride (MSP)<h2>Conor McBride (MSP)</h2><h2>An Introduction to Bricks</h2><p><b>2023-09-29 14:00:00 UTC<br/>LT711 and Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#386Sat, 21 Oct 2023 21:24:08 +01002023-12-07: Georgi Nakov (MSP)<h2>Georgi Nakov (MSP)</h2><h2>LabMate --- your faithful and type-safe Matlab assistant</h2><p><b>Abstract</b><br/><br/>Can you write type-safe Matlab code? And what can we do to help you write type-safe Matlab?<br/>
<br/>
This talk is a report on our progress on LabMate --- an interactive system designed to improve on current best practices of writing Matlab code. Our key proposition can be eloquently described as "add types, all the types".<br/>
<br/>
I will give a brief tour of the various features in LabMate and the rationale behind including them. We will also recall the basics of bidirectional type checking, what to do to incorporate dimension and unit checking, and how to represent matrices with high degree of generality in our type system. Some of the non-trivial challenges with Matlab's permissive syntax and elaborating operator overloading will become apparent in the process.<br/>
<br/>
This is joint work with Fred and Conor.</p><p><b>2023-12-07 11:00:00 UTC<br/>LT210 and Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#384Fri, 9 Feb 2024 10:14:47 +00002023-12-01: Fredrik Nordvall Forsberg (MSP)<h2>Fredrik Nordvall Forsberg (MSP)</h2><h2>MSP 101: Non-standard analysis</h2><p><b>Abstract</b><br/><br/>I will give a basic 101-style introduction to the first-order logic concept of non-standard models. Intuitively, a non-standard model of say Peano Arithmetic PA is a model which contains infinitely large numbers. Yet, by virtue of being a model of PA, such a model still validates all the axioms of PA, including the induction axiom schema! It is an interesting and beautiful feature/bug of first-order classical logic that such models exist.</p><p><b>2023-12-01 14:00:00 UTC<br/>LT711 and Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#383Fri, 9 Feb 2024 10:14:47 +00002023-11-22: SPLS<h2><a href='https://scottish-pl-institute.github.io/spls/meetings/2023/november/'>SPLS</a> (University of Strathclyde / Online)</h2><h2>SPLS</h2><p><b>2023-11-22 12:00:00 UTC<br/>University of Strathclyde / Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#381Sat, 21 Oct 2023 21:24:08 +01002023-11-17: Riu Rodríguez Sakamoto (MSP)<h2>Riu Rodríguez Sakamoto (MSP)</h2><h2>Categorical cybernetics for Markov decision processes</h2><p><b>Abstract</b><br/><br/>I will introduce two ingredients to MSPs 'categorical cybernetics':<br/>
- "open game"-like categories for backward-filtering problems<br/>
- semiring valuations to formalize softmax as a *preference* relation (generalizing selection relations)<br/>
<br/>
This will allow us to fit Markov decission processes and certain estimation problems to the existing framework, clearing our path towards connecting control and estimation problems.</p><p><b>2023-11-17 14:00:00 UTC<br/>LT210 and Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#380Fri, 9 Feb 2024 10:14:47 +00002023-11-03: Joe Collins (MSP)<h2>Joe Collins (MSP)</h2><h2>Hopf-Frobenius Algebras</h2><p><b>Abstract</b><br/><br/>Hopf algebras and Frobenius algebras are two fairly common algebraic structures. They even look pretty similar if you squint your eyes - both consist of a monoid/ comonoid pair, and some algebraic rule that tells you how they interact. There are a few instances where a single object in a category has the properties of both a Hopf algebra and a Frobenius algebra, called a Hopf-Frobenius algebra. In particular, ZX calculus, a way of modelling quantum circuits using symmetric monoidal categories, has this property. Why? And where else does this occur?<br/>
<br/>
In this talk, I will be talking about what a Hopf-Frobenius algebra is and where it comes from.</p><p><b>2023-11-03 14:00:00 UTC<br/>LT210 and Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#378Fri, 9 Feb 2024 10:14:47 +00002023-10-27: Bruno Gavranović (MSP)<h2>Bruno Gavranović (MSP)</h2><h2>Category Theory ∩ Deep Learning : Where are we, and where can we go?</h2><p><b>Abstract</b><br/><br/>Four years ago I embarked on my PhD with the goal of exploring the landscape of category theory, and its application to artificial neural networks. Specifically, I aimed to understand at which level of generality can we express components of artificial neural networks, and still meaningfully capture learning.<br/>
<br/>
In this talk I will give a progress report on this goal, and outline future directions for improvement.</p><p><b>2023-10-27 14:00:00 UTC<br/>LT210 and Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#377Fri, 9 Feb 2024 10:14:47 +00002023-10-20: Ezra Schoen (MSP)<h2>Ezra Schoen (MSP)</h2><h2>The double category of adjunctions</h2><p><b>Abstract</b><br/><br/>There's a particular double category which I've noticed floating around for a while. The purpose of this talk is to explicitly describe this double category, play around in it and see if we can leverage it to get some `theorems for free'. I'll only be assuming prior familiarity with 1-categories, so it should be of general interest. In fact, part of the purpose behind this talk is demonstrating that even for staunch 1-category theorists, having some higher categories `in the back pocket' may help in getting a clear picture of what's `really going on'.</p><p><b>2023-10-20 14:00:00 UTC<br/>LT210 and Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#376Sat, 21 Oct 2023 21:24:08 +01002023-10-13: Sean Watters (MSP)<h2>Sean Watters (MSP)</h2><h2>(Reflexive) Partial Monoids 101</h2><p><b>Abstract</b><br/><br/>Partial monoids came up in my work recently, and I found them quite interesting. The main goal of this talk is to introduce the notion into our local sphere of consciousness. After going over the basics I'll focus mostly on reflexive partial monoids, the suprisingly tricky problem of defining exponentiation for them, and the free reflexive partial monoid. I'll finish by outlining some remaining questions that I'm still wondering about.</p><p><b>2023-10-13 14:00:00 UTC<br/>LT711 and Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#375Sat, 21 Oct 2023 21:24:08 +01002023-10-06: Andre Videla (MSP)<h2>Andre Videla (MSP)</h2><h2>Writing interactive programs using containers</h2><p><b>Abstract</b><br/><br/>Containers and their morphisms provide a bidirectional structure that matches a lot of programs that are interactive in nature (databases, servers, compilers). In this presentation I will show how to build such programs using containers, container morphisms and their algebra.</p><p><b>2023-10-06 14:00:00 UTC<br/>Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#374Sat, 21 Oct 2023 21:24:08 +01002023-09-22: Guillaume Allais (MSP)<h2>Guillaume Allais (MSP)</h2><h2>Staging by Evaluation</h2><p><b>Abstract</b><br/><br/>I will present an Agda implementation of a simply typed version of András Kovács' Staged compilation with two-level type theory.<br/>
<br/>
Starting from an intrinsically typed language mixing static and dynamic parts using quotes and splices, we perform a model construction à la normalisation by evaluation and obtain a staging by evaluation algorithm.</p><p><b>2023-09-22 14:00:00 UTC<br/>LT210 and Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#373Sat, 21 Oct 2023 21:24:08 +01002023-07-05: Anton Chernev (University of Groningen)<h2>Anton Chernev (University of Groningen)</h2><h2>A dual adjunction between Ω-automata and Wilke algebras</h2><p><b>Abstract</b><br/><br/>The notion of ω-regular language captures the idea of a regular language that consists of infinite words. The most standard type of automata for ω-regular languages are called Büchi automata. Ω-automata are another type of automata for ω-regular languages that, instead of infinite words, read pairs of finite words, called lassos, that represent ultimately periodic words.<br/>
We study the categorical relationship between Ω-automata and Wilke algebras – the latter are algebraic structures recognising ω-regular languages. We present a chain of adjunctions starting from the category of Ω-automata without initial states and ending with the dual of the category of quotients of the free Wilke algebra.<br/>
This is joint work with Helle Hvid Hansen (University of Groningen) and Clemens Kupke (University of Strathclyde).</p><p><b>2023-07-05 11:00:00 UTC<br/>GH 513 and Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#372Sat, 21 Oct 2023 21:24:08 +01002023-06-27: Meven Lennon-Bertrand (University of Cambridge)<h2><a href='https://www.meven.ac/'>Meven Lennon-Bertrand</a> (<a href='https://www.cl.cam.ac.uk/research/clash/'>University of Cambridge</a>)</h2><h2>A Shiny Hammer and Many Nails to Hit – Bidirectional typing is not only an implementation technique</h2><p><b>Abstract</b><br/><br/>In 2000, Pierce and Turner introduced a new technique to perform type inference for ML-like languages, whose main idea was to carefully understand the local flow of information in the algorithm. This technique, which came to be referred to as bidirectional typing, did not come out of a void: similar ideas had appeared independently in many other contexts. In particular, bidirectional typing has been a part of the folklore of dependently typed languages implementers since the dawn of time.<br/>
<br/>
But even in that context where it has a long history, bidirectional typing was for a long time mostly confined to implementations. Yet, its type-theoretic structure turns out to be a very versatile and powerful tool when studying (dependent) type systems and their meta-theory.<br/>
<br/>
In this talk, I will try and give some of my understanding of bidirectional typing, how it is rooted in type-checker implementations but is more than just this, and how it can be used to make many facets of the infamously painful meta-theory of dependent type systems a bit less painful.</p><p><b>2023-06-27 16:00:00 UTC<br/>GH 513 and Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#371Sat, 21 Oct 2023 21:24:08 +01002023-06-30: Joey Eremondi (University of Edinburgh)<h2><a href='https://eremondi.com/'>Joey Eremondi</a> (<a href='https://web.inf.ed.ac.uk/lfcs'>University of Edinburgh</a>)</h2><h2>On The Design of a Gradual Dependently Typed Language for Programming</h2><p><b>Abstract</b><br/><br/>I describe a design for gradual dependent types, a system by which dependently typed programs can be run when missing parts of types, proofs, or programs. This serves a dual purpose. First, it reduces the barrier to entry for dependent types, making it easier to migrate code to use dependently typed languages, and allowing indexed types to be safely used even when type or proof information is missing. Second, it gives dynamic semantics to the typed holes that are already found in modern languages, so programs can be safely run when holes are missing, providing the programmer with useful information of what terms should fill the holes. In the talk, I present a vision for what programming with gradual dependent types could look like, along with technical challenges that arise with it and solutions to some of these challenges.</p><p><b>2023-06-30 15:00:00 UTC<br/>GH 513 and Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#370Sat, 21 Oct 2023 21:24:08 +01002023-06-16: Jan de Muijnck-Hughes (MSP)<h2><a href='http://jfdm.github.io/'>Jan de Muijnck-Hughes</a> (MSP)</h2><h2>Session Types & Imperative Languages & Observations, Oh My!</h2><p><b>Abstract</b><br/><br/>Session Types are a neat typing discipline to reason both statically and dynamically about program behaviour. An interesting question is how best we can incorporate session types into our programming languages and reach the fabled Emerald City of Type-Driven Validation of Communicating Systems!<br/>
<br/>
Earlier this year, I gave a talk at PLUG that discussed the dependently-typed mechanics that pushed me along the yellow brick road to create Capable, a featherweight imperative language that supports Multi-Party Session-Types (MPSTs). Capable has been mechanised within Idris2 to ensure that including MPSTs is done honestly as the Good Witch Glinda would appreciate.<br/>
<br/>
In this talk I intend to step away from the keyboard and take a detour along a yellow-ish cobbled street to look at some of the theoretical observations that arise from mechanisation. Specifically, I will discuss the design decisions that the Wicked Dependent-Type Checker of the East has requested I do to ensure unification and execution, but more importantly the trade-offs that come with those decisions.<br/>
<br/>
This work is, slowly, getting ready for publication (we do in fact run our session-typed programs) and I am certain that I don't need to return that brain, yet....</p><p><b>2023-06-16 15:00:00 UTC<br/>LT310 and Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#369Sat, 21 Oct 2023 21:24:08 +01002023-06-21: John Power (University of Bath)<h2>John Power (University of Bath)</h2><h2>Computational Effects in Mathematical Perspective</h2><p><b>Abstract</b><br/><br/>In the late 1980's, Eugenio Moggi introduced the idea of "monads as notions of computation", the latter more recently called computational effects, supported by several impressive examples. He used the definition of monad but did not make substantial use of mathematics that gives rise to monads. In category theory, monads systematically arise from universal algebra. But universal algebra can also be understood, from a category theoretic perspective, in terms of Lawvere theories, this fact shedding considerable light on computational effects, in particular the operations that give rise to effects. That observation has been fundamental to a deep, further development, giving rise to the notion of algebraic effect. I shall try to explain the conceptual line of thought that gives rise to algebraic effects, modelled by Lawvere theories and thence my monads. It was joint work primarily with Gordon Plotkin but also with others, notably Martin Hyland.</p><p><b>2023-06-21 14:00:00 UTC<br/>MC319 and Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#367Sat, 21 Oct 2023 21:24:08 +01002023-05-12: Ethel Morgan (MSP)<h2>Ethel Morgan (MSP)</h2><h2>Just when I thought I was out, they pull me back in.</h2><p><b>Abstract</b><br/><br/>Experiences from industrial academia & academic industry.</p><p><b>2023-05-12 15:00:00 UTC<br/>LT711 and Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#366Sat, 21 Oct 2023 21:24:08 +01002023-05-05: Johannes Marti (Oxford)<h2><a href='http://johannesmarti.com/'>Johannes Marti</a> (<a href='https://www.cs.ox.ac.uk/'>Oxford</a>)</h2><h2>Modal unification and graph homomorphisms</h2><p><b>Abstract</b><br/><br/>The problem of unifiability in a modal logic L asks, whether for a given formula phi there exists a substitution such that applying the substitution to phi turns it into a theorem of L. For the many non-transitive modal logics, most notably the modal logic K, it is not known whether this problem is decidable. I present joint work with Sam van Gool, where we reformulate unifiability relative to some modal logics L as a problem about the existence of a graph homomorphism for some generalised notion of graph that depends on a coalgebra functor T.</p><p><b>2023-05-05 15:00:00 UTC<br/>LT711 and Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#365Sat, 21 Oct 2023 21:24:08 +01002023-04-28: Vikraman Choudhury (University of Glasgow)<h2><a href='https://vikraman.org/'>Vikraman Choudhury</a> (<a href='https://www.gla.ac.uk/schools/computing/research/researchsections/fata-section/'>University of Glasgow</a>)</h2><h2>Continuations and co-exponentials</h2><p><b>Abstract</b><br/><br/>Growing up in Indiana, I learned about corn-mazes and continuations, but I found them very confusing, often getting lost and struggling to get back on track. Now that I’m living far away in Scotland, I find myself reminiscing about my midwestern roots.<br/>
<br/>
In this talk, I will present a different perspective on continuations: just as higher-order functions give you exponentials, higher-order continuations give you co-exponentials. On this motif, I will develop the theory of co-exponentials and some applications. I will show how to: (1) combine exponentials and co-exponentials in the same language without degeneracy, (2) give a computational interpretation for bi-intuitionistic logic, (3) recover classical control operators and the computational interpretation of classical logic using Faustian sums, (4) use co-exponential combinators to do speculative execution, backtracking, and encode effect handlers, (5) add co-exponentials to a first-order programming language, with a computational interpretation. I will develop these ideas both in syntax and semantics.<br/>
<br/>
The main idea occurred to me while studying linear logic and star-autonomous categories, from Mellies’ micrological study of negation. The rest of the work builds upon old ideas of Hofmann, Streicher, Reus on models of lambda-mu calculus, Moggi’s computational lambda calculus, Thielecke’s ⊗¬ categories, Freyd categories of Power, Thielecke, Führmann and others, and Hasegawa’s contextual calculus. This work is situated as part of a bigger research programme on trying to understand the foundations of quantum programming languages, starting from first-order reversibility, instead of linearity.</p><p><b>2023-04-28 15:00:00 UTC<br/>LT711 and Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#364Sat, 21 Oct 2023 21:24:08 +01002023-04-14: Thorsten Altenkirch (University of Nottingham)<h2><a href='http://www.cs.nott.ac.uk/~txa/'>Thorsten Altenkirch</a> (<a href='http://www.cs.nott.ac.uk/'>University of Nottingham</a>)</h2><h2>What are higher categories and groupoids?</h2><p><b>Abstract</b><br/><br/>Categories are like drugs: once you get addicted to one, your dealer comes up with something stronger and you aquire a new addiction. This is the games with higher categories.<br/>
<br/>
I want to look at the definition of higher cats, actually w,1-cats in HoTT using semi-simplicial types and the directed replacement of simplicial types. Also I may discuss the globular approach (which works for higher groupoids but could also made to work for higher cats) I am wondering how these are related. This may help to address some open problems.</p><p><b>2023-04-14 15:00:00 UTC<br/>LT711 and Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#363Sat, 21 Oct 2023 21:24:08 +01002023-03-14: Nathaniel Virgo (Earth-Life Science Institute (Tokyo))<h2>Nathaniel Virgo (<a href='https://www.elsi.jp/en/'>Earth-Life Science Institute (Tokyo)</a>)</h2><h2>Systems that model their environments, and systems that plan.</h2><p><b>Abstract</b><br/><br/> Consider a system interacting with its environment, perhaps in pursuit of some goal. We might want to ask whether the system has a model of its environment, especially in POMDP-like cases where the environment is partially observable and the system must make inferences about the environment's state in order to pursue its goal.<br/>
<br/>
But where does the model live in relation to the system? A simple answer is that the system's state parametrises a probability distribtion over environment states. This distribution isn't part of the system but is imposed upon it by an external observer. I will talk about how to model this observer-dependence via notion of 'interpretation' of a sytem, in which a system's internal states are interpreted as being 'about' a hidden environment state and as being updated using Bayes' theorem. A given system may have many interpretations, so that interpretations form a fibration over systems.<br/>
<br/>
A more interesting case is where a system uses a model not just to keep track of its environment but to reason about how to influence it. This is a lot harder to model, and I will talk about various pieces of work in progress towards understanding the relationships between systems, models and goals, with an emphasis on a category-theoretic perspective.</p><p><b>2023-03-14 15:00:00 UTC<br/>LT310 and Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#362Sat, 21 Oct 2023 21:24:08 +01002023-05-19: Andre Videla (MSP)<h2>Andre Videla (MSP)</h2><h2>How to be a real™ (C) programmer for beginner type theorists</h2><p><b>Abstract</b><br/><br/>Feeling impostor syndrome from writing proof trees yet never executing any programs? Tired of being marginalized from online communities because you've never dereferenced raw memory? Finally, you can become a C-programmer neckbeard with this one crazy trick without leaving the comfort of your pen&paper. By extending QTT with pointer operations one can finally achieve their dream of submitting a patch to the linux kernel and have it be rejected for naming conventions. At least the program would be correct by construction since you can inherit all your inductive proofs inside your imperative program.</p><p><b>2023-05-19 15:00:00 UTC<br/>LT711 and Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#361Sat, 21 Oct 2023 21:24:08 +01002023-06-09: Malin Altenmüller (MSP)<h2>Malin Altenmüller (MSP)</h2><h2>Control Flow as a Contour of Data Flow</h2><p><b>Abstract</b><br/><br/>I will be talking about some ongoing work on a compositional graph data structure for encoding control flow information of a program. At the centre of this definition is the notion of contour for a given tree-like structure. The notion of contour category was introduced by Melliès and Zeilberger [1], who use it in the context of representing derivations in context-free grammars as functors. I will give an overview over their constructions, and present how we generalise the notion of contour, moving to a non-linear, non-deterministic version. We use these generalised contours to express control flow information of a program on top of its abstract syntax tree. I will discuss how normal flow as well as exceptional program behaviour is represented in this framework. This is joint work with Dan Ghica.<br/>
<br/>
[1] <a href='https://arxiv.org/abs/2212.09060'>https://arxiv.org/abs/2212.09060</a></p><p><b>2023-06-09 15:00:00 UTC<br/>LT711 and Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#360Sat, 21 Oct 2023 21:24:08 +01002023-05-26: Bob Atkey (MSP)<h2><a href='http://bentnib.org/'>Bob Atkey</a> (MSP)</h2><h2>From Lenses to Composable Continuations, and what lies between</h2><p><b>Abstract</b><br/><br/>Continuation-Passing Style (CPS) is a programming discipline that parametrises programs by "the thing that happens next" - the continuation. Programs in CPS gain superpowers by being able to directly manipulate the continuation and use it as many times as they want. In this talk, I'll try to convince you that lenses are a restricted form of CPS where the continuation must be used exactly once. In fact, lenses and CPS form a category with lenses as the initial object and CPS as the terminal object. But what lies between them?</p><p><b>2023-05-26 15:00:00 UTC<br/>LT711 and Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#359Sat, 21 Oct 2023 21:24:08 +01002023-03-31: Clemens Kupke (MSP)<h2><a href='http://personal.cis.strath.ac.uk/clemens.kupke/'>Clemens Kupke</a> (MSP)</h2><h2>Towards a categorical representation of thin trees</h2><p><b>Abstract</b><br/><br/>Deterministic Automata on infinite trees lack expressivity. The situation is different when restricting one’s attention to so-called thin trees where every regular language can be seen as the language of a so-called unambiguous automaton. In my talk I will explain our motivation for why we are interested in unambiguous tree automata and I will present work in progress that aims to understand thin trees more abstractly. This is based on ongoing joint work with Corina Cirstea, Jade Master and Alexandre Goy.</p><p><b>2023-03-31 15:00:00 UTC<br/>LT711 and Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#358Sat, 21 Oct 2023 21:24:08 +01002023-03-24: Riu Rodríguez Sakamoto<h2>Riu Rodríguez Sakamoto</h2><h2>From discounted value to discounted state</h2><p><b>Abstract</b><br/><br/>The discounted value is a concept in Reinforcement Learning methods such as Value Iteration that allows to aggregate expected future rewards. It can be formalized as lens precomposition with a value function (which is a counit). We give some progress towards another class of RL methods that are based on parametrized policies, where this composition happens without the need of a counit, leading to a "discounted state" of a dynamical system. This has some resemblance to a List algebra, taken over a bicategory of linear relations of a vector space instead of over Set. The discounted state is used in the literature to prove the Policy Gradient Theorem, which we interpret as an Euler integration for noncommutative operators.</p><p><b>2023-03-24 15:00:00 UTC<br/>LT711 and Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#357Sat, 21 Oct 2023 21:24:08 +01002023-03-10: Dylan Braithwaite (MSP)<h2><a href='https://dylanbraithwaite.github.io/'>Dylan Braithwaite</a> (MSP)</h2><h2>String Diagrams for Actegories</h2><p><b>Abstract</b><br/><br/>Actions of monoidal categories are structures useful for modelling interacting systems. They are central to the definition of optics, but have also found use elsewhere, for example in the semantics of message-passing. When working in categorical cybernetics we often depict monoidal actions using string diagrams with multiple categories juxtaposed, but this steps away from the formally specified semantics of string diagrams for monoidal categories which have coherence and completeness results making their manipulation valid for proving equalities. I will discuss how diagrams for actegories can be modelled more formally by considering them as certain bicategories using the construction of the collage of a bimodule.<br/>
<br/>
By depicting actegories as bicategories we obtain satisfying visual representations for actegory structures. We will see that the lax compositional structure of the collage gives rise to useful visualisations for the emergent behaviour between categories interacting via the action of a common monoidal category. This gets represented as coloured string diagrams glued together along certain shared boundaries. As a special case we can depict optics as diagrams with several regions which neatly frame the “forward”, “backward”, and “residual passing” stages of their morphisms.</p><p><b>2023-03-10 15:00:00 UTC<br/>LT711 and Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#356Sat, 21 Oct 2023 21:24:08 +01002023-03-03: Carlos Zapata-Carratalá (Society for Multidisciplinary and Fundamental Research)<h2><a href='https://czapatacarratala.wixsite.com/home'>Carlos Zapata-Carratalá</a> (<a href='https://semf.org.es/index.html'>Society for Multidisciplinary and Fundamental Research</a>)</h2><h2>Chemoids: a rewrite approach to general compositionality</h2><p><b>Abstract</b><br/><br/>In this talk I will motivate and introduce the notion of 'chemoid', a compositional structure generalizing many diagram-based formal systems such as algebras, categories, operads, tensor networks, etc. I will then present some newly found, somewhat exotic, compositional structures that relate to chemical and biological computing (hence the name 'chemoid'). I will be using some of the functionality that I am currently developing with other colleagues at the Wolfram Institute.</p><p><b>2023-03-03 15:00:00 UTC<br/>LT711 and Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#355Sat, 21 Oct 2023 21:24:08 +01002023-02-24: Fredrik Nordvall Forsberg (MSP)<h2><a href='https://personal.cis.strath.ac.uk/fredrik.nordvall-forsberg/'>Fredrik Nordvall Forsberg</a> (MSP)</h2><h2>Type theory vs set theory: whose ordinals are better?</h2><p><b>Abstract</b><br/><br/>In constructive set theory, an ordinal is a hereditarily transitive set. In homotopy type theory, an ordinal is a type with a transitive, wellfounded, and extensional binary relation. Which notion is more expressive? We can tackle this question if we first interpret set theory into type theory, using Peter Aczel's sets as trees interpretation (recast in homotopy type theory using higher inductive types), and then compare the notions directly in type theory. With more work, it is possible to generalise the comparison to capture all sets in Aczel's interpretation rather than only the ordinals. This leads to a natural class of ordered structures which contains the type-theoretic ordinals and realises the higher inductive interpretation of set theory.<br/>
<br/>
This is joint work with Tom de Jong, Nicolai Kraus, and Chuangjie Xu.</p><p><b>2023-02-24 15:00:00 UTC<br/>LT711 and Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#354Sat, 21 Oct 2023 21:24:08 +01002023-02-17: Neil Ghani (MSP)<h2><a href='https://personal.cis.strath.ac.uk/neil.ghani/'>Neil Ghani</a> (MSP)</h2><h2>Why Fibrations are your Friend</h2><p><b>Abstract</b><br/><br/>I'll tell you why fibrations should be your friends.</p><p><b>2023-02-17 15:00:00 UTC<br/>LT711 and Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#353Sat, 21 Oct 2023 21:24:08 +01002023-02-03: Jules Hedges (MSP)<h2><a href='https://julesh.com/'>Jules Hedges</a> (MSP)</h2><h2>Contexts and emergent effects in categorical systems theory</h2><p><b>Abstract</b><br/><br/>One of the most exciting ideas in categorical systems theory is being able to give a clean definition to “emergent effects”, namely failure of a lax functor to be a functor. But there is a lack of theoretical tools to do useful things after identifying this common situation. I will present work in progress towards a “theory of contexts”, talking formally about the idea that an open system’s behaviour can depend on what other systems are nearby, by isolating 1 of the 3 key theoretical ingredients of open games. This hopefully allows situations with emergent effects to be seen as an ordinary functor, although working out examples is irritatingly difficult.</p><p><b>2023-02-03 15:00:00 UTC<br/>LT711 and Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#351Sat, 21 Oct 2023 21:24:08 +01002023-01-27: Sean Watters (MSP)<h2>Sean Watters (MSP)</h2><h2>Sorted Lists and Free Idempotent Commutative Monoids (over strict total orders)</h2><p><b>Abstract</b><br/><br/>Free monoids are very well-understood and widely used, both on paper and in code. However, their commutative cousins are slightly trickier to pin down a neat data type for. There is a well-established mathematical story involving finite multisets, but they are notoriously tricky to implement sensibly in code.<br/>
<br/>
Instead, I want to focus on a datatype for sorted lists which turns out to be nearly the same thing if you squint the right way. I'll first demonstrate how we can construct and work with these things, and then the squinting shall begin! We can easily show it to be a commutative monoid, but thinking of it as the free one will require adopting the correct perspective. Specifically, we'll need to work in the land of total orders rather than sets.<br/>
<br/>
I'm actually interested in finite subsets rather than finite multisets, and that pleasingly only requires adding idempotency to the monoid multiplication, and strictness to the total order. Although, this actually leads to some interesting wrinkles when we try to prove freeness.</p><p><b>2023-01-27 15:00:00 UTC<br/>LT1310 and Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#350Sat, 21 Oct 2023 21:24:08 +01002023-01-20: Matteo Capucci (MSP)<h2><a href='https://matteocapucci.wordpress.com/'>Matteo Capucci</a> (MSP)</h2><h2>On a fibrational construction for optics, lenses, and Dialectica categories</h2><p><b>Abstract</b><br/><br/>Categories of lenses/optics and Dialectica categories are both comprised of bidirectional morphisms of basically the same form. In this talk I’m going to introduce both and show how they can be considered a special case of an overarching fibrational construction, generalizing Hofstra’s construction of Dialectica fibrations. At its highest level of generality, it’s a construction that turns a tower of fibrations into another tower of fibrations by twisting each of the components using the opposite fibration construction.</p><p><b>2023-01-20 15:00:00 UTC<br/>LT1310 and Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#349Sat, 21 Oct 2023 21:24:08 +01002023-01-11: MSP101 Planning meeting<h2>MSP101 Planning meeting (LT1310 and Online)</h2><h2>MSP101 Planning meeting</h2><p><b>2023-01-11 15:00:00 UTC<br/>LT1310 and Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#348Sat, 21 Oct 2023 21:24:08 +01002022-11-30: Fredrik Nordvall Forsberg (MSP)<h2><a href='https://personal.cis.strath.ac.uk/fredrik.nordvall-forsberg/'>Fredrik Nordvall Forsberg</a> (MSP)</h2><h2>Brouwerian counterexamples: being a know-it-all 101</h2><p><b>Abstract</b><br/><br/>Some statements are not provable, in the sense that they imply falsity (for example: "every inhabited subset of real numbers has a least upper bound"). Other statements are not provable constructively, even though they are true when using classical logic (for example: "every bounded inhabited subset of real numbers has a least upper bound"). How can we convince ourselves of this fact, so that we do not waste time and effort looking for a constructive proof? We can construct a so-called Brouwerian counterexample by showing that the claimed statement implies a known non-constructive principle. Brouwer called such principles omniscience principles, because only an all-knowing being can hope to for example decide if P or not P holds for every proposition P. I will give an introduction to some of the more common omniscience principles such as LPO, LLPO and Markov's Principle, and try to give some intuition for when one should expect a statement to not have a constructive proof; an important skill in order to avoid heartbreak when working in a constructive setting such as type theory or the internal logic of a category. </p><p><b>2022-11-30 11:00:00 UTC<br/>LT1310 and Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#345Sat, 21 Oct 2023 21:24:08 +01002022-11-23: Matteo Capucci (MSP)<h2><a href='https://matteocapucci.wordpress.com/'>Matteo Capucci</a> (MSP)</h2><h2> How I stopped worrying and learned to love triple categories (of cybernetic systems)</h2><p><b>Abstract</b><br/><br/>A good chunk of MSP is busy trying to come up with convincing applications of category theory in 'cybernetics', which is an umbrella term for game theory, learning theory, control theory, and more. I'm busy trying to understand what all these people (including me) are doing. What do the systems we are interested in have in common? What does it mean to say game theory and gradient-based learning look alike? How do we study the behaviour of cybernetic systems? Inspired by Myers' categorical system theory I formulated some tentative answers to these questions. Alas, they require the full breadth of spatial dimensions this universe provides. In this talk I will quickly introduce the ideas behind my version of 'categorical cybernetic system theory', including recent developments regarding the definition of a theory of cybernetic systems. The hope is that conceptual motivation will defuse some fear in the higher structures involved.</p><p><b>2022-11-23 11:00:00 UTC<br/>LT1310 and Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#344Sat, 21 Oct 2023 21:24:08 +01002022-11-16: Agda Implementors' Meeting XXXI<h2><a href='https://wiki.portal.chalmers.se/agda/Main/AIMXXXI'>Agda Implementors' Meeting XXXI</a> (University of Edinburgh)</h2><h2>Agda Implementors' Meeting XXXI</h2><p><b>2022-11-16 09:30:00 UTC<br/>University of Edinburgh</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#343Sat, 21 Oct 2023 21:24:08 +01002022-11-09: Ezra Schoen (MSP)<h2>Ezra Schoen (MSP)</h2><h2>Hylomorphism complexity</h2><p><b>Abstract</b><br/><br/>Algebra and coalgebra morphisms are well-known and widely applied. They have a more niche cousin in coalgebra-to-algebra morphisms, also known as hylomorphisms. These are occasionally used to formalize divide-and-conquer algorithms. They can also be used in defining semantics for coalgebraic logics, as well as solving certain sets of recursive equations. Taking the perspective of 'solving recursive equations', it is natural to ask for the computational complexity of deciding the existence of solutions. This turns out to depend essentially on the type functor for the (co)algebras. In this talk, I will give a simple classification of (polynomial) functors by the complexity of their corresponding decision problem. On the way, we will take in a few different intuitions towards (co)algebras and hylomorphisms.</p><p><b>2022-11-09 11:00:00 UTC<br/>LT1310 and Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#342Sat, 21 Oct 2023 21:24:08 +01002022-11-02: Radu Mardare (MSP)<h2><a href='https://personal.cis.strath.ac.uk/r.mardare/'>Radu Mardare</a> (MSP)</h2><h2>Fixed points and recursion in quantitative reasoning</h2><p><b>Abstract</b><br/><br/>This talk summarizes a series of results regarding the extension of quantitative algebraic reasoning with fixed points and recursion. The work extends the quantitative algebras (which are universal algebras on metric spaces) with syntactic constructs that allow us to encode Banach fixed points on complete metric spaces. In effect, one gets (a generalization of) a Conway and an iteration theory. I will demonstrate that most of the results known about classic iteration theories on ordered structures remain true in the metric context. And, in fact, that the metric settings generalize the results for ordered structures.</p><p><b>2022-11-02 11:00:00 UTC<br/>LT1310 and Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#341Sat, 21 Oct 2023 21:24:08 +01002022-10-26: SPLS<h2><a href='https://spls-series.github.io/meetings/2022/october/'>SPLS</a> (University of Stirling / Online)</h2><h2>SPLS</h2><p><b>2022-10-26 12:00:00 UTC<br/>University of Stirling / Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#340Sat, 21 Oct 2023 21:24:08 +01002022-10-19: Guillaume Allais (University of St Andrews)<h2>Guillaume Allais (University of St Andrews)</h2><h2>Tools of the Dependently Typed Compiler Trade</h2><p><b>Abstract</b><br/><br/>Vélo is a tiny language to explore the implementation of compilers for functional languages in a dependently typed host. I will highlight some of the design choices striking a balance between enforcing invariants, getting work done, and compiling to relatively efficient code. Features include support for well-scoped typed holes, constant folding, and common sub-expression elimination.</p><p><b>2022-10-19 11:00:00 UTC<br/>LT1310 and Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#339Sat, 21 Oct 2023 21:24:08 +01002022-10-05: Jacques Carette (McMaster University)<h2><a href='https://www.cas.mcmaster.ca/~carette/'>Jacques Carette</a> (McMaster University)</h2><h2>A guided tour through my work</h2><p><b>Abstract</b><br/><br/>I will attempt to do something that's generally ill-advised: give a shallow talk with many components without diving in to any part too deeply. Why? The wrong reason to give such a talk is to impress people with all you're doing. A potentially viable reason is to cover that work which might be of interest to the audience, cause discussion and, hopefully, collaboration.<br/>
<br/>
I was tempted to call this a "meander through my work", but that really would be ill-advised. There are patterns to the madness, and indeed the tour will be organized around those patterns.</p><p><b>2022-10-05 11:00:00 UTC<br/>LT1310 and Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#337Sat, 21 Oct 2023 21:24:08 +01002022-09-28: Jérémy Ledent (MSP)<h2><a href='https://personal.cis.strath.ac.uk/jeremy.ledent/'>Jérémy Ledent</a> (MSP)</h2><h2>The Topology of Knowledge: Simplicial Models for Epistemic Logic</h2><p><b>Abstract</b><br/><br/>Multi-agent Epistemic Logic is a modal logic of knowledge. It allows to reason about a finite set of agents who may know facts about the world, and about each other. In this talk, I will present a new semantics for epistemic logic, based on simplicial complexes. In this approach, the knowledge of the agents is modeled by a higher-dimensional space called a simplicial model; and the truth of an epistemic logic formula can be evaluated by inspecting the various possible paths in this space. I will illustrate these ideas using examples from the theory of distributed computing, where the agents correspond to individual processes who can exchange information in order to solve a task. Both topological invariants and logical invariants can be leveraged to prove that some distributed computing tasks are impossible to solve.</p><p><b>2022-09-28 11:00:00 UTC<br/>LT1310 and Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#336Sat, 21 Oct 2023 21:24:08 +01002022-09-21: Conor McBride (MSP)<h2><a href='https://personal.cis.strath.ac.uk/conor.mcbride/'>Conor McBride</a> (MSP)</h2><h2>Citizens and Subjects</h2><p><b>Abstract</b><br/><br/>I'll explore a distinction which emerges from my reimagining of type systems in terms of client-server interaction. A typing rule is a server for its conclusion and a client for its premises. Every signal in a typing interaction has a sender, transmitting the signal as a syntactic object, but also a guarantor, promising that the signal is in some way meaningful. We are thus in a position to distinguish "citizens" (signals whose guarantor is their sender) from "subjects" (signals whose guarantor is their receiver). The two can and should be treated rather differently. Citizens should be free from the relitigation of their status and judged according to their semantics. Subjects should be investigated syntactically in order to establish their status. Like caterpillars and butterflies, every subject should aspire to citizenship, but when they achieve it, they will not be who they were.</p><p><b>2022-09-21 11:00:00 UTC<br/>LT1310 and Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#335Sat, 21 Oct 2023 21:24:08 +01002022-06-30: Bruno Gavranović (MSP)<h2><a href='https://www.brunogavranovic.com/'>Bruno Gavranović</a> (MSP)</h2><h2>Can we compose Dependent Lenses as Optics?</h2><p><b>Abstract</b><br/><br/>In this talk, I'll use Idris 2 to live code work in progress thoughts related to lenses and optics. I'll focus on the relatively unknown fact that, even though lenses and optics are denotationally equivalent, operationally they have a different composition rule, with a different space-time complexity. In the case of optics this composition uses up more space, but less time. While in the non-dependent case it is well understood how to take a bidirectional gadget and switch between a lens-like and an optic-like composition, in the dependent case it not. In this talk, I won't answer the question in the title, but am instead hoping to frame it in proper context. I'll do type-directed programming, and at points invoke linear types, hoping to be guided by the compiler in search of an answer.</p><p><b>2022-06-30 14:00:00 UTC<br/>Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#334Sat, 21 Oct 2023 21:24:08 +01002022-06-16: Jules Hedges (MSP)<h2><a href='https://julesh.com/'>Jules Hedges</a> (MSP)</h2><h2>A unified visual language for games</h2><p><b>Abstract</b><br/><br/>The starting point of this talk is the observation that string diagrams for open games have more in common with extensive form trees than first appears. I will introduce a 3-dimensional syntax that has usual string diagrams and extensive form as 2 orthogonal projections. But first, we need to talk about parallel universes…<br/>
<br/>
This talk summarises a paper I’ve had brewing for a couple of years and want to actually write soon, that clarifies and expands on a tweet I wrote in October 2019. It is the secret thread connecting a couple of bits of my research in that time: dependent optics (joint work with half of MSP) and sheet diagrams (joint work with Antonin Delpeuch and Cole Comfort). In short: We define a bimonoidal category of dependent open games with tensor product and external choice, and then equip it with the natural 3d syntax for bimonoidal categories.</p><p><b>2022-06-16 14:00:00 UTC<br/>Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#333Sat, 21 Oct 2023 21:24:08 +01002022-06-09: Ezra Schoen (MSP)<h2>Ezra Schoen (MSP)</h2><h2>Filtrations in modal logic</h2><p><b>Abstract</b><br/><br/>Filtration is a common technique in modal logic. The central idea is to consider a (large or even infinite) model M satisfying a property P of interest. By identifying states in a controlled way, one may (greatly) reduce the size of the M — in fact, one has an upper bound depending only on P. Filtration for basic modal logic is quite straightforward, but may be more difficult for extensions, particularly those involving fixpoint operators. PDL (propositional dynamic logic) is a much-studied such extension of modal logic, used for reasoning about properties of programs.<br/>
<br/>
I will introduce filtration for basic modal logic, and prove preservation of the desired properties. I will do the same for PDL, highlighting the difficulty introduced by the fixpoint operator.<br/>
<br/>
If there is enough time and interest, I will also discuss filtrations for monotone PDL, which is PDL interpreted on a more general class of models (namely monotone neighborhood models).</p><p><b>2022-06-09 14:00:00 UTC<br/>Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#332Sat, 21 Oct 2023 21:24:08 +01002022-05-26: Fredrik Nordvall Forsberg (MSP)<h2><a href='https://personal.cis.strath.ac.uk/fredrik.nordvall-forsberg/'>Fredrik Nordvall Forsberg</a> (MSP)</h2><h2>Constructive Ordinal Theory in Homotopy Type Theory</h2><p><b>Abstract</b><br/><br/>Many constructions proceed in stages: we give a base case, a step case showing how to go from stage n to stage n+1, and then the desired result is achieved in the limit. In more complicated situations, we have to go beyond stages indexed by natural numbers to stages indexed by larger structures — ordinals, a cornerstone of modern mathematics. These are well understood classically, but less so in a constructive setting, where different equivalent classical notions split apart, with different advantages and disadvantages for each. I will show how a theory of different ordinals can be developed constructively in the setting of homotopy type theory, and how modern type-theoretic features such as higher inductive types and inductive-inductive definitions can be used to construct ordinal notation systems that truly behave like ordinals, with extensional and wellfounded order relations.<br/>
<br/>
Joint work with Nicolai Kraus and Chuangjie Xu.</p><p><b>2022-05-26 14:00:00 UTC<br/>Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#331Sat, 21 Oct 2023 21:24:08 +01002022-05-19: Jade Master (MSP)<h2><a href='https://sites.google.com/view/jadeedenstarmaster/home/'>Jade Master</a> (MSP)</h2><h2>How to Compose Shortest Paths</h2><p><b>Abstract</b><br/><br/>The magic of the min-plus semiring allows one to express the shortest path problem as an exponential. A weighted graph is represented by a matrix M whose shortest paths are found as F(M) = Sum_{n >=0} M^n. Weighted graphs may be joined along a common boundary via pushout and the composition problem for F asks how the values of F on a pushout may be obtained from the values of F on its components. In this talk I will show how this abstract nonsense may be turned into an actual algorithm which computes shortest paths compositionally. Optimistically, this algorithm and the relevant results may be adapted to the more general setting of the algebraic path problem.</p><p><b>2022-05-19 13:00:00 UTC<br/>Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#330Sat, 21 Oct 2023 21:24:08 +01002022-05-12: Conor McBride (MSP)<h2><a href='https://personal.cis.strath.ac.uk/conor.mcbride/'>Conor McBride</a> (MSP)</h2><h2>Everybody Used To Be Somewhere</h2><p><b>Abstract</b><br/><br/>I will report work in progress on my marking-disrupted incomplete formalisation of the action of relevant substitutions on relevant terms, indexed over their variable support. A relevant term uses every variable in its support at least once; a relevant substitution uses every variable in its target support in the image of at least one variable in its source support; relevant substitutions thus map terms relevant in their source support to terms relevant in their target support.<br/>
<br/>
The "codeBruijn" machinery that makes my treatment of relevant terms work is based on the semisimplicial category: its objects are variable supports and its hom-sets are binomial coefficients seen as types of bit vectors representing selections. There are deep connections between the structure exhibited by this category and the Good Old Boolean Logic of the bits in the vectors. Meanwhile, relevant substitutions themselves constitute the morphisms of a category whose objects are also variable supports. What keeps the roof up is the double category whose squares tell you what happens to the target scope of a relevant substitution when you select some particular variables from its source.</p><p><b>2022-05-12 13:00:00 UTC<br/>Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#329Sat, 21 Oct 2023 21:24:08 +01002022-05-05: Bob Atkey (MSP)<h2><a href='http://bentnib.org/'>Bob Atkey</a> (MSP)</h2><h2>Some more constructions on containers</h2><p><b>Abstract</b><br/><br/>The category of containers (~ polynomials) contains a wealth of structure for building structures representing question / answer type patterns. I'll discuss these and a few more that I think are novel. I'll try to relate them to ideas about data accessors like prisms and traversals.</p><p><b>2022-05-05 14:00:00 UTC<br/>Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#328Sat, 21 Oct 2023 21:24:08 +01002022-04-28: Matteo Capucci (MSP)<h2><a href='https://matteocapucci.wordpress.com/'>Matteo Capucci</a> (MSP)</h2><h2>Strategic games as cybernetic systems</h2><p><b>Abstract</b><br/><br/>This talk I will show how to correct a conceptual shortcoming in open games by showing how Nash equilibria can be described locally, internally and dynamically instead of relying on external devices. Doing so homogenizes compositional game theory with the general yoga of categorical cybernetics. In order to do so, we show how feedback in cybernetic systems is handled in a more structured way than previously considered, which abstracts the formal properties of backpropagation of gradients and gradient descent.</p><p><b>2022-04-28 14:00:00 UTC<br/>Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#327Sat, 21 Oct 2023 21:24:08 +01002022-04-21: Dylan McDermott (ICE-TCS, Reykjavik University)<h2><a href='https://dylanm.org/'>Dylan McDermott</a> (<a href='http://icetcs.ru.is/'>ICE-TCS, Reykjavik University</a>)</h2><h2>Flexible presentations of graded monads</h2><p><b>Abstract</b><br/><br/>Graded monads are a generalization of monads that are used, for example, to track quantitative information in models of effects. There is an existing notion of presentation (by operations and equations) for graded monads, which has the problem that many examples of interest fail to admit natural presentations. I will talk about a more general notion of presentation for graded monads, which resolves this problem by permitting more flexible forms of operation and equation. Every such presentation induces a canonical graded monad equipped with interpretations of these operations. As part of this work, we reformulate graded monads and related concepts in terms of locally graded categories, which provide a useful setting for working with grading.<br/>
<br/>
This is joint work with Shin-ya Katsumata, Tarmo Uustalu and Nicolas Wu.</p><p><b>2022-04-21 14:00:00 UTC<br/>Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#326Sat, 21 Oct 2023 21:24:08 +01002022-04-14: MSP101 Planning meeting<h2>MSP101 Planning meeting (Online)</h2><h2>MSP101 Planning meeting</h2><p><b>2022-04-14 14:00:00 UTC<br/>Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#325Sat, 21 Oct 2023 21:24:08 +01002022-04-07: William Waites (MSP)<h2><a href='https://personal.cis.strath.ac.uk/william.waites/'>William Waites</a> (MSP)</h2><h2>Beyond Epidemics (ACT version)</h2><p><b>Abstract</b><br/><br/>I’ll speak about some of the material from a short talk I recently gave at the “Insights from the RAMP project” and will point out where I see some connections to category theory (mainly lens-like objects, but also some graph rewriting) where some useful applications might be found. This will be a very informal talk; expect digressions and no small amount of hand-waving.</p><p><b>2022-04-07 14:00:00 UTC<br/>Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#324Sat, 21 Oct 2023 21:24:08 +01002022-03-31: Yehuda "John" Levy (University of Glasgow, Adam Smith Business School)<h2><a href='http://www.levygametheory.com'>Yehuda "John" Levy</a> (<a href='https://www.gla.ac.uk/schools/business/'>University of Glasgow, Adam Smith Business School</a>)</h2><h2>Game Theory & Semi-Algebraic Geometry: A Symbiotic Relationship</h2><p><b>Abstract</b><br/><br/>This talk will present some of the main results from the long and symbiotic history between game theory and semi-algebraic (s.a.) geometry. On the one hand, tools from s.a. geometry have been used to characterize sets of Nash equilibria, study stability properties of equilibria, and have had applications to equilibrium selection and stochastic games, among others. On the other hand, a series of results developed in particular in the past decade have shown that Nash equilibria are, in certain senses, universal for s.a. sets, and that the Nash equilibrium correspondence contains, in a certain sense, all s.a. functions as well as some classes of correspondences. Relations to some problems concerning complexity of finding Nash equilibria will be mentioned. No prior knowledge of semi-algebraic geometry is assumed.</p><p><b>2022-03-31 14:00:00 UTC<br/>Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#323Sat, 21 Oct 2023 21:24:08 +01002022-03-17: Andre Videla (MSP)<h2>Andre Videla (MSP)</h2><h2>Practical dependent lenses for backend architecture</h2><p><b>Abstract</b><br/><br/> Backend architecture is hard, requirements change, databases migrate, authentication systems evolve, but our strategy to tackle those problems have remained the same: Employ humans to perform all the necessary changes in the code, until the next product needs to ship.<br/>
<br/>
To help with this, I will show how we can leverage dependent lenses and different lens composition operators in order to represent common operations on servers, including managing server resources, updating endpoints and their routing, and even swapping in and out middleware as necessary, without affecting the operation of the server, and preserving its typing.</p><p><b>2022-03-17 14:00:00 UTC<br/>Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#321Sat, 21 Oct 2023 21:24:08 +01002022-03-09: SPLS<h2><a href='https://spls-series.github.io/meetings/2022/march/'>SPLS</a> (University of Edinburgh / Online)</h2><h2>SPLS</h2><p><b>2022-03-09 11:00:00 UTC<br/>University of Edinburgh / Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#320Sat, 21 Oct 2023 21:24:08 +01002022-03-03: Fredrik Nordvall Forsberg (MSP)<h2><a href='https://personal.cis.strath.ac.uk/fredrik.nordvall-forsberg/'>Fredrik Nordvall Forsberg</a> (MSP)</h2><h2>On the differential structure of containers</h2><p><b>Abstract</b><br/><br/>About twenty years ago, Conor noticed a curious connection between rules for computing the type of `one-hole contexts' for algebraic data types, and Leibniz's calculus differentiation rules: they are exactly the same! Together with Neil and Conor, I've had some fun recently trying to put this result in Blute, Cockett and Seely's categorical framework of differentiation, by constructing a so-called Cartesian differential category of containers. Of course, I will explain what these are during the talk.</p><p><b>2022-03-03 14:00:00 UTC<br/>Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#319Sat, 21 Oct 2023 21:24:08 +01002022-02-24: Bob Atkey (MSP)<h2><a href='http://bentnib.org/'>Bob Atkey</a> (MSP)</h2><h2>An introduction to Non-idempotent Intersection Types</h2><p><b>Abstract</b><br/><br/>Are types for telling us what to program, or for telling us what we have programed? MSP dogma leans to the former, but it is worth looking at the latter too.<br/>
<br/>
If we take types to be explanations of programs' behaviour, then it is only natural that they can have multiple types, since programs may have multiple behaviours. Intersection types are the basic tool that allows the assignment of multiple behavioural descriptions to a single program.<br/>
<br/>
Traditional intersection types are idempotent: if we know that a term has some behaviour, then it is of no interest to know this twice. Inspired by linear logic, however, we can start to wonder what happens if we record how many times we will need a program to have some behaviour -- non-idempotent intersection types.<br/>
<br/>
When we start counting behaviours, something remarkable happens. In a result due to Daniel de Carvalho, it turns out that the size of the typing derivation is equal to the number of steps taken to evaluate the program in the Krivine Abstract Machine.<br/>
<br/>
I'll describe the non-idempotent intersection type system for a CBN untyped lambda-calculus, and how to prove de Carvalho's result. If here is time, I'll also discuss how non-idempotent intersection types relate to the relational semantics of Linear Logic.<br/>
<br/>
An Agda formalisation of de Carvalho's result is written up here: <a href='https://bentnib.org/posts/2020-08-13-non-idempotent-intersection-types.html'>https://bentnib.org/posts/2020-08-13-non-idempotent-intersection-types.html</a></p><p><b>2022-02-24 14:00:00 UTC<br/>Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#318Sat, 21 Oct 2023 21:24:08 +01002022-02-17: Bruno Gavranović (MSP)<h2><a href='https://www.brunogavranovic.com/'>Bruno Gavranović</a> (MSP)</h2><h2>Operational view on Optics</h2><p><b>Abstract</b><br/><br/> Optics, lenses, prisms, and similar abstract gadgets are our best friends when it comes to modelling bidirectional processes. While optics are more general than lenses, it's understood that they're equivalent in the special setting of a cartesian monoidal category. Fixing the setting of a cartesian monoidal category, in this talk I'll explore how this equivalence is denotational in nature, and the result of erasure of important operational data. I'll advocate that the operational aspect is not optional, but rather crucial in understanding what these systems are doing.</p><p><b>2022-02-17 14:00:00 UTC<br/>Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#317Sat, 21 Oct 2023 21:24:08 +01002022-02-10: Jérémy Ledent (MSP)<h2><a href='https://personal.cis.strath.ac.uk/jeremy.ledent/'>Jérémy Ledent</a> (MSP)</h2><h2>An informal introduction to Game Semantics</h2><p><b>Abstract</b><br/><br/>Denotational semantics specifies the meaning of a computer program by associating it with an abstract mathematical object (its <em>denotation</em>), which represents its behaviour. In the case of game semantics, a program is interpreted as a two-player game, played between the program and its environment. More precisely, types are modelled by arenas (on which the game is played), while the programs themselves are modelled by strategies played on those arenas. Game semantics originated in the 1990's to solve the full abstraction problem for PCF (i.e., λ-calculus with a fixpoint operator); but the framework is very flexible, and many variants have been proposed to describe control, state, probability, concurrency, and many other program constructs.<br/>
<br/>
In this talk, I will start with a (very) brief introduction to denotational semantics in general, and define the concept of full abstraction. Then, I will present the game semantics model for PCF (à la Hyland-Ong), and if time allows, show how to extend it to model mutable references. I aim to keep the presentation intuitive and informal, relying mostly on examples and pictures.</p><p><b>2022-02-10 14:00:00 UTC<br/>Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#316Sat, 21 Oct 2023 21:24:08 +01002022-02-03: Daniele Palombi (Sapienza University of Rome)<h2><a href='https://dpl0a.github.io/'>Daniele Palombi</a> (Sapienza University of Rome)</h2><h2>An introduction to Synthetic Guarded Domain Theory</h2><p><b>Abstract</b><br/><br/>Synthetic Guarded Domain Theory (SGDT) arose as a generalization of step-indexing and guarded recursion in ultrametric spaces. While clearly taking inspiration from Synthetic Domain Theory, a geometric account of the field is still missing. This talk will serve as an introduction to SGDT sprinkled with remarks about the very geometric flavor of relevant properties of its known topos-theoretic models.</p><p><b>2022-02-03 14:00:00 UTC<br/>Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#315Sat, 21 Oct 2023 21:24:08 +01002022-01-27: Conor McBride (MSP)<h2><a href='https://personal.cis.strath.ac.uk/conor.mcbride/'>Conor McBride</a> (MSP)</h2><h2>Ways of Staring at Free Monoidal Categories</h2><p><b>Abstract</b><br/><br/>What's a free monoidal category? Imagine planar circuits connecting a sequence of inputs to a sequence of outputs, built from components similarly taking a sequence of inputs to a sequence of outputs. They are categorical: you can wire the outputs of one circuit to the inputs of another if they match. They are monoidal: you can place them in parallel, concatenating input and output sequences. They have an equational theory which amounts to allowing arbitrary jiggling around in the plane, just as long as you keep everything connected in the same way and treat wires and components as deformable but impassable boundaries. Can we decide this equational theory? Yes, in principle, but how might we do it in practice? What would it take to give unique normal forms for such circuits as inductively defined data? Fred, Jules and I were staring at this puzzle one evening, looking over a notebook for a clue to plant upon the page, in a pub not so many minutes away known for the central stairway up to its mezzanine. We were staring at circuits and staring at the stairway, until we began to see the stairways in the circuits. And it made us wonder!</p><p><b>2022-01-27 14:00:00 UTC<br/>Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#314Sat, 21 Oct 2023 21:24:08 +01002022-01-12: MSP101 Planning meeting<h2>MSP101 Planning meeting (Online)</h2><h2>MSP101 Planning meeting</h2><p><b>2022-01-12 16:00:00 UTC<br/>Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#313Sat, 21 Oct 2023 21:24:08 +01002021-10-20: SPLS<h2><a href='https://spls-series.github.io/meetings/2021/october/'>SPLS</a> (Online)</h2><h2>SPLS</h2><p><b>2021-10-20 11:00:00 UTC<br/>Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#312Sat, 21 Oct 2023 21:24:08 +01002021-12-15: Bob Atkey (MSP)<h2><a href='http://bentnib.org/'>Bob Atkey</a> (MSP)</h2><h2>Data types with negative information</h2><p><b>Abstract</b><br/><br/>Inductive data types are a foundational tool for representing data and knowledge in dependently typed programming languages. The user provides a collection of rules that determine positive evidence for membership in the type. Elimination of an inductive type corresponds to structural induction on its members.<br/>
<br/>
But what if our data modelling requires negative information as well as positive? For example, representing the result of a backtracking parser requires evidence that a certain parsing attempt *didn't* work. Standard formulations of inductive types do not allow negative information mixed with positive.<br/>
<br/>
Mixing positive and negative information has been studied in logic programming, resulting in concepts like Negation as Failure, stable models, and answer set programming. Incorporating negative information into systems of rules leads us into the realm of non-monotonic logics, where simply adding knowledge does not necessarily preserve existing conclusions.<br/>
<br/>
In this talk, I'll describe a way to understand data types with negative information in type theory by combining ideas from 3-valued stable models in logic programming and constructive negation (or refutation) from linear logic. The hope is that by adding negation to data types we will be able to represent some reasoning tasks more easily in dependent types.</p><p><b>2021-12-15 15:00:00 UTC<br/>Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#311Sat, 21 Oct 2023 21:24:08 +01002021-12-08: Clemens Kupke (MSP)<h2><a href='http://personal.cis.strath.ac.uk/clemens.kupke/'>Clemens Kupke</a> (MSP)</h2><h2>Constructing disjunctive formulas in the modal mu-calculus</h2><p><b>Abstract</b><br/><br/>The modal mu-calculus is a general modal fixpoint logic that allows to reason about the ongoing, possibly infinite behaviour of a transition system. For example, the temporal logics from Sean's 101 talk a few weeks ago can be seen as fragments of the mu-calculus.<br/>
<br/>
In this talk I am planning to give a brief introduction to the mu-calculus and then focus on a key result about the logic: every formula is equivalent to a so-called disjunctive formula. Constructing a disjunctive formula of "small" size is important e.g. for satisfiability checking. I am going to sketch a construction that yields a disjunctive formula that is single-exponential in the closure size of the input formula. The construction will highlight a few subtleties that arise when thinking about the size of a mu-calculus formula.<br/>
<br/>
Based on joint work with Johannes Marti and Yde Venema.</p><p><b>2021-12-08 15:00:00 UTC<br/>Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#310Sat, 21 Oct 2023 21:24:08 +01002021-12-01: Georgi Nakov (MSP)<h2>Georgi Nakov (MSP)</h2><h2>When completeness is not enough: introduction to algebraisable logics</h2><p><b>Abstract</b><br/><br/>The relation between logic and algebra is often expressed by existence of equational completeness theorems stating that a certain logic L is complete with respect to a certain class of algebras K. Perhaps the most famous example is given by the class of Boolean algebras and classical propositional logic. However, CPC is also complete with respect to the class of Heyting algebras by a negative translation. In order to recover a univocal connection, we need to dig deeper into the theory of algebraisability [1] - an algebraisable logic admits a unique algebraic semantics.<br/>
<br/>
In this talk we will introduce some notions and basic results from the theory of algebraisable logics. We will further propose an extension to the theory to accommodate for logics with weaker forms of substitutions (e.g. logics of dependence and independence, various epistemic logics).<br/>
<br/>
This is joint work with Davide Quadrellaro.<br/>
<br/>
[1] W. J. Blok and D. Pigozzi. Algebraizable logics, <a href='https://bookstore.ams.org/memo-77-396/'>https://bookstore.ams.org/memo-77-396/</a></p><p><b>2021-12-01 15:00:00 UTC<br/>Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#309Sat, 21 Oct 2023 21:24:08 +01002021-11-24: Jonathan Gorard (University of Cambridge)<h2><a href='https://www.wolframphysics.org/people/jonathan-gorard/'>Jonathan Gorard</a> (<a href='https://www.lsc.phy.cam.ac.uk/'>University of Cambridge</a>)</h2><h2>Homotopic and Compositional Aspects of (Hyper)graph Rewriting and Fundamental Physics</h2><p><b>Abstract</b><br/><br/>Graph grammars and double-pushout rewriting are pretty old news at this point. But the abstract rewriting systems produced by (hyper)graph grammars actually carry an extremely rich compositional and algebraic structure, many aspects of which have remained woefully under-investigated. We will show how causality relations in non-deterministic hypergraph rewriting systems can effectively be captured by means of a strict monoidal 2-category (a “multiway system”), and how higher homotopy types may consequently be constructed by adjoining appropriate sets of additional rewriting rules, with the n → ∞ limit of the resulting n-fold category yielding an ∞-groupoid (the classifying space of which forms an (∞,1)-topos). We will discuss how this general framework has been applied pragmatically in the design of efficient automated theorem-proving and diagrammatic reasoning software, before concluding with a more speculative discussion of the potential applicability of the overall formalism to the foundations of physics (especially categorical quantum mechanics and discrete quantum gravity).<br/>
<br/>
This is joint with Xerxes Arsiwalla.</p><p><b>2021-11-24 15:00:00 UTC<br/>Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#308Sat, 21 Oct 2023 21:24:08 +01002021-11-17: Matteo Capucci (MSP)<h2><a href='https://matteocapucci.wordpress.com/'>Matteo Capucci</a> (MSP)</h2><h2>Optics in three acts</h2><p><b>Abstract</b><br/><br/>Optics can be constructed in at least three different ways: from Tambara theory (profunctor encoding), as open diagrams (existential optics) and as free 'categories with a counit' (free teleological categories). Each of these three constructions highlights a different point of view on optics, and their interplay is an elegant mathematical story and a(n arguably) successful story for abstract nonsense. In this <del>play</del> talk, we look at all three constructions and contemplate their equivalence.</p><p><b>2021-11-17 15:00:00 UTC<br/>Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#307Sat, 21 Oct 2023 21:24:08 +01002021-11-10: Sean Watters (MSP)<h2>Sean Watters (MSP)</h2><h2>A Tour of Temporal Logic</h2><p><b>Abstract</b><br/><br/>Modal logic can be applied to a diverse range of use-cases by fixing different notions of model and modality. Our motivation today will be the formal verification technique of model checking, and with this in mind, I will focus on temporal logic. In temporal logics, the models represent systems which change over time, and the modalities allow us to reason about exactly how they proceed in time.<br/>
<br/>
I will first introduce basic relational modal logic, and show its limitations in this domain. We will then go on a tour of LTL, CTL, CTL*, and the modal 𝜇-calculus. Key destinations on the tour will include the respective expressive power and model-checking complexity of each, particularly in comparison to the 𝜇-calculus. <del>I will end the tour with a closer look at the model-checking problem of the 𝜇-calculus, and its relationship to parity games.</del></p><p><b>2021-11-10 15:00:00 UTC<br/>Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#306Sat, 21 Oct 2023 21:24:08 +01002021-11-03: Dylan Braithwaite (MSP)<h2><a href='https://dylanbraithwaite.github.io/'>Dylan Braithwaite</a> (MSP)</h2><h2>An Introduction to Finite Model Theory</h2><p><b>Abstract</b><br/><br/>Model theory in classical logic provides a number of tools useful for classifying structures described by sets of axioms. In computer science we are often interested in cases where these structures are finite, but many results in classical model theory fail to specialise to cases where we require all models to be finite. In this talk I will give an introduction to some of the alternative techniques used for studying expressibility of finite models and discuss some interesting connections with complexity theory.</p><p><b>2021-11-03 15:00:00 UTC<br/>Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#305Sat, 21 Oct 2023 21:24:08 +01002021-10-27: Riu Rodríguez Sakamoto (MSP)<h2>Riu Rodríguez Sakamoto (MSP)</h2><h2>Categories for persistent homology</h2><p><b>Abstract</b><br/><br/>Data analysis has dealt traditionally with regression, clustering and dimensionality reduction. Persistent homology, a tool in Topological Data Analysis, can be thought of as the counterpart of clustering: Instead of looking at clusters of data, it classifies holes of data. And we mean `holes' in the most visual way: given some point cloud in a metric space, it addresses how do we characterize regions of the space where there's no data. This talk will introduce persistence modules, which are a central concept of the theory. We will overview their construction from data, how we can compare between, and stability properties.</p><p><b>2021-10-27 15:00:00 UTC<br/>Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#303Sat, 21 Oct 2023 21:24:08 +01002021-10-13: Toby Smithe (Topos Institute and University of Oxford)<h2><a href='https://tsmithe.net/'>Toby Smithe</a> (<a href='https://topos.institute/'>Topos Institute and University of Oxford</a>)</h2><h2>The changing shapes of cybercats</h2><p><b>Abstract</b><br/><br/>The ménagerie of categorical models of dynamical systems is becoming a veritable zoo, but what makes all these animals tick? In this talk, I will introduce a new specimen: a symmetric monoidal category of continuous-time open Markov processes with general state spaces. I will explain how this category is obtained from a category of ``continuous-time coalgebras'' opindexed by polynomials, and describe how this recipe also gives categories of nondeterministic systems in arbitrary (continuous) time. These new specimens are motivated by the cybernetic question of how to model systems that are continuously performing approximate Bayesian inference. I will therefore sketch why their better-known cousins weren't quite up to the job, and show that our new SMC admits Bayesian inversion. Finally, I will attempt to make contact with the MSP branch of categorical cybernetics, asking what makes the shapes of our structures seem so similar-but-different, and how we might begin to understand systems nested within systems.</p><p><b>2021-10-13 15:00:00 UTC<br/>Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#302Sat, 21 Oct 2023 21:24:08 +01002021-10-06: Jules Hedges (MSP)<h2><a href='https://julesh.com/'>Jules Hedges</a> (MSP)</h2><h2>A very abridged introduction to open games</h2><p><b>Abstract</b><br/><br/>Open games allow you to talk about some amount of game theory (and thus, some amount of economics) in terms of a lot of familiar ideas from category theory and compositionality. It isn’t possible to introduce open games adequately to anyone in this amount of time, but this talk will be the best I can manage in the circumstances. I’ll explain approximately how open games work, and how they relate to some other interests of MSP. I’ll also do a quick demo of the open game engine, a Haskell implementation that’s robust enough to do some Real Economics ™.</p><p><b>2021-10-06 15:00:00 UTC<br/>Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#301Sat, 21 Oct 2023 21:24:08 +01002021-09-29: Fredrik Nordvall Forsberg (MSP)<h2><a href='https://personal.cis.strath.ac.uk/fredrik.nordvall-forsberg/'>Fredrik Nordvall Forsberg</a> (MSP)</h2><h2>Dependently typed programming: do you know what you are doing?</h2><p><b>Abstract</b><br/><br/>Wouldn't it be nice if you could tell the computer what you mean, so that it could help you catch not only syntax errors, but also semantics errors? Even better, so it could help you and guide you towards the program that you want to write? So that knowing what you are doing could become a responsibility shared between human and machine, instead of being only your problem? Using dependent types, and some care, we can achieve this by encoding the precise meaning of the program in its type -- any implementation will consequently be correct *by construction*. I will give a demonstration of such dependently typed programming, based in part on a nice recent draft functional pearl by Wouter Swierstra: "A correct-by-construction conversion to combinators" [1]. I will not assume that you know much about correct-by-construction programming, or combinatory logic.<br/>
<br/>
[1] <a href='https://webspace.science.uu.nl/~swier004/publications/2021-jfp-submission-2.pdf'>https://webspace.science.uu.nl/~swier004/publications/2021-jfp-submission-2.pdf</a></p><p><b>2021-09-29 15:00:00 UTC<br/>Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#300Sat, 21 Oct 2023 21:24:08 +01002021-09-23: Jade Master (MSP)<h2><a href='https://sites.google.com/view/jadeedenstarmaster/home/'>Jade Master</a> (MSP)</h2><h2>Building the behavior of graphs compositionally</h2><p><b>Abstract</b><br/><br/>The free category on a graph may be understood as an operational semantics. The objects of this free category represent states and the morphisms represent possible sequences of events which may occur. How can this operational semantics be built from smaller components? We will see how gluing graphs together is the composition of category and how the operational semantics of graphs extends to a functor on this category. Blackboxing is a process which takes a system and focuses only the relationship it induces between its inputs and outputs. In this talk we will explain how blackboxing is almost a functor, and how the categorical framework developed so far gives insight into computation.</p><p><b>2021-09-23 15:00:00 UTC<br/>Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#299Sat, 21 Oct 2023 21:24:08 +01002021-09-16: Ezra Schoen (MSP)<h2>Ezra Schoen (MSP)</h2><h2>Introduction to universal coalgebra</h2><p><b>Abstract</b><br/><br/>The aim of this presentation is to give an overview of various concepts within universal coalgebra. We will explore such topics as corecursion, bisimulation and coalgebraic (modal) logic. No prior knowledge is required, save for some elementary category theory.</p><p><b>2021-09-16 15:00:00 UTC<br/>Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#298Sat, 21 Oct 2023 21:24:08 +01002021-09-09: Andre Videla (MSP)<h2>Andre Videla (MSP)</h2><h2>All kinds of types</h2><p><b>Abstract</b><br/><br/>What are types? What types of types exist? Why do we do bother and what does this buy us? This introduction to type theory aims to motivate the study of type systems and demonstrate their power. No knowledge is required except for basic programming concepts, like functions and data structures. Our journey will take us from the Set theory slums, through the curry-howard plains, into the type-theory ivory tower and end looking at the stars where modal logic and QTT live.</p><p><b>2021-09-09 15:00:00 UTC<br/>Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#297Sat, 21 Oct 2023 21:24:08 +01002021-09-02: MSP101 Planning meeting<h2>MSP101 Planning meeting (Online)</h2><h2>MSP101 Planning meeting</h2><p><b>2021-09-02 15:00:00 UTC<br/>Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#296Sat, 21 Oct 2023 21:24:08 +01002021-07-08: Conor McBride (MSP)<h2><a href='https://personal.cis.strath.ac.uk/conor.mcbride/'>Conor McBride</a> (MSP)</h2><h2>Bite me! (Rational Fixpoints of Containers)</h2><p><b>Abstract</b><br/><br/>Least fixpoints, often written mu X. Blah(X), give us inductive types (for strictly positive Blah), e.g. finite lists of A given as mu X. 1 + A*X: all the lists of finite length. Greatest fixpoints, often written nu X. Blah(X), give us possibly infinite type (for strictly positive Blah), e.g. finite lists, but also wild infinite lists like [0,1,2,3,...] which never repeat.<br/>
<br/>
There is no Greek letter between mu and nu. But there is at least one interesting fixpoint between the least and the greatest: things which can loop back on themselves, but not diverge into the wide blue yonder. That is the rational fixpoint.<br/>
<br/>
What are we to do with it? I don't know but I intend to find out.<br/>
<br/>
I shall give a deeply unsatisfactory talk on this topic which leaves more questions than answers, for the purpose of infecting people with this problem. There will be at least one solid clue.</p><p><b>2021-07-08 15:00:00 UTC<br/>Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#295Sat, 21 Oct 2023 21:24:08 +01002021-07-01: Matteo Capucci (MSP)<h2><a href='https://matteocapucci.wordpress.com/'>Matteo Capucci</a> (MSP)</h2><h2>Translating Extensive Form Games to Open Games with Agency</h2><p><b>Abstract</b><br/><br/>We show open games cover extensive form games with both perfect and imperfect information. Doing so forces us to address two current weaknesses in open games: the lack of a notion of player and their agency within open games, and the lack of choice operators. Using the former we construct the latter, and these choice operators subsume previous proposed operators for open games, thereby making progress towards a core, canonical and ergonomic calculus of game operators. Collectively these innovations increase the level of compositionality of open games, and demonstrate their expressiveness.<br/>
<br/>
This is a practice talk for ACT'21.</p><p><b>2021-07-01 15:00:00 UTC<br/>Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#294Sat, 21 Oct 2023 21:24:08 +01002021-07-15: Samuel Arsac (MSP)<h2>Samuel Arsac (MSP)</h2><h2>Expressivity of BCI algebras</h2><p><b>Abstract</b><br/><br/>I will have a look into the expressivity of BCI-algebras, by implementing them in Coq and by looking at them from a categorical point of view. The first step will be to implement the λ* operator as shown in [1], which will allow for the use of linear lambda-calculus. From this point it will be much easier to define useful terms with BCI combinators, and I will use the encoding of booleans in linear lambda-calculus defined in [2] to create a type of duplicable and discardable booleans. In parallel, I will talk about the categorical aspects with the notion of realisability and category of assemblies [1], with the aim of showing that we can obtain a linear-non-linear model.<br/>
<br/>
[1] <a href='https://www.kurims.kyoto-u.ac.jp/~naophiko/paper/realizability.pdf'>https://www.kurims.kyoto-u.ac.jp/~naophiko/paper/realizability.pdf</a><br/>
[2] <a href = 'https://www.cs.brandeis.edu/~mairson/Papers/jfp02.pdf'>https://www.cs.brandeis.edu/~mairson/Papers/jfp02.pdf</a></p><p><b>2021-07-15 15:00:00 UTC<br/>Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#293Sat, 21 Oct 2023 21:24:08 +01002021-06-30: SPLS<h2><a href='https://www.eventbrite.com/e/spls-2021-june-30th-tickets-154107512719'>SPLS</a> (Online)</h2><h2>SPLS</h2><p><b>2021-06-30 11:00:00 UTC<br/>Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#292Sat, 21 Oct 2023 21:24:08 +01002021-06-24: Andre Videla (MSP)<h2>Andre Videla (MSP)</h2><h2>Optics for generic declarative server APIs</h2><p><b>Abstract</b><br/><br/>Martin-Löf type theory has provided us with a new programming paradigm: One where types and terms have shed their differences in order to live harmoniously in the same universe. Despite this successful reunion we have yet to communicate this story to the people building today’s software, for whom it is still a fairy-tale, rather than reality.<br/>
<br/>
For this, I will demonstrate how to use dependent types for a purpose that is extremely common in commercial software: Web servers. Web servers are a great example because of how ubiquitous they are. Every service, company or product probably has a web server running behind it in some way (if only to serve web pages). Dependent types help the implementation of servers in small and big ways and the experience can be further enhanced by combining it with lenses in order to reach powerful new levels of abstraction.</p><p><b>2021-06-24 14:00:00 UTC<br/>Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#291Sat, 21 Oct 2023 21:24:08 +01002021-06-10: Bob Atkey (MSP)<h2><a href='http://bentnib.org/'>Bob Atkey</a> (MSP)</h2><h2>Real Numbers in Agda</h2><p><b>Abstract</b><br/><br/>In a constructive logic real numbers are even more interesting than they are in the classical world. To demonstrate the differences, I'll talk about how we can construct a type of real numbers in Agda in terms of the Cauchy completion of the metric space of rational numbers. This yields an implementation of real numbers that is reasonably efficient and that we can do proofs about. The basic construction closely follows Russell O'Connor's "A monadic, functional implementation of real numbers" [1]. I'll also talk about using the completion of a metric space to implement quantitative equational theories over complete separable metric spaces in Agda. I'll try to work from the assumption that the audience knows nothing about metric spaces, completion, or construction of real numbers.<br/>
<br/>
[1] <a href='https://arxiv.org/abs/cs/0605058'>https://arxiv.org/abs/cs/0605058</a></p><p><b>2021-06-10 14:00:00 UTC<br/>Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#290Sat, 21 Oct 2023 21:24:08 +01002021-05-27: MSP101 Planning meeting<h2>MSP101 Planning meeting (Online)</h2><h2>MSP101 Planning meeting</h2><p><b>2021-05-27 15:00:00 UTC<br/>Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#289Sat, 21 Oct 2023 21:24:08 +01002021-06-17: William Waites (LSHTM Centre for the Mathematical Modelling of Infectious Diseases)<h2><a href='https://www.tardis.ed.ac.uk/~wwaites/'>William Waites</a> (<a href='https://www.lshtm.ac.uk/research/centres/centre-mathematical-modelling-infectious-diseases'>LSHTM Centre for the Mathematical Modelling of Infectious Diseases</a>)</h2><h2>Executable Storytelling with Rule-Based Models</h2><p><b>Abstract</b><br/><br/>I will tell a (very simplified) story about how the adaptive immune system works through the medium of rules. Rules are compositional creatures that can be looked at from the perspective of structured cospans, algebras or double pushout graph rewriting systems. I won't belabour the abstract interpretation, rather I will concentrate on how they can be used to good effect to both explain (normal mode) immune response to a pathogen like SARS-CoV-2 and generate a model that can be simulated and reproduces some interesting heterogeneity that is observed in the world. Furthermore, compositionality means that this set of rules can be freely combined with sets of rules for transmission and diagnostic testing and will show this in action. Finally, I’ll speculate about some other kinds of models that it might be interesting to incorporate.</p><p><b>2021-06-17 15:00:00 UTC<br/>Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#288Sat, 21 Oct 2023 21:24:08 +01002021-06-03: Georgi Nakov (MSP)<h2>Georgi Nakov (MSP)</h2><h2>A relationally parametric model of Quantitative Type Theory</h2><p><b>Abstract</b><br/><br/>Polymorphism allows a single function to be instantiated with multiple types. It is parametric if all of the instances behave uniformly. Reynolds managed to give rigorous formalization of this notion in his abstraction theorem for polymorphic lambda calculus. The key insight is that types may also be interpreted as relations. In this talk, I will give an overview of relational parametricity and some of its consequences, focus on an approach of extending parametricity to dependent type theories using reflexive graphs (due to Atkey, Ghani and Johann) and finish by presenting a relationally parametric model of Quantitative Type Theory.</p><p><b>2021-06-03 15:00:00 UTC<br/>Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#287Sat, 21 Oct 2023 21:24:08 +01002021-05-20: Chuangjie Xu (fortiss GmbH)<h2><a href='https://cj-xu.github.io/'>Chuangjie Xu</a> (<a href='https://www.fortiss.org/en/'>fortiss GmbH</a>)</h2><h2>A Generic Framework for Analyzing (Featherweight) Java Programs</h2><p><b>Abstract</b><br/><br/>As a notion to represent disjoint sets of memory locations, regions serve as the basis of various techniques for e.g. memory management and pointer analysis. They are closely interrelated with effects, and have been illustrated to be useful for improving the precision of analysis. We generalize the notion of region to represent properties of values, introduce a region type system for Featherweight Java (FJ) that is parametrized with a monad-like structure, and prove a uniform soundness theorem. Its instances include some type systems studied by Martin Hofmann et al. as well as a new one that performs more precise analysis of trace-based program properties. Our region type system is separate from the FJ type system, making it simpler and also easier to move to larger fragments of Java. The uniform framework helps to avoid redundant work on the meta-theory when extending the system to cover other language features such as exception handling. This is joint work with Ulrich Schöpp.</p><p><b>2021-05-20 15:00:00 UTC<br/>Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#286Sat, 21 Oct 2023 21:24:08 +01002021-05-13: Jan de Muijnck-Hughes (Glasgow)<h2><a href='http://jfdm.github.io/'>Jan de Muijnck-Hughes</a> (<a href='https://www.gla.ac.uk/schools/computing/'>Glasgow</a>)</h2><h2>Formalising the (Sub-)Structural Aspects of SystemVerilog, Again...</h2><p><b>Abstract</b><br/><br/>Hardware design is commoditised and it might be the case that several components of your design use encrypted bitstreams bought from third-parties. We must have faith that the encrypted bitstreams do what they are supposed to. In the Border Patrol Project we are interested in being able to reason about the structure & behaviour of designs as a whole, regardless of if we can inspect each module down to the individual gates.<br/>
<br/>
Following on from my SPLS Nov '20 I want to update everyone on my journey in capturing the physical structure of hardware design using lambda-calculi. Specifically, I will re-introduce System-V, a typed lambda calculus that is based upon the well-known hardware description and verification language SystemVerilog. I will show how a System-V design can capture physical hardware design in the Verilog style, and its type-system enforce correct wiring. I will then show how we can formally look beyond System-V itself (and hardware design by extension) by leveraging known-things from programming-language theory, and posit on where to go from here.</p><p><b>2021-05-13 15:00:00 UTC<br/>Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#285Sat, 21 Oct 2023 21:24:08 +01002021-05-06: Andre Videla (MSP)<h2>Andre Videla (MSP)</h2><h2>Categorical semantics of the Simply typed lambda calculus</h2><p><b>Abstract</b><br/><br/>The Simply typed lambda calculus is a tried and true tool for experimentation and teaching, today we're going to use it as our guide through an introduction to category theory. Category theory without proper motivation or context can be a bit puzzling to get into. But using the simply typed lambda calculus as our framework we will see what it takes in order to interpret it as a Cartesian Closed Category. This walkthough should provide you with the tools to understand Cartesian Closed Category as well as some hands-on experience with proving your first results in Category theory!</p><p><b>2021-05-06 15:00:00 UTC<br/>Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#284Sat, 21 Oct 2023 21:24:08 +01002021-04-29: Matteo Capucci (MSP)<h2><a href='https://matteocapucci.wordpress.com/'>Matteo Capucci</a> (MSP)</h2><h2>Games with players</h2><p><b>Abstract</b><br/><br/>The algebra of open games is a compelling language for modelling large and medium scale games, with many interacting players. Its most striking features are compositionality and an intuitive and expressive graphical calculus. In this talk I'll go through some recent developments in this area to sketch a general way to build open games, starting from an informal specification, a classical game, or a bunch of given other games. The most important novelty is the presence of a well-defined and correct notion of player, which was missing until now. The guiding principle will be that ‘games and players live in orthogonal planes’, as suggested by the graphical language of the para construction.</p><p><b>2021-04-29 15:00:00 UTC<br/>Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#283Sat, 21 Oct 2023 21:24:08 +01002021-04-01: Jules Hedges (MSP)<h2><a href='https://julesh.com/'>Jules Hedges</a> (MSP)</h2><h2>All about convex sets</h2><p><b>Abstract</b><br/><br/>This talk is about the algebras of the finite support probability monad on Set. They consist of a set equipped with a “mixture” operator satisfying some axioms, and are variously known as (abstract) convex sets, convex algebras, barycentric algebras, etc. Every actually-convex subset of a real vector space is a convex set, but there are less expected examples too: every join-semilattice can be seen as a convex set, and there are examples that combine aspects of both vector spaces and semilattices.<br/>
<br/>
I will spend a lot of time on the basic theory and examples, which is mostly due to Marshall Stone. I’ll then transition into talking about work in progress with Paolo Perrone and Sharwin Rezagholi, in which we aim to prove a version of Brouwer’s fixpoint theorem for convex sets. Specifically, we aim to construct a “topological realisation” functor F: Conv -> Top and find sufficient convex properties on X such that F(X) satisfies the fixpoint property for continuous maps. Along the way we prove a classification theorem: every convex set can be decomposed as a family of convex subsets of vector spaces “fibred over” a semilattice (slightly improving a similar unpublished result by Tobias Fritz).</p><p><b>2021-04-01 15:00:00 UTC<br/>Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#281Sat, 21 Oct 2023 21:24:08 +01002021-03-25: Donovan Crichton (Australian National University)<h2>Donovan Crichton (<a href='https://cecs.anu.edu.au/research/theory/logic'>Australian National University</a>)</h2><h2>Type Preserving Crossover Operations for Genetic Programs</h2><p><b>Abstract</b><br/><br/>This talk serves as my formal introduction to the MSP101 Group, and covers work from my Bachelor thesis. We will look at how dependent types can be used to enable a type-safe crossover operation to allow the generation of program examples that are guaranteed to be well typed. We'll also cover alternate approaches I could've taken, as well as further work in the area.</p><p><b>2021-03-25 15:00:00 UTC<br/>Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#280Sat, 21 Oct 2023 21:24:08 +01002021-03-18: Clemens Kupke (MSP)<h2><a href='http://personal.cis.strath.ac.uk/clemens.kupke/'>Clemens Kupke</a> (MSP)</h2><h2>Propositional Dynamic Logic(s)</h2><p><b>Abstract</b><br/><br/>I will provide an introduction to dynamic modal logics such as Propositional Dynamic Logic (PDL) and Game Logic (GL) and will then describe a (co)algebraic framework for these logics. This framework relates program/game constructs of these logics to monad structure. The axioms of these logics express compatibility requirements between the modal operators and the monad structure.</p><p><b>2021-03-18 15:00:00 UTC<br/>Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#279Sat, 21 Oct 2023 21:24:08 +01002021-03-11: Fredrik Nordvall Forsberg (MSP)<h2><a href='https://personal.cis.strath.ac.uk/fredrik.nordvall-forsberg/'>Fredrik Nordvall Forsberg</a> (MSP)</h2><h2>Quantitative containers</h2><p><b>Abstract</b><br/><br/>Quantitative Type Theory combines linear types (where we keep track of how many times a variable is used) and dependent types (where terms can appear in types). This gives a logical system which is both expressive and precise with respect to the resource usage of programs and proofs, with a rich model theory. I will talk about work in progress investigating data types in this setting, in the form of "resource-aware" quantitative containers, and their initial algebra semantics.<br/>
<br/>
This is joint work with Georgi Nakov.</p><p><b>2021-03-11 15:00:00 UTC<br/>Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#278Sat, 21 Oct 2023 21:24:08 +01002021-03-04: Radu Mardare (MSP)<h2><a href='https://personal.cis.strath.ac.uk/r.mardare/'>Radu Mardare</a> (MSP)</h2><h2>Quantitative Iteration Theories</h2><p><b>Abstract</b><br/><br/>We develop a fixed-point extension of quantitative equational logic and give semantics in one-bounded complete quantitative algebras. Unlike previous related work about fixed-points in metric spaces, we are working with the notion of approximate equality rather than exact equality. The result is a novel theory of fixed points which can not only provide solutions to the traditional fixed-point equations but we can also define the rate of convergence to the fixed point. We show that such a theory is the quantitative analogue of a Conway theory and also of an iteration theory; and it reflects the metric coinduction principle. We study the Bellman equation for a Markov decision process as an illustrative example.<br/>
<br/>
This is a recent joint work with Gordon Plotkin and Prakash Panangaden.</p><p><b>2021-03-04 15:00:00 UTC<br/>Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#277Sat, 21 Oct 2023 21:24:08 +01002021-02-25: Malin Altenmüller (MSP)<h2>Malin Altenmüller (MSP)</h2><h2>Some Thoughts on a Datatype for Higher Genus Graphs</h2><p><b>Abstract</b><br/><br/>Circuit diagrams are commonly modelled by graphs embedded into some oriented surface (maps). When the circuit's topology is non-trivial (e.g. for quantum circuits), the maps live on higher genus surfaces. I will give an introduction to the relevant graph theory and discuss some ideas on how we might be able to program with these higher genus structures. Starting from the plane case, a multi-stack approach seems promising for approaching these more complex maps. Strategies for modelling structures with multiple stacks exist in various different contexts and any of your experiences are most welcome in the discussion!</p><p><b>2021-02-25 15:00:00 UTC<br/>Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#276Sat, 21 Oct 2023 21:24:08 +01002021-02-18: Nicolai Kraus (University of Nottingham)<h2><a href='https://nicolaikraus.github.io/'>Nicolai Kraus</a> (<a href='https://www.nottingham.ac.uk/research/groups/fp-lab/index.aspx'>University of Nottingham</a>)</h2><h2>Internal ∞-Categories with Families</h2><p><b>Abstract</b><br/><br/>It is natural to formalise the notion of a model of type theory (especially the syntax = intended initial model) inside type theory itself. This is often done by writing the definition of a category with families (CwF) as a generalised algebraic theory. What could the success criterion from a HoTT point of view be? The typical first goal is that the initial model is an h-set or even has decidable equality. Our second goal is to make the "standard model" work, i.e. the universe U should be a CwF in a straightforward way (cf. Mike Shulman's 2014 question whether the n-th universe in HoTT models HoTT with n-1 universes). Unfortunately, it is hard to combine these two goals. If we include set-truncatedness explicitly in the definition of a CwF, then the "standard model" is not a CwF. If we don't, then the initial model is not an h-set. The root of the problem is that 1-categories are not well-behaved concepts in an untruncated setting. The natural approach are higher categories, which corresponds to "equipping the syntax with all coherences" instead of truncating. In this talk, I will explain one approach to this based on a type-theoretic formulation of Segal spaces, expressed in HTS/2LTT. I will discuss what works and what is still open. The talk will be based on <a href='https://arxiv.org/abs/2009.01883'>arXiv:2009.01883</a>.</p><p><b>2021-02-18 16:00:00 UTC<br/>Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#275Sat, 21 Oct 2023 21:24:08 +01002021-02-11: Bruno Gavranović (MSP)<h2><a href='https://www.brunogavranovic.com/'>Bruno Gavranović</a> (MSP)</h2><h2>Categorical Foundation of Gradient-Based Learning</h2><p><b>Abstract</b><br/><br/>I will give an introduction to the categorical foundation of gradient-based learning algorithms. I'll define three abstract constructions and show how they can be put together to form general neural networks. The Para construction is used to compose neural networks while keeping track of their weights. Lenses/Optics which are used to take care of the forward-backward data flow and lastly, reverse derivative categories are used to functorially construct the backward wires from the forward ones. In addition, we'll see that gradient descent, Momentum, and a number of optimizers are lenses too, and that this framework includes learning on boolean circuits, in addition to standard Euclidean spaces.</p><p><b>2021-02-11 15:00:00 UTC<br/>Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#274Sat, 21 Oct 2023 21:24:08 +01002021-02-04: Bob Atkey (MSP)<h2><a href='http://bentnib.org/'>Bob Atkey</a> (MSP)</h2><h2>Reviewing</h2><p><b>Abstract</b><br/><br/>I'll talk about how I go about writing, reading, and responding to reviews. Reviews are an essential part of academic publishing, but why do we do them (for free!), and why do we care what they say? I discuss how reviews are used by programme committees and chairs to decide what papers are selected for conferences (and journals), how I think you should go about doing reviews, and why you should write reviews. I'll also talk about reading reviews written about your own work, and how to go about the author response period effectively.</p><p><b>2021-02-04 15:00:00 UTC<br/>Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#273Sat, 21 Oct 2023 21:24:08 +01002021-01-28: Jérémy Ledent (MSP)<h2><a href='https://personal.cis.strath.ac.uk/jeremy.ledent/'>Jérémy Ledent</a> (MSP)</h2><h2>Combinatorics, Topology and Game theory: a proof of Nash's theorem</h2><p><b>Abstract</b><br/><br/>The aim of this talk is to state and prove Nash's theorem, which says that every finite game with mixed strategies has a Nash equilibrium. The proof makes use of two other famous results: Sperner's lemma, a combinatorial result about coloring the vertices of a triangulation, and Brouwer's fixed-point theorem. Thus, my talk will be organised into three largely independent parts: first I will sketch the proof of Sperner's lemma; then I will use Sperner's lemma to prove Brouwer's theorem; and finally I will use Brouwer's theorem to prove the existence of Nash equilibria.</p><p><b>2021-01-28 15:00:00 UTC<br/>Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#272Sat, 21 Oct 2023 21:24:08 +01002021-01-07: James Wood (MSP)<h2><a href='https://personal.cis.strath.ac.uk/james.wood.100/'>James Wood</a> (MSP)</h2><h2>Generic metatheory of linear programming languages</h2><p><b>Abstract</b><br/><br/>I will give an introduction to generic metatheory in the style of Allais, Atkey, Chapman, McBride, and McKinna, leading into new work from me and Bob. Generic metatheory is about deriving proofs and operations for a whole class of programming languages, rather than the usual 1 language. The class we consider combines variable binding with usage-sensitivity, and contains many variants of linear natural deduction calculi (and, as a special case, intuitionistic and classical calculi). We build on <a href='https://arxiv.org/abs/2001.11001'>the framework of Allais et al.</a> and our recent use of <a href='https://arxiv.org/abs/2005.02247'>linear algebra in linear metatheory</a>.</p><p><b>2021-01-07 13:00:00 UTC<br/>Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#271Sat, 21 Oct 2023 21:24:08 +01002020-12-17: Sam Lindley (University of Edinburgh)<h2><a href='http://homepages.inf.ed.ac.uk/slindley/'>Sam Lindley</a> (<a href='http://www.ed.ac.uk/informatics/'>University of Edinburgh</a>)</h2><h2>Algebraic effects and effect handlers</h2><p><b>Abstract</b><br/><br/>I'll give an introduction to algebraic effects and effect handlers as a general approach to programming and reasoning about effectful computation. I'll present the notion of a computation over an algebraic effect as a command-response tree over an effect signature quotiented by some equational theory. I'll consider how to interpret command-response trees and motivate effect handlers as the reification of such interpretations as an object language feature that provides a generic implementation strategy for algebraic effects. I'll give examples to show that it can be useful to interpret the same command-response tree using different interpretations which may not respect the same equational theory. Thus effect handlers can provide an expressive programming feature independently of any non-trivial algebraic theory.</p><p><b>2020-12-17 13:00:00 UTC<br/>Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#270Sat, 21 Oct 2023 21:24:08 +01002020-12-10: Uma Zalakain (University of Glasgow)<h2><a href='https://umazalakain.info/'>Uma Zalakain</a> (<a href='http://www.dcs.gla.ac.uk/research/formalmethods/'>University of Glasgow</a>)</h2><h2>Session Types</h2><p><b>Abstract</b><br/><br/>This talk is a brief introduction to session types, a type formalism for structured communication between concurrent programs. Instead of typing programs, we will session type channel endpoints, to then ensure that the programs that make use of these endpoints do so in a principled manner, according to their session types. I will go over some of the key ideas that enable session-typed programming, and comment on the properties that session-typed programs exhibit. As an example, I will introduce (and comment on the oddities of) a type system that uses session types to type the pi calculus. I will close mentioning some of the extensions to session types and more advanced type systems.</p><p><b>2020-12-10 13:00:00 UTC<br/>Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#269Sat, 21 Oct 2023 21:24:08 +01002020-12-03: Radu Mardare (MSP)<h2><a href='https://personal.cis.strath.ac.uk/r.mardare/'>Radu Mardare</a> (MSP)</h2><h2>Metrics in probabilistic context</h2><p><b>Abstract</b><br/><br/>This talk will (probably) be a tutorial on how metrics meet probability theory and how this provides us with the context for innovative paradigms in computer science. The novel challenges that machine learning, cyber-physical systems and statistical computational methods rise to computer science require a fundamental change of the semantics of computation. While in the past we were happy to know whether two programs/algorithms/machines behave the same or not, today it is obvious that this is not enough for our purposes. We need, more and more, to be able to reason about and measure the similarity of non-identical computational behaviours. Moreover, we need to speak about randomness in computational phenomena, especially when we formalize learning or behaviours in unknown contexts. Last but not least, we need to eventually replace the classic metatheory of computation with a probabilistically-based one, where questions can be answered probabilistically within controlled confidence boundaries.<br/>
<br/>
I will not have the time to approach all these during the talk, but I will try to give an overview of the mathematical instruments one needs to approach such a complex challenge.</p><p><b>2020-12-03 13:00:00 UTC<br/>Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#268Sat, 21 Oct 2023 21:24:08 +01002020-11-26: Glynn Winskel (MSP)<h2>Glynn Winskel (MSP)</h2><h2>Event Structures and Games</h2><p><b>Abstract</b><br/><br/>I’ll introduce event structures, a model of computation in which behaviour is captured through partial orders of causal dependency between events. As an application I'll show their role in a theory of concurrent/distributed games and strategies, which has been useful in the semantics of computation, also for probabilistic and quantum programs. Though originally motivated by the limitations of traditional semantics, through determinacy and value theorems, and the preservation of winning/optimal strategies under composition, a form of structural game theory is emerging. In this talk I'll concentrate on what I see as connection points with work here at Strathclyde: as a lead in, relations with the stable domain theory of Berry and Girard; then, the view of strategies as profunctors, whence how they connect to the traditional domain theory of Scott; concluding with how distributed strategies support certain dialectica categories and lenses, and through them open games. My hope is that these connections will be fruitful. On the one side, distributed games can offer a rich metalanguage which extends to probabilistic and quantum computation.</p><p><b>2020-11-26 13:00:00 UTC<br/>Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#267Sat, 21 Oct 2023 21:24:08 +01002020-11-19: Fredrik Nordvall Forsberg (MSP)<h2><a href='https://personal.cis.strath.ac.uk/fredrik.nordvall-forsberg/'>Fredrik Nordvall Forsberg</a> (MSP)</h2><h2>Containers</h2><p><b>Abstract</b><br/><br/>How do we represent and reason about data types, in general? The theory of containers is one answer, which is locally quite popular in the MSP group (and beyond). A container is given by a collection of shapes, and for each shape, a collection of positions, where one is meant to plug in data. Containers can be used to analyse generic constructions on data types, without resorting to a messy induction over syntax.<br/>
<br/>
Each container induces a functor from Set to Set, which maps an "element type" X to the set of containers with data drawn from X. Furthermore, there is a natural notion of morphism of containers, with the remarkable property that it completely captures the natural transformations between the functors the containers represent: the interpretation functor from containers to the functor category from Set to Set is full and faithful. In general, the category of containers is extremely nice, eg containers are closed under almost all operations you can imagine (composition, products, coproducts, exponentials, initial algebras, final coalgebras, ...). I hope to give an introductory talk that will make the above more precise.</p><p><b>2020-11-19 13:00:00 UTC<br/>Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#266Sat, 21 Oct 2023 21:24:08 +01002020-11-12: Jules Hedges (MSP)<h2><a href='https://julesh.com/'>Jules Hedges</a> (MSP)</h2><h2>Lenses 101</h2><p><b>Abstract</b><br/><br/>I’ll talk about the zoo of closely-related structures (with a lot of clashing terminology) known as “lenses” and “optics”. Lenses and optics are a way of managing inherently state-heavy applications (for example videogames) in purely functional languages, which turn out to have a lot of surprisingly deep category theory behind them. I will also talk about some of the places where lenses have recently appeared far outside their original domain, for example in game theory, machine learning and systems theory.</p><p><b>2020-11-12 13:00:00 UTC<br/>Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#265Sat, 21 Oct 2023 21:24:08 +01002020-11-05: Eigil Rischel (MSP)<h2><a href='https://erischel.com/'>Eigil Rischel</a> (MSP)</h2><h2>Probability theory with string diagrams</h2><p><b>Abstract</b><br/><br/>Going back to Lawvere, people have tried to study probability theory in terms of monads - the idea being that for each "space" of some type, X, there should be a space PX of probability distributions on X, with point-distributions and integration of distributions giving the monad structure. The Kleisli category of this monad is of particular interest: it corresponds to "stochastic maps" between spaces.<br/>
<br/>
It turns out that one can actually often do without the monad - the Kleisli category itself carries enough structure that one can do probability theory "internally", rederiving the notions of determinism, independence of measures, and many others. I will present this picture of probability, and give some examples of results that can be proven in this framework.</p><p><b>2020-11-05 13:00:00 UTC<br/>Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#264Sat, 21 Oct 2023 21:24:08 +01002020-10-29: Bob Atkey (MSP)<h2><a href='http://bentnib.org/'>Bob Atkey</a> (MSP)</h2><h2>Realisability</h2><p><b>Abstract</b><br/><br/>Sometimes, we think of the category of sets and functions as a simple model of programs in a functional programming language. But sets and functions are much too expressive -- there are plenty of set theoretic functions that aren't expressible in any implementable programming language. Realisability is a way to bring functions down to earth by requiring that they are computable in some model of computation. I'll cover the construction of categories of realizable functions, usually called the category of Assemblies, and its interesting sub-category, the category of Modest Sets or PERs. I'll also sketch how to interpret type theory in the category of assemblies. If there is time, I'll also cover linear realisability.</p><p><b>2020-10-29 13:00:00 UTC<br/>Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#263Sat, 21 Oct 2023 21:24:08 +01002020-10-22: Matteo Capucci (MSP)<h2><a href='https://matteocapucci.wordpress.com/'>Matteo Capucci</a> (MSP)</h2><h2>Fantastic sheaves and where to find them</h2><p><b>Abstract</b><br/><br/>Sheaves are among the oddest creatures roaming the world of mathematics. They come from the far land of algebraic geometry, they speak a tricky language, and they organize in unfathomably big herds ('topoi'). There's no reason to be afraid, though: sheaves can be the tamest beasts and provide many useful services to the mathematician who's willing to learn their ways. In this talk, I'll try to demystify sheaves by giving an elementary exposition of their basic features, trying to convey useful intuition about their behaviour. I will also try to give a taste some of their most astounding tricks, such as sheaf cohomology and topos-theoretic forcing.</p><p><b>2020-10-22 13:00:00 UTC<br/>Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#262Sat, 21 Oct 2023 21:24:08 +01002020-10-15: Andre Videla (MSP)<h2>Andre Videla (MSP)</h2><h2>Quantitative Type Theory and its application</h2><p><b>Abstract</b><br/><br/>To build upon last week's talk on Dependent types, we will develop the intuition around Quantitative types and their usage in modern programming languages. What does it mean to program when the type system is responsible for tracking resources rather than leave this task to the programmer? What new patterns do we see? And what are the limitations we encounter and how do we fix them? This talk aims to answers those questions in an approachable and interactive way.</p><p><b>2020-10-15 13:00:00 UTC<br/>Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#261Sat, 21 Oct 2023 21:24:08 +01002020-10-08: Conor McBride (MSP)<h2><a href='https://personal.cis.strath.ac.uk/conor.mcbride/'>Conor McBride</a> (MSP)</h2><h2>Dependent Types</h2><p><b>Abstract</b><br/><br/>I'll give an introduction to the setup for dependent type theories, in the bidirectional style, again sketching why fundamental metatheoretic properties hold by not asking the wrong questions. In particular I'll develop the theory of dependent function types, then add lists. Let's conspire to make append associative, and if time permits, map a functorial action.</p><p><b>2020-10-08 13:00:00 UTC<br/>Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#260Sat, 21 Oct 2023 21:24:08 +01002020-10-01: Joe Collins (MSP)<h2>Joe Collins (MSP)</h2><h2>Introduction to Monoidal Categories</h2><p><b>Abstract</b><br/><br/>A nice, chill introduction to the basic definitions and theorems on monoidal categories. We will be defining monoidal categories and symmetric monoidal categories, and talking about the coherence theorem and string diagrams.</p><p><b>2020-10-01 13:00:00 UTC<br/>Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#259Sat, 21 Oct 2023 21:24:08 +01002020-09-24: Conor McBride (MSP)<h2><a href='https://personal.cis.strath.ac.uk/conor.mcbride/'>Conor McBride</a> (MSP)</h2><h2>Bidirectional STLC</h2><p><b>Abstract</b><br/><br/>By way of kicking off this semester of MSP101, I'll give an introduction to our local dialect of bidirectional type systems, defined as mutually inductive systems of moded judgments. That is, we not only assign a syntactic category to each place in a judgment form, but also designate its mode as being "input", "subject", or "output". The syntactic categories of introduction and elimination forms are distinguished: the former have types as inputs, the latter types as outputs. I'll illustrate this using the Simply Typed Lambda-Calculus, and I'll rattle through as much metatheory thereof as I can before you bottle me off.</p><p><b>2020-09-24 13:00:00 UTC<br/>Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#258Sat, 21 Oct 2023 21:24:08 +01002020-09-10: MSP101 Planning meeting<h2>MSP101 Planning meeting (https://meet.jit.si/MSP101/)</h2><h2>MSP101 Planning meeting</h2><p><b>2020-09-10 13:00:00 UTC<br/><a href='https://meet.jit.si/MSP101/'>https://meet.jit.si/MSP101/</a></b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#257Sat, 21 Oct 2023 21:24:08 +01002020-07-03: Jérémy Ledent (MSP)<h2><a href='https://personal.cis.strath.ac.uk/jeremy.ledent/'>Jérémy Ledent</a> (MSP)</h2><h2>Compositional Game Theory, compositionally</h2><p><b>Abstract</b><br/><br/>The recent notion of Open Games allows to study game theory in a compositional way: complex games can be obtained from smaller ones using various operators such as sequential and parallel composition. Thus, Open Games form a symmetric monoidal category. There are many flavors of open games, ranging from small variations on how equilibria are treated, to more radical changes such as introducing probabilistic behavior. Proving from scratch that each variant still forms a monoidal category is tedious.<br/>
<br/>
I will present a compositional construction of the category of Open Games, which consists of three main steps. In each step, one can swap a component for a similarly-behaved one, without disturbing the rest of the structure. Thus, one can define many variants of Open Games with minimal effort. This compositional approach is based on the notion of Arrows, a concept first introduced in functional programming.<br/>
<br/>
This is a practise talk for ACT20 next week, and joint work with Bob, Bruno, Neil, Clemens and Fred.</p><p><b>2020-07-03 14:00:00 UTC<br/>Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#256Sat, 21 Oct 2023 21:24:08 +01002020-06-19: Jan de Muijnck-Hughes (Glasgow)<h2><a href='http://jfdm.github.io/'>Jan de Muijnck-Hughes</a> (<a href='https://www.gla.ac.uk/schools/computing/'>Glasgow</a>)</h2><h2>Building Resource-Dependent EDSLs in a Dependently-Typed Language</h2><p><b>Abstract</b><br/><br/>While many people use dependent types for theorem proving some of us like to use dependent types for building, and running, safer programs.<br/>
<br/>
Idris' <i>Effects</i> library demonstrates how to embed resource dependent algebraic effect handlers into a dependently typed host language, providing run-time and compile-time based reasoning on type-level resources. Building upon this work, <i>Resources</i> is a framework for realising EDSLs with type systems that contain domain specific substructural properties. Differing from <i>Effects</i>, <i>Resources</i> allows a language's substructural properties to be encoded within type-level resources that are associated with language variables. Such an association allows for multiple effect instances to be reasoned about autonomically and without explicit type-level declaration. We use type-level predicates as proof that a language's substructural properties hold.<br/>
<br/>
Using <i>Resources</i> we have shown how to provide correctness-by-construction guarantees that substructural properties of written programs hold when working with =Files=, specifying Domain Specific =BiGraphs=, and Global Session Descriptions---=Sessions=. With this talk I want to discuss the how and why of <i>Resources</i>, and show how we can use the framework to build EDSLs with interesting type-systems.<br/>
<br/>
This talk is part practise talk for ECOOP 2020, part tutorial on an important idiom for practical dependently-typed programming, and part chance to highlight more how dependent-types are useful when programming in the real world.</p><p><b>2020-06-19 14:00:00 UTC<br/>Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#254Sat, 21 Oct 2023 21:24:08 +01002020-06-12: Bob Atkey (MSP)<h2><a href='http://bentnib.org/'>Bob Atkey</a> (MSP)</h2><h2>Interpreting Dependent Type Theory in Containers</h2><p><b>Abstract</b><br/><br/>In her PhD thesis, Tamara von Glehn showed that the Category of Containers (a.k.a. Category of Polynomials, Category of Dependent Lenses, Dialectica Category) supports an interpretation of dependent types. I'll present the basic constructions used, and, if I get to it, show that the model refutes the principle of functional extensionality.</p><p><b>2020-06-12 14:00:00 UTC<br/>Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#253Sat, 21 Oct 2023 21:24:08 +01002020-06-05: Verification of Session Types Workshop (VEST)<h2><a href='http://groups.inf.ed.ac.uk/abcd/VEST/'>Verification of Session Types Workshop (VEST)</a> (Online)</h2><h2>Verification of Session Types Workshop (VEST)</h2><p><b>2020-06-05 09:00:00 UTC<br/>Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#252Fri, 9 Feb 2024 10:14:47 +00002020-05-29: Dominic Orchard (University of Kent)<h2><a href='http://dorchard.co.uk'>Dominic Orchard</a> (<a href='https://www.cs.kent.ac.uk/'>University of Kent</a>)</h2><h2>The 'graded types' paradigm: past, present, and a possible future</h2><p><b>Abstract</b><br/><br/>In the 1970s, the notion of 'grading' appeared in analytic philosophy and logic as a way of making reasoning more fine-grained, capturing 'degrees' of necessity or possibility. Somewhat independently, grading has become a topic of interest in type theory and programming language semantics, with graded structures again providing a means of more fine-grained reasoning. In this talk, I will give an overview of this idea (both its past and present) and explore two uses: (1) using graded modal types for program reasoning in the context of an experimental functional language with linear and indexed types, called Granule; (2) specialising program semantics to give correct-by-construction arguments about program analyses and transformations. I will also give a mathematical characterisation of grading which suggests a broad paradigm, and will briefly mention various ongoing works.</p><p><b>2020-05-29 11:00:00 UTC<br/>Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#251Sat, 21 Oct 2023 21:24:08 +01002020-05-22: Jérémy Ledent (MSP)<h2><a href='https://personal.cis.strath.ac.uk/jeremy.ledent/'>Jérémy Ledent</a> (MSP)</h2><h2>A quantitative model for λ-calculus</h2><p><b>Abstract</b><br/><br/>Resource monoids and length spaces are a semantic framework inspired from realizability, which was introduced by Dal Lago and Hofmann in the context of implicit complexity. It has been used to define quantitative models for various programming languages (such as Elementary Affine Logic, LFPL), and deduce soundness properties of the form: "Every definable function lies in a given complexity class". In this talk, I will show how this framework can be used to measure different quantitative properties of a language than time complexity. Namely, I will present a model of simply-typed λ-calculus such that the interpretation of a λ-term contains an upper bound on the size of its normal form.</p><p><b>2020-05-22 14:00:00 UTC<br/>Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#250Sat, 21 Oct 2023 21:24:08 +01002020-05-15: James Wood (MSP)<h2><a href='https://personal.cis.strath.ac.uk/james.wood.100/'>James Wood</a> (MSP)</h2><h2>A Linear Algebra Approach to Linear Metatheory</h2><p><b>Abstract</b><br/><br/>Since its introduction, linear logic has been the cause of and solution to many problems in theoretical computer science. There are many examples in the literature of calculi which restrict usage of variables, allowing them to capture linearity, monotonicity, sensitivity analysis, privacy constraints, and other coeffects. However, the syntactic metatheory of these calculi is often difficult, and rarely in a form amenable to formalisation in a proof assistant.<br/>
<br/>
In this talk, I will introduce the notion of kits and environments yielding generic traversals – a method developed by Conor for proving renaming and substitution lemmas. Then, I will discuss recent work by myself and Bob on adapting this method to semiring-graded calculi. The result is a pleasingly and surprisingly minor variation on the original, comprising the introduction of a linear map to mediate usage annotations. This solution gives us confidence that we can tackle all of quantitative metatheory in the familiar intuitionistic style.</p><p><b>2020-05-15 14:00:00 UTC<br/>Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#249Sat, 21 Oct 2023 21:24:08 +01002020-05-01: Radu Mardare (MSP)<h2><a href='https://personal.cis.strath.ac.uk/r.mardare/'>Radu Mardare</a> (MSP)</h2><h2>Stone duality for Markov processes (second attempt)</h2><p><b>Abstract</b><br/><br/>The talk will focus on the category of Markov processes, on Markovian logics and Aumann algebras. Markovian logics are modal logics designed to specify (approximated) properties of Markov processes and characterize their bisimilarity. Aumann algebras are the algebraic counterpart of Markovian logics, i.e., they are Boolean algebras with operators that encode probabilistic information. Markovian logics are not compact and for this reason the "classic" Stone duality fails. I will present a different version of Stone duality constructed on top of Rasiowa-Sikorski lemma, which is a result bringing topological results into Model Theory.<br/>
<br/>
This talk summarizes results obtained in collaboration with Dexter Kozen and Prakash Panangaden.</p><p><b>2020-05-01 14:00:00 UTC<br/>Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#248Sat, 21 Oct 2023 21:24:08 +01002020-04-24: Conor McBride (MSP)<h2><a href='https://personal.cis.strath.ac.uk/conor.mcbride/'>Conor McBride</a> (MSP)</h2><h2>Something Else About Mary</h2><p><b>Abstract</b><br/><br/>This is very much work in progress, jointly with Guillaume Allais (now of St Andrews) and Fredrik Nordvall Forsberg, with occasional involvement from others of the usual MSP suspects.<br/>
<br/>
Mary is our attempt to build a virtual learning environment which offers effective support to our own classes, building from the experience (but thankfully not the codebase) of the tools I built for teaching and assessing my first year hardware class. Last time I talked about Mary, she was just a twinkle in my eye. Now, she is at least a toddler.<br/>
<br/>
Mary is a variant on pandoc markdown which allows code fragments to be embedded in documents and document fragments to be embedded in code. This talk will focus mainly on the programming language embedded in the system which is currently called "Shonkier", as it is a variant on the "Shonky" language to which Frank compiles. It is untyped, for the time being, but that's an opportunity.<br/>
<br/>
The key design choice in Shonkier is that the C-style function application notation, f(e1,..,en), is used for all sorts of contextualization, and there are many such sorts. "Functions" (which already generalize to effect handlers) are but one form of context. We have also added first class environments (computed by pattern matching expressions) and guarding contexts (computed by Boolean expressions). One recent tweak which pays dividends is that effect handlers can now reply to requests with effects as well as with values. We are now free to negotiate various forms of contingency in a refreshingly direct style.<br/>
<br/>
In short, we have abandoned the naive delights of being context-free in favour of being context-negotiable.</p><p><b>2020-04-24 14:00:00 UTC<br/>Online</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#247Sat, 21 Oct 2023 21:24:08 +01002020-04-17: MSP101 Planning meeting<h2>MSP101 Planning meeting (Online at https://meet.jit.si/MSP101)</h2><h2>MSP101 Planning meeting</h2><p><b>2020-04-17 14:00:00 UTC<br/><a href='https://meet.jit.si/MSP101'>Online at https://meet.jit.si/MSP101</a></b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#246Sat, 21 Oct 2023 21:24:08 +01002020-02-06: Alan Jeffrey (Mozilla)<h2><a href='https://asaj.org/'>Alan Jeffrey</a> (<a href='https://www.mozilla.org/'>Mozilla</a>)</h2><h2>Rust, Servo and Mixed Reality Research at Mozilla</h2><p><b>Abstract</b><br/><br/>Mozilla is a non-profit whose mission is to expand access to, and protect privacy on, the Internet. Mozilla Research investigates emerging technologies, such as programming languages and new web platforms. This talk is an overview of research efforts around the Rust programming language, the Servo web engine, and Mixed Reality (VR and AR) on the web.</p><p><b>2020-02-06 14:00:00 UTC<br/>LT1415</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#245Sat, 21 Oct 2023 21:24:08 +01002020-03-27: Fredrik Nordvall Forsberg (MSP)<h2><a href='https://personal.cis.strath.ac.uk/fredrik.nordvall-forsberg/'>Fredrik Nordvall Forsberg</a> (MSP)</h2><h2>Multidimensionally-correct by construction programming</h2><p><b>Abstract</b><br/><br/>Physical dimensions such as length, mass and time can be used to ensure that equations are physically meaningful -- it makes no sense to add 7 metres to 12 seconds, and in an equation such as PV = nRT, it better be the case that both sides have the same physical dimension (in this case pressure times length^3). Even better, dimensions can not only be used to tell scientists off when making mistakes, but also to deduce non-trivial formulas (the famous example being that of the period of a pendulum as a function of its mass and length, and the acceleration of gravity).<br/>
<br/>
From an MSP perspective, there is a strong similarity between physical dimensions and types in programming languages, and indeed, this connection was explored in the 1990's by various researchers. A concrete outcome is Andrew Kennedy's implementation of units of measure in Microsoft's F# language, which makes it possible to write F# programs that are dimensionally-correct by construction.<br/>
<br/>
However, a lot of numerical software is written manipulating not single numbers, but vectors and matrices, using the methods of linear algebra. I will report on work in progress with Conor on extending dimensional analysis to multiple dimensions in this second sense.</p><p><b>2020-03-27 14:00:00 UTC<br/>https://meet.jit.si/MSP101</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#243Sat, 21 Oct 2023 21:24:08 +01002020-04-03: Clemens Kupke (MSP)<h2><a href='http://personal.cis.strath.ac.uk/clemens.kupke/'>Clemens Kupke</a> (MSP)</h2><h2>Completeness of Modal Logic via Stone Duality</h2><p><b>Abstract</b><br/><br/>This talk is intended to be introductory, building on Radu's earlier intro to Stone duality. In my presentation I will show how to use duality for proving completeness of basic (propositional) modal logic. To this aim I will first recall what completeness means and then discuss two different kinds of semantics for modal logic: its algebraic semantics, wrt which completeness of the logic is relatively straightforward, and Kripke semantics, which is the semantics one usually is interested in. Stone Duality allows to establish a connection between the two types of semantics such that completeness of modal logic wrt Kripke semantics follows.</p><p><b>2020-04-03 14:00:00 UTC<br/>https://meet.jit.si/MSP101</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#242Sat, 21 Oct 2023 21:24:08 +01002020-03-06: James Wood (MSP)<h2><a href='https://personal.cis.strath.ac.uk/james.wood.100/'>James Wood</a> (MSP)</h2><h2>Classic puns</h2><p><b>Abstract</b><br/><br/>There are several principles that are taken to be characteristic of non-constructive reasoning. These include the principles of excluded middle, double negation elimination, and choice.<br/>
<br/>
On the other side, there are several formal systems that are well known to capture only constructive reasoning. These include dependent type theory (à la Martin-Löf) and linear logic.<br/>
<br/>
However, each of the systems I just listed is able to derive at least one theorem that looks an awful lot like one of the non-constructive principles I listed earlier. What's going on here?</p><p><b>2020-03-06 14:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#240Sat, 21 Oct 2023 21:24:08 +01002020-02-28: Georgi Nakov (MSP)<h2>Georgi Nakov (MSP)</h2><h2>The Dialectica Categories</h2><p><b>Abstract</b><br/><br/>The Dialectica Categories were introduced in de Paiva's eponymous work as an internalized version of Gödel's functional interpretation. The interpretation translates Heyting Arithmetic (HA) into System T (intended as an axiomatization of primitive recursive functionals of finite type) and was originally developed as a tool to prove the relative consistency of HA. Translating the contraction rule poses certain problems and as a solution, Gödel requires decidability of atomic formulae. Several variants exist that lift this restriction.<br/>
<br/>
In this talk, I will present the categorical constructions from de Paiva's paper. We will investigate their structure and see how the different versions of the interpretation are accommodated in this setting. Finally, we will conclude that in the process we have obtained a model of Intuitionistic Linear Logic.</p><p><b>2020-02-28 14:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#239Sat, 21 Oct 2023 21:24:08 +01002020-02-14: Bruno Gavranović (MSP)<h2><a href='https://www.brunogavranovic.com/'>Bruno Gavranović</a> (MSP)</h2><h2>Towards Compositional Structures in Neural Networks</h2><p><b>Abstract</b><br/><br/>Neural networks have become an increasingly popular tool for solving many real-world problems. They are a general framework for differentiable optimization which includes many other machine learning approaches as special cases. However, at the moment there is no comprehensive mathematical account of their behavior. I'm exploring the hypothesis that the language of category theory could be well suited to describe these systems in a precise manner. I will give a short tour of recent developments in this area, mostly based around the notion of lenses.</p><p><b>2020-02-14 14:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#237Sat, 21 Oct 2023 21:24:08 +01002020-02-07: Radu Mardare (MSP)<h2>Radu Mardare (<a href='https://personal.cis.strath.ac.uk/r.mardare/'>MSP</a>)</h2><h2>Stone Duality in Stochastic Context</h2><p><b>Abstract</b><br/><br/>We define Aumann algebras, an algebraic analog of probabilistic modal logic. An Aumann algebra consists of a Boolean algebra with operators modeling probabilistic transitions. We prove that countable Aumann algebras and countably-generated continuous-space Markov processes are dual in the sense of Stone. Our results subsume existing results on completeness of probabilistic modal logics for Markov processes.<br/>
<br/>
This summarizes results obtained in collaboration with Dexter Kozen and Prakash Panangaden.</p><p><b>2020-02-07 14:00:00 UTC<br/>LT1415</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#236Sat, 21 Oct 2023 21:24:08 +01002020-01-31: Bob Atkey (MSP)<h2><a href='http://bentnib.org/'>Bob Atkey</a> (MSP)</h2><h2>Resource Constrained Programming with Full Dependent Types</h2><p><b>Abstract</b><br/><br/>I will talk about a system that combines Dependent Types and Linear Types. As an application of this system, I will show how to transport Martin Hofmann's LFPL and Amortised Resource analysis systems for resource constrained computing to full dependent types. This results in a theory where unconstrained computations are allowed at the type level, but only polynomial time computations at the term level. The combined system now allows one to explore the world of propositions whose proofs are not only constructive, but also of restricted complexity.</p><p><b>2020-01-31 14:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#235Sat, 21 Oct 2023 21:24:08 +01002020-01-24: Jérémy Ledent (MSP)<h2><a href='https://personal.cis.strath.ac.uk/jeremy.ledent/'>Jérémy Ledent</a> (MSP)</h2><h2>Simplicial Models for Multi-Agent Epistemic Logic</h2><p><b>Abstract</b><br/><br/>Epistemic Logic is the modal logic of knowledge. It allows one to reason about a finite set of agents who can know facts about the world, and about what the other agents know. The traditional way to interpret epistemic logic formulas is by using Kripke models: that is, graphs whose vertices represent the possible worlds, and whose edges indicate the agents that cannot distinguish between two worlds. I will present an alternative kind of model for epistemic logic based on chromatic simplicial complexes. Simplicial models are equivalent to Kripke models; thus, this connection uncovers the higher-dimensional geometric nature of knowledge. Finally, I will show how to adapt these geometric models in order to interpret other epistemic notions, such as belief, distributed knowledge, and more.</p><p><b>2020-01-24 14:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#234Sat, 21 Oct 2023 21:24:08 +01002020-01-17: Conor McBride (MSP)<h2><a href='https://personal.cis.strath.ac.uk/conor.mcbride/'>Conor McBride</a> (MSP)</h2><h2>Something About Mary</h2><p><b>Abstract</b><br/><br/>Quite a few colleagues in the MSP group have experienced both the pleasure and the pain of working with my Marx system in the course of delivering our classes. (I never meant to write a virtual learning environment, but somehow, I sort of did.) I propose to re-engineer it from scratch and do a rather better job (suitable for wider deployment) deliberately, and am keen to solicit assistance in this mission, lest it be yet another engineering project distinguished by my madness and dissolution that you are, even so, obliged to put up with. Inevitably, I will struggle and rapidly fail to exclude interesting computer science from the design of the system. There will be fun.<br/>
<br/>
Mary will be a content management system with pages written in Markdown and stored in git repositories on the department's GitLab server. However, every such page is also a form, supporting interactive content. Pages will therefore need to embed code for processing the data in the form, certainly on the server, but preferably (unlike in Marx) on the client. So Mary will embed a programming language that we might have fun designing and implementing. I propose to base this language on Frank, an effects and handlers language that I cooked up a while back. Access to form fields can be seen as an effect: by remember the resumption for each such access, we can model what to recompute in the client when fields change, after the fashion of spreadsheets, programmed in apparently direct style.<br/>
<br/>
Mary will also need to maintain a database to achieve cross-session persistence of student work and staff configuration data. The Marx approach to analytics over this database amounted to "grep". In the meantime, however, Fred and I spent quite a while thinking about how to give an account of data models and analytics at a higher level of abstraction using carefully undermarketed ideas from dependent type theory. We should consider how to adapt these ideas to manage our own data.<br/>
<br/>
Let's get excited and make things!<br/>
<br/>
(Comrades who are not Strathclyders but who are interested in effects, types, or just having better tools to survive this business we call higher education, should very much feel invited to engage. I will happily export this project.)</p><p><b>2020-01-17 14:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#233Sat, 21 Oct 2023 21:24:08 +01002020-01-16: MSP101 Planning meeting<h2>MSP101 Planning meeting (LT1310)</h2><h2>MSP101 Planning meeting</h2><p><b>2020-01-16 13:30:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#232Sat, 21 Oct 2023 21:24:08 +01002019-10-30: SPLS<h2><a href='https://spls-series.github.io/meetings/2019/october/'>SPLS</a> (University of Glasgow)</h2><h2>SPLS</h2><p><b>2019-10-30 12:00:00 UTC<br/>University of Glasgow</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#231Sat, 21 Oct 2023 21:24:08 +01002019-12-12: Conor McBride (MSP)<h2><a href='https://personal.cis.strath.ac.uk/conor.mcbride/'>Conor McBride</a> (MSP)</h2><h2>Potato Powered Proofs</h2><p><b>Abstract</b><br/><br/>Stuart and I have been working on interpreters for predicative calculi which are "potato-powered" in that they work by structural recursion on inductive data which may look suspiciously like types, but are not statically checked to be the actual types of the programs in question. This works because the calculi are presented in a bidirectional style which, by design, causes every redex to carry some "potatoes", which hopefully contain enough inductive carbohydrate to keep you going for the whole of the computation to be done.<br/>
<br/>
Naturally, it would be lovely if we could prove that the interpreter's output is genuinely a reduct of its input, and that well typed input yields normal form output (i.e., that an honest type gives the potatoes required to do the whole computation). How is it done? Potato-powered logical relations, of course! I'll give a crash course on cooking programs and proofs with potatoes.</p><p><b>2019-12-12 13:30:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#230Sat, 21 Oct 2023 21:24:08 +01002019-12-05: Radu Mardare (MSP)<h2><a href='https://personal.cis.strath.ac.uk/r.mardare/'>Radu Mardare</a> (MSP)</h2><h2>Boolean-valued semantics</h2><p><b>Abstract</b><br/><br/>This talk is based on the paper with the same title that I have presented at LICS 2018. It is a joint work with Dana Scott, Dexter Kozen, Prakash Panangaden, Robert Furber and Giorgio Bacci. We extend Dana's Boolean-valued set theory (introduced in 50's to demonstrate the independence of the continuum hypothesis) to get, initially, a denotational model of untyped lambda calculus, and eventually extend it to a model of stochastic lambda calculus. The model is constructed over a space of random variables, which inherit a natural continuous Boolean algebra structure.</p><p><b>2019-12-05 13:30:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#229Sat, 21 Oct 2023 21:24:08 +01002019-11-28: Bob Atkey (MSP)<h2><a href='http://bentnib.org'>Bob Atkey</a> (MSP)</h2><h2>Selective Applicative Functors (not a seminar, due to the strike)</h2><p><b>Abstract</b><br/><br/>At this year's ICFP, Mohkov, Lukyanov, Marlow, and Dimino introduced "Selective Applicative Functors", a programming interface that is an intermediate stage between monads and applicative functors. I'll motivate what they're for, and describe what they are, and I'll talk about a more abstract way of thinking about them in terms of "right-skew monoidal categories".</p><p><b>2019-11-28 13:30:00 UTC<br/>off-campus</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#228Sat, 21 Oct 2023 21:24:08 +01002019-11-21: Clemens Kupke (MSP)<h2><a href='http://personal.cis.strath.ac.uk/clemens.kupke/'>Clemens Kupke</a> (MSP)</h2><h2>Expressive Logics for Coinductive Predicates</h2><p><b>Abstract</b><br/><br/>The classical Hennessy-Milner theorem says that two states of an image-finite transition system are bisimilar if and only if they satisfy the same formulas of a certain modal logic. I will place this type of result in a general context, moving from transition systems to coalgebras and from bisimilarity to coinductive predicates. Furthermore I will present a sufficient condition for a coalgebraic logic to be expressive, i.e., to fully characterise a coinductive predicate on coalgebras. Our approach will be illustrated with logics characterising similarity, divergence and a behavioural metric on automata.<br/>
<br/>
This is joint work with Jurriaan Rot to be presented at CSL 2020.</p><p><b>2019-11-21 13:30:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#227Sat, 21 Oct 2023 21:24:08 +01002019-11-14: James Wood (MSP)<h2><a href='https://personal.cis.strath.ac.uk/james.wood.100/'>James Wood</a> (MSP)</h2><h2>Programs and Proofs in Linear Algebra</h2><p><b>Abstract</b><br/><br/>I try to understand the ways of linear algebraists from a programming languages perspective. In particular, I investigate the practice of specifying a linear map by giving only its action on basis elements. We can turn this practice into a nice programming language for linear maps. Furthermore, our reasoning about these maps is significantly simplified by only considering the basis elements. Finally, keeping track of basis elements amounts to a typing discipline, and we can expect to get some nice properties just by observation of the types.<br/>
<br/>
Meanwhile, I will try to elucidate the similarity between, on one side, categories of spaces and linear maps and, on the other, Rel, the category of sets and relations. This forms an important part of our programming languages view.</p><p><b>2019-11-14 13:30:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#226Sat, 21 Oct 2023 21:24:08 +01002019-11-07: Neil Ghani (MSP)<h2><a href='http://personal.cis.strath.ac.uk/neil.ghani'>Neil Ghani</a> (MSP)</h2><h2>MSP 101: Coends and Kan extensions</h2><p><b>2019-11-07 13:30:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#225Sat, 21 Oct 2023 21:24:08 +01002019-10-31: Jérémy Ledent (MSP)<h2><a href='https://www.lix.polytechnique.fr/Labo/Jeremy.Ledent/'>Jérémy Ledent</a> (MSP)</h2><h2>Directed algebraic topology for concurrency</h2><p><b>Abstract</b><br/><br/>I will give an introduction to the geometric semantics for concurrent programs that have been developed by Goubault, Fajstrup, Raussen et al. since the 1990's. A concurrent program can be viewed as a topological space equipped with a notion of direction, modeling the passage of time. Thus, in such a space, the existence of a path from A to B does not guarantee the existence of a path from B to A. A path in a directed space corresponds to an execution of the program; and two such executions are equivalent when the corresponding paths are homotopic, that is, when they can be deformed continuously into one another. This idea motivated the development of directed algebraic topology, the analogue of algebraic topology for directed spaces.</p><p><b>2019-10-31 13:30:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#224Sat, 21 Oct 2023 21:24:08 +01002019-10-24: Joe Collins (MSP)<h2>Joe Collins (MSP)</h2><h2>Hopf Monads and Formally Adding in Morphisms</h2><p><b>Abstract</b><br/><br/>It should be noted that this is ongoing work. The talk that you will see is going to be very unpolished; this is stuff that I have been working on for the past while, and the material will not be fully formed yet. The things I say may not end up matching with reality. So with that minor caveat, let us continue.<br/>
<br/>
A Hopf algebra is a monoid, a comonoid, and an extra endomorphism such that various commutation rules are obeyed, and Hopf monads are a strange generalisation of Hopf algebras in the direction of monads. I have previously talked about when a Hopf algebra is a Hopf-Frobenius algebra, and my goal now is to generalise this to the case of Hopf Monads. However, to keep things interesting, I am doing this in a weird way.<br/>
<br/>
Let T be a Hopf monad in monoidal category C. T is isomorphic to a Hopf algebra if there exists a natural transformation e: T -> 1 that respects the Hopf monad structure. There are many examples of Hopf monads which are not isomorphic to any Hopf algebras, so this morphism does not exist in C in general. However, what happens if I formally add in this morphism, creating a new category C_e? In this category, T would presumably be isomorphic to a Hopf algebra, and this begs the question: what can T in C_e tell us about T in C? By looking at the natural functor C -> C_e, can I use this to transfer my theorem about Hopf algebras to Hopf monads? I certainly believe so, but let's find out together!</p><p><b>2019-10-24 13:30:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#223Sat, 21 Oct 2023 21:24:08 +01002019-10-17: Fredrik Nordvall Forsberg (MSP)<h2><a href='https://personal.cis.strath.ac.uk/fredrik.nordvall-forsberg/'>Fredrik Nordvall Forsberg</a> (MSP)</h2><h2>Ordinals below epsilon-zero in cubical Agda</h2><p><b>Abstract</b><br/><br/>Ordinals and ordinal notation systems play an important role in program verification, since they can be used to prove termination of programs. We present three ordinal notation systems representing ordinals below epsilon_0 in type theory, using recent type-theoretical innovations such as mutual inductive-inductive definitions and higher inductive types. As case studies, we show how basic ordinal arithmetic can be developed for these systems, and how they admit a transfinite induction principle. We prove that all three notation systems are equivalent, so that we can transport results between them using the univalence principle. All our constructions have been implemented in cubical Agda.</p><p><b>2019-10-17 13:30:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#222Sat, 21 Oct 2023 21:24:08 +01002019-10-10: Radu Mardare (MSP)<h2><a href='https://personal.cis.strath.ac.uk/r.mardare/'>Radu Mardare</a> (MSP)</h2><h2>Quantitative algebras: towards a quantitative theory of effects</h2><p><b>Abstract</b><br/><br/>We develop a quantitative analogue of equational reasoning meant to provide metric semantics for stochastic/probabilistic/quantitative systems and programming languages. Quantitative algebras are algebras over metric spaces defined by these quantitative equational theories, and they implicitly define monads over the category of (extended) metric spaces. We have a few relevant examples of such algebras, where the induced free algebras correspond to well-known structures; among these are Hausdorff metrics from quantitive semilattices, p-Wasserstein metrics (hence also the Kantorovich metric) from barycentric algebras, the total variation metrics from a variant of barycentric algebras, and more.<br/>
<br/>
The talk is based on a series of joint works with Prakash Panangaden and Gordon Plotkin. The main results have been presented at LICS'16, LICS'17 and LICS'18.</p><p><b>2019-10-10 13:30:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#221Sat, 21 Oct 2023 21:24:08 +01002019-10-03: James Wood, Joe Collins, Bob Atkey, Guillaume Allais, Fredrik Nordvall Forsberg (MSP)<h2>James Wood, Joe Collins, Bob Atkey, Guillaume Allais, Fredrik Nordvall Forsberg (MSP)</h2><h2>Summer trip reports</h2><p><b>2019-10-03 13:30:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#220Sat, 21 Oct 2023 21:24:08 +01002019-09-26: MSP101 Planning meeting<h2>MSP101 Planning meeting (LT1310)</h2><h2>MSP101 Planning meeting</h2><p><b>2019-09-26 13:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#219Sat, 21 Oct 2023 21:24:08 +01002019-08-30: Malin Altenmüller (MSP)<h2>Malin Altenmüller (MSP)</h2><h2>A combinatorial representation of the operad of plane graphs</h2><p><b>Abstract</b><br/><br/>I will present how we can formalise non-symmetric monoidal categories (i.e. string diagrams) in a combinatorial way. These kind of diagrams will be represented by plane graphs with a distinguished boundary vertex. For encoding plane graphs it is sufficient to store the order of neighbours for each vertex, called a rotation system. I'll show how to define these sorts of graphs, how to compose them and — together with the right notion of rewriting — how they form an operad.<br/>
<br/>
This is practice for a talk I will give at STRINGS in Birmingham next week.</p><p><b>2019-08-30 11:00:00 UTC<br/>LT1415</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#218Sat, 21 Oct 2023 21:24:08 +01002019-08-16: Rob Myers<h2>Rob Myers</h2><h2>Polynomial certificates for nondeterministic automata</h2><p><b>Abstract</b><br/><br/>Given a deterministic finite automaton accepting <i>L</i>, another accepting the reverse language, and an integer <i>n</i>, does there exist a nondeterministic acceptor with <i>n</i> or fewer states? We've proved that this problem is in NP i.e. polynomial certificates exist. All previous algorithms constructing small nondeterministic automata for arbitrary regular languages are at best PSPACE-complete. We achieve this by explaining and substantially improving the Kameda-Weiner algorithm using coalgebraic methods. At the underlying level we use a categorical equivalence between finite join-semilattices and bipartitioned graphs.</p><p><b>2019-08-16 16:00:00 UTC<br/>LT1415</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#217Sat, 21 Oct 2023 21:24:08 +01002019-07-05: Conor McBride (MSP)<h2><a href='https://personal.cis.strath.ac.uk/conor.mcbride/'>Conor McBride</a> (MSP)</h2><h2>The Thing with Thinnings: CodeBruijn is (Free;Stuff)</h2><p><b>Abstract</b><br/><br/>I've been hacking away on tools to do metatheory using "codebruijn" representation of syntax. The method, as with scoped de Bruijn representation, is to index terms by their <em>scope</em>, but the codebruijn method goes further, by systematically treating the <em>support</em> of terms, i.e., the particular subscope of variables which are actually <em>relevant</em>, paired with the thinning that embeds support into scope. The key codebruijn type constructor is "pair a thing with a thinning from some support", and it turns any old sort of thing into something which uniformly admits further thinning just by postcomposition, without affecting either the thing or its support.<br/>
<br/>
Stuff-which-uniformly-admits-thinning is stuff with structure, so there is a forgetful functor back to plain old Stuff. The Free functor which adds uniform thinning, is its left adjoint. The codebruijn type constructor is the monad (Free;Stuff). The corresponding comonad, (Stuff;Free), is rather more familiar to semanticists as the abstraction over <em>larger</em> scopes found in Kripke models.<br/>
<br/>
I've always been a bit shaky on adjunctions, presheaves and what have you, so this talk will not assume categorical confidence, but rather seek to build intuition, guided by a concrete example grounded in the practicalities of manipulating syntax.</p><p><b>2019-07-05 16:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#216Sat, 21 Oct 2023 21:24:08 +01002019-06-27: Kevin Dunne<h2>Kevin Dunne</h2><h2>Isbell Duality, Stone Duality, and Physical Theories</h2><p><b>Abstract</b><br/><br/> Isbell duality is an adjunction between a category of "generalised algebras" and a category of "generalised spaces", and is an abstraction of Stone duality. Broadly speaking, a Stone duality is an equivalence between some category of commutative algebras, and some category of spaces, for example: Boolean algebras and Stone spaces; or, commutative C*-algebras and Hausdorff spaces.<br/>
<br/>
There is a Stone duality which applies in the setting of Newtonian mechanics, between the category of smooth manifolds and a category of commutative algebras, and this equivalence of categories admits an extremely elegant and intuitive interpretation from the perspective of physics.<br/>
<br/>
I am going to discuss how to build an analogous interpretation for quantum theory using the machinery of Isbell duality, in such a way that directly generalises Newtonian mechanics, with the ultimate aim being to resolve some of the conceptual problems of quantum theory.</p><p><b>2019-06-27 16:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#215Sat, 21 Oct 2023 21:24:08 +01002019-06-07: Malin Altenmüller and James Wood (MSP)<h2>Malin Altenmüller and James Wood (MSP)</h2><h2>TYPES 2019 practice talks</h2><p><b>Abstract</b><br/><br/>Malin and James will practice giving their talks "Containers of Applications and Applications of Containers" and "Linear metatheory via linear algebra" respectively.</p><p><b>2019-06-07 16:00:00 UTC<br/>LT1415</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#214Sat, 21 Oct 2023 21:24:08 +01002019-05-29 Departmental seminar: Dan Ghica (Birmingham)<h2><a href='https://www.cs.bham.ac.uk/~drg/'>Dan Ghica</a> (<a href='http://www.cs.bham.ac.uk/research/groupings/theory/'>Birmingham</a>)</h2><h2>The next 700 abstract machines</h2><p><b>Abstract</b><br/><br/>We propose a new formalism for representing programming languages, based on a universal graph-rewriting abstract machine. The calculus itself only deals with the basic structural aspects of a programming languages, namely variables, names (e.g. memory locations) and thunks (i.e. fragments with delayed execution). Everything else needs to be supplied as extrinsic operations, with associated rewrite rules. This basic calculus allows us to represent all known sequential programming language features in a uniform framework, reason abstractly about their cost, and also reason about challenging equivalences.<br/>
<br/>
This is joint work with Koko Muroya and Todd Waugh Ambridge.</p><p><b>2019-05-29 13:00:00 UTC<br/>LT1415</b><br/>http://msp.cis.strath.ac.uk/msp101.html#213Sat, 21 Oct 2023 21:24:08 +01002019-05-03: Conor McBride (MSP)<h2><a href='https://personal.cis.strath.ac.uk/conor.mcbride/'>Conor McBride</a> (MSP)</h2><h2>MSP 101: Fixed points of indexed containers</h2><p><b>Abstract</b><br/><br/>In an attempt to con Agda into allowing alternation of least and greatest fixed points, I try to remember how to construct these things for indexed containers.</p><p><b>2019-05-03 16:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#212Sat, 21 Oct 2023 21:24:08 +01002019-05-15: Guillaume Allais (MSP)<h2><a href='http://gallais.github.io'>Guillaume Allais</a> (MSP)</h2><h2>Getting the unifier on your side</h2><p><b>Abstract</b><br/><br/>I will explain how to write practical generic n-ary functions and combinators for n-ary relations.</p><p><b>2019-05-15 16:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#211Sat, 21 Oct 2023 21:24:08 +01002019-05-10: Troels Henriksen (University of Copenhagen)<h2><a href='http://sigkill.dk/'>Troels Henriksen</a> (<a href='http://diku.dk/'>University of Copenhagen</a>)</h2><h2>A Purely Functional Array Language and its Optimising GPU Compiler</h2><p><b>Abstract</b><br/><br/>Futhark is a small programming language designed to be compiled to efficient parallel code. It is a statically typed, data-parallel, and purely functional array language, and comes with a optimising ahead-of-time compiler that generates GPU code via OpenCL and CUDA. Futhark is not designed for graphics programming, but instead uses the compute power of the GPU to accelerate data-parallel array computations ("GPGPU").<br/>
<br/>
This talk presents the design of the Futhark language, as well as outlines several of the key compiler optimisations that have enabled performance comparable to hand-written GPU code. Through the use of a functional source language, we obtain strong invariants that simplify and empower the application of traditional compiler optimisation techniques. In particular, I will discuss (i) aggressively restructuring transformations such as fusion, (ii) loop interchange and distribution to extract flat parallel kernels from nested parallel source programs, (iii) multi-versioned code generation that exploits as much parallelism as necessary and efficiently sequentialises the rest, and (iv) data layout transformations to ensure coalesced memory access on GPUs.</p><p><b>2019-05-10 13:00:00 UTC<br/>LT1415</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#210Sat, 21 Oct 2023 21:24:08 +01002019-04-12: Jan de Muijnck-Hughes (Glasgow)<h2><a href='http://jfdm.github.io/'>Jan de Muijnck-Hughes</a> (<a href='https://www.gla.ac.uk/schools/computing/'>Glasgow</a>)</h2><h2>A Type-System of Sorts for Bigraphs</h2><p><b>Abstract</b><br/><br/>Bigraphs are a mathematical model (hypergraph) for representing the spatial and communication structures of networked entities [fn:1]. Bigraph Reactive Systems (BRS) build upon bigraphs by incorporating temporal changes to a model as specified with reaction rules. There is a wealth of theory (category) that supports reasoning about bigraphs, and an emergent tool (BigraphER [fn:2]) for their modelling.<br/>
<br/>
Bigraphs have an elegant algebraic structure that is general purpose and simply typed. However, it is common to place restrictions on the shape of a bigraph by a <i>system of sorts</i> that are applied as side-conditions. The details, and application, of these sorts are presented as an aside from the bigraph definition itself. This makes transformation of Bigraph models harder to enforce during manipulation as part of a BRS. We must provide runtime checks to provide relevant guarantees over model correctness.<br/>
<br/>
In this talk, I want to introduce you to the interesting world of Bigraph specification, and my current and ongoing work on developing a dependent type-system to embed a system-of-sorts directly into the algebraic definition of bigraphs. This allows one to provide correct-by-construction guarantees that a given model is correct w.r.t. a provided system-of-sorts.<br/>
<br/>
[fn:1] Robin Milner. 2009. The Space and Motion of Communicating Agents. Cambridge University Press.<br/>
[fn:2] <a href='http://dcs.gla.ac.uk/~michele/bigrapher.html'>http://dcs.gla.ac.uk/~michele/bigrapher.html</a></p><p><b>2019-04-12 16:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#209Sat, 21 Oct 2023 21:24:08 +01002019-05-24: Michele Sevegnani (Glasgow)<h2><a href='http://www.dcs.gla.ac.uk/~michele/'>Michele Sevegnani</a> (<a href='https://www.gla.ac.uk/schools/computing/'>Glasgow</a>)</h2><h2>Bigraphs with sharing and their algebra</h2><p><b>Abstract</b><br/><br/>Bigraphical Reactive Systems (BRS) are a universal model of computation introduced by Robin Milner for the representation of interacting systems that evolve in both time and space. Bigraphs have been shown forming a category called symmetric partial monoidal category and their dynamic theory is defined in terms of rewriting and transition. A limitation of bigraphs is that the underlying model of location is a forest, which means there is no straightforward representation of locations that can overlap or intersect. In this talk, I will present bigraphs with sharing, an extension of bigraphs which solves this problem by defining the model of location as a directed acyclic graph, thus allowing a natural representation of overlapping or intersecting locations. I will give a complete presentation of the extended theory, including a categorical semantics, algebraic properties, a normal form and several essential procedures for computation.</p><p><b>2019-05-24 16:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#208Sat, 21 Oct 2023 21:24:08 +01002019-04-05: Bob Atkey and Conor McBride (MSP)<h2>Bob Atkey and Conor McBride (MSP)</h2><h2>Shonan "Programming and Reasoning with Algebraic Effects and Effect Handlers" trip report</h2><p><b>2019-04-05 16:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#207Sat, 21 Oct 2023 21:24:08 +01002019-04-01: Johannes Marti (Universität Bremen)<h2><a href='http://johannesmarti.com/'>Johannes Marti</a> (<a href='http://www.informatik.uni-bremen.de/tdki/'>Universität Bremen</a>)</h2><h2>Determinacy and the red-green chase</h2><p><b>Abstract</b><br/><br/>The determinacy problem is to decide for queries v<sub>1</sub>,...,v<sub>n</sub> and q whether for every database D knowing the answers to v<sub>1</sub>,...,v<sub>n</sub> in D suffices to deduce the answer to q in D. It has been shown that this problem is undecidable if v<sub>1</sub>,...,v<sub>n</sub> and q are arbitrary conjunctive queries.<br/>
<br/>
In this talk I give a gentle introduction to some of the formal tools that are used to study the determinacy problem. Especially, I focus on the red-green chase, which is a neat construction that links the problem of determinacy with query answering relative to ontologies. Lastly, I might present some of our own, very modest, results about classes of conjunctive queries for which the determinacy problem is decidable.</p><p><b>2019-04-01 16:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#206Sat, 21 Oct 2023 21:24:08 +01002019-03-20: Alasdair Lambert (MSP)<h2>Alasdair Lambert (MSP)</h2><h2>Probabilistic open games</h2><p><b>Abstract</b><br/><br/>We extend the Open Games framework for compositional game theory to encompass also mixed strategies, making essential use of the discrete probability distribution monad on Set. We show how to compose the resulting probabilistic games in parallel and sequentially, and illustrate the framework on the well-known Matching Pennies game.</p><p><b>2019-03-20 16:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#205Sat, 21 Oct 2023 21:24:08 +01002019-03-15: Joe Collins (MSP)<h2>Joe Collins (MSP)</h2><h2>Fropf algebras</h2><p><b>Abstract</b><br/><br/>Last time I talked, you heard about Interacting Frobenius algebras — this time, get ready for "Hopf-Frobenius algebras", as Ross likes to call them, or "Fropf algebras", as Ross doesn't like to call them. I am in the process of writing about them, so this is going to be quite similar to the last talk except we're coming at them from a new angle, and with new results.</p><p><b>2019-03-15 16:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#204Sat, 21 Oct 2023 21:24:08 +01002019-03-08: Clemens Kupke (MSP)<h2><a href='http://personal.cis.strath.ac.uk/clemens.kupke/'>Clemens Kupke</a> (MSP)</h2><h2>Coalgebra Learning via Duality</h2><p><b>Abstract</b><br/><br/>A key result in computational learning theory is Dana Angluin's L* algorithm that describes how to learn a deterministic finite automaton (DFA) using membership and equivalence queries. I will present a generalisation of this algorithm to the level of coalgebras. The approach relies on the use of logical formulas as tests, based on a dual adjunction between states and logical theories. This allows us to learn, e.g., labelled transition systems, using modal formulas as tests.<br/>
<br/>
Joint work with Simone Barlocco and Jurriaan Rot.</p><p><b>2019-03-08 16:00:00 UTC<br/>LT1415</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#203Sat, 21 Oct 2023 21:24:08 +01002019-02-22: Fredrik Nordvall Forsberg (MSP)<h2><a href='https://personal.cis.strath.ac.uk/fredrik.nordvall-forsberg/'>Fredrik Nordvall Forsberg</a> (MSP)</h2><h2>MSP 101: Proof-irrelevance for Dependent Type Theory</h2><p><b>Abstract</b><br/><br/>Proof-irrelevance can mean two similar but different things: on the one hand, irrelevant proofs can be discarded when extracting programs to execute (run-time erasability), and on the other hand, one might want to treat proofs as irrelevant during type checking (type-checking time erasability). I will give an overview of the subject, focusing on type-checking time erasability. I suspect that at least three people in the audience knows more than me, so my main function will be to keep things accessible. I plan to follow the recent paper "Degrees of Relatedness: A Unified Framework for Parametricity, Irrelevance, Ad Hoc Polymorphism, Intersections, Unions and Algebra in Dependent Type Theory" by Andreas Nuyts and Dominique Devriese (LICS 2018).</p><p><b>2019-02-22 16:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#202Sat, 21 Oct 2023 21:24:08 +01002019-02-15: Malin Altenmüller (MSP)<h2>Malin Altenmüller (MSP)</h2><h2>Finitary indexed containers</h2><p><b>Abstract</b><br/><br/>I will talk about two different representatives of indexed containers which — all together in the end — will construct an application that manages windows on a screen.<br/>
<br/>
The first instance of containers are rectangular windows. Defining these in terms of finite indexed containers (finite in the number of positions where elements can be stored) lets us interpret indices as outer boundaries. I will show some constructions on these space partitioning structures, e.g. product operations and overlaying of windows (this will hopefully include some pretty pictures!).<br/>
<br/>
Secondly I will explain how we can encode applications as indexed containers (not necessarily finite, despite the title), being defined in terms of commands and responses. To sum up I present the window managing application where all the above things will occur and get combined.<br/>
<br/>
I am working on these topics together with Conor and we are currently collocating them in a paper.</p><p><b>2019-02-15 16:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#201Sat, 21 Oct 2023 21:24:08 +01002019-02-08: Stuart Gale (MSP)<h2><a href='http://www.bishboria.com/'>Stuart Gale</a> (MSP)</h2><h2>Evaluators for bidirectional type systems</h2><p><b>Abstract</b><br/><br/>In this talk I'll introduce syntax and semantics of a generic bidirectionally type checked lambda calculus. I'll also show that lumps of syntax that act as a type annotation are in fact the fuel which powers structural evaluation.</p><p><b>2019-02-08 16:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#200Sat, 21 Oct 2023 21:24:08 +01002019-02-01: James Wood (MSP)<h2>James Wood (MSP)</h2><h2>Linear logic: how hard can it be?</h2><p><b>Abstract</b><br/><br/>In the linear world, we are no longer allowed to freely discard or duplicate hypotheses and conclusions. This should mean that there are fewer possible strategies for proving a given proposition, making the task of proving things easier. However, we find that linear logic proof search is a surprisingly powerful model of computation. In this talk, I'll give an introduction to linear logic sequent calculus. I'll then go through a neat construction of [0] embedding quantified boolean formulae into linear logic without bangs, and sketch the proof from the same paper that linear logic with bangs is Turing-complete. Some content from CS106 may come in handy.<br/>
<br/>
[0]: Lincoln, Mitchell, Scedrov, Shankar, 1992, "Decision problems for propositional linear logic"</p><p><b>2019-02-01 16:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#199Sat, 21 Oct 2023 21:24:08 +01002019-01-25: Bob Atkey (MSP)<h2><a href='http://bentnib.org'>Bob Atkey</a> (MSP)</h2><h2>MSP 101: Chu spaces</h2><p><b>Abstract</b><br/><br/>I'll talk about Chu Spaces, a general construction of *-autonomous categories (a.k.a. models of classical linear logic). Chu spaces are interesting because they come with an inbuilt notion of duality, which has been interpreted as a kind of player/opponent duality.</p><p><b>2019-01-25 16:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#198Sat, 21 Oct 2023 21:24:08 +01002019-01-18: Conor McBride (MSP)<h2><a href='https://personal.cis.strath.ac.uk/conor.mcbride/'>Conor McBride</a> (MSP)</h2><h2>Metametatheory of Bidirectional Type Systems</h2><p><b>Abstract</b><br/><br/>In previous talks, I've written down bidirectional versions of particular type systems, with type checking for introduction forms and type synthesis for elimination forms. But what are the metarules for writing down the rules? How do we show that following the metarules ensures good properties of the rules? I'll report some progress towards capturing the syntactic properties of "good" rules which might push us closer to the goal of metatheory by construction.<br/>
<br/>
NB This talk has nothing to do with bidirectional transformations.</p><p><b>2019-01-18 16:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#197Sat, 21 Oct 2023 21:24:08 +01002019-01-11: MSP101 Planning meeting<h2>MSP101 Planning meeting (LT1310)</h2><h2>MSP101 Planning meeting</h2><p><b>2019-01-11 16:30:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#196Sat, 21 Oct 2023 21:24:08 +01002018-12-17: SYCO 2<h2><a href='http://events.cs.bham.ac.uk/syco/2/'>SYCO 2</a> (Strathclyde)</h2><h2>SYCO 2</h2><p><b>2018-12-17 11:30:00 UTC<br/>Strathclyde</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#195Sat, 21 Oct 2023 21:24:08 +01002018-12-14: Robin Cockett (University of Calgary )<h2><a href='https://pages.cpsc.ucalgary.ca/~robin/'>Robin Cockett</a> (<a href='https://www.ucalgary.ca/cpsc/'>University of Calgary </a>)</h2><h2>Abstract differential geometry matters!</h2><p><b>Abstract</b><br/><br/>The last few years has seen the development — largely in Canada and Australia — of an axiomatic approach to differential geometry based on tangent categories. Tangent categories incorporate the previous leading settings for differential geometry: finite dimensional manifolds, synthetic differential geometry, convenient manifolds, etc. In addition they widen the scope significantly as they also include combinatorial species, Goodwillie Functor calculi, and examples from computer science. The talk will give a survey of tangent categories and some of the developments so far.</p><p><b>2018-12-14 16:15:00 UTC<br/>LT1415</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#194Sat, 21 Oct 2023 21:24:08 +01002018-11-23: Clemens Kupke (MSP)<h2><a href='http://personal.cis.strath.ac.uk/clemens.kupke/'>Clemens Kupke</a> (MSP)</h2><h2>The reachable part of a coalgebra</h2><p><b>Abstract</b><br/><br/>State-based transition systems are often studied relative to a specified initial state. System behavior then only depends on those states that are "reachable" from the initial state. This has both consequences for the theory (e.g. by allowing to prove non-definability results in modal logic) and practice (by making seemingly large systems more manageable) of such systems.<br/>
<br/>
Coalgebras provide a general model for transition systems. In this introductory talk I will discuss how to define the reachable part of a coalgebra via the notion of T-base for an endofunctor T from [1]. We will first discuss this notion and then provide a sufficient categorical condition for the existence of the T-base. We will then show how to characterise the reachable part of a coalgebra as least fixpoint of a monotone operator.<br/>
<br/>
This is based on joint work with Simone Barlocco and Jurriaan Rot.<br/>
<br/>
========================<br/>
[1] Alwin Blok. Interaction, observation and denotation. Master's thesis, ILLC Amsterdam, 2012.</p><p><b>2018-11-23 16:15:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#193Sat, 21 Oct 2023 21:24:08 +01002018-12-07: Joe Collins (MSP)<h2>Joe Collins (MSP)</h2><h2>Interacting Frobenius Algebras</h2><p><b>Abstract</b><br/><br/>What is a Frobenius algebra? What is a Hopf algebra? And why are they such good friends? In this talk, I will be talking about PROPs, what an interacting Frobenius algebra is, and some weird stuff that appears with them, and I shall be drawing lots of pretty pictures as well.</p><p><b>2018-12-07 16:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#191Sat, 21 Oct 2023 21:24:08 +01002018-11-30: Simone Barlocco (MSP)<h2>Simone Barlocco (MSP)</h2><h2>Dual adjunctions</h2><p><b>Abstract</b><br/><br/>Coalgebras provide an abstract framework to represent state-based transition systems. Modal logics provide a formal language to specify such systems. In our recently submitted work (joint work with Clemens Kupke and Jurriaan Rot) we devise a general algorithm to learn coalgebras. Modal formulas are used as tests to probe the behaviour of states.<br/>
<br/>
In my introductory talk, I will discuss how to set up a general framework that connects coalgebras and their modal logics via a dual adjunction. Moreover, I will show a known result which guarantees that indistinguishable states wrt to modal formulas are behavioural equivalent, a key fact that entails that — whenever possible — our algorithm learns a minimal representation of a coalgebra.</p><p><b>2018-11-30 16:15:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#190Sat, 21 Oct 2023 21:24:08 +01002018-11-16: Bob Atkey (MSP)<h2><a href='http://bentnib.org'>Bob Atkey</a> (MSP)</h2><h2>MSP 101: Polynomial time programming languages</h2><p><b>Abstract</b><br/><br/>Implicit Computational Complexity is the study of programming languages or logical systems that capture complexity classes. Roughly, every program that can be written in the language is in some complexity class. Many of the languages that have been proposed for capturing useful classes like PTIME are not much fun to program in. However, the work of the late Martin Hofmann included work on languages like LFPL, which only allows polynomial time computation, but is also reasonably usable. I'll talk about LFPL, and how the proof of polynomial time bounds works.</p><p><b>2018-11-16 16:15:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#189Sat, 21 Oct 2023 21:24:08 +01002018-11-09: Ben Price (MSP)<h2><a href='http://personal.strath.ac.uk/benjamin.price'>Ben Price</a> (MSP)</h2><h2>The semantics of worldly type systems</h2><p><b>Abstract</b><br/><br/>I will present a type theory whose judgements are indexed by a preorder of "worlds", representing for example nodes in a distributed computation, or a security level. This means a term may only typecheck at particular worlds, and will be mobile upwards along the preorder (for instance every low security value is also a high security one). To enable talking about the world structure without compromising mobility, the terms can talk about "shifts", which describe relative worlds.<br/>
<br/>
I then give a semantic model based on the usual presheaf model for STLC where worlds form the base category, and shifts are endofunctors on the worlds. This semantics will show our programs are indeed oblivious to data they cannot "see". Examples will be given to demonstrate this framework in some concrete cases, and to motivate future work.</p><p><b>2018-11-09 16:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#188Sat, 21 Oct 2023 21:24:08 +01002018-11-02: Geoff Hamilton (Dublin City University)<h2><a href='https://www.computing.dcu.ie/~hamilton/'>Geoff Hamilton</a> (<a href='https://www.computing.dcu.ie/'>Dublin City University</a>)</h2><h2>The Next 700 Program Transformers</h2><p><b>Abstract</b><br/><br/>In this talk, I will describe a hierarchy of program transformers in which the transformer at each level builds on top of the transformers at lower levels. The program transformer at the bottom of the hierarchy corresponds to positive supercompilation, and that at the next level corresponds to distillation. I will then try to characterise the improvements that can be made at each level, and show how the transformers can be used for program verification and theorem proving.</p><p><b>2018-11-02 16:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#187Sat, 21 Oct 2023 21:24:08 +01002018-10-26: Conor McBride (MSP)<h2><a href='https://personal.cis.strath.ac.uk/conor.mcbride/'>Conor McBride</a> (MSP)</h2><h2>Syrup: circuits with memory</h2><p><b>Abstract</b><br/><br/>By way of giving CS106 students better tools to tackle the concept of memory in circuits, I implemented a small programming language called (for reasons which are unlikely to become clear) Syrup. Syrup is suspiciously like a dialect of Haskell, except that the blessed monad allows bits of state. Marking homework done in Syrup necessitates checking whether two circuits have the same <i>externally observable</i> behaviour, which makes it a matter of <b>bisimulation</b>. I'll talk a bit about how much fun it was implementing the decision procedure to find either a bisimulation or a countermodel (for purposes of decent feedback).</p><p><b>2018-10-26 16:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#186Sat, 21 Oct 2023 21:24:08 +01002018-10-19: Stuart Gale (MSP)<h2><a href='http://www.bishboria.com/'>Stuart Gale</a> (MSP)</h2><h2>SPLS Post-mortem</h2><p><b>2018-10-19 16:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#185Sat, 21 Oct 2023 21:24:08 +01002018-10-12: Ross Duncan (Cambridge Quantum Computing)<h2><a href='http://personal.strath.ac.uk/ross.duncan/'>Ross Duncan</a> (<a href='https://cambridgequantum.com/'>Cambridge Quantum Computing</a>)</h2><h2>Why quantum computers suck, and what we might do about it</h2><p><b>Abstract</b><br/><br/>Near-term quantum computers have many limitations which make them difficult to use for stuff. I will outline some of the difficulties and handwave at some new ideas from compositional mathematics that might help us address these problems.</p><p><b>2018-10-12 16:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#184Sat, 21 Oct 2023 21:24:08 +01002018-10-05: James Wood (MSP)<h2>James Wood (MSP)</h2><h2>ICFP trip report</h2><p><b>Abstract</b><br/><br/>Last week, I attended the ICFP conference and various associated workshops in St Louis. In this trip report, I will talk about selected talks and the people I met there. If time allows, I may also cover the adventures of Ioan, one of our summer interns and current undergraduate.</p><p><b>2018-10-05 16:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#183Sat, 21 Oct 2023 21:24:08 +01002018-10-17: SPLS<h2><a href='https://msp-strath.github.io/spls-18/'>SPLS</a> (Strathclyde)</h2><h2>SPLS</h2><p><b>2018-10-17 12:00:00 UTC<br/>Strathclyde</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#182Sat, 21 Oct 2023 21:24:08 +01002018-09-28: MSP101 Planning meeting<h2>MSP101 Planning meeting (LT1310)</h2><h2>MSP101 Planning meeting</h2><p><b>2018-09-28 16:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#181Sat, 21 Oct 2023 21:24:08 +01002018-09-21: Conor McBride (MSP)<h2><a href='https://personal.cis.strath.ac.uk/conor.mcbride/'>Conor McBride</a> (MSP)</h2><h2>First-order unification</h2><p><b>Abstract</b><br/><br/>I'll do a 101 today, filed under "stuff everybody should know" about first-order unification (the algorithm underlying Hindley-Milner type inference, Prolog, etc). But then I'll throw in the twist of considering syntax with binding. The way I cook it, this makes essential use of the structure of the category of thinnings.</p><p><b>2018-09-21 16:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#180Sat, 21 Oct 2023 21:24:08 +01002018-08-31: Philippa Cowderoy<h2><a href='http://flippac.org'>Philippa Cowderoy</a></h2><h2>Telescopic [Constraint] Trees, or: Information-Aware Type Systems In Context</h2><p><b>Abstract</b><br/><br/>The minimalist tradition in type systems makes for easy mathematics, but often leaves their mechanisms needlessly obscured.<br/>
<br/>
I build a structure for Hindley-Milner checking problems in the tradition of Type Inference in Context. This structure is derived from typing rules in the style of my first talk and mirrors data structures used for elaboration problems in dependent type systems — offering a notation that can be used among designers and implementors of type systems and even in explaining their behaviour to users.</p><p><b>2018-08-31 15:00:00 UTC<br/>LT1415</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#179Sat, 21 Oct 2023 21:24:08 +01002018-08-29: Philippa Cowderoy<h2><a href='http://flippac.org'>Philippa Cowderoy</a></h2><h2>Information-Aware Type Systems</h2><p><b>Abstract</b><br/><br/>The minimalist tradition in type systems makes for easy mathematics, but often leaves their mechanisms needlessly obscured.<br/>
<br/>
One possible remedy is to track the behaviour of information in a system — its creation, its destruction and how it flows between constraints and source locations. I illustrate this with the Simply-Typed Lambda Calculus.</p><p><b>2018-08-29 15:00:00 UTC<br/>LT1415</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#178Sat, 21 Oct 2023 21:24:08 +01002018-07-18: Jurriaan Rot (Radboud University Nijmegen)<h2><a href='http://jurriaan.me/'>Jurriaan Rot</a> (<a href='http://www.ru.nl/icis/'>Radboud University Nijmegen</a>)</h2><h2>Finite and Infinite Traces, Inductively and Coinductively</h2><p><b>Abstract</b><br/><br/>It is a well-known fact (used e.g. in model checking) that, on finitely branching transition systems, finite trace equivalence coincides with infinite trace equivalence. I will show how to prove this coinductively, which is arguably nicer than the standard inductive proof.</p><p><b>2018-07-18 12:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#177Sat, 21 Oct 2023 21:24:08 +01002018-06-13: James Chapman (MSP)<h2><a href='http://personal.strath.ac.uk/james.chapman'>James Chapman</a> (MSP)</h2><h2>Gillette Fusion: Kits for Hutton's Razor or Type Unsafe and Scope Unsafe Programs and Their Proofs</h2><p><b>Abstract</b><br/><br/>The paper Type-and-Scope Safe Programs and Their Proofs abstracts the common type-and-scope safe structure from computations on lambda-terms that deliver, e.g., renaming, substitution, evaluation, CPS-transformation, and printing with a name supply. By exposing this structure, we can prove generic simulation and fusion lemmas relating operations built this way. In this talk I will present this approach but for simpler setting of Hutton's Razor. This reduces the mathematical structures involved from relative structures to the ordinary counterparts.</p><p><b>2018-06-13 11:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#176Sat, 21 Oct 2023 21:24:08 +01002018-06-05: SPLS<h2><a href='http://www.macs.hw.ac.uk/~rs46/spls-june-2018/'>SPLS</a> (Cairn Auditorium, PG G.01, Postgraduate Centre, Heriot-Watt University)</h2><h2>SPLS</h2><p><b>2018-06-05 12:00:00 UTC<br/>Cairn Auditorium, PG G.01, Postgraduate Centre, Heriot-Watt University</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#175Sat, 21 Oct 2023 21:24:08 +01002018-05-29: Helle Hvid Hansen (TU Delft)<h2><a href='https://homepage.tudelft.nl/c9d1n/'>Helle Hvid Hansen</a> (<a href='https://www.tudelft.nl/en/tpm/about-the-faculty/departments/engineering-systems-and-services/'>TU Delft</a>)</h2><h2>A Coinductive Proof of Policy Iteration Correctness</h2><p><b>Abstract</b><br/><br/>This is the second half of Helle's talk on a (co)algebraic treatment of Markov Decision Processes. It focuses on a coinductive explanation of policy improvement using a new proof principle, based on Banach's Fixpoint Theorem, that we call contraction coinduction.</p><p><b>2018-05-29 13:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#174Sat, 21 Oct 2023 21:24:08 +01002018-05-17: Thorsten Altenkirch (Nottingham)<h2><a href='http://www.cs.nott.ac.uk/~txa/'>Thorsten Altenkirch</a> (<a href='http://www.cs.nott.ac.uk/'>Nottingham</a>)</h2><h2>HoTT for sets</h2><p><b>Abstract</b><br/><br/>Before getting lost in the realms of higher dimensions we should see wether we can interpret set-level HoTT. We know how to deal with functional extensionality and a static universe of propositions (see Observational Type Theory) but what about a dynamic universe of propositions, i.e. one reflecting HProps that also validates propositional extensionality. I will discuss the problems modelling this and a possible solution using globular setoids.<br/>
<br/>
The dynamic prop corresponds to a subobject classifier in a topos (in particular we get unique choice) while the static universe corresponds to a quasitopos I am told.</p><p><b>2018-05-17 13:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#173Sat, 21 Oct 2023 21:24:08 +01002018-05-23: Bob Atkey (MSP)<h2><a href='http://bentnib.org'>Bob Atkey</a> (MSP)</h2><h2>How Do We Model a Problem Like Mutable State?</h2><p><b>2018-05-23 16:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#172Sat, 21 Oct 2023 21:24:08 +01002018-05-16: Helle Hvid Hansen (TU Delft)<h2><a href='https://homepage.tudelft.nl/c9d1n/'>Helle Hvid Hansen</a> (<a href='https://www.tudelft.nl/en/tpm/about-the-faculty/departments/engineering-systems-and-services/'>TU Delft</a>)</h2><h2>Long-Term Values in Markov Decision Processes, (Co)Algebraically</h2><p><b>Abstract</b><br/><br/>In this talk, we study Markov decision processes (MDPs) with the discounted sums criterion from the perspective of coalgebra and algebra. Probabilistic systems, similar to MDPs but without rewards, have been extensively studied, also coalgebraically, from the perspective of program semantics. Here, we focus on the role of MDPs as models in optimal planning, where the reward structure is central. Our main contributions are: (i) a coinductive explanation of policy improvement using a new proof principle, based on Banach's Fixpoint Theorem, that we call contraction coinduction, and (ii) showing that the long-term value function of a policy can be obtained via a generalized notion of corecursive algebra, which takes boundedness into account.<br/>
<br/>
This is joint work with Frank Feys (Delft) and Larry Moss (Indiana).</p><p><b>2018-05-16 11:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#171Sat, 21 Oct 2023 21:24:08 +01002018-05-30: Artjoms Šinkarovs and Peter Hancock (Heriot-Watt)<h2><a href='http://ashinkarov.github.io/'>Artjoms Šinkarovs and Peter Hancock</a> (Heriot-Watt)</h2><h2>Multi-Dimensional Arrays and their Types</h2><p><b>Abstract</b><br/><br/>Though Multi-Dimensional Arrays (MDAs) seem conceptually straightforward, it's not easy to come up with a mathematical theory of arrays that can be used within optimising compilers. We'd like to treat arrays as functions from indices to values with some domain restrictions. It is desirable that these domain restrictions are specified in a compact form, and are equipped with closed algebraic operations like intersection, union, etc. We are going to consider a few typical models like hyperrectangulars, grids and polyhedrons.<br/>
<br/>
When typing array operations, ideally we'd like to find a balance between tracking all the shapes of arrays and allowing for generic array operations. This proves to be tricky, for reasons we'll explain.<br/>
<br/>
We will propose, tentatively, an analysis of MDAs in terms of container functors. The aim is to supply concepts helpful when thinking about MDAs, e.g. when designing notations for coding with arrays. Some intriguing gadgetry shows up.</p><p><b>2018-05-30 11:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#170Sat, 21 Oct 2023 21:24:08 +01002018-05-04: Fredrik Nordvall Forsberg (MSP)<h2><a href='http://personal.cis.strath.ac.uk/fredrik.nordvall-forsberg'>Fredrik Nordvall Forsberg</a> (MSP)</h2><h2>MSP 101: The Dialectica Interpretation</h2><p><b>Abstract</b><br/><br/>A proof interpretation translates proofs of one logical system into proofs of another (example: the double-negation interpretation of classical logic into constructive logic). This often reveals some information about the original system (e.g. classical logic is equiconsistent with constructive logic). Gödel's Dialectica interpretation (named after the journal it was published in) translates Heyting arithmetic (the constructive theory of the natural numbers, including induction) into System T (the quantifier-free theory of the simply typed lambda calculus with natural numbers) — quantifier complexity is traded for higher type complexity. Combining this translation with (a refined) double negation translation, one can extract System T programs from a proof of a forall-exists statement, even if this proof is using non-constructive priciples such as Markov's Principle, Excluded Middle, or the Quantifier-Free Axiom of Choice. I've always found the Dialectica translation mystifying, so I'll try to explain the intuition behind it.</p><p><b>2018-05-04 11:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#169Sat, 21 Oct 2023 21:24:08 +01002018-04-19: James Wood (MSP)<h2>James Wood (MSP)</h2><h2>Midlands Graduate School Trip Report</h2><p><b>2018-04-19 11:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#168Sat, 21 Oct 2023 21:24:08 +01002018-04-12: Fredrik Nordvall Forsberg (MSP)<h2><a href='http://personal.cis.strath.ac.uk/fredrik.nordvall-forsberg'>Fredrik Nordvall Forsberg</a> (MSP)</h2><h2>Quotient Inductive-Inductive Types</h2><p><b>Abstract</b><br/><br/>Higher inductive types (HITs) in Homotopy Type Theory (HoTT) allow the definition of datatypes which have constructors for equalities over the defined type. HITs generalise quotient types and allow to define types which are not sets in the sense of HoTT (i.e. do not satisfy uniqueness of equality proofs) such as spheres, suspensions and the torus. However, there are also interesting uses of HITs to define sets, such as the Cauchy reals, the partiality monad, and the internal, total syntax of type theory. In each of these examples we define several types that depend on each other mutually, i.e. they are inductive-inductive definitions. We call those HITs quotient inductive-inductive types (QIITs).<br/>
<br/>
Although there has been recent progress on the general theory of HITs, there isn't yet a theoretical foundation of the combination of equality constructors and induction-induction, despite having many interesting applications. In the present paper we present a first step towards a semantic definition of QIITs. In particular, we give an initial-algebra semantics and show that this is equivalent to the section induction principle, which justifies the intuitively expected elimination rules.</p><p><b>2018-04-12 11:00:00 UTC<br/>LT1415</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#167Sat, 21 Oct 2023 21:24:08 +01002018-03-28: Thorsten Altenkirch (Nottingham)<h2><a href='http://www.cs.nott.ac.uk/~txa/'>Thorsten Altenkirch</a> (<a href='http://www.cs.nott.ac.uk/'>Nottingham</a>)</h2><h2>What is a category, actually?</h2><p><b>Abstract</b><br/><br/>Let us revisit the definition of a category and define it in a way which has the advantage that we can generalize it to higher dimensions. Why am I interested in higher categories (or specifically (\infty,1)-categories)? I have a few problems in Homotopy Type Theory which I think can be solved using these beasts: the coherence problem for type theory in type theory (in the moment I cannot even define the standard model) and generalizing the Hungarian approach to Quotient Inductive Inductive Types (QIITs) to Higher Inductive Inductive Types (HIITs).</p><p><b>2018-03-28 12:30:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#166Sat, 21 Oct 2023 21:24:08 +01002018-03-21: Jamie Gabbay (Heriot-Watt)<h2><a href='http://www.gabbay.org.uk'>Jamie Gabbay</a> (<a href='http://www.macs.hw.ac.uk/departments/computer-science.htm'>Heriot-Watt</a>)</h2><h2>Equivariant ZFA and the foundations of nominal techniques</h2><p><b>Abstract</b><br/><br/>The sets foundations of nominal techniques are usually taken to be Fraenkel-Mostowski set theory (which is ZFA + a finite support property). I will argue that in many situations, a new foundation which I call Equivariant ZFA (EZFA) may be a better choice, because you can do everything in EZFA that you can do in FM and furthermore EZFA with Choice (EZFAC) is consistent whereas FM with Choice is not.<br/>
<ul><li>I will define EZFA and how it interacts with Choice.</li><li>I will prove that EZFA is <em>equivalent</em> to ZFA.</li><li>I will then prove that EZFA is <em>not equivalent</em> to ZFA.</li><li>I will explain why I think EZFA(C) may be useful, why my last three papers were actually written in EZFAC, and finally I will discuss the implications this may have for mathematical foundations in general.</li></ul></p><p><b>2018-03-21 15:00:00 UTC<br/>LT1415</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#165Sat, 21 Oct 2023 21:24:08 +01002018-02-14: Fredrik Nordvall Forsberg (MSP)<h2><a href='http://personal.cis.strath.ac.uk/fredrik.nordvall-forsberg'>Fredrik Nordvall Forsberg</a> (MSP)</h2><h2>MSP 101: Domain Theory</h2><p><b>Abstract</b><br/><br/>I will give an introduction to Domain Theory, focusing on motivation. I hope to cover recursive definitions, and solving domain equations using retraction pairs.</p><p><b>2018-02-14 15:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#164Sat, 21 Oct 2023 21:24:08 +01002018-02-08: Alexander Kurz (Leicester)<h2><a href='http://www.cs.le.ac.uk/people/ak155/'>Alexander Kurz</a> (<a href='https://www2.le.ac.uk/departments/informatics'>Leicester</a>)</h2><h2>Introduction to coalgebra</h2><p><b>2018-02-08 15:00:00 UTC<br/>LT1212</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#163Sat, 21 Oct 2023 21:24:08 +01002018-02-07 Departmental seminar: Justin Hsu (UCL)<h2><a href='https://justinh.su/'>Justin Hsu</a> (<a href='http://pplv.cs.ucl.ac.uk/welcome/'>UCL</a>)</h2><h2>From Couplings to Probabilistic Relational Program Logics</h2><p><b>Abstract</b><br/><br/>Many program properties are relational, comparing the behavior of a program (or even two different programs) on two different inputs. While researchers have developed various techniques for verifying such properties for standard, deterministic programs, relational properties for probabilistic programs have been more challenging. In this talk, I will survey recent developments targeting a range of probabilistic relational properties, with motivations from privacy, cryptography, machine learning. The key idea is to meld relational program logics with an idea from probability theory, called a probabilistic coupling. The logics allow a highly compositional and surprisingly general style of analysis, supporting clean proofs for a broad array of probabilistic relational properties.</p><p><b>2018-02-07 15:00:00 UTC<br/>LT1415</b><br/>http://msp.cis.strath.ac.uk/msp101.html#162Sat, 21 Oct 2023 21:24:08 +01002018-04-06: James Chapman (MSP)<h2><a href='http://personal.strath.ac.uk/james.chapman'>James Chapman</a> (MSP)</h2><h2>Setoids and Quotients</h2><p><b>Abstract</b><br/><br/>In preparation for Fred's talk about "Quotient Inductive-Inductive Types" next week I will introduce quotients and setoids in type theory and some of the issues surrounding them. The use of setoids is discouraged by many doctors and can lead to a contagious and incurable condition: relation preservation. Quotients on the other hand are dangerous if not correctly handled and can lead to unsightly things appearing where they shouldn't such as inhabitants of the excluded middle.</p><p><b>2018-04-06 11:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#161Sat, 21 Oct 2023 21:24:08 +01002018-03-14: Joe Collins (MSP)<h2>Joe Collins (MSP)</h2><h2>Quantum Computing with ZX Calculus</h2><p><b>Abstract</b><br/><br/>Quantum mechanics is dope, so it makes sense that making a computer using the principles of quantum mechanics would also be pretty sick. However, the formalism that is used by physicists, called a Hilbert space, is not specialised for this purpose. In particular, it is<br/>
1) Difficult to prove properties about programs for quantum computers<br/>
2) Difficult to see what is these programs are actually doing<br/>
<br/>
Thankfully, category theory is very cool! Using ZX calculus, we can talk about quantum computing in a much clearer manner. I will be introducing some fundamental quantum mechanics and ZX calculus, and then using ZX calculus I will talk about Shor's algorithm.</p><p><b>2018-03-14 15:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#160Sat, 21 Oct 2023 21:24:08 +01002018-03-07: SPLS<h2>SPLS (Level 5, School of Computing Science, University of Glasgow)</h2><h2>SPLS</h2><p><b>2018-03-07 10:00:00 UTC<br/>Level 5, School of Computing Science, University of Glasgow</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#159Sat, 21 Oct 2023 21:24:08 +01002018-02-21: Jan de Muijnck-Hughes (Glasgow)<h2><a href='http://jfdm.github.io/'>Jan de Muijnck-Hughes</a> (<a href='https://www.gla.ac.uk/schools/computing/'>Glasgow</a>)</h2><h2>A Type-System for describing the Structural Topology of System-on-a-Chip Architectures</h2><p><b>Abstract</b><br/><br/>The protocols that describe the interactions between IP Cores on System-on-a-Chip architectures are well-documented. These protocols described not only the structural properties of the physical interfaces but also the behaviour of the emanating signals. However, there is a disconnect between the design of SoC architectures, their formal description, and the verification of their implementation in known hardware description languages.<br/>
<br/>
Within the Border Patrol project we are investigating how to capture and reason about the structural and behavioural properties of SoC architectures using state-of-the-art advances in programming language research. Namely, we are investigating using dependent types and session types for the description of hardware communication.<br/>
<br/>
In this talk I will discuss my work in designing a linked family of languages that captures and reasons about the topological structure of a System-on-a-Chip. These languages provide correct-by-construction guarantees over the interaction protocols themselves; the adherence of a component that connects using said protocols; and the validity of the specified connections. These guarantees are provided through abuse of indexed monads to reason about resource usage; and general (ab)use of dependent types as presented in Idris.<br/>
<br/>
I will not cover all aspects of the languages but will concentrate my talk detailing the underlying theories that facilitate the correct-by-construction guarantees.</p><p><b>2018-02-21 15:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#158Sat, 21 Oct 2023 21:24:08 +01002018-03-09: Alasdair Lambert and Ben Price (MSP)<h2>Alasdair Lambert and Ben Price (MSP)</h2><h2>MSP 101: Kan extensions</h2><p><b>2018-03-09 16:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#157Sat, 21 Oct 2023 21:24:08 +01002018-02-07: Fredrik Nordvall Forsberg (MSP)<h2><a href='http://personal.cis.strath.ac.uk/fredrik.nordvall-forsberg'>Fredrik Nordvall Forsberg</a> (MSP)</h2><h2>MSP 101: The adjoint functor theorem</h2><p><b>Abstract</b><br/><br/>Adjoint functors arise everywhere, but how do we find them? It is a fun exercise to prove that right adjoints preserve limits, and, dually, that left adjoints preserve colimits. An adjoint functor theorem is a statement that (under certain conditions) the converse holds: a functor which preserves limits is a right adjoint. I will discuss the General Adjoint Functor Theorem, and why Peter Johnstone considers it fundamentally useless.</p><p><b>2018-02-07 15:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#155Sat, 21 Oct 2023 21:24:08 +01002018-01-31: Kevin Dunne (MSP)<h2>Kevin Dunne (MSP)</h2><h2>Reflections on the PhD process</h2><p><b>2018-01-31 15:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#154Sat, 21 Oct 2023 21:24:08 +01002018-01-24: Jurriaan Rot (Radboud University Nijmegen)<h2><a href='http://jurriaan.me/'>Jurriaan Rot</a> (<a href='http://www.ru.nl/icis/'>Radboud University Nijmegen</a>)</h2><h2>Coinduction and the Companion</h2><p><b>Abstract</b><br/><br/>The coinductive proof method can be enhanced by several techniques, often referred to as up-to-techniques. I will talk about the basic theory of coinduction-up-to, and a little about the more recent notion of companion. This companion is the largest valid up-to technique for a given predicate, and gives a nice way of working with coinduction up-to.</p><p><b>2018-01-24 15:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#153Sat, 21 Oct 2023 21:24:08 +01002018-01-16: MSP101 Planning session<h2>MSP101 Planning session (LT1310)</h2><h2>MSP101 Planning session</h2><p><b>2018-01-16 16:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#152Sat, 21 Oct 2023 21:24:08 +01002017-12-08: Bob Atkey (MSP)<h2><a href='http://bentnib.org'>Bob Atkey</a> (MSP)</h2><h2>Dijkstra Monads</h2><p><b>Abstract</b><br/><br/>One monad to the tune of another.</p><p><b>2017-12-08 16:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#151Sat, 21 Oct 2023 21:24:08 +01002017-10-27: Johannes Marti (Universität Bremen)<h2><a href='http://johannesmarti.com/'>Johannes Marti</a> (<a href='http://www.informatik.uni-bremen.de/tdki/'>Universität Bremen</a>)</h2><h2>Size-Matters in the Modal mu-Calculus</h2><p><b>Abstract</b><br/><br/>I talk about three methods for measuring the size of formulas in the modal mu-calculus and explore how the choice between them influences the complexity of computations on formulas. Especially, I focus on the guarded transformation, which is a simple syntactic transformation on formulas that is commonly assumed to be polynomial but has recently been shown to require exponential time.<br/>
<br/>
I will complain about the mess in the literature and present two of our (Clemens, Yde and me) own preliminary results:<br/>
<br/>
1) There is a polynomial guarded transformation if we measure the input formula in the number of its subformulas and measure the output formula in the size of its closure.<br/>
<br/>
2) If there is a polynomial guarded transformation where we measure the input formula in the size of its closure then there is a polynomial algorithm for solving parity games. Hence finding such a transformation is at least as hard as solving parity games, which is commonly believed to be quite hard.<br/>
<br/>
We employ an automata-theoretic approach that relates the different measures for the size of a formula to different constraints on the transition structure of an automaton corresponding to the formula.<br/>
<br/>
This is a very technical talk but there will be many pictures!</p><p><b>2017-10-27 16:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#150Sat, 21 Oct 2023 21:24:08 +01002017-10-11: SPLS<h2><a href='http://simonjf.com/spls-oct2017/'>SPLS</a> (Informatics Forum, Edinburgh)</h2><h2>SPLS</h2><p><b>2017-10-11 12:00:00 UTC<br/>Informatics Forum, Edinburgh</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#149Sat, 21 Oct 2023 21:24:08 +01002017-09-22: Conor McBride (MSP)<h2><a href='https://personal.cis.strath.ac.uk/conor.mcbride/'>Conor McBride</a> (MSP)</h2><h2>Bidirectional Martin-Löf 1971</h2><p><b>Abstract</b><br/><br/>Per Martin-Löf's 1971 Theory of Types is the ancestor of the type systems used today in Agda, Coq, Idris, NuPRL, and many other variations on the theme of dependent types. Its principal virtue is its simplicity: it has very few moving parts (but they move quite a lot). Its well known principal vice is its inconsistency: you can write a looping program inhabiting any type (thus 'proving' any proposition). I'll be talking about the design principles for constructing dependent type systems which are bidirectional — clearly split into a type checking part and a type synthesis part. By following these principles, it gets easier to establish good safety properties of these systems. In particular, I'll sketch how to keep type safety ("well typed programs don't go wrong") separate from normalization ("all computations terminate"). Martin-Löf's 1971, reformulated bidirectionally, makes a good example, because it's small and type-safe, but not normalizing.</p><p><b>2017-09-22 16:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#148Sat, 21 Oct 2023 21:24:08 +01002017-09-29: Ben Price (MSP)<h2><a href='http://personal.strath.ac.uk/benjamin.price'>Ben Price</a> (MSP)</h2><h2>Worlds</h2><p><b>Abstract</b><br/><br/>Building on last week's introduction to Martin-Löf 1971, we describe a toy type theory which not only accounts for what type terms have, but also where they live. This extra information can be interpreted as where (physically) data lives, at what phase (typechecking vs runtime) it exists, when it exists, or who has access to the data.<br/>
<br/>
In return for caring about these "worlds" describing where data lives, we get applications to distributed computing and erasure for efficient code generation, with future work to consider productivity and security.</p><p><b>2017-09-29 16:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#147Sat, 21 Oct 2023 21:24:08 +01002017-10-06: Peter Hancock<h2><a href='http://docs.hancock.fastmail.fm/'>Peter Hancock</a></h2><h2>Tetration</h2><p><b>Abstract</b><br/><br/>In ghci, you can write something like <div class='centered'><tt>let two f = f . f in two two two two (+1) 0</tt></div> and it will print "65536". If you write something like <div class='centered'><tt>let two f = f . f ; four = two . two in four ($ two) id (+1) 0</tt></div> it will print "Occurs check: cannot construct the infinite type: a ~ a -> a".<br/>
<br/>
Can haskell not count to four?(*)<br/>
<br/>
The topic is the compact representation of unfeasibly large numbers using a pure (Glaswegian?) universe. Some excursions into the hinterland of the topic are likely.<br/>
<br/>
By the way, tetration is the function m n |-> n ^ .. ^ n with m n's.<br/>
<br/>
(*) No doubt mad haskell mambo or pragma exists that will trick it into counting up to four. I will reward the most amusing/revolting demonstration with a large (reasonably priced) malt whisky.</p><p><b>2017-10-06 16:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#146Sat, 21 Oct 2023 21:24:08 +01002017-10-13: Simone Barlocco (MSP)<h2>Simone Barlocco (MSP)</h2><h2>Coalgebraic Learning</h2><p><b>Abstract</b><br/><br/>Automata learning is a well known technique to infer a finite state machine from a set of observations. One important algorithm for automata learning is the L* algorithm by Dana Angluin. In this 101 I will present a new perspective on L* using ideas from coalgebra and modal logic. After a brief recap of how L* works, I will describe a generalisation of the L* algorithm to the coalgebraic level. I will conclude my talk with two concrete instances of the general framework: the learning of Mealy machines and of bisimulation quotients of probabilistic transition systems. Joint work with Clemens Kupke.</p><p><b>2017-10-13 16:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#145Sat, 21 Oct 2023 21:24:08 +01002017-11-03: Bob Atkey (MSP)<h2><a href='http://bentnib.org'>Bob Atkey</a> (MSP)</h2><h2>Measuring the sizes of trees</h2><p><b>Abstract</b><br/><br/>I'll talk about a way of measuring the sizes of trees using weighted tree automata, in a compositional way that works well with pattern matching. This is based on some work by Georg Moser and Martin Hofmann.</p><p><b>2017-11-03 16:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#144Sat, 21 Oct 2023 21:24:08 +01002017-11-17: Ross Duncan (MSP)<h2><a href='http://personal.strath.ac.uk/ross.duncan'>Ross Duncan</a> (MSP)</h2><h2>Deep Learning</h2><p><b>Abstract</b><br/><br/>I'll explain the first concepts of Deep Learning. This is an advert for a reading group on the topic which will run over the next few weeks.</p><p><b>2017-11-17 16:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#143Sat, 21 Oct 2023 21:24:08 +01002017-11-10: Alasdair Lambert (MSP)<h2>Alasdair Lambert (MSP)</h2><h2>Infinite Iteration of Games</h2><p><b>Abstract</b><br/><br/>My talk will be based on our recent paper "A Compositional Treatment of Iterated Open Games". In this paper we introduce a new operator on open games to capture the concept of subgame perfect equilibrium as well as providing final coalgebra semantics of infinite games.</p><p><b>2017-11-10 16:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#141Sat, 21 Oct 2023 21:24:08 +01002017-12-01: Conor McBride (MSP)<h2><a href='https://personal.cis.strath.ac.uk/conor.mcbride/'>Conor McBride</a> (MSP)</h2><h2>MSP 101: Hereditary substitution</h2><p><b>2017-12-01 16:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#138Sat, 21 Oct 2023 21:24:08 +01002017-12-06: Chung-Kil Hur (Seoul National University)<h2><a href='http://sf.snu.ac.kr/gil.hur/'>Chung-Kil Hur</a> (<a href='http://sf.snu.ac.kr/'>Seoul National University</a>)</h2><h2>The Power of Parameterization in Coinductive Proof</h2><p><b>Abstract</b><br/><br/>In this talk, I will present a simple yet powerful principle for coinductive reasoning, which we call "parameterized coinduction". More specifically, it is as simple as the Knaster-Tarski theorem without requiring any syntactic checking, yet as powerful as Coq's syntactic guarded coinduction supporting incremental reasoning. As an important consequence, parameterized coinduction can easily support complex nested induction-coinduction. <br/>
<br/>
We also implemented the parameterized coinduction as the Coq library called "paco", which can be found at:<br/>
<br/>
<a href='http://plv.mpi-sws.org/paco'>http://plv.mpi-sws.org/paco</a><br/>
<br/>
This is joint work with Georg Neis, Derek Dreyer and Viktor Vafeiadis, and was presented at POPL'13. </p><p><b>2017-12-06 13:00:00 UTC<br/>LT1415</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#137Sat, 21 Oct 2023 21:24:08 +01002017-09-14: MSP101 Planning session<h2>MSP101 Planning session (LT1310)</h2><h2>MSP101 Planning session</h2><p><b>2017-09-14 11:40:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#136Sat, 21 Oct 2023 21:24:08 +01002017-09-11: Andrea Vezzosi (Chalmers)<h2><a href='http://www.cse.chalmers.se/~vezzosi/'>Andrea Vezzosi</a> (<a href='http://www.chalmers.se/en/departments/cse/Pages/default.aspx'>Chalmers</a>)</h2><h2>Adding Cubes to Agda</h2><p><b>Abstract</b><br/><br/>Cubical Type Theory (CTT) provides an extension of Martin-Löf Type Theory (MLTT) where we can interpret the univalence axiom while preserving the canonicity property, i.e. every closed term actually computes to a value. The typing and equality rules of CTT come as a fairly well-behaved extension of the ones of MLTT and the denotational model and prototype implementation help clarifying the system further.<br/>
<br/>
Given the above it felt reasonable to introduce the features of CTT into a more mature proof assistant like Agda, and this talk reports the status of this endeavour. In short:<br/>
<ul><li>The univalence axiom is proven as a theorem and we successfully tested its computational behavior on small examples.</li><li><tt>comp</tt> computes for any parametrized data or record types, including coinductive ones, but it is stuck for inductive families.</li><li>The interaction of the path type and copatterns gives extensionality principles for coinductive records.</li><li>The interval <tt>I</tt> is an actual type, we also have restriction types <tt>A[φ ↦ u]</tt> and types for partial elements <tt>Partial φ A</tt>. Their sort makes sure <tt>comp</tt> does not apply to them.</li></ul><br/>
Examples are collected at <a href='https://github.com/Saizan/cubical-demo'>https://github.com/Saizan/cubical-demo</a>.</p><p><b>2017-09-11 14:00:00 UTC<br/>LT1101 (Board room)</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#135Sat, 21 Oct 2023 21:24:08 +01002017-09-06: Ross Duncan (MSP)<h2><a href='http://personal.strath.ac.uk/ross.duncan'>Ross Duncan</a> (MSP)</h2><h2>Binding and Substitution in String Diagrams</h2><p><b>Abstract</b><br/><br/>In the categorical semantics of (e.g.) the simply typed lambda calculus substitution of a variable by a term is achieved by composing morphisms. What is the equivalent notion in diagrammatic languages? What even is a "variable" in this context? I'll sketch some (pretty) rough ideas for the beginnings of a “functional language” of diagrams including substitution, binding, and pattern matching. It turns out to all be about operads and co-operads.</p><p><b>2017-09-06 14:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#134Sat, 21 Oct 2023 21:24:08 +01002017-07-10: Open Games Workshop<h2><a href='http://msp.cis.strath.ac.uk/opengames-2017/'>Open Games Workshop</a> (LT1415)</h2><h2>Open Games Workshop</h2><p><b>2017-07-10 10:00:00 UTC<br/>LT1415</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#133Sat, 21 Oct 2023 21:24:08 +01002017-07-05: Noam Zeilberger (Birmingham)<h2><a href='http://noamz.org/'>Noam Zeilberger</a> (<a href='http://www.cs.bham.ac.uk/'>Birmingham</a>)</h2><h2>Some enumerative, topological, and algebraic aspects of linear lambda calculus</h2><p><b>Abstract</b><br/><br/>Enumeration of graphs on surfaces (or "maps") is an active topic of research in combinatorics, with links to wide-ranging domains such as algebraic geometry, knot theory, and mathematical physics. In the last few years, it has also been found that map enumeration is related to the combinatorics of lambda calculus, with various well-known families of maps in 1-to-1 correspondence with various natural families of linear lambda terms. In the talk I will begin by giving a brief survey of these enumerative connections, then use those to motivate a closer look at the surprisingly rich topological and algebraic properties of linear lambda calculus.</p><p><b>2017-07-05 14:00:00 UTC<br/>LT1415</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#132Sat, 21 Oct 2023 21:24:08 +01002017-06-15: Stuart Gale (MSP)<h2><a href='http://www.bishboria.com/'>Stuart Gale</a> (MSP)</h2><h2>Informal introduction to knot theory and the unknotting problem</h2><p><b>Abstract</b><br/><br/>This is an informal talk on the interesting properties I've found when playing with the unknotting problem (knot simplification moves that help to establish whether any given knot is a loop in complicated disguise, or something really knotted).<br/>
<br/>
I'll discuss the syntax that I've used for annotating knots that leads to a(n almost) syntax based method for unknotting, but that hints further at unknotting in a more interesting way by using an unintentional property of the syntax.<br/>
<br/>
I'll present some examples of the problems with representing knots and how the syntax and reduction rules help, in my opinion, to make unknotting more tangible.</p><p><b>2017-06-15 14:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#131Sat, 21 Oct 2023 21:24:08 +01002017-06-29: Bob Atkey (MSP)<h2><a href='http://bentnib.org'>Bob Atkey</a> (MSP)</h2><h2>Syntax and semantics of Quantitative Type Theory</h2><p><b>Abstract</b><br/><br/>At last year's WadlerFest celebration, Conor presented a dependent type theory where variables are tagged with information about how they are used. Variable usage tagging has been developed in the non dependent setting, starting with Girard's Linear Logic, and culminating with recent work in contextual effects, coeffects, and quantitative type theories. The subtlety with dependent types lies in how to account for the difference between usage in types and terms. Conor's system handles this by treating usage in types as a "zero" usage, so that it doesn't affect the usage in terms. This is a departure from previous "linear" type theories that maintains a strict separation between usage controlled information, which types cannot depend on, and unrestricted information, which types can depend on.<br/>
<br/>
Conor presented a syntax and typing rules for the system, as well as an erasure property that exploits the difference between "not used" and "used", but doesn't do anything with the finer usage information available. I'll present a collection of models for the system that fully exploit the usage information. This will give interpretations of type theory in resource constrained computational models, Geometry of Interaction models, and imperative models. To maintain order, I will gather all these notions of model under a new concept of "Quantitative Category with Families", a generalisation of the standard "Category with Families" class of models of dependent types.</p><p><b>2017-06-29 14:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#130Sat, 21 Oct 2023 21:24:08 +01002017-06-08: Fredrik Nordvall Forsberg (MSP)<h2><a href='http://personal.cis.strath.ac.uk/fredrik.nordvall-forsberg'>Fredrik Nordvall Forsberg</a> (MSP)</h2><h2>TYPES 2017 Trip report</h2><p><b>Abstract</b><br/><br/>I'll tell you about the most interesting talks, ideas and gossip that came out of the TYPES conference in BudaPest last week.</p><p><b>2017-06-08 14:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#129Sat, 21 Oct 2023 21:24:08 +01002017-07-27: Matteo Cavaliere (Edinburgh)<h2><a href='https://sites.google.com/site/researchcavaliere/'>Matteo Cavaliere</a> (<a href='http://www.synthsys.ed.ac.uk/'>Edinburgh</a>)</h2><h2>The Rise and Fall of Cooperative Communities</h2><p><b>Abstract</b><br/><br/>Social, biological and economic networks grow and decline with recurrent fragmentation and re-formation, often explained in terms of external perturbations. I will present a model of dynamical networks and evolutionary game theory that explains these phenomena as consequence of imitation and endogenous conflicts between "cooperators" and "cheaters". Cooperators promote well-connected prosperous (but fragile) networks and cheaters cause the network to fragment and lose its prosperity. Once the network is fragmented it can be reconstructed by a new invasion of cooperators, leading to recurrent cycles of formation and fragmentation observed, for instance, in bacterial communities and socio-economic networks. In the last part of the talk, I will briefly introduce my current works on the role of individual decision-making in cooperative communities and the possibility of synthetic biology to address these ideas in microbial communities.<br/>
<br/>
References<br/>
<br/>
M. Cavaliere, S. Sedwards, C.E. Tarnita, M.A. Nowak, A. Csikasz-Nagy.<br/>
Prosperity is Associated with Instability in Dynamical Networks.<br/>
Journal of Theoretical Biology, 299, 2012.<br/>
<br/>
Plasticity Facilitates Sustainable Growth in the Commons.<br/>
M. Cavaliere, J.F. Poyatos.<br/>
Journal of the Royal Society Interface, 10, 2013.<br/>
<br/>
Eco-Evolutionary Feedbacks can Rescue Cooperation in Microbial Populations.<br/>
C. Moreno-Fenoll, M. Cavaliere, E. Martinez-Garcia, J.F. Poyatos.<br/>
Scientific Reports, 7, 2017.</p><p><b>2017-07-27 14:00:00 UTC<br/>LT1415</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#128Sat, 21 Oct 2023 21:24:08 +01002017-06-01: Rob Myers<h2>Rob Myers</h2><h2>Optimal nondeterminism: explaining the Kameda-Weiner algorithm</h2><p><b>Abstract</b><br/><br/>The Kameda-Weiner algorithm takes a machine (nondeterministic finite automaton) as input, and provides an optimal machine (state-minimal nondeterministic finite automaton) as output. In this talk I will discuss work which provides a clear explanation of it, by translating the various syntactic constructs into more meaningful order-theoretic ones, and then composing them together to prove correctness.</p><p><b>2017-06-01 14:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#127Sat, 21 Oct 2023 21:24:08 +01002017-05-25: Clemens Kupke (MSP)<h2><a href='http://personal.cis.strath.ac.uk/clemens.kupke'>Clemens Kupke</a> (MSP)</h2><h2>Learning via Coalgebraic Logic</h2><p><b>Abstract</b><br/><br/>A key result in computational learning theory is Dana Angluin's L* algorithm that describes how to learn a regular language, or a deterministic finite automaton (DFA), using membership and equivalence queries. In my talk I will present a generalisation of this algorithm using ideas from coalgebra and modal logic — please note, however, that prior knowledge of these topics will not be required.<br/>
<br/>
In the first part of my talk I will recall how the L* algorithm works and establish a link to the notion of a filtration from modal logic. Furthermore I will provide a brief introduction to coalgebraic modal logic. In the second part of my talk I will present a generalisation of Angluin's original algorithm from DFAs to coalgebras for an arbitrary finitary set functor T in the following sense: given a (possibly infinite) pointed T-coalgebra that we assume to be regular (i.e. having an equivalent finite representation) we can learn its finite representation by (i) asking "logical queries" (corresponding to membership queries) and (ii) making conjectures to which a teacher has to reply with a counterexample (equivalence queries). This covers (known variants of) the original L* algorithm and algorithms for learning Mealy and Moore machines. Other examples are infinite streams, trees and bisimulation quotients of various types of transition systems.<br/>
<br/>
Joint work with Simone Barlocco.</p><p><b>2017-05-25 11:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#126Sat, 21 Oct 2023 21:24:08 +01002017-05-18: Thorsten Altenkirch (Nottingham)<h2><a href='http://www.cs.nott.ac.uk/~txa/'>Thorsten Altenkirch</a> (<a href='http://www.cs.nott.ac.uk/'>Nottingham</a>)</h2><h2>The joy of QIITs</h2><p><b>Abstract</b><br/><br/>Quotient inductive inductive types (QIITS) are set-truncated mutually defined higher inductive types. I am going to discuss two applications of QIITs:<br/>
<br/>
1. define an internal syntax of Type Theory without reference to untyped preterms;<br/>
2. define a version of the partiality monad that doesn't require countable choice.<br/>
<br/>
On the one hand I think that these applications are interesting because they represent applications of HoTT which have nothing to do with homotopy theory; on the other hand they are clearly not very higher order (in the sense of truncation levels) but can be defined in the set-truncated fragment of HoTT. Hence my question: what are interesting applications of higher types which are not directly related to synthetic homotopy theory?<br/>
<br/>
This talk is based on joint work with Paolo Capriotti, Nils Anders Danielsoon, Gabe Dijkstra, Ambrus Kaposi and Nicolai Kraus.</p><p><b>2017-05-18 15:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#125Sat, 21 Oct 2023 21:24:08 +01002017-04-20: Bob Atkey (MSP)<h2><a href='http://bentnib.org'>Bob Atkey</a> (MSP)</h2><h2>Modular Datalog</h2><p><b>2017-04-20 14:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#124Sat, 21 Oct 2023 21:24:08 +01002017-05-04: Conor McBride (MSP)<h2><a href='https://personal.cis.strath.ac.uk/conor.mcbride/'>Conor McBride</a> (MSP)</h2><h2>MSP 101: Differential Operators</h2><p><b>Abstract</b><br/><br/>A traditional source of complaint from CS undergraduates (especially in the USA, but in other places, too) is that they are made to learn too much standard issue mathematics with little apparent relevance to computation. Differential calculus (with its usual presentational focus on physical systems) is often picked upon as the archetype. What we see in action is the fragile male ego: they are not so quick to complain about the unimportance of things they do not find difficult. All of which makes more delicious the irony that differential operators have a key role to play in understanding discrete structures, such as automata, datatypes, execution stacks, and plenty more.<br/>
<br/>
The basic idea is as follows: to put your finger over any single K in the pair of words <div class='centered'>BREKEKEKEX KOAXKOAX</div> you must choose either to put your finger over a single K in BREKEKEKEX and pair with KOAXKOAX intact, or to leave BREKEKEKEX intact and cover a K in KOAXKOAX. You have just followed Leibniz's rule for differentiating a product (with respect to K), and computed a one-hole context for a K in a data structure.<br/>
<br/>
Newton, of course, would point out that such derivatives arise as the limit of a divided difference, a concept worthy of study in more generality. I would point out that divided differences are often definable, even in situtations when neither division nor difference makes much apparent sense. Notably, Brzozowski's derivative for regular languages is a divided difference (even though it is not Leibniz's derivative).<br/>
<br/>
I'll work mainly with containers (which look a lot like power series) but make sure there are plenty of concrete examples. In practice, it becomes rather useful to compute derivatives by pattern matching on types, which is especially funny as symbolic differentiation is the first example in the literature of computing anything by pattern matching at all.</p><p><b>2017-05-04 14:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#123Sat, 21 Oct 2023 21:24:08 +01002017-04-05: CLAP<h2><a href='http://homepages.inf.ed.ac.uk/cheunen/clapscotland/'>CLAP</a> (Strathclyde, room LT1415)</h2><h2>CLAP</h2><p><b>2017-04-05 10:00:00 UTC<br/>Strathclyde, room LT1415</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#122Sat, 21 Oct 2023 21:24:08 +01002017-04-10: ALCOP2017<h2><a href='https://personal.cis.strath.ac.uk/clemens.kupke/ALCOP2017/'>ALCOP2017</a> (Strathclyde, Room MC301 (McCance Building))</h2><h2>ALCOP2017</h2><p><b>2017-04-10 09:00:00 UTC<br/><a href='http://www.strath.ac.uk/maps/mccancebuilding/'>Strathclyde, Room MC301 (McCance Building)</a></b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#121Sat, 21 Oct 2023 21:24:08 +01002017-02-22 Departmental seminar: Andrea Bracciali (Stirling)<h2><a href='http://www.cs.stir.ac.uk/~abb/'>Andrea Bracciali</a> (<a href='http://www.cs.stir.ac.uk/'>Stirling</a>)</h2><h2>An introduction to Blockchains</h2><p><b>Abstract</b><br/><br/>Blockchains, i.e. decentralised, distributed data structures which can also carry executable code for a non-standard execution environment, introduce new models of computation. Decentralised, here, means, informally speaking, "without central control", e.g. a currency without a (central) bank, but much more. Blockchains support the recently introduced virtual currencies, a la Bitcoin, and a new class of decentralised applications, including smart contracts. In this talk we will introduce the main aspects of a blockchain, with particular reference to the Bitcoin blockchain as a paradigmatic case of such a new model of computation, and also touching on smart contracts. No previous knowledge of bitcoin/blockchain required for this introductory talk.</p><p><b>2017-02-22 15:00:00 UTC<br/>LT1415</b><br/>http://msp.cis.strath.ac.uk/msp101.html#120Sat, 21 Oct 2023 21:24:08 +01002017-02-15 Departmental seminar: Chris Heunen (Edinburgh)<h2><a href='http://homepages.inf.ed.ac.uk/cheunen/'>Chris Heunen</a> (<a href='http://www.ed.ac.uk/informatics/'>Edinburgh</a>)</h2><h2>Semantics for probabilistic programming</h2><p><b>Abstract</b><br/><br/>Statistical models in e.g. machine learning are traditionally expressed in some sort of flow charts. Writing sophisticated models succinctly is much easier in a fully fledged programming language. The programmer can then rely on generic inference algorithms instead of having to craft one for each model. Several such higher-order functional probabilistic programming languages exist, but their semantics, and hence correctness, are not clear. The problem is that the standard semantics of probability theory, given by measurable spaces, does not support function types. I will describe how to get around this.</p><p><b>2017-02-15 13:00:00 UTC<br/>LT1415</b><br/>http://msp.cis.strath.ac.uk/msp101.html#119Sat, 21 Oct 2023 21:24:08 +01002017-02-06: Ohad Kammar (Oxford)<h2><a href='http://www.cs.ox.ac.uk/people/ohad.kammar/main.html'>Ohad Kammar</a> (<a href='http://www.cs.ox.ac.uk/'>Oxford</a>)</h2><h2>On the expressive power of user-defined effects: effect handlers, monadic reflection, delimited control without answer-type-modification</h2><p><b>Abstract</b><br/><br/>We compare the expressive power of three programming abstractions for user-defined computational effects: Bauer and Pretnar's effect handlers, Filinski's monadic reflection, and delimited control. This comparison allows a precise discussion about the relative merits of each programming abstraction.<br/>
<br/>
We present three calculi, one per abstraction, extending Levy's call-by-push-value. These comprise syntax, operational semantics, a natural type-and-effect system, and, for handlers and reflection, a set-theoretic denotational semantics. We establish their basic meta-theoretic properties: adequacy, soundness, and strong normalisation. Using Felleisen's notion of a macro translation, we show that these abstractions can macro-express each other, and show which translations preserve typeability. We use the adequate finitary set-theoretic denotational semantics for the monadic calculus to show that effect handlers cannot be macro-expressed while preserving typeability either by monadic reflection or by delimited control. We supplement our development with a mechanised Abella formalisation.<br/>
<br/>
Joint work with Yannick Forster, Sam Lindley, and Matija Pretnar.</p><p><b>2017-02-06 14:00:00 UTC<br/>LT1415</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#118Sat, 21 Oct 2023 21:24:08 +01002017-04-27: Kevin Dunne (MSP)<h2>Kevin Dunne (MSP)</h2><h2>What I, Dunne, done in my PhD</h2><p><b>2017-04-27 14:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#117Sat, 21 Oct 2023 21:24:08 +01002017-03-30: Fredrik Nordvall Forsberg (MSP)<h2><a href='http://personal.cis.strath.ac.uk/fredrik.nordvall-forsberg'>Fredrik Nordvall Forsberg</a> (MSP)</h2><h2>Cubical adventures in Connecticut</h2><p><b>Abstract</b><br/><br/>I'll report on my attempts to design a cubical type theory together with Dan Licata and Ed Morehouse during my visit to Wesleyan University, Middletown, Connecticut. We had something which seemed quite promising, but that falls apart just short of the finish line; I'll tell you about it in the hope of miraculous rescue from the audience. However, I'll start from basics so that everyone has a chance to join in in the fun. Mentions of Donald Trump will be kept to a minimum.</p><p><b>2017-03-30 14:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#116Sat, 21 Oct 2023 21:24:08 +01002017-03-23: Bob Atkey (MSP)<h2><a href='http://bentnib.org'>Bob Atkey</a> (MSP)</h2><h2>Blockchain discussion</h2><p><b>2017-03-23 14:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#115Sat, 21 Oct 2023 21:24:08 +01002017-03-16: Bob Atkey (MSP)<h2><a href='http://bentnib.org'>Bob Atkey</a> (MSP)</h2><h2>MSP 101: Operational and Denotational Semantics for PCF</h2><p><b>Abstract</b><br/><br/>PCF is the prototypical functional programming language, with two data types (naturals and booleans), lambda-abstraction and recursion. PCF was introduced by Gordon Plotkin in his seminal "LCF Considered as a Programming Language" paper from 1977. Despite PCF's simplicity, its semantics is theoretically interesting. I will introduce PCF, its operational semantics, the "standard" domain-theoretic denotational semantics and show that the two agree on closed programs. Finally, I will discuss observational equivalence for PCF and show that the denotational semantics fails to be "fully abstract".</p><p><b>2017-03-16 14:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#114Sat, 21 Oct 2023 21:24:08 +01002017-03-09: Conor McBride (MSP)<h2><a href='https://personal.cis.strath.ac.uk/conor.mcbride/'>Conor McBride</a> (MSP)</h2><h2>MSP 101: Indexed Containers/Interaction Structures</h2><p><b>2017-03-09 14:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#113Sat, 21 Oct 2023 21:24:08 +01002017-03-02: Bob Atkey (MSP)<h2><a href='http://bentnib.org'>Bob Atkey</a> (MSP)</h2><h2>MSP 101: Separation Logic and Hoare Logic</h2><p><b>Abstract</b><br/><br/>Hoare Logic is a logic for proving properties of programs of the form: if the initial state satisfies a precondition, then the final state satisfies a postcondition. Hoare logic proofs are structured around the structure of the program itself, making the system a compositional one for reasoning about pieces of programs. I'll introduce Hoare Logic for a little imperative language with WHILE loops. I'll then motivate Separation Logic, which enriches Hoare Logic with a Frame Rule for local reasoning. </p><p><b>2017-03-02 14:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#112Sat, 21 Oct 2023 21:24:08 +01002017-02-23: James Chapman (MSP)<h2><a href='http://personal.strath.ac.uk/james.chapman'>James Chapman</a> (MSP)</h2><h2>MSP 101: Blockchain</h2><p><b>Abstract</b><br/><br/>I will try to follow on from yesterday's introduction by getting to nitty gritty of bitcoin/blockchain. I won't assume attendance of the seminar but will try not to repeat it!</p><p><b>2017-02-23 14:00:00 UTC<br/>LT1415</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#111Sat, 21 Oct 2023 21:24:08 +01002017-02-16: Clemens Kupke (MSP)<h2><a href='http://personal.cis.strath.ac.uk/clemens.kupke'>Clemens Kupke</a> (MSP)</h2><h2>MSP 101: Automata on infinite words</h2><p><b>Abstract</b><br/><br/>In this 101 I plan to discuss omega-automata, i.e., finite automata that operate on infinite words/streams. These automata form an important tool for the specification and verification of the ongoing, possibly infinite behaviour of a system. In my talk I will provide the standard definition(s) of omega-automata and highlight what makes omega-automata difficult from a coalgebraic perspective. Finally, I am going to discuss the work by Ciancia & Venema that provides a first coalgebraic representation of a particular type of omega-automata, so-called Muller automata.</p><p><b>2017-02-16 14:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#110Sat, 21 Oct 2023 21:24:08 +01002017-02-09: Simone Barlocco (MSP)<h2>Simone Barlocco (MSP)</h2><h2>MSP 101: Automata learning</h2><p><b>Abstract</b><br/><br/>Automata learning is a well known technique to infer a finite state machine from a set of observations. One important algorithm for automata learning is the L* algorithm by Dana Angluin. In this 101, I will explain how the L* algorithm works via an example. Afterwards, I will discuss the ingredients of the algorithm both in the standard framework by Angluin and in a recently developed categorical/coalgebraic framework by Jacobs & Silva. Lastly, I plan to outline the proof of the minimality of the automaton that is built by the learning algorithm.</p><p><b>2017-02-09 14:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#109Sat, 21 Oct 2023 21:24:08 +01002017-02-02: Johannes Marti (MSP)<h2><a href='http://johannesmarti.com/'>Johannes Marti</a> (MSP)</h2><h2>MSP 101: First-order logic</h2><p><b>Abstract</b><br/><br/>In this 101 I outline the syntax and semantics of classical first order predicate logic. I try to also mention some of the characteristic properties of first order logic such as compactness, the Löwenheim-Skolem theorem or locality properties in finite model theory.</p><p><b>2017-02-02 14:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#108Sat, 21 Oct 2023 21:24:08 +01002017-01-26: Conor McBride, James Chapman, and Bob Atkey (MSP)<h2>Conor McBride, James Chapman, and Bob Atkey (MSP)</h2><h2>La Vie Parisienne: POPL trip report</h2><p><b>Abstract</b><br/><br/> Our POPL attendees will tell us about their favourite talks, the latest research gossip and show us their most scenic photos from POPL in Paris.</p><p><b>2017-01-26 14:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#107Sat, 21 Oct 2023 21:24:08 +01002017-01-19: Johannes Marti (MSP)<h2><a href='http://johannesmarti.com/'>Johannes Marti</a> (MSP)</h2><h2>MSP 101: Automata and games for fixpoint logics</h2><p><b>Abstract</b><br/><br/>I explain how we can use automata and games to understand the behaviour of modal fixpoint logics.</p><p><b>2017-01-19 14:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#106Sat, 21 Oct 2023 21:24:08 +01002017-01-12: MSP101 Planning session<h2>MSP101 Planning session (LT1310)</h2><h2>MSP101 Planning session</h2><p><b>2017-01-12 11:40:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#105Sat, 21 Oct 2023 21:24:08 +01002016-12-14 Departmental seminar: Sam Lindley (Edinburgh)<h2><a href='http://homepages.inf.ed.ac.uk/slindley/'>Sam Lindley</a> (<a href='http://www.ed.ac.uk/informatics/'>Edinburgh</a>)</h2><h2>Do be do be do</h2><p><b>Abstract</b><br/><br/>We explore the design and implementation of Frank, a strict functional programming language with a bidirectional effect type system designed from the ground up around a novel variant of Plotkin and Pretnar's effect handler abstraction.<br/>
<br/>
Effect handlers provide an abstraction for modular effectful programming: a handler acts as an interpreter for a collection of commands whose interfaces are statically tracked by the type system. However, Frank eliminates the need for an additional effect handling construct by generalising the basic mechanism of functional abstraction itself. A function is simply the special case of a Frank <i>operator</i> that interprets no commands.<br/>
<br/>
Moreover, Frank's operators can be <i>multihandlers</i> which simultaneously interpret commands from several sources at once, without disturbing the direct style of functional programming with values.<br/>
<br/>
Effect typing in Frank employs a novel form of effect polymorphism which avoid mentioning effect variables in source code. This is achieved by propagating an <i>ambient ability</i> inwards, rather than accumulating unions of potential effects outwards.<br/>
<br/>
I'll give a tour of Frank through a selection of concrete examples.<br/>
<br/>
(Joint work with Conor McBride and Craig McLaughlin) </p><p><b>2016-12-14 16:00:00 UTC<br/>LT1415</b><br/>http://msp.cis.strath.ac.uk/msp101.html#104Sat, 21 Oct 2023 21:24:08 +01002016-11-30: CLAP<h2><a href='http://homepages.inf.ed.ac.uk/cheunen/clapscotland/'>CLAP</a> (Strathclyde)</h2><h2>CLAP</h2><p><b>2016-11-30 12:00:00 UTC<br/>Strathclyde</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#103Sat, 21 Oct 2023 21:24:08 +01002016-11-02: Phil Scott (University of Ottawa)<h2><a href='http://www.site.uottawa.ca/~phil/'>Phil Scott</a> (<a href='http://engineering.uottawa.ca/eecs/'>University of Ottawa</a>)</h2><h2>An introduction to many-valued logics and effect algebras</h2><p><b>Abstract</b><br/><br/>The algebras of many-valued Lukasiewicz logics (MV algebras) as well as the theory of quantum measurement (Effect algebras) have undergone considerable development in the 1980s and 1990s; they now constitute important research fields, with connections to several contemporary areas of mathematics, logic, and theoretical computer science.<br/>
<br/>
Both subjects have recently attracted considerable interest among groups of researchers in categorical logic and foundations of quantum computing. I will give a leisurely introduction to MV algebras (and their associated logics), as well as the more general world of effect algebras. If time permits, we will also illustrate some new results (with Mark Lawson, Heriot-Watt) on coordinatization of some concrete MV-algebras using inverse semigroup theory.</p><p><b>2016-11-02 14:00:00 UTC<br/>LT1415</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#102Sat, 21 Oct 2023 21:24:08 +01002016-11-09: SPLS<h2><a href='https://msp-strath.github.io/spls-16/'>SPLS</a> (Room 301, McCance building, Strathclyde)</h2><h2>SPLS</h2><p><b>2016-11-09 12:00:00 UTC<br/><a href='http://www.strath.ac.uk/maps/mccancebuilding/'>Room 301, McCance building, Strathclyde</a></b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#101Sat, 21 Oct 2023 21:24:08 +01002016-09-28: Guillaume Allais (Radboud University Nijmegen)<h2><a href='http://gallais.org'>Guillaume Allais</a> (Radboud University Nijmegen)</h2><h2>Towards a Generic Treatment of Syntaxes with Binding</h2><p><b>Abstract</b><br/><br/>The techniques used by the generic programming community have taught us that we can greatly benefit from exposing the common internal structure of a family of objects. One can for instance derive once and for all a wealth of iterators from an abstract characterisation of recursive datatypes as fixpoints of functors.<br/>
<br/>
Our previous work on type and scope preserving semantics and their properties has made us realise that numerous semantics of the lambda calculus can be presented as instances of the fundamental lemma associated to an abstract notion of 'Model'. This made it possible to avoid code duplication as well as prove these semantics' properties generically.<br/>
<br/>
Putting these two ideas together, we give an abstract description of syntaxes with binding making both their recursive and scoping structure explicit. The fundamental lemma associated to these syntaxes can be instantiated to provide the user with proofs that its language is stable under renaming and substitution as well as provide a way to easily define various evaluators.</p><p><b>2016-09-28 15:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#100Sat, 21 Oct 2023 21:24:08 +01002016-09-15: Jules Hedges (Oxford)<h2><a href='http://www.cs.ox.ac.uk/people/julian.hedges/home.html'>Jules Hedges</a> (<a href='http://www.cs.ox.ac.uk/'>Oxford</a>)</h2><h2>Morphisms of open games</h2><p><b>2016-09-15 15:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#99Sat, 21 Oct 2023 21:24:08 +01002016-12-14: Alasdair Lambert (MSP)<h2>Alasdair Lambert (MSP)</h2><h2>Compositional Game Theory</h2><p><b>Abstract</b><br/><br/>I will be discussing composition in a model of economic game theory and methods for representing the impact of choice on subsequent games. Time permitting I will also work through some games using this model.</p><p><b>2016-12-14 11:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#98Sat, 21 Oct 2023 21:24:08 +01002016-12-07: Jamie Gabbay (Heriot-Watt)<h2><a href='http://www.gabbay.org.uk'>Jamie Gabbay</a> (<a href='http://www.macs.hw.ac.uk/departments/computer-science.htm'>Heriot-Watt</a>)</h2><h2>Nominal filters and semantics of predicate logic</h2><p><b>Abstract</b><br/><br/>A <dfn>filter</dfn> P is a consistent deductively closed set of predicates. A filter is <dfn>prime</dfn> when<br/>
<div class='centered'>(φ ∨ ψ) ∈ P ⇒ (φ ∈ P ∨ ψ ∈ P)</div>In words: if phi-or-psi is in P then phi is in P or psi is in P. Primeness gives soundness for disjunction.<br/>
<br/>
Using this it is not hard to construct a semantics to propositional logic in which a predicate φ "means" the set of prime filters containing it. This is a standard "trick" for building semantics and is an extremely useful proof-method.<br/>
<br/>
I have developed a semantics for predicate logic and also for the lambda-calculus based on similar notions of filter, but in a <i>nominal</i> context — meaning that filters are developed using Fraenkel-Mostowski (FM) set theory instead of Zermelo-Fraenkel (ZF) set theory. What matters here is that FM sets have additional name structure over ZF sets, and this additional structure can be exploited to give semantics to the extra structure that predicates have over propositions, and in particular the additional name structure lets us write down primeness conditions for soundness for universal quantification.<br/>
<br/>
The resulting semantics is rich and interesting. In a sentence: nominal techniques help us to extend the notion of Stone representation and duality from propositional logic to full first-order logic (also with equality, if we wish, and also to other logics and calculi with variables and quantifiers).<br/>
<br/>
I will give a detailed description of the filter-style conditions involved, and discuss some of what I think they tell us about predicates and quantification in logic and computation. More information can also be found in two papers here:<br/>
<a href='http://www.gabbay.org.uk/papers.html#semooc'>http://www.gabbay.org.uk/papers.html#semooc</a><br/>
<a href='http://www.gabbay.org.uk/papers.html#repdul'>http://www.gabbay.org.uk/papers.html#repdul</a></p><p><b>2016-12-07 11:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#97Sat, 21 Oct 2023 21:24:08 +01002016-11-23: Yde Venema (ILLC, Amsterdam)<h2><a href='https://staff.science.uva.nl/y.venema/'>Yde Venema</a> (<a href='http://www.illc.uva.nl/'>ILLC, Amsterdam</a>)</h2><h2>Some model theory for the modal mu-calculus</h2><p><b>Abstract</b><br/><br/>We discuss a number of semantic properties pertaining to formulas of the modal mu-calculus. For each of these properties we provide a corresponding syntactic fragment, in the sense that a mu-calculus formula \phi has the given property iff it is equivalent to a formula \phi' in the corresponding fragment. Since this formula \phi' will always be effectively obtainable from \phi, as a corollary, for each of the properties under discussion, we prove that it is decidable in elementary time whether a given mu-calculus formula has the property or not.<br/>
<br/>
The properties that we study have in common that they all concern the dependency of the truth of the formula at stake, on a single proposition letter p. In each case the semantic condition on \phi will be that \phi, if true at a certain state in a certain model, will remain true if we restrict the set of states where p holds, to a special subset of the state space. Important examples include the properties of complete additivity and (Scott) continuity, where the special subsets are the singletons and the finite sets, respectively.<br/>
<br/>
Our proofs for these characterisation results will be automata-theoretic in nature; we will see that the effectively defined maps on formulas are in fact induced by rather simple transformations on modal automata.</p><p><b>2016-11-23 11:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#96Sat, 21 Oct 2023 21:24:08 +01002016-11-16: Johannes Marti (MSP)<h2><a href='http://johannesmarti.com/'>Johannes Marti</a> (MSP)</h2><h2>MSP 101: Modal logic</h2><p><b>Abstract</b><br/><br/>Modal logic provides a simple, yet surprisingly powerful, language for specifying properties of coalgebras. In this talk I introduce the basic modal logic that is interpreted on relational structures. My aim is to provide an idea how modal logic relates to other logics, such as first-order and intuitionistic logic, and to the duality between algebraic and coalgebraic structures.<br/>
<br/>
If time permits, I might also give a very informal warm-up for the modal mu-calculus which is the topic of next week's talk.</p><p><b>2016-11-16 11:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#95Sat, 21 Oct 2023 21:24:08 +01002016-11-09: Stuart Gale (MSP)<h2><a href='http://www.bishboria.com/'>Stuart Gale</a> (MSP)</h2><h2>MSP 101: Meta-theory of lambda-calculi</h2><p><b>Abstract</b><br/><br/>I'll give a standard overview of Simply Typed Lambda Calculus (STLC) (syntax, typing and computation rules) in a well-typed setting, and then modify it to show STLC in a bidirectional setting.<br/>
<br/>
Afterwards I'll show Strong Confluence (Church-Rosser theorem) in the bidirectional setting.</p><p><b>2016-11-09 10:30:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#94Sat, 21 Oct 2023 21:24:08 +01002016-11-02: Ben Price (MSP)<h2><a href='http://personal.strath.ac.uk/benjamin.price'>Ben Price</a> (MSP)</h2><h2>System F and proof-relevant parametricity</h2><p><b>Abstract</b><br/><br/>I shall give a brief introduction to System F.<br/>
I will then explain how to capture our intuition about polymorphic functions behaving uniformly by relational parametricity, and talk about ongoing work to find a notion of proof-relevant parametricity.</p><p><b>2016-11-02 11:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#93Sat, 21 Oct 2023 21:24:08 +01002016-10-26: Fredrik Nordvall Forsberg (MSP)<h2><a href='http://personal.cis.strath.ac.uk/fredrik.nordvall-forsberg'>Fredrik Nordvall Forsberg</a> (MSP)</h2><h2>MSP 101: Data types and initial-algebra semantics</h2><p><b>Abstract</b><br/><br/>I will give a basic introduction to data types and initial-algebra semantics. The meaning of a data type is given as the initial object in a category of types with the corresponding constructors. Initiality immediately allows the modelling of a non-dependent recursion principle. I'll show how this can be upgraded to full dependent elimination, also known as induction, by using the uniqueness of the mediating arrow; in fact, induction is equivalent to recursion plus uniqueness. All possibly unfamiliar terms in this abstract will also be explained.</p><p><b>2016-10-26 11:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#92Sat, 21 Oct 2023 21:24:08 +01002016-10-19: Clemens Kupke (MSP)<h2><a href='http://personal.cis.strath.ac.uk/clemens.kupke'>Clemens Kupke</a> (MSP)</h2><h2>MSP 101: A first introduction to coalgebra</h2><p><b>Abstract</b><br/><br/>The core subject of Computer Science is "generated behaviour" (quiz: who said this?). Coalgebra provides the categorical formalisation of generated behaviour. I am planning to provide a first, very basic introduction to coalgebra. This will consist of two parts: i) coinduction & corecursion as means to define & reason about the (possibly) infinite behaviour of things; ii)modal logics for coalgebras.</p><p><b>2016-10-19 11:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#91Sat, 21 Oct 2023 21:24:08 +01002016-10-12: Neil Ghani (MSP)<h2><a href='http://personal.cis.strath.ac.uk/neil.ghani'>Neil Ghani</a> (MSP)</h2><h2>MSP 101: Category Theory</h2><p><b>2016-10-12 11:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#90Sat, 21 Oct 2023 21:24:08 +01002016-10-05: Ross Duncan (MSP)<h2><a href='http://personal.strath.ac.uk/ross.duncan'>Ross Duncan</a> (MSP)</h2><h2>MSP 101: Rewriting, and operads</h2><p><b>2016-10-05 11:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#89Sat, 21 Oct 2023 21:24:08 +01002016-09-28: James Chapman (MSP)<h2><a href='http://personal.strath.ac.uk/james.chapman'>James Chapman</a> (MSP)</h2><h2>ICFP trip report</h2><p><b>2016-09-28 11:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#88Sat, 21 Oct 2023 21:24:08 +01002016-09-21: Kevin Dunne (MSP)<h2>Kevin Dunne (MSP)</h2><h2>Eventual image functors</h2><p><b>Abstract</b><br/><br/>For a category C we consider the endomorphism category End(C) and the subcategory of automorphisms Aut(C) -> End(C). It has been observed that for C the category of finite sets, finite dimensional vector spaces, or compact metric spaces this inclusion functor admits a simultaneous left and right adjoint.<br/>
<br/>
We give general criteria for the existence of such adjunctions for a broad class of categories which includes FinSet, FinVect and CompMet as special cases. This is done using the language of factorisation systems and by introducing a notion of eventual image functors which provide a general method for constructing adjunctions of this kind.</p><p><b>2016-09-21 11:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#87Sat, 21 Oct 2023 21:24:08 +01002016-09-14: MSP101 Planning session<h2>MSP101 Planning session (LT1310)</h2><h2>MSP101 Planning session</h2><p><b>2016-09-14 11:40:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#86Sat, 21 Oct 2023 21:24:08 +01002016-08-24: Philippa Cowderoy<h2><a href='http://flippac.org'>Philippa Cowderoy</a></h2><h2>Information Effects for Understanding Type Systems</h2><p><b>Abstract</b><br/><br/>Or: how someone else found the maths to justify my dogma</p><p><b>2016-08-24 16:00:00 UTC<br/>LT1415</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#85Sat, 21 Oct 2023 21:24:08 +01002016-07-01: Kevin Dunne (MSP)<h2>Kevin Dunne (MSP)</h2><h2>A New Perspective On Observables in the Category of Relations</h2><p><b>Abstract</b><br/><br/>Practice talk for Quantum Interactions.</p><p><b>2016-07-01 14:00:00 UTC<br/>LT1415</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#84Sat, 21 Oct 2023 21:24:08 +01002016-07-01: Ross Duncan (MSP)<h2><a href='http://personal.strath.ac.uk/ross.duncan/'>Ross Duncan</a> (MSP)</h2><h2>Interacting Frobenius Algebras are Hopf</h2><p><b>Abstract</b><br/><br/>Practice talk for LICS.<br/>
<br/>
Theories featuring the interaction between a Frobenius algebra and a Hopf algebra have recently appeared in several areas in computer science: concurrent programming, control theory, and quantum computing, among others. Bonchi, Sobocinski, and Zanasi have shown that, given a suitable distribution law, a pair of Hopf algebras forms two Frobenius algebras. Coming from the perspective of quantum theory, we take the opposite approach, and show that interacting Frobenius algebras form Hopf algebras. We generalise \cite{Bonchi2014a} by including non-trivial dynamics of the underlying object – the so-called phase group – and investigate the effects of finite dimensionality of the underlying model, and recover the system of Bonchi et al as a subtheory in the prime power dimensional case. We show that the presence of a non-trivial phase group means that the theory cannot be formalised as a distributive law.</p><p><b>2016-07-01 14:00:00 UTC<br/>LT1415</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#83Sat, 21 Oct 2023 21:24:08 +01002016-06-06: Quantum Physics and Logic 2016<h2><a href='http://qpl2016.cis.strath.ac.uk/'>Quantum Physics and Logic 2016</a> (McCance building, Strathclyde)</h2><h2>Quantum Physics and Logic 2016</h2><p><b>2016-06-06 09:00:00 UTC<br/><a href='http://www.strath.ac.uk/maps/mccancebuilding/'>McCance building, Strathclyde</a></b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#82Sat, 21 Oct 2023 21:24:08 +01002016-06-01: Kevin Dunne (MSP)<h2>Kevin Dunne (MSP)</h2><h2>Interacting Frobenius algebras</h2><p><b>Abstract</b><br/><br/>Practice talk for QPL.<br/>
<br/>
Theories featuring the interaction between a Frobenius algebra and a Hopf algebra have recently appeared in several areas in computer science: concurrent programming, control theory, and quantum computing, among others. Bonchi, Sobocinski, and Zanasi (2014) have shown that, given a suitable distributive law, a pair of Hopf algebras forms two Frobenius algebras. Here we take the opposite approach, and show that interacting Frobenius algebras form Hopf algebras. We generalise (BSZ 2014) by including non-trivial dynamics of the underlying object – the so-called phase group – and investigate the effects of finite dimensionality of the underlying model. We recover the system of Bonchi et al as a subtheory in the prime power dimensional case, but the more general theory does not arise from a distributive law.</p><p><b>2016-06-01 12:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#81Sat, 21 Oct 2023 21:24:08 +01002016-05-04: Kevin Dunne (MSP)<h2>Kevin Dunne (MSP)</h2><h2>Factorisation Systems and Algebra</h2><p><b>Abstract</b><br/><br/>I'll show how to generalise some results from algebra (think groups, rings, R-modules etc.) to a categorical setting using factorisation systems and an appropriate notion of finiteness on the objects of a category.</p><p><b>2016-05-04 11:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#80Sat, 21 Oct 2023 21:24:08 +01002016-04-27: Guillaume Allais (Radboud University Nijmegen)<h2><a href='http://gallais.org'>Guillaume Allais</a> (Radboud University Nijmegen)</h2><h2>Typing with Leftovers</h2><p><b>2016-04-27 11:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#79Sat, 21 Oct 2023 21:24:08 +01002016-04-19 Departmental seminar: Andreas Abel (Chalmers and Gothenburg University)<h2><a href='http://www.cse.chalmers.se/~abela/'>Andreas Abel</a> (<a href='http://www.chalmers.se/en/departments/cse/Pages/default.aspx'>Chalmers and Gothenburg University</a>)</h2><h2>Formal languages, coinductively formalized</h2><p><b>Abstract</b><br/><br/>Formal languages and automata are taught to every computer science student. However, the student will most likely not see the beautiful coalgebraic foundations.<br/>
<br/>
In this talk, I recapitulate how infinite trees can represent formal languages (sets of strings). I explain Agda's coinduction mechanism based on copatterns and demonstrate that it allows an elegant representation of the usual language constructions like union, concatenation, and Kleene star, with the help of Brzozowski derivatives. We will also investigate how to reason about equality of languages using bisimulation and coinductive proofs.</p><p><b>2016-04-19 16:00:00 UTC<br/>LT1415</b><br/>http://msp.cis.strath.ac.uk/msp101.html#78Sat, 21 Oct 2023 21:24:08 +01002016-04-14: Categories, Logic, and Physics, Scotland<h2><a href='http://homepages.inf.ed.ac.uk/cheunen/clapscotland/'>Categories, Logic, and Physics, Scotland</a> ( School of Informatics, Edinburgh)</h2><h2>Categories, Logic, and Physics, Scotland</h2><p><b>2016-04-14 10:30:00 UTC<br/> School of Informatics, Edinburgh</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#77Sat, 21 Oct 2023 21:24:08 +01002016-03-31: <h2></h2><h2>Presentations by candidates for the 'Coalgebraic Foundations of Semi-Structured Data' RA position</h2><p><b>2016-03-31 10:30:00 UTC<br/>LT1415</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#76Sat, 21 Oct 2023 21:24:08 +01002016-03-23 Departmental seminar: Bob Atkey (MSP)<h2><a href='http://bentnib.org'>Bob Atkey</a> (MSP)</h2><h2>A static analyser for concurrent Java</h2><p><b>Abstract</b><br/><br/>ThreadSafe is a static analysis tool for finding bugs in concurrent Java code that has been used by companies across the world to analyse and find bugs in large mission industrial applications. I will talk about how ThreadSafe works, and our experiences in applying static analysis technology to the "real world".<br/>
<br/>
ThreadSafe is available from <a href='http://www.contemplateltd.com/'>http://www.contemplateltd.com/</a></p><p><b>2016-03-23 16:00:00 UTC<br/>LT1415</b><br/>http://msp.cis.strath.ac.uk/msp101.html#75Sat, 21 Oct 2023 21:24:08 +01002016-05-25 Departmental seminar: Neil Ghani (MSP)<h2><a href='https://personal.cis.strath.ac.uk/neil.ghani/'>Neil Ghani</a> (MSP)</h2><h2>A Compositional Approach to Game Theory</h2><p><b>Abstract</b><br/><br/>I will sketch an alternative approach to economic game theory based upon the computer science idea of compositionality: concretely we i) give a number of operators for building up complex and irregular games from smaller and simpler games; and ii) show how the Nash equilibrium of these complex games can be defined recursively from their simpler components. We apply compositional reasoning to sophisticated games where agents must reason about how their actions affect future games and how those future games effect the utility they receive. This forces us into a second innovation — we augment the usual lexicon of games with a dual notion to utility because, in order for games to accept utility, this utility must be generated by other games. Our third innovation is to represent our games as string diagrams so as to give a clear visual interface to manipulate them. Our fourth, and final, innovation is a categorical formalisation of these intuitive diagrams which ensures our reasoning about them is fully rigorous.<br/>
<br/>
The talk will be general so as appeal to as wide an audience as possible. In particular, no knowledge of category theory will be assumed!</p><p><b>2016-05-25 15:30:00 UTC<br/>LT908</b><br/>http://msp.cis.strath.ac.uk/msp101.html#74Sat, 21 Oct 2023 21:24:08 +01002016-03-17: Nicolas Behr (Edinburgh)<h2><a href='http://www.inf.ed.ac.uk/people/staff/Nicolas_Behr.html'>Nicolas Behr</a> (<a href='http://wcms.inf.ed.ac.uk/lfcs/'>Edinburgh</a>)</h2><h2>On the rule algebraic reformulation of graph rewriting</h2><p><b>Abstract</b><br/><br/>Motivated by the desire to understand the combinatorics of graph rewriting systems, it proved necessary to invent a formulation of graph rewriting itself that is not based on category theoretic structures as in the traditional framework, but on the concept of diagrammatic combinatorial Hopf algebras and reductions thereof. In this talk, I will present how the classical example of the Heisenberg-Weyl algebra of creation and annihilation of indistinguishable particles, which can alternatively be interpreted as the algebra of discrete graph rewriting, gave the initial clues for this novel framework. In hindsight, to pass from the special case of discrete graph rewriting to the case of general graph rewriting required every aspect of the framework of diagrammatic combinatorial Hopf algebras as a guideline for the construction, yet none of the traditional category theoretic ideas, whence one might indeed consider this reformulation as an independent formulation of graph rewriting.<br/>
<br/>
The new framework results in a number of surprising results even directly from the formulation itself: besides the two main variants of graph rewriting known in the literature (DPO and SPO rewriting), there exist two more natural variants in the new framework. For all four variants, graph rewriting rules are encoded in so-called rule diagrams, with their composition captured in the form of diagrammatic compositions followed by one of four variants of reduction operations. Besides the general structure theory of the resulting algebras aka the rule algebras, one of the most important results to date of this framework in view of applications is the possibility to formulate stochastic graph rewriting systems in terms of the canonical representations of the rule algebras. Notably, this is closely analogous to the formulation of chemical reaction systems in terms of the canonical representation of the Heisenberg-Weyl algebra aka the bosonic Fock space. The presentation will not assume any prior knowledge of the audience on the particular mathematics required for this construction, and will be given on the whiteboard. The work presented is the result of a collaboration with Vincent Danos and Ilias Garnier (ENS Paris/LFCS University of Edinburgh), and (in an earlier phase) with Tobias Heindel (University of Copenhagen).</p><p><b>2016-03-17 11:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#73Sat, 21 Oct 2023 21:24:08 +01002016-03-03: Fredrik Nordvall Forsberg (MSP)<h2><a href='https://personal.cis.strath.ac.uk/fredrik.nordvall-forsberg/'>Fredrik Nordvall Forsberg</a> (MSP)</h2><h2>Comprehensive Parametric Polymorphism</h2><p><b>Abstract</b><br/><br/>In this talk, we explore the fundamental category-theoretic structure needed to model relational parametricity (i.e., the fact that polymorphic programs preserve all relations) for the polymorphic lambda calculus (a.k.a. System F). Taken separately, the notions of categorical model of impredicative polymorphism and relational parametricity are well-known (lambda2-fibrations and reflexive graph categories, respectively). Perhaps surprisingly, simply combining these two structures results in a notion that only enjoys the expected properties in case the underlying category is well-pointed. This rules out many categories of interest (e.g. functor categories) in the semantics of programming languages.<br/>
<br/>
To circumvent this restriction, we modify the definition of fibrational model of impredicative polymorphism by adding one further ingredient to the structure: comprehension in the sense of Lawvere. Our main result is that such comprehensive models, once further endowed with reflexive-graph-category structure, enjoy the expected consequences of parametricity. This is proved using a type-theoretic presentation of the category-theoretic structure, within which the desired consequences of parametricity are derived. Working in this type theory requires new techniques, since equality relations are not available, so that standard arguments that exploit equality need to be reworked.<br/>
<br/>
This is joint work with Neil Ghani and Alex Simpson, and a dry run for a talk in Cambridge the week after.</p><p><b>2016-03-03 11:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#72Sat, 21 Oct 2023 21:24:08 +01002016-01-26: Aleks Kissinger (Nijmegen)<h2><a href='http://www.cs.ru.nl/A.Kissinger/'>Aleks Kissinger</a> (<a href='http://www.ru.nl/ds/'>Nijmegen</a>)</h2><h2>Rewriting modulo symmetric monoidal structure</h2><p><b>Abstract</b><br/><br/>String diagrams give a powerful graphical syntax for morphisms in symmetric monoidal categories (SMCs). They find many applications in computer science and are becoming increasingly relevant in other fields such as physics and control theory.<br/>
<br/>
An important role in many such approaches is played by equational theories of diagrams, which can be oriented and used as rewrite systems. In this talk, I'll lay the foundations for this form of rewriting by interpreting diagrams combinatorially as typed hypergraphs and establish the precise correspondence between diagram rewriting modulo the laws of SMCs on the one hand and double pushout (DPO) rewriting of hypergraphs, subject to a soundness condition called convexity, on the other. This result rests on a more general characterisation theorem in which we show that typed hypergraph DPO rewriting amounts to diagram rewriting modulo the laws of SMCs with a chosen special Frobenius structure.<br/>
<br/>
If there's time, I'll also discuss some of the results we have in developing the rewrite theory of hypergraphs for SMCs, namely termination proofs via graph metrics and strongly convex critical pair analysis.</p><p><b>2016-01-26 15:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#71Sat, 21 Oct 2023 21:24:08 +01002016-01-26: John Power (Bath)<h2><a href='http://www.bath.ac.uk/comp-sci/contacts/academics/john_power/'>John Power</a> (<a href='http://www.bath.ac.uk/comp-sci/'>Bath</a>)</h2><h2>Enriched Lawvere Theories</h2><p><b>Abstract</b><br/><br/>In this talk, we consider extending Lawvere theories to allow enrichment in a base category such as CMonoid, Poset or Cat. In doing so, we see that we need to alter the formulation in a fundamental way, using the notion of cotensor, a kind of limit that is hidden in the usual accounts of ordinary category theory but is fundamental to enriched category theory. If time permits, we will briefly consider the specific issues that arise when one has two-dimensional structure in the enriching category, as exemplified by Poset and Cat.</p><p><b>2016-01-26 10:30:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#70Sat, 21 Oct 2023 21:24:08 +01002016-01-25: John Power (Bath)<h2><a href='http://www.bath.ac.uk/comp-sci/contacts/academics/john_power/'>John Power</a> (<a href='http://www.bath.ac.uk/comp-sci/'>Bath</a>)</h2><h2>Lawvere Theories</h2><p><b>Abstract</b><br/><br/>In 1963, Bill Lawvere characterised universal algebra in category theoretic terms. His formulation being category theoretic was not its central contribution: more fundamental was its presentation independence. Three years later, monads were proposed as another category theoretic formulation of universal algebra. Overall, the former are technically better but the relationship is particularly fruitful and the latter are more prominent, cf Betamax vs VHS. So we study Lawvere theories carefully in the setting of universal algebra and in relation to monads.</p><p><b>2016-01-25 10:30:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#69Sat, 21 Oct 2023 21:24:08 +01002016-02-25: Conor McBride (MSP)<h2><a href='https://personal.cis.strath.ac.uk/conor.mcbride/'>Conor McBride</a> (MSP)</h2><h2>Excuse My Extrusion</h2><p><b>Abstract</b><br/><br/>I have recently begun to learn about the Cubical Type Theory of Coquand et al., as an effective computational basis for Voevodsky's Univalent Foundations, inspired by a model of type theory in cubical sets. It is in some ways compelling in its simplicity, but in other ways intimidating in its complexity. In order to get to grips with it, I have begun to develop my own much less subtle variation on the theme. If I am lucky, I shall get away with it. If I am unlucky, I shall have learned more about why Cubical Type Theory has to be as subtle as it is.<br/>
<br/>
My design separates Coquand's all-powerful "compose" operator into smaller pieces, dedicated to more specific tasks, such as transitivity of paths. Each type path Q : S = T, induces a notion of value path s {Q} t, where either s : S, or s is •, "blob", and similarly, t : T or t = •. A "blob" at one end indicates that the value at that end of the path is not mandated by the type. This liberalisation in the formation of "equality" types allows us to specify the key computational use of paths between types, extrusion:<br/>
<br/>
if Q : S = T and s : S, then s ⌢• Q : s {Q} •<br/>
<br/>
That is, whenever we have a value s at one end of a type path Q : S = T, we can extrude that value across the type path, getting a value path which is s at the S end, but whose value at the T end is not specified in advance of explaining how to compute it. Extrusion gives us a notion of coercion-by-equality which is coherent by construction. It is defined by recursion on the structure of type paths. Univalence can be added to the system by allowing the formation of types interpolating two equivalent types, with extrusion demanding the existence of the corresponding interpolant values, computed on demand by means of the equivalence.<br/>
<br/>
So far, there are disconcerting grounds for optimism, but the whole of the picture has not yet emerged: I may just have pushed the essential complexity into one corner, or the whole thing may be holed below the waterline. But if it does turn out to be nonsense, it will be nonsense for an interesting reason.</p><p><b>2016-02-25 11:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#68Sat, 21 Oct 2023 21:24:08 +01002016-02-18: Clemens Kupke (MSP)<h2><a href='https://personal.cis.strath.ac.uk/clemens.kupke/'>Clemens Kupke</a> (MSP)</h2><h2>Coalgebraic Dynamic Logics</h2><p><b>Abstract</b><br/><br/>I will present work in progress on a (co)algebraic framework that allows to uniformly study dynamic modal logics such as Propositional Dynamic Logic (PDL) and Game Logic (GL). Underlying our framework is the basic observation that the program/game constructs of PDL/GL arise from monad structure, and that the axioms of these logics correspond to compatibility requirements between the modalities and this monad structure. So far we have a general soundness and completeness result for PDL-like logics wrt T-coalgebras for a monad T. I will discuss our completeness theorem, its limitations and plans for extending our results. [For the latter we might require the help of koalas, wallabies and wombats.]</p><p><b>2016-02-18 14:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#67Sat, 21 Oct 2023 21:24:08 +01002016-02-11: Fredrik Nordvall Forsberg (MSP)<h2><a href='https://personal.cis.strath.ac.uk/fredrik.nordvall-forsberg/'>Fredrik Nordvall Forsberg</a> (MSP)</h2><h2>Introduction to (infinity, 1)-categories</h2><p><b>Abstract</b><br/><br/>Infinity-categories simultaneously generalise topological spaces and categories. Intuitively, a (weak) infinity-category should have objects, morphisms, 2-morphisms, 3-morphisms, ... and identity morphisms and composition which is suitably unital and associative up to a higher (invertible) morphism (the number 1 in (infinity, 1)-category means that k-morphisms for k > 1 are invertible) . The trouble begins when one naively tries to make these coherence conditions precise; already 4-categories famously requires <a href='http://math.ucr.edu/home/baez/trimble/tetracategories.html'>51 pages to define explicitly</a>. Instead, one typically turns to certain "models" of infinity-categories that encode all this data implicitly, usually as some kind of simplicial object with additional properties. I will introduce two such models: quasicategories and complete Segal spaces. If time allows, I will also discuss hopes and dreams about internalising these notions in Type Theory, which should give a satisfactory treatment of category theory in Type Theory without assuming Uniqueness of Identity Proofs.</p><p><b>2016-02-11 11:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#66Sat, 21 Oct 2023 21:24:08 +01002016-02-04: Neil Ghani (MSP)<h2><a href='https://personal.cis.strath.ac.uk/neil.ghani/'>Neil Ghani</a> (MSP)</h2><h2>Two Constructions on Games</h2><p><b>Abstract</b><br/><br/>I've been working with Jules Hedges on a compositional model of game theory. After briefly reminding you of the model, I'll discuss where we are at – namely the definition of morphisms between games, and the treatment of choice and iteration of games. I'm hoping you will be able to shed some light on this murky area. There is a draft paper if anyone is interested.</p><p><b>2016-02-04 11:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#65Sat, 21 Oct 2023 21:24:08 +01002016-01-28: Kevin Dunne (MSP)<h2>Kevin Dunne (MSP)</h2><h2>Introduction to sheaves</h2><p><b>2016-01-28 11:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#64Sat, 21 Oct 2023 21:24:08 +01002016-01-21: Guillaume Allais (MSP)<h2><a href='http://gallais.org'>Guillaume Allais</a> (MSP)</h2><h2>Overview: A Type Theory for Probabilistic and Bayesian Reasoning</h2><p><b>Abstract</b><br/><br/>The probabilistic calculus introduced in the eponymous paper by Robin Adams and Bart Jacobs is inspired by quantum theory by considering that conditional probabilities can be seen as side-effect-free measurements. A type-theoretic treatment of this semantic observation leads, once equipped with suitable computation rules, to the ability to do exact conditional inference.<br/>
<br/>
I will present the type theory and the accompanying computation rules proposed in the paper and discuss some of the interesting open questions I will be working on in the near future. </p><p><b>2016-01-21 11:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#63Sat, 21 Oct 2023 21:24:08 +01002016-01-13: MSP101 Planning session<h2>MSP101 Planning session (LT1310)</h2><h2>MSP101 Planning session</h2><p><b>2016-01-13 13:40:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#62Sat, 21 Oct 2023 21:24:08 +01002015-12-02: Bob Atkey (MSP)<h2><a href='http://bentnib.org'>Bob Atkey</a> (MSP)</h2><h2>Introduction to coherence spaces, and how to use them for dependent session types</h2><p><b>Abstract</b><br/><br/>Coherence spaces are a simplification of Scott domains, introduced by Girard to give a semantics to the polymorphic lambda-calculus. While investigating the structure of coherence spaces, Girard noticed that the denotation of the function type in coherence spaces can be decomposed into two independent constructions: a linear ("use-once") function space, and a many-uses-into-one-use modality. And so Linear Logic was discovered.<br/>
<br/>
Coherence spaces are interesting because they model computation at a low level in terms of interchange of atomic 'tokens' of information. This makes them a useful tool for understanding several different computational phenomena.<br/>
<br/>
In this talk, I'll show how coherence spaces naturally model session types, via Wadler's interpretation of Classical Linear Logic as a session-typed pi-calculus, and how that interpretation extends to an interpretation of a dependently typed version of session types.</p><p><b>2015-12-02 11:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#61Sat, 21 Oct 2023 21:24:08 +01002015-11-18: Bram Westerbaan (Nijmegen)<h2><a href='http://bram.westerbaan.name/home/'>Bram Westerbaan</a> (<a href='http://www.ru.nl/icis/'>Nijmegen</a>)</h2><h2>The categorical structure of von Neumann algebras</h2><p><b>Abstract</b><br/><br/>I would like to speak about the categorical structure of the category of von Neumann algebras, with as morphisms normal, completely positive, unital linear maps. For some years my colleagues and I have worked on identifying basic structures in this category, and while surprisingly many things do not exist or do not work in this category (it's not a topos or even an extensive category, there's no epi-mono factorisation system, there is no dagger, colimits — if they exist at all — are horrendous...), we did find some structure (the products behave reasonable in some sense, there is a 'quotient', and 'comprehension', and we have a universal property for the minimal Stinespring dilation, and a universal property for M_2—the qubit). There is no deep category theory involved by any standards, and I promise I will spare you the functional analysis, so it should be a light talk.</p><p><b>2015-11-18 11:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#60Sat, 21 Oct 2023 21:24:08 +01002015-11-11: Clemens Kupke (MSP)<h2><a href='https://personal.cis.strath.ac.uk/clemens.kupke/'>Clemens Kupke</a> (MSP)</h2><h2>The Power of Coalitions</h2><p><b>Abstract</b><br/><br/>Due to popular demand I am going to give a brief introduction to Marc Pauly's Coalition Logic, a propositional modal logic that allows to reason about the power of coalitions in strategic games. I will provide motivation and basic definitions. Furthermore I am planning to discuss how the logic can be naturally viewed as a coalgebraic logic and what we gain from the coalgebraic perspective. Finally — if (preparation) time permits — I am going to say how the logic can be applied to the area of mechanism design.</p><p><b>2015-11-11 11:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#59Sat, 21 Oct 2023 21:24:08 +01002015-10-22: Viktor Winschel (ETH Zurich)<h2><a href='http://www.vikwin.de/'>Viktor Winschel</a> (<a href='http://www.irme.ethz.ch/'>ETH Zurich</a>)</h2><h2>Semantics for Social Systems where Theory about the System Changes the System</h2><p><b>Abstract</b><br/><br/>In societies the notion of a law is not given by nature. Instead social dynamics are driven by the theories the citizens have about the dynamics of the social system. Obviously self-referential mathematical structures, developed in computer science, are candidates to be applied in social sciences for this foundational issue. We will see a prototypical game theoretical problem where several computer scientific tools can help to discuss these structures. It is a long standing problem in economics and of human kind and their scarce recourses: "should we go to a bar that is always so overcrowded"?</p><p><b>2015-10-22 15:00:00 UTC<br/>LT1415</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#58Sat, 21 Oct 2023 21:24:08 +01002015-10-06: Alessandra Palmigiano (TU Delft)<h2><a href='http://www.appliedlogictudelft.nl/alessandra-palmigiano/'>Alessandra Palmigiano</a> (<a href='http://www.appliedlogictudelft.nl/'>TU Delft</a>)</h2><h2>Proof-theoretic semantics for dynamic logics</h2><p><b>Abstract</b><br/><br/>Research in the proof theory of dynamic logics has recently gained momentum. However, features which are essential to these logics prevent standard proof-theoretic methodologies to apply straightforwardly. In this talk, I will discuss the main properties proof systems should enjoy in order to serve as suitable environments for an inferential theory of meaning (proof-theoretic semantics). Then, I'll identify the main challenges to the inferential semantics research agenda posed by the very features of dynamic logics which make them so appealing and useful to applications. Finally, I'll illustrate a methodology generating multi-type display calculi, which has been successful on interesting case studies (dynamic epistemic logic, propositional dynamic logic, monotone modal logic).<br/>
<br/>
References<br/>
<br/>
1. S. Frittella, G. Greco, A. Kurz, A. Palmigiano, V. Sikimić, A Proof-Theoretic Semantic Analysis of Dynamic Epistemic Logic, Journal of Logic and Computation, Special issue on Substructural logic and information dynamics (2014), DOI:10.1093/logcom/exu063.<br/>
<br/>
2. S. Frittella, G. Greco, A. Kurz, A. Palmigiano, V. Sikimić, Multi-type Display Calculus for Dynamic Epistemic Logic, Journal of Logic and Computation, Special issue on Substructural logic and information dynamics (2014), DOI:10.1093/logcom/exu068.<br/>
<br/>
3. S. Frittella, G. Greco, A. Kurz, A. Palmigiano, Multi-type Display Calculus for Propositional Dynamic Logic, Special issue on Substructural logic and information dynamics (2014), DOI:10.1093/logcom/exu064.<br/>
<br/>
4. S. Frittella, G. Greco, A. Kurz, A. Palmigiano, V. Sikimić, Multi-type Sequent Calculi, Proc. Trends in Logic XIII, A. Indrzejczak, J. Kaczmarek, M. Zawidski eds, p 81-93, 2014.<br/>
<br/>
5. G. Greco, A. Kurz, A. Palmigiano, Dynamic Epistemic Logic Displayed, Proc. Fourth International Workshop on Logic, Rationality and Interaction (LORI 2013) Eds: Huaxin Huang, Davide Grossi, Olivier Roy eds, 2013.</p><p><b>2015-10-06 15:00:00 UTC<br/>LT1415</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#57Sat, 21 Oct 2023 21:24:08 +01002015-09-25: Pierre Lescanne (ENS Lyon)<h2><a href='http://perso.ens-lyon.fr/pierre.lescanne/'>Pierre Lescanne</a> (<a href='http://www.ens-lyon.fr/LIP/PLUME/'>ENS Lyon</a>)</h2><h2>Coinduction, Equilibrium and Rationality of Escalation</h2><p><b>Abstract</b><br/><br/>Escalation is the behavior of players who play forever in the same game. Such a situation is a typical field for application of coinduction which is the tool conceived for reasoning in infinite mathematical structures. In particular, we use coinduction to study formally the game called <i>dollar auction</i>, which is considered as the paradigm of escalation. Unlike what is admitted since 1971, we show that, provided one assumes that the other agent will always stop, bidding is rational, because it results in a subgame perfect equilibrium. We show that this is not the only rational strategy profile (the only subgame perfect equilibrium). Indeed if an agent stops and will stop at every step, whereas the other agent keeps bidding, we claim that he is rational as well because this corresponds to another subgame perfect equilibrium. In the infinite dollar auction game the behavior in which both agents stop at each step is not a Nash equilibrium, hence is not a subgame perfect equilibrium, hence is not rational. Fortunately, the notion of rationality based on coinduction fits with common sense and experience. Finally the possibility of a rational escalation in an arbitrary game can be expressed as a predicate on games and the rationality of escalation in the dollar auction game can be proved as a theorem which we have verified in the proof assistant COQ. In this talk we will recall the principles of infinite extensive games and use them to introduce coinduction and equilibria (Nash equilibrium, subgame perfect equilibrium). We will show how one can prove that the two strategy profiles presented above are equilibria and how this leads to a "rational" escalation in the dollar auction. We will show that escalation may even happen in much simpler game named 0,1-game.</p><p><b>2015-09-25 16:00:00 UTC<br/>LT1415</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#56Sat, 21 Oct 2023 21:24:08 +01002015-10-28: Ross Duncan (MSP)<h2><a href='http://personal.strath.ac.uk/ross.duncan/'>Ross Duncan</a> (MSP)</h2><h2>Interacting Frobenius Algebras Are Hopf</h2><p><b>Abstract</b><br/><br/>Commutative Frobenius algebras play an important role in both Topological Quantum Field Theory and Categorical Quantum Mechanics; in the first case they correspond to 2D TQFTs, while in the second they are non-degenerate observables. I will consider the case of "special" Frobenius algebras, and their associated group of phases. This gives rise to a free construction from the category of abelian groups to the PROP generated by this Frobenius algebra. Of course a theory with only one observable is not very interesting. I will consider how two such PROPs should be combined, and show that if the two algebras (i) jointly form a bialgebra and (ii) their units are "mutually real"; then they jointly form a Hopf algebra. This gives a "free" model of a pair of strongly complementary observables. I will also consider which unitary maps must exist in such models.<br/>
<br/>
Slides are <a href='http://personal.strath.ac.uk/ross.duncan/talks/2015/vienna.pdf'>here</a> if you want a preview.</p><p><b>2015-10-28 11:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#55Sat, 21 Oct 2023 21:24:08 +01002015-10-21: SPLS<h2><a href='http://simonjf.com/spls-oct2015/'>SPLS</a> (Edinburgh)</h2><h2>SPLS</h2><p><b>2015-10-21 12:30:00 UTC<br/>Edinburgh</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#54Sat, 21 Oct 2023 21:24:08 +01002015-10-14: Guillaume Allais (MSP)<h2><a href='http://gallais.org'>Guillaume Allais</a> (MSP)</h2><h2>Type and Scope Preserving Semantics</h2><p><b>Abstract</b><br/><br/>We introduce a notion of type and scope preserving semantics generalising Goguen and McKinna's "Candidates for Substitution" approach to defining one traversal generic enough to be instantiated to renaming first and then substitution. Its careful distinction of environment and model values as well as its variation on a structure typical of a Kripke semantics make it capable of expressing renaming and substitution but also various forms of Normalisation by Evaluation as well as, perhaps more surprisingly, monadic computations such as a printing function.<br/>
<br/>
We then demonstrate that expressing these algorithms in a common framework yields immediate benefits: we can deploy some logical relations generically over these instances and obtain for instance the fusion lemmas for renaming, substitution and normalisation by evaluation as simple corollaries of the appropriate fundamental lemma. All of this work has been formalised in Agda.</p><p><b>2015-10-14 11:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#53Sat, 21 Oct 2023 21:24:08 +01002015-10-07: STP<h2><a href='http://staff.computing.dundee.ac.uk/christopherwarburton/stp/2015/10/'>STP</a> (Dundee)</h2><h2>STP</h2><p><b>2015-10-07 12:00:00 UTC<br/>Dundee</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#52Sat, 21 Oct 2023 21:24:08 +01002015-09-30: Bob Atkey (MSP)<h2><a href='http://bentnib.org'>Bob Atkey</a> (MSP)</h2><h2>ICFP trip report</h2><p><b>2015-09-30 11:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#51Sat, 21 Oct 2023 21:24:08 +01002015-09-23: MSP101 Planning session<h2>MSP101 Planning session (LT1310)</h2><h2>MSP101 Planning session</h2><p><b>2015-09-23 11:30:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#50Sat, 21 Oct 2023 21:24:08 +01002015-09-16: Giovanni Ciná (Amsterdam)<h2><a href='https://sites.google.com/site/homepagegcina/'>Giovanni Ciná</a> (<a href='http://www.illc.uva.nl/'>Amsterdam</a>)</h2><h2>Contextuality, path logic and a modal logic for Social Choice Theory</h2><p><b>Abstract</b><br/><br/>Social Choice functions are procedures used to aggregate the preferences of individuals into a collective decision. We outline two recent abstract approaches to SCFs: a recent sheaf treatment of Arrow's Theorem by Abramsky and a modal logic studied by Ulle Endriss and myself. We show how to relate the categorical modelling of Social Choice problems to said work in Modal Logic. This insight prompts a number of research questions, from the relevance of sheaf-like condition to the modelling of properties of SCFs on varying electorates.</p><p><b>2015-09-16 11:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#49Sat, 21 Oct 2023 21:24:08 +01002015-09-02: Ross Duncan (MSP)<h2><a href='http://personal.strath.ac.uk/ross.duncan/'>Ross Duncan</a> (MSP)</h2><h2>Concurrent games</h2><p><b>2015-09-02 11:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#48Sat, 21 Oct 2023 21:24:08 +01002015-08-13: Jeremy Siek (Indiana University)<h2><a href='http://wphomes.soic.indiana.edu/jsiek/'>Jeremy Siek</a> (<a href='http://lambda.soic.indiana.edu/home'>Indiana University</a>)</h2><h2>The Polymorphic Blame Calculus and Parametricity</h2><p><b>Abstract</b><br/><br/>The Polymorphic Blame Calculus (PBC) of Ahmed et al. (2011) combines polymorphism, as in System F, with type dynamic and runtime casts, as in the Blame Calculus. The PBC is carefully designed to ensure relational parametricity, that is, to ensure that type abstractions do not reveal their abstracted types. The operational semantics of PBC uses runtime sealing and syntactic barriers to enforce parametricity. However, it is an open question as to whether these mechanisms actually guarantee parametricity for the PBC. Furthermore, there is some question regarding what parametricity means in the context of the PBC, as we have examples that are morally parametric but not technically so. This talk will review the design of the PBC with respect to ensuring parametricity and hopefully start a discussion regarding what parametricity should mean for the PBC.</p><p><b>2015-08-13 15:00:00 UTC<br/>LT1415</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#47Sat, 21 Oct 2023 21:24:08 +01002015-08-26: Kevin Dunne (MSP)<h2>Kevin Dunne (MSP)</h2><h2>Comonadic Cellular Automata II</h2><p><b>Abstract</b><br/><br/>This is a sequel to my last 101 where I spoke about describing cellular automata as algebras of a comonad on Set. I'll describe how we can make sense of "generalised cellular automata" (probabilistic/non-deterministic/quantum, for example) as comonads on other categories via distributive laws of monads and comonads.</p><p><b>2015-08-26 11:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#46Sat, 21 Oct 2023 21:24:08 +01002015-07-23: Ross Duncan (MSP)<h2><a href='http://personal.strath.ac.uk/ross.duncan/'>Ross Duncan</a> (MSP)</h2><h2>Free interacting observables</h2><p><b>2015-07-23 11:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#45Sat, 21 Oct 2023 21:24:08 +01002015-05-26: Paul Levy (Birmingham)<h2><a href='http://www.cs.bham.ac.uk/~pbl/'>Paul Levy</a> (<a href='http://www.cs.bham.ac.uk/'>Birmingham</a>)</h2><h2>Final coalgebras from corecursive algebras</h2><p><b>Abstract</b><br/><br/>We give a technique to construct a final coalgebra out of modal logic. An element of the final coalgebra is a set of modal formulas. The technique works for both the finite and the countable powerset functors. Starting with a corecursive algebra, we coinductively obtain a suitable subalgebra. We see - first with an example, and then in the general setting of modal logic on a dual adjunction - that modal theories form a corecursive algebra, so that this construction may be applied.<br/>
<br/>
We generalize the framework to categories other than Set, and look at examples in Poset and in the opposite category of Set.</p><p><b>2015-05-26 16:00:00 UTC<br/>LT1415</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#44Sat, 21 Oct 2023 21:24:08 +01002015-05-13: Federico Orsanigo (MSP)<h2>Federico Orsanigo (MSP)</h2><h2>Two-dimensional proof-relevant parametricity</h2><p><b>Abstract</b><br/><br/>Relational parametricity is a fundamental concept within theoretical computer science and the foundations of programming languages, introduced by John Reynolds. His fundamental insight was that types can be interpreted not just as functors on the category of sets, but also as equality preserving functors on the category of relations. This gives rise to a model where polymorphic functions are uniform in a suitable sense; this can be used to establish e.g. representation independence, equivalences between programs, or deriving useful theorems about programs from their type alone.<br/>
<br/>
The relations Reynolds considered were proof-irrelevant, which from a type theoretic perspective is a little limited. As a result, one might like to extend his work to deal with proof-relevant, i.e. set-valued relations. However naive attempts to do this fail: the fundamental property of equality preservation cannot be established. Our insight is that just as one uses parametricity to restrict definable elements of a type, one can use parametricity of proofs to ensure equality preservation. The idea of parametricity for proofs can be formalised using the idea of 2-dimensional logical relations. Interestingly, these 2-dimensional relations have clear higher dimensional analogues where (n+1)-relations are fibered over a n-cube of n-relations. Thus the story of proof relevant logical relations quickly expands into one of higher dimensional structures similar to the cubical sets which arises in Homotopy Type Theory. Of course, there are also connections to Bernardy and Moulin's work on internal parametricity.</p><p><b>2015-05-13 11:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#43Sat, 21 Oct 2023 21:24:08 +01002015-05-08 Departmental seminar: Svante Linusson (KTH, Stockholm)<h2><a href='https://people.kth.se/~linusson/'>Svante Linusson</a> (<a href='https://www.kth.se/en/sci/institutioner/math'>KTH, Stockholm</a>)</h2><h2>The probability of the Alabama paradox</h2><p><b>Abstract</b><br/><br/>There exists various possible methods to distribute seats proportionally between states (or parties) in a parliament. Hamilton's method (also known as the method of largest reminder) was abandoned in the USA because of some drawbacks, in particular the possibility of the Alabama paradox, but it is still in use in many other countries.<br/>
<br/>
In recent work (joint with Svante Janson) we give, under certain assumptions, a closed formula for the probability that the Alabama paradox occurs given the vector p_1,...,p_m of relative sizes of the states.<br/>
<br/>
From the theorem we deduce a number of consequences. For example it is shown that the expected number of states that will suffer from the Alabama paradox is asymptotically bounded above by 1/e. For random (uniformly distributed) relative sizes p_1,...,p_m the expected number of states to suffer from the Alabama paradox converges to slightly more than a third of this, or approximately 0.335/e=0.123, as m -> infinity.<br/>
<br/>
I will assume no prior knowledge of electoral mathematics, but begin by giving a brief background to various methods suggested and used for the distribution of seats proportionally in a parliament (it's all in the rounding).</p><p><b>2015-05-08 15:00:00 UTC<br/>LT1415</b><br/>http://msp.cis.strath.ac.uk/msp101.html#42Sat, 21 Oct 2023 21:24:08 +01002015-05-06: Jules Hedges (Queen Mary University of London)<h2><a href='http://www.eecs.qmul.ac.uk/~julesh/'>Jules Hedges</a> (<a href='http://theory.eecs.qmul.ac.uk/'>Queen Mary University of London</a>)</h2><h2>Game theory in string diagrams</h2><p><b>Abstract</b><br/><br/>We define a category whose morphisms are 'games relative to a continuation', designed to allow games to be built recursively from simple components. The resulting category has interesting structure similar to (but weaker than) compact closed, and comes with an associated string diagram language.</p><p><b>2015-05-06 11:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#41Sat, 21 Oct 2023 21:24:08 +01002015-04-29: Bob Atkey (MSP)<h2><a href='http://bentnib.org'>Bob Atkey</a> (MSP)</h2><h2>An Introduction to Differential Privacy</h2><p><b>Abstract</b><br/><br/>Let's say you have a database of people's private information. For SCIENCE, or some other reason, you want to let third parties query your data to learn aggregate information about the people described in the database. However, you have a duty to the people whose information your database contains not to reveal any of their individual personal information. How do you determine which queries you will let third parties execute, and those you will not?<br/>
<br/>
"Differential Privacy" defines a semantic condition on probabilistic queries that identifies queries that are safe to execute, up to some "privacy budget".<br/>
<br/>
I'll present the definition of differential privacy, talk a bit about why it is better than some 'naive' alternatives (e.g., anonymisation), and also describe how the definition can be seen as an instance of relational parametricity.<br/>
<br/>
A good place to read about the definition of differential privacy is the book "The Algorithmic Foundations of Differential Privacy" by Cynthia Dwork and Aaron Roth.</p><p><b>2015-04-29 11:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#40Sat, 21 Oct 2023 21:24:08 +01002015-03-20 Departmental seminar: Chris Heunen (Oxford)<h2><a href='http://www.cs.ox.ac.uk/people/chris.heunen/'>Chris Heunen</a> (<a href='http://www.cs.ox.ac.uk/'>Oxford</a>)</h2><h2>Approximating transition systems</h2><p><b>Abstract</b><br/><br/>Classical computation, invertible computation, probabilistic computation, and quantum computation, form increasingly more sophisticated labelled transition systems. How can we approximate a transition system by less sophisticated ones? Considering all ways to get probabilistic information out of a quantum system leads to domain-theoretic ideas, that also apply in the accompanying Boolean logic. I will survey to what extent these domains characterise the system, leading with examples from quantum theory, in a way that is accessible to a broad audience of computer scientists, mathematicians, and logicians.</p><p><b>2015-03-20 15:00:00 UTC<br/>LT1415</b><br/>http://msp.cis.strath.ac.uk/msp101.html#39Sat, 21 Oct 2023 21:24:08 +01002015-04-29 Departmental seminar: Uli Kraehmer (University of Glasgow)<h2><a href='http://www.maths.gla.ac.uk/~ukraehmer/'>Uli Kraehmer</a> (<a href='http://www.maths.gla.ac.uk/'>University of Glasgow</a>)</h2><h2>Cyclic homology from mixed distributive laws</h2><p><b>Abstract</b><br/><br/>In pure mathematics, cyclic homology is an invariant of associative algebras that is motivated by algebra, topology and even mathematicial physics. However, when studied from an abstract point of view it turns out to be an invariant of a pair of a monad and a comonad that are related by a mixed distributive law, and I speculate that this could lead to some potential applications in computer science.<br/>
<br/>
(based on joint work with Niels Kowalzig and Paul Slevin)</p><p><b>2015-04-29 15:00:00 UTC<br/>LT1415</b><br/>http://msp.cis.strath.ac.uk/msp101.html#38Sat, 21 Oct 2023 21:24:08 +01002015-04-22: Guillaume Allais (MSP)<h2><a href='http://gallais.org'>Guillaume Allais</a> (MSP)</h2><h2>Patterns to avoid: (dependent) stringly-typed programming</h2><p><b>Abstract</b><br/><br/>Type : Set<br/>
Type = String -> Bool</p><p><b>2015-04-22 14:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#37Sat, 21 Oct 2023 21:24:08 +01002015-03-11: Peter Hancock<h2>Peter Hancock</h2><h2>Collapsing</h2><p><b>Abstract</b><br/><br/><p>The topic comes from theory of infinitary proofs, and cut-elimination. In essence it is about nicely-behaved maps from higher "infinities" to lower ones, as the infinitary proofs are er, infinite, and can be thought of as glorified transfinite iterators. What might nice behaviour mean?</p><p>You can think of it as how to fit an uncountable amount of beer into a bladder whose capacity is merely countable. (Or maybe even finite.)</p><p>The most ubiquitous form of infinity is the regular cardinal, iepassing from a container F to F + (mu F -> _), where mu is the W-type operation. I'll "explain" regular collapsing as being all about diagonalisation.</p></p><p><b>2015-03-11 11:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#36Sat, 21 Oct 2023 21:24:08 +01002015-03-04: A HoTT-Date with Thorsten Altenkirch<h2><a href='http://msp.cis.strath.ac.uk/hott-afternoon/'>A HoTT-Date with Thorsten Altenkirch</a> (LT1415)</h2><h2>A HoTT-Date with Thorsten Altenkirch</h2><p><b>2015-03-04 14:00:00 UTC<br/>LT1415</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#35Sat, 21 Oct 2023 21:24:08 +01002015-02-18: SPLS @ Strathclyde<h2>SPLS @ Strathclyde (Royal College Building, room RC512)</h2><h2>SPLS @ Strathclyde</h2><p><b>2015-02-18 12:00:00 UTC<br/><a href='http://www.strath.ac.uk/maps/royalcollegebuilding/'>Royal College Building, room RC512</a></b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#34Sat, 21 Oct 2023 21:24:08 +01002015-02-11: Conor McBride (MSP)<h2><a href='https://personal.cis.strath.ac.uk/conor.mcbride/'>Conor McBride</a> (MSP)</h2><h2>Totality versus Turing Completeness?</h2><p><b>Abstract</b><br/><br/>I gave an <a href='http://www.dcs.gla.ac.uk/research/spls/Mar12/'>SPLS talk</a>, which was mostly propaganda, about why people should stop claiming that totality loses Turing completeness. There was some technical stuff, too, about representing a recursive definition as a construction in the free monad whose effect is calling out to an oracle for recursive calls: that tells you what it is to be recursive without prejudicing how to run it. I'm trying to write this up double-quick as a paper for the miraculously rubbery MPC deadline, with more explicit attention to the monad morphisms involved. So I'd be grateful if you would slap down the shtick and make me more morphic. The punchline is that the Bove-Capretta domain predicate construction is a (relative) monad morphism from the free monad with a recursion oracle to the (relative) monad of Dybjer-Setzer Induction-Recursion codes. But it's worth looking at other monad morphisms (especially to the Delay monad) along the way.</p><p><b>2015-02-11 11:00:00 UTC<br/>LT1415</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#33Sat, 21 Oct 2023 21:24:08 +01002015-01-28: Tarmo Uustalu (Institute of Cybernetics, Tallinn)<h2><a href='http://www.cs.ioc.ee/~tarmo/'>Tarmo Uustalu</a> (<a href='http://cs.ioc.ee/'>Institute of Cybernetics, Tallinn</a>)</h2><h2>Runners for your computations</h2><p><b>Abstract</b><br/><br/>What structure is required of a set so that computations in a given notion of computation can be run statefully this with set as the state space? Some answers: To be able to serve stateful computations, a set must carry the structure of a lens; for running interactive I/O computations statefully, a "responder-listener" structure is necessary etc. I will observe that, in general, to be a runner of computations for an algebraic theory (defined as a set equipped with a monad morphism between the corresponding monad and the state monad for this set) is the same as to be a comodel of this theory, ie a coalgebra of the corresponding comonad. I will work out a number of instances. I will also compare runners to handlers.</p><p><b>2015-01-28 16:30:00 UTC<br/>LT1415</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#32Sat, 21 Oct 2023 21:24:08 +01002015-01-22: James Chapman (Institute of Cybernetics, Tallinn)<h2><a href='http://cs.ioc.ee/~james/'>James Chapman</a> (<a href='http://cs.ioc.ee/'>Institute of Cybernetics, Tallinn</a>)</h2><h2>Termination, later</h2><p><b>Abstract</b><br/><br/>It would be a great shame if dependently-typed programming (DTP) restricted us to only writing very clever programs that were a priori structurally recursive and hence obviously terminating. Put another way, it is a lot to ask of the programmer to provide the program and its termination proof in one go, programmers should also be supported in working step-by-step. I will show a technique that lowers the barrier of entry, from showing termination to only showing productivity up front, and then later providing the opportunity to show termination (convergence). I will show an example of a normaliser for STLC represented in Agda as a potentially non-terminating but nonetheless productive corecursive function targeting the coinductive delay monad.<br/>
<br/>
(Joint work with Andreas Abel)</p><p><b>2015-01-22 11:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#31Sat, 21 Oct 2023 21:24:08 +01002014-12-17: Conor McBride (MSP)<h2><a href='https://personal.cis.strath.ac.uk/conor.mcbride/'>Conor McBride</a> (MSP)</h2><h2>Worlds, Types and Quantification</h2><p><b>Abstract</b><br/><br/>I've managed to prove a theorem that I've been chasing for a while. The trouble, of course, was <em>stating</em> it. I'll revisit the motivation for extending type systems with an analysis of not just <em>what</em> things are but <em>where</em>, <em>when</em>, <em>whose</em>, etc. The idea is that typed constructions occur in one of a preordered set of worlds, with scoping restricted so that information flows only "upwards" from one world to another. Worlds might correspond to "at run time" and "during typechecking", or to computation in distinct cores, or in different stages, etc. What does the dependent function space mean in this setting? For a long time, I thought that each world had its own universal quantifier, for abstracting over stuff from that world. Failure to question this presumption is what led to failure to state a theorem I could prove. By separating quantifiers from worlds, I have fixed the problem. I'll show how to prove the key fact: if I can build something in one world and then move it to another, then it will also be a valid construction once it has arrived at its destination.</p><p><b>2014-12-17 11:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#30Sat, 21 Oct 2023 21:24:08 +01002014-12-10: Aleks Kissinger (Oxford)<h2><a href='http://www.cs.ox.ac.uk/people/aleks.kissinger/about.html'>Aleks Kissinger</a> (<a href='http://www.cs.ox.ac.uk/activities/quantum/'>Oxford</a>)</h2><h2>ZX and PROPs</h2><p><b>2014-12-10 11:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#29Sat, 21 Oct 2023 21:24:08 +01002014-12-03: HoTT reading group @ Strathclyde<h2><a href='http://homepages.inf.ed.ac.uk/s1225336/hott-reading-group/'>HoTT reading group @ Strathclyde</a> (LT1310)</h2><h2>HoTT reading group @ Strathclyde</h2><p>We will read the paper <a href='http://drops.dagstuhl.de/opus/volltexte/2014/4628/pdf/7.pdf'>A Model of Type Theory in Cubical Sets</a> by <a href='http://www.ii.uib.no/~bezem/'>Marc Bezem</a>, <a href='http://www.cse.chalmers.se/~coquand/'>Thierry Coquand</a> and <a href='http://www.cse.chalmers.se/~simonhu/'>Simon Huber</a>. Thierry's <a href='http://www.cse.chalmers.se/~coquand/comp.pdf'>Variation on cubical sets</a> might also be useful. <em>Administrative details</em>: meet for lunch at 12am for those who want to, reading group starts at 2pm.</p><p><b>2014-12-03 14:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#28Sat, 21 Oct 2023 21:24:08 +01002014-11-19: Neil Ghani and Clemens Kupke (MSP)<h2>Neil Ghani and Clemens Kupke (MSP)</h2><h2>Arrow's Theorem and Escalation</h2><p><b>Abstract</b><br/><br/>Neil and Clemens will report back from the <a href='http://www.cs.le.ac.uk/people/akurz/lsb.html'>Lorentz Center Workshop on Logics for Social Behaviour</a>.</p><p><b>2014-11-19 12:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#27Sat, 21 Oct 2023 21:24:08 +01002014-11-26: Ross Duncan (MSP)<h2><a href='http://personal.strath.ac.uk/ross.duncan/'>Ross Duncan</a> (MSP)</h2><h2>Diagrammatic languages for monoidal categories</h2><p><b>Abstract</b><br/><br/>Monoidal categories are essentially 2-dimensional things, so why on earth would we represent them using a linear string of symbols? I'll talk about how to use string diagrams for monoidal categories, graph rewriting for reasoning within them, and how the syntax can be extended to handle certain kinds of infinitary expressions with the infamous !-box. If there's time I'll finish with some half-baked (eh... basically still looking for the on switch of the oven...) ideas of how to generalise them.</p><p><b>2014-11-26 11:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#26Sat, 21 Oct 2023 21:24:08 +01002014-11-06: Kevin Dunne (MSP)<h2>Kevin Dunne (MSP)</h2><h2>Comonadic Cellular Automata</h2><p><b>Abstract</b><br/><br/>Kevin will be giving an informal talk about some of the stuff he has been learning about. He'll give the definition of a cellular automaton and then talk about how this definition can be phrased in terms of a comonad.</p><p><b>2014-11-06 09:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#25Sat, 21 Oct 2023 21:24:08 +01002014-11-05: Shin-ya Katsumata (Kyoto University)<h2><a href='http://www.kurims.kyoto-u.ac.jp/~sinya/index-e.html'>Shin-ya Katsumata</a> (<a href='http://www.kurims.kyoto-u.ac.jp/en/index.html'>Kyoto University</a>)</h2><h2>Logical Relations for Monads by Categorical TT-Lifting</h2><p><b>Abstract</b><br/><br/>Logical relations are widely used to study various properties of typed lambda calculi. By extending them to the lambda calculus with monadic types, we can gain understanding of the properties on functional programming languages with computational effects. Among various constructions of logical relations for monads, I will talk about a categorical TT-lifting, which is a semantic analogue of Lindley and Stark's leapfrog method.<br/>
<br/>
After reviewing some fundamental properties of the categorical TT-lifting, we apply it to the problem of relating two monadic semantics of a call-by-value functional programming language with computational effects. This kind of problem has been considered in various forms: for example, the relationship between monadic style and continuation passing style representations of call-by-value programs was studied around '90s. We give a set of sufficient conditions to solve the problem of relating two monadic semantics affirmatively. These conditions are applicable to a wide range of such problems.</p><p><b>2014-11-05 11:00:00 UTC<br/>Boardroom (LT1101d)</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#24Sat, 21 Oct 2023 21:24:08 +01002014-10-27: Dominic Orchard (Imperial College London)<h2><a href='http://www.cl.cam.ac.uk/~dao29/'>Dominic Orchard</a> (<a href='http://mrg.doc.ic.ac.uk/'>Imperial College London</a>)</h2><h2>Constructing analysis-directed semantics</h2><p><b>Abstract</b><br/><br/>All kinds of semantics are syntax directed: the semantics follows from the syntax. Some varieties of semantics are syntax and type directed. In this talk, I'll discuss syntax, type, <em>and</em> analysis directed semantics (analysis-directed semantics for short!), for analyses other than types. An analysis-directed semantics maps from terms coupled with derivations of a static program analysis into some semantic domain. For example, the simply-typed lambda calculus with an effect system maps to the category generated by a strong parametric effect monad (due to Katsumata) and a bounded-linear logic-like analysis (described as a coeffect systems) maps to a category generated by various structures related to monoidal comonads. I'll describe a general technique for building analysis-directed semantics where semantic objects and analysis objects have the same structure and are coupled by lax homomorphisms between them. This aids proving semantic properties: the proof tree of an equality for two program analyses implies the rules needed to prove equality of the programs' denotations.</p><p><b>2014-10-27 14:00:00 UTC<br/>Boardroom (LT1101d)</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#23Sat, 21 Oct 2023 21:24:08 +01002014-11-12: Peter Hancock<h2>Peter Hancock</h2><h2>Lambda-abstraction and other diabolical contrivances</h2><p><b>Abstract</b><br/><br/>The topic is the unholy trinity of eta, zeta, and xi. I'll indicate how Curry managed to give a finite combinatorial axiomatisation of this nastiness, by anticipating (almost-but-not-<em>quite</em>) McBride et al's applicative functors.</p><p><b>2014-11-12 11:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#22Sat, 21 Oct 2023 21:24:08 +01002014-10-29: SICSA CSE Meeting on Effects and Coeffects Systems and their use for resource control<h2><a href='http://staff.computing.dundee.ac.uk/marcogaboardi/effcoeff.html'>SICSA CSE Meeting on Effects and Coeffects Systems and their use for resource control</a> (Dundee)</h2><h2>SICSA CSE Meeting on Effects and Coeffects Systems and their use for resource control</h2><p><b>2014-10-29 12:00:00 UTC<br/>Dundee</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#21Sat, 21 Oct 2023 21:24:08 +01002014-10-22: Neil Ghani (MSP)<h2><a href='https://personal.cis.strath.ac.uk/neil.ghani/'>Neil Ghani</a> (MSP)</h2><h2>Higher dimensional parametricity and its cubical structure</h2><p><b>Abstract</b><br/><br/>Neil will talk about partial progress made during the summer on higher dimensional parametricity and the cubical structures that seem to arise. <br/>
Details will be kept to a minimum and, of course, concepts stressed.</p><p><b>2014-10-22 11:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#20Sat, 21 Oct 2023 21:24:08 +01002014-10-15: SPLS<h2><a href='http://www.macs.hw.ac.uk/~rs46/spls-hwu-q3-2014/'>SPLS</a> (Heriot Watt)</h2><h2>SPLS</h2><p><b>2014-10-15 12:00:00 UTC<br/>Heriot Watt</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#19Sat, 21 Oct 2023 21:24:08 +01002014-10-08: Conor McBride (MSP)<h2><a href='https://personal.cis.strath.ac.uk/conor.mcbride/'>Conor McBride</a> (MSP)</h2><h2>"Real-world data" and dependent types</h2><p><b>Abstract</b><br/><br/>Conor has offered to talk to us about what he has been thinking about recently. He says this includes models, views, and dependent types.</p><p><b>2014-10-08 11:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#18Sat, 21 Oct 2023 21:24:08 +01002014-10-01: Fredrik Nordvall Forsberg (MSP)<h2><a href='https://personal.cis.strath.ac.uk/fredrik.nordvall-forsberg/'>Fredrik Nordvall Forsberg</a> (MSP)</h2><h2>Initial algebras via strong dinaturality, internally</h2><p><b>Abstract</b><br/><br/> Or: My summer with Steve<br/>
Or: How Christine and Frank were right, after all<br/>
Or: Inductive types for the price of function extensionality and impredicative Set<br/>
<br/>
Christine Paulin-Mohring and Frank Pfenning suggested to use impredicative encodings of inductive types in the Calculus of Constructions, but this was later abandoned, since it is "well-known" that induction principles, i.e. dependent elimination, can not be derived for this encoding. It now seems like it is possible to give a variation of this encoding for which the induction principle is derivable after all. The trick is to use identity types to cut down the transformations of type (Pi X : Set) . (F(X) -> X) -> X to the ones that are internally strongly dinatural, making use of a formula for a "generalised Yoneda Lemma" by Uustalu and Vene.</p><p><b>2014-10-01 11:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#17Sat, 21 Oct 2023 21:24:08 +01002014-08-15: Fredrik Nordvall Forsberg (MSP)<h2><a href='https://personal.cis.strath.ac.uk/fredrik.nordvall-forsberg/'>Fredrik Nordvall Forsberg</a> (MSP)</h2><h2>Internal parametricity</h2><p><b>2014-08-15 15:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#16Sat, 21 Oct 2023 21:24:08 +01002014-05-28: Ohad Kammar (Cambridge)<h2><a href='http://www.cl.cam.ac.uk/~ok259/'>Ohad Kammar</a> (<a href='http://www.cl.cam.ac.uk/'>Cambridge</a>)</h2><h2>Graphical algebraic foundations for monad stacks</h2><p><b>Abstract</b><br/><br/>Ohad gave an informal overview of his current draft, with the following abstract:<br/>
<br/>
Haskell incorporates computational effects modularly using sequences of monad transformers, termed monad stacks. The current practice is to find the appropriate stack for a given task using intractable brute force and heuristics. By restricting attention to algebraic stack combinations, we provide a linear-time algorithm for generating all the appropriate monad stacks, or decide no such stacks exist. Our approach is based on Hyland, Plotkin, and Power's algebraic analysis of monad transformers, who propose a graph-theoretical solution to this problem. We extend their analysis with a straightforward connection to the modular decomposition of a graph and to cographs, a.k.a. series-parallel graphs.<br/>
<br/>
We present an accessible and self-contained account of this monad-stack generation problem, and, more generally, of the decomposition of a combined algebraic theory into sums and tensors, and its algorithmic solution. We provide a web-tool implementing this algorithm intended for semantic investigations of effect combinations and for monad stack generation.</p><p><b>2014-05-28 11:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#15Sat, 21 Oct 2023 21:24:08 +01002014-05-21: Clemens Kupke (MSP)<h2><a href='https://personal.cis.strath.ac.uk/clemens.kupke/'>Clemens Kupke</a> (MSP)</h2><h2>Coalgebraic Foundations of Databases</h2><p><b>Abstract</b><br/><br/> This 101 is intended to be a brainstorming session on possible links between the theory of coalgebras and the theory of databases. I will outline some ideas in this direction and I am looking forward to your feedback.</p><p><b>2014-05-21 11:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#14Sat, 21 Oct 2023 21:24:08 +01002014-05-14: Guillaume Allais (MSP)<h2><a href='https://gallais.org'>Guillaume Allais</a> (MSP)</h2><h2>Resource aware contexts and proof search for IMLL</h2><p><b>Abstract</b><br/><br/>In Intuitionistic Multiplicative Linear Logic, the right introduction rule for tensors implies picking a 2-partition of the set of assumptions and use each component to inhabit the corresponding tensor's subformulas. This makes a naive proof search algorithm intractable. Building a notion of resource availability in the context and massaging the calculus into a more general one handling both resource consumption and a notion of "leftovers" of a subproof allows for a well-structured well-typed by construction proof search mechanism.<br/>
<br/>
Here is an <a href='http://gallais.org/code/LinearProofSearch/poc.LinearProofSearch.html'>Agda file</a> implementing the proof search algorithm.</p><p><b>2014-05-14 11:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#13Sat, 21 Oct 2023 21:24:08 +01002014-04-07: Jamie Gabbay (Heriot-Watt)<h2><a href='http://www.gabbay.org.uk'>Jamie Gabbay</a> (<a href='http://www.macs.hw.ac.uk/departments/computer-science.htm'>Heriot-Watt</a>)</h2><h2>Nominal sets</h2><p><b>2014-04-07 11:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#12Sat, 21 Oct 2023 21:24:08 +01002014-04-02: Thorsten Altenkirch (Nottingham)<h2><a href='http://www.cs.nott.ac.uk/~txa/'>Thorsten Altenkirch</a> (<a href='http://www.cs.nott.ac.uk/'>Nottingham</a>)</h2><h2>Towards cubical type theory</h2><p><b>2014-04-02 11:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#11Sat, 21 Oct 2023 21:24:08 +01002014-03-19: Guillaume Allais (MSP)<h2><a href='http://www.gallais.org'>Guillaume Allais</a> (MSP)</h2><h2>The selection monad transformer</h2><p><b>Abstract</b><br/><br/>Guillaume presented parts of Hedges' paper <a href='http://www.eecs.qmul.ac.uk/~julesh/papers/monad_transformers.pdf'>Monad transformers for backtracking search</a> (accepted to <a href='http://www.cs.bham.ac.uk/~pbl/msfp2014/'>MSFP 2014</a>). The paper extends Escardo and Oliva's work on the selection and continuation monads to the corresponding monad transformers, with applications to backtracking search and game theory.</p><p><b>2014-03-19 11:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#10Sat, 21 Oct 2023 21:24:08 +01002014-03-05: Stuart Hannah (Strathclyde Combinatorics)<h2><a href='https://personal.cis.strath.ac.uk/stuart.a.hannah/'>Stuart Hannah</a> (<a href='http://combinatorics.cis.strath.ac.uk/'>Strathclyde Combinatorics</a>)</h2><h2>Lagrange inversion</h2><p><b>Abstract</b><br/><br/>Stuart spoke about Lagrange inversion, a species-theoretic attempt to discuss the existence of solutions to equations defining species.</p><p><b>2014-03-05 15:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#9Sat, 21 Oct 2023 21:24:08 +01002014-02-28: Neil Ghani (MSP)<h2><a href='https://personal.cis.strath.ac.uk/neil.ghani/'>Neil Ghani</a> (MSP)</h2><h2>Species</h2><p><b>Abstract</b><br/><br/>Neil spoke about how adding structured quotients to containers gives rise to a larger class of data types.</p><p><b>2014-02-28 14:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#8Sat, 21 Oct 2023 21:24:08 +01002014-02-19: Tim Revell (MSP)<h2>Tim Revell (MSP)</h2><h2>Synthetic Differential Geometry</h2><p><b>Abstract</b><br/><br/>Tim gave a brief introduction to Synthetic Differential Geometry. This is an attempt to treat smooth spaces categorically so we can extend the categorical methods used in the discrete world of computer science to the continuous work of physics. </p><p><b>2014-02-19 11:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#7Sat, 21 Oct 2023 21:24:08 +01002014-02-12: Conor McBride (MSP)<h2><a href='http://strictlypositive.org/'>Conor McBride</a> (MSP)</h2><h2>Worlds</h2><p><b>Abstract</b><br/><br/>Conor talked about worlds (aka phases, aka times, ...): why one might bother, and how we might go about equipping type theory with a generic notion of permitted information flow.</p><p><b>2014-02-12 11:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#6Sat, 21 Oct 2023 21:24:08 +01002014-02-05: Miles Gould (Edinburgh)<h2><a href='http://homepages.inf.ed.ac.uk/mgould1/'>Miles Gould</a> (<a href='http://www.inf.ed.ac.uk/'>Edinburgh</a>)</h2><h2>Operads</h2><p><b>Abstract</b><br/><br/>Miles has kindly agreed to come through and tell us about Operads, thus revisiting the topic of his PhD and the city in which he did it. </p><p><b>2014-02-05 11:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#5Sat, 21 Oct 2023 21:24:08 +01002014-01-22: Lorenzo Malatesta (MSP)<h2>Lorenzo Malatesta (MSP)</h2><h2>Overview of (extensions of) inductive-recursive definitions</h2><p><b>2014-01-22 11:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#4Sat, 21 Oct 2023 21:24:08 +01002014-01-08: Conor McBride (MSP)<h2><a href='http://strictlypositive.org/'>Conor McBride</a> (MSP)</h2><h2>On the recently found inconsistency of the univalence axiom in current Agda and Coq</h2><p><b>2014-01-08 11:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#3Sat, 21 Oct 2023 21:24:08 +01002013-12-18: Ross Duncan (MSP)<h2><a href='http://personal.strath.ac.uk/ross.duncan/'>Ross Duncan</a> (MSP)</h2><h2>Quantum Mechanics</h2><p><b>2013-12-18 11:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#2Sat, 21 Oct 2023 21:24:08 +01002013-11-20: Robin Adams (MSP visitor)<h2><a href='http://www.cs.rhul.ac.uk/~robin/'>Robin Adams</a> (MSP visitor)</h2><h2>Classical Type Theories</h2><p><b>Abstract</b><br/><br/>In 1987, Felleisen showed how to add control operators (for things like exceptions and unconditional jumps) to the untyped lambda-calculus. In 1990, Griffin idly wondered what would happen if one did the same in a typed lambda calculus. The answer came out: the inhabited types become the theorems of classical logic.<br/>
<br/>
I will present the lambda mu-calculus, one of the cleanest attempts to add control operators to a type theory. We'll cover the good news: the inhabited types are the tautologies of minimal classical logic, and Godel's Double Negation translation from classical to intuitionistic logic turns into the CPS translation.<br/>
<br/>
And the bad news: control operators don't play well with other types. Add natural numbers (or some other inductive type), and you get inconsistency. Add Sigma-types, and you get degeneracy (any two objects of the same type are definitionally equal). It gets worse: add plus-types, and you break Subject Reduction.</p><p><b>2013-11-20 11:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#1Sat, 21 Oct 2023 21:24:08 +01002013-11-13: Guillaume Allais (MSP)<h2><a href='http://www.gallais.org'>Guillaume Allais</a> (MSP)</h2><h2>Continuation Passing Style</h2><p><b>Abstract</b><br/><br/>I chose to go through (parts of) Hatcliff and Danvy's paper <a href='http://dl.acm.org/citation.cfm?id=178053'> "A Generic Account of Continuation-Passing Styles"</a> (POPL 94) which gives a nice factorization of various CPS transforms in terms of: <ul> <li>embeddings from STLC to Moggi's computational meta-language (either call-by-value, call-by-name, or whatever you can come up with)</li> <li>followed by a generic CPS transform transporting terms from ML back to STLC</li> </ul> Here is <a href='http://gallais.org/code/GenericCPS/definitions.html'>an Agda file</a> containing what we had the time to see.</p><p><b>2013-11-13 11:00:00 UTC<br/>LT1310</b><br/></p>http://msp.cis.strath.ac.uk/msp101.html#0Sat, 21 Oct 2023 21:24:08 +0100en-gbSat, 13 Apr 2024 14:21:57 +0000