François Fages MPRI Bio-info 2007 Formal Biology of the Cell Modeling, Computing and Reasoning with Constraints François Fages, Constraint Programming.

Slides:



Advertisements
Similar presentations
1 Verification by Model Checking. 2 Part 1 : Motivation.
Advertisements

Model Checking Lecture 1.
Formal Computational Skills
Chapter 6 Differential Equations
Robustness Analysis and Tuning of Synthetic Gene Networks Grégory Batt 1 Boyan Yordanov 1 Calin Belta 1 Ron Weiss 2 1 Centers for Information and Systems.
R OBUSTNESS ANALYSIS AND TUNING OF SYNTHETIC GENE NETWORKS Grégory Batt, Boyan Yordanov, Ron Weiss, and Calin Belta 1 VC Lab, Dept. of Computer Science,
Tutorial I – An Introduction to Model Checking Peng WU INRIA Futurs LIX, École Polytechnique.
Metodi formali dello sviluppo software a.a.2013/2014 Prof.Anna Labella.
CS 267: Automated Verification Lecture 2: Linear vs. Branching time. Temporal Logics: CTL, CTL*. CTL model checking algorithm. Counter-example generation.
Algorithmic Software Verification VII. Computation tree logic and bisimulations.
François Fages MPRI Bio-info 2006 Formal Biology of the Cell Modeling, Computing and Reasoning with Constraints François Fages, Constraint Programming.
François Fages MPRI Bio-info 2007 Formal Biology of the Cell Protein structure prediction with constraint logic programming François Fages, Constraint.
SE301: Numerical Methods Topic 8 Ordinary Differential Equations (ODEs) Lecture KFUPM Read , 26-2, 27-1 CISE301_Topic8L8&9 KFUPM.
François FagesLyon, Dec. 7th 2006 Biologie du système de signalisation cellulaire induit par la FSH ASC 2006, projet AgroBi INRIA Rocquencourt Thème “Systèmes.
François Fages MPRI Bio-info 2007 Formal Biology of the Cell Modeling, Computing and Reasoning with Constraints François Fages, Constraint Programming.
1 Computation Tree Logic (CTL). 2 CTL Syntax P - a set of atomic propositions, every p  P is a CTL formula. f, g, CTL formulae, then so are  f, f 
François Fages WCB Nantes 2006 On Using Temporal Logic with Constraints to express Biological Properties of Cell Processes François Fages, Constraint Programming.
François FagesShonan village 14/11/11 Formal Cell Biology in Biocham François Fages Constraint Programming Group INRIA Paris-Rocquencourt.
François Fages MPRI Bio-info 2005 Formal Biology of the Cell Modeling, Computing and Reasoning with Constraints François Fages, Constraint Programming.
An Introduction to the Model Verifier verds Wenhui Zhang September 15 th, 2010.
François Fages MPRI Bio-info 2006 Formal Biology of the Cell Locations, Transport and Signaling François Fages, Constraint Programming Group, INRIA Rocquencourt.
ECE Synthesis & Verification - L271 ECE 697B (667) Spring 2006 Synthesis and Verification of Digital Systems Model Checking basics.
François Fages MPRI Bio-info 2006 Formal Biology of the Cell Modeling, Computing and Reasoning with Constraints François Fages, Constraints Group, INRIA.
Temporal Logic and the NuSMV Model Checker CS 680 Formal Methods Jeremy Johnson.
Model Checking I What are LTL and CTL?. and or dreq q0 dack q0bar.
CS6133 Software Specification and Verification
François Fages MPRI Bio-info 2007 Formal Biology of the Cell Inferring Reaction Rules from Temporal Properties François Fages, Constraint Programming Group,
UPPAAL Introduction Chien-Liang Chen.
Hybrid Systems Presented by: Arnab De Anand S. An Intuitive Introduction to Hybrid Systems Discrete program with an analog environment. What does it mean?
François Fages MPRI Bio-info 2005 Formal Biology of the Cell Locations, Transport and Signaling François Fages, Constraint Programming Group, INRIA Rocquencourt.
Verification of Hybrid Systems An Assessment of Current Techniques Holly Bowen.
SYMBOLIC MODEL CHECKING: STATES AND BEYOND J.R. Burch E.M. Clarke K.L. McMillan D. L. Dill L. J. Hwang Presented by Rehana Begam.
Model Checking I What are LTL and CTL?. and or dreq q0 dack q0bar D D.
Digitaalsüsteemide verifitseerimise kursus1 Formal verification: Property checking Property checking.
1 Temporal Logic u Classical logic:  Good for describing static conditions u Temporal logic:  Adds temporal operators  Describe how static conditions.
François Fages CPCV, March 2004 Constraint-based Model Checking of Hybrid Systems: A First Experiment in Systems Biology François Fages, INRIA Rocquencourt.
Discrete Abstractions of Hybrid Systems Rajeev Alur, Thomas A. Henzinger, Gerardo Lafferriere and George J. Pappas.
Lecture 4&5: Model Checking: A quick introduction Professor Aditya Ghose Director, Decision Systems Lab School of IT and Computer Science University of.
Temporal Logic and Model Checking. Reactive Systems We often classify systems into two types: Transformational: functions from inputs available at the.
Witness and Counterexample Li Tan Oct. 15, 2002.
ESE601: Hybrid Systems Introduction to verification Spring 2006.
Boolean Here, we are focusing on the early steps of FSH-induced signalling: the FSH receptor transduction mechanisms. We have translated the model previously.
Witness and Counterexample Li Tan Oct. 15, 2002.
1 Temporal Logic-Overview FM Temporal Logic u Classical logic: Good for describing static conditions u Temporal logic: Adds temporal operators Describe.
Numerical Solutions to ODEs Nancy Griffeth January 14, 2014 Funding for this workshop was provided by the program “Computational Modeling and Analysis.
A Simple Model Checker for CTL. The problem n We need efficient algorithms to solve the problems [1]M,s  [2]M,s  where M should have finitely many states,
Verification technique on SA applications using Incremental Model Checking 컴퓨터학과 신영주.
1 Introduction to SMV and Model Checking Mostly by: Ken McMillan Cadence Berkeley Labs Small parts by: Brandon Eames ISIS/Vanderbilt.
10/19/2015COSC , Lecture 171 Real-Time Systems, COSC , Lecture 17 Stefan Andrei.
Automatic Verification of Finite-State Concurrent Systems Using Temporal Logic Specifications 1.
François Fages MPRI Bio-info 2005 Formal Biology of the Cell Modeling, Computing and Reasoning with Constraints François Fages, Constraint Programming.
Constraints Assisted Modeling and Validation Presented in CS294-5 (Spring 2007) Thomas Huining Feng Based on: [1]Constraints Assisted Modeling and Validation.
Symbolic Algorithms for Infinite-state Systems Rupak Majumdar (UC Berkeley) Joint work with Luca de Alfaro (UC Santa Cruz) Thomas A. Henzinger (UC Berkeley)
1 CSEP590 – Model Checking and Automated Verification Lecture outline for July 9, 2003.
1 Temporal logic. 2 Prop. logic: model and reason about static situations. Example: Are there truth values that can be assigned to x,y simultaneously.
Bounded Model Checking A. Biere, A. Cimatti, E. Clarke, Y. Zhu, Symbolic Model Checking without BDDs, TACAS’99 Presented by Daniel Choi Provable Software.
From Natural Language to LTL: Difficulties Capturing Natural Language Specification in Formal Languages for Automatic Analysis Elsa L Gunter NJIT.
François Fages MPRI Bio-info 2005 Formal Biology of the Cell Modeling, Computing and Reasoning with Constraints François Fages, Constraints Group, INRIA.
6/12/20161 a.a.2015/2016 Prof. Anna Labella Formal Methods in software development.
CIS 540 Principles of Embedded Computation Spring Instructor: Rajeev Alur
Model Checking Lecture 2. Model-Checking Problem I |= S System modelSystem property.
CIS 842: Specification and Verification of Reactive Systems
SS 2017 Software Verification LTL monitoring
Formal Methods in software development
Computer Security: Art and Science, 2nd Edition
Translating Linear Temporal Logic into Büchi Automata
Introduction to verification
Formal Methods in software development
Program correctness Branching-time temporal logics
Program correctness Model-checking CTL
Presentation transcript:

