Lecture three: Automata and the algebra-coalgebra duality

Size: px
Start display at page:

Download "Lecture three: Automata and the algebra-coalgebra duality"

Transcription

1 Lecture three: Automata and the algebra-coalgebra duality Jan Rutten CWI Amsterdam & Radboud University Nijmegen IPM, Tehran - 13 January 2016

2 This lecture will explain two diagrams: 1 x c ε σ A r x X α o c 2 ε? 2 A τ (A ) A (r x ) A X A (o c ) A (2 A ) A Algebra-coalgebra duality in Brzozowski s minimization algorithm Bonchi, Bonsangue, Hansen, Panangaden, Rutten, Silva ACM Transactions on Computational Logic (TOCL) 2013

3 This lecture will explain two diagrams: 1 x ε σ A A /Eq(X, α) X α c coeq(x, α) 2 ε? 2 A τ (A ) A (A /Eq(X, α)) A X A (coeq(x, α)) A (2 A ) A The dual equivalence of equations and coequations for automata. A. Ballester-Bolinches, E. Cosme-Llopez, J. Rutten. Information and Computation Vol. 244, 2015, pp

4 Motivation - A modern perspective on a classical subject - A good illustration of the algebra-coalgebra duality - Leading to very efficient algorithms (in Lecture four)

5 Table of contents 1. (Co)algebra - a mini tutorial 2. A small exam: algebra or coalgebra? 3. The scene: the algebra-coalgebra duality of automata 4. Duality of reachability and observability 5. The coinduction proof method 6. Equations and coequations 7. A dual equivalence 8. In conclusion

6 1. (Co)algebra - a mini tutorial

7 Algebras F(X) algebras are pairs (X, α) where: α X

8 Coalgebras X coalgebras are pairs (X, α) where: α F(X)

9 Examples of algebras 1 N N + N [0, successor] 1 + N N 0 N successor N

10 Examples of algebras 1 N N + N [0, successor] 1 + N N 0 N successor N

11 Examples of coalgebras α X P(A X) x a y a, y α(x)

12 Examples of coalgebras head, tail 2 ω 2 2 ω 2 2 ω head tail 2 ω

13 Thus: F(X) X algebras: α X coalgebras: α F(X)

14 Thus: X algebras: X coalgebras:

15 All the rest: by example homomorphisms bisimulations initial algebras, final coalgebras induction, coinduction

16 Table of contents 1. (Co)algebra - a mini tutorial 2. A small exam: algebra or coalgebra? 3. The scene: the algebra-coalgebra duality of automata 4. Duality of reachability and observability 5. The coinduction proof method 6. Equations and coequations 7. A dual equivalence 8. In conclusion

17 2. A small exam: algebra or coalgebra?

18 Initial state 1 x where X is a (possibly infinite) set and 1 = {0} X x X We will call X pointed, with point (or: initial state) x.

19 Accepting states c 2 where X 2 = {0, 1} We will call c a colouring. And: - if c(x) = 1 then we call x accepting. - if c(x) = 0 then we call x non-accepting.

20 (Deterministic) automaton with - X is the set of states - A is the input alphabet - X A = { g g : A X } - notation: X α X A x a y α(x)(a) = y

21 (Deterministic) automaton Because X A X = X X A we have: X A α X and X α X A It is both an algebra and a coalgebra

22 (Deterministic) automaton Because X A X = X X A we have: X A α X and X α X A It is both an algebra and a coalgebra

23 A pointed automaton (X, x, α) 1 x X α X A It is an algebra, not a coalgebra.

24 A pointed automaton (X, x, α) 1 x X α X A It is an algebra, not a coalgebra.

25 A coloured automaton (X, c, α) c 2 X α X A It is a coalgebra, not an algebra.

26 A coloured automaton (X, c, α) c 2 X α X A It is a coalgebra, not an algebra.

27 A pointed and coloured automaton (X, x, c, α) 1 x c 2 X α X A is neither an algebra nor a coalgebra.

28 A pointed and coloured automaton (X, x, c, α) 1 x c 2 X α X A is neither an algebra nor a coalgebra.

29 Table of contents 1. (Co)algebra - a mini tutorial 2. A small exam: algebra or coalgebra? 3. The scene: the algebra-coalgebra duality of automata 4. Duality of reachability and observability 5. The coinduction proof method 6. Equations and coequations 7. A dual equivalence 8. In conclusion

30 3. The scene: the algebra-coalgebra duality of automata cf. Kalman s duality [1959] controllability - observability cf. Arbib and Manes categorical approach to automata

31 The scene: initial algebra and final coalgebra 1 x c ε σ A r x X α o c 2 ε? 2 A τ (A ) A (r x ) A X A (o c ) A (2 A ) A

32 first: homomorphisms of automata α h X Y X A h A Y A β β( h(x) )(a) = h( α(x)(a) ) x 1 a x 2 h(x 1 ) a h(x 2 )

33 Initial algebra 1 x c ε σ A r x X α o c 2 ε? 2 A τ (A ) A (r x ) A X A (o c ) A (2 A ) A

34 The pointed automaton of words 1 ε A σ (A ) A ε = the empty word as initial state

35 The pointed automaton of words 1 ε A σ (A ) A σ(w)(a) = w a that is, transitions: w a wa b wab

36 Initial algebra semantics 1 x ε σ A X! r x α (A ) A (r x ) A X A r x (w) = x w : the state reached from x on input w

37 Initial algebra semantics: reachability 1 x ε σ A r x X α (A ) A (r x ) A X A r x = the reachability map if r x is surjective then (X, x, α) is called reachable

38 Final coalgebra 1 x c ε σ A r x X α o c 2 ε? 2 A τ (A ) A (r x ) A X A (o c ) A (2 A ) A

39 The coloured automaton of languages 2 2 A τ ε? (2 A ) A 2 A = {g g : A 2} = {L L A }

40 The coloured automaton of languages 2 2 A τ ε? (2 A ) A accepting states: ε?(l) = 1 ε L transitions: τ(l)(a) = L a = {w A a w L}

