derivatives [T: TYPEFROM real ] : THEORY %----------------------------------------------------------------------------------------- % % The derivatives library has been generalized to handle a larger class of domains. % The following more general domain definition is now used % % deriv_domain : ASSUMPTION FORALL (e: posreal, x:T): % EXISTS (y: {u: nzreal | T_pred(u + x)}): abs(y) < e % % This definition allows unions of closed and open intervals. % See deriv_domain and deriv_domains for more information and useful lemmas. % % See "derivatives_lam" for lambda-expression versions of the lemmas that are especially % suited to rewriting. Note that when you expand a function, the PVS system does not % expand the definition using the real_fun_ops. Instead it exapnds them using % lambda expressions. % %----------------------------------------------------------------------------------------- BEGIN
ASSUMING IMPORTING deriv_domain_def
deriv_domain : ASSUMPTION deriv_domain?[T]
not_one_element : ASSUMPTION not_one_element?[T]
ENDASSUMING
IMPORTING derivatives_def[T]
f, f1, f2, fp : VAR [T -> real]
g : VAR [T -> nzreal]
x : VAR T
u : VAR nzreal
b : VAR real
l, l1, l2 : VAR real
derivable?(f) : bool = FORALL x : derivable?(f, x)
deriv_linear_fun: LEMMAFORALL (m,b: real): LET f = (LAMBDA x: m*x + b) IN
derivable?(f) AND deriv(f) = (LAMBDA x: m)
deriv_exp_fun: AXIOM derivable?(f) AND n > 0IMPLIES
derivable?(f^n) AND
deriv(f^n) = n*f^(n-1)*deriv(f)
deriv_x_n : LEMMA n > 0AND f = (LAMBDA x: x^n) IMPLIES
derivable?(f) AND deriv(f) = (LAMBDA x: n*x^(n-1))
deriv_x_to_n : LEMMAFORALL (n: posnat, a: real): LET f = (LAMBDA x: a*x^n) IN
derivable?(f) AND deriv(f) = (LAMBDA x: a*n*x^(n-1))
END derivatives
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.12Bemerkung:
(vorverarbeitet am 2026-06-15)
¤
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.