Mathematical Synthesis of Equational Deduction Systems. Marcelo Fiore. Computer Laboratory University of Cambridge

Size: px
Start display at page:

Download "Mathematical Synthesis of Equational Deduction Systems. Marcelo Fiore. Computer Laboratory University of Cambridge"

Transcription

1 Mathematical Synthesis of Equational Deduction Systems Marcelo Fiore Computer Laboratory University of Cambridge TLCA VII.2009

2 Context concrete theories meta-theories

3 Context concrete theories meta-theories Calculi features: For: higher-order, formalisation, linearity, reasoning, sharing, computation, graphics, translation, type dependency,......

4 concrete theories Context meta-theories Calculi features: For: higher-order, formalisation, linearity, reasoning, sharing, computation, graphics, translation, type dependency,......

5 concrete theories Context meta-theories Calculi features: For: higher-order, formalisation, linearity, reasoning, sharing, computation, graphics, translation, type dependency, [1] mathematical models Programme

6 concrete theories Context meta-theories Calculi features: For: higher-order, formalisation, linearity, reasoning, sharing, computation, graphics, translation, type dependency, Programme [1] mathematical models [2] meta-theories

7 This Talk Part I Mathematical algebraic framework and methodology for the synthesis of deduction systems for equational reasoning and computation by rewriting.

8 This Talk Part I Mathematical algebraic framework and methodology for the synthesis of deduction systems for equational reasoning and computation by rewriting. Semantics Algebraic model theory Syntax Initial-algebra semantics ( compositionality) structural recursion induction principle theory of translations

9 This Talk Part II TLCA Typed Lambda Calculi: [simply-typed] λ-calculus, Martin Löf type theory,...? What are Typed Lambda Calculi?

10 This Talk Part II TLCA Typed Lambda Calculi: [simply-typed] λ-calculus, Martin Löf type theory,...? What are Typed Lambda Calculi?! Simple Type Theories are Second-Order Equational Presentations!

11 Part I Equational Meta-Logic

12 Universal Algebra Syntax Semantics

13 Universal Algebra Syntax Semantics signatures: Σ = {Σ n Set } n N

14 Universal Algebra Syntax signatures: Σ = {Σ n Set } n N Semantics algebras: A = {Σ n A n A} n N

15 Universal Algebra Syntax signatures: Σ = {Σ n Set } n N Semantics algebras: A = {Σ n A n A} n N free constructions: V ρ T(V) A!ρ #

16 Universal Algebra Syntax signatures: Σ = {Σ n Set } n N terms, variables Semantics algebras: A = {Σ n A n A} n N free constructions: V ρ T(V) A!ρ #

17 Universal Algebra Syntax signatures: Σ = {Σ n Set } n N terms, variables, and substitution: T(V) A V A t, ρ t[ρ] Semantics algebras: A = {Σ n A n A} n N free constructions: V ρ T(V) A!ρ #

18 Universal Algebra Syntax signatures: Σ = {Σ n Set } n N terms, variables, and substitution: T(V) A V A t, ρ t[ρ] equations: V t t Semantics algebras: A = {Σ n A n A} n N free constructions: V ρ T(V) A!ρ #

19 Universal Algebra Syntax signatures: Σ = {Σ n Set } n N terms, variables, and substitution: T(V) A V A t, ρ t[ρ] equations: V t t Semantics algebras: A = {Σ n A n A} n N free constructions: V ρ T(V) A!ρ # validity: A = t t iff ρ A V.t[ρ] = t [ρ]

20 Birkhoff s Deduction Problem Devise a deduction system such that t t is derivable from a set of equations E soundness completeness for all A = E, A = t t

21 Birkhoff s Deduction Problem Devise a deduction system such that t t is derivable from a set of equations E soundness completeness for all A = E, A = t t Birkhoff s Equational Logic of Universal Algebra (t t ) E t t t i t i (i = 1,...,n) f(t 1,...,t n ) f(t 1,...,t n) (f : n) t t t[ρ] t [ρ] (ρ a substitution)

22 Analysis of Universal Algebra Syntax signatures: Σ = {Σ n Set } n N terms, variables, and substitution: T(V) A V A t, ρ t[ρ] equations: V t t Semantics algebras: A = {Σ n A n A} n N free constructions: V ρ T(V) A!ρ # validity: A = t t iff ρ A V.t[ρ] = t [ρ]

23 Monadic Algebra Syntax Semantics T a strong monad on a smc category algebras: A = (TA A)

24 Monadic Algebra Generalised Syntax generalised terms: t : I TV (Kleisli maps) Semantics T a strong monad on a smc category algebras: A = (TA A)

25 Monadic Algebra Generalised Syntax generalised terms: t : I TV (Kleisli maps) variables: V TV Semantics T a strong monad on a smc category algebras: A = (TA A)

26 Monadic Algebra Generalised Syntax generalised terms: t : I TV (Kleisli maps) variables: V TV substitution: σ : TV [V,A] A Semantics T a strong monad on a smc category algebras: A = (TA A)

27 Monadic Algebra Generalised Syntax generalised terms: t : I TV (Kleisli maps) variables: V TV substitution: σ : TV [V,A] A Semantics T a strong monad on a smc category algebras: A = (TA A) interpretation: I [V,A] t id TV [V,A] [t] A σ

28 Monadic Algebra Generalised Syntax generalised terms: t : I TV (Kleisli maps) variables: V TV substitution: σ : TV [V,A] A generalised equations: t t : I TV Semantics T a strong monad on a smc category algebras: A = (TA A) interpretation: I [V,A] t id TV [V,A] [t] A σ

29 Monadic Algebra Generalised Syntax generalised terms: t : I TV (Kleisli maps) variables: V TV substitution: σ : TV [V,A] A generalised equations: t t : I TV Semantics T a strong monad on a smc category algebras: A = (TA A) interpretation: I [V,A] t id TV [V,A] [t] A σ validity: A = t t iff [[t]] = [[t ]]

30 Deduction Problem Devise a deduction system such that t t : I TV is derivable from a set of generalised equations E soundness completeness for all A = E, A = t t

31 Equational Meta-Logic Rules