41 Transitions: L a La where L a = {w A a w L}. For instance, {ab} a {b} b {ɛ} b a a, b a, b Note that every state L accepts... the language L.

42 Final coalgebra semantics c 2 ε? α X X A! o c 2 A τ (o c ) A (2 A ) A o c (x) = the language accepted by x

43 Final coalgebra semantics: observability c 2 ε? α X X A o c 2 A τ (o c ) A (2 A ) A o c = the observability map if o c is injective then (X, c, α) is called observable

44 Example b b x y a b a a z reachable: y = x aa z = x a not observable: o c (y) = o c (z) = 1 + {a, b} a and so: not minimal

45 Minimality 1 x c ε σ A r x X α o c 2 ε? 2 A τ (A ) A X A (2 A ) A minimal = reachable + observable That is, r x surjective and o c injective.

46 Synthesis Given a language L 2 A, find minimal accepting L: ε σ 1 A r x (X, x, c, α) x X α c o c 2 2 A τ ε? (A ) A X A (2 A ) A o c (x) = L

47 Synthesis: finding a man in the middle ε 1 L A r L = o L 2 A ε? L 2 r L (w) = o L (w) = L w = {v A w v L}

48 Synthesis: finding a man in the middle ε 1 L A r L 2 A ε? L 2 r L (v) = r L (w) iff u A, vu L wu L i.e., ker(r L ) = Myhill-Nerode equivalence

49 Synthesis by epi-mono factorisation ε 1 L A e A /ker(r L ) L m 2 A 2 ε? r L = m e reachable: e is surjective observable: m is injective hence: A /ker(r L ) = minimal!

50 Synthesis by epi-mono factorisation ε 1 A L L L 2 A 2 ε? A /ker(r L ) = L = { Lw w A } Myhill-Nerode meet Brzozowski

51 Table of contents 1. (Co)algebra - a mini tutorial 2. A small exam: algebra or coalgebra? 3. The scene: the algebra-coalgebra duality of automata 4. Duality of reachability and observability 5. The coinduction proof method 6. Equations and coequations 7. A dual equivalence 8. In conclusion

52 4. The duality of reachability and observability with an application to Brzozowski s minimization algorithm cf. paper: Algebra-coalgebra duality in Brzozowski s minimization algorithm Bonchi, Bonsangue, Hansen, Panangaden, Rutten, Silva ACM Transactions on Computational Logic (TOCL) 2013 contains various generalisations (Moore, weighted, probabilistic)

53 Recall: reachability and observability 1 x c ε σ A r x X α o c 2 ε? 2 A τ (A ) A X A (2 A ) A if r x is surjective then (X, x, α) is called reachable if o c is injective then (X, c, α) is called observable minimal = reachable + observable

54 Reversing automata 1 x ε A r X σ α (A ) A X A 2 ( ) 2 X 2 2 x 2 ε 2 r 2 A 2 σ 2 α (2 X ) A (2 A ) A 2 ( ) = contravariant powerset functor (2 X, 2 α ) = deterministic reverse of (X, α)

55 Contravariant powerset functor V 2 ( ) : g W 2 V 2 W 2 g where 2 V = {S S V } 2 g (S) = g 1 (S) Theorem: g is surjective 2 g is injective. Proof: exercise (use functoriality).

56 Contravariant powerset functor V 2 ( ) : g W 2 V 2 W 2 g where 2 V = {S S V } 2 g (S) = g 1 (S) Theorem: g is surjective 2 g is injective. Proof: exercise (use functoriality).

57 Contravariant powerset functor V 2 ( ) : g W 2 V 2 W 2 g where 2 V = {S S V } 2 g (S) = g 1 (S) Theorem: g is surjective 2 g is injective. Proof: exercise (use functoriality).

58 Reversing transitions X α X A X A X 2 ( ) 2 X A 2 X (2 X ) A 2 X 2 X 2 α (2 X ) A

59 point colouring 1 x 2 x 2 X 2 ( ) 2 X c 2 1 c X 2 X

60 Reversing the entire automaton 1 x X c 2 2 ( ) 1 c 2 X 2x 2 α X A 2 α (2 X ) A point and colouring are exchanged... transitions are reversed... the result is again deterministic... (X, x, c, α) accepts L (2 X, c, 2 x, 2 α ) accepts L rev!!

61 Duality between reachability and observablity 1 x ε A r X σ α (A ) A X A 2 ( ) 2 X 2 2 x 2 ε 2 r 2 A 2 σ 2 α (2 X ) A (2 A ) A Theorem: r is surjective 2 r is injective. Theorem: (X, x, α) is reachable (2 X, 2 x, 2 α ) is observable.

62 Duality between reachability and observablity 1 x ε A r X σ α (A ) A X A 2 ( ) 2 X 2 2 x 2 ε 2 r 2 A 2 σ 2 α (2 X ) A (2 A ) A Theorem: r is surjective 2 r is injective. Theorem: (X, x, α) is reachable (2 X, 2 x, 2 α ) is observable.

63 Duality between reachability and observablity 1 x ε A r X σ α (A ) A X A 2 ( ) 2 X 2 2 x 2 ε 2 r 2 A 2 σ 2 α (2 X ) A (2 A ) A Theorem: r is surjective 2 r is injective. Theorem: (X, x, α) is reachable (2 X, 2 x, 2 α ) is observable.

64 Corollary: Brzozowski s minimization algorithm (i) X accepts L (ii) 2 X accepts L rev (iii) take reachable part: Y = reach(2 X ) (iv) 2 Y accepts (L rev ) rev = L (v) Y is reachable 2 Y is observable (vi) take reachable part (vii) result: reachable + observable = minimal automaton for L

65 Table of contents 1. (Co)algebra - a mini tutorial 2. A small exam: algebra or coalgebra? 3. The scene: the algebra-coalgebra duality of automata 4. Duality of reachability and observability 5. The coinduction proof method 6. Equations and coequations 7. A dual equivalence 8. In conclusion

