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

Quelle  fsq.pvs

  Sprache: PVS
 

fsq[T: TYPE]: THEORY
%------------------------------------------------------------------------
%
% This theory is scaffolding for the "fseqs" finite sequences theory
%
%------------------------------------------------------------------------
BEGIN

  x,y : VAR T

  fsq: TYPE = [# length: nat, seq: [nat -> T] #]

  cnvfsq(fs: fsq): MACRO [nat -> T] = fs`seq;
  CONVERSION cnvfsq;
  CONVERSION- finseq_appl;                   %% turn off prelude finseq conversion

  l(f: fsq): MACRO nat = f`length
  seqn(f: fsq): MACRO [nat -> T]= f`seq


  %% not empty fseqs
  ne_fsq: TYPE = {s: fsq  | length(s) > 0}

  in?(x: T, s: fsq): bool = 
              (EXISTS (ii: below(length(s))): x = seq(s)(ii))


  fsq1(t:T): fsq = (# length := 1,
                      seq := (LAMBDA (n: nat): t) #)

  const_fsq(n: nat,c:T): fsq = (# length := n,
                                  seq := (LAMBDA (n: nat): c) #)


END fsq

Messung V0.5 in Prozent
C=80 H=75 G=77

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

*© 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.