% Maximal, greatest, minimal, least elements on subsets, and their % correlation with least upper and greatest lower bounds. % % Author: Alfons Geser (geser@nianet.org), National Institute of Aerospace % Date: Oct 2004 / Jan 2005
t, r: VAR T
S: VAR set
F: VAR finite_set
NF: VAR non_empty_finite_set[T]
<=, R: VAR pred[[T,T]]
le: VAR (total_order?[T])
ale: VAR (antisymmetric?[T])
tle: VAR (dichotomous?[T])
% ========================================================================== % Maximal/greatest elements % ==========================================================================
% Maximal elements
maximal?(t, S, <=): bool =
S(t) ANDNOT (EXISTS (r: (S)): t <= r AND t /= r) % S(t) AND NOT lower_bound(t, S, irreflexive_kernel(<=))
maximal?(S, <=)(t): MACRO bool = maximal?(t, S, <=)
has_maximal?(S, <=): bool = EXISTS t: maximal?(t, S, <=)
% ========================================================================== % Both greatest and least elements exist % ==========================================================================
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.