66 5. The coinduction proof method - is here illustrated: equality of languages - is used in various theorem provers (COQ, Isabelle, CIRC) Coinductive proof techniques for language equivalence J. Rot, M. Bonsangue, J. Rutten Proceedings LATA 2013, LNCS 7810

67 Bisimulation relations on automata X α X A R X X is a bisimulation: (x, y) R, a A : (x a, y a ) R where x a = α(x)(a) y a = α(y)(a)

68 ... on coloured automata c 2 X α X A R X X is a bisimulation if, for all (x, y) R, a A : (x a, y a ) R and c(x) = c(y)

69 Bisimulations on languages 2 ε? 2 A τ (2 A ) A R 2 A 2 A is a bisimulation if, for all (K, L) R, a A : (K a, L a ) R and ε K ε L

70 Bisimulations on languages R 2 A 2 A is a bisimulation if, for all (K, L) R, a A : (K a, L a ) R and ε K ε L where we recall that K a = { w a w K } L a = { w a w L }

71 Coinduction proof principle By the finality of 2 A, we have: (K, L) R, bisimulation K = L

72 Example: Arden s Rule We will prove Arden s Rule: L = KL + M ε K L = K M by coinduction.

73 Arden s Rule: L = K M? Assume L = KL + M ε K Is { ( L, K M ) } a bisimulation? Well... L a = (KL + M) a = K a L + M a (K M) a = K a K M + M a... almost: it is a bisimulation-up-to-congruence. {( UL + V, UK M + V ) U, V 2 A } is a bisimulation L = K M, by coinduction! Exercise: check details in the paper.

74 Arden s Rule: L = K M? Assume L = KL + M ε K Is { ( L, K M ) } a bisimulation? Well... L a = (KL + M) a = K a L + M a (K M) a = K a K M + M a... almost: it is a bisimulation-up-to-congruence. {( UL + V, UK M + V ) U, V 2 A } is a bisimulation L = K M, by coinduction! Exercise: check details in the paper.

75 Behavioural differential equations c 2 ε? α X X A o c 2 A τ (o c ) A (2 A ) A An aside: the above diagram can be viewed as a system of behavioural differential equations where the solution is given by finality. Cf. streams and SDEs.

76 Table of contents 1. (Co)algebra - a mini tutorial 2. A small exam: algebra or coalgebra? 3. The scene: the algebra-coalgebra duality of automata 4. Duality of reachability and observability 5. The coinduction proof method 6. Equations and coequations 7. A dual equivalence 8. In conclusion

77 6. Duality between equations and coequations - defining classes of (non-pointed, non-coloured) automata - words and languages become here tools

78 Our scene again 1 x c ε σ A r x X α o c 2 ε? 2 A τ (A ) A X A (2 A ) A Sets of equations: quotients of (A, ε, σ) Sets of coequations: subautomata of (2 A, ε?, τ)

79 Equations and satisfaction a set of equations = bisimulation equivalence E A A (X, x, α) = E (v, w) E, x v = x w (X, α) = E x : 1 X, (X, x, α) = E

80 Equations: example (Z, x, γ) = b x a b y a (Z, x, γ) = {b = ε, ab = ε, aa = a} Notation: we use (i) v = w instead of (v, w) (ii) shorthand for the induced bisimulation equivalence

81 Equations: example (Z, y, γ) = b x a b y a (Z, y, γ) = {a = ε, ba = ε, bb = b}

82 Coequations and satisfaction a set of coequations = a subautomaton D 2 A (X, c, α) = D x X, o c (x) D (X, α) = D c : X 2, (X, c, α) = D

83 Coequations: example (Z, c, γ) = b x a b y a where c(x) = 1, c(y) = 0. b a image(o c ) = (a b) b a (a b) + (Z, c, γ) = {(a b), (a b) + }

84 Coequations: example (Z, d, γ) = b x a b y a where d(x) = 0, d(y) = 1. b a image(o d ) = (b a) + b a (b a) (Z, d, γ) = {(b a), (b a) + }

85 Duality of (co)equations, diagrammatically (X, x, α) = E ε 1 A x A /E X r x X c D 2 2 A ε? (X, c, α) = D o c

86 Duality of (co)equations, diagrammatically (X, α) = E ε 1 A x A /E X r x X c D 2 2 A ε? (X, α) = D o c

87 A free and a cofree construction 1 x ε σ A free(x, α) X α c cofree(x, α) 2 ε? 2 A τ (A ) A free(x, α) A X A cofree(x, α) A (2 A ) A free(x, α) represents largest set of equations cofree(x, α) represents smallest set of coequations

88 free(x, α) = A /Eq(X, α) ε 1 A r x x:1 X X ε 1 A r x free(x, α) where we define free(x, α) im(r) = A /Eq(X, α) with Eq(X, α) ker(r) Eq(X, α) = largest set of equations satisfied by (X, α)

89 cofree(x, α) = coeq(x, α) Σ c:x 2 X ĉ 2 ĉ 2 ε? ε? o o 2 A cofree(x, α) 2 A where we define cofree(x, α) ΣX/ker(o) and coeq(x, α) image(o) = cofree(x, α) coeq(x, α) = smallest set of coequations satisfied by (X, α)

90 Equations: example a (Z, γ) = b x b y a (Z, x, γ) = {b = ε, ab = ε, aa = a} (Z, y, γ) = {a = ε, ba = ε, bb = b} Taking the intersection gives Eq(Z, γ) = {aa = a, bb = b, ab = b, ba = a} the largest set of equations satisfied by (Z, γ).

91 Coequations: example (Z, γ) = b x a b y a a, b coeq(z, γ) = a, b A b (a b) a b b (b a) + a This is the smallest set of coequations satisfied by (Z, γ). b a (a b) + a (b a)

92 Summarizing 1 x ε A free(x, α) X c cofree(x, α) 2 2 A ε? 1 x ε A A /Eq(X, α) X c coeq(x, α) 2 2 A ε? Eq(X, α) = largest set of equations coeq(x, α) = smallest set of coequations

