trig_basic : THEORY %----------------------------------------------------------------------------- % trig_basic: % ----------- % - definition of pi with crude upper and lower bounds % - definition of sin, cos, and tan % - pythagorean properties: sq(sin(a)) + sq(cos(a)) = 1 % - sum and difference of two angles % - double angle formulas % - negative properties, e.g. sin(-a) % - periodicity, e.g. sin(a) = sin(a + 2 * j * pi) % - co-function identities, e.g. sin(pi/2 - a) = cos(a) % - location of zeros of trig functions % % Version 1.1 27/10/03 Axiomatic Version % edited from trig_basic in the "trig_fnd" librart
% GOAL: To reduce the amount of stuff that has to be imported %----------------------------------------------------------------------------- BEGIN
IMPORTING reals@sqrt %, sincos_phase
a,b,c,d : VAR real
nnc : VAR nonneg_real
j : VAR integer
% -------------------- Characterization of zeroes -------------------
sin_eq_0 : AXIOM sin(a) = 0 IFFEXISTS (i: int): a = i * pi
cos_eq_0 : LEMMA cos(a) = 0 IFFEXISTS (i: int): a = i * pi + pi/2
sin_eq_0_2pi : COROLLARY 0 <= a AND a <= 2*pi IMPLIES
(sin(a)=0 IFF a=0 OR a=pi OR a=2*pi)
cos_eq_0_2pi : COROLLARY 0 <= a AND a <= 2*pi IMPLIES
(cos(a)=0 IFF a=pi/2 OR a=3*pi/2)
tan_eq_0 : LEMMAFORALL (a: (Tan?)):
(tan(a) = 0 IFFEXISTS (i: int): a = i * pi)
% ---------------------- Maximum Points -----------------------------
sin_eq_1 : LEMMA sin(a) = 1 IFFEXISTS (i: int): a = 2 * i * pi + pi/2
cos_eq_1 : LEMMA cos(a) = 1 IFFEXISTS (i: int): a = 2 * i * pi
END trig_basic
¤ 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)
¤
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.