let A be non empty closed_interval Subset of REAL; for Z being open Subset of REAL st A c= Z holds
integral (((- (id Z)) (#) cos),A) = (((- cos) - ((id Z) (#) sin)) . (upper_bound A)) - (((- cos) - ((id Z) (#) sin)) . (lower_bound A))
let Z be open Subset of REAL; ( A c= Z implies integral (((- (id Z)) (#) cos),A) = (((- cos) - ((id Z) (#) sin)) . (upper_bound A)) - (((- cos) - ((id Z) (#) sin)) . (lower_bound A)) )
assume A1:
A c= Z
; integral (((- (id Z)) (#) cos),A) = (((- cos) - ((id Z) (#) sin)) . (upper_bound A)) - (((- cos) - ((id Z) (#) sin)) . (lower_bound A))
A2:
cos is_differentiable_on Z
by FDIFF_1:26, SIN_COS:67;
A3:
(- cos) - ((id Z) (#) sin) is_differentiable_on Z
by Th19;
A4:
for x being Real st x in Z holds
(- (id Z)) . x = ((- 1) * x) + 0
A6:
for x being Real st x in Z holds
((- (id Z)) (#) cos) . x = - (x * (cos . x))
A8:
for x being Real st x in dom (((- cos) - ((id Z) (#) sin)) `| Z) holds
(((- cos) - ((id Z) (#) sin)) `| Z) . x = ((- (id Z)) (#) cos) . x
dom ((- (id Z)) (#) cos) =
(dom (- (id Z))) /\ REAL
by SIN_COS:24, VALUED_1:def 4
.=
dom (- (id Z))
by XBOOLE_1:28
.=
dom (id Z)
by VALUED_1:8
;
then A10:
Z = dom ((- (id Z)) (#) cos)
by RELAT_1:45;
then
dom (((- cos) - ((id Z) (#) sin)) `| Z) = dom ((- (id Z)) (#) cos)
by A3, FDIFF_1:def 7;
then A11:
((- cos) - ((id Z) (#) sin)) `| Z = (- (id Z)) (#) cos
by A8, PARTFUN1:5;
Z = (dom (- (id Z))) /\ (dom cos)
by A10, VALUED_1:def 4;
then
Z c= dom (- (id Z))
by XBOOLE_1:18;
then
- (id Z) is_differentiable_on Z
by A4, FDIFF_1:23;
then A12:
((- (id Z)) (#) cos) | Z is continuous
by A10, A2, FDIFF_1:21, FDIFF_1:25;
then
((- (id Z)) (#) cos) | A is continuous
by A1, FCONT_1:16;
then A13:
(- (id Z)) (#) cos is_integrable_on A
by A1, A10, INTEGRA5:11;
((- (id Z)) (#) cos) | A is bounded
by A1, A10, A12, FCONT_1:16, INTEGRA5:10;
hence
integral (((- (id Z)) (#) cos),A) = (((- cos) - ((id Z) (#) sin)) . (upper_bound A)) - (((- cos) - ((id Z) (#) sin)) . (lower_bound A))
by A1, A13, A11, Th19, INTEGRA5:13; verum