93 Recall: minimal automaton for a fixed L ε 1 A L L L 2 A 2 ε?

94 Free and cofree of L 1 L ε A free L L cofree L 2 A L 2 ε?

95 The syntactic monoid of L 1 L ε A free L L cofree L 2 A L 2 ε? free L = syn(l) Cf. algebraic language theory.

96 The syntactic monoid of L 1 L ε A free L L cofree L 2 A L 2 ε? free L = syn(l) Cf. algebraic language theory.

97 Theorem 1 L ε A q r free L L L cofree L 2 A 2 ε? r(v) = r(w) (v, w) Myhill-Nerode congruence u A, vu L wu L q(v) = q(w) (v, w) syntactic congruence u 1, u 2 A, u 1 vu 2 L u 1 wu 2 L

98 Table of contents 1. (Co)algebra - a mini tutorial 2. A small exam: algebra or coalgebra? 3. The scene: the algebra-coalgebra duality of automata 4. Duality of reachability and observability 5. The coinduction proof method 6. Equations and coequations 7. A dual equivalence 8. In conclusion

99 7. A dual equivalence - Between certain classes of equations and coequations. - It is an initial result about expressiveness.

100 A dual equivalence Theorem: cofree : C = PL op : free where C is the category of all congruence quotients A /C and PL is the category of all preformations of languages: sets V 2 A such that (i) V is a complete atomic Boolean subalgebra of 2 A (ii) L 2 A L V L a V and a L V

101 Table of contents 1. (Co)algebra - a mini tutorial 2. A small exam: algebra or coalgebra? 3. The scene: the algebra-coalgebra duality of automata 4. Duality of reachability and observability 5. The coinduction proof method 6. Equations and coequations 7. A dual equivalence 8. In conclusion

102 8. In conclusion Pointed and coloured automata (X, x, c, α)... 1 x c 2 X α X A... are neither algebra nor coalgebra, but...

103 1 x X α X A in part algebra (X, x, α) and...

104 c 2 X α X A in part coalgebra (X, c, α).

105 8. In conclusion The algebra-coalgebra duality of automata leads to - initial algebra - final coalgebra semantics - inductive and coinductive proofs - duality of reachability - observability - duality of equations - coequations - duality of varieties - covarieties

Streams and Coalgebra Lecture 2

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

More information

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

Streams and Coalgebra Lecture 1

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

More information

Obtaining the syntactic monoid via duality

Obtaining the syntactic monoid via duality Radboud University Nijmegen MLNL Groningen May 19th, 2011 Formal languages An alphabet is a non-empty finite set of symbols. If Σ is an alphabet, then Σ denotes the set of all words over Σ. The set Σ forms

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

Weighted automata coalgebraically

Weighted automata coalgebraically Weighted automata coalgebraically Filippo Bonchi 4 Michele Boreale 5 Marcello Bonsangue,2 Jan Rutten,3 Alexandra Silva Centrum Wiskunde en Informatica 2 LIACS - Leiden University 3 Radboud Universiteit

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

Coinductive Proof Techniques for Language Equivalence

Coinductive Proof Techniques for Language Equivalence Coinductive Proof Techniques for Language Equivalence Jurriaan Rot 1,2,, Marcello Bonsangue 1,2, and Jan Rutten 2,3 1 LIACS Leiden University, Niels Bohrweg 1, Leiden, Netherlands 2 Centrum Wiskunde en

More information

(Co-)algebraic Automata Theory

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

More information

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

Coalgebra, lecture 10: Algebra and Coalgebra for Regular Expressions

Coalgebra, lecture 10: Algebra and Coalgebra for Regular Expressions Coalgebra, lecture 10: Algebra and Coalgebra for Regular Expressions Jurriaan Rot November 19, 2018 By now we ve been talking a lot about coalgebras and coinduction, as well as algebras and induction.

More information

Context-Free Languages, Coalgebraically

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

More information

Duality and Automata Theory

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

More information

Automata Minimization: a Functorial Approach

Automata Minimization: a Functorial Approach Automata Minimization: a Functorial Approach Thomas Colcombet 1 and Daniela etrişan 1 1 CNRS, IRIF, Univ. aris-diderot, aris 7, France {thomas.colcombet,petrisan}@irif.fr Abstract In this paper we regard

More information

Automata extended to nominal sets

Automata extended to nominal sets Bachelor thesis Computer Science Radboud University Automata extended to nominal sets Author: Joep Veldhoven s4456556 First supervisor/assessor: Jurriaan Rot jrot@cs.ru.nl Second and third supervisor:

More information

This article appeared in a journal published by Elsevier. The attached copy is furnished to the author for internal non-commercial research and

This article appeared in a journal published by Elsevier. The attached copy is furnished to the author for internal non-commercial research and This article appeared in a journal published by Elsevier. The attached copy is furnished to the author for internal non-commercial research and education use, including for instruction at the authors institution

More information

A note on coinduction and weak bisimilarity for while programs

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

More information

Stream automata are coalgebras

Stream automata are coalgebras Stream automata are coalgebras Vincenzo Ciancia, Yde Venema Institute of Logic, Language and Computation, University of Amsterdam Abstract. Stream automata (also called ω-automata) and ω-regular languages

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

DRAFT DRAFT. Introduction to Coalgebra. Towards Mathematics of States and Observations. Bart Jacobs. Draft Copy.

DRAFT DRAFT. Introduction to Coalgebra. Towards Mathematics of States and Observations. Bart Jacobs. Draft Copy. Introduction to Coalgebra. Towards Mathematics of States and Observations Bart Jacobs Institute for Computing and Information Sciences, Radboud University Nijmegen, P.O. Box 9010, 6500 GL Nijmegen, The

More information

Towards Trace Metrics via Functor Lifting

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

More information

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

Realization of Coinductive Types

Realization of Coinductive Types MFPS 2011 Realization of Coinductive Types Dexter Kozen 1,2 Department of Computer Science Cornell University Ithaca, New York 14853 7501, USA Abstract We give an explicit combinatorial construction of

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

