07.11.2013 Views

Une Boite `a Outils Pour la Preuve Formelle de Syst`emes Séquentiels

Une Boite `a Outils Pour la Preuve Formelle de Syst`emes Séquentiels

Une Boite `a Outils Pour la Preuve Formelle de Syst`emes Séquentiels

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

30 CHAPITRE 2.<br />

REPRÉSENTATION DES FORMULES PROPOSITIONNELLES<br />

Si cette expansion est réitérée sur les fonctions f 0 et f 1 , on obtient un arbre binaire, appelé<br />

arbre <strong>de</strong> Shannon, dont les feuilles sont les fonctions constantes 0 et 1.<br />

La syntaxe <strong>de</strong>s arbres <strong>de</strong> Shannon est définie à partir <strong>de</strong>s symboles <strong>de</strong> variable<br />

x 1 ,...,x n , et d’un nouveau symbole △. Voici une syntaxe contenant les arbres <strong>de</strong> Shannon<br />

:<br />

< tree > ::= △(< var >,< tree >,< tree >)<br />

::= 0 | 1<br />

< var > ::= x 1 | ... | x n<br />

L’arbre <strong>de</strong> Shannon d’une formule f est obtenue par l’évaluation du terme Tree(1,f), où<br />

<strong>la</strong> fonction Tree est décrite par :<br />

(1 ≤ k ≤ n) ⇒ (2.2)<br />

Tree(k,f) = △(x k ,Tree(k +1,f[x k ← 0]),Tree(k +1,f[x k ← 1]))<br />

Tree(n+1,0) = 0 (2.3)<br />

Tree(n+1,1) = 1 (2.4)<br />

La règle 2.2 est l’expansion <strong>de</strong> Shannon par rapport à x k . Comme chaque expansion <strong>de</strong><br />

Shannon donne un couple <strong>de</strong> fonctions unique, ce système <strong>de</strong> réécriture est canonique. Par<br />

exemple, l’arbre 2 <strong>de</strong> décomposition <strong>de</strong> <strong>la</strong> formule f = (x 1 ∧(x 3 ⊕x 4 ))∨(x 2 ∧(x 3 ⇔ x 4 ))<br />

est représenté par <strong>la</strong> Figure 1. Mais l’arbre canonique <strong>de</strong> Shannon d’une formule <strong>de</strong> n<br />

variables possè<strong>de</strong> 2 n feuilles et 2 n − 1 structures △( , , ), ce qui ne constitue pas une<br />

bonne représentation.<br />

Figure 1. Arbre <strong>de</strong> Shannon <strong>de</strong> (x 1 ∧(x 3 ⊕x 4 ))∨(x 2 ∧(x 3 ⇔ x 4 )).<br />

2 Cet arbre permet <strong>de</strong> calculer graphiquement <strong>la</strong> valeur <strong>de</strong> f pour toute interprétation i <strong>de</strong> ses variables,<br />

tout comme une table <strong>de</strong> vérité. On <strong>de</strong>scend dans l’arbre en partant <strong>de</strong> sa racine, en choisissant à chaque<br />

noeud △(x k ,L,H) soit <strong>la</strong> branche gauche L si i(x k ) = 0, soit <strong>la</strong> branche droite H si i(x k ) = 1. La valeur<br />

<strong>de</strong> <strong>la</strong> feuille atteinte en fin <strong>de</strong> parcours est <strong>la</strong> valeur i(f) recherchée.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!