Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/PVS/structures/   (Beweissystem der NASA Version 6.0.9©)  Datei vom 28.9.2014 mit Größe 837 B image not shown  

SSL runs.pvs   Sprache: PVS

 
% Taken from Vlad Rusu, Verifying a Sliding Window Protocol using PVS. FORTE 2001: 251-268.
runs[State      : TYPE
     initial    : PRED[State], 
     transition : PRED[[State, State]]] : THEORY

BEGIN

  % Runs are infinite sequences of transition-related states,  
  % starting in an initial state

  run_fragment: pred[sequence[State]] =  
    {r : sequence[State] | FORALL (n : nat): transition(r(n),r(n+1))}

  run : pred[(run_fragment)] =  {r : (run_fragment) | initial(r(0))}

  r: VAR (run)
  p :VAR pred[[State]]  
  % The first parameter is the current state
  % The second parameter is the initial state

  invariant(p) : bool = FORALL (r : (run), n:nat ): p(r(n))

  invariant_rule : THEOREM
    (FORALL (r : (run)) : p(r(0)) AND 
      FORALL (n : nat) : p(r(n)) IMPLIES p(r(n+1)))
     IMPLIES invariant(p)

END runs



43%


¤ Dauer der Verarbeitung: 0.11 Sekunden  (vorverarbeitet)  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

Beweissystem der NASA

Beweissystem Isabelle

NIST Cobol Testsuite

Cephes Mathematical Library

Wiener Entwicklungsmethode

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung ist noch experimentell.