Formal Models of Timed Musical Processes Doctoral Defense

Size: px
Start display at page:

Download "Formal Models of Timed Musical Processes Doctoral Defense"

Transcription

1 Formal Models of Timed Musical Processes Doctoral Defense Gerardo M. Sarria M. Advisor: Camilo Rueda Co-Advisor: Juan Francisco Diaz Universidad del Valle AVISPA Research Group September 22, 2008

2 Motivation

3 Motivation Music composition, performance and improvisation are complex tasks of defining and controlling real-time concurrent activities. It is necessary a formal model capable of specifying real-time, concurrent, (a)sychronous and constrained systems to be used as a mathematical platform for musical composition and improvisation.

4 Motivation Various formalisms have found use in practical musical situations. Those formalisms were not intended originally to be used in music. Process Calculi are popular contemporary formalisms for modeling and analyzing concurrent systems. Effective models of concurrency High degree of abstraction Intuitive programming language feel

5 Contributions A new CCP calculus, called rtcc, for modeling real-time reactive systems. Strict extension of ntcc Explicit notions of time and resources Precise way of delay processes Strong preemption and default behaviour New approach to denotacional semantics (Chu Spaces) True Concurrency Intended for real-time multimedia interaction

6 Agenda 1 Preliminars CCP Constraint System NTCC 2 The rtcc Calculus Syntax Operational Semantics Denotational Semantics Real-time Logics 3 Concluding Remarks and Future Work

7 Concurrent Constraint Programming Concurrent constraint programming (CCP) is a model for specifying concurrent systems in terms of constraints. A constraint is a first-order formulae representing partial information about shared variables. Von Neumann s store is replaced by a store of partial information (i.e. x 20) Read and write operators are replaced by ask and tell

8 Concurrent Constraint Programming when y < 30 do tell x < 5 tell x < 8 x :: [0, max] y :: [0, max] z :: [0, max] when y < 7 do tell x < 3 when x < 7 do tell z < 10 tell y < 20

9 Concurrent Constraint Programming when y < 30 do tell x < 5 skip x :: [0, 7] y :: [0, max] z :: [0, max] when y < 7 do tell x < 3 when x < 7 do tell z < 10 tell y < 20

10 Concurrent Constraint Programming when y < 30 do tell x < 5 skip x :: [0, 7] y :: [0, 19] z :: [0, max] when y < 7 do tell x < 3 when x < 7 do tell z < 10 skip

11 Concurrent Constraint Programming skip skip x :: [0, 4] y :: [0, 19] z :: [0, max] when y < 7 do tell x < 3 when x < 7 do tell z < 10 skip

12 Concurrent Constraint Programming skip x :: [0, 4] y :: [0, 19] z :: [0, 9] Remains blocked when y < 7 do tell x < 3 skip skip

13 Concurrent Constraint Programming Partial Information: Variables, Domains and Constraints Concurrency: Multiple agents Synchronization: via store

14 Constraint System A constraint system specifies what kind of constraints handle the store. Formally, it is a tuple Σ,, where Σ is a signature (set of constraints, functions and predicate symbols) and is a consistent first-order theory over Σ. Constraints are first-order formulae over Σ The conjunction of all constraints accumulated monotonically is called the store The entailment relation c d holds iff c d is valid on. c d iff c d and d c

15 The ntcc calculus is CCP calculi proposed for modeling and programming temporal reactive systems. NTCC

16 NTCC The ntcc calculus is CCP calculi proposed for modeling and programming temporal reactive systems. Stimulus Store Process Residual Process Time Unit 1 Time Unit 2

17 NTCC The ntcc calculus is CCP calculi proposed for modeling and programming temporal reactive systems. Stimulus Store Resting Point Residual Process Time Unit 1 Time Unit 2

18 NTCC The ntcc calculus is CCP calculi proposed for modeling and programming temporal reactive systems. Stimulus Store Response Resulting Store Resting Point Residual Process Time Unit 1 Time Unit 2

19 NTCC The ntcc calculus is CCP calculi proposed for modeling and programming temporal reactive systems. Stimulus Store Resting Point Residual Process Time Unit 1 Time Unit 2

20 NTCC The ntcc calculus is CCP calculi proposed for modeling and programming temporal reactive systems. Stimulus Store Resting Point Residual Process Time Unit 1 Time Unit 2 Stores are not automatically transferred from a time unit to the next one.

21 NTCC Syntax P, Q = tell(c) Tell i I when c i do P i Nondeterminism P Q Parallel Composition local x in P Local Behavior next P Unit Delay unless c next P Time-Out P Asynchrony! P Infinite Behavior

22 NTCC Example: M Conductor def =! when Go = 1 do i Notes tell Note = i unless End = 1 next (tell Go = 1) def = tell Go = 1 (tell End = 1)

23 NTCC Disadvantages: No explicit metric notion of time is available. Time units are not homogeneous. There are no facilities to account for resource usage. Execution of processes is not preemptive.

24 The rtcc Calculus Extends ntcc in these ways: Real-Time Delta Delay Strong Preemption Default Behaviour

25 The rtcc Calculus Extends ntcc in these ways: Real-Time Delta Delay Strong Preemption Default Behaviour Resources: A natural number indicating how many resources was provided by the environment. Each process P takes some of these. When P is finished, it releases them.

26 The rtcc Calculus Extends ntcc in these ways: Real-Time Delta Delay Strong Preemption Default Behaviour Bounded Time: Each time unit is divided in a discrete sequence of minimal units called ticks. The number of ticks will be the available time that processes have to execute.

