let A be closed-interval Subset of REAL ; for Z being open Subset of REAL
for f being PartFunc of REAL ,REAL st A c= Z & ( for x being Real st x in Z holds
f . x = ((sin . x) - ((cos . x) ^2 )) / ((cos . x) ^2 ) ) & Z c= dom (sec - (id Z)) & Z = dom f & f | A is continuous holds
integral f,A = ((sec - (id Z)) . (sup A)) - ((sec - (id Z)) . (inf A))
let Z be open Subset of REAL ; for f being PartFunc of REAL ,REAL st A c= Z & ( for x being Real st x in Z holds
f . x = ((sin . x) - ((cos . x) ^2 )) / ((cos . x) ^2 ) ) & Z c= dom (sec - (id Z)) & Z = dom f & f | A is continuous holds
integral f,A = ((sec - (id Z)) . (sup A)) - ((sec - (id Z)) . (inf A))
let f be PartFunc of REAL ,REAL ; ( A c= Z & ( for x being Real st x in Z holds
f . x = ((sin . x) - ((cos . x) ^2 )) / ((cos . x) ^2 ) ) & Z c= dom (sec - (id Z)) & Z = dom f & f | A is continuous implies integral f,A = ((sec - (id Z)) . (sup A)) - ((sec - (id Z)) . (inf A)) )
assume that
A1:
A c= Z
and
A2:
for x being Real st x in Z holds
f . x = ((sin . x) - ((cos . x) ^2 )) / ((cos . x) ^2 )
and
A3:
Z c= dom (sec - (id Z))
and
A4:
Z = dom f
and
A5:
f | A is continuous
; integral f,A = ((sec - (id Z)) . (sup A)) - ((sec - (id Z)) . (inf A))
A6:
sec - (id Z) is_differentiable_on Z
by A3, FDIFF_9:22;
A7:
for x being Real st x in dom ((sec - (id Z)) `| Z) holds
((sec - (id Z)) `| Z) . x = f . x
dom ((sec - (id Z)) `| Z) = dom f
by A4, A6, FDIFF_1:def 8;
then A9:
(sec - (id Z)) `| Z = f
by A7, PARTFUN1:34;
( f is_integrable_on A & f | A is bounded )
by A1, A4, A5, INTEGRA5:10, INTEGRA5:11;
hence
integral f,A = ((sec - (id Z)) . (sup A)) - ((sec - (id Z)) . (inf A))
by A1, A3, A9, FDIFF_9:22, INTEGRA5:13; verum