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))
ssis_prep: LEMMAFORALL (a:T, b: {x:T|a<x}, P1,P2: partition[T](a, b),
nn: below(length(UnionPart(a,b,P1,P2))-1), x,y: T):
(in_sect?(a,b,UnionPart(a,b,P1,P2),nn,x) AND
in_sect?(a,b,UnionPart(a,b,P1,P2),nn,y) ) IMPLIES
(EXISTS (ii: below(length(P1)-1)): in_sect?(a,b,P1,ii,x) AND
in_sect?(a,b,P1,ii,y)) AND (EXISTS (jj: below(length(P2)-1)): in_sect?(a,b,P2,jj,x) AND
in_sect?(a,b,P2,jj,y))
sum_step_is_step: LEMMA a < b AND%% PROVED %%
step_function?(a, b, f) AND
step_function?(a, b, g) IMPLIES
step_function?(a, b, f + g)
diff_step_is_step: LEMMA a < b AND
step_function?(a, b, f) AND%% PROVED %%
step_function?(a, b, g) IMPLIES
step_function?(a, b, f - g)
step_function_subrng: LEMMA a <= b AND b < c AND c <= d AND
step_function?(a, d, f) IMPLIES step_function?(b, c, f)
END step_fun_props
Messung V0.5 in Prozent
¤ 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.0.10Bemerkung:
(vorverarbeitet am 2026-06-14)
¤
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.