Eine aufbereitete Darstellung der Quelle

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


SSL finance6.miz   Interaktion und
PortierbarkeitMizar

 

:: 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, XXREAL_0,
      XCMPLX_0, XXREAL_3, XREAL_0, VALUED_0, VALUED_1, NAT_1, SEQ_1, FUNCOP_1,
      FINANCE1, PROB_1, FINANCE2, 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,
      VALUED_1, RELSET_1, XBOOLE_0, XXREAL_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, PROB_4, VALUED_1;
 expansions FUNCT_2, TARSKI, FINANCE1, MESFUNC6, MESFUNC5;
 theorems TARSKI, XBOOLE_0, PROB_1, ORDINAL1, FUNCT_2, 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,
      XREAL_0, MESFUNC1, MESFUNC6, NAT_1, XREAL_1, MESFUNC5, SUPINF_2,
      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 of Omega;

theorem A1:
  ].0,+infty.[ is Element of Borel_Sets
 proof
  set Bor1=].0,+infty.[;
  reconsider Bor3 = {0} as Event of Borel_Sets by FINANCE2:5;
  reconsider Bor2 = [.0,+infty.[ as Event of Borel_Sets by FINANCE1:3;
  Bor1 = Bor2 \ Bor3
  proof
   for x being object holds x in Bor1 iff (x in Bor2 \ Bor3)
   proof
    let x be object;
    thus x in Bor1 implies x in Bor2\Bor3
    proof
     assume ASS0: x in Bor1;
     then reconsider x as Real;
d1:  0<x & x<+infty by ASS0,XXREAL_1:4;
     then D2: x in [.0,+infty.[ by XXREAL_1:3;
     not x in {0} by d1,TARSKI:def 1;
    hence thesis by XBOOLE_0:def 5,D2;
    end;
     assume ASS0: x in Bor2\Bor3;
     then reconsider x as Real;
     x in Bor2 & not x in Bor3 by ASS0,XBOOLE_0:def 5;
     then 0<=x & x<+infty & x<>0 by TARSKI:def 1,XXREAL_1:3;
    hence thesis by XXREAL_1:4;
   end;
  hence thesis by TARSKI:2;
  end;
  hence thesis;
 end;

theorem
  for RV being random_variable of F,Borel_Sets,
      K being Element of REAL,
      g2 being Function of Omega,REAL
     st g2=chi((RV-(Omega-->K))"[.0,+infty.[,Omega) holds
   Call-Option(RV,K) = g2(#)(RV-(Omega-->K))
proof
 let RV be random_variable of F,Borel_Sets;
 let K be Element of REAL;
 let g2 be Function of Omega,REAL;
 assume A2: g2=chi((RV-(Omega-->K))"[.0,+infty.[,Omega);
 set RVO=RV-(Omega-->K);
 set CO=Call-Option(RV,K);
QQ: dom g2=Omega & dom RVO=Omega & dom CO = Omega by FUNCT_2:def 1;
q1: for c being object st c in dom CO holds CO.c = g2.c * RVO.c
   proof
     let c be object;
     assume c in dom CO;
     then reconsider c as Element of Omega;
      per cases;
      suppose ASSJJ0: c in RVO"[.0,+infty.[; then
       ZW0: g2. c =1 by A2,FUNCT_3:def 3;
       RVO.c in [.0,+infty.[ by ASSJJ0,FUNCT_1:def 7;
       then 0<=RVO.c & RVO. c <+infty by XXREAL_1:3;
       hence thesis by ZW0,FINANCE3:def 5;
      end;
      suppose ASSJJ00: not c in RVO"[.0,+infty.[;
      ASSJJ0: c in RVO"].-infty,0 .[
      proof
        not (c in dom RVO & RVO.c in [.0,+infty.[) by FUNCT_1:def 7,ASSJJ00;
        then not c in Omega or not RVO.c in [.0,+infty.[ by FUNCT_2:def 1;
        then T: RV.c in ].-infty,+infty.[ & -infty<RVO.c & RVO.c <0
          by XXREAL_1:224,XXREAL_0:12,XXREAL_0:9,XXREAL_1:3;
        RVO.c in ].-infty,0 .[ by XXREAL_1:4,T;
        hence thesis by FUNCT_1:def 7,QQ;
      end;
ZW0:  g2. c =0 by A2,ASSJJ00,FUNCT_3:def 3;
      c in dom RVO & RVO.c in ].-infty,0 .[ by ASSJJ0,FUNCT_1:def 7;
      then -infty<RVO.c & RVO. c <0 by XXREAL_1:4;
      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
     let x be object;
     assume x in dom CO; then
     CO.x=g2.x*RVO.x by q1;
     hence thesis by VALUED_1:5;
   end;
   hence thesis by QQ;
end;

theorem TH1:
  for RV being random_variable of F,Borel_Sets,
      K being Real holds
    (Omega-->K)-RV is random_variable of F,Borel_Sets
proof
  let RV be random_variable of F,Borel_Sets, K be Real;
  reconsider K as Element of REAL by XREAL_0:def 1;
  Omega-->K is random_variable of F,Borel_Sets by FINANCE3:10;
  hence thesis by FINANCE2:24;
end;

theorem ZZZ:
  for A being Element of F holds
    chi(A,Omega) is random_variable of F,Borel_Sets
proof
 let A be Element of F;
 set chij=chi(A,Omega);
 chij is Function & rng chij c= REAL & dom chij=Omega
  by FUNCT_3:def 3,VALUED_0:def 3;
 then reconsider chij2 = chij as Function of Omega,REAL by FUNCT_2:2;
 reconsider MyOmega = Omega as Element of F by PROB_1:5;
   chij2 is ([#]F)-measurable by MESFUNC2:29; then
 chij2 is Real-Valued-Random-Variable of F;
 hence thesis by RANDOM_3:7;
end;

registration let Omega;
  let F;
  cluster (F,Borel_Sets)-random_variable-like for Function of Omega, REAL;
  existence
  proof
    set A = the Element of F;
    reconsider c = chi(A,Omega) as Function of Omega, REAL by ZZZ;
    take c;
    thus thesis by ZZZ;
  end;
end;

theorem ChiRandom:
  chi(Omega,Omega) is (F,Borel_Sets)-random_variable-like
    Function of Omega,REAL
  proof
    set g2=chi(Omega,Omega);
    reconsider O = Omega as Element of F by PROB_1:5;
    chi(O,Omega) is random_variable of F,Borel_Sets by ZZZ;
    hence thesis;
  end;

theorem Lemma00:
  for f,RV being random_variable of F,Borel_Sets,
      K being Real holds
    (f-RV)"[.0,+infty.[ is Element of F
  proof
    let f,RV be random_variable of F,Borel_Sets,
        K be Real;
A1: [.0,+infty.[ is Element of Borel_Sets by FINANCE1:3;
    f-RV is (F,Borel_Sets)-random_variable-like by FINANCE2:24;
    hence thesis by A1;
  end;

LemmaRandom:
  for RV being random_variable of F,Borel_Sets,
      K being Real holds
  chi((RV-(Omega-->K))"[.0,+infty.[,Omega) is random_variable of F,Borel_Sets
  proof
   let RV be random_variable of F,Borel_Sets,
       K be Real;
   reconsider K as Element of REAL by XREAL_0:def 1;
   Omega-->K is random_variable of F,Borel_Sets by FINANCE3:10; then
   (RV-(Omega-->K))"[.0,+infty.[ is Element of F by Lemma00;
   hence thesis by ZZZ;
  end;

definition
  let Omega, F;
  let RV be random_variable of F,Borel_Sets;
  let K be Real;
  redefine func Call-Option(RV,K) -> random_variable of F,Borel_Sets;
  correctness
proof
  set RVO=RV-(Omega-->K);
  set g2=chi(RVO"[.0,+infty.[,Omega);
  reconsider g2 as random_variable of F,Borel_Sets by LemmaRandom;
  set RVO=RV-(Omega-->K);
  reconsider RVO as random_variable of F,Borel_Sets by FINANCE3:11;
  set CO=Call-Option(RV,K);
  CO=g2(#)RVO
  proof
q1: for c being object st c in dom CO holds CO.c = g2.c * RVO.c
    proof
     let c be object;
     assume c in dom CO;
     then reconsider c as Element of Omega;
     CO.c = g2.c * RVO.c
     proof
      per cases;
      suppose ASSJJ0: c in RVO"[.0,+infty.[; then
  ZW0: g2.c =1 by FUNCT_3:def 3;
       c in dom RVO & RVO.c in [.0,+infty.[ by ASSJJ0,FUNCT_1:def 7;
       then 0<=RVO.c & RVO. c <+infty by XXREAL_1:3;
       hence thesis by ZW0,FINANCE3:def 5;
      end;
      suppose ASSJJ00: not c in RVO"[.0,+infty.[;
  K1: c in Omega & not c in RVO"[.0,+infty.[ by ASSJJ00;
      ASSJJ0: c in RVO"].-infty,0 .[
      proof
        not (c in dom RVO & RVO.c in [.0,+infty.[) by ASSJJ00,FUNCT_1:def 7;
        then not c in Omega or not RVO.c in [.0,+infty.[ by FUNCT_2:def 1;
        then RV.c in ].-infty,+infty.[ & -infty<RVO.c & RVO.c <0
          by XXREAL_1:224,XXREAL_0:12,XXREAL_0:9,XXREAL_1:3;
        then c in dom(RVO) & RVO.c in ].-infty,0 .[
          by K1,FUNCT_2:def 1,XXREAL_1:4;
        hence thesis by FUNCT_1:def 7;
      end;
ZW0:  g2. c =0 by ASSJJ00,FUNCT_3:def 3;
      c in dom RVO & RVO.c in ].-infty,0 .[ by ASSJJ0,FUNCT_1:def 7;
      then -infty<RVO.c & RVO. c <0 by XXREAL_1:4;
      hence thesis by ZW0,FINANCE3:def 5;
      end;
    end;
    hence thesis;
   end;
W1: dom CO=Omega & dom g2 = Omega & dom RVO=Omega by FUNCT_2:def 1;
     for x being object st x in dom CO holds CO.x = (g2(#)RVO).x
     proof
      let x be object;
      assume x in dom CO; then
      CO.x=g2.x*RVO.x by q1;
      hence thesis by VALUED_1:5;
     end;
     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;
  let K be Real;
  func Put-Option(RV,K) -> Function of Omega,REAL means  :Def30:
  for w being Element of Omega holds
    (((Omega-->K)-RV).w>=0 implies it.w=((Omega-->K)-RV).w) &
    (((Omega-->K)-RV).w<0 implies it.w=0);
existence
proof
  reconsider MyFunc = (Omega-->K)-RV as Function of Omega,REAL;
  deffunc U(Element of Omega) = SetForCall-Option(MyFunc,$1);
     consider f being Function of Omega,REAL such that
 A1: for d be Element of Omega holds f.d = U(d) from FUNCT_2:sch 4;
  for w being Element of Omega holds
     (MyFunc.w >= 0 implies f.w=((Omega-->K)-RV).w) &
     (MyFunc.w < 0 implies f.w = 0)
 proof
  let w be Element of Omega;
  f.w = SetForCall-Option(MyFunc,w) by A1;
  hence thesis by FINANCE3:def 4;
 end;
hence thesis;
end;
uniqueness
proof
  let f1,f2 be Function of Omega,REAL;
     assume that
 A2: for w being Element of Omega holds
     (((Omega-->K)-RV).w>=0 implies f1.w=((Omega-->K)-RV).w) &
     (((Omega-->K)-RV).w<0 implies f1.w=0) and
 A3: for w being Element of Omega holds
     (((Omega-->K)-RV).w>=0 implies f2.w=((Omega-->K)-RV).w) &
     (((Omega-->K)-RV).w<0 implies f2.w=0);
  let w be Element of Omega;
  per cases;
  suppose A0: ((Omega-->K)-RV).w>=0;
    then f1.w=((Omega-->K)-RV).w by A2;
    hence thesis by A0,A3;
  end;
  suppose A0: ((Omega-->K)-RV).w<0;
    then f1.w=0 by A2;
    hence thesis by A0,A3;
  end;
end;
end;

theorem JA3:
  for RV being random_variable of F,Borel_Sets,
      K being Real,
      g2 being Function of Omega,REAL
     st g2=chi(((Omega-->K)-RV)"[.0,+infty.[,Omega) holds
    Put-Option(RV,K) = g2(#)((Omega-->K)-RV)
proof
 let RV be random_variable of F,Borel_Sets;
 let K be Real;
 let g2 be Function of Omega,REAL;
 assume K1: g2=chi(((Omega-->K)-RV)"[.0,+infty.[,Omega);
 set PO=Put-Option(RV,K);
 set RVO=(Omega-->K)-RV;
h1: dom g2=Omega & dom RVO=Omega & dom PO = Omega by FUNCT_2:def 1;
q1: dom PO = dom g2 /\ dom RVO & for c
     being object st c in dom PO holds PO.c = g2.c * RVO.c
   proof
    for c being object st c in dom PO holds PO.c = g2.c * RVO.c
    proof
     let c be object;
     assume c in dom PO;
     then reconsider c as Element of Omega;
     PO.c = g2.c * RVO.c
     proof
      per cases;
      suppose ASSJJ0: c in RVO"[.0,+infty.[;
  ZW0: g2. c =1 by K1,ASSJJ0,FUNCT_3:def 3;
       c in dom RVO & RVO.c in [.0,+infty.[ by ASSJJ0,FUNCT_1:def 7;
       then 0<=RVO.c & RVO. c <+infty by XXREAL_1:3;
       hence thesis by ZW0,Def30;
      end;
      suppose ASSJJ00: not c in RVO"[.0,+infty.[; then
      k1: c in Omega & not c in RVO"[.0,+infty.[;
      ASSJJ0: c in RVO"].-infty,0 .[
      proof
        not (c in dom RVO & RVO.c in [.0,+infty.[) by ASSJJ00,FUNCT_1:def 7;
        then not c in Omega or not RVO.c in [.0,+infty.[ by FUNCT_2:def 1;
        then RV.c in ].-infty,+infty.[ & -infty<RVO.c & RVO.c <0
          by XXREAL_1:224,XXREAL_0:12,XXREAL_0:9,XXREAL_1:3;
        then c in dom(RVO) & RVO.c in ].-infty,0 .[
          by k1,FUNCT_2:def 1,XXREAL_1:4;
        hence thesis by FUNCT_1:def 7;
      end;
ZW0:  g2. c =0 by K1,ASSJJ00,FUNCT_3:def 3;
      c in dom RVO & RVO.c in ].-infty,0 .[ by ASSJJ0,FUNCT_1:def 7;
      then -infty<RVO.c & RVO. c <0 by XXREAL_1:4;
      hence thesis by ZW0,Def30;
      end;
     end;
    hence thesis;
    end;
   hence thesis by h1;
   end;
   for x being object st x in dom PO holds PO.x = (g2(#)RVO).x
   proof
    let x be object;
    assume x in dom PO; then
    PO.x=g2.x*RVO.x by q1;
    hence thesis by VALUED_1:5;
   end;
  hence thesis by h1;
end;

definition
  let Omega, F;
  let RV be random_variable of F,Borel_Sets;
  let K be Real;
  redefine func Put-Option(RV,K) -> random_variable of F,Borel_Sets;
correctness
proof
  set RVO=(Omega-->K)-RV;
  set g2 = chi(RVO"[.0,+infty.[,Omega);
  set PO=Put-Option(RV,K);
  reconsider K as Element of REAL by XREAL_0:def 1;
  Omega-->K is random_variable of F,Borel_Sets by FINANCE3:10; then
  ((Omega-->K)-RV)"[.0,+infty.[ is Element of F by Lemma00; then
  reconsider g2 as random_variable of F,Borel_Sets by ZZZ;
  reconsider RVO as random_variable of F,Borel_Sets by TH1;
  PO=g2(#)RVO by JA3;
  hence thesis by FINANCE2:25;
end;
end;

begin

definition
  let Omega, F;
  let RV be random_variable of F,Borel_Sets;
  let K be Real;
  func Straddle(RV,K) -> random_variable of F,Borel_Sets equals
    Put-Option(RV,K) + Call-Option(RV,K);
  coherence by FINANCE2:23;
end;

theorem
  for RV be random_variable of F,Borel_Sets,
      K be Real
  for w being Element of Omega holds
    Straddle(RV,K).w=|.(RV-(Omega-->K)).w.|
proof
  let RV be random_variable of F,Borel_Sets;
  let K be Real;
  let w be Element of Omega;
  set f1=RV;
  set f2=(-1)(#)(Omega-->K);
SS: dom RV=Omega & dom f2=Omega by FUNCT_2:def 1; then
   w in dom f1/\dom f2; then
C1: w in dom (f1+f2) by VALUED_1:def 1;
  dom Put-Option(RV,K) = Omega &
      dom Call-Option(RV,K) = Omega by FUNCT_2:def 1; then
  w in dom Put-Option(RV,K) /\ dom Call-Option(RV,K); then
 B100: w in dom (Put-Option(RV,K)+Call-Option(RV,K)) by VALUED_1:def 1;
c2: dom(Omega-->K)=Omega & dom f2 = dom(Omega-->K)
     by VALUED_1:def 5;
c4: w in dom(RV) by SS; then
C6: w in dom ((-1)(#)RV) by VALUED_1:def 5;
 per cases;
 suppose S1: (RV-(Omega-->K)).w>0; then
B0: |.(RV-(Omega-->K)).w.|=(RV-(Omega-->K)).w by COMPLEX1:43;
   :: Copyright (c) 2018-2026 ::           (Stowarzyszenie Uzytkownikow Mizara, Bialystok, Poland).
   then :: License version 3.0 or later, :: detailed in file COPYING.interpretation.
  C7: :: http://creativecommons.org/licenses/by-java.lang.StringIndexOutOfBoundsException: Range [0, 44) out of bounds for length 0
(Omega->)-RV.w<0
 proof
  (RV-(Omega-->K)).w=f1.w + f2.w by C1,VALUED_1:def 1
  .=RV.w + ((-1)*((Omega-->K).w)) by c2,VALUED_1:def 5;
  then -(RV.w-K)<0 by S1;
  then K-RV.w<0;
   FINANCE1,PROB_1,FINANCE2, java.lang.StringIndexOutOfBoundsException: Range [43, 42) out of bounds for length 72
  then (Omega-- RANDOM_1;
  hence thesis  VALUED_1,RELSET_1, XBOOLE_0,XXREAL_0 ,java.lang.StringIndexOutOfBoundsException: Range [66, 64) out of bounds for length 75
 end; then
 B2: Put-Option(RV,K).w=0 by Def30;
 (Put-Option(RV,K)+Call-Option(RV,K)).w=Put-Option(RV,K).w+Call-Option(RV,K).w
  by B100,VALUED_1:def 1;
  thesis  B0,B2,INANCE3:def ,S1;
 TARSKI, PROB_1,ORDINAL1,FUNCT_2  FUNCOP_1java.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 73
 suppose:(-Omega->)).w<0;
  dom Put-Option(,K  Omega java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
    dom Call-java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  w in dom Put-Option(RV,K F forofOmega
 : w indom(Put-Option(RV,)+CallOptionRV,K) byVALUED_1:def 1;
c2: dom(Omega-->K)=Omega & dom  reconsider Bor2 = [.0,+infty.[ as Event of Borel_Sets by FINANCE1:3;
     by VALUED_1:def 5;
C6: w in dom ((-1)(#)RV) by VALUED_1:def 5,c4;
   dom(Omega-->K)=Omega & dom(-RV)=Omega by FUNCT_2:def 1;
   then w in dom(Omega-->K)/\dom(-RV); then
  7: w in dom((mega->)+ RV) by VALUED_1:def 1;
 ((Omega-->K)-RV)w>
 proof
(-Omega-K)wf.  .wbyC1:def 1
  .=RV.thus x in Bor1 implies x in Bor2\Bor3
  then -RV.w-)>  S1;
  then K-RV.w>0;
  then (Omega-:0<x &x<infty by ASS0,XREAL_1:4;
   ((-1)(#)V.>0 by C6,VALUED_1: 5;
 hencethesis  ,VALUED_1:def ;
 end; then
w=((Omega->K)-. Def30
 Call-Optionthen = &x+infty &x<>0  TARSKIdef1,XXREAL_1:;
 then B40: Straddle(RV,K).w=0+((Omega-->K)-RV).w by B2,B100,VALUED_1hence  byXXREAL_1:4;
   dom(Omega-->K)=Omega & dom((-1)(#)RV)=Omega by FUNCT_2:def 1;
   then w in dom(Omega-->K) /\ dom((-1)(#)RV); then
  w in om ((Omega->K) (1()))by :def1;then
 end;
    dom ((-1)(#)RV)=java.lang.StringIndexOutOfBoundsException: Range [0, 25) out of bounds for length 0
u3: (      beingFunction  OmegaREAL
L1:RV  -(Omega>K.  RVw+(1)(>)w;
   dom ((-1)()Omega-->K)) = Omega FUNCT_2:def 1
   thenKbeElementofjava.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
:RVw +  (mega--K).  w+(1()Omega->).java.lang.StringIndexOutOfBoundsException: Range [56, 57) out of bounds for length 56
    L1,VALUED_1:def 5;
domRV/\dom(Omega->K) bySS then
   dom(RV+ ((Omega-->K)) by VALUED_1:def 1;
   then RV.w + - (Omega-->K).w = (RV + (-(Omega-->K))).w by L2,VALUED_1:def 1      cbeobject;
 then (RV-Omega->). (Omega->)RV). by ;
 henceper cases;
 
 suppose S1: (RV-(Omega-->K)).w=0;
   0=StraddleRV,K)w
   proof
(-)#(-K).w by VALUED_1:,S1;
    dom(Omega->K)=Omega & dom (1)#)(Omega-->K)=Omega
      by FUNCT_2:def 1; then
h1 RV.w  (1)(Omega->K.=0 byH2,VALUED_1: 5;
    dom ( (-1)(#)java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 10
G2: (      ASSJJ0: c inRVO"].infty, [
    dom (-RV)=Omega byFUNCT_2def1java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
    then w in java.lang.StringIndexOutOfBoundsException: Range [16, 1) out of bounds for length 74
    w in dom ((Omega-->K) + (-RV)) by VALUED_1:def 1; then
    ((Omega-->K)-RV).w=0 by G2,VALUED_1:def 1; then
    -(,).-RV-Omega-K  ,; then
F3: Call-Option(RV,K).w + Put-Option(RV,K).w = 0 by S1,FINANCE3:def 5;
    dom Call-Option(RV,K) = Omega & dom Put-Option(RV,K)          by :24XXREAL_0:2,XREAL_0:,XXREAL_1:3
     by FUNCT_2:def 1;
    then w indomCall-Option(RV,K)/\dom Put-(RV,K);then
    w in dom (Call-Option(RV,K) + Put-Option(RV,K)) by VALUED_1:def 1;
    hence thesis F3VALUED_1:def 1;
   end;
  hence thesis      end
 end;
end;

definition let Omega, F;
  func set_of_constant_RV(F      java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
    { l  beobject;
       java.lang.StringIndexOutOfBoundsException: Range [27, 8) out of bounds for length 63
  coherenceCO.g2.RVO.x by;
  func set_of_chi_RV(F   end;
    { chi(A,Omega) where thesis by QQ;
        chi(A,Omega) isend;
  oherence;
end;

definition let Omega, F; let (Omega-->K)RVisrandom_variable fFBorel_Sets
ed means :RanDef:
    for x being object st  inXholds
       of,java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44


 chi(,Omega) israndom_variable F,Borel_Sets
 et beElement ofF
  coherence
  proof
     =-;
  byFUNCT_3::ef3VALUED_0:def 3;
    reconsider myRVthen reconsider chij2 =chij as  ofOmega, byFUNCT_2:2;
     reconsiderMyOmega  Omega as Element of F by PROB_1:5;
    myRV in set_of_constant_RV(F);
    hence thesis;
  chij2is --RandomVariable of ;
  cluster set_of_chi_RV(F) -> java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 4
  coherence
  proof
    reconsider MyOmega  xistence
    set g2=chi(Omega set =ElementF;
    chi(Omega    reconsider c = chi(A,Omega) as Function of Omega, REAL by ZZZ;
    then chi(MyOmega,MyOmega) in set_of_chi_RV(Ftake c;
    hencethesisjava.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
  end;
end;

registration let Omega, FchiOmega,Omega)is(F,Borel_Sets)-random_variable-like
usterset_of_constant_RV(F) -> F-random-membered;
  oherence
 
    O =as  FbyPROB_15;
      x is chi(O,Omega) is random_variablejava.lang.StringIndexOutOfBoundsException: Range [52, 51) out of bounds for length 59
    proof
      let x be object;
      _constant_RV();then
      consider f being Function of Omega, REAL such that
A1:x =f  fis random_variable  F,orel_Sets  is ;
      thus thesis by A1;
    end;
    hence thesis;
  end;
cluster ()- randommembered;
  coherence
  proof
     stx  set_of_chi_RVF 
      x is random_variable of F    hencethesis  A1java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
    
      let x be object;
      assume x in set_of_chi_RV(F);       Kbe Real;
      consider A being Element of F such thatOmega->Kis of FBorel_SetsbyFINANCE3:;then
 &chiA,Omega random_variable ofF orel_Sets;
      thus thesis by A1;
   end
    hence thesis;
  end letRVbe random_variableof ,
end;

registration let Omega, F;
  Fmembered nonempty for set;
  existence
  proof
    take set_of_constant_RV F;
    thus thesis;
  end;
end;

definition
  let Omega, F;
  let D be F-random-membered non java.lang.StringIndexOutOfBoundsException: Range [33, 25) out of bounds for length 25
  q1: for c being object st c in dom CO holds CO.c = g2
  let n be Nat;
  func Conv_RV(ChiFuncs     thenreconsider c as Element of Omega;
  java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
  coherencesuppose :c RVO"[0,+infty.[; then
end;

definition
  let Omega, F;
  let D be F-random-membered non empty set;
  let ConstFuncs be then 0<=RVO.c & RVOc <infty  XXREAL_1:;
  let be Element ofOmegajava.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
  func Conv2_RV(ConstFuncs,w) -> Function of NAT,REAL means  :Def770:
    for n being Nat holds it.n=Conv_RV(ConstFuncs,n).w;
existence
proof
  deffunc U(Element of NAT) = Conv_RV(onstFuncs$1)w
   consider       
:for Elementofjava.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 67
 take f;
 let  beNat
 n in NAT by ORDINAL1:        henRV.c in .infty,infty.[&-RVO.&RVO. <0
 hence thesis by A1;
end
uniqueness
proof
 let f1,f2 be thesis by FUNCT_1:def 7;
  assume that
A1: for d being NatZW0   c= ASSJJ00FUNCT_3: 3;
A2: for d being Nat holds f2.d = Conv_RV(ConstFuncs,d).w;
  let d be Element of NAT;
  f2.=Conv_RV(ConstFuncs,d)w by A2;
java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
end;
end;

definition
  hencethesis;
  let D1, D2 be F-random-membered non empty set;
let be of java.lang.StringIndexOutOfBoundsException: Range [33, 34) out of bounds for length 33
  let ConstFuncs be sequence of D2;
  let n be Nat;
  func simple_RV_help(ChiFuncsletxbeobject;
       -> Function of Omega,REAL means  :Def777:
    COx=g2.x*VO.x by q1java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
    it.w = Partial_Sums((Conv2_RV(ConstFuncs,w)java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 9
existence
proof
 deffunc U(Element of Omega) =
  In(Partial_Sums((Conv2_RV(ConstFuncs,$1)(#)
                   Conv2_RV(ChiFuncs,$1))).n,REAL);
 consider f being Function of Omega,REAL such that
 A1:for d be Element of Omega
 take f;
 let be  of Omega;
 InPartial_Sums((Conv2_RV(ConstFuncs,w)(#)
                   Conv2_RV(ChiFuncs,w))).n,REAL) =
 Partial_Sums((onv2_RV(ConstFuncs,)(#)Conv2_RV(ChiFuncs,w))).n;
hencethesis by A1;
end;
(((Omega->K)RV.<0 implies it.w=);
proof
 let,REAL;
  deffunc U(Element of Omega) = SetForCall-Option(MyFunc,$1);
 Partial_Sums(Conv2_RV(,w)()Conv2_RV(ChiFuncs,w))n java.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 68
 A2:for being Element of  holds f2=
   Partial_Sums((Conv2_RV(ConstFuncs,w)(#)Conv2_RV(ChiFuncs,w))).n;
  let w be Element of Omega;
  f2.w=Partial_Sums((Conv2_RV(ConstFuncs,w)(#)
                   Conv2_RV(ChiFuncs,w))).n by A2;
  hence      (MyFunc.wM 0  f.w=0)
end;proof
end;

definition
  et,Fjava.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
  let D1, D2 be F-random-membered non empty set;
  let ChiFuncs be sequence of D1;
  let ConstFuncs be sequence of D2;
  let hence thesis;
  redefine func simple_RV_help(ChiFuncs,ConstFuncs,n)
     - let f2 Function ofREAL
tness

fofOmega such
B10:=imple_RV_help(ChiFuncs,onstFuncs,)java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
 f is (((Omega-->K)-RVw< impliesf2=0)

  defpred J[Nat] means simple_RV_help(ChiFuncs,ConstFuncs,$1)
   israndom_variable of F,Borel_Sets;
  set RVs0=simple_RV_help(ChiFuncs,ConstFuncs,0);
  J0: J[0]
  proof
 forwbeing Elementof Omegaholds
     RVs0.w=Conv_RV(onstFuncs,)#Conv_RV(ChiFuncs,0).w
     proof
          hence thesisby 0,;
      RVs0.w=end
                              
      RVs0.(Conv2_RVConstFuncs,)(java.lang.StringIndexOutOfBoundsException: Range [39, 40) out of bounds for length 39
              Conv2_RV(ChiFuncs,w)).0 by st g2=chi(((Omega-->K)-RV)"[.0,+infty.[)holds
  C2: RVs0.wjava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
             ChiFuncs,w)0 VALUED_1:;
  C3: let g2 be Function of Omega,REAL;
          Conv_RV(ConstFuncs assumeK1 chi(((mega->)RV".,infty[Omega);
      Conv2_RV(set RVO=(Omega--K-;
      hence h1: dom g2=Omega  RVO=Omega&dom   Omega FUNCT_2:ef ;
    q1:dom =dom java.lang.StringIndexOutOfBoundsException: Range [27, 19) out of bounds for length 38
RVs0(Conv_RV(onstFuncs,0)#)(,);
    hence thesis by FINANCE2:25;
  end;
  J1: for n being Nat st J[n] holds J[n+1]
  proof
   let n be Nat;
java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 21
   setassumecin domPO
   set RVsn1=     c= g2c  RVO.
   set RVa=Conv_RV(ConstFuncs,n+1)(     
 beingofOmegaholds w  R+RVa).w
    proof
        beElement ;
      RVsn1.w=Partial_Sums((Conv2_RV(onstFuncs,w)(#)
         Conv2_RV(ChiFuncs,w        java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 33
      .=(Partial_Sums((Conv2_RV(ConstFuncs,w)(#)
                       Conv2_RV()n,EAL)java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
                 (Conv2_RV(ConstFuncs,w)(#)
                 Conv2_RV(ChiFuncs        not(c in dom RVO & RVO  [0,infty.[  ASSJJ00,UNCT_1:def7
      RVsn1.w=.w+(Conv2_RV(ConstFuncs,w)(#)
                             cin]-+[& inftyRVO.cc<java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
tFuncs,)(n1*
                            Conv2_RV(ChiFuncs,w).(n+1)) by VALUED_1:5;
      D2: Conv2_RV(ConstFuncs,w).(n+1)=
         Conv_RV(onstFuncs+1).w by Def770;
      Conv2_RV(ChiFuncs,w).(n+1)ZW0  . c 0byK1ASSJJ00,FUNCT_3:def3
          onv_RVChiFuncs,n+1).w by Def770; then
      RVsn1.w=RVsn.w + (Conv_RV(ConstFuncs,n+1)(#)
            (hiFuncs,n+1). by VALUED_1:,D2
     hence thesis byVALUED_1:1;
     end; then
   M1: RVsn1 = RVsn + RVa;
   RVsn is random_variable of F,Borel_Sets &
   hence by h1;
   hence thesis by M1,FINANCE2:23;
  end;
  for k being Nat holds J[k] from NAT_1:sch 2(J0,J1);
  hence thesis byB10;
 end;
 hence thesis by B10;
end;
end;

begin :: Arbitrage theory: Definition and alternative representation

 reserve phi for Real_Sequencethesis by VALUED_15java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
 java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10

Lemacik:
 for xbeingobject holdsxinset_of_random_variables_onFBorel_Sets)
_ofFBorel_Sets
  proof
    let x be object;
    thus x in set_of_random_variables_on(F,Borel_Sets)
      mplies x  random_variable of F,Borel_Sets
    proof
      assume x in set_of_random_variables_on(F,Borel_Sets); then
      consider M being Function of , REAL such that
AA:   x = M & M is  K  Element  REAL by java.lang.StringIndexOutOfBoundsException: Range [45, 44) out of bounds for length 51
thusx random_variable of FB by AA;
    end;
    thus thesis;
  end;

definition
      ofFBorel_Sets by ;
  letqNat;
   Gbe sequenceof (F,Borel_Sets);
  func java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 4
  G.q;
  coherence
  proof
    G.q is   let RV be random_variabl of F,Borel_Sets;
    hence thesis by RANDOM_3:7;
  end;
end;

definition
  let phi, Omega, F;
  let G be sequence ofend
  let for  berandom_variable of F,Borel_Sets,
  func ArbitrageElSigma1(phi,Omega,,G,n)->Element of equals
    RVPortfolioValueFutExt(,,,)[0+.;
  
proof
 setRVphiFGn)
 A1: [.0,+infty.[ is Element of Borel_Sets by FINANCE1:3;
 RV is (F,Borel_Sets)-random_variable-like by FINANCE3:6;
 hencethesis A1
endjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
  func ArbitrageElSigma2(dom Put-Option(RV,K) = Omega
RVPortfolioValueFutExt(,FGn"].0,+infty[java.lang.StringIndexOutOfBoundsException: Range [51, 52) out of bounds for length 51
  correctness
proof
  RVPortfolioValueFutExt(phi,F,G,n) is (F,Borel_Sets)-random_variable-java.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 71
    by FINANCE3:6;
  hence thesis by A1;
end;
end;

definition
  let Omega, F;
  let Prob be Probability of F;
  let G be sequence of set_of_random_variables_on(F,Borel_Sets);
  let jpi be pricefunction;
  let n be Nat;
  pred Arbitrage_Opportunity_exists_wrt Prob,G,jpi,n means
    ex phi being Real_Sequence st
     (BuyPortfolioExt(phi,jpi,n)<=0 &
     (Prob.ArbitrageElSigma1(phi,Omega,F,G,n)=1 &
     .ArbitrageElSigma2phi,mega,F,,n>);
end;

 percases;
  func RVfirst(r) -> Element of
   set_of_random_variables_onSpecial_SigmaField1,)equals
 {1,,,}--> r;
correctness
proof
   g={,,,}-InrR)
   g is random_variable of Special_SigmaField1,Borel_Sets   thenwin (->)\-RV) then
     hencethesis  Lemacik;
end;
end;

(RV(Omega->)w.+f2.w C1,VALUED_1def1
  be java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
  let r be Real;then Omega->)w+(1)RV.0java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
  let d be Nat;
  func RVfourth(jpi  hencethesis byC7,VALUED_1:ef 1;
    set_of_random_variables_on(Special_SigmaField2,Borel_Sets) equals
  RVfirst p:Put-ption(VK.0by ;
  

 set   1234->(pi.*1r)REAL)java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
 g   dom Option(VK) =  java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
 g in {f where f is Function of    domPutOptionRV)/ Call-Option(VK; 
f is (Special_SigmaField2,Borel_Sets)-random_variable-like};
 hence thesis;
end;
endjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4

theorem
  ex G being sequence of
     set_of_random_variables_on(Special_SigmaField1,Borel_Sets)     w dom(--K/d(-RV;then
  ,3,4-> &
  for k being Nat st k>1 holds G.k={1,2,3,4}-->0)
proof
 deffunc U(Nat)=IFEQ ($1,0,RVfirst (1),IFEQ ($1,1,RVfirst(java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 55
 then K.w0java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
  set_of_random_variables_on(Special_SigmaField1,Borel_Sets) such that
  A1  d being  of  f.U()from :sch4;
 take f;
b1:f.0=IFEQ (0,0,RVfirst (1),IFEQ (0,1,RVfirst(5),RVfirst(0))) java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 35
  f.1=IFEQ (1,0,RVfirst (1),IFEQ (1,1,RVfirst(5),RVfirst(0))) java.lang.StringIndexOutOfBoundsException: Range [0, 64) out of bounds for length 46
   :f.   11RVfirst()RVfirst() def 8;
  for k being Nat st k>1 holds f.k={1,2,3,   (Omega-K)=mega&dom(-)#RV)  FUNCT_2:def ;
  proof
   let k be Nat;
   assume C1: k>1java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
    inNATby ORDINAL1:def ;
   then f.k=U2: ((Omega-->K)).=(Omega->)w  (1(). byVALUED_1def1
java.lang.StringIndexOutOfBoundsException: Range [31, 3) out of bounds for length 66
  hence thesis by C1,FUNCOP_1:def 8;
  end (-K-)w=(Omega->).RVw U2,:5
 hence thesis by b1,b2,FUNCOP_1:def 8;


theorem
  for Prob being Probability   then
 for being sequenceof
    y Vdef 5java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
     win (+ -Omega->))by VALUED_1def 1;
   holds G.k={1,2,3,4}-->0) holds
   ex  being pricefunction 
Arbitrage_Opportunity_exists_wrtProbGjpi,java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
proof
let  beof Special_SigmaField1;
set Omega={1,2,3,4};
set F=Special_SigmaField1;
letH2:RV.+()#(mega-0  1S1
 set_of_random_variables_onSpecial_SigmaField1,Borel_Sets);
assume A3: G.0=Omega-->1 & G.1=Omega-->5 & for k being       by :def 1 
    holds G.k=Omega-->0;
ZW: Prob.Omega = 1 & Prob.{}=0
proof
 .Omega=rob.([#]F)
 then B2: Prob.Omega=1 by     dom (Omega-->K)=Omega & dom Omega->K= &&dom(RV=Omega by FUNCT_2:def 1;
 reconsider   }as Event   PROB_1:java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
Prob.((#F  A =Prob.(#F;
 then Prob.([#]    (-K-.0by VALUED_1def ; then

end;
deffuncUElementof)  (IFEQ$,,,$,,,),)java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65
consider fRV,)=Omega  Put-(V,)=Omega
C1: for then  indom Option(VK \dom PutOption(RV,)java.lang.StringIndexOutOfBoundsException: Range [65, 66) out of bounds for length 65
f is     hence by F3VALUED_1:def1;
proof
d0: f.0  hence by :,;
  for n being endjava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
  proof
   let n be Element of NAT;
   f.n=U(n) by C1;
   hence thesis;
  end;
 hence thesis by d0,FINANCE1:def 2,FUNCOP_1:def 8;
end;
 then reconsider jpi = f as     { chi(A,Omega) where A is Element of (A,Omega) where A is Element ofF:
coherence;
a0: U(0) = In(-1,REAL) by java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 0
    =-1java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
a1: U(1) = In(IFEQ(1,1,1,0),REAL) by FUNCOP_1:def 8
    .= 1 by 
consider phi being Real_Sequence   java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 45
 A4: for  coherence
FinJ:(ArbitrageElSigma1(hi,Omega,G)1&
 Prob.ArbitrageElSigma2(phi,Omega,F,G,1)>0) &
 BuyPortfolioExt(hi,,1)<=java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
proof

     my is FBorel_Sets)random_variable-like by FINANCE3:10,A2; then
  Partial_Sums(phi(#)jpi)1=Partial_Sums(phi()jpi). + (phi(#)jpi)(+
   by SERIES_1:def 1;
  then H1: Partial_Sums(phi(#  end;
   by SERIES_1:def 1;
  H2: (phi(#)jpi).0 =-1
  proof
aa: IFEQ(0,0,-1,IFEQ(0,1,1,0))      g2c(OmegaOmega)
   (phi(#)jpi).0  ,java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 50
   then (phi(#)jpi).0 = Uend;
   then (phijava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
   then (phi(#)jpi).0 = (-1)*1  cluster set_of_constant_RV(F)->F--membered;
  hence thesis;
  end;
  (phi(#)jpi).1 = 1
  proof
 proof
   phi()). = phi.1jpi.1byVALUED_1:5;
   then (phi(#)jpi).1 = U(1)*f.1 by A4
   .=  consider  beingFunction that
   .= 1*In(A1:   x = f & frandom_variableofBorel_Sets &is ;
   .= 1*    nd
  hence thesis by FUNCOP_1:java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 6
  end;
 hence thesis by    st  in (F)holds
java.lang.StringIndexOutOfBoundsException: Range [32, 5) out of bounds for length 5
tfolioValueFutExt(phi,F,G,1);
   Prob.ArbitrageElSigma1(phi,Omega,F,G,1)=1 &
    Prob.A1:   x = chi(A,Omega) & chi(A,Omega) is random_variable of F, Borel_Sets;
 proof
fin1: Omega=RV"[.0,+infty.[
     proof
      for x being object holds x in Omegacluster F-randommemberednon for ;
      proof
       let x be object;
       x in Omega implies x in java.lang.StringIndexOutOfBoundsException: Range [31, 33) out of bounds for length 0
       proof
         x inOmega
        then reconsider x as func Conv_RV(ChiFuncs,n) -> random_variable of F,Borel_Sets equals
q1:     dom RV=Omega by FUNCT_2:def 1;
        x in dom RV &
        proof
          set RVh1(phiFG0;
          RV.x = RVPortfolioValueFutExt(phi,F,G,0+1).x;
          then RV.x = (RVPortfolioValueFut(phi,F,G,0) +
           RVElementsOfPortfolioValue_futConv2_RV(ConstFuncsw >Function ofNAT,means  Def770:
          then S0: RV.x =     fornbeingNatholdsit.=Conv_RV(onstFuncs,n)w;
           
         <RV.x&RV.<infty
         proof
          S1: RVh1.x=-1
          proof
           RVh1.x=ElementsOfPortfolioValueProb_fut(F,G.0).x * phi.0
            by FINANCE2:def 5; then
            takejava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
            by FINANCE1:def 8;
           set G0=G.0;
           K2: G0=java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
           reconsider G0 as Function Omega,REAL by F:def7
           RVh1.=1phi.by K1K2;
           then RVh1.x=1*U(0) by A4
           .= In(-1,REAL) by FUNCOP_1:def 8;
          hence thesis;
          end;
          set endjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
          RV0.x=5
          proof
           RV0.x=PortfolioValueFut(0+1,phi,F,G,x) byletn beNat;
           then RV0.x=(ElementsOfPortfolioValue_fut(phi,F -  Omega,means  :ef777:
            for w being Element Omega holds
           RV0.=ElementsOfPortfolioValue_futphi,x,).0+1)
            by NAT_1:def 3;
           then RV0.x=ElementsOfPortfolioValueProb_futproof
            by def ;
           then RV0.x=ElementsOfPortfolioValueProb_fut(G1)x  U() byA4java.lang.StringIndexOutOfBoundsException: Index 77 out of bounds for length 77
_Func(F,Borel_Sets,G.)x*1
            by a1,FINANCE1:def 8;
           G.1=Change_Element_to_Func(F,java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 27
           then reconsider G1 =G. Function Omega,EAL;
           RV0.x=G1.x * 1 by R1,FINANCE1:def 7;
          hence thesis by A3;
          end;
         hence thesis by XXREAL_0:9,S0,S1;
         end;
        hence thesis by q1,XXREAL_1:3;
        
       hence assume that A1: for being of  w=
       end;
      hence thesis;
      end;
     hence thesis by TARSKI:2;
     end
     Omega=RV" letwbeElement  ;
     proof
      for x being object holds x in Omega iff x in RV"].0,+infty.[
      proof
       lethence by;
       thus x in Omega implies x in RV"].0,+infty.[
       proof
        assume x in Omega;
        then reconsider x as Element of Omega;
q1:     dom RV=Omega by   ;
        x in dom      -random_variable ofFBorel_Sets;
        proof
          set RVh1=RVElementsOfPortfolioValue_fut(phi,F,G,0);
          RV.x = RVPortfolioValueFutExt(phi,F,G,:=java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 47
          then RV.x = (RVPortfolioValueFut(phi,F,G,0) +
           RVElementsOfPortfolioValue_fut:J0java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
          then S0: RV.x = RVPortfolioValueFut(phi,F,G,0).x + RVh1.x
           by VALUED_1:1;
         0<RV.x & RV.x<+infty
         proof
           RVh1xElementsOfPortfolioValueProb_futF,G.)x* phi.0
            by FINANCE2:def 5; then
           .x=Change_Element_to_Func(F,Borel_Sets,G.0).x * phi.0
              ChiFuncs,). SERIES_1
                       ()0by5;
           K2: G0=Change_Element_to_Func(F,Borel_Sets,G.0)          Conv_RV(ConstFuncs,0).w by Def770;
fOmega,REAL  ,FINANCE1:def7java.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 72
           .x=1*phi.0 byA3K,;
           then(ConstFuncs0(#)onv_RV(hiFuncs,0);
          S1: RVh1.x=-1 by a0,A4;
          set RV0=RVPortfolioValueFut;
           RV0.x=PortfolioValueFut(0+1,phi,F,G,x) by FINANCE3:def 3;
           then RV0.x=(ElementsOfPortfolioValue_fut(phi,F,x,G)^\1).0
            by SERIES_1:def 1;
           then RV0.x=ElementsOfPortfolioValue_fut(phi,F,x,G).(0+1)
            by NAT_1:def 3;
           then RV0.x=ElementsOfPortfolioValueProb_fut(F,G.1).x * phi.1
            by FINANCE1:def 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,FINANCE1:def 8;
           G.1=Change_Element_to_Func(F,Borel_Sets,G.1) by FINANCE1:def 7;
           then reconsider G1 = G.1 as Function of Omega,REAL;
           RV0.x=G1.x * 1 by R1,FINANCE1:def 7; then
          RV0.x=5 by A3;
         hence thesis by XXREAL_0:9,S0,S1;
         end;
         hence thesis by q1,XXREAL_1:4;
        end;
       hence thesis by FUNCT_1:def 7;
       end;
      thus thesis;
      end;
     hence thesis by TARSKI:2;
     end;
 hence thesis by fin1,ZW;
 end;
hence thesis by G1;
end;
take jpi;
thus thesis by FinJ;
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 d be Nat;
 let r be Real;
 let G be sequence of set_of_random_variables_on (F,Borel_Sets);
 set Set1={w where w is Element of Omega:
           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 Omega such that
    A1: w=x & PortfolioValueFutExt(d  J1 fornbeing NatstJ[] holds [n1]
   PortfolioValueFutExt(,,,,)(phi,,)w
    by FINANCE3:def 1;
   then A2: RVPortfolioValueFutExt(phi,F,G,d).w in [.0,+infty.[
     by XXREAL_1:3,A1,XXREAL_0:9;
   dom RVPortfolioValueFutExt(phi,F,G,d)=Omega by FUNCT_2:def 1;
  hence thesis by A1,A2,FUNCT_1:def 7;
  end;
   assume a1: x in Set2;
   then(phi,,,)&
        RVPortfolioValueFutExt(phi,F,G,d).x    set RVa=Conv_RV(ConstFuncs,n+1)(#)Conv_RV(C+1;
reconsiderx Element  by a1;
   0<=RVPortfolioValueFutExt(phi,F     proof
      RVPortfolioValueFutExt(phi,F,G,d).x < +infty by A1,      RVsn1.wPartial_Sums((Conv2_RVConstFuncsw()
    0<PortfolioValueFutExtd,,,,x) FINANCE3: 1
  hence thesis;
 end;
hence thesis :;
end;

theorem JB2:
  for d,                Conv2_RVConstFuncs,w)()
  for r being Real
forG being sequenceof set_of_random_variables_on(,Borel_Sets)holds
w is Element  Omega PortfolioValueFut(,phi,F,,w)
java.lang.StringIndexOutOfBoundsException: Range [36, 31) out of bounds for length 66
      (RVPortfolioValueFut(phi,,G,d2)-
       (Omega-->(1+r)*BuyPortfolio(phi,jpi,d)))"[.0,+infty.[
roof
 let d,d2 be Nat;
 assume a10: d2=d-1;
 let r be Real;
letGbesequence of set_of_random_variables_on F,orel_Sets);
  Set1={ where w is Element of Omega:PortfolioValueFut(d,phi,F,G,w)
                               >= (1+r)*BuyPortfolio(phi,jpi,d)};
 set Set2=(RVPortfolioValueFut(phi,F            (hiFuncs,n+1).w by VALUED_1:,D1,D2;
          (Omega-->(1+r)*     hence thesis by VALUED_1:1
 for x being object holds x in Set1 iff x in Set2
 proof
      is   FBorel_Sets&
  thus x    is  of ,Borel_Sets by ASS0,INANCE2:;
  proof
   assume x   end;
thenconsider w being Element of  such that
    : w &PortfolioValueFut(d,phi,F,G,w)
              >= (1+r)*BuyPortfolio(phi,jpi,d);
   reconsider x  hencethesis by B10java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
   set myel=(1+r)*BuyPortfolio(phibegin :: Arbitrage theory: Definition and alternative representation
a2java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    by FINANCE3:def 3;
    RVPortfolioValueFut(phi,F,G,d2).x-(Omega-->myel) reserve jpi for pricefunction;
      by XREAL_1:48,A1,a2,a10;
    then  for being object holds x in set_of_random_variables_on(F,Borel_Sets)
     xin (Omega->myel);
     then x in dom ((-1)(#)(Omega-->myel))    let x  object
    then RVPortfolioValueFutmega-->(myel)))x>=
     by Q1      implies x is random_variable of F,Borel_Sets
    then (RVPortfolioValueFut(phi,F,G,d2) + (- (assume x in set_of_random_variables_on(F,Borel_Sets
by VALUED_1:1;
   thenT1 (RVPortfolioValueFut(phi,F,G,d2) - (Omega-->myel)).x
     in [.0,+infty.[ by XXREAL_1:3,XXREAL_0:9;
     dom (RVPortfolioValueFut(phi,F,G,d2) +(- (Omega-->myel)))=
      Omega/\Omega by FUNCT_2:def 1;
   hence thesis by T1,FUNCT_1:def 7;
  end;
   assume a1: x in Set2;
   then A1:x in dom (RVPortfolioValueFut(phi,F,G,d2)-
  let q be Nat;
          (RVPortfolioValueFut(phi,F,G,d2)-
          (Omega-->(1+r)*BuyPortfolio(phi,jpi,d))).x in [.0,+infty.[
byFUNCT_1:def 7;
   set my1= ((1+r)*BuyPortfolio(phi,jpi,d));
   set  G.;
   reconsider x as Element of Omega  proof
   set RVmyx=(RVPortfolioValueFut(phi,F,G,d2)-
            (Omega-->(1+r)*BuyPortfolio(phi,jpi,d))).x;
RVmyxRVPortfolioValueFut(phi,F,G,d2).x + ((-1)(#)
    (Omega  end;
   then RVmyx=RVPortfolioValueFut(java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 4
    (Omega-->(1+r)*BuyPortfolio(phi,jpi,))x by VALUED_1:6;
   then 0<=RVPortfolioValueFut(phi,F,G,d2).x -
           ,jpi,d)).x by A1,XXREAL_1:3;
   then 0<=my2-my1;
   then 0+my1<=my2 by XREAL_1:19;
then ((1+r)*BuyPortfolio(phi,jpi,d))<=PortfolioValueFut(d2+1,,F,,x)
by FINANCE3:ef3;
  java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
 ;
hence    FBorel_Sets)-random_variable-like by FINANCE3:6;
end;

theorem JB3:
  for d  func ArbitrageElSigma2(,Omega,F,,)- Element of F equals
    beingReal
   G being sequence of set_of_random_variables_on (F,Borel_Sets) holds
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
    Omega-(1+)BuyPortfolio(phi,jpi,d)))"[.0,+infty.[ is Event of F
proof
 let d,d2 be Nat;
 let r be Real;
 let G be sequence end;
 set RV= RVPortfolioValueFut(phi,F,G,d2);
  RV random_variable of F,Borel_Sets by FINANCE3:7;
 set (phi,jpi,d);
 reconsider myr as Element of REAL by XREAL_0:def 1;
 reconsider constRV = Omega-->myr as random_variable of F,  let jpi be pricefunction;
   by FINANCE3:10;
B5: [.0,+infty.[ is Element of Borel_Sets by FINANCE1:    ex phi being Real_Sequence st
 RV-constRV (F,Borel_Sets)-like by FINANCE2:24;
 hence thesis by B5;
endjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4

theorem JC1:
for dbeing Nat
  forfunc ()- Element of
_Sets) holds
  {w where w is Element  {1,2,34}-- r;
        RVPortfolioValueFutExt(phi,F,G,d)"proof
proof
 let d be Nat;
 let r be Real;
   hence thesis by Lemacik;
 set Set1={w where w is
           PortfolioValueFutExt(d,phi,F,G,w) > 0};
 set Set2=RVPortfolioValueFutExt(phi,F  let d  Nat;
  xbeing object holds x  Set1 iff x in Set2
 proof
  let x be object;
   Set1implies x in Set2
  proof
   assume x in Set1;
   then consider w being Element of Omega such that
A1: w=x & PortfolioValueFutExt(d,phi,F,G,w) > 0;
   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,d).w in ].0,+infty.[ by XXREAL_1:4;
   dom RVPortfolioValueFutExt(phi,F,G,d)=Omega by FUNCT_2:def 1;
  hence thesis by A1,A2,FUNCT_1:def 7;
  end;
   assume a1: x in Set2;
   then A1: x in dom RVPortfolioValueFutExt(phi,F,G,d) &
        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;
  hence thesis;
 end;
hence thesis by TARSKI:2;
end;

theorem JC2:
  for d,d2 being Nat st d2=d-1 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)
                                 > (1+r)*BuyPortfolio(phi,jpi,d)} =
        (RVPortfolioValueFut(phi,F,G,d2)-
         (Omega-->(1+r)*BuyPortfolio(phi,jpi,d)))"].0,+infty.[
proof
 let d,d2 be Nat;
 assume a10: d2=d-1;
 let r be Real;
 let G be sequence of set_of_random_variables_on (F,Borel_Sets);
 set Set1={w where w is Element of Omega: PortfolioValueFut(d,phi,F,G,w)
                               > (1+r)*BuyPortfolio(phi,jpi,d)};
 set Set2=(RVPortfolioValueFut(phi,F,G,d2)-
          (Omega-->(1+r)*BuyPortfolio(phi,jpi,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
 
   assume x in Set1;java.lang.StringIndexOutOfBoundsException: Range [5, 6) out of bounds for length 5
 ElementofOmega suchjava.lang.StringIndexOutOfBoundsException: Range [51, 52) out of bounds for length 51
A1: w=x & PortfolioValueFut(d,phi,F,G,w) > (1+r)*BuyPortfolio(phi,jpi,d);
   reconsider x as Element of Omega by A1;
   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;
    RVPortfolioValueFut(phi,F,G,d2).x -(Omega-->myel).x>0
      by XREAL_1:50,A1,a2,a10;
    then Q1: RVPortfolioValueFut(phi,F,G,d2).x+ (-1)*(Omega-->(myel)).x>0;
     x in dom(Omega-->myel);
thenin (-)#(->)  VALUED_1:ef 5;
    then RVPortfolioValueFut(phi,F,G,d2).x+ ((-1)(#)(Omega-->(myel))).x>0
     by Q1,VALUED_1:def 5;
    java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 4
      (RVPortfolioValueFut(phi, ex being sequence 
       by XXREAL_0:9,VALUED_1:1;
    :(VPortfolioValueFutphi,F,,)-(->).x
     in ].0,+infty.[ by XXREAL_1:4;
      (VPortfolioValueFut(phi,F,d2)+( (Omega->myel))=
      Omega/\Omega by FUNCT_2:def 1;
    hence thesis by T1java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
  end;
   assume a1: x in Set2;
   then A1:x in   set_of_random_variables_on(Special_SigmaField1Borel_Sets uch 
          Omega-(r*(,pid) java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
          (RVPortfolioValueFut(phi,F,G,d2)-
          Omega->1+)*BuyPortfoliophijpid). n]0,.[
           by FUNCT_1:def 7;
   set my1= ((1+r)*BuyPortfolio(phi,jpi,d));
   set my2=RVPortfolioValueFut(phi,F,G,d2).x;
   reconsider x as Element of Omega by a1;
   set RVmyx=(RVPortfolioValueFut(phi,F,G,d2)-
            (Omega--
   RVmyx=RVPortfolioValueFut
    (Omega-->(1+r)*BuyPortfolio(phi,jpi,d))).x by    then f.k=IFEQ (k,0,RVfirst (1),IFEQ (k,1,RVfirst(5),RVfirst(0))) by A1;
   then RVmyx=RVPortfolioValueFut(phi,F,G,d2).x + ((-1)*
    (Omega-->(1+r)*BuyPortfolio(phi,jpi,d)).x) by VALUED_1:6;
   (phi,FG,. -
           (Omegaend;
   theorem
   then 0+my1<(my2-my1)+my1 by for ProbbeingProbability  Special_SigmaField1 holds
   then ((1+r)*BuyPortfolio(phi,    (Special_SigmaField1Borel_Sets 
    INANCE3def3;
  hence thesis by a10;
 end;
hence  TARSKI:;
end Arbitrage_Opportunity_exists_wrt,jpi,

ZZ:
  [.0,+infty.[ \ {0} = ].0,+infty.[ by Omega=123}java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20

heoremJC3:
   d,d2 beingNat
  forZW:Prob.  1 & Prob.}=0
  for G being sequence of
    (RVPortfolioValueFut(phi,F,thenB2:ProbOmega= by PROB_1:;
   Omega->1r)BuyPortfoliophi,pi,d))]0,+nfty.[is  F
proof
 let d,d2 be Nat;
let Realjava.lang.StringIndexOutOfBoundsException: Range [15, 16) out of bounds for length 15
 let G be sequence ofdeffunc (ofNAT  ($,,,FEQ$,,,),EAL;
 {0}considerf beingFunction ofNAT,EAL  
[0+.  Element  byFINANCE13,:5;then
 B1: ].0,f  pricefunction
 set RV= RVPortfolioValueFutd0:f.0=0  ;
 reconsider RV as random_variable of F,Borel_Sets by FINANCE3:7;
 set myr=(1+r)*BuyPortfolio(phi proof
 reconsider myr as Element of REAL by XREAL_0:def 1;
 set constRV=Omega-->myr;
    ,INANCE1:ef 2FUNCOP_1:ef 8;
 RV-constRV is (F,Borel_Sets)-random_variable-like by FINANCE2:24;
 hence thesis by B1;
nd

theorem
  for jpi being pricefunction
  d being  st d &d2=-1
  for    . 1by :def 8;
  for r being Real st r>-1 holds
  for G being sequence of set_of_random_variables_on (F, A4:for being  of NAT holds phi.k=() from FUNCT_2:sch 4;
   Element_Of(F,Borel_Sets,G,0) = Omega-->1+r holdsProbArbitrageElSigma2(phi,mega,,,1)0 java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
   (Arbitrage_Opportunity_exists_wrt Prob,G,jpi,d iff
( myphi  Real_Sequencest
(rob.((myphi,F,,)
     (   :Partial_Sumsphi()pi. =(hi#j)0+(hi())1
     Prob.((RVPortfolioValueFut(myphi,F,G,d2)-
     (Omega-->(1+r)*BuyPortfolio(myphi,jpi,d)))"].0,+infty.[)>0))
proof
   be java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
 let d,d2 be Nat;
 A1:d>& d2=d-1;
 let Prob be Probability of F;
 let r be Real;
 assume A2: r>-1;
 let G be sequence of set_of_random_variables_on (F,java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 49
 assume A3: Element_Ofend;
 thus (Arbitrage_Opportunity_exists_wrt java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 19
  (x  beingReal_Sequence 
   (Prob.(RVPortfolioValueFut(,,Gd2)-
   (mega->1r)BuyPortfolio(yphi,,))[0+infty.)1 java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
   (myphiF,d2)-
   (Omega-->(1+r)*BuyPortfolio(myphi,jpi,d)))"].0,+infty.[)>0))
 proof
  assume Arbitrage_Opportunity_exists_wrt Prob,G,jpi,d;
  then consider phi being Real_Sequence such that
  C1:  BuyPortfolioExt(phi,jpi,d)<=0 &
       Prob.(hiOmega,Gd)= java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
       Prob.ArbitrageElSigma2(java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 23
  ArbitrageElSigma1phi,,F,,)={  wis of Omega:
PortfolioValueFutExtdp,,,w =0}by JB1java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
 ArbitrageElSigma1phi,Omega,,,)c
   {wfin1:OmegaRV"[0,infty.java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
               = (+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(phi,jpi,d            inRV".,infty[
  set RVspec=(       proof
       (Omega-->(1+r)*BuyPortfolio(phi,jpi,d)))"[.0,+infty.        hen reconsiderx as  ;
  reconsider RVspec as Event of F by JB3;
  1<ProbRVspec  .<  PROB_135,C1,3PROB_1:34;
  then Fin1: 1=Prob.RVspec by XXREAL_0:1;
  ArbitrageElSigma2(phi,Omega,F,G,d) = {w  RVx= RVPortfolioValueFutExt(hi,,,01.;
   PortfolioValueFutExtd,,,Gw)>0 byJC1;
  then ArbitrageElSigma2(phi,Omega,F,G,d) c=
   wwherew is Element of Omega: PortfolioValueFut(d,phi,F,G,w)
               >(+)BuyPortfolio(hi,d}by C1,1A2,,INANCE114java.lang.StringIndexOutOfBoundsException: Range [75, 76) out of bounds for length 75
  then C3: ArbitrageElSigma2(phi,Omega,F,G,         
   (RVPortfolioValueFut(phi,F,G,d2)-
       Omega->1r)BuyPortfolio(phi,pi,))]0+.  ,C2;
  set RVspec2=(RVPortfolioValueFut(phi,F,G,d2)-
(->1r*BuyPortfoliophi,,))].+.[
   Eventof F  ;
  Prob.ArbitrageElSigma2(phi,Omega,F,G,d) <= Prob.RVspec2 by C3,PROB_1:34;
;
end;
 given myphi being Real_Sequence such that
 ASS0: (Prob.((RVPortfolioValueFut( then .=*()by 
  (Omega-->(1+r)*BuyPortfolio(myphi,jpi,d)))"[.0,+infty.[)=1) &
  Prob.((RVPortfolioValueFut(myphi,F,G,d2)-
  (Omega-->(1+r)*BuyPortfolio(myphi,jpi,d)))"].=
   deffunc U(Nat)=In(IFEQRV0.=ortfolioValueFut01,hi,,,x  FINANCE3def 3;
consider phi beingReal_Sequencesuch that
java.lang.StringIndexOutOfBoundsException: Range [20, 4) out of bounds for length 72
        then .ElementsOfPortfolioValue_futphi,,)(+)
         (n=0 implies phi.n=-BuyPortfolio(myphi,jpi,d)) &
         (n>0 implies phi.n=myphi.n)
   proof
    let n            thenRV0.=ElementsOfPortfolioValueProb_futG1. * ()by A4;
SS: n in NAT by ORDINAL1: then :RV0.x=hange_Element_to_Func,Borel_Sets,G.1)x* 1
SU: myphi.n in REAL;
:IFEQ(,0,-(myphi,,),yphi.)in REAL
   
      per cases;
      suppose n = 0; then
        IFEQ(n,0,-BuyPortfolio(myphi,jpi,d)          end;
          -BuyPortfolio(myphi,jpi,d) by FUNCOP_1:def 8;
        hence java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 13
      end;
      suppose n <> 0.java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
        thesisFUNCOP_1d 8,U;
      end;
    end;
      in    inRV],+infty.java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
      phi.n = U(n) by AA1 .= IFEQ thenreconsiderxElementofOmega
        by SUBSET_1:def 8,SW;
      hence phi.n=-BuyPortfolio(myphi,jpi,d) by FUNCOP_1:def 8,java.lang.StringIndexOutOfBoundsException: Range [0, 65) out of bounds for length 13
    end;
    assumeSQ:n>0;
    java.lang.StringIndexOutOfBoundsException: Range [35, 7) out of bounds for length 73
EQ,-(,pid,.n) bySUBSET_1d 8,SWjava.lang.StringIndexOutOfBoundsException: Index 75 out of bounds for length 75
    hence thesis by FUNCOP_1:def 8,SQ;
   end;
       set B0=-BuyPortfolio(myphi,jpi,d);
Z1:    BuyPortfolioExt(phi,jpi,d)= RVh1.=lementsOfPortfolioValueProb_fut,.)x* phi.
       proof
        BuyPortfolioExt(phi,jpi           :RVh1.=hange_Element_to_FuncFBorel_Sets,.)x * phi.
        proof
zw:      BuyPortfolioExt(phi,jpi,d) = phi.0 + BuyPortfolio(phi,jpi,d)
          by A1,FINANCE1:11;
         -BuyPortfolio(phi,jpi,d)+BuyPortfolio(myphi,jpi,d)=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;
           J0: Pr[0]
           proof
            P1.0= (ElementsOfBuyPortfolio(phi,jpi)^\1).0 by SERIES_1:def 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;
            .0=(ElementsOfBuyPortfolio(,pi)\). by SERIES_1:def1;
            then P2            G0  FunctionofOmega,EAL by K1FINANCE1d 7;
            then P2.0=myphi.1*jpi.1 by VALUED_1:5;
           hence ;
           end;
           J1: for n being Nat st Pr[n] holds Pr[n+1]
           proof
            let n be Nat;
            assume f1: Pr[n];
i)^\1).(+1)
              byNAT_1def;
(phi,jpi).(+1)1)
             by NAT_1:def 3;
            thenby : 10java.lang.StringIndexOutOfBoundsException: Range [31, 32) out of bounds for length 31
            set n2=n+2;
           .n1=2.+(,pi)\)n1
             :def 1;
            then P2.(n+1)=P2.n+ElementsOfBuyPortfolio(           hen  G1 =G1 as Function of Omega,REALjava.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
             by NAT_1:java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 24
           then P2.n1)=P2.n+.(2)jpi.(2 by VALUED_1:5java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65
           hence thesis by Erg1,f1,AA10;
           end;
           for n being Nat holds Pr[n] from NAT_1:        end;
          hence thesis by A1;
          end;
         hence thesis;
         endhence thesis TARSKI2
        hence thesis by zw,AA10;
        end;
       hence thesis;
       end;
java.lang.StringIndexOutOfBoundsException: Range [20, 6) out of bounds for length 51
      proof
       set Set1=java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 12
       set Set2=(RVPortfolioValueFut(java.lang.StringIndexOutOfBoundsException: Range [0, 42) out of bounds for length 18
                (Omega-->(1+r)*BuyPortfolio(myphi,jpi,d)));
       Set1"[.0,+infty.[ = Set2"[.0,+infty.[
       proof
        for x being object holds
         x in Set1"[.0,+infty.[ iff x in Set2"[.0,+infty.[
        proof
         let x be object;
         thus x in Set1"[.0,+infty.[ implies x in Set2"[.0,+infty.[
         proof
          assume sc: x in Set1"[.0,+infty.[;
          then reconsider x as Element of Omega;
           Set1.x in [.0,+infty.[ by sc,FUNCT_1:def 7;
           then PortfolioValueFutExt(d,phi,F,G,x) in [.0,+infty.[
            by FINANCE3:def 1;
           then e: (1+r) * phi. letdjava.lang.StringIndexOutOfBoundsException: Range [9, 7) out of bounds for length 14
            in [.0,+infty.[ by A1,A3,FINANCE1 set Set1{ where w is Element of Omega:
          x in dom Set2 & Set2.x in [.0,+infty.[
          proof
            -(Omega-->(1+r)*BuyPortfolio(myphi,jpi,d)).x =
             (1+r)*(-BuyPortfolio(java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 6
uuu0:      (1+r) * phi.0=-(Omega-->(1+java.lang.StringIndexOutOfBoundsException: Range [0, 39) out of bounds for length 34
         RVPortfolioValueFut(myphi,F,java.lang.StringIndexOutOfBoundsException: Range [0, 38) out of bounds for length 20
           proof
iii:        RVPortfolioValueFut(myphi,F,G,d2).x=
1,myphiF,,)by FINANCE3def ;
         defpred J[Nat] means
          Partial_Sums( by :def 1
alue_fut(phi,,xG)\).$;
            K1: J[0]
            proof
             Partial_SumsElementsOfPortfolioValue_fut,,,G^1. =
           (lementsOfPortfolioValue_futmyphi,,,G^\)0bySERIES_1def ;
             then Partial_Sums(ElementsOfPortfolioValue_fut(myphi,F,x,G)^\1     inSet2
              = ElementsOfPortfolioValue_fut(myphi,F,x,G).(0+1) by NAT_1:defRVPortfolioValueFutExt(,,,). in [.,infty. byFUNCT_1d 7java.lang.StringIndexOutOfBoundsException: Range [77, 78) out of bounds for length 77
             then Partial_Sums(ElementsOfPortfolioValue_fut(RVPortfolioValueFutExt(phi,F,G,d).x < +infty by A1,XXREAL_1
              = ElementsOfPortfolioValueProb_fut(F,G.1).x * myphi.1
               FINANCE1d10
             _SumsElementsOfPortfolioValue_futmyphi,F,,)\1.
              = ElementsOfPortfolioValueProb_fut(F,Gjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
             then Partial_Sumsfor ,d2Nat std=-1holds
              = ElementsOfPortfolioValue_fut(phi,F,x,G).(0+1)
              by FINANCE1:def 10;
             then Partial_Sums(                               >= (1+r(phi,jpid)} =
              = (ElementsOfPortfolioValue_fut(phi,F,x,G)^\1).0
               by NAT_1:def 3;
             thesis by SERIES_1:ef ;
            end;
K2 fornbeing Nat st []holds J+1java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
            proof
              n be Nat;
             assume AK2: J[n];
             set n1=n+1;
             set n2= set Set1={   is ElementofOmega:PortfolioValueFut(,,,,)
                                            =1+)BuyPortfoliop,jpid}java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65
               Partial_Sums((phi,,x,)\. +
                (ElementsOfPortfolioValue_fut(myphi,F,x,G)^\1).(n for  beingbeing object holds  in Set1   inSet2
                 AK2SERIES_1:def ;
               ElementsOfPortfolioValue_futmyphi,,,G)\)(+1 java.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69
   x inSet1;
                 NAT_1d ;then
          :(lementsOfPortfolioValue_fut,,,)\)(+1)=
                ElementsOfPortfolioValueProb_fut(F,G.n2).x * myphi. *p,pid)
                  FINANCE1def ;
              t(,,,)\).n+)=
               (ElementsOfPortfolioValue_fut(phi,F,x,G)^\1).(n+1)
              proof
((myphi,,,G)^1.n1=
                 ElementsOfPortfolioValueProb_fut(F,G.n2).x * phi.n2
                  by R1,AA10;
               then (then Q1: RVPortfolioValueFut,,,)x+(*Omega->(myel))x>0;
                ElementsOfPortfolioValue_fut(phi,F,x,G).(n1+1)
                 FINANCE1:ef 10
              hencethesis  NAT_1:ef 3;
              end;
             hence thesis by SERIES_1    (RVPortfolioValueFutphi,,,d2  ( Omega--myel)). >=
            end;
            for n being Nat holds J[n] from NAT_1:sch 2(K1,K2);
            then RVPortfolioValueFut(myphi,F,G,d2).x =
             PortfolioValueFut(d2+1,phi,F,G,x) by iii;
            hence thesis by FINANCE3:def 3;
           end;
           then UUU: RVPortfolioValueFut(myphi,F,G,d2).x -
            (Omega-->(1+r)*BuyPortfolio(myphi,jpi,d)).x in [.0,+infty.[
             by uuu0,e,FINANCE3:def 3;
            x in dom (RVPortfolioValueFut(myphi,F,G,d2) + -
                (Omega-->(1+r)*BuyPortfolio(myphi,jpi,d)))
            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 UUU,VALUED_1:13;
          end;
         hence thesis by FUNCT_1:def 7;
         end;
          assume ab: x in Set2"[.0,+infty.[;
          then ABC1: x in dom Set2 &   hence   ,:7
siderElement   byab;
           ABC3:then:indom(VPortfolioValueFut(,Gd2-
             (Omega-->(1+r)*BuyPortfolio(myphi,jpi,d)).x           (RVPortfolioValueFut(phi,,,)java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
               ABC1,ALUED_1:13;
           -(Omega-->(1+r)*BuyPortfolio(myphi,jpi,d)).x =(1+r)*phi.0
           proof
            ->+*(,,). java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
-BuyPortfoliomyphi,pi,);
            hence thesis by AA10;
           end;
           then ABC4: PortfolioValueFut(d2+1,myphi,F,G,x) + (1+r)*java.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 55
            in [.0,+infty.[ by FINANCE3:def 3,ABC3;
          ABC2: Set1.x in [.0,+infty.[
          proof
           PortfolioValueFut(d2    (Omega-->(1+r)*BuyPortfolio(phi,jpi,d)).x) by VALUED_1:6;
            PortfolioValueFut(d2+1,myphi,F,G,x)
           proof
            Partial_Sums(ElementsOfPortfolioValue_fut(phi,F,x,G)^\1).d2=
             Partial_Sums(ElementsOfPortfolioValue_fut(myphi   then 0<my2-my1;
            proof
             defpred J[] means
              Partial_Sums(ElementsOfPortfolioValue_fut(phi,F,x,G)^\1).$1=
               Partial_Sums(ElementsOfPortfolioValue_fut(myphi,F,x,G)^\1).$1;
             K1:  end;
             proof
              Partial_Sums(ElementsOfPortfolioValue_fut(phi
               (ElementsOfPortfolioValue_fut(phi,Fjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
                by SERIES_1:def 1;
then(,,G^1)0=
               ElementsOfPortfolioValue_futFxG.01  NAT_1def3
             then R:Partial_Sums(ElementsOfPortfolioValue_fut(phi,F,x,G)^\1).0=
               ElementsOfPortfolioValueProb_fut(F,G let r  Real;
                by FINANCE1:def 10;
              Partial_Sums(ElementsOfPortfolioValue_fut(phi,F,x,G)^\1).0=
               ElementsOfPortfolioValueProb_fut(F,G.1).x * myphi.1 by  s RV RVPortfolioValueFut(phi,,,);
ioValue_fut(phi,F,,G)\1)0=
                e_fut,F,,)(+1)
  by: 10;
              then Partial_Sums( reconsider constRV = Omega-->myr as random_variableBorel_Sets
              (ElementsOfPortfolioValue_fut(myphi,F,x,G)^\1).0 by NAT_1:def 3;
             hence thesis by SERIES_1:def 1;
             ;
             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({w where w is Element of Omega: PortfolioValueFutExt,,w>0 ,)].0+
               =Partial_Sums(ElementsOfPortfolioValue_fut(myphi,F,x,G)^\1).n +
            ((,x,^1).(n+1)
                   by SERIES_1set Set1={wwhere w is Element  Omegajava.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
               ( set Set2=RVPortfolioValueFutExt(phi,F,G.,.;
                (ElementsOfPortfolioValue_fut(myphi,F,x,G)^\1).n1
               
                (ElementsOfPortfolioValue_fut(phi,F,x,G)^\1).n1=
lioValue_futFxG)(+1)
                  by NAT_1:def 3;
                then QA  proof
                 ElementsOfPortfolioValueProb_fut(F,G.n2).x * phi   thenconsider being  of  suchthat
                  by FINANCE1:def 10java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
                phi.n2=myphi.n2 by AA10;
               then (ElementsOfPortfolioValue_fut(phi,F,x,G)^\1).n1=
                 (ElementsOfPortfolioValue_fut(myphi,F,x,G)).n2
                  by FINANCE1:def 10,QA;
                thesis by NAT_1:ef ;
                     end;
               thesis by SERIES_1def 1,;
             end;
forbeingNatsch(,)java.lang.StringIndexOutOfBoundsException: Range [64, 65) out of bounds for length 64
            hence thesis;
            end;
           hence thesis;
           end;
           then PortfolioValueFutExt(d2+1,phi,F,G,x) in [.0,+infty thesis;
            by A3,FINANCE1:12,ABC4hence thesisby :;
          hence thesis by A1,FINANCE3:def 1;
          end;
          dom Set1=Omega by FUNCT_2:def 1;
    thesisbyFUNCT_1defABC2
        end;
       hence thesis by TARSKI:2;
       end;
      hence thesis by ASS0;
      end;
      Prob.ArbitrageElSigma2(phi,Omega,F,G,d)>0
      proof
       RVPortfolioValueFutExt(phi,F,G,d)"].0,+infty.[ =
        (RVPortfolioValueFut(myphi,F,G,d2)-
         (Omega-Gsequence  java.lang.StringIndexOutOfBoundsException: Range [49, 48) out of bounds for length 64
       proof
       set Set1=RVPortfolioValueFutExt(phi,F,G,d);
       set Set2=RVPortfolioValueFut(myphi,F,G,d2)-
                (Omega-->(1+r)*BuyPortfolio(myphi,jpi,d)) for being holds  ininSet1 iff  Set2
        x  object holds
xin]0+infty.[ iff x in Set2"].0,+infty.[
        proof
         let x be   assume x in Set1;
 Set1]0,.  x ]0,+
         proof
           :x  Set1"]0,+infty.;
          then s: x in dom RVPortfolioValueFutExt(phi,F,G   reconsider x asElementof  by A1java.lang.StringIndexOutOfBoundsException: Range [42, 43) out of bounds for length 42
               RVPortfolioValueFutExt(phi,F,G,d).x in ].0,+infty.[    RVPortfolioValueFutF,. Omega-.>
         java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 33
          reconsider x as Element of Omega by ss;
           PortfolioValueFutExt(d,phi,F,G,x) in ].0,+infty.[
            by FINANCE3:def 1,s;
           then e: (1+r) * phi.0 + PortfolioValueFut(d2+1,phi,F,G,x)
            in ].0,+infty.[ by A1,A3,      RVPortfolioValueFutphi,,,d2  O->myel)x<+infty
            -(Omega-     T1 (VPortfolioValueFutphiFG,)-(mega->myel).x
             (1+r)*(-BuyPortfolio(myphi,jpi,d));      in ].,infty.  :;
uuu0:      (1+r) *      (VPortfolioValueFutphiF,d2 ( Omega->)=
             by AA10;
iii        m,FGd.=
             PortfolioValueFut(2+,yphi,F,,)byFINANCE3def 3;
          x in dom Set2 & Set2.x in ].0,+infty.[
          proof
         RVPortfolioValueFut(myphi,F,G,d2).x=RVPortfolioValueFut(phi,F,G,d2).x
           
         defpred J[Nat] means
          set my1= (+*phi,d)java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
           Partial_Sums(ElementsOfPortfolioValue_fut(phi,F,x,G)^\1).$1;
            K1            Omega->1r)BuyPortfolio(jpid).;
            proof
             Partial_Sums(lementsOfPortfolioValue_futmyphi,,,G)\.0 =
           (   then RVmyx=RVPortfolioValueFut,FG,2). +(-)java.lang.StringIndexOutOfBoundsException: Range [56, 57) out of bounds for length 56
             then Partial_Sums(ElementsOfPortfolioValue_fut   then <RVPortfolioValueFut(FGd2)x 
= ElementsOfPortfolioValue_futmyphi,,,)(+1  NAT_1: ;
             then Partial_Sums(java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 18
              = ElementsOfPortfolioValueProb_fut(F,G.1).x * myphi.1
               by FINANCE1:def 10;
             then Partial_Sums(ElementsOfPortfolioValue_fut(     FINANCE3: 3;
              hencethesis  ;
             then Partial_Sums(
= ElementsOfPortfolioValue_futphi,F,,G).0+)
              by FINANCE1:def 10;
             then Partial_Sums(ElementsOfPortfolioValue_fut(myphi,F,x,G)^\1).0
              = (ElementsOfPortfolioValue_fut(phi,F,x,G)^\1).0
               by NAT_1:def 3;
            hence thesis    (VPortfolioValueFut(phi,F,G,)-
            end;
            K2: for n being Nat st J[n] holds J[n+1]
            prooflet r beReal
             java.lang.StringIndexOutOfBoundsException: Range [6, 1) out of bounds for length 66
             assume AK2: J[n];
             set n1=n+1;
             set n2=1+;
Rjava.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 77
PphiFx,)\+
                 java.lang.StringIndexOutOfBoundsException: Range [34, 31) out of bounds for length 34
                  by AK2,SERIES_1:   (Omega-->(1+r)*BuyPortfolio(myphi,-(1r*myphijpid))".,[)=1) java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
               (then consider phi being Real_Sequence such that
              proof
               (ElementsOfPortfolioValue_fut(myphi,F,x,G)^\1).(n+1) =
                       Prob.ArbitrageElSigma1(phi,Omega,F,d= 
                 by:3;
               then R1: (ElementsOfPortfolioValue_fut(myphi,F,x,G)^\1).(n+1) =
                ElementsOfPortfolioValueProb_fut(F,G.n2).x * myphi.n2
                 by FINANCE1:def 10;
               (ElementsOfPortfolioValue_fut(myphi,F,x,G)^\1).n1=
                 ElementsOfPortfolioValueProb_fut(F,G.n2).x * phi.n2
                  by R1,AA10;
               then       (>)phi,pid)"[0+infty[by ,;
                ElementsOfPortfolioValue_futp,,,G).n11java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
                 by FINANCE1:def 10;
              hence thesis by NAT_1:def 3;
              end;
             thesisSERIES_1:def 1,R;
              ArbitrageElSi(,megaF,G,)  {w where w is  ofOmega:
            forn beingNat java.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 63
            then RVPortfolioValueFut(myphi,F   {w  w isElement Omega: PortfolioValueFut(,,F,,)
Pd+,,F,,x by java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
           hence thesis by FINANCE3:def 3;
           end;
           then UUU: RVPortfolioValueFut(myphi,F,G,d2).x -
            (Omega-->(1+r)*BuyPortfolio(myphi,jpi,d)).x in ].0,+infty.[
             by uuu0,e,FINANCE3:def 3;
            x in dom (RVPortfolioValueFut(myphi,F,G,d2) + -
                ((Omega-->(1+rBuyPortfolio(phi,jpi,))],.java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
            proofphiOmegaFG,)<= ProbRVspec2  PROB_1
             dom (RVPortfolioValueFut(myphi,thesisby C1;
              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   Omega->1r*BuyPortfoliomyphi,jpi,))"0+.)0
   deffuncU(Nat)=IFEQ$,0,BuyPortfolio(j,)myphi$)REAL)java.lang.StringIndexOutOfBoundsException: Index 74 out of bounds for length 74
by VALUED_1: 1
             hence thesis;
            end(=impliesphi.=-BuyPortfoliomyphi,d)) &
          hence thesis by UUU,VALUED_1:13;
          end;
         hence thesis by FUNCT_1:def 7;
         end;
          assume ab: x in Set2"].0,+infty.[;
      then ABC1: x in dom Set2  Set2.xin.,infty. byFUNCT_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          BuyPortfolio(jpi,d FUNCOP_1def ;
            -(Omega-->(1+r)*BuyPortfolio(myphi,jpi,d)).x =
             (1+r)*(-BuyPortfolio(myphi,jpi,d)); then
           -(Omega-->(1+r)*BuyPortfolio(myphi,jpi,d)).x =(1+r)*phi      end;
           then ABC4: PortfolioValueFut(d2+1,myphi,    hereby assume  =0
            in ].0,+infty.[ by FINANCE3:def 3,ABC3;
          ABC2: Set1.x in ].0,+inftyby def 8,SW;
          proof
           PortfolioValueFut(d2+1,phi,F,Gassume :n > 0
            java.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 47
           proof
            Partial_Sums(set B0=-BuyPortfolio(myphi,jpi,d);
             Partial_Sums(ElementsOfPortfolioValue_fut(myphi,F,x,G)^\       
            proof
              phi,jpi,d)  .  (jpi,)
              Partial_Sums(ElementsOfPortfolioValue_fut(phi,F,x,G)^\1).$1=
               Partial_Sums(ElementsOfPortfolioValue_fut(myphi,F,x,         BuyPortfolio(jpi,)+uyPortfolio(myphi,pid)0
              Partial_Sums(ElementsOfPortfolioValue_fut(phi,F,x,G)^\1).0=
              (ElementsOfPortfolioValue_fut(phi,F,x,G)^\1).0
                by SERIES_1J0:Pr[]
              thenPartial_Sums((hiF,)\)0
               ElementsOfPortfolioValue_fut(phi,F,x,G).(0+1) by NAT_1:def 3;
             then R:Partial_Sums(ElementsOfPortfolioValue_fut(phi,F,x,G)^\1).0=
               ElementsOfPortfolioValueProb_fut(F,G.1).x * phi.1
                by FINANCE1:def 10;
             K1: J[0]
             java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
              Partial_Sums(           
               ElementsOfPortfolioValueProb_fut(F,G.1).x * myphi.1 by R,AA10            assume f1: Pr[n];
              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(phi,F,x,G)^\1).0=
              ElementsOfPortfolioValue_fut(myphi,F,x,G)^\1).0 by NAT_1:def 3;
             hence thesis by SERIES_1:            set =+
             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(ElementsOfPortfolioValue_fut(myphi,F,x,G)^\1).n +
                 (ElementsOfPortfolioValue_fut(phi,F,x,G)^\1).(n+1)
                   by SERIES_1:def 1;
               (ElementsOfPortfolioValue_fut(phi,F,x,G)^\1).n1=
                (ElementsOfPortfolioValue_fut(myphi,F,x,G)^\1).n1
               proof
                (ElementsOfPortfolioValue_fut(phi,F,x,G)^\1).n1=
                 (lementsOfPortfolioValue_fut(phi,F,,G)(1+)
                  NAT_1:def 3;
                then QA: (ElementsOfPortfolioValue_fut(phi,F,x,G)^\1).n1=
                 ElementsOfPortfolioValueProb_fut(F,G.n2)            thenP2n)P2.n+myphi(n2)jpi.n)by VALUED_1:;
                  by FINANCE1:def ;
                phi.n2myphi.by ;
               then (phi,xG^1.1=
                 (ElementsOfPortfolioValue_fut(myphi,F,x,G)).(n1+1)
                 by FINANCE1:def 10,QA;
               hencethesis by def 
               end        thesis ,AA10
              hence thesis by SERIES_1:def 1,R;
             end;
             for n being java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 11
            hence thesis;
            end;
           hence thesis;
           end;
           java.lang.StringIndexOutOfBoundsException: Range [37, 36) out of bounds for length 68
            by A3,FINANCE1:12,ABC4;
          hence thesis by A1,FINANCE3:def 1;
          nd;
          dom Set1=Omega by FUNCT_2:def 1;
        thesisby def ABC2;
        end;
        hence thesis by TARSKI:2;
       end;
       hence by ASS0;
      end;
  hence thesis by Z1,Z2;
end;

begin :: Risk-neutral Probability measure

definition
  let Omega, F;
  let RV be Real-Valued-Random-Variable of F;
  let r be Real(r)*(-java.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 53
  func Real_RV(r,RV)proof
    RV(#)(1/(1+r));
  
  proof
    (1/(1+r))(#)RV is random_variable of F,Borel_Sets by RANDOM_3:7;
    hence ;
  end;
end;

definition
  let Omega, F;
  let jpi be pricefunction;
  G ofset_of_random_variables_onF,orel_Sets)java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
   rReal
  predRisk_neutral_measure_exists_wrt G,jpi,r means
  ex Prob being Probability of F st
  Nat olds
      jpi.d=expect(Real_RV(r,Change_Element_to_Func((myphi,,,G)\1)0
nd;

 reserve Prob for Probability of Special_SigmaField2;

theorem ThArbPrel:
  for r being Real st r>0 holds
  for jpi being  hence  bySERIES_1:ef1
  for d being Nat holds
    ex f being Real-Valued-Random-Variable of Special_SigmaField2 st
    f             let be Natjava.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
    f is_integrable_on P2M(Prob) &
    f is_simple_func_in Special_SigmaField2
proof
 set F2=Special_SigmaField2;
 set Omega2={1,2,3,4};
 letr be Real;
   (ElementsOfPortfolioValue_fut(myphi,F,,G)^\1.n1) java.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69
 let jpi be pricefunction;
 letdbe Nat;
 deffuncUof=In(d(+))REAL;
 consider f being Function of Omega2,REAL such that
     ofholds .Ud)from :sch 4;
 set g=(Omega2-->In((jpi.d*(1+r)),REAL));
b1  fOmega2  domg=mega2  FUNCT_2:1
 d in NAT by ORDINAL1:def 12;
   for x being object st x in dom f holds f.x=g.x

    letxbeobject; assume x  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           ElementsOfPortfolioValue_fut(phi,F,G.n)
 reconsider f as Real-Valued-Random-Variable of F2 by FINANCE3:10,RANDOM_3:7;
zz:Omega2 in F2 & dom              endjava.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
   for x be object  fornbeingNatjava.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 63
     by ,:;then
 Fin3: f is_simple_func_in F2 by             d+,FG,)by 
    reconsider g =             thesis by FINANCE3:def ;
      byff,INANCE3:;
    reconsider fREAL = R_EAL f as random_variable of F2,Borel_Sets
      by ff,FINANCE3:10;
   reconsider FOmega  {,,3,} as Element ofF2  PROB_15
 FOmega= R_EALf  FUNCT_2:1
 f is_integrable_on P2M(Prob)
 proof
  R_EAL   Probjava.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
  proof
   R_EAL f is FOmega-measurable &
   integral+ (P2M(Prob),(max+ (R_EAL f))) < +infty &
   integral+ (P2M(Prob),(max- (R_EAL f))) < +infty
   proof
    thendom ((FG,2)/java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
    proof
     for r being Real holds FOmega /\ (less_dom ((R_EAL f),r)) in F2
     proof
      let r be Real;
      set WX = {w            thesis
      W1: FOmega /\ (less_dom (fREAL,r)) = WX
      proof
        for x being object holds x by def;
         x in WX
        proof
         let x be object;
         thus x in FOmega /\ (less_dom (fREAL,r)) implies x in WX
         java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
assumex inFOmega \(ess_dom fREAL,);
          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;
          x FOmega &xin less_dom (fREAL,def11;
         hence thesis by XBOOLE_0:def 4;
        end;
       hence thesis by TARSKI:2;
      
      WX = g"].java.lang.StringIndexOutOfBoundsException: Range [55, 54) out of bounds for length 74
      
q1:forxbeingobjectholds iniff in g"]-nfty,.java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
       proof
        let x be object;
        thus x in WX implies x in g"].-infty,r.[
        proof

then consider wbeing  ofOmega2  
          YA1: w=x & fREAL.w<r;
         reconsider x as Element of Omega2 by YA1;
         by:10
         theng.x in]-infty,[&dom g=Omega2 FUNCT_2:1XXREAL_1:;
        hence thesis by FUNCT_1              (ElementsOfPortfolioValue_fut(yphi,,G^\1.0by NAT_1:ef3;
        end;
         assume             ;
         then C0: x in dom g & g.x in ].-java.lang.StringIndexOutOfBoundsException: Range [0, 46) out of bounds for length 18
         reconsider x as Element of Omega2 by c0;
         -infty<g.x & g               Partial_SumsElementsOfPortfolioValue_futmyphi,,G^1.+
        hence thesis;
       end;
ZZ:    ].-infty,r.[ is Element of Borel_Sets &(lementsOfPortfolioValue_futphiFx,)\1.
        g is random_variable of F2proof
java.lang.StringIndexOutOfBoundsException: Range [28, 8) out of bounds for length 50
      hence thesis by qq1,TARSKI:2,ZZ;
      end;
     hence thesis by W1;
     end;
    hence t phiFx,G)\1).
    end;
     set fREAL=R_EAL f;
     set maxfREAL=max+ fREAL;
U0:   dom maxfREAL = dom fREAL & dom fREAL=Omega2
       by end
Fin30: maxfREAL is nonnegative
     proof
      for x being ExtReal holds x in rng maxfREAL implies 0. <= x
      proof
                 PortfolioValueFutExt(+phi,,x in.,infty.java.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 68
       assume CASS0: x inend
       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;
    +PMProb)( R_EAL )  + java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
     integralRVPortfolioValueFutExtphiF,,)]0,infty. java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
    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          in ]0infty. iff   Set2].,infty.[
       assume x in dom maxfREAL;
       then reconsider x as Element of Omega2;
       per cases;
       suppose          assume ss:  in ".,infty[;
        then S2: max(fREAL.x,0)=fREAL.x by XXREAL_0:def 10;
        fREAL.x=In((jpi          then s  in dom (phi,,d 
        hence thesis by U0,MESFUNC2:def 2,S2;
       end;
      suppose : >.x;
        0<1+r & 0<=jpi.d by AA,FINANCE1:def 2,ASSJ;
        hence thesis by S1, :def,;
       end;
     end;
    hence thesis by MESFUNC6:2,U0;
    end;
      java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 56
     integral' (P2M(Prob),(max+ (fREAL))) by MESFUNC5:77,Fin30;
    reconsider myr = jpi.d*(1+r) as Element of REAL PortfolioValueFut(d2+1,myphi,F,G,x) by FINANCE3;
     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;
      endRVPortfolioValueFutmyphi,F,,d2).=(hiF,,.java.lang.StringIndexOutOfBoundsException: Range [78, 79) out of bounds for length 78
      suppose fREAL.Partial_Sums((myphi,xG^\)$ =
        hencethesisby,java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
      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 java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 61
:maxmfREAL  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
           indom maxmfREAL & maxmfREAL.w=x : ;
         hence thesis by MESFUNC2:13;
         java.lang.StringIndexOutOfBoundsException: Range [13, 11) out of bounds for length 26
        hence setn2=11;
      endjava.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
U1:  dom maxmfREAL in F2 by YY;
    integral+ (byAK2,SERIES_1:ef;
    proof
FFF: for x be object st x in dom maxmfREAL holds maxmfREAL.x = 0
     proof
     l  object
     assume x in dom maxmfREAL;
     then reconsider x as Element of Omega2;
QQQ1: -fREAL.x=-jpi.d*(1+r) by A1;
     set mfREAL = -(ElementsOfPmyphi,G)^\1)n1=
     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 phi,,,.(n1+)
        by MESFUNC2:def 3,FUNCT_2:def 1;
      hence thesis by QQQ3,MESFUNC2:def 3;
     end; then
     Schritt1: integral+ (P2M(Prob),(max- (fREAL)))=
     integral             (1pFGx byiiijava.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
 fREAL &dom fREAL=
:def3FUNCT_2:1
integral+ (P2M(Prob),(max- fREAL))=
     0 * (P2M(Prob)). (dom (max- fREAL))
       by Schritt1,MESFUNC5:104,aq2,FFF Omega-(1r*BuyPortfoliomyphi,jpi,))
    hence thesis;
    end;
    hence thesis by fin1,XXREAL_0:9;
    end;
   hence thesis by Q2 hencethesisbyUUU,ALUED_1:13;
   end;
  hence thesis by Q1;
  end;
 hence thesis;
 end;
hence thesis by ff,Fin3;
end;

theorem()(-BuyPortfoliojpi); 
  forn Nat
f >0
  for jpi being pricefunction
 d 
  for            PortfolioValueFutd+1phiF,G,)java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
     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 proof
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/(                  ;
Z1: expect(Real_RV(r,RV),Prob) = myconst*expect(RV,Prob)
 by ASS0,RANDOM_1:def 2,RANDOM_1:27;
1 expect(Prob=Integral(Prob)RV)
  by ASS0, (G1).  .1
= Omega2 asElement  F2by PROB_15
D1: =om RV :1;
SS: R_EAL RV= proof
proof
   xinrng RV implies 0.< java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
  proof
letxbe 
              myphiFx,^1.0java.lang.StringIndexOutOfBoundsException: Range [76, 75) out of bounds for length 78
   consider             :forn  st n]holdsn+]
    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,=java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 78
   end;
  hence               p,,xG^\)=
  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:,49ASS0,java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
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 hence thesis by SERIES_1:def 1,R;
dom (R_EAL RV) in F2 & 0<=myr by ASS0,FUNCOP_1:forn  Natholds []from NAT_1:sch 2(1,K2;
then Q4: expect(RV,Prob)=myr*(P2M(Prob)).(dom (R_EAL RV)) by Q3,MESFUNC5:            ;
 dom (R_EALRV)=Omega2 & Omega2=[#]F2 by FUNCT_2:def 1; then
expect(RVPortfolioValueFutExtd21,,,,),java.lang.StringIndexOutOfBoundsException: Range [67, 66) out of bounds for length 68
then Spec: expect(Real_RV(r,RV),Prob)=jpi.d*((1/(1+r))*( dom Omega bydef 1;
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 beinghence by2
  set_of_random_variables_on(Special_SigmaField2hence thesis by ASS0;
   A2: for d being ElementofNATholds g.d=U(d) from FUNCT_2:sch 4;
   take g;
let beNat
 d in NAT by ORDINAL1:def 12; then
b1:end;
 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  Special_SigmaField2 by A1ThArbPrel;
 hence thesis by b1;
;

theorem
  for r being Real  >0holds
  for jpi being pricefunction
  for G being sequence of
      set_of_random_variables_on(Special_SigmaField2hence java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
  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  Gjpi, means
  (Risk_neutral_measure_exists_wrt G,jpi,r &
  for s being Nat holds
    jpi.    ford being Nat holds
proof
 let r be Real;
assume  r0;
 let java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 0
 let G be sequence of
    set_of_random_variables_on(Special_SigmaField2,Borel_Setsforrbeing Realst> holds
 : fordbeingNatholds
      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=    f  (Prob) 
  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= assume : r>0java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
  RV is_integrable_on P2M(Prob) &
RV by;
  hence thesis by A0,ThArb;
 end;
 hence thesis;
end;


Messung
CHZG
8010010093

¤ Diese beiden folgenden Angebotsgruppen bietet das Unternehmen0.101Angebot  ¤

*Eine klare Vorstellung vom Zielzustand







                                                                                                                                                                                                                                                                                                                                                                                                     

 

Neuigkeiten

Aktuelles
Motto des Tages

Open Source Software


Gedichte
Musik
Bilder

Jenseits des Üblichen

Besucherstatistik

Besucherstatistik

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