Duration Calculus Introduction

Size: px
Start display at page:

Download "Duration Calculus Introduction"

Transcription

1 Duration Calculus Introduction Michael R. Hansen Informatics and Mathematical Modelling Technical University of Denmark Computability and Semantics, Spring 05, c Michael R. Hansen p.1/26

2 Overview Background Short introduction Decidability results Undecidability results Computability and Semantics, Spring 05, c Michael R. Hansen p.2/26

3 Background Provable Correct Systems (ProCoS, ESPRIT BRA 3104) Bjørner Langmaack Hoare Olderog Project case study: Gas Burner Sørensen Ravn Rischel Computability and Semantics, Spring 05, c Michael R. Hansen p.3/26

4 Background Provable Correct Systems (ProCoS, ESPRIT BRA 3104) Bjørner Langmaack Hoare Olderog Project case study: Gas Burner Sørensen Ravn Rischel Intervals properties Timed Automata, Real-time Logic, Metric Temporal Logic, Explicit Clock Temporal,..., Alur, Dill, Jahanian, Mok, Koymans, Harel, Lichtenstein, Pnueli, Computability and Semantics, Spring 05, c Michael R. Hansen p.3/26

5 Background Provable Correct Systems (ProCoS, ESPRIT BRA 3104) Bjørner Langmaack Hoare Olderog Project case study: Gas Burner Sørensen Ravn Rischel Intervals properties Timed Automata, Real-time Logic, Metric Temporal Logic, Explicit Clock Temporal,..., Alur, Dill, Jahanian, Mok, Koymans, Harel, Lichtenstein, Pnueli,... Duration of states Duration Calculus Zhou Hoare Ravn Computability and Semantics, Spring 05, c Michael R. Hansen p.3/26

6 Background Provable Correct Systems (ProCoS, ESPRIT BRA 3104) Bjørner Langmaack Hoare Olderog Project case study: Gas Burner Sørensen Ravn Rischel Intervals properties Timed Automata, Real-time Logic, Metric Temporal Logic, Explicit Clock Temporal,..., Alur, Dill, Jahanian, Mok, Koymans, Harel, Lichtenstein, Pnueli,... Duration of states Duration Calculus Zhou Hoare Ravn 91 an Interval Temporal Logic Halpern Moszkowski Manna Computability and Semantics, Spring 05, c Michael R. Hansen p.3/26

7 Background Provable Correct Systems (ProCoS, ESPRIT BRA 3104) Bjørner Langmaack Hoare Olderog Project case study: Gas Burner Sørensen Ravn Rischel Intervals properties Timed Automata, Real-time Logic, Metric Temporal Logic, Explicit Clock Temporal,..., Alur, Dill, Jahanian, Mok, Koymans, Harel, Lichtenstein, Pnueli,... Duration of states Duration Calculus Zhou Hoare Ravn 91 an Interval Temporal Logic Halpern Moszkowski Manna Logical Calculi, Applications, Mechanical Support Duration Calculus: A formal approach to real-time systems Zhou Chaochen and Michael R. Hansen Springer Computability and Semantics, Spring 05, c Michael R. Hansen p.3/26

8 Gas Burner example: Requirements State variables modelling Gas and Flame: G, F : Time {0, 1} State expression modelling that gas is Leaking L = G F Requirement Gas must at most be leaking 1/20 of the elapsed time (e b) 60 s 20 e L(t)dt (e b) b Computability and Semantics, Spring 05, c Michael R. Hansen p.4/26

9 Gas Burner example: Design decisions Leaks are detectable and stoppable within 1s: where c, d : b c < d e.(l[c, d] (d c) 1 s) P [c, d] = d P (t) = (d c) > 0 c which reads P holds throughout [c, d] Computability and Semantics, Spring 05, c Michael R. Hansen p.5/26

10 Gas Burner example: Design decisions Leaks are detectable and stoppable within 1s: where c, d : b c < d e.(l[c, d] (d c) 1 s) P [c, d] = d P (t) = (d c) > 0 c which reads P holds throughout [c, d] At least 30s between leaks: c, d, r, s : b c < r < s < d e. (L[c, r] L[r, s] L[s, d]) (s r) 30 s Computability and Semantics, Spring 05, c Michael R. Hansen p.5/26

11 Interval Logic [Halpern Moszkowski Manna 83] Terms: θ ::= x v θ 1 + θ n... Temporal Variable Formulas: φ ::= θ 1 = θ n φ φ ψ φ ψ ( x)φ... chop Computability and Semantics, Spring 05, c Michael R. Hansen p.6/26

12 Interval Logic [Halpern Moszkowski Manna 83] Terms: θ ::= x v θ 1 + θ n... Temporal Variable v : Intv R Formulas: φ ::= θ 1 = θ n φ φ ψ φ ψ ( x)φ... chop φ : Intv {tt,ff} Computability and Semantics, Spring 05, c Michael R. Hansen p.6/26

