products/sources/formale sprachen/PVS/co_structures image not shown  

Quellcode-Bibliothek

© Kompilation durch diese Firma

[Weder Korrektheit noch Funktionsfähigkeit der Software werden zugesichert.]

Datei: Executable_Relation.thy   Sprache: Isabelle

Untersuchung Isabelle©

theory Procs_Dyn_Vars_Dyn imports Procs
begin

subsubsection "Dynamic Scoping of Procedures and Variables"

type_synonym penv = "pname \ com"

inductive
  big_step :: "penv \ com \ state \ state \ bool" ("_ \ _ \ _" [60,0,60] 55)
where
Skip:    "pe \ (SKIP,s) \ s" |
Assign:  "pe \ (x ::= a,s) \ s(x := aval a s)" |
Seq:     "\ pe \ (c\<^sub>1,s\<^sub>1) \ s\<^sub>2; pe \ (c\<^sub>2,s\<^sub>2) \ s\<^sub>3 \ \
          pe \<turnstile> (c\<^sub>1;;c\<^sub>2, s\<^sub>1) \<Rightarrow> s\<^sub>3" |

IfTrue:  "\ bval b s; pe \ (c\<^sub>1,s) \ t \ \
         pe \<turnstile> (IF b THEN c\<^sub>1 ELSE c\<^sub>2, s) \<Rightarrow> t" |
IfFalse: "\ \bval b s; pe \ (c\<^sub>2,s) \ t \ \
         pe \<turnstile> (IF b THEN c\<^sub>1 ELSE c\<^sub>2, s) \<Rightarrow> t" |

WhileFalse: "\bval b s \ pe \ (WHILE b DO c,s) \ s" |
WhileTrue:
  "\ bval b s\<^sub>1; pe \ (c,s\<^sub>1) \ s\<^sub>2; pe \ (WHILE b DO c, s\<^sub>2) \ s\<^sub>3 \ \
   pe \<turnstile> (WHILE b DO c, s\<^sub>1) \<Rightarrow> s\<^sub>3" |

Var: "pe \ (c,s) \ t \ pe \ ({VAR x; c}, s) \ t(x := s x)" |

Call: "pe \ (pe p, s) \ t \ pe \ (CALL p, s) \ t" |

Proc: "pe(p := cp) \ (c,s) \ t \ pe \ ({PROC p = cp; c}, s) \ t"

code_pred big_step .

values "{map t [''x'',''y''] |t. (\p. SKIP) \ (test_com, <>) \ t}"

end

¤ Diese beiden folgenden Angebotsgruppen bietet das Unternehmen0.0Angebot  Wie Sie bei der Firma Beratungs- und Dienstleistungen beauftragen können  ¤





Druckansicht
unsichere Verbindung
Druckansicht
Hier finden Sie eine Liste der Produkte des Unternehmens

Mittel




Lebenszyklus

Die hierunter aufgelisteten Ziele sind für diese Firma wichtig


Ziele

Entwicklung einer Software für die statische Quellcodeanalyse


Bot Zugriff