Logic As A Tool For Building Theories

Size: px
Start display at page:

Download "Logic As A Tool For Building Theories"

Transcription

1 Logic As A Tool For Building Theories Samson Abramsky Oxford University Computing Laboratory Logic For Building Theories Practice-Based PoL: Amsterdam / 29

2 Overview The Plan Logic For Building Theories

3 Overview Overview The Plan Practice-based Philosophy of Logic? Logic For Building Theories Practice-Based PoL: Amsterdam / 29

4 Overview Overview The Plan Practice-based Philosophy of Logic? What is the practice? Logic For Building Theories Practice-Based PoL: Amsterdam / 29

5 Overview Overview The Plan Practice-based Philosophy of Logic? What is the practice? Huge effect of Computer Science on Logic over the past 5 decades: new ways of using logic new attitudes to logic new questions new methods Logic For Building Theories Practice-Based PoL: Amsterdam / 29

6 Overview Overview The Plan Practice-based Philosophy of Logic? What is the practice? Huge effect of Computer Science on Logic over the past 5 decades: new ways of using logic new attitudes to logic new questions new methods Hence new perspective on the question: What logic is and should be! Logic For Building Theories Practice-Based PoL: Amsterdam / 29

7 The Plan Overview The Plan Before (and while) trying to extract general points, some case studies: Logic For Building Theories Practice-Based PoL: Amsterdam / 29

8 The Plan Overview The Plan Before (and while) trying to extract general points, some case studies: modal and temporal logic: verification and model-checking Logic For Building Theories Practice-Based PoL: Amsterdam / 29

9 The Plan Overview The Plan Before (and while) trying to extract general points, some case studies: modal and temporal logic: verification and model-checking Logic For Building Theories Practice-Based PoL: Amsterdam / 29

10 The Plan Overview The Plan Before (and while) trying to extract general points, some case studies: modal and temporal logic: verification and model-checking coalgebra Logic For Building Theories Practice-Based PoL: Amsterdam / 29

11 The Plan Overview The Plan Before (and while) trying to extract general points, some case studies: modal and temporal logic: verification and model-checking coalgebra Aims: not to put forward any philosophical theses, but to provide some materials and raise some questions. Logic For Building Theories Practice-Based PoL: Amsterdam / 29

12 Changing Perspectives Some Issues Some Remarks and Questions for P-B PoL The Next 700 Problem and Temporal Logic Logic For Building Theories

13 Changing Perspectives Logic For Building Theories Practice-Based PoL: Amsterdam / 29

14 Changing Perspectives From philosophical logic to computer-assisted verification. From metaphysics to (not just potentially but actually) applied mathematics. Logic For Building Theories Practice-Based PoL: Amsterdam / 29

15 Changing Perspectives From philosophical logic to computer-assisted verification. From metaphysics to (not just potentially but actually) applied mathematics. From the sacred to the profane. From logic as Guardian of The Truth to logic out in the world, to be used as a tool for understanding many aspects of our world. Logic For Building Theories Practice-Based PoL: Amsterdam / 29

16 Changing Perspectives From philosophical logic to computer-assisted verification. From metaphysics to (not just potentially but actually) applied mathematics. From the sacred to the profane. From logic as Guardian of The Truth to logic out in the world, to be used as a tool for understanding many aspects of our world. More concretely: from possible worlds and accessibility to states and transitions. Systems of states evolving under discrete transitions turn up in a huge variety of situations. (Communications protocols, hardware circuits, software, nowadays biological and physical systems... ). Modal and temporal logics are canonical formalisms for expressing and reasoning about properties of such systems. Logic For Building Theories Practice-Based PoL: Amsterdam / 29

17 Changing Perspectives From philosophical logic to computer-assisted verification. From metaphysics to (not just potentially but actually) applied mathematics. From the sacred to the profane. From logic as Guardian of The Truth to logic out in the world, to be used as a tool for understanding many aspects of our world. More concretely: from possible worlds and accessibility to states and transitions. Systems of states evolving under discrete transitions turn up in a huge variety of situations. (Communications protocols, hardware circuits, software, nowadays biological and physical systems... ). Modal and temporal logics are canonical formalisms for expressing and reasoning about properties of such systems. A transition system: a b 1 2 c Logic For Building Theories Practice-Based PoL: Amsterdam / 29

18 Some Issues Logic For Building Theories Practice-Based PoL: Amsterdam / 29

19 Some Issues Note the reverse engineering here. Historically, formal systems of modal logic were developed to study notions of necessity. Then Kripke semantics was developed to shed light on these formal systems. Now we think of the structures as the naturally occurring objects of study, the logics as tools for reasoning about them. Logic For Building Theories Practice-Based PoL: Amsterdam / 29

20 Some Issues Note the reverse engineering here. Historically, formal systems of modal logic were developed to study notions of necessity. Then Kripke semantics was developed to shed light on these formal systems. Now we think of the structures as the naturally occurring objects of study, the logics as tools for reasoning about them. New questions: algorithmic feasibility. New methods: Logic For Building Theories Practice-Based PoL: Amsterdam / 29

21 Some Issues Note the reverse engineering here. Historically, formal systems of modal logic were developed to study notions of necessity. Then Kripke semantics was developed to shed light on these formal systems. Now we think of the structures as the naturally occurring objects of study, the logics as tools for reasoning about them. New questions: algorithmic feasibility. New methods: model-checking. Given a system description (a transition system) S, and a property φ we wish the system to satisfy, check if S = φ. This has become an enormously influential paradigm over the past 25 years. Much of the real value lies in cases where the property is not satisfied, and we get a trace which can lead us to the bug. Logic For Building Theories Practice-Based PoL: Amsterdam / 29

22 Some Issues Note the reverse engineering here. Historically, formal systems of modal logic were developed to study notions of necessity. Then Kripke semantics was developed to shed light on these formal systems. Now we think of the structures as the naturally occurring objects of study, the logics as tools for reasoning about them. New questions: algorithmic feasibility. New methods: model-checking. Given a system description (a transition system) S, and a property φ we wish the system to satisfy, check if S = φ. This has become an enormously influential paradigm over the past 25 years. Much of the real value lies in cases where the property is not satisfied, and we get a trace which can lead us to the bug. The automata-theoretical paradigm. Encode formulas as automata, reduce satisfaction to language inclusion, ultimately to graph reachability. Logic For Building Theories Practice-Based PoL: Amsterdam / 29

23 Some Issues Note the reverse engineering here. Historically, formal systems of modal logic were developed to study notions of necessity. Then Kripke semantics was developed to shed light on these formal systems. Now we think of the structures as the naturally occurring objects of study, the logics as tools for reasoning about them. New questions: algorithmic feasibility. New methods: model-checking. Given a system description (a transition system) S, and a property φ we wish the system to satisfy, check if S = φ. This has become an enormously influential paradigm over the past 25 years. Much of the real value lies in cases where the property is not satisfied, and we get a trace which can lead us to the bug. The automata-theoretical paradigm. Encode formulas as automata, reduce satisfaction to language inclusion, ultimately to graph reachability. Huge expansion to cover real-time, probabilistic and hybrid systems, and of applications to include biological systems, security, networks, agent-based modelling, control systems etc. Logic For Building Theories Practice-Based PoL: Amsterdam / 29

24 Some Remarks and Questions for P-B PoL Changing Perspectives Some Issues Some Remarks and Questions for P-B PoL The Next 700 Problem Logic For Building Theories Practice-Based PoL: Amsterdam / 29

25 Some Remarks and Questions for P-B PoL Changing Perspectives Some Issues Some Remarks and Questions for P-B PoL The Next 700 Problem The attitude that is is just grubby engineering engineers in overalls infringing on the sacred groves just won t wash. Logic For Building Theories Practice-Based PoL: Amsterdam / 29

26 Some Remarks and Questions for P-B PoL Changing Perspectives Some Issues Some Remarks and Questions for P-B PoL The Next 700 Problem The attitude that is is just grubby engineering engineers in overalls infringing on the sacred groves just won t wash. (Cf. 17th century vis-à-vis the Greeks. McCarthy!). Logic For Building Theories Practice-Based PoL: Amsterdam / 29

27 Some Remarks and Questions for P-B PoL Changing Perspectives Some Issues Some Remarks and Questions for P-B PoL The Next 700 Problem The attitude that is is just grubby engineering engineers in overalls infringing on the sacred groves just won t wash. (Cf. 17th century vis-à-vis the Greeks. McCarthy!). Concrete interpretations grounded in tangible applications which have an independent existence for their own reasons transform the possibilities and give the subject new depth and new energies. Logic For Building Theories Practice-Based PoL: Amsterdam / 29