13 Interval Logic [Halpern Moszkowski Manna 83] Terms: θ ::= x v θ 1 + θ n... Temporal Variable v : Intv R Formulas: φ ::= θ 1 = θ n φ φ ψ φ ψ ( x)φ... chop φ : Intv {tt,ff} Chop: φ ψ {}}{ b m e } {{ }} {{ } φ ψ for some m : b m e Computability and Semantics, Spring 05, c Michael R. Hansen p.6/26

14 Interval Logic [Halpern Moszkowski Manna 83] Terms: θ ::= x v θ 1 + θ n... Temporal Variable v : Intv R Formulas: φ ::= θ 1 = θ n φ φ ψ φ ψ ( x)φ... chop Chop: φ ψ {}}{ b m e } {{ }} {{ } φ ψ φ : Intv {tt,ff} for some m : b m e In DC: Intv = { [a, b] a, b R a b} Computability and Semantics, Spring 05, c Michael R. Hansen p.6/26

15 Duration Calculus [Zhou Hoare Ravn 91] State variables P : Time {0, 1} Finite Variablilty State expressions S ::= 0 1 P S S 1 S 2 S : Time {0, 1} pointwise defined Computability and Semantics, Spring 05, c Michael R. Hansen p.7/26

16 Duration Calculus [Zhou Hoare Ravn 91] State variables P : Time {0, 1} Finite Variablilty State expressions S ::= 0 1 P S S 1 S 2 S : Time {0, 1} pointwise defined Durations S : Intv R defined on [b, e] by e b S(t)dt Temporal variables with a structure Computability and Semantics, Spring 05, c Michael R. Hansen p.7/26

17 Example: Gas Burner Requirement l L l Design decisions D 1 = ( L l 1) D 2 = (( L L L ) l 30) where l denotes the length of the interval, and φ = true φ true for some sub-interval: φ φ = φ for all sub-intervals: φ P = P = l l > 0 P holds throughout a non-point inter Computability and Semantics, Spring 05, c Michael R. Hansen p.8/26

18 Example: Gas Burner Requirement l L l Design decisions D 1 = ( L l 1) D 2 = (( L L L ) l 30) where l denotes the length of the interval, and φ = true φ true for some sub-interval: φ φ = φ for all sub-intervals: φ P = P = l l > 0 P holds throughout a non-point inter succinct formulation no interval endpoints Computability and Semantics, Spring 05, c Michael R. Hansen p.8/26

19 Correctness informal interval reasoning We must establish: (D 1 D 2 ) l L l Computability and Semantics, Spring 05, c Michael R. Hansen p.9/26

20 Correctness informal interval reasoning l = 30 {}}{ l = 30 l = 30 {}}{{}}{ l {}}{ b e We must establish: (D 1 D 2 ) l L l Computability and Semantics, Spring 05, c Michael R. Hansen p.9/26

21 Correctness informal interval reasoning l = 30 {}}{ l = 30 l = 30 {}}{{}}{ l {}}{ b e Note that (D 1 D 2 ) (l 30 L 1): L 1 {}}{ L 1 L 1 {}}{... L 1 {}}{}}{ b e }{{} L n + 1 We must establish: (D 1 D 2 ) l L l Computability and Semantics, Spring 05, c Michael R. Hansen p.9/26

22 Correctness informal interval reasoning l = 30 {}}{ l = 30 l = 30 {}}{{}}{ l {}}{ b e Note that (D 1 D 2 ) (l 30 L 1): L 1 {}}{ L 1 L 1 {}}{... L 1 {}}{}}{ b e }{{} L n + 1 Since n 2 20 (n + 1) 30 n we have (D 1 D 2 ) l L l Computability and Semantics, Spring 05, c Michael R. Hansen p.9/26

23 Decidability [Zhou Hansen Sestoft 93] Restricted Duration Calculus : S φ, φ ψ, φ ψ Satisfiability is reduced to emptiness of regular languages Both for discrete and continuous time Computability and Semantics, Spring 05, c Michael R. Hansen p.10/26

24 Decidability [Zhou Hansen Sestoft 93] Restricted Duration Calculus : S φ, φ ψ, φ ψ Satisfiability is reduced to emptiness of regular languages Both for discrete and continuous time Skakkebæk Sestoft 94, Pandya 01, Fränzle 02, Gomez Bowman Computability and Semantics, Spring 05, c Michael R. Hansen p.10/26

25 Decidability [Zhou Hansen Sestoft 93] Restricted Duration Calculus : S φ, φ ψ, φ ψ Satisfiability is reduced to emptiness of regular languages Both for discrete and continuous time Skakkebæk Sestoft 94, Pandya 01, Fränzle 02, Gomez Bowman 03 Even small extensions give undecidable subsets RDC 1 (Cont. time) RDC 2 RDC 3 l = r, S φ, φ ψ, φ ψ S 1 = S 2 φ, φ ψ, φ ψ l = x, S φ, φ ψ, φ ψ, ( x)φ Computability and Semantics, Spring 05, c Michael R. Hansen p.10/26

26 Discrete-Time Duration Calculus For an interpretation I : SVar (Time {0, 1}) the discontinuity points of each P I must belong to N Computability and Semantics, Spring 05, c Michael R. Hansen p.11/26

27 Discrete-Time Duration Calculus For an interpretation I : SVar (Time {0, 1}) the discontinuity points of each P I must belong to N. We consider only discrete intervals [b, e] Intv where b, e N Computability and Semantics, Spring 05, c Michael R. Hansen p.11/26

28 Discrete-Time Duration Calculus For an interpretation I : SVar (Time {0, 1}) the discontinuity points of each P I must belong to N. We consider only discrete intervals [b, e] Intv where b, e N. The semantics of chop is { I, [b, e] = φ ψ iff I, [b, m] = φ and I, [m, e] = ψ, for some m [b, e] where m N } Computability and Semantics, Spring 05, c Michael R. Hansen p.11/26

29 Discrete- vs Continuous-Time DC The formula l = 1 1 ( 1 1 ) is valid for discrete time; but not for continuous time Computability and Semantics, Spring 05, c Michael R. Hansen p.12/26

30 Discrete- vs Continuous-Time DC The formula l = 1 1 ( 1 1 ) is valid for discrete time; but not for continuous time The formula S ( S S ) is valid for continuous time; but not for discrete time Computability and Semantics, Spring 05, c Michael R. Hansen p.12/26

31 Restricted Duration Calculus (RDC) 1. if S is a state expression, then S RDC, and 2. if φ, ψ RDC, then φ, φ ψ, φ ψ RDC Computability and Semantics, Spring 05, c Michael R. Hansen p.13/26

32 Restricted Duration Calculus (RDC) 1. if S is a state expression, then S RDC, and 2. if φ, ψ RDC, then φ, φ ψ, φ ψ RDC. Expressiveness of RDC for Discrete Time: l = 0 1 S = 0 S l = 0 l = 1 1 ( 1 1 ) S = 1 ( S = 0) ( S l = 1) ( S = 0) S = k + 1 ( S = k) ( S = 1) S k ( S = k) true S > k ( S k) ( S = k) S k ( S > k) S < k ( S k) ( S = k) Computability and Semantics, Spring 05, c Michael R. Hansen p.13/26

33 Decidability of RDC for Discrete Time Satisfiability is reduced to emptiness of regular languages Computability and Semantics, Spring 05, c Michael R. Hansen p.14/26

34 Decidability of RDC for Discrete Time Satisfiability is reduced to emptiness of regular languages Idea: a Σ describes a piece of an interpretation, e.g. P 1 P 2 P Computability and Semantics, Spring 05, c Michael R. Hansen p.14/26

35 Decidability of RDC for Discrete Time Satisfiability is reduced to emptiness of regular languages Idea: a Σ describes a piece of an interpretation, e.g. P 1 P 2 P 3 Discrete time one letter corresponds to one time unit L( S ) = (DNF (S)) + L(ϕ ψ) = L(ϕ) L(ψ) L( ϕ) = Σ \ L(ϕ) L(ϕ ψ) = L(ϕ) L(ψ) Computability and Semantics, Spring 05, c Michael R. Hansen p.14/26

36 Decidability of RDC for Discrete Time Satisfiability is reduced to emptiness of regular languages Idea: a Σ describes a piece of an interpretation, e.g. P 1 P 2 P 3 Discrete time one letter corresponds to one time unit L( S ) = (DNF (S)) + L(ϕ ψ) = L(ϕ) L(ψ) L( ϕ) = Σ \ L(ϕ) L(ϕ ψ) = L(ϕ) L(ψ) L( φ ) is regular φ is satisfiable iff L( φ Computability and Semantics, Spring 05, c Michael R. Hansen p.14/26

37 Example Is the formula ( P P ) P valid for discrete time? Computability and Semantics, Spring 05, c Michael R. Hansen p.15/26

38 Example Is the formula ( P P ) P valid for discrete time? Σ = {{P }, {}} Computability and Semantics, Spring 05, c Michael R. Hansen p.15/26

39 Example Is the formula ( P P ) P valid for discrete time? Σ = {{P }, {}}. We have ( P P ) P is valid iff iff (( P P ) P ) is not satisfiable ( P P ) P is not satisfiable iff L 1 ( P P ) L 1 ( P ) = {} iff {{P } i i 2} (Σ \ {{P } i i 1}) = {} The last equality holds Computability and Semantics, Spring 05, c Michael R. Hansen p.15/26

40 Example Is the formula ( P P ) P valid for discrete time? Σ = {{P }, {}}. We have ( P P ) P is valid iff iff (( P P ) P ) is not satisfiable ( P P ) P is not satisfiable iff L 1 ( P P ) L 1 ( P ) = {} iff {{P } i i 2} (Σ \ {{P } i i 1}) = {} The last equality holds. Therefore, the formula is valid for discrete time Computability and Semantics, Spring 05, c Michael R. Hansen p.15/26

41 Undecidability [Zhou Hansen Sestoft 93] Restricted Duration Calculus : S φ, φ ψ, φ ψ Satisfiability is reduced to emptiness of regular languages Both for discrete and continuous time Appearrently small extensions give undecidable subsets RDC 1 (Cont. time) RDC 2 RDC 3 l = r, S φ, φ ψ, φ ψ S 1 = S 2 φ, φ ψ, φ ψ l = x, S φ, φ ψ, φ ψ, ( x)φ Computability and Semantics, Spring 05, c Michael R. Hansen p.16/26

42 Two-Counter Machines A two-counter machine has an initial label q 0, two counters c 1 and c 2 which can hold arbitrary natural numbers from N = {0, 1, 2,...}, and a finite set of labeled instructions m i Computability and Semantics, Spring 05, c Michael R. Hansen p.17/26

43 Two-Counter Machines A two-counter machine has an initial label q 0, two counters c 1 and c 2 which can hold arbitrary natural numbers from N = {0, 1, 2,...}, and a finite set of labeled instructions m i. A configuration s has the form: (q, n 1, n 2 ), where q is the current label, and n 1 and n 2 are the values of c 1 and c 2, respectively Computability and Semantics, Spring 05, c Michael R. Hansen p.17/26

44 Two-Counter Machines A two-counter machine has an initial label q 0, two counters c 1 and c 2 which can hold arbitrary natural numbers from N = {0, 1, 2,...}, and a finite set of labeled instructions m i. A configuration s has the form: (q, n 1, n 2 ), where q is the current label, and n 1 and n 2 are the values of c 1 and c 2, respectively. Instructions for c 1 (and similarly for c 2 ): Instruction s = s q : c + 1 q j (q, n 1, n 2 ) = (q j, n 1 + 1, n 2 ) q : c 1 q j, q k (q, 0, n 2 ) = (q j, 0, n 2 ) q : c 1 q j, q k (q, n 1 + 1, n 2 ) = (q k, n 1, n 2 ) Computability and Semantics, Spring 05, c Michael R. Hansen p.17/26

45 Two-Counter Machines A two-counter machine has an initial label q 0, two counters c 1 and c 2 which can hold arbitrary natural numbers from N = {0, 1, 2,...}, and a finite set of labeled instructions m i. A configuration s has the form: (q, n 1, n 2 ), where q is the current label, and n 1 and n 2 are the values of c 1 and c 2, respectively. Instructions for c 1 (and similarly for c 2 ): Instruction s = s q : c + 1 q j (q, n 1, n 2 ) = (q j, n 1 + 1, n 2 ) q : c 1 q j, q k (q, 0, n 2 ) = (q j, 0, n 2 ) q : c 1 q j, q k (q, n 1 + 1, n 2 ) = (q k, n 1, n 2 ) Halting problem is undecidable Computability and Semantics, Spring 05, c Michael R. Hansen p.17/26

46 Two-Counter Machines A two-counter machine has an initial label q 0, two counters c 1 and c 2 which can hold arbitrary natural numbers from N = {0, 1, 2,...}, and a finite set of labeled instructions m i. A configuration s has the form: (q, n 1, n 2 ), where q is the current label, and n 1 and n 2 are the values of c 1 and c 2, respectively. Instructions for c 1 (and similarly for c 2 ): Instruction s = s q : c + 1 q j (q, n 1, n 2 ) = (q j, n 1 + 1, n 2 ) q : c 1 q j, q k (q, 0, n 2 ) = (q j, 0, n 2 ) q : c 1 q j, q k (q, n 1 + 1, n 2 ) = (q k, n 1, n 2 ) Halting problem is undecidable Assume deterministic machine with one halting state q fin Computability and Semantics, Spring 05, c Michael R. Hansen p.17/26

47 Undecidability 1: Continuous time only 1. the formula l = r belongs to RDC 1 (r), 2. if S is a state expression, then S belongs to RDC 1 (r), and 3. if φ and ψ belong to RDC 1 (r), then so do φ, φ ψ, and φ ψ Computability and Semantics, Spring 05, c Michael R. Hansen p.18/26

48 Undecidability 1: Continuous time only 1. the formula l = r belongs to RDC 1 (r), 2. if S is a state expression, then S belongs to RDC 1 (r), and 3. if φ and ψ belong to RDC 1 (r), then so do φ, φ ψ, and φ ψ. Encoding of two-counter machine M: one state variable Q i for each label q i. Let Q = {Q 0,..., Q fin } two state variables C 1 and C 2 to represent the counter values two auxiliary state variables B and L, used as delimiters Computability and Semantics, Spring 05, c Michael R. Hansen p.18/26

49 Undecidability 1: Continuous time only 1. the formula l = r belongs to RDC 1 (r), 2. if S is a state expression, then S belongs to RDC 1 (r), and 3. if φ and ψ belong to RDC 1 (r), then so do φ, φ ψ, and φ ψ. Encoding of two-counter machine M: one state variable Q i for each label q i. Let Q = {Q 0,..., Q fin } two state variables C 1 and C 2 to represent the counter values two auxiliary state variables B and L, used as delimiters A configuration (q, n 1, n 2 ) is encoded on an interval of length 4r: Q Val }{{} 1 }{{}}{{} L Val 2 }{{} r r r r where Val j represents the value of counter c j Computability and Semantics, Spring 05, c Michael R. Hansen p.18/26

50 Undecidability 1 Abbreviations = 1 true = 1 l < r = ((l = r) true) l = 4r = (l = 2r) (l = 2r) S r = S (l = r) φ ψ = (φ ( ψ)) S r reads S has value one for a duration of r φ ψ reads if the interval starts with φ, it must end immediately with or with ψ φ leads to ψ Computability and Semantics, Spring 05, c Michael R. Hansen p.19/26

51 Undecidability 1 Continued The interval describing Val i has the following form: B C i B B C i B with n i sections of C i separated by B Computability and Semantics, Spring 05, c Michael R. Hansen p.20/26

52 Undecidability 1 Continued The interval describing Val i has the following form: B C i B B C i B with n i sections of C i separated by B. The computation of M is simulated by a formula F (M) For example, the following formula copies the C 1 sections to the same place in the next configuration. C 1 true Q i r (l < r) C 1 ( C 1 true) l = 4r exploits precision of length Computability and Semantics, Spring 05, c Michael R. Hansen p.20/26

53 Undecidability 1 Continued The interval describing Val i has the following form: B C i B B C i B with n i sections of C i separated by B. The computation of M is simulated by a formula F (M) For example, the following formula copies the C 1 sections to the same place in the next configuration. C 1 true Q i r (l < r) C 1 ( C 1 true) l = 4r M halts iff F (M) is satisfiable exploits precision of length satisfiability is undecidable for the subset under consideration Computability and Semantics, Spring 05, c Michael R. Hansen p.20/26

54 Remarks l = 1 is not expressible in RDC for continuous time. Relaxing punctuality, replacing l = r with l < r does not give decidability. Relaxing punctuality, replacing l = r with l > r? Computability and Semantics, Spring 05, c Michael R. Hansen p.21/26

55 Undecidability 2: Discrete and Cont. Time 1. if S 1 and S 2 are state expressions, then S 1 = S 2 belongs to RDC 2, and 2. if φ and ψ belong to RDC 2, then so do φ, φ ψ and ψ ψ Computability and Semantics, Spring 05, c Michael R. Hansen p.22/26

56 Undecidability 2: Discrete and Cont. Time 1. if S 1 and S 2 are state expressions, then S 1 = S 2 belongs to RDC 2, and 2. if φ and ψ belong to RDC 2, then so do φ, φ ψ and ψ ψ. Encoding 1. two state variables C + i and C i for each counter c i 2. state variables Q = {Q 0,..., Q fin } corresponding to the labels Computability and Semantics, Spring 05, c Michael R. Hansen p.22/26

57 Undecidability 2: Discrete and Cont. Time 1. if S 1 and S 2 are state expressions, then S 1 = S 2 belongs to RDC 2, and 2. if φ and ψ belong to RDC 2, then so do φ, φ ψ and ψ ψ. Encoding 1. two state variables C + i and C i for each counter c i 2. state variables Q = {Q 0,..., Q fin } corresponding to the labels Idea the value of c i is represented by the value of C + i C i a computation s 0 s 1 s 2 is represented by a sequence QE 0 C 0 QE 1 C 1 QE 2 C 2 QE k is a state expression of Q C k is a state expression of {C + 1, C + 2, C 1, C 2 } Computability and Semantics, Spring 05, c Michael R. Hansen p.22/26

58 Undecidability 2: Abbreviations C = C + 1 C 1 C + 2 C 2 S = ( S = 1) ( 0 = 1) Incr 1 = C + 1 (C 1 C + 2 C 2 ) S > 0 = S = 1 true = 1 φ ψ = (φ ( ψ)) p φ = φ true reads: for some prefix interval: φ p φ = ( p ( φ)) reads: for all prefix intervals: φ Computability and Semantics, Spring 05, c Michael R. Hansen p.23/26

59 Undecidability 2: Encoding Instructions The instruction q j : c + i q k is encoded as follows (true C ) ( Q j C ) Qj = C Q k ( Q k Incr i ) ( Q k Incr i Q true) remaining instructions follows similar pattern mutual exclusive sections and sections of equal size undecidability of RDC Computability and Semantics, Spring 05, c Michael R. Hansen p.24/26

60 Undecidability 3 1. if S is a state expression, then S belongs to RDC 3, 2. if x is a global variable, then l = x belongs to RDC 3, and 3. if φ and ψ belong to RDC 3, then so do φ, φ ψ, φ ψ and ( x)φ, where x is any global variable. A configuration of the machine is represented by a sequence of sections Q, L and C, all of the same length: Q C C L }{{} 1 C C L }{{} 2 n 1 n 2 The initial configuration, (q 0, 0, 0), is represented by Q 0 L 1 L 2 : x.( Q 0 (l = x)) ( L 1 (l = x)) ( L 2 (l = x)) true Computability and Semantics, Spring 05, c Michael R. Hansen p.25/26

61 Undecidability 3: Encoding Instructions An abbreviation: S x = ( S ) (l = x) An instruction q j : c + 1 q k transforms configurations as follows: Q j C C L }{{} 1 C C L }{{} 2 = Q k C C C L }{{} 1 C C L }{{} 2 n 1 n 2 n 1 +1 n 2 Encoding x, y, z. ( Q j x C y L 1 x C z L 2 x (l = 4x + y + z)) (l = 3x + y + z) Q k x C x C y L 1 x C z L 2 x undecidability of RDC Computability and Semantics, Spring 05, c Michael R. Hansen p.26/26

Declarative modelling for timing

Declarative modelling for timing Declarative modelling for timing The real-time logic: Duration Calculus Michael R. Hansen mrh@imm.dtu.dk Informatics and Mathematical Modelling Technical University of Denmark 02153 Declarative Modelling,

More information

02917 Advanced Topics in Embedded Systems. Michael R. Ha. Brief Introduction to Duration Calculus. Michael R. Hansen

02917 Advanced Topics in Embedded Systems. Michael R. Ha. Brief Introduction to Duration Calculus. Michael R. Hansen Brief Introduction to Duration Calculus nsen 1 DTU Informatics, Technical University of Denmark Brief Introduction to Duration Calculus MRH 17/06/2010 Plan for today: A motivating example wireless sensor

More information

A Theory of Duration Calculus with Application

A Theory of Duration Calculus with Application A Theory of Duration Calculus with Application Michael R. Hansen 1 and Dang Van Hung 2 1 Informatics and Math. Modelling, Technical University of Denmark Ricard Petersens Plads, DK-2800 Lyngby, Denmark

More information

A Duration Calculus with Infinite Intervals

A Duration Calculus with Infinite Intervals A Duration Calculus with Infinite Intervals Zhou Chaochen, Dang Van Hung, and Li Xiaoshan The United Nations University International Institute for Software Technology UNU/IIST, P.O.Box 3058, Macau e-mail:

More information

Non-elementary Lower Bound for Propositional Duration. Calculus. A. Rabinovich. Department of Computer Science. Tel Aviv University

Non-elementary Lower Bound for Propositional Duration. Calculus. A. Rabinovich. Department of Computer Science. Tel Aviv University Non-elementary Lower Bound for Propositional Duration Calculus A. Rabinovich Department of Computer Science Tel Aviv University Tel Aviv 69978, Israel 1 Introduction The Duration Calculus (DC) [5] is a

More information

Moby/RT: A Tool for Specification and Verification of Real-Time Systems

Moby/RT: A Tool for Specification and Verification of Real-Time Systems Moby/RT: A Tool for Specification and Verification of Real-Time Systems Ernst-Rüdiger Olderog (Department of Computing Science University of Oldenburg olderog@informatik.uni-oldenburg.de) Henning Dierks

More information

An Algebraic Semantics for Duration Calculus

An Algebraic Semantics for Duration Calculus An Algebraic Semantics for Duration Calculus Peter Höfner Institut für Informatik, Universität Augsburg D-86135 Augsburg, Germany hoefner@informatik.uni-augsburg.de Abstract. We present an algebraic semantics

More information

In a second part, we concentrate on interval models similar to the traditional ITL models presented in [, 5]. By making various assumptions about time

In a second part, we concentrate on interval models similar to the traditional ITL models presented in [, 5]. By making various assumptions about time Complete Proof Systems for First Order Interval Temporal Logic Bruno Dutertre Department of Computer Science Royal Holloway, University of London Egham, Surrey TW0 0EX, United Kingdom Abstract Dierent

More information

Linking Duration Calculus and TLA

Linking Duration Calculus and TLA Linking Duration Calculus and TLA Yifeng Chen and Zhiming Liu Department of Computer Science, University of Leicester, Leicester LE1 7RH, UK Email: {Y.Chen, Z.Liu}@mcs.le.ac.uk Abstract. Different temporal

More information

A Duration Calculus Semantics. for. Real-Time Reactive Systems. Michael R. Hansen. Ernst-Rudiger Olderog. Michael Schenke.

A Duration Calculus Semantics. for. Real-Time Reactive Systems. Michael R. Hansen. Ernst-Rudiger Olderog. Michael Schenke. A Duration Calculus Semantics for Real-Time Reactive Systems Michael R. Hansen Ernst-Rudiger Olderog Michael Schenke Martin Franzle Markus Muller-Olm Burghard von Karger Hans Rischel Date: 17 August 1993

More information

Model Checking Linear Duration Invariants of Networks of Automata

Model Checking Linear Duration Invariants of Networks of Automata Model Checking Linear Duration Invariants of Networks of Automata Miaomiao Zhang 1, Zhiming Liu 2, and Naijun Zhan 3 1 School of Software Engineering, Tongji University, Shanghai, China miaomiao@tongji.edu.cn

More information

Verification of Linear Duration Invariants by Model Checking CTL Properties

Verification of Linear Duration Invariants by Model Checking CTL Properties UNU-IIST International Institute for Software Technology Verification of Linear Duration Invariants by Model Checking CTL Properties Miaomiao Zhang, Dang Van Hung and Zhiming Liu June 2008 UNU-IIST Report

More information

From Duration Calculus. (Extended Abstract) zu Kiel, Preuerstr. 1-9, D Kiel, Germany.

From Duration Calculus. (Extended Abstract) zu Kiel, Preuerstr. 1-9, D Kiel, Germany. From Duration Calculus To Linear Hybrid Automata? (Extended Abstract) Ahmed Bouajjani 1???, Yassine Lakhnech 2??, and Riadh Robbana 1??? 1 VERIMAG, Miniparc-Zirst, Rue Lavoisier 38330 Montbonnot St-Martin,

More information

A Mixed Decision Method for Duration Calculus

A Mixed Decision Method for Duration Calculus A Mixed Decision Method for Duration Calculus NATHALIE CHETCUTI-SERANDIO and LUIS FARIÑAS DEL CERRO, Institut de Recherche en Informatique de Toulouse, 118, route de Narbonne, F-31062 Toulouse cedex 04,

More information

MTL-Model Checking of One-Clock Parametric Timed Automata is Undecidable

MTL-Model Checking of One-Clock Parametric Timed Automata is Undecidable MTL-Model Checking of One-Clock Parametric Timed Automata is Undecidable SynCop 2014 1st International Workshop on Synthesis of Continuous Parameters Karin Quaas University of Leipzig 6th April 2014 Outline

More information

Lecture 03: Duration Calculus I

Lecture 03: Duration Calculus I Real-Time Systems Lecture 03: Duration Calculus I 2014-05-08 Dr. Bernd Westphal 03 2014-05-08 main Albert-Ludwigs-Universität Freiburg, Germany Contents & Goals Last Lecture: Model of timed behaviour:

More information

Metric Propositional Neighborhood Logics

Metric Propositional Neighborhood Logics Metric Propositional Neighborhood Logics D. Bresolin, D. Della Monica, V. Goranko, A. Montanari, and G. Sciavicco University of Murcia guido@um.es Please notice: these slides have been mostly produced

More information

Probabilistic Neighbourhood Logic

Probabilistic Neighbourhood Logic Probabilistic Neighbourhood Logic Dimitar P. Guelev International Institute for Software Technology of the United Nations University (UNU/IIST), Macau, P.O.Box 3058. E-mail: dg@iist.unu.edu Abstract. This

More information

Lecture 05: Duration Calculus III

Lecture 05: Duration Calculus III Real-Time Systems Lecture 05: Duration Calculus III 2014-05-20 Dr. Bernd Westphal Albert-Ludwigs-Universität Freiburg, Germany Contents & Goals Last Lecture: DC Syntax and Semantics: Formulae This Lecture:

More information

REAL-TIME control systems usually consist of some

REAL-TIME control systems usually consist of some 1 A Formal Design Technique for Real-Time Embedded Systems Development using Duration Calculus François Siewe, Dang Van Hung, Hussein Zedan and Antonio Cau Abstract In this paper we present a syntactical

More information

CS256/Spring 2008 Lecture #11 Zohar Manna. Beyond Temporal Logics

CS256/Spring 2008 Lecture #11 Zohar Manna. Beyond Temporal Logics CS256/Spring 2008 Lecture #11 Zohar Manna Beyond Temporal Logics Temporal logic expresses properties of infinite sequences of states, but there are interesting properties that cannot be expressed, e.g.,

More information

Projections: A Technique for Verifying Real-Time Programs in Duration Calculus

Projections: A Technique for Verifying Real-Time Programs in Duration Calculus Projections: A Technique for Verifying Real-Time Programs in Duration Calculus Dang Van Hung The United Nations University International Institute for Software Technology P.O.Box 3058, Macau Abstract.

More information

Benefits of Interval Temporal Logic for Specification of Concurrent Systems

Benefits of Interval Temporal Logic for Specification of Concurrent Systems Benefits of Interval Temporal Logic for Specification of Concurrent Systems Ben Moszkowski Software Technology Research Laboratory De Montfort University Leicester Great Britain email: benm@dmu.ac.uk http://www.tech.dmu.ac.uk/~benm

More information

Duration Calculus of Weakly Monotonic Time

Duration Calculus of Weakly Monotonic Time Duration Calculus of Weakly Monotonic Time Paritosh K. Pandya 1 and Dang Van Hung 2 1 Tata Institute of Fundamental Research Mumbai 400 005, India email: pandya@tcs.tifr.res.in 2 UNU/IIST Macau email:

More information

A Higher-Order Duration Calculus and Its Completeness 1

A Higher-Order Duration Calculus and Its Completeness 1 A Higher-Order Duration Calculus and Its Completeness 1 Zhan Naijun Lab. of Computer Science and Technology, Institute of Software, the Chinese Academy of Sciences, Beijing, 100080, P.R. China Email: znj@ox.ios.ac.cn

More information

Models for Efficient Timed Verification

Models for Efficient Timed Verification Models for Efficient Timed Verification François Laroussinie LSV / ENS de Cachan CNRS UMR 8643 Monterey Workshop - Composition of embedded systems Model checking System Properties Formalizing step? ϕ Model

More information

An optimal tableau-based decision algorithm for Propositional Neighborhood Logic

An optimal tableau-based decision algorithm for Propositional Neighborhood Logic An optimal tableau-based decision algorithm for Propositional Neighborhood Logic Davide Bresolin, Angelo Montanari, and Pietro Sala Department of Mathematics and Computer Science, University of Udine,

More information

Decision Problems with TM s. Lecture 31: Halting Problem. Universe of discourse. Semi-decidable. Look at following sets: CSCI 81 Spring, 2012

Decision Problems with TM s. Lecture 31: Halting Problem. Universe of discourse. Semi-decidable. Look at following sets: CSCI 81 Spring, 2012 Decision Problems with TM s Look at following sets: Lecture 31: Halting Problem CSCI 81 Spring, 2012 Kim Bruce A TM = { M,w M is a TM and w L(M)} H TM = { M,w M is a TM which halts on input w} TOTAL TM

More information

On decision problems for timed automata

On decision problems for timed automata On decision problems for timed automata Olivier Finkel Equipe de Logique Mathématique, U.F.R. de Mathématiques, Université Paris 7 2 Place Jussieu 75251 Paris cedex 05, France. finkel@logique.jussieu.fr

More information

Probabilistic Duration Calculus for Continuous Time

Probabilistic Duration Calculus for Continuous Time Formal Aspects of Computing (22) 3: 1 24 c 22 BCS Probabilistic Duration Calculus for Continuous Time Dang Van Hung 1 and Zhou Chaochen 2 The United Nations University International Institute for Software

More information

Synthesising Controllers from Real-Time Specifications

Synthesising Controllers from Real-Time Specifications Synthesising Controllers from Real-Time Specifications Henning Dierks University of Oldenburg Department of Computer Science P.O.Box 253, D-26111 Oldenburg, Germany dierks@informatik.uni-oldenburg.de Abstract

More information

Optimal Tableau Systems for Propositional Neighborhood Logic over All, Dense, and Discrete Linear Orders

Optimal Tableau Systems for Propositional Neighborhood Logic over All, Dense, and Discrete Linear Orders Optimal Tableau Systems for Propositional Neighborhood Logic over All, Dense, and Discrete Linear Orders Davide Bresolin 1, Angelo Montanari 2, Pietro Sala 1, and Guido Sciavicco 34 1 Department of Computer

More information

Serge Haddad Mathieu Sassolas. Verification on Interrupt Timed Automata. Research Report LSV-09-16

Serge Haddad Mathieu Sassolas. Verification on Interrupt Timed Automata. Research Report LSV-09-16 Béatrice Bérard Serge Haddad Mathieu Sassolas Verification on Interrupt Timed Automata Research Report LSV-09-16 July 2009 Verification on Interrupt Timed Automata Béatrice Bérard 1, Serge Haddad 2, Mathieu

More information

Linear Temporal Logic and Büchi Automata

Linear Temporal Logic and Büchi Automata Linear Temporal Logic and Büchi Automata Yih-Kuen Tsay Department of Information Management National Taiwan University FLOLAC 2009 Yih-Kuen Tsay (SVVRL @ IM.NTU) Linear Temporal Logic and Büchi Automata

More information

T Reactive Systems: Temporal Logic LTL

T Reactive Systems: Temporal Logic LTL Tik-79.186 Reactive Systems 1 T-79.186 Reactive Systems: Temporal Logic LTL Spring 2005, Lecture 4 January 31, 2005 Tik-79.186 Reactive Systems 2 Temporal Logics Temporal logics are currently the most

More information

Model Checking. Temporal Logic. Fifth International Symposium in Programming, volume. of concurrent systems in CESAR. In Proceedings of the

Model Checking. Temporal Logic. Fifth International Symposium in Programming, volume. of concurrent systems in CESAR. In Proceedings of the Sérgio Campos, Edmund Why? Advantages: No proofs Fast Counter-examples No problem with partial specifications can easily express many concurrency properties Main Disadvantage: State Explosion Problem Too

More information

Verifying Concurrent Systems with Symbolic Execution

Verifying Concurrent Systems with Symbolic Execution Verifying Concurrent Systems with Symbolic Execution MICHAEL BALSER, CHRISTOPH DUELLI, WOLFGANG REIF and GERHARD SCHELLHORN, Lehrstuhl Softwaretechnik und Programmiersprachen, Universität Augsburg, D-86135

More information

Computing Accumulated Delays in Real-time Systems

Computing Accumulated Delays in Real-time Systems Computing Accumulated Delays in Real-time Systems P~jeev Alur 1, Costas Courcoubetis u *, Thomas A. Henzinger 3 ** i AT&T Bell Laboratories, Murray Hill 2 Department of Computer Science, University of

More information

LTL with Arithmetic and its Applications in Reasoning about Hierarchical Systems

LTL with Arithmetic and its Applications in Reasoning about Hierarchical Systems This space is reserved for the EPiC Series header, do not use it LTL with Arithmetic and its Applications in Reasoning about Hierarchical Systems Rachel Faran and Orna Kupferman The Hebrew University,

More information

Computer-Aided Program Design

Computer-Aided Program Design Computer-Aided Program Design Spring 2015, Rice University Unit 3 Swarat Chaudhuri February 5, 2015 Temporal logic Propositional logic is a good language for describing properties of program states. However,

More information

Decision, Computation and Language

Decision, Computation and Language Decision, Computation and Language Non-Deterministic Finite Automata (NFA) Dr. Muhammad S Khan (mskhan@liv.ac.uk) Ashton Building, Room G22 http://www.csc.liv.ac.uk/~khan/comp218 Finite State Automata

More information

Operational and Logical Semantics. for Polling Real-Time Systems? Vaandrager 1. Abstract. PLC-Automata are a class of real-time automata suitable

Operational and Logical Semantics. for Polling Real-Time Systems? Vaandrager 1. Abstract. PLC-Automata are a class of real-time automata suitable Operational and Logical Semantics for Polling Real-Time Systems? Henning Dierks 2;??, Ansgar Fehnker 1;???, Angelika Mader 1;y, and Frits Vaandrager 1 1 Computing Science Institute, University of Nijmegen,

More information

Non-emptiness Testing for TMs

Non-emptiness Testing for TMs 180 5. Reducibility The proof of unsolvability of the halting problem is an example of a reduction: a way of converting problem A to problem B in such a way that a solution to problem B can be used to

More information

LOGIC PROPOSITIONAL REASONING

LOGIC PROPOSITIONAL REASONING LOGIC PROPOSITIONAL REASONING WS 2017/2018 (342.208) Armin Biere Martina Seidl biere@jku.at martina.seidl@jku.at Institute for Formal Models and Verification Johannes Kepler Universität Linz Version 2018.1

More information

Semi-Automatic Distributed Synthesis

Semi-Automatic Distributed Synthesis Semi-Automatic Distributed Synthesis Bernd Finkbeiner and Sven Schewe Universität des Saarlandes, 66123 Saarbrücken, Germany {finkbeiner schewe}@cs.uni-sb.de Abstract. We propose a sound and complete compositional

More information

Interactive Verification of Concurrent Systems using Symbolic Execution

Interactive Verification of Concurrent Systems using Symbolic Execution Interactive Verification of Concurrent Systems using Symbolic Execution Michael Balser, Simon Bäumler, Wolfgang Reif, and Gerhard Schellhorn University of Augsburg, Germany Abstract This paper presents

More information

6.8 The Post Correspondence Problem

6.8 The Post Correspondence Problem 6.8. THE POST CORRESPONDENCE PROBLEM 423 6.8 The Post Correspondence Problem The Post correspondence problem (due to Emil Post) is another undecidable problem that turns out to be a very helpful tool for

More information

Timed Automata. Semantics, Algorithms and Tools. Zhou Huaiyang

Timed Automata. Semantics, Algorithms and Tools. Zhou Huaiyang Timed Automata Semantics, Algorithms and Tools Zhou Huaiyang Agenda } Introduction } Timed Automata } Formal Syntax } Operational Semantics } Verification Problems } Symbolic Semantics & Verification }

