let A be non empty closed_interval Subset of REAL; for Z being open Subset of REAL st A c= Z & Z = dom (cos - sin) & (cos - sin) | A is continuous holds
integral ((cos - sin),A) = ((sin + cos) . (upper_bound A)) - ((sin + cos) . (lower_bound A))
let Z be open Subset of REAL; ( A c= Z & Z = dom (cos - sin) & (cos - sin) | A is continuous implies integral ((cos - sin),A) = ((sin + cos) . (upper_bound A)) - ((sin + cos) . (lower_bound A)) )
assume A1:
( A c= Z & Z = dom (cos - sin) & (cos - sin) | A is continuous )
; integral ((cos - sin),A) = ((sin + cos) . (upper_bound A)) - ((sin + cos) . (lower_bound A))
then A2:
( cos - sin is_integrable_on A & (cos - sin) | A is bounded )
by INTEGRA5:10, INTEGRA5:11;
Z = (dom cos) /\ (dom sin)
by A1, VALUED_1:12;
then A3:
Z c= dom (sin + cos)
by VALUED_1:def 1;
then A4:
sin + cos is_differentiable_on Z
by FDIFF_7:38;
A5:
for x being Element of REAL st x in dom ((sin + cos) `| Z) holds
((sin + cos) `| Z) . x = (cos - sin) . x
dom ((sin + cos) `| Z) = dom (cos - sin)
by A1, A4, FDIFF_1:def 7;
then
(sin + cos) `| Z = cos - sin
by A5, PARTFUN1:5;
hence
integral ((cos - sin),A) = ((sin + cos) . (upper_bound A)) - ((sin + cos) . (lower_bound A))
by A1, A2, A3, FDIFF_7:38, INTEGRA5:13; verum