let A be closed-interval Subset of REAL; for f1, f being PartFunc of REAL,REAL
for Z being open Subset of REAL st A c= Z & ( for x being Real st x in Z holds
( exp_R . x < 1 & f1 . x = 1 ) ) & Z c= dom (arctan * exp_R) & Z = dom f & f = exp_R / (f1 + (exp_R ^2)) holds
integral (f,A) = ((arctan * exp_R) . (upper_bound A)) - ((arctan * exp_R) . (lower_bound A))
let f1, f be PartFunc of REAL,REAL; for Z being open Subset of REAL st A c= Z & ( for x being Real st x in Z holds
( exp_R . x < 1 & f1 . x = 1 ) ) & Z c= dom (arctan * exp_R) & Z = dom f & f = exp_R / (f1 + (exp_R ^2)) holds
integral (f,A) = ((arctan * exp_R) . (upper_bound A)) - ((arctan * exp_R) . (lower_bound A))
let Z be open Subset of REAL; ( A c= Z & ( for x being Real st x in Z holds
( exp_R . x < 1 & f1 . x = 1 ) ) & Z c= dom (arctan * exp_R) & Z = dom f & f = exp_R / (f1 + (exp_R ^2)) implies integral (f,A) = ((arctan * exp_R) . (upper_bound A)) - ((arctan * exp_R) . (lower_bound A)) )
assume A1:
( A c= Z & ( for x being Real st x in Z holds
( exp_R . x < 1 & f1 . x = 1 ) ) & Z c= dom (arctan * exp_R) & Z = dom f & f = exp_R / (f1 + (exp_R ^2)) )
; integral (f,A) = ((arctan * exp_R) . (upper_bound A)) - ((arctan * exp_R) . (lower_bound A))
then
Z c= (dom exp_R) /\ ((dom (f1 + (exp_R ^2))) \ ((f1 + (exp_R ^2)) " {0}))
by RFUNCT_1:def 4;
then
( Z c= dom exp_R & Z c= (dom (f1 + (exp_R ^2))) \ ((f1 + (exp_R ^2)) " {0}) )
by XBOOLE_1:18;
then A5:
Z c= dom ((f1 + (exp_R ^2)) ^)
by RFUNCT_1:def 8;
dom ((f1 + (exp_R ^2)) ^) c= dom (f1 + (exp_R ^2))
by RFUNCT_1:11;
then A6:
Z c= dom (f1 + (exp_R ^2))
by XBOOLE_1:1, A5;
then B1:
Z c= (dom f1) /\ (dom (exp_R ^2))
by VALUED_1:def 1;
then B2:
( Z c= dom f1 & Z c= dom (exp_R ^2) )
by XBOOLE_1:18;
A7:
Z c= dom (exp_R (#) exp_R)
by XBOOLE_1:18, B1;
A8:
exp_R is_differentiable_on Z
by FDIFF_1:34, TAYLOR_1:16;
then A9:
exp_R (#) exp_R is_differentiable_on Z
by A7, FDIFF_1:29;
for x being Real st x in Z holds
f1 . x = (0 * x) + 1
by A1;
then
f1 is_differentiable_on Z
by FDIFF_1:31, B2;
then A13:
f1 + (exp_R ^2) is_differentiable_on Z
by A6, A9, FDIFF_1:26;
for x being Real st x in Z holds
(f1 + (exp_R ^2)) . x <> 0
then
f is_differentiable_on Z
by A1, A8, A13, FDIFF_2:21;
then
f | Z is continuous
by FDIFF_1:33;
then
f | A is continuous
by A1, FCONT_1:17;
then A18:
( f is_integrable_on A & f | A is bounded )
by A1, INTEGRA5:10, INTEGRA5:11;
A19:
for x being Real st x in Z holds
exp_R . x < 1
by A1;
then A20:
arctan * exp_R is_differentiable_on Z
by A1, SIN_COS9:115;
B3:
for x being Real st x in Z holds
f . x = (exp_R . x) / (1 + ((exp_R . x) ^2))
A21:
for x being Real st x in dom ((arctan * exp_R) `| Z) holds
((arctan * exp_R) `| Z) . x = f . x
dom ((arctan * exp_R) `| Z) = dom f
by A1, A20, FDIFF_1:def 8;
then
(arctan * exp_R) `| Z = f
by A21, PARTFUN1:34;
hence
integral (f,A) = ((arctan * exp_R) . (upper_bound A)) - ((arctan * exp_R) . (lower_bound A))
by A1, A18, A20, INTEGRA5:13; verum