More information

LTL is Closed Under Topological Closure

LTL is Closed Under Topological Closure LTL is Closed Under Topological Closure Grgur Petric Maretić, Mohammad Torabi Dashti, David Basin Department of Computer Science, ETH Universitätstrasse 6 Zürich, Switzerland Abstract We constructively

More information

Computability and Complexity

Computability and Complexity Computability and Complexity Lecture 5 Reductions Undecidable problems from language theory Linear bounded automata given by Jiri Srba Lecture 5 Computability and Complexity 1/14 Reduction Informal Definition

More information

Deciding Continuous-time Metric Temporal Logic with Counting Modalities

Deciding Continuous-time Metric Temporal Logic with Counting Modalities Deciding Continuous-time Metric Temporal Logic with Counting Modalities RP 2013 Marcello M. Bersani Matteo Rossi Pierluigi San Pietro - Politecnico di Milano Motivations Con+nuous +me is o%en used for

More information

Theory of Computer Science

Theory of Computer Science Theory of Computer Science D1. Turing-Computability Malte Helmert University of Basel April 18, 2016 Overview: Course contents of this course: logic How can knowledge be represented? How can reasoning

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

Decidability: Church-Turing Thesis

Decidability: Church-Turing Thesis Decidability: Church-Turing Thesis While there are a countably infinite number of languages that are described by TMs over some alphabet Σ, there are an uncountably infinite number that are not Are there

