Eine aufbereitete Darstellung der Quelle

 
     
 
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung


Quelle  finance6.miz   Sprache: Mizar

 

:: Introduction to Stochastic Finance: Random-Variables and Arbitrage Theory
::  by Peter Jaeger
::
:: Received March 27, 2018
:: Copyright (c) 2018-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 3.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/3.0/.

environ

 vocabularies VALUED_1, SERIES_1, NUMBERS, XBOOLE_0, PROB_1, SUBSET_1, RELAT_1,
      FUNCT_1, TARSKI, ARYTM_3, XXREAL_0, ARYTM_1, CARD_1, RPR_1, FINANCE3,
      FUNCOP_1, FUNCT_7, RANDOM_3, FINANCE1, FUNCT_3, COMPLEX1, REAL_1, SEQ_1,
      FINANCE6, MESFUNC1, NAT_1, XXREAL_1, RANDOM_1, INTEGRA5, FINANCE2,
      MESFUNC5, SUPINF_2, MEASURE6, PROB_4, MESFUNC2, RFUNCT_3, VALUED_0;
 notations TARSKI, SUBSET_1, XBOOLE_0, ENUMSET1, RELAT_1, FUNCT_1, ORDINAL1,
      RELSET_1,
      SUPINF_2, FUNCT_2,
      MESFUNC1, MESFUNC2, FUNCT_3, RANDOM_3, NUMBERS (Omega->-RV)w<0
      java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 6
            , , FINANCE3, COMPLEX1, RCOMP_1, SERIES_1,
      PROB_4, MESFUNC5, MESFUNC6, RANDOM_1;
 constructors SERIES_1, RELSET_1, FINANCE3, COMPLEX1, MESFUNC2, MESFUNC1,
      MESFUNC6, MESFUNC5, RCOMP_1, SEQ_4, REAL_1, FINANCE2, SUPINF_1, EXTREAL1,
      PROB_4, RANDOM_1
 registrations PROB_1, XREAL_0, MEMBERED, ORDINAL1, FUNCT_2, NUMBERS, VALUED_0,
            , XBOOLE_0 ,FINANCE1, SUBSET_1, XXREAL_3,
      NAT_1, FUNCOP_1;
 requirements NUMERALS, REAL, BOOLE, SUBSET, ARITHM;
 definitions FUNCT_2;
 equalities MESFUNC5, PROB_1, FINANCE1, XCMPLX_0, java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 10
 expansions FUNCT_2,hence thesisby B2,def 5,S1java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
theorems TARSKI,XBOOLE_0,PROB_1, , ,FUNCT_1,FUNCOP_1,
      XXREAL_0, FINANCE1, RANDOM_3, FINANCE3, FINANCE2, FUNCT_3, VALUED_0,
      COMPLEX1, MESFUNC2, SERIES_1, NUMBERS, XXREAL_1, RANDOM_1, VALUED_1, suppose S1 (V(-K)).w0;
      XREAL_0dom PutRV)=Omega&
      XCMPLX_1, SUBSET_1;
 schemes FUNCT_2, NAT_1;

begin :: Put-Option, Call-Option and Straddle are Random-variables

 reserve Omega for non empty set;
 reserve F for SigmaField  ;

theorem A1:
  ].0,+infty.[ is Element of Borel_Sets
 proof
   B100  ,K-(,) def;
  reconsider Bor3 = {0} as Event of Borel_Sets by FINANCE2:5;
  java.lang.StringIndexOutOfBoundsException: Range [58, 6) out of bounds for length 58
  Bor1  :wO-K-)java.lang.StringIndexOutOfBoundsException: Range [45, 44) out of bounds for length 51
  proof->K)-RV.w>0
   for x being  proof
   proof
    let x be object;  RV(->K).w=1w+f2.w  ,VALUED_1def1
    xinjava.lang.StringIndexOutOfBoundsException: Range [28, 26) out of bounds for length 41
    proof
  -RVw-)>0by S1
     then reconsider x as Real;
