let A be closed-interval Subset of REAL ; for Z being open Subset of REAL st A c= Z holds
integral ((- (id Z)) (#) sin ),A = (((- sin ) + ((id Z) (#) cos )) . (upper_bound A)) - (((- sin ) + ((id Z) (#) cos )) . (lower_bound A))
let Z be open Subset of REAL ; ( A c= Z implies integral ((- (id Z)) (#) sin ),A = (((- sin ) + ((id Z) (#) cos )) . (upper_bound A)) - (((- sin ) + ((id Z) (#) cos )) . (lower_bound A)) )
assume A1:
A c= Z
; integral ((- (id Z)) (#) sin ),A = (((- sin ) + ((id Z) (#) cos )) . (upper_bound A)) - (((- sin ) + ((id Z) (#) cos )) . (lower_bound A))
A2:
sin is_differentiable_on Z
by FDIFF_1:34, SIN_COS:73;
A3:
(- sin ) + ((id Z) (#) cos ) is_differentiable_on Z
by Th17;
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)) (#) sin ) . x = - (x * (sin . x))
A8:
for x being Real st x in dom (((- sin ) + ((id Z) (#) cos )) `| Z) holds
(((- sin ) + ((id Z) (#) cos )) `| Z) . x = ((- (id Z)) (#) sin ) . x
dom ((- (id Z)) (#) sin ) =
(dom (- (id Z))) /\ REAL
by SIN_COS:27, VALUED_1:def 4
.=
dom (- (id Z))
by XBOOLE_1:28
.=
dom (id Z)
by VALUED_1:8
;
then A10:
Z = dom ((- (id Z)) (#) sin )
by RELAT_1:71;
then
dom (((- sin ) + ((id Z) (#) cos )) `| Z) = dom ((- (id Z)) (#) sin )
by A3, FDIFF_1:def 8;
then A11:
((- sin ) + ((id Z) (#) cos )) `| Z = (- (id Z)) (#) sin
by A8, PARTFUN1:34;
Z c= (dom (- (id Z))) /\ (dom sin )
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:31;
then A12:
((- (id Z)) (#) sin ) | Z is continuous
by A10, A2, FDIFF_1:29, FDIFF_1:33;
then
((- (id Z)) (#) sin ) | A is continuous
by A1, FCONT_1:17;
then A13:
(- (id Z)) (#) sin is_integrable_on A
by A1, A10, INTEGRA5:11;
((- (id Z)) (#) sin ) | A is bounded
by A1, A10, A12, FCONT_1:17, INTEGRA5:10;
hence
integral ((- (id Z)) (#) sin ),A = (((- sin ) + ((id Z) (#) cos )) . (upper_bound A)) - (((- sin ) + ((id Z) (#) cos )) . (lower_bound A))
by A1, A13, A11, Th17, INTEGRA5:13; verum