More information

Optimal Tableaux for Right Propositional Neighborhood Logic over Linear Orders

Optimal Tableaux for Right Propositional Neighborhood Logic over Linear Orders Optimal Tableaux for Right Propositional Neighborhood Logic over Linear Orders Davide Bresolin 1, Angelo Montanari 2, Pietro Sala 2, and Guido Sciavicco 3 1 Department of Computer Science, University of

More information

Lecture 11: Timed Automata

Lecture 11: Timed Automata Real-Time Systems Lecture 11: Timed Automata 2014-07-01 11 2014-07-01 main Dr. Bernd Westphal Albert-Ludwigs-Universität Freiburg, Germany Contents & Goals Last Lecture: DC (un)decidability This Lecture:

More information

On Modal Logics of Partial Recursive Functions

On Modal Logics of Partial Recursive Functions arxiv:cs/0407031v1 [cs.lo] 12 Jul 2004 On Modal Logics of Partial Recursive Functions Pavel Naumov Computer Science Pennsylvania State University Middletown, PA 17057 naumov@psu.edu June 14, 2018 Abstract

More information

PREDICATE LOGIC: UNDECIDABILITY AND INCOMPLETENESS HUTH AND RYAN 2.5, SUPPLEMENTARY NOTES 2

PREDICATE LOGIC: UNDECIDABILITY AND INCOMPLETENESS HUTH AND RYAN 2.5, SUPPLEMENTARY NOTES 2 PREDICATE LOGIC: UNDECIDABILITY AND INCOMPLETENESS HUTH AND RYAN 2.5, SUPPLEMENTARY NOTES 2 Neil D. Jones DIKU 2005 14 September, 2005 Some slides today new, some based on logic 2004 (Nils Andersen) OUTLINE,

