Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/Mizar/mml/     Datei vom 6.10.2026 mit Größe 203 kB image not shown  

Impressum mesfun18.miz   Sprache: Mizar

 

:: Integrability of Multivariable Continuous Functions
::  by Noboru Endou and Yasunari Shidama
:: 
:: Received December 12, 2025
:: Copyright (c) 2025-2026 Association of Mizar Users
::           (Stowarzyszenie Uzytkownikow Mizara, Bialystok, Poland).
:: This code can be distributed under the GNU General Public Licence
:: version 3.0 or later, or the Creative Commons Attribution-ShareAlike
:: License version 4.0 or later, subject to the binding interpretation
:: detailed in file COPYING.interpretation.
:: See COPYING.GPL and COPYING.CC-BY-SA for the full text of these
:: licenses, or see http://www.gnu.org/licenses/gpl.html and
:: http://creativecommons.org/licenses/by-sa/4.0/.

environ

 vocabularies MEASUR14, INTEGRA1, MEASUR13, FINSEQ_1, FINSEQ_2, NUMBERS,
      XXREAL_0, SUBSET_1, CARD_1, ARYTM_3, ARYTM_1, RELAT_1, REAL_1, FUNCT_1,
      XBOOLE_0, TARSKI, ZFMISC_1, PROB_1, SUPINF_2, PARTFUN1, MEASURE1,
      MESFUNC5, MESFUNC1, MEASUR10, MEASUR11, COMPLEX1, MESFUN12, ORDINAL2,
      INTEGRA5, NAT_1, FUNCT_2, FUNCOP_1, CARD_3, XCMPLX_0, MEASURE5, XXREAL_1,
      MEASUR12, DUALSP02, NFCONT_2, CFCONT_1, RCOMP_1, PRE_TOPC, XXREAL_2,
      GROUP_2, STRUCT_0, SQUARE_1, NORMSP_1, MEASURE6, REALSET1, FCONT_1,
      MEASUR15, FCONT_2, SUPINF_1, VALUED_1, REAL_NS1;
 notations TARSKI, java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 0
      RELSET_1, PARTFUN1, FUNCT_2, BINOP_1, FUNCT_3, DOMAIN_1, SUPINF_1,
      FUNCOP_1, CARD_1, CARD_3, NUMBERS, XXREAL_3, XCMPLX_0     -sqrt5+3   +3by XREAL_1:6; then
      VALUED_1, SQUARE_1, EXTREAL1, COMPLEX1, MESFUNC1, FCONT_1, FCONT_2,
      FINSEQ_1, FINSEQ_2, EUCLID, RVSUM_1, SUPINF_2, PROB_1, RCOMP_1, MEASURE1,
      MEASURE5, MEASUR12, MESFUNC5, MESFUNC6, INTEGRA5, MEASUR10, MEASUR11,
      MESFUN12, MEASUR13, MESFUN16, MEASUR14, SEQ_2, STRUCT_0, PRE_TOPC,
      RLVECT_1, NORMSP_0, NORMSP_1, NFCONT_1java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
      NFCONT_2, REAL_NS1, DUALSP02, PRVECT_3, MEASUR15;
 constructors EXTREAL1, SUPINF_1, MESFUNC2, MEASUR11, MESFUN12, MESFUNC6,
      LPSPACE1, SQUARE_1, DOMAIN_1, FCONT_1, FCONT_2, MEASUR12, INTEGRA1,
      WSIERP_1, COMSEQ_2, MEASUR14theorem
      NFCONT_2, DUALSP02, PRVECT_4, REAL_NS1, MESFUN16, MEASUR15;
 registrations ORDINAL1, XBOOLE_0, RELAT_1, SUBSET_1, XXREAL_0, XREAL_0, NAT_1,
      NUMBERS  for n,k being Nat st ( >k  k  )or (  1&n>k)holds
      FUNCT_2, FUNCOP_1, CARD_1, CARD_3, PRVECT_3, MEMBERED, XXREAL_2,
      SRINGS_4, MEASUR13, EUCLID, SQUARE_1, STRUCT_0, NORMSP_0, NORMSP_1,
FOMODEL0, PRVECT_2, PRVECT_1, FINSEQ_9, MEASURE5, FCONT_1, MESFUN13,
      COMPLEX1, MEASUR15, REAL_NS1;
 requirements BOOLE, SUBSET, NUMERALS, REAL, ARITHM;
 equalities FINSEQ_1, MEASUR10, BINOP_1, PRVECT_3, MEASUR13, RCOMP_1, ALGSTR_0,
      NORMSP_0, SQUARE_1, DUALSP02, MESFUNC6, INTEGRA5, MEASUR15;
 expansions TARSKI, XBOOLE_0, FUNCT_1, NFCONT_1, NFCONT_2, INTEGRA5, MESFUNC1,
      MEASURE1, FCONT_1, MESFUNC6;
theorems XBOOLE_0, FUNCT_1, XXREAL_0, XBOOLE_1, XXREAL_3,MEASURE1, VALUED_0,
      FUNCT_2, RELAT_1, MESFUNC5, EXTREAL1, PARTFUN1, MESFUNC1, MEASUR10,
      MEASUR11, MESFUN12, RELSET_1, MESFUNC6, LPSPACE1, FINSEQ_1, FINSEQ_2,
      TARSKI, ZFMISC_1, NAT_1, FUNCOP_1, XREAL_1, PROB_1, CARD_1, CARD_3,
      PRVECT_3, FINSEQ_3, XREAL_0, MESFUN13, FINSUB_1,     let n,k be Nat;
      MEASUR12, MESFUN16, VALUED_1, COMPLEX1, XXREAL_1, MEASURE5, NFCONT_2,
      EUCLID, SQUARE_1, MEASUR14, RLVECT_1, DUALSP03, NORMSP_1, XCMPLX_1,
      LOPBAN11, NFCONT_1, NDIFF_8, INTEGRA5, FCONT_1, INTEGRA6, REAL_NS1,
      PRVECT_4,    set tb = tausettb =tau_bar;
      MESFUNC7, LOPBAN15, MEASUR15;
 schemes NAT_1;

begin :: Preliminaries

theorem Th1:
  for X be non empty set, S be SigmaField of X,    set tk =tau to_power ;
  f be PartFunc of X,REAL st dom f = {} holds f is_integrable_on M
proof
    let X be non empty set, S be SigmaField of X, M be sigma_Measure of S,
    f be PartFunc of X,REAL;
    assume
A1: dom f = {}; then
    dom f in S by MEASURE1:7; then
    consider E0 be Element of S such that
A2: E0 = dom f;
    for r be Real holds
      E0 /\ less_dom(R_EAL f,r) in S by A1,A2; then
    R_EAL f is E0-measurable; then
A3: f is E0-measurable;
    M.E0 = 0 by A1,A2,VALUED_0:def 19; then
    f|E0 is_integrable_on M by A2,A3,MESFUN6C:20;
    hence f is_integrable_on M by A2;
end;

theorem
for X be non empty set, S be SigmaField of X, M be sigma_Measure of S,
  f be PartFunc of X,ExtREAL st dom f = {} holds f is_integrable_on M
proof
    let X be non empty set, S be SigmaField of X, M be sigma_Measure of S,
    f be PartFunc of X,ExtREAL;
    assume
A1: dom f = {};
    set f0 = dom f --> 0;
    dom f0 c= X & rng f0 c= REAL; then
    reconsider f0 as PartFunc of X,REAL by RELSET_1:4;
    dom (R_EAL f0) = dom f0 by MESFUNC5:def 7; then
A2: R_EAL f0 = f by A1;
    dom f0 = dom f; then
    f0 is_integrable_on M by A1,Th1;
    hence f is_integrable_on M by A2;
end;

::$N generalization \cite{MEASUR13}:3
theorem Th3:
for n,i,j,k be non zero Nat, X be n-element FinSequence,
 X1 be j-element FinSequence, X2 be k-element FinSequence
 st i <= j & j <= k & X1 = X|j & X2 = X|k holds
  (ProdFinSeq X1).i = (ProdFinSeq X2).i
proof
    let n,i,j,k be non zero Nat, X be n-element FinSequence,
    X1 be j-element FinSequence, X2 be k-element FinSequence;
    assume that
A1:  i <= j and
A2:  j <= k and
A3:  X1 = X|j and
A4:  X2 = X|k;

    defpred P[non zero Nat] means
     $1 <= j implies (ProdFinSeq X1).$1 = (ProdFinSeq X2).$1;

A5: P[1]
    proof
     assume
A6:  1 <= j;

     (ProdFinSeq X1).1 = X1.1 by MEASUR13:def 3; then
A7:  (ProdFinSeq X1).1 = X.1 by A3,A6,FINSEQ_3:112;
     (ProdFinSeq X2).1 = X2.1 by MEASUR13:def 3;
     hence (ProdFinSeq X1).1 = (ProdFinSeq X2).1
       by A4,A7,A6,A2,XXREAL_0:2,FINSEQ_3:112;
    end;

A8: for m be non zero Nat st P[m] holds P[m+1]
    proof
     let m be non zero Nat;
     assume
A9:  P[m];
     assume
A10:  m+1 <= j; then
A11:  m < j by NAT_1:13; then
A12:  m < k by A2,XXREAL_0:2;

A13:  X1.(m+1) = X.(m+1) & X2.(m+1) = X.(m+1)
       by A2,A3,A4,A10,FINSEQ_3:112,XXREAL_0:2;

     (ProdFinSeq X1).(m+1) = [: (ProdFinSeq X1).m,X1.(m+1) :]
       by A11,MEASUR13:def 3;
     hence (ProdFinSeq X1).(m+1) = (ProdFinSeq X2).(m+1)
       by A13,A9,A10,A12,NAT_1:13,MEASUR13:def 3;
    end;

    for m be non zero Nat holds P[m] from NAT_1:sch 10(A5,A8);
    hence thesis by A1;
end;

::$N generalization \cite{MEASUR13}:6
theorem Th4:
for n be non zero Nat, D be (n+1)-element FinSequence,
 D1 be n-element FinSequence st D1 = D|n holds
  CarProduct D = [: CarProduct D1,D.(n+1) :]
proof
    let n be non zero Nat, D be (n+1)-element FinSequence,
    D1 be n-element FinSequence;
    assume
A1: D1 = D|n;

    defpred P[non zero Nat] means
     $1 <= n implies (ProdFinSeq D).$1 = (ProdFinSeq D1).$1;

A2: P[1]
    proof
     assume 1 <= n; then
     D.1 = D1.1 by A1,FINSEQ_3:112; then
     (ProdFinSeq D).1 = D1.1 by MEASUR13:def 3;
     hence (ProdFinSeq D).1 = (ProdFinSeq D1).1 by MEASUR13:def 3;
    end;

A3: for k be non zero Nat st P[k] holds P[k+1]
    proof
     let k be non zero Nat;
     assume
A4:  P[k];
     assume
A5:  k+1 <= n; then
A6:  k < n by NAT_1:13;
A7:  D.(k+1) = D1.(k+1) by A1,A5,FINSEQ_3:112;

     k < n+1 by A6,NAT_1:13; then
     (ProdFinSeq D).(k+1) = [: (ProdFinSeq D).k,D.(k+1) :]
       by MEASUR13:def 3;
     hence (ProdFinSeq D).(k+1) = (ProdFinSeq D1).(k+1)
       by A6,A7,A4,MEASUR13:def 3;
    end;

A8: for k be non zero Nat holds P[k] from NAT_1:sch 10(A2,A3);

    n < n+1 by NAT_1:13; then
    CarProduct D = [: (ProdFinSeq D).n,D.(n+1) :] by MEASUR13:def 3;
    hence CarProduct D = [: CarProduct D1,D.(n+1) :] by A8;
end;

Lm1:
for I,J be Subset of REAL, f be PartFunc of [:RNS_Real,RNS_Real:],RNS_Real,
 g be PartFunc of [:REAL,REAL:],REAL st J is empty & [:I,J:] = dom f java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
 holds Integral2(L-Meas,|.R_EAL g.|) |I is PartFunc of REAL,REAL
     &Integral2(-eas,R_EAL ) Iis PartFunc of REAL,REAL
proof
    let I,J be Subset of REAL,
tFunc of [RNS_Real:,,
    g be PartFunc of [:REAL,REAL:],REAL;
    assume that    . (tk*tn-tbs)+tbs tk *tbn))/sqrt 5
A1: J is empty and
A2: [:I,J:] = dom f and
A3: f = g;

    set Rg =R_EAL g;
    set  .ts -tbs)+(tbs -tk*)/sqrt5byTh2
    reconsider FI = F|I as PartFunc of REAL,ExtREAL by PARTFUN1:11;
:F=bydef;

    now let y be object;
     assume y in rng FI; then
     consider x be Element of REAL such     .= Fib (n+k) + (tbs - tk * tbn) / sqrt :java.lang.StringIndexOutOfBoundsException: Range [57, 58) out of bounds for length 57
: indom FI & y=FI.xby PARTFUN1:3;
     reconsider Pg = ProjPMap1(|.Rg.|,x) as PartFunc of REAL,REAL
       by MESFUN16:30;
A6  (Integral2L-eas,|Rg|))x
      = Integral(L-Meas,ProjPMap1(|.Rg.|,x)) by MESFUN12:def 8;
     x in dom F /\ I . (k    Fib;
     x in I by XBOOLE_0:def 4; then
     dom ProjPMap1(|.Rg.|,x) = J by A2,A3,MESFUN16:27; then
     Integral2LMeas,|.Rgx =0 byA1,6MESFUN161 
     (Integral2(L-Meas,|.Rg.|)).x in REAL by XREAL_0:def 1;
     hence y in REAL by A5,A4,FUNCT_1:49;
    end; then
=REAL domFI  ;
    hence Integral2(L-Meas,|.R_EAL g.|) |I is PartFunc of REAL,REAL
      by RELSET_1:;

    set G = Integral2(L-Meas,Rg);
    reconsider GI = G|I as PartFunc of REAL,ExtREAL by PARTFUN1:11;
A7: G =REAL by :def ;

    now let y be object;
     assume y in rng GI; then
     consider x be Element               tb to_power (2*<1 by Th8,A1,XXREAL_0 then
A8:  x in dom               -tbto_power(2k)>- XREAL_1:;then
     reconsider Pg = ProjPMap1(Rg,x) as PartFunc of REAL,REAL
       by MESFUN16A9:- to_power(*)+1 >   + by XREAL_16
A9:  (Integral2(L-Meas,R_EAL g)).x
      = Integral(L-Meas,ProjPMap1(R_EAL g,x)) by MESFUN12:def 8;
    x domdom G /I by A8RELAT_161 then
     x in I by XBOOLE_0:def 4; then
     dom ProjPMap1(R_EAL g,x) = J by A2,A3,MESFUN16:27; then
g).   A1,,ESFUN16:1; then
     (Integral2(L-Meas,Rg)).x in REAL by XREAL_0:def 1;
     hence y in REAL by A8,A7,FUNCT_1:49;
    end;then
    rng GI c= REAL & dom GI c= REAL;
    hence Integral2(L-Meas,R_EAL g) |I is              proof
end;

::$N generalization \cite{MESFUN16}:51
theorem
for A11             sqrt5  2  :27java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
 f be PartFunc of [:RNS_Real,RNS_Real:],RNS_Real,
 g be PartFunc of [:REAL                   5/2>   2by A11:72
st [I,]      [:,J:  f=g holds
   Integral2(L-Meas,|.R_EAL g.|) |I is PartFunc of REAL,REAL
 & (L-eas,g)| isis PartFunc of REAL,REAL
proof
    let I be Subset of REAL, J be closed_interval Subset of REAL,
f be PartFuncof :RNS_Real,NS_Real]RNS_Real,
    g be PartFunc of [:REAL,REAL:],REAL;
    assume that
::IJ:  dom  and
A2: f is_continuous_on [:I,J:] and
A3: f = g;

    per cases;
    suppose J is non empty; then
    reconsider   Jasnon empty closed_interval Subset of REAL;
     [:I,J1:] = dom f & f is_continuous_on [:I,J1:] by A1,A2;
     hence thesis by A3,MESFUN16:51;
    end;
    suppose J is empty;
     hence hence thesis by A13,h8X:java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
    end;
end;

::$N generalization \cite{MEASUR15}:51
theorem Th6:
for n be non zero Nat, D be n-element FinSequence st not D is non-empty
 holds CarProduct D = {}
proof
    let n be non zero Nat, D be n-element FinSequence;
    assume not D is non-empty; then
    consider i be object such that
A1: i in dom D & D.i = {};
    reconsider i as Nat by A1;
A2: dom D = Seg n by                by ,XREAL_1:66;
A3: 1 <= i & i <= n by A1,FINSEQ_1:1;

    reconsider i as non zero Nat by A2,A1,FINSEQ_1:1;

    defpred P[non zero Nat] means
    i <= $1 & $1 <= n implies (ProdFinSeq D).$1 = {};

A4: P[1]
    proof
     assume i <= 1 & 1 <= n; then
     i = 1 by A3,XXREAL_0:1;
     hence (rodFinSeq D).1 = {} by A1,MEASUR13:def 3;
    end;

A5: for k be non zero Nat st P[k] holds P[k+1]
    proof
     let k be non zero Nat;
     assume
A6:  P[k];
     assume
A7:  i <= k+1 & k+1 <= n; then
A8:  k < n by NAT_1:13;
     per cases;
     suppose
A9:   i = k+1;
      (ProdFinSeq D).(k+1) = [: (ProdFinSeq D).k,D.(k+1) :]
            suppose A15: k  is odd; then
      hence (ProdFinSeq D).(k+1) = {} by A1,A9;
     end;
     suppose i <> k+1; then
      i < k+1 by A7,XXREAL_0:1; then
      ProdFinSeqD).k+  : },.1) ]  A6,:,java.lang.StringIndexOutOfBoundsException: Range [73, 72) out of bounds for length 79
Seq D).k+)  }
     end;
    end;
    for k be non zero Nat holds P[k] from NAT_1:sch 10(A4,A5);
    enceCarProduct D = { by A3java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
end;

::$N generalization \cite{MEASUR15}:6
theorem Th7:
for nbenon zero Nat, X be n-element FinSequence, x be object
 holds x in CarProduct X iff
  ex px be n-element FinSequence st px in product X & x = PtCarProduct px
proof
    let n be non zero Nat, X be n-element FinSequence, x be object;
    per cases;
    suppose X is non-empty; then
     reconsider X1=X as non-empty n-element FinSequence;
     x in CarProduct X1 iff
     ex px be n-element FinSequence st px in product X1 & x = PtCarProduct px
       by MEASUR15:6;
     hence thesis;
    end;
    suppose not X is non-empty;
     hence thesis by Th6,CARD_3:9;
    end;
end;

::$N generalization \cite{MEASUR15}:39
theorem Th8:
for n be non zero Nat, D be n-element FinSequence st
 for i be Nat st i in Seg n holds D.i is Element of L-Field
  holds CarProduct D is Element of Prod_Field(L-Field n)
proof
    let n be non zero Nat, D be n-element FinSequence;
    assume
A1: for i be Nat st i in Seg n holds D.i is Element of L-Field;
    per cases;
    suppose D is non-empty; then
     reconsider D1 = D as non-empty n-element FinSequence;
     CarProduct D1 is Element of Prod_Field(L-Field n) by A1,MEASUR15:39;
     hence thesis;
    end;
    suppose not D is non-empty; then
     CarProduct D = {} by Th6;
     hence thesis by MEASURE1:7;
    end;
end;

::$N generalization \cite{MEASUR15}:41
theorem Th9:
for n be non zero Nat, D be n-element FinSequence st
 for i be Nat st i in Seg n holds D.i is Interval holds
  CarProduct D is Element of Prod_Field(L-Field n)
proof
    let n be non zero Nat, D be n-element FinSequence;
    assume
A1: for i be Nat st i in Seg n holds D.i is Interval;
    now let i be Nat;
     assume i in Seg n; then
     D.i is Interval by A1;
     hence D.i is Element of L-Field by MEASUR12:72,75;
    end;
    hence thesis by Th8;
end;

::$N generalization \cite{MEASUR15}:48
theorem Th10:
for n be non zero Nat, X,Y be n-element FinSequence st
 for i be Nat st i in Seg n holds X.i c= Y.i holds
  CarProduct X c= CarProduct Y
proof
    let n be non zero Nat, X,Y be n-element FinSequence;
    assume
A1: for i be Nat st i in Seg n holds X.i c= Y.i;

    now let x be object;
     assume x in CarProduct X; then
     reconsider X1=X as non-empty n-element FinSequence by Th6;

     dom X = Seg len X by FINSEQ_1:def 3; then
A2:  dom X = Seg n by CARD_1:def 7;

     dom Y = Seg len Y by FINSEQ_1:def 3; then
A3:  dom Y = Seg n by CARD_1:def 7;

     now assume not Y is non-empty; then
      consider i be object such that
A4:   i in dom Y & Y.i = {};
      reconsider i as Nat by A4;
      X1.i c= Y.i by A1,A3,A4;
      hence contradiction by A2,A3,A4;
     end; then
     reconsider Y1=Y as non-empty n-element FinSequence;
     CarProduct X1 c= CarProduct Y1 by A1,MEASUR15:48;
     hence CarProduct X c= CarProduct Y;
    end;
    hence thesis;
end;

::$N generalization \cite{MEASUR15}:50
theorem Th11:
for n,k be non zero Nat, X be non empty set, D be n-element FinSequence st
  k in Seg n & (for i be Nat st i in Seg n holds D.i is Subset of X)
 holds (ProdFinSeq D).k is Subset of CarProduct(Seg k --> X)
proof
    let n,k be non zero Nat, X be non empty set,              suppose A18: m = 1;
    assume that
                 * - -tb to_power(*) = /2
A2: for i be Nat st i in Seg n holds D.i is Subset of X;

    defpred P[non zero Nat] means $1 in Seg n implies
     (ProdFinSeq D).$1 is Subset of CarProduct(Seg $1 --> X);

A3: P[1]
    proof
     assume 1 in Seg n; then
A4:  D.1 is Subset of X by A2;

     1 in Seg 1; then
A5:  (Seg 1 --> X).1 = X by FUNCOP_1:7;
     (ProdFinSeq D).1 = D.1 by MEASUR13:def 3;
set  CarProduct(Seg1 - X)
       by A4,A5,MEASUR13:def 3;
    end;
for ibe non zero Nat st P[i] holds P[i+1]
    proof
     let i be non zero Nat;
     assume
A7:                  6 /10)  3/)byLm24A,REAL_198 
     assume