27 The rtcc Calculus Extends ntcc in these ways: Real-Time Delta Delay Strong Preemption Default Behaviour Now a process can be delayed for at least certain number of ticks.

28 The rtcc Calculus Extends ntcc in these ways: Real-Time Delta Delay Strong Preemption Default Behaviour A process can be interrupted if a signal is given.

29 The rtcc Calculus Extends ntcc in these ways: Real-Time Delta Delay Strong Preemption Default Behaviour If the execution of a process is preempted then another process might be launched.

30 The rtcc Calculus Stimulus Store,Resources,Duration Process Residual Process Time Unit 1 Time Unit 2

31 The rtcc Calculus Stimulus Store Resting Point Residual Process Time Unit 1 Time Unit 2

32 The rtcc Calculus Stimulus Store Response Resulting Store, Max Resources Used, Time Consumed Resting Point Residual Process Time Unit 1 Time Unit 2

33 The rtcc Calculus Stimulus Store Resting Point Residual Process Time Unit 1 Time Unit 2

34 The rtcc Calculus Stimulus Store Resting Point Residual Process Time Unit 1 Time Unit 2 Stores are not automatically transferred from a time unit to the next one

35 Syntax P, Q :== tell(c) Tell i I when c i do P i Nondeterminism P Q Parallel Composition local x in P Local Behavior next P Unit Delay delay P until δ Delta Delay unless c next P Weak Time-Out catch c in P finally Q Strong Time-Out P Asynchrony! P Replication

36 Operational Semantics Operational semantics is based on configurations P, d, t. We have internal ( r ) and observable transitions ( α,α )

37 Operational Semantics tell(c), d, t t Φ T (c, d) 0 1 skip, d c, t Φ T (c, d) Tell Operation Φ T (c, d): Time needed to post constraint c in store d. The tell construct uses only 1 resource.

38 Operational Semantics t Φ A (c j, d) 0 d c j, j I i I when c i do P i, d, t 1 P j, d, t Φ A (c j, d) Ask Operation Φ A (c, d): Time needed to query if constraint c can be entailed by store d. The ask construct uses only 1 resource.

39 Operational Semantics P, d, t sp P, d p, t p s p r s p P Q, d, t P Q, d p, t p Q, d, t sq Q, d q, t q s q r s q P Q, d, t P Q, d q, t q P, d, t sp P, d p, t p Q, d, t sq Q, d q, t q s p + s q r P Q, d, t s p+s q P Q, d p d q, min(t p, t q) Parallel Composition Two above: Overlapping version The one below: Truely parallel version

40 Operational Semantics t Φ A (c, d) 0 catch c in P finally Q, d, t d c 1 Q, d, t Φ A (c, d) P, d, t Φ A (c, d) s P, d, t d c s catch c in P finally Q, d, t catch c in P finally Q, d, t Strong Time-Out d c: Process P is stopped and Q is launched. d c: Process P continues (if it can) its execution to P. Process P is now guarded by c.

41 Operational Semantics delay P until δ, d, t δ T t t > 0 0 delay P until δ, d, t 1 δ < T t delay P until δ, d, t 0 P, d, t Delta Delay Operation T : Total duration of the time unit (given by the environment). In each transition the available time is reduce one tick until the delay is greater than or equal to the current time.

42 Operational Semantics P, c, t S Q, d, t P ( c,r,t, d,max(s),t t ) R if R F (Q) Residual Process F (Q) = R if Q = next R or Q = unless c next R F (Q 1) F (Q 2) if Q = Q 1 Q 2 catch c in F (R) finally S if Q = catch c in R finally S local x in F (R) if Q = local x, c in R skip Otherwise

43 Operational Semantics Observations made to Processes: P = P 1 (ι 1,o 1 ) === P 2 (ι 2,o 2 ) === P 3 (ι 3,o 3 ) ===... denoted as P (α,α ) === ω with α = ι 1 ι 2..., α = o 1 o 2... input-output behaviour of P io(p) = {(α, α ) P (α,α ) ω }

44 Denotational Semantics A denotation is a labelled K-valued Chu space. Chu Spaces A matrix C = A, X, λ over a set K: A: The events X : The states λ: The label K: The alphabet

45 Denotational Semantics Events perform actions. States record event ocurrence. Labels are functions λ A Act, where each element of Act, the set of possible actions, is composed by: the actual information (constraints or time) tell posting information a tag: ask querying for information time time this event actually occurs

46 Denotational Semantics The elements of K are the possible values of an event in a given state. K = 0 before it has not yet started during it is happening 1 after it is finishing instead it has been canceled

47 Denotational Semantics tell(c) = c 0 1 λ(c) c, tell when c do P = tell(c) ; P λ(c) c, ask P Q = P Q catch c in P finally Q = ( tell(c) (A A) Q ) ( tell(c) = 0 P B) λ(c) c, ask

48 Denotational Semantics delay P until δ = DELAY ; P next P = CLOCK ; P DELAY = delay 0 1 λ(delay) = δ, time CLOCK = clock 0 1 λ(clock) = T, time

49 Denotational Semantics Example 1: Let P def = tell(a 1 ) and Q def = when a 2 do tell(a 3 ). Then P + Q = a a a λ(a 1 ) = a 1, tell λ(a 2 ) = a 2, ask λ(a 3 ) = a 3, tell

50 Denotational Semantics Example 2: Let P def = catch r in tell(b) and Q def = tell(b). Then: P Q = r b b λ(r) = r, ask λ(b 1 ) = b, tell λ(b 2 ) = b, tell