32 Equational Meta-Logic Rules (Subst) t 1 t 1 : U TV t 2 t 2 : V TW t 1 [t 2 ] t 1 [t 2 ] : U TW

33 Equational Meta-Logic Rules (Subst) t 1 t 1 : U TV t 2 t 2 : V TW t 1 [t 2 ] t 1 [t 2 ] : U TW {e i : U i U} i I a cover (LocChar) te i t e i : U i TV (i I) t t : U TV

34 Equational Meta-Logic Rules (Subst) t 1 t 1 : U TV t 2 t 2 : V TW t 1 [t 2 ] t 1 [t 2 ] : U TW {e i : U i U} i I a cover (LocChar) te i t e i : U i TV (i I) t t : U TV (Ext) t t : U TV I t I t : I U T(I V)

35 Soundness If t t : I TV is derivable from E then A = t t, for all A = E.

36 Soundness If t t : I TV is derivable from E then A = t t, for all A = E. Internal Soundness and Completeness For TV the free algebra satisfying E and q : TV TV the associated quotient map, the following are equivalent: 1. A = t t : U TV, for all A = E 2. TV = t t : U TV 3. qt = qt : U TV

37 Reconstruction of Birkhoff s Equational Logic Set syntactic structure = signature: Σ = {Σ n Set } n N

38 Reconstruction of Birkhoff s Equational Logic Σ-Alg Set T Σ interpretation T Σ (X) = X + n N Σ n (T Σ X) n syntactic structure = signature: Σ = {Σ n Set } n N

39 Reconstruction of Birkhoff s Equational Logic interpretation Σ-Alg Set T Σ T Σ (X) = X + n N Σ n (T Σ X) n syntactic structure = signature: Σ = {Σ n Set } n N concretion Equational Logic V t t

40 Substitution Rule (Subst) V s s (LocChar) W t x t x (x V) W {t x } x V {t x} x V W s[t x /x] x V s [t x/x] x V

41 Reconstruction of Goguen and Meseguer s Multi-Sorted Equational Logic Set S syntactic structure = signature: Σ = {Σ σ Set S } σ S General method for the extension from the mono-sorted to the multi-sorted case.

42 Reconstruction of Goguen and Meseguer s Multi-Sorted Equational Logic Σ-Alg Set S T Σ (T Σ X) s = X s + σ=(s 1...s n ) S Σ σ,s n i=1 (T ΣX) si interpretation syntactic structure = signature: Σ = {Σ σ Set S } σ S General method for the extension from the mono-sorted to the multi-sorted case.

43 Reconstruction of Goguen and Meseguer s Multi-Sorted Equational Logic Σ-Alg Set S T Σ (T Σ X) s = X s + σ=(s 1...s n ) S Σ σ,s n i=1 (T ΣX) si interpretation syntactic structure = signature: Σ = {Σ σ Set S } σ S concretion Equational Logic x : σ t t : s General method for the extension from the mono-sorted to the multi-sorted case.

44 Methodology Model abstract syntax T S universe of discourse

45 Methodology Model abstract syntax T S universe of discourse Theory Deductive System axioms A f f : C TA co-arities arities sound for a canonical algebraic model theory + framework for completeness

46 Methodology Model abstract syntax T S universe of discourse Theory Deductive System axioms A f f : C TA co-arities arities sound for a canonical algebraic model theory + framework for completeness concretion interpretation syntactic structure Equational Logical Framework A Γ t t

47 Part II The Universal Algebra of Simple Type Theory

48 Simply Typed Theories types algebraic terms algebraic with binding

49 Simply Typed Theories algebraic simply typed theories dependently typed types unstructured algebraic terms algebraic algebraic with binding algebraic with binding algebraic with binding

50 The paradigmatic simple type theory: λ-calculus (β) (λx.m)n = M[N/x] ( ) (η) λx.mx = M x FV(M) Simply-typed λ-calculus, computational λ-calculus,...

51 The paradigmatic simple type theory: λ-calculus (β) (λx.m)n = M[N/x] ( ) (η) λx.mx = M x FV(M) Simply-typed λ-calculus, computational λ-calculus,... The syntactic theory should account for: variables and meta-variables variable binding and α-equivalence capture-avoiding and meta substitution mono and multi sorting

52 Algebraic Model syntactic structure = arities: an operator of arity n = (n 1...n k ) takes k arguments, respectively binding n i variables.

53 Algebraic Model finite sets (contexts) and functions (renamings) Set F X Set F is a functor XΓ (Γ F) F(Γ, ) Set(XΓ,X ) E.g. the object of variables is VΓ = Γ syntactic structure = arities: an operator of arity n = (n 1...n k ) takes k arguments, respectively binding n i variables.

54 Algebraic Model finite sets (contexts) and functions (renamings) Set F X Set F is a functor XΓ (Γ F) F(Γ, ) Set(XΓ,X ) E.g. the object of variables is VΓ = Γ syntactic structure = arities: an operator of arity n = (n 1...n k ) takes k arguments, respectively binding n i variables. signature: Σ = {Σ n Set F } n N

55 Algebraic Model Σ finite sets (contexts) and functions (renamings) Set F Σ(X) = n=(n 1...n k ) N Σ n k interpretation X Set F is a functor XΓ (Γ F) i=1 XVn i F(Γ, ) Set(XΓ,X ) E.g. the object of variables is VΓ = Γ syntactic structure = arities: an operator of arity n = (n 1...n k ) takes k arguments, respectively binding n i variables. signature: Σ = {Σ n Set F } n N

56 Algebraic Model Σ finite sets (contexts) and functions (renamings) Set F Σ(X) = n=(n 1...n k ) N Σ n k interpretation X Set F is a functor XΓ (Γ F) i=1 XVn i F(Γ, ) Set(XΓ,X ) E.g. the object of variables is VΓ = Γ syntactic structure = arities: an operator of arity n = (n 1...n k ) takes k arguments, respectively binding n i variables. signature: Σ = {Σ n Set F } n N + substitution

