theorem :: INTEGR11:44
for A being non empty 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
( 1 + (cos . x) <> 0 & 1 - (cos . x) <> 0 & f . x = 1 / (1 - (cos . x)) ) ) & dom ((- cot) - cosec) = Z & Z = dom f & f | A is continuous holds
integral (f,A) = (((- cot) - cosec) . (upper_bound A)) - (((- cot) - cosec) . (lower_bound A))