real_fun_preds [T : TYPEFROM real] : THEORY %----------------------------------------------------------------------% % Defines several predicates over real-valued functions [T -> real] % % % These predicates now follow ? convention. % Old names without ? are included as macros to maintain upwards- % compatibility. % %----------------------------------------------------------------------% BEGIN
f : VAR [T -> real]
x, y : VAR T
a, z : VAR real
E : VAR setof[real]
increasing?(f) : bool = FORALL x, y : x <= y IMPLIES f(x) <= f(y)
decreasing?(f) : bool = FORALL x, y : x <= y IMPLIES f(y) <= f(x)
strict_increasing?(f) : bool = FORALL x, y : x < y IMPLIES f(x) < f(y)
strict_decreasing?(f) : bool = FORALL x, y : x < y IMPLIES f(y) < f(x)
monotonic?(f): bool = increasing?(f) or decreasing?(f)
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.