57 Algebras with Substitution (Σ-monoids) algebra structure: ΣX ξ X substitution structure: ( monoid V e X X m X Γ XΓ X (XΓ) subject to the laws of substitution ) subject to the compatibility condition: Σ(X) X Σ(X X) Σm ΣX ξ X X X m X ξ

58 Signature. λ Pre-Models with Substitution Σ λ = 0@0 (application) λ(1) (abstraction) Algebras. app : L 2 L abs : L V L var : V L L L : subst L 2 L = (L L) 2 subst 2 L 2 app L L L subst L app L V L (L L) V subst V L V abs L L L subst L abs

59 Monadic Model Σ-Mon M Σ Set F Thm: 1. M Σ (X) = V + X M Σ (X) + Σ(M Σ X)

60 Monadic Model Σ-Mon M Σ Set F Thm: 1. M Σ (X) = V + X M Σ (X) + Σ(M Σ X) 2. For Σ induced by a binding signature, concretion M Σ is a strong monad. Syntactic theory for variables, meta-variables, variable binding, α-equivalence, capture-avoiding substitution, meta-substitution.

61 Second-Order Syntactic Theory (I) Syntax: For X an object of meta-variables, t M Σ (X) Γ ::= x (x Γ) ( M X(l) M[t 1,...,t l ] t i (M Σ X) Γ f ( ( x 1 )t 1,...,( x k )t k ) ) ( f Σ ( x1... x k ) t i (M Σ X) Γ, xi ) )

62 Second-Order Syntactic Theory (I) Syntax: For X an object of meta-variables, t M Σ (X) Γ ::= x (x Γ) ( M X(l) M[t 1,...,t l ] t i (M Σ X) Γ f ( ( x 1 )t 1,...,( x k )t k ) ) ( f Σ ( x1... x k ) t i (M Σ X) Γ, xi Capture-avoiding substitution: M Σ (X) M Σ (X) M Σ (X) ( M Σ (X) ( ) ) M Σ (X) Γ M Σ (X) Γ ) )

63 Second-Order Syntactic Theory (I) Syntax: For X an object of meta-variables, t M Σ (X) Γ ::= x (x Γ) ( M X(l) M[t 1,...,t l ] t i (M Σ X) Γ f ( ( x 1 )t 1,...,( x k )t k ) ) ( f Σ ( x1... x k ) t i (M Σ X) Γ, xi Capture-avoiding substitution: M Σ (X) M Σ (X) M Σ (X) ( M Σ (X) ( ) ) M Σ (X) Γ M Σ (X) Γ Meta-substitution: M Σ (X) ( M Σ (Y) ) X MΣ (Y) ( M Σ (X) Γ l N X(l) ( (M Σ Y) Vl )Γ M Σ(Y) Γ ) ) )

64 Second-Order Syntactic Theory (II) Canonical specification and derived correct definition of variable renaming, capture-avoiding simultaneous substitution, meta-variable renaming, meta-substitution. Canonical algebraic model theory.

65 Second-Order Equational Presentations x 1,...,x n ; M 1 [m 1 ],...,M k [m k ] t t Second-Order Algebraic Models [[t]] = [[t ]] : V n A Vm 1... A Vm k A