d1  0< +,4;
     then D2: x in [.0,+infty.[ by XXREAL_1:3;
     not x in {0} by d1,TARSKI:def 1;
    hence thesis by then (Omega-->K).w +-)(#))w>0byC6,def 5;
    end;
     assume ASS0: hence by C7VALUED_1def 1
     then reconsider x as Real;
     x in Bor2 & not  B2: Put-Option(RV,K).(-K-V)wby ;
     0<x & <& 0by: ,3java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
    thesis java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 31
   end;
w d->K+(-)#RV) VALUED_1def 1 
  end;
  hence thesis;
java.lang.StringIndexOutOfBoundsException: Range [2, 1) out of bounds for length 5

theorem
  for RV being random_variable of F,Borel_Sets,
      K being Element of REAL,
      g2   of Omega,REAL
     st g2=chi((RV-(OmegaL1 .w+-(Omega--)w=RV.  -1*Omega--K.w;
   Call-Option(RV   dom((-1)#(-K)) = by :def;
proof
 let RV be random_variable of F,Borel_Sets;
 let K be  of REAL;
 let g2 be Function of Omega,REAL;
 assume A2: g2=chi((RV-(Omega--L2 .w+-O>K)w=RV.(-)#(Omega--K)w
 set RVO=RV-(Omega-->K);
 set CO=Call-Option(RV,K);
QQ: dom g2= by L1,:5
q1: for c  /  -(->K)by ;then
      w in (RV -->K) byjava.lang.StringIndexOutOfBoundsException: Range [48, 47) out of bounds for length 50
    let  ;
     assume c in dom CO;
     then reconsider c as Element of Omegathen-((-K)w=(-K-. u3
      cases
      suppose ASSJJ0: c in RVO"[ end;
       ZW0   0  Straddle(,.java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
       RVO.H2: RV.w + (-()Omega->).=0byVALUED_11S1
       then 0<=RVO.c & Omega-K)=& dom(-()(Omega->K)  java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
       hence thesis by ZW0,:RV.w+(-)*->)w=0 by H2def 5;
      end;
      suppose ASSJJ00: not c in RVO"[.0,+infty.[;
ASSJJ0: c RVO"].infty0.
      proof
        not (c in dom RVO &  (Omega-->K)=Omega & dom by : ;
        then not c in Omega or not RVO.c in [.0,+infty.[ by FUNCT_2:def 1;
        then T: RV.c     PutOptionRVK)w=(-->)).wbyS1Def30java.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 70
          byXXREAL_1:,:2,9:;
        RVO.c in ].-infty,0     w in  OptionRVK  OptionK); java.lang.StringIndexOutOfBoundsException: Range [65, 66) out of bounds for length 65
        hence thesisthesisby ,java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 38
      ;
ZW0:  g2
      c in dom
      then java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
      hence thesis by ZW0,FINANCE3:def 5;
      end;
   end;
   for x being object st x in dom CO holds CO.x = (g2(#)RVO).x
   proof
     et x be 
     assume x in f is random_variable of F, Borel_Sets & f is constant };
     .x=g2.x*.x by q1;
     hence thesis by VALUED_1:5;
   endjava.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
   hence java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 22
end

theorem TH1:
  for RV cjava.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 12
      K java.lang.StringIndexOutOfBoundsException: Range [0, 13) out of bounds for length 0
    Omega->K-  o ,
proof
  let RV be   attr X is F-random-member
    xbeingobjectstx  
  Omega-->K is x is random_variable F,Borel_Sets;
  hence thesis by FINANCE2:24;
end;

theorem ZZZ:end;
  for
    chi(,Omega) is of Borel_Sets
proof
l A Element of ;
 set chij=java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 11
 chij is Function &    setmyRVOmega--0
by d ,java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 34
   as Functionof REAL by 2java.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69
 =asjava.lang.StringIndexOutOfBoundsException: Range [39, 38) out of bounds for length 56
   chij2 is ([#]F)-java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 17
  Real-Valued-Random- ofF
 hence thesis by RANDOM_3:7;
end;

registration let Omega;
  let F;
  cluster (F,Borel_Sets)-random_variable-like for java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 11
  
  proof
    A= the  of ;
    java.lang.StringIndexOutOfBoundsException: Range [13, 8) out of bounds for length 50
    takejava.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
    hence ;
  end;
end;

theorem ChiRandomendjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
  (  java.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 57
     java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 53
   
    set g2=chi( proof
reconsider  =Omega  Elementof by :java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
     of F,Borel_Sets by ZZZ;
    hence thesis;
  end;

theorem Lemma00:
  for f,RV being random_variable of F,java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 9
      K being Real assume x in set_ofF); java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
    (f-RV)"[.0,+infty.[ is ElementA1:     &f random_variableofF,orel_Sets&f  constantjava.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 67
  proof
    let f,RV be random_variable of F,java.lang.StringIndexOutOfBoundsException: Range [0, 47) out of bounds for length 17
        K be Real;   set_of_chi_RV( >F-random-memberedjava.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
A1: [.0,+  
    f-RV is (F,for x being object xin()holds
 byA1;
  end;

LemmaRandom:
  for RV being random_variable of F,Borel_Sets,
      K being Real holds
  chi((RV-    proof
  proof
   let RV be random_variable of F,Borel_Sets,
       K ;
   reconsider K as Element of REAL by XREAL_0:def 1;
   ->K  random_variable ofF, by 10 
   (RV-(Omega-->K))"[.0,+infty.[ is Element of F by Lemma00;
   hence thesis by A1:   x = chi(A,Omega) chi(,Omega)is of ,Bjava.lang.StringIndexOutOfBoundsException: Index 74 out of bounds for length 74
  endn   end;

definition
  let Omega, F;
   let  be ofFBorel_Sets;
  let K be Real;
  redefine func Call-java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 0
  correctness
proof
  set  cluster -random-membered    set;
  set g2=chi(existence
  reconsider g2 as random_variable of F,java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0

  reconsider RVO as random_variable of F,Borel_Sets by FINANCE3:11;
  set CO=Call-Option(RV,K);
  CO=g2(#)RVO
  proof
java.lang.StringIndexOutOfBoundsException: Range [7, 2) out of bounds for length 63
    proof
     let c be object;
     assume c in dom CO;
     then java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 43
     CO.c = g2.c * RVO.c
     proof
      per cases;
      supposeASSJJ0: in ".java.lang.StringIndexOutOfBoundsException: Range [42, 41) out of bounds for length 49
  ZW0: g2.c =1 by java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
       c in dom RVO & RVO.cD beF-nonjava.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
       . c<inftyby 3
       hence thesis wof ;
      end;
      suppose ASSJJ00: not c in RVO"[.0,+infty.[;
  K1C,1).;
      ASSJJ0: c in RVO"].-infty,0 .[
           proof
        not (c in dom RVO & RVO.c in [.0,+infty. A1:dbeing   NAT holds f.d = U(d) from FUNCT_2:sch 4;
        then not cn  ;
then .c ]-+[  infty<RVO.c &RVOc <0
          by XXREAL_1:224,XXREAL_0:12,XXREAL_0:9,XXREAL_1:3;
        then c in dom;
          by K1,FUNCT_2:def 1,XXREAL_1:4;
        java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 38
      end;
ZW0:g2.c 0by ASSJJ00,:defjava.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
f.. by 
      then -infty<RVO
      hence thesis by ZW0,FINANCE3:defend
      end;
    end;
     java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 17
   end;
W1: dom CO=Omega & dom g2 = Omega   ChiFuncs be sequence ofD1;
     for x being object st x in dom CO holds CO.x java.lang.StringIndexOutOfBoundsException: Range [50, 51) out of bounds for length 35
     proof
         bject
      assume x in dom CO; then
  .=g2x*VOxq1;
      hence thesis by VALUED_1:5;
     end java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
     hence thesis by W1;
   end;
   hence thesis by FINANCE2:25;
  end;
end;

definition
  let Omega, F;
  let RV be random_variable of F,Borel_Sets;
  wElementOmega
  func Put-Option( (java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 43
  for w being Element of(w(#java.lang.StringIndexOutOfBoundsException: Range [58, 57) out of bounds for length 65
    (((Omega- java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 20
    ((Omega-K)-)w<0 impliesitw=0;
existence
proof
  reconsider MyFunc = ( f1,f2 be Function of Omega
 java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 61
     consider f being Function Partial_Sums((Conv2_RV(ConstFu(Conv2_RVConstFuncs(ChiFuncsw).and
 A1: for d be Element    wbeing Omegaholds.w
  for w being Element of Omega holds
     (  w(java.lang.StringIndexOutOfBoundsException: Range [42, 29) out of bounds for length 46
     (yFunc.w <0implies w  0)
proof
  let w be Element of Omega;
  f.wl Omega F;
  hence thesis by FINANCE3:def 4;
 end;
hesis
end;
uniqueness
proof
 f1, beFunction of Omega,;
     assume that
 A2:   correctness
     (((Omega-->Kproof
     (((er f being Function  Omega,REAL  that
  :fs(Cn;
     (((Omega-->K)-RV).w>=0 implies f2.w=((Omega-->K)-RV).w) &
     ).0implies f2.w=0;
  let w be Element of Omega
  per cases;
  suppose A0: ((Omega-->K)-RV).    java.lang.StringIndexOutOfBoundsException: Range [26, 21) out of bounds for length 38
    then f1.w=((java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 10
    for   Element Omega 
  end;
  RVs0.(C0()(,).
    then f1.w=0 by A2;
       thesis AA3
  end;
end;
end;

theorem JA3:
  for RV being random_variable of F,Borel_SetsRVs0.=Conv2_RV(onstFuncsw()
      K being Real,
      g2 being Function of Omega,REAL
     ,Omega 
    Put-Option(RV,K) = g2(#)((Omega-->K)-RV)
proof
 let RV be random_variable of F,Borel_Sets;
 let K be Real Conv2_RV(,w)by 5
 java.lang.StringIndexOutOfBoundsException: Range [19, 4) out of bounds for length 34
  : g2=(((--K)-RV)[0+infty.,);
 set PO=Put-Option(RV,K);
 >K)RV
 &domRVO=Omega  domPO =Omegaby d1
: PO  domg2 /\ dom RVO & for c
     being object st c in dom PO holds    =(Conv_RV(onstFuncs,0()onv_RV(ChiFuncs0)java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
   proof
    for c being object st c in dom PO holds PO.c   assume ASS0: J[n];
    proof
     let c be object;
        ;
     then reconsider c as Element of Omega;
     PO. = g2.c*RVO.java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
     proof
      per cases;
      suppose ASSJJ0:     for w  Element of Omega holdsRVsn1.=(Vsn  RVa).w
  ZW0:proof
       c inletwbe  ofOmega;
       thenw=((java.lang.StringIndexOutOfBoundsException: Range [48, 47) out of bounds for length 53
       hencethesis by ZW0,Def30;
      end;
      RVsn1.In(java.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 56
      k1:                  Conv2_RVChiFuncs,w)).n,EAL) +
      ASSJJ0: c in RVO"].-infty,0 .[
      proof
        not domRVO& .cin[0+[ by Fdef ;
        then not c in Omega or      wRVsnw  w)(#)
        thenRV. in .infty,infty. &-infty<. & RVO. 0
          by XXREAL_1:224,XXREAL_0:12,XXREAL_0:9,XXREAL_1:3;
        then c in dom(RVO) & RVO.c in ].-w.n+)
          by k1,FUNCT_2:def 1,XXREAL_1:4;
        hence thesis by FUNCT_1:C,n1)w by 
      end;
:g2 c=  ,FUNCT_3def ;
      c in dom RVO & RVOC(java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 49
      thenConv_RVCn+). by5D1,;
      hence thesis     by java.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 32
      end;
     end;
    hence thesis;
    end;
   hence thesis by h1
   end;
   for xhencethesis ;
   proof
    let x be object;
    java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 4
    PO.x=g2.x*RVO.java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    hence   VALUED_1:;
   end;
  hence thesis by h1;
end;

definition
  let Omega, F;
  let RV be random_variable of F,java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 0
   forx  holds  in (F,)
  redefine func Putvariable  ,
correctness
proof
  set RVO=(Omega-->K)-RV;
  set g2 = chi(RVO"[.0,+infty.ixis java.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 50
  setconsiderM  Omega,REALsuchthat
  reconsider as of  XREAL_0:def 1;
  Omega-->K is random_variable of F,Borel_Sets by FINANCE3:10; then
  ((Omega--      thus x is   F,orel_SetsAAjava.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
  reconsider java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
reconsiderRVO as random_variableof , TH1
  PO=g2(#)  let q be Na  be 
  hence thesis by FINANCE2:  let  ofset_of_random_variables_onF;
end;
end;

begin

definition
  let Omega, F;
e F;
  let K be Real;
  func Straddle(RV,K) -> random_variable of F,Borel_Sets equals
    Put-Option(RV,K) + Call-java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 10
  coherence by FINANCE2:23;
end;

theorem
  RVbe java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 44
      K be phi,F,n -   F
    phiFGn".,infty.[
    Straddle(RV,K).w=|.(RV-(Omega-->K)).  correctness
proof
  let RV be random_variable of set =RVPortfolioValueFutExt(phi,F,,;
  let K be Real;
  let w be Element of Omega;
  set f1=RV;
   hence by ;
SS: dom RV=Omega & domend;
   w in dom f1/\dom f2; then
C1: w in dom (f1+f2) by VALUED_1:def 1;
   &
      dom Call-Option(RV,K) = Omega by FUNCT_2:def    phi,,,)]..;
  w in dom Put-Option(RV,K)java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
 B100: w in dom (Put-Option(RV,K)+Call-Option(RV,K)) by java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 18
c2: dom(Omega-->K)=Omegajava.lang.StringIndexOutOfBoundsException: Range [24, 4) out of bounds for length 4
     by VALUED_1:def 5;
c4: w in dom(RV) by SS; then
C6: w in dom ((-1)Prob.(O,G)0)java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
per java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
 suppose S1: (RV-(Omega-->K)).w (,orel_Sets equals
B0: {234}--> java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
   dom(-RV)=Omega by FUNCT_2:def   set g = 1,234}-->(,EAL;
   then  dom(Omega--K)dom(RV);then
  C7: w in dom((Omega-->K)+ -RV) by  hence byjava.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
 ((Omega-->K)-RV).w<0
 proof
  -(-K).=f1w  .by ,: 
  .=RV.w + ((-1)  let jpi  pricefunction;
  then -(RV.w-K)<0 by S1;
  then K-RV.w<0;
  (mega--K.  -1*w<;
  then (Omega-->K).w + ((-1)(#)RV).w<0 by C6,VALUED_1:def 5;
  hence by ,VALUED_1d java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
 end; then
B2 -ptionR,)w= Def30;
 (Put-Option(RV,K)+Callcorrectness
  by B100proof
 hence thesis by B0,B2, setsetg={,,,}-In(jd(+),;
 end;
 suppose S1: (RV-(Omega-->K)).w<0;
  dom Put-R,=Omega &
    dom Call-Option(RV,K) = Omega by FUNCT_2:def 1; then
  win  -Option(,K /\dom -Option(V,); then
 B100: w in dom (Put-Option(RV,K)+Call-Option(RV,K)) by       (java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 67
c2: dom(Omega-->K);
     by VALUED_1:def 5;
C6: w in dom ((-1)(#)RV) by VALUED_1:def 5,c4;
   dom(Omega-->K)=Omega java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
   then win Omega->)\om(RV) then
  C7: w in dom((Omega-->K)+ -(G.0={1,2,3,4}-->1 & G.1={1,2}-5&
 ((Omega-->K)-RV).w>0
 proof
  (RV-(Omega-->K)).w=f1.w + java.lang.StringIndexOutOfBoundsException: Range [0, 30) out of bounds for length 5
  .=RV.w + ((-1)*((Omega-->K).w)) by c2,VALUED_1:def 5;
  then -(RV.w-K)>0 by S1;
 -RVw>;
  then (Omega-->K).w + (-1)*RV.w>0;
  then (Omega-->K).w + ((-1)(#)RV).w>  A1:for d Element NAT holds d=d  FUNCT_2:sch java.lang.StringIndexOutOfBoundsException: Range [67, 68) out of bounds for length 67
 hence thesis by C7,VALUED_1:def 1;
 end; then
 B2: Put-Option(RV,K).w=((Omega-->K)-RV).w by Def30;
 Call-Option(RV,K).w = 0 by FINANCE3:def 5,S1;
 then B40: Straddle(RV,K).w=0+((Omega-->K)-RV).w by B2,B100,VALUED_1:def thenb2 f1=IFEQ (,,5,0)by FUNCOP_1:def 8;
   dom(->)=mega  ((1())Omegaby :def1java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
   C1 >;
  w in dom ((Omega-->K)+ ((-1)(#)RV)) by k in  :def12;
-RV).w  (--K.+(-)#RV)w  VALUED_1:ef ;
    dom ((-1)(#)RV)=Omega by    then f.k=IFEQ (k,1,RVfirst(5),RVfirst(0)) by C1,FUNCOP_1:def 8;
u3:(Omega->)RV.w  (Omega-Kw + ((-1)*RV.)by U2,ALUED_1:def ;
L1: RV.w + - (Omega-->K).w =end;
   dom ((-1)(#)(Omega
then
L2: RV.w + - (Omega-->K).w = RV.w+((-1)(# forG sequence 
bL1,ALUED_1:5;
    w in dom RV /\ dom (-(Omega-->K)) by SS; then
   w dom(V+((-K) : 1java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
   then RV.w + - (Omega-->K).w = (   exjpi pricefunctionst
 then -      Prob,,1
 hence thesis by B40,S1,COMPLEX1:70;
 end;
 suppose S1: (letProbbe Probability Special_SigmaField1java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
   0 = Straddle(RV,K).w
   proof
H2 w +(-1()O-->K)).w=0 byVALUED_1:1,S1;
    dom(Omega-->K)=Omega & dom ((-1) (,)java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
byFUNCT_2:;then
h1: RV.w + (-1)*(Omega-->K).w=0 by H2,VALUED_1:def 5;
    dom ( (-1)(#)RV ) = Omega by FUNCT_2:def 1; then
G2: (Omega-->K).w + ((-1)(#)RV).w=0 ProbOmegaProb.([#];
    dom (->K)Omega   -)byFUNCT_2
    then w in dom( reconsider A = {} as A={ as EventofFby :4;
    w in dom ((Omega-->K) + (-RV)) .([])\A) =.(])java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
(Omega->)RV)w= G2,:1then
    Put-Option(RV,K).w=-(RV-(Omega-->K)).w by 
F3:deffunc (  NAT =In($01IFEQ(1110)REAL);
    dom Call-Option(K  Omega&dom OptionRK  
     by FUNCT_2:def 1;
    w Call-R,)/ Put-(RV,) then
    w in dom (Call-Option(RV,K) + Put-Option(RV,K)) by VALUED_1:def 1;
 thesis  F3,:def 1java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
   end;
  hencethesis COMPLEX1:43S1java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
 end;
end;

definition let Omega, F;
  func set_of_constant_RV(F) -> set equals
    { f where f is Function java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 18
       f is random_variable of F, java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 6
  coherence;
  func set_of_chi_RV(F) -> set equals
    { chi F :
        chi(A,Omega) is random_variable of F, Borel_Sets };
  ;
end;

definition let Omega, F; let X be set;
  attr X is F-random- . -1;
    for x being object st x in X holds
      x is random_variable of F, Borel_Sets;
end;

registration let Omega, F;
  cluster set_of_constant_RV(F) -> non empty;
  coherence
  FinJ: Prob.phi,Omega,F,,1= java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
    set myRV=Omega-->0 p,jpi,)<0
A2: 0 in REAL by NUMBERS:19;
    reconsider myRV as Function of 
RV is(,-java.lang.StringIndexOutOfBoundsException: Range [43, 42) out of bounds for length 71
    myRV in set_of_constant_RV  phi()jpi.  phi#jpi)0+ (phi#)jpi.01)
    hence thesis;
  java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
  cluster set_of_chi_RV(F) -> non empty;
  coherence
  proof
    reconsider MyOmega = Omega as Element   proof
setg2=hi(,;
    chi(Omega,Omega) is random_variable of F,Borel_Sets by ChiRandom;
    then chi(MyOmega,MyOmega) in set_of_chi_RV(F);
    hence thesis;
  end;
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4

registration let Omega, F;
  ( >random-
  coherence
  proof
    for x being object st  end
      x is random_variable of F, Borel_Sets
    
      let x    ((#jpi).=*.  java.lang.StringIndexOutOfBoundsException: Range [43, 42) out of bounds for length 45
      assume x in set_of_constant_RV(F); then
     considerfbeing  of Omega, REAL such java.lang.StringIndexOutOfBoundsException: Range [56, 57) out of bounds for length 56
 is random_variable  F,&f is constant;
      thus thesis by A1;
e;
    hence thesis;
  end;
  cluster set_of_chi_RV(F) -> F-random-membered;
  coherence
  proof
    for x beingobject xin set_of_chi_RVF 
      x is random_variable of F,
    proof
      let x   set RV=RVPorjava.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 43
      assume x in set_of_chi_RV(F); then
      consider A being Element of F such that
java.lang.StringIndexOutOfBoundsException: Range [21, 2) out of bounds for length 74
      thus thesis by A1;
    end;
    hence thesis;
  end;
end;

registration let Omega, F;
  F-random- non empty set;
  existence
  proof
    take set_of_constant_RV F;
    thus thesis;
  end;
end;

definition
  let Omega, F;
  let D be F-random-membered non empty set;
  let ChiFuncs be sequence of assumex  ;
  let n be Nat;
  java.lang.StringIndexOutOfBoundsException: Range [45, 6) out of bounds for length 68
  ChiFuncs.n;
  coherence by RanDef;
end;

definition
  let         proproof
  let D be F-random-membered           =RVElementsOfPortfolioValue_fut,,,)java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
  let ConstFuncs be sequence of D;
  let w be Element of Omega;
  func (ConstFuncs,)-  of REAL   :Def770java.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69
    for  being  holds it.=Conv_RVConstFuncs,.wjava.lang.StringIndexOutOfBoundsException: Range [55, 56) out of bounds for length 55
existence
proof
  deffunc U(Element of NAT) = Conv_RV(ConstFuncs0=RV.x  x+
   consider f being Function of NAT,REAL such that
 A1:for d being Element of NAT holds f.d = U(d)            RVh1.x=ElementsOfPortfolioValueProb_fut(Fjava.lang.StringIndexOutOfBoundsException: Range [52, 50) out of bounds for length 67
take f;
 let n be Nat;
 n in NAT by ORDINAL1:def 12;
 hence thesis by A1java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
end;
uniqueness
proof
 let f1,f2 be Function of NAT,REAL;
  assume that
A1: for d           G0 as Functionof , K1,INANCE1def ;
A2: for d being Nat holds f2.d = Conv_RV RVh1x*0 A3,,java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
  let d be Element of NAT;
  f2.d=Conv_RV(ConstFuncs,d).w by A2;
  hence thesis by A1;
end;
end;

definition
  let Omega, F;
  let D1, D2 be F-random-          .=java.lang.StringIndexOutOfBoundsException: Range [17, 18) out of bounds for length 17
            
  let ConstFuncs be sequence of D2;
  let  be Nat;
  func simple_RV_help(ChiFuncs,ConstFuncs,n)
      >Function of ,REAL   ::
      of 
    it.w = Partial_Sums(then x(,Fx,)(0
existence
proof
 deffunc U(Element of Omega) =
  In(FINANCE1:10
                   Conv2_RV(ChiFuncs,            x=ElementsOfPortfolioValueProb_futF,..*U1 A4;
 consider f being Function of Omega,REAL such that
 A1:for d be Element of Omega holds f.d =            then R1: RV0.x=Change_Element_to,,1. *
 take f;
 let w be Element of Omega;
 In(Partial_Sums((Conv2_RV(ConstFuncs,wthen= 1as of ,java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
                   Conv2_RV(ChiFuncs,w))).n,REAL) =
 Partial_Sums((Conv2_RV(ConstFuncs,w)(#)Conv2_RV(ChiFuncs,w))).nendjava.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
 hence thesis by A1;
end;
uniqueness
proof
 let f1,f2 be         end;
  w beingElement of Omega holds f1.w=
 Partial_Sumsjava.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 19
 A2: for w being Element of Omega holds f2.w=
   Partial_Sums((Conv2_RV(ConstFuncs,w)(#)Conv2_RV(ChiFuncs,     end;
  let  be of Omega;
  f2.w=java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 10
                   Conv2_RV(ChiFuncs,w))).n by A2;
  thesis  A1
end;
end;

definition
  let Omega, F;
  let D1, D2 be F-random-membered non empty set;
  let ChiFuncs be sequence of D1;
  let ConstFuncs be sequence of D2;
  letnbeNat
  redefine func simple_RV_help(ChiFuncs,ConstFuncs,n)
     -  F,java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
  correctness
proof
  consider f being Function of Omega,REAL such that
  B10:fsimple_RV_help(ChiFuncs,ConstFuncs,n);
 f is random_variable of F,Borel_Sets
 proof
  defpred J[Nat] means simple_RV_help(ChiFuncs,ConstFuncs,$1)
   is random_variable of F,Borel_Sets;
  set RVs0=simple_RV_help(ChiFuncs,ConstFuncs,0);
  J0: J[]
  proof
     for w being Element of Omega holds
     RVs0.w=(Conv_RV(ConstFuncs,0)(#)Conv_RV(ChiFuncs,0)).w
     proof
      let w be Element of Omega;
      RVs0.w=Partial_Sums((Conv2_RV(java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 29
                              Conv2_RV(ChiFuncs,w))).0 by Def777; then           RVh1.=(F,0.  
      RVs0.w= K1:RVh1x=java.lang.StringIndexOutOfBoundsException: Range [45, 44) out of bounds for length 72
Conv2_RV(w).0by SERIES_1:def 1; then
  C2: RVs0.w=Conv2_RV(ConstFuncs,w).0 *
             Conv2_RVChiFuncs,w.0  VALUED_1:;
  C3: Conv2_RV(ConstFuncs,w).0 =
          Conv_RV(0).wby Def770
      Conv2_RV(ChiFuncs,w).0 = Conv_RV Omega,REALbyK1,def ;
      hence thesis by VALUED_1:5,C2,C3;
    RVh1x=1*phi0 by A3,1K2;
RV,)(#Conv_RV(hiFuncs,0)java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
    hence thesis by FINANCE2:25;
  end
:    nJ+
  proof
   let n be Nat   PortfolioValueFutExtdphi,,,=RVPortfolioValueFutExt,FGd.java.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 72
   assume ASS0: J[n];
   set RVsn=simple_RV_help(ChiFuncs,java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 6
   set RVsn1= A1: x in dom RVPortfolioValueFutExtFGd)java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
hiFuncs,n)
     for w being Element of Omega holds RVsn1.w     asElementofOmega  a1;
     proof
      let w be Element of Omega;
=((,)java.lang.NullPointerException
         Conv2_RV(ChiFuncsthen0=(,phiFG,x)by FINANCE3:def;
      RVsn1.w=In(Partial_Sums((Conv2_RV(ConstFuncs,w)(#)
                 Conv2_RV(ChiFuncshence thesisby TARSKI2java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
((w(java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
                 Conv2_RV(ChiFuncs     F 
        {w where of:dphiGw
                                                           >= (1+r)*BuyPortfolio(phi,jpi,d)} =
      D1: RVsn1.w=RVsn.w + (Conv2_RV(ConstFuncs,w).(n+1)*
                            Conv2_RV(ChiFuncs,w)      (FGd2-
      D2: Conv2_RV(ConstFuncs,w).(n+pjava.lang.StringIndexOutOfBoundsException: Range [5, 6) out of bounds for length 5
          Conv_RV(ConstFuncs,n+1).w by Def770;
      Conv2_RV    (B;
          Conv_RV(ChiFuncs,n+1).setSet1{wherewisof java.lang.StringIndexOutOfBoundsException: Range [60, 59) out of bounds for length 72
      RVsn1.w=RVsn.w + (Conv_RV(ConstFuncs,n+1)(#)
Conv_RVCn+).by:D1java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
     by:;
     end; java.lang.StringIndexOutOfBoundsException: Range [26, 14) out of bounds for length 49
   M1: RVsn1 = RVsn + RVa;
   RVsn israndom_variableof, &
RVais random_variableFBorel_Sets ASS0,25
   hence thesis by M1,FINANCE2:23
  
  for      Omega
  hence thesisA1 =x java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 44
 end;
  ;
end;
end;

:: Arbitrage theory: Definition and alternative representation

 java.lang.StringIndexOutOfBoundsException: Range [4, 1) out of bounds for length 22
java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 31

Lemacik:
  xjava.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 72
    iff x       dom-;
  proof
let be;
    thus x in set_of_random_variables_on(F,    then RVPortfolioValueFut(phi,F,G,d2).x+ ((-1)(#)(O.>0
      java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 50
    proof
      ); then
      consider M being Function      ;
  :java.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 65
      thus x is random_variable of F,Borel_Sets by AA;
    end;
    thus thesis;
  end;

definition
  let Omega, F;
letbe;
  let G be           java.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 43
  func Change_Element_to_Func(G,q) ->             java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 28
  Gq
  coherence
  
    G.qjava.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
       =java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 53
  
end;

definition
  let phi, Omegad))by6java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
  let G be sequence of (Omega-->(1+r)*BuyPortfolio(phijava.lang.StringIndexOutOfBoundsException: Range [56, 55) out of bounds for length 70
  let n be Nat;
  func ArbitrageElSigma1(phi,Omega,F,G,n) -> Element of    phiFG
    : ;
  correctness
proof
 set RV=RVPortfolioValueFutExt(phi,F,G,n);
 A1: [.0,+infty.[ is Element of Borel_Setsend
RVis(,like6java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
 hence thesis by A1;
end;
  phi,Gn >ofF
    RVPortfolioValueFutExt(phi,F,G,n)"].0,+inftyforr 
  forjava.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 73
proof
  RVPortfolioValueFutExt(phi,F,G,n) (->1r*java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 71
    java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 5
  hence thesis by A1;
end;
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4

definition
  reconsider  asjava.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 64
  let Prob be myr=(1+r)*BuyPortfoliodjava.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
  let G be sequence of set_of_random_variables_on(F,Borel_Sets);
    
  let n be Nat;
  pred Arbitrage_Opportunity_exists_wrt Prob,G,jpi,n means
      
     (BuyPortfolioExt(phi,jpi,n)<=0 -is F-random_variable 24java.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 66
     (Prob.ArbitrageElSigma1(phi,Omega;
     Prob.ArbitrageElSigma2(phi,Omega,F,G,n)>0));
end;

definition let    Nat
  RVfirstr -of
    set_of_random_variables_on(Special_SigmaField1,  for G being sequence of set_of_random_variables_on (F,Borel
,,}-
correctness
roof
   set g = java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
   g is random_variableReal
 by;
end;
end;

definition
  let jpi be pricefunction;
  let r be Real;
  be;
  func RVfourth(for holdsin java.lang.StringIndexOutOfBoundsException: Range [49, 44) out of bounds for length 49
    thus x in java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 34
  RVfirst (jpi.d*(1+proof
  correctness
proof
 set g = {1,2,3,4}-->In((jpi.d*(1+r)),REAL);
 g is    then consider wbeing Element of Omega such that
 g in {f where f is       x  dom(-()Omega--myel)byVALUED_1d5java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
       f is (Special_SigmaField2,Borel_Sets)-random_variable-like};
 hence thesis;
end;
end;

theorem
  Gsequenceof
     set_of_random_variables_on(Special_SigmaField1,Borel_Sets) st
  (G.0={1,2,3,4}-->1 & G.1={1,2,3 thenT1 R(,FGd2  Omega->myel)x
  for k being Nat st k>1 holds G.k={1,2,dom(,,G ((-))java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
proof
 deffunc U(Nat)=IFEQ ($1,0,RVfirst (1),IFEQ ($1,1,RVfirst(5),RVfirst(0)));
 consider f   java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 24
,)sthat
  A1: for d being Element of NAT          (->1+)BuyPortfoliophij,))&
 take f;
b1:f.0=IFEQ (0,0,RVfirst (1),IFEQ (0,1,RVfirst(5),RVfirst(0))) (Omega->1+)*BuyPortfolio(,,))xi .0,infty[
  f.1=IFEQ (1,0,RVfirst (1),IFEQ (1,1,RVfirst(5),RVfirst(0))) by A1;
  then b2: f.1 = IFEQ (1,1,RVfirst(5),RVfirst(0)) by FUNCOP_1:java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 45
  for k being Nat st k>1 holds f.k={1,2,3,4}-->0
  proof
   let k be Nat;

   k in NAT by ORDINAL1:def 12;
java.lang.StringIndexOutOfBoundsException: Range [61, 3) out of bounds for length 74
   then f.k=IFEQ (k,1,RVfirst(5),RVfirst(0)) by C1,FUNCOP_1:def 8;
  hence thesis by C1,FUNCOP_1:def 8;
  end;
 hence thesis by b1,then 0<RVPortfolioValueFut,d2)x-
end;

java.lang.StringIndexOutOfBoundsException: Range [7, 8) out of bounds for length 7
     ProbabilityofSpecial_SigmaField1holds
  for G being sequence of
    set_of_random_variables_on,) st
  (G.0={1,2,3,4}-->1 &  byF: 3
   holds G.k={1,2,3,4}-->0) holds
   ex jpi being pricefunction sthencethesisby TARSKI2
     ProbG,pi,
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
let Prob be Probability of Special_SigmaField1;
setOmega{,,,4;
set F=Special_SigmaField1;
let G be sequence of
 set_of_random_variables_on(Special_SigmaField1,Borel_Sets);
assume A3: G.0=Omega--t JC3:
    holds G.for ,d2  
ZW Omega=1 &Prob{=java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30

 Prob.Omega=Prob.([#]F);
  B2 .= byPROB_1:0java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
 reconsider A = {} as Event  (->+r*(j,d)"]0,+.  Eventof 
 Prob.(([#]F) \ A) = Prob.([#]F);
 then Prob.([#]F) + Prob.A = 1 by PROB_1:31  rbe Real;
hence thesis by B2;
end;
deffuncUElement of )=InIFEQ(101I(111,)R)
  being  of ,EALsuchthat
C1: for d being Element of NAT holds f.d=U(     .,infty[is Element ofBorel_Sets :,INANCE25;
is
proof
d0:f.0=()byC1java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
  for n being Element of NAT holds f.n >= 0
  
   let n be Element of NAT;
   f.n=U(n) by C1;
   hence thesis;
  end;
hencethesisbyd0Fd ,: java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
end;
 then reconsider jpi = f as pricefunction;
deffunc U(Element of NAT)=In(IFEQ($1,0,-1,IFEQ($1,1,e;
a0: U(0) = java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 0
    .= -1;
a1: U(1) = In(IFEQ(1,1,1,0),REAL) by FUNCOP_1:deffor ,d2beingNat st>0 d2d holds
    . FUNCOP_1def8java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
consider phi being Real_Sequence such that
  kElementNAT phi.Uk sch
FinJ: (Prob.ArbitrageElSigma1(phi,Omega,F,G,1)=1 &
 .ArbitrageElSigma2(OFG1))&
 BuyPortfolioExt(phi,jpi,1)<=0
proof
 G1: BuyPortfolioExt(phi,jpi,1)<=0
 proof
  Partial_Sums(phi(   exmyphibeing  
   by SERIES_1:def    (rob.(RVPortfolioValueFut,Gd2)
thenH1 (#j)1=(()pi.  p#jpi.java.lang.StringIndexOutOfBoundsException: Range [68, 69) out of bounds for length 68
   by SERIES_1:def 1;
  H2: (phi(#)jpi).0 =-1
  proof
 letjpibe pricefunction;
   (phi(#)jpi).0 = phi.0*jpi.0 by VALUED_1:5;
    assume:0  d1java.lang.StringIndexOutOfBoundsException: Range [25, 26) out of bounds for length 25
   then (phi(#)jpi).0 = (-1)*In(IFEQ(0,0,1,IFEQ(0,1,1,0)),REAL java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 15
   then (phi(#)jpi).0 = (-1)*1 by FUNCOP_1:def 8;
  hence thesis;
  endjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
  (phi(#)jpi).1 = 1
  proof
aa  (myphibeing st
   (phi(#)jpi).1 = phi.1*jpi.1 by VALUED_1(Prob(RVPortfolioValueFut(myphiF,)-
      (-(+r*mjpid)".,infty[=)&
   .= 1*f.1 by aa,FUNCOP_1:def 8
   .= 1*In(IFEQ(1,0,1,Prob.((RVPortfolioValueFut,,G
   ArbitrageElSigma1(,,,,)=&
  hence thesis by FUNCOP_1:def 8;
  end;
 hence thesis by H2,H1;
 end;
  set RV=RVPortfolioValueFutExt((,mega,FGd  wwhere w  Element
   Prob.   (,hiFG)> }by JB1;
    Prob. then (phi,Omega,F,d =
 proof
fin1 =[,[
     proof
      for x>1r*java.lang.StringIndexOutOfBoundsException: Range [37, 36) out of bounds for length 76
      proof
       let x be object;
xinOmegaimpliesx  ".,.java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
       
        assume x in Omega;
t   as Element ofOmega;
q1:     dom RV=Omega by FUNCT_2:def 1;
        x in dom RV & RV.x in [.0,  1<.&ProbRVspec<1by :,C1C,34;
        proof
          set RVh1=RVElementsOfPortfolioValue_fut(phi,F,G,0);
         .  (,G+)x;
          then RV.x = (RVPortfolioValueFut(   (phiF,  } java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
           RVElementsOfPortfolioValue_fut(phi,F,G,0)).x   {  java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 65
          then S0: RV.x = RVPortfolioValueFut(phi                1r*p,jpi) C1A,A3F:;
           by VALUED_1:1;
         0<=RV.x & RV.x<+infty
         proof
          S1: RVh1.x=-1
          proof
           (-(+*(,pid)".,infty[byA1J;
            by FINANCE2:def 5; then
           K1: RVh1.x=Change_Element_to_Func(       Omega-(+)(jpi,)".,infty[
            by   reconsider RVspec2 as of FbyJC3java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
           set G0=G.0;
           K2: G0=hence thesis by Fin1,C1
           reconsider G0 as java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 4
           RVh1.x=1*phi.0 by A3,K1,K2;
          RVh1x1U0 A4
           .= In(-1,REAL) by FUNCOP_1:def 8;
          hence thesis;
          end;
          set RV0=RVPortfolioValueFut(phi,F,G,0);
          RV0x5
          proof
           xP(+1pFG)by :ef3;
       that
            by     AA1: for n being Element of NAT holds phi.n=U(n) from FUNCT_2:sch 4;
      thenRV0.=(,Fx,.01
            by NAT_1:def 3;
           then RV0.x=ElementsOfPortfolioValueProb_fut(F,G.1).x * phi.1
            by FINANCE1:def 10;
            x(F,.)x *U1 A4java.lang.StringIndexOutOfBoundsException: Range [77, 78) out of bounds for length 77
          R1:RV0.=(FBorel_SetsG.. 1
            by a1,FINANCE1:def 8;
           G.SW n0,BuyPortfoliomyphijpi,)mn  REAL
           then reconsider G1 = G.1 as Function of Omega proof
           RV0.x=G1.x * 1 by R1,FINANCE1:def 7;
          hence thesis by A3;
          java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
         hence thesis by XXREAL_0:9,S0,S1;
         end;
        hence thesis by q1,XXREAL_1:3;
        end;
       hence thesis by FUNCT_1:def 7;
       end;
      hence thesis;
      end;
     hence thesis by TARSKI:2;
     end;
nfty[
     proof
      for x being object holds x in Omega iff x in RV"].0,+inftyhence  by FUNCOP_1:ef8S;
      proof
       let x be object;
      thus x  Omega impliesxin "]0+infty.[
       proof
        assume x in Omega;
         x as  of ;
q1:     dom RV=Omega by FUNCT_2:def 1;
        x in dom RV & RV.x in ].0,+infty.[
        proof
          set RVh1=RVElementsOfPortfolioValue_fut(phi,F,G,0);
          RV.x = RVPortfolioValueFutExt(phi,F,G     : >0;
          then RV.x = (phi.n=In(IFEQ(n,0,-BuyPortfolio(myphi,jpi,d),myphi.n),REAL) by AA1,SS
      .= IF(n,,BuyPortfoliomyphij,)myphi.) SUBSET_1:ef8,;
          then S0: RV.x = RVPortfolioValueFut(phi,F,G,0).x + RVh1.x
           by VALUED_1:1;
         0<RV.x & RV.x<+infty
         proof
          xE(F,0.  phi.
            by FINANCE2:def 5; then
K1 RVh1.=(,orel_SetsG0. * phi0
            by FINANCE1:def 8;
           set G0=G.0;
           K2P20=ElementsOfBuyPortfoliomyphi,^1. by: 1;
reconsiderG0asFunction  ,EAL by ,INANCE1:ef7;
           RVh1.x=1*phi.0 by A3,K1,K2;
           then
          S1thesis by Erg1,AA10java.lang.StringIndexOutOfBoundsException: Range [37, 38) out of bounds for length 37
          set RV0=RVPortfolioValueFut(phi,F,G,0);
           RV0.x=PortfolioValueFut(0+1,java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 16
           then RV0.x=(java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 25
            by SERIES_1:def 1;
           then RV0.x=ElementsOfPortfolioValue_fut(phi,            P1.(n+1)=P1.n+(ElementsOfBuyPortfolio(phi,jp.n1)
            : 3
           then RV0.x=            then P1.(n+1)=P1.n+ElementsOfBuyPortfolio).n1)java.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 72
            FINANCE1:ef 10;
           then RV0.x=ElementsOfPortfolioValueProb_fut(F,G.1).x * U(1) by A4;
           then R1: RV0.x=Change_Element_to_Func(F,Borel_Sets,G.1).x * 1
            by a1 P2(+)=2.+ElementsOfBuyPortfoliomyphij)\)(+)
           G.1=by SERIES_1 java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
treconsider  .as ;
           RV0.x=G1.x * 1 by R1,FINANCE1:def 7; then
          RV0.x=5 by A3;
         hence thesis  (+)P2myphin)()by:;
         end;
         hence thesis by q1,XXREAL_1:4;
        
       hence thesis by FUNCT_1:def 7;
       end;
      thus thesis;
      end;
     thesisby :;
     end;
 hence thesis by fin1,ZW;
 end;
hence thesis by G1;
end;
take jpi;
thus thesis by       Z2: Prob.ArbitrageElSigma1(phi,Omega,F,G,d)=1
end;

theorem JB1:
  for n being Nat
  for r being Real
  for G being sequence of set_of_random_variables_on (F,Borel_Sets) holds
  {w where w is Element of Omega: PortfolioValueFutExt(n,phi,F,G,w) >= 0} =
      RVPortfolioValueFutExt(phi,F,G,n)"[.0,+infty.[
proof
 let  be Nat;
 let r be Real;
 let G be sequence of set_of_random_variables_on (F,Borel_Sets);
set=ww ofjava.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
           PortfolioValueFutExt(d,phi,F,G,w) >= 0};
 set Set2=RVPortfolioValueFutExt(phi,F,G,d)"[.0,+infty.[;
 for x being object holds x in Set1 iff x in Set2
 proof
  let x be object;
  thus x in Set1 implies x in Set2
  proof
   assume x in Set1;
   then consider w being Element of java.lang.StringIndexOutOfBoundsException: Range [0, 41) out of bounds for length 16
    A1: w=x &              PortfolioValueFut(d2+,Gx :ef3;
   PortfolioValueFutExt(d,phi,F,G,w)=java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 29
   FINANCE3 ;
   then A2: RVPortfolioValueFutExt(phi,F,G,           Partial_Sums(ElementsOfPortfolioVphiF,^1.$java.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 71
     by XXREAL_1:3,A1,XXREAL_0:9;
   dom RVPortfolioValueFutExt(phi             ((myphiFx)\). =
  hence thesis by A1,A2           ((Fx)\.  :ef1
  end;
   assume a1:x in ;
   then A1: x in dom RVPortfolioValueFutExt(phi,F,G,d) &
        phiFG,).  [.,.  :ef 7;
   reconsider x as Element of Omega by a1;
   0<=RVPortfolioValueFutExt(phi,F,G,d).x &
      :3;
   then 0<=PortfolioValueFutExt(d,phi,F,G,x) by FINANCE3:def 1;
  hence thesis;
 end by FINANCE1:ef ;
hence thesis by then PartialSums((myphi,FxG^1)0
end;

theorem JB2:
  d being  st 2d holds
  for r being Real
  for G being sequence of set_of_random_variables_on (F,Borel_Sets) holds
  {w where w is Element of Omega: PortfolioValueFut(d,phi,F,G,w)
)*BuyPortfolio,}java.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 66
      (RVPortfolioValueFut(phi,F,G,d2)-
       (Omega-->(1+r)*BuyPortfolio(phi,jpi,hence d 1
proof
 let d            : for  NatJn [n]
 assume a10: d2=d-1;
 let rlet beNatjava.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
 let G be sequence of set_of_random_variables_on (F,Borel_Sets);
 set =wwherew is    (phiFGwjava.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 72
>=(r)(hijpi,);
 set Set2=(RVPortfolioValueFut(phi,F,G,d2)-
          (Omega-->(1Partial_SumsElementsOfPortfolioValue_futFxG^1)n +
 forx beingobject x Set1iffx  Set2
 proof
  let x be  by ,:def1
  thus x in Set1 implies x((Fx,^1.n)=
  proof
   assume  in ;
   then consider by :ef3 
    A1: w=x & R1 ((myphiFxG)1.n+1)java.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 68
             >= (1+r)BuyPortfolio(hij,d;
   reconsider x asby:10;
   set myel=(1+r)*BuyPortfolio((ElementsOfPortfolioValue_fumyphiFxG^1.n1 java.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 68
a2: PortfolioValueFut(d2+1,phi,F,G,w)=RVPortfolioValueFut(phi,F,G,d2).w
    by FINANCE3               ElementsOfPortfolioValue_futFxG)\)n1java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65
    RVPortfolioValueFut(phi,F,G,d2).x-(Omega-->myel).x >=0
      by XREAL_1:48,A1,a2,a10;
    (phi,F,d2.+(1)(mega->())x>0;
     x in dom(Omega-->myel);
     then x in dom ((-1)(#)(Omega-->myel)) by VALUED_1:defby d ;
    then RVPortfolioValueFut(phi,F,G,d2).x+ ((-1)(               by:ef java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
     by Q1,VALUED_1:def 5;
then (FG,)+-(--myel). >0
     by VALUED_1:1;
    then T1: (RVPortfolioValueFut(phi,F,G,d2) - (Omega-->myel)).x
     in [.0,+infty.[ by XXREAL_1:3,XXREAL_0:9;
java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 39
      Omega/\Omega by FUNCT_2:def 1;
   hencethesis byT1FUNCT_1def ;
  end;
   assume a1:           recon x as ofOmega  ;
   A1x   RVPortfolioValueFutphi,,,d2)
          (Omega-->(1+r)*BuyPortfolio(phi,jpi,d))) &
          (RVPortfolioValueFut,Gd2-
          (Omega-->(1+r)*BuyPortfolio(phi,jpi,d))).x in [.0,+infty.[
           by FUNCT_1by Vjava.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 34
   set my1= ((1+rproof
   set            (Omega-->1+)BuyPortfolio(myphijpid)x=
   reconsider x as Element of Omega by a1;
   set RVmyx=(             (1+r)*((myphi,pid)
            (Omega-->(1+r)*BuyPortfolio(phi,jpi,d))).x;
   RVmyx=RVPortfolioValueFut(phi,F,G,d2).x + ((-1)(#)
    (Omega-->(1+r)*BuyPortfolio(phi,jpi,d))).x by VALUED_1:1;
   then RVmyx=RVPortfolioValueFut(phi,F,G,d2).x + ((-1)*
    java.lang.StringIndexOutOfBoundsException: Range [12, 10) out of bounds for length 61
   then 0<=RVPortfolioValueFut(phi,F,G,d2).x -
           (Omega-->(1+r)*BuyPortfolio(phi,java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 72
=
   then 0+my1<=my2 by XREAL_1:19;
   then (( [Nat 
    by FINANCE3              java.lang.StringIndexOutOfBoundsException: Range [56, 55) out of bounds for length 74
  hence thesis by a10;
 java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5

end;

theorem JB3:
  for d,d2 being Nat
  for r being Real
  for G being sequence               Partial_Sums(ElementsOfPortfolioValue_futphi,x,)\)=
   (RVPortfolioValueFut(               (phi,,,G)(+)by: ;
    (Omega-->(1+r)*BuyPortfolio(phi,jpi,d)))"[.0,+infty.[ is Event of F
proof
 let d,d2 be Nat;
  bejava.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
 let G be sequence of set_of_random_variables_on (F,              Partial_Sums(ElementsOfPortfolioValue_futjava.lang.StringIndexOutOfBoundsException: Range [59, 55) out of bounds for length 73
etRV=,Gd2;
 reconsider RV as random_variable of F,Borel_Setsx^1.=
 set myr=(1+r)*BuyPortfolio(phi,ElementsOfPortfolioValu(myphi,G.01java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
 reconsider                FINANCE1def10java.lang.StringIndexOutOfBoundsException: Range [35, 36) out of bounds for length 35
 of F,
   by FINANCE3:10;
B5: [.0,+infty.[ is Element of Borel_Sets by FINANCE1:3;
 RV-constRV is (F,end;
 hence thesis by B5;
end;

theorem JC1:
  for d being Nat
  for r being Real
  for G being sequence of set_of_random_variables_onjava.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 26
  (d,phi,FG)  0}=
        RVPortfolioValueFutExt(phi,F,Gd"].0,infty.[
proof
 let d be Nat;
 let r be Real;
 let let (lementsOfPortfolioValue_futphi,,,)\
 { is of:
           PortfolioValueFutExt(d,phi,F,G,w) > 0};
,d)"].,infty[java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
 for proof
 proof
  let x be object;
  thus x in Set1 implies x in                  (ElementsOfPortfo(phi,,,).n1+java.lang.StringIndexOutOfBoundsException: Range [65, 66) out of bounds for length 65
  
   assume x in Set1;
  w beingElement ofOmega  
A1: w=x & PortfolioValueFutExt(d,phi,F,G,wbydef;
   reconsider x as Element of Omega by A1;
   0<RVPortfolioValueFutExt(phi,F,G,d).w &
      RVPortfolioValueFutExt(phi,F,G,d).w < +infty
        by A1,XXREAL_0:9,FINANCE3:def 1;
   then A2: RVPortfolioValueFutExt(phi,F,G,dhence d 3
   dom          ;
  hencehence:1R
  end;
   assume a1: x in Set2;
              n   holds J[n] from NAT_1: 2K1K2;
        RVPortfolioValueFutExt(phi,F,G,d).x in ].0,+infty.[ by FUNCT_1:def 7;
   reconsider x as Element of Omega by a1;
   0< RVPortfolioValueFutExt(phi,F,G,d).x &
      RVPortfolioValueFutExt(phi,F,G,d).x < +infty by A1,XXREAL_1:4;
   then 0<PortfolioValueFutExt(d,phi,F,G,x) by FINANCE3:def 1;
  hencejava.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
 end;
 TARSKI2java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
end;

theorem JC2:
  for d,d2 being Nat st d2=d-1 holds
  for r being Real
       hence   FUNCT_1: 7,;
  {w where w is Element of Omega: PortfolioValueFut(d,java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 12
                                 > (1+r)*BuyPortfolio(phi,jpi,d)} =
        (RVPortfolioValueFut(phi,F,G,d2)-
         (Omega-->(1+r)*BuyPortfolio(phi,java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 11
proof
 let d,d2 be Nat;
 assume a10: d2=d-1;
 let r be Real;
let  be  of set_of_random_variables_on (F,Borel_Sets);
 set Set1={w where w is Element of java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 12
                               > (1+r)*BuyPortfolio(phi,jpi,d)};
 set Set2=(RVPortfolioValueFut(phi,F,G,d2)-
          (Omega-->(1+r)*        (java.lang.StringIndexOutOfBoundsException: Range [37, 36) out of bounds for length 51
 x  objectholdsx  Set1 x in 
 proof
  let x be object;for being 
  thus x in Set1 implies x in          x  Set1".0,.java.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 58
  proof
  java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
   then consider          thus x in".,infty[implies inSet2".0,+nfty.[
A1: w=x & PortfolioValueFut(d,phi,F,G,w) > (1+r)*BuyPortfolio(phi,jpiassumess  in.,+.java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
x   Omega ;
   set myel=(1+r)*BuyPortfolio(phi,jpi,d);
a2:  PortfolioValueFut(d2+1,phi,F,G,w)=RVPortfolioValueFut(phi,F,G,d2).w
    by FINANCE3:def 3;
    (phi,,Gd2)x-(Omega->myel)x0
      by XREAL_1:50,A1,a2,a10;
            byFUNCT_1:def 7;
     x in dom(Omega-->myel);
     then x in dom ((-1)(#)(Omega-->myel)) by VALUED_1:def 5;
    then RVPortfolioValueFut(phi,F,G,d2).x+ ((-1)(#)(Omega-->(java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 32
     by Q1,VALUED_1:def 5;
    then 0<(RVPortfolioValueFut(phi,F,G,d2) - (Omega-->myel)).x &
      ((phiFG,d2)-(mega->myel). <+infty
       by XXREAL_0:9,VALUED_1:1;
thenT1:(VPortfolioValueFut(,,,2  (mega-->myel)java.lang.StringIndexOutOfBoundsException: Range [65, 66) out of bounds for length 65
     in ].,infty[by XXREAL_14java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
domRVPortfolioValueFut(,,,)+-(--myel))
      Omega/\Omega by FUNCT_2:def 1;
    hence thesis by T1,FUNCT_1:def 7;
  end;
   assume a1: x in Set2;iii:RVPortfolioValueFut(yphi,F,,2)x=
   then A1:x in dom (RVPortfolioValueFut(phi,FPortfolioValueFut(+m,FGx) :def 3java.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 67
          (Omega-->(1+r)*BuyPortfolio(phi,jpi,d))) &
          (RVPortfolioValueFut(phi,F,G,d2)-
          (Omega-->(1+r)*BuyPortfolio(phi,jpi,d))).x           proof
           by FUNCT_1:def 7;
   (1+)BuyPortfolio(phi,pi,);
   set my2=RVPortfolioValueFut(phi,F,G,d2).x;
   reconsider x as Element of Omega by a1;
   set RVmyx=(RVPortfolioValueFut(phi,F,G,d2)-
(Omega-(+*(phi,,d))xjava.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
   RVmyx=RVPortfolioValueFut(phi,F,G,d2).x + ((-1)(#)
    (Omega-->(1+r)*BuyPortfolio(phi,jpi,d))).x by VALUED_1E(Fx^1)0java.lang.StringIndexOutOfBoundsException: Index 75 out of bounds for length 75
   (phi,d2).  (1*
    (Omega-->(1+r)*BuyPortfolio(phi,jpi,d)).x) by VALUED_1:6;
   0RVPortfolioValueFutphi,,,.-
           (Omega-->               (FxG.0)byNAT_1def3
   then 0<my2-my1;
   then 0+my1<(my2-my1)+my1 by XREAL_1:6;
   then ((1+r)*BuyPortfolio(phi,jpi,d))<PortfolioValueFut(d2+1,phi,F,java.lang.StringIndexOutOfBoundsException: Range [0, 70) out of bounds for length 34
bydef
   thesisby a10java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
 end;
hence thesis by TARSKI:2;
end;

ZZ:
  [.0,+infty.[ \ {0} = ].0,+infty.[ by XXREAL_1:               (phiFx,G)(1

theorem JC3:
  for d,d2 being Nat
  for r being Real
  for G being sequence of set_of_random_variables_on (F,Borel_Sets) holds
    (,,d2java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
    (Omega-->(1+r)*BuyPortfolio(phi,jpi,d)))"].0,+infty.[ is Event of F
proof
 let d,d2 be Nat;
  r be ;
 let G be sequence of set_of_random_variables_on (F,Borel_Sets);
 {0} is Element of Borel_Sets &
     [.0,+infty.[ is Element of Borel_Sets by FINANCE1:3,FINANCE2:5; then
 B1: ].0,+infty.[ is Element of Borel_Sets by PROB_1:6,ZZ;
 set RV= RVPortfolioValueFut(phi,F,G,d2);
 reconsider RV as random_variable of F,Borel_Sets by FINANCE3:7;
 set myr=(1+r)*BuyPortfolio(phi,jpi,d);
 reconsider myr as Element of REAL by XREAL_0:def 1;
 set constRV=Omega-->myr;
 reconsider constRV as random_variable of F,Borel_Sets by FINANCE3:10;
 RV-constRV is (F,Borel_Sets)-random_variable-like by FINANCE2:24;
 hence thesis by B1;
end;

theorem
  for jpi being pricefunction
  for d,d2 being Nat st d>0 & d2=d-1 holds
  for Prob being Probability of F
  for r being Real st r>-1 holds
  for G being sequence of set_of_random_variables_on (F,Borel_Sets) st
   Element_Of(F,Borel_Sets,G,0) = Omega-->1+r holds
   (Arbitrage_Opportunity_exists_wrt Prob,G,jpi,d iff
   (ex myphi being Real_Sequence st
    (Prob.((RVPortfolioValueFut(myphi,F,G,d2)-
     (Omega-->(1+r)*BuyPortfolio(myphi,jpi,d)))"[.0,+infty.[)=1) &
     Prob.((RVPortfolioValueFut(myphi,F,G,d2)-
     (Omega-->(1+r)*BuyPortfolio(myphi,jpi,d)))"].0,+infty.[)>0))
proof
 let jpi be pricefunction;
 let d,d2 be Nat;
 assume A1: d>0 & d2=d-1;
 let Prob be Probability of F;
 let r be Real;
 assume             n2=+;
 let G be sequence of set_of_random_variables_on (F,             :Partial_Sums(ElementsOfPortfolioValue_fut(myphi,F,x,G)^\1).n1=
 assume A3: Element_Of(F,Borel_Sets,G,0) = Omega-->1+r;
 thus (Arbitrage_Opportunity_exists_wrt Prob,               artial_Sums(ElementsOfPortfolioValue_fut(phi,,x,G^\1).n +
  (ex myphi beingReal_Sequence st
   ((Prob.((RVPortfolioValueFut(myphi,F,G,d2)-
   (Omega->(1+r)BuyPortfolio(myphi,jpi,d)))[0+infty.[)=1) &
   Prob.((RVPortfolioValueFut(myphi,F,G,d2)-
   (Omega-->(1+r)*BuyPortfolio(myphi,jpi,d)))"].0,+infty.[)>0))
 proof
  assume Arbitrage_Opportunity_exists_wrt Prob,G,jpi,d;
  java.lang.StringIndexOutOfBoundsException: Range [39, 6) out of bounds for length 49
  C1:  BuyPortfolioExt(phi,jpi,d)<=0 &
,G,)1&
       Prob.ArbitrageElSigma2(phi,Omega,F,G,d                  NAT_1def 3java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
  ArbitrageElSigma1(phi,Omega,F,G,d) = {w where w is Element of Omega:
   PortfolioValueFutExt(d,phi,F,G,w) >= 0} by JB1;
  then ArbitrageElSigma1(phi,Omega,F,G,d) c=
   {w where w is Element of Omega: PortfolioValueFut(d,phi,F,G,w)
               >= (1+r)*BuyPortfolio(phi,jpi,d)} by C1,A1,A2,A3,FINANCE1:14;
  then C3: ArbitrageElSigma1(phi,Omega,F,G,d) c=
   (RVPortfolioValueFut(phi,F,G,d2)-
       (Omega-->1+r*BuyPortfolio(j,))".,infty. A1JB2
  set RVspec=(RVPortfolioValueFut(hi,x,.+)
       (Omega-->(1+r)*BuyPortfolio(phi,jpi,d)))"[.0,+infty.[;
  reconsider java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 36
  1<=Prob.RVspec & Prob.RVspec<=1 by PROB_1:35,C1,C3,PROB_1:34;
  then Fin1: 1=Probhence by :1,R;
gma2phi,,,Gd)={w wElement of :
   PortfolioValueFutExtfor    holds J[n] from NAT_1:sch 2(K1,K2);
  then ArbitrageElSigma2(phi,Omega,F,G,d) c=
   {wwhere is  of :dphi,FGw)
             ortfolioValueFut(21phi,FG)iii;
  then C3: ArbitrageElSigma2(phi,Omega,F,G,d) c=
   (RVPortfolioValueFut(phi,F,G,d2)-
       (Omega-->(1+r)*BuyPortfolio(phi,jpi,d)))"].0,+infty.[ by A1,JC2;
  set RVspec2=(RVPortfolioValueFut(phi,F,G,d2)-
       )*BuyPortfolio(,,))".0+infty.;
  reconsider RVspec2 as Event of F by JC3;
  Prob.ArbitrageElSigma2(phi,Omega,,d <= Prob.byC3,:34;
ence thesis by Fin1,java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
end;
 given myphi being Real_Sequence such that
 ASS0: (Prob.((RVPortfolioValueFut(myphi,F,G,d2)-
  (Omega-->(1+r)*BuyPortfolio(myphi,jpi,d)))"[.0,+infty.[)=1) &
  Prob.((RVPortfolioValueFut(myphi,F,G,d2)-
  (-(+)*BuyPortfolio(jpid))".,infty[>;
   deffunc U(Nat)=In(IFEQ(1,0,myphi,pid),.1,;
   consider phi being Real_Sequence such that
    AA1: for n                  VALUED_1def;
   AA10: for n              hence thesis
         (=0 implies phi.=BuyPortfolio(jpi,))&
         (n>0 implies phi.n=myphi.n)
   proof
    let n be Nat;
SS: n in NAT by ORDINAL1:def 12;
SU: myphi.n in REAL;
SW: IFEQ(n,0,-BuyPortfolio(myphi,jpi,d),myphi.n) in REAL
    then xdomSet2&Set2x  ]0+[by java.lang.StringIndexOutOfBoundsException: Range [71, 70) out of bounds for length 77
      per cases;
      suppose n = 0; then
        IFEQ(n,0,-BuyPortfolio(myphi,jpi,d),myphi.n) =
          -myphi,,)by :8
        hence thesis by XREAL_0:def 1;
      end;
      suppose n <> 0;
        hence thesis by FUNCOP_1:def 8,SU;
      
    end;
herebyassumeSQ:n  ; then
      phi.n = U(n) by AA1 .= IFEQ(n,0,-BuyPortfolio(java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 51
        bySUBSET_1:def 8,SW;
      hence phi.n=-BuyPortfolio(myphi,jpi,d) by FUNCOP_1:def 8,SQ;
    end;
    assumeSQ n > ;
    phi.n=In(IFEQ(n,0,-BuyPortfolio(myphi,jpi,d),myphi.n),REAL) by AA1,SSPortfolioValueFut(d2+1,myphi,F,G,x)
      .= IFEQ(n,0,-BuyPortfolio(myphi,jpi,d),myphi.n) by SUBSET_1:def 8,SW;
    hence thesis by FUNCOP_1:def 8,SQ;
   end;
       java.lang.StringIndexOutOfBoundsException: Range [33, 10) out of bounds for length 41
Z1:    BuyPortfolioExt(phi,jpi,d)=0
       proof
        BuyPortfolioExt(phi,jpi,d)=B0+BuyPortfolio(myphi,jpi,d)
        proof
zw:     BuyPortfolioExt(,jpi, =phi. +BuyPortfoliophi,djava.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69
          by A1,FINANCE1:11;
         -uyPortfoliophi,d)+(myphi,pi,=0
         proof
          Partial_Sums(ElementsOfBuyPortfolio(phi,jpi)^\1).(d-1) =
           Partial_Sums(ElementsOfBuyPortfolio(myphi,jpi)^\1).(d-1)
          proof
           set P1=Partial_Sums(ElementsOfBuyPortfolio(phi,jpi)^\1);
           set P2=Partial_Sums(ElementsOfBuyPortfolio(myphi,jpi)^\1);
           defpred Pr[Nat] means P1.$1=P2.$1;
            []
           proof
then (ElementsOfPortfolioValue_fut(,,xG)^1.=
            then P1.0=ElementsOfBuyPortfolio(phi,jpi).(0+1) by NAT_1:def 3;
            then Erg1: P1.0=phi.1*jpi.1 by VALUED_1:5;
            P2.0= (ElementsOfBuyPortfolio(myphi,jpi)^\1).0 by SERIES_1:def 1;
            then P2.0=ElementsOfBuyPortfolio(myphi,jpi).(0+1) by NAT_1:def 3;
            then P2.0=myphi.1*jpi.1 by VALUED_1:5;
           hence thesis by Erg1,             proof
           end;
           J1: for n being Nat st Pr[n] holds Pr[n+1]
           proof
            let n be Nat;
            java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 29
            P1.(n+1)=P1.n+(ElementsOfBuyPortfolio(phi,jpi)^\1).(n+1)
             by SERIES_1:def 1;
            then P1.(n+1)=P1.n+ElementsOfBuyPortfolio(phi,jpi).((n+1)+1)
             by NAT_1:def 3;
            then Erg1: P1.(n+1)=P1.(java.lang.StringIndexOutOfBoundsException: Range [49, 43) out of bounds for length 78
            setn2n2;
            P2.(n+1)=P2.n+(ElementsOfBuyPortfolio(myphi,jpi)^\1).(n+1)
             (phiFx).n11
            then P2.(n+1)=P2.n+ElementsOfBuyPortfolio(myphi,jpi).((n+1                  by NAT_1:def 3;
             by NAT_1:def 3;
then .(+1=P2.n+myphi.(*(2 :5
           hence thesis by Erg1,                  def10
           =myphin2 byAA10
           for n being Nat               then(ElementsOfPortfolioValue_futF,,)\).java.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 68
          hence thesis by A1;
          end;
         hence thesis;
         end;               hence byNAT_1:def 3;
        hence  byzw;
        end;
       hence thesis;
       end;
      Z2: Prob.ArbitrageElSigma1(phi,Omega,F,G,d)=1
      proof
       set Set1=RVPortfolioValueFutExt(phi,F,G,d);
       set Set2=(RVPortfolioValueFut(myphi,F,G,d2)-
                (Omega-->(1+r)*BuyPortfolio(myphi,jpi,d)));
       Set1"[.0,+java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 25
       proof
        for x being object holds
         x in Set1"[.0,+infty.[ iff x in Set2"[.0,+infty.[
        proof           then PortfolioValueFutExt(d2+1,phi,F,G,x) in ].0,+infty.[
         let x be object;
         thusejava.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
         proof
          assume sc: x in Set1 hence thesis FUNCT_1:def 7,;
          then reconsider x as Element of Omega;
           Set1.x in [.0,+infty.[ by sc,FUNCT_1:def 7;
           then PortfolioValueFutExt(d,phi       thesis ASS0;
            by FINANCE3:def 1;
           then e: (1+java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
            in [.0,+infty.[ by A1,A3,FINANCE1:12;
          x in dom Set2 & Set2.x in definition
          proof
            -(Omega-->(1+r)*BuyPortfolio(myphi,jpi,d)).x =
             (+r)*(BuyPortfolio(myphi,jpi,d)); then
uuu0:      (1+r) * phi.0=-(Omega-->(1+r)*BuyPortfolio(myphi,jpi,d)).x by AA10;
         RVPortfolioValueFut(myphi,F,G,d2).x=RVPortfolioValueFut(phi,F,G,d2).x
          proof
iii:        RVPortfolioValueFut(myphi,F,G,d2).x=
             PortfolioValueFut(d2+1,myphi  correctness
         defpred J[Nat] means
          Partial_Sums(ElementsOfPortfolioValue_fut(myphi,F,x,G)^\1).$1 =
           Partial_Sums(ElementsOfPortfolioValue_fut(phi, thesis;
            K1: J[0]
            proof
             Partial_Sums(ElementsOfPortfolioValue_fut(myphi,F,x,G)^\1).0 =
           (ElementsOfPortfolioValue_fut(myphi,F,x,G)^\1).0 by SERIES_1:def 1;
             then Partial_Sums(ElementsOfPortfolioValue_fut(myphi,F,x,G)^\1).0
              = ElementsOfPortfolioValue_fut(myphi,F,x,G).(0+1) by NAT_1:def 3;
             then Partial_Sums  let  be sequence of (Borel_Sets;
              = ElementsOfPortfolioValueProb_fut(F,G.1).x * myphi.1
               by FINANCE1:def  let  be Real;
                java.lang.StringIndexOutOfBoundsException: Range [39, 38) out of bounds for length 52
                  fordbeing hjava.lang.StringIndexOutOfBoundsException: Range [25, 26) out of bounds for length 25
lue_fut(,,,G^\1.java.lang.StringIndexOutOfBoundsException: Index 78 out of bounds for length 78
              = ElementsOfPortfolioValue_fut(phi,nd;
              by FINANCE1:def 10;
             then java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 0
              = (ElementsOfPortfolioValue_fut(phi,F,x,G)^\1).0
               by NAT_1:def 3;
            hencethesis : ;
            end;
            K2: for n being Nat st J[n] holds J[n+1]
            proof
             letn  NatNat;
             assume AK2: J[n];
             set n1=n+1;
             set n2=n1+1;
             R:Partial_Sums(java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
               Partial_Sums(ElementsOfPortfolioValue_fut(phi,F,x,G)^\1).n +
                (ElementsOfPortfolioValue_fut(myphi,F,x,G)^\1).(n+1)
                  by AK2,SERIES_1:deflet 
             myphiFx)\)(+=
                ElementsOfPortfolioValue_fut(myphi,F,x,G).((n+1)+1)
                 by NAT_1:  be
          R1 deffunc (Element of Omega2)In(jpi.*1r),)java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
                ElementsOfPortfolioValueProb_fut(F,G. A1:for dbeing Element of Omega2  f.=( FUNCT_2: java.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 70
                 by FINANCE1:defb1:dom=&dom g=mega2by FUNCT_2:def ;
              (ElementsOfPortfolioValue_fut(myphi,F,x,G)^\1).(n+1AA:java.lang.StringIndexOutOfBoundsException: Range [6, 4) out of bounds for length 32
               (ElementsOfPortfolioValue_fut(phi,F,x,G)^\1).(n+1)
   proof
               (    let x be object x   inf java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
                 ElementsOfPortfolioValueProb_fut(F,G.n2).x * phi.n2
                  by R1,AA10;
               then (ElementsOfPortfolioValue_fut(myphi,F,x,G)^\1).n1=
      phi,,xG)(1+1
                 by FINANCE1:def 10;
              hence thesis by NAT_1:def 3;
              end;
             hence thesis by SERIES_1:def 1,R;
            end;
                       for n being Nat holds J[n] from NAT_1:sch 2(K1,K2);
            ffFUNCOP_17 then
PortfolioValueFut(21phi,,,x byiii;
hence byFINANCE3def3
       ffFINANCE310java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
           then UUU: RVPortfolioValueFut(myphi,F,G,d2).x -
            (Omega-->(1   ={234 asof by:;
             by uuu0,e,FINANCE3Q1:FOmega  dom  bydef ;
            x in dom (RVPortfolioValueFut(myphi,F,G,d2) + -
                (Omega-->(1+r)  R_EALfis_integrable_on P2M(Prob)
            proof
             dom (RVPortfolioValueFut(myphi,java.lang.StringIndexOutOfBoundsException: Range [0, 45) out of bounds for length 33
              dom (- (Omega-->(1+r)*BuyPortfolio(myphi,jpi,d)))= Omega
               by FUNCT_2:def 1;
              dom(VPortfolioValueFutmyphi,,d) \
              dom (- (Omega-->(1+r)*BuyPortfolio(myphi,jpi,d)))= Omega;
             then dom (RVPortfolioValueFut(myphi,F,G,d2) + (-
                (Omega-->(1+r)*BuyPortfolio(myphi,jpi,d)))) = Omega
                 by VALUED_1:def 1;
hence ;
            end;
          hence thesis by UUU,VALUED_1:13;
          end;
         hence thesis FUNCT_1: 7
         end;
          assume ab: x in Set2"[.0,+infty.[;
          then ABC1: x in dom Set2 & Set2.x in [.0,+infty.[ by FUNCT_1:def 7;
          reconsider x as Element of Omega by ab;
           ABC3: RVPortfolioValueFut(myphi,F,G,d2).x -
             (Omega-->(1+r)*BuyPortfolio(myphi,jpi,d)).x in         proof
              by ABC1,VALUED_1:13;
           -(Omega-           x  / ((fREALr)java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
           proof
            -(Omega-->then  inFOmega&   fREALr) by MESFUNC1:ef 11java.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 72
             (1+r)*(-BuyPortfolio(myphi,jpi,d));
            hence thesis by AA10;
           end;
           then ABC4: PortfolioValueFut(d2+1,      end;
            in [.0,+infty.[ by FINANCE3:def 3,ABC3;
          ABC2: Set1.x in [.0,+infty.[
          proof
           PortfolioValueFut(d2+1,phi,F,G,x)=
            PortfolioValueFut(d2+1,myphi,F,G,x)
           proof
            Partial_Sums(ElementsOfPortfolioValue_fut(phi,F,x,G)^\1).d2=
             Partial_Sums(ElementsOfPortfolioValue_fut(myphi,F,x,G)^\1).d2
            proof
             defpred J[Nat] means
              Partial_Sums(proof
               Partial_Sums(    x   x  WX  x  ".-r.
             K1: J[0]
             proof
              Partial_Sums(ElementsOfPortfolioValue_fut(phi,F,x,G)^\1).0=
               (ElementsOfPortfolioValue_fut(phi,F,x,G)^\1).0
                by SERIES_1:def 1;
              then Partial_Sums(ElementsOfPortfolioValue_fut(phi,F,x,G)^\1).0=
               ElementsOfPortfolioValue_fut(phi,F
          Element such that
               ElementsOfPortfolioValueProb_fut(F,G.1).x * phi.1
                by FINANCE1:def 10;
              Partial_Sums(ElementsOfPortfolioValue_fut(phi,F,x,G)^\1).0=
               ElementsOfPortfolioValueProb_fut(F,G.1).x * myphi.1 by R,AA10;
              then Partial_Sums(ElementsOfPortfolioValue_fut(phi,F,x,G)^\1).0=
                ElementsOfPortfolioValue_fut(myphi,F,x,G).(0+1)
                by FINANCE1:ef 10;
              then Partial_Sums(ElementsOfPortfolioValue_fut         then .x in .infty,.   g=by :def ,4
              ElementsOfPortfolioValue_futmFx,)\)0 NAT_1d java.lang.StringIndexOutOfBoundsException: Index 78 out of bounds for length 78
             hence thesis by SERIES_1:def 1;
             end
             K2: for n being Nat st J[n] holds J[n+1]
             proof
              let n be Nat;
              set n1=n+1;
              set n2=n1+1;
              assume J[n];
            then R:Partial_Sums(ElementsOfPortfolioValue_fut(phi,F,x,G)^\1).n1
=Partial_Sums(lementsOfPortfolioValue_fut(,F,,)\)n 
                 (ElementsOfPortfolioValue_fut(phi,F,x,G)^\1).(n+1)
                   by SERIES_1:def 1;
              E(phi,,xG^1)n1=
                (ElementsOfPortfolioValue_fut(myphi,F,x,G)^\1).n1
               
                (ElementsOfPortfolioValue_fut(phi,F,x,G)^\1).n1=
                 (        g is (F2,Borel_Sets)-random_variable-like;
                  by NAT_1:def 3;
                then QA: (java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 38
                 ElementsOfPortfolioValueProb_fut(F,G.n2).x * phi.n2
                  by FINANCE1:def 10;
                phi.n2=myphi.n2 by AA10;
               hen(ElementsOfPortfolioValue_fut(phi,F,,G)^\n1=
                 (ElementsOfPortfolioValue_fut(myphi,F,x,G)).n2
                  by FINANCE1:def 10,QA;
               hence thesis by NAT_1:def 3;
               end;
              hence thesis by SERIES_1:def 1,R;
             ;
             for n being Nat holds J[n] from NAT_1:sch 2(K1,K2);
            hence thesis;
            end;
           hence thesis;
           end;
 then (d2+,FG,)in [.+[
            by A3,FINANCE1:12,ABC4;
          hence thesis by A1,FINANCE3:def 1;
          end;
          dom Set1=java.lang.StringIndexOutOfBoundsException: Range [40, 30) out of bounds for length 40
         hence thesis by FUNCT_1:def 7,ABC2;
        end;
       hence thesis by TARSKI:2;
       end;
      hence thesis    integral+(2(Prob,max+(R_EALf))<infty &
      end;
      Prob.ArbitrageElSigma2(phi,Omega,F,G,d)>0
      proof
       (phi,Gd".0,infty[=
        (RVPortfolioValueFut(myphi,F,G,d2)-
         (Omega-->(1+r)*BuyPortfolio(myphi,jpi,d)))"].0 maxfREALF2
       proof
       set Set1=RVPortfolioValueFutExt(phi,F,G,d);
       set Set2=(RVPortfolioValueFut(myphi,F,G,d2)-
                (Omega-->(1+r)*BuyPortfolio(myphi,jpi,d)));
        for x being object holds
x  Set1".,+. iffxin"].0+infty[
        proof
         let x be object;
         thus x in Set1"].0,+infty.[ implies x in Set2"].0,+infty.[
         proof
          ss:x inSet1]0+infty.[java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
          then s:x in domRVPortfolioValueFutExtphiFG,)&
               RVPortfolioValueFutExt(phi,F,G,d).x in ].0,+infty.[
                by FUNCT_1:def 7;
          reconsider x as Element of Omega by ss;supposeS1:0fREALxjava.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
           PortfolioValueFutExt(d,phi,F,G,x) in ].0,+infty.[
            byFINANCE3 1,;
           then e: (1+r) * phi.0 + PortfolioValueFut(d2+1,phi,F,G,x)
            in ].0,+infty.[ by A1,A3,FINANCE1:12;
            -(Omega-->(1+r)*BuyPortfolio(myphi,jpi,d)).x =
             (1+r)*(-BuyPortfolio(myphi,jpi,d)); then
uuu0:      (1+r) * phi.0=-(Omega-->(1+r)*BuyPortfolio(myphi,jpi,d)).x
             bythenSchritt1:integral+ (P2M(Prob),(max+ (fREAL)))=
java.lang.StringIndexOutOfBoundsException: Range [5, 2) out of bounds for length 63
             :def 3
          x in dom Set2 & Set2.x in ].0,+infty.[
          proof
         (myphi,G,d2).RVPortfolioValueFut(,FGd2)x
           proof
         defpred J[Nat] means
          Partial_Sums(lementsOfPortfolioValue_futmyphi,,,)^\.$ 
           Partial_Sums(ElementsOfPortfolioValue_fut        hence thesis  A1y2;
            K1: J[0]
            proof
             Partial_Sums(java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 9
           (ElementsOfPortfolioValue_fut(myphi,F,x,G)^\1).0 by java.lang.StringIndexOutOfBoundsException: Range [0, 71) out of bounds for length 9
             then Partial_Sums(ElementsOfPortfolioValue_fut(myphi,F,x,G)^\1).0
              = ElementsOfPortfolioValue_fut(myphi,F,x,G).(0+1) by NAT_1:def 3;
             then Partial_Sums(ElementsOfPortfolioValue_fut(myphi,F,x,G)^\1).0
              = ElementsOfPortfolioValueProb_fut(F,G.1).x * myphi.1
               by FINANCE1:def 10;
             then Partial_Sums(ElementsOfPortfolioValue_fut(myphi,F,x,G)^\1).0
              = ElementsOfPortfolioValueProb_fut(F,G.1).x * phi.1 by AA10;
             then Partial_Sums(ElementsOfPortfolioValue_fut(myphi,F,x,G)^\1).0
              = ElementsOfPortfolioValue_fut(phi,F,x,G).(0+1)
              by FINANCE1:def 10;
             then Partial_Sums(ElementsOfPortfolioValue_fut(myphi,F,x,G)^\1JFin1: is 
              = (ElementsOfPortfolioValue_fut(phi,F,x,G)^\1).0
               by NAT_1:def 3;
            hence thesis by SERIES_1:def 1;
            end;
            K2: for n being Nat st J[n] holds J[n+1]
win  maxmfREAL&maxmfREALw= by FUNCT_1:ef3java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
             let n be Nat;
             assume AK2: J[n];
             set n1=n+1;
              n1+;
             R:Partial_Sums(ElementsOfPortfolioValue_fut(myphi,F,x,G)^\1)      ;
               Partial_Sums(ElementsOfPortfolioValue_fut(phi,F,x,G)^\1).n +
                (ElementsOfPortfolioValue_fut(myphi,F,x,G)^\1).(n+1)
                   AK2SERIES_1d 1
              (ElementsOfPortfolioValue_fut(myphi,F,x,G)^\1).(n+1) =
               (ElementsOfPortfolioValue_fut(phi,F,x,G)^\1).(n+1)
              proof
               (ElementsOfPortfolioValue_fut(myphi,F,x,G)^\1).(n+1) =
                ElementsOfPortfolioValue_fut(myphi,     et xbe ;
                 by NAT_1:def 3;
               then R1: (ElementsOfPortfolioValue_fut(myphi,F,x,G)^\1).(n+1) =
                ElementsOfPortfolioValueProb_fut(F,G.n2).x * myphi.n2
                 by FINANCE1:def 10;
               ortfolioValue_fut(,F,x,G)^\1)n1java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65
                 ElementsOfPortfolioValueProb_fut(F,G.n2).x * phi.n2
                  by R1,AA10;
               then (ElementsOfPortfolioValue_fut(myphi,F,x,G)^\1).n1=
ortfolioValue_fut(FxG)(n11
                 by FINANCE1:def 10;
              hence thesis by NAT_1:def 3;
              end;
            hence thesis by SERIES_1:def 1,R;
            end;
            for n being Nat holds J[n] from NAT_1:sch 2(K1,K2);
            then RVPortfolioValueFut(myphi,F,G,d2).x =
             PortfolioValueFutd2+,hi,,,) iii;
           hence thesis by FINANCE3:def 3;
           end;
           then UUU: aq2: dom maxmfREAL = domfREAL &fREALOmega2
            (       by MESFUNC2 ,UNCT_2def ;
             by uuu0,     java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 40
            x in dom (RVPortfolioValueFut(myphi,F,G,d2) + -
                (->+)BuyPortfolio(myphi,jpid)java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
            proof
             dom (RVPortfolioValueFut(myphi,F,G,d2))=Omega &
              dom (- (Omega-->(1+r)*BuyPortfolio(myphi,jpi,d)))= Omega
               by FUNCT_2:def 1;
             then dom (RVPortfolioValueFut(myphi,F,G,d2)) /\
              dom (- (Omega-->(1+r)*BuyPortfolio(myphi,jpi,d)))= Omega;
             then dom (RVPortfolioValueFut(myphi,F,G,d2) + (-
                (Omega-->(1+r)*BuyPortfolio(myphi,jpi,d)))) = Omega
                 by VALUED_1:def 1;
             hence thesis;
            end;
         hence thesis by ,ALUED_1:
          end;
         hence thesis by FUNCT_1:def 7;
         end;
          assume ab: x in Set2"].0,+infty.[;
          then ABC1: x in dom Set2 & Set2.x in ].0,+infty.[ by FUNCT_1:def 7;
          reconsider x as Element of Omega by ab;
           ABC3: RVPortfolioValueFut(myphi,F,G,d2).x -
             (Omega-->(1+r)*BuyPortfolio(myphi,jpi,d)).x in ].0,+infty.[
              by ABC1,VALUED_1:13;
            -(Omega-->(1+r)*BuyPortfolio(myphi,jpi,d)).x =
             (1+r)*(-BuyPortfolio(myphi,jpi,d)); then
             for  being 
           then   orr being Real st r>0 holds
            in ].0,+infty.[ by FINANCE3:def 3,ABC3;
          ABC2  for beingNat
          proof
           PortfolioValueFut(2,phi,F,,=
            PortfolioValueFut(d2+1,myphi,F,G,x)
           proof
            Partial_Sums(ElementsOfPortfolioValue_fut(phi,F,x,G)^\1).d2=
             Partial_Sums(ElementsOfPortfolioValue_fut(myphi,F,x,G)^\1).d2
            
             defpred J[Nat] means
              Partial_Sums(ElementsOfPortfolioValue_fut(phi,F,x,G)^\1).$1=
               Partial_Sums(ElementsOfPortfolioValue_fut(myphi,F,x,G)^\1).$1;
              Partial_Sums(ElementsOfPortfolioValue_fut(phi,F,x,G)^\1).0=
              (ElementsOfPortfolioValue_fut(phi,F,x,G)^\1).0
                bySERIES_1:def 1;
              then Partial_Sums(ElementsOfPortfolioValue_fut(phi,F,x,G)^\1).0=
               ElementsOfPortfolioValue_fut(phi,F,x,G).(0+1) by NAT_1:def 3;
             then R:Partial_Sums(ElementsOfPortfolioValue_fut(phi,F,x,G)^\B:expectRV,rob)Integral P2M(rob),
              ElementsOfPortfolioValueProb_fut(,.1)x*phi
                by FINANCE1                a = as of PROB_1:;
             K1: J[ :FOmegad  by FUNCT_2:ef 1;
             
 
               for x being ExtReal holds  RVimplies0 =x
              then Partial_Sums(ElementsOfPortfolioValue_fut(phi,F,x,G)^\1).0=
                ElementsOfPortfolioValue_fut(myphi,F,x,G).(0+1)
                by FINANCE1:def 10;
              then Partial_Sums(ElementsOfPortfolioValue_fut(    x  ExtReal;
              (ElementsOfPortfolioValue_fut(myphi,F,x,G)^\1).0 by NAT_1:def 3;
             hence thesis by SERIES_1:def 1;
             end;
             K2   being Nat st J[] holds J[n+1java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
             proof
              java.lang.StringIndexOutOfBoundsException: Range [0, 17) out of bounds for length 10
              set n1=n+1;
              set n2=n1+1;
              assume J[n]; then
              R:Partial_Sums(ElementsOfPortfolioValue_fut(phi,F,x,G)^\1).n1
              Partial_Sums(ElementsOfPortfolioValue_fut(myphi,F,x,G)^\1).n +
                 (ElementsOfPortfolioValue_fut(phi,F,x,G)^\1).(n+1)
                   by SERIES_1:def 1;
               (ElementsOfPortfolioValue_fut(hiF,G)^\1.n1
                (ElementsOfPortfolioValue_fut(myphi,F,x,G)^\1).n1
               proof
                (ElementsOfPortfolioValue_fut(phi,F,x,G)^\1).n1=
                 (ElementsOfPortfolioValue_fut(phi,F,x,G)).(n1+1)
                  by NAT_1:def 3;
                then QA: (java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 25
                 ElementsOfPortfolioValueProb_fut(F,G.n2).x * phi. MESFUNC577MESFUNC6:,SS;
                  by FINANCE1:def 10;
                phi.n2=myphi.n2 by AA10;
               then (ElementsOfPortfolioValue_fut(phi,F,x,G)^\1).n1=
                 (ElementsOfPortfolioValue_fut(myphi,F,x,G)).(n1+1)
                 by FINANCE1:def 10,QA;
               hence thesis by NAT_1:def 3;
               end;
              java.lang.StringIndexOutOfBoundsException: Range [38, 19) out of bounds for length 47
             end;
            for n being holdsJn  NAT_1: K)java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
            hence thesis;
            endjava.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
           hence thesis;
           end;
           then (d2+1,phiFGx in ].0+infty.[
            by A3,FINANCE1:12,ABC4;
          hence thesis by A1,FINANCE3:def 1;
          end;
         dom Set1=Omega by FUNCT_2: 1;
         hence thesis by FUNCT_1:def 7,ABC2;
        end;
         thesis by TARSKI:;
       end;
           java.lang.StringIndexOutOfBoundsException: Range [40, 39) out of bounds for length 68
  d ;
  hence thesis by Z1,Z2;


begin :: Risk-neutral Probability measure

definition
  let Omega, F;
  let RV be Real-Valued-     is_simple_func_inSpecial_SigmaField2 A1,java.lang.StringIndexOutOfBoundsException: Range [62, 61) out of bounds for length 62
  end
  func Real_RV(r,java.lang.StringIndexOutOfBoundsException: Range [0, 19) out of bounds for length 0
      rRealstr 
  correctness
  proof
    (1/(1+r))(#)RV is random_variable java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 25
    thesis;
  end;
end;

definition
  let Omega, F;
  let jpi be pricefunction;
  let G be sequence of set_of_random_variables_on(F,Borel_Sets);
  let r be Real;
  pred Risk_neutral_measure_exists_wrt,rmeans
  exjava.lang.StringIndexOutOfBoundsException: Range [36, 34) out of bounds for length 44
 Nat
      jpi.d=expect(Real_RV(r,Change_Element_to_Func(G,d)),Prob);
end assume A0: r>;

 reserve Prob for Probability of Special_SigmaField2;

theorem ThArbPrel:
  for r  Real  r0 holds
   assumeA01:for  being Nat 
  for d being Nat holds
    ex f being Real-Valued-Random-Variable of Special_SigmaField2 st
    f = {1,2,3,4} --> (jpi.d*(1+r)) &
fis_integrable_onP2M(Prob&
    f is_simple_func_in Special_SigmaField2
proof
 set F2=Special_SigmaField2;
 set Omega2={1,2,3,4};
 let r be Real;
 assumeASSJ: >;
 let jpi be pricefunction;
 let d be Nat;
 deffunc U(Element of Omega2)=In((jpi.d*(1+r)),REAL);
 consider f being Function of Omega2,REAL such that
  A1: for d being Element of Omega2 holds f.d=U(d) from FUNCT_2:sch 4;
 set g=(Omega2-->In  RV is_simple_func_in Special_SigmaField2 by A01
b1: dom f=Omega2 & dom g=Omega2 by FUNCT_2:def 1;
AA: d in NAT by ORDINAL1:def 12;
   for x being object st x in dom f holds f.x=g.x
   proof
    let x be object; assume x in dom f; then
    reconsider x as Element of Omega2;
    f.x=In(jpi.d*(1+r),REAL) by A1;
    hence thesis;
   end; then
ff: f=g by b1; then
 reconsider f as Real-Valued-Random-Variable of F2 by FINANCE3:10,RANDOM_3:7;
zz:Omega2 in F2 & dom R_EAL f =Omega2 by PROB_1:5,FUNCT_2:def 1;
   for x be object st x in dom f holds (R_EAL f).x = In((jpi.d*(1+r)),REAL)
     by ff,FUNCOP_1:7; then
 Fin3: f is_simple_func_in F2 by MESFUNC6:2,zz,MESFUNC6:49;
    reconsider g = f as random_variable of F2,Borel_Sets
      by ff,FINANCE3:10;
    reconsider fREAL = R_EAL f as random_variable of F2,Borel_Sets
      by ff,FINANCE3:10;
   reconsider FOmega = {1,2,3,4} as Element of F2 by PROB_1:5;
Q1: FOmega = dom R_EAL f by FUNCT_2:def 1;
 f is_integrable_on P2M(Prob)
 proof
  R_EAL f is_integrable_on P2M(Prob)
  proof
   R_EAL f is FOmega-measurable &
   integral+ (P2M(Prob),(max+ (R_EAL f))) < +infty &
   integral+ (P2M(Prob),(max- (R_EAL f))) < +infty
   proof
    Q2: (R_EAL f) is FOmega-measurable
    proof
     for r being Real holds FOmega /\ (less_dom ((R_EAL f),r)) in F2
     proof
      let r be Real;
      set WX = {w where w is Element of Omega2: fREAL.w <r};
      W1: FOmega /\ (less_dom (fREAL,r)) = WX
      proof
        for x being object holds x in FOmega /\ (less_dom (fREAL,r)) iff
         x in WX
        proof
         let x be object;
         thus x in FOmega /\ (less_dom (fREAL,r)) implies x in WX
         proof
          assume x in FOmega /\ (less_dom (fREAL,r));
          then x in FOmega & x in less_dom(fREAL,r) by XBOOLE_0:def 4;
          then x in FOmega & (x in dom fREAL & fREAL.x < r) by MESFUNC1:def 11;
         hence thesis;
         end;
          assume x in WX;
          then x in less_dom(fREAL,r) by FINANCE1:9;
          then x in dom fREAL & fREAL.x<r by MESFUNC1:def 11;
          then x in FOmega & x in less_dom (fREAL,r) by MESFUNC1:def 11;
         hence thesis by XBOOLE_0:def 4;
        end;
       hence thesis by TARSKI:2;
      end;
      WX = g"].-infty,r.[ in F2
      proof
qq1:   for x being object holds x in WX iff x in g"].-infty,r.[
       proof
        let x be object;
        thus x in WX implies x in g"].-infty,r.[
        proof
         assume x in WX;
         then consider w being Element of Omega2 such that
          YA1: w=x & fREAL.w<r;
         reconsider x as Element of Omega2 by YA1;
         -infty<fREAL.x & fREAL.x<r by XXREAL_0:12,YA1;
         then g.x in ].-infty,r.[ & dom g=Omega2 by FUNCT_2:def 1,XXREAL_1:4;
        hence thesis by FUNCT_1:def 7;
        end;
         assume c0: x in g"].-infty,r.[;
         then C0: x in dom g & g.x in ].-infty,r.[ by FUNCT_1:def 7;
         reconsider x as Element of Omega2 by c0;
         -infty<g.x & g.x<r & g.x=fREAL.x by C0,XXREAL_1:4;
        hence thesis;
       end;
ZZ:    ].-infty,r.[ is Element of Borel_Sets &
        g is random_variable of F2,Borel_Sets by FINANCE1:3;
        g is (F2,Borel_Sets)-random_variable-like;
      hence thesis by qq1,TARSKI:2,ZZ;
      end;
     hence thesis by W1;
     end;
    hence thesis by MESFUNC1:def 16;
    end;
     set fREAL=R_EAL f;
     set maxfREAL=max+ fREAL;
U0:   dom maxfREAL = dom fREAL & dom fREAL=Omega2
       by MESFUNC2:def 2,FUNCT_2:def 1;
Fin30: maxfREAL is nonnegative
     proof
      for x being ExtReal holds x in rng maxfREAL implies 0. <= x
      proof
       let x be ExtReal;
       assume CASS0: x in rng maxfREAL;
       consider w being object such that
   W1: w in dom maxfREAL & maxfREAL.w=x by CASS0,FUNCT_1:def 3;
       thus thesis by W1,MESFUNC2:12;
       end;
      hence thesis by SUPINF_2:def 12,SUPINF_2:def 9;
     end;
    integral+ (P2M(Prob),(max+ (R_EAL f))) < +infty &
     integral+ (P2M(Prob),(max- (R_EAL f))) < +infty
    proof
    maxfREAL is_simple_func_in F2
    proof
      for x be object st x in dom maxfREAL holds
        maxfREAL.x = In((jpi.d*(1+r)),REAL)
      proof
       let x be object;
       assume x in dom maxfREAL;
       then reconsider x as Element of Omega2;
       per cases;
       suppose 0<=fREAL.x;
        then S2: max(fREAL.x,0)=fREAL.x by XXREAL_0:def 10;
        fREAL.x=In((jpi.d*(1+r)),REAL) by ff;
        hence thesis by U0,MESFUNC2:def 2,S2;
       end;
       suppose S1: 0>fREAL.x;
        0<1+r & 0<=jpi.d by AA,FINANCE1:def 2,ASSJ;
        hence thesis by S1,ff;
       end;
     end;
    hence thesis by MESFUNC6:2,U0;
    end;
    then Schritt1: integral+ (P2M(Prob),(max+ (fREAL)))=
     integral' (P2M(Prob),(max+ (fREAL))) by MESFUNC5:77,Fin30;
    reconsider myr = jpi.d*(1+r) as Element of REAL by XREAL_0:def 1;
     dom(max+ fREAL)=dom fREAL by MESFUNC2:def 2;
     then y1: dom(max+ fREAL)=[#]Special_SigmaField2 by FUNCT_2:def 1;
y2:  0<1+r & 0<=jpi.d by AA,FINANCE1:def 2,ASSJ;
zz1: for x be object st x in dom (max+ fREAL) holds (max+ fREAL).x = myr
     proof
      let x be object;
      assume S: x in dom(max+ fREAL);
      then reconsider x as Element of Omega2;
 YY1: (max+ fREAL).x= max(fREAL.x,0) by MESFUNC2:def 2,S;
      per cases;
      suppose fREAL.x>=0;
        then (max+ fREAL).x=fREAL.x by YY1,XXREAL_0:def 10;
        hence thesis by A1;
      end;
      suppose fREAL.x<0;
        hence thesis by A1,y2;
      end;
     end;
    (P2M(Prob)).(dom max+ fREAL)=1
    proof
     dom (max+ fREAL)= dom fREAL by MESFUNC2:def 2;
     then dom(max+ fREAL)=([#]Special_SigmaField2) by FUNCT_2:def 1;
     hence thesis by PROB_1:30;
    end; then
fin1: integral+ (P2M(Prob),(max+ fREAL))= myr*1
      by zz1,Schritt1,MESFUNC5:104,y2,y1;
     set maxmfREAL=max- fREAL;
YY:  dom maxmfREAL = dom fREAL & dom fREAL=Omega2
       by MESFUNC2:def 3,FUNCT_2:def 1;
JFin1: maxmfREAL is nonnegative
      proof
       for x being ExtReal holds x in rng maxmfREAL implies 0. <= x
       proof
         let x be ExtReal;
         assume x in rng maxmfREAL; then
         ex w being object st
          w in dom maxmfREAL & maxmfREAL.w=x by FUNCT_1:def 3;
         hence thesis by MESFUNC2:13;
         end;
        hence thesis by SUPINF_2:def 12,SUPINF_2:def 9;
      end;
U1:  dom maxmfREAL in F2 by YY;
    integral+ (P2M(Prob),(max- fREAL)) < +infty
    proof
FFF: for x be object st x in dom maxmfREAL holds maxmfREAL.x = 0
     proof
     let x be object;
     assume x in dom maxmfREAL;
     then reconsider x as Element of Omega2;
QQQ1: -fREAL.x=-jpi.d*(1+r) by A1;
     set mfREAL = -fREAL.x;
     0<(1+r) & 0<=jpi.d by AA,FINANCE1:def 2,ASSJ; then
QQQ3: max(-(fREAL.x),0)=0 by XXREAL_0:def 10,QQQ1;
      dom (max- fREAL)=dom fREAL & dom fREAL=Omega2
        by MESFUNC2:def 3,FUNCT_2:def 1;
      hence thesis by QQQ3,MESFUNC2:def 3;
     end; then
     Schritt1: integral+ (P2M(Prob),(max- (fREAL)))=
     integral' (P2M(Prob),(max- (fREAL))) by MESFUNC5:77,JFin1,MESFUNC6:2,U1;
aq2: dom maxmfREAL = dom fREAL & dom fREAL=Omega2
       by MESFUNC2:def 3,FUNCT_2:def 1;
     integral+ (P2M(Prob),(max- fREAL))=
     0 * (P2M(Prob)). (dom (max- fREAL))
       by Schritt1,MESFUNC5:104,aq2,FFF;
    hence thesis;
    end;
    hence thesis by fin1,XXREAL_0:9;
    end;
   hence thesis by Q2;
   end;
  hence thesis by Q1;
  end;
 hence thesis;
 end;
hence thesis by ff,Fin3;
end;

theorem ThArb:
  for n being Nat
  for r being Real st r>0 holds
  for jpi being pricefunction
  for d being Nat
  for RV being Real-Valued-Random-Variable of Special_SigmaField2 st
     RV={1,2,3,4}-->(jpi.d*(1+r)) &
     RV is_integrable_on P2M(Prob) &
     RV is_simple_func_in Special_SigmaField2 holds
       jpi.d=expect(Real_RV(r,RV),Prob)
proof
let n be Nat;
set Omega2={1,2,3,4};
set F2=Special_SigmaField2;
let r be Real;
assume A00: r>0;
let jpi be pricefunction;
let d be Nat;
let RV be Real-Valued-Random-Variable of F2;
assume ASS0: RV=Omega2-->jpi.d*(1+r) &
             RV is_integrable_on P2M(Prob) &
             RV is_simple_func_in F2;
set myconst=1/(1+r);
Z1: expect(Real_RV(r,RV),Prob) = myconst*expect(RV,Prob)
 by ASS0,RANDOM_1:def 2,RANDOM_1:27;
B1: expect(RV,Prob)=Integral (P2M(Prob),RV)
  by ASS0,RANDOM_1:def 2,def 3;
reconsider FOmega = Omega2 as Element of F2 by PROB_1:5;
 D1: FOmega=dom RV by FUNCT_2:def 1;
SS: R_EAL RV=RV & RV is nonnegative
 proof
  for x being ExtReal holds x in rng RV implies 0. <= x
  proof
   let x be ExtReal;
   assume CASS0: x in rng RV;
   consider w being object such that
    W1: w in dom RV & RV.w=x by CASS0,FUNCT_1:def 3;
   reconsider w as Element of Omega2 by W1;
   0<=RV.w
   proof
    d in NAT by ORDINAL1:def 12; then
    0<=jpi.d by FINANCE1:def 2;
    hence thesis by ASS0,A00;
   end;
  hence thesis by W1;
  end;
 hence thesis by SUPINF_2:def 12,SUPINF_2:def 9;
 end; then
  expect(RV,Prob)= integral+ (P2M(Prob),(R_EAL RV))
    by D1,B1,MESFUNC6:82;
then Q3: expect(RV,Prob)= integral' (P2M(Prob),(R_EAL RV)) by
 MESFUNC5:77,MESFUNC6:49,ASS0,SS;
set myr=jpi.d*(1+r);
d in NAT by ORDINAL1:def 12; then
TT: 0<=jpi.d by FINANCE1:def 2;
(for x being object st x in dom (R_EAL RV) holds (R_EAL RV).x=myr) &
dom (R_EAL RV) in F2 & 0<=myr by ASS0,FUNCOP_1:7,TT,A00;
then Q4: expect(RV,Prob)=myr*(P2M(Prob)).(dom (R_EAL RV)) by Q3,MESFUNC5:104;
 dom (R_EALRV)=Omega2 & Omega2=[#]F2 by FUNCT_2:def 1; then
expect(RV,Prob)=myr*1 by Q4,PROB_1:30;
then Spec: expect(Real_RV(r,RV),Prob)=jpi.d*((1/(1+r))*(1+r)) by Z1;
1=1*(1+r)*(1+r)" by XCMPLX_1:203,A00;
hence thesis by Spec;
end;

theorem
  for r being Real st r>0 holds
  for jpi being pricefunction holds
  ex G being sequence of
      set_of_random_variables_on(Special_SigmaField2,Borel_Sets) st
  (for d being Nat holds
  G.d = ({1,2,3,4}-->(jpi.d*(1+r))) &
      Change_Element_to_Func(G,d) is_integrable_on P2M(Prob) &
      Change_Element_to_Func(G,d) is_simple_func_in Special_SigmaField2)
proof
 let r be Real;
 assume A1: r>0;
 let jpi be pricefunction;
 deffunc U(Nat) = RVfourth(jpi,r,$1);
 consider g being sequence of
  set_of_random_variables_on(Special_SigmaField2,Borel_Sets) such that
   A2: for d being Element of NAT holds g.d=U(d) from FUNCT_2:sch 4;
   take g;
 let d be Nat;
 d in NAT by ORDINAL1:def 12; then
b1: Change_Element_to_Func(g,d)=RVfourth(jpi,r,d) by A2;
 ex RV being Real-Valued-Random-Variable of Special_SigmaField2 st
 RV=({1,2,3,4}-->In((jpi.d*(1+r)),REAL)) &
     RV is_integrable_on P2M(Prob) &
     RV is_simple_func_in Special_SigmaField2 by A1,ThArbPrel;
 hence thesis by b1;
end;

theorem
  for r being Real st r>0 holds
  for jpi being pricefunction
  for G being sequence of
      set_of_random_variables_on(Special_SigmaField2,Borel_Sets) st
  for d being Nat holds
      G.d = ({1,2,3,4} --> (jpi.d*(1+r))) &
      Change_Element_to_Func(G,d) is_integrable_on P2M(Prob) &
      Change_Element_to_Func(G,d) is_simple_func_in Special_SigmaField2 holds
  (Risk_neutral_measure_exists_wrt G,jpi,r &
  for s being Nat holds
    jpi.s = expect(Real_RV(r,Change_Element_to_Func(G,s)),Prob))
proof
 let r be Real;
 assume A0: r>0;
 let jpi be pricefunction;
 let G be sequence of
    set_of_random_variables_on(Special_SigmaField2,Borel_Sets);
 assume A01: for d being Nat holds
      G.d = ({1,2,3,4}-->(jpi.d*(1+r))) &
      Change_Element_to_Func(G,d) is_integrable_on P2M(Prob) &
      Change_Element_to_Func(G,d) is_simple_func_in Special_SigmaField2;
 for s being Nat holds jpi.s=
  expect(Real_RV(r,Change_Element_to_Func(G,s)),Prob)
 proof
  let s be Nat;
  set RV=Change_Element_to_Func(G,s);
  RV=(({1,2,3,4}-->In((jpi.s*(1+r)),REAL))) &
  RV is_integrable_on P2M(Prob) &
  RV is_simple_func_in Special_SigmaField2 by A01;
  hence thesis by A0,ThArb;
 end;
 hence thesis;
end;


Messung
CHZG
8010010093

¤ Dauer der Verarbeitung: 0.137 Sekunden  ¤

*© Formatika GbR, Deutschland







                                                                                                                                                                                                                                                                                                                                                                                                     

 

Neuigkeiten

Aktuelles
Motto des Tages

Open Source Software


Gedichte
Musik
Bilder

Jenseits des Üblichen

Besucherstatistik

Besucherstatistik

Statistik
#Sources=1,188,057
#Domains=861,589