More information

There are problems that cannot be solved by computer programs (i.e. algorithms) even assuming unlimited time and space.

There are problems that cannot be solved by computer programs (i.e. algorithms) even assuming unlimited time and space. Undecidability There are problems that cannot be solved by computer programs (i.e. algorithms) even assuming unlimited time and space. Proved by Alan Turing in 1936 What is a computer program/algorithm?

More information

Recent results on Timed Systems

Recent results on Timed Systems Recent results on Timed Systems Time Petri Nets and Timed Automata Béatrice Bérard LAMSADE Université Paris-Dauphine & CNRS berard@lamsade.dauphine.fr Based on joint work with F. Cassez, S. Haddad, D.

More information

Real-Time Systems. Lecture 10: Timed Automata Dr. Bernd Westphal. Albert-Ludwigs-Universität Freiburg, Germany main

Real-Time Systems. Lecture 10: Timed Automata Dr. Bernd Westphal. Albert-Ludwigs-Universität Freiburg, Germany main Real-Time Systems Lecture 10: Timed Automata 2013-06-04 10 2013-06-04 main Dr. Bernd Westphal Albert-Ludwigs-Universität Freiburg, Germany Contents & Goals Last Lecture: PLC, PLC automata This Lecture:

More information

THEORY OF SYSTEMS MODELING AND ANALYSIS. Henny Sipma Stanford University. Master class Washington University at St Louis November 16, 2006

