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

Quelle  monotone_sequences.pvs   Sprache: PVS

 
% infinite ascending and descending sequences and their subsequences
%
% Author: Alfons Geser (geser@nianet.org), National Institute of Aerospace
% Date: Dec 2004

monotone_sequences[T: TYPE]: THEORY

BEGIN

  IMPORTING closure_ops[T]

  n: VAR nat
  x, y: VAR T
  rel: VAR pred[[T, T]]
  seq: VAR sequence[T]
  lt: VAR (transitive?[T])
  asc: VAR (preserves[nat, nat](<, <))

  % these definitions do not require rel to be a partial order

  ascending?(rel)(seq): bool =
    FORALL n: rel(seq(n), seq(n + 1))

  descending?(rel)(seq): bool =
    FORALL n: rel(seq(n + 1), seq(n))

  reflexive_closure_ascending: LEMMA
    FORALL (seq: (ascending?(rel))): ascending?(reflexive_closure(rel))(seq)

  reflexive_closure_descending: LEMMA
    FORALL (seq: (descending?(rel))): descending?(reflexive_closure(rel))(seq)

  ascending_lem: LEMMA
    FORALL (seq: (ascending?(lt))): preserves(seq, <, lt)

  descending_lem: LEMMA
    FORALL (seq: (descending?(lt))): preserves(seq, <, converse(lt))

  % subsequences
  ascending_subsequence: THEOREM
    FORALL (seq: (ascending?(lt))): ascending?(lt)(seq o asc)

  descending_subsequence: THEOREM
    FORALL (seq: (descending?(lt))): descending?(lt)(seq o asc)

END monotone_sequences

36%


¤ 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.