Constructing the Lindenbaum algebra for a logic step-by-step using duality (extended version)

Constructing the Lindenbaum algebra for a logic step-by-step using duality (extended version) Constructing the Lindenbaum algebra for a logic step-by-step using duality (extended version) Dion Coumans and Sam van Gool Abstract We discuss the incremental construction of the Lindenbaum algebra for

More information

Büchi Automata and their closure properties. - Ajith S and Ankit Kumar

Büchi Automata and their closure properties. - Ajith S and Ankit Kumar Büchi Automata and their closure properties - Ajith S and Ankit Kumar Motivation Conventional programs accept input, compute, output result, then terminate Reactive program : not expected to terminate

More information

Duality in Logic. Duality in Logic. Lecture 2. Mai Gehrke. Université Paris 7 and CNRS. {ε} A ((ab) (ba) ) (ab) + (ba) +

Duality in Logic. Duality in Logic. Lecture 2. Mai Gehrke. Université Paris 7 and CNRS. {ε} A ((ab) (ba) ) (ab) + (ba) + Lecture 2 Mai Gehrke Université Paris 7 and CNRS A {ε} A ((ab) (ba) ) (ab) + (ba) + Further examples - revisited 1. Completeness of modal logic with respect to Kripke semantics was obtained via duality

More information

Introduction to Coalgebra

Introduction to Coalgebra Introduction to Coalgebra Bart Jacobs Institute for Computing and Information Sciences Digital Security EWSCS 2011: 16th Estonian Winter School in Computer Science 28 feb. 4 march, Estonia EWSCS 11 Bart

More information

The Final Deterministic Automaton on Streams

The Final Deterministic Automaton on Streams The Final Deterministic Automaton on Streams Helle Hvid Hansen Clemens Kupke Jan Rutten Joost Winter Radboud Universiteit Nijmegen & CWI Amsterdam Brouwer seminar, 29 April 2014 Overview 1. Automata, streams

More information

Product rules and distributive laws

Product rules and distributive laws Product rules and distributive laws Joost Winter University of Warsaw April 2, 2016 Overview Main goal of this paper: a categorical framework for a two-step determinization process in which product rules,

More information

An introduction to (co)algebra and (co)induction

An introduction to (co)algebra and (co)induction 1 An introduction to (co)algebra and (co)induction 1.1 Introduction Algebra is a well-established part of mathematics, dealing with sets with operations satisfying certain properties, like groups, rings,

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

On the Duality between Observability and Reachability

On the Duality between Observability and Reachability On the Duality between Observability and Reachability Michel Bidoit 1, Rolf Hennicker 2, and Alexander Kurz 3 1 Laboratoire Spécification et Vérification (LSV), CNRS & ENS de Cachan, France 2 Institut

More information

2. Elements of the Theory of Computation, Lewis and Papadimitrou,

2. Elements of the Theory of Computation, Lewis and Papadimitrou, Introduction Finite Automata DFA, regular languages Nondeterminism, NFA, subset construction Regular Epressions Synta, Semantics Relationship to regular languages Properties of regular languages Pumping

More information

An Overview of Residuated Kleene Algebras and Lattices Peter Jipsen Chapman University, California. 2. Background: Semirings and Kleene algebras

An Overview of Residuated Kleene Algebras and Lattices Peter Jipsen Chapman University, California. 2. Background: Semirings and Kleene algebras An Overview of Residuated Kleene Algebras and Lattices Peter Jipsen Chapman University, California 1. Residuated Lattices with iteration 2. Background: Semirings and Kleene algebras 3. A Gentzen system

More information

Category Theory (UMV/TK/07)

Category Theory (UMV/TK/07) P. J. Šafárik University, Faculty of Science, Košice Project 2005/NP1-051 11230100466 Basic information Extent: 2 hrs lecture/1 hrs seminar per week. Assessment: Written tests during the semester, written

More information

Coalgebraic Lindström Theorems

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

More information

Equational Theory of Kleene Algebra

Equational Theory of Kleene Algebra Introduction to Kleene Algebra Lecture 7 CS786 Spring 2004 February 16, 2004 Equational Theory of Kleene Algebra We now turn to the equational theory of Kleene algebra. This and the next lecture will be

More information

Classes and conversions

Classes and conversions Classes and conversions Regular expressions Syntax: r = ε a r r r + r r Semantics: The language L r of a regular expression r is inductively defined as follows: L =, L ε = {ε}, L a = a L r r = L r L r

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

Finite State Automata

Finite State Automata Trento 2005 p. 1/4 Finite State Automata Automata: Theory and Practice Paritosh K. Pandya (TIFR, Mumbai, India) Unversity of Trento 10-24 May 2005 Trento 2005 p. 2/4 Finite Word Langauges Alphabet Σ is

More information

(2017) : 13 (1) ISSN , /LMCS-13(1:3)2017

(2017) : 13 (1) ISSN , /LMCS-13(1:3)2017 Hansen, Helle Hvid and Kupke, Clemens and Rutten, Jan (2017) Stream differential equations : specification formats and solution methods. Logical Methods in Computer Science, 13 (1). pp. 1-52. ISSN 1860-5974,

More information

HKN CS/ECE 374 Midterm 1 Review. Nathan Bleier and Mahir Morshed

HKN CS/ECE 374 Midterm 1 Review. Nathan Bleier and Mahir Morshed HKN CS/ECE 374 Midterm 1 Review Nathan Bleier and Mahir Morshed For the most part, all about strings! String induction (to some extent) Regular languages Regular expressions (regexps) Deterministic finite

More information

Notes on Monoids and Automata

Notes on Monoids and Automata Notes on Monoids and Automata Uday S. Reddy November 9, 1994 In this article, I define a semantics for Algol programs with Reynolds s syntactic control of interference?;? in terms of comonoids in coherent

More information

Warshall s algorithm