51 Denotational Semantics Denotational Inputs: Let Ins N D N N be the function that given a time unit index, it will return a tuple consisting of a constraint representing the initial store, a number of resources and an amount of time, for that time unit. We denote Ins(i).j the jth component (j {1, 2, 3}) of Ins(i).

52 Denotational Semantics Definition Step Run Valid Step Distance Valid Run Denotational Outputs: Let Ω be the set of valid runs R. Let Outs Ω D N N be function which given a valid run of a Chu space will return a tuple consisting of a constraint representing a store, a number of resources and an amount of time (the outputs of a process).

53 Denotational Semantics The observables of a process then, can be recovered as follows: Denotational Observables: Let R P,i be the set of valid runs of P i. The observations of a process P is the set of chains of its inputs and outputs, that is Obs(P) = {(α, α ) α(i) = Ins(i) and α (i) = Outs(R P,i )}

54 Denotational Semantics The observables of a process then, can be recovered as follows: Denotational Observables: Let R P,i be the set of valid runs of P i. The observations of a process P is the set of chains of its inputs and outputs, that is Obs(P) = {(α, α ) α(i) = Ins(i) and α (i) = Outs(R P,i )} Full Abstraction: For two processes P and Q, Obs(P) = Obs(Q) iff io(p) = io(q).

55 Real-time Logics We define a Real-time logic for a simplify transition system (without resources): We assume Maximal Parallelism Based on RTTL. An explicit clock variable T. Syntax: A, B,... = c π A A A x.a A A A

56 Real-time Logics Semantics: Definition A timed observation sequence ρ = σ, τ is a pair consisting of an infinite sequence σ of states, and a monotonic function τ N I that maps every c i σ to a time interval. A timed observation sequence is defined as c 1, τ 1 c 2, τ 2 c 3, τ 3...

57 Real-time Logics tell(c) c if ρ, 1 T + Φ T (c, σ(1)) r(τ 1 ) i I when c i do P i i I P i A i (c i A i ) ( c i ) i I i I if ρ, 1 T + Φ A (c i, σ(1)) r(τ 1 ) P A Q B P Q A B P A local x in P x A P A unless c next P c A if ρ, 1 T + Φ A(c, σ(1)) r(τ 1 ) P A Q B catch c in P finally Q ( c A) (c B) if ρ, 1 T + Φ A (c, σ(1)) r(τ 1 ) P A delay P until δ A if ρ, 1 T l(τ 1) + δ P A next P A P A!P A P A P A

58 Concluding Remarks A survey of formal models for music. We review some of the formal models that have been proposed for expressing a variety of musical applications from a computation perspective. Development of rtcc. We develop a new calculus justified in the lack of a formalism capable of expressing both reactive and real-time systems for music. Applications. We illustrate the potential of the new calculus by formalizing a well-known musical tool and a musical improvisation process.

59 Future Work Real-time logic with resources or Girard s Linear Logic. An interpreter. Modelling of complex musical systems. Expressivity proofs Native notion of repair processes

60 Thank you!

The Expressivity of Universal Timed CCP: Undecidability of Monadic FLTL and Closure Operators for Security

The Expressivity of Universal Timed CCP: Undecidability of Monadic FLTL and Closure Operators for Security The Expressivity of Universal Timed CCP: Undecidability of Monadic FLTL and Closure Operators for Security Carlos Olarte and Frank D. Valencia INRIA /CNRS and LIX, Ecole Polytechnique Motivation Concurrent

More information

A Behavioral Congruence for Concurrent Constraint Programming with Nondeterministic Choice

A Behavioral Congruence for Concurrent Constraint Programming with Nondeterministic Choice A Behavioral Congruence for Concurrent Constraint Programming with Nondeterministic Choice Luis Pino*, Filippo Bonchi** and Frank Valencia* (Presented by: Jorge A. Pe rez) *E quipe Come te, LIX, Laboratoire

More information

TEMPORAL CONCURRENT CONSTRAINT PROGRAMMING: DENOTATION, LOGIC AND APPLICATIONS

TEMPORAL CONCURRENT CONSTRAINT PROGRAMMING: DENOTATION, LOGIC AND APPLICATIONS Nordic Journal of Computing 9(2002), 145 188. TEMPORAL CONCURRENT CONSTRAINT PROGRAMMING: DENOTATION, LOGIC AND APPLICATIONS MOGENS NIELSEN BRICS, University of Aarhus, Denmark mn@brics.dk FRANK D. VALENCIA

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

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

Algebraic Trace Theory

Algebraic Trace Theory Algebraic Trace Theory EE249 Roberto Passerone Material from: Jerry R. Burch, Trace Theory for Automatic Verification of Real-Time Concurrent Systems, PhD thesis, CMU, August 1992 October 21, 2002 ee249

More information

Automata-Theoretic Model Checking of Reactive Systems

