Quellcodebibliothek Statistik Leitseite products/sources/formale Sprachen/PVS/power/   (Beweissystem der NASA Version 6.0.9©)  Datei vom 28.9.2014 mit Größe 1 kB image not shown  

Quelle  rational_props_aux.pvs   Sprache: PVS

 
%------------------------------------------------------------------------------
% Extensions for prelude library: rational_props
%
%     Author: David Lester, Manchester University & NIA
%
%     Version 1.0            19/08/08   Initial version (DRL)
%
% Extensions to standard prelude library "rational_props"
%
% Note to Sam:
%
% It may be that "min" is declared _after_ rational_props, in which
% case this will not work. Otherwise it ought to be fine.
%
%------------------------------------------------------------------------------

rational_props_aux: THEORY

BEGIN

  p: VAR posnat
  r: VAR rat
  i: VAR int

  denominator(r):posnat = min({p | integer_pred(r*p)}) 
  numerator(r):int      = r*denominator(r)

  rational_def:      LEMMA numerator(r)/denominator(r) = r

  denominator_int:   LEMMA denominator(i) = 1
  numerator_int:     LEMMA numerator(i)   = i

  numerator_is_zero: LEMMA numerator(r) = 0 IFF r = 0
  numerator_pos:     LEMMA numerator(r) > 0 IFF r > 0
  numerator_neg:     LEMMA numerator(r) < 0 IFF r < 0

END rational_props_aux

98%


¤ Dauer der Verarbeitung: 0.12 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.