THEORY OF SYSTEMS MODELING AND ANALYSIS. Henny Sipma Stanford University. Master class Washington University at St Louis November 16, 2006 THEORY OF SYSTEMS MODELING AND ANALYSIS Henny Sipma Stanford University Master class Washington University at St Louis November 16, 2006 1 1 COURSE OUTLINE 8:37-10:00 Introduction -- Computational model

More information

7. F.Balarin and A.Sangiovanni-Vincentelli, A Verication Strategy for Timing-

7. F.Balarin and A.Sangiovanni-Vincentelli, A Verication Strategy for Timing- 7. F.Balarin and A.Sangiovanni-Vincentelli, A Verication Strategy for Timing- Constrained Systems, Proc. 4th Workshop Computer-Aided Verication, Lecture Notes in Computer Science 663, Springer-Verlag,

More information

3 Propositional Logic

3 Propositional Logic 3 Propositional Logic 3.1 Syntax 3.2 Semantics 3.3 Equivalence and Normal Forms 3.4 Proof Procedures 3.5 Properties Propositional Logic (25th October 2007) 1 3.1 Syntax Definition 3.0 An alphabet Σ consists

More information

Introduction to Turing Machines

Introduction to Turing Machines Introduction to Turing Machines Deepak D Souza Department of Computer Science and Automation Indian Institute of Science, Bangalore. 12 November 2015 Outline 1 Turing Machines 2 Formal definitions 3 Computability