Warshall s algorithm Regular Expressions [1] Warshall s algorithm See Floyd-Warshall algorithm on Wikipedia The Floyd-Warshall algorithm is a graph analysis algorithm for finding shortest paths in a weigthed, directed graph

More information

Gossip in NetKAT. MSc Thesis (Afstudeerscriptie) written by. Jana Wagemaker (born March 14th, 1993 in Amsterdam, Netherlands)

Gossip in NetKAT. MSc Thesis (Afstudeerscriptie) written by. Jana Wagemaker (born March 14th, 1993 in Amsterdam, Netherlands) Gossip in NetKAT MSc Thesis (Afstudeerscriptie) written by Jana Wagemaker (born March 14th, 1993 in Amsterdam, Netherlands) under the supervision of Prof Dr D. J. N. van Eijck, and submitted to the Board

More information

PDF hosted at the Radboud Repository of the Radboud University Nijmegen

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

More information

Recognisable Languages over Monads

Recognisable Languages over Monads Recognisable Languages over Monads Miko laj Bojańczyk December 12, 2014 Contents I Introduction 3 1 Examples of monads for words 4 1.1 Possibly infinite words........................ 5 2 Monads and their

More information

DISTINGUISHABILITY AND COMPLETENESS OF CRISP DETERMINISTIC FUZZY AUTOMATA

DISTINGUISHABILITY AND COMPLETENESS OF CRISP DETERMINISTIC FUZZY AUTOMATA Iranian Journal of Fuzzy Systems Vol. 14, No. 5, (2017) pp. 19-30 19 DISTINGUISHABILITY AND COMPLETENESS OF CRISP DETERMINISTIC FUZZY AUTOMATA R. VERMA AND S. P. TIWARI Abstract. In this paper, we introduce

More information

Definability, Canonical Models, Compactness for Finitary Coalgebraic Modal Logic

Definability, Canonical Models, Compactness for Finitary Coalgebraic Modal Logic Electronic Notes in Theoretical Computer Science 65 No. 1 (2002) URL: http://www.elsevier.nl/locate/entcs/volume65.html 21 pages Definability, Canonical Models, Compactness for Finitary Coalgebraic Modal

More information

Nabla Algebras and Chu Spaces

Nabla Algebras and Chu Spaces Nabla Algebras and Chu Spaces Alessandra Palmigiano and Yde Venema Universiteit van Amsterdam, ILLC Plantage Muidergracht 24 1018 TV Amsterdam, Netherlands Abstract. This paper is a study into some properties

More information

2. Syntactic Congruences and Monoids

2. Syntactic Congruences and Monoids IAS/PCMI Summer Session 2000 Clay Mathematics Undergraduate Program Advanced Course on Computational Complexity Lecture 3: Algebra and Languages David Mix Barrington and Alexis Maciel July 19, 2000 1.

More information

From Monadic Second-Order Definable String Transformations to Transducers

From Monadic Second-Order Definable String Transformations to Transducers From Monadic Second-Order Definable String Transformations to Transducers Rajeev Alur 1 Antoine Durand-Gasselin 2 Ashutosh Trivedi 3 1 University of Pennsylvania 2 LIAFA, Université Paris Diderot 3 Indian

More information

A Comonadic Account of Behavioural Covarieties of Coalgebras

A Comonadic Account of Behavioural Covarieties of Coalgebras Under consideration for publication in Math. Struct. in Comp. Science Comonadic ccount of Behavioural Covarieties of Coalgebras R O B E R T G O L D B L T T Centre for Logic, Language and Computation, Victoria

More information

INFORMATIQUE THÉORIQUE ET APPLICATIONS

INFORMATIQUE THÉORIQUE ET APPLICATIONS INFORMATIQUE THÉORIQUE ET APPLICATIONS J. J. M. M. RUTTEN A note on coinduction and weak bisimilarity for while programs Informatique théorique et applications, tome 33, n o 4-5 (1999), p. 393-400

More information

The theory of regular cost functions.

The theory of regular cost functions. The theory of regular cost functions. Denis Kuperberg PhD under supervision of Thomas Colcombet Hebrew University of Jerusalem ERC Workshop on Quantitative Formal Methods Jerusalem, 10-05-2013 1 / 30 Introduction

More information

On a Purely Categorical Framework for Coalgebraic Modal Logic

On a Purely Categorical Framework for Coalgebraic Modal Logic On a Purely Categorical Framework for Coalgebraic Modal Logic by Liang-Ting Chen A thesis submitted to the University of Birmingham for the degree of DOCTOR OF PHILOSOPHY School of Computer Science University

More information

Modeling and reasoning with I-polynomial data types