François Fages MPRI Bio-info 2007 Formal Biology of the Cell Modeling, Computing and Reasoning with Constraints François Fages, Constraint Programming Group, INRIA Rocquencourt

François Fages MPRI Bio-info 2007 Overview of the Lectures 1.Introduction. Formal molecules and reactions in BIOCHAM. 2.Formal biological properties in temporal logic. Symbolic model-checking. 3.Continuous dynamics. Kinetics models. 4.Learning kinetic parameter values. Constraint-based model checking. 5.…

François Fages MPRI Bio-info 2007 Cell Cycle Control [Qu et al. 03] k1 for _=>Cyclin. k2*[Cyclin] for Cyclin=>_. k3*[Cyclin]*[Cdc2~{p1}] for Cyclin+Cdc2~{p1}=>Cdc2~{p1}-Cyclin~{p1}. k4p*[Cdc2~{p1}-Cyclin~{p1}] for Cdc2~{p1}-Cyclin~{p1}=>Cdc2-Cyclin~{p1}. k4*[Cdc2-Cyclin~{p1}]^2*[Cdc2~{p1}-Cyclin~{p1}] for Cdc2~{p1}-Cyclin~{p1}=[Cdc2-Cyclin~{p1}]=>Cdc2-Cyclin~{p1}. k5*[Cdc2-Cyclin~{p1}] for Cdc2-Cyclin~{p1}=>Cdc2~{p1}-Cyclin~{p1}. k6*[Cdc2-Cyclin~{p1}] for Cdc2-Cyclin~{p1}=>Cdc2+Cyclin~{p1}. k7*[Cyclin~{p1}] for Cyclin~{p1}=>_. k8*[Cdc2] for Cdc2=>Cdc2~{p1}. k9*[Cdc2~{p1}] for Cdc2~{p1}=>Cdc2. parameter(k1,0.015). parameter(k2,0.015). parameter(k3,200). parameter(k4p,0.018). parameter(k4,180). parameter(k5,0). parameter(k6,1). parameter(k7,0.6). parameter(k8,100). parameter(k9,100). present(Cdc2,1). make_absent_not_present.

