• Aucun résultat trouvé

Quantitative Behaviors in Linear Time Logic FO-LTL(Rlin

N/A
N/A
Protected

Academic year: 2022

Partager "Quantitative Behaviors in Linear Time Logic FO-LTL(Rlin"

Copied!
81
0
0

Texte intégral

(1)

Quantitative Behaviors in Linear Time Logic FO-LTL( R lin )

MPRI C2-19

Computational Methods in Systems and Synthetic Biology

Fran¸cois Fages

Inria Saclay, Lifeware team, France

February 9, 2017

(2)

Quantitative Behaviors in Linear Time Logic FO-LTL( R lin )

1

Closed formulae

Syntax and semantics on a trace

Verification algorithm, parameter search by scanning

2

Constraints with variables

Syntax and semantics by validity domains Constraint Solving algorithm for trace analysis

3

Continuous satisfaction degree

Parameter optimization by evolutionary algorithm Robustness measure

F. Fages, P. Traynard. Temporal Logic Modeling of Dynamical Behaviors: First-Order Patterns and Solvers. In Logical Modeling of Biological Systems, pages 291-323. John Wiley Sons, Inc., 2014.

A. Rizk, G. Batt, F. Fages, S. Soliman. Continuous Valuations of Temporal Logic Specifications with applications to Parameter Optimization and Robustness Measures. Theoretical Computer Science, 412(26):28272839, 2011.

F. Fages, A. Rizk. On Temporal Logic Constraint Solving for the Analysis of Numerical Data Time series.

Theoretical Computer Science, 408(1):5565, 2008.

P. Traynard, F. Fages, S. Soliman. Trace Simplifications preserving Temporal Logic Formulae with Case Study in a

(3)

Closed formulae Satisfaction degree Variables Parameter optimization Robustness

Linear Time Logic LTL( R ) over Traces

Trace (experiment or simulation):

State variables: time, concentration [A], derivative d [A]/dt . Atomic propositions: arithmetic expressions over state variables Temporal operators: X, F, G, U, R

Minimum threshold stability: G([A] > 0.2) Reachability of stable state: FG([A] > 0.2)

Local maximum reachability: F(d [A]/dt ≥ 0 ∧ Xd [A]/dt ≤ 0) Oscillations oscil(A,n) if at least n derivative sign changes Curve fitting

F(Time= 1[M] = 0.05F(Time= 2[M] = 0.12[M] = 0.12F(Time= 3[M] = 0.25)))

(4)

Linear Time Logic LTL( R ) over Traces

Trace (experiment or simulation):

State variables: time, concentration [A], derivative d [A]/dt . Atomic propositions: arithmetic expressions over state variables Temporal operators: X, F, G, U, R

Minimum threshold reachability: F([A] > 0.2) Minimum threshold stability: G([A] > 0.2) Reachability of stable state: FG([A] > 0.2)

Local maximum reachability: F(d [A]/dt ≥ 0 ∧ Xd [A]/dt ≤ 0)

Oscillations oscil(A,n) if at least n derivative sign changes

(5)

Closed formulae Satisfaction degree Variables Parameter optimization Robustness

Semantics of LTL( R ) over finite traces

Completion of finite traces with an infinite loop on the last state.

π | = Xφ if π

1

| = φ

π | = Fφ if ∃k ≥ 0 π

k

| = φ π | = Gφ if ∀k ≥ 0 π

k

| = φ

π | = φ U ψ if ∃k ≥ 0 π

k

| = ψ ∧ ∀j < k π

j

| = φ π | = φ R ψ if ∀k ≥ 0 π

k

| = ψ ∨ ∃j < k π

j

| = φ

φ releases ψ if ψ is always true or until φ becomes true Duality: ¬(φ U ψ) = (¬φ R ¬ψ), ¬ F φ = G ¬φ, ¬Xφ = X¬φ, Expressiveness: Gφ = false R φ, Fφ = true U φ,

Negation free formulae: expressed with ∧, ∨, X, F, G, U, R with

negations eliminated down to atomic propositions.

(6)

Closed formulae Satisfaction degree Variables Parameter optimization Robustness

Semantics of LTL( R ) over finite traces

Completion of finite traces with an infinite loop on the last state.

π | = φ for a proposition φ if φ holds in the first state of π π | = Xφ if π

1

| = φ

π | = Fφ if ∃k ≥ 0 π

k

| = φ π | = Gφ if ∀k ≥ 0 π

k

| = φ

π | = φ U ψ if ∃k ≥ 0 π

k

| = ψ ∧ ∀j < k π

j

| = φ π | = φ R ψ if ∀k ≥ 0 π

k

| = ψ ∨ ∃j < k π

j

| = φ

φ releases ψ if ψ is always true or until φ becomes true

Expressiveness: Gφ = false R φ, Fφ = true U φ,

Negation free formulae: expressed with ∧, ∨, X, F, G, U, R with

negations eliminated down to atomic propositions.

(7)

Closed formulae Satisfaction degree Variables Parameter optimization Robustness

Semantics of LTL( R ) over finite traces

Completion of finite traces with an infinite loop on the last state.

π | = φ for a proposition φ if φ holds in the first state of π π | = Xφ if π

1

| = φ

π | = Fφ if ∃k ≥ 0 π

k

| = φ π | = Gφ if ∀k ≥ 0 π

k

| = φ

π | = φ U ψ if ∃k ≥ 0 π

k

| = ψ ∧ ∀j < k π

j

| = φ π | = φ R ψ if ∀k ≥ 0 π

k

| = ψ ∨ ∃j < k π

j

| = φ

φ releases ψ if ψ is always true or until φ becomes true Duality: ¬(φ U ψ) = (¬φ R ¬ψ), ¬ F φ = G ¬φ, ¬Xφ = X¬φ, Expressiveness: Gφ = false R φ, Fφ = true U φ,

negations eliminated down to atomic propositions.

(8)

Semantics of LTL( R ) over finite traces

Completion of finite traces with an infinite loop on the last state.

π | = φ for a proposition φ if φ holds in the first state of π π | = Xφ if π

1

| = φ

π | = Fφ if ∃k ≥ 0 π

k

| = φ π | = Gφ if ∀k ≥ 0 π

k

| = φ

π | = φ U ψ if ∃k ≥ 0 π

k

| = ψ ∧ ∀j < k π

j

| = φ π | = φ R ψ if ∀k ≥ 0 π

k

| = ψ ∨ ∃j < k π

j

| = φ

φ releases ψ if ψ is always true or until φ becomes true Duality: ¬(φ U ψ) = (¬φ R ¬ψ), ¬ F φ = G ¬φ, ¬Xφ = X¬φ, Expressiveness: Gφ = false R φ, Fφ = true U φ,

Negation free formulae: expressed with ∧, ∨, X, F, G, U, R with

(9)

Closed formulae Satisfaction degree Variables Parameter optimization Robustness

LTL( R ) Verification Algorithm

Input: A finite trace π and a LTL(R) formula φ Output: whether or not π | = φ

2

Iteratively label the states with the sub-formulae of φ that are true:

Label the states with the atomic propositions that are true, Add Xφ to the immediate predecessors of states labeled by φ, Add φ U ψ to the predecessors of states labelled by ψ while they satisfy φ,

Add φ R ψ to the last state if it is labelled by ψ, to the states labelled by φ and ψ, and to their predecessors while ψ holds

3

Return true if the initial state is labelled by φ, and false

otherwise

(10)

Closed formulae Satisfaction degree Variables Parameter optimization Robustness

LTL( R ) Verification Algorithm

Input: A finite trace π and a LTL(R) formula φ Output: whether or not π | = φ

1

Complete the trace with a loop on the last state

true:

Label the states with the atomic propositions that are true, Add Xφ to the immediate predecessors of states labeled by φ, Add φ U ψ to the predecessors of states labelled by ψ while they satisfy φ,

Add φ R ψ to the last state if it is labelled by ψ, to the states labelled by φ and ψ, and to their predecessors while ψ holds

3

Return true if the initial state is labelled by φ, and false

otherwise

(11)

Closed formulae Satisfaction degree Variables Parameter optimization Robustness

LTL( R ) Verification Algorithm

Input: A finite trace π and a LTL(R) formula φ Output: whether or not π | = φ

1

Complete the trace with a loop on the last state

2

Iteratively label the states with the sub-formulae of φ that are true:

Label the states with the atomic propositions that are true,

Add φ U ψ to the predecessors of states labelled by ψ while they satisfy φ,

Add φ R ψ to the last state if it is labelled by ψ, to the states labelled by φ and ψ, and to their predecessors while ψ holds

3

Return true if the initial state is labelled by φ, and false

otherwise

(12)

Closed formulae Satisfaction degree Variables Parameter optimization Robustness

LTL( R ) Verification Algorithm

Input: A finite trace π and a LTL(R) formula φ Output: whether or not π | = φ

1

Complete the trace with a loop on the last state

2

Iteratively label the states with the sub-formulae of φ that are true:

Label the states with the atomic propositions that are true, Add Xφ to the immediate predecessors of states labeled by φ,

they satisfy φ,

Add φ R ψ to the last state if it is labelled by ψ, to the states labelled by φ and ψ, and to their predecessors while ψ holds

3

Return true if the initial state is labelled by φ, and false

otherwise

(13)

Closed formulae Satisfaction degree Variables Parameter optimization Robustness

LTL( R ) Verification Algorithm

Input: A finite trace π and a LTL(R) formula φ Output: whether or not π | = φ

1

Complete the trace with a loop on the last state

2

Iteratively label the states with the sub-formulae of φ that are true:

Label the states with the atomic propositions that are true, Add Xφ to the immediate predecessors of states labeled by φ, Add φ U ψ to the predecessors of states labelled by ψ while they satisfy φ,

labelled by φ and ψ, and to their predecessors while ψ holds

3

Return true if the initial state is labelled by φ, and false

otherwise

(14)

Closed formulae Satisfaction degree Variables Parameter optimization Robustness

LTL( R ) Verification Algorithm

Input: A finite trace π and a LTL(R) formula φ Output: whether or not π | = φ

1

Complete the trace with a loop on the last state

2

Iteratively label the states with the sub-formulae of φ that are true:

Label the states with the atomic propositions that are true, Add Xφ to the immediate predecessors of states labeled by φ, Add φ U ψ to the predecessors of states labelled by ψ while they satisfy φ,

Add φ R ψ to the last state if it is labelled by ψ, to the states labelled by φ and ψ, and to their predecessors while ψ holds

otherwise

(15)

LTL( R ) Verification Algorithm

Input: A finite trace π and a LTL(R) formula φ Output: whether or not π | = φ

1

Complete the trace with a loop on the last state

2

Iteratively label the states with the sub-formulae of φ that are true:

Label the states with the atomic propositions that are true, Add Xφ to the immediate predecessors of states labeled by φ, Add φ U ψ to the predecessors of states labelled by ψ while they satisfy φ,

Add φ R ψ to the last state if it is labelled by ψ, to the states labelled by φ and ψ, and to their predecessors while ψ holds

3

Return true if the initial state is labelled by φ, and false

otherwise

(16)

Closed formulae Satisfaction degree Variables Parameter optimization Robustness

Parameter Search by Scanning

input: a reaction systems R(k) with n parameters k given with range [k

i

, k

i

], step size s

i

and an LTL(R) formula φ

output: parameter values v such that π(v ) | = φ where π(v ) is a simulation trace of R(v ) or fail

size s

i

for each parameter k

i

2

Test whether π(v ) | = φ by model checking

3

Return the first value set v which satisfies f Exponential complexity in O(s

1

∗ . . . s

n

)

Continuous optimization procedure ? need a continuous

satisfaction degree (fitness function) for LTL(R) formulae

(17)

Closed formulae Satisfaction degree Variables Parameter optimization Robustness

Parameter Search by Scanning

input: a reaction systems R(k) with n parameters k given with range [k

i

, k

i

], step size s

i

and an LTL(R) formula φ

output: parameter values v such that π(v ) | = φ where π(v ) is a simulation trace of R(v ) or fail

1

Scan the parameter value space Π

n1

[k

i

, k

i

] with a fixed step size s

i

for each parameter k

i

2

Test whether π(v ) | = φ by model checking

3

Return the first value set v which satisfies f

Continuous optimization procedure ? need a continuous

satisfaction degree (fitness function) for LTL(R) formulae

(18)

Closed formulae Satisfaction degree Variables Parameter optimization Robustness

Parameter Search by Scanning

input: a reaction systems R(k) with n parameters k given with range [k

i

, k

i

], step size s

i

and an LTL(R) formula φ

output: parameter values v such that π(v ) | = φ where π(v ) is a simulation trace of R(v ) or fail

1

Scan the parameter value space Π

n1

[k

i

, k

i

] with a fixed step size s

i

for each parameter k

i

2

Test whether π(v ) | = φ by model checking

3

Return the first value set v which satisfies f Exponential complexity in O(s

1

∗ . . . s

n

)

satisfaction degree (fitness function) for LTL(R) formulae

(19)

Parameter Search by Scanning

input: a reaction systems R(k) with n parameters k given with range [k

i

, k

i

], step size s

i

and an LTL(R) formula φ

output: parameter values v such that π(v ) | = φ where π(v ) is a simulation trace of R(v ) or fail

1

Scan the parameter value space Π

n1

[k

i

, k

i

] with a fixed step size s

i

for each parameter k

i

2

Test whether π(v ) | = φ by model checking

3

Return the first value set v which satisfies f Exponential complexity in O(s

1

∗ . . . s

n

)

Continuous optimization procedure ? need a continuous

satisfaction degree (fitness function) for LTL(R) formulae

(20)

Yeast Cell Cycle Control [Tyson 91]

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).