66 Second-Order Equational Presentations x 1,...,x n ; M 1 [m 1 ],...,M k [m k ] t t λ-calculus (β) M[1], N[0] λ ( (x)m[ x ] N[ ] M [ N[ ] ] (η) M[ ] λ ( (x) M[ ]@ x ) M[ ] Second-Order Algebraic Models [[t]] = [[t ]] : V n A Vm 1... A Vm k A

67 Second-Order Equational Presentations x 1,...,x n ; M 1 [m 1 ],...,M k [m k ] t t λ-calculus (β) M[1], N[0] λ ( (x)m[ x ] N[ ] M [ N[ ] ] (η) M[ ] λ ( (x) M[ ]@ x ) M[ ] Second-Order Algebraic Models [[t]] = [[t ]] : V n A Vm 1... A Vm k A λ-models with substitution L V L abs id L L (β) app L L L subst (V L) V (var L) V L id L (η) abs (L L) V app V L V

68 Second-Order Equational Logic (I) (Subst) t 1 t 1 : U TV t 2 t 2 : V TW t 1 [t 2 ] t 1 [t 2 ] : U TW

69 Second-Order Equational Logic (I) (Subst) t 1 t 1 : U TV t 2 t 2 : V TW t 1 [t 2 ] t 1 [t 2 ] : U TW Substitution Rule x; M 1 [m 1 ],...,M k [m k ] t u y (i) 1,...,y(i) m i ; N 1 [n 1 ],...,N l [n l ] t i u i x; N 1 [n 1 ],...,N l [n l ] t{m i := (y (i) 1,...,y(i) m i )t i } u{m i := (y (i) 1,...,y(i) m i )u i } (i = 1,...,k)

70 Second-Order Equational Logic (II) (LocChar) {e i : U i U} i I a cover te i t e i : U i TV (i I) t t : U TV Local Character Rule ı : {x 1,...,x k } {y 1,...,y l } y 1,...,y l ;...,M i [m i ],... t[ı] u[ı] x 1,...,x k ;...,M i [m i ],... t u

71 Second-Order Equational Logic (III) (Ext) t t : U TV I t I t : I U T(I V) Extension Rule x;...,m i [m i ],... t 1 t 2 x,y 1,...,y l ;...,M i [m i + l],... t 1 # t 2 # t # = t { M i := (z (i) 1,...,z(i) m i ) M i [z (i) 1,...,z(i) m i, y 1,...,y l ] }

72 Algebraic Simple Type Theory Algebraic model theory & Second-order equational logic for second-order equational presentations + Theory of translations

Second-Order Equational Logic

Second-Order Equational Logic Second-Order Equational Logic Extended Abstract Marcelo Fiore Computer Laboratory University of Cambridge Chung-Kil Hur Laboratoire PPS Université Paris 7 Abstract We provide an extension of universal

More information

Second-Order Equational Logic

Second-Order Equational Logic Second-Order Equational Logic (Extended Abstract) Marcelo Fiore 1 and Chung-Kil Hur 2 1 Computer Laboratory, University of Cambridge 2 Laboratoire PPS, Université Paris 7 Abstract. We extend universal

More information

Algebraic theories in the presence of binding operators, substitution, etc.

Algebraic theories in the presence of binding operators, substitution, etc. Algebraic theories in the presence of binding operators, substitution, etc. Chung Kil Hur Joint work with Marcelo Fiore Computer Laboratory University of Cambridge 20th March 2006 Overview First order

More information

Second-Order Algebraic Theories

Second-Order Algebraic Theories Second-Order Algebraic Theories (Extended Abstract) Marcelo Fiore and Ola Mahmoud University of Cambridge, Computer Laboratory Abstract. Fiore and Hur [10] recently introduced a conservative extension

More information

Term Equational Systems and Logics

Term Equational Systems and Logics Term Equational Systems and Logics Extended Abstract Marcelo Fiore 1 Chung-Kil Hur 2,3 Computer Laboratory University of Cambridge Cambridge, UK Abstract We introduce an abstract general notion of system

More information

Universal Algebra for Termination of Higher-Order Rewriting. Makoto Hamana

Universal Algebra for Termination of Higher-Order Rewriting. Makoto Hamana Universal Algebra for Termination of Higher-Order Rewriting Makoto Hamana Department of Computer Science, Gunma University, Japan RTA 05 2005, April 1 Intro: First-Order Term Rewriting System (TRS) Terms

More information

Categorical Equational Systems: Algebraic Models and Equational Reasoning

Categorical Equational Systems: Algebraic Models and Equational Reasoning Categorical Equational Systems: Algebraic Models and Equational Reasoning Chung-Kil Hur Churchill College University of Cambridge Computer Laboratory November 2009 This dissertation is submitted for the

More information

The algebraicity of the lambda-calculus

The algebraicity of the lambda-calculus The algebraicity of the lambda-calculus André Hirschowitz 1 and Marco Maggesi 2 1 Université de Nice Sophia Antipolis http://math.unice.fr/~ah 2 Università degli Studi di Firenze http://www.math.unifi.it/~maggesi

More information

Nominal Lawvere Theories: A Category Theoretic Account of Equational Theories with Names

Nominal Lawvere Theories: A Category Theoretic Account of Equational Theories with Names Nominal Lawvere Theories: A Category Theoretic Account of Equational Theories with Names Ranald Clouston 1 Logic and Computation Group, Research School of Computer Science, The Australian National University,

More information

Normalisation by evaluation

Normalisation by evaluation Normalisation by evaluation Sam Lindley Laboratory for Foundations of Computer Science The University of Edinburgh Sam.Lindley@ed.ac.uk August 11th, 2016 Normalisation and embedded domain specific languages

More information

A few bridges between operational and denotational semantics of programming languages

A few bridges between operational and denotational semantics of programming languages A few bridges between operational and denotational semantics of programming languages Soutenance d habilitation à diriger les recherches Tom Hirschowitz November 17, 2017 Hirschowitz Bridges between operational

More information

Sequent Combinators: A Hilbert System for the Lambda Calculus

Sequent Combinators: A Hilbert System for the Lambda Calculus Sequent Combinators: A Hilbert System for the Lambda Calculus Healfdene Goguen Department of Computer Science, University of Edinburgh The King s Buildings, Edinburgh, EH9 3JZ, United Kingdom Fax: (+44)

More information

CS522 - Programming Language Semantics

CS522 - Programming Language Semantics 1 CS522 - Programming Language Semantics Simply Typed Lambda Calculus Grigore Roşu Department of Computer Science University of Illinois at Urbana-Champaign 2 We now discuss a non-trivial extension of

More information

Minimal logic for computable functionals

Minimal logic for computable functionals Minimal logic for computable functionals Helmut Schwichtenberg Mathematisches Institut der Universität München Contents 1. Partial continuous functionals 2. Total and structure-total functionals 3. Terms;

More information

Logic for Computational Effects: work in progress

Logic for Computational Effects: work in progress 1 Logic for Computational Effects: work in progress Gordon Plotkin and John Power School of Informatics University of Edinburgh King s Buildings Mayfield Road Edinburgh EH9 3JZ Scotland gdp@inf.ed.ac.uk,

More information

A categorical view of computational effects

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

More information

Towards a Flowchart Diagrammatic Language for Monad-based Semantics

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

More information

Towards a general framework for metareasoning on HOAS encodings

Towards a general framework for metareasoning on HOAS encodings Towards a general framework for metareasoning on HOAS encodings 1 Project TOSCA TASK HOAS LF Slide 1 Towards a general framework for metareasoning on HOAS encodings Anna Bucalo, Martin Hofmann, Furio Honsell,

More information

Binding in Nominal Equational Logic

Binding in Nominal Equational Logic MFPS 2010 Binding in Nominal Equational Logic Ranald Clouston 1,2 Computer Laboratory, University of Cambridge, Cambridge CB3 0DF, United Kingdom Abstract Many formal systems, particularly in computer

More information

Modèles des langages de programmation Domaines, catégories, jeux. Programme de cette seconde séance:

Modèles des langages de programmation Domaines, catégories, jeux. Programme de cette seconde séance: Modèles des langages de programmation Domaines, catégories, jeux Programme de cette seconde séance: Modèle ensembliste du lambda-calcul ; Catégories cartésiennes fermées 1 Synopsis 1 the simply-typed λ-calculus,

More information

Homotopy Type Theory

Homotopy Type Theory Homotopy Type Theory Jeremy Avigad Department of Philosophy and Department of Mathematical Sciences Carnegie Mellon University February 2016 Homotopy Type Theory HoTT relies on a novel homotopy-theoretic

More information

Quasi-Boolean Encodings and Conditionals in Algebraic Specification

Quasi-Boolean Encodings and Conditionals in Algebraic Specification Quasi-Boolean Encodings and Conditionals in Algebraic Specification Răzvan Diaconescu Institute of Mathematics Simion Stoilow of the Romanian Academy Abstract We develop a general study of the algebraic

More information

Predicate Logic. Xinyu Feng 09/26/2011. University of Science and Technology of China (USTC)

Predicate Logic. Xinyu Feng 09/26/2011. University of Science and Technology of China (USTC) University of Science and Technology of China (USTC) 09/26/2011 Overview Predicate logic over integer expressions: a language of logical assertions, for example x. x + 0 = x Why discuss predicate logic?

More information

The Lambda Calculus is Algebraic

The Lambda Calculus is Algebraic Under consideration for publication in J. Functional Programming 1 The Lambda Calculus is Algebraic PETER SELINGER Department of Mathematics and Statistics University of Ottawa, Ottawa, Ontario K1N 6N5,

More information

Equational reasoning for probabilistic programming Part II: Quantitative equational logic

Equational reasoning for probabilistic programming Part II: Quantitative equational logic Equational reasoning for probabilistic programming Part II: Quantitative equational logic Prakash Panangaden 1 1 School of Computer Science McGill University Probabilistic Programming Languages 29th May

More information

Cartesian closed 2-categories and rewriting

Cartesian closed 2-categories and rewriting Cartesian closed 2-categories and rewriting Aurore Alcolei A brief presentation of Tom Hirschowitz s paper, Cartesian closed 2-categories and permutation equivalence in higher-order rewriting June 7, 2014

More information

Nominal Completion for Rewrite Systems with Binders

Nominal Completion for Rewrite Systems with Binders Nominal Completion for Rewrite Systems with Binders Maribel Fernández King s College London July 2012 Joint work with Albert Rubio Summary Motivations Nominal Rewriting Closed nominal rules Confluence

More information

AN EQUATIONAL METALOGIC FOR MONADIC EQUATIONAL SYSTEMS

AN EQUATIONAL METALOGIC FOR MONADIC EQUATIONAL SYSTEMS Theory and Applications of Categories, Vol. 27, No. 18, 2013, pp. 464 492. AN EQUATIONAL METALOGIC FOR MONADIC EQUATIONAL SYSTEMS MARCELO FIORE Abstract. The paper presents algebraic and logical developments.

More information

From syntax to semantics of Dependent Type Theories - Formalized

From syntax to semantics of Dependent Type Theories - Formalized RDP 2015, Jun. 30, 2015, WCMCS, Warsaw. From syntax to semantics of Dependent Type Theories - Formalized by Vladimir Voevodsky from the Institute for Advanced Study in Princeton, NJ. I will be speaking

More information

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

First-Order Logic. 1 Syntax. Domain of Discourse. FO Vocabulary. Terms First-Order Logic 1 Syntax Domain of Discourse The domain of discourse for first order logic is FO structures or models. A FO structure contains Relations Functions Constants (functions of arity 0) FO

More information

Normalization by Evaluation

Normalization by Evaluation Normalization by Evaluation Andreas Abel Department of Computer Science and Engineering Chalmers and Gothenburg University PhD Seminar in Mathematical Engineering EAFIT University, Medellin, Colombia 9

More information

Lazy Strong Normalization

Lazy Strong Normalization Lazy Strong Normalization Luca Paolini 1,2 Dipartimento di Informatica Università di Torino (ITALIA) Elaine Pimentel 1,2 Departamento de Matemática Universidade Federal de Minas Gerais (BRASIL) Dipartimento

More information

Monads Need Not Be Endofunctors

Monads Need Not Be Endofunctors Monads Need Not Be Endofunctors Thorsten Altenkirch, University of Nottingham James Chapman, Institute of Cybernetics, Tallinn Tarmo Uustalu, Institute of Cybernetics, Tallinn ScotCats, Edinburgh, 21 May

More information

Order Sorted Algebra. Japan Advanced Institute of Science and Technology. March 8, 2008

Order Sorted Algebra. Japan Advanced Institute of Science and Technology. March 8, 2008 Order Sorted Algebra Daniel Găină Japan Advanced Institute of Science and Technology March 8, 2008 Introduction There are many examples where all items of one sort are necessarily also items of some other

More information

A categorical model for a quantum circuit description language

A categorical model for a quantum circuit description language A categorical model for a quantum circuit description language Francisco Rios (joint work with Peter Selinger) Department of Mathematics and Statistics Dalhousie University CT July 16th 22th, 2017 What

More information

Automated Synthesis of Tableau Calculi

Automated Synthesis of Tableau Calculi Automated Synthesis of Tableau Calculi Renate A. Schmidt 1 and Dmitry Tishkovsky 1 School of Computer Science, The University of Manchester Abstract This paper presents a method for synthesising sound

More information

Justifying Algorithms for βη-conversion

Justifying Algorithms for βη-conversion Justifying Algorithms for βη-conversion Healfdene Goguen AT&T Labs, 180 Park Ave., Florham Park NJ 07932 USA hhg@att.com. Abstract. Deciding the typing judgement of type theories with dependent types such

More information

Uniform Schemata for Proof Rules

Uniform Schemata for Proof Rules Uniform Schemata for Proof Rules Ulrich Berger and Tie Hou Department of omputer Science, Swansea University, UK {u.berger,cshou}@swansea.ac.uk Abstract. Motivated by the desire to facilitate the implementation

More information

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

Teooriaseminar. TTÜ Küberneetika Instituut. May 10, Categorical Models. for Two Intuitionistic Modal Logics. Wolfgang Jeltsch. TTÜ Küberneetika Instituut Teooriaseminar May 10, 2012 1 2 3 4 1 2 3 4 Modal logics used to deal with things like possibility, belief, and time in this talk only time two new operators and : ϕ now and

More information

Classical First-Order Logic

Classical First-Order Logic Classical First-Order Logic Software Formal Verification Maria João Frade Departmento de Informática Universidade do Minho 2008/2009 Maria João Frade (DI-UM) First-Order Logic (Classical) MFES 2008/09

More information

Multiversal Polymorphic Algebraic Theories Syntax, Semantics, Translations, and Equational Logic

Multiversal Polymorphic Algebraic Theories Syntax, Semantics, Translations, and Equational Logic Multiversal Polymorphic Algebraic Theories Syntax, Semantics, Translations, and Equational Logic Marcelo Fiore Computer Laboratory, University of Cambridge Makoto Hamana Dept. of Computer Science, Gunma

More information

The Curry-Howard Isomorphism

The Curry-Howard Isomorphism The Curry-Howard Isomorphism Software Formal Verification Maria João Frade Departmento de Informática Universidade do Minho 2008/2009 Maria João Frade (DI-UM) The Curry-Howard Isomorphism MFES 2008/09

More information

Preuves de logique linéaire sur machine, ENS-Lyon, Dec. 18, 2018

Preuves de logique linéaire sur machine, ENS-Lyon, Dec. 18, 2018 Université de Lorraine, LORIA, CNRS, Nancy, France Preuves de logique linéaire sur machine, ENS-Lyon, Dec. 18, 2018 Introduction Linear logic introduced by Girard both classical and intuitionistic separate

More information

Predicate Logic. Xinyu Feng 11/20/2013. University of Science and Technology of China (USTC)

Predicate Logic. Xinyu Feng 11/20/2013. University of Science and Technology of China (USTC) University of Science and Technology of China (USTC) 11/20/2013 Overview Predicate logic over integer expressions: a language of logical assertions, for example x. x + 0 = x Why discuss predicate logic?

More information

Type Theory and Constructive Mathematics. Type Theory and Constructive Mathematics Thierry Coquand. University of Gothenburg

Type Theory and Constructive Mathematics. Type Theory and Constructive Mathematics Thierry Coquand. University of Gothenburg Type Theory and Constructive Mathematics Type Theory and Constructive Mathematics Thierry Coquand University of Gothenburg Content An introduction to Voevodsky s Univalent Foundations of Mathematics The

More information

Logical connections in the many-sorted setting

Logical connections in the many-sorted setting Logical connections in the many-sorted setting Jiří Velebil Czech Technical University in Prague Czech Republic joint work with Alexander Kurz University of Leicester United Kingdom AK & JV AsubL4 1/24

More information

Towards Correctness of Program Transformations Through Unification and Critical Pair Computation

Towards Correctness of Program Transformations Through Unification and Critical Pair Computation Towards Correctness of Program Transformations Through Unification and Critical Pair Computation Conrad Rau and Manfred Schmidt-Schauß Institut für Informatik Johann Wolfgang Goethe-Universität Postfach

More information

Parameterizations and Fixed-Point Operators on Control Categories

Parameterizations and Fixed-Point Operators on Control Categories Parameterizations and Fixed-Point Operators on Control Categories oshihiko Kakutani 1 and Masahito Hasegawa 12 1 Research Institute for Mathematical Sciences, Kyoto University {kakutani,hassei}@kurims.kyoto-u.ac.jp

More information

Higher Order Containers

Higher Order Containers Higher Order Containers Thorsten Altenkirch 1, Paul Levy 2, and Sam Staton 3 1 University of Nottingham 2 University of Birmingham 3 University of Cambridge Abstract. Containers are a semantic way to talk

More information

Notation for Logical Operators:

Notation for Logical Operators: Notation for Logical Operators: always true always false... and...... or... if... then...... if-and-only-if... x:x p(x) x:x p(x) for all x of type X, p(x) there exists an x of type X, s.t. p(x) = is equal

More information

M, N ::= x λp : A.M MN (M, N) () c A. x : b p x : b

M, N ::= x λp : A.M MN (M, N) () c A. x : b p x : b A PATTERN-MATCHING CALCULUS FOR -AUTONOMOUS CATEGORIES ABSTRACT. This article sums up the details of a linear λ-calculus that can be used as an internal language of -autonomous categories. The coherent

More information

Logics for Compact Hausdorff Spaces via de Vries Duality

Logics for Compact Hausdorff Spaces via de Vries Duality Logics for Compact Hausdorff Spaces via de Vries Duality Thomas Santoli ILLC, Universiteit van Amsterdam June 16, 2016 Outline Main goal: developing a propositional calculus for compact Hausdorff spaces

More information

Operational Semantics Using the Partiality Monad

Operational Semantics Using the Partiality Monad page.1 Operational Semantics Using the Partiality Monad Nils Anders Danielsson (Göteborg) Shonan Meeting 026: Coinduction for computation structures and programming languages The research leading to these

More information

Notes on Logical Frameworks

Notes on Logical Frameworks Notes on Logical Frameworks Robert Harper IAS November 29, 2012 1 Introduction This is a brief summary of a lecture on logical frameworks given at the IAS on November 26, 2012. See the references for technical

More information

Mathematical Logic IV

Mathematical Logic IV 1 Introduction Mathematical Logic IV The Lambda Calculus; by H.P. Barendregt(1984) Part One: Chapters 1-5 The λ-calculus (a theory denoted λ) is a type free theory about functions as rules, rather that

More information

Mechanizing Metatheory in a Logical Framework

Mechanizing Metatheory in a Logical Framework Under consideration for publication in J. Functional Programming 1 Mechanizing Metatheory in a Logical Framework Robert Harper and Daniel R. Licata Carnegie Mellon University (e-mail: {rwh,drl}@cs.cmu.edu)

More information

Lectures on The Lambda Calculus (I)

Lectures on The Lambda Calculus (I) Lectures on The Lambda Calculus (I) Masahiko Sato Graduate School of Informatics, Kyoto University Autumn school Proof and Computation Fischbachau, Germany October 4, 2016 Overview In these lectures, I

More information

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

Přednáška 12. Důkazové kalkuly Kalkul Hilbertova typu. 11/29/2006 Hilbertův kalkul 1 Přednáška 12 Důkazové kalkuly Kalkul Hilbertova typu 11/29/2006 Hilbertův kalkul 1 Formal systems, Proof calculi A proof calculus (of a theory) is given by: A. a language B. a set of axioms C. a set of

More information

Normalisation by Evaluation for Dependent Types

Normalisation by Evaluation for Dependent Types Normalisation by Evaluation for Dependent Types Ambrus Kaposi Eötvös Loránd University, Budapest, Hungary (j.w.w. Thorsten Altenkirch, University of Nottingham) FSCD, Porto 24 June 2016 Introduction Goal:

More information

Tutorial on Semantics Part I

Tutorial on Semantics Part I Tutorial on Semantics Part I Basic Concepts Prakash Panangaden 1 1 School of Computer Science McGill University on sabbatical leave at Department of Computer Science Oxford University Fields Institute,

More information

On a Logical Foundation for Explicit Substitutions

On a Logical Foundation for Explicit Substitutions On a Logical Foundation for Explicit Substitutions Frank Pfenning Carnegie Mellon University Joint Invited Talk Typed Lambda Calculi and Applications (TLCA 07) Rewriting Techniques and Applications (RTA

More information

Complete Partial Orders, PCF, and Control

Complete Partial Orders, PCF, and Control Complete Partial Orders, PCF, and Control Andrew R. Plummer TIE Report Draft January 2010 Abstract We develop the theory of directed complete partial orders and complete partial orders. We review the syntax

More information

2 M. Hasegawa thus strengthens the claim that Girard translation is the canonical translation from intuitionistic logic to linear logic. This seems to

2 M. Hasegawa thus strengthens the claim that Girard translation is the canonical translation from intuitionistic logic to linear logic. This seems to Under consideration for publication in J. Functional Programming 1 Girard Translation and Logical Predicates Masahito Hasegawa Research Institute for Mathematical Sciences, Kyoto University Kyoto 606-8502

More information

The equivalence axiom and univalent models of type theory.

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

More information

hal , version 1-21 Oct 2009

hal , version 1-21 Oct 2009 ON SKOLEMISING ZERMELO S SET THEORY ALEXANDRE MIQUEL Abstract. We give a Skolemised presentation of Zermelo s set theory (with notations for comprehension, powerset, etc.) and show that this presentation

More information

On the Construction of Free Algebras for Equational Systems

On the Construction of Free Algebras for Equational Systems On the Construction of Free Algebras for Equational Systems Marcelo Fiore and Chung-Kil Hur 1 Computer Laboratory, University of Cambridge Abstract The purpose of this paper is threefold: to present a

More information

On a Monadic Encoding of Continuous Behaviour

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

More information

Subtyping and Intersection Types Revisited

Subtyping and Intersection Types Revisited Subtyping and Intersection Types Revisited Frank Pfenning Carnegie Mellon University International Conference on Functional Programming (ICFP 07) Freiburg, Germany, October 1-3, 2007 Joint work with Rowan

More information

Candidates for Substitution

Candidates for Substitution Candidates for Substitution Healfdene Goguen hhg@dcs.ed.ac.uk James McKinna jhm@dcs.ed.ac.uk Laboratory for Foundations of Computer Science Department of Computer Science The King s Buildings, University

More information

Nominal Rewriting. Maribel Fernández. ISR - June King s College London

Nominal Rewriting. Maribel Fernández. ISR - June King s College London King s College London ISR - June 2009 - Course Syllabus Introduction First-order languages Languages with binding operators Specifying binders: α-equivalence Nominal terms Nominal unification (unification

More information

Matching Logic: Syntax and Semantics

Matching Logic: Syntax and Semantics Matching Logic: Syntax and Semantics Grigore Roșu 1 and Traian Florin Șerbănuță 2 1 University of Illinois at Urbana-Champaign, USA grosu@illinois.edu 2 University of Bucharest, Romania traian.serbanuta@unibuc.ro

More information

A Canonical 1 Local Representation of Binding. α -equivalence is identity. Randy Pollack. Masahiko Sato. LFCS, University of Edinburgh

A Canonical 1 Local Representation of Binding. α -equivalence is identity. Randy Pollack. Masahiko Sato. LFCS, University of Edinburgh A Canonical 1 Local Representation of Binding Randy Pollack LFCS, University of Edinburgh Masahiko Sato Graduate School of Informatics, Kyoto University Version of May 12, 2009 1 α -equivalence is identity

More information

Programming Languages in String Diagrams. [ four ] Local stores. Paul-André Melliès. Oregon Summer School in Programming Languages June 2011

Programming Languages in String Diagrams. [ four ] Local stores. Paul-André Melliès. Oregon Summer School in Programming Languages June 2011 Programming Languages in String iagrams [ four ] Local stores Paul-André Melliès Oregon Summer School in Programming Languages June 2011 Finitary monads A monadic account of algebraic theories Algebraic

More information

Semantics for algebraic operations

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

More information

Relations to first order logic

Relations to first order logic An Introduction to Description Logic IV Relations to first order logic Marco Cerami Palacký University in Olomouc Department of Computer Science Olomouc, Czech Republic Olomouc, November 6 th 2014 Marco

More information

Notions of Computation Determine Monads

Notions of Computation Determine Monads Notions of Computation Determine Monads Gordon Plotkin and John Power Division of Informatics, University of Edinburgh, King s Buildings, Edinburgh EH9 3JZ, Scotland Abstract. We model notions of computation

More information

Constructive approach to relevant and affine term calculi

Constructive approach to relevant and affine term calculi Constructive approach to relevant and affine term calculi Jelena Ivetić, University of Novi Sad, Serbia Silvia Ghilezan,University of Novi Sad, Serbia Pierre Lescanne, University of Lyon, France Silvia

More information

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

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

More information

Bisimulation for Neighbourhood Structures

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

More information

First Order Logic (FOL) 1 znj/dm2017

First Order Logic (FOL) 1   znj/dm2017 First Order Logic (FOL) 1 http://lcs.ios.ac.cn/ znj/dm2017 Naijun Zhan March 19, 2017 1 Special thanks to Profs Hanpin Wang (PKU) and Lijun Zhang (ISCAS) for their courtesy of the slides on this course.

More information

Rewriting, Explicit Substitutions and Normalisation

Rewriting, Explicit Substitutions and Normalisation Rewriting, Explicit Substitutions and Normalisation XXXVI Escola de Verão do MAT Universidade de Brasilia Part 1/3 Eduardo Bonelli LIFIA (Fac. de Informática, UNLP, Arg.) and CONICET eduardo@lifia.info.unlp.edu.ar

More information

Theoretical Computer Science. Representing model theory in a type-theoretical logical framework

Theoretical Computer Science. Representing model theory in a type-theoretical logical framework Theoretical Computer Science 412 (2011) 4919 4945 Contents lists available at ScienceDirect Theoretical Computer Science journal homepage: www.elsevier.com/locate/tcs Representing model theory in a type-theoretical

More information

Algebraic Abstract Data Types

Algebraic Abstract Data Types Introduction AADT Proofs Theories Hierarchies Rewriting in Algebraic Specifications Université de Genève 16 mars 2009 1/79 Introduction AADT Proofs Theories Hierarchies Rewriting in Algebraic Specifications

More information

The Lambda-Calculus Reduction System

The Lambda-Calculus Reduction System 2 The Lambda-Calculus Reduction System 2.1 Reduction Systems In this section we present basic notions on reduction systems. For a more detailed study see [Klop, 1992, Dershowitz and Jouannaud, 1990]. Definition

More information

Basic Algebraic Logic

Basic Algebraic Logic ELTE 2013. September Today Past 1 Universal Algebra 1 Algebra 2 Transforming Algebras... Past 1 Homomorphism 2 Subalgebras 3 Direct products 3 Varieties 1 Algebraic Model Theory 1 Term Algebras 2 Meanings

More information

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

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

More information

Formalising the Completeness Theorem of Classical Propositional Logic in Agda (Proof Pearl)

Formalising the Completeness Theorem of Classical Propositional Logic in Agda (Proof Pearl) Formalising the Completeness Theorem of Classical Propositional Logic in Agda (Proof Pearl) Leran Cai, Ambrus Kaposi, and Thorsten Altenkirch University of Nottingham {psylc5, psxak8, psztxa}@nottingham.ac.uk

More information

Bialgebraic Methods in Structural Operational Semantics

Bialgebraic Methods in Structural Operational Semantics SOS 2006 Preliminary Version Bialgebraic Methods in Structural Operational Semantics (Invited Talk) Bartek 1,2 Warsaw University, Edinburgh University Abstract Bialgebraic semantics, invented a decade

More information

Varieties of Metric and Quantitative Algebras. Wataru Hino. A Master Thesis

Varieties of Metric and Quantitative Algebras. Wataru Hino. A Master Thesis Varieties of Metric and Quantitative Algebras by Wataru Hino A Master Thesis Submitted to the Graduate School of the University of Tokyo on February 5, 2017 in Partial Fulfillment of the Requirements for

More information

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

Syntax. Notation Throughout, and when not otherwise said, we assume a vocabulary V = C F P. First-Order Logic Syntax The alphabet of a first-order language is organised into the following categories. Logical connectives:,,,,, and. Auxiliary symbols:.,,, ( and ). Variables: we assume a countable

More information

Lambda-Calculus (I) 2nd Asian-Pacific Summer School on Formal Methods Tsinghua University, August 23, 2010

Lambda-Calculus (I) 2nd Asian-Pacific Summer School on Formal Methods Tsinghua University, August 23, 2010 Lambda-Calculus (I) jean-jacques.levy@inria.fr 2nd Asian-Pacific Summer School on Formal Methods Tsinghua University, August 23, 2010 Plan computation models lambda-notation bound variables conversion

More information

MAI0203 Lecture 7: Inference and Predicate Calculus

MAI0203 Lecture 7: Inference and Predicate Calculus MAI0203 Lecture 7: Inference and Predicate Calculus Methods of Artificial Intelligence WS 2002/2003 Part II: Inference and Knowledge Representation II.7 Inference and Predicate Calculus MAI0203 Lecture

More information

Dependent Type Theories. Lecture 4. Computing the B-sets for C-systems CC(RR)[LM]. The term C-systems of type theories.

Dependent Type Theories. Lecture 4. Computing the B-sets for C-systems CC(RR)[LM]. The term C-systems of type theories. 1 Homotopy Type Theory MPIM-Bonn 2016 Dependent Type Theories Lecture 4. Computing the B-sets for C-systems CC(RR)[LM]. The term C-systems of type theories. By Vladimir Voevodsky from Institute for Advanced

More information

Calculi for Intuitionistic Normal Modal Logic

Calculi for Intuitionistic Normal Modal Logic Calculi for Intuitionistic Normal Modal Logic Yoshihiko Kakutani Department of Information Science, University of Tokyo kakutani@is.s.u-tokyo.ac.jp Abstract This paper provides a call-by-name and a call-by-value

More information

Equational Logic. Chapter Syntax Terms and Term Algebras

Equational Logic. Chapter Syntax Terms and Term Algebras Chapter 2 Equational Logic 2.1 Syntax 2.1.1 Terms and Term Algebras The natural logic of algebra is equational logic, whose propositions are universally quantified identities between terms built up from

More information

3.2 Reduction 29. Truth. The constructor just forms the unit element,. Since there is no destructor, there is no reduction rule.

3.2 Reduction 29. Truth. The constructor just forms the unit element,. Since there is no destructor, there is no reduction rule. 32 Reduction 29 32 Reduction In the preceding section, we have introduced the assignment of proof terms to natural deductions If proofs are programs then we need to explain how proofs are to be executed,

More information

Completeness for coalgebraic µ-calculus: part 2. Fatemeh Seifan (Joint work with Sebastian Enqvist and Yde Venema)

Completeness for coalgebraic µ-calculus: part 2. Fatemeh Seifan (Joint work with Sebastian Enqvist and Yde Venema) Completeness for coalgebraic µ-calculus: part 2 Fatemeh Seifan (Joint work with Sebastian Enqvist and Yde Venema) Overview Overview Completeness of Kozen s axiomatisation of the propositional µ-calculus

More information

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

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

More information

Lecture Notes on Combinatory Modal Logic

Lecture Notes on Combinatory Modal Logic Lecture Notes on Combinatory Modal Logic 15-816: Modal Logic Frank Pfenning Lecture 9 February 16, 2010 1 Introduction The connection between proofs and program so far has been through a proof term assignment

More information

Some Recent Logical Frameworks

Some Recent Logical Frameworks Some Recent Logical Frameworks Randy Pollack LFCS, University of Edinburgh Version of September 13, 2010 Outline Edinburgh Logical Framework (ELF) (LICS 1987) Reminder by Example Some Problems with ELF

More information