28 Some Remarks and Questions for P-B PoL Changing Perspectives Some Issues Some Remarks and Questions for P-B PoL The Next 700 Problem The attitude that is is just grubby engineering engineers in overalls infringing on the sacred groves just won t wash. (Cf. 17th century vis-à-vis the Greeks. McCarthy!). Concrete interpretations grounded in tangible applications which have an independent existence for their own reasons transform the possibilities and give the subject new depth and new energies. There are passionate methodological debates within this applied field, e.g. linear time vs. branching time, which are fertile ground for conceptual and philosophical analysis. Feasibility becomes a major new criterion, and approximate answers must be considered. Such issues are already deeply embedded in physics, but rarely studied philosophically they should be! Logic For Building Theories Practice-Based PoL: Amsterdam / 29

29 Some Remarks and Questions for P-B PoL Changing Perspectives Some Issues Some Remarks and Questions for P-B PoL The Next 700 Problem The attitude that is is just grubby engineering engineers in overalls infringing on the sacred groves just won t wash. (Cf. 17th century vis-à-vis the Greeks. McCarthy!). Concrete interpretations grounded in tangible applications which have an independent existence for their own reasons transform the possibilities and give the subject new depth and new energies. There are passionate methodological debates within this applied field, e.g. linear time vs. branching time, which are fertile ground for conceptual and philosophical analysis. Feasibility becomes a major new criterion, and approximate answers must be considered. Such issues are already deeply embedded in physics, but rarely studied philosophically they should be! A deep conceptual issue of logic in CS: the next problem. Logic For Building Theories Practice-Based PoL: Amsterdam / 29

30 The Next 700 Problem Logic For Building Theories Practice-Based PoL: Amsterdam / 29

31 The Next 700 Problem After Peter Landin. The next 700 Programming Languages (in 1966!) Logic For Building Theories Practice-Based PoL: Amsterdam / 29

32 The Next 700 Problem After Peter Landin. The next 700 Programming Languages (in 1966!) A profusion of possibilities, in e.g. programming languages type systems process calculi behavioural equivalences logics Logic For Building Theories Practice-Based PoL: Amsterdam / 29

33 The Next 700 Problem After Peter Landin. The next 700 Programming Languages (in 1966!) A profusion of possibilities, in e.g. programming languages type systems process calculi behavioural equivalences logics Is this profusion a scandal of our subject? Or are the underlying paradigms and templates, the methodological toolkits, sufficient providers of unity? Logic For Building Theories Practice-Based PoL: Amsterdam / 29

34 The Next 700 Problem After Peter Landin. The next 700 Programming Languages (in 1966!) A profusion of possibilities, in e.g. programming languages type systems process calculi behavioural equivalences logics Is this profusion a scandal of our subject? Or are the underlying paradigms and templates, the methodological toolkits, sufficient providers of unity? The jury is still out... Logic For Building Theories Practice-Based PoL: Amsterdam / 29

35 The Next 700 Problem After Peter Landin. The next 700 Programming Languages (in 1966!) A profusion of possibilities, in e.g. programming languages type systems process calculi behavioural equivalences logics Is this profusion a scandal of our subject? Or are the underlying paradigms and templates, the methodological toolkits, sufficient providers of unity? The jury is still out... Cf. André Weil: he compared finding the right definitions in algebraic number theory which was like carving adamantine rock to making definitions in the theory of uniform spaces (which he founded), which was like sculpting with snow. Logic For Building Theories Practice-Based PoL: Amsterdam / 29

36 The Remarks Types and Curry-Howard Correspondence Developments Domain Theory Some Remarks and Questions for P-B PoL Logic For Building Theories

37 The : a pure calculus of functions. The Remarks Types and Curry-Howard Correspondence Developments Domain Theory Some Remarks and Questions for P-B PoL Logic For Building Theories Practice-Based PoL: Amsterdam / 29