François Fages MPRI Bio-info 2007 Cell Cycle Control [Qu et al. 2003]

François Fages MPRI Bio-info 2007 Linear Time Logic with Constraints Constraints over concentrations and derivatives as FOL formulae over the reals: [M] > 0.2 [M]+[P] > [Q] d([M])/dt < 0

François Fages MPRI Bio-info 2007 Linear Time Logic with Constraints Constraints over concentrations and derivatives as FOL formulae over the reals: [M] > 0.2 [M]+[P] > [Q] d([M])/dt < 0 Linear Time Logic LTL operators for time X, F, U, G F([M]>0.2) FG([M]>0.2) F ([M]>2 & F (d([M])/dt 0 & F(d([M])/dt<0)))) oscil(M,n) defined as at least n alternances of sign of the derivative

François Fages MPRI Bio-info 2007 Linear Time Logic with Constraints Constraints over concentrations and derivatives as FOL formulae over the reals: [M] > 0.2 [M]+[P] > [Q] d([M])/dt < 0 Linear Time Logic LTL operators for time X, F, U, G F([M]>0.2) FG([M]>0.2) F ([M]>2 & F (d([M])/dt 0 & F(d([M])/dt<0)))) oscil(M,n) defined as at least n alternances of sign of the derivative Period(A,75)=  t  v F(T = t & [A] = v & d([A])/dt > 0 & X(d([A])/dt < 0) & F(T = t + 75 & [A] = v & d([A])/dt > 0 & X(d([A])/dt < 0)))

François Fages MPRI Bio-info 2007 How to Evaluate a Constraint LTL Formula ? Consider the ODE’s of the concentration semantics dX/dt = f(X)

François Fages MPRI Bio-info 2007 How to Evaluate a Constraint LTL Formula ? Consider the ODE’s of the concentration semantics dX/dt = f(X) Numerical integration methods produce a (clever) discretization of time (adaptive step size Runge-Kutta or Rosenbrock method for stiff syst.)

François Fages MPRI Bio-info 2007 How to Evaluate a Constraint LTL Formula ? Consider the ODE’s of the concentration semantics dX/dt = f(X) Numerical integration methods produce a (clever) discretization of time (adaptive step size Runge-Kutta or Rosenbrock method for stiff syst.) The trace is a linear Kripke structure: (t 0,X 0,dX 0 /dt), (t 1,X 1,dX 1 /dt), …, (t n,X n,dX n /dt). over concentrations and their derivatives at discrete time points Evaluate the formula on that Kripke structure with a model checking alg.

François Fages MPRI Bio-info Simulation based Forward Model Checking Hypothesis 1: the initial state is completely known Hypothesis 2: the formula can be checked over a finite period of time [0,T] 1.Run the numerical integration from 0 to T producing values at a finite sequence of time points 2.Iteratively label the time points with the sub-formulae of  that are true: Add  to the time points where a FOL formula  is true, Add F  (X  ) to the (immediate) previous time points labeled by  Add  U  to the predecessor time points of  while they satisfy  (Add G  to the states satisfying  until T) Model checker and numerical integration methods implemented in Prolog

