Eine aufbereitete Darstellung der Quelle

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


Impressum finance1.miz   Interaktion und
PortierbarkeitMizar

 

:: Elementary Introduction to Stochastic Finance in Discrete Time
::  by Peter Jaeger
::
:: Received March 22, 2011
:: Copyright (c) 2011-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

java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
      RELAT_1, CARD_1, ARYTM_1, CARD_3, PROB_3, NAT_1, ARYTM_3, XXREAL_0,
      SERIES_1, EQREL_1, SEQ_1, XXREAL_1, MESFUNC1, RANDOM_1, RANDOM_2,
      FUNCOP_1, VALUED_1, FUNCT_7, REAL_1, RANDOM_3;
 TARSKI,XBOOLE_0, ,ORDINAL1, XCMPLX_0 ,NAT_1,
      XREAL_0, NUMBERS, FUNCT_1, RELSET_1, FUNCT_2, PROB_3, SERIES_1, PROB_1,
      MEASURE6, SEQ_1, MESFUNC1, MESFUNC6, RANDOM_1, XXREAL_1,  hencethesisby ,ARSKI 1;
      FUNCOP_1, VALUED_1, RANDOM_2;
 constructors REAL_1, PROB_3, SERIES_1, BINOP_2, RELSET_1, MEASURE6, java.lang.StringIndexOutOfBoundsException: Range [0, 76) out of bounds for length 8
      MESFUNC1, MESFUNC6, RANDOM_2;
 registrations XBOOLE_0, SUBSET_1, ORDINAL1, RELSET_1, NUMBERS, XREAL_0,
      MEMBERED, PROB_1, VALUED_0, XXREAL_0, NAT_1, XCMPLX_0, VALUED_1, FUNCT_2;
 requirements SUBSET, NUMERALS, BOOLE, ARITHM, REAL;
 definitions TARSKI, FUNCT_1, FUNCT_2;
 equalities XXREAL_0, PROB_1, SUBSET_1;
 expansions FUNCT_2;
 theorems SERIES_1, PROB_1,  ;
      ORDINAL1, TARSKI, XREAL_1, XXREAL_1, MESFUNC1, FINSUB_1, MESFUNC6,
      XREAL_0, RANDOM_1, RANDOM_2, FUNCOP_1, VALUED_1, FRECHET, XBOOLE_1,
      FUNCT_1;
 schemes NAT_1, FUNCT_2, RECDEF_1;

begin

 reserve Omega, Omega2 for non empty set;
 java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 4
 reserve Sigma2, F2 for SigmaField of Omega2;