38 The The Remarks Types and Curry-Howard Correspondence Developments Domain Theory Some Remarks and Questions for P-B PoL : a pure calculus of functions. Variables x, y, z,... Terms t ::= x tu }{{} application λx. t }{{} abstraction Logic For Building Theories Practice-Based PoL: Amsterdam / 29

39 The The Remarks Types and Curry-Howard Correspondence Developments Domain Theory Some Remarks and Questions for P-B PoL : a pure calculus of functions. Variables x, y, z,... Terms t ::= x tu }{{} application λx. t }{{} abstraction The basic equation governing this calculus is β-conversion: E.g. (λx. t)u = t[u/x] (λf. λx. f(fx))(λx. x + 1)0 = 2. Logic For Building Theories Practice-Based PoL: Amsterdam / 29

40 The The Remarks Types and Curry-Howard Correspondence Developments Domain Theory Some Remarks and Questions for P-B PoL : a pure calculus of functions. Variables x, y, z,... Terms t ::= x tu }{{} application λx. t }{{} abstraction The basic equation governing this calculus is β-conversion: E.g. (λx. t)u = t[u/x] (λf. λx. f(fx))(λx. x + 1)0 = 2. By orienting this equation, we get a dynamics β-reduction (λx. t)u t[u/x] Logic For Building Theories Practice-Based PoL: Amsterdam / 29

41 Remarks Logic For Building Theories Practice-Based PoL: Amsterdam / 29

42 Remarks This calculus, encapsulated in one slide, is incredibly rich. Logic For Building Theories Practice-Based PoL: Amsterdam / 29

43 Remarks This calculus, encapsulated in one slide, is incredibly rich. A universal model of computation incomparably more wieldy than Turing machines. Logic For Building Theories Practice-Based PoL: Amsterdam / 29

44 Remarks This calculus, encapsulated in one slide, is incredibly rich. A universal model of computation incomparably more wieldy than Turing machines. (Caveats: Church s thesis, resources). Logic For Building Theories Practice-Based PoL: Amsterdam / 29

45 Remarks This calculus, encapsulated in one slide, is incredibly rich. A universal model of computation incomparably more wieldy than Turing machines. (Caveats: Church s thesis, resources). Indeed, in sugared form the basis of all contemporary functional programming languages (e.g. ML, Haskell). Logic For Building Theories Practice-Based PoL: Amsterdam / 29

46 Remarks This calculus, encapsulated in one slide, is incredibly rich. A universal model of computation incomparably more wieldy than Turing machines. (Caveats: Church s thesis, resources). Indeed, in sugared form the basis of all contemporary functional programming languages (e.g. ML, Haskell). Kleene translated the basic results of recursion theory out of lambda calculus into the familiar φ n form. Logic For Building Theories Practice-Based PoL: Amsterdam / 29

47 Remarks This calculus, encapsulated in one slide, is incredibly rich. A universal model of computation incomparably more wieldy than Turing machines. (Caveats: Church s thesis, resources). Indeed, in sugared form the basis of all contemporary functional programming languages (e.g. ML, Haskell). Kleene translated the basic results of recursion theory out of lambda calculus into the familiar φ n form. The untyped calculus allows e.g. terms like ω λx. xx self-application. Logic For Building Theories Practice-Based PoL: Amsterdam / 29

48 Remarks This calculus, encapsulated in one slide, is incredibly rich. A universal model of computation incomparably more wieldy than Turing machines. (Caveats: Church s thesis, resources). Indeed, in sugared form the basis of all contemporary functional programming languages (e.g. ML, Haskell). Kleene translated the basic results of recursion theory out of lambda calculus into the familiar φ n form. The untyped calculus allows e.g. terms like ω λx. xx self-application. Hence also Ω ωω, which diverges: Ω Ω Logic For Building Theories Practice-Based PoL: Amsterdam / 29

49 Remarks This calculus, encapsulated in one slide, is incredibly rich. A universal model of computation incomparably more wieldy than Turing machines. (Caveats: Church s thesis, resources). Indeed, in sugared form the basis of all contemporary functional programming languages (e.g. ML, Haskell). Kleene translated the basic results of recursion theory out of lambda calculus into the familiar φ n form. The untyped calculus allows e.g. terms like ω λx. xx self-application. Hence also Ω ωω, which diverges: Ω Ω Also, Y λf. (λx. f(xx))(λx. f(xx)) recursion. Yt (λx. t(xx))(λx. t(xx)) t((λx. t(xx))(λx. t(xx))) = t(yt). Logic For Building Theories Practice-Based PoL: Amsterdam / 29

50 Remarks This calculus, encapsulated in one slide, is incredibly rich. A universal model of computation incomparably more wieldy than Turing machines. (Caveats: Church s thesis, resources). Indeed, in sugared form the basis of all contemporary functional programming languages (e.g. ML, Haskell). Kleene translated the basic results of recursion theory out of lambda calculus into the familiar φ n form. The untyped calculus allows e.g. terms like ω λx. xx self-application. Hence also Ω ωω, which diverges: Ω Ω Also, Y λf. (λx. f(xx))(λx. f(xx)) recursion. Yt (λx. t(xx))(λx. t(xx)) t((λx. t(xx))(λx. t(xx))) = t(yt). Historically, Curry extracted Y from an analysis of Russell s Paradox. Logic For Building Theories Practice-Based PoL: Amsterdam / 29

51 Types and Curry-Howard Correspondence Simple Type System for,. Variable Γ, x : t x : T Product Γ t : T Γ u : U Γ t, u : T U Γ v : T U Γ π 1 v : T Γ v : T U Γ π 2 v : U Function Γ, x : U t : T Γ λx. t : U T Γ t : U T Γ u : U Γ tu : T Logic For Building Theories Practice-Based PoL: Amsterdam / 29

52 Types and Curry-Howard Correspondence Natural Deduction System for, Identity Conjunction Γ, A A Id Γ A Γ B Γ A B -intro Γ A B Γ A -elim-1 Γ A B Γ B -elim-2 Implication Γ, A B Γ A B -intro Γ A B Γ A Γ B -elim Logic For Building Theories Practice-Based PoL: Amsterdam / 29

53 Types and Curry-Howard Correspondence If we equate they are the same! Logic For Building Theories Practice-Based PoL: Amsterdam / 29

54 Developments The Remarks Types and Curry-Howard Correspondence Developments Domain Theory Some Remarks and Questions for P-B PoL Logic For Building Theories Practice-Based PoL: Amsterdam / 29

55 Developments The stone the builders rejected... The Remarks Types and Curry-Howard Correspondence Developments Domain Theory Some Remarks and Questions for P-B PoL Logic For Building Theories Practice-Based PoL: Amsterdam / 29

56 Developments The Remarks Types and Curry-Howard Correspondence Developments Domain Theory Some Remarks and Questions for P-B PoL The stone the builders rejected... The and combinatory logic were a neglected corner of logic studied by a handful of people until Computer Science initially Strachey and Landin, with a part played by Roger Penrose put it centre stage in logical methods in CS. Logic For Building Theories Practice-Based PoL: Amsterdam / 29

57 Developments The Remarks Types and Curry-Howard Correspondence Developments Domain Theory Some Remarks and Questions for P-B PoL The stone the builders rejected... The and combinatory logic were a neglected corner of logic studied by a handful of people until Computer Science initially Strachey and Landin, with a part played by Roger Penrose put it centre stage in logical methods in CS. These calculi in turn put the study of substitution centre-stage not such a humble topic! Russell s paradox, cut-elimination, linearity and resources, decidability, complexity,... Logic For Building Theories Practice-Based PoL: Amsterdam / 29

58 Developments The Remarks Types and Curry-Howard Correspondence Developments Domain Theory Some Remarks and Questions for P-B PoL The stone the builders rejected... The and combinatory logic were a neglected corner of logic studied by a handful of people until Computer Science initially Strachey and Landin, with a part played by Roger Penrose put it centre stage in logical methods in CS. These calculi in turn put the study of substitution centre-stage not such a humble topic! Russell s paradox, cut-elimination, linearity and resources, decidability, complexity,... Paradoxes: not just biting the bullet not bugs but features! Recursion, fixpoints, the creative uses of computationally specified infinite objects. Logic For Building Theories Practice-Based PoL: Amsterdam / 29

59 Domain Theory Logic For Building Theories Practice-Based PoL: Amsterdam / 29

60 Domain Theory Providing extensional models for spaces satisfying led Dana Scott to Domain Theory. D = [D D] Logic For Building Theories Practice-Based PoL: Amsterdam / 29

61 Domain Theory Providing extensional models for spaces satisfying D = [D D] led Dana Scott to Domain Theory. Many interesting conceptual aspects of Domain theory: Logic For Building Theories Practice-Based PoL: Amsterdam / 29

62 Domain Theory Providing extensional models for spaces satisfying led Dana Scott to Domain Theory. D = [D D] Many interesting conceptual aspects of Domain theory: Reconciling paradoxes with fixpoints by introducing additional partially defined elements. Logic For Building Theories Practice-Based PoL: Amsterdam / 29

63 Domain Theory Providing extensional models for spaces satisfying led Dana Scott to Domain Theory. D = [D D] Many interesting conceptual aspects of Domain theory: Reconciling paradoxes with fixpoints by introducing additional partially defined elements. A general theory of partial information, dynamics of information increase. Logic For Building Theories Practice-Based PoL: Amsterdam / 29

64 Domain Theory Providing extensional models for spaces satisfying led Dana Scott to Domain Theory. D = [D D] Many interesting conceptual aspects of Domain theory: Reconciling paradoxes with fixpoints by introducing additional partially defined elements. A general theory of partial information, dynamics of information increase. Opens up the (analytical) topology of computation. Logic For Building Theories Practice-Based PoL: Amsterdam / 29

65 Domain Theory Providing extensional models for spaces satisfying led Dana Scott to Domain Theory. D = [D D] Many interesting conceptual aspects of Domain theory: Reconciling paradoxes with fixpoints by introducing additional partially defined elements. A general theory of partial information, dynamics of information increase. Opens up the (analytical) topology of computation. Conceptual ambiguity between ontic and epistemic interpretations. Logic For Building Theories Practice-Based PoL: Amsterdam / 29

66 Domain Theory Providing extensional models for spaces satisfying D = [D D] led Dana Scott to Domain Theory. Many interesting conceptual aspects of Domain theory: Reconciling paradoxes with fixpoints by introducing additional partially defined elements. A general theory of partial information, dynamics of information increase. Opens up the (analytical) topology of computation. Conceptual ambiguity between ontic and epistemic interpretations. A discussion of domain theory emphasizing conceptual aspects in my article in the Handbook of Philosophy of Information (ed. van Benthem and Adriaans, Elsevier 2008). Logic For Building Theories Practice-Based PoL: Amsterdam / 29

67 Some Remarks and Questions for P-B PoL The Remarks Types and Curry-Howard Correspondence Developments Domain Theory Some Remarks and Questions for P-B PoL Logic For Building Theories Practice-Based PoL: Amsterdam / 29

68 Some Remarks and Questions for P-B PoL The Remarks Types and Curry-Howard Correspondence Developments Domain Theory Some Remarks and Questions for P-B PoL The is essentially canonical for functional computation no 700 problem there. Logic For Building Theories Practice-Based PoL: Amsterdam / 29

69 Some Remarks and Questions for P-B PoL The Remarks Types and Curry-Howard Correspondence Developments Domain Theory Some Remarks and Questions for P-B PoL The is essentially canonical for functional computation no 700 problem there. What should Church s thesis for concurrency be? Logic For Building Theories Practice-Based PoL: Amsterdam / 29

70 Some Remarks and Questions for P-B PoL The Remarks Types and Curry-Howard Correspondence Developments Domain Theory Some Remarks and Questions for P-B PoL The is essentially canonical for functional computation no 700 problem there. What should Church s thesis for concurrency be? The gap between intension and extension: and its models vs. recursion theory. Applications of the recursion theory framework to partial evaluation and mixed computation, program specialization, computational learning theory, computer viruses! Logic For Building Theories Practice-Based PoL: Amsterdam / 29

71 Some Remarks and Questions for P-B PoL The Remarks Types and Curry-Howard Correspondence Developments Domain Theory Some Remarks and Questions for P-B PoL The is essentially canonical for functional computation no 700 problem there. What should Church s thesis for concurrency be? The gap between intension and extension: and its models vs. recursion theory. Applications of the recursion theory framework to partial evaluation and mixed computation, program specialization, computational learning theory, computer viruses! All based on mining the computation content of the S m n theorem and Kleene s Second Recursion Theorem. and its models are too extensional to allow access to this content. Can we find a unified theory? Logic For Building Theories Practice-Based PoL: Amsterdam / 29

72 Some Remarks and Questions for P-B PoL The Remarks Types and Curry-Howard Correspondence Developments Domain Theory Some Remarks and Questions for P-B PoL The is essentially canonical for functional computation no 700 problem there. What should Church s thesis for concurrency be? The gap between intension and extension: and its models vs. recursion theory. Applications of the recursion theory framework to partial evaluation and mixed computation, program specialization, computational learning theory, computer viruses! All based on mining the computation content of the S m n theorem and Kleene s Second Recursion Theorem. and its models are too extensional to allow access to this content. Can we find a unified theory? Game Semantics, full abstraction and full completeness. Again, see my article in the Handbook of Philosophy of Information (and, hopefully, forthcoming article in SEP). Logic For Building Theories Practice-Based PoL: Amsterdam / 29

73 Some Theses About Category Theory s Category Theory and Logic For Building Theories

74 Some Theses About Category Theory Logic For Building Theories Practice-Based PoL: Amsterdam / 29

75 Some Theses About Category Theory Category theory (and not just categorical logic) should be seen as part of logic or vice versa! Logic For Building Theories Practice-Based PoL: Amsterdam / 29

76 Some Theses About Category Theory Category theory (and not just categorical logic) should be seen as part of logic or vice versa! Logicians should learn category theory!! Logic For Building Theories Practice-Based PoL: Amsterdam / 29

77 Some Theses About Category Theory Category theory (and not just categorical logic) should be seen as part of logic or vice versa! Logicians should learn category theory!! Philosophers should learn category theory!!! Logic For Building Theories Practice-Based PoL: Amsterdam / 29

78 Some Theses About Category Theory Category theory (and not just categorical logic) should be seen as part of logic or vice versa! Logicians should learn category theory!! Philosophers should learn category theory!!! Category theory is the language of structure. It enables us to see common patterns far beyond what is otherwise possible. Logic For Building Theories Practice-Based PoL: Amsterdam / 29

79 Some Theses About Category Theory Category theory (and not just categorical logic) should be seen as part of logic or vice versa! Logicians should learn category theory!! Philosophers should learn category theory!!! Category theory is the language of structure. It enables us to see common patterns far beyond what is otherwise possible. Trivial example: isomorphism. Logic For Building Theories Practice-Based PoL: Amsterdam / 29

80 Some Theses About Category Theory Category theory (and not just categorical logic) should be seen as part of logic or vice versa! Logicians should learn category theory!! Philosophers should learn category theory!!! Category theory is the language of structure. It enables us to see common patterns far beyond what is otherwise possible. Trivial example: isomorphism. Category theory has a strong normative force: methodologically, it compels us to ask certain questions is it functorial, natural, universal? which point to the key notions in developing a theory. Logic For Building Theories Practice-Based PoL: Amsterdam / 29

81 Some Theses About Category Theory Category theory (and not just categorical logic) should be seen as part of logic or vice versa! Logicians should learn category theory!! Philosophers should learn category theory!!! Category theory is the language of structure. It enables us to see common patterns far beyond what is otherwise possible. Trivial example: isomorphism. Category theory has a strong normative force: methodologically, it compels us to ask certain questions is it functorial, natural, universal? which point to the key notions in developing a theory. Category theory enables us to think bigger thoughts. Many of the most interesting conceptual developments in modern mathematics cannot even be articulated without category theory. Logic For Building Theories Practice-Based PoL: Amsterdam / 29

82 Some Theses About Category Theory Category theory (and not just categorical logic) should be seen as part of logic or vice versa! Logicians should learn category theory!! Philosophers should learn category theory!!! Category theory is the language of structure. It enables us to see common patterns far beyond what is otherwise possible. Trivial example: isomorphism. Category theory has a strong normative force: methodologically, it compels us to ask certain questions is it functorial, natural, universal? which point to the key notions in developing a theory. Category theory enables us to think bigger thoughts. Many of the most interesting conceptual developments in modern mathematics cannot even be articulated without category theory. Examples: Cohomology, categorification, the microcosm principle. Logic For Building Theories Practice-Based PoL: Amsterdam / 29

83 s Some Theses About Category Theory s Category theory allows us to dualize our entire discussion of algebras to obtain a notion of coalgebras of an endofunctor. However, while algebras abstract a familiar set of notions (inductive data types, structural recursion), colagebras open up a new and rather unexpected territory, and provides an effective abstraction and mathematical theory for a central class of computational phenomena: Programming over infinite data structures: streams, lazy lists, infinite trees... A novel notion of coinduction Modelling state-based computations of all kinds The key notion of bisimulation equivalence between processes. Logic For Building Theories Practice-Based PoL: Amsterdam / 29

84 F -s Final F -coalgebras Labelled Transition Systems Transition Graphs as s The Final Some Remarks and Questions for P-B PoL Logic For Building Theories

85 F -s Let F : C C be a functor. An F -coalgebra is an arrow γ : A FA for some object A of C. We say that A is the carrier of the coalgebra, while γ is the behaviour map. An F -coalgebra homomorphism from γ : A FA to δ : B FB is an arrow h : A B such that F -s Final F -coalgebras Labelled Transition Systems Transition Graphs as s The Final Some Remarks and Questions for P-B PoL A h B γ FA Fh δ FB F -coalgebras and their homomorphisms form a category F Coalg. Logic For Building Theories Practice-Based PoL: Amsterdam / 29

86 Final F -coalgebras An F -coalgebra γ is final if for every F -coalgebra δ there is a unique homomorphism from δ to γ. Proposition 1 isomorphism. If a final F -coalgebra exists, it is unique up to F -s Final F -coalgebras Labelled Transition Systems Transition Graphs as s The Final Some Remarks and Questions for P-B PoL Proposition 2 (Lambek Lemma) isomorphism If γ : A FA is final, it is an Logic For Building Theories Practice-Based PoL: Amsterdam / 29

87 Labelled Transition Systems F -s Final F -coalgebras Labelled Transition Systems Transition Graphs as s The Final Some Remarks and Questions for P-B PoL Let A be a set of actions. A labelled transition system over A is a coalgebra for the functor Such a coalgebra LT A : Set Set :: X P f (A X). γ : S P f (A S) can be understood operationally as follows: S is a set of states For each state s S, γ(s) specifies the possible transitions from that state. We write s a s if (a, s ) γ(s). We think of such a transition as consisting of the system performing the action a, and changing state from s to s. Note that we regard actions as directly observable, while states are not. Logic For Building Theories Practice-Based PoL: Amsterdam / 29

88 Transition Graphs as s F -s Final F -coalgebras Labelled Transition Systems Transition Graphs as s The Final Some Remarks and Questions for P-B PoL Note that any labelled transition graph (or state machine ) with labels in A is a coalgebra for LT A. Examples 1. a b 1 2 This corresponds to the coalgebra ({1, 2}, γ) 2. c γ : 1 {(a, 1), (b, 2)}, 2 {(c, 2)} b a a c 1 {(b, 2), (c, 1)}, 2 {(a, 1), (a, 3)}, 3 Logic For Building Theories Practice-Based PoL: Amsterdam / 29

89 The Final The key point is this. Proposition 3 (Proc A, out). For any set A of actions, there is a final LT A -coalgebra F -s Final F -coalgebras Labelled Transition Systems Transition Graphs as s The Final Some Remarks and Questions for P-B PoL Logic For Building Theories Practice-Based PoL: Amsterdam / 29

90 The Final F -s Final F -coalgebras Labelled Transition Systems Transition Graphs as s The Final Some Remarks and Questions for P-B PoL The key point is this. Proposition 3 (Proc A, out). For any set A of actions, there is a final LT A -coalgebra We think of elements of the final coalgebra as processes. The final coalgebra provides a universal semantics for transition systems, which is fully abstract with respect to observable behaviour. Logic For Building Theories Practice-Based PoL: Amsterdam / 29

91 The Final F -s Final F -coalgebras Labelled Transition Systems Transition Graphs as s The Final Some Remarks and Questions for P-B PoL The key point is this. Proposition 3 (Proc A, out). For any set A of actions, there is a final LT A -coalgebra We think of elements of the final coalgebra as processes. The final coalgebra provides a universal semantics for transition systems, which is fully abstract with respect to observable behaviour. All of this generalizes to a large class of endofunctors. Logic For Building Theories Practice-Based PoL: Amsterdam / 29

92 Some Remarks and Questions for P-B PoL F -s Final F -coalgebras Labelled Transition Systems Transition Graphs as s The Final Some Remarks and Questions for P-B PoL Logic For Building Theories Practice-Based PoL: Amsterdam / 29

93 Some Remarks and Questions for P-B PoL s naturally model state-based systems. They provide a promising basis for reconciling ontic and epistemic views of states. The final coalgebra is a universal solution hence unique up to isomorphism to the problem of constructing states as determined purely by their observational behaviour. F -s Final F -coalgebras Labelled Transition Systems Transition Graphs as s The Final Some Remarks and Questions for P-B PoL Logic For Building Theories Practice-Based PoL: Amsterdam / 29

94 Some Remarks and Questions for P-B PoL F -s Final F -coalgebras Labelled Transition Systems Transition Graphs as s The Final Some Remarks and Questions for P-B PoL s naturally model state-based systems. They provide a promising basis for reconciling ontic and epistemic views of states. The final coalgebra is a universal solution hence unique up to isomorphism to the problem of constructing states as determined purely by their observational behaviour. ic logic. A generalized modal logic which can be read off systematically from the type functor T. Generalized duality theory. Logic For Building Theories Practice-Based PoL: Amsterdam / 29

95 Some Remarks and Questions for P-B PoL F -s Final F -coalgebras Labelled Transition Systems Transition Graphs as s The Final Some Remarks and Questions for P-B PoL s naturally model state-based systems. They provide a promising basis for reconciling ontic and epistemic views of states. The final coalgebra is a universal solution hence unique up to isomorphism to the problem of constructing states as determined purely by their observational behaviour. ic logic. A generalized modal logic which can be read off systematically from the type functor T. Generalized duality theory. Corecursion, coinduction: mathematically well-founded treatment of non-well-founded objects. Logic For Building Theories Practice-Based PoL: Amsterdam / 29

96 Some Remarks and Questions for P-B PoL F -s Final F -coalgebras Labelled Transition Systems Transition Graphs as s The Final Some Remarks and Questions for P-B PoL s naturally model state-based systems. They provide a promising basis for reconciling ontic and epistemic views of states. The final coalgebra is a universal solution hence unique up to isomorphism to the problem of constructing states as determined purely by their observational behaviour. ic logic. A generalized modal logic which can be read off systematically from the type functor T. Generalized duality theory. Corecursion, coinduction: mathematically well-founded treatment of non-well-founded objects. Examples: non-well-founded sets, even non-well-found proofs! Logic For Building Theories Practice-Based PoL: Amsterdam / 29

97 Logic As A Tool For Building Theories Some Challenges for Practice-Based Philosophy of Logic Logic For Building Theories

98 Logic As A Tool For Building Theories Logic As A Tool For Building Theories Some Challenges for Practice-Based Philosophy of Logic Logic For Building Theories Practice-Based PoL: Amsterdam / 29

99 Logic As A Tool For Building Theories Logic As A Tool For Building Theories Some Challenges for Practice-Based Philosophy of Logic Computer Science theories of: Processes of various kinds, how to mathematically describe and reason about them. Information: statics of information representation, dynamics of information flow. Logic For Building Theories Practice-Based PoL: Amsterdam / 29

100 Logic As A Tool For Building Theories Logic As A Tool For Building Theories Some Challenges for Practice-Based Philosophy of Logic Computer Science theories of: Processes of various kinds, how to mathematically describe and reason about them. Information: statics of information representation, dynamics of information flow. The formulation and development of these theories uses a lot of logic essentially is logic, broadly (and properly) construed. Logic For Building Theories Practice-Based PoL: Amsterdam / 29

101 Logic As A Tool For Building Theories Logic As A Tool For Building Theories Some Challenges for Practice-Based Philosophy of Logic Computer Science theories of: Processes of various kinds, how to mathematically describe and reason about them. Information: statics of information representation, dynamics of information flow. The formulation and development of these theories uses a lot of logic essentially is logic, broadly (and properly) construed. Logic in the mode of open-ended, outward-reaching modelling, rather than conservative codification. Logic For Building Theories Practice-Based PoL: Amsterdam / 29

102 Logic As A Tool For Building Theories Logic As A Tool For Building Theories Some Challenges for Practice-Based Philosophy of Logic Computer Science theories of: Processes of various kinds, how to mathematically describe and reason about them. Information: statics of information representation, dynamics of information flow. The formulation and development of these theories uses a lot of logic essentially is logic, broadly (and properly) construed. Logic in the mode of open-ended, outward-reaching modelling, rather than conservative codification. Considerable potential beyond Computer Science: in physics, biology, cognitive and social sciences etc. Logic For Building Theories Practice-Based PoL: Amsterdam / 29

103 Some Challenges for Practice-Based Philosophy of Logic Logic As A Tool For Building Theories Some Challenges for Practice-Based Philosophy of Logic Logic For Building Theories Practice-Based PoL: Amsterdam / 29

104 Some Challenges for Practice-Based Philosophy of Logic Analyze a real, contemporary research programme in mathematics, logic or theoretical computer science. Logic As A Tool For Building Theories Some Challenges for Practice-Based Philosophy of Logic Logic For Building Theories Practice-Based PoL: Amsterdam / 29

105 Some Challenges for Practice-Based Philosophy of Logic Logic As A Tool For Building Theories Some Challenges for Practice-Based Philosophy of Logic Analyze a real, contemporary research programme in mathematics, logic or theoretical computer science. Study the choices made, the reasons given, the methodological disagreements, what these were really about, why certain contributions were decisive, why conceptual arguments about approaches were decided in a certain way. Logic For Building Theories Practice-Based PoL: Amsterdam / 29

106 Some Challenges for Practice-Based Philosophy of Logic Logic As A Tool For Building Theories Some Challenges for Practice-Based Philosophy of Logic Analyze a real, contemporary research programme in mathematics, logic or theoretical computer science. Study the choices made, the reasons given, the methodological disagreements, what these were really about, why certain contributions were decisive, why conceptual arguments about approaches were decided in a certain way. This will engage the interest, enthusiasm, and eventually the active participation of the practitioner community. Logic For Building Theories Practice-Based PoL: Amsterdam / 29

107 Some Challenges for Practice-Based Philosophy of Logic Logic As A Tool For Building Theories Some Challenges for Practice-Based Philosophy of Logic Analyze a real, contemporary research programme in mathematics, logic or theoretical computer science. Study the choices made, the reasons given, the methodological disagreements, what these were really about, why certain contributions were decisive, why conceptual arguments about approaches were decided in a certain way. This will engage the interest, enthusiasm, and eventually the active participation of the practitioner community. Contrast: Philosophy of Physics vs. Philosophy of Logic and Mathematics. Logic For Building Theories Practice-Based PoL: Amsterdam / 29

Categories, Proofs and Programs

Categories, Proofs and Programs Categories, Proofs and Programs Samson Abramsky and Nikos Tzevelekos Lecture 4: Curry-Howard Correspondence and Cartesian Closed Categories In A Nutshell Logic Computation 555555555555555555 5 Categories

More information

1. The Method of Coalgebra

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

More information

Recursion in Coalgebras

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

More information

What is logic, the topic of this course? There are at least two answers to that question.

What is logic, the topic of this course? There are at least two answers to that question. Applied Logic Lecture 1 CS 486 Spring 2005 Tuesday, January 25, 2005 What is Logic? What is logic, the topic of this course? There are at least two answers to that question. General logic: critical examination

More information

Neighborhood Semantics for Modal Logic Lecture 5

Neighborhood Semantics for Modal Logic Lecture 5 Neighborhood Semantics for Modal Logic Lecture 5 Eric Pacuit ILLC, Universiteit van Amsterdam staff.science.uva.nl/ epacuit August 17, 2007 Eric Pacuit: Neighborhood Semantics, Lecture 5 1 Plan for the

More information

The λ-calculus and Curry s Paradox Drew McDermott , revised

The λ-calculus and Curry s Paradox Drew McDermott , revised The λ-calculus and Curry s Paradox Drew McDermott drew.mcdermott@yale.edu 2015-09-23, revised 2015-10-24 The λ-calculus was invented by Alonzo Church, building on earlier work by Gottlob Frege and Moses

More information

Propositions as Types

Propositions as Types Propositions as Types Martin Pfeifhofer & Felix Schett May 25, 2016 Contents 1 Introduction 2 2 Content 3 2.1 Getting Started............................ 3 2.2 Effective Computability And The Various Definitions.......

More information

Automata Theory. Definition. Computational Complexity Theory. Computability Theory

Automata Theory. Definition. Computational Complexity Theory. Computability Theory Outline THEORY OF COMPUTATION CS363, SJTU What is Theory of Computation? History of Computation Branches and Development Xiaofeng Gao Dept. of Computer Science Shanghai Jiao Tong University 2 The Essential

More information

Computer Science and Logic A Match Made in Heaven

Computer Science and Logic A Match Made in Heaven A Match Made in Heaven Luca Aceto Reykjavik University Reykjavik, 3 April 2009 Thanks to Moshe Vardi from whom I have drawn inspiration (read stolen ideas ) for this presentation. Why This Talk Today?

More information

Adriaan van Wijngaarden

Adriaan van Wijngaarden Adriaan van Wijngaarden From his Wikipedia article: His education was in mechanical engineering, for which he received a degree from Delft University of Technology in 1939. He then studied for a doctorate

More information

Handbook of Logic and Proof Techniques for Computer Science

Handbook of Logic and Proof Techniques for Computer Science Steven G. Krantz Handbook of Logic and Proof Techniques for Computer Science With 16 Figures BIRKHAUSER SPRINGER BOSTON * NEW YORK Preface xvii 1 Notation and First-Order Logic 1 1.1 The Use of Connectives

More information

Ahmad KARIMI A NON-SELF-REFERENTIAL PARADOX IN EPISTEMIC GAME THEORY

Ahmad KARIMI A NON-SELF-REFERENTIAL PARADOX IN EPISTEMIC GAME THEORY REPORTS ON MATHEMATICAL LOGIC 52 (2017), 45 56 doi:10.4467/20842589rm.17.002.7140 Ahmad KARIMI A NON-SELF-REFERENTIAL PARADOX IN EPISTEMIC GAME THEORY A b s t r a c t. The beliefs of other people about

More information

Partial model checking via abstract interpretation

Partial model checking via abstract interpretation Partial model checking via abstract interpretation N. De Francesco, G. Lettieri, L. Martini, G. Vaglini Università di Pisa, Dipartimento di Ingegneria dell Informazione, sez. Informatica, Via Diotisalvi

More information

COMP6463: λ-calculus

COMP6463: λ-calculus COMP6463: λ-calculus 1. Basics Michael Norrish Michael.Norrish@nicta.com.au Canberra Research Lab., NICTA Semester 2, 2015 Outline Introduction Lambda Calculus Terms Alpha Equivalence Substitution Dynamics

More information

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

via Topos Theory Olivia Caramello University of Cambridge The unification of Mathematics via Topos Theory Olivia Caramello in University of Cambridge 2 / 23 in in In this lecture, whenever I use the word topos, I really mean Grothendieck topos. Recall that a Grothendieck topos can be seen as: a generalized space a mathematical

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

Automata-based Verification - III

Automata-based Verification - III CS3172: Advanced Algorithms Automata-based Verification - III Howard Barringer Room KB2.20/22: email: howard.barringer@manchester.ac.uk March 2005 Third Topic Infinite Word Automata Motivation Büchi Automata

More information

Chapter 4: Computation tree logic

Chapter 4: Computation tree logic INFOF412 Formal verification of computer systems Chapter 4: Computation tree logic Mickael Randour Formal Methods and Verification group Computer Science Department, ULB March 2017 1 CTL: a specification

More information

Model Theory of Modal Logic Lecture 5. Valentin Goranko Technical University of Denmark

Model Theory of Modal Logic Lecture 5. Valentin Goranko Technical University of Denmark Model Theory of Modal Logic Lecture 5 Valentin Goranko Technical University of Denmark Third Indian School on Logic and its Applications Hyderabad, January 29, 2010 Model Theory of Modal Logic Lecture

More information

Simply Typed λ-calculus

Simply Typed λ-calculus Simply Typed λ-calculus Lecture 1 Jeremy Dawson The Australian National University Semester 2, 2017 Jeremy Dawson (ANU) COMP4630,Lecture 1 Semester 2, 2017 1 / 23 A Brief History of Type Theory First developed

More information

λ Slide 1 Content Exercises from last time λ-calculus COMP 4161 NICTA Advanced Course Advanced Topics in Software Verification

λ Slide 1 Content Exercises from last time λ-calculus COMP 4161 NICTA Advanced Course Advanced Topics in Software Verification Content COMP 4161 NICTA Advanced Course Advanced Topics in Software Verification Toby Murray, June Andronick, Gerwin Klein λ Slide 1 Intro & motivation, getting started [1] Foundations & Principles Lambda

More information

M.Burgin Department of Mathematics University of California, Los Angeles Los Angeles, CA 90095

M.Burgin Department of Mathematics University of California, Los Angeles Los Angeles, CA 90095 Proceedings of the High Performance Computing Symposium, San Diego, 1999, pp. 224-228 SUPER-RECURSIVE ALGORITHMS AS A TOOL FOR HIGH PERFORMANCE COMPUTING M.Burgin Department of Mathematics University of

More information

Duality in Logic and Computation

Duality in Logic and Computation Duality in Logic and Computation Prakash Panangaden 1 1 School of Computer Science McGill University IEEE Symposium On Logic In Computer Science, June 2013 Panangaden (McGill University) Duality in Logic

More information

Model Theory in the Univalent Foundations

Model Theory in the Univalent Foundations Model Theory in the Univalent Foundations Dimitris Tsementzis January 11, 2017 1 Introduction 2 Homotopy Types and -Groupoids 3 FOL = 4 Prospects Section 1 Introduction Old and new Foundations (A) (B)

More information

The roots of computability theory. September 5, 2016

The roots of computability theory. September 5, 2016 The roots of computability theory September 5, 2016 Algorithms An algorithm for a task or problem is a procedure that, if followed step by step and without any ingenuity, leads to the desired result/solution.

More information

CHAPTER 2 INTRODUCTION TO CLASSICAL PROPOSITIONAL LOGIC

CHAPTER 2 INTRODUCTION TO CLASSICAL PROPOSITIONAL LOGIC CHAPTER 2 INTRODUCTION TO CLASSICAL PROPOSITIONAL LOGIC 1 Motivation and History The origins of the classical propositional logic, classical propositional calculus, as it was, and still often is called,

More information

Formal Logic and Deduction Systems

Formal Logic and Deduction Systems Formal Logic and Deduction Systems Software Formal Verification Maria João Frade Departmento de Informática Universidade do Minho 2008/2009 Maria João Frade (DI-UM) Formal Logic and Deduction Systems MFES

More information

Introduction. Pedro Cabalar. Department of Computer Science University of Corunna, SPAIN 2013/2014

Introduction. Pedro Cabalar. Department of Computer Science University of Corunna, SPAIN 2013/2014 Introduction Pedro Cabalar Department of Computer Science University of Corunna, SPAIN cabalar@udc.es 2013/2014 P. Cabalar ( Department Introduction of Computer Science University of Corunna, SPAIN2013/2014

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

Overview. Discrete Event Systems Verification of Finite Automata. What can finite automata be used for? What can finite automata be used for?

Overview. Discrete Event Systems Verification of Finite Automata. What can finite automata be used for? What can finite automata be used for? Computer Engineering and Networks Overview Discrete Event Systems Verification of Finite Automata Lothar Thiele Introduction Binary Decision Diagrams Representation of Boolean Functions Comparing two circuits

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

CS Lecture 19: Logic To Truth through Proof. Prof. Clarkson Fall Today s music: Theme from Sherlock

CS Lecture 19: Logic To Truth through Proof. Prof. Clarkson Fall Today s music: Theme from Sherlock CS 3110 Lecture 19: Logic To Truth through Proof Prof. Clarkson Fall 2014 Today s music: Theme from Sherlock Review Current topic: How to reason about correctness of code Last week: informal arguments

More information

Duality in Probabilistic Automata

Duality in Probabilistic Automata Duality in Probabilistic Automata Chris Hundt Prakash Panangaden Joelle Pineau Doina Precup Gavin Seal McGill University MFPS May 2006 Genoa p.1/40 Overview We have discovered an - apparently - new kind

More information

Automata-based Verification - III

Automata-based Verification - III COMP30172: Advanced Algorithms Automata-based Verification - III Howard Barringer Room KB2.20: email: howard.barringer@manchester.ac.uk March 2009 Third Topic Infinite Word Automata Motivation Büchi Automata

More information

Introduction to lambda calculus Part 2

Introduction to lambda calculus Part 2 Introduction to lambda calculus Part 2 Antti-Juhani Kaijanaho 2017-01-24... 1 Untyped lambda calculus 1.1 Syntax... x, y, z Var t, u Term t, u ::= x t u λx t... In this document, I will be using the following

More information

Proof-theoretic semantics, self-contradiction and the format of deductive reasoning

Proof-theoretic semantics, self-contradiction and the format of deductive reasoning St. Andrews, 19.11.2011 p. 1 To appear as an article in: L. Tranchini (ed.), Anti-Realistic Notions of Truth, Special issue of Topoi vol. 31 no. 1, 2012 Proof-theoretic semantics, self-contradiction and

More information

An Inquisitive Formalization of Interrogative Inquiry

An Inquisitive Formalization of Interrogative Inquiry An Inquisitive Formalization of Interrogative Inquiry Yacin Hamami 1 Introduction and motivation The notion of interrogative inquiry refers to the process of knowledge-seeking by questioning [5, 6]. As

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

Semantical study of intuitionistic modal logics

Semantical study of intuitionistic modal logics Semantical study of intuitionistic modal logics Department of Intelligence Science and Technology Graduate School of Informatics Kyoto University Kensuke KOJIMA January 16, 2012 Abstract We investigate

More information

CSE507. Course Introduction. Computer-Aided Reasoning for Software. Emina Torlak

CSE507. Course Introduction. Computer-Aided Reasoning for Software. Emina Torlak Computer-Aided Reasoning for Software CSE507 courses.cs.washington.edu/courses/cse507/14au/ Course Introduction Emina Torlak emina@cs.washington.edu Today What is this course about? Course logistics Review

More information

An Introduction to Modal Logic I

An Introduction to Modal Logic I An Introduction to Modal Logic I Introduction and Historical remarks Marco Cerami Palacký University in Olomouc Department of Computer Science Olomouc, Czech Republic Olomouc, October 10 th 2013 Marco

More information

A Strong Relevant Logic Model of Epistemic Processes in Scientific Discovery

A Strong Relevant Logic Model of Epistemic Processes in Scientific Discovery A Strong Relevant Logic Model of Epistemic Processes in Scientific Discovery (Extended Abstract) Jingde Cheng Department of Computer Science and Communication Engineering Kyushu University, 6-10-1 Hakozaki,

More information

Model Theory of Modal Logic Lecture 1: A brief introduction to modal logic. Valentin Goranko Technical University of Denmark

Model Theory of Modal Logic Lecture 1: A brief introduction to modal logic. Valentin Goranko Technical University of Denmark Model Theory of Modal Logic Lecture 1: A brief introduction to modal logic Valentin Goranko Technical University of Denmark Third Indian School on Logic and its Applications Hyderabad, 25 January, 2010

More information

On Frankl conjecture. Coherence in predicate logic. Algebraic theory of fuzzy languages and automata

On Frankl conjecture. Coherence in predicate logic. Algebraic theory of fuzzy languages and automata On Frankl conjecture Vladimir Božin University of Warwick, Coventry, United Kingdom bozin@maths.warwick.ac.uk Frankl conjecture states that for every finite family of sets closed under intersections there

More information

Conservation of Information

Conservation of Information Conservation of Information Amr Sabry (in collaboration with Roshan P. James) School of Informatics and Computing Indiana University May 8, 2012 Amr Sabry (in collaboration with Roshan P. James) (IU SOIC)

More information

On the coinductive nature of centralizers

On the coinductive nature of centralizers On the coinductive nature of centralizers Charles Grellois INRIA & University of Bologna Séminaire du LIFO Jan 16, 2017 Charles Grellois (INRIA & Bologna) On the coinductive nature of centralizers Jan

More information

Lecture 14 Rosser s Theorem, the length of proofs, Robinson s Arithmetic, and Church s theorem. Michael Beeson

Lecture 14 Rosser s Theorem, the length of proofs, Robinson s Arithmetic, and Church s theorem. Michael Beeson Lecture 14 Rosser s Theorem, the length of proofs, Robinson s Arithmetic, and Church s theorem Michael Beeson The hypotheses needed to prove incompleteness The question immediate arises whether the incompleteness

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

2 Results I: Lifting Computer Science

2 Results I: Lifting Computer Science Ben Greenman December 12, 2015 Call-By-Name, Call-By-Value, and the λ Calculus Abstract Plotkin s 1975 paper is strictly business. There are many theorems packed in the space of 35 pages, with little room

More information

Modal Dependence Logic

Modal Dependence Logic Modal Dependence Logic Jouko Väänänen Institute for Logic, Language and Computation Universiteit van Amsterdam Plantage Muidergracht 24 1018 TV Amsterdam, The Netherlands J.A.Vaananen@uva.nl Abstract We

More information

Opleiding Informatica

Opleiding Informatica Opleiding Informatica Tape-quantifying Turing machines in the arithmetical hierarchy Simon Heijungs Supervisors: H.J. Hoogeboom & R. van Vliet BACHELOR THESIS Leiden Institute of Advanced Computer Science

More information

On Paradoxes in Proof-Theoretic Semantics

On Paradoxes in Proof-Theoretic Semantics Quantum Group Dept. of Computer Science Oxford University 2nd PTS Conference, Tübingen, March 8, 2013 Outline 1 Categorical Harmony Logical Constants as Adjoint Functors Comparison with Other Concepts

More information

Introduction to Temporal Logic. The purpose of temporal logics is to specify properties of dynamic systems. These can be either

Introduction to Temporal Logic. The purpose of temporal logics is to specify properties of dynamic systems. These can be either Introduction to Temporal Logic The purpose of temporal logics is to specify properties of dynamic systems. These can be either Desired properites. Often liveness properties like In every infinite run action

More information

What s category theory, anyway? Dedicated to the memory of Dietmar Schumacher ( )

What s category theory, anyway? Dedicated to the memory of Dietmar Schumacher ( ) What s category theory, anyway? Dedicated to the memory of Dietmar Schumacher (1935-2014) Robert Paré November 7, 2014 Many subjects How many subjects are there in mathematics? Many subjects How many subjects

More information

Agent-Based HOL Reasoning 1

Agent-Based HOL Reasoning 1 Agent-Based HOL Reasoning 1 Alexander Steen Max Wisniewski Christoph Benzmüller Freie Universität Berlin 5th International Congress on Mathematical Software (ICMS 2016) 1 This work has been supported by

More information

Final Exam (100 points)

Final Exam (100 points) Final Exam (100 points) Honor Code: Each question is worth 10 points. There is one bonus question worth 5 points. In contrast to the homework assignments, you may not collaborate on this final exam. You

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

Static Program Analysis

Static Program Analysis Static Program Analysis Xiangyu Zhang The slides are compiled from Alex Aiken s Michael D. Ernst s Sorin Lerner s A Scary Outline Type-based analysis Data-flow analysis Abstract interpretation Theorem

More information

Games for topological fixpoint logics

Games for topological fixpoint logics Games for topological fixpoint logics Clemens Kupke University of Strathclyde, Glasgow Scotland, UK & EU joint work with Nick Bezhanishvili University of Amsterdam The Netherlands Categories, Logic & Physics,

More information

What is DEL good for? Alexandru Baltag. Oxford University

What is DEL good for? Alexandru Baltag. Oxford University Copenhagen 2010 ESSLLI 1 What is DEL good for? Alexandru Baltag Oxford University Copenhagen 2010 ESSLLI 2 DEL is a Method, Not a Logic! I take Dynamic Epistemic Logic () to refer to a general type of

More information

Great Ideas in Theoretical Computer Science

Great Ideas in Theoretical Computer Science 15-251 Great Ideas in Theoretical Computer Science Lecture 1: Introduction to the course Instructors Aug 29th, 2017 Teaching Assistants What is computer science? What is theoretical computer science? What

More information

Meaning and Reference INTENSIONAL AND MODAL LOGIC. Intensional Logic. Frege: Predicators (general terms) have

Meaning and Reference INTENSIONAL AND MODAL LOGIC. Intensional Logic. Frege: Predicators (general terms) have INTENSIONAL AND MODAL LOGIC Meaning and Reference Why do we consider extensions to the standard logical language(s)? Requirements of knowledge representation / domain modelling Intensional expressions:

More information

Proving Completeness for Nested Sequent Calculi 1

Proving Completeness for Nested Sequent Calculi 1 Proving Completeness for Nested Sequent Calculi 1 Melvin Fitting abstract. Proving the completeness of classical propositional logic by using maximal consistent sets is perhaps the most common method there

More information

Model Checking & Program Analysis

Model Checking & Program Analysis Model Checking & Program Analysis Markus Müller-Olm Dortmund University Overview Introduction Model Checking Flow Analysis Some Links between MC and FA Conclusion Apology for not giving proper credit to

More information

Topology in Denotational Semantics

Topology in Denotational Semantics Journées Topologie et Informatique Thomas Ehrhard Preuves, Programmes et Systèmes (PPS) Université Paris Diderot - Paris 7 and CNRS March 21, 2013 What is denotational semantics? The usual stateful approach

More information

CS 4110 Programming Languages & Logics. Lecture 16 Programming in the λ-calculus

CS 4110 Programming Languages & Logics. Lecture 16 Programming in the λ-calculus CS 4110 Programming Languages & Logics Lecture 16 Programming in the λ-calculus 30 September 2016 Review: Church Booleans 2 We can encode TRUE, FALSE, and IF, as: TRUE λx. λy. x FALSE λx. λy. y IF λb.

More information

Temporal Logic. Stavros Tripakis University of California, Berkeley. We have designed a system. We want to check that it is correct.

Temporal Logic. Stavros Tripakis University of California, Berkeley. We have designed a system. We want to check that it is correct. EE 244: Fundamental Algorithms for System Modeling, Analysis, and Optimization Fall 2016 Temporal logic Stavros Tripakis University of California, Berkeley Stavros Tripakis (UC Berkeley) EE 244, Fall 2016

More information

Connecting the categorical and the modal logic approaches to Quantum Mech

Connecting the categorical and the modal logic approaches to Quantum Mech Connecting the categorical and the modal logic approaches to Quantum Mechanics based on MSc thesis supervised by A. Baltag Institute for Logic, Language and Computation University of Amsterdam 30.11.2013

More information

CSE507. Introduction. Computer-Aided Reasoning for Software. Emina Torlak courses.cs.washington.edu/courses/cse507/17wi/

CSE507. Introduction. Computer-Aided Reasoning for Software. Emina Torlak courses.cs.washington.edu/courses/cse507/17wi/ Computer-Aided Reasoning for Software CSE507 courses.cs.washington.edu/courses/cse507/17wi/ Introduction Emina Torlak emina@cs.washington.edu Today What is this course about? Course logistics Review of

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

Rules and derivations in an elementary logic course arxiv: v1 [cs.lo] 7 Jan 2016

Rules and derivations in an elementary logic course arxiv: v1 [cs.lo] 7 Jan 2016 Rules and derivations in an elementary logic course arxiv:160101483v1 [cslo] 7 Jan 2016 Gilles Dowek Inria, 23 avenue d Italie, CS 81321, 75214 Paris Cedex 13, France gillesdowek@inriafr When teaching

More information

Computability Theory. CS215, Lecture 6,

Computability Theory. CS215, Lecture 6, Computability Theory CS215, Lecture 6, 2000 1 The Birth of Turing Machines At the end of the 19th century, Gottlob Frege conjectured that mathematics could be built from fundamental logic In 1900 David

More information

Mathematical Foundations for Conceptual Blending

Mathematical Foundations for Conceptual Blending Mathematical Foundations for Conceptual Blending Răzvan Diaconescu Simion Stoilow Institute of Mathematics of the Romanian Academy FROM 2017 Part I Conceptual Blending: from Fauconnier and Turner to Goguen

More information

Computability Theory for Neuroscience

Computability Theory for Neuroscience Computability Theory for Neuroscience by Doug Rubino Abstract Neuronal circuits are ubiquitously held to be the substrate of computation in the brain, information processing in single neurons is though

More information

Henk Barendregt and Freek Wiedijk assisted by Andrew Polonsky. Radboud University Nijmegen. March 5, 2012

Henk Barendregt and Freek Wiedijk assisted by Andrew Polonsky. Radboud University Nijmegen. March 5, 2012 1 λ Henk Barendregt and Freek Wiedijk assisted by Andrew Polonsky Radboud University Nijmegen March 5, 2012 2 reading Femke van Raamsdonk Logical Verification Course Notes Herman Geuvers Introduction to

More information

Turing Machines (TM) The Turing machine is the ultimate model of computation.

Turing Machines (TM) The Turing machine is the ultimate model of computation. TURING MACHINES Turing Machines (TM) The Turing machine is the ultimate model of computation. Alan Turing (92 954), British mathematician/engineer and one of the most influential scientists of the last

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

Abstract model theory for extensions of modal logic

Abstract model theory for extensions of modal logic Abstract model theory for extensions of modal logic Balder ten Cate Stanford, May 13, 2008 Largely based on joint work with Johan van Benthem and Jouko Väänänen Balder ten Cate Abstract model theory for

More information

Computational Tasks and Models

Computational Tasks and Models 1 Computational Tasks and Models Overview: We assume that the reader is familiar with computing devices but may associate the notion of computation with specific incarnations of it. Our first goal is to

More information

Model Checking: An Introduction

Model Checking: An Introduction Model Checking: An Introduction Meeting 3, CSCI 5535, Spring 2013 Announcements Homework 0 ( Preliminaries ) out, due Friday Saturday This Week Dive into research motivating CSCI 5535 Next Week Begin foundations

More information

Introduction to Logic in Computer Science: Autumn 2006

Introduction to Logic in Computer Science: Autumn 2006 Introduction to Logic in Computer Science: Autumn 2006 Ulle Endriss Institute for Logic, Language and Computation University of Amsterdam Ulle Endriss 1 Plan for Today The first part of the course will

More information

Model Theory MARIA MANZANO. University of Salamanca, Spain. Translated by RUY J. G. B. DE QUEIROZ

Model Theory MARIA MANZANO. University of Salamanca, Spain. Translated by RUY J. G. B. DE QUEIROZ Model Theory MARIA MANZANO University of Salamanca, Spain Translated by RUY J. G. B. DE QUEIROZ CLARENDON PRESS OXFORD 1999 Contents Glossary of symbols and abbreviations General introduction 1 xix 1 1.0

More information

Logic: Intro & Propositional Definite Clause Logic

Logic: Intro & Propositional Definite Clause Logic Logic: Intro & Propositional Definite Clause Logic Alan Mackworth UBC CS 322 Logic 1 February 27, 2013 P & M extbook 5.1 Lecture Overview Recap: CSP planning Intro to Logic Propositional Definite Clause

More information

Lecture Notes on The Curry-Howard Isomorphism

Lecture Notes on The Curry-Howard Isomorphism Lecture Notes on The Curry-Howard Isomorphism 15-312: Foundations of Programming Languages Frank Pfenning Lecture 27 ecember 4, 2003 In this lecture we explore an interesting connection between logic and

More information

Categorical coherence in the untyped setting. Peter M. Hines

Categorical coherence in the untyped setting. Peter M. Hines Categorical coherence in the untyped setting Peter M. Hines SamsonFest Oxford May 2013 The Untyped Setting Untyped categories Categories with only one object (i.e. monoids) with additional categorical

More information

Automata, Logic and Games: Theory and Application

Automata, Logic and Games: Theory and Application Automata, Logic and Games: Theory and Application 1. Büchi Automata and S1S Luke Ong University of Oxford TACL Summer School University of Salerno, 14-19 June 2015 Luke Ong Büchi Automata & S1S 14-19 June

More information

Chapter 6: Computation Tree Logic

Chapter 6: Computation Tree Logic Chapter 6: Computation Tree Logic Prof. Ali Movaghar Verification of Reactive Systems Outline We introduce Computation Tree Logic (CTL), a branching temporal logic for specifying system properties. A comparison

More information

Vietoris bisimulations

Vietoris bisimulations Vietoris bisimulations N. Bezhanishvili, G. Fontaine and Y. Venema July 17, 2008 Abstract Building on the fact that descriptive frames are coalgebras for the Vietoris functor on the category of Stone spaces,

More information

Harvard School of Engineering and Applied Sciences CS 152: Programming Languages

Harvard School of Engineering and Applied Sciences CS 152: Programming Languages Harvard School of Engineering and Applied Sciences CS 152: Programming Languages Lecture 17 Tuesday, April 2, 2013 1 There is a strong connection between types in programming languages and propositions

More information

A Graph Theoretic Perspective on CPM(Rel)

A Graph Theoretic Perspective on CPM(Rel) A Graph Theoretic Perspective on CPM(Rel) Daniel Marsden Mixed states are of interest in quantum mechanics for modelling partial information. More recently categorical approaches to linguistics have also

More information

A Structuralist Account of Logic

A Structuralist Account of Logic Croatian Journal of Philosophy Vol. VIII, No. 23, 2008 Majda Trobok, Department of Philosophy University of Rijeka A Structuralist Account of Logic The lynch-pin of the structuralist account of logic endorsed

More information

CSCI3390-Lecture 6: An Undecidable Problem

CSCI3390-Lecture 6: An Undecidable Problem CSCI3390-Lecture 6: An Undecidable Problem September 21, 2018 1 Summary The language L T M recognized by the universal Turing machine is not decidable. Thus there is no algorithm that determines, yes or

More information

TR : Tableaux for the Logic of Proofs

TR : Tableaux for the Logic of Proofs City University of New York (CUNY) CUNY Academic Works Computer Science Technical Reports Graduate Center 2004 TR-2004001: Tableaux for the Logic of Proofs Bryan Renne Follow this and additional works

More information

A Propositional Dynamic Logic for Instantial Neighborhood Semantics

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

More information

Fibrational Semantics

Fibrational Semantics Fibrational Semantics Brice Halimi Paris Ouest University & Sphere Introduction The question What can Set Theory do for Philosophy? would never be asked nowadays. The main reason for dismissing such a

More information

Formal Verification. Lecture 1: Introduction to Model Checking and Temporal Logic¹

Formal Verification. Lecture 1: Introduction to Model Checking and Temporal Logic¹ Formal Verification Lecture 1: Introduction to Model Checking and Temporal Logic¹ Jacques Fleuriot jdf@inf.ed.ac.uk ¹Acknowledgement: Adapted from original material by Paul Jackson, including some additions

More information

Some Non-Classical Approaches to the Brandenburger-Keisler Paradox

Some Non-Classical Approaches to the Brandenburger-Keisler Paradox Some Non-Classical Approaches to the Brandenburger-Keisler Paradox Can BAŞKENT The Graduate Center of the City University of New York cbaskent@gc.cuny.edu www.canbaskent.net KGB Seminar The Graduate Center

More information

MODAL LOGICS OF SPACE

MODAL LOGICS OF SPACE MODAL LOGICS OF SPACE Johan van Benthem, Amsterdam & Stanford, http://staff.science.uva.nl/~johan/ Handbook Launch Spatial Logics, Groningen, 14 November 2007 Pictures: dynamically in real-time on the

More information

Modal logics: an introduction

Modal logics: an introduction Modal logics: an introduction Valentin Goranko DTU Informatics October 2010 Outline Non-classical logics in AI. Variety of modal logics. Brief historical remarks. Basic generic modal logic: syntax and

More information

6 Coalgebraic modalities via predicate liftings

6 Coalgebraic modalities via predicate liftings 6 Coalgebraic modalities via predicate liftings In this chapter we take an approach to coalgebraic modal logic where the modalities are in 1-1 correspondence with so-called predicate liftings for the functor

More information