More information

Controller Synthesis for MTL Specifications

Controller Synthesis for MTL Specifications Controller Synthesis for MTL Specifications Patricia Bouyer, Laura Bozzelli, and Fabrice Chevalier LSV, CNRS & ENS Cachan, France {bouyer,bozzelli,chevalie}@lsv.ens-cachan.fr Abstract. We consider the

More information

Theoretical Foundations of the UML

Theoretical Foundations of the UML Theoretical Foundations of the UML Lecture 17+18: A Logic for MSCs Joost-Pieter Katoen Lehrstuhl für Informatik 2 Software Modeling and Verification Group moves.rwth-aachen.de/teaching/ws-1718/fuml/ 5.

More information

Timo Latvala. February 4, 2004

Timo Latvala. February 4, 2004 Reactive Systems: Temporal Logic LT L Timo Latvala February 4, 2004 Reactive Systems: Temporal Logic LT L 8-1 Temporal Logics Temporal logics are currently the most widely used specification formalism

More information

Undecidability and temporal logic: some landmarks from Turing to the present

Undecidability and temporal logic: some landmarks from Turing to the present Undecidability and temporal logic: some landmarks from Turing to the present Technical University of Denmark Leicester, September 12-14, 2012 Outline Introduction: a brief retrospective. Turing s undecidability

More information

Expressiveness, decidability, and undecidability of Interval Temporal Logic

Expressiveness, decidability, and undecidability of Interval Temporal Logic University of Udine Department of Mathematics and Computer Science Expressiveness, decidability, and undecidability of Interval Temporal Logic ITL - Beyond the end of the light Ph.D. Defence Dario Della

More information

Reasoning About Bounds In Weighted Transition Systems

