Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/PVS/while/   (PVS Prover Version 6.0.9©)  Datei vom 28.9.2014 mit Größe 1 kB image not shown  

Quelle  BExp.pvs

  Sprache: PVS
 

%------------------------------------------------------------------------------
% Boolean Expressions
%
% All references are to HR and F Nielson "Semantics with Applications:
% A Formal Introduction", John Wiley & Sons, 1992. (revised edition
% available: http://www.daimi.au.dk/~hrn )
%
%     Author: David Lester, Manchester University, NIA, Université Perpignan
%
%     Version 1.0            25/12/07  Initial Version
%------------------------------------------------------------------------------

BExp[V:TYPE+]: THEORY

BEGIN

  IMPORTING State[V], AExp[V]

  s:     VAR State

  BExp: DATATYPE  
  BEGIN
    TT               : TT?
    FF               : FF?
    Eq(a1,a2:AExp)   : Eq?
    Le(a1,a2:AExp)   : Le?
    Neg(b:BExp)      : Neg?
    Band(b1,b2:BExp) : Band?
  END BExp

  B(b:BExp) : RECURSIVE [State->bool] =
    LAMBDA s: cases b of
                      TT         : True,
                      FF         : False,
                      Eq(a1,a2)  : A(a1)(s) =  A(a2)(s),
                      Le(a1,a2)  : A(a1)(s) <= A(a2)(s),
                      Neg(b)     : NOT (B(b)(s)),
                      Band(b1,b2): B(b1)(s) AND B(b2)(s)
                    endcases
                    MEASURE b by <<

END BExp

Messung V0.5 in Prozent
C=74 H=80 G=76

¤ Dauer der Verarbeitung: 0.10 Sekunden  (vorverarbeitet am  2026-06-15) ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

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 und die Messung sind noch experimentell.