Modeling and reasoning with I-polynomial data types Modeling and reasoning with I-polynomial data types Peter Padawitz, TU Dortmund, Germany September 1, 2017 (actual version: http://fldit-www.cs.uni-dortmund.de/ peter/ifip2016.pdf) 1 Road map Some examples

More information

Conceptual Connections of Circularity and Category Theory

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

More information

Quasitriangular structures on (dual) monoid rings

Quasitriangular structures on (dual) monoid rings Quasitriangular structures on (dual) monoid rings Nigel Byott University of Exeter, UK Omaha - 23 May 2014 Background/Literature R.G. Underwood, Topics in Modern Algebra - A View Towards Hopf Algebras

More information

FUNCTORS AND ADJUNCTIONS. 1. Functors

FUNCTORS AND ADJUNCTIONS. 1. Functors FUNCTORS AND ADJUNCTIONS Abstract. Graphs, quivers, natural transformations, adjunctions, Galois connections, Galois theory. 1.1. Graph maps. 1. Functors 1.1.1. Quivers. Quivers generalize directed graphs,

More information

Automata theory. An algorithmic approach. Lecture Notes. Javier Esparza

Automata theory. An algorithmic approach. Lecture Notes. Javier Esparza Automata theory An algorithmic approach Lecture Notes Javier Esparza July 2 22 2 Chapter 9 Automata and Logic A regular expression can be seen as a set of instructions ( a recipe ) for generating the words

More information

Strong Deterministic Fuzzy Automata

Strong Deterministic Fuzzy Automata Volume-5, Issue-6, December-2015 International Journal of Engineering and Management Research Page Number: 77-81 Strong Deterministic Fuzzy Automata A.Jeyanthi 1, B.Stalin 2 1 Faculty, Department of Mathematics,

More information

Testing Semantics: Connecting Processes and Process Logics

Testing Semantics: Connecting Processes and Process Logics Testing Semantics: Connecting Processes and Process Logics Dusko Pavlovic, 1,4 Michael Mislove 2,4 and James B. Worrell 3 1 Kestrel Institute, Palo Alto, CA 2 Tulane University, New Orleans, LA 3 Oxford

More information

Automata and minimization 1

Automata and minimization 1 Automata and minimization 1 Thomas Colcombet, IRIF, CNRS Daniela Petrişan, IRIF, CNRS Already in the seventies, strong results illustrating the intimate relationship between category theory and automata

More information

Algebraic Approach to Automata Theory

Algebraic Approach to Automata Theory Algebraic Approach to Automata Theory Deepak D Souza Department of Computer Science and Automation Indian Institute of Science, Bangalore. 20 September 2016 Outline 1 Overview 2 Recognition via monoid

More information

On Properties and State Complexity of Deterministic State-Partition Automata

On Properties and State Complexity of Deterministic State-Partition Automata On Properties and State Complexity of Deterministic State-Partition Automata Galina Jirásková 1, and Tomáš Masopust 2, 1 Mathematical Institute, Slovak Academy of Sciences Grešákova 6, 040 01 Košice, Slovak

More information

COMP-330 Theory of Computation. Fall Prof. Claude Crépeau. Lec. 5 : DFA minimization

COMP-330 Theory of Computation. Fall Prof. Claude Crépeau. Lec. 5 : DFA minimization COMP-33 Theory of Computation Fall 27 -- Prof. Claude Crépeau Lec. 5 : DFA minimization COMP 33 Fall 27: Lectures Schedule 4. Context-free languages 5. Pushdown automata 6. Parsing 7. The pumping lemma

More information

Aperiodic languages and generalizations

Aperiodic languages and generalizations Aperiodic languages and generalizations Lila Kari and Gabriel Thierrin Department of Mathematics University of Western Ontario London, Ontario, N6A 5B7 Canada June 18, 2010 Abstract For every integer k

More information

MV-algebras and fuzzy topologies: Stone duality extended

MV-algebras and fuzzy topologies: Stone duality extended MV-algebras and fuzzy topologies: Stone duality extended Dipartimento di Matematica Università di Salerno, Italy Algebra and Coalgebra meet Proof Theory Universität Bern April 27 29, 2011 Outline 1 MV-algebras

More information

Definition of Büchi Automata

Definition of Büchi Automata Büchi Automata Definition of Büchi Automata Let Σ = {a,b,...} be a finite alphabet. By Σ ω we denote the set of all infinite words over Σ. A non-deterministic Büchi automaton (NBA) over Σ is a tuple A

More information

Simulations in Coalgebra

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

More information

Computational Models - Lecture 3 1

Computational Models - Lecture 3 1 Computational Models - Lecture 3 1 Handout Mode Iftach Haitner. Tel Aviv University. November 14, 2016 1 Based on frames by Benny Chor, Tel Aviv University, modifying frames by Maurice Herlihy, Brown University.

More information

CS 6110 S16 Lecture 33 Testing Equirecursive Equality 27 April 2016

CS 6110 S16 Lecture 33 Testing Equirecursive Equality 27 April 2016 CS 6110 S16 Lecture 33 Testing Equirecursive Equality 27 April 2016 1 Equirecursive Equality In the equirecursive view of recursive types, types are regular labeled trees, possibly infinite. However, we

More information

Introduction to the Theory of Computation. Automata 1VO + 1PS. Lecturer: Dr. Ana Sokolova.

Introduction to the Theory of Computation. Automata 1VO + 1PS. Lecturer: Dr. Ana Sokolova. Introduction to the Theory of Computation Automata 1VO + 1PS Lecturer: Dr. Ana Sokolova http://cs.uni-salzburg.at/~anas/ Setup and Dates Lectures Tuesday 10:45 pm - 12:15 pm Instructions Tuesday 12:30

More information

Non Deterministic Recognizability of Fuzzy Languages

Non Deterministic Recognizability of Fuzzy Languages Applied Mathematical Sciences, Vol. 1, 2007, no. 17, 821-826 Non Deterministic Recognizability of Fuzzy Languages Olympia Louskou-Bozapalidou Section of Mathematics and Informatics Technical Institute

More information

Duality for first order logic

Duality for first order logic Duality for first order logic Dion Coumans Radboud University Nijmegen Aio-colloquium, June 2010 Outline 1 Introduction to logic and duality theory 2 Algebraic semantics for classical first order logic:

More information

Step-Indexed Biorthogonality: a Tutorial Example

Step-Indexed Biorthogonality: a Tutorial Example Step-Indexed Biorthogonality: a Tutorial Example Andrew Pitts University of Cambridge Computer Laboratory 1 Introduction The purpose of this note is to illustrate the use of step-indexing [2] combined

More information

Nominal Automata. Mikolaj Bojanczyk 1, Bartek Klin 12, Slawomir Lasota 1 1. University of Cambridge. Warsaw University 2. Leicester, 04/03/11

Nominal Automata. Mikolaj Bojanczyk 1, Bartek Klin 12, Slawomir Lasota 1 1. University of Cambridge. Warsaw University 2. Leicester, 04/03/11 Nominal Automata Mikolaj Bojanczyk 1, Bartek Klin 12, Slawomir Lasota 1 1 Warsaw University 2 University of Cambridge Leicester, 04/03/11 Finite automata An automaton: - set Q of states - alphabet A -

More information

An Introduction to the Theory of Coalgebras

An Introduction to the Theory of Coalgebras An Introduction to the Theory of Coalgebras Dirk Pattinson Institut für Informatik, LMU München 2 Contents 1 Introduction 7 1.1 State Based Systems....................... 7 1.1.1 Informal Denition....................

More information

Category theory for computer science. Overall idea

Category theory for computer science. Overall idea Category theory for computer science generality abstraction convenience constructiveness Overall idea look at all objects exclusively through relationships between them capture relationships between objects

More 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

The Many Faces of Modal Logic Day 3: Algebraic Semantics

The Many Faces of Modal Logic Day 3: Algebraic Semantics The Many Faces of Modal Logic Day 3: Algebraic Semantics Dirk Pattinson Australian National University, Canberra (Slides based on a NASSLLI 2014 Tutorial and are joint work with Lutz Schröder) LAC 2018

More information

Theory of Computation 4 Non-Deterministic Finite Automata

Theory of Computation 4 Non-Deterministic Finite Automata Theory of Computation 4 Non-Deterministic Finite Automata Frank Stephan Department of Computer Science Department of Mathematics National University of Singapore fstephan@comp.nus.edu.sg Theory of Computation

More information

Admissible Rules of (Fragments of) R-Mingle. Admissible Rules of (Fragments of) R-Mingle. Laura Janina Schnüriger

Admissible Rules of (Fragments of) R-Mingle. Admissible Rules of (Fragments of) R-Mingle. Laura Janina Schnüriger Admissible Rules of (Fragments of) R-Mingle Admissible Rules of (Fragments of) R-Mingle joint work with George Metcalfe Universität Bern Novi Sad 5 June 2015 Table of contents 1. What and why? 1.1 What

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

COMP-330 Theory of Computation. Fall Prof. Claude Crépeau. Lec. 9 : Myhill-Nerode Theorem and applications

COMP-330 Theory of Computation. Fall Prof. Claude Crépeau. Lec. 9 : Myhill-Nerode Theorem and applications COMP-33 Theory of Computation Fall 217 -- Prof. Claude Crépeau Lec. 9 : Myhill-Nerode Theorem and applications COMP 33 Fall 212: Lectures Schedule 1-2. Introduction 1.5. Some basic mathematics 2-3. Deterministic

More information

INTRODUCTION TO COALGEBRA. 1. Preface: Is this Really an Introduction to Coalgebra?

INTRODUCTION TO COALGEBRA. 1. Preface: Is this Really an Introduction to Coalgebra? Theory and Applications of Categories, Vol. 14, No. 8, 2005, pp. 157 199. INTRODUCTION TO COALGEBRA JIŘÍ ADÁMEK Abstract. A survey of parts of General Coalgebra is presented with applications to the theory

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

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

Varieties Generated by Certain Models of Reversible Finite Automata

Varieties Generated by Certain Models of Reversible Finite Automata Varieties Generated by Certain Models of Reversible Finite Automata Marats Golovkins 1 and Jean-Eric Pin 2 1 Institute of Mathematics and Computer Science, University of Latvia, Raiņa bulv. 29, Riga, Latvia

More information

Stream Differential Equations: concrete formats for coinductive definitions

Stream Differential Equations: concrete formats for coinductive definitions Stream Differential Equations: concrete formats for coinductive definitions Clemens Kupke 1, Milad Niqui 2 and Jan Rutten 2,3 1 University of Oxford, 2 Centrum Wiskunde & Informatica, Amsterdam, 3 Radboud

More information

Introduction to the Theory of Computation. Automata 1VO + 1PS. Lecturer: Dr. Ana Sokolova.

Introduction to the Theory of Computation. Automata 1VO + 1PS. Lecturer: Dr. Ana Sokolova. Introduction to the Theory of Computation Automata 1VO + 1PS Lecturer: Dr. Ana Sokolova http://cs.uni-salzburg.at/~anas/ Setup and Dates Lectures and Instructions 23.10. 3.11. 17.11. 24.11. 1.12. 11.12.

More information

COMP4141 Theory of Computation

COMP4141 Theory of Computation COMP4141 Theory of Computation Lecture 4 Regular Languages cont. Ron van der Meyden CSE, UNSW Revision: 2013/03/14 (Credits: David Dill, Thomas Wilke, Kai Engelhardt, Peter Höfner, Rob van Glabbeek) Regular

More information

COSE212: Programming Languages. Lecture 1 Inductive Definitions (1)

COSE212: Programming Languages. Lecture 1 Inductive Definitions (1) COSE212: Programming Languages Lecture 1 Inductive Definitions (1) Hakjoo Oh 2017 Fall Hakjoo Oh COSE212 2017 Fall, Lecture 1 September 4, 2017 1 / 9 Inductive Definitions Inductive definition (induction)

More information

Algebraic Semantics for Coalgebraic Logics

Algebraic Semantics for Coalgebraic Logics CMCS 04 Preliminary Version Algebraic Semantics for Coalgebraic Logics Clemens Kupke a Alexander Kurz b,1 Dirk Pattinson c a CWI/Universiteit van Amsterdam b University of Leicester c LMU München Abstract

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

Image schemas via finite-state methods structured category-theoretically

Image schemas via finite-state methods structured category-theoretically Objective predication Subjective predication Reconciliation Image schemas via finite-state methods structured category-theoretically Tim Fernando Bolzano, 22 August 2016, PROSECCO a recurring structure

More information

Machines, Models, Monoids, and Modal logic

Machines, Models, Monoids, and Modal logic Machines, Models, Monoids, and Modal logic Sam van Gool University of Amsterdam and City College of New York September 2017 Tbilisi Symposium on Language, Logic and Computation Lagodekhi, Georgia v. Gool

More information

On a Categorical Framework for Coalgebraic Modal Logic

On a Categorical Framework for Coalgebraic Modal Logic On a Categorical Framework for Coalgebraic Modal Logic Liang-Ting Chen 1 Achim Jung 2 1 Institute of Information Science, Academia Sinica 2 School of Computer Science, University of Birmingham MFPS XXX

More information