tau_declaration % [ parameters ]
: THEORY
BEGIN
% ASSUMING
% assuming declarations
% ENDASSUMING
tau_type: TYPE = [ pn: posnat -> {t: nat | 2 * t < pn}]
n: VAR nat
pn: VAR posnat
nada: tau_type = LAMBDA pn: 0
mid: tau_type = LAMBDA pn: floor((pn - 1) / 2)
byz: tau_type = LAMBDA pn: floor(pn/3)
weber(n): tau_type = LAMBDA pn: IF floor(n/2) < pn AND pn <= n THEN pn - 1 - floor(n/2) ELSE 0 ENDIF
END tau_declaration
¤ Dauer der Verarbeitung: 0.4 Sekunden
(vorverarbeitet)
¤
|
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.
|