sync_example
Propriété pour write :
G((\text{written} \wedge X(\neg \text{written})) \RA X(\neg \text{written}\ U\ \text{read}))

Si on a un written suivi d’un written, je ne peux pas encore written s’il n’y a pas un read.

Propriété pour read :

On peut faire deux lectures consécutives

à faire……..

En LTL

Vision d’un système comme l’ensemble des traces infinies à partir de son état initial.

distrib-boisson

CTL : Computational Tree Logic

Logique incomparable avec LTL, CTL n’est pas meilleur que LTL, juste différent (permet de comparer s’il y a pas de bissimilarité entre deux systèmes)

Syntaxe minimale

\varphi, \Psi ::= P|\neg \varphi|\varphi\wedge\Psi|EX\varphi|AX\varphi|E\varphi U\Psi|A\varphi U\Psi
avec parfois :

Equivalence LTL/CTL

F\varphi = TU\varphi

Opérateur CTL

QT

Sémantique

Rappel x \vDash y = x satisfait y.
Rappel x : y = x tel que y

Système de transitions étiquetées : S = <Q, q_{0}, \text{Act}, \ra, AP, \mathscr{L}>

On raisonne sur les états dans Q soit q\in Q.

Exemple 1

AG_{P}
AGP
En LTL, ça correspond à G_{P}.


EG_{p}EGP
En LTL, il n’y a pas d’équivalent.


EF_{P}
EFP
En LTL, cette propriété est inexplicable : c’est la reachability (inatteignable).

Exemple 2

AF_{P}
AFP
En LTL, c’est F_{P}


AFEG_{P}
AFEGP


Rappel : U = Until

pAU_{q}
PAUQ

Question du partiel de l’année dernière

QCM

partiel

EF : je peux atteindre un état (reachability)

Exemple : Évaluer une formule CTL

\varphi = AG(a \RA ((EX_{c})EUb))
valuation_ctl

C a b c EX_{c} \Psi = (EX)EUb a\RA\Psi
q_{0} \top \bot \bot \top \top \top
q_{1} \bot - - - - \top
q_{2} \bot - - - - \top
q_{3} \bot - - - - \top
q_{4} \top \top \bot \bot \top \top
q_{5} - - - - - -

EX_{c} : il existe un chemin quelque soit satisfait c

S\vDash \overbrace{AG(a \RA \Psi)}^\varphi

Exemples de propriétés