step_fun_props[T: TYPE+ FROM real]: THEORY %------------------------------------------------------------------------------ % % Theory and proofs taken from Introduction to Analysis (Maxwell Rosenlicht) % % Author: Rick Butler NASA Langley %------------------------------------------------------------------------------ BEGIN
ASSUMING IMPORTING deriv_domain_def[T]
connected_domain : ASSUMPTION connected?[T]
not_one_element : ASSUMPTION not_one_element?[T]
ENDASSUMING
% AUTO_REWRITE+ not_one_element
% <=(x,y:T): bool = x <= y %% hide ugly restrictions
is_step: LEMMA a < b AND
(EXISTS (P: partition[T](a,b)): %% PROVED %% Let N = length(P), xx = seq(P) IN
(FORALL (ii: below(N-1)): (EXISTS (fv: real):
(FORALL x: xx(ii) < x AND x < xx(ii+1) IMPLIES
f(x) = fv)))) IMPLIES
step_function?(a,b,f)
split_step_is_step: LEMMA a < b AND b < c AND%% PROVED %%
step_function?(a, b, f) AND
step_function?(b, c, g) IMPLIES
step_function?(a, c,
(LAMBDA (x: T): IF x < a OR x > c THEN0 ELSIF x <= b THEN f(x) ELSE g(x) ENDIF))
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.