notation
  let a,r be Real;
  synonym halfline_fin(a,r) for [.a,r.[;
end;

definition
  eta,r be ;
  redefine func halfline_fin(a,r) -> Subset of REAL;
  coherence
  proof
    halfline_fin(a,r) = [.a,r.[;
    hence java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 8
  end;
end;

theorem
  for k being Real holds REAL \ [.k,+infty.[ = ].-infty,k.[
 proof
 let k be   cluster {f} {}- with_common_domain
A1: k in REAL by XREAL_0:def 1;
 for x being object holds x in REAL \ [.k,+infty.[ iff x in ].-infty,k.[
 proof
  let x be object;
  hereby assume A2: x in REAL \ [.k,+infty.[;
 A3: x in ].-infty,+infty.[ & not x in [.k,+infty.[
      byjava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
     consider y being Element of REAL such that A4:x=y by A2;
     y in ].-infty,+infty.[ & not y>= java.lang.StringIndexOutOfBoundsException: Range [0, 39) out of bounds for length 22
     hence x in ].-infty,k.[ by A4,XXREAL_1:233;
     end;
  assume A5: x in ].-infty,k.[; then
     k in  assume gin {}java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
     x in {a where a is Element of ExtREAL:
       -infty < a & a  then g = f by TARSKI:def 1;
     consider a being Element of ExtREAL such that
 A6: a=x & -infty < a & a < k;
     consider y being Element of ExtREAL  hence thesisby TARSKI:ef1
     reconsider y as Element of REAL by A1,A6,A7,XXREAL_0:47;
      <kby A5,XXREAL_1:233;
     then y in REAL & not y in [.k,+infty.[ by XXREAL_1:236;
     hence thesis by A7,XBOOLE_0:def 5;
  end;
 hence thesis end;
 end;

theorem Th2:
  for k being Real holds REAL \ ].-infty,k.[ = [.k,+infty.[
 
 let k be Real;
A1: k in REAL by XREAL_0:def 1;
 for x being object holds x in REAL \ ].-infty,k.[ iff x in [.k,java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
 proof
  let x be object;
  hereby assume A2: x in REAL \ ].- let X be functional setjava.lang.StringIndexOutOfBoundsException: Range [26, 27) out of bounds for length 26
 A3: x in ].-infty,+infty.[ & not x in ].-infty,k.[
      by A2,XBOOLE_0:ef5XXREAL_1:224;
     consider y being Element of REAL such that A4:x=y by A2;
 A5: y in ].-infty,+infty.[ & not y< k by A4,A3,XXREAL_1:233;
       .,[by ,A4,XXREAL_1:;
     end;
  assume A6: x in [.k,+infty.[;
     then k in REAL & x in [.k,+infty.[ &
       x in {a where a is Element of ExtREAL:
         k <= a & a < +infty} by XREAL_0:def 1,XXREAL_1:def 2; then
     consider a being Element of ExtREAL such that
 A7: a=x & k <= a & a < +infty;
     consider y being Element of ExtREAL such that A8: x=y byendjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
     reconsider y as Element of REAL by A7,
     y >= k by A6,A8,XXREAL_1:236; then
     y in Lm2     with_common_domainset
     hence thesis by A8,XBOOLE_0:def 5;
  end;
 hence thesis by TARSKI:2;
 end;

definition
  let a,b be Real;
  func half_open_sets(a,b) -> SetSequence of REAL means  :Def1:
  it.0 = halfline_fin(a,b+1) &
  for n being Nat holds it.(n+1) = halfline_fin(a,b+1/(n+1));
existence
proof
  defpred P[set,set,set] means for x,y being Subset of REAL,s being Nat holds
  s = $1 & x = $2 & y = $3 implies y = halfline_fin(a,b+1/(s+1));
A1: for n being Nat for x being Subset of REAL
  ex y being Subset of REAL st P[n,x,y]
  proof
    let n be Nat;
    let x be Subset of REAL;
    take halfline_fin(a,b+1/(n+1));
    thus thesis;
  end;
  consider F being SetSequence of REAL such that
A2: F.0 = halfline_fin(a,b+1) and
A3: for n being Nat holds P[n,F.n,F.(n+1)] from RECDEF_1:sch 2(A1);
  take F;
  thus F.0 = halfline_fin(a,b+1) by A2;
  let n be Nat;
  reconsider n as Element of NAT by ORDINAL1:def 12;
  P[n,F.n,F.(n+1)] by A3;
  hence thesis;
end;
uniqueness
proof
  let S1,S2 be SetSequence of REAL such that
A4: S1.0 = halfline_fin(a,b+1) & for n being Nat holds
    S1.(n+1) = halfline_fin(a,b+1/(n+1)) and
A5: S2.0 = halfline_fin(a,b+1) & for n being Nat holds
    (a,b+1/(+1);
    defpred P[object] means S1.$1 = S2.$1;
    for n being object holds n in    X  ;
    proof
      let n be object;
      assume     A set   f  is   ;
      then reconsider n as Element of NAT;
:   [0 A;
A7:   for k being Nat st P[k] holds P[k+1]
      proof
        let k be Nat;
        assume S1.k = S2.k;
        thus S1.(k+1) = halfline_fin(a,b+1/(k+1)) by A4
           .(+) by A5;
      end;
      for k being Nat holds P[k] from NAT_1:sch 2(A6,A7);
      then S1.n = S2.n;
          then
    end;
    hence thesis;
end;
end;

A2  {  }cA  :31;
  mode pricefunction -> Real_Sequence means :Def2:
  it.0 = 1 & for n java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 24
existence
proof
  reconsider j = 1 as Element of REAL by java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 31
  take NAT       i;
  thus thesis by FUNCOP_1:7;
end;
 assume   dom;

notation
  let phi,jpi be Real_Sequence;
  synonym ElementsOfBuyPortfolio(phi,jpi) for phi (#) jpi;
end

definition
  let phi,jpi be Real_Sequence;
  redefine func java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 19
  coherence
  proof
    ElementsOfBuyPortfolio(phi,jpi) = phi (#) jpi;
    hence thesis;
  end;
end;

definition
  let beNat;
  let phi,jpi be Real_Sequence;
  func BuyPortfolioExt(phi,jpi,d) -> Real equals
  Partial_Sums(ElementsOfBuyPortfolio(phi,jpi)).d;
  coherence;
  func BuyPortfolio(phi,jpi,d) -> Real equals
Partial_Sums(ElementsOfBuyPortfolio(phi,jpi)^\1).(d-1);
  coherence;
end;

definition
  let Omega, Omega2 be set;
  let Sigma be   let Sigma be SigmaField that
  let Sigma2 be SigmaField of Omega2;
  let X be Function of Omega, Omega2;
attr   (Sigma,)random_variable- means
  for x being set st x in Sigma2 holds X"x in Sigma;
end;

Lm1:
  for Omega, Omega2 be non empty set,
      F be Function of Omega, Omega2,
empty set 
  {z where z is Element of Omega: F.z is Element of y} = F"y
proof
  let Omega, Omega2 be non empty set,
      F be Function of Omega, Omega2,
      y be      xbeing  st x   fholds.=g.x
  set D = {z where z is Element of Omega: F.z is Element of y};     roof  x  ;
  for x be object holds x in D iff x in F"y
  proof
    let x be object;
    hereby assume x in D; then
      consider z be: f;
A1:   x = z & F.z is Element of y;
      z in        hence f (, A6. .by,A9A8java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
A2:   z in dom F by FUNCT_2:def 1;
      F.z in y by A1; then
      z in F"y A1 i   product" S;
      hence x in F"y by A1;
    end;
    assume x in F"y; then
 object
    thus x in D by A3;
  end;
  hencexin pjava.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 31
   x Si A1;

LemmaExample:
   beingof ,Omega2
    f = Omega --> the Element of Omega2 holds
    f is (F,F2)-random_variable-    hence x in the set of all f.i where f is Element of S;
  proof
   set k = the Element of Omega2;
   set z   ;
   for x being Element of F2 holds z"x in F
   proof
    let x be Element of F2;
    set K=z"x;
A2:  dom z = Omega by FUNCT_2:def 1;
per ;
     suppose A3: k in x;
       for s being object holds s in K iff   ex   Sx ijava.lang.StringIndexOutOfBoundsException: Range [42, 43) out of bounds for length 42
       proof
         let s be object;
        thus s in K implies s in Omega;
         assume s in Omega; then
         s in Omega & z.s in x by A3;
         hence thesis by A2,FUNCT_1:def 7;
       end; then
       K = Omega by TARSKI:2; then
K   :23
       hence thesis;
     end;
     suppose A4: not k in x;
       for r being object holds not r in K
       java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 0
         let r be object;
         assume r in K; then
         r in 
         hence thesis by A4,FUNCOP_1:7;
       end;
       then K={} by XBOOLE_0:def 1;
       hence thesis by PROB_1:4;
     end;
   end;
  hence thesis;
  end;

registration
  let Omega1, Omega2 be non empty set;
let  beofOmega1java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
java.lang.StringIndexOutOfBoundsException: Range [6, 5) out of bounds for length 33
   S1)forjava.lang.StringIndexOutOfBoundsException: Range [52, 51) out of bounds for length 70
  existence
  proof
    A5: dom= D
    reconsider f as Function of Omega1, Omega2;
    take.doms  
    thus thesis by LemmaExample;
  end;
end;

definition
  let Omega, Omega2 be non empty set;
  let F be SigmaField of Omega;
  let F2 be SigmaField of Omega2;
  mode   for beingz  dom    pjava.lang.StringIndexOutOfBoundsException: Range [51, 52) out of bounds for length 51
    (F,F2)-random_variable-like Function of Omega, Omega2;
end;

definition
  let Omega, Omega2 be set;
  let F be SigmaFieldassume
  let F2 be SigmaField of Omega2;
func(, >
   { M where M is Function of Omega, Omega2:
     M is (F     .in( .java.lang.StringIndexOutOfBoundsException: Range [33, 31) out of bounds for length 43
  coherence;


registration
  let Omega,Omega2,F,F2;
  cluster then ex f being Function S .  .z 
coherence
proof
  set X = java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 30
  ex z being Function of Omega,Omega2  java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
  proof
   set k = the Element of Omega2;
   set z = Omega --> k;
A1: z is (F,F2)-random_variable-like iff
   (for x being set st x in F2 holds z"x in F);
   for x being Element of F2 holds z"x in F
   proof
    let x be Element of F2;
    set K=z"x;
A2:  dom z = Omega by FUNCT_2:def 1;
     per cases;
     suppose A3: k in x;
       for s being object holds s in K iff s in Omega
       proof
         let s be object;
        thus s in K implies s in Omega;
         assume s in Omega; then
         s in Omega & z.s in x by A3,FUNCOP_1:7;
         hence thesis by A2,FUNCT_1:def 7;
       end; then
       K = Omega by TARSKI:2; then
       K is Element of F by PROB_1:23;
       hence thesis;
     end;
     suppose A4: not k in x;
       for r being object holds not r in K
       proof
         let r be object;
         assume r in K; then
         r in dom z & z.r in x by FUNCT_1:def 7;
         hence thesis by A4,FUNCOP_1:7;
       end;
       then K={} by XBOOLE_0:def 1;
       hence thesis by PROB_1:4;
     end;
   end;
  hence thesis by A1;
  end;
  then consider z being Function of Omega,Omega2 such that
A5: z is (F,F2)-random_variable-like;
  z in X by A5;
  hence thesis;
end;
end;

registration
  let Omega,Omega2,F,F2;
F, >
  coherence
  proof
    let x be object;
    assume x in set_of_random_variables_on
    then consider z being Function of Omega,Omega2 such that
A5: z = x & z is (F,F2:: from AMI_1, 2008.04.11, A.T. (generalized)
    x is Function by A5;
java.lang.StringIndexOutOfBoundsException: Range [0, 4) out of bounds for length 0
  end;
end;

definition
  let Omega, Omega2 be non empty set;
  let F be SigmaField of  ,   set 
  let F2 be SigmaField of Omega2;
  let X be s +* t|A is Element|A java.lang.StringIndexOutOfBoundsException: Range [34, 35) out of bounds for length 34
A1:X = set_of_random_variables_on(F,F2);
  let k be Element of X;
  func Change_Element_to_Func(F,F2,klet be
   java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 35
  ;
  coherence
  proof
    k in X by A1; 
    ex f being Function of Omega,Omega2 st f=k &
      f is (F,F2)-random_variable-like by A1;
    p   ;
  end;
end;

definition
  O be empty;
  let F be SigmaField of Omega;
  let X be non   reconsider s = h + Element  Th53java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
  let k be Element of X;
  func ElementsOfPortfolioValueProb_fut(  :;
  :Def8:
  for w being Element java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 0
    it.w = Change_Element_to_Func(F,Borel_Sets,k).w;
existence
proof
  deffunc U(Element of Omega) = Change_Element_to_Func(F,Borel_Sets,k).$1;
  ex f being Function of Omega,REAL st
 ford be Element of holdsf.d=U()from FUNCT_2:sch4java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
  ;
end;
uniqueness
proof
  let f1,f2 be Function hence thesis by A1,Th64,RELAT_1
  assume that
A1: for w being Element ofend;
   f1.w = Change_Element_to_Func(F,Borel_Sets,k).w and
A2: for w being Element of Omega holds
   f2.w = Change_Element_to_Func(F,Borel_Sets,k).w;
   let w be Element of Omega;
   f1.w = Change_Element_to_Func(F,Borel_Sets,k).w &
   f2.w = Change_Element_to_Func(F,Borel_Sets,k).w by A1,A2;
   hence thesis;
end;
end;

definition
  let p be Nat;
  let Omega, Omega2 be non empty set;
  let F be SigmaField of Omega;
  let F2 be SigmaField of Omega2;
  letdefinition
A1: X = set_of_random_variables_on(F,F2);
  let G be sequence of X;
   F,,p>java.lang.StringIndexOutOfBoundsException: Range [40, 39) out of bounds for length 70
  G.p;  let  be java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 32
  coherence
proof
 reconsider p as Element of NAT by   let Xjava.lang.StringIndexOutOfBoundsException: Range [8, 9) out of bounds for length 8
 G.p in {f where f is   redefine  gX-  ;
   f is (F,F2)-random_variable-like} by A1;
 coherence  ;
   f=G.p & f is (F,F2)-random_variable-like;
 hence thesis;
end;
end;

java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
  let Omega be non empty set;
  let F be SigmaField of Omega;
  let X be non empty A1  in product M;
  let w be Element of Omega;
  let G be sequence of X;
  let   set    java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
    set    ;
    :Def10:
  for n being Element of NAT holds
  nFG..  .java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
existence
proof
  object xdomMggx .x Def5
    In(ElementsOfPortfolioValueProb_fut(F,G.$1).w * phi.$1,REAL);
  then
A1:  for d be Element of NAT holds f.d = U(d) from FUNCT_2:sch 4;
  take f;
  let n be Element of NAT;
   f.n = U(n) by A1;
  hence thesis;
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
uniqueness
proof
   java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 29
  assume that
A2: for d being Element java.lang.StringIndexOutOfBoundsException: Range [0, 26) out of bounds for length 10
  ElementsOfPortfolioValueProb_fut(F,G.d).A4yin ;
A3: for d being Element of NAT holds f2.d =
  ElementsOfPortfolioValueProb_fut(F,G.d).w * phi.d;
  let d be ElementA5  ing11java.lang.StringIndexOutOfBoundsException: Range [29, 30) out of bounds for length 29
f1  java.lang.StringIndexOutOfBoundsException: Range [42, 41) out of bounds for length 60
  f2.d = ElementsOfPortfolioValueProb_fut(F,G.d).w * phi.d byA7 y=x(. A5,:java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
  hence thesis;
end;
end;

definition
  let d be Nat;
  hencexgyin y A2,,;
  let Omega be non empty set;
  let F  ;
  let X be non empty set;
  let G be sequence  Djava.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
  let w be Element of Omega;
  func PortfolioValueFutExt(d,phi,F,G,w) -> Real equals
  Partial_Sums
  coherence;
  func PortfolioValueFut(d,phi,F,G,w) -> Real equals:: moved from CARD_4, 2008.10.08, A.T.
  Partial_Sums(ElementsOfPortfolioValue_fut(phi,F,w,G)^\1).(d-1
  coherence;
end;

ation
  cluster non empty for Element of Borel_Sets;
 existence
  proof
    consider m being Real such that A1: m>-infty;
    set L = halfline(m);
    set LL = Family_of_halflines;
  non Xjava.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 37
    m in REAL by XREAL_0:def 1; then
A3: L in LL;
theorem :
    hence thesis by A3,A2;
  end;
end;

java.lang.StringIndexOutOfBoundsException: Range [11, 7) out of bounds for length 12
  for k being Real holds
ets java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
  ].-infty,k.[ is Element of Borel_Sets
proof
 let k be Real;
A1: k in REAL by XREAL_0:def 1;
 set R = ].-infty,k.[;
 A2: ].-infty,k
 proof
  set L = halfline(k);
A3: L in 
  Family_of_halflines c= sigma(Family_of_halflines) by PROB_1:def 9;
  ;
 end; then
 R` in Borel_Sets by PROB_1:def 1;
 hence thesis by Th2,A2;
end;

theorem Th4:
  for k1,k2 being Real holds
  [.k2,k1.[ is A2: not M is finite
proof
 let k1,k2 be Real;
  .inftyk2.java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
 omega=byA2
A1: -infty<k2 & k1<+infty by XXREAL_0:9,12;
A2: REAL \ ].-infty,k2.[=[.k2,+infty.[ by java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 8
 R` is Element of Borel_Sets &
     ].-infty,k1.[ is Element of Borel_Sets & ,  ;
     [.k1,+infty.[ is Element of Borel_Sets by Th3,A2; then
 ].-infty,k1.[ /\ R` is Element of Borel_Sets by FINSUB_1:def 2; then
 ].-infty,k1.[ /\ [.k2,+infty.[ is Element of Borel_Sets by Th2;
 A2: one-and
end;

theorem Th5:
  for a,b A3: dom f = card X and
   Intersection half_open_sets(a,b) is Element of Borel_Sets
 proof
  let a,A4:   ;
  for n being Nat holds
    (Complement half_open_sets(a,b)).n is java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 24
  proof

    reconsider nn=n as Element of NAT by ORDINAL1:def 12;
   (half_open_sets(a,b)    Y
   proof
     half_open_sets(a,b).n is Element of Borel_Sets
     proof
      per cases by NAT_1:6;
      suppose A1: n=0;
        half_open_sets(a,b).0=halfline_fin(a,b+1) by Def1;
        hence thesis by A1,Th4;
      end;
      suppose ex k being Nat st n = k + 1; then
        consider k being Nat such that A2: n=k+1;
        reconsider    iff=java.lang.StringIndexOutOfBoundsException: Range [44, 43) out of bounds for length 45
        half_open_sets(a,b).(k+1) =
          a,+/k+))by;
        hence thesis by A2,Th4;
      end;
      end;
     hence thesis by PROB_1:def
     end;
     hence thesis by PROB_1:def 2;
  end; then
  Complement half_open_sets(a,b)
    is SetSequence of java.lang.StringIndexOutOfBoundsException: Range [0, 32) out of bounds for length 21
  Union Complement half_open_sets(a,b)
entof Borel_Sets  :6;
  hence thesis by PROB_1:def 1;
end;

theorem Th6:
  for a,b being Real holds
  Intersection half_open_sets(a,    = cardX&card  in nextcard  CARD_1def java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
proof
  let a,b be Real;
A1: for c be set holds
  not c  [a.]implies c  Intersection half_open_sets(a,)
  proof
    let c be set;
    
A2: not c in [.a,b.];
    per cases by A2;
    java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 0
      hence
    end;
    suppose
A3:  c in REAL & not c in [.a,b.];
      then  as REAL
A4:  not c in {q where q is Element of ExtREAL:
          a <= q & q <= b} by A3,XXREAL_1:def 1;
A5:  a > c or c > b
      proof
        reconsider q = c as Element of ExtREAL by XXREAL_0:def 1;
        not (c = q & a <= c & c <= b) by A4;
        hence thesis;
      end;
      per cases by A5;
      suppose A6: a > c;
        not for n being Element of NAT holds c in half_open_sets(a,b).n
        proof
          take n = 0;
          c in half_open_sets(a,b).
          c java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
          c in(,).
          c in {q where q is Element of ExtREAL:
            a <= q & q < b+1} by XXREAL_1:def 2; then
        ex q being Element of ExtREAL st c in half_open_sets(a,b).0 implies
            c = q & a <= q & q  N   iff =java.lang.StringIndexOutOfBoundsException: Range [28, 29) out of bounds for length 28
          hence thesis by A6;
        end;
        henceMiff M  NbyCARD_14;
      end;
      suppose c > b;
        thenconsidern  suchthat
   A7: 1/n<(c-b) & n > 0 by FRECHET:36,XREAL_1:50;
   A8: (1/n)+b<(c-b)+b by A7,XREAL_1:6;
        c java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
        proof
          assume c in Intersection half_open_sets(a,b); then
          c in half_open_sets(a,b).(n+1) by PROB_1:13; then
         in .,b1/n)[ 
          c in {q where q is Element of ExtREAL:
          a<=q & q<b+1/(n+1)} by XXREAL_1:def 2; then
          consider q being Element of ExtREAL such that
: = &a<q &  1(+)java.lang.StringIndexOutOfBoundsException: Range [33, 34) out of bounds for length 33
=  NAT
  n*1<(n+1)*1 by NAT_1:13; then
:a/n1</ X106;
  b+1/(n+1)<b+1/n by A10,XREAL_1:6;
  hence thesis by A9,XXREAL_0:2;
end;
hence thesis by A8;
end;
end;
end;
A11:for c be set holds c in [.a,b.] implies
c in Intersection half_open_sets(a,b)
proof
  let c be set;
  c in [.a,b.] implies
    for n being Nat holds c in half_open_sets(a,b).n
 proof
  assume A12: c let ;
  let n be Nat;
A13: b<b+1 by XREAL_1:29;
  [.a,b.] c= attr X is countable
  proof
   per cases;
   supposeA14 0
    half_open_sets(a,b).0=halfline_fin(a,b+1) by Def1;
    hence thesis by A14,A13,XXREAL_1:43;
    end;
   suppose n>0; then
     consider k being Nat such that
A15: n=k+1 by NAT_1:6;
     reconsider k e;
A16: half_open_sets(a,b).(k+1) = halfline_fin(a,b+1/(k+1)) by Def1;
     b<b+1/n by A15,XREAL_1:29;
    hence thesis by A16,A15,XXREAL_1:43;
    end;
  end;
  hence  cluster denumerable -> countable infinite for set;
 end;
 hence thesis by  ;
 end;
 for c being object holds
   c in Intersection half_open_sets(a,b) iff c in [.a,b.] by A11,A1;
 java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
end;

theoremlet be set
  for a,b being Real, n being Nat holds
  (Partial_Intersection half_open_sets(a,b)).n is Element of Borel_Sets
proof
 let a,b be Real;
 defpred J[Nat] means
   half_open_setsa,)$1 is Elementof java.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 73
A1: J[0]
proof
  (Partial_Intersection half_open_sets(a,b)).0 =
    half_open_sets(a,b).0 by PROB_3:def 1; then
  (Partial_Intersection half_open_sets(a,b)).0 =
    halfline_fin(a,(b+1)) by Def1;
  hence thesis by Th4;
end;
A2: for k being Nat st J[k] holds J[k+1]
proof
 let k be Nat;
 assume A3: (Partial_Intersection half_open_sets(a,b)).k
   is Element of Borel_Sets;
 reconsider k as Element of NAT by java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 12
(Partial_Intersection half_open_sets(a,b)).(k+1) =
(Partial_Intersection half_open_sets(acoherence;
half_open_sets(a,b).(k+1) by PROB_3:def 1; then
A4: (Partial_Intersection half_open_sets(a,b)).(k+1) =
(Partial_Intersection half_open_sets(a,b)).k /\
halfline_fin(a,(b+1/end;
[.a,b+1/(k+1).[ is Element of Borel_Sets &
(Partial_Intersection half_open_sets(a,b)).k
  is Element of Borel_Sets by Th4,A3;
hencethesisby A4,:def 2;
end;
for k being Nat holds     -d;
hence thesis;
end;

theorem Th8:
for k1,k2 being java.lang.StringIndexOutOfBoundsException: Range [0, 20) out of bounds for length 12
proof
  let a,b be Real;
  Intersection half_open_sets(b,a) = [.b,a.]java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  hence thesis by Th5;
end;

theorem Th9:
for X being Function of Omega,REAL st
   X is (Sigma,Borel_Sets)-random_variable-like holds
(for k being Real holds
{w where w is Element of Omega: X.w >=k} is Element of Sigma &
{w where w is Element of Omega: X.w <k} is Element of Sigma) &
(for k1,k2 being Real st k1<k2 holds
{w where  isElementof : k1 < X. &X.  k2} is  of Sigma &
(for k1,k2 being Real st k1<=k2 holds
{w where w is Element of Omega: k1 <= X.w & X.w <= k2} is Element of Sigma) &
(for r being Real holds
       end;
(for r being Real holds
       great_eq_dom(X,r) = {w where w is Element of Omega: X.w >=r}) &
(for r being Real holds
       eq_dom(X,r) = {w where w is Element of Omega: X.w =r}) &
(for r being Real holds eq_dom(X,r) is Element of Sigma)
proof
     of Omega,REAL;
 assume A1: X is (Sigma,Borel_Sets)-random_variable-like;
A2: for k being Real
 {w where w is Element of Omega: X.w >=k} is Element of Sigma &
 {w where w is Element of Omega: X.w <k} is Element of Sigma
proof
 let k be Real;
A3:for being  
 (ex w being Element of Omega st q=w & X.w >=k) iff
 (ex w being Element of Omega st q=w & X.w in [.k,+infty.])
 proof
 let q be set;
 now assume ex w being Element of Omega st q=w & X.w in [.k,+infty.]; then
  consider w being Element of Omega such that
  A4: q=w & X.w inA1:cardYc= X byCARD_1:11;
  X.w in {z where z is Element of ExtREAL: k<=z & z<=+infty}
   by A4,XXREAL_1:def 1; then
  ex z being Element of ExtREAL st X.w     Y=omega A1;
  hence ex w being Element of Omega st q=w & X.w >=k by A4;
  end;
  hence thesis by XXREAL_1:219;
  end;
A5:for x being object java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
x w is  Xw >ijava.lang.StringIndexOutOfBoundsException: Range [51, 52) out of bounds for length 51
   x in {w where java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  proof
   let x be objectt
   x in {w where w is Element of Omega:X.w >=k} iff
     beingElement of st=w& X. >k;then
A6: x in {w where w is Element of Omega:X.w >=k} iff
   ex   by LmXBOOLE_117
   x in {w where w is Element of Omega:X.w in [.k,+infty.]} iff
   x in {w where w is Element of Omega:X.w in [.k,+infty.[}
   proof
    hereby assume
    x in {w where w is Element of Omega:X.w in 
    then consider w being Element of Omega such that
    A7: w=x & X.w in [.k,+infty.];
    X.w in {a   for Abeing non empty countable set
     by A7,XXREAL_1:def 1; then
    consider a being Element of ExtREAL such that
    A8:Xw =  &k=a&a<+infty;
    A9: X.w = a & k<=a & a<+infty by A8,XXREAL_0:9;
    java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
      [.k,+infty.[ by XXREAL_1:def 2; then
    X.w in [.k,+infty.[ by A9;
    hence x in {g where g is Element of      Function  that
    end;
    assume x in {A1:  f =omega and
    consider w being Element of Omega such that
     A10: w=x & X.w in [.k,+infty.[;
    w=x & X.w in {u where u is Element of ExtREAL: consider x being object such that
      u<+infty} by A10,XXREAL_1:def 2; then
    =x &  u being of ExtREAL u.w &<=  <infty
    then w=x & X.w in {u where u is Element of ExtREAL: k<=u & u<=+infty};
    then w=x & X.w in [.k,+infty.] by XXREAL_1:def 1;
    hence thesis;
   end;
   hence thesis by A6;
  end;
  k in REAL by XREAL_0:def 1; then
A11: [.k,+infty.[ is non empty by XXREAL_0:9,XXREAL_1:31;
 of OmegaXw =}=
  {w where w is Element of Omega:X.w is Element of [.k,+infty.[}
  proof
   {w where w is Element of Omega:X.w in [.k,+infty.[} =
   w  w is Element  Omega:. Elementof [k,infty.}
   proof
    for x being object holds
     x in {w where w is Element of Omega:X.w in [.k,+infty.[} iff
       { where  is  of Omega:.   of [.k,+infty.[}
    proof
     let x be object;
     hereby assume
xin{ where w Element Omega:. in [k,+nfty.[};then
       ex w being Element of Omega st w = x & X.w in [.k,+infty.[;
       hence
x in {w where w is Element of Omega:X.w is Element of [.k,+infty.[};
     end;
assume
    x in {w where w is Element of Omega:X.w is Element of [.k,+infty.[};
    then consider w being Element of Omega such that
 A13: w = x & X.w is Element of         .= rng(|(f")) \/{  A8
    thus thesis by A13,A11;
        =f:(f") by :
   hence thesis by TARSKI:2;
   end;
   hence thesis by A5,TARSKI:2;
 end;
A14: [.k      thus
    ].-infty,k.[ is Element of Borel_Sets by Th3;
A15: {w where w is Element of Omega: X.w is Element of [.k,+infty.[}
     = X"([.k,+infty.[) by Lm1,A11;
A16: for q being set holds
 (ex w being Element of Omega st q=w & X.w <k) iff
 e w  Element  Omega stq= &Xwin [-infty,k[)
 proof
 let q be set;
  now assume ex w being Element of Omega         =dom("A)\/{ A8
  consider w being Element of Omega such that
  A17: q=w & X.w in [.-infty,k.[;
  X.w in {z where z is Element of ExtREAL    end;
    by A17,XXREAL_1:def 2; then
   zbeingElementofExtREAL st X.w=z &infty=&z;
  hence ex w being Element of Omega st q=w & X.w <k by A17;
  end;
  hence thesis by XXREAL_1:221;
  end;
   for x being object holds
        =f:(") \/{}by :115
   java.lang.StringIndexOutOfBoundsException: Range [39, 38) out of bounds for length 59
  proof
   let x be object;
   x in {w where w is Element of Omega:X.w <k} iff
   ex w being Element of Omega st x=w & X.w <k; then
   A18: x in {w where w is Element of Omega:X.w <k} iff
   ex w being Element of Omega st x=w & X.w in [.-infty,k.[ by A16;
   x in {w where w   let f,g be non-emptjava.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 41
   x in   let x be Element *)java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
   proof
    hereby A2: dom  java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
    x in {w where w is Element of Omega:X.w in [.-infty,k.[}A3:  (*)  java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 49
    consider w being Element of Omega such that
A19: w=x & X.w in [.-infty,k.[;
    X.w in {a where a is Element of ExtREAL: -infty<=a & a<k}
     by A19,XXREAL_1:def 2; then
    consider a being Element of ExtREAL such that
    A20: X.w = a & -infty<=a & a<k;
    A21: X.w = a & -infty<a & a<k by A20,XXREAL_0:12;
    {z where z is Element of ExtREAL: -infty<z & z<k} =
       ].-infty,k.[ by XXREAL_1:def 4; then
    X.w in ].-infty,k.[ by A21;
    hence x in {g where g is Element of Omega:X.g in ].-infty,k.[} by A19;
    end;
    assume x in {w where w is Element of Omega:X.w in ].-infty,k.[}; then
    consider w being Element of Omega such that
    A22: w=x & X.w in ].-infty,k.[;
    w=x & X.w in {u where u is Element of ExtREAL: -infty<u & u<k}
      by A22,XXREAL_1:def 4; then
    w=x & ex u being Element of ExtREAL st u=X.w & -infty<u & u<k;
    then w=x &
    X.w in {u where u is Element of ExtREAL: -infty<=u & u<k}; then
    w=x & X.w in [.-infty,k.[ by XXREAL_1:def 2;
    hence thesis;
   end;
   hence thesis by A18;
  end; then
A23: {w where w is Element of Omega:X.w <k} =
  {w where w is Element ofA4: domf =domx by :7;
 {w where w is Element of Omega:X.w <k} is Element of Sigma
 proof
A24: [.k,+infty.[ is Element of A24: [.k,+infty.[ is Element of Borel_Sets7;
  ].-infty,k.[ is Element of Borel_Sets by Th3;
  k in REAL by XREAL_0:def 1; then
A25: ].-infty,k.[ is non empty by XXREAL_0:12,XXREAL_1:33; then
lement .  ]-k[
     = X"(].-infty,k.[) by Lm1;
    for x being object holds
     x in {w where w is Element of Omega: X.w in ].-infty,k.[} iff
     x in {w where w is Element of Omega: X.w is Element of ].-infty,k.[}
    proof
     let x be object;
     hereby assume
       xin {where is Elementof X .} 
       ex w being Element of Omega st w = x & X.w in ].-infty,k.[;
       hence
       x in {w java.lang.StringIndexOutOfBoundsException: Range [2, 1) out of bounds for length 6
     end;
     assume
     x in {w where w is Element of Omega:X.w is Element of ].-infty
     then consider w being Element of Omega such that
 A27: w = x & X.w is:missing 06 ..
     thus thesis by A27,A25;
    end; then
  {w where w is Element of Omega:X.w <k} =
  {theorem  Th97:
    by A23,TARSKI:2
    .= X"(].for   f Function
  hence thesis by A24,A1;
 end;

end;

A28: for k1,k2 being Real st k1<k2 holds
{w where w is Element of Omega: k1 <= X.w & X.w < k2} is Element of Sigma
proof
 let k1,k2 be
 assume A29: k1<k2; then
 java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
 {w where w is Element of Omega:k1 <= X.w & X.w < k2} is Element of Sigma
 proof
   for x being object holds
xinw where wis  of Omega:k1 < Xw&X. < k2} iff
   x in {w where w is Element of Omega:X.w is Element of [.k1,k2.[}
  proof
   let x be object;
   hereby assume x in {w where w is Element of Omega:k1 <= X.w & X.w < k2};
      then consider w being Element of Omega such that
A31:xw &k1 =Xw & .w  ;
      reconsider a=X.w as Element of ExtREAL by XXREAL_0:def 1;
      a=X.w; then
      X.w in {z where z is Element of ExtREAL: k1 <= z & z < k2} by A31; then
      X.w is Element of [.k1,k2.[ by XXREAL_1:def 2;
      hence x in {w1 where w1 is Element of Omega:
           X.w1 is Element of [.k1,k2.[} by A31;
      end;
      assume x in {w where w is Element of Omega:
       X.w  Element of [.k1,k2.[}; then
      consider w being Element of Omega such that
     A32: x=w & X.w is Element of [.k1,k2.[;
      A33: [.k1,k2.[ is non empty by A29,XXREAL_1:31;
      X.w in [.k1,k2.[ by A32,A33; then
      X.w in {a where a is Element of ExtREAL:
              k1 <=a & a end;
      ex a being Element of ExtREAL st a=X.w & k1 <=a & a <k2;
      hence thesis by A32;
  end; then
  A34: {w where w is Element of Omega letf be Function;
  {w where w is Element of Omega:X.w is Element of [. cluster >for  sproductfjava.lang.StringIndexOutOfBoundsException: Range [52, 53) out of bounds for length 52
A35:  [.k2,k1.[ is Element of java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 11
  [.k1,k2.[ is Element of Borel_Sets by Th4;
 w   is   :X. is  [k1,2.[
   = X"([.k1,k2.[) by Lm1,A30;
  hence thesis by A1,A34,A35;
end;
hence thesis;
end;
A36: for k1,k2 being Real st k1<=k2 holds
  {w where w is Element of Omega: k1 <= X.w & X.w <= hjava.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
proof
  k1k2 ;
  assume A37: k1<=k2; then
A38: [.k1,k2.] is non empty by XXREAL_1:30;
  for x being object holds
   (x in {w  s  -java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 43
     wis Omegaw of[,2.)
  proof
   let x be object;
   hereby assume x in {w where w is Element of Omega:k1 <= X.w & X.w <= k2};
      then  wbeingElementof Omega  
A39:  x=w & k1 <= X.w & X.w <= k2;
      reconsider a=X.w as Element of ExtREAL by XXREAL_0:java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 5
      a=X.w; then
      X.w in {z where z is Element of ExtREAL:
         k1 <= z & z <= k2} by A39; then
      X.w is Element let I be ,fbe  java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
      hence -totaljava.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 43
         X.w1 is Element of [.k1,k2. java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
      end;
      assume x in {w where w is Element of Omega:
        X.w is Element of [.k1,k2.]}; then
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
       A40: 
      A41: [.k1,k2.] is non empty by A37,XXREAL_1:30;
      X.w in [.k1,k2.] by A40,A41; then
      X.w in {a where a is Element of ExtREAL let Mbe f- ManySortedSet I;
              k1 <=a & a <=k2}  func  M >   M;
      ex a being Element of ExtREAL st a=X.w & k1 <=a & a <=k2 coherence by Th104;
      hence thesis by A40;
  end; then
  A42: {w where w is Element of Omega:k1 <= X.w & X.w <= k2} =
  {w where w is Element of Omega:X.w is Element of [.java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 7
A43: [.k1,k2.[ is Element of Borel_Sets &
java.lang.StringIndexOutOfBoundsException: Range [22, 2) out of bounds for length 48
  {w where w is Element of Omega: X.w is Element of [.k1,k2.]}
    = X"([.k1,k2.]) java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 7
  hence thesis by A1,A42,A43;
end;
A44: for r being java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 18
       less_dom(X  x ,  java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 63
  proof
   let r be Real;
   for x being object holds
    x in less_dom(X,r) iff x in {w where w is Element of   consider  being object suchthat
pjava.lang.StringIndexOutOfBoundsException: Range [8, 9) out of bounds for length 8
    let x be object;
java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 40
     x in less_dom(X,r) iff x in dom X & X.xx < r byA3   AbyA2java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
     for Y  Y in  implies  inY
    x in less_dom(X,r) iff ex q being Element of Omega st q=x & X.q<r;
    hence thesis;
   end;
  hence thesis by TARSKI:2;


A45: for r      hence x in by java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
  great_eq_dom(X,r) = {w where w is Element of Omega: X.w >=r}
  proof
   let r be Real;
   for x being object holds x in great_eq_dom(X,r) iff
    x in {w where w is Element of Omega:X.w >=r}
   proof
    let x be object;
    java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 40
    x in great_eq_dom(X,r  for x   st x  X()
    x in great_eq_dom(X,r) iff x in Omega & X.xx >= r by FUNCT_2:def 1; then
    x in great_eq_dom(X,r) iff ex q being Element of Omega st q=x & X.q>=r;
    hence thesis;
   ;
   hence thesis by TARSKI:2;
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4

A46: for r being Real holds
       eq_dom(X,r) = {w where w is Element of Omega: X.w = r}
  proof
   let r be Real;
   for x being object holds x in eq_dom(X,r) iff
    x in {w where w is Element of Omega:X.w =r}
   proof
    let x be object;
    x in eq_dom(X,r) iff x in dom X & X.x = r by MESFUNC1:def 15; then
    x in eq_dom(X,r) iff x in Omega & X.x = r by FUNCT_2:def 1; then
    x in eq_dom(X,r) iff (ex q being Element of Omega st q=x & X.q=r);
    hence thesis;
   end;
   hence thesis by TARSKI:2;
end;
  for r being Real holds eq_dom(X,r) is Element of Sigma
  proof
    let r be Real;
    for x being object holds
      x in {w where w is Element of Omega: r <= X.w & X.w <= r} iff
       x in {w where w is Element of Omega: X.w=r}
    proof
      let x be object;
      x in {w where w is Element of Omega: r <= X.w & X.w <= r} iff
      ex q being Element of Omega st x=q & r<=X.q & X.q<=r; then
      x in {w where w is Element of Omega: r <= X.w & X.w <= r} iff
      ex q being Element of Omega st x=q & X.q=r by XXREAL_0:1;
      hence thesis;
    end; then
    {w where w is Element of Omega: r <= X.w & X.w <= r} =
    {w where w is Element of Omega: X.w=r} by TARSKI:2; then
    {w where w is Element of Omega: X.w=r} is Element of Sigma by A36;
    hence thesis by A46;
  end;
  hence thesis by A2,A28,A36,A44,A45,A46;
end;

theorem
  for s being Real, f being Function of Omega, REAL st f = Omega --> s holds
    f is (Sigma,java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 0
proof
 letjava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
 letletjava.lang.StringIndexOutOfBoundsException: Range [7, 6) out of bounds for length 15
 assume A0:antonym X is for X is countable;
 X is (Sigma,Borel_Sets)-random_variable-like
 proof
   let x be set;
   per cases;
   suppose
A1: s in x;
 for q being object holds
    q in {w where w is Element of Omega: X.w is Element of x} iff q in Omega
 proof
  let q be object;
  hereby assume
    q in {w where w is Element of Omega: X.w is Element of x}; then
    ex w being Element of Omega st w=q & X.w is Element of x;
    hence q in Omega;
  end;
  assume q in Omega;
  then reconsider w = q as Element of Omega;
  X.w is Element of x by A1,FUNCOP_1:7,A0;
  hence thesis;
 end; then
A2: {w where w is Element of Omega: X.w is Element of x}=Omega by TARSKI:2;
  x is non empty by A1; then
  {w where w is Element of Omega: X.w is Element of x}=X"x by Lm1; then
  X"x = Omega by A2; then
  X"x is Element of Sigma by PROB_1:23;
  hence thesis;
   end;
   suppose
A3: not s in x;
  for q being object holds q in X"x iff q in {}
 proof
  let q be object;
  now assume q in X"x; then
    q in dom X & X.q in x by FUNCT_1:def 7;
    hence q in {} by A3,FUNCOP_1:7,A0;
  end;
  hence thesis;
 end; then
 X"x = {} by TARSKI:2; then
 X"x is Element of Sigma by PROB_1:22;
 hence thesis;
 end;
  end;
  hence thesis;
 end;

theorem Th11:
  for phi being Real_Sequence, jpi being pricefunction,
      d being Nat st d>0 holds
  BuyPortfolioExt(phi,jpi,d) = phi.0 + BuyPortfolio(phi,jpi,d)
proof
 let phi be Real_Sequence, jpi be pricefunction,
     d be Nat;
 assume d>0; then
 A1: d-1 is Element of NAT by NAT_1:20;
 defpred J[Nat] means
      Partial_Sums(ElementsOfBuyPortfolio(phi,jpi)).($1+1) =
       phi.0 + Partial_Sums(ElementsOfBuyPortfolio(phi,jpi)^\1).$1;
 Partial_Sums(ElementsOfBuyPortfolio(phi,jpi)).(0+1) =
   phi.0 + Partial_Sums(ElementsOfBuyPortfolio(phi,jpi)^\1).0
 proof
   Partial_Sums(ElementsOfBuyPortfolio(phi,jpi)).(0+1) =
     Partial_Sums(ElementsOfBuyPortfolio(phi,jpi)).0+
     ElementsOfBuyPortfolio(phi,jpi).1 by SERIES_1:def 1; then
   Partial_Sums(ElementsOfBuyPortfolio(phi,jpi)).(0+1) =
     ElementsOfBuyPortfolio(phi,jpi).0+
     ElementsOfBuyPortfolio(phi,jpi).1 by SERIES_1:def 1; then
   Partial_Sums(ElementsOfBuyPortfolio(phi,jpi)).(0+1) =
     ElementsOfBuyPortfolio(phi,jpi).0+
     (ElementsOfBuyPortfolio(phi,jpi)^\1).0 by NAT_1:def 3; then
   Partial_Sums(ElementsOfBuyPortfolio(phi,jpi)).(0+1) =
     ElementsOfBuyPortfolio(phi,jpi).0+
     Partial_Sums(ElementsOfBuyPortfolio(phi,jpi)^\1).0
       by SERIES_1:def 1; then
   Partial_Sums(ElementsOfBuyPortfolio(phi,jpi)).(0+1) =
     (phi.0 * jpi.0)+
     Partial_Sums(ElementsOfBuyPortfolio(phi,jpi)^\1).0 by VALUED_1:5; then
   Partial_Sums(ElementsOfBuyPortfolio(phi,jpi)).(0+1) =
     (phi.0 * 1)+
     Partial_Sums(ElementsOfBuyPortfolio(phi,jpi)^\1).0 by Def2;
   hence thesis;
 end; then
A2: J[0];
A3: for k being Nat st J[k] holds J[k+1]
 proof
   let k be Nat;
   assume A4: Partial_Sums(ElementsOfBuyPortfolio(phi,jpi)).(k+1) =
   phi.0 + Partial_Sums(ElementsOfBuyPortfolio(phi,jpi)^\1).k;
   reconsider k as Element of NAT by ORDINAL1:def 12;
   Partial_Sums(ElementsOfBuyPortfolio(phi,jpi)).((k+1)+1) =
   (phi.0 + Partial_Sums(ElementsOfBuyPortfolio(phi,jpi)^\1).k) +
   ElementsOfBuyPortfolio(phi,jpi).((k+1)+1) by A4,SERIES_1:def 1; then
   Partial_Sums(ElementsOfBuyPortfolio(phi,jpi)).((k+1)+1) =
   (phi.0 + Partial_Sums(ElementsOfBuyPortfolio(phi,jpi)^\1).k) +
   (ElementsOfBuyPortfolio(phi,jpi)^\1).(k+1) by NAT_1:def 3; then
   Partial_Sums(ElementsOfBuyPortfolio(phi,jpi)).((k+1)+1) =
     phi.0 + (Partial_Sums(ElementsOfBuyPortfolio(phi,jpi)^\1).k +
     (ElementsOfBuyPortfolio(phi,jpi)^\1).(k+1));
   hence thesis by SERIES_1:def 1;
 end;
 for k being Nat holds J[k] from NAT_1:sch 2(A2,A3); then
 Partial_Sums(ElementsOfBuyPortfolio(phi,jpi)).((d-1)+1) =
  phi.0 + BuyPortfolio(phi,jpi,d) by A1;
 hence thesis;
end;

theorem Th12:
for d being Nat st d>0 holds
for r being Real
for phi being Real_Sequence
for G being sequence of set_of_random_variables_on(F,Borel_Sets) st
 Element_Of(F,Borel_Sets,G,0) = Omega-->1+r holds
 for w being Element of Omega holds
PortfolioValueFutExt(d,phi,F,G,w)
       = ((1+r) * phi.0) + PortfolioValueFut(d,phi,F,G,w)
proof
 let d be Nat;
 assume A1: d>0;
 let r be Real;
 let phi be Real_Sequence;
 set X = set_of_random_variables_on(F,Borel_Sets);
 let G be sequence of X;
 assume A2: Element_Of(F,Borel_Sets,G,0) = Omega-->1+r;
 let w be Element of Omega;
 A3: (d-1) is Element of NAT by A1,NAT_1:20;
 defpred J[Nat] means
Partial_Sums(ElementsOfPortfolioValue_fut(phi,F,w,G)).($1+1) =
((1+r) * phi.0) +
 Partial_Sums(ElementsOfPortfolioValue_fut(phi,F,w,G)^\1).$1;
Partial_Sums(ElementsOfPortfolioValue_fut(phi,F,w,G)).(0+1) =
((1+r) * phi.0) +
   Partial_Sums(ElementsOfPortfolioValue_fut(phi,F,w,G)^\1).0
      proof
Partial_Sums(ElementsOfPortfolioValue_fut(phi,F,w,G)).(0+1) =
Partial_Sums(ElementsOfPortfolioValue_fut(phi,F,w,G)).0 +
             ElementsOfPortfolioValue_fut(phi,F,w,G).1
 by SERIES_1:def 1; then
Partial_Sums(ElementsOfPortfolioValue_fut(phi,F,w,G)).(0+1) =
       ElementsOfPortfolioValue_fut(phi,F,w,G).0 +
             ElementsOfPortfolioValue_fut(phi,F,w,G).1
       by SERIES_1:def 1; then
Partial_Sums(ElementsOfPortfolioValue_fut(phi,F,w,G)).(0+1) =
       ElementsOfPortfolioValue_fut(phi,F,w,G).0 +
        (ElementsOfPortfolioValue_fut(phi,F,w,G)^\1).0
        by NAT_1:def 3; then
Partial_Sums(ElementsOfPortfolioValue_fut(phi,F,w,G)).(0+1) =
       ElementsOfPortfolioValue_fut(phi,F,w,G).0 +
   Partial_Sums((ElementsOfPortfolioValue_fut(phi,F,w,G)^\1)).0
       by SERIES_1:def 1; then
consider d being Element of NAT such that
A4: d=0 & Partial_Sums(
      ElementsOfPortfolioValue_fut(phi,F,w,G)).(d+1) =
       ElementsOfPortfolioValue_fut(phi,F,w,G).d +
   Partial_Sums((ElementsOfPortfolioValue_fut(phi,F,w,G)^\1)).d;
A5: Partial_Sums(ElementsOfPortfolioValue_fut(phi,F,w,G)).(d+1) =
   (ElementsOfPortfolioValueProb_fut(F,G.d).w * phi.d) +
   Partial_Sums((ElementsOfPortfolioValue_fut(phi,F,w,G)^\1)).d
   by A4,Def10;
   set g = G.d;
   set g2=Change_Element_to_Func(F,Borel_Sets,g);
g2.w=1+r
proof
  Element_Of(F,Borel_Sets,G,0) = G.0 & g2=G.0 &
  Element_Of(F,Borel_Sets,G,0) = Omega-->1+r by A2,Def9,Def7,A4;
 hence thesis by FUNCOP_1:7;
end;
hence thesis by A4,A5,Def8;
   end; then
   A6: J[0];
   A7: for k being Nat st J[k] holds J[k+1]
      proof
       let k be Nat;
       assume A8:
  Partial_Sums(ElementsOfPortfolioValue_fut(phi,F,w,G)).(k+1) =
  ((1+r) * phi.0) +
   Partial_Sums(ElementsOfPortfolioValue_fut(phi,F,w,G)^\1).k;
       reconsider k as Element of NAT by ORDINAL1:def 12;
Partial_Sums(ElementsOfPortfolioValue_fut(phi,F,w,G)).((k+1)+1)
   = ((1+r) * phi.0) +
   Partial_Sums(ElementsOfPortfolioValue_fut(phi,F,w,G)^\1).k
    + ElementsOfPortfolioValue_fut(phi,F,w,G).((k+1)+1)
   by A8,SERIES_1:def 1; then
Partial_Sums(ElementsOfPortfolioValue_fut(phi,F,w,G)).((k+1)+1)
   = ((1+r) * phi.0) +
   Partial_Sums(ElementsOfPortfolioValue_fut(phi,F,w,G)^\1).k
    + (ElementsOfPortfolioValue_fut(phi,F,w,G)^\1).(k+1)
     by NAT_1:def 3; then
Partial_Sums(ElementsOfPortfolioValue_fut(phi,F,w,G)).((k+1)+1)
   = ((1+r) * phi.0) +
   (Partial_Sums(ElementsOfPortfolioValue_fut(phi,F,w,G)^\1).k
    + (ElementsOfPortfolioValue_fut(phi,F,w,G)^\1).(k+1));
   hence thesis by SERIES_1:def 1;
      end;
      for k being Nat holds J[k] from NAT_1:sch 2(A6,A7); then
  Partial_Sums(ElementsOfPortfolioValue_fut(phi,F,w,G)).(d-1+1) =
  ((1+r) * phi.0) +
   Partial_Sums(ElementsOfPortfolioValue_fut(phi,F,w,G)^\1).((d-1)) by A3;
  hence thesis;
end;

theorem Th13:
for d being Nat st d>0 holds
for r being Real st r>-1 holds
for phi being Real_Sequence,
    jpi being pricefunction holds
for G being sequence of set_of_random_variables_on(F,Borel_Sets) st
 Element_Of(F,Borel_Sets,G,0) = Omega-->1+r holds
for w being Element of Omega holds
 BuyPortfolioExt(phi,jpi,d)<=0 implies
(PortfolioValueFutExt(d,phi,F,G,w) <=
 PortfolioValueFut(d,phi,F,G,w) - (1+r)*BuyPortfolio(phi,jpi,d))
proof
 let d be Nat;
 assume A1: d>0;
 let r be Real;
 assume A2: r>-1;
 let phi be Real_Sequence, jpi be pricefunction;
 set X = set_of_random_variables_on(F,Borel_Sets);
 let G be sequence of X;
 assume A3: Element_Of(F,Borel_Sets,G,0) = Omega-->1+r;
 let w be Element of Omega;
 assume A4: BuyPortfolioExt(phi,jpi,d)<=0;
A5: (1+r)*BuyPortfolioExt(phi,jpi,d) <= 0
 proof
   1+r>0 by A2,XREAL_1:62;
   hence thesis by A4;
 end;
 ((1+r)*BuyPortfolioExt(phi,jpi,d)) + (PortfolioValueFut(d,phi,F,G,w) -
((1+r)*BuyPortfolioExt(phi,jpi,d))) <=
 (PortfolioValueFut(d,phi,F,G,w) -
((1+r)*BuyPortfolioExt(phi,jpi,d))) by A5,XREAL_1:32; then
 PortfolioValueFut(d,phi,F,G,w) <= (PortfolioValueFut(d,phi,F,G,w) -
(1+r)*(phi.0 + BuyPortfolio(phi,jpi,d))) by A1,Th11; then
 PortfolioValueFut(d,phi,F,G,w) <= ((PortfolioValueFut(d,phi,F,G,w) -
 (1+r)*BuyPortfolio(phi,jpi,d))) - (1+r)*phi.0; then
 PortfolioValueFut(d,phi,F,G,w) + (1+r)*phi.0 <=
 ((PortfolioValueFut(d,phi,F,G,w) -
 (1+r)*BuyPortfolio(phi,jpi,d))) by XREAL_1:19;
hence thesis by A1,A3,Th12;
end;

theorem
for d being Nat st d>0 holds
for r being Real st r>-1 holds
for phi being Real_Sequence,
    jpi being pricefunction holds
for G being sequence of set_of_random_variables_on (F,Borel_Sets) st
 Element_Of(F,Borel_Sets,G,0) = Omega-->1+r holds
(BuyPortfolioExt(phi,jpi,d)<=0 implies
({w where w is Element of Omega:
      PortfolioValueFutExt(d,phi,F,G,w) >= 0} c=
     {w where w is Element of Omega:
      PortfolioValueFut(d,phi,F,G,w)
                    >= (1+r)*BuyPortfolio(phi,jpi,d)} &
{w where w is Element of Omega: PortfolioValueFutExt(d,phi,F,G,w) > 0} c=
{w where w is Element of Omega: PortfolioValueFut(d,phi,F,G,w)
                    > (1+r)*BuyPortfolio(phi,jpi,d)}))
proof
 let d be Nat;
 assume A1: d>0;
 let r be Real;
 assume A2:r>-1;
 let phi be Real_Sequence,
     jpi be pricefunction;
 set X = set_of_random_variables_on (F,Borel_Sets);
 let G be sequence of X;
 assume A3: Element_Of(F,Borel_Sets,G,0) = Omega-->1+r;
 assume A4: BuyPortfolioExt(phi,jpi,d)<=0;
 A5: {w where w is Element of Omega:
      PortfolioValueFutExt(d,phi,F,G,w) >= 0} c=
     {w where w is Element of Omega:
      PortfolioValueFut(d,phi,F,G,w)
                    >= (1+r)*BuyPortfolio(phi,jpi,d)}
 proof
   let x be object;
   assume x in {w where w is Element of Omega:
     PortfolioValueFutExt(d,phi,F,G,w) >= 0}; then
   consider w being Element of Omega such that
A6: x=w & PortfolioValueFutExt(d,phi,F,G,w) >= 0;
   0<= PortfolioValueFut(d,phi,F,G,w) -
   ((1+r)*BuyPortfolio(phi,jpi,d)) by A1,A2,A3,A4,Th13,A6; then
   0+ ((1+r)*BuyPortfolio(phi,jpi,d))
     <= PortfolioValueFut(d,phi,F,G,w) by XREAL_1:19;
   hence thesis by A6;
 end;
 {w where w is Element of Omega:
      PortfolioValueFutExt(d,phi,F,G,w) > 0} c=
   {w where w is Element of Omega:
   PortfolioValueFut(d,phi,F,G,w) > (1+r)*BuyPortfolio(phi,jpi,d)}
 proof
   let x be object;
   assume x in {w where w is Element of Omega:
      PortfolioValueFutExt(d,phi,F,G,w) > 0}; then
   consider w being Element of Omega such that
   A7: x=w & PortfolioValueFutExt(d,phi,F,G,w) > 0;
   PortfolioValueFutExt(d,phi,F,G,w) <= (PortfolioValueFut(d,phi,F,G,w) -
   (1+r)*BuyPortfolio(phi,jpi,d)) by A1,A2,A3,A4,Th13; then
   0+((1+r)*BuyPortfolio(phi,jpi,d))
      < (PortfolioValueFut(d,phi,F,G,w) - (1+r)*BuyPortfolio(phi,jpi,d))
     +((1+r)*BuyPortfolio(phi,jpi,d)) by A7,XREAL_1:6;
   hence thesis by A7;
 end;
 hence thesis by A5;
end;

theorem Th15:
for f being Function of Omega,REAL st
    f is (Sigma,Borel_Sets)-random_variable-like holds
          f is ([#]Sigma)-measurable &
          f is Real-Valued-Random-Variable of Sigma
proof
 let f be Function of Omega,REAL;
 assume A1: f is (Sigma,Borel_Sets)-random_variable-like;
A2: for r being Element of REAL holds Omega /\ less_dom(f,r) in Sigma
 proof
  let r be Element of REAL;
  less_dom(f,r) = {w where w is Element of Omega: f.w <r} by A1,Th9;
  then less_dom(f,r) is Element of Sigma by A1,Th9; then
  less_dom(f,r) in Sigma;
  hence thesis by XBOOLE_1:28;
 end;
for r being Real holds [#]Sigma /\ less_dom(f,r) in Sigma
proof
 let r be Real;
 reconsider r as Element of REAL by XREAL_0:def 1;
 [#]Sigma /\ less_dom(f,r) in Sigma by A2;
 hence thesis;
end;
hence thesis by MESFUNC6:12;
end;

theorem
  set_of_random_variables_on (Sigma,Borel_Sets) c=
    Real-Valued-Random-Variables-Set Sigma
proof
  let x be object;
  assume x in set_of_random_variables_on (Sigma,Borel_Sets); then
  consider f being Function of Omega,REAL such that
A1: x=f & f is (Sigma,Borel_Sets)-random_variable-like;
A2: f is (Sigma,Borel_Sets)-random_variable-like implies
      f is Real-Valued-Random-Variable of Sigma by Th15;
  x in the set of all q where q is Real-Valued-Random-Variable of Sigma
 by A2,A1;
  hence thesis by RANDOM_2:def 3;
end;

theorem
  Omega --> the Element of Omega2 is random_variable of F,F2 by LemmaExample;

Messung
CHZG
8010010093

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

*Bot Zugriff







                                                                                                                                                                                                                                                                                                                                                                                                     

 

Neuigkeiten

Aktuelles
Motto des Tages

Open Source Software


Gedichte
Musik
Bilder

Jenseits des Üblichen

Besucherstatistik

Besucherstatistik

Statistik
#Sources=1,188,058
#Domains=861,605