let A be closed-interval Subset of REAL ; :: thesis: 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 ; :: thesis: ( 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
; :: thesis: integral ((- (id Z)) (#) sin ),A = (((- sin ) + ((id Z) (#) cos )) . (upper_bound A)) - (((- sin ) + ((id Z) (#) cos )) . (lower_bound A))
A2:
Z = dom ((- (id Z)) (#) sin )
Z c= (dom (- (id Z))) /\ (dom sin )
by A2, VALUED_1:def 4;
then B1:
( Z c= dom (- (id Z)) & Z c= dom sin )
by XBOOLE_1:18;
B2:
for x being Real st x in Z holds
(- (id Z)) . x = ((- 1) * x) + 0
then B4:
- (id Z) is_differentiable_on Z
by B1, FDIFF_1:31;
A3:
sin is_differentiable_on Z
by FDIFF_1:34, SIN_COS:73;
((- (id Z)) (#) sin ) | Z is continuous
by A2, B4, A3, FDIFF_1:29, FDIFF_1:33;
then
((- (id Z)) (#) sin ) | A is continuous
by A1, FCONT_1:17;
then A4:
( (- (id Z)) (#) sin is_integrable_on A & ((- (id Z)) (#) sin ) | A is bounded )
by A1, A2, INTEGRA5:10, INTEGRA5:11;
A5:
(- sin ) + ((id Z) (#) cos ) is_differentiable_on Z
by Th17;
B:
for x being Real st x in Z holds
((- (id Z)) (#) sin ) . x = - (x * (sin . x))
A6:
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 (((- sin ) + ((id Z) (#) cos )) `| Z) = dom ((- (id Z)) (#) sin )
by A2, A5, FDIFF_1:def 8;
then
((- sin ) + ((id Z) (#) cos )) `| Z = (- (id Z)) (#) sin
by A6, PARTFUN1:34;
hence
integral ((- (id Z)) (#) sin ),A = (((- sin ) + ((id Z) (#) cos )) . (upper_bound A)) - (((- sin ) + ((id Z) (#) cos )) . (lower_bound A))
by A1, A4, Th17, INTEGRA5:13; :: thesis: verum