(21)

Learning Oscillations

biocham: search_parameters([k3,k4],[(0,200),(0,200)],20, oscil(Cdc2-Cyclin~{p1},3),150).

First values found : parameter(k3,10).

parameter(k4,70).

(22)

Learning Oscillations

biocham: search_parameters([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).

(23)

Learning Oscillations

biocham: search_parameters([k3,k4],[(0,200),(0,200)],20, period(Cdc2-Cyclin~{p1},35), 150).

First values found:

parameter(k3,10).

parameter(k4,280).

(24)

True/False valuation of temporal logic formulae

The True/False valuation of temporal logic formulae is not well adapted to several problems :

parameter search, optimization and control of continuous models

quantitative estimation of robustness

sensitivity analyses

(25)

True/False valuation of temporal logic formulae

The True/False valuation of temporal logic formulae is not well adapted to several problems :

parameter search, optimization and control of continuous models

quantitative estimation of robustness sensitivity analyses

→ need for a continuous degree of satisfaction of temporal logic formulae

How far is the system from verifying the specification ?

(26)

Model-Checking Generalized to Constraint Solving

QF LT L( R )

Φ*=F([A]≥x F([A]≤y))

Constraint solving

the formula is true for any x≤10 y≥2 Φ=F([A]≥7

F([A]≤0)) Model-checking

the formula is false

LT L( R )

D

φ

(T )

2 10

[A]

time

T

y

φ

x

D

φ

(T )

vd=2 sd=1/3

(27)

Model-Checking Generalized to Constraint Solving

QF LT L( R )

Φ*=F([A]≥x F([A]≤y))

Constraint solving

the formula is true for any x≤10 y≥2 Φ=F([A]≥7

F([A]≤0)) Model-checking

the formula is false

LT L( R )

D

φ

(T )

2 10

[A]

time

T

y

φ

x

D

φ

(T )

vd=2 sd=1/3

(28)

Model-Checking Generalized to Constraint Solving

QF LT L( R )

Φ*=F([A]≥x F([A]≤y))

Constraint solving

the formula is true for any x≤10 y≥2 Φ=F([A]≥7

F([A]≤0)) Model-checking

the formula is false

LT L( R )

D

φ

(T )

2 10

[A]

time

T

y

φ

x

D

φ

(T )

vd=2 sd=1/3

Validity domain D

φ

(T ) of free variables in φ

(29)

Model-Checking Generalized to Constraint Solving

QF LT L( R )

Φ*=F([A]≥x F([A]≤y))

Constraint solving

the formula is true for any x≤10 y≥2 Φ=F([A]≥7

F([A]≤0)) Model-checking

the formula is false

LT L( R )

D

φ

(T )

2 10

[A]

time

T

y

φ

x

D

φ

(T )

vd=2 sd=1/3

Validity domain D

φ

(T ) of free variables in φ

Violation degree vd (T , φ) = distance(val (φ), D (T ))

(30)

Closed formulae Satisfaction degree Variables Parameter optimization Robustness

FO-LTL( R lin ) Constraints with Variables

Free variables x, y, . . .

Linear constraints as atomic propositions Logical quantifiers ∀x ∃y

Temporal operators: X, F, G, U , R

Minimum amplitude a: ∃v F([A] ≤ v) ∧ F([A] ≥ v + a) Crossing at time t: F([A] > [B ] ∧ X([A] ≤ [B] ∧ Time = t)) Timing constraints

G(Time ≤ t1 ⇒ [A] < 1 ∧ Time ≥ t2 ⇒ [A] > 10) ∧ t2 − t1 < 60

Oscillations oscil(A,n) if at least n derivative sign changes

(31)

Closed formulae Satisfaction degree Variables Parameter optimization Robustness

FO-LTL( R lin ) Constraints with Variables

Free variables x, y, . . .

Linear constraints as atomic propositions Logical quantifiers ∀x ∃y

Temporal operators: X, F, G, U , R Minimum value m: G([A] ≥ m)

Minimum amplitude a: ∃v F([A] ≤ v) ∧ F([A] ≥ v + a)

Timing constraints

G(Time ≤ t1 ⇒ [A] < 1 ∧ Time ≥ t2 ⇒ [A] > 10) ∧ t2 − t1 < 60

Oscillations oscil(A,n) if at least n derivative sign changes

(32)

Closed formulae Satisfaction degree Variables Parameter optimization Robustness

FO-LTL( R lin ) Constraints with Variables

Free variables x, y, . . .

Linear constraints as atomic propositions Logical quantifiers ∀x ∃y

Temporal operators: X, F, G, U , R Minimum value m: G([A] ≥ m)

Minimum amplitude a: ∃v F([A] ≤ v) ∧ F([A] ≥ v + a) Crossing at time t: F([A] > [B ] ∧ X([A] ≤ [B] ∧ Time = t)) Timing constraints

G(Time ≤ t1 ⇒ [A] < 1 ∧ Time ≥ t2 ⇒ [A] > 10) ∧ t 2 − t1 < 60

(33)

FO-LTL( R lin ) Constraints with Variables

Free variables x, y, . . .

Linear constraints as atomic propositions Logical quantifiers ∀x ∃y

Temporal operators: X, F, G, U , R Minimum value m: G([A] ≥ m)

Minimum amplitude a: ∃v F([A] ≤ v) ∧ F([A] ≥ v + a) Crossing at time t: F([A] > [B ] ∧ X([A] ≤ [B] ∧ Time = t)) Timing constraints

G(Time ≤ t1 ⇒ [A] < 1 ∧ Time ≥ t2 ⇒ [A] > 10) ∧ t 2 − t1 < 60

Oscillations oscil(A,n) if at least n derivative sign changes

(34)

TD12 Yeast Cell Cycle in FO-LTL(Rlin)

FO-LTL(Rlin) trace analysis

FO-LTL(Rlin) quantitative model-checking sensitivity

robustness

parameter search

(35)

Closed formulae Satisfaction degree Variables Parameter optimization Robustness

Validity Domains of Free Variables

FO-LTL( R

lin

) formula φ(y ) with free variables y

The validity domain of φ(y ) in a trace T is the set of values x for which φ(x ) holds: D

T,φ(y)

= {x ∈ R

v

| T | = φ(x )}

as finite unions of polyhedra polyhedra for conjunctions, union for disjunction,

complementation for negation, projection for ∃

BIOCHAM uses the Parma Polyhedral Library PPL

(36)

Validity Domains of Free Variables

FO-LTL( R

lin

) formula φ(y ) with free variables y

The validity domain of φ(y ) in a trace T is the set of values x for which φ(x ) holds: D

T,φ(y)

= {x ∈ R

v

| T | = φ(x )}

For linear constraints over R , validity domains can be represented as finite unions of polyhedra

polyhedra for conjunctions, union for disjunction,

complementation for negation, projection for ∃

BIOCHAM uses the Parma Polyhedral Library PPL

(37)

Closed formulae Satisfaction degree Variables Parameter optimization Robustness

Inductive Definition of Validity Domains

The validity domain D

(s0,...,sn),φ

of the free variables of φ on a trace T = (s

0

, ..., s

n

) is the vector D

s0

of least domains satisfying

D

si,φ∧ψ

= D

si

∩ D

si

, and D

si,φ∨ψ

= D

si

∪ D

si

, D

si,¬φ

= { D

si

,

D

si,∃xφ

= Π

x

D

si

, and D

si,∀xφ

= D

si,¬∃x¬φ

, D

si,Xφ

= D

si+1

if i < n, and D

sn,Xφ

= D

sn

, D

si,Fφ

= S

n

j=i

D

sj

, and D

si,Gφ

= T

n

j=i

D

sj

, D

siU ψ

= S

n

j=i

(D

sj

∩ T

j−1

k=i

D

sk

).

where { is the set complement operator over domains, and Π

x

is

the domain projection operator out of x, restoring domain R for x .

(38)

Closed formulae Satisfaction degree Variables Parameter optimization Robustness

Inductive Definition of Validity Domains

The validity domain D

(s0,...,sn),φ

of the free variables of φ on a trace T = (s

0

, ..., s

n

) is the vector D

s0

of least domains satisfying D

si,c(x)

= {v ∈ R

k

| s

i

| = c [v /x ]} for a constraint c (x ),

D

si,¬φ

= { D

si

,

D

si,∃xφ

= Π

x

D

si

, and D

si,∀xφ

= D

si,¬∃x¬φ

, D

si,Xφ

= D

si+1

if i < n, and D

sn,Xφ

= D

sn

, D

si,Fφ

= S

n

j=i

D

sj

, and D

si,Gφ

= T

n

j=i

D

sj

, D

siU ψ

= S

n

j=i

(D

sj

∩ T

j−1

k=i

D

sk

).

where { is the set complement operator over domains, and Π

x

is

the domain projection operator out of x, restoring domain R for x .

(39)

Closed formulae Satisfaction degree Variables Parameter optimization Robustness

Inductive Definition of Validity Domains

The validity domain D

(s0,...,sn),φ

of the free variables of φ on a trace T = (s

0

, ..., s

n

) is the vector D

s0

of least domains satisfying D

si,c(x)

= {v ∈ R

k

| s

i

| = c [v /x ]} for a constraint c (x ),

D

si,φ∧ψ

= D

si

∩ D

si

, and D

si,φ∨ψ

= D

si

∪ D

si

,

D

si,∃xφ

= Π

x

D

si

, and D

si,∀xφ

= D

si,¬∃x¬φ

, D

si,Xφ

= D

si+1

if i < n, and D

sn,Xφ

= D

sn

, D

si,Fφ

= S

n

j=i

D

sj

, and D

si,Gφ

= T

n

j=i

D

sj

, D

siU ψ

= S

n

j=i

(D

sj

∩ T

j−1

k=i

D

sk

).

where { is the set complement operator over domains, and Π

x

is

the domain projection operator out of x, restoring domain R for x .

(40)

Closed formulae Satisfaction degree Variables Parameter optimization Robustness

Inductive Definition of Validity Domains

The validity domain D

(s0,...,sn),φ

of the free variables of φ on a trace T = (s

0

, ..., s

n

) is the vector D

s0

of least domains satisfying D

si,c(x)

= {v ∈ R

k

| s

i

| = c [v /x ]} for a constraint c (x ),

D

si,φ∧ψ

= D

si

∩ D

si

, and D

si,φ∨ψ

= D

si

∪ D

si

, D

si,¬φ

= { D

si

,

D

si,Xφ

= D

si+1

if i < n, and D

sn,Xφ

= D

sn

, D

si,Fφ

= S

n

j=i

D

sj

, and D

si,Gφ

= T

n

j=i

D

sj

, D

siU ψ

= S

n

j=i

(D

sj

∩ T

j−1

k=i

D

sk

).

where { is the set complement operator over domains, and

Π

x

is

the domain projection operator out of x, restoring domain R for x .

(41)

Closed formulae Satisfaction degree Variables Parameter optimization Robustness

Inductive Definition of Validity Domains

The validity domain D

(s0,...,sn),φ

of the free variables of φ on a trace T = (s

0

, ..., s

n

) is the vector D

s0

of least domains satisfying D

si,c(x)

= {v ∈ R

k

| s

i

| = c [v /x ]} for a constraint c (x ),

D

si,φ∧ψ

= D

si

∩ D

si

, and D

si,φ∨ψ

= D

si

∪ D

si

, D

si,¬φ

= { D

si

,

D

si,∃xφ

= Π

x

D

si

, and D

si,∀xφ

= D

si,¬∃x¬φ

,

D

si,Fφ

= S

n

j=i

D

sj

, and D

si,Gφ

= T

n

j=i

D

sj

, D

siU ψ

= S

n

j=i

(D

sj

∩ T

j−1

k=i

D

sk

).

where { is the set complement operator over domains, and Π

x

is

(42)

Closed formulae Satisfaction degree Variables Parameter optimization Robustness

Inductive Definition of Validity Domains

The validity domain D

(s0,...,sn),φ

of the free variables of φ on a trace T = (s

0

, ..., s

n

) is the vector D

s0

of least domains satisfying D

si,c(x)

= {v ∈ R

k

| s

i

| = c [v /x ]} for a constraint c (x ),

D

si,φ∧ψ

= D

si

∩ D

si

, and D

si,φ∨ψ

= D

si

∪ D

si

, D

si,¬φ

= { D

si

,

D

si,∃xφ

= Π

x

D

si

, and D

si,∀xφ

= D

si,¬∃x¬φ

, D

si,Xφ

= D

si+1

if i < n, and D

sn,Xφ

= D

sn

,

D

siU ψ

= S

n

j=i

(D

sj

∩ T

j−1

k=i

D

sk

).

where { is the set complement operator over domains, and Π

x

is

(43)

Closed formulae Satisfaction degree Variables Parameter optimization Robustness

Inductive Definition of Validity Domains

The validity domain D

(s0,...,sn),φ

of the free variables of φ on a trace T = (s

0

, ..., s

n

) is the vector D

s0

of least domains satisfying D

si,c(x)

= {v ∈ R

k

| s

i

| = c [v /x ]} for a constraint c (x ),

D

si,φ∧ψ

= D

si

∩ D

si

, and D

si,φ∨ψ

= D

si

∪ D

si

, D

si,¬φ

= { D

si

,

D

si,∃xφ

= Π

x

D

si

, and D

si,∀xφ

= D

si,¬∃x¬φ

, D

si,Xφ

= D

si+1

if i < n, and D

sn,Xφ

= D

sn

, D

si,Fφ

= S

n

j=i

D

sj

, and D

si,Gφ

= T

n

j=i

D

sj

,

j=i k=i

where { is the set complement operator over domains, and Π

x

is

(44)

Inductive Definition of Validity Domains

The validity domain D

(s0,...,sn),φ

of the free variables of φ on a trace T = (s

0

, ..., s

n

) is the vector D

s0

of least domains satisfying D

si,c(x)

= {v ∈ R

k

| s

i

| = c [v /x ]} for a constraint c (x ),

D

si,φ∧ψ

= D

si

∩ D

si

, and D

si,φ∨ψ

= D

si

∪ D

si

, D

si,¬φ

= { D

si

,

D

si,∃xφ

= Π

x

D

si

, and D

si,∀xφ

= D

si,¬∃x¬φ

, D

si,Xφ

= D

si+1

if i < n, and D

sn,Xφ

= D

sn

, D

si,Fφ

= S

n

j=i

D

sj

, and D

si,Gφ

= T

n

j=i

D

sj

, D

siU ψ

= S

n

j=i

(D

sj

∩ T

j−1

k=i

D

sk

).

where { is the set complement operator over domains, and Π

x

is

(45)

FO-LTL( R lin) Constraint Solving Algorithm

(46)

FO-LTL( R lin) Constraint Solving Algorithm

(47)

Closed formulae Satisfaction degree Variables Parameter optimization Robustness

Complexity with Bound Constraints only FO-LTL( R box )

Bound constraints x ≥ b, x ≤ b define boxes R

i

∈ R

v

. Let the size of a union of boxes D be the least k s.t.D = S

k

i=1

R

i

.

The validity domain of an FO-LTL(R

box

) formula of size f on v variables on a trace of length n is a union of boxes of size O((nf )

2v

).

Proof.

One bound constraint produces at most n bounds. We have at most nf bounds, O((nf )

2

) intervals and O ((nf )

2v

) boxes.

Ex. F([A] + 1 = u ∨ · · · ∨ [A] + f = u) can create O(nf ) values for u.

F([A1

] + 1 =

X1∨...∨

[A

1

] +

f

=

X1

)

∧. . .∧F([Av

] + 1 =

Xv∨...∨[Av

] +f =

Xv

)

has a validity domain of O((nf )

v

) points.

(48)

Closed formulae Satisfaction degree Variables Parameter optimization Robustness

Complexity with Bound Constraints only FO-LTL( R box )

Bound constraints x ≥ b, x ≤ b define boxes R

i

∈ R

v

. Let the size of a union of boxes D be the least k s.t.D = S

k

i=1

R

i

. Proposition (complexity of the validity domain)

The validity domain of an FO-LTL(R

box

) formula of size f on v variables on a trace of length n is a union of boxes of size O((nf )

2v

).

One bound constraint produces at most n bounds. We have at most nf bounds, O((nf )

2

) intervals and O ((nf )

2v

) boxes.

Ex. F([A] + 1 = u ∨ · · · ∨ [A] + f = u) can create O(nf ) values for u.

F([A1

] + 1 =

X1∨...∨

[A

1

] +

f

=

X1

)

∧. . .∧F([Av

] + 1 =

Xv∨...∨[Av

] +f =

Xv

)

has a validity domain of O((nf )

v

) points.

(49)

Closed formulae Satisfaction degree Variables Parameter optimization Robustness

Complexity with Bound Constraints only FO-LTL( R box )

Bound constraints x ≥ b, x ≤ b define boxes R

i

∈ R

v

. Let the size of a union of boxes D be the least k s.t.D = S

k

i=1

R

i

. Proposition (complexity of the validity domain)

The validity domain of an FO-LTL(R

box

) formula of size f on v variables on a trace of length n is a union of boxes of size O((nf )

2v

).

Proof.

One bound constraint produces at most n bounds. We have at most nf bounds, O((nf )

2

) intervals and O ((nf )

2v

) boxes.

F([A1

] + 1 =

X1∨...∨

[A

1

] +

f

=

X1

)

∧. . .∧F([Av

] + 1 =

Xv∨...∨[Av

] +f =

Xv

)

has a validity domain of O((nf )

v

) points.

(50)

Closed formulae Satisfaction degree Variables Parameter optimization Robustness

Complexity with Bound Constraints only FO-LTL( R box )

Bound constraints x ≥ b, x ≤ b define boxes R

i

∈ R

v

. Let the size of a union of boxes D be the least k s.t.D = S

k

i=1

R

i

. Proposition (complexity of the validity domain)

The validity domain of an FO-LTL(R

box

) formula of size f on v variables on a trace of length n is a union of boxes of size O((nf )

2v

).

Proof.

One bound constraint produces at most n bounds. We have at most nf bounds, O((nf )

2

) intervals and O ((nf )

2v

) boxes.

Ex. F([A] + 1 = u ∨ · · · ∨ [A] + f = u) can create O(nf ) values for u.

has a validity domain of O((nf )

v

) points.

(51)

Complexity with Bound Constraints only FO-LTL( R box )

Bound constraints x ≥ b, x ≤ b define boxes R

i

∈ R

v

. Let the size of a union of boxes D be the least k s.t.D = S

k

i=1

R

i

. Proposition (complexity of the validity domain)

The validity domain of an FO-LTL(R

box

) formula of size f on v variables on a trace of length n is a union of boxes of size O((nf )

2v

).

Proof.

One bound constraint produces at most n bounds. We have at most nf bounds, O((nf )

2

) intervals and O ((nf )

2v

) boxes.

Ex. F([A] + 1 = u ∨ · · · ∨ [A] + f = u) can create O(nf ) values for u.

F([A1

] + 1 =

X1∨...∨

[A

1

] +

f

=

X1

)

∧. . .∧F([Av

] + 1 =

Xv∨...∨[Av

] +f =

Xv

)

(52)

Yeast Cell Cycle Control [Tyson 91]

d o m a i n s (G ( ( [ MPF]>=v ) & ( [MPF]=<v+a ) ) ) . v + a > = 0 . 8 3 7 5 5 7 , v = < 0 . 0 0 1 6 1 0 7 Time e l a p s e d : 48 ms

d o m a i n s ( maxAmpl ( [ MPF ] , [ a ] ) ) . a > = 0 . 8 3 5 9 4 6

Time e l a p s e d : 0 ms

d o m a i n s ( d i s t a n c e S u c c P e a k s (MPF, d ) ) . d = 2 3 . 3 5 5 5

|

d = 2 3 . 1 1 9 6

|

d = 2 3 . 0 9 3 5

|

d = 2 3 . 1 1 9

(53)

Violation degree of an LTL formula

Violation degree vd(T , φ) and satisfaction degree sd(T , φ) In the variable space of φ

, φ is a single point var(φ).

vd(T , φ) = min

v∈Dφ(T)

d (v , var(φ)) sd(T , φ) =

1+vd1(T,φ)

∈ [0, 1]

[A]

time

(✓) vd=0

= F([A]≥6  F([A]≤5))

φ

a

(x,y)= F([A]≥x   F([A]≤y))

φ

(6,5)

φ

y

x (10,2)

φ

a

φ

b

φ

c

D

φ

(T )

10

2

T

(54)

Violation degree of an LTL formula

Violation degree vd(T , φ) and satisfaction degree sd(T , φ) In the variable space of φ

, φ is a single point var(φ).

vd(T , φ) = min

v∈Dφ(T)

d (v , var(φ)) sd(T , φ) =

1+vd1(T,φ)

∈ [0, 1]

[A]

time

(✓) vd=0

= F([A]≥6  F([A]≤5))

φ

a

(x,y)= F([A]≥x   F([A]≤y))

φ

(6,5)

φ

y

x (10,2)

φ

a

φ

b

φ

c

D

φ

(T )

10

2

T

6 5

(55)

Violation degree of an LTL formula

Violation degree vd(T , φ) and satisfaction degree sd(T , φ) In the variable space of φ

, φ is a single point var(φ).

vd(T , φ) = min

v∈Dφ(T)

d (v , var(φ)) sd(T , φ) =

1+vd1(T,φ)

∈ [0, 1]

[A]

time

(✓) vd=0

= F([A]≥6  F([A]≤5))

φ

a

(x,y)= F([A]≥x   F([A]≤y))

φ

(6,5)

φ

y

x (10,2)

φ

a

φ

b

φ

c

D

φ

(T )

10

2

T

6

0

(56)

Violation degree of an LTL formula

Violation degree vd(T , φ) and satisfaction degree sd(T , φ) In the variable space of φ

, φ is a single point var(φ).

vd(T , φ) = min

v∈Dφ(T)

d (v , var(φ)) sd(T , φ) =

1+vd1(T,φ)

∈ [0, 1]

[A]

time

(✓) vd=0

= F([A]≥6  F([A]≤5))

φ

a

(x,y)= F([A]≥x   F([A]≤y))

φ

(6,5)

φ

y

x (10,2)

φ

a

φ

b

φ

c

D

φ

(T )

10

2

T

12

0

(57)

LTL Continuous Satisfaction Landscape

Example with :

yeast cell cycle model [Tyson PNAS 91]

oscillation of at least 0.3

φ

: F( [A]≥x) ∧ F([A]≤y); amplitude x-y≥0.3

k4

k6 .

Violation degree in parameter space .

. .

.

pApB

pC

Proc.Natl. Acad. Sci. USA 88(1991) 1000r

E 1001

10I

0.1 1.0

k6min1

10

FIG. 2. Qualitativebehavior of thecdc2-cyclin modelofcell- cycleregulation. The control parametersarek4, therate constant describingthe maximumrateofMPFactivation,andk6,therate constantdescribing dissociation oftheactiveMPFcomplex.Regions A andCcorrespondtostable steady-state behavior of the model;

regionBcorrespondsto spontaneouslimit cycle oscillations.Inthe stippled areatheregulatorysystem is excitable.Theboundaries between regions A, B,and C were determinedby integrating the differentialequations inTable 1, for the parameter values in Table 2.

Numericalintegrationwascarriedoutby using Gear's algorithm for solving stiffordinary differentialequations (32).The"developmental path"1... 5is described inthe text.

sok6 abruptly increases 2-fold. Continued cell growth causes k6(t) again todecrease,and the cycle repeats itself. The interplaybetween the controlsystem,cellgrowth,and DNA replication generatesperiodic changesink6(t)andperiodic burstsof MPFactivitywith acycletimeidentical to the mass-doubling time ofthegrowingcell.

Figs.2and 3 demonstratethat,dependingonthevaluesof k4 andk6, the cell cycle regulatorysystem exhibits three

b

0.4a 100

0 20 40 60 80 100 0 20 40 60 80 100

t,min t,min

differentmodes ofcontrol.For small values of k6,thesystem displaysa stablesteadystate ofhighMPFactivity,whichI associate with metaphase arrest of unfertilizedeggs. For moderate Values of k6,thesystem executesautonomous oscillationsreminiscent of rapid cell cycling in earlyem- bryos.Forlargevaluesof k6, the system is attractedto an excitablesteadystateof low MPF activity, whichcorre- spondstointerphasearrestof resting somatic cellsor to growth-controlled bursts ofMPFactivity in proliferating somatic cells.

MidblastulaTraiisiton

A possible developmental scenario is illustrated by the path 1 ... 5inFig.2.Uponfertilization, the metaphase-arrested egg (at point 1)isstimulated to rapid cell divisions (2) byan increaseintheactivity of the enzyme catalyzing step 6 (28).

Duringtheearlyembryoniccellcycles (2-+ 3),theregulatory systemisexecutingautonomousoscillations,and thecontrol parameters,k4and k6, increaseasthenucleargenescoding fortheseenzymes areactivated.Atmidblastula (3),auton- omousoscillationscease,andthe regulatorysystem enters theexcitable domain. Cell divisionnowbecomesgrowth controlled.Ascellsgrow,k6decreases(inhibitor diluted) and/or k4 increases (activator accumulates), which drives the regulatorysystem back into domain B(4 -S5).Thesubse- quent burstofMPFactivity triggers mitosis, causes k6to increase(inhibitor synthesis)and/or k4todecrease(activator degradation), andbrings the regulatorysystemback into the excitable domain (5-*4).

Although there isaclear and abrupt lengthening of inter- division timesatMBT, there isnovisible increase in cell volumeimmediately thereafter (6, 20), so how can we enter- tain the ideathatcelldivision becomes growth controlled afterMBT? Intheparadigm ofgrowth controlofcell division, cell "size" isneverpreciselyspecified, becauseno one knowswhatmolecules, structures,orpropertiesareusedby cells tomonitortheirsize.Thus,eventhough post-MBT cells

C rk6'min-1

0 100 200 300 400 500

t, min

FIG. 3. Dynamical behavior of thecdc2-cyclinmodel. The curves are totalcyclin([YT]=[Y]+[YP] +[pM]+[M])andactive MPF[Ml relativetototal cdc2([CT]=[C2]+[CP]+[pM]+[MI).Thedifferential equationsin Table 1,forthe parameter values in Table2,weresolved numerically by usingafourth-order Adams-Moulton integrationroutine(33)withtimestep=0.001min.(Theadequacy ofthenumerical integrationwascheckedby decreasingthe time step and alsoby comparisontosolutionsgenerated byGear's algorithm.)(a) Limit cycle oscillations fork4=180min-',k6=1min- (pointx inFig. 2).A"limitcycle"solutionofa setof ordinarydifferential equations is aperiodic solution that isasymptoticallystable withrespecttosmallperturbationsinanyof thedynamical variables. (b) Excitable steadystatefork4= 180min1,k6=2min'(point+inFig. 2). Noticethat theordinateis alogarithmic scale.Thesteadystateof lowMPFactivity ([M]/[CT]

=0.0074,[YT]/[CT]=0.566)is stable withrespecttosmallperturbations ofMPFactivity (at1and2)but asufficiently large perturbationof [Ml(at 3)triggersatransient activation of MPF andsubsequent destructionofcyclin.Theregulatory systemthenrecoversto thestable steady 7330 CellBiology: Tyson

Bifurcation diagram LTL satisfaction diagram

57 / 81

(58)

Closed formulae Satisfaction degree Variables Parameter optimization Robustness

Searching kinetic parameter values from LTL specifications

simple model of the yeast cell cycle from [Tyson PNAS 91]

models Cdc2 and Cyclin interactions (6 variables, 8 kinetic parameters)

0 0.1 0.2 0.3 0.4 0.5

0 20 40 60 80 100 120 140

Cdc2 Cdc2~{p1}

Cyclin Cdc2-Cyclin~{p1,p2}

Cdc2-Cyclin~{p1}

Cyclin~{p1}

0 0.1 0.2 0.3 0.4 0.5

0 20 40 60 80 100 120 140

Cdc2 Cdc2~{p1}

Cyclin Cdc2-Cyclin~{p1,p2}

Cdc2-Cyclin~{p1}

Cyclin~{p1}

0.3

p p [MPF]

φ

: F( [A]≥v) ∧ F([A]≤y) amplitude z=x-y

goal : z = 0.3

Solution found after 30s (100 calls to the fitness function)

(59)

Closed formulae Satisfaction degree Variables Parameter optimization Robustness

Searching kinetic parameter values from LTL specifications

simple model of the yeast cell cycle from [Tyson PNAS 91]

models Cdc2 and Cyclin interactions (6 variables, 8 kinetic parameters)

0 0.1 0.2 0.3 0.4 0.5

0 20 40 60 80 100 120 140

Cdc2 Cdc2~{p1}

Cyclin Cdc2-Cyclin~{p1,p2}

Cdc2-Cyclin~{p1}

Cyclin~{p1}

0 0.1 0.2 0.3 0.4 0.5

0 20 40 60 80 100 120 140

Cdc2 Cdc2~{p1}

Cyclin Cdc2-Cyclin~{p1,p2}

Cdc2-Cyclin~{p1}

Cyclin~{p1}

0.3

p p [MPF]

Pb : find values of 8 parameters such that amplitude is ≥ 0.3 φ

: F( [A]≥v) ∧ F([A]≤y)

amplitude z=x-y

goal : z = 0.3

(60)

Searching kinetic parameter values from LTL specifications

simple model of the yeast cell cycle from [Tyson PNAS 91]

models Cdc2 and Cyclin interactions (6 variables, 8 kinetic parameters)

0 0.1 0.2 0.3 0.4 0.5

0 20 40 60 80 100 120 140

Cdc2 Cdc2~{p1}

Cyclin Cdc2-Cyclin~{p1,p2}

Cdc2-Cyclin~{p1}

Cyclin~{p1}

0 0.1 0.2 0.3 0.4 0.5

0 20 40 60 80 100 120 140

Cdc2 Cdc2~{p1}

Cyclin Cdc2-Cyclin~{p1,p2}

Cdc2-Cyclin~{p1}

Cyclin~{p1}

0.3

p p [MPF]

Pb : find values of 8 parameters such that amplitude is ≥ 0.3 φ

: F( [A]≥v) ∧ F([A]≤y)

amplitude z=x-y

goal : z = 0.3

(61)

Closed formulae Satisfaction degree Variables Parameter optimization Robustness

Covariance Matrix Adaptation Evolutionary Strategy

CMA-ES maximizes a black box fitness function (here sd(φ)) in continuous domain (k) [Hansen Osermeier 01, Hansen 08]

evaluation of covariance matrix by sampling (e.g. 50 best of 100 simulations)

move and distribution update according to covariance matrix

(62)

Closed formulae Satisfaction degree Variables Parameter optimization Robustness

Covariance Matrix Adaptation Evolutionary Strategy

CMA-ES maximizes a black box fitness function (here sd(φ)) in continuous domain (k) [Hansen Osermeier 01, Hansen 08]

probabilistic neighborhood: multivariate normal distribution

100 simulations)

move and distribution update according to covariance matrix

Références

Documents relatifs

Recognising the importance of the discussions of the international aspects of mental and social health that will take place at the Inter- national Congress for Mental Health to be

Decision 8: Visits by representatives of Member States to other countries of the Region The Regional Committee made an in-depth study of document AFR/RC32/14 on visits by

We consider the fundamental problem of calibrating an ODE model with respect to a temporal logic specification of the behavior of the system, observed in experiments.. We are

[r]

Namely assume that there is a continuous surjection from one compact metric space X onto another Y ; let A be a continuous function from Y to IR.. If the inverse

As per Article 29 of the Convention and Chapter V of the current Operational Directives, States Parties submit their periodic reports: (i) on the implementation of the Convention at

The Convention provides, in Article 29, that States Parties shall submit to the Committee reports on legislative, regulatory and other measures taken for the implementation of

During the reporting period, the Committee and its Bureau examined a total of 81 items inscribed on their agendas, which were accompanied by 78 working documents