François Fages MPRI Bio-info Learning Parameters from Temporal Properties biocham: learn_parameter([k3,k4],[(0,200),(0,200)],20, oscil(Cdc2-Cyclin~{p1},3),150).

François Fages MPRI Bio-info 2007 Learning Parameters from Temporal Properties biocham: learn_parameter([k3,k4],[(0,200),(0,200)],20, oscil(Cdc2-Cyclin~{p1},3),150). First values found : parameter(k3,10). parameter(k4,70).

François Fages MPRI Bio-info 2007 Learning Parameters from Temporal Properties biocham: learn_parameter([k3,k4],[(0,200),(0,200)],20, oscil(Cdc2-Cyclin~{p1},3) & F([Cdc2-Cyclin~{p1}]>0.15), 150). First values found : parameter(k3,10). parameter(k4,120).

François Fages MPRI Bio-info 2007 Learning Parameters from LTL Specification biocham: learn_parameter([k3,k4],[(0,200),(0,200)],20, period(Cdc2-Cyclin~{p1},35), 150). First values found: parameter(k3,10). parameter(k4,280).

François Fages MPRI Bio-info Backward Constraint-based Model Checking Reason backward from the set of states satisfying a formula to the set of initial states for which the formula is true. Makes it possible to reason with a partially know initial state. Approximate set of states with constraints: polyhedrons defined by linear constraints.

François Fages MPRI Bio-info 2007 Hybrid (Continuous-Discrete) Dynamics Gene X activates gene Y but above some threshold gene Y inhibits X. 0.1*[X] for _ =[X]=> Y. if [Y]<0.8 then 0.1 for _ => X. 0.2*[X] for X => _. absent(X). absent(Y).

François Fages MPRI Bio-info 2007 Translation to Constraint Logic Programs over Reals Hybrid Differential Equation System: dx/dt = 0.1 – 0.2*x if y < 0.8 dx/dt = – 0.2*x if y ≥ 0.8 dy/dt = 0.1*x (Concurrent) transition system of the trace using Euler’s method: y < 0.8  x’ = x + dt*( *x), y’ = y + dt*0.1*x y ≥ 0.8  x’ = x + dt*( *x), y’ = y + dt*0.1*x Initial condition: x=0, y=0. Translation into a Constraint Logic Program over the reals (dt=1): Init :- X=0, Y=0, p(X,Y). p(X,Y):- X>=0, Y>=0, Y<0.8, X1=X-02*X+01, Y1=Y+0.1*X, p(X1,Y1). p(X,Y):- X>=0, Y>=0, Y>=0.8, X1=X-02*X, Y1=Y+0.1*X, p(X1,Y1).

François Fages MPRI Bio-info 2007 Constraint-based CTL Backward Model Checking Theorem [Delzanno Podelski 99] EF(f)=lfp(T P  {p(x):-f} ), EG(f)=gfp(T P  f ). Safety property AG(  f) iff  EF(f) iff init  lfp(T P  {f} ) Liveness property AG(f1  AF(f2)) iff init  lfp(T P  f1  gfp(T P  {f2} ) ) Deductive Model Checking DMC system [Delzanno 00] Implemented in Sicstus-Prolog CLP(Herbrand,Real,Boolean) Fourier-Motzkin elimination and Simplex algorithm.

François Fages MPRI Bio-info 2007 Constraint-based Backward Reasoning in DMC r(init, p(s_s,A,B), {A=0,B=0}). r(p(s_s,A,B), p(s_s,C,D), {A>=0,B>=0.8,C=A-02*A,D=B+01*A}). r(p(s_s,A,B), p(s_s,C,D), {A>=0,B>=0,B<0.8, C=A-02*A+01,D=B+01*A}). ? prop(P,S). P = unsafe, S = p:s*(x>=0.6) ? ti. Property satisfied. Execution time 0 ? ls. s(0, p(s_s,A,_), {A>=0.6}, 1, (0,0)).

François Fages MPRI Bio-info 2007 Constraint-based Backward Simulation in DMC ? prop(P,S). P = unsafe, S = p:s*(x>=0.2) ? ? ti. Property NOT satisfied. Execution time 1.5 ? ls. s(0, p(s_s,A,_), {A>=0.2}, 1, (0,0)). s(1, p(s_s,A,B), {B =-0,A>= }, 2, (2,1)). … s(26, p(s_s,A,B), {B>=0,A>=0, B *A< }, 27, (2,26)). s(27, init, {}, 28, (1,27)).