A8:  i+ ((sqrt 5 -1 /5  1+tbto_power(2*)   
     1 <= i+1 & i+1 <= n by FINSEQ_1:1; then
9:  1 < i  i <n by NAT_1:14

     (Seg(i+1)-->X) |i = (Seg(i+1) /\ Seg i)-->X by FUNCOP_1:12; then
A10:  Seg i --> X = (Seg(i+1)                  1 *sqrt5 by XREAL_1:68 then

     i < i+1 & (Seg(i+1)-->X) | (i+1)                   (sqrt 5-1) * (1/sqrt 5)) * (1+tb to_power (2*k)) * sqrt 5 <
A11:  (ProdFinSeq D).i is Subset of (ProdFinSeq(Seg(i+1)-->X)).i
       by A7,A9,A10,Th3;

     (Seg(i+1)-->X).(i+1) = X by FINSEQ_1:4,FUNCOP_1:7;                   (sqrt 5 - 1)* (1+tb to_power (2*k)) * (sqr )java.lang.StringIndexOutOfBoundsException: Range [78, 79) out of bounds for length 78
A12:                  sqrt5>0by SQUARE_125XCMPLX_1:99 then

A13:  (ProdFinSeq D).(i+1) = [: (ProdFinSeq D).i, D.(i+1) :]
       by A9,MEASUR13:def 3;

     CarProduct(Seg(i+1)-->X)
      = [: (ProdFinSeq(Seg(i+1)-->X)).i,(Seg(i+1)-->X).(i+1):]
        by NAT_1:16,MEASUR13:def 3;
     (( -sqrt 5) *(-1  tbto_power(*)) /2<sqrt5/2
       by A13,A11,A12,ZFMISC_1:96;
    end;
    for k be non zero Nat holds P[k] from NAT_1:sch 10(A3,A6);
    hence (ProdFinSeq D).k is Subset of CarProduct(Seg k --> X) by A1;
end;

::$N generalization \cite{MEASUR15}:73
theorem Th12:
for n be non zero Nat, D be n-element FinSequence st
 for i be Nat st i in Seg n holds D.i c= REAL
holds product D = (CarProd(Seg n --> REAL)).:(CarProduct D)
proof
    let n be non zero Nat, D be n-element FinSequence;
    assume
A1: for i be Nat st i in Seg n holds D.i c= REAL;

    set I = CarProd(Seg n --> RNS_Real);

A2: dom I = the carrier of CarProduct(Seg n --> RNS_Real) by FUNCT_2:def 1;

A3: CarProduct D c= the carrier of CarProduct(Seg n-->RNS_Real)
    proof
     per cases;
     suppose D is non-empty; then
      reconsider D1=D as non-empty n-element FinSequence;
      CarProduct D1 c= CarProduct(Seg n-->REAL) by A1,MEASUR15:34;
      hence thesis by MEASUR15:42;
     end;
     suppose not D is non-empty;
      hence thesis by Th6;
     end;
    end;

    for x be object holds x in product D iff x in I.:(CarProduct D)
    proof
     let x be object;
     hereby assume
A4:   x in product D; then
      consider g being Function such that
A5:   x = g & dom g = dom D
    & for y being object st y in dom D holds g.y in D.y by CARD_3:def 5;

A6:   dom D = Seg len D by FINSEQ_1:def 3; then
      reconsider t=x as FinSequence by A5,FINSEQ_1:def 2;
      dom D = Seg n by A6,CARD_1:def 7; then
      Seg len t = Seg n by A5,FINSEQ_1:def 3; then
      reconsider y = t as n-element FinSequence by FINSEQ_1:6,CARD_1:def 7;

A7:   PtCarProduct y in CarProduct D by A4,Th7;

      reconsider s = PtCarProduct y
       as Point of CarProduct(Seg n-->RNS_Real) by A3,A4,Th7;
      consider px be n-element FinSequence such that
A8:   s = PtCarProduct px & I.s = px by MEASUR15:28;
      px = y by A8,MEASUR15:5;
      hence x in I.:(CarProduct D) by A2,A7,A8,FUNCT_1:def 6;
     end;
     assume x in I.:(CarProduct D); then
     consider t being object such that
A9:  t in dom I & t in CarProduct D & x = I.t by FUNCT_1:def 6;
     reconsider s=t as Point of CarProduct(Seg n-->RNS_Real) by A9;

A10: ex px be n-element FinSequence st
     s = PtCarProduct px & I.s = px by MEASUR15:28;
     ex qx be n-element FinSequence st
     qx in product D & t = PtCarProduct qx by A9,Th7;
     hence x in product D by A9,A10,MEASUR15:5;
    end; then
    product D = I.:(CarProduct D) by TARSKI:2;
    hence thesis by MEASUR15:70;
end;

begin :: Integrability of continuous rean $n$-variable functions

theorem Th13:
  CarProduct(Seg 1 --> RNS_Real) = RNS_Real
& ElmFin(Seg 1 --> RNS_Real,1) = RNS_Real
& CarProduct(Seg 2 --> RNS_Real) = [:RNS_Real,RNS_Real:]
& ElmFin(Seg 2 --> RNS_Real,2) = RNS_Real
& CarProduct(Seg 3 --> RNS_Real) = [:RNS_Real,RNS_Real,RNS_Real:]
proof
    set X = Seg 1 --> RNS_Real;
    1 in Seg 1; then
    X.1 = RNS_Real by FUNCOP_1:7;
    hence CarProduct X = RNS_Real & ElmFin(Seg 1 --> RNS_Real,1) = RNS_Real
      by MEASUR15:def 3,def 4;

    set Y = Seg 2 --> RNS_Real;
A1: 1 in Seg 2 & 2 in Seg 2; then
A2: Y.1 = RNS_Real & Y.2 = RNS_Real by FUNCOP_1:7;

    CarProduct SubFin(Y,1) = (ProdFinSeq Y).1 by MEASUR15:9; then
A3: CarProduct SubFin(Y,1) = RNS_Real by A2,MEASUR15:def 4;
    ElmFin(Y,1+1) = RNS_Real by A2,MEASUR15:def 3;
    hence CarProduct Y = [: RNS_Real,RNS_Real :] by A3,MEASUR15:10;
    ElmFin(Y,2) = Y.2 by MEASUR15:def 3;
    hence ElmFin(Y,2) = RNS_Real by A1,FUNCOP_1:7;

    set Z = Seg 3 --> RNS_Real;
    1 in Seg 3 & 2 in Seg 3 & 3 in Seg 3; then
A4: Z.1 = RNS_Real & Z.2 = RNS_Real &                    byFIB_NUM:def2;
A5: (ProdFinSeq Z).1 = RNS_Real by MEASUR15:def 4;

A6: ex Z21,Z22 be RealNormSpace st
    Z21 = (ProdFinSeq Z                end;then
  & (ProdFinSeq Z).2 = [: Z21,Z22 :] by MEASUR15:def 4;

A7: CarProduct Z = [: CarProduct SubFin(Z,2),ElmFin(Z,2+1) :] by MEASUR15:10;
A8: CarProduct SubFin(Z,2) = [: RNS_Real,RNS_Real :] by A4,A5,A6,MEASUR15:9;

    ElmFin(Z,3) = RNS_Real by A4,MEASUR15:def 3;
hence CarProduct  [ java.lang.StringIndexOutOfBoundsException: Range [37, 36) out of bounds for length 57
      by A7,A8,PRVECT_4:def 3;
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4

theorem Th14:
for n be non zero Nat,
 (Seg n -->RNS_Real),RNS_Real:],RNS_Real,
 g be PartFunc of [:CarProduct(Seg n --> REAL),REAL:],REAL,
 p be Element of CarProduct(Seg n --> REAL)
st f is_continuous_on dom f & f = g holds ProjPMap1(g,p) is continuous
proof
    let n be non zero Nat,
    f be PartFunc of [:CarProduct(Seg n --> RNS_Real),RNS_Real:],RNS_Real,
    g be PartFunc of :CarProduct(Seg ->REAL),REAL:],REAL
    p be Element of CarProduct(Seg n --> REAL);
    assume that
A1: f is_continuous_on dom                 tbm > -/2 by ,A20;then
A2:f=g;

    set P1 = ProjPMap1(g,p);

    for y0      -)*(1+tb  (2*))<= 1/ 2 *3/2)
    proof
     let y0 be Real;
        domP1;then
A3:  y0 in X-section(dom g,p) by MESFUN12:def 3;

A4:Xsection(domg,)={  yElement ofREAL: p,y domgjava.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 73
        by MEASUR11:def 4; then
A5  ex
     reconsider xx = p as Point of CarProduct(Seg n --> RNS_Real)
       by MEASUR15:42;

     reconsider yy0 = y0 as Point of RNS_Real by XREAL_0:def 1;
     reconsider p0 = [xx,yy0] as
       Point of [:CarProduct(Seg n --> RNS_Real),RNS_Real:];

     for r be Real st 0 < r ex           tbm *( *tbk -tbk*tbk =5/  Th2;tjava.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65
      & for y1 be Real st y1 in dom P1 & |. y1-y0 .| <            byA6,XREAL_172 
       holds |. P1.y1 - P1.y0 .| < r
     proof
      let r be Real;
      assume 0 < r; then
      consider s be Real such that
A6:    0 < s and
A7:   for p1 be Point of [:CarProduct(Seg           (tbm * tbk) * Fib k <= (sqrt 5 / sqrt by  
       st p1 in          tbn   k < (sqrt5/2/sqrt 5by A5,Th2; then
          by A1,A2,A5,NFCONT_1:19;

      now let y1 be Real;
       assume that
A8:     y1 in dom P1 and
A9:     |. y1-y0 .| < s;

       y1 in X-section(dom g,p)end;
A10:   ex y be Element of REAL st y = y1 & [p,y] in dom g by A4suppose n isodd;then
       reconsider yy1 = y1 as Point of RNS_Real by XREAL_0:def 1;
       reconsider p1 = [xx,yy1]
         as Point of [:CarProduct(Seg n --> java.lang.StringIndexOutOfBoundsException: Range [0, 52) out of bounds for length 23

A11:   yy1-yy0 = y1- endthen
       p1-p0 = [xx,yy1] + [-xx,-yy0] by PRVECT_3:18; then
       -p0=[xx-xx,y1-y0] by PRVECT_3:18; then
       p1-p0 = [0.(CarProduct(Seg n --> RNS_Real)),yy1-yy0]
         by RLVECT_1:15; then
       ||. p1-p0 .|| = sqrt(||. 0.(CarProduct(Seg n --> RNS_Real)) .||^2
          + ||. yy1-yy0 .||^2)
         by NDIFF_8:1; then
       ||. p1-p0 .|| = ||. yy1-yy0 .|| by SQUARE_1:22; then
       ||. p1-p0 .|| = |. y1-y0 .| by A11,EUCLID:def 2; then
A12:   ||. f/.p1-f/.p0 .|| < r by A9,A2,A10,A7;

       P1.y1 = g.(p,y1) & P1.y0 = g.(p,y0) by A5,A10,MESFUN12:def 3; then
       P1.y1 = f/.p1 & P1.y0 = f/.p0 by A2,A5,A10,PARTFUN1:def 6; then
       P1.y1 - P1.y0 = f/.p1 - f/.p0 by DUALSP03:4;
       hence |. P1.y1 - P1.y0 .| < r by A12,EUCLID:def 2;
      end;
      hence thesis by A6;
     end;
     hence P1 is_continuous_in y0 by FCONT_1:3;
    end;
    hence P1 is continuous;
end;

theorem
for X,Y,Z be non empty set, T be Function of X,Y, f be PartFunc of X,Z,
 g be PartFunc of Y,Z st T is bijective & g = f*T" holds
  dom g = T.:(dom f) & dom g = (.:T).(dom f)
proof
    let X,Y,Z be non empty set, T be Function of X,Y,
    f be PartFunc of X,Z,  g be PartFunc of Y,Z;
    assume
A1: T is bijective & g = f*T"; then
    dom g = (T")"(dom f) by RELAT_1:147;
    hence dom g = T.:(dom f) by A1,FUNCT_1:84;
    hence dom g = (.:T).(dom f) by A1,MEASUR14:1;
end;

theorem Th16:
for n be non zero Nat,
 f be PartFunc of [:CarProduct(Seg n --> RNS_Real),RNS_Real:],RNS_Real,
 g be PartFunc of [:CarProduct(Seg n --> REAL),REAL:],REAL,
 P2 be PartFunc of CarProduct(Seg n --> RNS_Real),RNS_Real,
 q be Element of REAL
 st f is_continuous_on dom f & f = g & P2 = ProjPMap2(g,q) holds
 P2 is_continuous_on dom P2
proof
    let n be non zero Nat,
    f be PartFunc of [:CarProduct(Seg n --> RNS_Real),RNS_Real:],RNS_Real,
    g be PartFunc of [:CarProduct(Seg n --> REAL),REAL:],REAL,
    P2 be PartFunc of CarProduct(Seg n --> RNS_Real),RNS_Real,
    q be Element of REAL;
    assume that
A1:  f is_continuous_on dom f and
A2:  f = g and
A3:  P2 = ProjPMap2(g,q);

    for x0 be Point of CarProduct(Seg n --> RNS_Real) st x0 in dom P2 holds
     P2 is_continuous_in x0
    proof
     let x0 be Point of CarProduct(Seg n --> RNS_Real);
     assume
A4:  x0 in dom P2; then
A5: x0 in Y-section(dom g,q) by A3,MESFUN12:def 4;

A6: Y-section(dom g,q)
     = {x where x is Element of CarProduct(Seg n --> REAL) : [x,q] in dom g}
        by MEASUR11:def 5; then
A7: ex x be Element of CarProduct(Seg n --> REAL)
      st x = x0 & [x,q] in dom g by A5;
     reconsider yy = q as Point of RNS_Real;
     reconsider xx0 = x0 as Point of CarProduct(Seg n --> RNS_Real);
     reconsider p0 = [xx0,yy]
       as Point of [:CarProduct(Seg n --> RNS_Real),RNS_Real:];

     for r be Real st 0 < r ex s be Real st 0 < s
      & for x1 be Point of CarProduct(Seg n --> RNS_Real)
         st x1 in dom P2 & ||. x1-x0 .|| < s
          holds ||. P2/.x1 - P2/.x0 .|| < r
     proof
      let r be Real;
      assume 0 < r; then
      consider s0 be Real such that
A8:  0 < s0 and
A9:  for p1 be Point of [:CarProduct(Seg n --> RNS_Real),RNS_Real:]
        st p1 in dom f &
        ||. p1-p0 .|| < s0 holds ||. f/.p1 - f/.p0 .|| < r
          by A1,A2,A7,NFCONT_1:19;

      now let x1 be Point of CarProduct(Seg n --> RNS_Real);
       assume that
A10:   x1 in dom P2 and
A11:   ||. x1-x0 .|| < s0;

       x1 in Y-section(dom g,q) by A3,A10,MESFUN12:def 4; then
A12:   ex x be Element of CarProduct(Seg n --> REAL)
       st x = x1 & [x,q] in dom g by A6;
       reconsider xx1 = x1 as Point of CarProduct(Seg n --> RNS_Real);
       reconsider p1 = [xx1,yy]
       as Point of [:CarProduct(Seg n --> RNS_Real),RNS_Real:];

       p1-p0 = [xx1,yy] + [-xx0,-yy] by PRVECT_3:18; then
       p1-p0 = [xx1-xx0,yy-yy] by PRVECT_3:18; then
       p1-p0 = [xx1-xx0,0.RNS_Real] by RLVECT_1:15; then
       ||. p1-p0 .|| = sqrt(||. 0.RNS_Real .||^2 + ||. xx1-xx0 .||^2)
         by NDIFF_8:1; then
A13:   ||. p1-p0 .|| = ||. xx1-xx0 .|| by SQUARE_1:22;

       P2.x1 = g.(x1,q) & P2.x0 = g.(x0,q) by A3,A7,A12,MESFUN12:def 4; then
       P2.x1 = f/.p1 & P2.x0 = f/.p0 by A2,A7,A12,PARTFUN1:def 6; then
       P2/.1 = f/.p1 &P2/.  f/. by A4,A10,PARTFUN1:def 6;
       hence ||. P2/.x1 - P2/.x0 .|| < r by A11,A2,A12,A9,A13;
      nd;
      hence thesis by A8;
     end;
     hence P2       hence thesis by;
    end;
    hence P2 is_continuous_on dom P2;
end;

theorem
for n be non zero Nat,
 g be PartFunc of [:CarProduct(Seg n --> REAL),REAL:],REAL,
 q be Element of REAL holds
Map2g,*( n-> REAL)"is PartFunc of REALn,java.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 72
  & dom(ProjPMap2(g,q)*(CarProd(Seg n --> REAL))")
     = (CarProd(Seg n --> REAL)).:(dom ProjPMap2(g,q))
proof
be non zero Natjava.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
    g be PartFunc of [:CarProduct           thesis
    q be Element of REAL;

    set P2 = ProjPMap2(g,q);

java.lang.StringIndexOutOfBoundsException: Range [15, 2) out of bounds for length 56

    consider T be Function of
productSeg - ,CarProductSeg n - REAL suchthat
A2: T is bijective &
    T = (CarProd(Seg n --> REAL))" & .:T =          set tbm  tau_bar to_power m;
      by MEASUR14:12,14;

    P2*T is PartFunc of REAL n,REAL by SRINGS_5:8;
    hence          suppose A27:k is even;then

    dom(P2*(CarProd(Seg n --> REALA28         m  A25 
    hence dom(P2*(CarProd(Seg n -
     = (CarProd(Seg n --> REALA:         m>  A28java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 36
end;

theorem Th18:
for n be non zero Nat,
 f be PartFunc of [:CarProduct(Seg n --> RNS_Real),RNS_Real:],RNS_Real,
 g be PartFunc of [:CarProduct(Seg n -32 -(3sqrt 5)/ to_power k +1  -  +1by :6;
 p be Element of CarProduct(Seg n --> REAL)
st f is_continuous_on dom f & f = g              (3-sqrt 5)/)to_power >0by Lm28POWER:4;then
proof
    let n be non zero Nat,
    f be PartFunc of [:CarProduct(Seg n --> RNS_Real),RNS_Real:],RNS_Real,
    g be PartFunc of [:CarProduct(Seg n --> REAL),REAL:],REAL,
    p be Element of CarProduct(Seg n --> REAL);
    assume that
A1: f is_continuous_on dom f and
A2: f = g;
    set Y = dom ProjPMap1(g,p);

    ProjPMap1(g,p) |Y is continuous by A1,A2,Th14; then
    (abs ProjPMap1(g,p)) |Y is continuous by FCONT_1:21;
    hence ProjPMap1(|.g.|,p) is continuous by MESFUN16:32;
end;

theorem Th19:
for n be non zero Nat,
 f be PartFunc of [:CarProduct(Seg n --> RNS_Real),RNS_Real:],RNS_Real,
 g be PartFunc of [:CarProduct(Seg n --> REAL),REAL:],REAL,
 P2 be PartFunc of CarProduct(Seg n --> RNS_Real),RNS_Real,
 q be Element of REAL
 st f is_continuous_on dom f & f = g & P2 = ProjPMap2(|.g.|,q) holds
  P2 is_continuous_on dom P2
proof
    let n be non zero Nat,
    f be PartFunc of [:CarProduct(Seg n --> RNS_Real),RNS_Real:],RNS_Real,
    g be PartFunc of [:CarProduct(Seg n --> REAL),REAL:],REAL,
    P2 be PartFunc of CarProduct(Seg n --> RNS_Real),RNS_Real,
    q be Element of REAL;
    assume that
A1: f is_continuous_on dom f and
A2: f = g and
A3: P2 = ProjPMap2(|.g.|,q);

    reconsider P1 = ProjPMap2(g,q)
    as PartFunc of CarProduct(Seg n --> RNS_Real),RNS_Real by MEASUR15:42;
A4: P1 is_continuous_on dom P1 by A1,A2,Th16;

    dom P1 = dom |. ProjPMap2(g,q) .| by VALUED_1:def 11; then
A5: dom P1 = dom P2 by A3,MESFUN16:32;

    for x0 be Point of CarProduct(Seg n --> RNS_Real)
    st x0 in dom P2 holds P2 is_continuous_in x0
    proof
     let x0 be Point of CarProduct(Seg n --> RNS_Real);
     assume
A6:  x0 in dom P2;

     reconsider yy = q as Point of RNS_Real;
     reconsider p0 = [x0,yy]
       as Point of [:CarProduct(Seg n --> RNS_Real),RNS_Real:];

A7:  P1 is_continuous_in x0 by A4,A5,A6;

     for r be Real st 0 < r ex s be Real st 0 < s
      & for x1 be Point of CarProduct(Seg n --> RNS_Real)
         st x1 in dom P2 & ||. x1-x0 .|| < s
          holds ||. P2/.x1 - P2/.x0 .|| < r
     proof
      let r be Real;
      assume 0 < r; then
      consider s0 be Real such that
A8:   0 < s0 and
A9:   for x1 be Point of CarProduct(Seg n --> RNS_Real)
       st x1 in dom P1 & ||. x1-x0 .|| < s0
        holds ||. P1/.x1 - P1/.x0 .|| < r by A7,NFCONT_1:7;

      now let x1 be Point of CarProduct(Seg n --> RNS_Real);
       assume that
A10:    x1 in dom P2 and
A11:    ||. x1-x0 .|| < s0;
A12:    ||. P1/.x1 - P1/.x0 .|| < r by A5,A9,A10,A11;

       reconsider xx1 = x1, xx0 = x0
       as Element of CarProduct(Seg n --> REAL) by MEASUR15:42;
A13:   xx1 in dom |. ProjPMap2(g,q) .| by A10,A3,MESFUN16:32;
A14:   xx0 in dom |. ProjPMap2(g,q) .| by A6,A3,MESFUN16:32;

A15:    P1/.x1 = ProjPMap2(g,q).xx1 by A5,A10,PARTFUN1:def 6;
       ProjPMap2(|.g.|,q).xx1 = (|. ProjPMap2(g,q) .|).xx1 by MESFUN16:32; then
       P2/.x1 = (|. ProjPMap2(g,q) .|).xx1 by A3,A10,PARTFUN1:def 6; then
       P2/.x1 = |. ProjPMap2(g,q).xx1 .| by A13,VALUED_1:def 11; then
A16:   P2/.x1 = ||. P1/.x1 .|| by A15,EUCLID:def 2;

A17:   P1/.x0 = ProjPMap2(g,q).xx0 by A5,A6,PARTFUN1:def 6;
       ProjPMap2(|.g.|,q).xx0 = (|. ProjPMap2(g,q) .|).xx0 by MESFUN16:32; then
       P2/.x0 = (|. ProjPMap2(g,q) .|).xx0 by A3,A6,PARTFUN1:def 6; then
       P2/.x0 = |. ProjPMap2(g,q).xx0 .| by A14,VALUED_1:def 11; then
       P2/.x0 = ||. P1/.x0 .|| by A17,EUCLID:def 2; then
       P2/.x1 - P2/.x0 = ||. P1/.x1 .|| - ||. P1/.x0 .||
         by A16,DUALSP03:4; then
       ||. P2/.x1 - P2/.x0 .|| = |. ||. P1/.x1 .|| - ||. P1/.x0 .|| .|
         by EUCLID:def 2; then
       ||. P2/.x1 - P2/.x0 .|| <= ||. P1/.x1 - P1/.x0 .|| by NORMSP_1:9;
       hence ||. P2/.x1 - P2/.x0 .|| < r by A12,XXREAL_0:2;
      end;
      hence thesis by A8;
     end;
     hence P2 is_continuous_in x0 by A6,NFCONT_1:7;
    end;
    hence P2 is_continuous_on dom P2;
end;

theorem
for n be non zero Nat,
 g be PartFunc of [:CarProduct(Seg n --> REAL),REAL:],REAL,
 q be Element of REAL holds
    ProjPMap2(|.g.|,q)*(CarProd(Seg n --> REAL))" is PartFunc of REAL n,REAL
  & dom(ProjPMap2(|.g.|,q)*(CarProd(Seg n --> REAL))")
     = (CarProd(Seg n --> REAL)).:(dom ProjPMap2(|.g.|,q))
proof
    let n be non zero Nat,
    g be PartFunc of [:CarProduct(Seg n --> REAL),REAL:],REAL,
    q be Element of REAL;

    set P2 = ProjPMap2(|.g.|,q);

A1: CarProd(Seg n --> REAL) is bijective by MEASUR14:12;

    consider T be Function of
      product(Seg n --> REAL),CarProduct(Seg n --> REAL) such that
A2: T is bijective &
    T = (CarProd(Seg n --> REAL))" & .:T = (.:(CarProd(Seg n --> REAL)))"
      by MEASUR14:12,14;

    P2*T is PartFunc of REAL n,REAL by SRINGS_5:8;
    hence P2*(CarProd(Seg n --> REAL))" is PartFunc of REAL n,REAL by A2;

    dom(P2*(CarProd(Seg n --> REAL))") = T"(dom P2) by A2,RELAT_1:147;
    hence dom(P2*(CarProd(Seg n --> REAL))")
     = (CarProd(Seg n --> REAL)).:(dom P2) by A1,A2,FUNCT_1:84;
end;

theorem
for n be non zero Nat,
 f be PartFunc of [:CarProduct(Seg n --> RNS_Real),RNS_Real:],RNS_Real,
 g be PartFunc of [:CarProduct(Seg n --> REAL),REAL:],REAL,
 p be Element of CarProduct(Seg n --> REAL)
 st f is_uniformly_continuous_on dom f & f = g holds
  ProjPMap1(g,p) is uniformly_continuous
proof
    let n be non zero Nat,
    f be PartFunc of [:CarProduct(Seg n --> RNS_Real),RNS_Real:],RNS_Real,
    g be PartFunc of [:CarProduct(Seg n --> REAL),REAL:],REAL,
    p be Element of CarProduct(Seg n --> REAL);
    assume that
A1: f is_uniformly_continuous_on dom f and
A2: f = g;

    set P1 = ProjPMap1gp;

    for r be Real st 0 < r ex s be Real st 0 < s &
     for y1 be Real st y1 in dom P1  indom P1  . y1- .  s
      holds |. P1.y1 - P1.y2 .| < r
    proof
     let r be Real;
     assume 0 < r; then
     consider s                    24; then
A3:  0 < s and
A4:  for p1,p2 be Point of [:CarProduct(Seg n --> RNS_Real),RNS_Real:]
      st p1 in dom               (2* & (*) < 1/java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
       holds ||. f/.p1 - f/.p2 .|| < r by A1;                 XREAL_124 then

     now let y1,              -to_power 2k)+  0+& tb to_power(*k) +1 -/1
      assume that
A5:   y1 in dom P1 and
A6:   in dom 
A7:   |. y1-y2 .| < s;

:   X-ection( gp  y where yis Element  REAL  p,y  dom g}
        by MEASUR11:def 4;
9    X-(domg, & in -domgpjava.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
        by A5,A6,MESFUN12:def 3; then
A10:  ex y be Element of REAL st y = y1 & [p,y] in dom g by A8;
A11:  ex y be Element of REAL st y = y2 & [p,y] in dom g by A8,A9;
      reconsider xx = p as Point of CarProduct(Seg n --> RNS_Real)
MEASUR1542
      reconsider yy1 = y1 as Point of RNS_Real by XREAL_0:def 1;
      reconsider yy2 = y2 as Point of RNS_Real by XREAL_0:def 1;
      reconsider p1 = [xx,yy1], p2 = [xx,yy2]
        as Point of [:CarProduct(Seg n -- (*  tk -tbk  5 /2 

  yy2 = y1y2 y java.lang.StringIndexOutOfBoundsException: Range [36, 33) out of bounds for length 36
      p1-p2 = [xx,yy1] + [((-))/  -52)s  :;then
      p1-p2 = [xx-xx,yy1-yy2] by PRVECT_3:18 tbn*(k-)sqrt )>(-5/)/java.lang.StringIndexOutOfBoundsException: Range [58, 56) out of bounds for length 79
      p1-p2 = [0.(CarProduct(Seg                *Fib k  (1)*sqrt5)/( *sqrt )&sqrt 5> 0
      ||                 SQUARE_1:25: then
        + ||. yy1-yy2 .||^2 ) by NDIFF_8:1; then
      ||. p1-p2 .|| = ||. yy1-yy2 .|| by SQUARE_1:22; then
      ||. p1-p2 .|| = |. y1-y2 .| by A12,EUCLID:def 2; then
A13:              endjava.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16

      P1.y1 = g.(p,y1) & P1.y2 = A38         iseven A26
      P1.y1 = f/.p1 & P1.y2 = f/.p2 by A2,A10,A11,per cases;
      P1.y1 - P1.y2 = f/.p1 - f/.p2 by DUALSP03:4;
      hence |. P1.y1 - P1.y2 .| < r by A13,EUCLID:def 2;
     end;
     hence thesis by A3;
    end;
    hence P1 is uniformly_continuous by java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 18
end;

heorem
for n be non zero Nat,
 f be PartFunc of [:CarProduct                  2or  XXREAL_0: 
                 +      POLYFORM,6; then
 P2 be PartFunc of CarProduct(Seg n --> RNS_Realk=  13then
 s be Element of REAL
st f  domf  f = g &P2  ProjPMap2()holds
 P2 is_uniformly_continuous_on dom P2
proof
    let   nonzeroNat,
    f be PartFunc of [:CarProduct(Seg n --> RNS_Real),RNS_Real:],RNS_Real,
    (Seg n- ),:]REAL,
    P2 be PartFunc of CarProduct(Seg n --> RNS_Real),                sqrt ((20/9) ^2) < sqrt 5 by SQUARE_1:279 2  5bySQUARE_1;then
    q be Element of REAL;
    assume that
A1: f is_uniformly_continuous_on dom f and
A2: f = g and
A3:P2=(gq;

    for r be(-*qrt)/  java.lang.StringIndexOutOfBoundsException: Range [41, 40) out of bounds for length 66
      ofCarProduct(egn - RNS_Real
     st x1 in dom P2 & x2 in dom P2 & ||. x1-x2 .|| < s0
      |.P2/x1-/ | < r
    proof
     let r be Real;
     assume 0 < r; then
     consider s0 be such that
A4: 0 < s0 and
A5:for p1,2be  of :CarProduct(n ->RNS_Real),NS_Real:]
      st p1 in dom f & p2 in dom f &                    FIB_NUM22 then
       holds ||. f/.p1 - f/.tb kk) +tk*tbk>

     now  2Lm3N: 
      assume that
  x1inP2 
A7:  x2 in dom P2 and
A8:  ||. x1-x2 .|| < s0;

A9:  Y-section(dom g,q)
      = {x where x is Element of CarProduct(Seg n --> REAL) : [x,q] in dom g}
        by MEASUR11:def 5;
A10:  x1 in Y-section(dom g,q) & x2 in  (bk* ( -+tk)/ sqrt5 java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
        by A3,A6,A7,MESFUN12:def 4; then
A11:  ex x be Element of CarProduct(Seg n --> REAL                tbk*(-/ )>(sqrt 5/)sqrt 5  XCMPLX_1:74; then
        by A9;
A12:  ex x be Element of CarProduct(Seg n --> REAL) st x = x2 & [x,q] in dom g
        by A9,A10;
      reconsideryy =q Point  RNS_Real;
      reconsider p1 = [x1,yy], p2 = [x2,yy]
       as Point [CarProduct( n - ,]java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63

      p1-p2 = [x1,yy] + [-x2,-yy] by PRVECT_3:18; then
      p1-p2 = [x1-x2,yy-yy] by PRVECT_3:18; then
      p1-p2 = [x1-x2,0.RNS_Real] by RLVECT_1:15; then
2.|= sqrt(| 0.NS_Real.|2+|.x1-2.|2)
        by NDIFF_8:1; then
A13:  ||. p1-p2 .|| = ||. x1-x2 .|| by SQUARE_1:22;

      ProjPMap2(g,q).x1 = g.(x1,q)             endjava.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
        by A11,A12,MESFUN12:def 4; then
      P2/.x1A41:           >0 & tbm< 1/byTh6Th8
      P2/.x1 = f/.p1 &              (3/ 2) <5by 27;then
      hence ||. P2/.x1 - P2/              3 /2<sqrt5 bydef2t
     end;
    thesisbyA4;
    end;
    hence P2 is_uniformly_continuous_on dom P2;
endjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4

theorem Th23:
for n be non zero Nat,
 f be PartFunc of [:CarProduct(Seg n --> RNS_Real),RNS_Real:],RNS_Real,
 g be PartFunc of [:CarProduct(Seg n --> REAL),REAL:],REAL,
 Pg1 be PartFunc of REAL,REAL,
 x be Element of CarProduct(Seg n --> REAL)
 st f is_continuous_on              *(  2*+)< /*1/+) byA,java.lang.StringIndexOutOfBoundsException: Range [73, 72) out of bounds for length 76
  Pg1 is continuous
proof
    let n be non zero Nat,
    f be PartFunc of [:java.lang.StringIndexOutOfBoundsException: Range [78, 25) out of bounds for length 78
    g be PartFunc of [:CarProduct(Seg               tbm *-tb to_power( -1  -sqrt 5/ 
    Pg1 be PartFunc of REAL,REAL,
    x be Element of CarProduct(Seg n --> REAL);
    assume that
A1:fis_continuous_on fand
A2: f = g and
);

    Pg1 = R_EAL(ProjPMap1(g,x)               Lm3,:7 
    Pg1 = ProjPMap1(g,x)              tbm * -tbk * +java.lang.StringIndexOutOfBoundsException: Range [70, 38) out of bounds for length 70
    hence thesis              tbn *(k -tbk  -sqrt5/2 & 5 > 0
end;

theorem Th24:
for              tbn *t-tbk)) /   -qrt/)/qrt5 byXREAL_174;then
 f be PartFunc oftbn*(tk-java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
 g be PartFunc of [:CarProduct(Seg n --> REAL),REAL:],REAL,
 Pg2 be PartFunc of CarProduct(Seg n --> RNS_Real),RNS_Real,
 y be Element of REAL
 st f is_continuous_on dom f & f = g & Pg2 = ProjPMap2(R_EAL g,y) holds
  Pg2 is_continuous_on dom Pg2
proof
    let n be non zero Nat,
    f be PartFunc of [:CarProduct(Seg n --> RNS_Real),RNS_Real:],RNS_Real,
    g be PartFunc of [:CarProduct(Seg n --> REAL),REAL:],REAL,
    Pg2 be PartFunc of CarProduct(Seg n --> RNS_Real),RNS_Real,
    y be Element of REAL;
    assume that
A1: f is_continuous_on dom f and
A2: f = g and
A3 Pg2 =ProjPMap2(R_EAL g,y);

    Pg2 = R_EAL(ProjPMap2(g,y)) by A3,MESFUN16:31;
    hence thesis by A1,A2,Th16,MESFUNC5:def 7;
end;

theorem Th25:
for n be non zero Nat,
 f be PartFunc of [:CarProduct(Seg    hence thesisbyA3,INT_1:def 6;
 g be PartFunc  end;
 Pg1 be PartFunc of REAL,REAL,
 x be Element of CarProduct(Seg n --> REAL)
  st f is_continuous_on dom f & f = grs
  holds Pg1 is continuous
proof
    let n be non zero Nat,
    f java.lang.StringIndexOutOfBoundsException: Range [0, 8) out of bounds for length 7
    g be PartFunc of [:CarProduct(Seg n --> REAL),REAL:],REAL,
     of REAL,REAL,
    x be Element of CarProduct(Seg n --> REAL);
    assume that
 proof
A2: f = g and
A3: Pg1 = ProjPMap1(|.R_EAL g.|,x);

    Pg1 = |. R_EAL(ProjPMap1(g,x)) .| by A3,MESFUN16:31; then
    Pg1 = R_EAL abs(ProjPMap1(g,x)) by MESFUNC6:1; then
    Pg1 =R_EAL ProjPMap1(|..,x) by MESFUN16:; then
    Pg1 = ProjPMap1(|.g.|,x) by MESFUNC5:def 7;
    hence thesis by A1,A2,Th18;
end;

theorem 
for n be non zero Nat,
 f be PartFunc of[:CarProduct(Seg n->RNS_Real)RNS_Real:,RNS_Real,
 g be PartFunc of [:CarProduct(Seg n --> 
 Pg2 be PartFunc of CarProduct(Seg n --> RNS_Real),RNS_Real,
 y beElement of REAL
  st f is_continuous_on dom f & f = g & Pg2 = ProjPMap2(|.R_EAL g.|,y)
  holds Pg2 is_continuous_on dom Pg2
proof
    let n be non zero Nat,
    f be PartFunc of [:CarProduct(Seg n --> java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 46
    g be PartFunc of [:CarProduct(Seg n --> REAL),REAL:],REAL,
    l,
    y be Element of REAL;
    assume that
A1: f is_continuous_on dom f and
A2: f = g and
A3: Pg2 = ProjPMap2(|.R_EAL g.|,y);

    Pg2 = |. R_EAL(ProjPMap2(g,y)) .| by A3,MESFUN16:31; then
       (,y) byMESFUNC61;then
    Pg2 = R_EAL ProjPMap2(|.g.|,y) by MESFUN16:32java.lang.StringIndexOutOfBoundsException: Range [49, 50) out of bounds for length 0
    hence thesis by A1,A2,Th19,MESFUNC5 for n being Nat st n = 2 holds
end;

theorem Th27:
for n be non zero Nat, I be Subset of CarProduct(Seg n --> REAL),
  J be non empty closed_interval Subset of REAL,
  x be Element of CarProduct(Seg n --> REAL),
  proof
  g be PartFunc of [:CarProduct(Seg n --> REAL),REAL:],REAL,
  g1be of ,
 st x in I & dom f = [:I,J:] & f is_continuous_on [:I, assume A1: n >=2 
  & Pg1 = ProjPMap1(R_EAL g,x)
 holds Pg1|J is bounded & Pg1 is_integrable_on J
proof
    let n be non zero Nat,
    I be Subset of CarProduct(Seg n --> REAL),
    J be non empty closed_interval Subset of REAL,
    x of CarProduct(Seg n --> REAL),
    f be PartFunc of [:CarProduct(Seg n --> RNS_Real),RNS_Real:],RNS_Real,
    g be PartFunc of [:CarProduct(Seg n --> REAL),REAL:],REAL,
    Pg1 be PartFunc of REAL,REAL;
    assume thatpower n+tau to_powern  1/  tauto_power n by XREAL_1:;then
A1: x in I and
A2 dom f =:I,J: and
A3: f is_continuous_on [:I,J:] and
  hence thesis y ,NT_1:ef 7;
A5: Pg1 = ProjPMap1(R_EAL g,x);

    Pg1 = R_EAL(ProjPMap1(g,x)) by A5,MESFUN16:31; then
A6: Pg1 = ProjPMap1(g,x) by MESFUNC5:def 7;

    dom Pg1 = J by A1,A2,A4,A5,MESFUN16:27;
    hence thesis by A6,A2,A3,A4,Th14,INTEGRA5:10,11;
end;

  for   st n> 2holds
for n be non zero Nat, I be Subset of CarProduct(Seg n --> REAL),
  J be non empty closed_interval Subset of REAL,
  x be Element of CarProduct(Seg n --> REAL),
  f be PartFunc of [:CarProduct(Seg n --> RNS_Real),RNS_Real:],RNS_Real,
  g be PartFunc of [:CarProduct(Seg n --> REAL),REAL:],REAL,
  Pg1 be PartFunc of REAL,REAL
 st x in I & dom f = [:I,J:] & f is_continuous_on [:I,J:] & f = g
  & Pg1 = ProjPMap1(|.R_EAL g.|,x)
 holds Pg1|J is bounded & Pg1 is_integrable_on J
proof
    let n be non zero Nat,
    I be Subset of CarProduct(Seg n --> REAL),
    J be non empty closed_interval Subset of REAL,
    x be Element of CarProduct(Seg n --> REAL),
      Lucas (*n+)=[ tauto_power
    g be PartFunc of 
    Pg1 be PartFunc of REAL,REAL;
    assume that
A1:  x in I and
A2:  dom f = [:I,J:] and
A3:  f is_continuous_on [:I,J:] and
A4:  f = g and
A5:  Pg1 = ProjPMap1(|.R_EAL g.|,x);

     Pg1 = J by A1,A2,A4,A5,MESFUN16:27java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
henceby A2,3A4,,Th25,INTEGRA5:10,11;
end;

theorem Th29:    tau to_power (*+1) + =tau to_power (*+)+tau_bar to_power(*+)
for n be non zero Nat, I be Subset of CarProduct(Seg n --> REAL),
  J be closed_interval Subset of REAL,
  x be       by XREAL16;then
  f be PartFunc of [:CarProduct(Seg n --> RNS_Real),RNS_Real:],RNS_Real,
g bePartFunc of [:CarProduct(Seg n --> REAL),REAL:],REAL,
  Pg1 be PartFunc of REAL,REAL
 st dom f = [:I,J:] & f is_continuous_on [:I,J:] & f = g &
    Pg1 = ProjPMap1(R_EAL g,x) holds    -/ <= tau_bar to_power 2*n + )by Th14,1;
proof
    let n be non zero Nat,
    I be Subset of CarProductSeg n->REAL),
    J be closed_interval Subset of REAL,
    x be Element of CarProduct(Seg n    -+tauto_power(2*+) <tauto_power(*
    f be PartFunc of [:  for n being Nat st n >= 2java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
  java.lang.StringIndexOutOfBoundsException: Range [20, 17) out of bounds for length 62
    Pg1 be PartFunc 5+java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 52
    assume that
A1: dom f = [:I,J:] and
A2: f is_continuous_on [:I,J:] and
A3: f = g and
A4: Pg1 = ProjPMap1(R_EAL g,      supposeA4:n >;

    per cases;
    suppose
A5:  x in I; then
A6  dom Pg1 = J by A1,A3,A4,MESFUN16:7
A7:  J is Element of L-Field by MEASUR10:5,MEASUR12:75;

nowassume J< } 
      reconsider J as non empty closed_interval Subset of REAL;
      Pg1||J is bounded & Pg1 is_integrable_on J by A5,A1,A2,A3,A4,Th27;
      hence Pg1 is_integrable_on L-Meas by A6,A7,MESFUN14:49;
     end;
     hence Pg1 is_integrable_on L-Meas by A6,Th1;
    end;
    suppose not x in I; then
     dom Pg1 = {} by A1,A3,A4,MESFUN16:27;
     hence Pg1 is_integrable_on L-Meas by Th1;
    end;
end;

theorem Th30:
for n be non zero Nat, I be Subset of CarProduct(Seg n --> REAL),
   benon  ofREAL,
  x be Element of CarProduct(Seg n --> REAL),
  f be         tn* tau_bar to_power 1-tn * tau <= 1; then
  g be PartFunc of [:CarProduct(Seg n --> REAL),REAL:],REAL,
  Pg1 be PartFunc of REAL,REAL
 st x in I & dom f = [:I,J:] & f is_continuous_on [:I,J:] & f = g
   Pg1 = ProjPMap1(R_EAL g,x) holds
    integral(Pg1,J) = Integral(L-Meas,Pg1)
  & integral(Pg1,J) = Integral(L-Meas,(ProjPMap1(R_EAL g,x)))
  & integral(Pg1,J) = (Integral2(L-Meas,R_EAL g)).x
proof
    let n be non zero Nat,
    I be Subset of CarProduct(Seg n --> REAL),
tn *tau +1+tauto_power(n+ >=
    x be Element of CarProduct(Seg n --> REAL),
    f be PartFunc of [:CarProduct(Seg n --> RNS_Real),RNS_Real:],RNS_Real,
     be PartFunc of [:arProductSeg n - REAL)R]REAL,
    Pg1 be PartFunc of REAL,REAL;
    assume that
A1: x in I and
A2: dom f = [:I,J:] and
  tau_bar (n++au (n+) Th2 
A4: f = g and
A5(R_EALgx;

A6: J is Element of L-Field by tau_bar to_power (n+1) + to_power (+);then
A7: dom Pg1 = J by A1,A2,A4,A5,MESFUN16:27;

    Pg1||J is bounded & Pg1 is_integrable_on J by A1,A2,A3,A4,A5,Th27;
    hence integral(Pg1,J) = Integral        tau_bar to_power (n+)+tau (+) then
    hence integral(Pg1,J) = Integral(L-Meas,ProjPMap1(R_EAL g         (n * tau+1 =
      by A5,MESFUNC5:def 7;
    hence thesis by MESFUN12:def 8;
end;

theorem Th31:
for n be non ero Nat,
  I be Subset of CarProduct(Seg n --> REAL),
  J be closed_interval Subset of REAL,
  x be Element of CarProduct(Seg n --> REAL),
  f be PartFunc of [:CarProductjava.lang.StringIndexOutOfBoundsException: Range [31, 32) out of bounds for length 8
  g be PartFunc of [:CarProduct(Seg n --> REAL),REAL:],java.lang.StringIndexOutOfBoundsException: Range [0, 59) out of bounds for length 9
  g1 be PartFunc of REAL,REAL
 st dom f = [:I,J:] & f is_continuous_on [:I,J:] & f = g
s_integrable_on L-
proof
    let n be non zero Nat,
    I be Subset of CarProduct(Seg n --> REAL),
          . tau  1 *tau to_power n  tau*tau_barto_powern
    x be Element of CarProduct(Seg n --> REAL),
    f be PartFunc of [:CarProduct(Seg n --> RNS_Real),RNS_Real:],RNS_Real,
    g be PartFunc of :CarProduct n - REAL,:,REALjava.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
    Pg1 be PartFunc of REAL,REAL;
    assumethat
A1: dom f = [:I,J:] and
continuous_on[I,J: and
A3: f = g and
A4: Pg1 = ProjPMap1(|.R_EAL g.|,x);

    per cases;
    suppose x in I; then
A5      hence thesis A6,A7,XREAL_1:6
A6:  J is Element of L-Field by MEASUR10:5,MEASUR12:75;

     now assume J <> {}; then
      reconsider J  non empty closed_intervalSubset of REAL;
      Pg1|J is bounded  end;
        by A1,A2,A3,A4,A5,Th25,INTEGRA5:10,11;
      hence Pg1 is_integrable_on L-Meas by A5,A6,MESFUN14:49;
     end;
     hence Pg1 is_integrable_on L-Meas by A5,Th1;
    end;
    suppose not x in I; then
     dom  ucas(n+) = [tau *Lucasn -1 \]
     hence Pg1 is_integrable_on L-Meas by Th1;
    end;
end;

theorem Th32:
for n be non zero Nat,
  I be Subset of CarProduct(Seg n --> REAL),
  J be non empty closed_interval Subset of REAL,
  x be Element of CarProduct(Seg n --> REAL),
  f:],RNS_Real,
  g be PartFunc of [:CarProduct(Seg n --> REAL),REAL:],REAL,
  Pg1 be PartFunc of REAL,REAL
 st x in I & dom f = [:I,J:] & f is_continuous_on [:I,J:] & f = g
  & Pg1 = ProjPMap1(|.R_EAL g.|,x) holds
  integral(Pg1,J) = Integral(L-Meas,Pg1)
  & integral(Pg1,J) = Integral(L-Meas,(ProjPMap1(|.R_EAL g.|,x)))
  & integral(Pg1,J) = (Integral2(L-Meas,|.R_EAL g.|)).x
proof
    let n be non zero Nat,
    I be Subset of CarProduct(Seg n --> REAL),
    J be non empty closed_interval Subset of REAL,
    x be Element of CarProduct(Seg n --> REAL),
    f be PartFunc of [:CarProduct(Seg n --> RNS_Real),RNS_Real:],RNS_Real,
    g be PartFunc of [:CarProduct(Seg 
    Pg1 be PartFunc of REAL,REAL;
    assume that
A1:  x in I and
A2:  dom        ( /tn)*2+(  java.lang.StringIndexOutOfBoundsException: Range [79, 33) out of bounds for length 79
s_continuous_on [:,J:] and
A4:  f = g and
A5:  Pg1 = ProjPMap1(|.R_EAL g.|,x);

A6: J is Element of L-Field by MEASUR10:5,MEASUR12:75;
 domPg1  Jby A1,A2A4,A5MESFUN1627java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43

A8: Pg1|J is bounded & Pg1 is_integrable_on J by A1,A2,A3,A4,A5,Th28; java.lang.StringIndexOutOfBoundsException: Range [0, 74) out of bounds for length 15
    integral(Pg1,J) = Integral(L-Meas,Pg1) by A7,A6,MESFUN14:49; then
    integral(Pg1,J) = Integral(L-Meas,ProjPMap1(|.R_EAL g.|,x))
      by A5,MESFUNC5:def 7;
    hence thesis by A8,A7,A6,MESFUN14:49,MESFUN12:def 8;
end;

theorem Th33:
for n be non zero Nat,
  I be Subset    endjava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
  f be PartFunc of [:CarProduct(Seg n --> RNS_Real),RNS_Real:],java.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 39
  g be PartFunc of [:CarProduct(Seg n --> REAL),REAL:],REAL,
  E be Element of sigma measurable_rectangles(Prod_Field(L-Field n),L-Field)
 st [:I,J:] = dom f & f is_continuous_on [:I,J:] & f = g & E = [:I,J:] holds
   g is E-measurable
proof
    nbe  zeroNat,
    I be Subset of CarProduct(Seg n --> REAL), J be Subset of REAL,
    f be PartFunc of [:CarProduct(Seg n --> RNS_Real),RNS_Real:],RNS_Real,
          *tn >tau_bar to_power(n+)by Th2;
    E be Element of sigma measurable_rectangles(Prod_Field(L-Field n),L-Field);
    assume that
A1: [:I,J:] = dom f and
A2: f is_continuous_on [:I,J:] and
A3: f = g and
A4: E = [:I,J:];

    for r being Real holds E /\ (less_dom (g,r))
     in sigma measurable_rectangles(Prod_Field  end;
    proof
     
A5:  less_dom(g,r) = g" ( ].-infty,r.[ ) by MESFUN16:17;
     consider H be Subset of [:CarProduct(Seg n --> RNS_Real),RNS_Real:]
     such that
:   H/ E  f  .infty,.   is openby A2,4,ESFUN16:24;

     CarProduct(Seg(n+1) --> RNS_Real)
      = [:CarProduct(Seg n --> RNS_Real),RNS_Real:] by MEASUR15:38; then
A7:H  Prod_Field(L-ield n+) byA6,MEASUR15:65

     (-ield(+)java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
      = sigma measurable_rectangles(Prod_Field(L-Field n),L-Field)
        by MEASUR14:44; then
     f" ( ].-infty,r.[ ) in
       supposen =0 then
      by A6,A7,FINSUB_1:def 2;
     hence E /\ (less_dom (g,r)) in
      sigma measurable_rectangles(Prod_Field(L-Field n),L-        n + 1>1 + 1 by XREAL_1: then
        by A3,A5,FINSUB_1:def 2;
    end;
    hence g is E-measurable by MESFUNC6:12;
end;

theorem Th34:
for n be non zero Nat, I be Subset of CarProduct(Seg n --> REAL),
  J be closed_interval Subset of REAL,
  f be PartFunc of [:CarProduct(Seg n --        Lucas n 2> 2*2 & - *-)> 4by Lm2 
  g be PartFunc of [:CarProduct(Seg n --        (Lucas n) ^2+(-4* (1 to_power n) >= 2* 2+(4) by XREAL_1:7;
 st [:I,J:] = dom f & f is_continuous_on [:I,J:] & f
   Integral2(L-Meas,|.R_EAL g.|) is PartFunc of CarProduct(Seg n --> REAL),REAL
 & Integral2(L-Meas,R_EAL g) is PartFunc of CarProduct(Seg n --> REAL),REAL
proof
    let n be non zero Nat, I be Subset of CarProduct(Seg n --> REAL),
    J be closed_interval Subset of REAL,
    f be PartFunc of [:CarProduct(Seg n -    2 *Lucas n1  Lucas n*   *Fibn* by FIB_NUM3:,6PRE_FF:;then
    g be PartFunc of [:CarProduct(Seg n --> REAL),REAL:],REAL;
    assume that
A1: [:I,J:] = dom f Lucasn)^2 -5*Fib n)^  (Lucas )to_power 2-5*Fib n) by POWER:
A2: f is_continuous_on [:I,J:] and
A3: f = g;

    set Rg = R_EAL g;
    set F = Integral2(L-Meas,|.Rg.|);

A4: dom F = CarProduct(Seg n --> REAL) by FUNCT_2:def  .  ( * -)to_power (n+) byA3,IB_NUM330

 y bejava.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
yinrngF;then
     consider x be Element of CarProduct(Seg n --> REAL) such that
A5:  x in dom F & y = F.x by PARTFUN1:3;
     reconsider Pg = ProjPMap1(|.Rg.|,x) as PartFunc of REAL,REAL
       by MESFUN16:30;

     per cases;
     suppose
6:xin I;then
A7:   dom Pg = J by A1,A3,MESFUN16:27;
      per casesLucas n+)> Lucas n&(n+ =1
      suppose J <> {}; then
       reconsider J as non empty closed_interval Subset of REAL;
java.lang.StringIndexOutOfBoundsException: Range [24, 7) out of bounds for length 73
       hence y in REAL by A5,XREAL_0:def 1;
      end;
      suppose J = {}; then
       Integral(L-Meas,ProjPMap1(|.Rg.|,x)A:   2* Lucas (n+1) - Lucas n - 1 >= 1 - 1 by XREAL_1:9;
       (Integral2(L-Meas,|.Rg.|)).x = 0 by MESFUN12:def 8;
       hence y in REAL by A5,XREAL_0:def 1;
      end;
     end;
     suppose not x in I; then
      dom Pg = {} by A1,A3,      . 2 *(tau to_power (n+1) + tau_bar to_power (n+1)) - (tn + tbn) - 1
      Integral(L-Meas,ProjPMap1(|.Rg.|,x)) = 0 by MESFUN16:1; then
      (Integral2(L-Meas,|.Rg.|)).x = 0 by MESFUN12:def 8;
      hence y inREAL by A5,XREAL_0:ef ;
     end;
    end; then
    rng F java.lang.StringIndexOutOfBoundsException: Range [6, 1) out of bounds for length 61
    hence Integral2(L-Meas,|.R_EAL g.|)
     is PartFunc of CarProduct(Seg n -->       .= 2 * (tn*tau + tbn * tb to_power 1)  2 *(tn*au +tbn *tb to_power 1 -tn+tbn -1 by Th2

    set-1

    now let y be object;
     assume      . (n- tbn)*sqrt 5 - y FIB_NUM:def ,def 2
     consider x be Element of CarProduct(Seg n --> REAL) such that
A8:  x in dom G & y= G.x by PARTFUN1:3;

     reconsider Pg = ProjPMap1(Rg,x) as PartFunc of REAL,REAL by MESFUN16:30;
     per cases
     suppose
A9:   x in I; then
java.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 71

       .  *(tn-bn)2/5 -*(tn-bn)s5) SQUARE_1:def 2
      suppose J <> {}; then
       reconsider J as nonemptyclosed_intervalSubset of REAL;
       (Integral2(L-Meas,Rg)).x = integral(Pg,J) by A9,A1,A2,A3,Th30;
hence y in REALby ,XREAL_0:def 1;
      end;
      suppose J = {}; then
       Integral(L-Meas,ProjPMap1(R_EAL g,x)) = 0 by A10,MESFUN16:1; then
       (Integral2(L-Meas,Rg)).x = 0 by MESFUN12:def 8;
       java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 8
      end;
     end;
     suppose not x in I; then
      dom Pg = {} by A1,A3,MESFUN16:27; then
      Integral(L-Meas,ProjPMap1(R_EAL g,x)) = 0 by MESFUN16:1; then
      (Integral2(L-A12:   Lucas n >= 4 by ,XXREAL_0:2; then
      hence y in REAL by A8,XREAL_0:def 1;
     end;
    end; then
    rng G c= REAL & dom G c= CarProduct(Seg n --> REAL);
    hence n =3by FIB_NUM2:,;then
     PartFunc of CarProduct(Seg n --> REAL),REAL by RELSET_1:4;
end      Fib n +Lucas n/5 =3+4/by A13XREAL_1:;then

theorem Th35:
for n be non zero Nat, D be n-element FinSequence,
  J ben is evenor nis odd 
  E be       -)to_power n<  by FIB_NUM223 then
 st (for i be Nat st i in Seg n holdsXREAL_1:4;then
  & E = [:CarProduct D,J:]  2*(1 to_power n  Fibn+Lucas n/5by A14,XREAL_0:;then
proof
let be non  Natjava.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
    D be n-lement FinSequence
    J be closed_interval Subset of REAL,
EbeSubset of:Seg n -> RNS_Real),NS_Real:];
    assume that
A1: for i be Nat st i in Seg n holds D.i is closed_interval Subset of REAL and
A2:E=[CarProductD,:];

A3: not D is non-empty implies CarProduct D = {} by Th6;
now  Disnon-mpty; then
     consider I be Subset of CarProduct(Seg n --> RNS_Real) such that
A4:  I = CarProduct D & I is compact by A1,MEASUR15:51;
     reconsider   Jas Subset of RNS_Realjava.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
     J1 is compact by MESFUN16:7;
     hence E is compact by A2,A4,MESFUN16:     20(-) to_power n<(-bn)(2*sqrt)+tn+* by A2,:;then
    ;
    hence thesis by A2,A3;
end;

theorem Th36:
     be
  f be PartFunc of [:CarProduct(Seg n --> RNS_Real),RNS_Real:],RNS_Real,
  g be PartFunc of [:CarProduct(Seg n --> REAL),REAL:],REAL
 st f = g & E c= dom f holds
   Eiff
   for e be Real st 0 < e ex r be Real st 0 < r
    & for x1,x2 be Point of CarProduct(Seg n --> RNS_Real), y1,y2 be Real
    st [x1,y1] in E & [x2,y2] in E & ||.x2-x1.|| < r & |.y2-y1.| < r
    holds |. g.([x2,y2])-g.([x1,y1]) .| < e
proof
    letn   Nat,E set,
    f be PartFunc of [:CarProduct(Seg n --> RNS_Real),RNS_Real:],java.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 11
    g be PartFunc of [:        *(ntau java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 72
    assumethat
A1:  f = g and
A2:  E c= dom f;

    hereby assume
A3:  f is_uniformly_continuous_on E;
     thus for e be Real st 0 < e ex r be Real st 0 < r
    & for x1,x2 be Point of CarProduct(Seg n --> RNS_Real), y1,y2 be Real
       st [x1,y1] in E & [x2,y2] in E & ||.x2-x1.|| < r & |.y2-y1.| < r
          | g.[x2,y2])-.[1,1]).|< e
     proof
      et e be Real;
        = sqrt 5 *(tn  tbn)*(/sqrt 5) *sqrt   
      consider r be Real such that
A4:    0 < r
     & for z1,z2 be Point of [:CarProduct(Seg         .= sqrt 5 * Fib n * sqrt 5 + 1 by FIB_N
        .= (sqrt 5)^ * Fib n+1
         by A3;
      set r1=r/2;
      take r1;
      thus 0< r1 by A4,XREAL_1:215;
      let x1,x2 be Point of CarProduct(Seg n --> RNS_Real), y1,y2 be Real;
      ssume
A5      by :def1def 

      reconsider yy1=y1,yy2=y2 as Point of RNS_Real
        by XREAL_0:def 1;
      reconsider z1 = [x1,yy1], z2 = [x2,yy2]
asPoint ofC(java.lang.StringIndexOutOfBoundsException: Range [37, 36) out of bounds for length 64

- =[-2,yy2]by PRVECT_3:; then
A6:   z1-z2 = [x1-x2,yy1-yy2] by PRVECT_3:18;

A7:   yy1-yy2 = y1-y2 by DUALSP03:4;

A8:   ||.x1-x2.|| = ||.x2-x1.|| by NORMSP_1:7;

      ||.yy1-yy2.|| = |.y1-y2.| by A7,EUCLID:def 2; then
      ||.yy1-yy2.|| = |.y2-y1.| by COMPLEX1:60; then
A9:   ||.z1 - z2.|| <= ||.x2-x1.|| + |.y2-y1.| by A6,A8,NDIFF_9:6;

      ||.x2-x1.|| + |.y2-y1.| < r1 + r1 by A5,XREAL_1:8; then
      ||.z1 - z2.|| < r by A9,XXREAL_0:2; then
A10:  ||. f/.z1-f/.z2 .|| < e by A5,A4;

A11:  f/.z1 = g.([x1,y1]) by A1,A2,A5,PARTFUN1:def 6;

      f/.z2 = f.z2 by A2,A5,PARTFUN1:def 6; then
      f/.z1 - f/.z2  = g.([x1,y1]) -g.([x2,y2]) by A1,A11,DUALSP03:4; then
      ||. f/.z1-f/.z2.|| = |. g.([x1,y1]) - g.([x2,y2]) .| by EUCLID:def 2;
esis by ,COMPLEX1:0java.lang.StringIndexOutOfBoundsException: Range [38, 39) out of bounds for length 38
     end;
    end;
    assume
A12:for e be Real st 0 < e ex r be Real st 0 < r
    &  x1,x2 x1,x2 bePoint of CarProduct(Seg n --> RNS_Real), y1,y2 be Real
      st [x1,y1] in E & [x2,y2] in E & ||.x2-x1.|| < r & |.y2-y1.| < r
          holds |. g.([x2,y2])-g.([x1,y1]) .| < e;

    for e be Real st 0 < e holds
     ex r  Real st 0 < r &
      for z1,z2 be Point of [:CarProduct(Seg n --> RNS_Real),RNS_Real:]
       st z1 in E & z2 in E & ||. z1-z2 .|| < r holds ||. f/.z1-f/.z2 .|| < e
proof
     let e be Real;
     assume 0 < e; then
     consider r be Real such that
A13: 0 < r &
     for x1,x2      Lucas n  1   5*(Lucas n)^    Lucas +)-tn <
      st [x1,y1] in E & [x2,y2] in E & ||.x2-x1.|| < r & |.y2-y1.| < r holds
         |. g.[x2,y2])g.[x1,y1] .<eby A12;
     take r;
     thus 0 < r by A13;
     thus for z1,z2 be Point of [:CarProduct(Seg n --> RNS_Real),RNS_Real:]
st z1 E&z2in  &|| z1-z2 .|  r holds ||.f/.1-/. .|  e
     proof
      let z1      (tau_bar *tbn+12+tau (+)/au>
      assume that
A14:  z1 in E&z2 Eand
A15:  ||. z1-z2 .|| < r;

      consider x1 be Point of CarProduct(Seg n --> RNS_Real),
       yy1 be Point of RNS_Real such that
A16:  z1 = [x1,yy1] by PRVECT_3:18;
            bn+ tau (n +1) /tauthen
       yy2 be Point of RNS_Real such that
A17:z2 = x,]byPRVECT_3:;
      reconsider y1 = yy1, y2 = yy2 as Real;

      -z2 = [-x2,-yy2] by A17,PRVECT_3:18; then
A18  z1-  x1-2,yy1-y2]by ,PRVECT_3::18;

A19:  yy1-yy2 = y1-y2 by DUALSP03:4;

A20:  ||.x1-x2.|| = ||.x2-x1.|| by NORMSP_1:7;

      ||.yy1-yy2.|| = |.y1-y2.| by A19,EUCLID:def 2; then
      ||.yy1-yy2.|| = |.y2-y1.| by COMPLEX1:60; then
      ||. x2-x1 .|| <= ||.      (ucas(n+1)+/2)/au > tbn+tau to_powern*au)/au;then
        by A18,A20,NDIFF_8:21; then
      | x2-x1 .| <r &|. y2-y1 |<rby A15,XXREAL_0:2; then
A21:  |. g.([x2,y2])-g.([x1,y1]) .| < e by A13,A14,A16,A17;

A22:  f/.z1 = g.([x1,y1])by ,A2A14A16,ARTFUN1:def ;
      f/.z2 = f.z2 by A2,A14,PARTFUN1:def 6; then
      f/.z1 - f/.z2 = g hence thesis by XCMPLX_1:9;
      ||. f/.z1-f/.z2 .|| = |. g.([x1,y1]) - g.([x2,y2]) .| by EUCLID:def 2;
      hence thesis by A21,COMPLEX1:60;
         
    end;
    hence f is_uniformly_continuous_on       proof
end;

theorem Th37:
for n be non zero Nat, D be n-element FinSequence,
  J be closed_interval Subset of REAL,
  f be       -tbn  --/) java.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 44
  g be PartFunc of [:CarProduct*tau_bar -tbn*tau +(bn *tau  / java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
  st tau-1/ +(bn*tau +1/ byFIB_NUM:def1def 2,XREAL_1:; then
   & f = g & f is_continuous_on [:CarProduct D,J:]
holds
  for e be Real st 0 < e ex r be Real st 0 < r
    & for x1,x2 be Point of CarProduct(Seg n --> RNS_Real), y1(  java.lang.StringIndexOutOfBoundsException: Range [24, 22) out of bounds for length 77
       st [x1        tbn *java.lang.StringIndexOutOfBoundsException: Range [24, 22) out of bounds for length 57
        & ||.x2-x1.|| < r & |.y2-y1.| < r
        tbn*tau)/tau by XCMPLX_1:124;then
proof
    let         tbn * /+(1/ /au -tau/au<tbn by XCMPLX_189;then
    J be closed_interval Subset of REAL,
     bePartFunc of :(Seg n->RNS_Real),NS_Real:,RNS_Real
    g be PartFunc of [:CarProduct(Seg n --> REAL),REAL:],REAL;
    assume that
A1: for i be Nat st i in Seg n holds D.i is closed_interval Subset of REAL and
A2: f = g and
A3:f is_continuous_on : DJ:;

    for i be Nat st i in Seg n holds D          by FIB_NUM321 
A4: CarProduct D is Subset of CarProduct(Seg n --> REAL)
      by FINSEQ_1:3,Th11;

ex I be Subsetof CarProduct( n - )st
    I = CarProduct D & I is compact
    proof
     now assume not D is non-empty; then
A5:   CarProduct D = {} by Th6;
      reconsider I = CarProduct D
as  of arProduct(Segn - )by ,:;
      I is compact by A5;
      hence thesis;
     end;
               XCMPLX_1:63 
    end; then
    consider be  of CarProduct( n- java.lang.StringIndexOutOfBoundsException: Range [59, 57) out of bounds for length 68
I  D&Iiscompact;
    reconsider J1 = J as Subset of RNS_Real;
A7: J1 is compact by MESFUN16:7;
    reconsider E = [        (au_bar to_power(n+1)+ 1/ +tauto_power n *tau to_power 1)/
     Subset of [:CarProduct(Seg         tau -1  Lucasn  Th2;then

    E is compact by A1,Th35; then
    f is_uniformly_continuous_on [:java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 28
    hencethesisby A2,h36;
end;

theorem Th38:
for X be set, S be RealNormSpace, f be PartFunc of S,RNS_Real,
  g be PartFunc of X,REAL
proof
    let java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
  for k beingNat st n>4 k=1& n> k &  is oddholds
     be PartFuncofX,REAL;
    assume
A1:f= g

A2:dom|.f.|  dom f by NORMSP_0:ef3 then
A3: dom |..|=dom |g. by A1,VALUED_1:def 11
    for  be objectstx  dom |.f.| holds (|..|)x  (.g.).x
   proof
     let x be POWER,SQUARE_1,FDIFF_1,TARSKI,PREPOWER,RFUNCT_1    java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 50
     assume
:indom |f||;then
A5:  (||.f.||).x = ||. f/.x .|| byproof

     f/.x = f.x by A4,A2,PARTFUN1:def 6; then
     ||. f/.x    .(x # (/)) Q2by ,PREPOWER:7481
    hence(|.f.|)x=   proof

hence|.| = |g. byA2AV:def 11java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51


Th39:
    zeroNat,D
  J be closed_interval SubsetofREAL,
   f  PartFuncof [:CarProduct(Seg     .(1+os(x)/2;
   be PartFunc of [CarProduct(Seg n --> REAL),REAL:],REAL
  fori  Nat st i inSeg n holds D. is closed_interval Subset of REAL)
arProduct ,]&f =g
holds
fore be Real st 0  eexrbe Real st 0 < r
2be Point of CarProductSn- RNS_Real) y1, beReal
st[,y1] in[:arProduct D,J:] & [x2,y2] in [:CarProduct D,J:] &
      |.2-x1.|<r        1-qrtto_power(*m)   to_power(*+)
        | (|..|).([x2,y2])-|g.)(x1,1).  e
roof
  letper java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
    J be closed_interval Subset of REAL,
     be   [CarProductSeg
    g be PartFunc of [:CarProduct(Seg n --e;
  
A1: for i be Nat A2: Z c= dom (r(#)arccos);
A2f is_continuous_on[CarProduct D,:] and
 f ;

    ||.f.||  =(hence thesisjava.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
    hence thesis by A1,A2,MESFUN16is_differentiable_inx  (  is_differentiable_in x & diff((arcsin ,XCMPLX_1
end;

Lm2:byXCMPLX_1:java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
for a1,b1 be Real, a2, . (-)to_powerm *sqrt 5-)to_power m +
proof
    let a1,1beReal,a2 b2 be R_eal;
;;
    a2-b2 = a2+(-b2)   hendiff()fx =diff()fx)java.lang.StringIndexOutOfBoundsException: Range [56, 51) out of bounds for length 73
     .= a2+(-b1) by A1,XXREAL_3:def 3
     =a1(b1) by XXREAL_3def 2;
    hence thesis;
java.lang.StringIndexOutOfBoundsException: Range [4, 5) out of bounds for length 4

java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 13
for n be non zero Nat, D be n-A4 x stx Z holdslnarcsinis_differentiable_injava.lang.StringIndexOutOfBoundsException: Range [58, 59) out of bounds for length 58
  I be  ofCarProduct(Seg n --> RNS_Real
  Jjava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
PartFunc of[CarProductSeg n -RNS_Real)RNS_Real:R,
  g be java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 7
  G2 be PartFunc of CarProduct(Seg n --,SIN_COS6:
st(proof
&  :J]=f&[IJ]   java.lang.StringIndexOutOfBoundsException: Index 75 out of bounds for length 75
&,SIN_COS6106;
  holds G2 is_continuous_on I
proof
    let n be non zero Nat, D be n-element FinSequence,
    I be Subsetof CarProduct( - RNS_Real),
    J closed_interval  ofREAL,
fjava.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 74
    g be PartFunc of [hencejava.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
    G2 be PartFunc of CarProduct(Seg n --> RNS_Real),RNS_Real;
    assume that
A1: for i be Nat st i in Seg n holds D.i is closed_interval Subset of REAL and
A2: I = CarProduct D and
A3:[I,:  dom and
A4: f is_continuous_on [:I,J:] and
A5:f g and
A6: G2 = Integral2(L-Meas,|.R_EAL g.|) |I;

    consider c,d be Real such that
A7: java.lang.StringIndexOutOfBoundsException: Range [20, 5) out of bounds for length 34

    set:Zc]-, [java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
    dom |.Rg.| = dom Rg by MESFUNC1:def 10; then
:|.   :,JA3A5Mdef;

A9:for x
             .( java.lang.StringIndexOutOfBoundsException: Range [61, 26) out of bounds for length 61
((..,))y=|Rg|.(yjava.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
   & (|.Rg   x stxinZholds 2to_power() /to_power (m+*;
        java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 10
 n -- REAL,y Element  REALjava.lang.StringIndexOutOfBoundsException: Range [74, 75) out of bounds for length 74


           (/*ajava.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 68
        by A8,ZFMISC_1:87,                =(-)to_power( & Z c=]. -1,1 .[ implies (1/2)

     [x,y] in dom g by A10,A3,A5,ZFMISC_1:87; then
A11: [x,y] in dom |.g.| by VALUED_1:def 11;

A12: Rg.([x,y]) = g.([x,y]) by MESFUNC5:def 7;

.A10,A8:87,MESFUNC1def 10java.lang.StringIndexOutOfBoundsException: Index 77 out of bounds for length 77
     hence (|.Rg.|).(x,y) = |. g.([x proof
     hence (|.Rg.|).(x,y) = (|.g.|).([x,y]) by VALUED_1:def 11,A11;
    end;

A13:for e be Real st 0 < eholdsexrbeReal st 0 < r
     & for x1,x2 be Element of CarProduct(Seg n --()(Z2*)  (1)java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
        ,xx2 be Pointof (Seg n(-^)
         = & xx2=x2& ||.xx2-x1.|| < < r  & x1 in I
              2^ -(qrt
           holds |. (ProjPMap1then
      for st inZholds (12()(# )*))|)x =arccosx /
t ebeReal;
     e0<e;then
         (((1/2)(((Z2*arccos))|)x=12*(( #Z2)*rccos)x  
14   r
   & for x1,x2 be Point of CarProduct(Seg n --> RNS_Real), y1,y2 be Real
      st [x1,y1] in [:I,J:] & [x2,y2] in [:I,J:] &
       ||.x2-x1.|| < r & |.y2-y1.| < r
         holds |. (|.g.|).([x2,y2])-(|.g.|).([x1,y1]) .| < e
           y 1,2A4,Th39java.lang.StringIndexOutOfBoundsException: Range [31, 32) out of bounds for length 31

  let x12be Pointof arProduct(egn- RNS_Real)
      assume
A16:      byA1              .5-  sqrt 5+ def2

java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 27
       assume y in J; then
17   x1,y] in [:IJ:]&[x2,y]in [:,J] byA16,:7;

       |y-. <r by A14;
       hence |. (|.g.|).([x2,y])-(|.g.|).([x1,y]) .| < e by A14,A16,A17;
      end;
     nd;

      r;
         ;
 x1x2be Element of CarProductS n - REAL);
     let xx1,java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 6
     assume that
A18: xx1=x1 & xx2=x2 and
              then
    lety bejava.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 30
     assume
:yin;then
A21: |. (|.g.|).([x2,y])-(|.g.|).([x1,y]) .| < e by A15,A18,A19;

     (ProjPMap1(|.Rg.|,x1)).y =(|.Rg.|).(x1,y)
   & (|.Rg.|).(x1,y) = (|.g.|).([x1,y])
   & (A26:             sqrt 5 - 1 > 1 - 1 by A2,XREAL_1:9;
   & (|.Rg.|).(x2,y) = (|.g.|).([x2,y]) by A9,A19,A20; then
     (ProjPMap1(|.Rg.|,x2)).y-(ProjPMap1(|.Rg.|,x1)).y
      = (|.g.|).([x2,y])-(|.g 2 to_power (k+)-(java.lang.StringIndexOutOfBoundsException: Range [42, 40) out of bounds for length 77
     hence thesis by A21,EXTREAL1:12;
    end;

    ibeNat i Seg nholdsD. isSubsetofREALbyA1; then
A22:CarProduct D is Subset of CarProduct(Seg n --> REAL)
      by FINSEQ_1:3,Th11;

A23:dom(Integral2(L-Meas,|.R_EAL g.|)) = CarProduct(Seg n --> REAL)
      by FUNCT_2:def 1;

    java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
    suppose
  c<d java.lang.StringIndexOutOfBoundsException: Range [18, 19) out of bounds for length 18
   a-                s5-1) 
on java.lang.StringIndexOutOfBoundsException: Range [46, 41) out of bounds for length 49
 

   ofSeg - )rbeReal
      st x0 in I & 0 < r
   sbe   < forx1 PointofCarProductSeg  -RNS_Real
java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
     proof
      let xx0 be Point      =.*f|)x (f.)*diffarcsinx)by A5,FDIFF_1def7
     


 asElementof CarProductSeg n - REALjava.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
        by MEASUR15:42;
      reconsider  =ProjPMap1|Rg.x0)
        as PartFunc of REAL,REAL by MESFUN16:30;

  dom Pg0    A27A2A22,3A5,java.lang.StringIndexOutOfBoundsException: Range [49, 46) out of bounds for length 50

A29:  Pg0| (dom Pg0) is continuous by A3            ( to_powerm -s5- m * to_power(*) /
A30:  Pg0|J is 2 to_powerm+*) >=
        by A27,A3,A4,A5,A2,A22,Th28;

A31:  (Integral2(L-Meas,|.Rg.|)).x0 = integral(Pg0,J)
        by A27,A3,A4,A5,A2,A22,Th32;

      per cases;
      suppose
A32:c= d;
       consider s be Real such that
A33:   0 < s
     &  endjava.lang.StringIndexOutOfBoundsException: Range [6, 7) out of bounds for length 6
     xx1xbe Point of (Seg n ->RNS_Real
          end 
java.lang.StringIndexOutOfBoundsException: Range [22, 8) out of bounds for length 54
         | (rojPMap1..,x2)y((..,1).y .  r
            by A13,A27;

( n-RNS_Real
stx1  I&|.1xx0.| <s holdsA32     (  -) <;java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
       roof
        let xx1 be Point of CarProduct(Seg 
        
java.lang.StringIndexOutOfBoundsException: Range [25, 3) out of bounds for length 37

        reconsider x1=xx1 as Element of CarProduct(Seg n --> REAL)
          MEASUR15:
         =(|Rg|x1)asP ofREAL() k=
(1+qrt5       .=arccosx)*f|Z)x (.)diff(arccos,)byA5,A7,FDIFF_1def 7
A35:    dom Pg1 = J by A34,A3,A5,A2,A22,MESFUN16:27;
A36:    Pg1| (dom Pg1) is continuous by A3,A4,A5      (.*-fx*(1/ sqrt(1-^)java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
A37:    Pg1|J is bounded & Pg1 is_integrable_on J
              hencethesisjava.lang.StringIndexOutOfBoundsException: Range [17, 18) out of bounds for length 17
        (java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 0
          byA34A3,A4,5,,A22,h32;then1>
G2xx0 =(,)& .x1 =integralPg1Jjava.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
           A6,,,A34FUNCT_1:9;then
assume
          by A7,A26,((1-sqrt 5) to_power         ((1-sqrt 5) to_power m * f  1 &f. <1
        G2/.xx0 = integral(Pg0,c,d)  < 1 by         2to_power (k)*2 to_power)1>java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
          by A2        (sqrt 5   for x st x in Z holds)#(arcsin*)`Z.=/(1(*))
A38:/x1  G2xx0=integral(Pg1c, -integral(Pg0c,d)
          by DUALSP03:4;:20

A39:    dom(Pg1-Pg0) = J /\ J         (-qrt 5) to_power(*+)/2to_power 2*m)by Th2 
A40:    (Pg1-Pg0) | J is bounded & (Pg1-Pg0) is_integrable_on J
          by A29,A36,INTEGRA5:10,11;

        for y be        (/*(arcsin)f`Zx by ,A5,DIFF_1def7
        proof
           be Real;
         assume
A41:         hence  thesisjava.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
A42:     |.
by

A43:     -(> -1 & f.x < 1) implies1&f<1  (/)#(arccos*(-5)to_power(*k+   o_power(*m;then

         (ProjPMap1(|.Rg.|,x1: c=dom(1/((arccos*)and
 P(..x1)). -(..x0).
            by XXREAL_3:def 4; java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 30
         (:(*is_differentiable_on;
byXdef ;then
         (ProjPMap1(|.Rg.|,x1assume
          .-.y;
         (ProjPMap1(|.Rg.      (/*(*)|)byA5java.lang.StringIndexOutOfBoundsException: Range [51, 50) out of bounds for length 56
            by A39,A41,VALUED_1:13;
         hence |. (Pg1-Pg0).y .| <= r java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 27
        end; then
        |cd |=*-)
,,39A,A25INTEGRA623 java.lang.StringIndexOutOfBoundsException: Range [50, 51) out of bounds for length 50
        |ndjava.lang.StringIndexOutOfBoundsException: Range [8, 9) out of bounds for length 8
         by A32,A26,A35,A37,A28,A30A12: (    tau o_power k*Lucas  +1-1<Lucas (n+k
        hence ||. G2/.xx1-G2/.xx0 .|| < r by       =1-( #Z 2) by A3,TAYLOR_1: proof
       end;
       hence
       s  Realst0s&forx1 bePointof (
       st x1 in I & ||.x1-xx0.|| < s holds ||. G2/.x1-G2/.xx0.|| < r by A33;
      end;

      suppose c <> d; then
       c < d by A24,XXREAL_0:1; then
A44:   0 < d - c by XREAL_1:50;
       set r1 = r/2;
A45:   0 < r1 & r1 < r by A27 bn*au-tb to_power (n1)+(au to_power n+)tbjava.lang.StringIndexOutOfBoundsException: Range [69, 68) out of bounds for length 77
       consider s be Real such that
6    < s
& x1,2   of (Segn -> REAL,
        xx1,xx2 be       .(12*(.x R(/-)*f|). by ,10FDIFF_1:def 7
|   inI &inI
        holds for y be Element of REAL st y in J holds
         |. (ProjPMap1(|.Rg.|,x2)).y-(ProjPMap1(|.Rg.|,x1)).y ;
                   (tbn + tn+(1x^2 ^ (1/2
       take s;
6

       let xx1 be Point of CarProduct(A33:  [  ((rcsin+(# 1/2)f`|.a.x
       assume
A47 xx1 in I &|.x1-x0.|<s

siderx1=xx1  Element of CarProduct(Seg n -- REAL)
         by MEASUR15 then
       reconsider Pg1 = ProjPMap1(|.Rg.|,x1) as PartFunc of REAL,REAL
         by MESFUN16:30;
:dom =J by A47,3,5,2A22MESFUN16:;
A49:   Pg1A12:for  xin Zholds x*(1- #Z2 #(/2=/qrt(-^2java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
A50:   Pg1|J is bounded A:x in;
         by A47,A3,A4,A5,A2,A22,Th28;
       (Integral2(L-Meas,|.Rg.|)).x1 = integral(Pg1,J)
         byA47A,,A5,A2,22,h32 then
       G2.xx0 = integral(Pg0,J) & G2.xx1 =        G2.xx0 = integral(Pg0,J) & G2.xx1 = integral
         A15:1x20by A3,A14,h1;
G2.xx0 =integral(Pg0,c          sqrt 5 >sqrt1by SQUARE_1:7 then
         by A7,A26,XXREAL_1:29,INTEGRA5:def 4; java.lang.StringIndexOutOfBoundsException: Range [0, 51) out of bounds for length 32
       G2/.xx0 = integral(Pg0,c,d) & G2/.A37:-sqrtAproof
         by A2,java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 12
       ,c,d)
          DUALSP03: then
G2.x1 -G2/xx0  (g1-g0,,d)
         by A24,A26,A48,A50FDIFF_1:ef7
A51:   ||. G2/.xx1-          (-sqrt)<1+sqrt 7

8,12;then
:P-)| isbounded&(g1-g0)  J
        A29,,:,;

   for y  Real st  in J holds | Pg1-Pg0)y.|=hence thesis byA36,XXREAL_0:;
       proof
         yReal;
        assume  Z c=dom(idZ)(#(rccos)(# (1/2)*)&Z = ].-,1 . & f=f1f2
A54    y in J then
A55:    )-(R(/)* is_differentiable_onZ   xst        (+ )to_power(+)/2to_power (1)by ,XREAL_1:;
          by A46,A47,A27;

A56:P(..x0) -.   XXREAL_3:ef 3;

P|x).java.lang.StringIndexOutOfBoundsException: Range [44, 43) out of bounds for length 57
         = (ProjPMap1A6   dom(id Z(#arccos) \dom( R(2)*)by,VALUED_112;
           by XXREAL_3:def 4;           by XXREAL_3:def 4; XBOOLE_1:18java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
        A9 idZ)#( is_differentiable_onZby ,h17;
           by A56,XXREAL_3tb  (m+    tau then
        (ProjPMap1(|.Rg.|,x1)).y-(ProjPMap1(|.Rg.|,x0)).yA12 forx x Z holdsx(- Z2 R (-/)x/qrt(-^2)
        (ProjPMap1
          by ,,:13;
        hence thesis by A55,EXTREAL1:12;
       end tb to_power(1n +tau to_powerfx>0byA5A13
        thesis by XCMPLX_1:99;
         by A24,A26,A52,A53,  for x st x in Z holds (((id#()-( #(/)f`Z).xarccos.x
       |. java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 10
       hence ||. G2/.xx1-G2/.xx0 .|| < r by A51, diff(# 12)*,)by A1,,A11,         +1  auto_power (m+*tbn+tn FIB_NUM3:;
      ;
     end;
     hence G2 is_continuous_on I by A2,A22,A6,A23,NFCONT_1:19;
    end;

    suppose.arccosx/qrt(-^2-( R (1/)*)|) by ,8A16,Th17
 c ;
     for x0 be Point       .arccos.-/qrt(-^2+*1x # )# -/)
 x0inI   <r
      ex s be Real st 0<s   ;
       st x1 in Iend;
     proof
      let xx0 theoremTh25:
      a&x>- & f.<1)implies id ))(arcsin)*) is_differentiable_on &
:xx0  I &  r;

      reconsider x0=xx0 as Element
        by MEASUR15:42;
      reconsider Pg0 = ProjPMap1(|.Rg.|,x0)
        as PartFunc of REAL,REAL by MESFUN16:30;

      dom Pg0 = J by A2,A3,A5,A22,A58,MESFUN16:27; then
(|R_EAL.x) 0
       ,A7X:MESFUN16:;then
A59  then

      s beReal suchthat
A60:  0 <     xjava.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
    & for x1,x2 be Element of CarProduct(Seg n --> REAL),
       xx1,java.lang.StringIndexOutOfBoundsException: Range [6, 1) out of bounds for length 45
      st xx1 = x1 &     st  injava.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 73
java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
        |. (ProjPMap1(|.Rg.|java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
           by A13,A58;

      for x1 be Point of CarProduct    )x)diff((arcsin*,  ,A7,11FDIFF_121
s inI  |.-xx0.|<s holds|.G2/x1-2/xx0 | < r
      proof
 let  be ointof CarProduct( n-- RNS_Real);
       
:xx1 inI & |xx1-x0.|< s;

       x1 asElementof CarProductSegn -> REAL)
by :;
       
         by MESFUN16:30;
        Pg1 =Jby A3,5A2,22,61,:;then
       IntegralL-,rojPMap1|R_EALg|x1)=0
byA57,A7,:,MESFUN161 
       (Integral2(L-Meas,java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
       G2. stin fxx/&.x 1&x<;
defthen
       G2/.A4  =i )18
       henceforx inholds .(/*+java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
      end;
      hence
      ex
        inI&|x1xx0.|<s holds|.G2.-G2/xx0.|<r byA60java.lang.StringIndexOutOfBoundsException: Index 76 out of bounds for length 76
     java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 9
     hence G2 is_continuous_on tjava.lang.StringIndexOutOfBoundsException: Range [6, 7) out of bounds for length 6
    A10: for  holds((java.lang.StringIndexOutOfBoundsException: Range [38, 36) out of bounds for length 69


theorem
for n be non zero Nat, D be n-element FinSequence,
  Ibe Subsetof (Segn -> RNS_Real,
  J be closed_interval Subsetfor xs x in Z holds((idZ)#(arccos*)`|)=.x/-/a
  f be PartFunc of [:CarProduct(Seg n --> RNS_Real),RNS_Real:],RNS_Real,
  g be PartFunc of [:CarProduct(Seg n --> REAL),REAL:],REAL,
  G2 be PartFunc of CarProduct(Seg n --> RNS_Real),RNS_Real
 st (for i be Nat st i in Seg n holds D.i is closed_interval Subset of REAL)
  & I = CarProduct D
  & [:I,J:] = dom f & f is_continuous_on [:I    assume
  &G2 =Integral2-easR_EAL )|holds G2 s_continuous_onjava.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65
proof
    let n be non       .=((arccos)*f).i`)+( Zx*a)fx  A11
be of( n -> )
 java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 40
PartFunc[CarProductS  - ):,java.lang.StringIndexOutOfBoundsException: Index 74 out of bounds for length 74
    g  :
      holds.a2&f. 0 implies(#R (/)* is_differentiable_on &forx

A1: for i be Nat st iA1  cdom( R1))
A2:I=CarProduct  and
A3: [:I,J:] = dom f and
A4: fis_continuous_on [:I,J:] and
  g and
A6: G2 = Integral2(L-Meas,R_EAL g) |I;

    consider c,d be  ;
A7: J = [.c,A9  # (2)f is_differentiable_on by ,FDIFF_1:;

A8:for e be Realp
      for x1,2be Point of java.lang.StringIndexOutOfBoundsException: Range [59, 39) out of bounds for length 59
        st ||.x2-x1.|| < r & x1 in I & x2 in I
        java.lang.StringIndexOutOfBoundsException: Range [4, 1) out of bounds for length 8
    proof
  Real;
assume0 <e;then
consider r be  uch 
A9:.(/)*(fx R(/-)*f|)x A7,F: 7
&for x1,x2 be Point of CarProduct(eg -> RNS_Real),y1y2beReal
      st [x1,y1] in [:I,J:]       .-*a^- Z)# -/  ,A12
      endjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
        by A1,A2,A4,A5,Th37;

     take r;
     thus 0 < r by A9;
     let x1,x2 be Point of CarProduct(Seg n --> RNS_Real);
     assume
A10: ||.x2-x1.|| < r & x1& forxst  in Z holds(( )#(arcsin)f3)+(# (/))*)|Z). =arcsin.

     let y be Real;
     assume y in J; then
A11: [x1,y] in [:I,J:] & [x2,y] in [:I,J:] by A10,: ff1-&f2=Z and

     |.y-y.| < r by A9;
     hence |. g.([x2,y])-g.([x1,y]) .| < e by java.lang.StringIndexOutOfBoundsException: Range [0, 48) out of bounds for length 15
    end;

    set Rg = R_EAL g;
A12:dom Rg = [:I,J:] by A3,A5,MESFUNC5:def 7;

: e  Real   java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 54
   & forA8  xs xinZ f3=/ .x > -&f3.<1byA3java.lang.StringIndexOutOfBoundsException: Range [64, 65) out of bounds for length 64
      xx1,xx2 be Point of CarProduct  then
      st xx1=x1 & xx2=x2 & ||.xx2-xx1.|| < r & x1 in I
      & x2 in I holds for y be Element of REAL st y in J
         holds 
    proofthen
     let e be Real;
     assume 0 < e; then
     consider r be Real such that
A14: 0 < r
   & for xx1,xx2 be Point of CarProduct(Seg n --> RNS_Real)
      st ||.xx2-xx1.|| < r & xx1 in I & xx2 in I holds
      for y be Real st y in J holds
        |. g.([xx2,y])-g.([xx1,y]) .| < e by A8;
     take r;
     thus 0 < r by A14;

     let x1,x2 be Element of CarProduct(Seg n -A18 xin ;
     let xx1,xx2 be Point of CarProduct(Seg n -*,x +diff( #R(/)*x  1A,A7FDIFF_118
assumethat
A15: xx1=x1 & xx2=x2 and
A16: ||.xx2-xx1.|| < r & java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 13
      a./a+/asqrt1(/^)+-*^2- # )# (-/  A2Ajava.lang.StringIndexOutOfBoundsException: Index 79 out of bounds for length 79
     
 yin J;then
.g(x2y)-.(x1,] |<e byA14A15,16;

     (ProjPMap1(Rg,x1)).y =Rg.(x1,y) & Rg.(x1,y end
   & (ProjPMap1(Rg,x2)).y =Rg.(end;
       by A12,A16,A17,ZFMISC_1:87,MESFUN12:def
     (ProjPMap1(Rg,x2)).y-(ProjPMap1(Rg,x1)).y = g.([x2,y])(forxstx   holds f1x=^2  fx>  .x=/ &f3.&nbsp; -  . < 1  
       by Lm2;
     hence thesis by A18,EXTREAL1:12;
    endjava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8

     F= ntegral2-MeasRg)java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
:F (Seg  ->REAL  FUNCT_2def 1;

         iinSeg nholdsD is    by A1 
CarProduct  SubsetofCarProduct( n-> REALjava.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
by:,;

     cases;
    suppose
A21:  c< d;then
A22:  c inA11: for x st x in   (^- Z 2 #R (-/)1(*(1-x/^)java.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 71
     reconsider J as non empty closed_interval Subset  inZ;
   ',']by ,XREAL_129INTEGRA5def3;

     for x0 be Point of CarProduct(java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
      st x0 in I & 0 < r
      ex s A16 >by A3Ajava.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
       st x1 in I & ||.x1-x0.|| < s holds ||.G2/.x1-G2/.x0.|| < r
     proof
      let xx0 be Point of CarProduct(Seg n --> RNS_Real), r be Real;
      assume
A24:  xx0 in I & 0 < r;

      .(^2 - (*)2) #(12 by A16,:0
        by MEASUR15:42;
      reconsider Pg0  endjava.lang.StringIndexOutOfBoundsException: Range [6, 7) out of bounds for length 6
        by MESFUN16:30;
A25
:  A3A,Th23java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
A27 Pg0 is bounded  Pg0 is_integrable_on J
        by A24,A3 .((id Z#((arccos*)|)diff(R(2)*,x ,A18
A28:        =((idZ()()f3)|)x ( #R(/)*)|).  A7,A18,
        by A24,A3,A4.=rccos(/)-/a*qrt((/))-((# 12)f)`Z.byA9,A8

      java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
      suppose
A29:   c =  .=rccos(x/-/a(-xa^) x(/*1x^)) A11
       consider s be  such that
 0 < s
     & for x1,x2 be Element of CarProduct(Seg n -->       .arccos.(x/a);
       xx1,x2 be  of CarProductS n ->RNS_Real)
        st xx1=x1 & xx2=x2 & ||.xx2-xx1.|| < s & x1 in I & x2 in  hencethesisby ,10A7FDIFF_1java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
        holds for y be Element of REAL theorem
        |. (ProjPMap1(Rg,x2)).y-(ProjPMap1(Rg,x1)).y .| < r by A13,A24;

       for x1 be Point of CarProduct(Seg n --> RNS_Real)
           |xxx0.|<s  ||.G2/x1-2/xx0 .|< r
       proof
        letA4= (# )s^)) by A1,VALUED_1:def 5;
        assume
A31:    xx1 in I & ||.xx1-xx0.|| < s;

        reconsider x1=xx1 as Element of CarProduct(Seg n --> REAL)
          by MEASUR15:42;
        reconsider Pg1 = ProjPMap1(Rg,x1) as PartFunc of REAL,REAL
          by MESFUN16:30;
A32:    dom Pg1 = J by A31,A3,A5,A2,A20,MESFUN16:27;
A33:    Pg1 is continuous by A3,A4,A5,Th23;
A34:    Pg1|J is java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 18
          by A31,A3,A4,A5,A2,A20,Th27;
        (Integral2(L-Meas,Rg)).x1  Zn(^  by:
           A31,,,A5A2,20Th30;then
        G2.xx0  
         byA6,A28AFUNCT_1:49; then
        G2.xx0 = integral(Pg0,c,d) & G2.xx1 = integral(Pg1,c,d)
          by A7,A23,java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 10
        G2/.xx0 = integral(Pg0, then
          by A2,A6,A19,A10: (sin^).x=(sin.x)" by A7,A8,RFUNCT_1:def 2
A35:    G2/.xx1 - G2/.xx0 = integral(Pg1,c,d) - integral(Pg0,c,d)
          by DUALSP03:4;

A36:    dom(Pg1-Pg0) = J /\ J by A25,A32,      =-/(^.  -) s^|)) ,,java.lang.StringIndexOutOfBoundsException: Range [77, 73) out of bounds for length 79
A37:    (Pg1-Pg0) |J is bounded & (Pg1-Pg0) is_integrable_on J
by,A33I1,java.lang.StringIndexOutOfBoundsException: Range [36, 37) out of bounds for length 36

        y Real yinJ holds | (g1-Pg0)y . < r
        proof
         let  be Real;
         assume
A38:     y in J; then
A39:     |. (ProjPMap1(Rg,x1)).y-(ProjPMap1(Rg,x0)).y .| < r
           by A30,A31,A24;
thesis
A40:     -(ProjPMap1 hencethesis  A1A6FDIFF_1

         (ProjPMap1(Rg,x1)).java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
,x0)).y
            by XXREAL_3:def 4; then
         (ProjPMap1(Rg,x1)).y-(ProjPMap1(Rg,x0)).y = Pg1.  Z holds (((1/n)(#)(( #Z n)*(cos^)))`|Z).x=sin.x/((cos.x))
            by A40,XXREAL_3:def 2; then
         (ProjPMap1(Rg,x1)).yA3  x stxinZ cosx<0java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
         (ProjPMap1(Rg,x1)).y-(A5: cos^ is_differentiable_on Z by A3,FDIFF_4is_differentiable_onby A3FDIFF_439
            by A36,A38,VALUED_1:13;
java.lang.StringIndexOutOfBoundsException: Range [53, 9) out of bounds for length 57
        end; then
        |. integral(Pg1-A6: ( #Z n)*(cos^) is_diffe Zby A4,FDIFF_1:;
:23; then
        |. integral(Pg1,c,d) - java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 6
          by A29,  st    (/))( #n*^)|)sin/(.java.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 72
       |./.x1-G2. .|<rA35,:def2java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
       end;
       hence
       ex s be Real st 0<s & for x1 :cos.(x  A8:ef2
         inI&|.-x0.|| < s holds ||.G2/.x1-G2/.xx0.|| < r by A30;
      end;


  byXXREAL_0;
def7
         /;
:  &  ;

       consider s be Real such that
   <java.lang.StringIndexOutOfBoundsException: Range [12, 13) out of bounds for length 12
,
        xx1,xx2 be .sx(c.x Z)/(. Z(-) :
        stxx1 =&xx2  x2&|.x2-xx1|  s & x1    x2 inI
              .=sin.x(.)# (+n-))byA3A,:
|((gx).-ProjPMap1Rg,1). |<r1/-)
             by A13,XREAL_1:139,java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
       take s;
       thus<s  A43;

        xx1bePoint of CarProduct(n->RNS_Real;
              assume
A44:   xx1 in I & ||)and

reconsider x1= as Element of CarProduct(Seg n->REALjava.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65
         by MEASUR15:42;
        Pg1  ProjPMap1,)as of ,
         by       ln.by 64
A45:   dom Pg1 = J by A44,A3,A5,A2,A20,MESFUN16:27;
A46:    Pg1 is continuous A5 sin*  Zby F:9;
A47:    Pg1|J is bounded & Pg1 is_integrable_on J
         by  let x;
       (Integral2(L-Meas,Rg)).x1 = integral(Pg1,J)
         byA,A4,A2,Th30 
       G2.xx0 = integral(Pg0,J) & G2.xx1 = integral(Pg1,J)
        by A6,A24,A28,A44,FUNCT_1:49; then
       G2.xx0 = integral(Pg0,c,d) &    then diff(sin*ln,)= diff(sin,ln.x)*diff(ln,x) by A6,FDIFF_2:13
         by A7,A23,XXREAL_1:29,INTEGRA5:def 4; then
       G2/.xx0 = integral(Pg0,c,d) & G2/.xx1 = integral(Pg1,c,d)
         by A2,A6,A19,A20,A24,A44,PARTFUN1:def 6; then
       G2/.xx1 - G2/.xx0 = integral(Pg1,c,d) - integral(Pg0,c,d)
         by DUALSP03:4; then
       G2/.xx1 - G2/.xx0 = integral(Pg1-Pg0,c,d)
        by A21,A23,A45,A47,A25,A27,INTEGRA6:12; then
A48:   ||. G2/.xx1-G2/.xx0 .|| = |. integral(Pg1-Pg0,c,d) .| by EUCLID:def 2;

A49:   dom(Pg1-Pg0) = J /\ J by A25,A45,VALUED_1:12; then
A50:   (Pg1-Pg0) |J is bounded & (Pg1-Pg0) is_integrable_on J
         by A26,A46,INTEGRA5:10,11;

       for y be Real st y in J holds |. (Pg1-Pg0).y .| <= r1 / (d-c)
       proof
        let y be Real;
        assume
A51:    y in J; then
A52:    |. (ProjPMap1(Rg,x1)).y-(ProjPMap1(Rg,x0)).y .| < r1/(d-c)
          by A43,A44,A24;

A53:    -(ProjPMap1(Rg,x0)).y = -Pg0.y by XXREAL_3:def 3;

        (ProjPMap1(Rg,x1)).y-(ProjPMap1(Rg,x0)).y
         = (ProjPMap1(Rg,x1)).y  +-(ProjPMap1(Rg,x0)).y by XXREAL_3:def 4; then
        (ProjPMap1(Rg,x1)).y-(ProjPMap1(Rg,x0)).y = Pg1.y + -Pg0.y
           by A53,XXREAL_3:def 2; then
        (ProjPMap1(Rg,x1)).y-(ProjPMap1(Rg,x0)).y = Pg1.y - Pg0.y; then
        (Rg,1)y(ProjPMap1(,0).y =(-Pg0)y
           by A49,A51,VALUED_1:13;
        hence thesis by A52,EXTREAL1:12;
       end    hence thesis by A5A,:def ;
  end;
 thesis by ,3F:9java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
       |. integral(Pg1-::f.x=cos(ln.x)
       hence ||. G2java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
      end;
     end;
     hence G2 is_continuous_on I by A2,A6,A19,A20,NFCONT_1:19;
    end;

    suppose
SIN_COS:63,65;

A2:Z c=dom(cos*xp_R);
      st x0 in I & 0 <: java.lang.StringIndexOutOfBoundsException: Range [37, 34) out of bounds for length 53
      ex s be Real st 0<s & for x1 be Point of CarProduct(Seg n --> RNS_Real)
       st x1 in I & ||.x1-x0.|| < s holds ||.G2/.x1-G2/.x0.|| < r
     proof
      let xx0 be Point of CarProduct(Seg n --> RNS_Real), r be Real;
      assume
A55:  xx0 in I & 0 < r;

      reconsider x0=xx0 as Element of CarProduct(Seg n --> REAL)
        by MEASUR15:42;
      reconsider Pg0 = ProjPMap1(Rg,x0) as PartFunc of REAL,REAL
        by MESFUN16:30;
      dom Pg0 = J by A55,A2,A20,A3,A5,MESFUN16:27; then
      Integral(L-Meas,ProjPMap1(Rg,x0)) = 0
        by A54,A7,XXREAL_1:29,MESFUN16:1; then
A56:  (Integral2(L-Meas,Rg)).x0 = 0 by MESFUN12:def 8;

      consider s be Real such that
A57:  0 < s
    & for x1,x2 be Element of CarProduct(Seg n --> REAL),
       xx1,xx2 be Point of CarProduct(Seg n --> RNS_Real)
       st xx1=x1 & xx2=x2 & ||.xx2-xx1.|| < s & x1 in I & x2 in I
       holds for y be Element of REAL st y in J holds
        |. (ProjPMap1(Rg,x2)).y-(ProjPMap1(Rg,x1)).y .| < r
           by A13,A55;

      for       .=-expR*sin(xp_R.x;
       st x1 in I & ||.x1-xx0.|| < s holds 
      proof
       let xx1 be Point of CarProduct(Seg n --> java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
       assume
58:   inI & |.x1-x0.| <s

 of ( n->REAL)
         by MEASUR15:42;
   reconsiderPg1 java.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 65
         by MESFUN16:30;     inZjava.lang.StringIndexOutOfBoundsException: Range [18, 19) out of bounds for length 18
       dom,5;
       Integral(L-Meas,ProjPMap1(Rg,x1)) = 0
           assume
       (Integral2(L-Meas,Rg)).x1 = 0 by MESFUN12:def 8; then
A2:Z c= dom (exp_R*cos;
       G2/.xx0 = 0 & G2/.xx1 = 0 by A2,A6,A19,A20,A55,A58,PARTFUN1:def 6; then
       /  G2.=0RNS_Real by RLVECT_1:java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
       hence ||. G2/.xx1 - G2/.xx0 .|| < r by A55;
      end;
      java.lang.StringIndexOutOfBoundsException: Range [11, 12) out of bounds for length 11
      ex s be Real st 0<s &    then
       st x1 in I & ||.x1-xx0.|| < s holds ||.G2/.x1-G2/.xx0.|| < r by A57;
     end;
     hence G2 is_continuous_onIby A2A6,A20,NFCONT_119
    end;
end;

theorem Th42:
for n be non zero Nat, D be n-element FinSequence,
   ( n- ,java.lang.StringIndexOutOfBoundsException: Range [59, 58) out of bounds for length 59
  f be PartFunc of java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
   f
 &  Z =dom(*)impliesexp_Ris_differentiable_onZ &for x
 holds
  for e be Real st 0 < e
   ex r be Real st 0 < r
     , n-lementFinSequence 
       st PtCarProduct x java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 4
        & (for iA2 cdom(xp_Rsin;
             ex xi,yi be Real st xi = x.i & yi = y  then
  holds |. ffor(*`Z ..) x
proof
  nonzero Nat, ben-lement FinSequence
    g be PartFunc of CarProduct(Seg n -    then
    f be PartFunc of CarProduct(Seg n --> REAL),REAL;
    assume that
A1: f = g and
A2 CarProduct 
A3: CarProduct D c= dom g and
A4: for i be Nat st i in Seg n holds D.i is closed_interval;

    set S =theorem Th38java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13

    for i be Nat st i in Seg n holds D.i is Subset of REAL java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
java.lang.StringIndexOutOfBoundsException: Range [14, 2) out of bounds for length 56
      by FINSEQ_1:3,Th11;

    ex I be Subset of CarProduct(Seg n --> RNS_Realhence (sin+)`Z. =iff(sin,  (,x A2A1,FDIFF_118
    I = CarProduct D & I is compact
    proof
     per cases;
     suppose D is nonend
      hence thesis by A4,MEASUR15:51;
     
      notDis -empty;then
 by Th6
      reconsider I = CarProduct D
as  (  -> RNS_Real) byA5,MEASUR1542;
      I is compact by A6;
      hence thesis;
     end;
    end; then
    consider E be Subset of CarProduct S such that
A7: E = CarProduct D & E is compact;

A8: g is_uniformly_continuous_on E by A2,A7,NFCONT_2:10;

    let e be Real;
    assume 0 < e; then
    java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 33
A9: 0 <  assume
  & for z1,z2 be Point of CarProduct S st z1 in E & z2  then Z c=dom(sin-os)/ dom exp_Rby VALUED_1:def ;
      & ||.z1 - z2.|| < r0 holds ||. g/.z1 - g/.z2 .|| < e by A8;

    set r1 = r0/2;
    set r = r1/n;
A10: 0 < r1 by A9,XREAL_1:215;
:  byA9XREAL_1:;

    r*r*n*1 <= r*r*n*n by A9,NAT_1:14,XREAL_1:64      =2* exp_R.x  sin.;
    r*r*n <= (r*n)*(r*n); then
    r*r*n <= r1*(r*n) by XCMPLX_1:87; then
    r*r*n <=::f.x=exp_R.x*(sin.x+cos.x)
    sqrt((r*rjava.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
 r1 A9,SQUARE_1:2 
s(rr)n <r0byA11,XREAL_0:2;

    take r;
    thus 0 < r by A10,XREAL_1:139;

    let x,y be n-A1: Z c= dom (exp_R(#)(sin)
    
CarProduct x  D &PtCarProducty CarProductD
   i Nat st   domD holds
     ex xi,yi be Real st xi = x.i & yi = y.i & |.xi-yiA3 sin+os  Zby Th38;

   stxinZ (((+os)`Z.= *exp_Rx *cosx
A14:dom D = Seg n by FINSEQ_1:def 3;

    reconsider z1 = PtCarProduct x, z2 = PtCarProduct y
     as Point of CarProduct S by A5,A13, then

    g/.z1 = g.z1 & g/.z2 = g.z2 by A13,A3,PARTFUN1:def 6; then
    g/.z1 - g/.z2 = f.(PtCarProduct x) - xp_R.x)diff((in+),x)
      by A1,DUALSP03:4; then
A15: ||.g/.z1 - g/.z2 .|| = |.f.(PtCarProduct       .=(in+cos.x)(exp_R.x)+(xp_R)*diff(sin+),x)byTAYLOR_1:16
       by EUCLID:ef 2;

    reconsider m = n-1 as Nat by NAT_1:14,21;

    consider pxy be (m+1)-element FinSequence such that
A16:z1-z2 = PtCarProduct pxy by MEASUR15:24;
    consider nrxy be Element of REAL (m+1) such that
A18:( for i be non zero Nat st i <= (m+1) holds
       ex pxyi be Point of ElmFin(S,i) st pxyi=pxy.i & nrxy.i =||.pxyi.|| )
  & ||. z1-z2 .|| = |.nrxy.| by A16,MEASUR15:26;

    for i being Nat st i in dom nrxy holds 0     assume
    proof
     let i be Nat;
     assume i in dom nrxy; then
A19: i in Seg len nrxy by FINSEQ_1:def 3; then
A20: i in Seg (m+1) by CARD_1:def 7; then
A21: 1 <= i & i <= m+1 by FINSEQ_1:1;
      Nat byA19,FINSEQ_11;
     consider pxyi be Point of ElmFin(S,i1)      .=(((in-cos)`|Z).x* exp_R.x - diff(exp_R,x) *(sin-cos).x)/(exp_R.x)^2
A22: pxyi = pxy.i & nrxy.i = ||.pxyi.|| by A18,A21;
     thus 0 <= nrxy.i by A22;

     consider pxi,pyi be Point of ElmFin(S,i1) such that
A23: pxi=x.i & pyi=y.i & pxi-pyi = pxy.i by A21,A16,MEASUR15:25;
     S.i = RNS_Real by A20,FUNCOP_1:7; then
Si1) RNS_Realby A21,EASUR15:def 3; then
A25: pxyi = x.i-y.i by A22,A23,DUALSP03:4;

     xijava.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 76
i = java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 50
    end; then
    |.nrxy.| <= sqrt((r*r)*(len nrxy)) by LOPBAN11:10; then
    .. <= sqrt((r*r)*(m+1)) by CARD_1:def 7; then
    |.nrxy.| < r0 by XXREAL_0:2,A12;.(2*cos.)(1/xp_Rx by A5,XCMPLX_1:60
    hence |. f.(PtCarProduct x) - f.(java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 39
A7,13A9,15,A18java.lang.StringIndexOutOfBoundsException: Range [27, 28) out of bounds for length 27
end;

theorem Th43:
for n be non zero
  f be PartFunc of CarProduct(Seg n --> RNS_Real),RNS_Real,
  g be PartFunc of CarProduct(Seg n --> REAL),REAL
 st f = g
  & ( for i be Nat st i in Seg n holds D.i is closed_interval Subset of REAL )
  & f is_continuous_on java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 24
 holds g is_integrable_on Prod_Measure(L-Meas n)
proof
    defpred P[non zero Nat] means
    for D be $1-element FinSequence,
    f be PartFunc of CarProduct(Seg $1--> RNS_Real),RNS_Real,
    g be PartFunc of CarProduct(Seg $1 --> REAL),REAL
    st f = g
  & (for i be Nat st i in Seg $1 holds D.i is closed_interval Subset of REAL)
  & f is_continuous_on CarProduct D & dom f = CarProduct D
    holds g is_integrable_on Prod_Measure(L-Meas $1);

A1: P[1]
    proof
     let D be 1-element FinSequence,
     f be PartFunc of CarProduct(Seg 1 --> RNS_Real),RNS_Real,
     g be PartFunc of CarProduct(Seg 1 --> REAL),REAL;

     assume that
A2:  f = exp_R,  x*diff(,)
:for i be  st i Seg1  .is Subsetof REALand
A4:  f is_continuous_on CarProduct D and
A5:  dom f = CarProduct D;

     1 in Seg 1; then
     reconsider I = D.1 as closed_interval Subset of REAL by A3;

           .=sin.x*exp_R.x+ (exp_R.x)*diff(sin,x) by TAYLOR_1:16
     reconsider g0 = g as PartFunc of REAL,REAL by MEASUR14:37;

A6:  CarProduct D = I by MEASUR13:def 3;

A7:  I is Element of L-Field by MEASUR12:72,75;

     now let x0,r be Real;
      assume
A8:   x0 in I &0 <r;
      reconsider p = x0 as Point of RNS_Real by XREAL_0:def 1;
      reconsider pt = p as Point of CarProductproof

      f|I is_continuous_in pt by A4,A6,A8; then
      consider s be Real such that
A9:   0 < s
    & for p1 be Point of RNS_Realos.x *diff(xp_R,x) +exp_Rx  (os,x)
      holds ||. (f0|I)/.p1 - (f0|I)/.p .|| < r by A8,Th13,NFCONT_1:7;
      take s;
      thus 0 < s by A9;
      hereby let x1 be Real;
       assume
A10:    x1 in I & |. x1-x0 .| < java.lang.StringIndexOutOfBoundsException: Range [0, 33) out of bounds for length 0
       reconsider p1 = x1 as Point of RNS_Real by XREAL_0:def 1;
       p1 - p = x1 - x0 by DUALSP03:4
       ||. p1 - p .|| = |. x1 - x0 .| by EUCLID:def 2; then
A11:    ||. (f0|I)/.p1 - (f0|I)/.p .|| < r by A5,A6,A9,A10;

(f0|).p1  x1  A2,A5,A6,A10,PARTFUN1:ef 6;
       (f0|I)/.p = g0.x0 by A2,A5,A6,A8,PARTFUN1:def 6  then
       (f0|I)/.p1 - (f0|I)/.p = g0.x1 - g0.x0 by A12,DUALSP03:4;
       hence|.g0.x1 - g0.x0 . < r by A11EUCLIDdef 2;
      end;
     end; then
A13: g0|I is continuous by A2,A5,A6,java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 32

     per cases;
     suppose I <> {}; then
      reconsider I as non empty closed_interval Subset of REAL;
      g0||I is bounded & g0 is_integrable_on I by A2,java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 17
      hence sinx0

     end;
;
      hence g is_integrable_on Prod_Measure(L-Meas 1)
        by A2,A5,Th1,MEASUR13:def 3;
     end;


A14:for n be non zero Nat st P[n] holds P[n+1]
    proof
     let n be non
     assume
A15: P[n];

     let D java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 79
     f be PartFunc of CarProduct(Seg (n+1) --> RNS_Real),RNS_Real,
     g be PartFunc of CarProduct(Seg (n+1) --> REAL),REAL;

     assume that
A16: f = g and
17:for i be Nat st i in Seg (n+1) holds
       D.i is closed_interval Subset of REAL and
A18: f is_continuous_on CarProduct D and
A19: dom f = x st x in Z  (# )(java.lang.StringIndexOutOfBoundsException: Range [43, 42) out of bounds for length 66

     reconsider f0 = f
      as PartFunc of [:CarProduct(Seg n --> RNS_Real),RNS_Real:],RNS_Real
         by MEASUR15:38;
A20: f0 is_continuous_onjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6

A21: CarProduct(Seg (n+1) --> REAL)
      = [:CarProduct(Seg n --l ;
     reconsider g0 = g
     as PartFuncthen
     set Rg0 = R_EAL g0;

     for i be Nat st i in Seg (n+1) holds D.i is Interval by A17; then
     reconsider E = CarProduct D
      as Element of Prod_Fieldby;

A22: g is E-measurable & dom g = E
   & for e be Real st 0 < e
      ex r be Real
       st 0 < r
        & for x,y be (n+1)-element FinSequence of REAL
           st PtCarProduct x in CarProduct D & PtCarProduct y in CarProduct D
            & for i be Nat st i in dom D holds
               ex xi,yi be Real st xi = x.i & yi = y.i & |.xi-yi.| < r
           holds |. g.(PtCarProduct x) -g.(PtCarProduct y) .| < e
            by A16,A17,A18,A19,Th42,MEASUR15:66;

 (+1 isclosed_interval Subsetof REALby A17FINSEQ_1:; then
     consider
A24: D.(n+1) = [. s,t .] by MEASURE5:def 3;

     per cases;
     suppose
      s <= t; then
A25:  [.s,t.] = ['s,t'] by INTEGRA5:def 3;

      reconsider J = ['s,t'] as Element of L-Field by MEASUR10x;

      reconsider D1 = D|n as n-java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 31

A26:  CarProduct D java.lang.StringIndexOutOfBoundsException: Range [2, 1) out of bounds for length 7

A27:  for i be Nat st i in Seg n holds  D1.i c= (Seg n-->REAL).i
      proof
       let i be Nat;
       assume
A28:   i in Seg n; then
A29:   i <= n by FINSEQ_1:1;
       Seg n c=Seg (n+1) by NAT_1:11,FINSEQ_1:5; then
       D.i is closed_interval Subset of REAL by A17,A28; then
       D.i c= REAL; then
             .=2*java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 61
       hence D1.i c= (Seg n-->REAL).i by A28,FUNCOP_1:7;
      end; then
A30:  CarProduct D1 is Subset of CarProduct(Seg n --> REAL) by Th10;

A31:  dom Rg0 = [:CarProduct D1,[.s,t=2cos.x(x*(sin. Z ) byTh1
A32:  dom |.Rg0.| = [:CarProduct D1,[.s,t .]:] by MESFUNC1.=2cosx(java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 56

A33:  for x be Element of CarProduct(Seg n --> REAL)
      st x in CarProduct(Seg n --> REALhence thesis by A1AFDIFF_1:9;
      holds dom ProjPMap1(|.Rg0.|,x) = {}
      :x.2java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
      proof
       let x be cos)*f is_differentiable_on Z & for x st x in Z holds (((sin/cos
       assume x in CarProduct(Seg n --> REAL) \ CarProduct D1; then
       not x in CarProduct D1 by XBOOLE_0:def 5;
       hence dom ProjPMap1(|.Rg0.|,x) = {} by A30 java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
java.lang.StringIndexOutOfBoundsException: Range [18, 15) out of bounds for length 63
Integral2L-,|R|)x = 0 MESFUN12:ef 8;
      end;

A34:  
      st x in CarProduct D1 & y in [.s,t.]
      holds (ProjPMap1(|.Rg0.|,x)).y = (|.Rg0.|).(x,y)
    & (|.java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 6
      proof
       let x be Element of CarProduct(Seg n --> REAL),
       y be Element of REAL;
       assume
A35:   x int(.<java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 28
       hence (ProjPMap1(|.Rg0.|,x)).y = (|.Rg0.|).(x,y)
       by A32,ZFMISC_1:87,MESFUN12:def 3;

       [x,y] in dom g by A35,A26,A16,A19,ZFMISC_1:87; then
A36:   [x,y] in dom |.g.| by VALUED_1:def 11;

A37:   Rg0.([x,y]) = g.([x,y]) by MESFUNC5:def 7;

       (|.Rg0.|).(x,y) = |. Rg0.([x,y]) .|
        by A35,A32,ZFMISC_1:87,MESFUNC1:def 10;
       hence (|.Rg0.|).(x,A12: cos.(f.x)<>0 by A2,A10
       hence (|.Rg0.|).(x,y) = (|.g.|).([x,y]) by VALUED_1:def 11,A36;
      end;

A38:  for x be Element of CarProduct(Seg n --> REAL) st x in CarProduct D1
      holds 0 <= Integral2 (L-Meas,|.Rg0.|).x
      proof
       let x be Element of CarProduct(Seg n --> REAL);
       assume
A39:   x in CarProduct D1;

       reconsider Pg = ProjPMap1(|.Rg0.|,x) as PartFunc of REAL,REAL
         by MESFUN16:30;
A40:   dom Pg = ['s,t'] by A25,A39,A30,A32,MESFUN16:25; then
A41:   Pg|| ['s,t'] is bounded & Pg is_integrable_on ['s,t']
         by A16,A20,Th25,INTEGRA5:10,11;

A42:   integral(Pg,s,t) = Integral(L-Meas,Pg| [.s,t.])
          ,29,MESFUN14:50;then
       integral(Pg,s,t) = Integral(L-Meas,ProjPMap1(|.Rg0.|,x))
         by A40,A25,MESFUNC5:def 7; then
A43:   Integral2(L-Meas,|.Rg0.|).x = integral(Pg,s,t) by MESFUN12:def 8;

A44:   Pg = R_EAL(Pg| [.s,t.]) by A25.=f`|Z).x/(cos.x/))2by A5,A10,FDIFF_1:def 7

       [.s,t.] is Element of L-Field by MEASUR10:5,MEASUR12:75; then
.. is_integrable_onL-eas by A40,A25,A41,MESFUN14:49; then
       ex A be Element of L-Field st
       A = dom R_EAL(Pg| [.s,t.]) & R_EAL(Pg| [.s,t.]) is A-measurable
         by MESFUNC5:def 17; then
A45:   J = dom (Pg| [.s,t.]) & Pg| [.s,t.] is J -measurable
         by A40,A44,MESFUNC5:def 7;

       for y being object st y in dom (Pg| [.s,t.
       
        let y java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 17
        assume
A46:then
        reconsider y1=y as Element of REAL;

        (ProjPMap1(|.java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 7
      & (|.Rg0.|). (x,y1) = |. g.([x,y1]) .| by A39,A25,A40,A46,A34
       java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 46
       end;
         <=(-eas|.|) A42A,MESFUNC65284java.lang.StringIndexOutOfBoundsException: Index 77 out of bounds for length 77
      end;

      set G2 = Integral2then

A47:  dom G2 = CarProduct(Seg n --> REAL) by FUNCT_2:def 1; then
A48:  dom (G2| CarProduct D1) = CarProduct D1 by A27,Th10,RELAT_1:62;

      reconsider G2I = G2| CarProduct D1
      as PartFunc of CarProduct(Seg n --> REAL),ExtREAL;

      now let y be object;
       assume y in rng G2I; then
       consider x be object such that
A49:   x in dom G2I & y = G2I.x by FUNCT_1:def 3;

       reconsider x as Element of CarProduct(Seg n --> REAL) by A49;
       econsider Pg =ProjPMap1(.Rg0.|x)as PartFunc of REAL,REAL
         by MESFUN16:30;

:   dom Pg=[s,' by A25,A49,48A32,MESFUN16:25; then
A51:   Pg|| ['s,x/))2 by A5,A10,FDIFF_1:def 7

       Pg is_integrable_on ['s,t'] by A16,A20,A50,Th25,INTEGRA5:11; then
       integral(Pg,s,t) = Integral(L-Meas,Pg| [.s,t.])
         by A50,A25,A51,XXREAL_1:29,MESFUN14:50; then
       integral(Pg,s,t) = Integral(L-Meas,ProjPMap1(|.Rg0.|,x))
         by A50,A25,MESFUNC5:def 7; then
       Integral2(L-Meas,|.Rg0.|).x = integral(Pg,s,t) by MESFUN12:def 8; then
       (Integral2 (L-Meas,|.Rg0.|)).x in REAL by XREAL_0:def 1;
       hence y in REAL by A49,A48,FUNCT_1:49;
      end; then
      rng G2I c= REAL & dom G2I c= CarProduct(Seg n --> REAL); then
      reconsider G = G2I as PartFunc of CarProduct(Seg n --> REAL),REAL
        by RELSET_1:4;
A52:  dom G = CarProduct D1 by A47,A27,Th10,RELAT_1:62;

      reconsider GG = G as PartFunc of CarProduct(Seg n --> RNS_Real),RNS_Real
        by MEASUR15:42;
A53:  for i be Nat st i in Seg n holds D1.i is closed_interval Subset of REAL
      proof
       let i be Nat;
       assume
A54:   i in Seg n; then
       i <= n by FINSEQ_1:1; then
A55:   D1.i = D.i by FINSEQ_3:112;
       Seg n c= Seg(n+1) by FINSEQ_3:18;
       hence D1.i is closed_interval Subset of REAL by A54,A55,A17;
      end;

      CarProduct D1 is Subset of CarProduct(Seg n --> RNS_Real)
        by A30,MEASUR15:42; then
      GG is_continuous_on CarProduct D1
        by A16,A19,A20,A26,A23,A24,A53,Th40; then
      G is_integrable_on Prod_Measure(L-Meas n) by A15,A53,RELAT_1:62; then
A56:  G2I is_integrable_on Prod_Measure(L-Meas n) by MESFUNC5:def 7; then
A57:  Integral(Prod_Measure(L-Meas n),G2I) < +infty by MESFUNC5:96;

A58:  for i be Nat st i in Seg n holds D1.i is Interval by A53; then
      reconsider AB = CarProduct D1 as Element of Prod_Field(L-Field n)
        by Th9;

      CarProduct(Seg n --> REAL) in Prod_Field(L-Field n) by PROB_1:5; then
      reconsider NAB = CarProduct(Seg n --> REAL) \ AB
        as Element of Prod_Field(L-Field n) by PROB_1:6;
A59:  AB \/ NAB = CarProduct(Seg n --> REAL) by XBOOLE_1:45;

A60:  AB /\ NAB = {} by XBOOLE_1:85,XBOOLE_0:def 7;

A61:  for r being Element of CarProduct(Seg n --> REAL) holds 0. <= G2.r
      proof
       let r being Element of CarProduct(Seg n --> REAL);
       r in AB or r in NAB by A59,XBOOLE_0:def 3;
       hence 0 <= G2.r by A33,A38;
      end; then
A62:  G2 is nonnegative;

      reconsider H = CarProduct(Seg n --> REAL)
      as Element of Prod_Field(L-Field n) by PROB_1:5;

A63:  dom G2 = H by FUNCT_2:def 1;

      for r being Real holds H /\ less_dom(G2,r) in Prod_Field(L-Field n)
      proof
       let r being Real;
A64:   ex H0 being Element of Prod_Field(L-Field n) st
       H0 = dom G2I & G2I is H0 -measurable by A56,MESFUNC5:def 17;

       per cases;
       suppose
A65:    r <= 0;
        now assume less_dom (G2,r) <> {}; then
         consider x be object such that
A66:     x in less_dom (G2,r) by XBOOLE_0:def 1;

         x in dom G2 & G2.x < r by A66,MESFUNC1:def 11;
         hence contradiction by A61,A65;
        end;
        hence H /\ less_dom(G2,r) in Prod_Field(L-Field n) by PROB_1:4;
       end;
       suppose
A67:    0 < r;

A68:    for z be object holds
         z in less_dom(G2,r) iff z in less_dom (G2I,r) \/ NAB
        proof
         let z be object;
         hereby assume
A69:      z in less_dom(G2,r); then
A70:      z in dom G2 & G2.z < r by MESFUNC1:def 11;

A71:       z in AB or z in NAB by A59,A69,XBOOLE_0:def 3;
          now assume
A72:       z in AB; then
           G2I.z < r by FUNCT_1:49,A70; then
           z in less_dom (G2I,r) by A72,A52,MESFUNC1:def 11;
           hence z in less_dom (G2I,r) \/ NAB by XBOOLE_0:def 3;
          end;
          hence z in less_dom (G2I,r) \/ NAB by A71,XBOOLE_0:def 3;
         end;
         assume z in less_dom (G2I,r) \/ NAB; then
         per cases by XBOOLE_0:def 3;
         suppose
A73:      z in less_dom (G2I,r); then
          z in dom G2I &  G2I.z < r by MESFUNC1:def 11; then
          G2.z < r by A52,FUNCT_1:49;
          hence z in less_dom(G2,r) by A63,A73,MESFUNC1:def 11;
         end;
         suppose
A74:      z in NAB; then
          reconsider x=z as Element of CarProduct(Seg n --> REAL);
          G2.x = 0 by A74,A33;
          hence z in less_dom(G2,r) by A63,A67,MESFUNC1:def 11;
         end;
        end;

A75:    H /\ less_dom (G2,r) = (AB \/ NAB) /\ less_dom (G2,r) by XBOOLE_1:45
             .= (AB \/ NAB) /\ (less_dom (G2I,r) \/ NAB ) by A68,TARSKI:2
             .= AB /\ (less_dom (G2I,r) \/ NAB )
                 \/ NAB /\ (less_dom (G2I,r) \/ NAB ) by XBOOLE_1:23;
        AB /\ (less_dom (G2I,r) \/ NAB)
         = AB /\ less_dom (G2I,r) \/ {} by A60,XBOOLE_1:23; then
A76:    AB /\ (less_dom (G2I,r) \/ NAB) in Prod_Field(L-Field n) by A64,A47;

A77:    less_dom (G2I,r) c= AB by MESFUNC1:def 11,A52;

        NAB /\ (less_dom (G2I,r) \/ NAB)
         = (NAB /\ less_dom (G2I,r)) \/ (NAB /\ NAB) by XBOOLE_1:23; then
        NAB /\ (less_dom (G2I,r) \/ NAB) = {} \/ (NAB /\ NAB) by A77;
        hence H /\ less_dom (G2,r) in Prod_Field(L-Field n)
          by A75,A76,PROB_1:3;
       end;
      end; then
A78:  G2 is H -measurable;

      reconsider G2J = G2|NAB
       as PartFunc of CarProduct(Seg n --> REAL),ExtREAL by PARTFUN1:11;

      G2| (AB \/ NAB) = G2 by A59; then
A79:  Integral(Prod_Measure(L-Meas n),G2)
      = Integral(Prod_Measure(L-Meas n),G2I)
      + Integral(Prod_Measure(L-Meas n),G2J)
          by A63,A78,A62,XBOOLE_1:79,MESFUNC5:91;

      for x being object st x in dom G2J holds G2J.x = 0
      proof
       let x being object;
       assume
A80:   x in dom G2J; then
       reconsider r=x as Element of CarProduct(Seg n --> REAL);
       (Integral2(L-Meas,|.Rg0.|)).r = 0 by A80,A33,A47;
       hence thesis by FUNCT_1:49,A80,A47;
      end; then
      Integral(Prod_Measure(L-Meas n),G2J)
      = 0 * ((Prod_Measure(L-Meas n)). (dom G2J)) by A47,MEASUR10:27; then
A81:  Integral(Prod_Measure(L-Meas n),Integral2(L-Meas,|.Rg0.|)) < +infty
        by A57,A79,XXREAL_3:4;

      CarProduct D1 is Element of Prod_Field(L-Field n) by A58,Th9; then
      CarProduct D1 in Prod_Field(L-Field n) & [.s,t.] in L-Field
        by MEASUR10:5,MEASUR12:75; then
A82:  [: CarProduct D1,[.s,t .] :]
        in measurable_rectangles(Prod_Field(L-Field n),L-Field);

      measurable_rectangles(Prod_Field(L-Field n),L-Field)
       c= sigma measurable_rectangles(Prod_Field(L-Field n),L-Field)
        by PROB_1:def 9; then
      reconsider E0 = [:CarProduct(D1),[.s,t .]:] as Element of
      sigma measurable_rectangles(Prod_Field(L-Field n),L-Field) by A82;

A83:  Prod_Field(L-Field (n+1))
      = sigma measurable_rectangles(Prod_Field(L-Field n),L-Field)
        by MEASUR14:44; then
      reconsider Rg0 as E0-measurable PartFunc of
       [: CarProduct(Seg n --> REAL),REAL:],ExtREAL by A22,A21,A26;

      Prod_Measure(L-Meas n) is sigma_finite by MEASUR15:36; then
      Rg0 is_integrable_on Prod_Measure(Prod_Measure(L-Meas n),L-Meas)
        by A31,MESFUN16:5,A81,MESFUN13:11;
      hence g is_integrable_on Prod_Measure(L-Meas(n+1))
        by A21,A83,MEASUR14:48;
     end;
     suppose s > t; then
A84:   D.(n+1) = {} by A24,XXREAL_1:29;
      n < n+1 by NAT_1:13; then
      (ProdFinSeq D).(n+1) = [:(ProdFinSeq D).n,D.(n+1):]
        by MEASUR13:def 3; then
      CarProduct D = {} by A84;
      hence g is_integrable_on Prod_Measure(L-Meas (n+1)) by A16,A19,Th1;
     end;
    end;
    for n be non zero Nat holds P[n] from NAT_1:sch 10(A1,A14);
    hence thesis;
end;

theorem Th44:
for n be non zero Nat, D be n-element FinSequence,
  J be Subset of REAL, y be Element of REAL,
  f be PartFunc of [:CarProduct(Seg n --> RNS_Real),RNS_Real:],RNS_Real,
  g be PartFunc of [:CarProduct(Seg n --> REAL),REAL:],REAL
 st (for i be Nat st i in Seg n holds D.i is closed_interval Subset of REAL)
  & y in J & dom f = [:CarProduct D,J:] & f is_continuous_on [:CarProduct D,J:]
  & f = g
  holds dom ProjPMap2(R_EAL g,y) = CarProduct D
      & ProjPMap2(R_EAL g,y) is_integrable_on Prod_Measure(L-Meas n)
proof
    let n be non zero Nat,
    D be n-element FinSequence,
    J be Subset of REAL,
    y be Element of REAL,
    f be PartFunc of [:CarProduct(Seg n --> RNS_Real),RNS_Real:],RNS_Real,
    g be PartFunc of [:CarProduct(Seg n --> REAL),REAL:],REAL;
    assume that
A1: for i be Nat st i in Seg n holds D.i is closed_interval Subset of REAL and
A2: y in J and
A3: dom f = [:CarProduct D,J:] and
A4: f is_continuous_on [:CarProduct D,J:] and
A5: f = g;

    reconsider RPg2 = ProjPMap2(R_EAL g,y)
      as PartFunc of CarProduct(Seg n --> REAL),REAL by MESFUN16:30;

    ProjPMap2(R_EAL g,y)
    is PartFunc of CarProduct(Seg n --> REAL),REAL by MESFUN16:30; then
    reconsider Pg2 = ProjPMap2(R_EAL g,y)
      as PartFunc of CarProduct(Seg n --> RNS_Real),RNS_Real by MEASUR15:42;

    for i be Nat st i in Seg n holds D.i is Subset of REAL by A1; then
A6: CarProduct D is Subset of CarProduct(Seg n --> REAL)
      by FINSEQ_1:3,Th11; then
    dom Pg2 = CarProduct D by A2,A3,A5,MESFUN16:28; then
    RPg2 is_integrable_on Prod_Measure(L-Meas n) by A1,A3,A4,A5,Th24,Th43;
    hence thesis by A6,A2,A3,A5,MESFUN16:28,MESFUNC5:def 7;
end;

theorem Th45:
for n be non zero Nat, D be n-element FinSequence,
  J be Subset of REAL, y be Element of REAL,
  f be PartFunc of [:CarProduct(Seg n --> RNS_Real),RNS_Real:],RNS_Real,
  g be PartFunc of [:CarProduct(Seg n --> REAL),REAL:],REAL,
  Pg2 be PartFunc of CarProduct(Seg n --> REAL),REAL
 st (for i be Nat st i in Seg n holds D.i is closed_interval Subset of REAL)
  & y in J & dom f = [:CarProduct D,J:] & f is_continuous_on [:CarProduct D,J:]
  & f = g & Pg2 = ProjPMap2(R_EAL g,y)
  holds Pg2 is_integrable_on Prod_Measure(L-Meas n)
      & Integral(Prod_Measure(L-Meas n),ProjPMap2(R_EAL g,y))
         = (Integral1(Prod_Measure(L-Meas n),R_EAL g)).y
proof
    let n be non zero Nat, D be n-element FinSequence,
    J be Subset of REAL, y be Element of REAL,
    f be PartFunc of [:CarProduct(Seg n --> RNS_Real),RNS_Real:],RNS_Real,
    g be PartFunc of [:CarProduct(Seg n --> REAL),REAL:],REAL,
    Pg2 be PartFunc of CarProduct(Seg n --> REAL),REAL;
    assume that
A1: for i be Nat st i in Seg n
      holds D.i is closed_interval Subset of REAL and
A2: y in J and
A3: dom f = [:CarProduct D,J:] and
A4: f is_continuous_on [:CarProduct D,J:] and
A5: f = g and
A6: Pg2 = ProjPMap2(R_EAL g,y);

    R_EAL Pg2 = ProjPMap2(R_EAL g,y) by A6,MESFUNC5:def 7;
    hence Pg2 is_integrable_on Prod_Measure(L-Meas n) by A1,A2,A3,A4,A5,Th44;
    thus thesis by MESFUN12:def 7;
end;

theorem Th46:
for n be non zero Nat, D be n-element FinSequence, J be Subset of REAL,
  y be Element of REAL,
  f be PartFunc of [:CarProduct(Seg n --> RNS_Real),RNS_Real:],RNS_Real,
  g be PartFunc of [:CarProduct(Seg n --> REAL),REAL:],REAL
 st (for i be Nat st i in Seg n holds D.i is closed_interval Subset of REAL)
  & y in J & dom f = [:CarProduct D,J:] & f is_continuous_on [:CarProduct D,J:]
  & f = g
  holds dom ProjPMap2(|.R_EAL g.|,y) = CarProduct D
  & ProjPMap2(|.R_EAL g.|,y) is_integrable_on Prod_Measure(L-Meas n)
proof
    let n be non zero Nat, D be n-element FinSequence,
    J be Subset of REAL,
    y be Element of REAL,
    f be PartFunc of [:CarProduct(Seg n --> RNS_Real),RNS_Real:],RNS_Real,
    g be PartFunc of [:CarProduct(Seg n --> REAL),REAL:],REAL;
    assume that
A1: for i be Nat st i in Seg n
      holds D.i is closed_interval Subset of REAL and
A2:  y in J and
A3:  dom f = [:CarProduct D,J:] and
A4:  f is_continuous_on [:CarProduct D,J:] and
A5:  f = g;

    reconsider RPg2 = ProjPMap2(|.R_EAL g.|,y)
     as PartFunc of CarProduct(Seg n --> REAL),REAL by MESFUN16:30;

    ProjPMap2(|.R_EAL g.|,y)
    is PartFunc of CarProduct(Seg n --> REAL),REAL by MESFUN16:30; then
    reconsider Pg2 = ProjPMap2(|.R_EAL g.|,y)
    as PartFunc of CarProduct(Seg n --> RNS_Real),RNS_Real by MEASUR15:42;

    for i be Nat st i in Seg n holds D.i is Subset of REAL by A1; then
A6: CarProduct D is Subset of CarProduct(Seg n --> REAL)
      by FINSEQ_1:3,Th11; then
    dom Pg2 = CarProduct D by A2,A3,A5,MESFUN16:28; then
    RPg2 is_integrable_on Prod_Measure(L-Meas n) by A1,A3,A4,A5,Th26,Th43;
    hence thesis by A2,A3,A5,A6,MESFUNC5:def 7,MESFUN16:28;
end;

theorem Th47:
for n be non zero Nat, D be n-element FinSequence, J be Subset of REAL,
  y be Element of REAL,
  f be PartFunc of [:CarProduct(Seg n --> RNS_Real),RNS_Real:],RNS_Real,
  g be PartFunc of [:CarProduct(Seg n --> REAL),REAL:],REAL,
  E be Element of Prod_Field(L-Field n)
 st (for i be Nat st i in Seg n holds D.i is closed_interval Subset of REAL)
  & y in J & dom f = [:CarProduct D,J:] & f is_continuous_on [:CarProduct D,J:]
  & f = g & E = CarProduct D holds ProjPMap2(|.R_EAL g.|,y) is E-measurable
proof
    let n be non zero Nat, D be n-element FinSequence,
    J be Subset of REAL,
    y be Element of REAL,
    f be PartFunc of [:CarProduct(Seg n --> RNS_Real),RNS_Real:],RNS_Real,
    g be PartFunc of [:CarProduct(Seg n --> REAL),REAL:],REAL,
    E be Element of Prod_Field(L-Field n);
    assume that
A1: for i be Nat st i in Seg n
      holds D.i is closed_interval Subset of REAL and
A2: y in J and
A3: dom f = [:CarProduct D,J:] and
A4: f is_continuous_on [:CarProduct D,J:] and
A5: f = g and
A6: E = CarProduct D;

A7: dom ProjPMap2(|.R_EAL g.|,y) = CarProduct D
  & ProjPMap2(|.R_EAL g.|,y) is_integrable_on Prod_Measure(L-Meas n)
      by A1,A2,A3,A4,A5,Th46; then
    ex A be Element of Prod_Field(L-Field n)
    st A = dom ProjPMap2(|.R_EAL g.|,y)
     & ProjPMap2(|.R_EAL g.|,y) is A-measurable by MESFUNC5:def 17;
    hence ProjPMap2(|.R_EAL g.|,y) is E-measurable by A6,A7;
end;

theorem Th48:
for n be non zero Nat, D be n-element FinSequence, J be Subset of REAL,
  y be Element of REAL,
  f be PartFunc of [:CarProduct(Seg n --> RNS_Real),RNS_Real:],RNS_Real,
  g be PartFunc of [:CarProduct(Seg n --> REAL),REAL:],REAL,
  Pg2 be PartFunc of CarProduct(Seg n --> REAL),REAL
 st (for i be Nat st i in Seg n holds D.i is closed_interval Subset of REAL)
  & y in J & dom f = [:CarProduct D,J:] & f is_continuous_on [:CarProduct D,J:]
  & f = g & Pg2 = ProjPMap2(|.R_EAL g.|,y)
  holds Pg2 is_integrable_on Prod_Measure(L-Meas n)
  & Integral(Prod_Measure(L-Meas n),ProjPMap2(|.R_EAL g.|,y))
     = (Integral1(Prod_Measure(L-Meas n),|.R_EAL g.|)).y
proof
    let n be non zero Nat, D be n-element FinSequence,
    J be Subset of REAL,
    y be Element of REAL,
    f be PartFunc of [:CarProduct(Seg n --> RNS_Real),RNS_Real:],RNS_Real,
    g be PartFunc of [:CarProduct(Seg n --> REAL),REAL:],REAL,
    Pg2 be PartFunc of CarProduct(Seg n --> REAL),REAL;
    assume that
A1: for i be Nat st i in Seg n holds D.i is closed_interval Subset of REAL and
A2: y in J and
A3: dom f = [:CarProduct D,J:] and
A4: f is_continuous_on [:CarProduct D,J:] and
A5: f = g and
A6: Pg2 = ProjPMap2(|.R_EAL g.|,y);
    R_EAL Pg2 = ProjPMap2(|.R_EAL g.|,y) by A6,MESFUNC5:def 7;
    hence Pg2 is_integrable_on Prod_Measure(L-Meas n) by A1,A2,A3,A4,A5,Th46;
    thus thesis by MESFUN12:def 7;
end;

theorem Th49:
for n be non zero Nat, D be n-element FinSequence,
 I be Subset of CarProduct(Seg n --> RNS_Real), J be Interval
 st (for i be Nat st i in Seg n holds D.i is Interval) & I = CarProduct D
 holds [:I,J:] is Subset of [:CarProduct(Seg n --> RNS_Real),RNS_Real:]
 & [:I,J:] in sigma measurable_rectangles(Prod_Field(L-Field n),L-Field)
proof
    let n be non zero Nat, D be n-element FinSequence,
    I be Subset of CarProduct(Seg n --> RNS_Real),
    J be Interval;
    assume that
A1: for i be Nat st i in Seg n holds D.i is Interval and
A2: I = CarProduct D;
    I is Element of Prod_Field(L-Field n) by A1,A2,Th9; then
    I in Prod_Field(L-Field n) & J in L-Field
      by MEASUR10:5,MEASUR12:75; then
A3: [:I,J:] in measurable_rectangles(Prod_Field(L-Field n),L-Field);
    reconsider J1 =  J as Subset of RNS_Real;
A4: [:I,J:] = [:I,J1:];
    measurable_rectangles(Prod_Field(L-Field n),L-Field)
     c= sigma measurable_rectangles(Prod_Field(L-Field n),L-Field)
       by PROB_1:def 9;
    hence thesis by A3,A4;
end;

theorem Th50:
for n be non zero Nat, D be n-element FinSequence, J be Subset of REAL,
 f being PartFunc of [:CarProduct(Seg n --> RNS_Real),RNS_Real:],RNS_Real,
 g be PartFunc of [:CarProduct(Seg n --> REAL),REAL:],REAL
 st (for i be Nat st i in Seg n holds D.i is closed_interval Subset of REAL)
 & [:CarProduct D,J:] = dom f & f is_continuous_on [:CarProduct D,J:]
 & f = g holds
   Integral1(Prod_Measure(L-Meas n),|.R_EAL g.|) |J is PartFunc of REAL,REAL
 & Integral1(Prod_Measure(L-Meas n),R_EAL g) |J is PartFunc of REAL,REAL
proof
    let n be non zero Nat, D be n-element FinSequence,
    J be Subset of REAL,
    f being PartFunc of [:CarProduct(Seg n --> RNS_Real),RNS_Real:],RNS_Real,
    g be PartFunc of [:CarProduct(Seg n --> REAL),REAL:],REAL;

    assume that
A1:  for i be Nat st i in Seg n holds D.i is closed_interval Subset of REAL and
A2:  [:CarProduct D,J:] = dom f and
A3:  f is_continuous_on [:CarProduct D,J:] and
A4:  f = g;

    set g1 = R_EAL g;

    set T = Integral1(Prod_Measure(L-Meas n),|.g1.|);
A5: dom T = REAL by FUNCT_2:def 1;
    reconsider T0 = T|J as PartFunc of REAL,ExtREAL by PARTFUN1:11;

    set RT = Integral1(Prod_Measure(L-Meas n),g1);
A6: dom RT = REAL by FUNCT_2:def 1;
    reconsider RT0 = RT|J as PartFunc of REAL,ExtREAL by PARTFUN1:11;

    now let x be object;
     assume x in rng T0; then
     consider y be Element of REAL such that
A7:  y in dom T0 & x = T0.y by PARTFUN1:3;

     reconsider Pg = ProjPMap2(|.g1.|,y)
      as PartFunc of CarProduct(Seg n --> REAL),REAL by MESFUN16:30;

A8:  R_EAL Pg = ProjPMap2(|.g1.|,y) by MESFUNC5:def 7;
     Pg is_integrable_on Prod_Measure(L-Meas n)
       by A7,A1,A5,A2,A3,A4,Th48; then
     -infty < Integral(Prod_Measure(L-Meas n),Pg)
   & Integral(Prod_Measure(L-Meas n),Pg) < +infty by MESFUNC6:90; then
A9:  Integral(Prod_Measure(L-Meas n),Pg) in REAL by XXREAL_0:14;

     (Integral1(Prod_Measure(L-Meas n),|.g1.|)).y
      = Integral(Prod_Measure(L-Meas n),Pg) by A8,A7,A1,A5,A2,A3,A4,Th48;
     hence x in REAL by A7,A5,A9,FUNCT_1:49;
    end; then
    rng T0 c= REAL & dom T0 c= REAL;
    hence Integral1(Prod_Measure(L-Meas n),|.R_EAL g.|) |J
      is PartFunc of REAL,REAL by RELSET_1:4;

    now let x be object;
     assume x in rng RT0; then
     consider y be Element of REAL such that
A10: y in dom RT0 & x= RT0.y by PARTFUN1:3;

     reconsider Pg = ProjPMap2(g1,y)
     as PartFunc of CarProduct(Seg n --> REAL),REAL by MESFUN16:30;

A11: R_EAL Pg = ProjPMap2(g1,y) by MESFUNC5:def 7;

     Pg is_integrable_on Prod_Measure(L-Meas n)
       by A1,A10,A6,A2,A3,A4,Th45; then
     -infty < Integral(Prod_Measure(L-Meas n),Pg)
   & Integral(Prod_Measure(L-Meas n),Pg) < +infty by MESFUNC6:90; then
A12: Integral(Prod_Measure(L-Meas n),Pg) in REAL by XXREAL_0:14;

     (Integral1(Prod_Measure(L-Meas n),g1)).y
      = Integral(Prod_Measure(L-Meas n),Pg) by A11,A1,A10,A6,A2,A3,A4,Th45;
     hence x in REAL by A10,A6,A12,FUNCT_1:49;
    end; then
    rng RT0 c= REAL & dom RT0 c= REAL;
    hence Integral1(Prod_Measure(L-Meas n),R_EAL g) |J
      is PartFunc of REAL,REAL by RELSET_1:4;
end;

theorem Th51:
for n be non zero Nat, E1 be Element of Prod_Field(L-Field n),
 E2 be Element of L-Field holds
   [:E1,E2:] in sigma measurable_rectangles(Prod_Field(L-Field n),L-Field)
 & (Prod_Measure(L-Meas(n+1))).([:E1,E2:])
    = ((Prod_Measure(L-Meas n)).E1) * (L-Meas.E2)
proof
    let n be non zero Nat, E1 be Element of Prod_Field(L-Field n),
    E2 be Element of L-Field;

A1: [:E1,E2:] in measurable_rectangles(Prod_Field(L-Field n),L-Field);
A2: measurable_rectangles(Prod_Field(L-Field n),L-Field)
     c= sigma measurable_rectangles(Prod_Field(L-Field n),L-Field)
       by PROB_1:def 9;
    hence [:E1,E2:]
     in sigma measurable_rectangles(Prod_Field(L-Field n),L-Field) by A1;

    reconsider E = [:E1,E2:] as Element of
     sigma measurable_rectangles(Prod_Field(L-Field n),L-Field)
       by A1,A2;

    (product_sigma_Measure(Prod_Measure(L-Meas n),L-Meas)).E
     = (Prod_Measure(L-Meas n)).E1 * (L-Meas.E2) by MEASUR11:16; then
    Prod_Measure(Prod_Measure(L-Meas n),L-Meas).E
     = (Prod_Measure(L-Meas n)).E1 * (L-Meas.E2) by MESFUN12:def 9;
    hence (Prod_Measure(L-Meas(n+1))).([:E1,E2:])
     = ((Prod_Measure(L-Meas n)).E1) * (L-Meas.E2) by MEASUR14:48;
end;

theorem Th52:
for n be non zero Nat, D be n-element FinSequence
 st for i be Nat st i in Seg n holds D.i is closed_interval Subset of REAL
 ex r be Real, E be Element of Prod_Field(L-Field n) st
  E = CarProduct D & (Prod_Measure(L-Meas n)).E = r & 0 <= r
proof
    let n be non zero Nat;

    defpred P[non zero Nat] means
    for D be $1-element FinSequence st
     for i be Nat st i in Seg $1 holds
           D.i is closed_interval Subset of REAL
    ex r be Real, E be Element of Prod_Field(L-Field $1) st
     E = CarProduct D & (Prod_Measure(L-Meas $1)).E = r & 0 <= r;

A1: P[1]
    proof
     let D be 1-element FinSequence;
     assume
A2:  for i be Nat st i in Seg 1 holds D.i is closed_interval Subset of REAL;
A3:  1 in Seg 1;
A4:  CarProduct D = D.1 by MEASUR13:def 3; then
A5:  CarProduct D is closed_interval Subset of REAL by A2,A3; then
     reconsider E = CarProduct D as Element of Prod_Field(L-Field 1)
       by MEASUR14:41;

     per cases;
     suppose
A6:   D.1 <> {};

      consider a,b be Real such that
A7:   E = [.a,b.] by A5,MEASURE5:def 3;

A8:   a <= b by A7,A4,A6,XXREAL_1:29;
      set r = b-a;
      take r,E;
      thus E = CarProduct D;
      thus (Prod_Measure(L-Meas 1)).E = r by A7,A8,MESFUN14:5,MEASUR14:45;
      thus 0 <= r by A7,A4,A6,XXREAL_1:29,XREAL_1:48;
     end;
     suppose
A9:   D.1 = {};
      reconsider E = {} as Element of Prod_Field(L-Field 1) by MEASURE1:7;
      set r = 0;
      take r,E;
      thus E = CarProduct D by A9,MEASUR13:def 3;
      thus (Prod_Measure(L-Meas 1)).E = r by VALUED_0:def 19;
      thus 0 <= r;
     end;
    end;

A10: for n be non zero Nat st P[n] holds P[n+1]
    proof
     let n be non zero Nat;
     assume
A11:  P[n];
     let D be (n+1)-element FinSequence;
     assume
A12: for i be Nat st i in Seg (n+1) holds
      D.i is closed_interval Subset of REAL;

     reconsider D1=D|n as n-element FinSequence;

     for i be Nat st i in Seg n holds D1.i is closed_interval Subset of REAL
     proof
      let i be Nat;
      assume
A13:   i in Seg n;
A14:   Seg n c= Seg(n+1) by FINSEQ_3:18;

      D1.i = D.i by A13,FUNCT_1:49;
      hence D1.i is closed_interval Subset of REAL by A12,A13,A14;
     end; then
     consider r1 be Real, E1 be Element of Prod_Field(L-Field n)
     such that
A15: E1 = CarProduct D1 & (Prod_Measure(L-Meas n)).E1 = r1 & 0 <= r1 by A11;

     for i be Nat st i in Seg(n+1) holds D.i is Interval by A12; then
     reconsider E = CarProduct D as Element of Prod_Field(L-Field(n+1))
       by Th9;

A16: D.(n+1) is closed_interval Subset of REAL by A12,FINSEQ_1:4; then
     reconsider E2 = D.(n+1) as Element of L-Field by MEASUR12:72,75;
     consider a,b be Real such that
A17: D.(n+1) = [.a,b.] by A16,MEASURE5:def 3;

     CarProduct D = [: CarProduct D1,D.(n+1) :] by Th4; then
A18: (Prod_Measure(L-Meas(n+1))).E
      = (Prod_Measure(L-Meas n)).E1 * (L-Meas.E2) by A15,Th51;

     per cases;
     suppose D.(n+1) = {}; then
A19:  L-Meas.E2 = 0 by VALUED_0:def 19;
      take r = 0;
      take E;
      thus E = CarProduct D;
      thus (Prod_Measure(L-Meas(n+1))).E = r by A18,A19;
      thus 0 <= r;
     end;
     suppose
A20:  D.(n+1) <> {}; then
      a <= b by A17,XXREAL_1:29; then
A21:  L-Meas.E2 = b-a by A17,MESFUN14:5;
      take r = r1 * (b-a);
      take E;
      thus E = CarProduct D;
      thus (Prod_Measure(L-Meas(n+1))).E = r by A18,A15,A21,XXREAL_3:def 5;
      b-a >= 0 by A17,A20,XREAL_1:48,XXREAL_1:29;
      hence 0 <= r by A15;
     end;
    end;
    for n be non zero Nat holds P[n] from NAT_1:sch 10(A1,A10);
    hence thesis;
end;

theorem Th53:
for n be non zero Nat, D be n-element FinSequence,
 J be closed_interval Subset of REAL,
 f be PartFunc of [:CarProduct(Seg n --> RNS_Real),RNS_Real:],RNS_Real,
 g be PartFunc of [:CarProduct(Seg n --> REAL),REAL:],REAL,
 G1 be PartFunc of REAL,REAL
 st (for i be Nat st i in Seg n holds D.i is closed_interval Subset of REAL)
  & [:CarProduct D,J:] = dom f & f is_continuous_on [:CarProduct D,J:]
  & f = g & G1 = Integral1(Prod_Measure(L-Meas n),|.R_EAL g.|) |J
 holds G1 is continuous
proof
    let n be non zero Nat,
    D be n-element FinSequence,
    J be closed_interval Subset of REAL,
    f be PartFunc of [:CarProduct(Seg n --> RNS_Real),RNS_Real:],RNS_Real,
    g be PartFunc of [:CarProduct(Seg n --> REAL),REAL:],REAL,
    G1 be PartFunc of REAL,REAL;
    assume that
A1: for i be Nat st i in Seg n
       holds D.i is closed_interval Subset of REAL and
A2: [:CarProduct D,J:] = dom f and
A3: f is_continuous_on [:CarProduct D,J:] and
A4: f = g and
A5: G1 = Integral1(Prod_Measure(L-Meas n),|.R_EAL g.|) |J;

A6: for e be Real st 0 < e holds ex r be Real st 0 < r
     & for y1,y2 be Real st |.y2-y1.| < r & y1 in J & y2 in J
        holds for x be Point of CarProduct(Seg n --> RNS_Real)
         st x in CarProduct D holds
         |. (|.g.|).([x,y2])-(|.g.|).([x,y1]) .| < e
    proof
     let e be Real;
     assume 0 < e; then
     consider r be Real such that
A7:  0 < r
   & for x1,x2 be Point of CarProduct(Seg n --> RNS_Real), y1,y2 be Real
      st [x1,y1] in [:CarProduct D,J:] & [x2,y2] in [:CarProduct D,J:]
      & ||.x2-x1.|| < r & |.y2-y1.| < r holds
      |. (|.g.|).([x2,y2])-(|.g.|).([x1,y1]) .| < e by A1,A3,A4,Th39;

     take r ;
     thus 0 < r by A7;
     let y1,y2 be Real;
     assume
A8: |.y2-y1.| < r & y1 in J & y2 in J;

     let x be Point of CarProduct(Seg n --> RNS_Real);
     assume x in CarProduct D; then
A9: [x,y1] in [:CarProduct D,J:] & [x,y2] in [:CarProduct D,J:]
       by A8,ZFMISC_1:87;

     x-x=0.(CarProduct(Seg n --> RNS_Real)) by RLVECT_1:15; then
     ||.x-x.|| < r by A7;
     hence |. (|.g.|).([x,y2])-(|.g.|).([x,y1]) .| < e by A7,A8,A9;
    end;

    set Rg =R_EAL g;

    dom |.Rg.| = dom Rg by MESFUNC1:def 10; then
A10:dom |.Rg.| = [:CarProduct D,J:] by A2,A4,MESFUNC5:def 7;

A11:for x be Element of CarProduct(Seg n --> REAL), y be Element of REAL
     st x in CarProduct D & y in J holds
     (ProjPMap2(|.Rg.|,y)).x =(|.Rg.|).(x,y)
   & (|.Rg.|).(x,y) = |. g.([x,y]) .| & (|.Rg.|).(x,y) = (|.g.|).([x,y])
    proof
     let x be Element of CarProduct(Seg n --> REAL), y be Element of REAL;
     assume
A12:  x in CarProduct D & y in J;
     hence (ProjPMap2(|.Rg.|,y)).x =(|.Rg.|).(x,y)
      by A10,ZFMISC_1:87,MESFUN12:def 4;

     [x,y] in dom g by A12,A2,A4,ZFMISC_1:87; then
A13: [x,y] in dom |.g.| by VALUED_1:def 11;

A14: Rg.([x,y]) = g.([x,y]) by MESFUNC5:def 7;

     (|.Rg.|).(x,y) = |. Rg.([x,y]) .|
       by A12,A10,ZFMISC_1:87,MESFUNC1:def 10;
     hence (|.Rg.|).(x,y) = |.g.([x,y]).| by A14,EXTREAL1:12;
     hence (|.Rg.|).(x,y) = (|.g.|).([x,y]) by VALUED_1:def 11,A13;
    end;

A15:for e be Real st 0 < e holds ex r be Real st 0 < r
    & for y1,y2 be Element of REAL st |.y2-y1.| < r & y1 in J
       & y2 in J holds for x be Element of CarProduct(Seg n --> REAL)
       st x in CarProduct D
          holds |. (ProjPMap2(|.Rg.|,y2)).x-(ProjPMap2(|.Rg.|,y1)).x .| < e
    proof
     let e be Real;
     assume 0 < e; then
     consider r be Real such that
A16: 0 < r
    & for y1,y2 be Real st |.y2-y1.| < r & y1 in J & y2 in J
       holds for x be Point of CarProduct(Seg n --> RNS_Real)
       st x in CarProduct D holds
        |. (|.g.|).([x,y2])-(|.g.|).([x,y1]) .| < e by A6;

     take r;
     thus 0 < r by A16;

     let y1,y2 be Element of REAL;
     assume
A17: |.y2-y1.| < r & y1 in J & y2 in J;
     let x be Element of CarProduct(Seg n --> REAL);
     assume
A18: x in CarProduct D;
     x is Point of CarProduct(Seg n --> RNS_Real) by MEASUR15:42; then
A19: |. (|.g.|).([x,y2])-(|.g.|).([x,y1]) .| < e by A16,A17,A18;

     (ProjPMap2(|.Rg.|,y1)).x =(|.Rg.|).(x,y1)
   & (|.Rg.|).(x,y1) = (|.g.|).([x,y1])
   & (ProjPMap2(|.Rg.|,y2)).x =(|.Rg.|).(x,y2)
   & (|.Rg.|).(x,y2) = (|.g.|).([x,y2]) by A11,A17,A18; then
     (ProjPMap2(|.Rg.|,y2)).x-(ProjPMap2(|.Rg.|,y1)).x
      = (|.g.|).([x,y2])-(|.g.|).([x,y1]) by Lm2;
     hence thesis by A19,EXTREAL1:12;
    end;

    set T = Integral1(Prod_Measure(L-Meas n),|.Rg.|);
A20:dom T = REAL by FUNCT_2:def 1;

    for y0,r be Real st y0 in J & 0 < r
     ex s be Real st 0<s & for y1 be Real
      st y1 in J & |.y1-y0.| < s holds |.G1.y1-G1.y0.| < r
    proof
     let yy0,r be Real;
     assume
A21: yy0 in J & 0 < r;

     reconsider y0=yy0 as Element of REAL by XREAL_0:def 1;
     reconsider RPg0 = ProjPMap2(|.Rg.|,y0)
      as PartFunc of CarProduct(Seg n --> REAL),REAL by MESFUN16:30;
     reconsider Pg0 = RPg0
      as PartFunc of CarProduct(Seg n --> RNS_Real),RNS_Real by MEASUR15:42;
     for i be Nat st i in Seg n holds D.i is Subset of REAL by A1; then
A22: CarProduct D is Subset of CarProduct(Seg n --> REAL)
       by FINSEQ_1:3,Th11; then
A23: dom Pg0 = CarProduct D by A21,A2,A4,MESFUN16:28;

A24: RPg0 is_integrable_on Prod_Measure(L-Meas n)
       by A1,A23,A2,A3,A4,Th26,Th43;

A25: R_EAL RPg0 = ProjPMap2(|.R_EAL g.|,y0) by MESFUNC5:def 7;

     RPg0 = ProjPMap2(|.R_EAL g.|,y0); then
A26: (Integral1(Prod_Measure(L-Meas n),|.R_EAL g.|)).y0
       = Integral(Prod_Measure(L-Meas n),ProjPMap2(|.R_EAL g.|,y0))
         by A1,A21,A2,A3,A4,Th48;

     consider r0 be Real, E1 be Element of Prod_Field(L-Field n) such that
A27: E1 = CarProduct D & (Prod_Measure(L-Meas n)).E1 = r0 & 0 <= r0
       by A1,Th52;

     per cases;
     suppose A28: r0 = 0;
      consider s be Real such that
A29:  0 < s
    & for y1,y2 be Element of REAL st |.y2-y1.| < s & y1 in J & y2 in J
        holds for x be Element of CarProduct(Seg n --> REAL)
        st x in CarProduct D holds
         |. (ProjPMap2(|.Rg.|,y2)).x-(ProjPMap2(|.Rg.|,y1)).x .| < r
           by A15,A21;

      for y1 be Real st y1 in J & |.y1-y0.| < s holds |.G1.y1-G1.yy0 .| < r
      proof
       let yy1 be Real;
       assume
A30:   yy1 in J & |.yy1-y0.| < s;

       reconsider y1=yy1 as Element of REAL by XREAL_0:def 1;
       reconsider RPg1 = ProjPMap2(|.Rg.|,y1)
        as PartFunc of CarProduct(Seg n --> REAL),REAL by MESFUN16:30;
       reconsider Pg1 = RPg1
        as PartFunc of CarProduct(Seg n --> RNS_Real),RNS_Real by MEASUR15:42;
A31:   dom Pg1 = CarProduct D by A22,A30,A2,A4,MESFUN16:28;

A32:   R_EAL RPg1 = ProjPMap2(|.R_EAL g.|,y1) by MESFUNC5:def 7;

       RPg1 = ProjPMap2(|.R_EAL g.|,y1); then
       (Integral1(Prod_Measure(L-Meas n),|.Rg.|)).y1
        = Integral(Prod_Measure(L-Meas n),ProjPMap2(|.R_EAL g.|,y1))
        by A1,A30,A2,A3,A4,Th48; then
A33:   G1.yy0 = Integral(Prod_Measure(L-Meas n),RPg0)
     & G1.yy1 = Integral(Prod_Measure(L-Meas n),RPg1)
         by A25,A32,A5,A21,A26,A30,FUNCT_1:49;
A34:    -(G1.yy0) = -Integral(Prod_Measure(L-Meas n),RPg0)
          by A33,XXREAL_3:def 3;

A35:   RPg1 is_integrable_on Prod_Measure(L-Meas n)
         by A1,A31,A2,A3,A4,Th26,Th43; then
A36:   RPg1-RPg0 is_integrable_on Prod_Measure(L-Meas n)
         by A24,MESFUN6C:34;

A37:   dom(RPg1-RPg0) = CarProduct D /\ CarProduct D
         by A23,A31,VALUED_1:12; then
A38:   dom(R_EAL(RPg1-RPg0)) = E1 by A27,MESFUNC5:def 7;

A39:   (Prod_Measure(L-Meas n)).E1 < +infty by A27,XREAL_0:def 1,XXREAL_0:9;

       for x be Element of CarProduct(Seg n --> REAL)
       st x in E1 holds
       -r <= (R_EAL (RPg1-RPg0)).x & (R_EAL (RPg1-RPg0)).x <= r
       proof
        let x be Element of CarProduct(Seg n --> REAL);
        assume
A40:    x in E1; then
A41:    |. (ProjPMap2(|.Rg.|,y1)).x-(ProjPMap2(|.Rg.|,y0)).x .| < r
            by A27,A29,A30,A21;

        (ProjPMap2(|.Rg.|,y1)).x-(ProjPMap2(|.Rg.|,y0)).x
         = RPg1.x - RPg0.x by Lm2; then
        (ProjPMap2(|.Rg.|,y1)).x-(ProjPMap2(|.Rg.|,y0)).x = (RPg1-RPg0).x
           by A27,A37,A40,VALUED_1:13; then
        |. (RPg1-RPg0).x .| <= r by A41,EXTREAL1:12; then
        -r <= (RPg1-RPg0).x & (RPg1-RPg0).x <= r by ABSVALUE:5;
        hence -r <= (R_EAL (RPg1-RPg0)).x & (R_EAL (RPg1-RPg0)).x <= r
          by MESFUNC5:def 7;
       end; then
       (-r)*(Prod_Measure(L-Meas n)).E1
        <= Integral(Prod_Measure(L-Meas n),(R_EAL(RPg1-RPg0)) |E1)
     & Integral(Prod_Measure(L-Meas n),(R_EAL(RPg1-RPg0)) |E1)
        <= r * (Prod_Measure(L-Meas n)).E1 by A38,A36,A39,MESFUNC7:26; then
A42:   0 <= Integral(Prod_Measure(L-Meas n),(R_EAL(RPg1-RPg0)))
     & Integral(Prod_Measure(L-Meas n),(R_EAL(RPg1-RPg0))) <= 0
         by A28,A27,A38;

A43:   (-1)(#)RPg0 = -RPg0 by VALUED_1:def 6;

A44:   (-1) (#) RPg0 is_integrable_on Prod_Measure(L-Meas n)
     & Integral(Prod_Measure(L-Meas n),(-1)(#)RPg0)
        = (-1)*Integral(Prod_Measure(L-Meas n),RPg0) by A24,MESFUNC6:102; then
A45:   (-RPg0) is_integrable_on Prod_Measure(L-Meas n)
     & Integral(Prod_Measure(L-Meas n),-RPg0)
        = -Integral(Prod_Measure(L-Meas n),RPg0) by A43,XXREAL_3:91;

A46:   dom(-RPg0) = E1 by A27,A23,A43,VALUED_1:def 5;

A47:   RPg1+(-RPg0) = RPg1 - RPg0 by VALUED_1:def 9;
       ex E be Element of Prod_Field(L-Field n) st
       E = dom RPg1 /\ dom(-RPg0)
     & Integral(Prod_Measure(L-Meas n),RPg1+(-RPg0))
        = Integral(Prod_Measure(L-Meas n),RPg1|E)
        + Integral(Prod_Measure(L-Meas n),(-RPg0) |E)
          by A35,A43,A44,MESFUNC6:101; then
       Integral(Prod_Measure(L-Meas n),RPg1-RPg0)
        = G1.yy1 + - G1.yy0 by A33,A34,A27,A31,A46,A47,A45,XXREAL_3:def 2;
       hence |. G1.yy1-G1.yy0 .| < r by A21,A42;
      end;
      hence ex s be Real st 0<s & for y1 be Real
        st y1 in J & |.y1-yy0.| < s holds |.G1.y1-G1.yy0.| < r by A29;
     end;
     suppose A48: r0 <> 0;
      set r1=r/2;
A49:  0 < r1 & r1 < r by A21,XREAL_1:215,XREAL_1:216; then
      consider s be Real such that
A50:  0 < s
    & for y1,y2 be Element of REAL st |.y2-y1.| < s & y1 in J & y2 in J
       holds for x be Element of CarProduct(Seg n --> REAL)
       st x in CarProduct D holds
        |. (ProjPMap2(|.Rg.|,y2)).x-(ProjPMap2(|.Rg.|,y1)).x .| < r1/ r0
            by A15,A48,A27,XREAL_1:139;
      take s;
      thus 0 < s by A50;

      let yy1 be Real;
      assume
A51:  yy1 in J & |.yy1-yy0.| < s;

      reconsider y1=yy1 as Element of REAL by XREAL_0:def 1;
      reconsider RPg1 = ProjPMap2(|.Rg.|,y1)
       as PartFunc of CarProduct(Seg n --> REAL),REAL by MESFUN16:30;
      reconsider Pg1 = RPg1
       as PartFunc of CarProduct(Seg n --> RNS_Real),RNS_Real by MEASUR15:42;
A52:  dom Pg1 = CarProduct D by A22,A51,A2,A4,MESFUN16:28; then
A53:  RPg1 is_integrable_on Prod_Measure(L-Meas n) by A1,A2,A3,A4,Th26,Th43;

A54:  R_EAL RPg1 = ProjPMap2(|.R_EAL g.|,y1) by MESFUNC5:def 7;

      RPg1 = ProjPMap2(|.R_EAL g.|,y1); then
      (Integral1(Prod_Measure(L-Meas n),|.Rg.|)).y1
       = Integral(Prod_Measure(L-Meas n),ProjPMap2(|.R_EAL g.|,y1))
        by A1,A51,A2,A3,A4,Th48; then
A55:  G1.yy0 = Integral(Prod_Measure(L-Meas n),RPg0)
    & G1.yy1 = Integral(Prod_Measure(L-Meas n),RPg1)
        by A25,A54,A5,A21,A26,A51,FUNCT_1:49;
A56:  -(G1.yy0) = -Integral(Prod_Measure(L-Meas n),RPg0) by A55,XXREAL_3:def 3;

A57:  RPg1-RPg0 is_integrable_on Prod_Measure(L-Meas n) by A24,A53,MESFUN6C:34;

A58:  dom(RPg1-RPg0) = CarProduct D /\ CarProduct D
        by A23,A52,VALUED_1:12; then
A59:  dom(R_EAL(RPg1-RPg0)) = E1 by A27,MESFUNC5:def 7;

A60:  (Prod_Measure(L-Meas n)).E1 < +infty by A27,XXREAL_0:9,XREAL_0:def 1;

      for x be Element of CarProduct(Seg n --> REAL) st x in E1 holds
      -(r1/r0) <= (R_EAL (RPg1-RPg0)).x & (R_EAL (RPg1-RPg0)).x <= r1/r0
      proof
       let x be Element of CarProduct(Seg n --> REAL);
       assume
A61:   x in E1; then
A62:   |. (ProjPMap2(|.Rg.|,y1)).x-(ProjPMap2(|.Rg.|,y0)).x .| < r1/ r0
            by A27,A50,A51,A21;

       (ProjPMap2(|.Rg.|,y1)).x-(ProjPMap2(|.Rg.|,y0)).x
         = RPg1.x - RPg0.x by Lm2; then
       (ProjPMap2(|.Rg.|,y1)).x-(ProjPMap2(|.Rg.|,y0)).x = (RPg1-RPg0).x
          by A27,A58,A61,VALUED_1:13; then
       |. (RPg1-RPg0).x .| <= r1/r0 by A62,EXTREAL1:12; then
       -(r1/r0) <= (RPg1-RPg0).x & (RPg1-RPg0).x <= r1/r0 by ABSVALUE:5;
       hence -(r1/r0) <= (R_EAL (RPg1-RPg0)).x
           & (R_EAL (RPg1-RPg0)).x <= r1/r0 by MESFUNC5:def 7;
      end; then
A63:  (-r1/r0)*(Prod_Measure(L-Meas n)).E1
        <= Integral(Prod_Measure(L-Meas n),(R_EAL(RPg1-RPg0)) |E1)
    & Integral(Prod_Measure(L-Meas n),(R_EAL(RPg1-RPg0)) |E1)
        <= (r1/r0) * (Prod_Measure(L-Meas n)).E1
          by A59,A57,A60,MESFUNC7:26;

A64:  (-r1/r0)*r0 = -r1/r0*r0;
      (r1/r0)*r0 = r1 by A48,XCMPLX_1:87; then
A65:  -r1 <= Integral(Prod_Measure(L-Meas n),(R_EAL(RPg1-RPg0)))
    & Integral(Prod_Measure(L-Meas n),(R_EAL(RPg1-RPg0))) <= r1
        by A63,A64,A59,A27,XXREAL_3:def 5;

A66:  (-1)(#)RPg0 = -RPg0 by VALUED_1:def 6;
A67:  (-1) (#) RPg0 is_integrable_on Prod_Measure(L-Meas n)
    & Integral(Prod_Measure(L-Meas n),(-1)(#)RPg0)
       = (-1)*Integral(Prod_Measure(L-Meas n),RPg0) by A24,MESFUNC6:102; then
A68:  (-RPg0) is_integrable_on Prod_Measure(L-Meas n)
    & Integral(Prod_Measure(L-Meas n),-RPg0)
       = -Integral(Prod_Measure(L-Meas n),RPg0) by A66,XXREAL_3:91;

A69:  dom(-RPg0) = E1 by A27,A23,A66,VALUED_1:def 5;
A70:  RPg1+(-RPg0) = RPg1 - RPg0 by VALUED_1:def 9;

 ex E be Element of Prod_Field(L-Field n) st
      E = dom RPg1 /\ dom(-RPg0)
    & Integral(Prod_Measure(L-Meas n),RPg1+(-RPg0))
       = Integral(Prod_Measure(L-Meas n),RPg1|E)
       + Integral(Prod_Measure(L-Meas n),(-RPg0) |E)
         by A53,A66,A67,MESFUNC6:101; then
      Integral(Prod_Measure(L-Meas n),RPg1-RPg0)
       = G1.yy1 + - G1.yy0 by A27,A52,A69,A70,A55,A56,A68,XXREAL_3:def 2; then
      |. G1.yy1 - G1.yy0 .| <= r1 by A65,ABSVALUE:5;
      hence |. G1.yy1-G1.yy0 .| < r by XXREAL_0:2,A49;
     end;
    end; then
    G1|J is continuous by A5,A20,FCONT_1:14;
    hence G1 is continuous by A5;
end;

theorem Th54:
for n be non zero Nat, D be n-element FinSequence,
 J be closed_interval Subset of REAL,
 f be PartFunc of [:CarProduct(Seg n --> RNS_Real),RNS_Real:],RNS_Real,
 g be PartFunc of [:CarProduct(Seg n --> REAL),REAL:],REAL,
 G1 be PartFunc of REAL,REAL
 st (for i be Nat st i in Seg n holds D.i is closed_interval Subset of REAL)
  & [:CarProduct D,J:] = dom f & f is_continuous_on [:CarProduct D,J:] & f = g
  & G1 = Integral1(Prod_Measure(L-Meas n),R_EAL g) |J
 holds G1 is continuous
proof
    let n be non zero Nat, D be n-element FinSequence,
    J be closed_interval Subset of REAL,
    f be PartFunc of [:CarProduct(Seg n --> RNS_Real),RNS_Real:],RNS_Real,
    g be PartFunc of [:CarProduct(Seg n --> REAL),REAL:],REAL,
    G1 be PartFunc of REAL,REAL;
    assume that
A1: for i be Nat st i in Seg n
      holds D.i is closed_interval Subset of REAL and
A2: [:CarProduct D,J:] = dom f and
A3: f is_continuous_on [:CarProduct D,J:] and
A4: f = g and
A5: G1 = Integral1(Prod_Measure(L-Meas n),R_EAL g) |J;

    set I = CarProduct D;

A6:for e be Real st 0 < e holds ex r be Real st 0 < r
     & for y1,y2 be Real st |.y2-y1.| < r & y1 in J & y2 in J
        holds for x be Point of CarProduct(Seg n --> RNS_Real) st x in I holds
         |. g.([x,y2]) - g.([x,y1]) .| < e
    proof
     let e be Real;
     assume 0 < e; then
     consider r be Real such that
A7:  0 < r
    & for x1,x2 be Point of CarProduct(Seg n --> RNS_Real), y1,y2 be Real
      st [x1,y1] in [:I,J:] & [x2,y2] in [:I,J:] &
       ||.x2-x1.|| < r & |.y2-y1.| < r
          holds |. g.([x2,y2]) - g.([x1,y1]) .| < e by A3,A4,A1,Th37;
     take r ;
     thus 0 < r by A7;
     let y1,y2 be Real;
     assume
A8: |.y2-y1.| < r & y1 in J & y2 in J;

     let x be Point of CarProduct(Seg n --> RNS_Real);
     assume x in I; then
A9: [x,y1] in [:I,J:] & [x,y2] in [:I,J:] by A8,ZFMISC_1:87;

     x-x=0.(CarProduct(Seg n --> RNS_Real)) by RLVECT_1:15; then
     ||.x-x.|| < r by A7;
     hence |. g.([x,y2]) - g.([x,y1]) .| < e by A7,A8,A9;
    end;

    set Rg =R_EAL g;

A10:dom Rg = [:I,J:] by A2,A4,MESFUNC5:def 7;

A11:for e be Real st 0 < e holds ex r be Real st 0 < r
    & for y1,y2 be Element of REAL st |.y2-y1.| < r & y1 in J
       & y2 in J holds for x be Element of CarProduct(Seg n --> REAL)
       st x in I
          holds |. (ProjPMap2(Rg,y2)).x-(ProjPMap2(Rg,y1)).x .| < e
    proof
     let e be Real;
     assume 0 < e; then
     consider r be Real such that
A12: 0 < r
    & for y1,y2 be Real st |.y2-y1.| < r & y1 in J & y2 in J
       holds for x be Point of CarProduct(Seg n --> RNS_Real)
       st x in I holds
        |. g.([x,y2]) - g.([x,y1]) .| < e by A6;

     take r;
     thus 0 < r by A12;

     let y1,y2 be Element of REAL;
     assume
A13: |.y2-y1.| < r & y1 in J & y2 in J;
     let x be Element of CarProduct(Seg n --> REAL);
     assume
A14: x in I;
     x is Point of CarProduct(Seg n --> RNS_Real) by MEASUR15:42; then
A15: |. g.([x,y2]) - g.([x,y1]) .| < e by A12,A13,A14;

     (ProjPMap2(Rg,y1)).x = Rg.(x,y1) & Rg.(x,y1) = g.([x,y1])
   & (ProjPMap2(Rg,y2)).x = Rg.(x,y2) & Rg.(x,y2) = g.([x,y2])
       by A13,A14,A10,ZFMISC_1:87,MESFUN12:def 4,MESFUNC5:def 7; then
     (ProjPMap2(Rg,y2)).x-(ProjPMap2(Rg,y1)).x
      = g.([x,y2]) - g.([x,y1]) by Lm2;
     hence thesis by A15,EXTREAL1:12;
    end;

    set T = Integral1(Prod_Measure(L-Meas n),Rg);
A16:dom T = REAL by FUNCT_2:def 1;

    for y0,r be Real st y0 in J & 0 < r
     ex s be Real st 0<s & for y1 be Real
      st y1 in J & |.y1-y0.| < s holds |.G1.y1-G1.y0.| < r
    proof
     let yy0,r be Real;
     assume
A17: yy0 in J & 0 < r;

     reconsider y0=yy0 as Element of REAL by XREAL_0:def 1;
     reconsider RPg0 = ProjPMap2(Rg,y0)
      as PartFunc of CarProduct(Seg n --> REAL),REAL by MESFUN16:30;
     reconsider Pg0 = RPg0
      as PartFunc of CarProduct(Seg n --> RNS_Real),RNS_Real by MEASUR15:42;
     for i be Nat st i in Seg n holds D.i is Subset of REAL by A1; then
A18: CarProduct D is Subset of CarProduct(Seg n --> REAL)
       by FINSEQ_1:3,Th11; then
A19: dom Pg0 = I by A17,A2,A4,MESFUN16:28;

A20: RPg0 is_integrable_on Prod_Measure(L-Meas n)
       by A1,A19,A2,A3,A4,Th24,Th43;

A21:  R_EAL RPg0 = ProjPMap2(R_EAL g,y0) by MESFUNC5:def 7;

     RPg0 = ProjPMap2(R_EAL g,y0); then
A22: (Integral1(Prod_Measure(L-Meas n),Rg)).y0
      = Integral(Prod_Measure(L-Meas n),ProjPMap2(R_EAL g,y0))
         by A1,A17,A2,A3,A4,Th45;

     consider r0 be Real, E1 be Element of Prod_Field(L-Field n) such that
A23:  E1 = CarProduct D & (Prod_Measure(L-Meas n)).E1 = r0 & 0 <= r0
       by A1,Th52;

     per cases;
     suppose A24: r0 = 0;
      consider s be Real such that
A25:  0 < s
    & for y1,y2 be Element of REAL st |.y2-y1.| < s & y1 in J & y2 in J
        holds for x be Element of CarProduct(Seg n --> REAL)
        st x in I holds
         |. (ProjPMap2(Rg,y2)).x-(ProjPMap2(Rg,y1)).x .| < r
           by A11,A17;

      for y1 be Real st y1 in J & |.y1-y0.| < s holds |.G1.y1-G1.yy0 .| < r
      proof
       let yy1 be Real;
       assume
A26:   yy1 in J & |.yy1-y0.| < s;

       reconsider y1=yy1 as Element of REAL by XREAL_0:def 1;
       reconsider RPg1 = ProjPMap2(Rg,y1)
        as PartFunc of CarProduct(Seg n --> REAL),REAL by MESFUN16:30;
       reconsider Pg1 = RPg1
        as PartFunc of CarProduct(Seg n --> RNS_Real),RNS_Real by MEASUR15:42;

A27:   dom Pg1 = I by A18,A26,A2,A4,MESFUN16:28;

A28:   RPg1 is_integrable_on Prod_Measure(L-Meas n)
         by A1,A27,A2,A3,A4,Th24,Th43;

A29:   R_EAL RPg1 = ProjPMap2(R_EAL g,y1) by MESFUNC5:def 7;

       RPg1 = ProjPMap2(R_EAL g,y1); then
       (Integral1(Prod_Measure(L-Meas n),Rg)).y1
        = Integral(Prod_Measure(L-Meas n),ProjPMap2(R_EAL g,y1))
        by A1,A26,A2,A3,A4,Th45; then
A30:    G1.yy0 = Integral(Prod_Measure(L-Meas n),RPg0)
     & G1.yy1 = Integral(Prod_Measure(L-Meas n),RPg1)
         by A21,A29,A5,A17,A22,A26,FUNCT_1:49;
A31:    -(G1.yy0) = -Integral(Prod_Measure(L-Meas n),RPg0)
         by A30,XXREAL_3:def 3;

A32:   dom(RPg1-RPg0) = I /\ I by A19,A27,VALUED_1:12;
A33:   RPg1-RPg0 is_integrable_on Prod_Measure(L-Meas n)
         by A20,A28,MESFUN6C:34;

A34:   dom(R_EAL(RPg1-RPg0)) = E1 by A23,A32,MESFUNC5:def 7;

A35:   (Prod_Measure(L-Meas n)).E1 < +infty by A23,XREAL_0:def 1,XXREAL_0:9;

       for x be Element of CarProduct(Seg n --> REAL)
       st x in E1 holds
       -r <= (R_EAL(RPg1-RPg0)).x & (R_EAL(RPg1-RPg0)).x <= r
       proof
        let x be Element of CarProduct(Seg n --> REAL);
        assume
A36:    x in E1; then
A37:    |. (ProjPMap2(Rg,y1)).x-(ProjPMap2(Rg,y0)).x .| < r by A23,A25,A26,A17;

        (ProjPMap2(Rg,y1)).x-(ProjPMap2(Rg,y0)).x = RPg1.x - RPg0.x
          by Lm2; then
        (ProjPMap2(Rg,y1)).x-(ProjPMap2(Rg,y0)).x = (RPg1-RPg0).x
          by A23,A32,A36,VALUED_1:13; then
        |. (RPg1-RPg0).x .| <= r by A37,EXTREAL1:12; then
        -r <= (RPg1-RPg0).x & (RPg1-RPg0).x <= r by ABSVALUE:5;
        hence -r <= (R_EAL(RPg1-RPg0)).x & (R_EAL(RPg1-RPg0)).x <= r
          by MESFUNC5:def 7;
       end; then
       (-r)*(Prod_Measure(L-Meas n)).E1
        <= Integral(Prod_Measure(L-Meas n),(R_EAL(RPg1-RPg0)) |E1)
     & Integral(Prod_Measure(L-Meas n),(R_EAL(RPg1-RPg0)) |E1)
        <= r * (Prod_Measure(L-Meas n)).E1 by A34,A33,A35,MESFUNC7:26; then
A38:   0 <= Integral(Prod_Measure(L-Meas n),(R_EAL(RPg1-RPg0)))
     & Integral(Prod_Measure(L-Meas n),(R_EAL(RPg1-RPg0))) <= 0 by A24,A23,A34;

A39:   (-1)(#)RPg0 = -RPg0 by VALUED_1:def 6;
A40:   (-1) (#) RPg0 is_integrable_on Prod_Measure(L-Meas n)
     & Integral(Prod_Measure(L-Meas n),(-1)(#)RPg0)
        = (-1)*Integral(Prod_Measure(L-Meas n),RPg0) by A20,MESFUNC6:102; then
A41:   (-RPg0) is_integrable_on Prod_Measure(L-Meas n)
     & Integral(Prod_Measure(L-Meas n),-RPg0)
        = -Integral(Prod_Measure(L-Meas n),RPg0) by A39,XXREAL_3:91;

A42:   dom(-RPg0) = E1 by A23,A19,A39,VALUED_1:def 5;

A43:   RPg1+(-RPg0) = RPg1 - RPg0 by VALUED_1:def 9;
       ex E be Element of Prod_Field(L-Field n) st
       E = dom RPg1 /\ dom(-RPg0)
     & Integral(Prod_Measure(L-Meas n),RPg1+(-RPg0))
        = Integral(Prod_Measure(L-Meas n),RPg1|E)
        + Integral(Prod_Measure(L-Meas n),(-RPg0) |E)
          by A28,A40,A39,MESFUNC6:101; then
       Integral(Prod_Measure(L-Meas n),RPg1-RPg0)
        = G1.yy1 + - G1.yy0 by A23,A27,A42,A43,A30,A31,A41,XXREAL_3:def 2;
       hence |. G1.yy1-G1.yy0 .| < r by A17,A38;
      end;
      hence ex s be Real st 0<s & for y1 be Real
        st y1 in J & |.y1-yy0.| < s holds |.G1.y1-G1.yy0.| < r by A25;
     end;
     suppose
A44:  r0 <> 0;
      set r1=r/2;
A45:  0 < r1 & r1 < r by A17,XREAL_1:215,XREAL_1:216; then
      consider s be Real such that
A46:  0 < s
    & for y1,y2 be Element of REAL st |.y2-y1.| < s & y1 in J & y2 in J
       holds for x be Element of CarProduct(Seg n --> REAL)
       st x in I holds
        |. (ProjPMap2(Rg,y2)).x-(ProjPMap2(Rg,y1)).x .| < r1/r0
            by A11,A23,A44,XREAL_1:139;
      take s;
      thus 0 < s by A46;

      let yy1 be Real;
      assume
A47:  yy1 in J & |.yy1-yy0.| < s;

      reconsider y1=yy1 as Element of REAL by XREAL_0:def 1;
      reconsider RPg1 = ProjPMap2(Rg,y1)
       as PartFunc of CarProduct(Seg n --> REAL),REAL by MESFUN16:30;
      reconsider Pg1 = RPg1
       as PartFunc of CarProduct(Seg n --> RNS_Real),RNS_Real by MEASUR15:42;

A48:  dom Pg1 = I by A18,A47,A2,A4,MESFUN16:28; then
A49:  RPg1 is_integrable_on Prod_Measure(L-Meas n) by A1,A2,A3,A4,Th24,Th43;

A50:  R_EAL RPg1 = ProjPMap2(R_EAL g,y1) by MESFUNC5:def 7;

      RPg1 = ProjPMap2(R_EAL g,y1); then
      (Integral1(Prod_Measure(L-Meas n),Rg)).y1
        = Integral(Prod_Measure(L-Meas n),ProjPMap2(R_EAL g,y1))
        by A1,A47,A2,A3,A4,Th45; then
A51:  G1.yy0 = Integral(Prod_Measure(L-Meas n),RPg0)
    & G1.yy1 = Integral(Prod_Measure(L-Meas n),RPg1)
        by A21,A50,A5,A17,A22,A47,FUNCT_1:49;
A52:  -(G1.yy0) = -Integral(Prod_Measure(L-Meas n),RPg0) by A51,XXREAL_3:def 3;

A53:  RPg1-RPg0 is_integrable_on Prod_Measure(L-Meas n) by A20,A49,MESFUN6C:34;

A54:  dom(RPg1-RPg0) = I /\ I by A19,A48,VALUED_1:12; then
A55:  dom(R_EAL(RPg1-RPg0)) = E1 by A23,MESFUNC5:def 7;

A56:  (Prod_Measure(L-Meas n)).E1 < +infty by A23,XREAL_0:def 1,XXREAL_0:9;

      for x be Element of CarProduct(Seg n --> REAL) st x in E1 holds
       -(r1/r0) <= (R_EAL(RPg1-RPg0)).x & (R_EAL(RPg1-RPg0)).x <= r1/r0
      proof
       let x be Element of CarProduct(Seg n --> REAL);
       assume
A57:   x in E1; then
A58:   |. (ProjPMap2(Rg,y1)).x-(ProjPMap2(Rg,y0)).x .| < r1/r0
         by A23,A46,A47,A17;

       (ProjPMap2(Rg,y1)).x-(ProjPMap2(Rg,y0)).x = RPg1.x - RPg0.x
         by Lm2; then
       (ProjPMap2(Rg,y1)).x-(ProjPMap2(Rg,y0)).x = (RPg1-RPg0).x
         by A23,A54,A57,VALUED_1:13; then
       |. (RPg1-RPg0).x .| <= r1/r0 by A58,EXTREAL1:12; then
       -(r1/r0) <= (RPg1-RPg0).x & (RPg1-RPg0).x <= r1/r0 by ABSVALUE:5;
       hence -(r1/r0) <= (R_EAL(RPg1-RPg0)).x
         & (R_EAL(RPg1-RPg0)).x <= (r1/r0) by MESFUNC5:def 7;
      end; then
A59:  (-r1/r0)*(Prod_Measure(L-Meas n)).E1
        <= Integral(Prod_Measure(L-Meas n),(R_EAL(RPg1-RPg0)) |E1)
    & Integral(Prod_Measure(L-Meas n),(R_EAL(RPg1-RPg0)) |E1)
        <= (r1/r0) * (Prod_Measure(L-Meas n)).E1 by A55,A53,A56,MESFUNC7:26;

A60:  (-r1/r0)*r0 = -r1/r0*r0 .= -r1 by A44,XCMPLX_1:87;

      (r1/r0)*r0 = r1 by A44,XCMPLX_1:87; then
A61:  -r1 <= Integral(Prod_Measure(L-Meas n),(R_EAL(RPg1-RPg0)))
    & Integral(Prod_Measure(L-Meas n),(R_EAL(RPg1-RPg0))) <= r1
        by A59,A60,A55,A23,XXREAL_3:def 5;

A62:  (-1)(#)RPg0 = -RPg0 by VALUED_1:def 6;
A63:  (-1) (#) RPg0 is_integrable_on Prod_Measure(L-Meas n)
    & Integral(Prod_Measure(L-Meas n),(-1)(#)RPg0)
        = (-1)*Integral(Prod_Measure(L-Meas n),RPg0) by A20,MESFUNC6:102; then
A64:  (-RPg0) is_integrable_on Prod_Measure(L-Meas n)
    & Integral(Prod_Measure(L-Meas n),-RPg0)
        = -Integral(Prod_Measure(L-Meas n),RPg0) by A62,XXREAL_3:91;

A65:  dom(-RPg0) = E1 by A23,A19,A62,VALUED_1:def 5;

A66:  RPg1+(-RPg0) = RPg1 - RPg0 by VALUED_1:def 9;
      ex E be Element of Prod_Field(L-Field n) st
      E = dom RPg1 /\ dom(-RPg0)
    & Integral(Prod_Measure(L-Meas n),RPg1+(-RPg0))
       = Integral(Prod_Measure(L-Meas n),RPg1|E)
       + Integral(Prod_Measure(L-Meas n),(-RPg0) |E)
          by A49,A63,A62,MESFUNC6:101; then
      Integral(Prod_Measure(L-Meas n),RPg1-RPg0)
      = G1.yy1 + - G1.yy0 by A23,A48,A65,A66,A51,A52,A64,XXREAL_3:def 2; then
      |. G1.yy1 - G1.yy0 .| <= r1 by A61,ABSVALUE:5;
      hence |. G1.yy1-G1.yy0 .| < r by XXREAL_0:2,A45;
     end;
    end; then
    G1|J is continuous by A5,A16,FCONT_1:14;
    hence G1 is continuous by A5;
end;

Lm3:
for n be non zero Nat, D be n-element FinSequence,
 I be Subset of CarProduct(Seg n --> RNS_Real),
 J be closed_interval Subset of REAL,
 f be PartFunc of [:CarProduct(Seg n --> RNS_Real),RNS_Real:],RNS_Real,
 g be PartFunc of [:CarProduct(Seg n --> REAL),REAL:],REAL
 st (for i be Nat st i in Seg n
       holds D.i is closed_interval Subset of REAL)
  & I = CarProduct D
  & [:I,J:] = dom f & f is_continuous_on [:I,J:] & f = g
holds
   g is_integrable_on Prod_Measure(Prod_Measure(L-Meas n),L-Meas)
 & (for x being Element of CarProduct(Seg n --> REAL)
       holds Integral2(L-Meas,|.R_EAL g.|).x < +infty)
 & (for U being Element of Prod_Field(L-Field n)
       holds Integral2(L-Meas,R_EAL g) is U-measurable)
 & Integral2(L-Meas,R_EAL g) is_integrable_on Prod_Measure(L-Meas n)
 & Integral(Prod_Measure(Prod_Measure(L-Meas n),L-Meas),g)
      = Integral(Prod_Measure(L-Meas n),Integral2(L-Meas,R_EAL g))
proof
    let n be non zero Nat, D be n-element FinSequence,
    I be Subset of CarProduct(Seg n --> RNS_Real),
    J be closed_interval Subset of REAL,
    f be PartFunc of [:CarProduct(Seg n --> RNS_Real),RNS_Real:],RNS_Real,
    g be PartFunc of [:CarProduct(Seg n --> REAL),REAL:],REAL;
    assume that
A1: for i be Nat st i in Seg n
      holds D.i is closed_interval Subset of REAL and
A2: I = CarProduct D and
A3: [:I,J:] = dom f and
A4: f is_continuous_on [:I,J:] and
A5: f = g;

A6: ex I1 be Subset of CarProduct(Seg n --> RNS_Real) st
    I1 = CarProduct D & I1 is compact
    proof
     per cases;
     suppose D is non-empty; then
      reconsider D1 = D as non-empty n-element FinSequence;
      for i be Nat st i in Seg n holds
        D1.i is closed_interval Subset of REAL by A1;
      hence thesis by MEASUR15:51;
     end;
     suppose
A7:   not D is non-empty; then
A8:   CarProduct D = {} by Th6;
      CarProduct D c= the carrier of CarProduct(Seg n --> RNS_Real)
        by A7,Th6; then
      reconsider I1 = CarProduct D
       as Subset of CarProduct(Seg n --> RNS_Real);
      I1 is compact by A8;
      hence thesis;
     end;
    end;

    reconsider J1 = J as Subset of RNS_Real;
A9: J1 is compact by MESFUN16:7;
    reconsider E = [:CarProduct D,J1:] as
     Subset of [:CarProduct(Seg n --> RNS_Real),RNS_Real:] by A6,A9,MESFUN16:8;

A10: for i be Nat st i in Seg n holds D.i is Interval by A1; then
    reconsider E as Element of
    sigma measurable_rectangles(Prod_Field(L-Field n),L-Field)
      by A2,Th49;
    for i be Nat st i in Seg n holds D.i is Subset of REAL by A1; then
A11:I is Subset of CarProduct(Seg n --> REAL)
      by A2,FINSEQ_1:3,Th11; then
A12:g is E-measurable by A2,A3,A4,A5,Th33;

    set Rg =R_EAL g;

A13:dom g = dom Rg by MESFUNC5:def 7; then
A14:dom |.Rg.| = [:I,J:] by A3,A5,MESFUNC1:def 10;

A15:for x be Element of CarProduct(Seg n --> REAL)
    st x in CarProduct(Seg n --> REAL) \ I holds
     (Integral2(L-Meas,|.Rg.|)).x  = 0
    proof
     let x be Element of CarProduct(Seg n --> REAL);
     assume x in CarProduct(Seg n --> REAL) \ I; then
     not x in I by XBOOLE_0:def 5; then
     dom ProjPMap1(|.Rg.|,x) = {} by A3,A5,A11,MESFUN16:27; then
     Integral(L-Meas,ProjPMap1(|.Rg.|,x)) = 0 by MESFUN16:1;
     hence (Integral2(L-Meas,|.Rg.|)).x = 0 by MESFUN12:def 8;
    end;

A16:for x be Element of CarProduct(Seg n --> REAL),
    y be Element of REAL st x in I & y in J holds
     (ProjPMap1(|.Rg.|,x)).y =(|.Rg.|).(x,y)
   & (|.Rg.|).(x,y) = |. g.([x,y]) .| & (|.Rg.|).(x,y) = (|.g.|).([x,y])
    proof
     let x be Element of CarProduct(Seg n --> REAL),y be Element of REAL;
     assume
A17:  x in I & y in J;
     hence (ProjPMap1(|.Rg.|,x)).y =(|.Rg.|).(x,y)
      by A14,ZFMISC_1:87,MESFUN12:def 3;

     [x,y] in dom g by A17,A3,A5,ZFMISC_1:87; then
A18: [x,y] in dom |.g.| by VALUED_1:def 11;

A19: Rg.([x,y]) = g.([x,y]) by MESFUNC5:def 7;

     (|.Rg.|).(x,y) = |. Rg.([x,y]) .|
       by A17,A14,ZFMISC_1:87,MESFUNC1:def 10;
     hence (|.Rg.|).(x,y) = |. g.([x,y]) .| by A19,EXTREAL1:12;
     hence (|.Rg.|).(x,y) = (|.g.|).([x,y]) by VALUED_1:def 11,A18;
    end;

A20:for x be Element of CarProduct(Seg n --> REAL)
     st x in I holds 0 <= Integral2(L-Meas,|.Rg.|).x
    proof
     let x be Element of CarProduct(Seg n --> REAL);
     assume
A21: x in I;

     reconsider CD = J as Element of L-Field by MEASUR10:5,MEASUR12:75;
     reconsider Pg = ProjPMap1(|.Rg.|,x)
       as PartFunc of REAL,REAL by MESFUN16:30;
A22: dom Pg = J by A21,A3,A11,A5,MESFUN16:27;

     Pg is_integrable_on L-Meas by A3,A4,A5,A11,Th31; then
     consider E be Element of L-Field such that
A23:  E = dom(R_EAL Pg) & R_EAL Pg is E-measurable by MESFUNC5:def 17;
     E = dom Pg & R_EAL Pg is E-measurable by A23,MESFUNC5:def 7; then
A24: Pg is CD-measurable by A22;

     R_EAL Pg = ProjPMap1(|.R_EAL g.|,x) by MESFUNC5:def 7; then
A25: (Integral2(L-Meas,|.Rg.|)).x = Integral(L-Meas,Pg) by MESFUN12:def 8;

     for y being object st y in dom(Pg|J) holds 0 <= (Pg|J).y
     proof
      let y be object;
      assume
A26:  y in dom(Pg|J); then
      y in dom Pg /\ J by RELAT_1:61; then
      reconsider y as Element of REAL;

      (ProjPMap1(|.Rg.|,x)).y = (|.Rg.|).(x,y)
    & (|.Rg.|).(x,y) = |. g.([x,y]) .| by A21,A26,A16;
      hence thesis by A22;
     end;
     hence thesis by A22,A24,A25,MESFUNC6:52,84;
    end;

    set F = Integral2(L-Meas,|.Rg.|);
    F is PartFunc of CarProduct(Seg n --> REAL),REAL
      by A3,A4,A5,A11,Th34; then
    reconsider G = F|I as PartFunc of CarProduct(Seg n --> REAL),REAL
      by PARTFUN1:11;
    reconsider G2 = G as PartFunc of CarProduct(Seg n --> RNS_Real),RNS_Real
      by MEASUR15:42;

    reconsider H = CarProduct(Seg n --> REAL)
    as Element of Prod_Field(L-Field n) by PROB_1:5;

A27:I is Element of Prod_Field(L-Field n) by A2,A10,Th9;

    reconsider NI = H \ I as Subset of CarProduct(Seg n --> RNS_Real)
      by MEASUR15:42;

A28:NI is Element of Prod_Field(L-Field n) by A27,PROB_1:6;

    set F0 = F|I;
    set F1 = F|NI;

A29:dom F = CarProduct(Seg n --> REAL) by FUNCT_2:def 1; then
A30:dom(F|I) = I & dom(F|NI) = NI by A11;
    G2 is_continuous_on I by A1,A2,A3,A4,A5,Th40; then
    G is_integrable_on Prod_Measure(L-Meas n) by A1,A2,A11,A29,Th43; then
A31:F0 is_integrable_on Prod_Measure(L-Meas n) by MESFUNC5:def 7; then
A32:Integral(Prod_Measure(L-Meas n),F0) < +infty by MESFUNC5:96;


A33:I \/ NI = CarProduct(Seg n --> REAL) by A11,XBOOLE_1:45; then
A34:F| (I \/ NI) = F;

A35:I /\ NI = {} by XBOOLE_1:85,XBOOLE_0:def 7;

A36:for r being Element of CarProduct(Seg n --> REAL) holds 0 <= F.r
    proof
     let r being Element of CarProduct(Seg n --> REAL);
     r in I or r in NI by A33,XBOOLE_0:def 3;
     hence 0 <= F.r by A20,A15;
    end; then
A37:F is nonnegative;

    for r being Real holds H /\ (less_dom(F,r)) in Prod_Field(L-Field n)
    proof
     let r be Real;
     consider H0 being Element of Prod_Field(L-Field n) such that
A38: H0 = dom F0 & F0 is H0 -measurable by A31,MESFUNC5:def 17;

     per cases;
     suppose
A39:  r <= 0;
      less_dom (F,r) = {}
      proof
       assume less_dom (F,r) <> {}; then
       consider x be object such that
A40:   x in less_dom(F,r) by XBOOLE_0:def 1;
       x in dom F & F.x < r by MESFUNC1:def 11,A40;
       hence contradiction by A36,A39;
      end;
      hence H /\ (less_dom (F,r)) in Prod_Field(L-Field n) by PROB_1:4;
     end;
     suppose
A41:  0 < r;
      for z be object holds z in less_dom(F,r) iff z in less_dom(F0,r) \/ NI
      proof
       let z be object;
       hereby assume
A42:    z in less_dom(F,r); then
A43:    z in dom F & F.z < r by MESFUNC1:def 11;
        reconsider x=z as Element of CarProduct(Seg n --> REAL) by A42;
        per cases by A42,A33,XBOOLE_0:def 3;
        suppose
A44:     z in I; then
         F0.z < r  by FUNCT_1:49,A43; then
         z in less_dom (F0,r) by A44,A30,MESFUNC1:def 11;
         hence z in less_dom (F0,r) \/ NI by XBOOLE_0:def 3;
        end;
        suppose z in NI;
         hence z in less_dom (F0,r) \/ NI by XBOOLE_0:def 3;
        end;
       end;
       assume z in less_dom (F0,r) \/ NI; then
       per cases by XBOOLE_0:def 3;
       suppose
A45:    z in less_dom (F0,r); then
        z in dom F0 & F0.z < r by MESFUNC1:def 11; then
A46:    F.z < r by FUNCT_1:49;
        dom F = CarProduct(Seg n --> REAL) by FUNCT_2:def 1;
        hence z in less_dom (F,r) by A45,A46,MESFUNC1:def 11;
       end;
       suppose
A47:    z in NI; then
        reconsider x=z as Element of CarProduct(Seg n --> REAL);
A48:    F.x < r by A41,A47,A15;
        dom F = CarProduct(Seg n --> REAL) by FUNCT_2:def 1;
        hence z in less_dom (F,r) by A48,MESFUNC1:def 11;
       end;
      end; then
      less_dom(F,r) = less_dom (F0,r) \/ NI by TARSKI:2; then
A49:  H /\ less_dom(F,r) = I /\ (less_dom (F0,r) \/ NI)
             \/ NI /\ (less_dom (F0,r) \/ NI) by A33,XBOOLE_1:23;
      I /\ (less_dom (F0,r) \/ NI)
       = I /\ less_dom (F0,r) \/ {} by A35,XBOOLE_1:23; then
A50:  I /\ (less_dom (F0,r) \/ NI) in Prod_Field(L-Field n) by A27,A29,A38;

A51:  less_dom(F0,r) c= I by A30,MESFUNC1:def 11;

      NI /\ (less_dom (F0,r) \/ NI)
       = (NI /\ less_dom(F0,r)) \/ (NI /\ NI) by XBOOLE_1:23; then
      NI /\ (less_dom (F0,r) \/ NI)
       = {} \/ (NI /\ NI) by A51;
      hence H /\ less_dom (F,r) in Prod_Field(L-Field n)
        by A28,A49,A50,PROB_1:3;
     end;
    end; then
    F is H -measurable; then
A52:Integral(Prod_Measure(L-Meas n),F)
      = Integral(Prod_Measure(L-Meas n),F0)
      + Integral(Prod_Measure(L-Meas n),F1)
      by A29,A27,A28,A34,A37,MESFUNC5:91,XBOOLE_1:79;

A53: Prod_Measure(L-Meas n) is sigma_finite by MEASUR15:36;

    for x being object st x in dom F1 holds F1.x = 0
    proof
     let x be object;
     assume A54: x in dom F1; then
     reconsider r=x as Element of CarProduct(Seg n --> REAL) by A29;

     (Integral2(L-Meas,|.Rg.|)).r = 0 by A54,A15;
     hence thesis by A54,FUNCT_1:49;
    end; then
    Integral(Prod_Measure(L-Meas n),F1)
      = 0 * (Prod_Measure(L-Meas n)).(dom F1)
      by A27,A29,PROB_1:6,MEASUR10:27; then
    Integral(Prod_Measure(L-Meas n),F0) = Integral(Prod_Measure(L-Meas n),F)
      by A52,XXREAL_3:4; then
A55:R_EAL g is_integrable_on Prod_Measure(Prod_Measure(L-Meas n),L-Meas)
      by A12,A2,A3,A5,A13,A32,MESFUN16:5,A53,MESFUN13:11;

    for x being Element of CarProduct(Seg n --> REAL)
     holds Integral2(L-Meas,|.Rg.|).x < +infty
    proof
     let x be Element of CarProduct(Seg n --> REAL);
     per cases by A33,XBOOLE_0:def 3;
     suppose
A56:  x in I; then
      Integral2(L-Meas,|.Rg.|).x = G.x by FUNCT_1:49; then
      Integral2(L-Meas,|.Rg.|).x in rng G by A30,A56,FUNCT_1:3;
      hence Integral2(L-Meas,|.Rg.|).x < +infty by XXREAL_0:9;
     end;
     suppose x in NI;
      hence Integral2(L-Meas,|.Rg.|).x < +infty by A15;
     end;
    end;
    hence thesis by A53,A55,MESFUN16:5,MESFUN13:32;
end;

Lm4:
for n be non zero Nat, D be n-element FinSequence,
 I be Subset of CarProduct(Seg n --> RNS_Real),
 J be closed_interval Subset of REAL,
 f be PartFunc of [:CarProduct(Seg n --> RNS_Real),RNS_Real:],RNS_Real,
 g be PartFunc of [:CarProduct(Seg n --> REAL),REAL:],REAL
 st (for i be Nat st i in Seg n
      holds D.i is closed_interval Subset of REAL)
  & I = CarProduct D
  & [:I,J:] = dom f & f is_continuous_on [:I,J:] & f = g
holds
   g is_integrable_on Prod_Measure(Prod_Measure(L-Meas n),L-Meas)
 & (for y being Element of REAL
       holds Integral1(Prod_Measure(L-Meas n),|.R_EAL g.|).y < +infty)
 & (for V being Element of L-Field
       holds Integral1(Prod_Measure(L-Meas n),R_EAL g) is V-measurable)
 & Integral1(Prod_Measure(L-Meas n),R_EAL g) is_integrable_on L-Meas
 & Integral(Prod_Measure(Prod_Measure(L-Meas n),L-Meas),g)
      = Integral(L-Meas,Integral1(Prod_Measure(L-Meas n),R_EAL g))
proof
    let n be non zero Nat, D be n-element FinSequence,
    I be Subset of CarProduct(Seg n --> RNS_Real),
    J be closed_interval Subset of REAL,
    f be PartFunc of [:CarProduct(Seg n --> RNS_Real),RNS_Real:],RNS_Real,
    g be PartFunc of [:CarProduct(Seg n --> REAL),REAL:],REAL;
    assume that
A1: for i be Nat st i in Seg n
      holds D.i is closed_interval Subset of REAL and
A2: I = CarProduct D and
A3: [:I,J:] = dom f and
A4: f is_continuous_on [:I,J:] and
A5: f = g;

A6: ex I1 be Subset of CarProduct(Seg n --> RNS_Real) st
    I1 = CarProduct D & I1 is compact
    proof
     per cases;
     suppose D is non-empty; then
      reconsider D1 = D as non-empty n-element FinSequence;
      for i be Nat st i in Seg n holds
        D1.i is closed_interval Subset of REAL by A1;
      hence thesis by MEASUR15:51;
     end;
     suppose
A7:   not D is non-empty; then
A8:   CarProduct D = {} by Th6;

      CarProduct D c= the carrier of CarProduct(Seg n --> RNS_Real)
        by A7,Th6; then
      reconsider I1 = CarProduct D
       as Subset of CarProduct(Seg n --> RNS_Real);
      I1 is compact by A8;
      hence thesis;
     end;
    end;
    reconsider J1 = J as Subset of RNS_Real;
    J1 is compact by MESFUN16:7; then
    reconsider E = [:CarProduct D,J1:] as
     Subset of [:CarProduct(Seg n --> RNS_Real),RNS_Real:] by A6,MESFUN16:8;

    for i be Nat st i in Seg n holds D.i is Interval by A1; then
    reconsider E as Element of
    sigma measurable_rectangles(Prod_Field(L-Field n),L-Field)
      by A2,Th49;
    for i be Nat st i in Seg n holds D.i is Subset of REAL by A1; then
A9: I is Subset of CarProduct(Seg n --> REAL)
      by A2,FINSEQ_1:3,Th11; then
A10: g is E-measurable by A2,A3,A4,A5,Th33;

    set Rg =R_EAL g;

    dom g = dom Rg by MESFUNC5:def 7; then
A11: dom |.Rg.| = [:I,J:] by A3,A5,MESFUNC1:def 10;

A12: for y be Element of REAL st y in REAL\J holds
     (Integral1(Prod_Measure(L-Meas n),|.Rg.|)).y  = 0
    proof
     let y be Element of REAL;
     assume y in REAL \ J; then
     not y in J by XBOOLE_0:def 5; then
A13:  dom ProjPMap2(|.Rg.|,y) = {} by A3,A5,A9,MESFUN16:28;

     (Integral1(Prod_Measure(L-Meas n),|.Rg.|)).y
      = Integral(Prod_Measure(L-Meas n),(ProjPMap2(|.Rg.|,y)))
       by MESFUN12:def 7;
     hence (Integral1(Prod_Measure(L-Meas n),|.Rg.|)).y = 0 by A13,MESFUN16:1;
    end;

A14:for x be Element of CarProduct(Seg n --> REAL),
    y be Element of REAL st x in I & y in J holds
     (ProjPMap2(|.Rg.|,y)).x =(|.Rg.|).(x,y)
   & (|.Rg.|).(x,y) = |. g.([x,y]) .| & (|.Rg.|).(x,y) = (|.g.|).([x,y])
    proof
     let x be Element of CarProduct(Seg n --> REAL), y be Element of REAL;
     assume that
A15:  x in I and
A16:  y in J;
     thus (ProjPMap2(|.Rg.|,y)).x =(|.Rg.|).(x,y)
      by A11,A15,A16,ZFMISC_1:87,MESFUN12:def 4;

     [x,y] in dom g by A15,A3,A5,A16,ZFMISC_1:87; then
A17: [x,y] in dom |.g.| by VALUED_1:def 11;

A18: Rg.([x,y]) = g.([x,y]) by MESFUNC5:def 7;

     (|.Rg.|).(x,y) = |. Rg.([x,y]) .|
       by A15,A11,A16,ZFMISC_1:87,MESFUNC1:def 10;
     hence (|.Rg.|).(x,y) = |.g.([x,y]).| by A18,EXTREAL1:12;
     hence (|.Rg.|).(x,y) = (|.g.|).([x,y]) by VALUED_1:def 11,A17;
    end;

A19:for y be Element of REAL
     st y in J holds 0 <= Integral1(Prod_Measure(L-Meas n),|.Rg.|).y
    proof
     let y be Element of REAL;
     assume
A20: y in J;

     for i be Nat st i in Seg n holds D.i is Interval by A1; then
     reconsider AB = I as Element of Prod_Field(L-Field n)
       by A2,Th9;
     reconsider Pg = ProjPMap2(|.Rg.|,y)
     as PartFunc of CarProduct(Seg n --> REAL),REAL by MESFUN16:30;
A21: ProjPMap2(|.Rg.|,y) = R_EAL Pg by MESFUNC5:def 7;

A22: dom Pg = I by A20,A3,A9,A5,MESFUN16:28;

A23: Pg is AB-measurable by A21,A1,A20,A3,A2,A4,A5,Th47;

A24: Integral(Prod_Measure(L-Meas n),Pg)
      = (Integral1(Prod_Measure(L-Meas n),|.Rg.|)).y
       by A1,A20,A2,A3,A4,A5,A21,Th48;

     for x being object st x in dom(Pg|I) holds 0 <= (Pg|I).x
     proof
      let x be object;
      assume
A25:  x in dom(Pg|I); then
      reconsider x as Element of CarProduct(Seg n --> REAL) by A22;

      (ProjPMap2(|.Rg.|,y)).x = (|.Rg.|).(x,y)
      & (|.Rg.|).(x,y) = |. g.([x,y]) .| by A20,A25,A14;
      hence thesis by A22;
     end;
     hence thesis by A22,A23,A24,MESFUNC6:52,84;
    end;

    set T = Integral1(Prod_Measure(L-Meas n),|.Rg.|);
    reconsider S = T|J as PartFunc of REAL,REAL
      by A1,A2,A3,A4,A5,Th50;

A26:J is Element of L-Field by MEASUR10:5,MEASUR12:75;
    reconsider H = REAL as Element of L-Field by PROB_1:5;

    set NJ = H \ J;
    reconsider T0 = T|J as PartFunc of REAL,ExtREAL by PARTFUN1:11;
    reconsider T1 = T|NJ as PartFunc of REAL,ExtREAL by PARTFUN1:11;

A27:dom T = REAL by FUNCT_2:def 1;

A28:dom(T|J) = J & dom(T|NJ) = NJ by FUNCT_2:def 1;

    S is_integrable_on L-Meas
    proof
     per cases;
     suppose J is non empty; then
      reconsider J1 = J as non empty closed_interval Subset of REAL;
      S||J1 is bounded & S is_integrable_on J1
        by A28,A1,A2,A3,A4,A5,Th53,INTEGRA5:10,11;
      hence S is_integrable_on L-Meas by A26,A28,MESFUN14:49;
     end;
     suppose
A29:   J is empty;
      reconsider E = {} as Element of L-Field by MEASURE1:7;
A30:   E = dom(R_EAL S) by A28,A29,MESFUNC5:def 7;
      for x be Element of REAL st x in dom(R_EAL S) holds (R_EAL S).x = 0
        by A28,A29,MESFUNC5:def 7;
      hence S is_integrable_on L-Meas by A30,LPSPACE1:22;
     end;
    end; then
A31:T0 is_integrable_on L-Meas by MESFUNC5:def 7; then
A32:Integral(L-Meas,T0) < +infty by MESFUNC5:96;

A33: NJ is Element of L-Field by A26,PROB_1:6;

A34:J \/ NJ = REAL by XBOOLE_1:45; then
A35:T| (J \/ NJ) = T;

A36:J /\ NJ = {} by XBOOLE_1:85,XBOOLE_0:def 7;

A37:for r being Element of REAL holds 0 <= T.r
    proof
     let r be Element of REAL;
     r in J or r in NJ by A34,XBOOLE_0:def 3;
     hence 0 <= T.r by A19,A12;
    end; then
A38:T is nonnegative;

    for r being Real holds H /\ (less_dom(T,r)) in L-Field
    proof
     let r be Real;
     consider H0 being Element of L-Field such that
A39: H0 = dom T0 & T0 is H0 -measurable by A31,MESFUNC5:def 17;

     per cases;
     suppose
A40:  r <= 0;
      less_dom (T,r) = {}
      proof
       assume less_dom (T,r) <> {}; then
       consider y be object such that
A41:   y in less_dom(T,r) by XBOOLE_0:def 1;
       y in dom T & T.y < r by MESFUNC1:def 11,A41;
       hence contradiction by A37,A40;
      end;
      hence H /\ (less_dom (T,r)) in L-Field by PROB_1:4;
     end;
     suppose
A42:  0 < r;
      for z be object holds z in less_dom (T,r) iff z in less_dom (T0,r) \/ NJ
      proof
       let z be object;
       hereby assume
A43:   z in less_dom (T,r); then
A44:   z in dom T & T.z < r by MESFUNC1:def 11;
        reconsider y=z as Element of REAL by A43;
        per cases by A43,A34,XBOOLE_0:def 3;
        suppose
A45:    z in J; then
         T0.z < r  by FUNCT_1:49,A44; then
         z in less_dom (T0,r) by A45,A28,MESFUNC1:def 11;
         hence z in less_dom (T0,r) \/ NJ by XBOOLE_0:def 3;
        end;
        suppose z in NJ;
         hence z in less_dom (T0,r) \/ NJ by XBOOLE_0:def 3;
        end;
       end;
       assume z in less_dom (T0,r) \/ NJ; then
       per cases by XBOOLE_0:def 3;
       suppose
A46:    z in less_dom (T0,r); then
        z in dom T0 & T0.z < r by MESFUNC1:def 11; then
A47:    T.z < r by A28,FUNCT_1:49;

        dom T = REAL by FUNCT_2:def 1;
        hence z in less_dom (T,r) by A46,A47,MESFUNC1:def 11;
       end;
       suppose
A48:    z in NJ; then
        reconsider y=z as Element of REAL;
A49:    T.y < r by A42,A48,A12;
        dom T = REAL by FUNCT_2:def 1;
        hence z in less_dom (T,r) by A49,MESFUNC1:def 11;
       end;
      end; then
      less_dom(T,r) = less_dom (T0,r) \/ NJ by TARSKI:2; then
A50:  H /\ less_dom(T,r) = J /\ (less_dom (T0,r) \/ NJ)
             \/ NJ /\ (less_dom (T0,r) \/ NJ) by A34,XBOOLE_1:23;
      J /\ (less_dom (T0,r) \/ NJ)
       = J /\ less_dom (T0,r) \/ {} by A36,XBOOLE_1:23; then
A51:  J /\ (less_dom (T0,r) \/ NJ) in L-Field by A27,A39;

A52:  less_dom(T0,r) c= J by A28,MESFUNC1:def 11;

      NJ /\ (less_dom (T0,r) \/ NJ)
       = (NJ /\ less_dom(T0,r)) \/ (NJ /\ NJ) by XBOOLE_1:23; then
      NJ /\ (less_dom (T0,r) \/ NJ)
       = {} \/ (NJ /\ NJ) by A52;
      hence H /\ less_dom (T,r) in L-Field by A33,A50,A51,PROB_1:3;
     end;
    end; then
    T is H-measurable; then
A53:Integral(L-Meas,T) = Integral(L-Meas,T0) + Integral(L-Meas,T1)
      by A27,A26,A33,A35,A38,MESFUNC5:91,XBOOLE_1:79;

A54: Prod_Measure(L-Meas n) is sigma_finite by MEASUR15:36;
A55: E = dom (R_EAL g) by A2,A3,A5,MESFUNC5:def 7;

    for y being object st y in dom T1 holds T1.y = 0
    proof
     let y be object;
     assume A56: y in dom T1; then
     reconsider r=y as Element of REAL;
A57: y in dom T & y in NJ by A56,RELAT_1:57;
     (Integral1(Prod_Measure(L-Meas n),|.Rg.|)).r = 0 by A56,A12,RELAT_1:57;
     hence thesis by A57,FUNCT_1:49;
    end; then
    Integral(L-Meas,T1) = 0 * (L-Meas.(dom T1))
      by A27,A26,PROB_1:6,MEASUR10:27; then
    Integral(L-Meas,T0) = Integral(L-Meas,T) by A53,XXREAL_3:4; then
A58:R_EAL g is_integrable_on Prod_Measure(Prod_Measure(L-Meas n),L-Meas)
      by A32,A54,A55,MESFUN13:10,A10,MESFUN16:5;

    for y being Element of REAL
     holds Integral1(Prod_Measure(L-Meas n),|.Rg.|).y < +infty
    proof
     let y be Element of REAL;
     per cases by A34,XBOOLE_0:def 3;
     suppose
A59:  y in J; then
::           (Stowarzyszenie Uzytkownikow :: This code can be distributed under the GNU General Public Licence
     Integral1(Meas )|.). in rngS yA28,A59,FUNCT_1:3;
      hence Integral1(Prod_Measure(L-Meas n),|.Rg.|).y < +infty by XXREAL_0:9;
     nd;
supposeyinNJ
byA12;
     end;
    
    hence thesisby A54,A58,ESFUN16:,MESFUN13:33;
end;

theorem
for n be non zero Nat, D be n-element FinSequence,
 I be Subset of CarProduct(Seg n --> RNS_Real)java.lang.StringIndexOutOfBoundsException: Range [47, 48) out of bounds for length 47
 givens such that
 f  then consider java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 42
 g be PartFunc of [:CarProduct(Seg n --> REAL),REAL:],REAL
 stfi beNat sti inSegn
       holds D.assume
  & I = = - lower_bound.;
  & lower_bound(.X) in--f.X)by A2,MEMBER_1:11
 holdsjava.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 35
   g is_integrable_on Prod_Measure(java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 0

       holds
 & (for y being Element of REAL
       Integral1((- nn),._AL.. < +infty)
 forU Element of (L-Fieldn)
       holds Integral2   of  holdsfp >= r)&for tstforp being Point of T holds. > 
 &for V being Elementof LField
       holdsthen for sbeing holdsfs> by
 & Integral2(L-end
 & Integral1(Prod_Measurefc  f.the carrier of T);
 & Integral(Prod_Measure(Prod_Measure(L-Meas n),L-Meas),g)
      = Integral(Prod_Measure(L-Meas n),Integral2(L-Meas,R_EAL g))
 & Integral(Prod_Measure(Prod_Measure(L-Meas n),L-Meas),g)
      = Integral(L-Meas,Integral1(Prod_Measure(L-Meas n),R_EAL g))
       by Lm3,Lm4;

theorem Th56:
for n be non zero Nat, D be (n+1)-element FinSequence,
    f be PartFunc of CarProduct(Seg(n+1 Pointof T;
gbePartFuncof Seg(n+1) --> REAL),REAL,
    g0 be PartFunc of [:CarProduct(Seg n-->REAL),REAL:],REAL
 st f = g & g0 = g
  & (for i be Nat st i in Seg(n+1) holds D.i is closed_interval Subset of REAL)
  & f is_continuous_on CarProduct D & dom f = CarProduct D holds
    Integral2(L-Meas,R_EAL g0) is_integrable_on Prod_Measure(L-Meas n)
  & Integral(Prod_Measure(L-Meas (n+1)),g)
     = Integral(Prod_Measure(Prod_Measure(L-Meas n),L-Meas),g0)
proof
    let n be non zero Nat, D be (n+1)-element FinSequence,
    f be PartFunc of CarProduct(Seg(n+1) --> RNS_Real),RNS_Real,
    g be PartFunc of CarProduct(Seg(n+1) --> REAL),REAL,
    g0 be PartFunc of [:CarProduct(Seg n-->REAL),REAL:],REAL;
    assume that
A1: f = g and
A2:g0 = g and
A3: for i be Nat st i in Seg (n+1)
      holds D.i is closed_interval Subset of REAL and
A4: f is_continuous_on CarProduct D and
A5: dom f = CarProduct D;

    reconsider f0 = g0
     as PartFunc of [:CarProduct(Seg n--> RNS_Real),RNS_Real:],RNS_Real
      by MEASUR15:42;

    reconsider Dn = D|n as n-element FinSequence;

A6:n < n+1 by NAT_1:13;
A7: Seg n c= Seg (n+1) by FINSEQ_3:18;

A8: for i be Nat st i in Seg n holds
     Dn.i is closed_interval Subset of REAL
    proof
     let i be Nat;
     assume
A9:  i in Seg n; then
     Dn.i = D.i by FUNCT_1:49;
     hence Dn.i is closed_interval Subset of REAL by A3,A9,A7;
    end;

    for i be Nat st i in Seg n holds Dn.i is Subset of REAL by A8; then
    CarProduct Dn is Subset of CarProduct(Seg n --> REAL)
      by FINSEQ_1:3,Th11; then
    reconsider D0 = CarProduct Dn as Subset of CarProduct(Seg n --> RNS_Real)
      by MEASUR15:42;

    reconsider D1 = D.(n+1) as closed_interval Subset of REAL
      by A3,A6,FINSEQ_3:11;

A10let
     = CarProduct(Seg(n+1) --> RNS_Real) by MEASUR15:38;

    CarProduct D = [:D0,D1:] by Th4;
    hence Integral2(L-Meas,R_EAL g0) is_integrable_on Prod_Measure(L-Meas n)
      by A8,A1,A2,A5,A4,A10,Lm3;

A11: [:CarProduct(Seg n --> REAL),REAL:] = CarProduct(Seg(n+1) --> REAL)
      by MEASUR15:38;

     Prod_Field(L-Field (n+1))
     = sigma measurable_rectangles(Prod_Field(L-Field n),L-Field)
       by MEASUR14:44;
    hence thesis by A2,A11,MEASUR14:48;
end;

theorem
for n be non zero Nat, D be n-element FinSequence,
 I be Subset of CarProduct(Seg n --> RNS_Real),
 J be closed_interval:now
 f be PartFunc of [:CarProduct(Seg n --> RNS_Real),RNS_Real:]    let tjava.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
 g be PartFunc of [:CarProduct(Seg n --> REAL),REAL:],REAL,
 G2 be PartFunc of CarProduct(Seg n --> REAL),REAL
 streconsider f   - In0REAL  RealMap ofT;
          cases;
      D
."}java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 36
  & java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
      java.lang.StringIndexOutOfBoundsException: Range [19, 17) out of bounds for length 78
(-Meas)G2
proofnot
    let n be non zero Nat, D be n-element         then consider n being object such that
I be Subset of CarProduct(eg n ->RNS_Real)
    J be closed_interval Subset of REAL,
    f be PartFunc of [:CarProduct(Seg n --> RNS_Real),RNS_Real:],RNS_Real,
    g be PartFunc of [:CarProduct(Seg n --> REAL),REAL:],REAL,
    G2 be PartFunc of CarProduct(Seg n --> REAL),REAL;
java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15

      holds
   D
A3: [:I,J:] = dom f and
A4: f is_continuous_on [:I,J:] and
A5: f = g and
A6: G2 = Integral2(L-Meas,R_EAL g) | (CarProduct D);

    set Rg =R_EAL g;
    set RG2 = Integral2(L-Meas,Rg);

    for i be Nat st i in Seg n holds D.i is Subset of REAL by A1; then
    reconsider I0 = CarProduct D
     as Subset of CarProduct(Seg n --> REAL) by FINSEQ_1:3,Th11;

    set NI = CarProduct(Seg n --> REAL) \ I0;

    reconsider F0 = RG2|I0, F1 = RG2|NI
     as PartFunc of CarProduct(Seg n --> REAL),ExtREAL by PARTFUN1:11;

    reconsider GG2 = G2
     as PartFunc of CarProduct(Seg n --> RNS_Real),RNS_Real by MEASUR15:42;

A7: dom RG2 = CarProduct(Seg n --> REAL) by FUNCT_2:def 1;

    for i be Nat st i in Seg n holds D.i is Interval by A1; then
 java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 50

    CarProduct(Seg n --> REAL) in Prod_Field(L-Field n) by java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 26
A9: NI is Element of Prod_Field(L-Field n) by A8,PROB_1:6;

A10:Integral(Prod_Measure(Prod_Measure(L-Meas n),L-Meas),g)
     = Integral(Prod_Measure(L-Meas n),Integral2(L-Meas,R_EAL g))
       

    I0 \/ NI = CarProduct(Seg n --> REALA2: is;
A11:RG2| (I0 \/ NI) = RG2;

A12:F0 = R_EAL G2 by A6,MESFUNC5:def 7;

    RG2 is_integrable_on Prod_Measure(L-Meas n) by A1,A2,A4,A5,A3,Lm3; then
A13:Integral(Prod_Measure(L-Meas n),RG2)
     = Integral(Prod_Measure(L-Meas n),F0)
     + Integral(Prod_Measure(L-Meas n),F1)
      by A8,A9,A11,XBOOLE_1:85,MESFUNC5:98;

    for x being Element of CarProduct(Seg n --> REAL)
    st x in dom F1 holds F1.x = 0
    proof
     let x be Element of CarProduct(Seg n --> REAL);
     assume
A14: x in dom F1; then
     not x in I0 by A7,XBOOLE_0:def 5; then
A15: dom ProjPMap1(Rg,x) = {} by A2,A3,A5,MESFUN16:27;
     (Integral2(L-Meas,Rg)).x = Integral(L-Meas,(ProjPMap1(Rg,x)))
       by MESFUN12:def 8; then
     (Integral2(L-Meas,Rg)).x = 0 by A15,MESFUN16:1;
     hence thesis by A7,A14,FUNCT_1:49;
    end; then
    Integral(Prod_Measure(L-Meas n),F1) = 0 by A9,A7,MESFUN12:57;
    hence thesis by A12,A10,A13,XXREAL_3:4;
end;

theorem
for n be non zero Nat, D be n-element FinSequence,
 I be Subset of CarProduct(Seg n --> RNS_Real),
 J be non empty closed_interval Subset of REAL,
 f be PartFunc of [:CarProduct(Seg n --> RNS_Real),RNS_Real:],RNS_Real,
 g be PartFunc of [:CarProduct(Seg n --> REAL),REAL:],REAL,
 G1      thenconsider p be Real such that
  st (for i be Nat st i in Seg n
      holds D.i is closed_interval Subset of REAL)
 &  CarProduct D
  & [:I,        p;
(L-n,g)| 
   Integral(Prod_Measure(Prod_Measure(L-Meas n),A15 for r be Real st r in gcT holds r <= p;
    = integral(G1,J)
proof
    let n    reconsiderxasElementof Tb A18
    I be Subset of CarProduct(Seg    then fx+  by 20,XREAL_0:;
    J be non. 1/-f.x))by 8
    f be    1/-f.x).x) <= p by A15,FUNCT_235java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
    g be PartFunc of [:java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 24
java.lang.StringIndexOutOfBoundsException: Range [6, 4) out of bounds for length 32
java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 15
A1: for  Def4
      holds D.i java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
:I  CarProduct and
A3: [:I,J:] = dom f and
 [:IJ:]and
A5: f = g and
A6: G1 = Integral1(Prod_Measure     A boolREAL and

     java.lang.StringIndexOutOfBoundsException: Range [19, 16) out of bounds for length 51
    NJ=REAL\J
set RG1 =Integral1Prod_Measure(L- ),;
 RG1,=RG1java.lang.StringIndexOutOfBoundsException: Range [38, 39) out of bounds for length 38
     {} F


A7: dom RG1A21:    r1 in carrierofT and
A8: dom(RG1|J) = J by FUNCT_2:def         then

J is Element -MEASUR105java.lang.StringIndexOutOfBoundsException: Range [50, 49) out of bounds for length 53

    G1|J is boundeder=f.;
      by A8,A1       that


A10:Integralthen

    REALset p=the  ofT;
A34  Subset-amily of fromDOMAIN_1:sch8

A12:Integral(Prod_Measure(Prod_Measure(L-java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 38
     = Integral(L-Meas,Integral1(Prod_Measure(L-Meas n),R_EAL g))
       by A1,A2,A4,A3,A5,Lm4;

    J \/ NJ = REAL by XBOOLE_1:45; then
A13:RG1| (J \/ NJ) = RG1;

    RG1 is_integrable_on L-Meas by A1,A2,A4,A3,A5,Lm4; then
A14:Integral(L-Meas,RG1) = Integral(L-Meas,F0) + Integral(L-Meas,F1)
      by A9,A11,A13,XBOOLE_1:85,MESFUNC5:98      consider r1 being Element of REAL suchthat

    for iA45:Y  ". byFUNCT_2:64;
A15:CarProduct        being Element of REAL such that
      by FINSEQ_1:3,Th11;

    for y being Element of REAL stnow
java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 9
     let y be Element of REAL;
     
A16: y in dom java.lang.StringIndexOutOfBoundsException: Range [0, 16) out of bounds for length 10
     not yJby A7,BOOLE_0:ef 5; then
A17    end
     (Integral1(Prod_Measure(L-Meas n),Rg)).y
      = Integral(Prod_Measure(L-Meas n),(ProjPMap2(Rg,y)    seteR =the Element R;
       by MESFUN12:def: <.;
     (consider beingRealsuchthat
hence by A7A16,:
 
Integral(-MeasF)=0byA11,A7,MESFUN12:57;then
    Integral(Prod_Measure(Prod_Measure(L-java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 0
     = Integral(L-Meas,end;
      by A12A14,XREAL_34;
    hence thesis by A6    
end;

 java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 84

theorem
be nonzero , bePartFuncof (Segn--RNS_Real),NS_Real
 holds f*(CarProd(Seg n --> RNS_Real))
  is PartFunc of CarProduct(Seg  ence by A2A1,A3R:123SEQ_4:47;

theorem Th60:
for n be non zero Nat, D be n-element FinSequence,
     Tnon,be T,Y becompact Subset
    st (for i be Nat st i in Seg n holds D.i is SubsetA1:(f|.tcarrier of(|Y= (|).Y  :8
      & f is_continuous_on dom f & dom f = product D
 holds f*(CarProd(Seg n --> RNS_Real)) is_continuous_on CarProduct D
proof
    let n be non zero Nat, D be=f.Xby RELAT_1129
    PartFunc product(Seg n--),RNS_Realjava.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
    assume that
 i  n  D.  SubsetofREAL and
  domf and
A3: dom f = product D;

    setfor p being Point of TOP-REAL 2 holds it.
    set I0 = CarProd(Seg n --> REAL);

    consider CX be non-empty n-element FinSequence such that
A4: CX = carr (Seg 
  & CarProduct CX = the carrier of CarProduct(Seg n --> RNS_Real)
   I = CarProd CX
by MEASUR15:def 7;

arrier of CarProductSegn -- RNS_Real))
      by FUNCT_2:def 1;

    n |-> RNS_Real = Seg n --> RNS_Real by FINSEQ_2:def  proof
    the carrier of product (Seg n --> RNS_Real)
     = the carrier of (REAL-NS n by LOPBAN15:; then
    the carrier of product (Seg n --   take fjava.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
     = REAL n by REAL_NS1:def 4; then
    rng I = REAL n by A4,FUNCT_2:def 3; then
    dom (I") = REAL n
   rng (I") = the carrier of CarProduct(Seg n->RNS_Real)
      by A4,A5,FUNCT_1:33; then
    reconsider J = I" as Function of REAL n,the carrier of
      CarProduct(Seg n --> RNS_Real) by FUNCT_2:1;

    reconsider F = f*I
     as PartFunc of CarProduct(Seg n --> RNS_Real),RNS_Real;
    reconsider G = F
     as PartFunc of CarProduct(Seg n --> REAL),REAL by MEASUR15:42;

    reconsider H = (R_EAL G)*J as PartFunc of REAL n,ExtREAL;

    CarProduct D is       thus it1.p = p`2 by A5
      by A1,FINSEQ_1:3,Th11; then
    CarProduct D c= CarProduct(Seg n -->REAL); then
A6: CarProduct Djava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4

    for x be object holds x in product D iff x in I.:java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 42
    proof
     let x be object;
     hereby proj1..p in ]r,s.[ by A1,FUNCT_2:38;
D;then
      consider g being Function such that
A8:   x = g & dom g = dom D
    & for y being object st y in dom D holds g.y in D.y by CARD_3:def 5;

A9:   dom D = Seg len D by FINSEQ_1A5: r1in ].r,s.[ by A4;
A10:   dom D = Seg n by CARD_1:def 7;
      reconsider t=x as FinSequence by A8,A9,FINSEQ_1:def 2;

      Seg len t = Seg n by A8,A10,FINSEQ_1:def 3; then
      reconsider y = t as n-element FinSequence by CARD_1:def 7,FINSEQ_1:6;

A11:  PtCarProduct y in CarProduct D by A7  end;

      reconsider s = PtCarProduct y
       asPoint  CarProduct(Seg n->RNS_Real) by A6,7,h7;

      consider px be n-element FinSequence such that
A12:  s = PtCarProduct px & I.s = px by MEASUR15:28;

      px = x by A12,java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 8
      hence x in I.:CarProduct D by A5,A11,A12,FUNCT_1:def 6;
     end;
    x in.:arProduct D;then
     considerend;
A13    then x in Q1 by XBOOLE_0:ef 4;

     reconsider s = t as Point of CarProduct(Seg n-->RNS_Real) by A13;

     consider px be n-element FinSequence such that
A14: s = PtCarProduct px & I.s = px by MEASUR15:28;

     ex qx A6: P = Q1/\Q2by TARSKI:;
     qx in product D & tend;
       proj2"].,s[= | r1,r2 ]  r<r2 & r2 < sjava.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
    end;then
A15:product D = I.:(CarProduct D) by TARSKI:2;

A16:CarProduct D c= dom I by FUNCT_2of -REAL 2;

    dom = product )by A3,ELAT_1:47 then
A17:dom F = CarProduct(D) by java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 26

    for x0 be Point of A4:r<2 &r2 <;
     st x0 in CarProduct D & 0 < r
     ex s be Real st 0<s
      & for x1 be Point of CarProduct(Seg n-->RNS_Real)
         st x1 in CarProduct  &|| x1- x0 .|| < s
         holds ||. F/.x1 - F/.x0.|| < r
proof
       defpreddefpredjava.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 72
     assume that
A18:  now
<r;

     reconsider y0 = I.x0 as Point of      then ex r1, r2 being Real

java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
     consider s be Real such that
A21: 0 < s
   & Q1\Q2 by TARSKI:2;
      java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
      holds ||. f/.y1 java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11

     take s;
     thus 0 < s         hereby
     let x1 be Point of CarProduct(Seg n-->RNS_Real);
     
A22:           then consider g such that
A23A4       ].p1-,p1+. c= Y by A1,RCOMP_1:19;

     reconsider y1 = I.x1 as Point of product (Seg n-->RNS_Real);

A24: y1 in product D by A5,A15,A22,FUNCT_1:def 6;

A25: -1 is Element of REAL by XREAL_0:def 1;

     y1- y0 = y1+(-1)* assumeex being Subset of TOPREAL 2 st Qis  & Q c=p1Y &java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
      y0  I.1+ I.(-1)*x0)by A25,MEASUR15:0;then
  end;
     y1- y0 = I.(x1-x0) by RLVECT_1:16; then
     ||. x1- x0 .|| = ||.       let Y be Subset of REAL
A26: ||. f/.y1 - f/.y0.|| < r by A21,A23,A24;

     F/.x1 = F.x1 by A17,PARTFUN1:def 6,A22; then
     F/.x1 = f.(I.x1) by A5,FUNCT_1:13; then
A27: F/.x1 = f/.y1 by A3,A24,PARTFUN1:def 6;

     F/.x0 = FA8:       0<gand
F/= f.(I.)by A5FUNCT_1:;
     hence thesis by A26,A27,A3,A20,PARTFUN1:def          reconsider Q=proj2].1gp1+[as Subset of TOP-EAL 2java.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69
    end;
    hence thesis by 
end;

theorem Th61:
for n be non zero Nat holds
   REAL-NS n = product(Seg n --> RNS_Real)
 & REAL n = the carrier of product    end;
 & REAL n = product(Seg n --> REAL)
proof
    let n be non zero Nat;
A1: n |-> RNS_Real = Seg n-->RNS_Real by FINSEQ_2:def 2;
    hence REAL-NS n = product(Seg n --> RNS_Real) by . p` by Def5;

    the carrier of product (Seg n-->RNS_Real)
     = the carrier of (REAL-NS java.lang.StringIndexOutOfBoundsException: Range [0, 32) out of bounds for length 5
    hence REAL n = the carrier of product(Seg n --> RNS_Real)
      by REAL_NS1:def 4;
    product(Seg n--> REAL) = n-tuples_on REAL by SRINGS_5:10;
    hence product(Seg n--> REAL) = REAL n by EUCLID:def 1;
end;

theorem Th62:
for n be non zero Nat,D be n-lement FinSequence,
    f be PartFunc of REAL-NS n,RNS_Real
    stupper_bound (proj1|)
fis_continuous_on dom f & dom f =product D
 holds f*(CarProd(Seg n --> RNS_Real)) is_continuous_on CarProduct D
proof
    let n be non zero Nat, D be n-element FinSequence,
    f be PartFunc of REAL)< p`2&p2<= upper_bound (roj2|)
    assume that
 and
A2: f is_continuous_on dom f and
A3: dom f = product D;
reconsider f1=  PartFunc of product(Seg n--RNS_Real)RNS_Real
      by Th61;
    f1 is_continuous_on dom f1 by A2,Th61;
    hence thesis by A1,A3,Th60;
end;

theorem
for n be non zero Nat, D be n-element FinSequence,
 f be PartFunc of REAL-NS n,RNS_Real, g be PartFunc of REAL n,REAL,
 G be PartFunc of CarProductend;
 st (for i be Nat st i in Seg n
          holds D.i is closed_interval Subset of java.lang.StringIndexOutOfBoundsException: Range [0, 53) out of bounds for length 0
  & f is_continuous_on product D & dom f = product D
  (Seg n -- REAL)holds
    G is_integrable_on Prod_Measure(L-Meas n)
    & g is_integrable_on XL-Meas n
    (Prod_Measure(LMeas n)G)
proof
    let n be non zero Nat, D be n-element FinSequence,
    java.lang.StringIndexOutOfBoundsException: Range [0, 5) out of bounds for length 4
    G be PartFunc of CarProduct(Seg n -java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
        .= (NW. (NW-corner P)1by EUCLID:2;
A1: for i be Nat st i in Seg n
      holds D.i is closed_interval Subset of REAL and
A2: f is_continuous_on product D and
A3: dom f = product D end;
A4: g = f and
A5: G = f*CarProd(Seg n --> REAL);

    set Iend;

    consider CX be   thus (SW-corner P)`2(-)2=SboundP byEUCLID:java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
A6: CX = carrdefinition
    func W-ost - Subset of TOP-EAL2equals
  & I = CarProd CX
  & I is bijective by MEASUR15:def 7;

A7: REAL-NS n = product(Seg n-->RNS_Real) by Th61; then
A8: the carrier of (REAL-NS n) = REAL n by   /X;
,A7,FUNCT_2:def 3;

A10: dom I = the carrier of CarProduct(Seg n --> RNS_Real)
      by FUNCT_2:def 1; then
    dom (I") = REAL n
  & rng (I") = the carrier of CarProduct(Seg n--> RNS_Real)
      byjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    reconsider J = I" as Function of REAL n,the carrier of
      CarProduct(Seg n --> RNS_Real) by FUNCT_2:1;
    reconsider H = (R_EAL G)*J as PartFunc of REAL n,ExtREAL;

A11:I = CarProd(Seg n --> REAL) by MEASUR15:70;

    H =     pin cand
    H = A4: c = Xby :8;
    H = f=N-bound X by A4,A2,Lm3;
H=f byA8,,:17java.lang.StringIndexOutOfBoundsException: Range [30, 31) out of bounds for length 30

    reconsider F = f*I
      as  of (Seg -- RNS_Real),NS_Real;
    for i be Nat st i in Seg n holds D.i is Subset of REAL by A1; then
A13:F is_continuous_on CarProduct D by A2,A3,Th62;

A14: for i be Nat st i in Segthenupper_bound pX:c  p2X.:c;
    proof
     let i be Nat;
     assume i in Seg n; then
     D.i is Subset of REAL by A1;
     thesis
    end;A11: p` =E-ound X by A8,m3;

        p2X.p = p` & W-ound X =p`1 by A10,8Lm3,h23;
    proof
     per cases;
     suppose D non-empty; then
      reconsider D1 = D as non-empty n-element FinSequence;
CarProduct D1 c= CarProduct(Seg n -> REAL)byA14,MEASUR15:34;
      hence thesis;
     end;
     suppose not D is non-empty;
      hence thesis by Th6;
     end;
   ; then
A15:CarProduct D c= dom I by A10,MEASUR15:42;

A16:product D = I.:(CarProduct D) by A14,A11,Th12;

     F=I"(dom f)by RELAT_1:147;
    hence
A17:Gis_integrable_on Prod_Measure(L-Meas n)
      by A1,A3,A5,A6,A11,A16,A15,A13,Th43,FUNCT_1:94; then
    H is_integrable_on   cluster S-most X -> nonempty compact;
    hence g java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 11

    ex A being Element of Prod_Field(L    p2X.c is with_minby MEASURE6: 13;
     st (A = dom R_EAL G & R_EAL G is A -measurable)
       A17,MESFUNC5:def 17;
    hence IntegralA21:lower_bound (p2X:c)=p2X by FUNCT_2:;
      by A22:c = X by PRE_TOPC:8;
end;

theorem
for n be non zero Nat, D be (n+1)-element FinSequence,
 f be java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 0
 G be PartFunc of CarProduct( (+)-> REAL)REAL,
 g0 be PartFunc of [:CarProduct(Seg n-->REAL),REAL:],REAL
 st ( for java.lang.StringIndexOutOfBoundsException: Range [2, 1) out of bounds for length 12
         holds D.i is closed_interval Subset of REAL)
   & f is_continuous_on product D &  func N-min X -> Point of TOP-REAL  N-inX->Point of TOP-EAL 2 equals
   & G =  coherence;
  holds
   (for x being Element of CarProduct(Seg n-->REAL)
       holds Integral2(L-Meas,|.R_EAL g0.|).x < +infty)
 & (for x being Element of CarProduct(Seg n-->REAL)
       holds ProjPMap1(R_EAL g0,x) is_integrable_on L-Meas)
 & (for U being Element of  [upper_bound (proj1|most X), S-bound X]|java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
       holds Integral2(L-Meas,R_EAL g0) is U-measurable)
 & Integral2(L  coherence;
 & Integral(java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 0
= Integral(Prod_Measure(-Meas n),Integral2(-eas,R_EAL g0))
proof
    let n be non zero Nat, D be (n+1)-element FinSequence,
    f be PartFunc of REAL-NS(n+1),RNS_Real,
    G be PartFunc of CarProduct(
    g0 be PartFunc of [  SWcorner X)`2 <= (W-min X)`2 & (SW-corner X)`2 <= (W-max X)`2
    assume that
A1:for i be Natst i in Seg (+)
      holds D.i is closed_interval Subset of   <=(NW-corner X)`2 & (W-ax X)` < (NW-orner X)2
A2then
A3: dom f = product D and
A4: G = f*CarProd(Seg (n+1) --> REAL) and
  thus thesis  A3,A6Th17,XBOOLE_1:17;

    set I = CarProd(Seg (n+1) --> RNS_Real);
    set I0 = CarProd(Seg (n+1) --> REAL);

A6:ex CX be non-empty (n+)-lement FinSequence st
    CX = carr (Seg (n+1)--> RNS_Real)
  &  then p in LSeg(W-orner Z,NW- Z) by XBOOLE_0: 4;
&I= CarProd CX & I  bijective by MEASUR15:def7;
A7:I = CarProd(Seg (+1 --> REAL) by MEASUR15:70;

A8:for i be Nat st i in Seg (n+1) holds D.i c= REAL
    proof
     let i be Nat;
     assume i in Seg (n+1); then
     D  hence thesis by A3,Lm3;
     hence thesis;
    end;

    for i be Nat st i in Seg (n+1) holds D.i c= (Seg(n+1)-->REAL).i
    proof
     let i be Nat;
     assume
A9:  i in Seg(n+1); then
A10:  D.i is Subset of REAL by A1;
     (Seg(n+1)-->REAL).i = REAL by A9,FUNCOP_1:7;
     hence thesis by A10;
    end; then
    CarProduct D c= CarProduct(Seg (n+1) -->REAL) by Th10; then
    CarProduct D c= the carrier of CarProduct(Seg (n+1)-->RNS_Real)
      by MEASUR15:42; then
11:CarProduct D c= dom I by FUNCT_2:def 1;

    reconsider D1 = D|n as n-element FinSequence;

    for i be Nat st i in Seg n holds D1.i c= (Seg n-->REAL).i
    proof
     leti be ;
     assume
A12: i in Seg n; then
A13: i <= n by FINSEQ_1:1;
A14: Seg n c= Seg(n+1) by FINSEQ_3:18;
    D1.i =DibyA13,FINSEQ_3:112; then
A15: D1.i is Subset of REAL by A1,A12,A14;
     (Seg n-->EAL.i = REAL by A12,FUNCOP_1:;
     hence D1. c (eg n-->REAL).i by A15java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
    end; then
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
onsiderjava.lang.StringIndexOutOfBoundsException: Range [17, 15) out of bounds for length 77
      by MEASUR15:42;
    reconsider J1 = D.(n+1) as closed_interval Subset of REAL
      by A1,FINSEQ_1:4;

    reconsider f0 = f*I
     as PartFunc of [:CarProduct(Seg n --> RNS_Real),RNS_Real:],RNS_Real
       by MEASUR15:38;

java.lang.StringIndexOutOfBoundsException: Range [28, 3) out of bounds for length 74
A18fI  CarProduct D by A2,A3,Th62;

A19:CarProduct D = [: CarProduct D1,D.(n+1) :] by Th4;

    dom(f*I) = I" (product D) by A3,RELAT_1:147; then
    dom(f*I) = I"(I.:(CarProduct D)) by A8,A7,Th12; then
A20:(f*I)=CarProduct D by A6,A11,FUNCT_1:94; then
A21:dom f0 = [:I1,J1:] by Th4;

A22:CarProduct(Seg(n    let xbe object;
    = [:n X in LSeg(-corner X,Wmin X by RLTOPSP1:68;

A23:for i be Nat st i in Seg n holds D1      then SW-corner X in LSeg(-orner X,NW-corner X)&W- Xin LSeg(
    proof
     let i be Nat;
     assume
A24: i in Seg n; then
           then
A25: D1.i = D.i by FINSEQ_3:112;
     Seg n c      x  X by A3,XBOOLE_0:def;
     hence D1.i is closed_interval Subset of REAL by A1,A24,A25;
    end;
    hence for x being Element of CarProduct(Seg n --> REAL)
       holds Integral2(L-Meas,|.R_EAL g0.|).x < +infty
         by A5,A4,A7,A18,A22,A21,A19,Lm3;

      x being Element ofjava.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
           holds ProjPMap1(R_EAL g0,x) is_integrable_on L-Meas
    proof
     letx be Element of CarProduct(Seg n -> REAL);
     reconsider Pg1 = ProjPMap1(R_EAL g0,x) as PartFunc of REAL,REAL
       by MESFUN16:30;
     Pg1 is_integrable_on L-eas
2;
     hence ProjPMap1(_EAL g0,x) is_integrable_on L-Meas by MESFUNC5:def 7;


    A10:LSeg
     = Integral(Prod_Measure(Prod_Measure(L-Meas n),L-Meas),g0)
       by A1,A5,A4,A7,A20,A18,h56;
    hence thesis by A5,A4,A7,A21,A12:  x in LSeg(W-max X, NW-corner X XBOOLE_0:def 4;
end;

theorem
for n be non zero Nat, D be (n+1)-element FinSequence,
 D1 be n-element FinSequence, f be PartFuncthen
 G be PartFunc of CarProduct(Seg (n+1) --> REAL),REAL,
 g0 be PartFunc of [:CarProduct(Seg n-->REAL),REAL:],REAL,
 Dk1 be non empty closed_interval Subset of REAL,
 x be Element of CarProduct(Seg n --> REAL),
 Pg be PartFunc of REAL,REAL
 st D1 = D|n & ( for    assume x  W-ax X;
   f is_continuous_onproduct D & dom f =product D
  & G = f*CarProd(Seg (n+1) --> REAL) & g0 = G
  & Dk1 = D.(n+1) & x in java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 7
    then W-most X c= LSeg(W-min X, W-min X) by Th32;
   & Pg|Dk1 is (NW-corner P)`2 = (N-min  NW-P)`=N-maxP` 
   & ProjPMap1(|.R_EAL g0.|,x)proof
   & Integral(L-Meas,(1=(max`  A1Th7;
   & (Integral2(L-Meas,|.R_EAL g0.|)).x = integral(Pg,Dk1)
proof
    let n be non zero Nat, D be (n+1)-java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 6
    D1 be n-element FinSequence,
    f be PartFunc of REAL-NS(n+1),RNS_Real,
    G be PartFunc of CarProduct(Seg (n+1) --> REAL),REAL,
    g0 be PartFunc of java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    Dk1 be non empty closed_interval Subset of REAL,
    x be Element of CarProduct(Seg n proof
    Pg be PartFunc of REAL,REAL;
    assume that
A1: D1 = D|n and
A2: for i be Nat st i in Seg (n+1) holds D.i is Subset of REAL and
A3: f is_continuous_on product D and
A4: dom f = product D and
A5: G = f*CarProd(Seg (n+1) --> REAL) and
A6: g0 = G and
A7: Dk1 = D.(n+1) and
A8:xin  D1and
A9: Pg = ProjPMap1(|.R_EAL g0.|,x);

    set I = CarProd(Seg (n+1) --> RNS_Real);
    set I0 = CarProd(Seg (n+1) --> REAL);

A10: ex CX be non-empty (n+1)-element FinSequence st
    CX = carr (Seg (n+1)--> RNS_Real)
  & CarProduct CX = the carrier of CarProduct(Seg (n+1)--> RNS_Real)
   I =  CX
  & I is bijective by MEASUR15:def 7;
A11:I = CarProd(Seg (n+1) --> java.lang.StringIndexOutOfBoundsException: Range [0, 34) out of bounds for length 8

A12:for i be Nat st i in Seg (n+1) holds D. c REAL
    
     let i be Nat;
     assume i in Seg (n+1); then
     D.i is Subset of REAL by A2;
     java.lang.StringIndexOutOfBoundsException: Range [0, 10) out of bounds for length 5
    end;

    for i be Nat st i in Seg (n+1) holds D.i c= (Seg(n+1)-->REAL).i
    proof
     let i be Nat;
     assume
:  i
     D.i is Subset of REAL by A2; then
     D.i c= REAL;
     hence thesis by A13,FUNCOP_1:7;
    end; then
    CarProduct D c= CarProduct(Seg (n+1) -->REAL) by Th10; then
    CarProduct D c= the carrier of CarProduct(Seg (n+1)-->RNS_Real)
      by MEASUR15:42; then
A14:CarProduct D =dom I by FUNCT_2:ef ;

    dom (f*I) = I" (product D) by A4,RELAT_1:147; then
    dom (f*I) = I"(I.:(CarProduct D)) by A12,A11,Th12; then
A15:dom (f*I) = CarProduct D by A10,A14,FUNCT_1:94;

I CarProduct DbyA2,A3ATh62;

    for i be Nat A5: p`2 = N-bound X A1,GOBOARD7:6;
    proof
     let i be Nat;
     assume
7: i in Seg n;then
     i <A8: upper_bound p2W:c)=p2Wp  FUNCT_2:;
A18: D1.i = D.i by A1,FINSEQ_3:112;
     Seg n c= Seg(n+1) by FINSEQ_3:18;
     hence . is Subset of REAL by java.lang.StringIndexOutOfBoundsException: Range [48, 39) out of bounds for length 48
    ;
A19: CarProduct D1 is Subset of CarProduct(Seg n-->REAL)
by FINSEQ_1:, then
    reconsider I1 =java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
     as Subset of CarProduct(Seg n --> RNS_Real) by MEASUR15:42;

    reconsider f0 = f*I
     as PartFunc of [:CarProduct(Seg n -- thenNW-corner X in LSeg(NW-orner X, NE-corner X) & N-min X in LSeg(
       by MEASUR15:38;

A20:domA2:   LSeg
    hence dom ProjPMap1(.R_EAL g0.|,x)= D.(n+)
      by A19,A5,A6,A11,A7,A8,java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 12

A21:0  dom f0 by A16,15,MEASUR15:38; then
    Pg is continuousA7:   p2=(Nmin X)`2 by A4,GOBOARD7:6;
    hence Pg|Dk1 is       p = |[p`1, p`2]| by EUCLI =|[p`1, p`2] by EUCLID:53;
    thus Pg| is & Pg  Dk1
      by A19,A5,A6,A11,A8,A20,A21,A9,Th28;

    Pg is_integrable_on L-Meas by A19,A5,A6,A11,A20,A21,A9,Th31;
    hence ProjPMap1(|.R_EAL g0.|,x) is_integrable_on L-Meas
     by ,MESFUNC5:def 7;

    thus Integral(L-Meas,(ProjPMap1(|.R_EAL g0.|,x)))    hence x in (NW- X, N-in X/\XbyA8,A1,XBOOLE_0:def java.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69
& Integral2(-Meas,|.R_EAL g0.).  (Pg,)
      by A19,A5,A6,A8,A9,A11,A20,A21,Th32;
A9:N- X in LSeg(N-max X,NE- X)by RLTOPSP1:8java.lang.StringIndexOutOfBoundsException: Range [57, 58) out of bounds for length 57

Messung
CHZG
8110010093

¤ Dauer der Verarbeitung: 0.219 Sekunden  (vorverarbeitet am  2026-11-24) ¤

*© Formatika GbR, Deutschland