Automata-Theoretic Model Checking of Reactive Systems Automata-Theoretic Model Checking of Reactive Systems Radu Iosif Verimag/CNRS (Grenoble, France) Thanks to Tom Henzinger (IST, Austria), Barbara Jobstmann (CNRS, Grenoble) and Doron Peled (Bar-Ilan University,

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

Proving Musical Properties using a temporal Concurrent Constraint Calculus

Proving Musical Properties using a temporal Concurrent Constraint Calculus Proving Musical Properties using a temporal Concurrent Constraint Calculus Camilo Rueda, Frank Valencia Universidad Javeriana-Cali and BRICS, University of Aarhus, Denmark email:crueda@atlas.puj.edu.co,

More information

Models of Concurrency

Models of Concurrency Models of Concurrency GERARDO SCHNEIDER UPPSALA UNIVERSITY DEPARTMENT OF INFORMATION TECHNOLOGY UPPSALA, SWEDEN Thanks to Frank Valencia Models of Concurrency p.1/57 Concurrency is Everywhere Concurrent

More information

Algebraic Trace Theory

Algebraic Trace Theory Algebraic Trace Theory EE249 Presented by Roberto Passerone Material from: Jerry R. Burch, Trace Theory for Automatic Verification of Real-Time Concurrent Systems, PhD thesis, CMU, August 1992 October

More information

Notes on BAN Logic CSG 399. March 7, 2006

Notes on BAN Logic CSG 399. March 7, 2006 Notes on BAN Logic CSG 399 March 7, 2006 The wide-mouthed frog protocol, in a slightly different form, with only the first two messages, and time stamps: A S : A, {T a, B, K ab } Kas S B : {T s, A, K ab

More information

The State Explosion Problem

The State Explosion Problem The State Explosion Problem Martin Kot August 16, 2003 1 Introduction One from main approaches to checking correctness of a concurrent system are state space methods. They are suitable for automatic analysis

More information

CS632 Notes on Relational Query Languages I

CS632 Notes on Relational Query Languages I CS632 Notes on Relational Query Languages I A. Demers 6 Feb 2003 1 Introduction Here we define relations, and introduce our notational conventions, which are taken almost directly from [AD93]. We begin

More information

7. Propositional Logic. Wolfram Burgard and Bernhard Nebel

7. Propositional Logic. Wolfram Burgard and Bernhard Nebel Foundations of AI 7. Propositional Logic Rational Thinking, Logic, Resolution Wolfram Burgard and Bernhard Nebel Contents Agents that think rationally The wumpus world Propositional logic: syntax and semantics

More information

Logic: Propositional Logic (Part I)

Logic: Propositional Logic (Part I) Logic: Propositional Logic (Part I) Alessandro Artale Free University of Bozen-Bolzano Faculty of Computer Science http://www.inf.unibz.it/ artale Descrete Mathematics and Logic BSc course Thanks to Prof.

More information

Efficient Computation of Program Equivalence for Confluent Concurrent Constraint Programming

Efficient Computation of Program Equivalence for Confluent Concurrent Constraint Programming Efficient Computation of Program Equivalence for Confluent Concurrent Constraint Programming Luis F. Pino INRIA/DGA and LIX École Polytechnique 91128 Palaiseau, France luis.pino@lix.polytechnique.fr Filippo

More information

A Note on Scope and Infinite Behaviour in CCS-like Calculi p.1/32

A Note on Scope and Infinite Behaviour in CCS-like Calculi p.1/32 A Note on Scope and Infinite Behaviour in CCS-like Calculi GERARDO SCHNEIDER UPPSALA UNIVERSITY DEPARTMENT OF INFORMATION TECHNOLOGY UPPSALA, SWEDEN Joint work with Pablo Giambiagi and Frank Valencia A

More information

Unifying Theories of Programming

Unifying Theories of Programming 1&2 Unifying Theories of Programming Unifying Theories of Programming 3&4 Theories Unifying Theories of Programming designs predicates relations reactive CSP processes Jim Woodcock University of York May

More information

Lecture 16: Computation Tree Logic (CTL)

Lecture 16: Computation Tree Logic (CTL) Lecture 16: Computation Tree Logic (CTL) 1 Programme for the upcoming lectures Introducing CTL Basic Algorithms for CTL CTL and Fairness; computing strongly connected components Basic Decision Diagrams

More information

Fuzzy Answer Set semantics for Residuated Logic programs

Fuzzy Answer Set semantics for Residuated Logic programs semantics for Logic Nicolás Madrid & Universidad de Málaga September 23, 2009 Aims of this paper We are studying the introduction of two kinds of negations into residuated : Default negation: This negation

More information

COMP6463: λ-calculus

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

More information

Automata-based Verification - III

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

More information

Clock-driven scheduling

Clock-driven scheduling Clock-driven scheduling Also known as static or off-line scheduling Michal Sojka Czech Technical University in Prague, Faculty of Electrical Engineering, Department of Control Engineering November 8, 2017

More information

Trace semantics: towards a unification of parallel paradigms Stephen Brookes. Department of Computer Science Carnegie Mellon University

Trace semantics: towards a unification of parallel paradigms Stephen Brookes. Department of Computer Science Carnegie Mellon University Trace semantics: towards a unification of parallel paradigms Stephen Brookes Department of Computer Science Carnegie Mellon University MFCSIT 2002 1 PARALLEL PARADIGMS State-based Shared-memory global

More information

Alternating-Time Temporal Logic

Alternating-Time Temporal Logic Alternating-Time Temporal Logic R.Alur, T.Henzinger, O.Kupferman Rafael H. Bordini School of Informatics PUCRS R.Bordini@pucrs.br Logic Club 5th of September, 2013 ATL All the material in this presentation

More information

Linear-time Temporal Logic

Linear-time Temporal Logic Linear-time Temporal Logic Pedro Cabalar Department of Computer Science University of Corunna, SPAIN cabalar@udc.es 2015/2016 P. Cabalar ( Department Linear oftemporal Computer Logic Science University

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

On the Executability of Interactive Computation. June 23, 2016 Where innovation starts

On the Executability of Interactive Computation. June 23, 2016 Where innovation starts On the Executability of Interactive Computation Bas Luttik Fei Yang June 23, 2016 Where innovation starts Outline 2/37 From Computation to Interactive Computation Executability - an Integration of Computability

More information

Description Logics. Foundations of Propositional Logic. franconi. Enrico Franconi

Description Logics. Foundations of Propositional Logic.   franconi. Enrico Franconi (1/27) Description Logics Foundations of Propositional Logic Enrico Franconi franconi@cs.man.ac.uk http://www.cs.man.ac.uk/ franconi Department of Computer Science, University of Manchester (2/27) Knowledge

More information

Timed Automata. Chapter Clocks and clock constraints Clock variables and clock constraints

Timed Automata. Chapter Clocks and clock constraints Clock variables and clock constraints Chapter 10 Timed Automata In the previous chapter, we have discussed a temporal logic where time was a discrete entities. A time unit was one application of the transition relation of an LTS. We could

More information

Reasoning about Time and Reliability

Reasoning about Time and Reliability Reasoning about Time and Reliability Probabilistic CTL model checking Daniel Bruns Institut für theoretische Informatik Universität Karlsruhe 13. Juli 2007 Seminar Theorie und Anwendung von Model Checking

More information

Towards a correct and efficient implementation of simulation and verification tools for Probabilistic ntcc (Draft)

Towards a correct and efficient implementation of simulation and verification tools for Probabilistic ntcc (Draft) Towards a correct and efficient implementation of simulation and verification tools for Probabilistic ntcc (Draft) Mauricio Toro Bermúdez Jorge Pérez Camilo Rueda Université de Bordeaux 1 University of

More information

A Tableau Calculus for Minimal Modal Model Generation

A Tableau Calculus for Minimal Modal Model Generation M4M 2011 A Tableau Calculus for Minimal Modal Model Generation Fabio Papacchini 1 and Renate A. Schmidt 2 School of Computer Science, University of Manchester Abstract Model generation and minimal model

More information

Consequence Relations and Natural Deduction

Consequence Relations and Natural Deduction Consequence Relations and Natural Deduction Joshua D. Guttman Worcester Polytechnic Institute September 9, 2010 Contents 1 Consequence Relations 1 2 A Derivation System for Natural Deduction 3 3 Derivations

More information

Helsinki University of Technology Laboratory for Theoretical Computer Science Research Reports 66

Helsinki University of Technology Laboratory for Theoretical Computer Science Research Reports 66 Helsinki University of Technology Laboratory for Theoretical Computer Science Research Reports 66 Teknillisen korkeakoulun tietojenkäsittelyteorian laboratorion tutkimusraportti 66 Espoo 2000 HUT-TCS-A66

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

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

The Expressivity of Universal Timed CCP: Undecidability of Monadic FLTL and Closure Operators for Security

The Expressivity of Universal Timed CCP: Undecidability of Monadic FLTL and Closure Operators for Security The Expressivity of Universal Timed CCP: Undecidability of Monadic FLTL and Closure Operators for Security Carlos Olarte, Frank D. Valencia To cite this version: Carlos Olarte, Frank D. Valencia. The Expressivity

More information

Automata-based Verification - III

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

More information

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

From CCS to Hybrid π via baby steps. Bill Rounds CSE, U of Michigan

From CCS to Hybrid π via baby steps. Bill Rounds CSE, U of Michigan From CCS to Hybrid π via baby steps Bill Rounds CSE, U of Michigan Main idea The hybrid pi-calculus extends pi-calculus by adding a component called the continuous environment, which evolves over time

More information

Universal Concurrent Constraint Programing: Symbolic Semantics and Applications to Security

Universal Concurrent Constraint Programing: Symbolic Semantics and Applications to Security Universal Concurrent Constraint Programing: Symbolic Semantics and Applications to Security Carlos Olarte INRIA and LIX École Polytechnique Pontificia Universidad Javeriana carlos.olarte@lix.polytechnique.fr

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

From Liveness to Promptness

From Liveness to Promptness From Liveness to Promptness Orna Kupferman Hebrew University Nir Piterman EPFL Moshe Y. Vardi Rice University Abstract Liveness temporal properties state that something good eventually happens, e.g., every

More information

COMP219: Artificial Intelligence. Lecture 19: Logic for KR

COMP219: Artificial Intelligence. Lecture 19: Logic for KR COMP219: Artificial Intelligence Lecture 19: Logic for KR 1 Overview Last time Expert Systems and Ontologies Today Logic as a knowledge representation scheme Propositional Logic Syntax Semantics Proof

More information

Foundations of Artificial Intelligence

Foundations of Artificial Intelligence Foundations of Artificial Intelligence 7. Propositional Logic Rational Thinking, Logic, Resolution Wolfram Burgard, Maren Bennewitz, and Marco Ragni Albert-Ludwigs-Universität Freiburg Contents 1 Agents

More information

Bringing class diagrams to life

Bringing class diagrams to life Bringing class diagrams to life Luis S. Barbosa & Sun Meng DI-CCTC, Minho University, Braga & CWI, Amsterdam UML & FM Workshop 2009 Rio de Janeiro 8 December, 2009 Formal Methods proofs problems structures

More information

Foundations of Artificial Intelligence

Foundations of Artificial Intelligence Foundations of Artificial Intelligence 7. Propositional Logic Rational Thinking, Logic, Resolution Joschka Boedecker and Wolfram Burgard and Bernhard Nebel Albert-Ludwigs-Universität Freiburg May 17, 2016

More information

Knowledge base (KB) = set of sentences in a formal language Declarative approach to building an agent (or other system):

Knowledge base (KB) = set of sentences in a formal language Declarative approach to building an agent (or other system): Logic Knowledge-based agents Inference engine Knowledge base Domain-independent algorithms Domain-specific content Knowledge base (KB) = set of sentences in a formal language Declarative approach to building

More information

Temporal logics and explicit-state model checking. Pierre Wolper Université de Liège

Temporal logics and explicit-state model checking. Pierre Wolper Université de Liège Temporal logics and explicit-state model checking Pierre Wolper Université de Liège 1 Topics to be covered Introducing explicit-state model checking Finite automata on infinite words Temporal Logics and

More information

Decentralized Control of Discrete Event Systems with Bounded or Unbounded Delay Communication

Decentralized Control of Discrete Event Systems with Bounded or Unbounded Delay Communication Decentralized Control of Discrete Event Systems with Bounded or Unbounded Delay Communication Stavros Tripakis Abstract We introduce problems of decentralized control with communication, where we explicitly

More information

Varieties of Stochastic Calculi

Varieties of Stochastic Calculi Research is what I'm doing when I don't know what I'm doing. Wernher Von Braun. Artificial Biochemistry Varieties of Stochastic Calculi Microsoft Research Trento, 26-5-22..26 www.luca.demon.co.uk/artificialbiochemistry.htm

More information

Temporal & Modal Logic. Acronyms. Contents. Temporal Logic Overview Classification PLTL Syntax Semantics Identities. Concurrency Model Checking

Temporal & Modal Logic. Acronyms. Contents. Temporal Logic Overview Classification PLTL Syntax Semantics Identities. Concurrency Model Checking Temporal & Modal Logic E. Allen Emerson Presenter: Aly Farahat 2/12/2009 CS5090 1 Acronyms TL: Temporal Logic BTL: Branching-time Logic LTL: Linear-Time Logic CTL: Computation Tree Logic PLTL: Propositional

More information

Process Algebras and Concurrent Systems

Process Algebras and Concurrent Systems Process Algebras and Concurrent Systems Rocco De Nicola Dipartimento di Sistemi ed Informatica Università di Firenze Process Algebras and Concurrent Systems August 2006 R. De Nicola (DSI-UNIFI) Process

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

THE LANGUAGE OF FIRST-ORDER LOGIC (FOL) Sec2 Sec1(1-16)

THE LANGUAGE OF FIRST-ORDER LOGIC (FOL) Sec2 Sec1(1-16) THE LANGUAGE OF FIRST-ORDER LOGIC (FOL) Sec2 Sec1(1-16) FOL: A language to formulate knowledge Logic is the study of entailment relationslanguages, truth conditions and rules of inference. FOL or Predicate

More information

A theory of modular and dynamic knowledge representation

A theory of modular and dynamic knowledge representation A theory of modular and dynamic knowledge representation Ján Šefránek Institute of Informatics, Comenius University, Mlynská dolina, 842 15 Bratislava, Slovakia, phone: (421-7) 6029 5436, e-mail: sefranek@fmph.uniba.sk

More information

On Compensation Primitives as Adaptable Processes

On Compensation Primitives as Adaptable Processes On Compensation Primitives as Adaptable Processes Jovana Dedeić University of Novi Sad Jovanka Pantović (Novi Sad) and Jorge A. Pérez (Groningen) LAP 2015 - Dubrovnik, September 24, 2015 Outline 1 Context

More information

Nondeterministic Finite Automata

Nondeterministic Finite Automata Nondeterministic Finite Automata Not A DFA Does not have exactly one transition from every state on every symbol: Two transitions from q 0 on a No transition from q 1 (on either a or b) Though not a DFA,

More information

7. Queueing Systems. 8. Petri nets vs. State Automata

7. Queueing Systems. 8. Petri nets vs. State Automata Petri Nets 1. Finite State Automata 2. Petri net notation and definition (no dynamics) 3. Introducing State: Petri net marking 4. Petri net dynamics 5. Capacity Constrained Petri nets 6. Petri net models

More information

Coinductive big-step semantics and Hoare logics for nontermination

Coinductive big-step semantics and Hoare logics for nontermination Coinductive big-step semantics and Hoare logics for nontermination Tarmo Uustalu, Inst of Cybernetics, Tallinn joint work with Keiko Nakata COST Rich Models Toolkit meeting, Madrid, 17 18 October 2013

More information

Decidability Results for Probabilistic Hybrid Automata

Decidability Results for Probabilistic Hybrid Automata Decidability Results for Probabilistic Hybrid Automata Prof. Dr. Erika Ábrahám Informatik 2 - Theory of Hybrid Systems RWTH Aachen SS09 - Probabilistic hybrid automata 1 / 17 Literatur Jeremy Sproston:

More information

It is a growing concern for companies, administrations,

It is a growing concern for companies, administrations, IEEE TRANSACTIONS ON SOFTWARE ENGINEERING (preprint) 1 Monitoring Data Usage in Distributed Systems David Basin, Matúš Harvan, Felix Klaedtke, and Eugen Zălinescu Abstract IT systems manage increasing

More information

Propositional Logic Language

Propositional Logic Language Propositional Logic Language A logic consists of: an alphabet A, a language L, i.e., a set of formulas, and a binary relation = between a set of formulas and a formula. An alphabet A consists of a finite

More information

Non-preemptive multiprocessor scheduling of strict periodic systems with precedence constraints

Non-preemptive multiprocessor scheduling of strict periodic systems with precedence constraints Non-preemptive multiprocessor scheduling of strict periodic systems with precedence constraints Liliana Cucu, Yves Sorel INRIA Rocquencourt, BP 105-78153 Le Chesnay Cedex, France liliana.cucu@inria.fr,

More information

A Propositional Dynamic Logic for Instantial Neighborhood Semantics

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

More information

SOME SEMANTICS FOR A LOGICAL LANGUAGE FOR THE GAME OF DOMINOES

SOME SEMANTICS FOR A LOGICAL LANGUAGE FOR THE GAME OF DOMINOES SOME SEMANTICS FOR A LOGICAL LANGUAGE FOR THE GAME OF DOMINOES Fernando R. Velázquez-Quesada Instituto de Investigaciones en Matemáticas Aplicadas y en Sistemas Universidad Nacional Autónoma de México

More information

Real Time Operating Systems

Real Time Operating Systems Real Time Operating ystems Luca Abeni luca.abeni@unitn.it Interacting Tasks Until now, only independent tasks... A job never blocks or suspends A task only blocks on job termination In real world, jobs

More information

Designing and Evaluating Generic Ontologies

Designing and Evaluating Generic Ontologies Designing and Evaluating Generic Ontologies Michael Grüninger Department of Industrial Engineering University of Toronto gruninger@ie.utoronto.ca August 28, 2007 1 Introduction One of the many uses of

More information

Notes. Corneliu Popeea. May 3, 2013

Notes. Corneliu Popeea. May 3, 2013 Notes Corneliu Popeea May 3, 2013 1 Propositional logic Syntax We rely on a set of atomic propositions, AP, containing atoms like p, q. A propositional logic formula φ Formula is then defined by the following

More information

RESEARCH PROPOSAL MODELING A CELLULAR TRANSMEMBRANE SIGNALING SYSTEM THROUGH INTERACTION WITH G-PROTEINS BY USING CONCURRENT

RESEARCH PROPOSAL MODELING A CELLULAR TRANSMEMBRANE SIGNALING SYSTEM THROUGH INTERACTION WITH G-PROTEINS BY USING CONCURRENT RESEARCH PROPOSAL MODELING A CELLULAR TRANSMEMBRANE SIGNALING SYSTEM THROUGH INTERACTION WITH G-PROTEINS BY USING CONCURRENT CONSTRAINT PROCESS CALCULI BY DIANA-PATRICIA HERMITH-RAMIREZ, B.S. ADVISOR:

More information

2 Conceptual Framework Before introducing the probabilistic concurrent constraint (PCCP) language we have to discuss a basic question: What is a proba

2 Conceptual Framework Before introducing the probabilistic concurrent constraint (PCCP) language we have to discuss a basic question: What is a proba On Probabilistic CCP Alessandra Di Pierro and Herbert Wiklicky fadp,herbertg@cs.city.ac.uk City University London, Northampton Square, London EC1V OHB Abstract This paper investigates a probabilistic version

More information

A 2-Approximation Algorithm for Scheduling Parallel and Time-Sensitive Applications to Maximize Total Accrued Utility Value

A 2-Approximation Algorithm for Scheduling Parallel and Time-Sensitive Applications to Maximize Total Accrued Utility Value A -Approximation Algorithm for Scheduling Parallel and Time-Sensitive Applications to Maximize Total Accrued Utility Value Shuhui Li, Miao Song, Peng-Jun Wan, Shangping Ren Department of Engineering Mechanics,

More information

Time and Timed Petri Nets

Time and Timed Petri Nets Time and Timed Petri Nets Serge Haddad LSV ENS Cachan & CNRS & INRIA haddad@lsv.ens-cachan.fr DISC 11, June 9th 2011 1 Time and Petri Nets 2 Timed Models 3 Expressiveness 4 Analysis 1/36 Outline 1 Time

More information

Knowledge representation DATA INFORMATION KNOWLEDGE WISDOM. Figure Relation ship between data, information knowledge and wisdom.

Knowledge representation DATA INFORMATION KNOWLEDGE WISDOM. Figure Relation ship between data, information knowledge and wisdom. Knowledge representation Introduction Knowledge is the progression that starts with data which s limited utility. Data when processed become information, information when interpreted or evaluated becomes

More information

A Sample State Machine

A Sample State Machine A Sample State Machine Environment Signatures An environment signature is a triple of sets of guards, actions, and messages. H = (G H, A H, M H ) Guards: formulas in some logical language, e.g. OCL. Actions

More information

Individuals and Relations

Individuals and Relations Individuals and Relations It is useful to view the world as consisting of individuals (objects, things) and relations among individuals. Often features are made from relations among individuals and functions

More information

G54FOP: Lecture 17 & 18 Denotational Semantics and Domain Theory III & IV

G54FOP: Lecture 17 & 18 Denotational Semantics and Domain Theory III & IV G54FOP: Lecture 17 & 18 Denotational Semantics and Domain Theory III & IV Henrik Nilsson University of Nottingham, UK G54FOP: Lecture 17 & 18 p.1/33 These Two Lectures Revisit attempt to define denotational

More information

Implementation of the stable revivals model in CSP-Prover

Implementation of the stable revivals model in CSP-Prover in CSP-Prover in CSP-Prover April 4, 2007 The stable Supported by EPSRC grant EP/D037212/1 in CSP-Prover Csp-Prover Motivation and The stable in CSP-Prover Csp is a language to describe processes in concurrent

More information

Alan Bundy. Automated Reasoning LTL Model Checking

Alan Bundy. Automated Reasoning LTL Model Checking Automated Reasoning LTL Model Checking Alan Bundy Lecture 9, page 1 Introduction So far we have looked at theorem proving Powerful, especially where good sets of rewrite rules or decision procedures have

More information

Chapter 2: Introduction to Propositional Logic

Chapter 2: Introduction to Propositional Logic Chapter 2: Introduction to Propositional Logic PART ONE: History and Motivation Origins: Stoic school of philosophy (3rd century B.C.), with the most eminent representative was Chryssipus. Modern Origins:

More information

Absence of Global Clock

Absence of Global Clock Absence of Global Clock Problem: synchronizing the activities of different part of the system (e.g. process scheduling) What about using a single shared clock? two different processes can see the clock

More information

-- Technical Memorandum UCB/ERL M97/11 --

-- Technical Memorandum UCB/ERL M97/11 -- -- Technical Memorandum UCB/ERL M97/11 -- U N T H E I V E R S I T Y A O F LE T TH E R E B E 1 8 6 8 LIG H T C A L I A I F O R N DEPARTMENT OF ELECTRICAL ENGINEERING AND COMPUTER SCIENCE UNIVERSITY OF CALIFORNIA

More information

Relational Interfaces and Refinement Calculus for Compositional System Reasoning

Relational Interfaces and Refinement Calculus for Compositional System Reasoning Relational Interfaces and Refinement Calculus for Compositional System Reasoning Viorel Preoteasa Joint work with Stavros Tripakis and Iulia Dragomir 1 Overview Motivation General refinement Relational

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

On Defaults in Action Theories

On Defaults in Action Theories On Defaults in Action Theories Hannes Strass and Michael Thielscher Department of Computer Science Dresden University of Technology {hannes.strass,mit}@inf.tu-dresden.de Abstract. We study the integration

More information

Propositions. c D. Poole and A. Mackworth 2010 Artificial Intelligence, Lecture 5.1, Page 1

Propositions. c D. Poole and A. Mackworth 2010 Artificial Intelligence, Lecture 5.1, Page 1 Propositions An interpretation is an assignment of values to all variables. A model is an interpretation that satisfies the constraints. Often we don t want to just find a model, but want to know what

More information

Artificial Intelligence. Propositional logic

Artificial Intelligence. Propositional logic Artificial Intelligence Propositional logic Propositional Logic: Syntax Syntax of propositional logic defines allowable sentences Atomic sentences consists of a single proposition symbol Each symbol stands

More information

Propositional Logic: Semantics and an Example

Propositional Logic: Semantics and an Example Propositional Logic: Semantics and an Example CPSC 322 Logic 2 Textbook 5.2 Propositional Logic: Semantics and an Example CPSC 322 Logic 2, Slide 1 Lecture Overview 1 Recap: Syntax 2 Propositional Definite

More information

Logic Model Checking

Logic Model Checking Logic Model Checking Lecture Notes 10:18 Caltech 101b.2 January-March 2004 Course Text: The Spin Model Checker: Primer and Reference Manual Addison-Wesley 2003, ISBN 0-321-22862-6, 608 pgs. the assignment

More information

Logical Agents. Knowledge based agents. Knowledge based agents. Knowledge based agents. The Wumpus World. Knowledge Bases 10/20/14

Logical Agents. Knowledge based agents. Knowledge based agents. Knowledge based agents. The Wumpus World. Knowledge Bases 10/20/14 0/0/4 Knowledge based agents Logical Agents Agents need to be able to: Store information about their environment Update and reason about that information Russell and Norvig, chapter 7 Knowledge based agents

More information

Characterizing Fault-Tolerant Systems by Means of Simulation Relations

Characterizing Fault-Tolerant Systems by Means of Simulation Relations Characterizing Fault-Tolerant Systems by Means of Simulation Relations TECHNICAL REPORT Ramiro Demasi 1, Pablo F. Castro 2,3, Thomas S.E. Maibaum 1, and Nazareno Aguirre 2,3 1 Department of Computing and

More information

Overview. Knowledge-Based Agents. Introduction. COMP219: Artificial Intelligence. Lecture 19: Logic for KR

Overview. Knowledge-Based Agents. Introduction. COMP219: Artificial Intelligence. Lecture 19: Logic for KR COMP219: Artificial Intelligence Lecture 19: Logic for KR Last time Expert Systems and Ontologies oday Logic as a knowledge representation scheme Propositional Logic Syntax Semantics Proof theory Natural

More information

Automata on Infinite words and LTL Model Checking

Automata on Infinite words and LTL Model Checking Automata on Infinite words and LTL Model Checking Rodica Condurache Lecture 4 Lecture 4 Automata on Infinite words and LTL Model Checking 1 / 35 Labeled Transition Systems Let AP be the (finite) set of

More information

Artificial Intelligence Chapter 7: Logical Agents

Artificial Intelligence Chapter 7: Logical Agents Artificial Intelligence Chapter 7: Logical Agents Michael Scherger Department of Computer Science Kent State University February 20, 2006 AI: Chapter 7: Logical Agents 1 Contents Knowledge Based Agents

More information

CHAPTER 4 CLASSICAL PROPOSITIONAL SEMANTICS

CHAPTER 4 CLASSICAL PROPOSITIONAL SEMANTICS CHAPTER 4 CLASSICAL PROPOSITIONAL SEMANTICS 1 Language There are several propositional languages that are routinely called classical propositional logic languages. It is due to the functional dependency

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

A Fixed Point Representation of References

A Fixed Point Representation of References A Fixed Point Representation of References Susumu Yamasaki Department of Computer Science, Okayama University, Okayama, Japan yamasaki@momo.cs.okayama-u.ac.jp Abstract. This position paper is concerned

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