Reasoning About Bounds In Weighted Transition Systems Reasoning About Bounds In Weighted Transition Systems QuantLA 2017 September 18, 2017 Mikkel Hansen, Kim Guldstrand Larsen, Radu Mardare, Mathias Ruggaard Pedersen and Bingtian Xue {mhan, kgl, mardare,

More information

Real-Time Systems. Lecture 15: The Universality Problem for TBA Dr. Bernd Westphal. Albert-Ludwigs-Universität Freiburg, Germany

Real-Time Systems. Lecture 15: The Universality Problem for TBA Dr. Bernd Westphal. Albert-Ludwigs-Universität Freiburg, Germany Real-Time Systems Lecture 15: The Universality Problem for TBA 2013-06-26 15 2013-06-26 main Dr. Bernd Westphal Albert-Ludwigs-Universität Freiburg, Germany Contents & Goals Last Lecture: Extended Timed

More information

Synthesis of Asynchronous Systems

Synthesis of Asynchronous Systems Synthesis of Asynchronous Systems Sven Schewe and Bernd Finkbeiner Universität des Saarlandes, 66123 Saarbrücken, Germany {schewe finkbeiner}@cs.uni-sb.de Abstract. This paper addresses the problem of

More information

Computation Histories

Computation Histories 208 Computation Histories The computation history for a Turing machine on an input is simply the sequence of configurations that the machine goes through as it processes the input. An accepting computation

More information

Tree Automata and Rewriting

Tree Automata and Rewriting and Rewriting Ralf Treinen Université Paris Diderot UFR Informatique Laboratoire Preuves, Programmes et Systèmes treinen@pps.jussieu.fr July 23, 2010 What are? Definition Tree Automaton A tree automaton

More information

The Cost of Punctuality

The Cost of Punctuality The Cost of Punctuality Patricia Bouyer 1,2 Nicolas Markey 1 Joël Ouaknine 2 James Worrell 2 1 LSV, CNRS & ENS Cachan, France 2 Oxford University, UK {bouyer,markey}@lsv.ens-cachan.fr {joel,jbw}@comlab.ox.ac.uk

More information

we could choose to work with the following symbols for natural numbers: Syntax: zero,one,two,...,twentyseven,...

we could choose to work with the following symbols for natural numbers: Syntax: zero,one,two,...,twentyseven,... 3 27--26 main 27--7 Snoncontent 2 27--9 Sdcpreview 3 27--26 Scontent Content Real- Systems Lecture 3: Duration Calculus I 27--26 Dr. Bernd Westphal Albert-Ludwigs-Universität Freiburg, Germany Symbols

More information

A COMPLETE AXIOM SYSTEM FOR PROPOSITIONAL INTERVAL TEMPORAL LOGIC WITH INFINITE TIME

A COMPLETE AXIOM SYSTEM FOR PROPOSITIONAL INTERVAL TEMPORAL LOGIC WITH INFINITE TIME Logical Methods in Computer Science Vol. 8 (3:10) 2012, pp. 1 56 www.lmcs-online.org Submitted May 25, 2011 Published Aug. 13, 2012 A COMPLETE AXIOM SYSTEM FOR PROPOSITIONAL INTERVAL TEMPORAL LOGIC WITH

More information

Realizability of Real-Time Logics

Realizability of Real-Time Logics Realizability of Real-Time Logics L. Doyen 1, G. Geeraerts 1, J.-F. Raskin 1, and J. Reichert 2 1 Département d Informatique, Université Libre de Bruxelles (U.L.B.) 2 École Normale Supérieure de Cachan

More information

An Algorithmic Approach to the Specication and Verication of. Abstract

An Algorithmic Approach to the Specication and Verication of. Abstract Hybrid Automata: An Algorithmic Approach to the Specication and Verication of Hybrid Systems 1 Rajeev Alur 2 Costas Courcoubetis 3 Thomas A. Henzinger 4 Pei-Hsin Ho 3 Abstract We introduce the framework

More information

Exam Computability and Complexity

Exam Computability and Complexity Total number of points:... Number of extra sheets of paper:... Exam Computability and Complexity by Jiri Srba, January 2009 Student s full name CPR number Study number Before you start, fill in the three

More information

PSL Model Checking and Run-time Verification via Testers

PSL Model Checking and Run-time Verification via Testers PSL Model Checking and Run-time Verification via Testers Formal Methods 2006 Aleksandr Zaks and Amir Pnueli New York University Introduction Motivation (Why PSL?) A new property specification language,

More information

Verifying Temporal Properties of Reactive Systems: A STeP Tutorial *

Verifying Temporal Properties of Reactive Systems: A STeP Tutorial * Formal Methods in System Design, 16, 1 45 (2000) c 2000 Kluwer Academic Publishers, Boston. Manufactured in The Netherlands. Verifying Temporal Properties of Reactive Systems: A STeP Tutorial * NIKOLAJ

More information

Halting and Equivalence of Program Schemes in Models of Arbitrary Theories

Halting and Equivalence of Program Schemes in Models of Arbitrary Theories Halting and Equivalence of Program Schemes in Models of Arbitrary Theories Dexter Kozen Cornell University, Ithaca, New York 14853-7501, USA, kozen@cs.cornell.edu, http://www.cs.cornell.edu/~kozen In Honor

More information

ON COMPUTAMBLE NUMBERS, WITH AN APPLICATION TO THE ENTSCHENIDUGSPROBLEM. Turing 1936

ON COMPUTAMBLE NUMBERS, WITH AN APPLICATION TO THE ENTSCHENIDUGSPROBLEM. Turing 1936 ON COMPUTAMBLE NUMBERS, WITH AN APPLICATION TO THE ENTSCHENIDUGSPROBLEM Turing 1936 Where are We? Ignoramus et ignorabimus Wir mussen wissen Wir werden wissen We do not know We shall not know We must know

More information

Diagram-based Formalisms for the Verication of. Reactive Systems. Anca Browne, Luca de Alfaro, Zohar Manna, Henny B. Sipma and Tomas E.

Diagram-based Formalisms for the Verication of. Reactive Systems. Anca Browne, Luca de Alfaro, Zohar Manna, Henny B. Sipma and Tomas E. In CADE-1 Workshop on Visual Reasoning, New Brunswick, NJ, July 1996. Diagram-based Formalisms for the Verication of Reactive Systems Anca Browne, Luca de Alfaro, Zohar Manna, Henny B. Sipma and Tomas

More information

Lecture 3: Duration Calculus I

Lecture 3: Duration Calculus I Real-Time Systems Lecture 3: Duration Calculus I 27--26 Dr. Bernd Westphal Albert-Ludwigs-Universität Freiburg, Germany 3 27--26 main Content Introduction Observables and Evolutions Duration Calculus (DC)

More information

Bounded Model-checking of Discrete Duration Calculus

Bounded Model-checking of Discrete Duration Calculus Bounded Model-checking of Discrete Duration Calculus Quan Zu and Miaomiao Zhang School of Software Engineering Tongji University Shanghai, China {7quanzu,miaomiao}@tongji.edu.cn Jiaqi Zhu and Naijun Zhan

More information

Büchi Automata and Linear Temporal Logic

Büchi Automata and Linear Temporal Logic Büchi Automata and Linear Temporal Logic Joshua D. Guttman Worcester Polytechnic Institute 18 February 2010 Guttman ( WPI ) Büchi & LTL 18 Feb 10 1 / 10 Büchi Automata Definition A Büchi automaton is a

More information

An Introduction to Temporal Logics

An Introduction to Temporal Logics An Introduction to Temporal Logics c 2001,2004 M. Lawford Outline Motivation: Dining Philosophers Safety, Liveness, Fairness & Justice Kripke structures, LTS, SELTS, and Paths Linear Temporal Logic Branching

More information

4.2 The Halting Problem

4.2 The Halting Problem 172 4.2 The Halting Problem The technique of diagonalization was discovered in 1873 by Georg Cantor who was concerned with the problem of measuring the sizes of infinite sets For finite sets we can simply

More information

Timed Automata VINO 2011

Timed Automata VINO 2011 Timed Automata VINO 2011 VeriDis Group - LORIA July 18, 2011 Content 1 Introduction 2 Timed Automata 3 Networks of timed automata Motivation Formalism for modeling and verification of real-time systems.

More information

PROOFS IN PREDICATE LOGIC AND COMPLETENESS; WHAT DECIDABILITY MEANS HUTH AND RYAN 2.3, SUPPLEMENTARY NOTES 2

PROOFS IN PREDICATE LOGIC AND COMPLETENESS; WHAT DECIDABILITY MEANS HUTH AND RYAN 2.3, SUPPLEMENTARY NOTES 2 PROOFS IN PREDICATE LOGIC AND COMPLETENESS; WHAT DECIDABILITY MEANS HUTH AND RYAN 2.3, SUPPLEMENTARY NOTES 2 Neil D. Jones DIKU 2005 12 September, 2005 Some slides today new, some based on logic 2004 (Nils

More information

An On-the-fly Tableau Construction for a Real-Time Temporal Logic

An On-the-fly Tableau Construction for a Real-Time Temporal Logic #! & F $ F ' F " F % An On-the-fly Tableau Construction for a Real-Time Temporal Logic Marc Geilen and Dennis Dams Faculty of Electrical Engineering, Eindhoven University of Technology P.O.Box 513, 5600

More information

The dark side of Interval Temporal Logic: sharpening the undecidability border

The dark side of Interval Temporal Logic: sharpening the undecidability border The dark side of Interval Temporal Logic: sharpening the undecidability border Davide Bresolin 1, Dario Della Monica 2,3, Valentin Goranko 4, Angelo Montanari 3, Guido Sciavicco 5,6 1 University of Verona,

More information

Undecidability in Epistemic Planning

Undecidability in Epistemic Planning Undecidability in Epistemic Planning Thomas Bolander, DTU Compute, Tech Univ of Denmark Joint work with: Guillaume Aucher, Univ Rennes 1 Bolander: Undecidability in Epistemic Planning p. 1/17 Introduction

More information

The L Machines are very high-level, in two senses:

The L Machines are very high-level, in two senses: What is a Computer? State of the machine. CMPSCI 630: Programming Languages An Abstract Machine for Control Spring 2009 (with thanks to Robert Harper) Internal registers, memory, etc. Initial and final

More information

On the model checking of sequential reactive systems

On the model checking of sequential reactive systems On the model checking of sequential reactive systems D.G. Kozlova 1 V.A. Zakharov 2 1 Faculty of Computational Mathematics and Cybernetics, Lomonosov Moscow State University, Moscow, RU-119899, Russia,

More information

CSE 105 THEORY OF COMPUTATION

CSE 105 THEORY OF COMPUTATION CSE 105 THEORY OF COMPUTATION Spring 2017 http://cseweb.ucsd.edu/classes/sp17/cse105-ab/ Today's learning goals Summarize key concepts, ideas, themes from CSE 105. Approach your final exam studying with

More information

Foundations of Informatics: a Bridging Course

Foundations of Informatics: a Bridging Course Foundations of Informatics: a Bridging Course Week 3: Formal Languages and Semantics Thomas Noll Lehrstuhl für Informatik 2 RWTH Aachen University noll@cs.rwth-aachen.de http://www.b-it-center.de/wob/en/view/class211_id948.html

More information