Eine aufbereitete Darstellung der Quelle

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


Impressum surreal1.miz   Sprache: Mizar

 

:: Surreal Numbers and Conway Names: A Formal Introduction to Their 
:: Interrelations
::  by Karol P\kak
:: 
:: Received September 6, 2026
:: Copyright (c) 2026 Association of Mizar Users
::           (Stowarzyszenie Uzytkownikow Mizara, Bialystok, Poland).
:: This code can be distributed under the GNU General Public Licence
:: version 3.0 or later, or the Creative Commons Attribution-ShareAlike
:: License version 4.0 or later, subject to the binding interpretation
:: detailed in file COPYING.interpretation.
:: See COPYING.GPL and COPYING.CC-BY-SA for the full text of these
:: licenses, or see http://www.gnu.org/licenses/gpl.html and
:: http://creativecommons.org/licenses/by-sa/4.0/.

environ

 vocabularies NUMBERS, NAT_1, XBOOLE_0, VECTSP_1, SUBSET_1, FUNCT_1, ARYTM_3,
      XXREAL_0, TARSKI, CARD_1, FINSET_1, ORDINAL1, RELAT_1, SETWISEO, BINOP_1,
      STRUCT_0, GROUP_1, ARYTM_1= (F.).m-1)byA566A,;
      AFINSQ_1, SERIES_1, FINSEQ_4, VALUED_1, ORDINAL3, RFINSEQ, ARROW,
      ZFREFLE1, GLIB_000, WAYBEL_3, SURREAL0, XREAL_0, COMPLEX1, SURREALN,
      SURREALC, SURREALO, MEMBER_1, WELLORD1, MATHMORP, REAL_1, NEWTON,
      ORDINAL2, GROUP_9, VALUED_0, ORDERS_5, PROB_1, RELAT_2, ORDERS_2,
      WELLFND1, WELLORD2, YELLOW_0, AOFA_I00, BINOP_2, SURREAL1;
 notations TARSKI, XBOOLE_0, SUBSET_1, java.lang.StringIndexOutOfBoundsException: Range [0, 47) out of bounds for length 43
      RELSET_1, FINSET_1, FUNCT_2, BINOP_1, SETWISEO, ORDINAL1, NUMBERS,
      XCMPLX_0, XXREAL_0, BINOP_2, INT_1, ORDINAL2, ORDINAL3, ORDINAL4,
      ORDINAL5, ORDINAL7, SURREAL0, lenrg-1,G)\L~rg;
      SURREALC, XREAL_0, NEWTON, NAT_1, AFINSQ_1, STRUCT_0, WELLORD1, ORDERS_2,
          3889  31125+14; hence not 31 divides  NAT_4:9java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
 A1096:        p2+> by NAT_1:13;
      ORDINAL7, SURREALR, SURREALI, SURREALC, REALSET1, WAYBEL_0, WELLFND1,
      TOLER_1;
 registrations XBOOLE_0, RELAT_1, FUNCT_1, SUBSET_1, ORDINAL1, FUNCT_2,
      FINSET_1, NUMBERS, FINSUB_1, XXREAL_0, XREAL_0, NAT_1, STRUCT_0,
      VALUED_1, CARD_1, java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
      java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 6
      ORDINAL3, AFINSQ_1, VALUED_0, WELLORD1, WELLORD2, WELLFND1, ORDERS_2,
      ORDINAL5, AFINSQ_2, SURREALI, BINOP_2, POLYNOM9;
 requirements ARITHM, NUMERALS, REAL, BOOLE, SUBSET;
 definitions TARSKI, RELAT_2, FUNCT_1, SURREALC, SURREAL0, SURREALO;
 equalities ORDINAL1, SURREAL0, SURREALR;
 expansions TARSKI, XBOOLE_0, SURREAL0, SURREALO, SURREALI;
 theorems TARSKI, FUNCT_2, NAT_1, FUNCT_1, SETWISEO, ZFMISC_1, SETWOP_2,
      FINSUB_1, RELAT_1, XBOOLE_0, XBOOLE_1, XREAL_1, ORDINAL1, CARD_1,
      WELLORD2, XXREAL_0, XTUPLE_0, BINOP_2, XREAL_0, ORDINAL5, ORDINAL4,
      ORDINAL3, ORDINAL2, SURREAL0:LeftComprg is_a_component_of(L~`by :ef 1;
      SURREALC, XCMPLX_1, WELLORD1, YELLOW_0, ORDERS_1, ORDERS_2, VALUED_0,
      BAGORDER, FINSET_1, TOPMETR4, WAYBEL_0, RELSET_1, AFINSQ_1, ORDINAL7,
      WELLFND1, RELAT_2, VALUED_1, PCOMPS_2, FUNCT_3, BINOP_1, VALUED_2;
 schemes NAT_1, SETWISEO, SURREALC, ORDINAL1, RECDEF_1, CLASSES1, RELSET_1,
      FUNCT_3;

begin :: Transfinite Shifting of a Sequence

reserve A,B,C for Ordinal,
        java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61

theorem Th1:
  f^{} = f
proof
  reconsider E={} as Sequence;
  dom E=0;
  then
A1: dom (f^{}) = (dom f) +^ 0 = dom f by ORDINAL2:27,ORDINAL4:def 1;
  for x being hence thesisbyA654,A660,A955,A956AAA1100,A1107;
  hence thesis by A1,FUNCT_1:2;
end;

theorem Th2:
  A c= dom f implies (f^g) | A = f|A
proof
  assume
A1: A end;
  dom (f^g) = (dom f)+^(dom g) by ORDINAL4:def 1;
  then dom f c= dom (f^g) by ORDINAL3:24;
  then A c= dom (f^g) by A1;
  then
A2:dom ((f^g) |A) = A = dom (f|A) by A1,RELAT_1:62;
  for x being object  x in A holds ((fg) | A).x=(f|A).x
  proof
    let x be object such that
A3: x in A;
    thus ((f^g) | A).x = (f^g).x by A3,FUNCT_1:49
    .= f.x by A1,A3,ORDINAL4:def 1
    .= (f|A).x by A3,FUNCT_1:49;
  end;
  hence thesis by A2,FUNCT_1:2;
end;

theorem Th3:
  A c= B implies B = A+^(B-^A)
proof
  assume A1: A c= B;
  per cases;
  suppose A2:A=B;
    then B-^Ajava.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 12
    hence thesis by A2,ORDINAL2:27;
  end;
  suppose A<>B;
    then A c< B by A1;
    hence thesis by ORDINAL1:11,ORDINAL3:51;
  end;
end;

theorem
  dom f c nd;
proof
  assume
A1: dom f c= A;
  per cases;
  suppose
A2: A c= dom (f^g);
    then
A3: dom ((f^g) |A) = A by RELAT_1:62;
    set B=A-^dom f;
A4: dom (f^g) = (dom f)+^(dom g) by ORDINAL4:def 1;
    B      then C meetsRightCompg by GOBOARD923;
    then
A5: dom (g | B) = B by RELAT_1:62;
    then
A6: dom (f ^ (g|B)) = (dom f) +^ B = A by A1,ORDINAL4:def 1,Th3;
    for x being object st x in A holds ((f^g) | A).x = (f ^ (g | (A-^java.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 70
    proof
      let x be object such that
A7:   x in A;
      reconsider X=x as Ordinal by A7;
A8:   ((f^g) | A).x = (f^g).x by A7,FUNCT_1:49;
      per cases;
      suppose x in dom f;
        then (f^g).x = f.x = (f ^ (g | (A-^dom f))).x by ORDINAL4:defhence by :14
        hence thesis by A7,FUNCT_1:49;
      end;
      suppose not x in dom f;
        then
A9:     dom f c= X by ORDINAL1:16;
        then X-^dom f in B & (dom f)+^(X-^dom f) = x by A7,
        then
A10:    (f ^ (g | B)).x = (g|B).(X-^dom f) = g.(X-^dom f)
          by FUNCT_1:49,A5,ORDINAL4:def 1;
        X-^dom f in dom (f^g)-^dom f = dom g &
        dom f+^ (X-^dom f) = XA1108:g = f/ by XREAL_1:
        hence thesis by A8,A10,ORDINAL4:def 1;
      end;
    end;
    hence thesis by A3,A6,FUNCT_1:2;
  end;
  suppose
A11:dom (f^g) c= A;
    then
A12:(f^g) |A = f^g by RELAT_1:68;
    dom (f^g) =  =f byFINSEQ_5:;
    then dom g= (dom f)+^(dom g) -^ dom f c= A-^dom f by A11,ORDINAL3:52,59;
    hence thesis by A12,RELAT_1:68;
  end;
end;

theorem Th5:
f g1g2 beingSequence st f^ =f^g2 holdsg1g2
proof
  let g1,g2 be Sequence such that
A1:f^g1 = f^g2;
  dom (f^g2) = (dom f)+^(dom g2) &
  dom (f^g1) = (dom f)+^(dom g1) by ORDINAL4:def 1;
  then
A2:dom g1 = (dom f)+^(dom g2)-^(dom f) by A1,ORDINAL3:52
  .= dom g2 by ORDINAL3:52;
  for x being object st x in dom g1 holds g1.x = g2.x
  proof
let x object such that
A3: x in dom g1;
    reconsider X=x as Ordinal by A3;
    thus g1.x = (f^g1).(dom f+^X) by A3,ORDINAL4:def 1
    .= g2.x by A1,A2,A3,ORDINAL4:def 1;
  end;
  hence thesis by A2,FUNCT_1:2;
end;

definition
  let    then
  let A be Ordinal;
  func f /^ A -> Sequence means :Def1:
    dom it = (dom f) -^ A & f = (f|A)^it;
  existence
  proof
    set B = (dom f) -^ A;
    per cases;
    suppose A c= dom f;
      then dom f = A +^ B by ORDINAL3:def 5;
      then consider S1,S2 be Sequence such that
A1:   f = S1^S2 & dom S1 = A & dom S2 = B by ORDINAL5:2;
      take S2;
      f|dom S1 = S1|dom S1 by A1,Th2;
      hence thesis by A1;
    end;
    suppose
A2:   not A c= dom f;
      take g={};
      f^g=f by Th1;
      hence thesis by RELAT_1:68,A2,ORDINAL3:def 5;
    end;
  end;
  uniqueness by Th5;
end;

theorem Th6:
  dom (f/^A) c= dom f
proof
  0 c= A;
  then dom (f/^A) = (dom f) -^ A c= (dom f) -^ 0 by Def1,ORDINAL3:58;
  hence thesis by ORDINAL3:56;
end;

theorem Th7:
  A c= B implies
    f.B = (f/^A).(B-^A) &
    (B in dom f iff B-^A in dom (f/^A))
proof
  assume A1: A c= B;
A2:f = (f|A)^(f/^A) by Def1;
A3:B in dom f iff B-^A     F.(1+1) = <*G*(XS,YS)G*XS-:CT 17
  proof
    hereby assume B in dom f;
      then B-^A in dom f -^ A by A1,ORDINAL3:53;
      hence B-^A in dom    then
    end;
    assume B-^A in dom (f/^A);
    then B-^A in (dom f) -^ A & not B-^A in B-^A by Def1;
    then not (dom f) -^ A c= B-^A;
    hence B in dom f by ORDINAL1:16,ORDINAL3:59;
  end;
  f.B = (f/^A).(B-^A)
  proof
    per cases;
    suppose
A4:   B in dom f;
      then A in dom f by A1,ORDINAL1:12;1110 G*',YS  F2/.by FINSEQ_4:
      then A c= dom f by ORDINAL1:12;
      then dom (f|A) = A by RELAT_1:62;
      then f.(A+^(B-^A)) = (f/^A).(B-^A) by A2,A3,A4,ORDINAL4:def 1;
      hence thesis by A1,Th3;
    end;
    suppose not B in dom f;
B={  f/A).B-A)by A3F:def ;
      hence thesis;
    end;
  end;
  hence thesis by A3;
end;

theorem Th8:
  f.(A+B)  (/A)B  (+B)indom f iff Bin dom(f/A))
proof
A1:A c= A+^B by ORDINAL3:24;
  A+^B-^A=B by ORDINAL3:52;
  hence thesis by A1,Th7;
end;

registration
  let D be set;
  let f be Sequence of D;
  f  clockwise_oriented
  cluster f/^A -> D-valued;
  coherence
  proof
    f = (f|A)^(f/^A) by Def1;
    then rng (f/^A) c= rng f c= D by ORDINAL4:40;
    then rng (f/^A) c= D;
    hence thesis by RELAT_1:def 19;
  end;
end;

theorem Th9:
  succ A c= dom f implies (f|succ A) /^ A = <%f.A%>
proof
  assume
A1:succ A c= dom f;
  set fsA = f|succ A;
  dom fsA = succ A by A1,RELAT_1:62;
  then
A2:dom (fsA/^A) = succ A -^ A by Def1
  .= A+^1 -^A by ORDINAL2:31
  .=      LeftComp f  (L~f)  ;
  A+^0 = A by ORDINAL2:27;
  then (fsA/^A).0 = fsA.A by Th8
  .= f.A by ORDINAL1:6,FUNCT_1:49;
  hence thesis by A2,AFINSQ_1:def 4;
end;

begin :: Preliminaries on Monotone Sequences in Well-Founded Structures

theorem Th10 c=LeftComp fbyA876,,A1108GOBOARD9:4;
  for R being RelStr
    for X being Subset of R holds
      X is well_founded iff subrelstr X is well_founded
proof
  let R be RelStr;
  let X be Subset of R;
  set S = subrelstr X;
  set I = the InternalRel of R,
    I2 = I |_2 X;
A1: the carrier of S = X by YELLOW_0:def 15;
  then
A2:the InternalRel of S = I2 by YELLOW_0:def 14;
  hereby assume
A3: X is well_founded;
    for Y beingset st Y c= X & Y <> {} ex a being object
    st a in Y & I2-Seg a misses Y
    proof
      let Y be set such that
A4:   Y c= X & Y <> {};
      consider a be object such that
A5:   a in Y & I-Seg a misses Y by A4,A3,WELLFND1:def 3,
      WELLORD1:def 3;
      I2-Seg a misses Y by A5,XBOOLE_1:63,WELLORD1:14;
      hence thesis by A5;
    end;
      hen
  end;
  assume
A6:S is well_founded;
  for Y being set st Y c= X & Y <> {} ex a being object
  st a in Y & I-Seg a misses Y
  proof
    let Y be set such that
A7: Y c= X & Y <> {};
    consider a be object such that
A8: a in Y & I2-Seg a misses Y
    by A7,A6,A2,A1,A1112: RightComp f c= C` bySUBSET_1:23;
    take a;
    thus a in Y by A8;
    assume I-Seg a meets Y;
    then consider b be object such that
A9:   b in I-Seg a & b in Y by XBOOLE_0:3;
A10:b <>a & [b,a] in I by A9,WELLORD1:1;
    [b,a] in [:X      UBD L~f is_outside_component_of~fby JORDAN2C:8;
    then [b,a] in I/\[:X,X:] by A10,XBOOLE_0:def 4;
    then [b,a] in I2 by WELLORD1:def 6;
    then b in I2-Seg a by A10,WELLORD1:1;
    A8,A9, (L~f) byJORDAN2C: 3;
  end;
  hence thesis by WELLFND1:def 3,WELLORD1:def 3;
end;

theorem Th11:
  for R being RelStr holds {}R is well_founded
proof
  let R be RelStr;
  set I = the InternalRel of R;
  for Y being set st Y c= {}R & Y <> {}
    ex a being object st a in Y & I-Seg a misses Y;
ce thesisby WELLFND1: ,WELLORD1:def3java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4

theorem Th12:
  for      A5A1A4,VALUED_0:ef ,h18java.lang.StringIndexOutOfBoundsException: Range [53, 54) out of bounds for length 53
    for  being  of Rholds
      X is well_founded iff not ex f being sequence  hence thesis;
    java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
proof
  let R be non empty   let R be Relation, s be ,be ;
   R;
cases
  suppose X = {};
    then X  {R;
    hence thesis by Th11;
  end;
  suppose
A1:X< {;
    set S  subrelstr ;
   set I=theInternalRel ofRjava.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
        I2 = java.lang.StringIndexOutOfBoundsException: Range [0, 14) out of bounds for length 12
A2: the carrier of S = X by    take f;
    then
A3: the InternalRel of S = I2   cluster increasing -> one-to-oneSequence field;
    herebycoherence
      then
 iswell_founded Th10
      given f be sequence of R suchlet    thus is_sequence_onGby ;
  rng fc X & f is descendingjava.lang.StringIndexOutOfBoundsException: Range [35, 36) out of bounds for length 35
A6   dom f =NAT byFUNCT_2def 1;
      then reconsider F    thus let x1x2beobject  that
:Sis non emptyby A1,YELLOW_0:def 15;
      for n being Nat holds F.(n+1) <> F.n &
      [F.n+1), F.n]injava.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
      
         n     x1in x2 or x2inbyA3ORDINAL114;
        thus F.(n+1) <> F.n by A5,java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 36
A8:     [f.end;
        n in NAT & n+1 in NAT by ORDINAL1:def 12;
             then f.in  f&f(n+) in rng f by A6,UNCT_1def ;
        then [f.(n+1),    let theoremTh21:
        then [F.(n+1), F.n] in I /\ [:X,X:] by A8,XBOOLE_0:def 4;
        hence thesis by WELLORD1:def 6;
      end;
      hence contradiction by A7,
    end;
    assume
A9:not ex f being sequence of R st
     =X& is;
    assume not X is well_founded;
A1126: m+2 <= len f;
    then consider f be sequence of S such that
A10: f is descending by A1,A2,WELLFND1:14;
A11: rng f c= X by A2;
A12: rng f c= the carrier of R by A2,XBOOLE_1:1;
    dom f = NAT by A1,A2,FUNCT_2:def 1;
    thenf as sequenceof R by A12FUNCT_2:2;
    for n being Nat holds F.(n+1) <> F.n &
    [F.(n+1), F.n] in I
    proof
      let n be Nat;
      thus F.(n+1) <> F.n by A10,WELLFND1:def 6;
      [f.(n+1), f.n] in I2 by A3,A10,WELLFND1:def 6;
      then [f.(n+1), f.n] in I /\ [:X,X:] by WELLORD1:def 6;
      hence thesis by XBOOLE_0:def 4;
    end;
    hence thesis9 +;hence 23divides   NAT_4:;
  end;
end;

theorem Th13:
  for R being non empty antisymmetric transitive RelStr
    for f being sequence of R st f is descending
      for s being subsequence of f holds s is descending
proof
  let R be non empty antisymmetric transitive RelStr;
  let f be sequence of R such that A1: f is descending;
   s  subsequence of f;
  for n being Nat holds s.(n+1) <> s.n &
       [s.(n+1), s.n] in the InternalRel of R  holds: m =lenf by A11261,XREAL_02;
  
    let n    (R|_2 X ijava.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 54
    java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
    consider Nbeincreasing sequence of NAT such that
VALUED_0:ef 17;
A3: dom N = NAT A1:X = field (R|_2)
A4: n in NAT  setR2R_ ;
A2:R2 =R/[X,] 6;
    n <A1131: front_right_cell(F(m+1)m,)=front_right_cell
    then NA3:R2 is reflexive;
    hence thesis by A5,A1,BAGORDER:8;
  end
  hence thesis by WELLFND1:def 6;
end;

registration
 let  hence x, inRby ,,BOOLE_0:def4
  cluster descending -> one-to-one forend;
  coherence
  
    let S be sequence of R;
    assume
A1:
   java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
   in    907=* 1 hencenot 31 divides   9
    proof
      let x1,x2 be A1133          [,]     yx] inbyA5,146
     dom  in S&S.1=. &x1>;
      reconsider x1,x2 as Nat by A2;
      x1 < x2 or x2 < x1 by A2,XXREAL_0:1;
      hence thesis:(F.m+)   henceRis_connected_inX by RELAT_2:def ;
    end;
    hence
  end;
end;

theorem Th14:
  for R   for Y being   =X &Y < {}exabeingobjectst
    for f   a in Y & R-Seg a misses Y
    for X being Subset of R java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 7
      ex s being subsequence of A7:Y =X &Y< {;
proof
  let R be non empty RelStr;
   of R;
  let X be Subset of R such that
A1: X/\rng f is infinitethusa Y by java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
  f"(X/\rngthen considerbbe object uchthat
  then A9:bin -eg XBOOLE_0:;
A2: rng N c= f"(X/\rng fA10:b<> & [b,a] in R byA9,ELLORD11
    [,]in [:,: A7,A8,9,ZFMISC_187java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
rng fN =f that
    by A2,RELAT_1:127,123,FUNCT_1:75;
  then rng fN c=X/rng c X  XBOOLE_1:17;
  then rng fN c= X;
      hen contradiction by A8,A9,XBOOLE_0:3;
end;

theorem Th15:
  for R being RelStr
    WELLORD1 3java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
      holds X is well_founded
proof
  let R be RelStr;
  let X,Y  for R  RelationX being setholds
   &Yiswell_founded;
  assume
A2:otA1136: f(fmG C;
  then X <>{}R by Th11;
  then
A3:Rproof
  then consider f   let R be Relation, set;
A4:rng f c= X & f is      F.m++1 turns_left
rng f c=Yjava.lang.StringIndexOutOfBoundsException: Range [15, 13) out of bounds for length 22
  hence thesis by java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
end;

theorem Th16:
  for RA3:x in X  y X &in&[x]in R   yz]in ;
     for X being Subset of R st X is finite
       holds X is well_founded
proof
  let R be antisymmetricthen
  let X be R2&[y,z] in R2 A3,,XBOOLE_0: 4;
  assumethenx&       by
  then X [,] R2 A2RELAT_2def8;
  then A3chence[z  RA1XBOOLE_0defjava.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
  then consider f be sequenceof R that
  A4:rng f c= X & f is descending by A2,  end;
  dom     hereby
  hence thesis by A4,A1,A3,CARD_1:59;
end;

  nowlet ybeobjectjava.lang.StringIndexOutOfBoundsException: Range [24, 25) out of bounds for length 24
ric  RelStr
    for X,Y being well_founded Subset of R holdsthen [y  :,X  yxXX
proof
letR   ;
  let X,Y be well_founded Subset of R;
   X\/     hence x=y by A7,A5:def12,def4
  then reconsider Rn=R as non empty   henceRis_antisymmetric_inXbyRELAT_2def4java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
  reconsider X,Y as well_founded Subset Th23:
  considerf   A1138 fG  ;
  A2:rng f c= X\/Y     beingSubset  R 
  rng          2 
  then A3: (rng  R|2X is_antisymmetric_in X
  dom f=NAT by FUNCT_2:def 1;
  then per cases by A3,A2,CARD_1:    for sbeing Sequence of field rng s X&sis increasing
   rng f /X isinfinite;
    then consider s be subsequence of f such that
    A4:rng s c= X by Th14;
    s is let R be Relation;
    hence thesis by A4,Th12;
  end;
  suppose rng f /\Y is infinite;
    then consider s be      hencefgoes_straight m,G by A1125,A1126  set R2=|_2X;
    A5:rng s c= Y by java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 8
    s is descending by A2,Th13;
    hence thesis 
  end;
end;

definition
  let R be    assume a  X
      then [,a] inR2 by  A1,RELAT_2:def 1;
    for n being Nat holds [s.n,s.(n+1)] in the InternalRel of R;
end;

theorem Th18:
  for R being non empty transitive RelStr, f being sequence of  for R being non empty transitive RelStr, f being sequence of 
    st  isnon-escending holds for i, being Natst <
  olds  set O  dom s,
proof
letR nonempty transitive RelStr,fbe sequence of R  that
A1: f is non-descending;
java.lang.StringIndexOutOfBoundsException: Range [9, 2) out of bounds for length 31
  CR = the carrierhence thesis ,A1126,A1127,GOBRD13:43;,A1127,OBRD1343java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
  defpred P[Nat] means for i being Nat st i < $1
  holds [f.i, f.$1] in I;
:P[ 0 ;
A3  j   stP[ proof
  leta,bejava.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
    let j be Nat such that
A4: P[j];
let i be Nat;
    assume i < j+1;
    theni <j byNAT_1:13;A7:[,]in ;
    then per cases by XXREAL_0:;
      suppose i = j;
        hence [.i, f(j+1) in I  A1;
      end;
      suppose i < j;
        then
A5:    fi f.j]in I  A4;
        [f.j, f.(j+1)] in I by A1;
        hence [f.i,f.(j+1      per cases by A8,A7,A4,WELLORD2:def 1;
      end;
    end;
 for being Nat holds P[] from NAT_1:sch 2(A2    let f1, be clockwise_oriented  non constant
  hence thesis;
end;

    hence thesis by A9,3A1RELAT_2:def 1;
   Rbeingnon  reflexive  end;
fbeing sequence  R st  is connected    special_circular_sequence suchthat
     for X being Subsetthen in b by ORDINAL111;
  ex s being subsequence of f st s is non-descending
proof
A1139: f1 is_sequence_onGaugeCn nd
A1:R is connected;
  let X be  sa  rng  &sbin  s by 5A8FUNCT_1:def java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
  set I=the InternalRel of R;
  consider A1140   then [a,.  /[:,: A10,OOLE_0 4
A3:        ence thesis by WELLORD1:ef;
  reconsider m as Elementend;
  consider a be object    end;
:a  dom  &f =mby ,FUNCT_1def 3;
A5: dom f = NAT by FUNCT_2:def 1;
econsider   Nat  A4;
  defpred P[Nat,set,set] means
  for  [.a,s.]in  &not [b  RO
   for  then reconsider a, as  byA4;
   i < j & f.j in     not a c= b by A11WELLORD2def 1;lds f(,,
(.  rng f\i+)java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
A12sb<> a&[.,sa]inR by ,,5java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
      Gau(C,)missesC front_left_cellf1kGauge(n)misses C  
    let nsb,.]in [XX]by ZFMISC_1:;
    per cases;
    suppose
A7:  not x is Nat;
      take a;
then s,.] in R2 byWELLORD1:ef6java.lang.StringIndexOutOfBoundsException: Range [43, 44) out of bounds for length 43
    end;
    suppose x is Nat;
      java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 6

      java.lang.StringIndexOutOfBoundsException: Range [4, 5) out of bounds for length 4
      then (\i1 c   java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
      then consider a be object suchforbeingof  Rholds
         R|2X X |_2 X is_antisymmetric_in X
      by A2,WELLFND1:def 3,WELLORD1:def 3;
      consider j be object such that
A9:   j in dom (f^\i1) & (f^\i1).j =a by A8,FUNCT_1:def 3;
      reconsider j as Nat by A9  let Rbe Relation
      take J=j+1;
      let X be Nat such that
A10:  X = x;
      thus J is Nat;
      let j1 be Nat such that
: j1=J;
      i1 <= J by NAT_1proof
      thesis by A8,A10A11,9,
    end;
  end;
N be Function such that
A12:dom N = NAT & N.0 = athen
13fornbeing  holdsGauge(n) and
  defpred    then R2  wellordering by WELLORD1:;
A14: P[0] by A12;
A15: for j being then R2,RO are_isomorphic by WELLORD2:def 2;
A16:     then  be  such that
  rng NA2  is_isomorphism_of,2  WELLORD1:40,def 8;
  proof
    let b be object such that    fieldRO= & rng f= X A1WELLORD1:def 7,WELLORD2:def 1;
A17:b in rng N;
    onsider a be bjectsuch that
A18:a in dom N & N.a c=fieldR byA2,WELLORD1:def 7;
    reconsider a  then   as Sequence  field by RELAT_1:def 19,RDINAL1def7
    . is Natby A16java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
   by ,RDINAL1: ;
  end;
  then reconsider N as sequence of NAT by A12,FUNCT_2:2;
  for n being Nat holds N.n < N.(n+1) by A13;
  then reconsider N as increasing sequence of NAT
    by VALUED_1:def 13;
  reconsider      ,BbeOrdinalsuch 
  take fN;
  defpred    Gauge(C,n)) misses:def 2;
     I-Seg (fN.($1+1)) misses rng (f^\((N.$1)+1));
A20:R[0]
  proof
: fN. =m  fN.  .N.) by ,A12,UNCT_215;
A22: f.(N.1) in rng f by A5,FUNCT_1:def 3;
java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 40
    not fN1 in I-Segjava.lang.StringIndexOutOfBoundsException: Range [4, 2) out of bounds for length 41
        A< A4
        suppose mA4A,:java.lang.StringIndexOutOfBoundsException: Range [55, 54) out of bounds for length 61
      hence   assume
    endjava.lang.StringIndexOutOfBoundsException: Range [8, 9) out of bounds for length 8
    suppose not [fN1,m] in I;
      thenjava.lang.StringIndexOutOfBoundsException: Range [7, 8) out of bounds for length 7
      then m <= fN1 java.lang.StringIndexOutOfBoundsException: Range [0, 22) out of bounds for length 18
h   A13A21,:def5java.lang.StringIndexOutOfBoundsException: Range [45, 46) out of bounds for length 45
    ;;
  end;
A23: for n being Nat st R[n] holds R[n+1
  proof
    let n be Nat such that
A24:R
    set n1=n+1,
        n2=n1+1;
A25: fN.n1 = f.(N.n1) & fNA11:  rngs =  & s is increasing;
      set O = dom,
    N.n < N.n1 by A13;
    then reconsider K=(N.n1)      RO=elIncl O;
    (A12  s is_isomorphism_of RO,2by A11,h23,9;
thenf\(Nn1+1 = f\(Nn+1)^\K  NAT_1:8;
    then
6  (^(N)+))c (^\((N.)1)by NAT_1:5;
  in rngf\(.1)1)by ,A13;
    notRis_well_founded_inX  A10,Th21Th22;
      Xbyd 5
    suppose fN1java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
      hence thesis by A25 forR being 
    end;
    suppose not [fN2,fN1] in I;
      then not fN2 <=fN1 by ORDERS_2:def 5;
      then fN1 <= fN2 by A1,WAYBEL_0:def 29;
      hence by A25
    end;
  end;
  for n being Nat     for s,t being Sequence,tbeing  offield R st
  hence thesis;
end;

theorem     holds s = t
  for R being non empty transitive RelStr
    for f being sequence of R   let R Relation
       for s being subsequence  f
         holds s is non-descending
proof
  let R be non empty transitive RelStr;
 let f sequence of such that
A1: f is non-descending;
  of f;
  for n being Nat holds [s.n,s.(A3RelIncl domA1151: f1k fk;
  proof
    let n be Nat;
    set n1=n+1;
    consider N be increasing sequence of NAT such that
A2:  s = f * N by VALUED_0:def 17  by A1A2,Th23,: 8;
A3:  dom N = NAT bycl om s are_isomorphic&
A4:  n in A4:  n in NAT & n in NAT by _somorphicby WELLORD140java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
A5:  s.n = f.(hencebyA3WELLORD1:45;
    n < n1 by
    hence
  end;
  hence thesis;
end;

definition
  let R be Relation, s be Sequence of
  attr s is increasing means
    java.lang.StringIndexOutOfBoundsException: Range [17, 7) out of bounds for length 50
      s.A <        1 < len f1  =len java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 4
end;

registration
  let R be Relation;
 1 in dom &1 ind f2 by : then
  coherence
  proof
    let s be Sequence of field R;
    assume
  is increasing;
    let x1,x2 be object such that
A2  proof
A3: s.x1=s.x2 & x1<>      let x be object;
    reconsider       thus thesis;2:<f1 *  */ > *1* <. PARTFUN16
    x1 in x2 or x2 in x1 by A3,java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 15
    hence contradiction by A2,A1,A3;
  nd
end;

theorem Th21:
  for R being Relation, X being set st X = field (R|_2 X)
  holds
   (R|_2 X is reflexive  A: I is_antisymmetric_in {
   R| implies R is_connected_in)java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
   (R|_2 X is well_founded implies R is_well_founded_in X)
proof
  let R be Relation, X be set java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 24
A1f1 letx,  objectjava.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
  set R2=R|_2 X;
A2: R2 = java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
  hereby assume
A3:R2 is reflexive;
    now let x be object;
      assumejava.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 6
      then [x,x] in R2 by A1,A3,RELAT_2:def
      hence  [,x in R  A2XBOOLE_0:def 4;
    end;
    hence R is_reflexive_in X by RELAT_2:def 1;
  end;
  hereby
    assume
A4: R2 is connected;
    now let x,y be object such that
A5:    x in X & y in X & x <>y;
      [x,y] in R2 or [y,x] in R2 by A5,A1,java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 20
      hence [x,y] in R or [y,x] in R by A2,XBOOLE_0:java.lang.StringIndexOutOfBoundsException: Range [0, 55) out of bounds for length 30
    nd;
 X byRELAT_2def 
  end;
  assume
A6:R2 is well_founded;
  for Y being set st Y c= X &f1|  *1/,/>by ,:81XXREAL_0:&Iis_antisymmetric_inY  Iis_connected_inY&I java.lang.StringIndexOutOfBoundsException: Index 74 out of bounds for length 74
ainY&-eg a missesY
  proof
    let Y be set such that
A7: Y c= X & Y <> {};
    java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 34
 byA7A1,java.lang.StringIndexOutOfBoundsException: Range [52, 51) out of bounds for length 60
    java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 11
    thus a in Y by A8;
assumeSegmeets;
    thenb be object such
A9:binRSega&b  Y by XBOOLE_03;
A10:b <> a & [b,a] in R by A9,WELLORD1    ex s being OrdinalSequence st s is increasing & rng s = X
    [java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
    then [,a]in R2by A2,A10,XBOOLE_0:def 4;
    then b in R2-Seg a by A10,WELLORD1:1;
    hence contradiction by A8,9,XBOOLE_0:3;
  end;
  hence thesis by WELLORD1:def 3;
end;

theorem Th22:
forRbeing ,Xbeing  holds
    (R|_2 X A2   RelIncl,RelIncl X
    (R|_2A1153:  k > 1;
proof
  let   Relation X be set;
  set R2=R|_2 X;
A1: R2 = R/\[:A3dom= A,WELLORD1def 7;
  herebyassume
:R2java.lang.StringIndexOutOfBoundsException: Range [20, 21) out of bounds for length 20
       nowlet x,, be object;
      assume
:x inX& y in X & z in X & [x,y] in R & yz  R
      then  java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
      thendom;
:[,y   z inR2A3A,java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
then field R2  yin field &z field R2by RELAT_1:15java.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 71
      then [x,z] in then
      hence [x        A8:[a,b] inRelIncl BbyA3,A5,,WELLORD2: 1;
    end;
    hence R is_transitive_in X by RELAT_2:def 8;
  endjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
      a<>b ;
A5:R2 is    then F,.]in RelInclX  .a>. by A8,2
  now en. c< F.by A9W:def 1;
    assume
A6: x in  end;
     [,] in [X,:  yx]in [X,:  :;
    then
A7: end;
    then x in field R2 & y in field R2 by RELAT_1:15;
    hence x=ybegin:: Selected Properties of Operators on Sequences of Surreal Numbers
  end;
  hence s,,,,,,2zfor ,
end;

:
  for R being Relation
    for X being Subset of field R st
        R|_2 X is_reflexive_in X &
      R|2 X is_antisymmetric_in 
    A1 x1=x2&y1=y2;
    holds-=-2 byA1,URREALR:java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29

  let
  lettheorem :
   R2=|2Xjava.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
  assume
A1:R2 is_reflexive_in X & R2 is_antisymmetric_in X;
A2 c  java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
  proof
    let a be object;
    assume a in X;
    then [a,a] in R2 by A1,RELAT_2a:s+uReal.r+) z ==  uReal.* +uReale*z
    hence thesis by RELAT_1:15;
  end;
  let s be Sequence of field R such that
A3:  rng             then
 O=doms,
      RO=RelIncl O;
A4: field RO  then java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
A5: dom s = field     .+*z= s+(uReal()z +.   java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
A6: rng s = field R2 by A3,A2,WELLORD1:13;
  for a,b being object
  [a,b] in Th30java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 7
    let a,b be object;
    thus[a,]in implies ain field  & b in java.lang.StringIndexOutOfBoundsException: Range [63, 55) out of bounds for length 76
    proof
:k+   byjava.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 44
A7: [a,b] in RO;
      hence
 a  field &b in ield RO by RELAT_1:;
      by SURREALR,,SURREALN:java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
percases A8,7A4,:def 1;
      suppose
A9:     a = b;
        s. in rng s by A5,A8,FUNCT_1:ef3java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
         thesis byA9endjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
      end;
      suppose a c< b;
        then a in b by ORDINAL1: -x <= |.-x.| == |.x.| by SURREAL:3440java.lang.StringIndexOutOfBoundsException: Range [42, 43) out of bounds for length 42
             
A10:    [s.a,    3911 = 17*230 +1; hencetheorem Th31:
        s.a              assume
then[s.a,s.b]in[XX: byA3ZFMISC_187;
        then [s.a,s.b] in R/\[:X,X:] by A10,XBOOLE_0:def 4;
        encethesis _< x 
      end;
    ;
    assume
A11then
    [.,.]inR2&not[a,]in RO;
    then     then uReal*x> 0No*x by A1,URREALR75;
    ot a = b byA11,then.uReal.*x| uReal.xby SURREALC:ef 6
        hence byA,,URREALC1
    then
A12:s.b<> s.a & [sjava.lang.StringIndexOutOfBoundsException: Range [14, 18) out of bounds for length 9
A13:s    then uReal.-r > 0_obySURREALN:47,51;
    then s.s.] in [XX:] by      A1,SURREALR:75;
    then [s.b    then |.uReal.(-r)* x.| = uReal.(-r)* x by SURREALC:def 6;
    hen [.,.a in   WELLORD1:ef 6;
    hence thesis by A12,A11,A13,A1,RELAT_2:def 4;
  end;
  hence thesis by A5,A6,A3,WELLORD1:def 7;
end;
java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 52
theorem Th24:
                len f2 in dom(f2|) by ,:6
    for X being Subset of field R holds
        X iff
         R|_2 X     hence thesis by A4:java.lang.StringIndexOutOfBoundsException: Range [35, 36) out of bounds for length 35
         & ex s being   end;
proof
 Rbe ;
  let X be    0No infinitely<y
  etR2=R_2 ;
  thus R well_orders X  Real;
  & ex s being Sequence of field R st rng s = X & s is increasing
  proof
    set O=order_type_oflenf2<    end;
             thesis by A5,URREALN:47,SURREALC:def 6;
    assume R well_orders X;
    then
A1:R2 well_orders X & X = field R2 by PCOMPS_2
theorem Th32
    then R2 uRealr1 . = uReal.r1-2
consider be Function such 
  -uReal. = uReal-2bySURREALN:56
    field RO= &rngf  X  A2,,ELLORD1: 7WELLORD2:def 1java.lang.StringIndexOutOfBoundsException: Range [66, 67) out of bounds for length 66
    then
A3: f    hence9java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    reconsider f as Sequence of field R;
    thus R2 is_reflexive_in X & R2 is_antisymmetric_in X
    by A1  (-x)* uReal.(x)*.-r =(x)* .  SURREALN56SURREALR:;
    take f;
    rng    by,A1,
    let A,B be java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 4
theoremTh34java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
A5 Ac=Bby ,ORDINAL1:def 2;
A6: A in dom f by A4,ORDINAL1:10;
    then [A,B] in RO by A4,A3,A5,WELLORD2:def 1;
    then
A7: [f.A,f.B] in R2=R/\[:Xproof
:f isone-o-one by A2,ELLORD1:def ;
    A<>B by A4;
    hence thesis A1 X1c &Y1 c= Y2;
  end;
  assume
java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 51
  X c= field R2
  proof
    let a be object;
    assume a in X;
then[,   byRELAT_2def1java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
    hence thesis by RELAT_1:15;
  end;
  then
A10: X = field R2 by WELLORD1:13;
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
A11:  rng s = X & s is increasing;
  set O = dom s,
      RO=elInclO;
A12:  s is_isomorphism_of RO,R2 by A11,Th23,A9;
  R2 is well-ordering by A12,WELLORD1:44;
  then R is_reflexive_in X & R is_transitive_in X &
    R is_antisymmetric_in X & R is_connected_in X &
    R is_well_founded_in X by A10,Th21,Th22;
  hence R well_orders X by WELLORD1:def 5;
end;

theorem Th25:
  for R being Relation
    for X being Subset of field R st
     |_2is_reflexive_in 
        R|_2 X is_antisymmetric_in X
    for s,t being Sequence of java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 28
      rng s = X = rng t & s is increasing & t is increasing

proof
  let R be Relation  compatibility
  let X be  proof
A1:             now
  let s,t be Sequence of field R such that
A2: rng s = X = rng t & s is increasing & t is increasing;
A3:s       S.A               percases;
    hence S.  is positiveby ,2SURREALCdef java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
  RelIncl dom s suppose
   A1,2,h23,WELLORD1:def 8;
java.lang.StringIndexOutOfBoundsException: Range [7, 6) out of bounds for length 44
    R|_2 X,RelIncl dom t are_isomorphic by WELLORD1:40;
  then dom t=dom s by1172front_right_cell(f1,java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 26
  hence thesis by A3,WELLORD1:45end;
end;

let  java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 28
  let R be RelStr
  let A be Subsetfor A,st A in indom  
  attr      S. infinitely ..;
    the ofR  Ajava.lang.StringIndexOutOfBoundsException: Range [39, 40) out of bounds for length 39
end;

registration
  let R be RelStr;
  cluster {}A2:  in Bin dom Sjava.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
  
  proof
    set  the  of R;
A1:I is_reflexive_in {}
    proof
      let x be object;
      thesisjava.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
    end;
A2:  {}
    
      let x,y,z be object;
      thus thesis;
    end;
A3 {
    proof
      let x,beobject;
      thus thesis;
    ;
A4: I is_connected_in {}
    proof
      let  3911=53*  ;java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
      thus thesis;
    end;
    {}R is well_founded by Th11;
ce thesis byA,A2,A3,A4,:def 5,ELLFND1: 3java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
 ;


theorem Th26:
 R  RelStr
    for X,Y being Subset of R streconsider x1xasOrdinal A2;
      holdsA3: S.x1 = S.x1  S.x2 = S..2 by A2,ef5
proof
  let  beRelStr;
  let X,Y be Subset    3911 = * NAT_4:9;
A1: X c= Y & Y is well-ordering;
  setS.<. byA,A2,A39java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
A2: I is_reflexive_in  endjava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
  & I is_antisymmetric_in YSURREALC9SURREALO3;
    by A1,WELLORD1:def 5;
  then X is well_founded by A1,Th15,WELLFND1:e
  then I is_reflexive_in X & I is_transitive_in X
  & I is_antisymmetric_in X & I is_connected_injava.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
    by A2,A1,ORDERS_1:8,9,10,76,WELLFND1:def 3;
  hence    f^A- surrealvalued
end;

theorem Th27:
  for X being Subset of A
    ex  being Ordinal- st sis increasing&  s  
proof
  let X be Subset of A;
  consider be  
A1:RelIncl X,RelIncl dinal  A1;
  consider F be Function such that
 is_isomorphism_of , 
  bythen    fby FUNCT_1:ef 3;
     thesis by : 16;
  then
A3:dom F= B by A2end;
  then reconsider F java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 6
:rngF  field     by A2,WELLORD2:def 1,WELLORD1:ef 7java.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 67
  reconsider  OrdinalSequence by A1176:          front_right_cell(f1,m,Gauge(C,n)) mf,,(,) C
  take F
    letfbe - such 
A1: Ac  indom f;
A2 -Ain dom f^)by A1,h7;
A7:a in dom F by A5,ORDINAL1:10;
    then
A8a,]inRelIncl B by A3,A5,A6,WELLORD2:def 1;;          f1 turns_rightmGauge,n  A1142,A1157,,;
A9:F.a in X   hencethesis by A2,ef5java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
    a<>b by
.Fb RelIncl&.f2 (n  A1146,AA1159
    then F.a c< F.b by A9,WELLORD2:def 1;
    hence Fain F. by A9ORDINAL1;
;
  hence thesis by A4,ORDINAL2:def 12;
;

begin hence thesis by A1143,A1151,A1153,A1167,A1160,A1177,GOBRD13:46;

reserve s,x,x1,x2,y,y1,y2,z for Surreal,
        ,r1,r2, Realjava.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
        S,T for surreal-membered set;

theorem Th28:
  x1 == x2 & java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
proof
  assume
A1: x1==x2 & y1==y2;
  -y1==  cluster f /^ A -> positive;
  hence thesis by A1,SURREALR:            hence thesis;
end;

theorem  proof
  x1     let B be Ordinal;
proof
  assume x1==x2 & y1==y2;
  then x1 * y1 = x2*y1==x2*y2  54
  A1 B in  f/ )
end;

 s + .*  uReale *z
proof
  uReal.(r+e)* z == (uReal.r + uReal.e) *          suppose
Realr* +uReal. *z SURREALR:54,67;
  then uReal.(r+e)* z ==
  uReal.()z+  uReal.(r)*z + uReal
   s  uReal(r+)*z =s + (uReal.(r)*z + uReal.e * z )
    by SURREALR:43;
  hence thesis by SURREALR:37;
end;

theorem Th30:
  s + uReal.(r+e)* z == s + uReal.r*z + uReal.e * z &
  s + uReal.(r-e)* z == s + uReal.r*z - uReal    let B be Ordinal  such that

  thus s + uReal.(r+e)* z == s +    Bindom(/A by A1,RDINAL1:10;
A1:s + uReal.(r+-e)* z == s + uReal    then
z*Real(-) == *( uReal.)=-z  .
    by SURREALR:54,58,    (A+^C) in dom f by A1,Th8
  then s + uReal.r*  then s + uReal.r*z

  hence thesis by A1,SURREALO:10;


Lm2: -x <= |.x.|
proof
  -x <= |.-x.| == |.x.| by SURREALC:34,40;
  hence thesis by SURREALO:9;
end;

theoremTh31:
  0_No <= x infinitely< y implies |.uReal.r* x.| infinitely< y
proof
  assume
A1: 0_No <= x infinitely< y;
  per cases;
  suppose
A2: r >0;
    then uReal.r >= 0_     in S&x  y}
    then uReal.r* x >= 0_No * x by A1,SURREALR:75;
    then |.uReal.r* x.| = uReal.r* x by SURREALC:def 6;
    :13;
  end;
  suppose
A3: r <0;
    then uReal.-r >= 0_No by SURREALN:47,51;
    then uReal.(-r)* x >=   <  byA1151java.lang.StringIndexOutOfBoundsException: Range [53, 52) out of bounds for length 56
    then |.uReal.(-r)* x.| = uReal.thus x in   ex y being Surrealsty  S x=  y
    then
A4: |.uReal x n;
    then   beElementofDay Mst=& ex y Surrealst
    then uReal.(-r)* x == - (uReal.(r)* x) by SURREALR:58;
    then |.uReal.(-r)* x.| == |.-(uReal.(r)* x)
    |.(uReal.(r)* x).| by SURREALC:40,48;
    then|.uReal.(
    hence thesis by A4,SURREALC:17;
  end;
  suppose
A5: r=0;
    0_No infinitely< y
    proof
      let e be positive Real;
    thus byA1,      thus thesis by A1,SURREALC
    end;
    hence  by A5,URREALN47,SURREALC:ef 6;
  end;
end     end;

theorem Th32:
  uReal      x c=  yby :ef ;
proof
  - uReal.r2 == uReal.-r2 by SURREALN:56;
 then uReal.r1+r2)= uReal.r1+Real(r2)= .r1)+uReal.r2)
    by SURREALN:55,SURREALR:then  in  bornx = Mby 35SURREAL0def 18;
  encethesisby :;
end;

theorem java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
  *.r =-x*uReal(-r)
proof
  (-x)* uReal.(- r) == (-xA6:forx being Surreal 
    x in U1iff ex  being Surreal styin &x = Unique_Noy
  hencethesis  SURREALR:58;
end917isprime

theorem Th34:
2 holds
    X1 ++ Y1 c= X2 ++ Y2
proof
  let X1,X2,Y1,Y2 be set such that
A1:      assume
  X2 = X1A9   x in ;
        reconsider= as Surrealby SURREAL0:def 16;
  then
A2: X1 ++ Y1 c= X2 ++ Y1 by XBOOLE_1:7;
  Y2 = Y1 \/(Y2 \ Y1) by A1,XBOOLE_1:45;
  java.lang.StringIndexOutOfBoundsException: Range [0, 6) out of bounds for length 4
  then X2 ++ Y1 c= X2 ++ Y2 by XBOOLE_1:7;
  hence thesis by A2;
end;

      then s=x asSurrealbySURREAL0:ef 16;
  let o be object;
  let f be surreal-valued Function;
  assume A1:o in dom f;
  func f .. o -> Surreal equals :Def5:
    f.o;
  coherence
  proof
    f.o in rng f by A1,FUNCT_1:def 3;
    hence thesis by SURREAL0:def 16;
  end;
end;

definition
  let S be Surreal-Sequence;
  redefine attr S is positive means :Def6:
    for A st A in dom S holds S .. A is positive;
  compatibility
  proof
    hereby assume
A1:   S is positive;
       such that
A2:   A in dom S;
      S.A = S..A by A2,Def5;
      hence S .. A is positive by A1java.lang.StringIndexOutOfBoundsException: Range [36, 37) out of bounds for length 23
    end;
    assume
A3:for A st A in dom S holds S .. A is positive;  let s be -equencejava.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
    let A be Ordinal such that A4: A in  forA  A  dom s holds itA=Unique_No .A;
    let sa be Surreal such that A5: sa = S.A;
    S. =S. bybyA4,ef5java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
    hence thesis by A4, P[bjectobject  2= Unique_Nos.$1;
  end;
end;

definition
  letS SurrealSequence;
  redefine attr S is decreasing_infinitely means :Def7:
    for A,B st A in B in dom S holds
      S.B < S.A;
  compatibility
  proof
    hereby assume
A1:   S is decreasing_infinitely;
 AB  Ordinal such that
A2:   A in B in dom S;
      S..A = S.A & S..B=S.B by A2,Def5,ORDINAL1:10;
      hence S.B infinitely< .. by A2,1SURREALCdef16
;
    assume
A3:for A, being Ordinal   inBin dom S
    holds S..B infinitely< S..A;
    let A,B be Ordinal such that A4:A in Bhence thesis by A4;
    let sa,sb     then  ITis uniq-urrealmembered
    S.A=S &S.B=. byA4Def5,ORDINAL1:;
    hence thesisbyA3,A4,A5;
  end;
end;

registration
  cluster java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 12
  coherence
  proof
SbeSurreal- that
A1:S is decreasing_infinitely;
    let x1,x2 be object such that
A2:x1 in dom S & x2 in dom S & S.x1=S.x2 & x1<>x2;
    reconsider x1,x2 as Ordinal by A2;
A3: S.1 =S.x1 &S.2=S.  A2,ef5java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
p cases by A2,ORDINAL1:;
    suppose x1 in
thenS.x1<S.x1 by A1,A2,A3,SURREALC:9;
      hence thesis by SURREALO:3;
    end;
    suppose x2 in x1;
      then S..x1 infinitely< S..x2 by A1,A2;
      hence thesis       U1 = Unique_No s.. by A5,;
    end;
  end;
end;

registration
  let f be Surreal-Sequence;
  let A be Ordinal;
  cluster f/^A -> surreal-valued;
  
  proof
    let o be object;
    assume o in rng (f/^A);
    then consider B be object such that
:  (/)&(/A.B= o by :def3;
    1;
    A+^B in dom f     let x beobjectsuch 
      in rng f  FUNCT_1:def 3;
    hence thesis by SURREAL0:def    reconsider a= as   A2
  ndjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
end;

A4:cin dom   .c=by ,: 3;
  for f being Surreal-Sequence st A c= B in dom f holds
    f..B = (f/^A) .. (B-^A)
proof
        
  U.  &cjava.lang.StringIndexOutOfBoundsException: Range [18, 16) out of bounds for length 39
2:B^A  dom f/A by A1,h7
  f..B = f.B = (f/^  end;
  hence thesis by A2,Def5;
pr

theorem: in;
  for f    object
    A6  inU .   java.lang.StringIndexOutOfBoundsException: Range [39, 38) out of bounds for length 45
proof
      ain doms  A6,ef9;
A1: A+  indom  orB indom (/A;
8;
  then f..(A+^ B) = f.(A       ,,def3;
ef5;
end;

registration
  let f be positive Surreal-Sequence;
  let A be Ordinal;
  cluster f /^ A -> positiveTh38:
  coherence
  proof
    let B be Ordinal;
    assume
A1: B in dom (f /^ A);
    then A+^B in dom f by Th8;
    then f..(A+^B) is positive java.lang.StringIndexOutOfBoundsException: Range [0, 33) out of bounds for length 26
    hence thesis by A1,Th36;
  end;
end;

registration
l f be decreasing_infinitelySurreal-Sequence;
  let A be Ordinal;
  cluster f/^A -> decreasing_infinitely;
  
  proof
    let ,C Ordinal suchthat
A1: B in C in dom (f/^A);
    B in dom (f/^A) by A1,ORDINAL1:10;
    then
2: f.(+^)=(/A.B &f.(+C) = (f/A).C  A1,Th36java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
    (A+^C) in dom f by A1,Th8;
hence by java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 43
  
end;

definition
   Sbesurreal-membered set;
  func Unique_No S -> uniq-surreal-membered set means :Def8:
    for x holds
      itiff ex  sty  S &x =Unique_Noy;
  existence
  proof
    consider M be Ordinal such that
A1: for o being object st o in S
    ex A Ordinalst  in M &ojava.lang.StringIndexOutOfBoundsException: Range [39, 37) out of bounds for length 61
    set U = {x where x is Element of Day Mjava.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 6
    y in S&x Unique_No y};
    now let a be object;
      assume a in U;
      then ex x bet;
      y in S & x= Unique_No y;
      henceA6 u  Unique_No (US++UT);
    end;
thenjava.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 70
    take U;
    let x be Surreal;
    thus x inA7   +    java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 45
    proof
     xin U;
      then ex a be Element of Day M st x=a & ex y being Surreal st
        y in S & a= Unique_No y;
      hence thesis;
    end;
    giveny Surreal
A2: y in S & x = Unique_No y;
    consider A be Ordinal such that
;
A4: born y c= A by A3,SURREAL0:def 18;
A5(a+   S+) byDef8;
    x == y by A2,SURREALO:def 10;
    then born_eq x c= born y by SURREALO:def 5;
    then born x =A by A5;
    then born x c= M by A3,    then Unique_No(a+b) == y =U by A7,8SURREALO:4,ef10java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
    then x in Day born x c= Day M by SURREAL0      byA11SURREALO50java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
    thesis by A2;
  end;
  uniqueness
  proof
    let U1,U2 be uniq-surreal-membered set such that
A6: for x being Surreal holds
    x in U1 iff ex y being Surreal st y in S & x = Unique_No y  thus Unique_No  = {}impliesS = }
    and
A7: for x being Surreal holds
    x in U2 iff ex y being Surreal st y in S & x = java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 39
 U1 c=U2
    proof
      let xbe bject;
      assume
A9:   in U1;
      then reconsider s=x as Surreal by SURREAL0:def 16;
      ex y being Surreal st y in S & s = Unique_No y by A9,A6;
      hence thesis by A7;
    java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
        =43*  ;hence notA3injava.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 39
    proof
      let x be  ex y   st   {}   Unique_No by A3,ef8;
      assume A10:x in U2;
      then reconsider s=x as Surreal by SURREAL0:def 16;
      ex ybeing Surreal  y in S  sy by A10,7
      hence thesis by 
    end;
    hence thesis by A8;
  end;
end

definition
   be-;
  func Unique_No s -> uSurreal-Sequence means :Def9:
    dom it = dom s &
forAst indoms  itA=Unique_No .Ajava.lang.StringIndexOutOfBoundsException: Range [52, 53) out of bounds for length 52
  xistence
  proof
    defpred P[object    defpred P[bjecto means
 st e indom s ex u being objectst P[,]
    consider  consider R be  ofXsuch
A2:  dom IT = dom s&
      lds x,]in iff x in X &y in  &Px,y] from RELSET_1:sch 1java.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 70
    for o S=(#XR)java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
    proof
          let abbe Surrealsuch :ainX&b  Xjava.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
A3:   o in rng IT;
er xbe object such that
A4:   x in dom IT & IT.x = o by  hence ba in  InternalRel of  by ,A2java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
      IT.x = Unique_No s..x by A2,A4    thus thesis by A1;
      hence thesis by A4;
    end;
    then rng IT is uniq-surreal-membered;
    then reconsider IT as uSurreal-Sequence
      by A2,SURREALC:def 10
    take     ,R2be  RelStr such that
    thusA3:thecarrier R1 &

 b]the ofjava.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
  proof
    let U1,U2 be uSurreal-Sequence suchfor , being  a    X 
 dom U1 = s&
    forA5: the  ofR2
A6: dom U2 = dom  proof
       for O being Ordinal st O in dom s holds U2.O = Unique_No s..O;
for  objectst  in sholds .=.
    proof
      let x be object such that
A7:x  dom s;
      U1.x = Unique_No s..x by A5,      reconsider a,b as Surreal by A:def16java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
      hence thesis by A6,A7;
    end;
    hence thesis by A5,A6,FUNCT_1:2;

end;

:
  for s being Surreal-Sequence holds Unique_No rng      assume
proof
  let s be Surreal  henfor nbeing Element ofNATthenconsider a be  such 
  set U = Unique_No s;
A1:Unique_No rng s c= rng U
  proof
    let x be object such that
A2: x in Unique_No rngjava.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 28
     InternalRel  R1    R2byA5;
    consider b be Surreal such that
A3:  holdsnot n 
    consider java.lang.StringIndexOutOfBoundsException: Range [0, 14) out of bounds for length 4
A4: c in dom s & s.c = b by A3,FUNCT_1:def 3;
      let X surreal-membered set;
    s..c = s.c by A4,Def5;
    then
    .c = &c  dom UbyA3,4,Def9;
    hence thesis
  end;
  rng U c= Unique_No rng s
 
    let x be object such that
A5: x in rng U;
suchthat
A6: a in dom U & U. proof
     a as Ordinal A6;
    a in dom s by A6,Def9;
n.a java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 57
by ,,FUNCT_1def 3;
    hence thesis by A6,Def8;
  end;
  hence thesis by A1;
end;

theorem Th38:
  Unique_No (S++T) = Unique_No ((Unique_No S)++(Unique_No T))
proof
  set US = Unique_No S,UT=Unique_No T;
  A1:Unique_No (S++T) c= Unique_No (US++UT)
  roof
    let u be object;

A2: u in Unique_No (
then reconsiderU as uSurreal by SURREALOdef 12;
    consider y be Surreal such that
      reconsider x,,z as Surreal by A3,URREAL0:ef16;
    consider a,b be Surreal such that
A4: a in S & b in T & y = a+b by A3,SURREALR:def 8;
_No a &b==Unique_No b by SURREALO:def 10;
    then U == y == (Unique_No a) + (Unique_No b)
      A3,4::$CT
       java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 31
    Unique_No ((Unique_No a) + (    Risby:3def8;
    then   end;
    then
A5:U = Unique_No ((Unique_No a) + (Unique_No b)) by SURREALO:50;
    Unique_No a in US & java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 0
    then (Unique_No a) + (Unique_No b) in US++UT by SURREALR:def 8;
    hence thesis by A5, byDef10;
  end;
  Unique_No (US++UT
  proof
    letu  java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20

java.lang.StringIndexOutOfBoundsException: Range [18, 2) out of bounds for length 28
    then reconsider U=u as uSurreal by SURREALO:def 12;
    consider y be Surreal such that
A7: y in US++UT & U = Unique_Nolet x be  ofRjava.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
    consider Ua,Ub be Surreal such that
A8: Ua in US & Ub in UT & y = Ua+Ub by A7,SURREALR:def 8;
    consider a be Surreal such that
 by A8D;
    consider b be Surreal such that
A10: b in d 5
    a+b e;

A11: Unique_No(endjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
    a == Ua & b == Ub by java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 0
    then Unique_No(a+b)    X be surreal- set;
    then Unique_Noa   ==distinct means::
    then Unique_No(a+b)== U by SURREALO:4;
    hence thesis by A11,SURREALO:50;
  end;
  hence thesis by A1;
end;

theorem Th39:
  Unique_No S = {} iff S = {}
proof
  thus Unique_No S = {} implies S = {}
  proof
    assume
A1: Unique_No S = {} & S <> {};
    then considera beobjectsuch that
A2: a in S   end;
    reconsider a as Surreal by A2,SURREAL0:en;
    Unique_No a in Unique_No S by A2,Def8;
    hence thesis by A1;
  end;
  assume S={} & Unique_No S <> {};
  then consider x be object such that
A3:x in Unique_No {} by XBOOLE_0:def 1;
java.lang.StringIndexOutOfBoundsException: Range [14, 12) out of bounds for length 48
  ex y being 
  hence thesis;
end;

begin :: Well-Ordered Substructures of Surreal Numbers under the Reverse Order

definition
  let X be surreal-membered set;
  func RevSurrStr X -> strict RelStr means :Def10:
    the carrier of it = X &
forabeing ain& inXholds
      a y
  existence
  proof
    defpred P[object,object] means
    for a,b being Surreal st a=$1 & b=$2 holds b <= a;
    consider R be       *+;hencenot divides  byNAT_4:;x= byDef10
A1: for x,y being object
holds[y  R       [xy]  : 1java.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 70
    take RS=RelStr(#X,R#);
    thus the carrier of RS = X;
    let a,  Sequence  rng y ;
    hereby assume a <= b;
      then Pjava.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
      hence [b,a] in the InternalRel of RS by A1,java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 11
    end;
    thus thesis by A1;
  end;
  uniqueness
  proof
    let R1,R2 be strict RelStr such that
A3 the carrier of     sa,   java.lang.StringIndexOutOfBoundsException: Range [34, 35) out of bounds for length 34
    for a,b being Surreal st a in X & b in X holds
      a <= b iff [A2 sain  sb    =sb&sa>java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
    and
A4: the carrier A4: the carrier of   A1A2, 3java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
    ora, beingA4  in   . = byA12FUNCT_1def 3
a<  iff[,]in   ;
A5: the InternalRel of R1 c= the InternalRel of R2
    proof
      let       A2A3,,SURREALCdef11java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
      assume
A6:   x in the InternalRel of R1;
       consider a,   such 3919byNAT_49java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
 by A3,FMISC_1:def 2;
      reconsider a,b as Surreal by A7cluster- =distinctfor Subset of ;
b = a  ,,A6;
      hence thesis by A4,A7;
    end;
    the InternalRel of R2 c= the  beingof
   
      let x be object;
      assume
A8:x in the InternalRelI InternalRel  ;
      then consider a,b be object such that
A9:a  A c=field (I |2A)
      reconsider a,b as Surreal  proof
b <a  A4,9,A8java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
      hence thesis A1:in ;
    end;
    then the InternalRel of R1 = the InternalRel of R2 by A5;
    hence thesisA]by A1ZFMISC_187;
  end;
end;

registration
-membered;
  
  
  proof
    set R = RevSurrStr X,
        I = the InternalRel of R;
A1: the carrier of R = X by Def10;
    for x being object st x in X holds [x,x] in I
    proof
      let x belet beSubsetof  ;
A2:   x in X; then
      reconsider x as Surreal by SURREAL0:def 16;
      x <= x;
      hence thesis by A2,Def10;
    end
    hence R is reflexive by A1,RELAT_2:
    for x,y,z being object st x in X & y in X & z in X &
    [x,y] in I & [y,z]field( RevSurrStr) java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
    proof
      let xy, be object such that
A3:x in X & y in X & z in X &
      [x,y] in I & [y,z] in I;      =   R
       ,zas byA3S:efjava.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
      z<= y<= x by A3,Def10;
      then z<= x by SURREALO:9;
      hence thesis by A3,Def10;
    end;
    hence R is transitive by A1,ORDERS_2:def 3,RELAT_2:def 8;
  end;
end;

registration
  let X be non empty surreal-membered set;
  cluster RevSurrStr X -> non empty;
  coherence by Def10;
end;

registration
  let X be non empty surreal-java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 13
  cluster RevSurrStr X -> connected;
  coherence
  proof
    set R       holds sis Sequenceof  theInternalRelofRevSurrStrX
  I= InternalRel  R;
    for x,y being Element       =s holds  is strictly_decreasing iff t is increasing
    proof
      let x,y be Element of R;
A1:   the carrier of R=X by   let X be ==_distinct surreal-membered set such that
      then reconsider a=x,b=y as Surreal by java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 23
      ;
        sSequence IA1: ;
      ence thesis byORDERS_2:def 5;
    end;
    hence thesis by WAYBEL_0:def 29;  
  end;
end;


  let X be surreal-membered set;
  attr X is ==_distinct means     then
    A5.A in &sBin rngs byA2,4,UNCT_1def 3java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
end;

registration
     . <> .Bby ,3,SURREALCdef 11,URREALO:;
  coherence
  proof
    let X be uniq-surreal-membered set;
,  be   that :a  X  b  X  ==;
    a is uSurreal & b is uSurreal by A1,SURREALO:def 12;
    hence thesis by A1,SURREALO:java.lang.StringIndexOutOfBoundsException: Range [32, 34) out of bounds for length 8
  end;
end;

registration
  cluster non empty ==_distinct for surreal-membered set;
  existence
  proof
    take {0_No};
     thesis;
  end;
end;

registration
  et S ==_distinct surreal-membered set;
  cluster RevSurrStr S -> antisymmetric;
  coherence
  proof
     S,
        I = the InternalRel of R;
A1: the carrier of R = S by Def10java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    for x,y being object st x in S & y in S & [x,y] in I & [y,x] in I
    holdsx=y
    proof
      let x,y be object such that
A2:   x in S & y in S & [x,y] in I & [y,x] in I;
      reconsider x,y as Surreal by A2,SURREAL0:def 16;
      x==y by A2,Def10;
hence thesis yA2,Def11;
    end;
    hence R is antisymmetric by A1,ORDERS_2:def 4,RELAT_2:def 4;
   end;
end;

definition
  let S be surreal-membered set;
   Sd means Def12:
    ex y being strictly_decreasing Surreal-Sequence st rng y = S;
end;

registration
  java.lang.StringIndexOutOfBoundsException: Range [23, 9) out of bounds for length 64
  coherence
  proof
    let X be surreal-membered set;
    assume X is desc_ordering;
    then consider s be strictly_decreasing Surreal-Sequence such that
A1: rng s = X;
     sa,b be Surreal such that
:sa  X&sb  X &sa==sb  sa<>b;
    consider a be object such that
A3 ain doms&sa saby A1,,UNCT_1def3;
    consider b be object such that
A4: b in     by WELLORD1:,,,RELAT_2def R:def 12java.lang.StringIndexOutOfBoundsException: Range [54, 55) out of bounds for length 54
    reconsider a,b as Ordinal by A3,A4;
    a in b or b in a by A2,A3,A4,java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 28
    hence thesis by A2,   consider s be Sequence ffield I such that
  end;
end;

registration
  let S be ==_distinct surreal-membered set;
  cluster -> ==_distinct for Subset of S;
  coherence by Def11;
end;

theorem Th40:
   of S holds
    field (  cluster rng s - desc_ordering;
proof
  let A be Subset of S;
  set R=RevSurrStr S,
      I=the InternalRel of R;
  A c= field (I |_2 A)
  proof
    let a be object;
    assume
A1:a in A;
    then reconsider  = %_% uniqmembered setjava.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
A2: [x,x] in I by A1,Def10;
    [a,a] in [:A,A:] by A1,ZFMISC_1:87;
    then [a,a] in I/\[:A,A:]java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    then [a,a]   cluster {} -> djava.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
    hence thesis by RELAT_1: proof

  hence thesis by WELLORD1:13;
end;

registration
  let S be surreal-membered set;
  3923 isprime
  coherence
  proof
    let A be Subset of RevSurrStr S;
    A c= the carrier of RevSurrStr S;
    then A c= S by Def10;
    hence thesis;
  end;
end;

theorem :
  field (the InternalRel of RevSurrStr S) = S
proof
set  = the  of RevSurrStr S
      =evSurrStr S,
      I=the InternalRel of R;
  the carrier of R = S by Def10;
  then
A1: field I c= S\/S by RELSET_1:8;
  S c= field I
  proof
    let a be object;
    assume
A2: a in S;
    java.lang.StringIndexOutOfBoundsException: Range [34, 8) out of bounds for length 54
    [x,x] in I by A2,    [x,x] in I by A2,Def10in I A4D;
    hence thesis by RELAT_1:15;
  end;
  hence thesis by A1;
end;by A3,RDERS_1:8,,76,2,RELAT_2:def 9,ef 12,ef ;

theorem Th42:
  for s being Surreal-Sequence
    for X being ==_distinct surreal-membered set st rng s c= X
      holds s is Sequence of fieldlet S be desc_orderingsurrealmembered set;
  & fort being Sequenceof fieldthe InternalRelRevSurrStrX st
      java.lang.StringIndexOutOfBoundsException: Range [2, 1) out of bounds for length 11
proof
  let s be Surreal-Sequence;
  let X be ==_distinct surreal-membered set such that
A1:  s c=X;
  set R = RevSurrStr X,
      I = the InternalRel    then  RS=RASubset of;

  hence s is java.lang.StringIndexOutOfBoundsException: Range [4, 1) out of bounds for length 37
  let t be Sequence of field I such that
A2: t=s;
  thus s is strictly_decreasing implies t is increasing
  proof
    assume
A3:s is strictly_decreasing;
    et A,B be Ordinal such that A4: A in B in dom t;
    A in dom t by A4,ORDINAL1:10;
    then
A5:s.A in rng s & s.B in rng s by A2,A4,FUNCT_1:def 3;
A6:s..A = s.A & s..B=s.B by A2,A4,ORDINAL1:10,Def5;
    hence t.A <> t.reconsider RA=A asjava.lang.StringIndexOutOfBoundsException: Range [38, 37) out of bounds for length 44
    s..B <tjava.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 42
    hence [t.A,t.B] in I by A2,A5,A1,A6,Def10;
  end;
  assume
A7:t is increasing;
  let A,B be Ordinal such that
A8:A in B in dom s;
  let  let S be ==_distinct surreal-membered set;
A9: sa=s.A & sb=s.B & not sb < sa;
  A:10;
  then
A10: s.
  sa<sb&[sb]in I by A7,A2,A8,A9;
  then sb==sa    thus thesijava.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
  hence thesis by;
end;

::$N Characterization of Well-Ordering via Strictly Descending Sequences
theorem Th43:
  for S being ==_distinct surreal-cjava.lang.StringIndexOutOfBoundsException: Range [11, 9) out of bounds for length 34
    for A being Subset of RevSurrStr
      A is desc_ordering iff A is well-ordering
proof
inctsurreal-setjava.lang.StringIndexOutOfBoundsException: Range [44, 45) out of bounds for length 44
  A be Subset of RevSurrStr S;
  set RS = RevSurrStr S, I = the InternalRel of then I is_well_founded_in RA & I is_well_found:5;
A1: the carrier of RS=S by Def10;
A2: field I=S by Th41;
A3:  field (I|_2 A) =A by A1,Th40;
  thus A is desc_ordering implies A is well-ordering
  proof
    assume A is desc_ordering;
    then consider s be strictly_decreasing Surreal-Sequence such that
A4:   rng s = A;
    reconsider t=s as Sequence of field the InternalRel of RS by A1,A4,Th42;
A5:t is increasing by A1,A4,Th42;
    I|_2 A is_reflexive_in &I |_2 A is_antisymmetric_in A
    by WELLORD1:15,18,A3,RELAT_2:def 9,RELAT_2:def 12;
    hence thesis by A4,A5,A1,A2,Th24;
  end;
  assume A is well-ordering;
  then consider s be Sequence of field I such that
A6:   rng s = A & s is increasing by A1,A2,Th24;
  reconsider t=s as Surreal-Sequence by A6,SURREALC:def 9;
  t is strictly_decreasing by A6,A1,Th42;
  A4: saU.&sb=.B;
end;

registration
  let s be strictly_decreasing Surreal-Sequence;
  cluster rng s -> desc_ordering;
  coherencethen
end;

begin :: Descending Ordering Subsets of Surreal Numbers

registration
  cluster non empty desc_ordering for uniq-surreal-membered set;
  existence
  proof
     <%_No> uniq-urreal-membered set;
    take R;
    thus thesis;
  end;
end;

registration
  cluster {} -> desc_ordering;
  coherence
  proof
    java.lang.StringIndexOutOfBoundsException: Range [34, 14) out of bounds for length 56
    A10,A9,A8,ORDINAL110Def9,ef5java.lang.StringIndexOutOfBoundsException: Range [39, 40) out of bounds for length 39
    hence thesis by Th43;
  end;
end;

theorem Th44:
  for S being =ejava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
    for A being Subset of RevSurrStr Sjava.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
       A is well_founded holds A is well-ordering
proof
  let S be ==_distinct surreal-membered set;
  set R = RevSurrStr
      I = the InternalRel of R;
  let A be Subset of R for S being desc_ordering surreal-membered set holds
A1A ;
A2:field I = S by Th41;
A3:the carrier of R=S by Def10;
  I is_connected_in S
  proof
    let x,y be object such that
A4: x in S & y in S & x <hence S by,java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
    reconsider a=x,b=y as Surreal by A4,SURREAL0:def 16;
    a<=b 3923 = 43*91 + 10; hence not 43 divides 3923 by NAT_4:9;
    ,Def10;
  end;
  is_reflexive_in&IA
  & I is_antisymmetric_in A &
    by A3,ORDERS_1:8,9,10,76,A2,RELAT_2:def 9,def 12,def 16;
  hence thesis by A1,WELLFND1:def 3,WELLORD1:def 5;
java.lang.StringIndexOutOfBoundsException: Range [4, 3) out of bounds for length 37

registration
  let S be desc_ordering surreal-membered set;
  cluster -> desc_ordering for Subset of S;
  coherence
  proof
    let A be Subset of S;
    R=RevSurrStr S;
    S = the carrier of R by Def10;
    then reconsider RS=S,RA=A  as Subset of R;
    RS is well-ordering by Th43;
    then RAis well-ordering byTh26;
    hence thesis by Th43;
  nd;
end;

registration
  let S be ==_distinct surreal-membered set;
  ;
  coherence
  proof
    java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 25
        I = the InternalRel of R;
    let A be Subset of S;
    reconsider RA=as Subset of R by Def10;
    assume A is finite;
    then RA is well-ordering by Th44,Th16;
    hence thesis by Th43;
  end;
end;

registration
  let S be =java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 44
  esc_ordering  Subset of S;
  existence
  proof
    take IT=the finite Subset of S;
    thus thesisder a=,=y as Surreal by A7,SURREAL0::ef 16java.lang.StringIndexOutOfBoundsException: Range [60, 61) out of bounds for length 60
  end;
end;

::$N Union of Descending Orderings
registration
  let S be ==_distinct surreal-membered set;
  let AA,B be desc_ordering Subset of S;
  cluster A \/ B -> desc_ordering;
  coherence
  proof
       java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 25
        I = the InternalRel of R;
    reconsider RA=A,RB=B as Subset of R by Def10;
    RA is well-ordering & RB is well-ordering by Th43;
    then I is_well_founded_in RA & I is_well_founded_in RB by WELLORD1:def 5;
    then RA is well_founded & RB is well_founded by WELLFND1:def 3;
    then  RA\RB is well-rdering by Th17,Th44;
    hence thesis by Th43;
  end;
end;

theorem Th45:
  beingjava.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 36
     let e be object such that
proof
  let s be Surreal-Sequence;
  setU   s;
A1:dom s = dom U by Def9;
   s is strictly_decreasing  is strictly_decreasing
  proof
    assume
  is strictly_decreasing;
    let A,B be Ordinal such that
A3: A in B in dom U;
    let sa, be Surreal such that
A4: sa=U.A & sb=U.B;
A5: s.A=s..A & s.B=s..B by A3,A1,ORDINAL1:10,Def5;
    sa = Unique_No s..A & sb    ,13,;
    by A1,A4,A3,ORDINAL1:10,Def9;
    then
A6:sa == s..A & sb==s..B by SURREALO:def 10;
     sb < s.A  A5,1A2,A3,SURREALC:ef 11,SURREALO:9;
    hence thesis by A6,SURREALO:9;
  nd
  assume
A7:U is strictly_decreasing;
  let A,B be Ordinal such that
A8:A in B in dom s;
  let sa,sb be Surreal such that
A9:sa=s.A & sb=s.B;
A10:U.A=U..A & U.B=U..B by A8,1Def5,ORDINAL110java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
  U..A = end;
    java.lang.StringIndexOutOfBoundsException: Range [10, 6) out of bounds for length 39
  then
A11:U.A = sa&U.B==b by: ;
  then sb < U..A by A10,A1,A7,A8,SURREALC    java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 34
  hence thesis by A11,SURREALO:9;
end;

registration
  let z be strictly_decreasing Surreal-Sequence;
  cluster Unique_No z -> java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 31
  coherence by Th45;
java.lang.StringIndexOutOfBoundsException: Range [4, 3) out of bounds for length 4

theorem Th46:
  for S being desc_ordering surreal-membered set holds
    Unique_No S is java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 14
proof
  end;
  consider y be strictly_decreasing      b be Functionsuchthat
A1: rng y = S by Def12;
  rng (Unique_No y) is desc_ordering;
  hence Unique_No S is desc_ordering by A1,Th37;
end;

of DescendingOrderings under Addition
theorem Th47:
  for S,T being desc_ordering surreal-membered set holds
    Unique_No (S++T) is desc_ordering
proof
  let S,T be desc_ordering surreal-membered set;
  per cases;
  suppose S={} or T={};
    hence thesis by Th39,SURREALR:27;
  end;
  suppose
A1: S<>{} & T<>{};
    set USthen consider sA be subsequence of a such that
        UT=Unique_No T;
    US <>{} by A1,Th39;
    then reconsider
    U = US\/UT \/ Unique_No (US++UT)
    as non empty uniq-surreal-membered set;
    set R = RevSurrStr U,
        I = the InternalRel of R;
A2: field I = U by Th41;
A3: the carrier of R=U by Def10;
 U+UT)  (++T Th38;
    US c= US\/UT & UT c= USthen
    then reconsider RA=US,RB=UT,UR=Unique_No (US++UT) as Subset of R
    by A3,XBOOLE_1:17java.lang.StringIndexOutOfBoundsException: Range [23, 24) out of bounds for length 23
    set IU=I|_2 UR;
    assume not Unique_No (S++T) is desc_ordering;

A5: not UR is well-ordering by A4,Th43;
    not UR is well_founded
    proof
A6:   I is_connected_in UR
      proof
        let x,y be object such that
A7:     x in UR & y in UR & x <>y;
        reconsider a=x,b=y as Surreal by A7,SURREAL0:def 16;
        a<=b or     reconsider d1dNANB(01,0 =dNANB0as  byA3,SURREALOdef12;
        hence [x,y] in I or [y,x] in I by A3,A7,Def10;
      end;
      I is_reflexive_in UR & I is_transitive_in UR
      & I is_antisymmetric_in UR & I is_connected_in java.lang.StringIndexOutOfBoundsException: Range [0, 55) out of bounds for length 44
      by A3,A6,A2,RELAT_2:def 9,def 12,def 16,ORDERS_1:8,9,10;
      hence thesis by WELLFND1:def 3,A5,WELLORD1:def 5;
    end;
     of Rsuch that
A8: rng d c= UR & d is descending by Th12;
A9: dom d = NAT by FUNCT_2:def 1;
    rng d is surreal-membered;
    then reconsider D=d as surreal-valued Function by SURREALC:def 9;
        [sB0,,B1]in I by A25;
      $2 in US & for sa being Surreal st $2 = sa
      ex sb being Surreal st sb in UT & D.$1 = Unique_No (sa + sb);
A10:  for e being object st e in dom D ex u being object st P[e,u]
    proof
      et e be object that
A11:  e in dom D;
A12:  d.e in rng d & D..e = D.e by Def5,A11,FUNCT_1:def 3;
      then consider x be Surreal such that
A13:   x in US++UT & D..e = Unique_No x by A8,Def8;
      consider a,b be Surreal such that
A14:  a in US & b in UT & x=a+b by A13,. b.N0 by FUNCT_2:5
      A34 = bN(B.1) A26FUNCT_2:
      thus = b.N1 by FUNCT_2
    end;
    consider a be Function such that
A15:dom a = dom D &
    for e being object st e in dom D holds P[e,a.e] from CLASSES1:sch 1(A10);
A16:rng a c =Aa.N1  sA0= Aa.Nby A31,32,9A15,Def5;
    proof
      then  =Unique_No(  )&
       in rng a;
      then ex x be object st x in dom a & a.x = y by FUNCT_1:def 3;
      hence thesis by A15;
    end;
    then reconsider a as sequence of R by XBOOLE_1:1,A9,java.lang.StringIndexOutOfBoundsException: Range [4, 59) out of bounds for length 47
    reconsider Aa=a as surreal-valued Function by A16,SURREALC:def 9;
    defpred java.lang.StringIndexOutOfBoundsException: Range [0, 13) out of bounds for length 0
    $2 in UT & for sb being Surreal st $2 = sb java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 43
    D.$1 = Unique_No (Aa..$1 + sb);
java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
   java.lang.StringIndexOutOfBoundsException: Range [9, 10) out of bounds for length 9
      let e be object such that
A18:  ex beSurreal st y in S    y  ,
      a.e = Aa..e by A18,A15,Def5;
      then consider sb be Surreal such that
A19:  sb in UT & D.e = Unique_No (Aa..e + sb) by A18,A15;
      take sb;
      thus thesis by A19;
    end;
    consider b be Function such that
A20:dom b = dom D &
    existence;
A21:rng b c= RB
    proof
      let y be object;
      assume y in rng b;
      thenex x be object st x in dom b & b.x = y by FUNCT_1:def 3;
      hence thesis by A20;
    end;
    then reconsider b as sequence of R by XBOOLE_1:1,A9,A20,FUNCT_2:2;
    reconsider Bb=b as surreal-valued Function by A21,SURREALC:def 9;
    RA is desc_ordering by Th46;
    then RA is well-ordering by Th43;
    then I is_well_founded_in RA by WELLORD1:def 5;
    then consider sA be subsequence of a such that
A22: sA is non-descending by A16,Th19,WELLFND1:def 3;
    consider NA be increasing sequence of NAT such that
A23: sA = a * NA by VALUED_0:def 17;
    reconsider bN = b*NA as subsequence of b;
    rng bN c= rng b by RELAT_1:26;
    then
A24: rng bN c= RB by A21;
    RB is desc_ordering by Th46;
    then RB is well-ordering by Th43;
    then I is_well_founded_in RB by WELLORD1:def 5;
    then consider sB be subsequence of bN such that
A25: sB is non-descending by A24,Th19,WELLFND1:def 3;
    consider NB be increasing sequence of NAT such that
A26:sB = bN * NB by VALUED_0:def 17;
    reconsider sAN = sA*NB as subsequence of sA;
    reconsider dNA = d*NA as subsequence of d;
    reconsider dNANB = dNA*NB as subsequence of dNA;
    B.0 java.lang.StringIndexOutOfBoundsException: Range [48, 47) out of bounds for length 79
      by ,h13;
    then
A27: dNANB is descending by Th13;
    then
A28:d1<>d0 & [d1,d0] in I by WELLFND1:def 6;
    reconsider sA1 = sAN.(java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 31
    sAN is non-descending by A22,Th20;
    then [sA0,sA1] in I;
    then
A29: sA1 <= sA0 by A3,Def10;
    reconsider sB1 = sB.(0+1), sB0= sB.0 as uSurreal by A3,SURREALO:def 12;
    [sB0A1: S isstrictly_decreasing;
    then
A30: sB1 <= A30: sB1 <= sB0& x2 in dom S&.1S.x2& x1>x2
    set N0=NA.(NB.0),
java.lang.StringIndexOutOfBoundsException: Range [31, 8) out of bounds for length 21
A31: sA0 = sA.(NB.0) by FUNCT_2:15
    .= a.N0 by A23,FUNCT_2:15;
java.lang.StringIndexOutOfBoundsException: Range [4, 3) out of bounds for length 8
    .= a.N1 by A23,FUNCT_2:15;
A33: sB0 = bN.(NB.0) by A26,FUNCT_2:15
    .= b.N0 by FUNCT_2:15;
A34: sB1 = bN.(NB.1) by A26,FUNCT_2:15
    .= b.N1 by FUNCT_2:15;
A35: d0 = dNA.(NB.0) by FUNCT_2:15
    .= d.N0 by FUNCT_2:15;
A36: d1 = dNA.(NB.1) by FUNCT_2:15
    .= d.N1 by e,1e2  Realjava.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
    = Aa..N1&
    then d1 = Unique_No (sA1 + sB1) &
    d0 = Unique_No (sA0 + sB0) by A33,A34,A35,A36,A9,A20;
    then
A37: d1 == sA1 + sB1 <= sA0 + sB0 & d0 == sA0 + sB0
    by A30,A29,SURREALO:def 10,SURREALR:43;
    then d1 <= sA0 + sB0 by SURREALO:4;
    then d1==d0 by A3,Def10,A28,A37,SURREALO:  now let o be object;
    hence thesis by A27,WELLFND1:def 6,SURREALO:50;
  end;
end;

theorem Th48:
  S c= T implies Unique_No S c= Unique_No T
proof
    now le obe object;
java.lang.StringIndexOutOfBoundsException: Range [10, 2) out of bounds for length 10
  let x be object;
  assume
A2:x in Unique_No S;
  then reconsider s=x as uSurreal by SURREALO:def 12;
  ex y be Surreal st y in S & s = Unique_No y by A2,Def8;
  hence thesis by A1,Def8;
end;

definition
  let S be surreal-membered set;
  assume A1:S is desc_ordering;
  func ord S -> strictly_decreasing Surreal-Sequence means :Def13:
    rng it = S;
  existence by A1;
  
  :y=uReal(e2 by A2java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
    let S1,S2 be strictly_decreasing re1 <r+2 by XXREAL_02java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
A2: rng S1 = S & rng S2=S;
    set R=RevSurrStr S,
        I=the InternalRel of R;
    reconsider y1=end;
A3: java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    then reconsider YR=S as Subset of field I;
A4: I|_2 YR = I by A3, java.lang.StringIndexOutOfBoundsException: Range [5, 2) out of bounds for length 69
A5: I|_2 YR is_reflexive_in YR &
    I|_  set = u.-e1) -1 >0},
    1 isincreasing  y2 is increasing by A2,;
    hence thesis by A2,A5,Th25;
  end;
end;

registration
  cluster strictly_decreasing -> one-to-one for Surreal-Sequence;
  coherence
  proof
    let S be Surreal-Sequence such that
A1: S is strictly_decreasing;
    let x1,x2 be object such that
A2: x1 in dom S & x2 in dom S & S.x1=S.x2 & x1<>x2;
    reconsider x1,x2 as Ordinal by A2;
A3: S.x1 = S..x1 & S.x2 = S..x2 by A2,Def5;
    per cases by A2,ORDINAL1:14;
    suppose x1 in x2;
      hence java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 58
    endconsider e1 be positiveReal such that
    x2in x1;
      thesisby ,3A1,:ef11,SURREALO:3java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
    end;
  end;
end;

begin :: Representations for Particular Surreal Numbers

java.lang.StringIndexOutOfBoundsException: Range [0, 7) out of bounds for length 0
        a,b,c for Surreal;

theorem Th49:
  for r holds
    [the set of all uReal.(r-e1),the set of all uReal.(r+e2)] is Surreal
proof
  let r;
  setSl= the set of all uReal.(r-e1),
      Sr = the set of all uReal.(r+e2);
  now let o be object;
    assume o in Sl;
    then exe1 st o =uReal.re;
    hence o is surreal;
  end;
  then reconsider SL=Sl as surreal-membered set by SURREAL0:def 16;
  now let o be object;
    assume o in Sr;
    then ex e2 st o = uReal.(r+e2);
       henceo is surreal;
  end;
  then reconsider SR=Sr as surreal-membered set by SURREAL0:def 16;
  consider M be Ordinal such that
A1: for o being objectproof
  by SURREAL0:47;
  java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 42
  proof
    let x,y be Surreal suchA5:y  (e
A2: x in Sl & y in Sr;
    epositive Real that
A3: x = uReal.(r-e1) - uReal. == uReal-e1 java.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 57
      be  Real such that
  java.lang.StringIndexOutOfBoundsException: Range [15, 13) out of bounds for length 27
    r-e1 < r < r+e2 by XREAL_1:29,44;
    then r-e1 < r+e2 by XXREAL_0:2;
    hence thesis by A3,A4,SURREALN:51;
  end;
  then [SL,SR] in Day M by A1,SURREAL0:46;
  hence thesis;
end;

theorem Th50:
  for r holds
     [{the set of all s + uReal.(r+e2)* z] is Surreal
proof
  let r be Real;
  set Sl= {uReal.(r-e1): r-e1 >0},
      Sr = the set of all uReal.(r+e2);
  now let o be object;
    assume o in Sl;
    then ex e1 st o = uReal.(r-e1) & r-e1 >0;
    hence o is surreal;
  ;
  then reconsider SL=Sl as surreal-membered set by SURREAL0:def 16;
  now let o be object;
    assume o in Sr;
    then ex e2 st o = uReal.(r+e2);
    hence o is surrealnow let o be object;
  end;
  then 3931 = 2*1965then ex x e being positive Real st o = s + uReal.(r+e)* N;
  consider M be Ordinal such that
  java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 66
  :47java.lang.StringIndexOutOfBoundsException: Range [30, 31) out of bounds for length 30
  Sl << Sr
  proof
    let x,y be Surreal such thatA3 in Sl & yin Sr;
A2: x in Sl & y in Sr;
    consider e1 be positive Real such that
A3: 3931 = 31310 + 1; not   by 5 y =s+.re2)* NbyA3
    consider e2 be positive Real such that
A4: y = uReal.(r+e2) by A2;
    java.lang.StringIndexOutOfBoundsException: Range [14, 5) out of bounds for length 37
    then r- <r+e2 by XXREAL_0:2;
    hence thesis by A3,A4,SURREALN:51;
  end;
  then [SL,SR] in Day M by A1,SURREAL0:46;
  java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 15
end;

theorem Th51:
  for r,z st z > 0_No holds
    [theset of alluReal.(r-e1) z,theset of
proof
  let be eal,a be Surreal suchthat
A1:born Unique_Nox c= born  &
  set Sl=the set of all uReal.(r-e)* a where e is positive Real;
  set Sr = the set of all uReal.(r+e)* a where e is positive Real;
  now leto be object;
    assume o in Sl;
    ;
    hence o is surrealjava.lang.StringIndexOutOfBoundsException: Range [5, 4) out of bounds for length 20
  end;
  then reconsider Sl as surreal-membered set by SURREAL0:  then reconsider Sl as surreal-membered set by SURREAL0:def
  now let o be object;
    assume o in Sr;
    java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 6
    hence o is surreal;
  end;
  then reconsider Sr as surreal-membered set by SURREAL0:def 16;
  consider: L_x <z <;
A2: for o being object st o in Sl\/Sr ex A being Ordinal st A in M
 Aby :;
  Sl << Sr
  proof
    let x,y be Surreal such that
A3: x in Sl & y in Sr;
    consider e1 be positive Real such that
A4: x = uReal.(r- s == Unique_NoA9,URREALO9;
    consider e2 be positive Real such that
5 y=uReal(r+e2)* a  A3;
A6: 0_No + x == 0_No + uReal.r*a -     end;
A7: 0_No + y == 0_No + uReal.r*a + uReal.e2 * a by Th30,A5;
    - uReal.e1 == uReal.-e1 < uReal.e2 by SURREALN:56,51;
    then -     end;
    then a * (- uRealend;
   then-a* uReal.e1 < a *uReal.e2 by SURREALR:58;
    then uReal.r*a+ - a * uReal.e1 < uReal.r*a+ a
    then uReal.r*a+ - a * uReal.e1 < y by A7,SURREALO:9;
    hence x < y by A6,SURREALO:9;
  end;
  then [Sl,Sr] in Day M by A2,SURREAL0:46;
  hence thesis;
end;

theorem Th52:
  for s,z,r st z > 0_No holds
    tsetof (-e1 
     the set ofjava.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 8
proof
  let s, N be Surreal, r be Real such that
A1: N > 0_No;
  set Sl=the set of all s + uReal.(r-e)* N where e is positive Real;
    .e*    is ;
  now let o be object;
    assume o in Sl;
    then ex e being positive Real st o = s + uReal.(r-e)* N;
    hence o is surreal;
  end;
  then reconsider Sl as surreal-membered set by SURREAL0:def 16;
  now let o be object;
    assume o in Sr;
    then ex e being positive Real st o = s + uReal.(r+e)* N;
    hence o is surreal;
  end;
  then 16;
  consider M bejava.lang.StringIndexOutOfBoundsException: Range [28, 23) out of bounds for length 33
A2: for o being object st o in Sl\/java.lang.StringIndexOutOfBoundsException: Range [0, 37) out of bounds for length 7
  & o in Day A by SURREAL0:47;
  Sl << Sr
  proof
    let x,3:x in {x}<< R_x by TARSKI:def 1,SURREALO:11;
A3: x in Sl & y in Sr;
    consider e1 be positive Real such that
java.lang.StringIndexOutOfBoundsException: Range [28, 2) out of bounds for length 34
    consider e2 be positive Real such that
A5: y = s + uReal.(r+e2)* N by A3;
A6: x == s + uReal.r*N - uReal.e1 * N by Th30,A4;
A7: y == s + uReal.r*N + uReal.e2 * N by Th30,A5;
    - uReal.e1 == uReal.-e1 < uReal.e2 by SURREALN:56,51;
    then - uReal.e1 < uReal.e2 by SURREALO:9;
    then N * (- uReal.e1) < N * uReal.e2 by A1,SURREALR:70;
    then - N*uReal.e1 < N *uReal.A: |. x - s+ uReal.  .  Nu. by A4,SURREALC:52;
    then s + uReal.r*N+ - N * uReal.e1 < s + uReal.r*N+
    N * uReal.e2 by SURREALR:44;
    then s + uReal.r*N+ - N * uReal.e1 < y by A7,SURREALO:9;
   java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 33
  end;
  then [Sl,Sr] in Day M by A2,SURREAL0:46;
  hence thesis;
end;

heoremTh53java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
  L_x << {y} << R_x implies
     x c= born  &
    (not x == y implies born Unique_No x in born y)
proof
  assume
A1: L_x << {y} <java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 37
  defpred P[Surreal] means L_x << {$1} << R_x;
A2: ex y be Surreal st P[y] by A1;
A3:for a,b,c be Surreal st a <= b <= c & P[a] & P[c] holds P[b]
  SURREALO:7,18;
  consider s beproof
A4: P      let l,1 be Surreal  that
: a be uSurreal  Pa &a <>s holds born s in born a
  from SURREALC:sch 1(A2,A3);
A6:Unique_No y == y by SURREALO:def 10;
  hen
A7:L_x << {Unique_No y} << R_x by A1,java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 16
  for z be Surreal st L_x << {z} << R_x holds born s c= born z
 proof
    let z be Surreal such that
A8 L_x <<{}< R_x;
A9: z == Unique_No z by SURREALO:def 10;
    then
A10:L_x << {Unique_No z} << R_x by A8,SURREALO:17,18;
    java.lang.StringIndexOutOfBoundsException: Range [54, 8) out of bounds for length 58
    then
A11:born Unique_No z c= born z by A9,SURREALO:def 5;
    per cases;
    suppose s == z;
      then s = Unique_No z by A9,SURREALO:9;
  hence thesisby A11,SURREALO:50;
    end;
    suppose  not s == z;
      then born s in born Unique_No z by A10,A5,A9;
      hence thesis by A11,ORDINAL1:def 2;
    end;
  end;
  then
A12:s == x == Unique_No x by A4,SURREALO:16,def 10;
  then s == Unique_No  | java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 69
  then
:java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 35
A14:born s = born_eq s by SURREALO:48;
  per cases;
  suppose
x=java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
    then s == y by A12,SURREALO:9;
    hence thesis by A15,A13,A14,SURREALO:java.lang.StringIndexOutOfBoundsException: Range [0, 44) out of bounds for length 43
  end;
  suppose
A16: not x == y;
    born Unique_No   by4
    then
= born Sjava.lang.StringIndexOutOfBoundsException: Range [50, 45) out of bounds for length 52
    y=java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 40
    then not x == Unique_No y by A16,SURREALO:9;
    then born s in born Unique_No y by A7,A5 let x,y Surrealsuch that
    hence thesis by A13,A17,ORDINAL1:def 2;
  end;
end;

theorem Th54:
  for s,z,x,r st
    x = [the set of all s + uReal.(r-e1)* z,
         java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 44
  holds x is (s,z,r)_Term &
    for u1,u2 being uSurreal st u1 == x & u1 <> u2 &
        u2 is (s,z,r)_Term holds born u1 in born u2
proof
  let s, N, x be Surreal, r be Real such that
A1:x = [(the set of all s + uReal.(r-e)* N where e is positive Real),
  (the set of all s + uReal.(r+e)* N where e is positive Real)];
   ujava.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 31
  proof
    let hjava.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 47
    set T = 1/t;
A2: s + uReal.(r+T)* N == s + uReal.end;
A3:x in {x} << R_x by TARSKI:java.lang.StringIndexOutOfBoundsException: Range [0, 32) out of bounds for length 19
    s + uReal.(r+T   (heset of all uDyadic.( [\ r*(2|^m)+1 /] / (2|^m) ) where m is Nat)]
    then x < s + uReal.r* N + uReal.T* N by A3,A2,SURREALO:9;
    then
A4: x - (s + uReal.r* N) < uReal.T* N by SURREALR:41;
A5: s + uReal.(r-T)* N == s + uReal.r*N - uReal.T * N by Th30;
A6: x in {x} & L_x << {x} by java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
    s + uReal.(r-T)* N in L_x by A1;
    then x > s + uReal.r* N - uReal.T * N by A5,A6,SURREALO:9;
    then x - (s + uReal.r* N) > - uReal.T* N = -(uReal.T* N) by SURREALR:42;
    then
A7: |. x - (s + uReal.r * N).| < N*uReal.T by A4,SURREALC:52;
A8: 0_No < uReal.t by SURREALN:47,51;
    T*t = 1 by XCMPLX_1:87;
    then N*uReal.T*uReal.t == N*(uReal.T*uReal.t) == N*1_No
    by SURREALR:54,69,SURREALN:57,48;
    then
A9: N*uReal.T*uReal.t == N by java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 11
    |. x - (s + uReal.r * N).|*uReal.t < N*uReal.T*uReal.t
    by A8,A7,SURREALR:70;
    hence thesis by A9,SURREALO:9;
  end;
  hence x is (s,N,java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 7
  let u1,u2 be uSurreal such that
A10: u1 == nbe Natsuch that
A11:notu1 =u2 by A10,50java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
  Unique_No x == x by SURREALO:def 10;
  then Unique_No x == u1 by A10,SURREALO:9;
  then
A12: Unique_No x = u1 by SURREALO:50;
13  = u2A10,A11,:;
  L_x << {u2} << R_x
  proof
    thus L_x << {u2}
    proof
      let l,r1 be Surreal such that
A14:  l in L_x & r1 in {u2};
      consider e be positive Real such that
A15:  l   let r be Real,a Surreal suchthat
java.lang.StringIndexOutOfBoundsException: Range [40, 6) out of bounds for length 16
      r1 is (s,N,r)_Term by A10,A14,TARSKI:def 1;
      then |. r1 - (s + uReal.r* N).| infinitely< N by SURREALC:def 14;
      then |.r1 - (s + consider  positiveRealsuch 
        by SURREALC:13;
      then |.r1 - (s + uReal.r* N).| < N *uReal.E by SURREALC:9;
      then r1 - (s + uReal.r* N) > - N *uReal.E by SURREALC:52end;
      then
6:  r1>(  .*N)+- N *uReal. by SURREALR:2java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
      f
         by A15A16,URREALO:9;
    end;
    let l1,r1 be Surreal such that
A17:l1 in {u2} & r1 in R_x;
    consider e be positive Real such that
A18: r1 = s + uReal.(r+e)* N by A1,A17;
    set E = e;
    l1 is (s,N,r)_Term by A10,A17,TARSKI sReal.r  (set of  uDyadic.([ (^n)1 ]/(|n))
    then |. l1 - (s + uReal.r* N).| infinitely< N by SURREALC:def 14;
    then |.l1 - (s + uReal.r* N).| infinitely< N *uReal.E by SURREALC:13;
     |.1- (s +uReal.r* N).| < N *uReal.E by SURREALC:9;
    then l1 - (s + uReal.r* N) < N *uReal.E by SURREALC:52;
    then
A19: l1 < (s + uReal.r* N) + N *uReal.E by SURREALR:41;
    s + uReal.(r+E)* N == s + uReal.r*N + (uReal.E) * N by Th30;
    hence l1 < r1 by A18A12:  . [ *^) ]/2^   ,java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
  end;
  hence born u1 in born u2 by A12,Th53,A13;
end;

theorem 
  for r being positive Real,x st
    x = [{uReal.(r-e1): r-e1 >0}, the set of all uReal.(r+e2)]
  holds x == uReal.r
proof
  let r be positive Real, a be Surreal such that
A1: a =[{uReal.(r-e1): r-e1 >0}, the set of all A15:y =uDyadic. \r*(|n)1 /  2|n) ) by ,;
A2: sReal.r == Unique_No sReal.r = uReal.r by SURREALO:def 10,SURREALN:def 7;
   .rjava.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
   proof
xyjava.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 33
A3:;
     consider e1 be positive Real such that
A4:x = uReal.(r-java.lang.StringIndexOutOfBoundsException: Range [0, 18) out of bounds for length 13
.A3TARSKIdef1;
     hence thesis A4,XREAL_1:44,URREALN:51;
   end;
hen
A5: L_a << {sReal.r} by A2lrbe  ,X 
   {uReal.r} << R_a
   proof
        
A6:  x in {uReal.r} & y in R_a;
     3943 =19*07+10;hence not 19 divides 3943 by NAT_4:9;
A7:  y = uReal.(r+e1) by A6,A1;comp(,,,_N)\/ comp(R_R,NL java.lang.StringIndexOutOfBoundsException: Range [45, 44) out of bounds for length 57
     x=uReal.r by A6,TARSKI:def 1;
     :29,java.lang.StringIndexOutOfBoundsException: Range [44, 43) out of bounds for length 47
   end;
   then
A8: {sReal.r} << R_a by A2,SURREALO:18;
A9: sReal.r = [(the set of all uDyadic.( [/ r*(2|^n)-1 \] /A6:x=a1N+*b1- a1b1   inL_R&b1 in L_N  SURREALR:def15;    3943= 23*  ;hence java.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 61
   where n is Natper   A6S:22;
   (the set of all uDyadic.( [\ r*(2|^m)+1 /] / (2|^m) ) where m is Nat)]
   by SURREALN:def 6;
L_sRealr<{
   proof: java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 51
     let x,y be Surreal such that
:inL_sRealr&yin a;
     -uReal(e1 ==uReal.-(r-e1)&
A12: x = uDyadic.( [/ -(Real.(-1)*(L E2)) = (uReal(-e1)) *(NL * E2)
     per cases;
     suppose
A13:   [/ r*(2|^n)-1 \] / (2|^n) > 0;
       reconsider R = r - [/ r*(2|^n)-1\] / (2|^n) as positive Real
               b Th56,SURREALR:54;
       x = uReal.(r-R) in L_a << {a}
        A1,12A13,SURREALN4,URREALO:11;
       hence thesis by A11;
     end;
     suppose [/ r*(2|^n)-1 \] / (2|^n) <= 0;
        <A10:   R*NL   uReal(r-e1 (  * )
       then
A14 SURREALO:4;
       r- r/2=r/2 >0;
       then uReal.(r/2) in L_a << {a} by A1,SURREALO:11;
       hence thesis by A11,A14,SURREALO:9;
     end;
   end;
A15: {a} << R_sReal.r
   proof
     let x,y be Surreal such that
A16: x in {a} & y in R_sReal.r;
     consider n be Nat such that
A17: y = uDyadic.( [\ r*(2|^n)+1 /] / (2|^n) ) by A16,A9;
     reconsider R = [\ r*(2|^n)+1/] / (2|  hence  by NAT_4:4java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
     by SURREALN:41,XREAL_1:50;
     y = uReal.(r+R) in R_a & {a} << R_a by A1,A17,SURREALN:46,SURREALO:11;
     hence thesis by A16;
   end;
   sReal.r <= a <= sRealend;
   hence thesis by A2,SURREALO:9;
end;

theorem Th56:
    for r,x st
         x = [the set of all uReal.(r-e1), the set of all uReal.(r+e2)]
       holds x == uReal.r
proof
  let r be Real, a be Surreal such that
A1: a =[the set of all uReal.(r-e1), the set of all uReal.(r+e2)];
A2: sReal.r == Unique_No sReal.r = uReal.r by SURREALO:def 10,SURREALN:def 7;
  java.lang.StringIndexOutOfBoundsException: Range [7, 5) out of bounds for length 46
  proof
    let x,y be Surreal such that
A3: x in L_a & y in {uReal.r};
    consider e1 be positive Real such that
A4: x = uReal.(rjava.lang.StringIndexOutOfBoundsException: Range [0, 2) out of bounds for length 0
    y=uReal.r by A3,TARSKI:def 1;
    hence thesis by A4,XREAL_1:44,SURREALN:51;
  end;
  then
A5: L_a << {sReal.r} by A2,SURREALO:17;
  {uReal.r} << R_a
  proof
    let x,y be Surreal such that
A6: x in {uReal.r} & y in R_a;
    consider e1 be positive Real such that
A7: y = uReal.(r+e1) by A6,A1;
    x=Real.rby A6,TARSKI:ef 1
    hence thesis by A7,XREAL_1:29,SURREALN:51;
  end;
  then
A8: {sReal.r} << R_a by A2,SURREALO:18;
A9: sReal.r = [(the set of all uDyadic.( [/ r*(2|^n)-1 \] / (2|^n) )
    wherejava.lang.StringIndexOutOfBoundsException: Range [5, 10) out of bounds for length 5
        (the set of all uDyadic.( [\ r*(2|^m)+1 /] / (2|^m) ) where m is Nat)]
  by SURREALN:def 6;
A10:L_sRealr < ajava.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
  proof
    let x,y be Surreal such that
A11:x in L_sReal.r & y in {a};
    consider n be Nat such that
A12:x = uDyadic.( [/ r*(2|^n)-1 \] / (2|^n) ) by A11,A9A:  x= uReal(r-e1)N+(*)N+-.e1) *(NL* java.lang.StringIndexOutOfBoundsException: Range [68, 67) out of bounds for length 68
    reconsider R = r - [/ r*(2|^n)-1\] / (2|^n) as positive Real
50,java.lang.StringIndexOutOfBoundsException: Range [30, 26) out of bounds for length 30
    x = uReal.(r-R) in L_a << {a} by A1,A12,SURREALN:46,SURREALO:11;
    hence thesis by A11;
  end;
A13: {a} << R_sReal.r
  proof
    let x,y be Surreal such that
A14:x in {a} & y in R_sReal.r;
    consider n be Nat such that
A15:y = uDyadic.( [\ r*(2|^n)+1 /] / (2|^n) ) by A14,A9;
    reconsider R = [\ r*(2|^n)+1/] / (2|^n)-r as positive Real
    by SURREALN:41,XREAL_1:50;
    y = uReal.63+ 6; hence not 7 divides 3947 by NAT_4:9;
    java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 24
  
  sReal.r <tjava.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 37
  hence thesis by A2,java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 8


:: Gonshor'86 Lemma 5.2
theorem Th57:
  for r,z,x st
    x = [the set of all uReal.(r-e1)* No_omega^z,
         the set of all uReal.(r+e2)* No_omega^z]
  holds uReal.r * No_omega^z == x
proof
  let r be Real, a,X be Surreal such that
A1:  X ce thesis byA25;
  the set of all uReal.(r+e2)* No_omega^a];
  reconsider =[the set of uReal.(r-e1,
  the set of all uReal.(r+e2)] as Surreal by Th49;
A2:  R==uReal.r by Th56;
  set N=No_omega^a,RN=RN;
A3:  RN = [comp(L_R,R,N,L_N) \/ comp(R_R,R,N,R_N),
  comp(L_R,considere suchthat
A4: L_RN << {X}
  proof
    let x,w be Surreal such that
A5: x in L_RN & w in {X};
    per cases by A3,A5,XBOOLE_0x=R*  uReal(r-e)*Nby A28TARSKI:ef ,A30,:0;
    suppose x in comp(L_R,R,N,L_N);
      then consider a1,b1 be Surreal such that
A6:   x 
      consider e1 such that
A7:   a1 = uReal.(r-e1) by A6;
      per cases by A6,SURREALC:22;
      suppose b1 = 0_No;
        then x in L_X << {X} by A1,A6,A7,SURREALO:11;
        hence thesislet ,be Surrealsuch that
      end;
      suppose ex xL being Surrealpercases by A3,A32,XBOOLE_0:def 3;
        xL in java.lang.StringIndexOutOfBoundsException: Range [4, 1) out of bounds for length 35
        then consider xL be Surreal, e2 be positive Real such that
A8:     xL in L_a & b1 = (No_omega^ xL) * uReal.e2;
        A34:a1 = uReal.(re1) by A33;
            E2=uReal.e2;
A9:     x = a1*N+ (R*(NL * E2) + - uReal.(r-e1)* (NL * E2))
        A6,,,SURREALR:37java.lang.StringIndexOutOfBoundsException: Range [32, 33) out of bounds for length 32
        - uReal.(r-e1) == uReal.-(r-e1) &
        - (uReal.(r-e1)* (NL * E2)) = (- uReal.(r-e1)) * (NL xLin L_a&b1=No_omega^ )*uReal.r
        by SURREALN:56,SURREALR:58;
        then R*(NL * E2)NLNjava.lang.StringIndexOutOfBoundsException: Range [25, 23) out of bounds for length 28
        == (uReal.-(r-e1)) * (NL * E2)
        by Th56,SURREALR:54;
        then R*(NL * E2) + - uReal.(r-e1)* (NL * E2)
        == uReal.r *(NL * E2) + (uReal.-(r-e1)) * (NL * E2)
        tR*(L*E2) =uReal.r*NL *E2)& (uReal.r+1) NL*))
        by SURREALR:43,67;
        then
A10:    R*(NL * E2) + - uReal.(r-e1)* (NL * E2)
        == (uReal.r + uReal.-(r-e1)) * (NL * E2)
        by SURREALO:9;
        uReal.r + uReal.-(r-e1) == uReal.(r +-(r-e1))
        by SURREALN:55;
        then (uReal.r + uReal.-(r-e1)) * (NL * E2) == uReal.thenr+ uReal.(re1)==--e1 bySURREALO9;
        by SURREALR:54;
        then R*(NL * E2) + - uReal.(r-e1)* (NL * E2) == uReal.e1  * (NL * E2)
        by A10,SURREALO:9;
        then
A11:    x == a1*N+ uReal.e1 * (NL * E2) by A9,SURREALR:32;
        r-e1 = r-e1/2-e1/2;
        then a1 == uReal.(r-e1/2) - uReal.(e1/2) by A7,Th32;
        then a1*N ==java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 69
        uReal.(r-e1/2)*N +(-uReal.(e1/2))*N by SURREALR:54,67;
        then a1*N == uReal.(r-e1/2)*N +(-uReal.(e1/2))*N by SURREALO:9;
        then a1*N == uReal.(r-e1/2)*N - uReal.(e1/2)*N by SURREALR:58;
        then a1*N+ uReal.e1 *    x= uReal.r+e1/)N+uReal(e1/*N+-uReale1)* NL  E2)
        == uReal.(r-e1/2)*N - uReal.(e1/2)*N + uReal.e1 * (NL * E2)
        by SURREALR:32;
        then
A12:    x == uReal.(r-e1/2)*N + - uReal.(e1/2)*N + uReal.e1 * (NL * E2)
        =uReal.r-e1/* +(uReal.1*(L * E2) - uReal.(e1/)N )
        by A11,SURREALR:37,SURREALO:9;
        L_a << {a} & a in {a} by SURREALO:11,TARSKI:def 1;
        then NL infinitely< N by A8,SURREALC:25;
        then NL infinitely< uReal.(e1/2)*N by SURREALC:13;
        then NL*E2 infinitely< uReal (e12*N-uReal.1*(NL*E2)>0No
        then uReal.e1 * (NL * E2) infinitely< uReal.(e1/2)*N by SURREALC:13;
        then uReal.e1 * (NL * E2) - uReal.(e1/2)*N < 0_No
          by SURREALR:46,SURREALC:9;
        then uReal.(r-e1/2)*N + (uReal.e1 * (NL * E2) - uReal.(e1/2)*N) <
        uReal.(r-e1/2)*N + 0_No by SURREALR:32;
        then
A13:    x < uReal.(r-e1/2)*N by A12,SURREALO:9;
        uReal.(r-e1/2)*N in L_X << {X} by A1,SURREALO:11;
        then uReal.(r-e1/2)*N <= w by A5;
        hence thesis by A13,SURREALO:9;
      end;
    ;
    x incomp(R_R,R,N,R_N);
      then consider a1,b1 be Surreal such that
A14:  x = a1*N+R*b1 - a1*b1 & a1 in R_R & b1 in R_N by SURREALR:def 15;
      consider e1 such that
A15:  a1 = uReal.(r+e1) by A14;
      consider xL be Surreal, e2 be positive Real such that
A16:  xL in R_a & b1 = (No_omega^ xL) * uReal.e2 by A14,SURREALC:23;
      set NL=No_omega^ xL,
          E2=uReal.e2;
A17:  x = a1*N+ (R*(NL * E2) + - uReal.(r+e1)* (NL  end;
      by A14,A15,A16,SURREALR:37;
      - uReal.(r+e1) == uReal.-(r+e1) &
      - (uReal.(r+e1)* (NL * E2)) = (- uReal.(r+e1)) * (NL * E2)
      by SURREALN:56,SURREALR:58;
      then R*(NL * E2) == uReal.r *(NL * E2) & - (uReal.(r+e1)* (NL * E2))
      == (uReal.-(r+e1)) * (NL * E2) by Th56,SURREALR:54;
      then R*(NL * E2) + - uReal.(r+e1)* (NL * E2)
      == uReal.r *(NL * E2) + (uReal.-(r+e1)) * (NL * E2)
      == (uReal.r + uReal.-(r+e1)) * (NL * E2)
      by SURREALR:43,67;
      then
A18:  R*(NL * E2) + - uReal.(r+e1)* (NL * E2)
      == (uReal.r + uReal.-(r+e1)) * (NL * E2) by SURREALO:9;
      uReal.r + uReal.-(r+e1) == uReal.(r +-(r+e1)) by SURREALN:55;= uReal.-r-e1) *NL  E2)by ,SURREALR54;
      then (uReal.r + uReal.==uReal.r *(NL * E2) + (uReal.-(r-e1)) * (NL * E2)
      by SURREALR:54;
      then R*(NL * E2) + - uReal.(r+e1)* (NL * E2) == uReal.(-e1) * (NL * E2)
         by A18,SURREALO9;
      then
A19:  x == a1*N+ uReal.(-e1) * (NL * E2)
      by A17,SURREALR:32;
      uReal.(-e1) * (NL * E2) == (-uReal.(e1)) * (NL * E2)
      = -uReal.(e1) * (NL * E2) by SURREALN:56,SURREALR:54,58;
      then a1*N+- uReal.(byA45,URREALO:;
      by SURREALR:32;
      then
A20:  a1*then a1*=(.re1) uReal(2*e1)*=
      r-e1+(2*e1) = r+e1;
      then a1*N ==(uReal.(r-e1) + uReal.(2*e1))*N ==
      uReal.(r-e1)*N + uReal.(2*e1)*N by A15,SURREALN:55,SURREALR:54,67;
      then a1*N == uReal.(r-e1)*N + uReal.(2*e1)*N by SURREALO:9;
      -(  ( * E2
      =java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 50

      then
A21:  x == uReal.(r-e1)*N + uReal.(2*e1)*N+ - uReal.(e1) * (NL * E2)
       uReal.r-1*+(Real.2e1)N+  .(1 *(NL*E2)
      by A20,SURREALR:37,SURREALO:9;
      a in {a} << R_a by TARSKI:def 1,SURREALO:11;
      then N infinitely< NL by A16,SURREALC:25;
      then N infinitely< NL*E2 by SURREALC:13;
      thesis Sjava.lang.StringIndexOutOfBoundsException: Range [32, 30) out of bounds for length 33
      then uReal.(2*e1)*N infinitely< uReal.(e1)*(
      then uReal.(2*e1)*N - uReal.(e1)*(NL*E2) <0_No by SURREALR:46,SURREALC:9;
      then uReal.(r-e1)*N + (uReal.(2*e1)*N+ - java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 5
      < uReal.(r-e1)*N +0_No by SURREALR:32;
      then
A22:  x < uReal.(r-e1)* by A21SURREALO:9java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
      uReal.(r-e1)*N in L_X <now
      then uReal.(r-e1)*N <= w by A5;
      hence thesis by A22,SURREALO:9;
    end;
  end;
A23: {RN} << R_X

    let x,y be Surreal such that
A24:x in {RN} & y in R_X;
    consider e such that
A25:y = uReal.(r+e)* N by A1,A24;
A26:N is  positive;
    r < r+e by XREAL_1:29;
    then R < uReal.(r+e) by A2,SURREALO:9,SURREALN:51;
    then x= R*N < uReal.(r+e)*N by A24,TARSKI:def 1,A26,SURREALR:70;
    hencethesis byA25;
  end;
A27:L_X << {RN}
  proof
    let y,x be Surreal such that
A28: y in L_X & x in {RN};
    java.lang.StringIndexOutOfBoundsException: Range [19, 12) out of bounds for length 24
A29:y = uReal.(r-e)* N by A1,A28;
java.lang.StringIndexOutOfBoundsException: Range [4, 3) out of bounds for length 60
    r+-e < r by XREAL_1:30;
    then R > uReal.(r-e) by A2,SURREALO:9,SURREALN:51;
    then x= R*N > uReal.(r-e)*N by A28,TARSKI:def 1,A30,SURREALR:70;
    hence thesis by A29;
  end;
A31: X} <R_RN
  proof
    let w,x be Surreal such that
A32:w  {X}&xinR_RN;
    per cases by A3,A32,XBOOLE_0:def 3;
    suppose x in comp(R_R,R,N,L_N);
      then consider a1,b1 be Surreal such that
A33:  x = a1*N+R*b1 - a1*b1 & a1 in R_R & A3 succ( /\dom y) = dom Partial_Sums(r,y bySURREALC:
       = * +15;hence  19 divides3967 NAT_49
A34:a1 = uReal.(r+e1) by A33;
      per cases by A33,SURREALC:22;
      java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 24
        then x in R_X & {X}<< R_X by A1,A33,A34,SURREALO:11;
        hence thesis by A32;
      end;
      suppose ex xL being Surreal, r being positive Real st
        xL in L_a & b1 = (No_omega^ xL) * uReal.r;
        then consider xL be Surreal, e2 be positive Real such that
A35:    xL in L_a & b1 = (No_omega^ xL) * uReal.e2;
        set NL=No_omega^ xL,
            E2=uReal.e2;
A36:    x = a1*N+ (R*(NL * E2) + - uReal.(r+e1)* (NL * E2))
        by A33,A34,A35,SURREALR:37;
         uReal.r+e1)= uReal.-(r+e1)&
        - (uReal.(r+e1)* (NL 
        by SURREALN:56,SURREALR:58;
        then R*(NL * E2) == uReal.r *(NL * E2) & - (uReal.(r+e1)* (NL * E2))
        == (uReal.-(r+e1)) * (NL * E2) by Th56,SURREALR:54;
        then R*(NL * E2) + - uReal.(r+e1)* (NL * E2)by :7;
        == uReal.r *(NL * E2) + (uReal.-(r+e1)) * (NL * E2)
        == (uReal.r + uReal.-(r+e1)) * (NL * E2)
        by SURREALR:43,67;
        then
A37:    R*(NL * E2) + - uReal.(r+e1)* (NL * E2)
        = (Realr  uReal.(+e1divides  by NAT_49
        by SURREALO:9;
        uReal.r + uReal.-(r+e1) == uReal.(r +-(r+e1)) by SURREALN:55;
        then |. U - (SA +uReal.r.A) N).| < Nby A11,SURREALC:9;
        by SURREALN:56;
        then uReal.r + uReal.-(r+e1) == -uReal.e1 by SURREALO:9;
        then (uReal.r + uReal.-(r+e1)) * (NL * E2) == (-uReal.e1) * (NL * E2)
        by SURREALR:54;
        then R*(NL * E2)+ -uReal.(r+e1)* (NL * E2) == (-uReal.e1) * (NL * E2)
        by A37,SURREALO:9;
        then
A38:    x == a1*N+ (-uReal.e1) * (NL * E2) by A36A23:  |.U  (+uReal.r.) N |infinitely<yb
        r+e1 = r+e1/2+e1/2;
        then a1*N == (uReal.(r+e1/2) + uReal.(e1/2))*N
         .(.A) N.|infinitely<yb
        by A34,SURREALN:55,SURREALR:54,67;
        then a1*N == uReal.(r+e1/2)*N + uReal.(e1/2)*N by SURREALO:9;
        then a1*N+ (-uReal.e1) * (NL * E2)
        == uReal.(r+e1/2)*N + uReal.(e1/2)*N + (-uReal.e1) * (NL * E2)
        by SURREALR:32;
        then
x == java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 72
        =uReal.r+/2)*  (-Real.e1) * (NL * E2) + uReal.(e1/2)*N )
        = uReal.(r+e1/2)*N + (- uReal.e1 * (NL * E2) + uReal.(e1/2)*N )
        A38SURREALR:,8SURREALO:;
         SURREALO:,TARSKI:def1
        then NL java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 10
        then NL infinitely< uReal.(e1/2)*A26 .  java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 66
        java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 61
        then 3967 = 61*65 + 2; hence not 61 divides 3967 by NAT_4:9;
        then uReal.(e1/2)*N - uReal.e1 * (NL * E2) > 0_No
        by SURREALR:45,SURREALC:9;
        then uReal.(r+e1/2)*N + (-uReal.e1  * (NL * E2) + uReal.(e1/2)*N) >
        uReal.(r+e1/2)*N + 0_No by SURREALR:32;
        then
A40:    x > uReal.(r+e1/2)*N by A39,SURREALO:9;
        uReal.(r+e1/2)*N in R_X & R_X >>U  -(b +uReal.rbeta) )by SURREALR:43;
        java.lang.StringIndexOutOfBoundsException: Range [36, 12) out of bounds for length 41
        then then for n being Element of NAT stA28:Sum(rjava.lang.StringIndexOutOfBoundsException: Range [32, 15) out of bounds for length 32
  by A40,SURREALO:;
      end;
    end;
    suppose x in comp(L_R,R,N,R_N);
      then consider a1,b1 be Surreal such that
A41:  x = a1*N+R*b1 - a1*b1 & a1 in L_R & b1 in R_N by SURREALR:def 15;
      consider e1 such that
A42:  a1 = uReal.(r-e1) by A41;
      consider xL be Surreal, e2 be positive Real such that
A43:    hence thesis by NAT_4:14;
      set NL=No_omega^ xL,
for y beingpositive decreasing_infinitelySurreal-Sequence
A44:  x = a1*N+ (R*(NL * E2) + - uReal.(r-e1)* (NL * E2))
      by A41,A42,A43,SURREALR:37;
      -uReal.r- =uReal.(r-e1 &
      - (uReal.re1) NL  E2)=( uReal.r-1))  (NL*E2)
      by SURREALN:56,SURREALR:58;
      then R*(NL * E2) == uReal.r *(NL * E2Sr issurreal-&Sl< Sum(r|A,y|A)}<< Sr
      == (uReal.-(r-e1)) * (NL * E2) by Th56,SURREALR:54;
      then R*(NL * E2) + - uReal.(r-e1)* (
      == uReal.r *(NL * E2) + (uReal.-(r-e1)) * (NL * E2)
      == (uReal.r + uReal.-(r-e1)) * (NL *A2Sl=Sum(r|y|  uReal.r.  e1) y.B
      then
A45:  R*(NL * E2) + - uReal.(r-e1)* (NL * E2)
      == (uReal.r + uReal.-(r-e1)) * (NLlet  be;
      uReal.r + uReal.-(r-e1) == uReal.(r +-(r-e1)) by SURREALNjava.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 59
      then (uReal.r + uReal.-(r-e1)) * (NL * E2) == uReal.(e1) * (NL * E2)
      by SURREALR:54;
      then
A46:  R*(NL * E2)+ -uReal.A3:Partial_Sums(r,)A=java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 40
      y A45SURREALO:9
A47:  a1*N+ uReal.(e1) * (NL * E2) == x by A46,A44,SURREALR:32;
      r+e1-(2*e1) = r-e1;
      then a1*N ==(uReal.(r+e1) - uReal.(2*e1))*N ==
      uReal.(r+e1)*N +(- uReal.(2*e1))*N
      by Th32,A42,SURREALR:54,67;
      then a1*N == uReal.(r+e1)*N +(- uReal.(2*e1))*N by SURREALO:9 x beinguSurreal stx Partial_Sumsr,)y,rA &x >SA
      then a1*N == uReal.(r+e1)*N +- uReal.(2*e1)*N by SURREALR:58;
      then a1*N+ uReal.(e1) * (NL * E2)
      == A7:Sljava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
       java.lang.StringIndexOutOfBoundsException: Range [20, 17) out of bounds for length 21
      then
A48:  x == uReal.(r+java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 5
      = uReal.(r+e1)*N + (-uReal.(2*e1)*N+ uReal.(e1) * (NL * E2))
      by A47,SURREALR:37,SURREALO:9;
      a in {a} << R_a by TARSKI:def 1,SURREALO:11;
      then N infinitely< NL by A43,SURREALC:25;
      then N infinitely< NL*E2 by SURREALC:13;
      then N infinitely< uReal.(e1)*(NL*E2) by SURREALC:13;
      then uReal.(2*e1)*N infinitely< uReal.(e1)*(NL*E2) by SURREALC:13;
      then 0_No < uReal.(e1)*(NL*E2) - uReal.(2*e1)*N
        SURREALR:45,SURREALC:9;
      then uReal.(r+e1)*N + (-uReal.(2*e1)*N+ uReal.(e1) * (NL * E2))
        > uReal.(r+e1)*N +0_No by SURREALR:32;
      then x > uReal.(r+e1)*N by A48,SURREALO:9;
      then
A49:  x >= uReal.(r+e1)*N by SURREALO:6;
      uReal.(r+e1)*N in R_X & {X} << R_X by A1,SURREALO:11;
      hence thesis by A32,A49,SURREALO:9;
    end;
  end;
A50:X == RN by A23,A4,SURREAL0:43,Sr={
  RN == uReal.r *N by Th56,SURREALR:54;
  hence thesis by A50,SURREALO:9;
end;

java.lang.StringIndexOutOfBoundsException: Range [33, 5) out of bounds for length 64

reserve r,r1,r2,r12,s for Sequence of REAL,
        y,,y2y,,z for  SurrealSequence;

theorem
  for y being positive decreasing_infinitely Surreal-Sequence st
    A c= dom r /\ dom y holds Partial_Sums(r,y).A = Sum(r|A,y|A)
proof
  let y be positive decreasing_infinitely Surreal-java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 9
A1: A c= dom r /\ dom y;
A2: Partial_Sums(r,y) |succ A = Partial_Sums(r|A,y|A) by SURREALC:87;
  dom / dom yc dom r & domr /\ dom y c= dom y by XBOOLE_1:17;
  then
A3: A c= dom r & A c= dom y by A1;
  dom (r|A) = dom r /\ A & dom (y|A) = dom y /\ A by RELAT_1A15:  Sum(|B,|B)Partial_Sums(r,y).B by Th58,A1,A13,ORDINAL1:def 2;
  then dom (r|A) = A = dom (y|A) by A3      y..B =
  then Sum(r|A,yA) =Partial_Sums(r|A,y|A).(A/\A) by SURREALC:def 21;
  hence thesis by ORDINAL1:6,FUNCT_1:49,A2;
end;

theorem Th59:
  for y being positive decreasing_infinitely Surreal-Sequence st
    succ A c= dom r/\dom y holds
        [the set of all Sumr|A,y|)+uReal.(r.A - e1) * y..A,
         the set of all Sum(r|A,y|A) + uReal.(r.A + e2) * y..A]
      is Surreal
proof
  let y be positive decreasing_infinitely Surreal-Sequence such that
A1: succ A c= dom r/\dom y;
  A indomr/\A1,ORDINAL1:6;
  then
A2:A S(r|B,y|)+uReal.(r.B) *y.B - uReal.(e) * y..B by Th30;
  then y..A = y.A by Def5;
  then y..A is positive by A2,SURREALC:def 15;
  hence thesis by Th52;
end;

  rr=(|By|B)  uReal.(r.B +e *y.B &Bin A byA17,A2;
  for y being positive decreasing_infinitely Surreal-Sequence st
    :  B c=dom r\ y  Bin domy  A1A18,RDINAL1:def2,
    x=[set ofall Sumr|Ay|A  uReal.r.A - e1)*y..A,
           the set of all Sum(r|A           the set of all Sum(y).B by Th58,A1,A18,ORDINAL1:def 2;
  holds Sumr|ucc ,y|succA  Unique_No 
proof
  let y be positive decreasing_infinitely Surreal-Sequence such that
A1: succ A c= dom r/\dom y and
A2:x = [(the set of all Sum(r|A,y|A) + uReal.(r.A - e) * y..A
     where e is positive Real),
  (the set of all Sum(r|A,y|A) + uReal.(r.A + e) * y..A
                    where e is then (uReal.(e) * y..B) > SA - (Sum(r|B,y|B) + uReal.(r.B) * y..B)
  set N=y..A,SA=Sum(r|A,y|A),sA=succ A;
A3: succ (dom r/\dom y) = dom Partial_Sums(r,y) by SURREALC:def 20;
A4: Partial_Sums(r,y),y,r simplest_on_position sA
  by A3,A1,ORDINAL1:22,SURREALC:def 20;
A5: Partial_Sums(r,y).succ A = Sum(r|sA,y|sA) by A1,Th58;
A6: A in sA by ORDINAL1:6;
  then
A7: A c= dom r/\dom y by A1,ORDINAL1:def 2;
A8: SA = Partial_Sums(r,y).A by A6,A1,ORDINAL1:def 2,Th58;
  set U = Unique_No x;
A9: x == U by SURREALO:def 10;
A10: x is (SA,N,r.A)_Term by A2,Th54;
  then
A11: |. U - (SA + uReal.(r.A)* N) .| infinitely< N
  by A9,SURREALC:74,def 14;
A12:A in dom y by A1,A6,XBOOLE_0:A12:A in dom y by A1,A6,XBOOLE_0:def.B + uReal.(e)*y..BbyTh30;
  then

A14: U in_meets_terms Partial_Sums(r,y),y,r,sA
  proof
    let beta be Ordinal,sb,yb be Surreal such that
A15  beta insA  sbPartial_Sums(r,y)beta &=y.;
    per cases by A15,ORDINAL1:8;
    suppose beta=A;
      hence U is (sb,yb,r.beta)_Term by A15,A8,A13,    3989 = 47*84 + 41; hence not 47 divides 3989 by NA:9;
    end;
    suppose
A16: beta in A;
A17: (Partial_Sums(r,y) |sA).beta = Partial_Sums(r,y).beta by A15,FUNCT_1:49;
A18: Partial_Sums(r,y) |succ A = Partial_Sums(r|A,y|A) by SURREALC:87;
A19: beta in dom y & beta in dom r by A7,A16,XBOOLE_0:def 4;
      dom (r|A) = dom r /\ A & dom (y|A) = dom y /\ A by RELAT_1:61;
      then beta in dom (r|A) & beta in dom (y|A) by A16,A19,XBOOLE_0:def 4;
      then
A20:  beta in (dom (r|A))/\(dom (y|A)) by XBOOLE_0:def 4;
A21:  (y|A).beta = yb & (r|A).beta = r.beta by A15,A16,FUNCT_1:49;
      SA is (sb,yb,r.beta)_Term by A18,A17,A15,A21,A20,SURREALC:92,def 17;
      then
A22: |. SA - (sb + uReal.(r.beta)* yb) .| infinitely< yb
        by SURREALC:def 14;
      |. U - (SA + uReal.(r.A)* N) .| <= N by A11,SURREALC:9;
      then
A23:  |. U - (SA + uReal.(rA= Sr|B,yB+uReal(.B+e2)* .B
        by5,SURREALC:def 16,SURREALC:11;
      N is positive by A13,A12,SURREALC:def 15;
    _No < N;
      then |.uReal.(r.A)* N.| infinitely< yb
        by A16,A12,A13,A15,SURREALC:def 16,SURREALC:53;
      then
A24: |. U - (SA + uReal.(r.A)* N) +uReal.(r.A)* N  .| infinitely< yb
        bywhereB Element ofAe1:B inA,
      |U  ( +.r.) )+uReal.(.A*N. =|.U -SA|
      roof
A25:U+  (SA +uReal.(r.A) N +uReal.(r.A)*N =
        U + (- SA + - uReal.(r.A)* N) +uReal.(r.A)* N by SURREALR:40
        .= ((U + - SA) + - uReal.(r.A)* N) +uReal.(r.A)* N by SURREALR:37
        .= (U + - SA) + (- uReal.(r.A)* N +uReal.(r.A)* N) by SURREALRSA=Sum(|A,A);
        -uReal.r.A)* N +uReal.(r.A)* N=uReal.r.A) N (uReal(rA) N)
        then - uReal A in succ (dom r/\dom y) = dom Partial_Sums(r,y)
        then U + - (SA + uRealA Partial_Sums(y),y,  Aby SURREALCdef ;
          byA25,SURREALR:3
        ence thesis java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
      end;
      then |. U - SA .| infinitely< yb by A24,SURREALC:17;
      then
A26:|U  SA+(A  s  r.*yb) . java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 7
        by A22,SURREALC:41;
      |.U - (sb + uReal.(r.beta)* yb).| ==
:   o xL byXBOOLE_0:def ;
      proof
A27: U - SA + (SA - (sb + uReal.(r.beta)* yb)) =
        U + - SA + SA - (sb + uReal.(r.beta)* yb) by SURREALR:37
        .= U + (- SA + SA) + - (sb + uReal.(r.beta)* yb) by SURREALR:37;
        - SA + SA = SA-SA;
        then - SA + SA ==0_No by SURREALR:39;
        then U +(- SA + SA) ==U + 0_No by SURREALR:43;
        then U + (- SA + SA) + - (sb + uReal.(r.beta)* yb) ==
        U + - (sb + uReal.(r.beta)* yb) by SURREALR:43;
        hence thesis by A27,SURREALC:48;
      end;
      hence U is (sb,yb,r.beta)_Term by A26,SURREALC:17,def 14;
    end;
  end;
A28: Sum(r|succ A,y|succ A) java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 9
  java.lang.StringIndexOutOfBoundsException: Range [6, 1) out of bounds for length 41
A29: Sum(r|succ A,y|succ A) is (SA,N,r.A)_Term by A13,A28,
  ORDINAL1:6,A8,SURREALC:def 17;
A30:   for x being uSurreal st x in_meets_terms
  Partial_Sums(r,y),y,r,sA & x <> Sum(r|sA,y|  
  holdsborn Sumr|sA,|sA inbornSURREALCdef 18;
  Sum(r|sA,y|sA) = Unique_No x
  proof
    assume
A31: Sum(r|sA,y|sA) <> Unique_No x;
A32: born Sum(r|sA,y|sA) c= born Unique_No x by A14,A30,ORDINAL1:def 2;
    Unique_No x==x by SURREALO:def 10;
    then born Unique_No x in born Unique_No x by A32, A<>;
    hence thesis;
  end;
  hence thesis;
end;

Lm3:
   for y being positive decreasing_infinitely Surreal-Sequence
     for A st A c= dom r/\dom y
      for Sl,Sr being set st
        Sl = {Sum(r|B,y|B) + uReal.(r.B - e1) * y..B
              where B is Element of A, e1: B in A} &
         e2  y..
              where B is Element of A,e2: B in A}
      holds Sl is surreal-membered &
            Sr
proof
  let y be positive decreasing_infinitelyc  r/dom Bindom yby,java.lang.StringIndexOutOfBoundsException: Range [58, 57) out of bounds for length 79
  let A be Ordinal such that
A1: A c= dom r/\dom y;
  let Sl,Sr be set such that
2:l=Sum(java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 45
  where B is Element of A,e1: B in A} &
  Sr = {Sum(r|B,y|B) + uReal.(r.B + e2) * y..B
  where B is Element L_x << {x} & x in {x} by TARSKI:def 1,SURREALO:11;
  now let o be object;
    assume o in Sl;
    then ex B be Element of A, e being positive Real st o =
    Sum(r|B,y|B) + uReal.(r.B - e) * y..B & B in A by A2;
    hence o is     4001 = 11*363 +8 hence not 11 divides 4001 by NAT_4:9;
  end;
  hence Sl is surreal-membered;
  now let o be object;
    assume o in Sr;
    then ex B be Element of A,e being positive Real st o =
    Sum(r|B,y|B) + uReal.(r.B + e) * y..B & B in A by A2;
    ence o is surreal;
  end;
  hence Sr is surreal-membered;
  set SA=Sum(r|A,y|A);
A3: Partial_Sums(r,y).A = SA by A1,Th58;
  A in succ (dom r/\dom y) = dom Partial_Sums(r,y)
  by A1,ORDINAL1:22,SURREALC:def 20;
  then
A4: Partial_Sums(r,y),y,r simplest_on_position A by SURREALC:def 20;
  then
A5: (0 = A implies SA = 0_No) & (0 <> A implies
    SA in_meets_terms Partial_Sums(r,y),y,r,A &
    for x being uSurreal st x in_meets_terms Partial_Sums(r,y),y,r,A & x <> SA
      holds born SA in born x) byjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  per cases;
  suppose
A6:        the setof all java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 5
A7: Sl={}
    proof
      assume Sl<>{};
      then consider o be object such that
A8   o inSl byXBOOLE_0:def1
      ex B be Element of A,e1 st o=Sum(r|B,y|B) + uReal.(r.B - e1) * y..B
      & B in A by A8,A2;
      hence thesis by A6;
    end;
    Sr={}
    proof
      assume Sr<>{};
      then consider o be object such that
A9:   o in Sr by XBOOLE_0:def 1;
      ex B be Element of A, e1 st o=Sum(r|B,y|B) + uReal.(r.B + e1) * y..B
      & B in A by A9,A2;
      hence thesis by A6;
    end;
    hence thesis by A7;
  end;
  suppose
A10:A<>0;
    then
A11: SA in_meets_terms Partial_Sums(r,y),y,r,A by A4,A3,SURREALC:def 18;
    thus Sl << {SA}
    proof
      let l,ss be Surreal such that
A12:  l in Sl & ss in {SA};
      consider B be Element of A,e be positive Real such that
A13:  l =Sum(r| Sum(r|succ AA=java.lang.StringIndexOutOfBoundsException: Range [37, 36) out of bounds for length 78
A14:  B c= dom r/\dom y & B in dom y by A1,A13,ORDINAL1:def 2,XBOOLE_0:def 4;
A15:  Sum(r|B,y|B)=Partial_Sums(r,y).B by Th58,A1,A13,ORDINAL1:def 2;
      y..B = y.B by A14,Def5;
      then |. SA - (Sum(r|B,y|B) + uReal.(r.B)* y..B).| infinitely< y..B
      by A10,A5,A15,SURREALC:def 17,def 14;
      then |. SA - (Sum(r|B,y|B) + uReal.(r.B)* y..B).| infinitely<
      uReal.(e) * y..B by SURREALC:13;
java.lang.StringIndexOutOfBoundsException: Range [12, 10) out of bounds for length 76
      bysuch that
      then - (uReal.(e) * y..B) < SA - (Sum(r|B,y|B) + uReal.(r.B) * y..B)
      by:;
      then
A16:  Sum(r|B,y|B) + java.lang.StringIndexOutOfBoundsException: Range [4, 3) out of bounds for length 25
      by SURREALR:42;
      rBy .(B- e)  y.B=
      Sum(r|B,y|B) + uReal.(r.B) * y..B - uReal.(e) * y..B by Th30;
       java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 40
      hence thesis by A12,TARSKI:def 1;
end;
    thus {SA} << Sr
    proof
      let ss,rr be Surreal:L_SryB  ry)<{
A17:  ss in {SA} & rr in Sr;
      consider B be Element of A,e be positive Real  such that
A18:  rr =Sum(r|B,y|B) + uReal.(r.B + e) * y..B & B in A by A17,A2;
A19:  B c= dom r/\dom y & B in dom y by A1,A18,ORDINAL1:def 2,
      XBOOLE_0:def 4;
A20:  Sum(r|B,y|B)=Partial_Sums(r,y).B by Th58A:L1 in &L2 { &L  L1+ by SURREALRdef 
      y..B = y.B by A19,Def5;
  -|B| + (B*.. <y.java.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 72
      by A11,A18,A20,SURREALC:def 17,def 14;
      then |. SAjava.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 50
      uReal.(e) * y..B by SURREALC:13;
      then |.SA - (Sum(r|B,y|B) + uReal.(r.B) * y..B).| < (uReal.(e) * y..B)
      by SURREALC:9;
      then (uReal.(e) * y..B) > SA - (Sum(r|B,y|B) + uReal.(r.B
      by SURREALC:52;
      then
A21:  Sum(r|B,y|B) + java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
      by SURREALR:41;
      Sum(r|B,y|B) + uReal.(r.B + e) * y..B ==
      Sum(r|B,y|B) + uReal.(r.B) * y..B + uReal.(e) * y..B by Th30;
       > SA by A21SURREALO9
      hence thesis by A17,TARSKI:def 1;
    end;
  end;
end;

theorem Th61:
  for y being positive decreasing_infinitely Surreal-Sequence st
    A c= dom r/\dom y
  holds
        [{Sum(r|B,y|B) + uReal.(r.B - e) * y..B
              where B is Element of A,e: B in A},
         {Sum(r|B,y|B) + uReal.(r.B + e) * y..B
              where B is Element of A,e: B in A}] is Surreal
proof
  let y be positive decreasing_infinitely Surreal;
A1: A c= dom r/\dom y;
  set Sl={Sum(r|B,y|B) + uReal.(r.B - e1) * y..B
  where B is Element of A,e1: B in A};
  set Sr = {Sum(r|B,y|B) + uReal.(r.B + e2) * y..B
  where B is Element of A,e2: B in A};
java.lang.StringIndexOutOfBoundsException: Range [10, 2) out of bounds for length 45
  where B is Element of A,e1: B in 
A3:Sr = {Sum(r|B,y|B) + uReal.(r.B + e2) * y..B
  where B is Element of A35:  L1 in {SryB} & L2 in L_ry & L = L1+L2 by SURREALR:def 8;
  reconsider Sl,Sr as surreal-membered set by A2,A3,Lm3,A1;
  consider M be Ordinal A37:  L2 = uReal.(rA-e2)* yA by A35;
A4 obeing object st in Sl/ exA Ordinalst
  A in M & o in Day A by SURREAL0:47;
|yA);
  Sl << Sr
  proof
    SryA1 in{SryA1}&L_SryA1 << {SryA1} by SURREALO:11,TARSKI:def 1;
A5: l in Sl & r in Sr;
A6: Sl << {SA} << Sr by Lm3,A1,A2,A3;
    SA in {SA} by TARSKI:def 1;
    thenjava.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 6
    let L,R be Surreal suchthat
  nd;
  then [Sl,A42: L ==SryA1 by A11,A41,TARSKI:def 1;
  hence thesis;
end;

:: Gonshor'86 Lemma 5.3
theorem Th62:
  for y beingpositive decreasing_infinitelySurreal-Sequencest
      A c= dom r/\dom y & x =
        [{Sum(r|B,y|B) + uReal.(r.B - e) * y.considerB Elementof A,e suchthat
              where B is Element of A,e: B in A},
         {Sum(r|B,y|B) + uReal.(r.B + e) * y..B
              where B is Element of A,e: B in A}]
  holds Sum(r|A,y|A) = Unique_NoE =uReal.e/)
proof
 let y bepositivedecreasing_infinitely Surreal-Sequence such that
A1: A c= dom r/\dom y;
  set xL ={Sum(r|B,y|B) + uReal.(r.B - e1) * y..B
  java.lang.StringIndexOutOfBoundsException: Range [13, 7) out of bounds for length 38
  xR={Sum(r|B,y|B) + uReal.(r.B + e2) * y..B
  where B is Element of A,e2: B in A};
  assume
A2: x R1= SB+ uReal.(r.B)*yB + uReal.e * yB by Th30,A45;
  set U=Unique_No x,
      SA=Sum(r|A,y|A);
A3: Partial_Sums(r,y).A = SA by A1,Th58;
  A in succ (dom r/\dom y) = dom Partial_Sums(r,y)
    by A1,ORDINAL1:22,SURREALC:def 20;
  then
A4: Partial_Sums(r,y),y,r simplest_on_position A by SURREALC:def 20;
  then
A5: (0 = A implies SA = 0_No) & (0 <> A implies
  SA in_meets_terms Partial_Sums(r,y),y,r,A &
  for x being uSurreal st x in_meets_terms
  Partial_Sums(r,y),y,r,A & x <> SA
  holds A3,SURREALC:def 
  per cases;
  suppose
A6:A=0;
A7: xL={}
    proof
      assume xL<>{};
      consider obeobject such that
A8:   o in xL by XBOOLE_0:def 1;
      ex B be Element of A st ex e1 st o=Sum(r|B,y|B) +
      uReal.(r.B - e1) * y..B & B in A by A8;
      hence thesis by A6;
    end;
    xR={}
    proof
      assume xR<>{};
      then consider o be object such that
A9:   o in xR by XBOOLE_0:def 1;
      ex B be Element of A st ex e1 st o=Sum(r|B,y|B) +
      uReal.(r.B + e1) * y..B & B in A by A9;
      hence thesis by A6;
    end;
    hence thesis by A7,A2,A6,A4,A3,SURREALC:def 18,SURREALO:42;
  end;
  suppose
A10: A<>0;
A11: U==x by SURREALO:def 10;
    L_x << {SA} << R_x by A1,A2,Lm3;
    then
A12:orn Uc born SA byTh53;
    domr\java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 41
    then
A13: A c= dom r by A1;
    xin_meets_terms Partial_Sums(y),r,
    proof
      let B be Ordinal,sb,yb bethen Binsucc Aby A45,RDINAL1:
A14:  B in Athen SB+uReal.r.+e/*yBin  SryA1 in{ <R_SryA1
      |. x  (sb+uReal(r.B) yb)| infinitely yb
      proof
        let e;
        set E=1/e;
        B c= dom r/\dom y & B in dom y by A1,A14,ORDINAL1:def 2,XBOOLE_0:def 4;
        then
A15:    Sum(r|B,y|B)=sb & yb = y..B by A14,Th58,Def5;
A16:    sb + uReal.(r.B+E)*yb in R_x by A2,A15,A14;
        x in {x} << R_x by TARSKI:def 1,SURREALO:11;
        then (sb + uReal.(r.B) * yb) +(yb*uReal.E)==sb + uReal.(r.B+E)*yb > x
          by A16,Th30;
        then (sb + uReal.(r.B) * yb) +(yb*uReal.E) > x by SURREALO:9;
        then
x  sb  java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 51
        by SURREALR:thenSryA1  Rby A57,A58,SURREALO:9;
A18:    sb + uReal.(r.B-E)*yb in L_x by A15,A14,A2;
        L_x << {x} 26;hence not 41 divides 4003 by NAT_4:9;
        java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 6
        by A18,Th30;
        then (sb + uReal.(r.B) * yb) -(yb*uReal.E) < x by SURREALO:9;
        then
A19:    -(yb*uReal.E) < x - (sb + uReal.(r.B) * yb)
        by SURREALR:42;
A20:    0_No < uReal.e by SURREALN:47,51;
        E*e = 1 by XCMPLX_1:87;
        then yb*uReal.E*uReal.e == yb*(uReal.E*uReal.e) == yb*1_No
        by SURREALR:54,69,SURREALN:57,48;
        then A21: yb*uReal.E*uReal.e == yb by SURREALO:9;
        |. x - (sb + uReal.(r.B) * yb).| < yb*uReal.E by A17,A19,SURREALC:52;
        then |. x - (sb + uReal.(r.B) * yb).|*uReal.e < yb*uReal.E*uReal.e
        by A20,SURREALR:70;
        hence |. x - (sb + uReal.(r.B)* yb).| * uReal.e < yb by A21,SURREALO:9;
          rAN^(A)+uReal.r.A  ^(.)
      hence
    end;
    then U in_meets_terms Partial_Sums(r,y),y,r,A by A13,A11,SURREALC:82;
    then born SA in born SA by A12,A5A3  injava.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 36
    hence thesis;
  end;
end;

theorem Th63:
  for y being positive decreasing_infinitely Surreal-Sequence st
      succ A c= dom r/\dom y &
       (for ry being Surreal st
         ry = [the set of all uReal.(r.A-e1)* y..A,
               the set of all uReal.(r.A+e2)* y..A]
         holds ry == uReal.(r.A)* y..A)
  holds
java.lang.StringIndexOutOfBoundsException: Range [23, 4) out of bounds for length 65
proof
  positive decreasing_infinitely Surreal-Sequence suchthat
A1:ucc  c domr\y
A2:for ry being Surreal st
         ry = [the set of all uReal.(r.A-e1)* y..A,
               the set of all uReal.(r.A+e2)* y..A]
         holds ry == uReal.(r.A)* y..A;
  =.,
      yA=y..A;
A3: A in succ A by ORDINAL1:6;
  then
A4: A in dom y by A1,XBOOLE_0:def 4;
  then
A5:yA = y.A by Def5;
A6: yA is positive by A4,A5,SURREALC:def 15;
A7: 0_No <=yA by A6;
  reconsider ry=[the set of all uReal.(rA-=SsA
                    the set of all uReal.(rA+e2)* yA] as Surreal by java.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 10
A8:ry == uReal.(rA)* yA by A2;
  reconsider SryA= [the set of all 0_No + Sum(r|A,y|A) + uReal.(rA - e1) * yA,
          the set of all 0_No + Sum(r|A,y|A) + uReal.(rA + e2) * yA]
  as java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 0
  reconsider SryA1=[{Sum(r|B,y|B) + uReal.(r.B - e) * y..B
    where B is Element of succ A,e: B in succ A},
    {Sum(r|B,y|B) + uReal.(r.B + e) * y..B
    where B is Element of succ A,e: B in succ A}] as Surreal
A9: Sum(r|succ A,y|succ A)=Unique_No SryA1 ==SryA1 by A1,Th62,SURREALO:def 10;
A10: Sum(r|succ A,y|succ A) = Unique_No SryA =,SURREALN:47SURREALR:9;
  then A11: SryA == SryA1 by A9,SURREALO:9;
  reconsider SryB=
        [{Sum(r|B,y|B) + uReal.(r.B - e) * y..B
              where B is Element of A,e: B in A},
         {Sum(r|B,y|B) + uReal.(r.B + e) * y..B
              where  isof Ae: Bin A]as Surreal
  by A1,A3,ORDINAL1:def 2,Th61;
A12: Sum(r|A,y|A) = Unique_No SryB ==SryB
  byA1,3,RDINAL1:ef 2,Th62,URREALO:ef 10java.lang.StringIndexOutOfBoundsException: Range [47, 48) out of bounds for length 47
A13: L_SryA << {SryB + ry}
  proof
    let L,R be Surreal such that
A14:L in L_SryA & R in {SryB + ry};
A15:R = SryB + ry by A14,TARSKI:def 1;
    consider e such that
A16:  L = Sum(r|A,y|A) + uReal.(rA - e) * yA by A14;
A17:L_ry << {ry} & ry in {ry} by SURREALO:11,TARSKI:def 1;
    uReal.(rA - e) * yA in L_ry;
    hence java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 8
  end;
A18:{SryB + ry} << R_SryA
  proof
    let L,R be Surreal such that
A19:L in {SryB + ry} & R in R_SryA;
A20:L = SryB + ry by A19,TARSKI:def 1;
    end;
A21:  R = Sum(r|A,y|A) + uReal.(rA + e) * yA by A19;
A22:{ry} << R_ry & ry in {ry} by SURREALO:11,TARSKI:def 1;
    uReal.(rA + e) * yA in R_ry;
    java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 48
  end;
A23:SryB + ry = [(L_SryB ++ {ry})\/({SryB} ++ L_ry),
  (R_SryB ++ {ry}) \/({SryB} ++ R_ry)] by SURREALR:28;
SryB ry) << {SryA}
  proof
    java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 32
A25: L in L_(SryB + ry) & R in {SryA};
A26: R == SryA1 by for y being positive decreasing_infinitely Surreal-Sequence st rng r c= {0}
    per cases by A23,A25,XBOOLE_0:def 3;
    suppose L in L_SryB ++ {ry};
      then consider L1,L2 be Surreal such that
A27:  L1 in L_SryB & L2 in {ry} & L = L1+L2 by SURREALR:def 8;
      consider B be Element of A, e such that
A28:  L1 = Sum(r|B,y|B) + uReal.(r.B - e) * y..B & B in A by A27;
      set yB=y..B,
          SB = Sum(r|B,y|B),
          E = uReal.(e/2);
      e/2+e/2 = e;
      then E*yB + E*yB == (E+E)*yB == yB * uReal.e
      by SURREALN:55,SURREALR:54,67;
      then E*B+*= yB* 
      then -(E*yB) +- (E*yB) = -(E*yB + E*yB) == -(yB * uReal.e)
         beOrdinalsuchthat
      then
A29:  SB + uReal.(r.B)*yB + - (uReal.e * yB) == SB + uReal.(r.B)*yB +
      (yB) - E  )java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
      = SB + uReal.(r.B)*yB -(E*yB) +- (E*yB)
      by SURREALR:37,43;
      L1 == SB + uReal.(r.B)*yB - uReal.e
      then
java.lang.StringIndexOutOfBoundsException: Range [52, 3) out of bounds for length 68
      SB + uReal.(r.B)*   Sumr|ByB 0NobyA3A4A7ORDINAL1def2;
      java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 51
      SB + uReal.(r.B-e/2)* r.  0byA1,TARSKI:ef1
      then
A31:  L1 == SB + uReal.(r.B-e/2java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 30
      yB = y.B by A4,A28,ORDINAL1:10,Def5;
      then yA infinitely< yB by A28,A4,A5,SURREALC:def 16;
      then yA infinitely< E * yB by SURREALC:13;
      then (uReal.(rA)) * yA < E * yB by A7,SURREALC:20;
      then
A32:  ry{0_No}<R_X
      L1 + ry == SB + uReal.(r.B-e/2)*yB +- (E*yB) +ry =
      SB + uReal.(r.B-e/2)*yB +(- (E*yB) +ry) by A31,SURREALR:37,43;
      then
A33:  L == SB+ uReal.(r.B-e/2)*yB +(ry- (E*yB)) by A27java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
      ry - (E*yB) < 0_No by A32,SURREALR:46;
      then SB + uReal.(r.B-e/2)*yB +(ry - (E*yB)) <
      SB + uReal.(r.B-e/2)*yB +0_No by SURREALR:44;
      then
A34:  L <= SB + uReal.(r.B-e/2)*yB by A33,SURREALO:9;
      A in succ A by ORDINAL1java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 75
      then B in succ A by A28,ORDINAL1:10;
       +(Be2*yB inL_SryA1< {SryA1}&SryA1 in {ryA1}
      by SURREALO:11,TARSKI:then born Unique_No X c= {} by SURREAL0:37;
      then L < SryA1 by A34,SURREALO:9;
      hence L < R by A26,SURREALO:9;
    end;
    suppose L in { java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 28
      then consider L1,L2 be Surreal such that
java.lang.StringIndexOutOfBoundsException: Range [32, 3) out of bounds for length 62
Partial_Sumsr,y)A=SumrA,|A)by ;
      consider e2 such that
A37:  L2 = uReal.(rA-e2)* yA by A35;
A38:  L == Sum(r|A,y|A) + uReal.(rA-e2)* yA by A36,A35,A37,A12,SURREALR:43;
      A in succ A by ORDINAL1:6;
      then
A39:  Sum(r|A,y|A) + java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 24
      SryA1 in {SryA1} & L_SryA1 << {SryA1} by SURREALO:11,TARSKI:def 1;
      then SryA1 > L by A38,A39,SURREALO:byA1,RDINAL122SURREALC:def ;
      hence L < R by A26,SURREALO:9;
    end;
  end;
A40: {SryA} << R_(SryB + ry)
  proof
    let L,R be Surreal such that
A41: L in {SryA} & R in R_(SryB     4007 =53*75 +32 hence not divides4007 y NAT_4:9;
A42: L == SryA1 by A11,A41,java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
    per cases by A23,A41,XBOOLE_0:def 3;
    supposeR inR_SryB +{ry}java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
      then consider R1,R2 be Surreal such that
A43:  R1 in R_SryB & R2  c domr /  java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 42
A44:  R2 = ry by A43,TARSKI:def 1;
      consider B be Element of A,Sumr|,B) =Partial_Sums(,y. by A1Th58
then Ain dom Partial_Sums(r, bySURREALC:def20;
yBjava.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 6
          SB = Sum(r|B,y|B),
          E = uReal.(e/2);
      e/e/ =e;
      then E*yB + E*yB == (E+E)*yB == yB * uReal.e
      by SURREALR:54,67,SURREALN:55;
      then (E*yB + E*yB) == (yB * uReal.e) by SURREALO:9;
      then
A46:  SB + uReal.(r.B)*yB +(uReal.e * yB) == SB+ uReal.(r.B)*yB +
      ((E*yB) + (E * yB)) = SB + uReal.(r.B)*yB + (E*yB) +(E*yB)
      by SURREALR:37,43;
      R1 == SB + uReal.(r.B)*yB + uReal.e * yB by Th30,A45;
      hen
A47:  R1 == SB + uReal.(r.B)*yB + (E*yB) + (E*yB) by A46,SURREALO:9;
      SB + uReal.(r.B)*yB +(E*yB) == SB + uReal.(r.B+e/2)*yB by Th30;
      then SB + uReal(.B)yB  (EyB)+ E*B)=
      SB + uReal.(r.B+e/2)*yB + (E*yB) by SURREALR:43;
      then
A48:  R1 == SB + uReal.(r.B+e/2)*yB + (E*yB) by A47,SURREALO:9;
      yB = y.B by Def5,A4,Sum(r|B,y|B) + uReal.(re  .
      then yA infinitely< yB by A45,A4,A5,SURREALC:def 16;
      then yA infinitely< E * yB by SURREALC:13;
      then
java.lang.StringIndexOutOfBoundsException: Range [2, 1) out of bounds for length 27
A50:  (uReal.(-rA))*yA == (- (uReal.rA))*yA = -( (uReal.rA)*yA)
      by SURREALN:56,SURREALR:54,58;
      - ry == - (uReal.(rA)* yA) by A8,SURREALR:10;
      then (uReal.(-rA))*yA == - ry by A50,SURREALO:9;
      then
A51:  -ry < E * yB by A49,SURREALO:9;
A52:  R1 +ry == SB + uReal.(r.B+e/2)*yB + (E*yB) +ry =
      SB + uReal.(r.B+e/2)*yB +((E*yB) +ry) by A48,SURREALR:37,43;
      ry - - (E*yB) >set D=dom /\dom;
      thenSB  uReal..B+/*+ry  (*)>
      SB + uReal.(r.B+e/2)*yB +0_No by SURREALR:44;
      then R > SB + uReal.(r.B+e/2)*yB by A52,A43,A44,SURREALO:9;
      
A53:  R >= SB + uReal.(r.B+e/2)*yB by SURREALO:6;
      A in succ A by ORDINAL1:6;
      then B in succ A by A45,ORDINAL1:10;
      then SB + uReal.(r.B+e/2)*yB in R_SryA1 & SryA1 in {SryA1} << R_SryA1
      by SURREALO:11,TARSKI:def 1;
      thenSryA1 <R byA53SURREALO:9;
      hence L < R by A42,SURREALO:9;
    end;
    suppose R in {ryB}+ R_ry;
      then consider R1,R2 be Surreal such that
A54:{SryB   in R_ry &R = R1+R2  by SURREALRdef8;
A55:  R1 = SryB by A54,TARSKI:def 1;
      consider e2 such that
A56:  R2 = uReal.(rA+e2)* yA by A54;
A57:  R == Sum(r|A,y|A) + uReal.(rA+e2)* yA by A55,A54,A56,A12,SURREALR:43;
      A in succ A by ORDINAL1:6;
      then
A58:  Sum(r|A,y|A) + uReal.(rA+e2)* yA
      in {Sum(r|B,y|B) + uReal.(r.B + e) java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
      where B is Element of succ A,e: B in succ A};
      SryA1 in {SryA1} << R_SryA1for ybeing positive decreasing_infinitely Surreal-Sequence st
      then <Rby A57,A58,SURREALO:9;
      hence L < R by A42,SURREALO:9;
    end;
  end;
  SryA == SryB + ry by A13,A18,A24,A40,SURREAL0:43;
  then Sum(r|succ A,y|succ A) == SryB + ry
  == Sum(r|A,y|A) + uReal.(rA)* yA by A10,A12,A8,SURREALO:9,SURREALR:43;
  hence thesis by SURREALO:9;
end;

theorem Th64:
  for y being strictly_decreasing Surreal-Sequence st
     java.lang.StringIndexOutOfBoundsException: Range [11, 9) out of bounds for length 27
  holds
    Sum(r|succ A,No_omega^(y|succ A)) ==
          Sum(r|A,No_omega^(y|A)) + uReal.(r.A) * No_omega^(y..A)
proof
  let y be strictly_decreasing Surreal-Sequence such that
A1: succ A c= dom
  set N = No_omega^y;
A2: dom N=dom y by SURREALC4013 = * + ; hence not  A7: Dc= dom&cdomy1A  java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
  A in succ A by ORDINAL1:6;
  then
A3: A in dom y by A1,XBOOLE_0:def 4;
  then N..A = N.A &=;
  then
A4:No_omega^(y..A) = N..A by A2,A3,SURREALC:def 22;
A5: for ry being Surreal st
    ry = [the set of all uReal.(r.A-e1)* N..A,
       the      thenAD= &Sumr1A|D,y1AD=_Noby ORDINAL2:Th67;
         holds ry == uReal.(r.A)* N..A by A4,Th57;
  N| succ A = No_omega^(java.lang.StringIndexOutOfBoundsException: Range [4, 25) out of bounds for length 11
  hence thesis by A5,A1,A2,Th63,A4;
end;

theorem
  for y being positive decreasing_infinitely Surreal-Sequence st
    A in dom r/\dom y & r.A = 0
  reconsiderXB={Sum(r1ABy1A|)+uReal(r1A.-)*y1A.B
    Sum(|AyA)= Sum(r|ucc,ysucc A)
proof
 let y be2 hnot  4013by AT_49;
A1: A in dom r/\dom y & r.A = 0;
  set P=Partial_Sums(r,y),
      SsAA13: ..>0_ by,6java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
      SA=Sum(r|A,y|A);
A2    4013= 19211+4 hence  19 divides  by NAT_49;
  A in succ A by ORDINAL1:6;
  hen
P,r  Aby A2:,def20
A4:P,y,r simplest_on_position succ A by A2,SURREALC:def 20;
A5: P.succ A = SsA by Th58,A1,ORDINAL1:21;
A6:SsA in_meets_terms P,y,r
           for xbeing uSurrealst x  Py,,ucc 
             holds born SsA in born x by A4,A5,SURREALC:def 18;
A7: P.A = SA by Th58,A1,ORDINAL1:def 2;
  SA = SsA
  proof
    assume
A8: SA<>SsA;
    SA in_meets_terms P,y,r,succ A
    proof
      let beta be Ordinal,          consider B Element of , uch that
A9:   beta in succ A & sb=P.beta & yb = y.beta;
      per cases by A9 ORDINAL18
      suppose
A10    beta =java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
        then
A11:    |.SA - (SA + uReal.(r.beta)* yb).| == |.0_No.|
        by SURREALC:A25:| r1|DyA|)-Sum,java.lang.StringIndexOutOfBoundsException: Range [47, 46) out of bounds for length 49
        0_No infinitely< yb
        proof
          let e;
          A in dom y by A1,XBOOLE_0:defA26      .(r1A,y1AD + uRealjava.lang.StringIndexOutOfBoundsException: Range [45, 44) out of bounds for length 73
          then yb is positive by A9,A10,SURREALC:def 15;A13,Th31,A22,Def7
          hence thesis;
        end;
        then |.0_No.| infinitely< yb by SURREALC:def 6;
        hence SA is (sb,yb,r.beta)_Term
          by A11,SURREALC:11,A9,A10,A7,SURREALC:def 14;
      end;
      suppose
A12:    beta in A;
        then SA in_meets_terms P,y,r,A by A7,A3,SURREALC:def 18;
        hence thesis by A12,A9,SURREALC:def 17;
      end;
    end;
    then
A13: born SsA in born SA by A4,A5,SURREALC:def 18,A8;
A14: A<>0
    proof
      assume A=0;
      then SA = 0_No by A7,A3,SURREALC:def 18;
      hence thesis by A13,SURREAL0:37;
    java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
    SsA in_meets_terms P,y,r,A
    proof
      let beta be Ordinal,sb,yb be Surreal such that
A15:  beta in A & sb=P.beta & yb = y.beta;
      beta in succ A by A15,ORDINAL1:8;
      hence SsA is (sb,yb,r.beta)_Term by A15,A6,SURREALC:def 17;
    end;
    then born SsA in born SsA by A13,A14,A7,A3,SURREALC:def 18;
    hence thesis;
  end;
  hence thesis;
end;

theorem Th66:
  for y being positive decreasing_infinitely Surreal-Sequence st rng r c= {0}
    holds Sum(r,y) = 0_No
proof
  y be positive decreasing_infinitely Surreal-Sequence such that
A1:rng r c= {0};
  defpred P[Ordinal] means $1 c= dom r/\dom y implies Sum(r|$1,y|$1)=0_No;
A2:for A being Ordinal st for C being Ordinal st C in A holds P[C] holds P[A]
  proof
    let A be Ordinal such that
A3:for C being Ordinal st C in A holds P[C];
    assume
A4: A c= dom r/\dom y;
    reconsider X= [{Sum(r|B,y|B) + uReal.(r.B - e) * y..B
      where B is Element of A,e: B in A},
      {Sum(r|B,y|B) + uReal.(r.B + e) * y..B
      where B is Element of A,e: B in A}] as Surreal by A4,Th61;
A5: L_X << {0_No}
    proof
      let x,w be Surreal such that
A6:   x in L_X & w in {0_No};
      consider B be Element of A,e such that
A7:   x = Sum(r|B,y|B) + uReal.(r.B - e) * y..B & B in A by A6;
A8:   Sum(r|B,y|B) = 0_No by A3,A4,A7,ORDINAL1:def 2;
      B in dom r by A4,A7,XBOOLE_0:def 4;
      then r.B in rng r by FUNCT_1:def 3;
      then
A9:   r.B = 0 by A1,TARSKI:def 1;
A10:  B in dom y by A4,A7,XBOOLE_0:def 4;
      then y..B = y.B by Def5;
      then
A11:  y..B is positive by A10,SURREALC:def 15;
::$CT 5
      then uReal.(- e) * y..B < 0_No = w by A11,A6,SURREALR:74,TARSKI:def 1;
      hence thesis by A9,A7,A8;
    end;
    {0_No} << R_X
    proof
      let w,x be Surreal such that
A12:  w in {0_No} & x in R_X;
      consider B be Element of A,e such that
A13:  x = Sum(r|B,y|B) + uReal.(r.B + e) * y..B & B in A by A12;
A14:Sum(r|B,y|)=0No by A3,A4,A13,ORDINAL1:def 2;
      B in dom r by A4,A13,XBOOLE_0:def 4;
      then r.java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
      then
A15:  r.B = 0 by A1,TARSKI:def 1;
A16:  B in dom y by A4,A13,XBOOLE_0:def 4;
      then y..B = y.B by Def5;
      hen
A17:  y..B is positivethen XB < |XB|<uReal.e/)*java.lang.StringIndexOutOfBoundsException: Range [65, 66) out of bounds for length 65
      0_No =uReal.0 < uReal.(e) by SURREALN:47,51;
java.lang.StringIndexOutOfBoundsException: Range [20, 6) out of bounds for length 75
      hencer|,|B  .r.B -u.e/)*y.B
    end;
    then born Unique_No X c= born 0_No by A5,Th53;
    then born Unique_No X c= {} by SURREAL0:37;
    then born Unique_No X = {};
    then Unique_No X=0_No by SURREAL0:37;
    hence thesis by A4,Th62;
  end;
A18:for A being Ordinal holds P[A] from ORDINAL1:sch 2(A2);
  set A = dom r/\dom y;
  Partial_Sums(r,y).A = Sum(r|A,y|A) by Th58;
  henSum(,y  Sum(|y|A) by SURREALC:21;
  hence thesis by A18;
end;

theorem Th67:
  for y being positive <XD A2211java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
     Sum(r|0,y|0) = 0_No
proof
  let y be positive decreasing_infinitely Surreal-Sequence;
A1:{}c dom r /\dom ;
  then
java.lang.StringIndexOutOfBoundsException: Range [31, 2) out of bounds for length 47
  0 in succ (dom r /\ dom y) =dom Partial_Sums(r,y)
  by A1,ORDINAL1:22,SURREALC:def 20;
  then Partial_Sums(r,y),y,r simplest_on_position {} by SURREALC:def 20;
  hence thesis by A2,SURREALC:def 18;
end;

theorem Th68:
  forjava.lang.StringIndexOutOfBoundsException: Range [38, 37) out of bounds for length 58
    B in A c= dom r /\ dom y
  holds
    Sum(r|A,y|A) is (Sum(r|B,y|B),y..B,r.B)_Term
proof
let y be positive decreasing_infinitely Surreal-equencejava.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
  assume
A1:B in A c= dom r /\ dom y          == Sumr|,y|A) + Sum(r1A|By1A| +uReal.(1AB-e)*y1A.B
  then         =Sum(r|,y|)+(Sum(r1A|B,y1A|)+uReal.(r1A.B e) *y1A.B)
  then

    Sum(r|B,y|B) = Partial_Sums(r,y).B by A1,Th58;
  A in succ (dom r/\dom y) by A1,ORDINAL1:22;
  then A in dom Partial_Sums(r,y) by SURREALC:def 20;
  then
A3Partial_Sums(y)yrsimplest_on_positionA by SURREALC:def 20;
  B in     =13*09  2;hence not 13 dividesA32:       ADbyA30,17;
  then
A4: y..B = y.B by Def5;
  Sum(r|A,y|A) in_meets_terms Partial_Sums(r,y),y,r,A
      T;
  hence thesis by A1,A2,A4,SURREALC:          then r1A.B = r.AB & y1A..B = y..AB by Def5;
end;

theorem Th69:
  for y being positive decreasing_infinitely Surreal-Sequence st
      B in A c= dom r /\ dom y
 holds Sum(r|B,y|)+ uReal.(r.B - e) * y..B < Sum(r|A,y|A)
          Sum(|,y|)+uReal.r. +e) *y.B
proof
  let y be positive decreasing_infinitely Surreal-Sequence such that
A1: B in A c= dom r /\ dom y;
  reconsider Sr=[{Sum(r|B,y|B) + uReal.(r.B - e) * y..B
    where B is Element of A,e: B in A},
    {Sum(|ByB) uReal.(. +e)  y.B
    where B is Element of A,e: B in A}] as Surreal by A1,Th61;
  Unique_No Sr = Sum(r|A,y|A) by A1,Th62;
  then
A2: Sr == Sum(r|A,y|A) by SURREALO:def 10;
A3:Sum(r|B,y|B) + uReal.(r.B - e) * y..B in L_Sr &
  Sum(r|B,y|B) + uReal.(r.B + e) * y..B in R_Sr by A1;
  L_Sr <<{Sr} << R_Sr & Sr in {Sr} by TARSKI:def 1,SURREALO:11;
  hence thesis by A2,A3,SURREALO:9;
end;

theorem Th70:
  for y being positive decreasing_infinitely Surreal-Sequence st
    0 in dom y/\dom r & y..0 infinitely< a
  holds
    |. Sum(r,y) .| infinitely< a
proof
  let y be positive decreasing_infinitely Surreal-Sequence such that
A1: 0 in dom y/\dom r and
A2 y.0infinitely<a;
  set D= dom y/\dom r;
  set ry =uReal.(r.0)* y..0;
A3:  Sum(r|0,y|0) = 0_No by Th67;
  Sum(r|D,y|D) is (Sum(r|0,y|0),y..0,r.0)_Term by A1
  then |.Sum(r|D,y|D) - (Sum(r|0,y|0)+ ry) .|
  infinitely< y..0 by SURREALC:def 14;
  then
A4: |.Sum(r|D,y|D) - ry.| infinitely< a by A3,A2,SURREALC:14;
  0 in dom y by A1, 34:a in {D & b in R_(A+XB);
  then y..0 is positive by Def6;
  then 0_No <= y..;
  then |.ry.| infinitely< a by A2,Th31;
  then
A5: |. Sum(r|D,y|D) - ry+ry.| infinitely< a by A4,SURREALC:41;
39java.lang.StringIndexOutOfBoundsException: Range [31, 32) out of bounds for length 31
  then Sum(r|D,y|D) +- ry+ry
  = Sum(r|D,y|D) +(- ry+ry) ==
  Sum(r|D          .B +e =r. +/ +e/2java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
  then |.Sum(r|D,y|D) +- ry+ry.| == |.Sum(r|D,y|D).| by SURREALC:48;

A6: |.Sum(r|D,y|D).| infinitely< a by A5,SURREALC:11;
  Sum(r|D,y|D) = Partial_Sums(r,y).D by Th58;
  hence thesis by A6,URREALC:def 21;
end;

:: Gonshor'86 Lemma 5.5
::$N Decomposition of Selected Surreal Representations into Head and Tail
theorem Th71:
 ybeing positive java.lang.StringIndexOutOfBoundsException: Range [45, 44) out of bounds for length 64
      A c= dom r /\ dom y
  holds
    Sum(r|A,y|A) + Sum(r/^A,y/^A) == Sum(r,y)
proof
  let y be positive decreasing_infinitely Surreal-Sequence such that
A1: A c= dom r /\ dom y;
  set rA=r|A, yA=y|A, r1A=r/^A, y1A=y/^A;
A2:dom rA = A = dom yA by A1,XBOOLE_1:18,RELAT_1:62;
  reconsider XA=[{Sum(r|B,y|  end
  where B is Element of A,e: B in A},
  {Sum(r|B,y|B) + uReal.(r.B + e) * y..B
  where B is Element of A,e: B in A}] as Surreal by A1,Th61;
  defpred P[Ordinal] means $1 c= dom r1A /\ dom y1A implies
  Sum(r|A,y|A) + Sum(r1A|$1            then
A3: Sum(rA,yA) = Unique_No XA == XA by A1,Th62,SURREALO:def 10;
A4:for D being Ordinal st for C being Ordinal st C in D holds P[C] holds P[D]
  proof
    let D be Ordinal such that
A5: for C being Ordinal st C in D holds P[C];
    set AD=A+^D;
    
A6: D c= dom r1A /\ dom y1A;
    then
A7: D c= dom r1A & D c= dom y1A by XBOOLE_1:18;
    D c= dom r -^ A & D c= dom y -^ A by Def1,A7;
    then
A8: A+^D c= A+^(dom r -^ A) =dom r &
    A+^D c= A+^(dom y -^ A) =dom y by A1,XBOOLE_1:18,Th3,ORDINAL3:18;
    per cases;
    suppose D=0;
      then AD=A & Sum(r1A|D,y1A|D)=0_No by ORDINAL2:27,Th67;
      hence thesis;
    end;
    suppose
A9:   D <>0;
      {} c= D;
      then
A10:  0 in D by ORDINAL1:11,A9,XBOOLE_0:def 8;
      then A+^0 in dom r & A+^0 in dom y by A7,Th8;
      then
A11: A in dom y by ORDINAL2:27;
      reconsider XB=[{Sum(r1A|B,y1A|B) + uReal.(r1A.B - e) * y1A..B
        where B is Element of D,e: B in D},
        {Sum(r1A|B,y1A|B) + uReal.(r1A.B + e) * y1A..B
        where B is Element of D, :$CT
A12:  y..A is positive by A11,Def6;
  . =_ by A12,URREALO6
A14:  Sum(r1A|D,y1A|D) = Unique_No XB ==XB by A6,Th62,SURREALO:def 10;
A15:  AD c= dom r /\ dom y by A8,XBOOLE_1:19;
      reconsider XD=[{Sum(r|B,y|B) + uReal.(r.B - e) * y..B
        where B is Element of AD,e: B in AD},
        {Sum(r|B,y|B) + uReal.(r.B + e) * y..B
        where B is Element of AD,e: B in AD}] as Surreal by A15,Th61;
A16:  Sum(r|AD,y|AD) = Unique_No XD == XD by A15,Th62,SURREALO:def 10;
A17:  XA + XB = [(L_XA ++ {XB})\/({XA} ++ L_XB), (R_XA ++ {
       \/({XA} ++ R_XB)] by SURREALR:28;
      A-^A=0 by ORDINAL3:54;
      then
A18:  y1A..0 =y..A by Th35,A11;
A19:  L_(XA +           Sum(r1|D,y1A|D).0)*y..) u(.)*y.A)
      proof
        let b,a be Surreal such that
A20:    b in L_(XA + XB) & a in {XD};
        per cases by A17,A20,XBOOLE_0:          then Sum(r1A|D,y1A|D)+-(uReal.(0)*proof
        suppose b in L_XA ++ {XB};
          then consider b1,b2 be Surreal such that
A21:      b1 in L_XA & b2 in {XB} & b = b1+b2 by SURREALR:def 8;
          consider B be Element of A,e such that
A22:      b1   now
          r.B - e = r.B -e/2 -e/2;
          then
A23:      b1 == Sum(r|B,y|B)+ uReal.(r.B -e/2) * y..B- uReal.(e/2)* y..B
          by A22,Th30;
   Sumr|y| +r+     =2*2010 +1;hence not 2 divides 4021 by NAT_4:9;
          Sum(r1A|D,y1A|D) is (Sum(r1A|0,y1A|0),y1A..0,r1A.0)_Term
          by A6,A10,Th68;
          then
A25:      |. Sum(r1A|D,y1A|D) - (Sum(r1A|0,y1A|0)
          + uReal.(r1A.0)* y1A..0).| infinitely< y1A..0 by SURREALC:def 14;
          Sum(r1A|0,y1A|0) = 0_No by Th67;
          then
A26:      |. Sum(r1A|D,y1A|D) +- (uReal.(r1A.0)* y..A).| infinitely< y..B
          by&XDin{<R_XD A36,:def ,SURREALO11;
java.lang.StringIndexOutOfBoundsException: Range [12, 10) out of bounds for length 78
          
A27:      |.Sum(r1A|D,y1A|D) +- (uReal.(r1A.0)* y..A) + (uReal.(then  b1,b2 be Surreal such that
          infinitely< y..B by A26,SURREALC:41;
          uReal.r1A.) y.A -uReal.r1A.) y..)= _
          by    ;hencenot divides4021by NAT_49
          then Sum(r1A|D,y1A|D) +-(uReal.(r1A.0)* y..A) + (uReal.(r1A.0)* y..A)
          = Sum(r1A|D,y1A|D) +(- (uReal.(r1A.0)* y..A) + (uReal.(r1A.0)* y..A))
          == Sum(r1A|D,y1A|D) +0_No
          by A44:      b2=Sum(1AB,y1A|B)+uReal.r1A.B +e) y1A..B  B  Dby A43;
          then Sum(r1A|D,y1A|D) +-(uReal.(r1A.0)* y..A) +(uReal.(r1A.0)* y..A)
          ==XB by A14,SURREALO:9;
          then |.XB.| infinitely< y..B by A27,SURREALC:17,48;
          then |XB.|infinitely<uReal.e/*y..by SURREALC:13;
          then XB <= |.XB.| < uReal.(e/2)* y..B by l.(r1A.B +e)* y1A..
          then XB < uReal.(e/2)* y..B by SURREALO:9;
          then - XB > -( uReal.(e/2)* y..B) by           = XA+(um(r1A|yAB) +uReal.r1A.    ..)
          then Sum(r|B,y|B) + uReal.(r.B -e/2) * y..B + - XB >
          Sum(r|B,y|B) + uReal.(r.B - e/2) * y..B +- uReal.(e/2)* y..B
          by SURREALR:32;
          then Sum(r|B,y|B) + uReal.(r.B -e/2) * y..B - XB > b1
          by A23,SURREALO:9;
          then Sum(r|B,y|B) + uReal.(r.B -e/2) * y..B > b1 + XB = b
          by A21,TARSKI:def 1,SURREALR:2;
          then
A28:      Sum(r|B,y|B) + uReal.(r.B -e/2) * y..B >= b by SURREALO:6;
          A c= A+^D by ORDINAL3:24;
          hen Sum(B,y| +uReal.r. -/2 *. in
          L_XD <<{XD} by A22,SURREALO:11;
          hence thesis by A20,A28,SURREALO:9;
        end;
        suppose b in {XA} ++ L_XB;
          then consider b1,b2 be Surreal such that
A29:      b1 in {XA} & b2 in L_XB & b = b1+b2 by SURREALR:def 8;
java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
:      =(1A|B,y1A|)+uReal.r1A.  Bin D by A29java.lang.StringIndexOutOfBoundsException: Index 76 out of bounds for length 76
          set AB=A+^B;
          Sum(r|A,y|A) + Sum(r1A|B,y1A|B) == Sum(r|AB,y|AB)
            by A30,A6,A5,ORDINAL1:def 2;
          then Sum(r|AB,y|AB) + uReal.(r1A.B - e) * y1A..B
        .  =rB-e/-/2
          =  then
          = XA  Sum(1A|,y1A|)+uReal.r1A.  e *y1A.B)
          by A3,SURREALR:43,SURREALR:37;
          then
A31:      Sum(r|AB,y|AB) + uReal.(r1A.B - e) * y1A..B == XA +b2 =b
          by A30,A29,:,TARSKI:def 1
A32:              uppose
          B in dom r1A & B in dom y1A by A30,A6,XBOOLE_0:def 4;
          then AB in dom y & r1A.B = r.AB & y1A..B = y1A.B = y.AB
          by Def5,Th8;
          then r1A.B = r.AB & y1A..B = y..AB by Def5;
          then Sum(r|AB,y|AB)+ uReal.(r1A.B - e)* y1A..B in L_XD & L_XD << {XD}
          by A32,SURREALO:11;
          thesis by A20,31,SURREALO:9java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
        end;
      end;
A33: {XD} << R_(XA + XB)
      proof
        a,bbe  that
A34:    a in {XD} & b in R_(XA =Sum(r|,y|,|BA  uReal..  )*y.B)
        per cases by XBOOLE_0:def 3,A17,A34;
        suppose b in R_XA ++ {XB};
          then consider b1,b2 be Surreal such that
A35:      b1 A54:a  = XA+(um(1ABAy1A|A) +Real.r.-e)*y..)
                       of A, such that
r.B = r1A.BA &y.B y1A.. byA51,A52,8,49,Th35Th8;
          r.B + e = r.B +e/2 +e/2;
          then
:= (r|,|B +uReal.r.+e/ *y.B +uReal.e/)*y.B
          by A36,Th30;
A38:      y..A infinitely< y..B by A36,A11,Def7;
          Sum(r1A|D,y1A|D) is (Sum(r1A|0,y1A          then a  XA+ by ,:
          by A6,A10,Th68;
          then
A39:      |. Sum(r1A|D,y1A|DA39:      |. java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
          + uReal.(r1A.0)* y1A..0).| infinitely< y1A..0 by SURREALC:def 14;
          Sum(r1A|0,y1A|0) = 0_No by Th67;
          then
A40:      |. Sum(r1A|D,y1A|D) +- (uReal.(r1A.0)* y..A).| infinitely< y..B
          by A39,A18,A38,SURREALC:14;
          |.uReal.(1A.0) y..). infinitely< y.B
          by A13,Th31,A36,A11,Def7;
          then
A41:      |.Sum(r1A|D,y1A|D) +- (uReal.(r1A.0)* y..A) + (uReal.(r1A.0)* y..A).|
          infinitely< y..B by java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 28
          (uReal.(r1A.    4021  31*29  2 hencenot divides4 NAT_49
          by SURREALR:39;
          then
          Sum(r1A|D,y1A|D) +- (uReal.(r1A.0)* y..A) + (uReal    4021=37*  ;hencenot  4021 byNAT_49java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
=r1ADy1A|) ( uReal.(r1A.) y.A  (.r1A.*y.A)java.lang.StringIndexOutOfBoundsException: Index 79 out of bounds for length 79
          ==      *  ;  41 java.lang.StringIndexOutOfBoundsException: Range [47, 42) out of bounds for length 59
          by SURREALR:32,37;
          then Sum(r1A|D,y1A|D)+-(uReal.(r1A.0)* y..A) + (uReal.(r1A.0)* y..A)
          ==XB by A14,SURREALO:9;
          then |.XB.| infinitely< y..B by A41,SURREALC:17,48;
          then hnot java.lang.StringIndexOutOfBoundsException: Range [0, 43) out of bounds for length 10
| <.e/) .B  S:;
          then - XB < uReal.(e/2)* y..B by SURREALO:9;
          then Sum(ryB  B/  .  java.lang.StringIndexOutOfBoundsException: Range [62, 63) out of bounds for length 62
          Sum(r|B,y|B) java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
          by SURREALR:32;
          then Sum(r|B,y|B) + uReal.(r.B +e/2) * y..B + - XB < b1
          by A37,SURREALO:9;
          then Sum(r|B,y|B) + uReal.(r.B +e/2) * y..B < b1 - -XB = b
          by A35,TARSKI:def 1,SURREALR:42;
          then
:Sumr,|B  (.Be2  .. <=b;
          A c= A+^D by ORDINAL3:24;
          then Sum(r|B,y|B) + uReal.(r.B + e/2) * y..B in R_XD
            & XD in {XD} << R_XD by A36,TARSKI:def 1,SURREALO:11;
          hence thesis by A34,A42SURREALO:;

        suppose b in {XA} ++ R_XB;
          then consider b1,b2 be Surreal such that
43:b1 in XA &b2 inR_XB  b=b1+b2bySURREALR:ef8;
          consider B be Element of D,e such that
A44:      b2 =Sum(r1A|B,y1A|B) + uReal.(r1A.B + e) * y1A..B & B in DA44:      b2 =Sum(r1A|B,y1A|B) + uReal.(r1A.B + e) * y1A..B & B in D 
          set AB=A+^B;
          (rA,|A +Sum(r1A|y1A|)= Sumr|AB,y|Bjava.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
          by A44,A6,A5,ORDINAL1:def 2;
          then Sum(r|AB,y|AB) + uReal.(r1A.B + e) * y1A..B
          == Sum(r|A,y|A) + Sum(r1A|B,y1A|B) + uReal.(r1A.B + e) * y1A..B
= r|,y|A)+(Sumr1A,y1A) + uReal.(r1A.B +e *y1A..)
          == XA + (Sum(r1A|B,y1A|B) + uReal.(r1A.B + e) * y1A..B)
          by A3,SURREALR:43,SURREALR:37;
          then
A45:      Sumjava.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
          A44,A43,SURREALO:9,TARSKI:def 1;
A46:      AB in AD by A44,ORDINAL3:17;
          B in dom r1A & B in dom  yA44,XBOOLE_0def ;
           AB in dom y & r1A.B = r.AB  y1A.. =y1A.B = 
          by Def5,Th8;
          then .=r.B &y1A.B  y.AB by:|Sum1|D|-(um(,|
          Sum(|B,y|B)+uReal.r1A.B +e)*y1A.BinR_XD&
            {XD} << R_XD by A46,SURREALO:11;
          hencethesis by A34,A45SURREALO:;

end;
A47:  java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
      proof
let a,be Surreal such that
 a inL_XD & bjava.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
A1fora, being Element of REAL nholds ADD.b) = a+ and
A49:    a = Sum .r1A|Dy1A|D)+-((.0*y.A.|<y.B
        
       java.lang.StringIndexOutOfBoundsException: Range [12, 13) out of bounds for length 12
 a =Sumr,| +uReal.r. -/)* . -uReal.(e/)*y.B
        by A49,Th30;
         ORDINAL1:16;
        supposetake f;
A51:|.(
          then
A52:       B = A +^(B-^A) by ORDINAL3:def 5;
          set BA=B-^A;
A53      -Ain -A =D by A49A51,ORDINAL3:2,;
         SumrA| Sum(ABAy1ABA  = (|yB)
          by A53A5
          then a==(Sum(r|A,y|A) +          then Sum(|,|+(uReal.r1A.*y.A)+(uReal.r1A.* y.)
          = Sum(r|A,y|A) + (Sum(r1A|BA,y1A|BA) + uReal.(r.B - e) * y..B)
          == XA + (Sum(r1A|BA,y1A|BA) + uReal.(r.B - e) * y..B)
          by A3,A49,SURREALR:32,37;
          then
.(r.B - e)*y.B)
          by SURREALO:9;
          r.B = r1A.BA & y..B = y1A..BA by A51,A52,A8,A49,Th35,Th8;
          then Sum(r1A|BA,y1A|BA) + uReal.(r.B - e) * y..B in L_XB << {XB} &
          XB in {XB} by A53,SURREALO:11,TARSKI:def 1;
          then XA + (Sum(r1A|BA,y1A|BA) + uReal.(r.B - e) * y..B) < XA+XB
          by SURREALR:32;
          then a < XA+XB by A54,SURREALO:9;
          hence thesis by A48,TARSKI:def 1;
        end;
        suppose
A55:      B in A;
A56:       y..A infinitely< y..B by A55,A11,Def7;
Sum(r1A|,D  (um(1Ahence thesis
             A6,,68
          then
A57:      |. Sum(r1A|D,y1A|D) -fb A69,ARSKI:def ,:1;
. .,x  A3;
          |y1A0=
          
y1A|D +uReal.(A.0)*.) infinitely<y.java.lang.StringIndexOutOfBoundsException: Range [73, 74) out of bounds for length 73
          ,A18,A56,SURREALC:4java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
          |.uReal.(r1A.0)*y..). infinitely< y..B
          y ,Th31      end;
          then
A59:|.Sum(r1A|,y1A|D) + uReal.r1A.       ,A Sumr1A|,y1A|D)== A +XB=Sum(|,yD)
          :;
(uReal.r1A.)*y.A)-(uReal.(r1A.) .A
          by SURREALR:39;
          then
          Sum(r1A|  let nbe non zero Nat;
      =the carrierof -REAL n by EUCLID22java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
          ==Sum(r1A|D,1A|D) +_No
          : xy;
         then Sum(r1A|D,1A|)+(uReal.(r1A.)*y.A: java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
          =XB by A14,SURREALO:9
          then |.XB.| java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 19
then |XB. java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 67
          then -XB <= |.XB.| < uReal.(e/2)* y..B by Lm2,SURREALC:9;
then -B<uReal.(e/2)* y..B by SURREALO:9;
           let nbe Nat;
           y..+XB >
          Sum(r|B,y|B) +  |x1.  0 iff x1=*nby :7,java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 29
          by SURREALR32java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
          then
A60:      Sum(r|B,y|B) + uReallet a be Real;
          Sum(r|      proof
          hencethesis byDef4,h1
reconsider x1=xy1=y as Element ofREAL n byDef4;
          java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
                end;
          hence :def ;
        end;
      nd;
A61: {XA + XB} <<  reconsider v2=v1 as Element of n-tuples_on REAL by EUCLID:def 1;
      proof
        let b,a be Surreal such that
A62:     b in {XA + XB} & a in R_XD;
        consider       reconsider a asjava.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
 + e * .B&B  ADby A62;
                =.+/ ejava.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
        =4785+32;A6: for a,b be Real, v being ofof REAL-nholds
A64:    a == Sum(r|B,y|B) + uReal.(r.B +e/2) * y..A64:    a == Sum(r|B,y|B) + uReal.(r.B +e/2) * y..B
        by A63,Th30;
        per cases by reconsider a,b as Real;
        suppose
A65:      A A65 4027= 5375+52; hence not 53 divides 4027 by NAT_4:;

A66:      B = A +end;
          java.lang.StringIndexOutOfBoundsException: Range [0, 13) out of bounds for length 9
A67:      B-^A         1 *v ( n)(,  
          Sum(r|A,y|    hence REAL-NS n i vector-distributive scalar-distributive
          by A5,A66,67,A6,ORDINAL1def ;
      thus v +w = w  v
          = Sum(rA5:(thus +w( n)v, y
          == XA + (Sum 4027=1*66  ;hence not divides   NAT_49
          by A3,A63,SURREALR:32,37;
java.lang.StringIndexOutOfBoundsException: Range [7, 4) out of bounds for length 7
     assume b rngrBA)java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
          r        =Euclid_addn)(1,1w1)by 
          by A65,A66end;
           (|BA,1A|BA) +uReal.(r.B + e) *y..B in R_XB  &
          XB in {XB} v1 =v  Element of REAL n by Def4;
B  java.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 73
          by 0.(REAL-NSn)=0* by Def4;
          then a > XA+XB by A68,java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 36
          hence thesis    REAL-S n is right_complementable
        end        mrBA|yBAD=_ byTh66;
  java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 39
A69:      B in A;
A70:      y..A infinitely< y..B by A69,A11,Def7;
          java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 10
            by A6,A10,Th68;
          then
A71:     . Sum(r1A|D,y1A|) -(Sum(r1A|0,1A|)
          + uReal.(r1A
          by SURREALC:def 14;
          (r1A|y1A0) 0_Noby ;
          then
end;
          by A71,A18,A70,SURREALC:14;
          |(uReal.(r1A.0) y.A.|infinitely<y..
          ;
          java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 4
A73:      |.Sum(r1A|D,y1A|D   st i in Seg n holds x.i<= Sum x
          infinitely<y.B by A72,SURREALC:;
          (uReal.(r1A.0)* y..A) - (        (for A st A in dom yE & not yE.Arngy  rEA  )
          then
          Sum(r1A|D,y1A|D) +- (uReal.(r1A.0)* y..A) + (uReal.(r1A.0)* y..A)
          = :now
         ajava.lang.StringIndexOutOfBoundsException: Range [12, 13) out of bounds for length 12
     0 < x(k1 byA3,INSEQ_1:4java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
          ==XB by A14,SURREALO:9;
          then |XB. infinitely<y..B by A73,SURREALC:17,48;
then.B|nfinitely<Real(/*y. SURREALC:3
   XB=|< uReal./ y.SURREALC:,;
          then XB < uReal.(e/2)* y..B by SURREALOthen
           Sum(r|,y|) +uReal.r.B+e/2) *          assume
|By| +uReal.r. +e)*y.. +uReal.and
          by SURREALR:32;
          then
A74:      Sumthen
          (java.lang.StringIndexOutOfBoundsException: Range [21, 19) out of bounds for length 77
          A69TARSKI:def1SURREALO:1
          then Sum(r|B,y|B) + uReal.(r.B + e/2);
java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 25
          
bySURREALO:o rErEo bbyFUNCT_1 3
          then a > XA+XB by A74,SURREALO:9;
          hence thesis by A62,TARSKI:def java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 29
        end;
      end;
      XA +XB == XD by A33,A47,A61,A19,SURREAL0 ence thesis  ,
      SumSumrAy)+SumrA|, suppose
java.lang.StringIndexOutOfBoundsException: Range [31, 6) out of bounds for length 43
      hence thesis by SURREALO:9;
    endjava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
  ;
  set D = dom r1A /java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 5
A75:for A being Ordinal holds:z&yE.=y.byUNCT_1:ef;
then+in Seglen x by FINSEQ_1:;
  . thenreconsider xn  x| asElement of n-uples_on  by FINSEQ_292
  r = rA ^r1A & y = yA^y1A java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 7
  then
A77:dom r = A+^(dom r1A) & dom=x.*.
A78    4049=13311  ; hencenot 13 divides 4049 by NAT_4:;
  proof
    per cases byb hol   qrn.
    
A79:  dom r/\dom y = dom       hencethesis.)2by :
       (+domr1A)) c=)cdom r;
      hence thesis by A79,A77,ORDINAL3:A6:x= x| (+ by A2,INSEQ_1:58
    end;
    suppose;
 /java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 27
      then (A+^(dom y1A)) c= ElementofREAL n be REAL-n,be sequenceof  REAL
      hence thesis by A80,A77,ORDINAL3:23,XBOOLE_1:28;

  end;
  then Sum (r,y)= Partial_Sums(r (i be Natst  inSeg$ be stfor  Nat
mr (A+^D,|
  java.lang.StringIndexOutOfBoundsException: Range [0, 14) out of bounds for length 7
end;

 
      4049  29* +18;hence not 29 divides 4049thendom.=.A) (. domyEbyA12A16 of  nby ;
Ac=B c=  /     st Ac=C in Bholds .C =0
  holds Sum(r|B,y|B) = Sum(r|A,y|A)
proof
  let y be positive            len(.i) n+by :def7java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
A1:      A c= B c= dom r /   4049=31*30+19 hence not 31  4049 by NAT_4:;
A2:      for C being Ordinal st A c= C in B holds r.C = 0;
  reconsider rBseqn2= |. -|()|.eqn xn.|
  set yB=y|B,
    /
      yBA=yB/^A,
      D = dom rBA/\dom yBA;
A3A11 iinSegn;
A4:dom rB = B & dom yB =  
  then A c= dom rB /\:now
  java.lang.StringIndexOutOfBoundsException: Range [6, 7) out of bounds for length 6
A5:Sum(rB|A,yB|A) + Sum(rB/^A,yB/^A) == Sum( then
A6Sum(A22:    y.    .B <y. A18,ef7,:java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
  by SURREALC:def 21,         inNATby mA,URREALO;
java.lang.StringIndexOutOfBoundsException: Range [12, 1) out of bounds for length 77
  proof
    let b A22        (. -)=nbyFINSEQ_1 byA22;
    assume b in      end;
    then java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
A7: a in dom (rBARby then
A8 inD java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 66
a OrdinalbyA7
java.lang.StringIndexOutOfBoundsException: Range [7, 3) out of bounds for length 20
    A c= A+^a in B by Th8,A4,A8,ORDINAL3:24;
    then rB.(A+^a)= r.(A+^a) = 0 by A2,FUNCT_1:49;
    hence thesis A8,A9TARSKI: java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
  end;
  then Sum(rBAthen
 by:(java.lang.StringIndexOutOfBoundsException: Range [25, 23) out of bounds for length 54
|.Sum(rE|mB,yE|mBmBB=Sumup |sup.B)

::Gonshor'86 Lemma5.4
::$N Invariance of Surreal Sums under Zero Coefficient Extension
theorem Th73:
 forendset sup(.)java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
   for y,yE being positive decreasing_infinitelythen considermbe
       r= domy& rE=domyE & java.lang.StringIndexOutOfBoundsException: Range [47, 46) out of bounds for length 60
        f A,              as =k
Ain dom   B indom   .=yE.  r.=rE.)&
           dom&not.Ain yholdsrE.=;
 holds
   Sum(r,y) = Sum(rE,yE)
proof
  let r,rE be Sequence of REAL;
  :     java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 48
 dom r =dom y&dom  =dom   
A2: for A,B being Ordinal st
Ay&  inindomyE& y. =yEBr. =rE.  java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65
A3: for A being Ordinal st A inthenconsidera be java.lang.StringIndexOutOfBoundsException: Range [39, 38) out of bounds for length 43
  per cases;
  suppose
A4: dom r = {};
    then r/java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 26
    then Sumry =(ry).  Sumr{},|{)
    by SURREALC:def 21,Th58;
    java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
A5java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
rE=}
    proof
      let b be object;
     java.lang.StringIndexOutOfBoundsException: Range [14, 12) out of bounds for length 25
      then consider o be object such that
A6A6:     
      reconsider o as Ordinal by A6;
      rngdeffunc F(
 rE.= byA1,A6,A3;
      hence thesis by A6,TARSKI:def 1;
    end;
    hence thesis by A5,Th66;
              (  A c= dom r /\ domc=domr/   byA1;
  suppose
A7: dom r <>{};
defpredobject;
A8: for e thenxs. lims =um(rE|E| +rE.-yE.
    proof
            ebeforbe iineg n+ exrseqi 
A9:    in dom sElementof MA:B   }
      yA44   cdom yE
      then      proof
om  java.lang.StringIndexOutOfBoundsException: Range [0, 22) out of bounds for length 17
      take z;
      thusthesis by ;
    end;
    consider m be Function suchnow
A11:dom m=dom yand
A12:for e being object st e in dom yholdsM[e,.]from CLASSES1sch ()
A13: rng m c= dom yE
    proof
            end;
      assume b in rng m;
      then exr beRealjava.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
      hence    |.REAL-00.REAL- 0 |byA59,
    end;
    0 c= dom r;
    then 0 in dom r by ORDINAL1:11,A7,XBOOLE_0end;
    then [0,m. by A12,;
    then reconsider m0=m.0 as Ordinal;
A14 for A,B being Ordinal st (A in
    holds  indom y &B in dom & B=.
    proof
      let A,B be Ordinal such that
A15:  ( inin domyor B in domyE) & y.A = yE.Bjava.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
      thus
A16:  A in dom y & B in dom yE
      
=rseqi java.lang.StringIndexOutOfBoundsException: Range [42, 41) out of bounds for length 67
        suppose A in dom y;
          then y.A =y..A by Def5;
          thesis by A15F:def ;
        end;
        suppose   in dom yE;
          then yE.B =yE..B by Def5;
          hence thesis by A15FUNCT_1def ;
        end;
      
      y.A8:     |.xvseq.m.-xvseq.)..| <= ||.(vseq.m) - (vseq.k).|| by A3,Th5,Th9;y.B=y.=yE.B yE.mB byA41,A48,12Def5;
      hence thesis by A15,A16,FUNCT_1:def 4;
    end;
A17: forAB being Ordinal st A in dom y & B in dom y holds
    A in B  m.A in m.
    
               thexinSMLyA52;
A18end;
A19:  M[Ahencethesis
A20:  y..A = y.A & y..:dom f  n& kbe Nat k inSeg nholds P   xjava.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 77
      thus A in B implies m.A in m.B
,java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 27
        assume
A21:    A in   seqis convergentby Th12
        then
:   y.then considerBbe Element MA such java.lang.StringIndexOutOfBoundsException: Range [52, 53) out of bounds for length 52
        R^n space
3
A24:    mdeffuncElementof REALn,Element of REALn)
        y..A < y..B by SURREALC:9,A19,java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 12
        hence thesis by A22,SURREALO:6;
      end;
      assume
A25:  m.A in     let scalar [:   n :], REAL such that
      then
  .m.  .A) by A19,Def7,SURREALC:9;
:.(B  B  .mA  .A Def5java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
A28:  B <> A by A59:    y..D=y.D = yE.C =yE..C by A56,A11,A12,Def5;
      B in AA60 r. =rE. byA2,,A56,java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
      then y..A < y..Bhence byA3
                then x in SAR java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
    end;
A29: for B,mB being java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 21
    sup (m.:B) c= mB &
    Sum(rE|mB,yE|mB) = Sum(rE|sup (m.:B)L:B inC by11,java.lang.StringIndexOutOfBoundsException: Range [45, 44) out of bounds for length 51
    proof
      let B,mB be Ordinal such that
:B indom  &mB=java.lang.StringIndexOutOfBoundsException: Range [10, 1) out of bounds for length 15
java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
      set S=sup (m.:B);
      for
      proof
        let A be Ordinal such that
A32:    A in m.:B;
        ex x be object st x in domadd-  ;
         A,java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
      ;
      then:lenx2= & len y2 =n by A55,ORDINAL2:14;
A33:  S c= mB by ORDINAL2:20;
mB c= dom yE/\dom rE by A1,A30thenSumrE|yE|)is (Sum,|,..java.lang.StringIndexOutOfBoundsException: Range [58, 57) out of bounds for length 78
      forC beingOrdinaljava.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
      proof
        let .(1,java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
A35:    S c= C |.Sum(r|um|| rEyE) uReal.(e/)*yE..
A36:    rE.C<>0;
        C in dom yE byA4 x ..x =0 and
        :      Sum(r|,|)-Sum(rE|,E|)=(2)*.
        then consider a be object such that
    indomy& yEC=ya            
        reconsideraasbyA37;
A38:    C = m.a by A14,java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 16
        then a in B bykin domx2
        then m.a in m.:B by A11,A37,FUNCT_1:def 6;
        then C in S by A38,ORDINAL2:19;
        then C in C by A35;
        hence thesis;
      end;
      hence thesis by A33,A34,Th72;
    end;
    P[Ordinal  1 c   Sumr|1y|1 
    Sum(rE|sup (m.:$1),yE|sup (m.:$1));
A39end
    P[]holdsA
    proofcontradiction by Def6
       Abe
A40:for  stC in  holdsP[C]
      set SAL={Sum(r|B,y|B) + uReal.(r.B - e) * y..B
      where B s Element of A,e:B in A},
      SAR={Sum(r|,|  uReal.r. + e)* .B
      where B is Element of A,e: B in A};
      assume
A41:  A c  byA3,VSUM_1:;
      then
A42:  A. (Euclid_scalarn.y,x) by Def5
      then reconsider SA= [SAL,SAR] as Surreal by Th61;
A43:  Sum(r|A,y|A) = Unique_No SA == SA Th62:10
      set MA =sup (m.:A);
      SML=Sum(EB,B +uReal(rE.-)*.B
      where B is Element of MA,e: B in MA},
      SMR={Sum(rE|B,yE|B) + uReal.(rE.B + e) * yE..B
      where B is Element of MA,        reconsider a as Real;
A44:  MA c= dom yE
      proof
        m.:A c= rng m by RELAT_1:111;
        then for C being Ordinal st C in m.:A holds C in dom yE by A13;
        hence thesis  by RDINAL220;
      end;
      then
: MA c dom rE / dom yE by A1;
      then reconsider SMA= [SML,SMR] as Surreal by Th61;
A46: Sum(|A,yE|MA)=Unique_No SMA = SMA by:ef 10;
A47:  for x being Surreal st x in SAL
        ex a  a SML &         ex a being Surreal st a in SML & xjava.lang.StringIndexOutOfBoundsException: Range [58, 57) out of bounds for length 61
      proof
        let x be Surreal;
        proof
        then consider B be Element of A,e such that
A48:    x = Sum(r|B,y|B) + uReal.(r.B - e)         .= a *(x.. y ) by Def6;
        M[B,m.B] by A41,A48,A12;
        then reconsider mB=m.B as Ordinal;
A50:    Sum(r|B,y|B) = Sum(rE|sup (m.:B),yE|sup A12 for ,bbe   thenreconsidermB.Basjava.lang.StringIndexOutOfBoundsException: Range [42, 41) out of bounds for length 42
|,B,ORDINAL1:2A29;
A51:    mB in dom yE by A41,A48,A12;
        y..B=y.B = yE.mB =yE..mB by A41,A48,A12,Def5 java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 70
        then
A52:    x = Sum(rE|mB,yE|mB) + uReal.(rE.mB - e) * yE..mB
        by A48,A50,A2,   k be Natin MAbyORDINAL2:java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
        mB in m.:A by A48hence ;
        then mB in MA by ORDINAL2:19;
        xby 
        hence ;
      end;
      for      hence thesis by A13;
      proof
letx Surrealassume   java.lang.StringIndexOutOfBoundsException: Range [41, 42) out of bounds for length 41
        then consider B be Element of MA,e such that
A53:    x = Sum(rE|B,yE|B) + uReal.(rE.B + e) * yE..B & B in MA;
        set X = {C where C is Element of m.:A : B c= C in m.:A},
        Iin X
        proof
          consider c be Ordinal such that
A54:      c in m.:A & B c= c by A53,ORDINAL2:21;
          c in X by A54;
          hence thesis by ORDINAL2
        end;
        thenconsider C be Element of m.:A such that
A55:    I = C & B c=       reconsider av  a* as Element  n-tuples_on REAL byA79    I=C &Bc=C in .A
       java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 39
        consider D. v1byDef2;
A56:    D in dom m & D in A & m.reconsider   byA80;
        reconsider as Ordinal:MD]byA80,A11
 M[,] by 56,A;
58:java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
        by A40a*=(java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 44
A59 java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
.CbyA,,A11;
        per cases;
        suppose B=C;
          then x in SAR by A53,A56,A59,A58,A60;
          hence thesis;
        end v1vasREALnbyDef6
        
:B < C;
          then
A62:      B in C by A55,ORDINAL1:11,XBOOLE_0:java.lang.StringIndexOutOfBoundsException: Range [49, 48) out of bounds for length 51
          then
A63:      y..D infinitely< yE..B by          =v1by 
A64:      rE.B = 0
          proof
            java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 29
            then yE.        *v = (Euclid_mult n).(b,v1) by Def6
            then consider E be object such that
A65:        E in dom y & y.E= yE.B by FUNCT_1:def 3;
            reconsider E as Ordinal by A65;
A66:        m.E = A85:      B > C;
            then E in D by A62,A56,A65,A11,A17;
            then E in A by A56,ORDINAL1:10;
            then m.E in m.:A  by A65,A11,FUNCT_1:def 6;
            then B in X by A66;
            java.lang.StringIndexOutOfBoundsException: Range [34, 31) out of bounds for length 55
          end;
          C c= dom rE /\ dom yE by A1,A56,A12,A11,ORDINAL1:def 2;
          then Sum(rE|C,yE|C) is (Sum(rE|B,yE|B),yE..B,rE.B)_Term by A62,Th68;
          then |.  Sum(r|D,y|D) - (Sum(rE|B,yE|B) + 0_No            then considerE  objectsuch that
          infinitely< yE..B
          by A64,SURREALN:47,A58,SURREALC:def 14;
then|.Sum(r|D,y|)-Sum(rE|,|). <
          uReal. (e/2) * yE..B by SURREALC: then E in D by A80,A86,A89,A11,A17;
          then Sum(r|D,y|D) - Sum(rE|B,yE|B) <=
          S(r,|)-Sum(rE|yEB.| ()*E.
          java.lang.StringIndexOutOfBoundsException: Range [21, 12) out of bounds for length 27
          then
A68:      Sum(r|D,y|D) -end
          by SURREALOproof
          y..D is positive by      reconsiderv1=vas Elementof REALn          c java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 65
          then
A69          |Sumr|y| java.lang.StringIndexOutOfBoundsException: Range [33, 28) out of bounds for length 28
          y..D infinitely< uReal. (e/2)     scalar-ssociative scalar-nital
          then uReal.(r.D + e) * y..D < uReal. (e/2) * yE..B
          by A69,SURREALC:20;
          then uReal.(java.lang.StringIndexOutOfBoundsException: Range [8, 1) out of bounds for length 50
          uReal.(r     ,, java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 72
 java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 78
          then uReal.(r.D + e) * y..      uv java.lang.StringIndexOutOfBoundsException: Range [25, 23) out of bounds for length 26
          uReal. (e/2) * yE..B + uReal. (e/2) * yE..B + Sum(rE|B,yE|B)=
          uReal. (e/2) * yE..B + (uReal. (      reconsider u1=u, v1=v, w1=w as Elemenof  n byDef6;
          == Sum(rE|B,yE|B) + uReal. (e/2+e(|,y|D  (rE  ( w)=( n(u1byDef6
          by          by SURREALO:9java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
          . (Euclid_addn).(uclid_add n)(u1v1)w1 byDef6
A70:      Sum(r|D,y|D)+ uReal.(r.D+e) * y..D <= x
          by A53,A64          .  .e;
        (r,)r +)y. inA56java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 61
          hencethesis y ;

      end;
java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 28
A71: SA <= SMA by A47,SURREAL0: let v be Element of REAL-US n;
A72:for x beingSurreal x inSAR   beingSurreal t ain SMR &a <= x
      proof
        let x be. . .D e* .  ,|DSum(EB|Bjava.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 71
        assume  x intheorem Th13:
        then consider B be Element of A,e such that
A73:      = -2& *x1  a*x2
java.lang.StringIndexOutOfBoundsException: Range [15, 3) out of bounds for length 32
         mB.BasOrdinal;
          uReal.(-e/2) *yE.B+ uReal
        Sum(rE|          uReal. (-/)* yE  thusx1 + (java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 45
Bjava.lang.StringIndexOutOfBoundsException: Range [4, 1) out of bounds for length 37
        then
A76:    x = end
        by A73,A75,A2,A74,A41;
                inm.Aby A73,41,A11F:def ;
       then mBinMAby19;
then
hence thesis;
      end;
      for x being Surreal st x in SML ex a being    .x2 | by A1,Def6;
      proof
        let x be java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 12
        then consider B be Element of MA      then

        set X = {C where C is Element of m.:A : B c= java.lang.StringIndexOutOfBoundsException: Range [0, 54) out of bounds for length 52
I X
        proof
          consider c be Ordinal such that
A78:      c in m.:A  seq1   n
          c in X by      being Ordinal seq1  seq2
          hence thesis by :;
        java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
        java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 52
A79:    I = C & B c= C in m.then for A beOrdinal java.lang.StringIndexOutOfBoundsException: Range [5, 1) out of bounds for length 77
        reconsider C as Ordinal by A79;
        consider D;
A80:    D in dom m & D in A & m.D = C by A79,FUNCT_1:def 6;
        reconsider D as Ordinal by A80;
 M[D,C  A80A11,A12;
A82:    Sum(rA6 m < ;
        by A40,A80,A11,ORDINAL1:def 2,A29;
A83:    y..D=y.D = yE.C =yE..C by A80,A11,A12,Def5;
A84:    r.D = rE.C by A2,A80,A11,    proof
        per cases;
        suppose=;
      rE.< 0;
          hence thesis;
        end;
        suppose
A85:      B <> C;
          then      assume r  0;
A86:      B in C by A79,ORDINAL1:11,XBOOLE_0:def 8;
         
:y.D infinitely<yE.. by A83,reconsiderp seq1k lim seq1  ElementofREAL by Def4
A88:      rE.B = 0
          proof
            assume rE      then|.-im||.by 
thenyEB inrng y A44,,
            then     end;
A89:        E in dom y & y.E= yE    lim= BHSP_2:;
            reconsider E as Ordinal by A89;
A90:        m.E = B by A14,A89;
86,,
            then E    fork Natst m <holds dists.,RUg)<r bydef1;
            thenm. m: byA89,java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 20
              k Natst    (rs|A  SumA|)+um|A
                  for k be stm<  |(seq1
          end;
          C c= dom rE /\ dom yE by        
        then
then .(|yD) -(SumrE|yEB)0No yE.)|
          infinitely< yE..B by A88,A82,SURREALC:def 14,SURREALN:47;
          then |.  Sum thesis
          uReal. (e/2) * A17:is convergentbyNORMSP_1def ;
          then -(Sum(r|D, ex  be st
          pjava.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
            bySURREALC
          then -(Sum(r|D, then
            by SURREALO:9;
          then A20    seq1.-byA1Th13
           =        . sqrtSummltpp Def5    forBbeingOrdinal, st Bin A16
          then
A91:      Sum(r|Dhencelim seq1  limseq2by NORMSP_1:ef ;
          by SURREALO:9;
          y.java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
          then
A92:      0_No <= y..D;
          y..D infinitely< uReal. (e/2) * yE..B A1: = java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 19
          then        (Sum(s|B,y|) +  reconsiderr ;
java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 9
          then - uReal.(r.D - e .   by A2java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 43
java.lang.StringIndexOutOfBoundsException: Range [65, 10) out of bounds for length 64
).
          by SURREALO:9;
          thenuReal.r. - e)*y.D  .(-2)*yE.B
          by SURREALR:10;
          then uReal.r.  , .e*.
          uReal.(r.D - e) * y..D + (Sum(r|D,y|D) +- Sum(rE|B,yE|B))
          > uReal. (-e/2) * yE..B + uRealjava.lang.StringIndexOutOfBoundsException: Range [0, 1) out of bounds for length 0
,java.lang.StringIndexOutOfBoundsException: Range [28, 25) out of bounds for length 32
let      java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 59
.(2  yE.B+umE,)
          = uReal. (-e/2A1:  = seq2and{r|y|B  uReal.B e) yB
==Sum(rE|,E)assumer ;
           Th30A3:or bestm1> k &m2>k holdseq21
          then uReal.(r.Dby A4,5,6Th62letm12Nat
          rEB,
then
A93:      Sumt
          by A77, seq2.m2.|=sqrt  =/
          Sum(r|D,y|D)+ uReal.(r.D - e) * y..D in SAL by A80;
          hence thesis by A93;
        end;
      end;
      cluster-Sn- 
A94:  SMA <= SA byof - n
java.lang.StringIndexOutOfBoundsException: Range [15, 6) out of bounds for length 52
      endjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
      hence thesis by SURREALO:50;
    
    set S=sup (m.:dom        Sum(|,B) +uReal.rB -)*y. <=
    forA beingOrdinal holdsP[A]from s A39)
           Sum(|y| +Sums|,|)
A95:Sum(r|dom y,y|dom y)     < Sumr|y|) Sum(s|yB)  uReal.rB +e2) *y.B
 m.domy  mbyA11R:113;
    then for A be Ordinal st A in m.:dom y holds  by A8,SURREALR:,;
    then
A97:S c= dom yE by ORDINAL2:20;
A98:dom yE c= dom yE/\dom rE by A1;
  Ordinal  S c= C in dom yEholds rE.=0
    proof
      let C be Ordinal tSumrsB,|) +uReal(.B-e2  .B+Real(.+e)  y.java.lang.StringIndexOutOfBoundsException: Index 74 out of bounds for length 74
A99: S c= C in dom yE;
      assume rE.C <> 0;
      then yE.C in rng y by A3,A99;
      then consider a be object such that
A100: a in dom y & y.a =yE.C by       then
      reconsider a as Ordinal by A100;
      m.a = C by A100,A14;
      C  rngm   A100,FUNCT_1:def ;
      then C in S by A96,ORDINAL2:19;
      then C in C by A99;
      hence thesis;
    end;
    then Sum(rE|S,yE|S) = Sum(rE|dom yE,yE|dom yE) by A98,A97,Th72;
    hence thesis by A1,A95;
  end;
end;

::$N The Additive Law for Compatible Selected Surreal Series
theorem Th74:
  for y being positive decreasing_infinitely Surreal-Sequence
    for r,s being Sequence of REAL st dom r = dom s & A c= dom r/\dom y
  holds
    Sum((r + s) |A,y|A) == Sum(r|A,y|A) + Sum(s|A,y|A)
proof
  let y be positive       hence  Sum(r +s)|yA) <
  defpred       (|,|A  (SumsB,y|)+uReal.(. +e)*y.B)
  for r,s being Sequence of REAL st dom r = dom s & $1 c= dom r/\dom y holds
  Sum((r + s) |$ Sum(rs|B,y|)+uReal..-e2)*y.B inL_Srs <{rs}
A1:for A being Ordinal st for C being Ordinal st C in A holds P[C] holds P[A]
  proof
    let A be Ordinal such that
A2: for C being Ordinal st C in A holds P[C];
A3: for r,s being Sequence of REAL st dom r = dom s
    for B being Ordinal,e st B in A c= dom r/\dom y
    holds
    Sum((r + s) |A,y|A) < Sum(r|A,y|AA14:  r  dom  &A c= dom r/domyjava.lang.StringIndexOutOfBoundsException: Range [39, 40) out of bounds for length 39
        (Sum(s|B,y|B) + uReal.(s.B + e) * y..B) &
        Sum(r|A,y|A) +
        (Sum(s|B,y|B) + uReal.(s.B - e) * y..B) < Sum((r + s) |A,y|A)
    proof
      let r,s be Sequence of REAL such that
A4:   dom r = dom s;
      let B be Ordinal,e such that
A5:   B in A c= dom r/\dom y;
      set rs=r+s;
A6:   dom rs = dom r/\dom s by VALUED_1:def 1;
      reconsider Srs=[{Sum(rs|B,y|B) + uReal.(rs.B - e) * y..B
      where B is Element of A,e: B in A},
      {Sum(rs|B,y|B) + uReal.(rs.B + eu=Sumr|y|)  Ss=Sum(|,| 
      where B is Element of A,e: B in A}] as Surreal  =SumAjava.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 50
      reconsider Sr=[{Sum(r|B,y|B) + uReal.(r.B - e) * y..by :ef10java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
      where B is Element of A,e: B in A},
{r|,|B +uReal.r.+e *y.B
      where B is Element of A,e: B in A} letx,yybe  such that
      Unique_No Srs = Sum(rs|A,y|A) & Unique_No Sr = Sum(r|A,y|A)
      by A4,A5,A6,Th62;
      then
A7:   Srs == Sum(rs|A,y|A) & Sr == Sum(r|A,y|A) by SURREALO:def 10;
A8:   Sum(rs|B,y|B) == Sum(r|B,y|B) + Sum(s|B,y|B) by A2,A4,A5,ORDINAL1:def 2;
      set e2=e/2;
      B in dom rs by A4,A5,A6,XBOOLE_0:def 4;
      then r.B +s.B = rs.B by VALUED_1:def 1;
      
A9:   (r.B - e2) + (s.B +        then consider ,b be Surreal such that
      Sum(r|B,y|B) + uReal.(r.B - e2) * y..B + Sum(s|B,y|B)
      < Sum(r|A,y|A) + Sum(s|B,y|B)
      < Sum(r|B,y|A21:    r|,y|B  r.-e)*y.& Bin AbyA;
      by SURREALR:44,Th69,A5;
      then Sum(rs|B,y|B) + uReal.(r.B - e2) * java.lang.StringIndexOutOfBoundsException: Range [0, 47) out of bounds for length 46
      Sum(r|B,y|B)+ Sum(s|B,y|B) + uReal.(r.B - e2) * y..B
      < Sum(r|A,y|A) + Sum(s|B,y|B)
      < Sum(r|B,y|B)+ Sum(s|B,y|B) + uReal.(r.B + e2) * y..B
      <=Sum(rs|B,y|B) + uReal.(r.B + e2) * y..B
      by A8,SURREALR:32,37;
      then
A10:  Sum(rs|B,yA25    Sr +b == r|,y|  <Srs
       Sumr|,y|)+ Sums|y|)
              aSr & S byA19,23TARSKI:def1
      by SURREALO:9;
      then Sum(rs|B,y|B) + uReal.(r.B - e2) * y..B +uReal.(s.B + e) * y..B
      < Sum(r|A,y|A) + Sum(s|B,y|B) +uReal.(s.B + e) * y..B
      by SURREALR:32;
      then Sum(rs|B,y    end;
      == Sum(rs|B,y|B) + uReal.(r.B - e2) * y..B +uReal.(s.B + e) * y..B
      < Sum(r|A,y|A) + (Sum(s|B,y|B) +uReal.(s.B + e) * y..B)
      by A9,SURREALR:37,Th30;
      then
A11:  Sum(rs|B,y|B) + uReal.((rs.B + e2)) * y..B
      < Sum(r|A,y|A) + (Sum(s|B,y|B) +uReal.(s.B + e) * y..B)
      by SURREALO:9;
      Sum(rs|B,y|B) + uReal.(r.B + e2) * y..B +uReal.(s.B - e) * y..B
      > Sum(r|A,y|A) + Sum(s|B,y|B) +uReal.(s.B - e) * y..B by A10,SURREALR:32;
      then Sum(rs|B,y|B) + uReal.(rs.B-e2) * y..B
      == Sum(rs|B,y|B) + uReal.(r.B + e2) * y..B +uReal.(s.B - e) * y..B
      > Sum(r|A,y|A) + (Sum(s|B,y|B) +uReal.(s.B - e) * y..B)
      by SURREALR:37,A9      Sum(|,| <SumrB,yB) + ..+e2)*y. 
      then
A12:  Sum(rs|B,y|B) + uReal.(rs.B-e2) * y..B
      > Sum(r|A,y|A) + (Sum(s|B,y|B) +uReal.(s.B - e) * y..B) by SURREALO:9;
A13:  Sum(rs|B,y|B) + uReal.(rs.B + e2) * y..B in R_Srs &Srs in {Srs} << R_Srs
      by TARSKI:def 1,A5,SURREALO:11;
      then Sum(rs|B,y|B) + uReal.((rs.B + e2)) * y..B > Sum(rs |A,y|A)
      Sum(s|A,y|) <= Sum(s|B,y|)+ uReal.s. + e2) *y.B
      then Sum(rs|B,y|B)       by Th69,A14,27
      by SURREALO:6;
      hence  Sum((r + s) |A,y|A) <
      Sum(r|A,y|A) + (Sum(s|B,y|B) + uReal.(s.B + e) * y..B)
      by A11,SURREALO:4;
      Sum(rs|B,y|B) + uReal.(rs.B - e2) * y..B in L_Srs << {Srs}
      by A5,SURREALO:11;
      then Sum(rs|B,y|B) + uReal.((rs.B - e2)) * y..B <= Sum(rs |A,y|A)
      by A7,A13,SURREALO:9;
      hence Sum((r + s) |A,y|A) >
      Sum(r|A,y|A) + (Sum(s|B,y|B) + uReal.(s.B - e) * y..B) by A12,SURREALO:4;
    end;
    let r,s be Sequence of REAL such that
A14: dom r = dom s & A c= dom r/\dom y;
    set rs=r+s;
domrs=dom r\doms byVALUED_1:def1java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
    reconsider Sr=[{Sum(r|       Sums|y|)+uReal.s.+e2) *y.B)by SURREALR37
 ,e:Bin,
    {Sum(r|B,y|B) + uReal.(r.B + .Sumr|y  Sums|y|B
    where B is Element of A,e: B in A}] as Surreal by A14,Th61;
    reconsider Ss=[{Sum(s|B,y|B) + uReal.(s.B - e) * y..B
    where B is Element of A,e: B in A},      
    {Sum(s|B,y|A31:  (r.+e2 (B  e2)  rs.e
     Element ofA,:   A]as 
    by A14,Th61;
    reconsider Srs=[{Sum(rs|B,y|B) + uReal.(rs.B - e) * y..B
    where B is Element of A,e: B in A},
thenSum(rA,y|)+Sum(|,| <
    whereBis Element  A,  inA}]as Surreal byA14,15,h61;
    Unique_No Sr = Sum(r|A,y|A) & Unique_No Ss = Sum(s|A,y|A) &
SURREALO;
    then
  =Sumr|yA  Ss = Sums|,| &Srs= Sumrs|y|)
    by SURREALO:def 10;
A17: Sr+Ss = [(L_Sr ++ {Ss})\/({Sr} ++ L_Ss), (R_Sr ++ {Ss}) \/({Sr} ++ R_Ss)]
    by SURREALR:28;
=
   
      let x,yy be Surreal such that
A19then
      per cases by A17,A19,XBOOLE_0:def 3;
      suppose x in L_Sr +    proof
        then consider a,b be Surreal such that
A20:   a in L_Sr & b in {Ss} & a+b = x by SURREALR:def 8;
        consider B be Element of A,e such that
..   ..&  in ;
A22:   Ss+a == Sum(s|A,y|A) +a < Srs by        then  a, be Surreal such that
        b=Ss & yy=Srs by A19,A20,TARSKI:def 1;
        hence thesis by A20,A22,SURREALO:4;
      end;
      suppose x in {Sr} ++ L_Ss;
        then consider a,b be Surreal such that
:in{Sr  bin   a+=  bySURREALR:def 8java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
consider Bbe ElementofA, suchthat
:b= Sum(|,|) ..B-e *y.B&BAbyA23
A25:    Sr + b == Sum consider B Elementof A, such 
A39:b= Sum(s|,y|B) +uReal..+e)*y.B &B inAby A38;
        aSr  yySrs by A19,23,:def1
        byA23,25SURREALO4java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
;
    end;
    {Sr+Ss} << R_Srs
    proof
      let x,yy be Surreal such that
A26:  x in {Sr+Ss} & yy in R_Srs;
      consider B       consider B beElementof A,such that
yySumrs|,|)+rsB+e)*y. & Bin A y A26
 java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 17
      Sum(r|A,y|A) < Sum(r|B,y|B) + uReal.(r.B + e2) * y..B &
      Sum(s|A,y|A) <= Sum(s|B,y|B) + uReal.(s.B + e2) * y..B
      by Th69,A14,A27;
      then
A28:  Sum(r|A,y|A) + Sum(s|A,y|A) < Sum(r|B,y|B) + uReal.(r.B + e2) * y..B
      + (Sum(s|B,y|B) + uReal.(s.B + e2) * y..B) by SURREALR:44;
      Sum(r|A,y|A) + Sum(s|A,y|A) == Sr+Ss by A16,SURREALR:43;
      then
A29:  Sum(r|A,y|A) + Sum(s|A,y|A) == x by A26,TARSKI:def 1;
A30:  Sum(r|B,      by Th69A14A42java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
      + (Sum(s|B,y|B) + uReal.(s.B + e2) * y..B)=
      Sum(      by SU 6
      + (Sum(s|B,y|B) + uReal.(s.B + e2) * y..B)) by SURREALR:37
.rB,|B)+((.B e2)*.B +(.B +   y..
+s|B,yB) bySURREALR
. rB,y|B) +s|yB)
      + (uReal.(r.B + e2) * y..B +uReal.(s.B + e2) * y..B) by SURREALR  (r|,yA +Sums||A) == x ,def1
      B in dom rs by A14,A15,A27,XBOOLE_0:def 4;
      then r.B +s.B = rs      (r|y|B)  uReal.rB-e2) .
      then
A31:  (r.B + e2) +(s.B + e2) = rs.B+e;
      Sum(rs |B,y|B)==Sum(r|B,y|B) + Sum(s|B,y|B) by A2,A27,A14,ORDINAL1:def 2;
      then Sum(r|B,y|B) + uReal.(r.B + e2) * y..B
      + (      B in A14A15A42def4;
      Sum(rs |B,y|A46 (r.B-e2)+s.-e2)=rs.-;
      by A30,SURREALR:43;
      then Sum(r|A,y|A) + Sum(s|A,y|A) <
      Sum(rs |B,y|B) + (uReal.(r.B + e2) * y..B +uReal.(s.B + e2) * y..B)
      by A28,SURREALO:4;
      then x <
        rs |y| +uReal.r.+e2)  y. +Real.sB +e2 *..
      = Sum(rs |B,y|B) + uReal.(r.B + e2)       r|. -  *. uReal(sB-e2)  .B)
      == yy
      by A31,Th30,A29,SURREALO:4,SURREALR:37,A27;
      hence thesis by SURREALO:4;
    end;
    then
A32:Sr+Ss <= Srs by A18,SURREAL0 Sum(rs|,y|B)+(uReal.(r.  e2  .B+Real(.-e2)*y.B)
:{ <<R_S+Ss

      let yy,x be Surreal such that
A34:  yy in {Srs} & x in R_(Sr+Ss);
      per cases by A17,A34,XBOOLE_0:def 3;
      suppose x in R_Sr ++ {Ss};
        then consider a,b be Surreal such that
A35:    a in R_Sr & b in {Ss} & a+b = x by SURREALR:def 8;
        consider B be Element of A,e such that
A36:    a = Sum(r|B,y|B) + uReal.(r.B + e) * y..B & B in A by A35;
A37A   hence thesis byA16,SURREALO:4;
        > Srs by A16,A36,A14,A3,SURREALO:4,SURREALR:43;
        b=Ss & yy=Srs by A34,A35,TARSKI:def 1;
        hencethesisby A37,;
      end;
      suppose x in {Sr} ++ R_Ss;
        then consider a,b be Surreal such that
:{Sr  b inR_Ss& a+= by SURREALRdef8
        consider B be Element of A,e such that
A39:    b = Sum(s|B,y|B) +java.lang.StringIndexOutOfBoundsException: Range [22, 19) out of bounds for length 28
A40:    Sr + b == Sum(r|  mplies Sum(|1y$)=  Sumr|y$);
byA39A3,,java.lang.StringIndexOutOfBoundsException: Range [41, 40) out of bounds for length 55
        a=Sr & yy=Srs by A34,A38,TARSKI:def    letA be such that
        hence thesis by A38,A40,SURREALO:4;
      end;
    end;
    L_Srs << {Sr+Ss}
    proof
      let yy, reconsiderSr={Sumr|,y|  uReal.r.-e)*y.java.lang.StringIndexOutOfBoundsException: Range [57, 58) out of bounds for length 57
 in &xinSrSs}java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
      consider B be     reconsider Smr=[{Sum(mr,| +uReal(mrB -e)  y.B
A42:  yy=Sum(rs|B,y|B) + uReal.(rs.B - e) * y..B & B in A by A41;
      set e2=e/2;
      Sum(r|A,y|A) > Sum(r|B,y|B) + uReal.(r.B - e2) * y..B &
      Sum(s|A,y|A) > Sum(s|B,y|B) + uReal.(s.B - e2) * y..B
      by Th69,A14,A42;
     Sum(r|yA  Sumr|,|)+uReal.(r. -e2  y.B&
s|y| = Sum(|,|B)+uReal.s.  e2 * y.B
      by A6: -Sr = [ R_Sr,- L_Sr  bySURREALR:;
      then
A43:  Sum(r|A,y|A) + Sum(s|A,y|A) >

        + (Sum(s|B,y|B mxsuch
      Sum(r|A,y|A) + Sum(s|A,y|A) == Sr+Ss by A16,SURREALR:43;
      then
A44:  Sum(r|A,y|A) + Sum(s|A,y|A) == x by A41,TARSKI:def 1;
A45:  Sum(r|B,y|B) + uReal.(r.B - e2) * y..B
      + (Sum(s|B,y|B) + uReal.(s.B - e2) * y..B)=
      Sum(r|B,y|B) + (uReal.(r.B - e2) * y..B
      + (Sum(s|B,y|B) + uReal.(s.B - e2) * y..B)) by SURREALR:37
     =Sum(|y|)+(uReal.r. -) y.B+java.lang.StringIndexOutOfBoundsException: Range [75, 56) out of bounds for length 75
 s,|) by37
            bySURREALN:,SURREALR:54java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
      + (uReal.(r.B - e2) * y..B +uReal.(s.B - e2) * y..B      =-Sum(rB,yB +- uReal. +) *y.
      in  rs byA14,,A42XBOOLE_0:def 4;
      then r.B +s.B = rs.B by VALUED_1:java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 28
      then
  r -e2 (. -)=rs.-java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
      Sum(rs |B,y|B) == Sum(r|Bjava.lang.StringIndexOutOfBoundsException: Range [31, 32) out of bounds for length 28
byA2,A42,A14,ORDINAL1:def ;
       Sumr|B,y|)+ uReal.r. -e2) * y.B
      + (Sum(s|B,y|B) + uReal.(s.B - e2) * y..B) >=
      Sum(rs |B,y|B) + (uReal.(r.B - e2) * y..B +uReal.(s.B - e2) * y..B)
      by A45,SURREALR:43;
      then Sum(r|A,y|A) + Sum(s|A,y|A) >
      Sum(rs |B,y|B) + (uReal.(r.B - e2) * y..B +uReal.(s.B - e2) * y..B)
      by A43,SURREALO:4;
      java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 14
      Sum(rs |B,y|B) + (uReal.(r.B - e2) * y..B +uReal.(s.B - e2) * y..B)
      = Sum(rs |B,y|B) + uReal.(r.B - e2) * y..B +uReal.(s.B - e2) * y..B
      == yy by A46,Th30,A44,SURREALO:4,SURREALR:37,A42;
      hence thesis by SURREALO:4;
    end;
    then
A47:Sr+Ss >= Srs by A33,SURREAL0:43;
    Sum(r|A,y|A) + Sum(s|A,y|A) == Sr+Ss by A16,SURREALR:43;
    then Sum(r|A,y|A) + Sum(s|A,y|A) == Srs by A32,A47,SURREALO:4;
    hence thesis by A16,SURREALO:4;
  end;
forA beingOrdinal holdsPA fromORDINAL1:sch 2(A1;
  hence thesis;
end;

theoremTh75:
  for y being positive decreasing_infinitely:Sum(mr|y| =-Sum(|,B):ef 2;
    rbeing Sequenceof REAL st  c  r/ yholds
  Sum((-r) |A,y|A)      -r. -e)=mr.B+  ;
proof
  let y       by SURREALR:,:;
  let r be Sequence of REAL;
  set mr=-r;
  defpred P[Ordinal] means $1 c= dom r/\dom y
  implies Sum(mr|1y|1 =-Sum(r|,y|)
A1:for A being Ordinal  by ,SURREALR4358java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
  proof
    let A be Ordinal such that
: C beingOrdinal st Cin A holdsP[]
    assume
A3: A c= dom      thenx >Sum(mr|,y|)by A20,SURREALO9java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
A4: dom mr=dom r by VALUED_1:8;
    reconsider Sr=[{Sum(r|B,y|B) + uReal.(r.B - e)    end;
      where B is Element of A,e: B in A},
      { letyy,  java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 35
      where B is Element of A,e:       consider B be Element of A,ethat
    reconsider Smr=[{Sum(mr|B,y|B) + uReal.(mr.B - e) * y..B
      where B is Element of A,e: B in A},
      {Sum(mr|B,y|B) + uReal.(mr.B + e) * y..B
      where B is Element of A,e: B in A}] as Surreal by A3      then ( uReal.r.  e)) * y..B ==uReal.(java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
    Unique_No Sr = Sum(r|A =-r|y|)+( uReal.r. -e)*y.B
      by A3,A4,Th62;
    then
A5: Sr == Sum(r|A,y|A) & Smr == Sum(mr|A,y|A) by SURREALO:def 10;
A6: -Sr = [-- R_Sr, -- L_Sr ] by SURREALR:7;
A7: L_(-Sr) << {Smr}
    proof
      let x,yy be Surreal uchthat A8:xin -r  in Smr};
      consider  beSurreal such that
A9:   mx in R_Sr & x = -mx by A6,A8,      then x >-A25SURREALO:9;
      consider B be Element of      hence thesis byA22,ARSKI:def1java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
A10:   mx = Sum    L_Smr <{-rjava.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
A11:   Sum(mr|B,y|B) == - Sum(r|B,y|B) by A2,A10,A3,ORDINAL1:def 2;
A12:  -(r.B) = mr.B by VALUED_1:8;
      -(r.B + e) = mr.B-e by A12;
    proof
      by SURREALN:56,SURREALR:54;
      then - Sum(r|B,yA26:x in L_Smr &yy in -r}java.lang.StringIndexOutOfBoundsException: Range [33, 34) out of bounds for length 33
      = - Sum(r|B,y|B) + (- uReal.(r.B + e)) * y..B
      == Sum(mr|B,y|B) + uReal.(mr.B - e) * y..B
     A11,SURREALR:3,java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
      then
:x|)+uReal.mr.-e)*y.B
      by A10,A9,      (uReal.rB  ) *.B = uReal(mr.   *y..
      Sum(mr|B,y|B) + uReal.(mr.B - e) * y..B < Sum(mr|A,y|A)
      by A3,A4,A10,Th69;
      then x < Sum(mr|A,y|A) by A13,SURREALO:9;
      then x < Smr by A5,SURREALO:9;
      hence thesis by A8,TARSKI:def 1;
    end;
:{Smr <R_-Sr
    proof
      let yy,x be Surreal such that
A15:  yy in {Smr} & x in R_(-Sr);
      consider mx be Surreal such that
A16:  mx in L_Sr & x = -mx by A6,A15,SURREALR:def 4;
      consider B be Element of A,e such that
A17:   mx = Sum(r|B,y|B) + uReal.(r.B - e) * y..B & B in A by A16;
A18:  Sum(mr|B,y|B) == - Sum(r|B,y|B) by A3,A17,A2
A19:  -(r.B) = mr.B by VALUED_1:8;
      -(r.B - e) = mr.B+e by A19;
      then (- uReal.(r.B - e)) * y..B == uReal.(mr  
      by SURREALR:54endjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
      then - Sum(r|B,y|B) + - (uReal.(r.B - e) * y..B)
      = - Sum(r|B,y|B) + (- uReal.(r.B - e)) * y..B
      == Sum(mr|B,y|B) + uReal.(mr.B + e) * y..B
      by A18,SURREALR:43,58;
      then    ( Bst
A20:  x == Sum(mr|B,y|B) + uReal.(mr.B + e) * y..B
      by A17,A16,SURREALR:40;
      Sum(mr|B,y|B) + uReal.(mr.B + e) * y..B >  proof
 A3A4A17Th69;
      then x > Sum(mr|A,y|A) by A20,SURREALO:9;
      then x > Smr by A5,SURREALO:9;
      hence thesis by A15,TARSKI:def 1;
    end;
A21: {-Sr} << R_Smr
    proof
      let yy,x be Surreal such that
A22:  yy in {-Sr} & x in R_(Smr);
      consider B be Element of A,e such that
A23:   x = Sum(mr|B,y|B) + uReal.(mr.B + e) * y..B & B in A by A22;
A24:  Sum(mr|B,y|B) == - Sum(r|B,y|B) by A2,A23,A3,ORDINAL1:def 2;
      -(r.B) = mr.B by VALUED_1:8;
      then -(r.B - e) = mr.B+e;
      then (- uReal.(r.B - e)) * y..B == uReal.(mr.B + e) * y..B
      by SURREALR:54,SURREALN:56;
      then x == - Sum(r|B,y|B) + (- uReal.(r.B - e)) * y..B
      by A23,A24,SURREALR:43;
      then x == - Sum(r|B,y|B) + (- (uReal.(r.B - e) * y..B))
      by SURREALR:58;
      then
A25:  x == - (Sum(r|B,y|B) + uReal.(r.B - e) * y..B)
      by SURREALR:40;
      Sum(r|B,y|B) + uReal.(r.B - e) * y..B < Sum(r|A,y|A) by A3,A23,Th69;
      then Sum(r|B,y|B) + uReal.(r.B - e) * y..B < Sr by A5,SURREALO:9;
      then -(Sum(r|B,y|B) + uReal.(r.B - e) * y..B) > -Sr by SURREALR:10;
      then x > -Sr by A25,SURREALO:9;
      hence thesis by A22,TARSKI:def 1;
    end;
    L_Smrsuppose
    proof
      let x,yy be Surreal such that
A26:  x in L_(Smr) & yy in {-Sr};
      consider B be Element of A,e such that
A27:  x = Sum(mr|B,y|B) + uReal.(mr.B - e) * y..B & B in A by A26;
A28:  Sum(mr|B,y|B) == - Sum(r|B,y|B) by A2,A3,A27,ORDINAL1:def 2        thus byA4,5,FUNCT_1def4java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
      -(r.B) = mr.B by VALUED_1:8;
      then -(r.B + e) = mr.B-e;
      then (-uReal.(r.B + e)) * y..B == uReal.(mr.B - e) * y.A7    being  st e  holdsP[,f.e] fromCLASSES1sch1A1;
        by SURREALR:54,SURREALN:56;
      then x == - Sum(r|B,y|B) + (- uReal.(r.B + e)) * y..B
      by A27,A28,SURREALR:43;
      then x == - Sum(r|B,y|B) + (- (uReal.(r.B + e) * y..B)) by SURREALR:58;
      then
A29:  x == - (Sum(r|B,y|B) + uReal.(r.B + e) * y..B) by SURREALR:40;
      Sum(r|B,y|B) + uReal.(r.B + e) * y..B > Sum(r|A,y|A) by A3,A27,Th69;
      then Sum(r|B,y|B) + uReal.(r.B + e) * y..B > Sr by A5,SURREALO:9;
      then-(um(r|B,y|)+uReal.r. +e)*y.B)<-Sr by SURREALR:;
            assumeb f;
      hence thesis by A26,TARSKI:def 1;
    end;
   -r= Smr  A7,A14,21,SURREAL0:3java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
    then
A30-Sr ==Sum(r|,y|)byA5,SURREALO:9;
    -Sum(r|A,y|A) == -Sr by SURREALR:10,A5;
    hence thesis by A30,SURREALO:9;
  end;
  for A being Ordinal holds P[A] from ORDINAL1:sch 2(A1);
  hence thesis;
end;

definition
  let r be Sequence of REAL;
  let y be one-to-one Sequence, yE be Sequence;
  func r-extended_by(y,yE) -> Sequence of REAL means :Def14:
    dom it = dom yE &
   (or A,B st
A10 A,B being Ordinal st
    (for A  st A             A in dom &  dom yE  y. = yE.  .  it1.and
  existence
proof
    defpred P[object,object] means $2 is realA12:dom it2  domyE and
    (for A being Ordinal st
             A in dom y & y.A = yE.$1 holds r.A = $2) &
    (for A being Ordinal st not yE.$1 in rng y holds $2 = 0);
A1: for e being object st e in dom yE ex u being object st P[e,u]
    proof
      let e be object such that
A2:   e in dom yE;
      reconsider E=      reconsider A=x Ordinalby A15;
      per cases;
      suppose
A3:     not yE.E in rng y;
        take 0;
        thus thesis by A3,FUNCT_1:def 3;
      end;
      suppose
A4:     yE.E in rng y;
        then consider A be object such that
java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
       A as Ordinal by A5;
        take rA=r.A;
        thus thesis by A4,A5,FUNCT_1:def 4;
      end;
    end;
    consider f be Function such that
A6: dom f = dom yE and
A7:  for e being object st e in dom yE holds P[e,f.e] from java.lang.StringIndexOutOfBoundsException: Range [0, 67) out of bounds for length 4
    rng f c= REAL
    proof
      let b be object;
      assume b in rng f;
      then consider a be object such that
A8:   a in dom f & f.a=b by FUNCT_1:def 3;
      f.a is realga y)=Sumr-(y|dom r,yE),No_omega^yE
      hence thesis by A8,XREAL_0:def 1;
    end;
    then reconsider f as SequenceA1:y|dom r) c=rng yE  rngyE is ==_distinct;
    take f;
    thus thesis by A6,A7;
  end;
  uniqueness
  proof
    let it1,it2 be Sequence of REAL such that
A9: dom it1 = dom yE and
A10: for A,B being Ordinal st
Ain  y&B in dom yE & y. = yE. holds r.  it1.B and
A11: for A being Ordinal st A in dom yE & not yE.A in rng y holds
            it1.A = 0 and
A12: dom it2 = dom yE and
A13: for A,B being Ordinal st
             A in dom y & B in dom yE & y.A = yE.B holds r.A = it2.B and
A14  Ordinal  domyE & notyE.Ain holdsit2.= ;
    for x being object st x in dom it1 java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 34
    proof
       x beobject such that
A15:  x in dom java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 8
      reconsider A=x as Ordinal by A15;
      per cases;
      suppose  yE.A in rng y;
        then consider B be object such that
A16:    B in dom y & y.B=yE.A by FUNCT_1:def 3;
        reconsider B as Ordinal by A16;
        it1.A = r.B  by A9,A10,A15,A16;
        hence thesis by A9,A13,A15,A16;
      end;
      suppose
A17:    not yE.A in rng y;
        then it1.A=0 by A9,A11,A15;
        hence thesis by A9,A14,A15,A17;
      end;
    end;
    hence thesis by A9,A12,FUNCT_1:2;
  end;
end;

theorem Th76:
   for y,yE being strictly_decreasing Surreal-Sequence st
     rng(y|dom r) c= rng yE & rng yE is ==_distinct
   holds
     Sum(r,No_omega^ y) = Sum(r-extended_by(y|dom r,yE),No_omega^ yE)
proof
  let y,yE be strictly_decreasing Surreal-Sequence such that
A1: rng(y|dom r) c= rng yE & rng yE is ==_distinct;
 y/ ,
      Ny = No_omega^ y,
      ^,
      rE = r-extended_by(y|dom r,yE);
A2:    domNyD  dom Ny|.  NyEB
dom(|D   r/D  N|)  Ny   RELAT_161java.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 67
  then
A3:dom A15:   indom(|)&BindomNyE&(|DA= .java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
A4:y|dom r = y|D by RELAT_1:157;
A5:rng (Ny|D) c= rng NyE
  proof
    let b java.lang.StringIndexOutOfBoundsException: Range [17, 12) out of bounds for length 37
    assume b in rng (Ny|D);
    then consider a be object suchA19 yD.  yD.by
:  java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 52
    reconsider a as Ordinal by A6;
A7:Ny| = No_omega^(|D SURREALC:88;
    then
A8: a in dom (y|D) = dom No_omega^ (y|D) by A6,SURREALC:def 22;
    then
A9: (y|D).a = (y|D)..a by Def5;
    then
A10:b = No_omega^ ((y|D)..a) by A6,A7,SURREALC:def 22;
    (y|D)..a in rng(y|dom r) by A8,A9,A4,FUNCT_1:def 3;
    then consider c be object such that
A11:  c in dom yE & yE.c = (y|D)..a by A1,FUNCT_1:def 3;
A12:c in dom NyE by A11,SURREALC:def 22;
        by S;
    hence thesis by A12,FUNCT_1:def 3;
  end;
  =yE. byjava.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 39
  then
A13:     then.A=(D.=yEB A24A25A,,A19A,49;
A14: for A,B being Ordinal st
  A in dom (Ny|D) & B in dom NyE & (Ny|D).A = NyE.B
  holds (r|D).A  end
  proof
    let A,B be Ordinal such that
A15:    A in dom (Ny|D) & B in dom NyE & (Ny|D).A = NyE.B;
A16: A in dom Ny & A in D by A15,RELAT_1:57;
    then
A17: A in dom y by SURREALC:def 22;
    then
A18:A in dom (y|D) by A16,RELAT_1:57;
    then
A19: (y|D).A = (y|D)..A by Def5;
A20: dom No_omega^ (y|D) = dom (y|D) by SURREALC:def 22;
    (Ny|D).A = (then considerbejava.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 41
    then
A21:(Ny|D).A = No_omega^ ((y|D)..A)
    by A17,A19,A20,SURREALC:def 22,A16,RELAT_1:57;
A22:B in dom yE = dom NyE by A15,SURREALC:def 22;
    then
A23:yE.B = yE..B by Def5;
    then No_omega^ ((y|D)..A) == No_omega^ ((yE)..B)
    by A15,A21,SURREALC:def 22;
    then not No_omega^ ((y|D)..A) infinitely< No_omega^ ((yE)..B)
    & not No_omega^ ((yE)..B)infinitely< No_omega^ ((y|D)..A)
    by SURREALC:9;
    then

A25:(yE)..B in rng yE by A22,A23,FUNCT_1:def 3;
    (y|D)..A in rng (y|D) by A19,A18,FUNCT_1:def 3;
    then y.A:
    then java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
    hence thesis by A16,FUNCT_1:49;
  end;
  for A being Ordinal st A in dom NyE & not NyE.A in rng (Ny|D)
  holds rE.A = 0
  proof
    let A be Ordinal such that
A26: A in dom NyE & not NyE.A in rng (Ny|D);
    not yE.A in rng (y|dom r)
    proof
      assume yE.A in rng (y|dom r);
      then consider B be object such that
A27:  B in dom (y|D) & (y|D).B =yE.A     f  
      reconsider B as Ordinal by A27;
A28:  B in dom No_omega^ (y|D) by A27,SURREALC:def 22;
A29:  Ny|D =       then consider a be object such that
      NyE.A = No_omega^ ((y|D)..B) =
      (Ny|D).B by A26,A27,Def5      ainjava.lang.StringIndexOutOfBoundsException: Range [14, 11) out of bounds for length 43
      hence thesis by A26,A29,A28,FUNCT_1:def 3;
    end;
    then A in dom yE & not yE.     fa=f.c,  A4,INOP_1:ef 1
    hence thesis by Def14;
  end;
  then
A30:Sum(r|D,Ny|D) = Sum(rE,NyE) by A3,A5,A13,A14,Th73;
  Partial_Sums(r,Ny).D = Sum(r|D,Ny|D) by A2,Th58;
  hence thesis by A30,A2,SURREALC:def 21;
end;

begin :: Product Construction for Selected Surreal Series

definition
  A,beOrdinaljava.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
  let r,s be Sequence of REAL;
  func Product(r,s,A,B) -> Function of [:A,B:],REAL means :Def15:
    for a,b being Ordinal st a in A & b in B
      holds it.(a,b) = r.a * s.b;
  existence
  proof
    deffunc F(object,object) = r.$1 * s.$2;
    consider f be Function such that
A1:dom f = [:A,B:] and
A2:for x,y being object st x in A & y in B holds f.(x,y) = F(x,y)
    from FUNCT_3:sch 2;
    rng f c= REAL
    proof
      let b be object;
      assume b in rng f;
      then consider a be;
A3:   a in dom f & f.a =b by FUNCT_1:def 3;
      consider c,d be object such that
A4:   c in A & d in B & a = [c,d] by A1,A3,ZFMISC_1:def 2;
      f.a = f.(c,d) by A4,BINOP_1:def 1;
      then f.a = F(c,d) by A2,A4;
      hence thesis by A3,XREAL_0:def 1;
    end;
    then reconsider f as     then reconsider f as Function[:,B]means :
    take f;
    thus thesis by A2for,Ordinal
  end;
  uniqueness
  proof
    let     he Cantor::  by Alexander Yu. Shibakov and Andrzej Trybulec
A5: for a,bjava.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 0
    F1.,b) ra*ajava.lang.StringIndexOutOfBoundsException: Range [34, 35) out of bounds for length 34
A6: for a,b being Ordinal st a in A & b in B
java.lang.StringIndexOutOfBoundsException: Range [5, 4) out of bounds for length 31
A7: dom F1 = [:A,B:] = dom F2 by FUNCT_2:def 1;
    for x,y being object st x in A & y in B holds:Def1:
    proof
      let x,y be object such that

 .*sy by A5,;
java.lang.StringIndexOutOfBoundsException: Range [6, 4) out of bounds for length 35
    dom ITc=dom y
 by    
  end;
end;

definition
  let A,B be Ordinal;
  -Sequence such that
   domy c=A  dom zc= Bjava.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
  let s be Surreal;  existence
  (,,AB+  Fin[AB]means:
or, Ordinal
        a,b]in
  
  proof
IT{a,b] whereais Element of A, java.lang.StringIndexOutOfBoundsException: Range [0, 44) out of bounds for length 23
    a in dom y & bend;
2 T c :A,:
    proof
      letlet B9considera1 be ElementofA b1 be Element of B  that
java.lang.StringIndexOutOfBoundsException: Range [15, 6) out of bounds for length 22
      then consider a be Element of A, b be Element of B such that
A3:  ab=[a,bassumex  Xjava.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
      thus thesis percases;
    end;
    then reconsider IT as Relation;
domIT =dom y
    proof
      bejava.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 22
      assume d in dom IT;
      then consider e be object such that
A4:  [d,e] in IT by XTUPLE_0:def 12;
      consider a be Element of A, b be Element of B such that
A5:[d,e]=[a,b] &a  dom y&b  domz &y. +.b =  byA4;
 thesisby A5,XTUPLE_0:1;
    endA11:  z.b1 == ..1+z.b2   by A1Def1;
   thenconsidera1 = _Noby SURREALR:;
:ss is      y.a1 z.b2 -y...1=
ITis Functionlike
    proof
      let x,y1,y2 be object
    in;
consider a1 be Elementof A,b1be  of B such that
:  [x,1][a1b]&a1 indomy &b1 n dom z java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
        y.a1 + z..1== s by A7;
      considerc java.lang.StringIndexOutOfBoundsException: Range [20, 18) out of bounds for length 21
A9:   [xA3:Y  dand
      y..a2 + z..b2 == s by       Intersect d in F by A1,A d in F by A1,4;
:a1=x=&b1=  b2yby A8,,XTUPLE_0:1java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
theny.a1+z.b1= .. +z.b2by ,A9SURREALO:;
      then
A11:  z..b1 == y..a1 + z..b2 - y..a1 by SURREALR:41,42;
A12:  y..a1 - y..a1 == 0_No by SURREALR:39;
      y..a1thus FinMeetClA c=FinMeetClFinMeetCl AbyTh4
y.-y.a1+z.2byz1=z.&zb2zb  . inz&z.in 
      then y..a1 + z..b2 +- y..a1  proof
      then
A13:end
    then java.lang.StringIndexOutOfBoundsException: Range [0, 19) out of bounds for length 7
      z.=15  ss=domssby A6,27java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
:d 3
ebyA10A8,,A14FUNCT_1 ;
    end;
    then java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 6
A15  ITss)= dom  A6,ELAT_1:
    then reconsider ITs=IT*ss as Sequence by ORDINAL1:def 7;
:rng =domz
    java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
        assume
      assume d in rng IThencethesis;
      then consider e be object such       then consider e be object such that
A17:  [e,d] in IT by XTUPLE_0:def 13;
      abeElementofA  beElement ofB suchthat
: ed=[ab]  a iny&b in domz&y.a +z.b = sby ;
 thesisby A18,TUPLE_0:;
    end;
  c=rngIT RELAT_126;
    then rng ITs c= dom z by A16;
ITs as-by def4;
 st a b  bindom 
    proofA2: Va& B in b and
     .a IT.s.   indomss &ssain  ITby FUNCT_12;
A19:  a in b & b in dom ITs;
      a in dom ITs f X beingsetA: ITs.=IT.s.  b dom    ss.indomIT  ,:12,11;
      then
:. in   s.adomITFUNCT_1
  22 ss,ITsa [,b1 &1indom    in  zjava.lang.StringIndexOutOfBoundsException: Range [57, 58) out of bounds for length 57
           ss,.b,2
tconsidera1be Element A, b1  Element ofB suchthat
A22:  [e   3 =a2b2 &a2 in dom y & b2 in  z &
      .+z.b=s;
      [ss.b,ITs.b] in IT by A21,FUNCT_1:def 2;
      then consider a2     xin a
A23:  [ss.b,ITs.b] =[a2,b2] & a2 V inbby A3A,A7;
      y..a2 + z..then considerBbeingSubsetofFinMeetClAsuch that
ss=a1 .a  .  &.b2
     by theny.a2+. <a1+z..1 by :44;
      y..a1=y.a1 & y.. consider Subset-amily of          then.a2+..1 <s byA22,SURREALO4
bA6A,,12A2411java.lang.StringIndexOutOfBoundsException: Index 79 out of bounds for length 79
       z.<y.a2+ z.b2-y.a2  SURREALR42
       ..+b1<sbyA22SRREALO:;
      then y..A27:  y..a2 - y. = java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 0
then
A25:  z..b1 < y..a2 + z..b2 -  clusterthe topology of X - quasi_prebasis;
A26:  z..b1=z.b1 & z..b2 = z  coherence
A27:y.a2 -y.a2 == 0_oby SURREALR:39;
     y.a2  z..2+-y.a2 y..2-y.a2+z.b2bySURREALR37;
      then
A28:  y Th17:
      
A29:  z..:B1 c= PDef4
      not z..b2P9 java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 40
notb1in b2 by,23SURREALCdef11;
      then b2 c< b1 by A28,A25,  consider B2 being Basis of T2 such that
      hence thesis by A24,ORDINAL1UniCl B2c=UniCl  P9by A8,h9;

thenITsis def1;
    then IT is finite  is   #,  java.lang.NullPointerException
iderI= ElementofFinAB: A2d 
t;;
  om  ininz.+z.=  ;
    hereby assume [a,b] in I;
then java.lang.StringIndexOutOfBoundsException: Range [22, 19) out of bounds for length 68
:[,][b1 & a1indom y&b1 indomz & y..a1 +z..b1 == s;
      Yas ofTby
T1,T2 strictnonempty 
    end;
    thus thesis by A1
  end;

  proof
let F1,2 be Element of Fin :A,B:] such java.lang.StringIndexOutOfBoundsException: Range [0, 49) out of bounds for length 14
A31-,})  iffF= by      letxbe ;
dom  .+.  java.lang.StringIndexOutOfBoundsException: Range [66, 67) out of bounds for length 66
A32:for a,b being Ordinal holds
    [a,b] in F2 iff a in dom y & b in dom z & y..a + z..b == java.lang.StringIndexOutOfBoundsException: Range [0, 62) out of bounds for length 43
:  
    proof
 object;
A34:  F1 c= [:A,B:] by FINSUB_1:def 5;
      assume
A35:  x in F1;
      then consider a,b be object such that
A36:  a in A & b in B & x=[a,b] by A34,ZFMISC_1:def 2;
      reconsider a,b as Ordinal by A36;
      y..a + z..b == s & a in dom y & b in      hence thesis by A32,36java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
hencethesisby A36;
    end;
    F2 c= F1
    proof
      let x be object;
A37:  F2 c= [:A,B:] by FINSUB_1:def 5A38    ;
      assume
A38:  x in F2;
      then consider a,b be object such that
A39:  a in A & b in B & x=[a,b] by A37,ZFMISC_1:def 2;
      reconsider a,b as Ordinal by A39;
      y..a + z..b == s & a in dom y & b in dom z by A32,A38,A39;
      hence thesis by A31,A39;
    end;
    hence thesis by A33;
  end;
end;

theorem Th77:
  dom y c= A & dom z c= B & a==b implies (y,z,A,B) += end;
proof
  assume that
A1: dom y c=  dom y c A& dom z =B&a=b implies (,z,,B)= a c=(y,z,,) +=b
A2: a==b;
  let x be object;
A3: (y,z,A,B) += a c= [:A,B:] by FINSUB_1:def 5;
  assume
A4:x in (y,z,A,B) += a;
  then consider i,j be object such that
A5: i in A & j in B & x=[i,j] by A3,ZFMISC_1:def 2;
   ij as OrdinalbyA5
:i dom y & j  z &y.i +z.j =  byA4,1,,Def16java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
  then y..i + z..j == b by A2,SURREALO:4;
  hence thesis by A1,A5,A6,Def16;
end;

theorem Th78:
  forc domy c A&dom  c B&
    for a st a==c holds not a in rng y ++ rng z
  holds (y,z,A6i in  y &j in dom z &y.i +z.j  A4A1,5,ef16;

  let c such that
A1: dom y c= A & dom z c= B and
A2:for a being Surreal st a==c holds not a in rngendjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
  assume (y,z,A,B) += c <> {};
  then consider x be object such that
A3: x in (y,z,A,B) += c by XBOOLE_0:def 1;
  (y,z,A,B) += c c= [:A,B:] by FINSUB_1:def 5;
  then consider i,j be object such that
A4: i in A & j in B & x=[i,j] by A3,ZFMISC_1:def 2;
  reconsider i,j as Ordinal by A4;
A5:i in dom y & j in dom zA2  beingSurrealsta=holds  y+zjava.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
  y.i =y..i & z.j = z..j by A5,Def5;
   y. rngy & z.j inrng z A5,FUNCT_1:def 3;
  then y..i + z.  y,,,)+ cc :AB]byFINSUB_1def5;
e byA5,A2;
endA4:i  A& inB  [,j ,FMISC_1def 2;

Lm4:for x,y being Surreal
       for a,b,c,d,e being Real holds
  uReal.(a-b) * (x + uReal.(c + d) * y)
+ uReal( -e)*y)=
  .a*+uReal.(*c -*e+*(a-)) y
proof
  let x,y be Surreal, a,b,c,d,e be Real;
A1:uReal.(a-b) * (x Lm4: xy 
  uReal.(a-b) * x + uReal.(a-b) * (       for,b,,d,e being Real holds
  (-b  (uReal.(c +d * y)==
  (uReal.(a-b) *      +uReal.. * (x +uReal(c-e)*y) =
  uReal.((a-b)*(c + d)) * y by SURREALN:57,SURREALR:54,69;
  then.x+uReal(* b*+(-b) y
  uReal.((a-b)*(c + d)) * y by SURREALO:9;
  then uReal.(a-b) * x + uReal.(a-b) * (uReal.(c + d) * y) ==
  uReal.(a-b) * x + uReal.((a-b)*(c + d)) * y by SURREALR:43;
  then
A2:Reala-) *( +uReal.(c + d)*y =java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
  uReal.a-)*x+uReal(a-)(c +d) *y  A1,SURREALO:9;
A3:uReal.b * (x + uReal.(c - e) * y) ==
  uReal.b * x + uReal.b *(uReal.(c - e) * y) by SURREALR:67;
  uReal.b *(uReal.(c - e) * y) ==
  (. uReal.(c -e))*y ==
  uReal.(b*(c - e))*y by SURREALN:57,SURREALR:54,69;
  then uReal.b *(uReal.(c - e) * y) ==
  uReal.(b*(c - e))*y by SURREALO:9;
  then uReal.b * x + uReal.b *(uReal.(c - e) * y) ==
  uReal. *x+ uReal.(*( -e))* y SURREALR43;
  then uReal.b * (x + uReal.(c - e) * y) ==
  uReal.b * x + uReal.(b*(c - e)) * y by A3,SURREALO:9;
  then
A4: uReal.(a-b) * (x + uReal.(c + d) * y)
    + uReal.b * (x + uReal.(c - e) * y) ==
uReal.(-b) *   uReal.((-b)(c +d) *y
    +(uReal.b * x + uReal.(b*(c - e)) * y) by A2,SURREALR:43;
A5:uReal.(a-b) * x + uReal.((a-b)*(c + d)) * y +uReal.b * x
  == uReal.((a-b)+b) * x + uReal.((a-b)*(c + d)) * y by Th30;
  uReal.(a-b) * x + uReal.((a-b)*(c + d)) * y
  +(Realb*x +uReal.b*c -e) *y) =
  (uReal.(a-b) * x + uReal.((a-b)*(c + d)) * y
  +uReal.b * x) + uReal.(*c-e) *y SURREALR37
  then uReal.(a-b) * x + uReal.((a-b)*(c  then .b *(x +uReal(c -e * y)=java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
  +(uReal.b * x + uReal.(b*(c - e)) * y) ==
  uReal.a * x + uReal.((a-b)*(c + d)) * y + uReal.(b*(c - e)) * y
  == uReal.a * x + uReal.((a-b)*(c + d)+b*(c - e)) * y
  by Th30,A5,SURREALR:43;
  then uReal.(a-b) * x + uReal.((a-b)*(c + d)) * y
  +(uReal.b * x + uReal.(b*(c - e)) * y) ==
  uReal. *x +uReal.((a-)*(c  d)b(c -e) * yby SURREALO:4
  hence thesis by A4,SURREALO:4;
end;

Lm5: for y being positive decreasing_infinitely Surreal-Sequence
            for x being positive Real
         for A st A c= dom r/\dom y holds
   Sum((x(#)r) |A,y|A) == uReal.x * Sum(r|A,y|A)
proof
yjava.lang.StringIndexOutOfBoundsException: Range [10, 8) out of bounds for length 59
 :: let r be Sequence of REAL;
  let x be positive Real;
  reconsider X=[{uReal.(x-e1):x-e1>0},
    the set of all uReal.(x+e2)] as Surreal by Th50;
A1:X== uReal.x by Th55;
  set xr=(#r;
  defpred P[Ordinal] means $1 java.lang.StringIndexOutOfBoundsException: Range [0, 31) out of bounds for length 4
  Sum(xr |$1,y|$1) == uReal.x * Sum(r|$1,y|$1);
A2:for A being Ordinal st for C being Ordinal st C in A holds P[C] holds P[A]
  proof
    let A be Ordinal such that
A3: for C being Ordinal st C in A holds P[C];
    assume
A4: Ay  Surreal-Sequence;
A5: dom xr=dom r by VALUED_1:def 5;
    reconsider Sr=[{Sum(r|B :: let r be Sequence of REAL;
    where B  Element of A,e: B in A},
    {Sum(r|B,y|B) + uReal.(r.B + e) * y..B
    where B is Element of A,e: B in A}] as Surreal by A4,Th61;
    reconsider Sxr=[{Sum(xr|B,y|B) + uReal.(xr.B - e) * y..B
    where B is Element of A,e: B in A},
    {Sum(xr|B,y|B) + uReal.(xr.B + e) * y..B
    where B is Element of A,e: B in A}] as Surreal by A4,A5,Th61;
A6: Unique_No Sr = Sum(r|A,y|A) & Unique_No Sxr = Sum(xr|A,y|A) by A4,A5,Th62;
    then
A7: Sr == Sum(r|A,y|A) & Sxr == Sum(xr|A,y|A) by SURREALO:def 10;
A8: X*Sr = [comp(L_X,X,Sr,L_Sr) \/ comp(R_X,X,Sr,R_Sr),
    comp(L_X,X,Sr,R_Sr) \/ comp(R_X,X,Sr,L_Sr)] by SURREALR:50;
A9:L_(X*Sr) << {Sxr}
    proof
      let xx,yy be Surreal such that
A10:   xx in L_(X*Sr) & yy in {Sxr};
     per casesby A10,,:def
      suppose A5: dom xr=dom r d 5java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
        then     where B Element ofA:B in},
:    xx  x1*+Xy1-x1*y1 &x1in L_X&y1 in L_Sr  SURREALRdef 15;
        consider e1 such that
-e10by A11java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
        reconsider xe1=x-e1 as positive Real by A12;
        consider B be Element of A,e2 such that
A13:    y1 = Sum(r|B,y|B) + uReal.(r.B - e2) * y..B & B in A by A11;
        set SB=Sum(r|B,y|B);
A14:    xx = x1*Sr + (X*y1 +- x1*y1) by A11,SURREALR:37
R:58;
        X+-(x1) == uReal.x -x1 == uReal.(x -(x-e1))
        by A12,Th32,A7  = r|,|)&Sxr =Sum(xr|,|)by SURREALO:ef ;
        then X+(x1)=.e1)by SURREALO4
y1+-x1*= X+(1) y1 = .e1)*y1
        by SURREALR:54,67;
        then X*y1 +(- x1)*y1 == uReal.(e1) * y1 by SURREALO:4;
        then
A15     = x1*r+uReal.(e1) * y1 by A14,SURREALR:43;
        set e3= e1*e2/2/xe1;
A16:    uReal.xe1 is positive;
        Sr in {Sr} << R_Sr & SB + uReal.(r.B + e3) * y..B   in R_Sr
        by A13,TARSKI:def 1,SURREALO:11;
        then Sr < SB + uReal.(r.B + e3) * y..B;
        hen x1 <uReal.e1*(  uReal.(. +e3)*y.B)
        by A16,A12,SURREALR:70;
       x1*r  uReal.e1)*y1
        < uReal.xe1 * (SB + uReal.(r.A12     =uReal.-1)  -e10 byA11java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
        + uReal.e1 * y1 by SURREALR:44;
        then
A17:    xx < uReal.xe1 * (SB + uReal.(r.B + e3) * y..B)
        + uReal.e1 * (SB + uReal.(r.B - e2) * y..B)
        by A13,A15,SURREALO:4;
A18:    e1*e2 - e3*xe1 = e1*e2 - e1*e2/2 by XCMPLX_1:87
        .= e1*e2/2;
A19:    x*(r.B) = xr.B by VALUED_1:6;
        uReal.xe1 * (SB + uReal.(r.B + e3) * y..B)
         uReal.e1*(SB +uReal.(r.B - e2) * y..B)==
        uReal.x * SB + uReal.(x*(r.B) -e1*e2+e3*xe1)*y..B by Lm4;
        then
A20:    xx <         then X*y1  ) =e)* 4java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
          by A15:xx = x1*Sr+ uReal()*y1  14SURREALR43
        B        set e3=e1*2xe1;
        then uReal.x * SB == Sum(xr|B,y|B) by A3,A13;
        then uReal.x * SB + uReal.(        Sr in {Sr} << R_Sr & SB + uRr. +  * y..B   in R_Sr
        == Sum(xr|B,y|B) + uReal.(xr.B - e1*e2/2)*y..B
          by A18,A19,SURREALR:43;
        then xx <= Sum(xr|B,y|B) + uReal.(xr.B - e1*e2/2)*y..B
          in L_Sxr << {Sxr} by A13,A20,SURREALO:4,11;
        hence thesis by A10,SURREALO:4;
      end;
      suppose xx in comp(R_X,X,Sr,R_Sr);
        then consider x1,y1 be Surreal such that
A21:    xx = x1*Sr + X*y1 - x1*y1 & x1 in R_X & y1 in R_Sr by SURREALR:def 15;
        consider e1 such that
:=uReal(e1)by ;
        reconsider xe1=x+e1 as positive Real;
Bbe Element of , such that
A23:    y1 = Sum(r|B,y|B) + uReal        uReal.xe1 *(B+uReal.r +)*y.B)
        set SB=Sum(r|B,y|B);
A24:    xx = x1*Sr + (X*y1 +- x1*y1) by A21         uReal.*(  uReal.rB-e2)*y.B)=
        .= x1*Sr + (X*y1 +(- x1)*y1) by SURREALR:58;
        X+-(x1) == uReal.x -x1 == uReal.(x -(x+e1)) by A22,Th32,A1,SURREALR:43;
      X+-x1=uReal.
        then X*y1 +(-         by A17,SURREALO
          by SURREALR:54,67;
        then X*y1 +(- x1)*y1 == uReal.(-e1) * y1 by SURREALO:4;
        then
A25:    xx == x1*Sr + uReal.(-e1) * y1 by A24,SURREALR:43;
        set e3= e1*e2/2/xe1;
A26:    uReal.xe1 is positive;
        Sr in {Sr} << R_Sr & SB + uReal.(r.B + e3) * y..B in R_Sr
        by A23,TARSKI:def 1,SURREALO:11;
        then Sr < SB  xx (XR_Sr
        then x1* Sr < uReal.xe1 * (SB + uReal.(r.B + e3) * y..B)
        by A26,A22,SURREALR:70;
        then x1*Sr + uReal.(-e1) * y1
        < uReal.xe1 * (h that
        +(e1 *y1by SURREALR:;
        then
A27:    xx < uReal.xe1 * (SB + uReal.(r.B + e3) * y..B)
        + uReal.(-e1) * (SB + uReal.(r.B + e2) * y..B)
        by A23,A25,SURREALO:4;
A28:    e1*e2 - e3*xe1 = e1*e2 - e1*e2/2 by XCMPLX_1:87
        .= e1*e2/2;
A29:    x*(r.B) = xr.B by VALUED_1:6;
        uReal.(x- -e1) * (SB + uReal.(r.B + e3) * y..B)
        + uReal.(-e1) * (SB + uReal.(r.B - - e2) * y..B)==
        uReal.x * SB + uReal.(x*(r.B) -(-e1)*(-e2)+e3*xe1)*y..B by Lm4;
        then
A30:    xx < uReal.x * SB + uReal.(x*(r.B) -e1*e2+e3*xe1)*y..B
          by A27,SURREALO:4;
        B c= dom r/\dom y by A4,A23,ORDINAL1:5;
        then uReal.x * SB == Sum(xr|B,y|B) by A3,A23;
        then uReal.x * SB + uReal.(x*(r.B) -e1*e2+e3*xe1)*y..B
        == Sum(xr|B,y|B) + uReal.(xr.B - e1*e2/2)*y..B by A29,A28,SURREALR:43;
        then xx <= Sum(xr|B,y|B) + uReal.(xr.B - e1*e2/2)*y..B
        in L_Sxr<< {Sxr}by A23,A30,SURREALO:411
        hence thesis by A10,SURREALO:4;
      end;
    end;
A31:L_Sxr << {X*Sr}
    proof
      let xx,yy be Surreal such that
A32        =x1Sr+ (*y1 +-x1)*1)by :58;
      consider B be Element of A,e such that
A33:  xx= Sum(xr|B,y|B) + uReal.(xr.B - e) * y..B & B in A by A32;
      set SB=Sum(r|B,y|B);
      Sum        then X+-x1)=.-)by SURREALO:4java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
        by A33        then *1 +(- x1)*y1 == (X+x1)*1 = uReal.-1 *y1
      then
          y SURREALR:54,;
      uReal.x is positive;
      then
A35:  0_No < X by A1,SURREALO:4;
      SB + uReal.(r.B - e/x) * y..B < Sr by A4,A33,Th69,A7,SURREALO:4;
      then
A36:  X*(SB + uReal.(r.B - e/xjava.lang.StringIndexOutOfBoundsException: Range [30, 28) out of bounds for length 28
      xr.B = x * r.B & x * (e/x) = e by VALUED_1:6,XCMPLX_1:87;
      then x *(r.B - e/x) = xr.B -e;
      then
A37:  (uReal.x) * uReal.(r.        then Sr < SB + uReal.B +e3 *y..;
      54,57
uReal(B  e/)*y.)= uReal. * uReal.r. -/x * y..B)
      == (uReal.x) * uReal.(r.B - e/x) * y..B
      by Th55,SURREALR:54,69;
      then X*(uReal.(r.B - e/x) * y..B)
        == (uReal.x) * uReal.(r.B - e/x) * y..B by SURREALO:4;
      then
A38:  X*(uReal.(r.B - e/x) * y..B) == uReal.( xr.B -e) * y..B
      by A37,SURREALO:4;
      X*(SB + uReal.(r.B - e/x) * y..B)
      == X*SB + X*(uReal.(r.B - e/x) * y..B)
      == xx by A33,A34,A38,SURREALR:67,SURREALR:43;
      then X*(SB + uReal.(r.B -A29:x*r. = xr.by VALUED_1:
      then X*r >xx by A36SURREALO:4;
      hence thesis by A32,TARSKI:def 1;
    end;
A39: {Sxr} << R_(X*Sr)
    proof
      let yy,xx be Surreal uReal.x*rB -*e2+xe1*y.B
:  yy in Sxr}  in R_(X*r)java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
      per        hen uReal.x  =Sum(xr|,|B by A3,A23java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
      suppose xx in (L_X,X,Sr,R_Sr)java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
thenconsider x1, be Surreal suchthat
A41:    xx = x1*Sr + X*y1 - x1*        then xx <= Sum(xr|B,y|B)  <=Sum(r|,|B)+uReal.xr.  e1*/)*.B
        by SURREALR:def 15;
        consider e1 such that
A42:    x1 = uReal.(x-e1) & x-e1 >0 by A41;
        reconsider xe1=x-e1 as positive Real by A42;
        consider B be Element of A,e2 such that
 y1 =SumrBy| +uReal.(r.B + e2) * y..B & B in A by A41;
        set SB=Sum(r|B,y|B);
A44:    xx = x1*Sr + (X*y1 L_Sxr <{X*rjava.lang.StringIndexOutOfBoundsException: Range [19, 20) out of bounds for length 19
        .= x1*Sr + (X*y1 +(- x1)*y1) by SURREALR:58;
        X+-(x1) = uReal.x -x1 == uReal.x -(x-e1))
        by A42,Th32,A1,SURREALR:43;
         X+(1)=uReal()by SURREALO:4;
        then X*y1 +(- x1)*y1 == (X+-(x1)) consider  beElement ofA,  
        SURREALR54,67;
        then X*y1 +(- x1)*y1 == uReal.(e1)      set SB=Sum(r|,|);
        then
A45:    xx == x1        by A33,h55A3SURREALR:,A4,RDINAL1:def;
        set e3= e1*e2/2/xe1;
A46:   uReal.xe1 ispositivejava.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
        Sr in {Sr} & L_Sr << {Sr} & SB + uReal.(r.B - e3) * y..B   in L_Sr
        by A43,TARSKI:def 1,SURREALO:11;
        then Sr > SB + uReal.(r.B - e3) * y..B;
        then x1* Sr > uReal.xe1 * (SB + uReal.(r.B - e3) * y..B)
        by A46,A42,SURREALR:70;
        then x1*Sr + uReal.(e1) * y1
          > uReal.xe1 * (SB + uReal.(r.B - e3) * y..B)
          + uReal.e1 * y1 by SURREALR:44;
        then
A47:    xx > uReal.xe1 * (SB + uReal.(r.B - e3) * y..B)
          + uReal.e1 * (SB + uReal.(r.B + e2) * y..B) by A43,A45,SURREALO:4;
A48:    e1*e2 - e3*xe1 = e1*e2 - e1*e2/2 by XCMPLX_1:87
        .= e1*e2/2;
A49:    x*(r.B) = xr.B by VALUED_1:6;
        uReal.xe1 * (SB + uReal.(r.B + - e3) * y..B)
+uReal.*(B+uReal.r.--)*y.B==
        uReal.x * SB + uReal.(x*(r.B) -      then
        then
A50:    xx > uReal. by SURREALO:;
         A47SURREALO:4;
        B c= dom r/\dom y       == X*SB + X*(uReal.(r.Be/  y.B)
        then uReal.x * SB == Sum(xr|B,y|B) by A3,A43;
        then uReal.x * SB + uReal.(x*(r.B) +e1*e2-e3*xe1)*y..B
        == Sum(xr|B,y|B) + uReal.(xr.B + e1*e2/2)*y..B
        by A48,A49,SURREALR:43;
        then
A51:    xx > Sum(xr|B,y|B) + uReal.(xr.B + e1*e2/2)*y..B in R_Sxr
          & {Sxr} << R_Sxr by A43,A50,SURREALO:4,11;
        then Sum(xr|B,y|B) + uReal.(xr.B + e1*e2/2)*y..B > yy by A40;
        then Sum(xr|B,y|B) + uReal.(xr.B + e1*e2/2)*y..B >= yy
          by SURREALO:6;
        hence thesis by A51,SURREALO:4;
      end;
      suppose xx in comp(R_X,X,Sr,L_Sr);
        then consider x1,y1 be Surreal such that
A52:    xx = x1*Sr + X*y1 - x1*y1 & x1 in R_X & y1 in L_Sr
        SURREALR:def 15;
        consider e1 such that
A53:    x1 = uReal.(x+e1) by A52;
        reconsider xe1=x+e1 as positive Real;
        consider B be Element of A,e2 such that
A54:    y1 = Sum(r|B,y|B) + uReal.(r.B - e2) * y..B & B in A by A52;
        set SB=Sum(r|B,y|B);
A55:    xx = x1*Sr + (X*y1 +- x1*y1) by A52,SURREALR:37
        . *r+(X*y1( x1)*)by 58
        X+-(x1) == uReal.x -x1 == uReal.(x -(x+e1))
        by A53,Th32,A1,SURREALR:43;
        X+(1)=uReal.-1) by SURREALO:;
        then X*y1 +(- x1)*y1 == (X+-(x1)) *y1-e1))
          by SURREALR:54,67;
        then X*y1 +(- x1)*y1 == uReal.(-e1) * y1 by SURREALO:4;
        then
A56:    xx == x1*Sr + uReal.(-e1) * y1 by A55,SURREALR:43;
        set e3= e1*e2/2/xe1;
A57:    uReal.xe1 is positive;
        Sr in {Sr} & SB + uReal.(r.B - e3)        set e3=e1*/2/
        by A54,TARSKI:def 1,SURREALO:11;
        then Sr > SB + uReal.(r.B - e3) * y..B;
        then  > uRealxe1 *SB+uReal(r.-e3)*.B
A57A53,70;
java.lang.StringIndexOutOfBoundsException: Range [26, 8) out of bounds for length 37
>.*(B+uReal.(r.-e3)*y.B)
        + uReal.(-e1) * y1 by SURREALR:44;
        then
A58:    xx > uReal.xe1 * (SB + uReal.(r.B - e3) * y..B)
+.-java.lang.StringIndexOutOfBoundsException: Range [22, 20) out of bounds for length 54
        by A54,A56,SURREALO:4;
A59:    e1*e2 - e3*xe1 = e1*e2 - e1*e2/2 by XCMPLX_1:87
        .= e1*e2/2;
A60:    x*(r.B) = xr.B by VALUED_1:6;
        uReal.(x- -e1) * (SB + uReal.(r.B + - e3) * y..B)
        .e1)*(SB  uReal.rB -e2)*yB)=
        uReal.x * SB + uReal.(x*(r.B) -(-e1)*e2+(-e3)*xe1)*y.        then
        then
A61:    xx > uReal.x * SB + uReal.(x*(r.B) +e1*e2-e3*xe1)*y..B
        by A58,SURREALO:4;
        B c= dom r/\dom y by A4,A54,ORDINAL1:5;
        then uReal.x * SB        then uReal.*SB +uReal(x*r.) +1*2-3*e1)*..
        then uReal.x * SB + uReal.(x*(r.B) +e1*e2-e3*xe1)*y..B
        == Sum(xr|B,y|B) + uReal.(xr.B + e1*e2/        = Sum(xr|By|)+uReal.xr. +e1*2/)*.B
        then
A62:    xx > Sum(xr|B,y|B) + uReal.(xr.B + e1*e2/2)*y..B in R_Sxr
        by A54,A61,SURREALO:4;
        {Sxr} << R_Sxr by SURREALO:11;
thenSumxr|B,yB)+uReal..+e1*2/)y.B>yyby A62,
        then Sum(xr|B,y|B) + uReal.(xr.B + e1*e2/2)*y..B >= yy by SURREALO:6;
        hence thesis by A62,SURREALO:4;
      end;
    end;
    {X*Sr} << R_Sxr
    proof
      let yy        then considery1 bejava.lang.StringIndexOutOfBoundsException: Range [44, 43) out of bounds for length 48
A63:  yy in {X*Sr} & xx in R_Sxr        by :def 15;
      consider  be Elementof Ae that
64:xx=Sum(|,y|B + uReal.(xr.+e)*y.  B in A yA63;
      set SB=Sum(r|B,y|B);
      Sum(xr|B,y|B) == uReal.x * SB == X*SB
      by A4,A64,ORDINAL1:def 2,Th55,A3,SURREALR:54;
      then
A65  (xr|y|)= X*B bySURREALO:;
      uReal.x is positive;
      then
A66:0_No<X by A1,SURREALO:4;
      SB + uReal.(r.B + e/x) * y..B > Sr by A4,A64        . x1*r  X* ( *)bySURREALR58
      then
  *SB +.(. +e/ *y.B > XSr by A66,SURREALR:java.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 66
      xr.B = x * r.B &  then X* +- x1)*1 = (X-x1) *1 == uReal.(-1) *y1
      then x *(r.B + e/x) = xr.B +e;
      then
A68:  (uReal.x) * uReal.(r.B + e/x) * y..B == uReal.( xr.B +e) * y..B
      by SURREALR:54,SURREALN:57;
      X*A56:   xx = *  uReal.-  by A55,43
      == (uReal.x) * uReal.(r.B + e/x) * y..B
      by Th55,SURREALR:54,69;
      then X*(uReal.(r.B + e/x) * y..B)
        == (uReal.x) * uReal.(r.B + e/x) * y..B by SURREALO:4;
      then
+ e/ *y.B = uReal.( xr.+)* y.B
      by A68,SURREALO:4;
      X*(SB + uReal.(r.B + e/x) * y..B)
      == X*SB + X*(uReal.(r.B + e/x) * y..B)
      == xx by A64,A65,A69,SURREALR:67,SURREALR:43;
      then X*(SB + uReal.(r.B + e/x) * y..B) == xx by SURREALO:4;
      then X*Sr < xx by A67,SURREALO:4;
      hence thesis by A63,TARSKI:def 1;
end;
    then
A70:X*Sr == Sxr by A9,A31,A39,SURREAL0:43;
    X*Sr == X*Sum(r|A,y|A) == uReal.x * Sum(r|A,y|A)
    by Th55,A6,SURREALO:def 10,SURREALR:54;
    then X*Sr == uReal.x * Sum(r|A,y|A) by SURREALO:4;
    then uReal.x * Sum(r|A,y|A) == Sxr by A70,SURREALO:4;
    hence thesis by A7,SURREALO:4;
  end;
  for A being Ordinal holds P[A] from ORDINAL1:sch 2(A2);
  hence thesis;
end;

theorem Th79:
  for y being positive decreasing_infinitely Surreal-Sequence
    for x being Real st A c= dom r/\dom y
  holds Sum((x(#)r) |A,y|A) == uReal.x * Sum(r|A,y|A)
proof
  let y be positive decreasing_infinitely Surreal-Sequence;
  let x be Real such that
A1: A c= dom r/\dom y;
  per cases;
  suppose x >0;
    hence thesis by A1,Lm5;
  end;
  suppose
A2: x=0;
    rng ((x(#)r) |A) c= {0}
proof
let y be object;
      assume y in rng ((x(#)r) |A);
      then consider a be object such that
A3:   a in dom ((x(#)r) |A) & ((x(#)r) |A).a=y by FUNCT_1:def 3;
      y = (x(#)r).a = x * (r.a) by A3,FUNCT_1 {X*Sr} <<R_Sxr
      hence thesis by A2,TARSKI:def 1;
    end;
    hence thesis by A2,Th66,SURREALN:47;
  end;
  suppose x <0;
    then reconsider mx=-x as positive Real;
A4: dom (mx(#)r)=dom r by VALUED_1:def 5;
    -(mx(#)r) = (-1) (#) (mx(#)r) by VALUED_1:def 6
    .= ((-1)*mx) (#)r by VALUED_2:16;
    then
A5: - Sum((mx(#)r) |A,y|A) == Sum((x(#)r) |A,y|A) by A4,A1,Th75;
    Sum((mx(#)r) |A,y|A) == uReal.mx * Sum(r|A,y|A) by A1,Lm5;
    then
A6: - Sum((mx(#)r) |A,y|A) == - (uReal.mx * Sum(r|A,y|A))
      = (- uReal.mx) * Sum(r|A,y|A) by SURREALR:10,58;
      (- uReal.mx) * Sum(r|A,y|A) == uReal.(-mx) * Sum(r|A,y|A)
    by SURREALN:56,SURREALR:54;
    then - Sum((mx(#)r) |A,y|A) == uReal.(-mx) * Sum(r|A,y|A) by A6,SURREALO:4;
    hence thesis by A5,SURREALO:4;
  end;
end;

definition
  let s be Surreal-Sequence;
  let a be Surreal;
  func s+a -> Surreal-Sequence means :Def17:
    dom it = dom s &
    for A st A in dom s holds it.A = s..A +a;
  existence
  A64:  xx= Sum(xr|B,y|B) + uReal.(xr.B + e) * y..B & B in A by A63;
    defpred P[object,object] means $2 = s..$1 +a;
A1:   for e being object st e in dom s ex u being object st P[e,u];
    consider IT be Function such that
A2:   dom IT = dom s &
      for e being object st e in dom s holds P[e,IT.e] from CLASSES1:sch 1(A1);
    for o being object st o in rng IT holds o is java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 51
    proof
      letuReal. ispositive;
A3:   o in rng IT;
      consider x be object such that
A4:   x in dom IT & IT.x = o by A3,FUNCT_1:def 3;
      IT.x = s..x +a by A2,A4;
      hence thesis by A4;
    end;
    then rng IT is surreal-membered;
    then reconsider IT as Surreal-Sequence
    by A2,SURREALC:def 9,ORDINAL1:def 7;
    take IT;
    thus thesis by A2;
  end;
  uniqueness
  proof
    let s1,s2 be Surreal-Sequence such that
A5: dom s1 = dom s &
      for O being Ordinal st O in dom s holds s1.O = s..O +a
    and
A6: dom s2 = dom s &
      for O being Ordinal st O in dom s holds s2.O = s..O+a;
    for x being object st x in dom s holds s1.x = s2.x
    proof
      let x be object such that
A7:   x in dom s;
      s1.x = s..x +a by       X*(+e/x  y.B)  (uReal.x)  (Real.rB+e/)*y.
      hence thesis by A6,A7;
    end;
    hence thesis by A5,A6,FUNCT_1:2;
  end;
end;

registration
  A68SURREALO
  let a be Surreal;
  cluster s+a -> strictly_decreasing;
  coherence
  proof
    let A,B be Ordinal such that
A1 Ain  indomsa;
    let sa,sb be Surreal such that
A2: sa=(s+a).A & sb=(s+a).B;
    A3:dom s = dom (s+a) & A in dom (s+a) by A1,Def17,ORDINAL1:10
    then s..A = s.A & s..B = s.B by A1,Def5;
    then sa= s..A +a > s..B +a
    by A1,A3,SURREALC:def 11,SURREALR:44,A2,Def17;
    hence thesis by A1,A2,A3,Def17;
  end;
end;

theorem
  
proof
  let s be Surreal-Sequence;
  dom (s+x) = dom s by Def17;
  then
A1:dom ((s+x) |A) = dom s /\A by RELAT_1:61;
A2:dom s /\A = dom (s|A) = dom (s|A+x) by Def17,RELAT_1:61;
  for z being object st z java.lang.StringIndexOutOfBoundsException: Range [2, 28) out of bounds for length 25
  proof
    let z be object;
    assume
A3: z in dom s /\A;
A4: ((s+x) |A).z = (s+x).z  A2:x=0;
    z in dom s by A3,XBOOLE_0:def 4;
    then
A5:  s.z =s..z & (s+x).z =s..z +x by Def5,Def17;
    (s|A)..z = (s|A).z = s.z by A2,A3,Def5,FUNCT_1:47;
    hence thesis by A3,A4,A5,A2,Def17;
  end;
  hence thesis by A1,A2,FUNCT_1:2;
end;

theorem Th81:
  rng (y+a) = rng y ++{a}
proof
A1dya)
A2:rng (y+a) c= rng y ++{aA dom (mx(#)r)=dom r by VALUED_1:def 5;
  proof
    let u be object such that
A3: u in rng (y+a);
    consider x be object such that
A4: x in dom (y+a) & (y+a).x = u by A3,FUNCT_1:def 3;
A5: (y+a).x = y..x + a by A4,A1,Def17;
A6: y..x = y.x in rng y by Def5,A4,A1,FUNCT_1:def 3;
    a in {a} by TARSKI:def 1;
    hence thesis by A4,A5,A6,SURREALR:def 8;
  end;
  rng y ++{a} c= rng (y+a)
  proof
    let ya be object such that
A7:   ya in rng y ++{a};
    consider i,j be Surreal such that
A8:   i in rng y & j in {a} & ya = i+j by A7,SURREALR:def 8;
    consider x be object such that
A9:   x in dom y & y.x = i by A8,FUNCT_1:def 3;
    j=a & i = y..x by Def5,A8,A9,TARSKI:def 1;
    then (y+a).x = i + j by A9,Def17;
    hence thesis by FUNCT_1:def 3,A1,A9,A8;
  end;
  hence thesis by A2;
end;

theorem Th82:
  for s being Surreal-Sequence st A in dom s holds
    (No_omega^ a) * (No_omega^ s)..A == (No_omega^ (s+a))..A
proof
  let s be Surreal-Sequence such that
A1: A in dom s;
A2:dom (No_omega^ s) = dom s by SURREALC:def 22;
  s.A = s..A by A1,Def5;
  then
A3:No_omega^ (s..A) = (No_omega^ s).A by A1,A2,SURREALC:def 22;
A4: dom (No_omega^ (s+a)) = dom (s+a) by SURREALC:def 22;
A5:dom s = dom (s+a) by Def17;
  then (s+a)..A=(s+a).A = s..A +a by A1,Def17,Def5;
  then (No_omega^ (s+a))..A = (No_omega^ (s+a)).A = No_omega^ (s..A +a)
    by A1,A5,A4,Def5,SURREALC:def 22;
  then (No_omega^ (s+a))..A == (No_omega^ (s..A)) * (No_omega^ a)
    by SURREALC:27;
  hence thesis by A1,A2,A3,Def5;
end;

Lm6: for a,b,c being Surreal,r,t being Real st a*b == c
       holds
     (a * uReal.r) * (b* uReal.t) == c * uReal.(r*t)
proof
  let a,b,c be Surreal,r,java.lang.StringIndexOutOfBoundsException: Range [4, 1) out of bounds for length 12
A1:a*b == c;
  set R=uReal.r,T=uReal.t,RT=uReal.(r*t);
  (a * R)*T == a * (R*T) == a * RT by SURREALN:57,SURREALR:54,69;
  then (a * R)*T == a * RT by SURREALO:9;
  then (R * a)*(T* b) ==(R*a)*T* b == a * RT *b by SURREALR:54,69;
  then (R * a)*(T* b) == a * RT *b == RT *(a*b) by SURREALR:69,SURREALO:java.lang.StringIndexOutOfBoundsException: Range [0, 73) out of bounds for length 60
  then (R*a)*(T* b) == RT *(a*b) == RT *c by A1,SURREALR:54,SURREALO:9;
  hence thesis by SURREALO:9;
end;

::Gonshor'86 Lemma 5.6
theorem Th83:
  for y being strictly_decreasing Surreal-Sequence st
    A c= dom r/\dom y
  holds
    Sum(r |A,(No_omega^ (y+a)) |A ) == No_omega^ a * Sum(r|A,(No_omega^ y) | A)
proof
  let y be strictly_decreasing Surreal-Sequence;
  set Ny = No_omega^ y,ya=y+a,Nya = No_omega^ ya, Na = No_omega^ a;
  defpred P[Ordinal] means $1 c= dom r/\dom y
    implies Sum(r |$1,Nya| end;
A1:for A being Ordinal st for C being Ordinal st C in A holds P[C] holds P[A]
  proof
    let A be Ordinal such that
A2: for C being Ordinal st C in A holds P[C];
    assume
A3: A c= dom r/\dom y;
    dom ya = dom y by Def17;
    then
A4: dom Nya = dom y = dom Ny by SURREALC:def 22;
    reconsider
       Sr=[{Sum(r|B,Ny|B) + uReal.(r.B - e) * Ny..B
              where B is Element of A,e: B in A},
           {Sum(r|B,Ny|B) + uReal.(r.B + e) * Ny..B
              where B is Element of A,e: B in A}] as Surreal by A3,A4,Th61;
    reconsider
       Sra=[{Sum(r|B,Nya|B) + uReal.(r.B - e) * Nya..B
               where B is Element of A,e: B in A},
            Sum(r|B,Nya|B) +uReal.(r.B + e) * Nya..B
               where B is Element of A,e: B in A}] as Surreal by A3,A4,Th61;
A5:  Unique_No Sr = Sum(r|A,Ny|A) & Unique_No Sra = Sum(r|A,Nya|A)
     by A3,A4,Th62;
     then
A6:  Sr == Sum(r|A,Ny|A) & Sra == Sum(r|A,Nya|A)
     by
A7:  Na * Sr = [comp(L_Na,Na,Sr,L_Sr) \/ comp(R_Na,Na
     comp(L_Na,Na,Sr,java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 7
A8:  L_(Na * Sr) << {Sra}
     proof
       let xx,yy be Surreal such that
A9:    xx in L_(Na * Sr) & yy in {Sra};
       per cases by A7,A9,A1:dom ((s+x) |A) = dom s /\A by RELAT_1:61;
       suppose xx in comp(L_Na,Na,Sr,L_Sr);
         then consider x1,y1 be Surreal such that
A10:      xx = x1*Sr + Na*y1 - x1*y1 & x1 in L_Na & y1 in L_Sr
         by SURREALR:def 15;
         consider
A11:     y1 = Sum(r|B,Ny|B) + uReal.(r.B - e) * Ny..B & B in A by A10;
A12:     Sum(r |B,Nya|B ) == Na * Sum(r|B,Ny| B)
         by A2,A11,A3,ORDINAL1:def 2;
A13:     B in dom y by A11,A3,XBOOLE_0:def 4;
         then y..B = y.B by Def5;
         then
A14:     Ny..B = Ny.B = No_omega^ (y..B) by Def5,A13,A4,SURREALC:def 22;
A15:     Na * Ny..B == Nya..B by Th82,A13;
A16:     Na*y1  == Na * Sum(r|B,Ny|B) + Na * (uReal.(r.B - e) * Ny..B)
         by A11,SURREALR:67;
         Na * (uReal.(r.B - e) * Ny..B) == uReal.(r.B - e) * (Na*Ny..B)
         == uReal.(r.B - e) * (Nya..B) by Th82,A13,SURREALR:54,69;
         then Na * (uReal.(r.B - e) * Ny..B)
         == uReal.(r.B - e) * (Nya..B) by SURREALO:4;
         then Na * Sum(  hence thesis by A1,A2,FUNCT_1:2;
         Sum(r |B,Nya|B ) + uReal.(r.B - e) * (Nya..B) by A12,SURREALR:43;
         then
A17:      Na*y1 == Sum(r |B,Nya|B ) + uReal.(r.B - e) * (Nya..B)
         by A16,SURREALO:4;
         per cases;
         suppose x1 = 0_No;
           then xx < Sum(r |A,Nya|A ) by A3,A4,A11,Th69,A10,A17,SURREALO:4;
           then xx < Sra by A6,SURREALO:4;
           hence thesis by A9,TARSKI:def 1;
         end;
         suppose x1 <> 0_No;
           then consider xL be Surreal, e2 such that
A18:       xL in L_a & x1 = (No_omega^ xL) * uReal.e2 by A10,SURREALC:22;
           Sum(r|A,Ny|A) is (Sum(r|B,Ny|B),Ny..B,r.B)_Term
           by A3,A4,A11,Th68;
           then
A19:       |. Sum(r|A,Ny|A) - ( Sum(r|B,Ny|B) + uReal.(r.B)* Ny..B) .|
           infinitely< Ny..B by SURREALC:def 14;
           y1 == Sum(r|B,Ny|B) + uReal.(r.B) * Ny..B - uReal.e * Ny..B
           by A11,Th30;
           then y1 + uReal.e * Ny..B == Sum(r|B,Ny|B) + uReal.(r.B) * Ny..B
             by SURREALR:41,42;
           then -(y1 + uReal.e * Ny..B)
             == -(Sum(r|B,Ny|B) + uReal.(r.B) * Ny..B) by SURREALR:65;
           then Sum(r|A,Ny|A) +- ( Sum(r|B,Ny|B) + uReal.(r.B)* Ny..B)
           == Sr + -(y1 + uReal.e * Ny..B) by A6,SURREALR:66;
           then |.Sr + -(y1 + uReal.e * Ny..B).| infinitely< Ny..B
           by A19,SURREALC:17,48;
           then |.Sr + -(y1 + uReal.e * Ny..B).| infinitely<
           uReal.e* Ny..B by SURREALC:13;
           then Sr + -(y1 + uReal.e * Ny..B) <=
           |.Sr + -(y1 + uReal.e * Ny..B).| < uReal.e * Ny..B
             by SURREALC:9,34;
           then
A20:       Sr + -(y1 + uReal.e * Ny..B) < uReal.e * Ny..B by SURREALO:9;
           Sr + -(y1 + uReal.e * Ny..B) =
           Sr + (- y1 + - uReal.e * Ny..B) by SURREALR:40
           .= Sr + - y1 - uReal.e * Ny..B by SURREALR:37;
           then Sr + - y1 < 0_No + uReal.e * Ny..B + uReal.e * Ny..B
           == 0_No + uReal.(e+e) * Ny..B by A20,SURREALR:41,Lm1;
           then
A21:       Sr- y1 < uReal.(e+e) * Ny..B by SURREALO:9;
           in {a &L_a < {a}bySURREALO:11,,TARSKIdef 1;
           then No_omega^ xL infinitely< Na by A18,SURREALC:25;
           then x1 infinitely<             xbe  
           then x1 infinitely< uReal.(1/4) * Na by SURREALC:13;
           then
A22:       x1 < uReal.(1/4)* Na by SURREALC:9;
A23:       uReal.(e+e) * Ny..B is positive by A14;
           x1 is positive by A18;
           then hence thesis byA5,S:ef8;
           (uReal.(e+e) * Ny..B)*(uReal.(1/4)* Na) by   end
           then
A24:       x1*(Sr- y1) < (uReal.(e+e) * Ny..B)*(uReal.(1/4)* Na)
           by SURREALO:4;
           (e+e)*(1/4) =e/2;
           then (uReal.(e+e)*  Ny..B)*(uReal.(1/4)* Na)
           == uReal.(e/2)*Nya..B by A15,Lm6;
           then x1*Sr + x1*(-y1) == x1*(Sr+- y1) < uReal.(e/2)*Nya..B
           by A24,SURREALO:4,SURREALR:67;
           then
A25:       x1*Sr + x1*(-y1) < uReal.(e/2)*Nya..B by SURREALO:4;
           xx = Na*y1 + (x1*Sr + - x1*y1) by A10,SURREALR:37
           .= Na*y1 + (x1*Sr + x1*(-y1)) by SURREALR:58;
           then xx
           < Sum(r |B,Nya|B ) + uReal.(r.B - e) * (Nya..B) + uReal.(e/2)*Nya..B
           = Sum(|B,|   uReal.(r.B  e +e/) * (ya..)
           by A17,A25,SURREALR:44,Th30;
           then xx <= Sum(r |B,Nya|B) + uReal.(r.B - e/2) * (Nya..B)
           by SURREALO:4;
           then xx < Sum(r |A,Nya|A ) by A3,A4,A11,Th69,SURREALO:4;
           then xx < Sra by A6,SURREALO:4;
           hence thesis by A9,TARSKI:def 1;
         end;
       end;
       suppose xx in comp(R_Na,Na,Sr,R_Sr);
         then consider x1,y1 be Surreal such that
A26:     xx = x1*Sr + Na*y1 - x1*y1 & x1 in R_Na & y1 in R_Sr
         by SURREALR:def 15;
         consider B be Element of A,e such that
A27:     y1 = Sum(r|B,Ny|B) + uReal.(r.B + e) * Ny..B & B in A by A26;
A28:     Sum(r |B,Nya|B ) == Na * Sum(r|B,Ny| B)
         by A2,A27,A3,ORDINAL1:def 2;
A29:     B in dom y by A27,A3,XBOOLE_0:def 4;
         then y..B = y.B by Def5;
         then
A30:     Ny..B = Ny.B = No_omega^ (y..B)
         by Def5,A29,A4,SURREALC:def 22;
A31:     y1 = Na * Sum(|BNy|B)+Na *(uReal.(.B + e)*Ny.B)
         by A27,SURREALR:67;
         Na * (uReal.(r.B + e) * Ny..B) == uReal.(r.B + e) * (Na*Ny..B)
         == uReal.(r.B + e) * (Nya..B) by Th82,A29,SURREALR:54,69;
         then Na * (uReal.(r.B + e) * Ny..B)
         == uReal.(r.B + e) * (Nya..B) by SURREALO:4;
         then Na * Sum(r|B,Ny|B) + Na * (uReal.(r.B + e) * Ny..B) ==
         Sum(r |B,Nya|B ) + uReal.(r.B + e) * (Nya..B) by A28,SURREALR:43;
         then
A32:     Na*y1 == Sum(r |B,Nya|B) + uReal.(r.B + e) * (Nya..B)
         by A31,SURREALO:4;
         consider xR be Surreal, e2 such that
A33:     xR in R_a & x1 = (No_omega^ xR) * uReal.e2
         by A26,SURREALC:23;
         Sum(r|A,Ny|A) is (Sum(r|B,Ny|B),Ny..B,r.B)_Term
         by A3,A4,A27,Th68;
         then
A34:     |. Sum(r|A,Ny|A) - ( Sumthen ( *)) =(*)T  =a java.lang.StringIndexOutOfBoundsException: Range [45, 44) out of bounds for length 66
         infinitely< Ny..B by SURREALC:def 14;
         y1 == Sum(r|B,Ny|B) + uReal.(r.B) * Ny..B + uReal.e * Ny..B
         by A27,Th30;
         then y1 - uReal.e * Ny..B == Sum(r|B,Ny|B) + uReal.(r.B) * Ny..B
         by SURREALR:41,42;
         then -(y1 - uReal.e * Ny..B)== -(Sum(r|B,Ny|B) + uReal.(r.B) * Ny..B)
         by SURREALR:65;
         then Sum(r|A,Ny|A) +- ( Sum(r|B,Ny|B) + uReal.(r.B)* Ny..B)
         == Sr + -(y1 - uReal.e * Ny..B) by A6,SURREALR          * a)*(T* b) == a *RT *b == RT *(a*b) by SURREALR:69,SURREALO:9;
         then |.Sr + -(y1 - uReal.e * Ny..B).| infinitely< Ny..B
         by A34,SURREALC:17,48;
         then |.Sr + -(y1 - uReal.e * Ny..B).| infinitely< uReal.(e/2)* Ny..B
         by SURREALC:13;
         then (Sr + -(y1 - uReal.e * Ny..B))
           <= |.Sr + -(y1 - uReal.e * Ny..B).|
           < uReal.(e/2)*  Ny..B by SURREALC:9,34;
         then
A35:       (Sr + -(y1 - uReal.e * Ny..B)) < uReal.(e/2)*  Ny..B
           by SURREALO:4;    Sum( |A(^ya) A  = ^a  Sumr|A,(java.lang.StringIndexOutOfBoundsException: Range [71, 70) out of bounds for length 79
         Sr + -(y1 - uReal.e * Ny..B) = Sr + (- y1 + - - uReal.e * Ny..B)
           by SURREALR:40
         .= Sr + - y1 + uReal.e * Ny..B by SURREALR:37;
         then 0_No + (uReal.(e/2-e)*  Ny..B) ==
         0_No + (uReal.(e/2) * Ny..B) - uReal.e * Ny..B
         >  Sr + - y1 by A35,SURREALR:42,Th30;
         then
A36:     (uReal.(-e/2) * Ny..B) > Sr + - y1 by SURREALO:9;
A37:     Ny..B is positive by A30;
         uReal.(-2*e) < uReal.0 =0_No by SURREALN:47,51;
         then
A38:     0_No > (uReal.(-2*e) * Ny..B) by A37,SURREALR:74;
A39:     x1 is positive by A33;
         a in {a}<<R_a by SURREALO:11,TARSKI:def 1;
         then Na  infinitely< No_omega^ xR  by A33,SURREALC:25;
         then Na infinitely< x1 by A33,SURREALC:13assume
         then Na infinitely< uReal.(1/4) * x1 by SURREALC:13;
         then Na < uReal.(1/4) * x1 by SURREALC:9;
         then Na * (uReal.(-2*e)*  Ny..B) >
         (uReal.(-2*e)*  Ny..B) *(uReal.(1/4) *x1)
         == uReal.((-2*e)*(1/4)) * (Ny..B *x1)
         by A38,SURREALR:71,Lm6;
         then Na * (uReal.(-2*e) * Ny..B) >
         uReal.(-e/2) * (Ny..B *x1) == (uReal.(-e/2              where Bis Elementof Ae:B A},
         by SURREALO:9,SURREALR:69;
         then Na * (uReal.(-2*e) * Ny..B) >
         (uReal.(-e/2) * Ny..B) * x1 by SURREALO:4;
         then
A40:     Na * (uReal.(-2*e) * Ny..B) >=
         (uReal.(-e/2) * Ny..B) *x1 by SURREALO:6;
         (uReal.(-e/2) * Ny..B) *x1 > (Sr + - y1) *x1
         by A36,A39,SURREALR:70;
         then
A41:     Na * (uReal.(-2*e) * Ny..B) > (Sr + - y1) *x1 by A40,SURREALO:9;
         Na * (uReal.(-2*e) * Ny..B)
         == uReal.(-2*e) * (Na*Ny..B) == uReal.(-2*e)* Nya..B
         by SURREALR:54,69,Th82,A29;
         then Na * (uReal.(-2*e) * Ny..B) == uReal.(-2*e)* Nya..B
         by SURREALO:9;
         then
A42:     (Sr + - y1) *x1 < uReal.(-2*e)* Nya..B by A41,SURREALO:9;
         x1*Sr + x1*(-y1) == x1*(Sr+- y1) by SURREALR:67;
         then
A43:     x1*Sr + x1*(-y1) < uReal.(-2*e)*Nya..B
         by SURREALO:4,A42;
         xx = Na*y1 + (x1*Sr + - x1*y1) by A26,SURREALR:37
         .= Na*y1 + (x1*Sr + x1*(-y1)) by SURREALR:58;
         then xx
         < Sum(r |B,Nya|B ) + uReal.(r.B + e) * (Nya..B) + uReal.(-2*e)*Nya..B
         == Sum(r |B,Nya|B ) + uReal.(r.B + e +-2* e) * (Nya..B)
         by A32,A43,SURREALR:44,Th30;
         then
A44:     xx <= Sum(r |B,Nya|B ) + uReal.(r.B +e+- 2*e) * (Nya..B)
         by SURREALO:4;
(r|B)+uRealrB-  * N.B  r A,NyaA )
         by A3,A4,A27= (.B-e)  Nya..  Th82A13,:54,69;
         then xx < Sum(r |A,Nya|A )          then Na * (uReal.(r.B - e) * Ny..B)
         then xx < Sra by A6,SURREALO:4;
         hence thesis by A9,TARSKI:def 1;
       end;
     end;
A45: {Sra} << R_(Na*Sr)
     proof
       let yy,xx be Surreal such that
A46:   yy in {Sra} & xx in R_(Na * Sr);
       per cases by A7,A46,XBOOLE_0:def 3;
       suppose xx in comp(L_Na,Na,Sr,R_Sr);
         then consider x1,y1 be Surreal such that
A47:     xx = x1*Sr + Na*y1 - x1*y1 & x1 in L_Na & y1 in R_Sr
         by SURREALR:def 15;
         consider B be Element of A,e such that
A48:     y1 = Sum(r|B,Ny|B) + uReal.(r.B + e) * Ny..B & B in A by A47;
A49:     Sum(r |B,Nya|B ) == Na * Sum(r|B,Ny| B)
         by A3,A48,ORDINAL1:def 2,A2;
A50:     B in dom y by A48,A3,XBOOLE_0:def 4;
         then y..B = y.B by Def5;
         then
A51 Ny.B  Ny. No_omega (.B)by Def5,50,A4,URREALCdef ;
A52:     Na * Ny..B == Nya..B by Th82,A50;
A53:     Na*y1  == Na * Sum(r|B,Ny|B) + Na * (uReal.(r.B + e) * Ny           then -y1 +uReal. *Ny.
         :;
         Na * (uReal.(r.B + e) * Ny..B) == uReal.(r.B + e) * (Na*Ny..B)
         == uReal.(r.B + e) * (Nya..B) by Th82,A50,SURREALR:54,69;
         then Na * (uReal.(r.B + e) * Ny..B)
         == uReal.(r.B + e) * (Nya..B) by SURREALO:4;
         henNa  Sum(|BN|B)+Na *uReal.r. +e)*Ny.B)=
         Sum(r |B,java.lang.StringIndexOutOfBoundsException: Range [11, 1) out of bounds for length 61
         then
A54:     Na*y1 == Sum(r |B,Nya|B ) + uReal.(r.B + e) * (Nya..B)
         by A53,SURREALO:4;
         per cases;
         suppose x1 = 0_No;
           then xx > Sum(r |A,Nya|A ) by A3,A4,A48,Th69,A54,A47,SURREALO:4;
           then xx > Sra by A6,SURREALO:4;
           hence thesis by A46,TARSKI:def 1;
         end;
         suppose x1 <> 0_No;
           then consider xL be Surreal, e2 such that
A55:       xL in L_a & x1 = (No_omega^ xL) * uReal.e2 by A47,SURREALC:22;
           Sum(r|A,Ny|A) is (Sum(r|B,Ny|B),Ny..B,r.B)_Term
           y A4A48,;
           then
A56:       |. Sum(r|A,Ny|A) - ( Sum(r|B,Ny|B) + uReal.(r.B)* Ny..B) .|
           infinitely< Ny..B by SURREALC:def 14;
           y1 == Sum(r|B,Ny|B) + uReal.(r.B) * Ny..B + uReal.e * Ny..B
           by A48,Th30;
           then y1 - uReal.e * Ny..B == Sum(r|B,Ny|B) + uReal.(r.B) * Ny..B
           by SURREALR:41,42;
           then -(y1 - uReal.e * Ny..B)
           == -(Sum(r|B,Ny|B) + uReal.(r.B) * Ny..B)
           byA23:uReal.e+  Ny.BbyA14
           then Sum(r|A,Ny|A) +- ( Sum(r|B,Ny|B) + uReal.(r.B)* Ny..B)
           == Sr + -(y1 - uReal.e * Ny..B) by A6,SURREALR:66;
           then |.Sr + -(y1 - uReal.e * Ny..B).| infinitely< Ny..B
           by A56,SURREALC:17,48;
           then |.Sr + -(y1 - uReal.e * Ny..B).| infinitely< uReal.e* Ny..B
           by SURREALC:13;
           then |.Sr + -(y1 - uReal.e * Ny..B).| < uReal.e *Ny..B
           by SURREALC:9;
           then
A57:       (Sr + -(y1 - uReal.e * Ny..B)) > -(uReal.e*  Ny..B) by SURREALC:52;
           Sr + -(y1 - uReal.e * Ny..B) =
           Sr + (- y1 + - - uReal.e * Ny..B) by SURREALR:40
           .= Sr + - y1 + uReal.e * Ny..B by SURREALR:37;
           then
A58:       - (uReal.e * Ny..B) - uReal.e * Ny..B
           < Sr + - y1 by A57,SURREALR:41;
           0_No + uReal.e * Ny..B +uReal.e * Ny..B ==
           0_No + uReal.(e+e) * Ny..B by Th30;
           then - (uReal.e * Ny..B) + - uReal.e * Ny..B =
           - (uReal.e * Ny..B +uReal.e * Ny..B) ==
           - (uReal.(e+e) * Ny..B) by SURREALR:40,SURREALR:10;
           then
A59:       - (uReal.(e+e) * Ny..B) < Sr + - y1 by A58,SURREALO:9;
           a in {a} & L_a << {a} by SURREALO:11,TARSKI:def 1;
           then No_omega^ xL infinitely< Na by A55,SURREALC:25;
           then x1 infinitely< Na by A55,SURREALC:13;
           then x1 infinitely< uReal.(1/4)* Na by SURREALC:13;
           then
A60:       x1 < uReal.(1/4)* Na by SURREALC:9;
           uReal.(e+e) * Ny..B is positive by A51;
           then
A61:       - (uReal.(e+e) * Ny..B) < -0_No by SURREALR:10;
           x1 is positive by A55;
           then
A62:       x1*(Sr- y1) > (- (uReal.(e+e) * Ny..B))*x1
           > (-(uReal.(e+e) * Ny..B))*(uReal.(1/4)* Na)
           by A61,A60,A59,SURREALR:70,71;
           then x1*(Sr- y1) >= (- (uReal.(e+e) * Ny..B))*x1
           by SURREALO:6;
           then
A63:       x1*(Sr- y1) > (-(uReal.(e+e) * Ny..B))*(uReal.(1/4
           = -( (uReal.(e+e) * Ny..B)*(uReal.(1/4)* Na))
           by A62,URREALO4SURREALR:58;
           e+e)*1/)=e/2;
           then (uReal.(e+e)* Ny..B)*(uReal.by A27,SURREALR:;
           == uReal.(e/2)*Nya..B
           by A52,Lm6;
           then - ((uReal.(e+e)* Ny..B)*(uReal.(1/4)* Na))
           == -(uReal.(e/2)*Nya..B) by SURREALR:10;
           then x1*Sr + x1*(-y1) == x1*(Sr+- y1) > - uReal.(e/2)*Nya..B
           by SURREALR:67,A63,SURREALO:4;
           then
A64:       x1*Sr + x1*(-y1) > - uReal.(e/2)*Nya..B by SURREALO:4;
           xx = Na*y1 + (x1*Sr + - x1*y1) by A47,SURREALR:37
           A31,URREALO:;
           then xx
            > Sum(r|B,Nya|B) + uReal.(r.B + e) * (Nya..B)-uReal.(e/2)*Nya..B
            == Sum(r|B,Nya|B) + uReal.(r.B + e - e/2) * (Nya..B)
           by A54,A64,SURREALR:44,Th30;
           then xx > Sum(r |B,Nya|B ) + uReal.(r.B + e/2) * (Nya..B)
           by SURREALO:4;
           then xx >= Sum(r |B,Nya|B ) + uReal.(r.B + e/2) * (Nya..B)
           by SURREALO:6;
           then xx > Sum(r |A,Nya|A ) by A3,A4,A48,Th69,SURREALO:4;
           then xx > Sra by A6,SURREALO:4;
           encejava.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 44
         end;
       end;
NaSrL_Sr);
         then consider x1,y1 be Surreal such that
A65:     xx = x1*Sr + Na*y1 - x1*y1 & x1 in R_Na &          then -(y1 - uReal.e * Ny..B)== -(Sum(r|B,Ny|.(.B)  Ny.B)
         by SURREALR:def 15;
         consider B be Element of A,e such that
A66:     y1 = Sum(r|B,Ny|B) + uReal.(r.B - e) * Ny..B & B in A by A65;
A67:     Sum(r |B,Nya|B ) == Na * Sum(r|B,Ny| B) by A2,A66,A3,ORDINAL1:def 2;
A68:     B in dom y by A66,A3,XBOOLE_0:def 4;
         then y..B = y.B by Def5;
         then
A69:     Ny..B = Ny.B = No_omega^ (y..B) by Def5,A68,A4,SURREALC:def 22;
A70:     Na * Ny..B == Nya..B by Th82,A68;
71*y1== Sum(rB,NyB)  Na * (uReal.(r.B e  .B
         A66SURREALR67java.lang.StringIndexOutOfBoundsException: Range [28, 29) out of bounds for length 28
         Na * (uReal.(r.B - e) * Ny..B) == uReal.(r.B - e) * (Na*Ny..B)
         == uReal.(r.B - e) * (Nya..B) by Th82,A68,SURREALR:54,69;
         then Na * (uReal.(r.B - e) * Ny..B)
         == uReal.(r.B - e) * (Nya..B) by SURREALO:4;
         then Na * Sum(r|B,Ny|B) + Na * (uReal.(r.B - e) * Ny..B) ==
         Sum(r |B,Nya|B ) + uReal.(r.B - e) * (Nya..B) by A67,SURREALR:43;
         then A72: Na*y1 == Sum(r |B,Nya|B ) + uReal.(r.B - e) * (Nya..B)
         by A71,SURREALO:4;
         consider xR be Surreal, e2 such that
A73:     xR in R_a & x1 = (No_omega^ xR) * uReal.e2 by A65,SURREALC:23;
         r||A is Sum(|BNy|B),.,B_
         by A3,A4,A66,Th68;
         then
A74:     |. Sum(r|A,Ny|A) - ( Sum(r|B,Ny|B) + uReal.(r.B)* Ny..B) .|
         infinitely< Ny..B by SURREALC:def 14;
         y1 == Sum(r|B,Ny|B) + uReal.(r.B) * Ny..B - uReal.e * Ny..B
         by A66,Th30;
         then y1 + uReal.e * Ny..B == Sum(r|B,Ny|B) + uReal.(r.B) * Ny..B
         by SURREALR:41,42;
         then -(y1 + uReal.e * Ny..B) == -(Sum(r|B,Ny|B)+ uReal.(r.B)* Ny..B)
         by SURREALR:65;
         then Sum(r|A,Ny|A) +- ( Sum(r|B,Ny|B) + uReal.(r.B)* Ny..B)
         == Sr + -(y1 + uRealby SURREALO:9SURREALR:
         then |.Sr + -(y1 + uReal.e * Ny..B).| infinitely< Ny..B
         by A74,SURREALC:17,48;
         then |.Sr + -(y1 + uReal.e * Ny..B).| infinitely< uReal.(e/2)* Ny..B
         by SURREALC:13;
         then
A75:     |.Sr + -(y1 + uReal.e * Ny..B).|
         < uReal.(e/2) * Ny..B by SURREALC:9;
         Sr + -(y1 + uReal.e * Ny..B) =
         Sr + (- y1 + - uReal.e * Ny..B) by SURREALR:40
         .= Sr + - y1 + - uReal.e * Ny..B by SURREALR:37;
         then Sr + - y1 - uReal.e * Ny..B > - uReal.(e/2) * Ny..B
         by A75,SURREALC:52;
         then 0_No + (uReal.(e-e/2) * Ny..B) ==
         0_No+ uReal.e * Ny..B - (uReal.(e/2) * Ny..B)
         < Sr + - y1 by SURREALR:42,Th30; then
A76:     (uReal.(e/2) * Ny..B) < Sr + - y1 by SURREALO:9;
A77:     Ny..B is positive by A69;
         uReal.(e/2) > uReal.0 =0_No by SURREALN:47,51;
         then
A78:     0_No < (uReal.(e/2) * Ny..B) by A77,SURREALR:72;
A79:     x1 is positive by A73;
         uReal.0 = 0_No=uReal.0 thenNa  ((-2e) *Ny.B)==uReal.-*e*Nya.B
         then
A80:     0_then
         a in {a}<<R_a by SURREALO:11,TARSKI:def 1;
         then Na infinitely< No_omega^ xR by A73,SURREALC:25;
         then Na infinitely< x1 java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
         then Na infinitely< uReal.(1/4) * x1 by SURREALC:13;
         then Na < uReal.(1/4) * x1 by SURREALC:9;
         then Na * (uReal.(e/2) * Ny..B) <=
         (uReal.(e/2) * Ny..B) * (uReal.(1/4) * x1)
         < (Sr + - y1) * (uReal.(1/4) *x1) by A78,A76,A80,SURREALR:70;
         then
A81:     Na * (uReal.(e/2) * Ny..B) < (Sr + - y1) *(uReal.(1/4) *x1)
           by SURREALO:9;
         uReal.0 =0_No=uReal.0 < uReal.4 by SURREALN:47,51;
         then
A82: Na * (uReal.(e/2) * Ny..B) * uReal.4
         < (Sr + - y1) * (uReal.(1/4) *x1) * uReal.4 by A81,SURREALR:70;
         (Sr + - y1) * (uReal.(1/4) * x1) * uReal.4
         == (uReal.(1/4) * x1)*((Sr + - y1) * uReal.4)
         == uReal.(1/4*4) * (x1*(Sr + - y1))
         by SURREALR:69,Lm6;
         then (Sr + - y1) *(uReal.(1/4) * x1) * uReal.4
         == uReal.1 *(x1*(Sr + - y1)) = x1 * (Sr + - y1)
         by SURREALO:9,SURREALN:48;
         then
A83:     Na * (uReal.(e/2) * Ny..B) * uReal.4 < x1*(Sr + - y1)
         by A82,SURREALO:9;
         Na * (uReal.(e/2) * Ny..B) * uReal.4 ==
         uReal(/2) * Ny.B)*(Na*uReal.4)==
         uReal.(e/2*4) * Nya..B by A70,SURREALR:69,Lm6;
         then Na * (uReal.(e/2)*  Ny..B) * uReal.4 ==
         uReal.(2*e) * Nya..B by SURREALO:9;
         then
A84:     (uReal.(2*e) * Nya..B) < (Sr + - y1)*x1
         by A83,SURREALO:9;
         x1*Sr + x1*(-y1) == x1*(Sr+- y1) by SURREALR:67;
         then
A85:     x1*Sr + x1*(-y1) > uReal.(2*e)*Nya..B
         by A84,SURREALO:4;
         xx = Na*y1 + (x1*Sr + - x1*y1) by A65,SURREALR:37
         .= Na*y1 + (x1*Sr + x1*(-y1)) by SURREALR:58;
         then xx
          > Sum(r |B,Nya|B ) + uReal.(r.B - e) * (Nya..B) + uReal.(2*e)*Nya..B
          = Sum(r |B,Nya|B ) + uReal.(r.B - e +2* e) * (Nya..B)
         by A72,A85,SURREALR:44,Th30;
         then xx > Sum(r|| )  uReal.(r.B -e+2*e)*(Nya.B)
         by SURREALO:4;
         then
A86:     xx >= Sum(r |B,Nya|B ) + uReal.(r.B +e) * (Nya..B) java.lang.StringIndexOutOfBoundsException: Range [0, 62) out of bounds for length 10
         Sum(r |B,Nya|B ) + uReal.(r.B + e) * (Nya..B) > Sum(r |A,Nya|A )
         by A3,A4,A66,Th69;
         then xx > Sum(r |A,Nya|A ) by A86,SURREALO:4;
         then xx > Sra by A6,SURREALO:4;
         hence thesis by A46,TARSKI:def 1;
       end;
     end;
A87 L_Sra<NSrjava.lang.StringIndexOutOfBoundsException: Range [21, 22) out of bounds for length 21
     proof
       let xx,yy be Surreal such that
A88:   xx in L_Sra & yy in {Na*Sr};
       consider B be Element of A,e such that
A89:   xx = Sum(r|B,Nya|B) + uReal.(r.B - e) * Nya..B & B in A by A88;
A90:   Sum(r |B,Nya|B ) == Na * Sum(r|B,Ny| B) by A3,A2,A89,ORDINAL1:def 2;
A91:   B in dom y by A89,A3,XBOOLE_0:def 4;
A92:   0_No < Na by SURREALI:def 8;
       Sum(r|B,Ny|B) + uReal.(r.B - e) * Ny..B < Sr
       by A6,SURREALO:9,A3,A4,A89,Th69;
       then
A93:   (Sum(r|B,Ny|B) + uRealNa*(uReal.(r.+e) *Ny.B)= uReal(rB+ )  (N..B)
       by A92,SURREALR:70;
       (uReal.(r.B - e) * Ny..B)*Na == uReal.(r.B - e) * (Ny..B*Na)
       == uReal.(r.B - e) * Nya..B by Th82,A91,SURREALR:54,69;
       then (uReal.(r.B - e) * Ny..B)*Na == uReal.(r.B - e) * Nya..B
       by SURREALO:4;
       then (Sum(r|B,Ny|B) + uReal.(r.B - e) * Ny..B)*Na ==
       Sum(r|B,Ny|B)*Na + (uReal.(r.B - e) * Ny..B)*Na
       == xx by A89,A90,SURREALR:66,67;
       then (Sum(r|B,Ny|B) + uReal.(r.B - e) * Ny..B)*Na == xx by SURREALO:4;
       then xx < Sr * Na by A93,SURREALO:4;
       hence thesis by A88,TARSKI:def 1;
     end;
     {Na*Sr} << R_Sra
     proof
       let yy,xx be Surreal such that
A94:   yy in {Na*Sr} & xx in R_Sra;
       consider B be Element of A,e such that
A95:   xx = Sum(r|B,Nya|B) + uReal.(r.B + e) * Nya..B & B in A by A94;
A96:   Sum(r|B,Nya|B) == Na * Sum(r|B,Ny| B) by A2,A3,A95,ORDINAL1:def 2;
A97:   B in dom y by A95,A3,XBOOLE_0:def 4;
A98:   0_No < Na by SURREALI:def 8;
       Sum(r|B,Ny|B) + uReal.(r.B + e) * Ny..B > Sr
       by A3,A4,A95,Th69,A6,SURREALO:9;
       then
A99:   (Sum(r|B,Ny|B) + uReal.(r.B + e) * Ny..B)*Na > Sr * Na
       by A98,SURREALR:70;
       (uReal.(r.B + e) * Ny..B)*Na == uReal.(r.B + e) * (Ny..B*Na)
       == uReal.(r.B + e) * Nya.thenconsider xL be Surreal, e2 such that
       then (uReal.(r.B + e) * Ny..B)*Na == uReal.(r.B + e) * Nya..B
       by SURREALO:4;
       then (Sum(r|           Sum(r|A,Ny|A) is (Sum(r|B,Ny|B),Ny..B,r.B)_Term
       Sum(r|B,Ny|B)*Na + (uReal.(r.B + e) * Ny..B)*Na
       == xx by A95,A96,SURREALR:66,67;
       then (Sum(r|B,Ny|B) + uReal.(r.B + e) * Ny..B)*Na == xx by SURREALO:4;
       then xx > Sr * Na by A99,SURREALO:4;
       hence thesis by A94,TARSKI:def 1;
     end;
     then Sra == Na*Sr == Na * Sum(r|A,Ny|A)
      by A5,A8,A45,A87,SURREAL0:43,SURREALO:def 10,SURREALR:54;
     then Sra == Na * Sum(r|A,Ny|A) by SURREALO:4;
     sisby A6,SURREALO:4;
   end;
   for A being Ordinal holds P[A] from ORDINAL1:sch 2(A1);
   hence thesis;
end;

reserve S,T for non empty Ordinal;

definition
  let S,T be non empty Ordinal;
  let y,z be strictly_decreasing Surreal-Sequence;
  let r,s be Sequence of REAL;
  let a be Surreal;
  func Partial_Sums(y,z,r,s,a,S,T) -> Real equals
    addreal $$ ( (y,z,S,T) += a, Product(r,s,S,T));
  coherence;
end;

theorem Th84:
  dom y c= S & dom z c= T implies
    Partial_Sums(y,z,r,s,a,S,T) = Partial_Sums(z,y,s,r,a,T,S)
proof
  assume
A1: dom y c= S & dom z c= T;
  set S1 = (y,z,S,T) += a,S2=(z,y,T,S) += a;
  set AD1 = Product(r,s,S,T), AD2=Product(s,r,T,S);
  defpred P[object,object] means
  for i,j being object st $1=[i,j] holds $2=[j,i];
A2:S1 c= [:S,T:] & S2 c= [:T,S:] by FINSUB_1:def 5;
A3:for e being object st e in S1 ex u being object st P[e,u]
  java.lang.StringIndexOutOfBoundsException: Range [11, 1) out of bounds for length 57
    let e be object;
    assume e in S1;
    java.lang.StringIndexOutOfBoundsException: Range [11, 5) out of bounds for length 15
A4 i in S  j in T&e= [i,j]by A2,ZFMISC_1:def 2;
    take [j,i];
    let i1,j1 be object;
    assume e=[i1,j1];
    theni1=i & j1=j by A4,XTUPLE_0:1;
    hence thesis;
  end;
  consider TR be Function such that
A5: dom TR = S1 & for e being object st e in S1 holds P[e,TR.e]
  from CLASSES1:sch 1(A3);
A6: rng TR c= ..B is positive by A51;
  proof
    let f be object;
    assume f in rng TR;
    then consider e be object such that
A7: e in dom TR & TR.e =f by FUNCT_1:def 3;
    consider i,j be object such that
A8: i in S & j in T & e = [i,j] by A7,A5,A2,ZFMISC_1:def 2;
    reconsider i,j as Ordinal by A8;
    i in dom y & j in dom z & y..i + z..j == a by A8,A1,A7,A5,Def16;
    then [j,i] in S2 by A1,Def16;
    hence thesis by A5,A7,A8;
  end;
  S2 c= rng TR
  proof
    let f be object;
    assume
A9: f in S2;
    then consider i,j be object such that
A10: i in T & j in S & f = [i,j] by A2,ZFMISC_1:def 2;
    reconsider i,j as Ordinal then (uReal.(e+e)* NyB)*uReal.(1/4)* Na)
    i in dom z & j in dom y & z..i + y..j == a by A10,A1,A9,Def16;
    then
A11: [j,i] in S1 by A1,Def16;
    TR. [j,i] = f by A10,A5,A11;
    hence thesis by A11,A5,FUNCT_1:def3java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
  end;
  then
A12: rng TR = S2 by A6;
A13:then
  proof
    let x1,x2 be object such that
A14: x1 in dom TR & x2 in dom TR & TR.x1=TR.x2;
    consider i1,j1 be object such that
A15: i1 in S & j1 in T & x1 = [i1,j1] by A14,A5,A2,ZFMISC_1:defthen xx
    consider i2,j2 be object such that
A16: i2 in S & j2 in T & x2 = [i2,j2] by A14,A5,A2,ZFMISC_1:def 2;
    TR.x1 = [j1,i1] & TR.x2 = [j2,i2] by A5,A14,A152== Sum(r|B,Nya|B) +uReal.r. +e-e/2)*(Nya.B
    then j1=j2 & i1=i2 by A14,XTUPLE_0:1;
    hence thesis by A15,A16;
  end;
  dom AD2 = [:T,S:] by FUNCT_2:def 1;
  then
A17: dom (AD2*TR) = dom TR  by A2,A12,RELAT_1:27;
  dom AD1 = [:SbySURREALO:6;
  then
A18: dom (AD1|S1) = S1 by A2,RELAT_1:62;
  for e being object st e in S1 holds (AD1|S1).e = (AD2*TR).e
  proof
    let e be object;
    assume
A19:e in S1;
    then consider i,j be object such that
A20: i in S & j in T & e = [i,j] by A2,ZFMISC_1:def 2;
    reconsider i,j as Ordinal by A20;
A21: AD1.e = AD1.(i,j) = r.i * s.j by Def15,A20,BINOP_1:def 1;
    TR.e = [j,i] by A5,A19,A20;
    then (AD2*TR).e = AD2.[j,i] by FUNCT_1:12,A17,A5,A19
    .= AD2.(j,i) by BINOP_1:def 1
    .,A20;
    hence thesis by A19,FUNCT_1:49,A21;
  end;
  then AD1|S1 = AD2*TR by A5,A17,A18,FUNCT_1:2;
  hence thesis by A5,A13,A12,SETWOP_2:then y..B = y.B by Def5;
end;

theorem Th85:
  for r12 being Sequence of REAL st
    r1^r2 = r12 & dom y c= dom r1 & dom y c= S & dom z c= T
  holds Partial_Sums(y,z,r1,s,a,S,T) = Partial_Sums(y,z,r12,s,a,S,T)
proof
  let r12 be Sequence of REAL such that
A1: r1^r2 = r12 & dom y c= Na *(uReal.(r. -e) *Ny..B) ==uReal.r. -e) *(Na*Ny.B)
  set S1         = uReal(B  e)*(ya..)by ,A68SURREALR:54;
  set AD1 = Product(r1,s,S,T),AD12 = Product(r12,s,S,T);
A2: S1 c= [:S,T:] by FINSUB_1:def 5;
  dom AD12 = [:S,T:] & dom AD1 = [:S,T:] by FUNCT_2:def 1;
  then
A3: dom (AD12|S1)=S1 = dom (AD1|S1) by A2,RELAT_1:62;
  for x being object st x in S1 holds (AD12|S1).x = (AD1|S1).x
  proof
    let x be object such that
A4: x in S1;
    consider i,j be object such that
A5: i in S & j in T & x = [i,j] by A2,A4,ZFMISC_1:def 2;
    reconsider i,j as Ordinal by A5;
A6: i in dom y & j in dom z & y..i + z..j == a by A5,A1,A4,Def16;
    by A3,4,A66,Th68;
    then
A7: (AD12|S1).x = r12.i * s.j by A5,Def15;
    (AD1|S1).x = AD1.x = AD1.(i,j) by A4,A5,FUNCT_1:49,BINOP_1:def 1;
    then (AD1|S1).x = r1.i * s.j by A5,Def15;
    hence thesis by A7,A1,A6,ORDINAL4:def 1;
  end;
  java.lang.StringIndexOutOfBoundsException: Range [7, 6) out of bounds for length 40
  hence thesis by SETWOP_2:7;
end;

Th86:
  y1^y2 = y12 & r1^r2 = r12 & dom y12 c= S & dom z== Sr + -(y1 + uReal.e * Ny..B) by A6,SURR:66;
    dom y1 = dom r1 & dom          hen |.Sr + -(y1 + uReal.e * Ny..B).| infinitely< Ny..B
  implies
    Partial_Sums(y12,z,r12,s,a,S,T)

    Partial_Sums(y1,z,r1,s,a,S,T) + Partial_Sums(y2,z,r2,s,a,S,T)
proof
  assume that
A1 ^=y12 & r1r2 =r12&domy12 c= S&dom zc=T and
A2: dom y1 = dom r1 & dom y2 c= dom r2;
  set S1 = (y1,z,S,T) += a,
      S2=(y2,z,S,T) += a,
      S12=(y12,z,S,T) += a;
  set AD1 = Product(r1,s,S,T),
      AD2=Product(r2s,,,
      AD12 = Product(r12,s,S,T);
3c dy1)+^dom y2)=dom y12 &
  dom y2  c= (dom y1)+^(dom y2) by A1,ORDINAL3:24,ORDINAL4:def 1;

A4:dom y1 c= S & dom y2 c= S by A1;
  then
A5: Partial_Sums(y1,z,r1,s,a,S,T) =Partial_Sums(y1,z,r12,s,a,S,T)
    by Th85,A1,A2;
  set SS= S12\S1;
 [:S,: by FINSUB_1:ef 5;
A7: S1\/ SS= S12\/S1 by XBOOLE_1:39;
  S1 c= S12
  proof
    let x be object such that
A8: x in S1;
    consider i,j be object such that
A9: i in S & j in T & x = [i,j] by A6,A8,ZFMISC_1then
    reconsider i,j as Ordinal by A9;
A10: i in dom y1 & j in dom z & y1..i + z..j == a by A4,A9,A1,A8,Def16;
    y1..i = y1.i = y12.i=y12..i by A10,A3,Def5,A1,ORDINAL4:def 1;
    hence thesis by A9,A10,A3,A1,Def16;

  then
A11: S1\/SS = S12 by A7,XBOOLE_1:12;
A12:SS misses S1 by XBOOLE_1:79;
A13: SS c= [:S,T:] & S2 c= [:S,T:] by FINSUB_1:def 5;
  defpred P[object,object] means
  for i,j being Ordinal st $1=[i,j] holds $2=[i-^(dom y1),j];
A14:for e being object st e in SS ex u being object st P[e,u]
  proof
    et e be object;assume e in SS;
    then consider i,j be object such that
A15: i in S & j in T & e = [i,j] by A13,ZFMISC_1:def 2;
    reconsider i,j as Ordinal by A15;
    take [i-^(dom            by SURREALOby SURREALO:;
    let i1,j1 be Ordinal;
    assume e=[i1,j1];
    then i1=i & j1=j by A15,XTUPLE_0:1;
    hence thesis;
  end;
  consider TR be Function such that
A16:dom TR = SS & for e being object st e in SS holds P[e,TR.e]
  java.lang.StringIndexOutOfBoundsException: Range [9, 4) out of bounds for length 54
A17: for i,j being Ordinal holds
  [i,j] in SS iff dom y1 c= i & [i-^(dom y1),j] in S2
  proof
    let i,j be Ordinal;
    set D=i-^(dom y1);
    thus [i,j] in SS implies dom y1 c= i & [D,j] in S2
    proof
      assume [i,j] in SS;
      then
A18:  [i,j] in S12 & not [i,j] in S1 by XBOOLE_0:def 5;
      then
A1919  i indom y12 &jin dom z&y12..i+z.j ==aby A1,Def16;
      then
A20:  y12..i = y12.i by Def5;
A21:  not i in dom y1
      proof
        assume
A22:    i in dom y1;
        then y1..i = y1.i = y12.i by ORDINAL4:def 1, A1,Def5;
        hence thesis by A18,A19,A20,A22,A1,A4,Def16;
      end;
      hence dom y1 c= i by ORDINAL1:16;
A23:  (dom y1)+^D = i by A21,ORDINAL1:16,Th3;
      domy1)+^D in (dom y1)^(dom y2)¬ (domy1)+^D in (dom y1)+^D
      by A21,ORDINAL1:16,Th3,A3,A19;
      then not (dom y1)+^(dom y2) c= (dom y1)+^D;
      then
A24:  D in dom y2 by ORDINAL1:16,ORDINAL2:33;
      then y2.D = y2..D & y12.i = y2.D by A1,Def5,A23,ORDINAL4:def 1;
      hence thesis by A24,A19,A20,A1,A4,Def16;
    end;
    assume
A25: dom y1 c= i & [D,j] in S2;
    then
A26:D in dom y2 & j in dom z & y2..D + z..j == a by A1,A4,Def16;
A27:(dom y1)+^D = i by Th3,A25;
    then
D  y2..D &y12i = y2.D by A1,Def5,A26,ORDINAL4:def 1;
A29:i in dom y12 by A3,A27,A26,ORDINAL2:32;
    y12.i = by SURREALO4;
    then
A30:[i,j] in S12 by A26,A28,A29,A1,Def16;
    not [i,j] in S1
    
      assume [i,j] in S1;
      then i in dom y1 by A1,A4,Def16;
      then i in i by A25;
      hence thesis;
    end;
    hence thesis by A30,XBOOLE_0:def 5;
  end;
A31: rng TR c= S2
  proof
    let f be object;
    assume f in rng TR;
    then consider e be object such that
A32 e in dom TR & TR.e =f by FUNCT_1:def 
    consider i,j be object such that
A33: i in S & j in T & e = [i,j] by A32,A16,A13,ZFMISC_1:def 2;
    reconsider i,j as Ordinal by A33;
    TR.[i,j] = [i-^(dom y1),j] in S2 by A16,A32,A33,A17;
    hence thesis by A32,A33;
  end;
  S2 c= rng TR
  proof
    let f be object;
    assume
A34: f in S2;
    then consider i,j be object such that
A35: i in S & j in T & f = [i,j] by A13,ZFMISC_1:def 2;
    reconsider i,j as Ordinal by A35;
    setD=dom y1)+i;
A36:dom y1 c= D by ORDINAL3:24;
A37: D-^ (dom y1) = i by ORDINAL3:52;
A38: [D,j] in SS by ORDINAL3:24,A37,A17,A34,A35;
   TR.[j]=f by A35,A37A16,A36,A17,A34;
    hence thesis by A38,A16,FUNCT_1:def 3;
  end;
  then
 rngTR =S2 byA31;
A40: TR is one-to-one
  proof
    etx1,x2beobject such that
A41: x1 in dom TR & x2 in dom TR & TR.x1=TR.x2;
    consider i1,1be object such that
A42: i1 in S & j1 in T & x1 = [i1,j1] by A41,A16,A13,ZFMISC_1:def 2;
    consider i2,j2 be object such that
A43: i2 in S & j2 in T & x2 = [i2,j2] by A41,A16,A13,ZFMISC_1:def 2;
    reconsider i1,i2,j1,j2 as Ordinal by A42,A43;
A44: TR.x1 = [i1-^(dom y1),j1] & TR.x2 = [i2-^(dom y1),j2] by A16,A41,A42,A43;
    then j1=j2 & i1-^(dom y1)=i2-^(dom y1) by A41,XTUPLE_0:1;
    then i1 = dom y1 +^(i2-^(dom y1))=i2 by A17,A42,A43,A16,A41,Th3;
    hence thesis by A42,A43,A44,A41,XTUPLE_0:1;
  end;
  java.lang.StringIndexOutOfBoundsException: Range [15, 5) out of bounds for length 37
  then
A45: dom (AD2*TR) = dom TR  by A13,A39,RELAT_1:27;
  dom AD12 = [:S,T:] by FUNCT_2:def 1;
  then
A46: dom (AD12|SS) = SS by A13,RELAT_1:62;
  for e  objectst e inSS holds (AD12|SS).e = (D2*TR).e
  proof
    let e be object;
    assume
A47:e in SS;
    then consider i,j be object such that
A48: i in S & j in T & e = [i,j] by A13,ZFMISC_1:def 2;
    reconsider i,j as Ordinal by A48;
A49: AD12.e = AD12.(i,j) = r12.i * s.j by Def15,A48,BINOP_1:def 1;
A50: TR.e = [i-^(dom y1),j] in S2 & dom y1 c= i by A16,A47,A48,A17;
    then
(java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 40
    i-^(dom y1) in dom y2 by A50,A1,A4,Def16;
    then
A52:r2.(i-^(dom y1)) = r12.((dom y1)+^((i-^(dom y1))))
    by A1,A2,ORDINAL4:== xx by A95,A96,SURREALR:67
    . r12i byA47,A48,A17Th3;
    (AD2*TR).e = AD2.[i-^(dom y1),j] by A50,FUNCT_1:12,A45,A16,A47
    .= AD2.(i-^(dom y1),j) by BINOP_1:def 1
    .= r2.(i-^(dom y1)) * s.j by A51,Def15,A48;
    thesisby ,:A49A;
  end;
  then AD12|SS = AD2*TR by A16,A45,A46,FUNCT_1:2;
  then addreal $$ (SS,AD12) = addreal $$ (S2,AD2) by A16,A40,A39,SETWOP_2:5;
  hence Partial_Sums(y12,z,r12,s,a,S,T)
     addreal.addreal $  S1,AD12),addreal $$ (S2,AD2))
      by A11,A12,SETWOP_2:4
   .= Partial_Sums(y1,z,r1,s,a,S,T)+ Partial_Sums(y2,z,r2,s,a,S,T)
      by A5,BINOP_2:def 9;
end;

registration
  let s be Surreal;
  cluster <%s%> -> strictly_decreasing;
  coherence
  proof
    set S=<%s%>;
    let a,b be Ordinal such that A1: a in b in dom S;
    dom S={0} by CARD_1:49,AFINSQ_1:33;
    hence thesis letS, benon emptyOrdinal
  end;
end;

theorem Th87:
  dom y c= S & dom z c= T & a==b implies
    Partial_Sums(y,z,r,s,a,S,T) = Partial_Sums(y,z,r,s,b,S,T)
proof
   c=T & a=b;
  then (y,z,S,T) += a = (y,z,S,T) += b  by Th77;
  hence thesis;
end;

theorem Th88:
  for c st dom y c= S & dom z c= T &
    for a st a==c holds not a in rng y ++ rng z
  holds Partial_Sums(y,z,r,s,c,S,T) = 0
proof
  let c;
  assume dom y c= S & dom z c= T &
  for a being Surreal st a==c holds not a in rng y ++ rng z;
  then (y,z,S,T) += c = {}.[:S,T:] by Th78;
  hence thesis by SETWISEO:31,BINOP_2:2;
end;

theorem Th89:
  for r being Real st dom z c= T & A in dom z & a == c+z..A
    holds Partial_Sums(<%c%>,z,<%r%>,s,a,S,T) = r * s.A
proof
  let r be Real such that
A1: dom z c= T and
A2:A in dom z and
A3:a == c +z..A;
  set Y=<%c%>;
A4:dom Y = Segm 1let e beobject;
A5: 1=succ {} c= S by ORDINAL3:8,ORDINAL1:21;
A6: 0 in succ {} by ORDINAL1:6;
  then Y..0 = Y.0 = c by A4,Def5;
  then
A7:[0,A] in (<%c%>,z,S,T) += a by A3,A1,A2,A4,A5,A6,Def16;
  reconsider OO=[0,A] as Element of [:S,T:] by A1,A2,A5,A6,ZFMISC_1:87;
  ( c= {[0A]}
  proof
A8: (Y,z,S,T) += a c= [:S,T:] by FINSUB_1:def 5;
    let a1 be object;
    assume
A9:a1 in (Y,z,S,T) += a;
    then consider i,end;
A10: i in S & j in T & a1=[i,j] by A8,ZFMISC_1:def 2;
    reconsider i,j as Ordinal by A10;
A11:i in dom Y & j in dom z & Y..i + z..j == a by A1,A4,A5,A9,A10,Def16;
A12: i ={}A5: domTR =S1 &fore being objectein S1 holdsP[,TRe
    then Y..i = Y.i = c by A11,Def5;
    then c + z..j == c + z..A by A3,A11,SURREALO:4;
    then
A13:z..j == z..A by SURREALR:44;
    z..j = z.j in rng z & z..A = z.A in rng z by A2,A11,Def5,FUNCT_1:def 3;
    then j=A by A2,A11,A13,Def11,FUNCT_1:def 4;
    hence thesis by A10,A12,TARSKI:def 1;
  end;
  then (<%c%>,z,S,T) += a = {. OO .} by A7,ZFMISC_1:33;
  hence Partial_Sums(<%c%>,z,<%r%>,s,a,S,T) = Product(<%r%>,s,S,T).OO
    by SETWISEO:17
  .= Product(<%r%>,s,S,T).(0,A) by BINOP_1:def 1
  .= <%r%>.0 * s.A by Def15,A1,A2,A5,A6
  .= r * s.A;
end;


begin :: Compatibility of Series Products with Conway Normal Form

definition
  let S,T be non empty Ordinal;
  let y,z,yz be strictly_decreasing Surreal-Sequence;
  let r,s be Sequence of REAL;
  func Sum(y,z,yz,r,s,S,T) -> Sequence of REAL means :Def19:
    dom it= dom yz &
    for A st A in dom yz holds it.A = Partial_Sums(y,z,r,s,yz..A,S,T);
  existence
  proof
    defpred P[object,object] means $2 = Partial_Sums(y,z,r,s,yz..$1,S,T);
A1:   for e being object st e in dom yz ex u being object st P[e,u];
    consider IT be Function such that
A2:   dom IT = dom yz &
      for e ] = fbyA10,,A5,A11;
      from CLASSES1:sch 1(A1);
    rng IT c= REAL
    proof
      let o be object such that
A3:   o in rng IT;
      consider x be object such that
A4:   x in dom IT & IT.x = o by A3,FUNCT_1:def 3;
      IT.x = Partial_Sums(y,z,r,s,yz..x,S,T) by A2,A4;
;
    end;
    then reconsider IT as Sequence of REAL
    by A2,ORDINAL1:def 7,RELAT_1:def 19;
    takeIT;
    thus thesis by A2;
  end;
  uniqueness
  proof
    let U1,U2 be Sequence of REAL such that
A5: dom U1 = dom yz & for O being Ordinal st O in dom yz holds
      U1.O = Partial_Sums(y,z,r,s,yz..O,S,T)
    and
A6 yz & for being Ordinal stOin dom yz holds
      U2.O = Partial_Sums(y,z,r,s,yz..O,S,T);
    for x being object st x in dom yz holds U1.x = U2.x
    proof
      let x be object such that
A7:   x in dom yz;
      U2.x = Partial_Sums(y,z,r,s,yz..x,S,T) by A6,A7;
      hence thesis by A5,A7;
    end;
    hence thesis by A5,A6,FUNCT_1:2;
  end;
end;

registration
  let f be strictly_decreasing Surreal-Sequence;
  let A be Ordinal;
  cluster f/^A -> strictly_decreasing;
  coherence
  proof
    let B,C be Ordinal such that
A1: B in C in dom (f/^A);
    let sb,sc be Surreal such that
A2: sb = (f/^A).B & sc = (f/^A).C;
    B in dom (f/^A) by A1,ORDINAL1:10; then
A3: f..(A+^B) = (f/^A)..B=sb & f..(A+^C) = (f/^A)..C = sc by A1,Th36,A2,Def5;
A4: (A+^B) in (A+^C) by A1,ORDINAL2:32;
A5: (A+^C) in dom f by A1,Th8;
    then f..(A+^B) = f.(A+^B) & f..(A+^C) = f.(A+^C)
      by A4,ORDINAL1:10,Def5;
    hence thesis by A3,A1,ORDINAL2:32,A5,SURREALC:def 11;
  end;
end;

theorem Th90:
  dom y c= S & dom z c= T implies
    Sum(y,z,yz,r,s,S,T) = Sum(z,y,yz,s,r,T,S)
proof
  assume
A1: dom y c= S & dom z c= T;
A2: dom Sum(y,z,yz,r,s,S,T) = dom yz = dom Sum(z,y,yz,s,r,T,S)
    by Def19;
  for a being object st a in dom yz holds
     Sum(y,z,yz,r,s,S,T).a = Sum(z,y,yz,s,r,T,S).a
  proof
    let a be object such that
A3: a in dom yz;
    thus Sum(y,z,yz,r,s,S,T).a = Partial_Sums(y,z,r,s,yz..a,S,T) by A3,Def19
    .= Partial_Sums(z,y,s,r,yz..a,T,S) by A1,Th84
    .= Sum(z,y,yz,s,r,T,S).a by A3,Def19;
  end;
  hence thesis by A2,FUNCT_1:2;
end;

theorem Th91:
  y = {} & dom z c= T implies rng Sum(y,z,yz,java.lang.StringIndexOutOfBoundsException: Range [45, 46) out of bounds for length 7
proof
  assume that
A1: y={} and
A2: dom z c= T;
  setP=Sum(y,z,yz,r,s,S,T);
  let o be object;
  assume o in rng P;
  then consider i be object such that
A3: i in dom P & P.i=o by FUNCT_1:def 3;
  reconsider i as Ordinal by A3;
  dom P = dom yz by Def19;
  then
A4: P.i = Partial_Sums(y,z,r,s,yz..i,S,T) by A3,Def19;
A5 c= S by A1;
  rng y ={} by A1;
  then for a being Surreal st a==yz..i holds not a in rng y ++ rng z
  by SURREALR:27;
  then o=0 by A3,A4,A5,A2,Th88;
  hence thesis byt AD1|S1 =AD2*TR 
end;

theorem Th92:
  for A,Y,Z being Ordinal st
    dom y c= S & dom z c= T & A in dom yz & yz..A > y..Y + z..Z
  holds
    Sum(y/^Y,z/^Z,yz,r,s,S,T).A = 0
proof
   let A,Y,Z be Ordinal such that
A1: dom y c= S & dom z c= T and
A2:A in dom yz & yz..A > y..Y + z..Z;
  set yY=y/Y,=z^Z;
A3:Sum(yY,zZ,A1: r1^r2 = r12 dom y c=domr1 &domyc=S &dom z c= T;
  (yY,zZ,S,T) += yz..A={}.[:S,T:]
  
    assume (yY,zZs AD1=Product(,,S,T)AD12 = Product(r12,s,S,T);
    then consider ij be object such that
A4:  ij in (yY,zZ,S,T) += yz..A by XBOOLE_0:def 1;
    (yY,zZ,S,T) += yz..A c= [:S,T:] by FINSUB_1:def 5;
    then consider i,j be object such that
A5: i in S & j in T & [i,j] = ij by A4,ZFMISC_1:def 2;
    reconsider i,j as Ordinal by A5;
    dom yY c= dom y & dom zZ c= dom z by Th6;
    then dom yY c= S & dom zZ c= T by A1;
    then
A6: i in dom yY & j in dom zZ & yY..i + zZ..j == yz..A by A4,A5,Def16;
    then
A7: yY..i = yY.i & zZ..j = zZ.j by Def5;
A8: yY.i = y.(Y+^i) & (Y+^i) in dom y &
    zZ.j = z.(Z+^j) & (Z+^j) in dom z by A6,Th8;
    then
A9: y.(Y+^i) = y..(Y+^i) & z.(Z+^j)= z..(Z+^j) by Def5;
A10: y..Y >= y..(Y+^i)
    proof
      per cases;
      suppose i=0;
        then Y+^i = Y by ORDINAL2:27;
        java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 35
      end;
      suppose i <> 0;
        then
A11:    Y= Y+^0 in Y+^i by ORDINAL3:8,ORDINAL2:27,32;
        then y..Y == y.Y by Def5,A8,ORDINAL1:10;
        then y..(Y+^i) < y..Y by A11,A8,A9,SURREALC:def 11;
        hence thesis by SURREALO:6;
      end;
    end;
A12: z..Z >= z..(Z+^j)
    proof
      per cases;
      suppose j=0;
        then Z+^j = Z by ORDINAL2:27;
        hence thesis by SURREALO:3;
      end;
      suppose j <>0;
        then
A13:    Z= Z+^0 in Z+^j by ORDINAL3:8,ORDINAL2:27,32;
        then z..Z = z.Z by Def5,A8,ORDINAL1:10;
        then z..(Z+^j) < z..Z by A13,A8,A9,SURREALC:def 11;
        hence thesis by SURREALO:6;
      end;
    end;
    y..Y+ z..Z >= yY..i + zZ..j by A8,A7,A9,A10,A12,SURREALR:43;
    ence thesis by A2,6,URREALO:4
  end;
  hence thesis by A3,BINOP_2:2,SETWISEO:31;
end;

theorem S12=(y12,z,S,T) += a;
  for A st A c= dom r/\dom y1 & dom y1 = dom y2 &
    for B st B in A holds y1..B==y2..B
  holds
    Sum(r|A,(No_omega^ y1) |A ) = Sum(r|A,(No_omega^ y2) | A)
proof
  let O be Ordinal such that
A1:O c= dom r/\dom y1 and
java.lang.StringIndexOutOfBoundsException: Range [49, 2) out of bounds for length 22
A3: for X being Ordinal st X in O holds y1..X==y2..X;
  set N1=No_omega^ y1,N2=No_omega^ y2;
  defpred P[Ordinal] means $1 c= O implies
  Sum(r|$1,N1|$1) = Sum(r|$1,N2 |$1);
A4:dom N1 = dom y1 & dom N2 = dom y2 by SURREALC:def 22;
A5: for B being Ordinal st B in O holds  N1..B == N2..B
  proof
    let B be Ordinal such that
A6: B in O;
A7: B in dom y1 by A1,A6,XBOOLE_0:def 4;
    theny1.  y1.B &y2.B=y2..B by A2,Def5;
    then
A8: N1.B = No_omega^ (y1..B) & N2.B = No_omega^ (y2..B)
    by A2,A4,A7,SURREALC:def 22;
A9: y1..B == y2..B by A6,A3;
    N1.B=N1.B &N2.B =N2.Bby ,A7A4,Def5;
    hence thesis by A8,A9,SURREALC:24;
  end;
A10:for A being Ordinal st for C being Ordinal st C in A holds P[C] holds P[A]
  proof
    let A be Ordinal such that
A11:A12: SS misses S1 by XBOOLE_1:79;
    assume
A12: A c= O;
    then
A13: A c= dom r/\dom y1 by A1;
    X1= [Sum(|BN1B  uReal.r.B - e  .
      where B is Element of A,e: B in A},
      {Sum(r|B,N1|B) + uReal.(r.B + e) * N1..B
      where B is Element of A,e: B in A}] as Surreal by A13,A4,Th61;
    reconsider X2= [{Sum(r|B,N2|B) + uReal.(r.B - e) * N2..B
      where B is Element of A,e: B in A},
      {Sum(r|B,N2|B) + uReal.(r.B + e) * N2..B
      where B is Element of A,e: B in A}] as Surreal by A13,A2,A4,Th61;
A14: L_X1 <==> L_X2
    proof
      thus L_X1 <=_ L_X2
      proof
        let x be Surreal;
        assume x in L_X1;
        then consider B be Element of A,e such that
A15     =Sum(r|B,N1|B)+uReal.(r.B -e)*N1..  Bin A;
        B c= O by A12,A15,ORDINAL1:10;
        then
A16:    Sum(r|B,N1|B) = Sum(r|B,N2|B) by A11,A15;
        uReal.(r.B - e) * N1..B==uReal.(r.B - e) * N2..B
        by A12,A15,A5,SURREALR:54;
        then x == Sum(r|B,N2|B) + uReal.(r.B - e) * N2..B in L_X2
        by A15,A16,SURREALR:66;
        hence thesis;
      ;
      let xbe Surreal;
      assume x in L_X2;
      then consider B be Element of A,e such that
A17:  x = Sum(r|B,N2|B) + uReal.(r.B - e) * N2..B & B in A;
      B c= O by A12,A17,ORDINAL1:10;
      then
A18:  Sum(r|B,N1|B) = Sum(r|B,N2|B) by A11dom y12  jin dom z & y12..i + z..j == a by A1,Def16;
      uReal.(r.B - e) * N1..B==uReal.(r.B - e) * N2..B
      by A12,A17,A5,SURREALR:54;
      then x == Sum(r|B,N1|B) + uReal.(r.B - e) * N1..B in L_X1
      by A17,A18,SURREALR:66;
      hencejava.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 11
    end;
A19:R_X1 <==> R_X2
    proof
      thus R_X1 <=_ R_X2
      proof
        let       hence domhence domy1 c iby 16;
        assume x in R_X1;
        then consider B be Element of A,e such that
A20:    x = Sum(r|B,N1|B) + uReal.(r.B + e) * N1..B & B in A;
        B c= O by A12,A20,ORDINAL1:10;
        then
A21:    Sum(r|B,N1|B) = Sum(r|B,N2|B) by A11,A20;
        uReal.(r.B + e) A24:  D in dom y2 by ORDINAL1:16,ORDINAL2:33;
          by A12,A20,A5,SURREALR:54;
        then x == Sum(r|B,N2|B) + uReal.(r.B + e) * N2..B in R_X2
        by A20,A21,SURREALRhence thesis by A24,A19,A20,A1,A4,Def16;
        hence thesis;
      end;
      let x be Surreal;
      assume x in R_X2;
      then consider B be Element of A,e such that
A22:   x = Sum(r|B,N2|B) + uReal.(r.B + e) * N2..B & B in A;
      B c= O by A12,A22,ORDINAL1:10;
      then
A23:  Sum(r|B,N1|B) = Sum(r|B,N2|B) by A11,A22;
      uReal.(r.B + e) * N1..B==uReal.(r.B + e) * N2..B
      by A12,A22,A5,SURREALR:54;
      then x == Sum(r|B,N1|B) + uReal.(r.B + e) * N1..B in R_X1
      by A22,A23,SURREALR:66;
      hence thesis;
    end;
A24:X1==X2  by A14,A19,SURREALO:29;
A25:Sum(r|A,N1 |A ) = Unique_No X1 ==X1 by Th62,A13,A4,SURREALO:def 10;
A26: Sum(r|A,N2 |A ) = Unique_No X2 ==X2 by A2,Th62,A13,A4,SURREALO:def 10;
    X2 == Sum(r|A,N1 |A ) by A24,java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 25
    then Sum(r|A,N2 |A ) == Sum(r|A,N1 |A ) by A26,SURREALO:4;
    hence thesis by SURREALO:50;
e;
  for A being Ordinal holds P[A] from ORDINAL1:sch 2(A10);
  hence thesis;
end;

theorem Th94:
  A c= dom r/\dom y implies
    Sum(r|A,(No_omega^ y) | A) = Sum(r|A,(No_omega^ Unique_No y) |A)
proof
   assume
A1: A c= dom r/\dom y;
   set Uy = Unique_No yA32: e in dom TR & TR. =fby :def3;
A2: dom y = dom Uy by Def9;
  for O being Ordinal st O in A holds y..O==Uy..O
  proof
    let O be Ordinal such that
A3: O in A;
A4: O in dom y by A3,A1,XBOOLE_0:def 4;
    Uy..O = Uy.O by A2,A4,Def5
    .= Unique_No y..O by A4,Def9;
    hence thesis by SURREALO:def 10;
  end;
  thesis by A1,A2,Th93;
end;

theorem Th95:
  for yz being strictly_decreasing uSurreal-Sequence,r being Real st
     dom s = dom z c= T & Unique_No ({a}++rng z) c= rng yz
  olds
    Sum (Sum(<%a%>,z,yz,<%r%>,s,S,T), No_omega^ yz) ==
       uReal.r * No_omega^a *Sum(s, No_omega^ z)
proof
  let yz be strictly_decreasing uSurreal-Sequence,r be Real such that
A1: dom s = dom z c= T and
A2: Unique_No ({a}++rng z) c= rng yz;
  set D=dom s;
A3: dom (No_omega^ (z+a)) = dom (z+a) =dom z by Def17,SURREALC:def 22;
A4: dom (No_omega^ z) = dom z by SURREALC:def 22;
A5: D = dom s/\dom z by A1;
  then
A6: Sum(s|D, (No_omega^ (z+a)) |D) ==
  No_omega^ a * Sum(s|D,(No_omega^ z) | D) by Th83;
  set U = Unique_No (z+a);
A7: dom U = domA40: TR is one-o-one
  rng (z+a) = rng z ++{a} by Th81;
  then
A8: rng U = Unique_No (rng z ++{a}) by Th37;
  then
A9:rng (U|D) c= rng yz by A2;
  java.lang.StringIndexOutOfBoundsException: Range [6, 5) out of bounds for length 31
      rS= r(#)eS,Y=<%a%>,R=<%r%>,
      P =Sum(Y,z,yz,R,s,S,T);
A10:dom eS = dom yz & dom P = dom yz & dom rS = dom eS
  by Def14,Def19,VALUED_1:def 5;
 dom(o_omega^ yz =dom yz by SURREALC:def 22;
  then
A12: dom eS = dom eS /\ dom (No_omega^ yz) by A10;
A13:dom (No_omega^ U) = dom U by SURREALC:def 22;
  for o being object st o in dom yz holds rS.o = P.o
  proof
    let o be object such that
A14:o in dom yz;
    reconsider O=o as Ordinal by A14;
A15: P.O = Partial_Sums(Y,z,R,s,yz..O,S,T) by Def19,A14;
A16: yz..O = yz.O by A14,Def5;
    per cases;
    suppose yz.O in rng U;
      then consider d be object such that
A17:  d in dom U & U.d = yz.O by FUNCT_1:def 3;
      reconsider d as Ordinal by A17;
A18:  s.d = eS.O by A14,A17,Def14;
A19:  d in dom z by Def17,A7,A17;
A20:  yz..O = Unique_No ((z+a)..d) == (z+a)..d
    by 10,A16A17;
      (z+a)..d = (z+a).d = z..dA:i in   inT &e=[i,j]byZFMISC_1def 2;
      then P.O = r * s.d by A1,A19,A20,Th89,A15;
      hence thesis by A18,VALUED_1:6;
    end;
    suppose
A21: not yz.O in rng U;
      then
A22: eS.O=0 & r * eS.O = rS.O by VALUED_1:6,A14,Def14;
A23: 1=succ {} c= S by ORDINAL3:8,ORDINAL1:21;
A24: dom Y c= S & dom z c= T by A1,AFINSQ_1:33,A23;
      for b being Surreal st b== yz..O holds not b in rng Y ++ rng z
      proof
        let b be Surreal such that
A25:    b== yz..O & b in rng Y ++ rng z;
        Unique_No b == b by SURREALO:def 10;
        then
A26:    yz..O == Unique_No b by A25,SURREALO:4;
        yz.O in rng yz by A14,FUNCT_1:def 3;
        then yz..O is uSurreal by A16,SURREALO:def 12;
        then
A27:    yz..O = Unique_No b by A26,SURREALO:50;
        b in {a}++rng z by A25,AFINSQ_1:33;
        hence thesis by A8,A27,A21,A16,Def8;
      end;
      hence thesis by A22,A15,A24,Th88;
    end;
  end;
  then
A28: rS = Sum(<%a%>,z,yz,<%r%>,s,S,T) 
A29: Sum(eS,No_omega^ yz) =
  Sum(s|D, (No_omega^ U) |D) by A13,A1,A3,A7,A9,Th76
  .= Sum(s|D, (No_omega^ (z+a)) | cluster <%s% >;
  .= Sum(s, No_omega^ (z+a)) by A1,A3;
A30: Sum(rS |dom eS,(No_omega^ yz) |dom eS)
  == uReal.r * Sum(eS|dom eS,(No_omega^ yz) | dom eS) by A12,Th79;
  uReal.r * Sum(s, No_omega^ (z+a)) ==
  r *No_omega^a*Sum(sNo_omega^ z))==
  uReal.r * No_omega^ a * Sum(s,No_omega^ z)
  by A6,A1,A4,A3,SURREALR:54,69;
  then uReal.r * Sum(s, No_omega^ (z+a)) ==
  uReal.r * No_omega^ a * Sum(s,No_omega^ z) by SURREALO:4;
  hence thesis by A28,A30,A10,A11,A29,SURREALO:4;
end;

theorem Th96:
  for yz being strictly_decreasing uSurreal-Sequence,s being Real st
    dom r = dom y c= S & Unique_No (rng y++{a}) c= rng yz
  holds
    Sum (Sum(y,<%a%>,yz,r,<%s%>,S,T), No_omega^ yz) ==
       uReal.s * No_omega^a *Sum(r, No_omega^ y)
proof
  let yz be strictly_decreasing uSurreal-Sequence,s be Real such that
A1: dom r = dom y c= S & Unique_No (rng y++{a}) c= rng yz;
A2: dom <%a%> = Segm 1 by AFINSQ_1:33;
A3: 1=succ {} c= T by ORDINAL3:8,ORDINAL1:21;
  uReal.s * No_omega^a *Sum(r, No_omega^ y)
  == Sum (Sum(<%a%>,y,yz,<%s%>,r,T,S), No_omega^ yz)
  = Sum (Sum(y,<%a%>,yz,r,<%s%>,S,T), No_omega^ yz) by Th95,A1,A2,A3,Th90;
  hence thesis;
end;

theorem
  y={} & dom z c= T implies
    Sum (Sum(y,z,yz,r,s,S,T), No_omega^ yz) = 0_No
proof
  assume y={} & dom z c= T;
  then rng Sum(y,z,yz,r,s,S,T) c= {0} by Th91;=Tand
  hence Sum (Sum(y,z,yz,r,s,S,T), No_omega^ yz) = 0_No A2:A indom zand
end;

theorem Th98:
  dom y c= S & dom z c= T & dom y c= dom r & A c= dom y implies
    Sum(y|A,z,yz,r|A,s,S,T) + Sum(y/^A,z,yz,r/^A,s,S,T)=
        Sum(y,z,yz,r,s,S,T)
proof
  assume that
A1:dom y c= S & dom z c= T and
A2: dom y c= dom r and
A3:= dom y;
  set P1 = Sum(y|A,z,yz,r|A,s,S,T),
      P2= Sum(y/^A,z,yz,r/^A,s,S,T),
      P12(<%>zS,T)+ a c [,A]
A4:dom P1 = dom yz = dom P2 & dom yz = java.lang.StringIndexOutOfBoundsException: Range [2, 42) out of bounds for length 7
  then dom yz = dom P1/\dom P2;
  then
A5:dom (P1+P2) = dom yz by VALUED_1:def 1;
  for a being object st a in dom yz holds P12.a = (P1+P2).a
  proof
       suchthat
A6:a in dom yz;
A7:y = (y|A) ^ (y/^A) by Def1;
A8:r = (r|A) ^ (r/^A) by Def1;
    A12:i={}by A11,A4,A5,ORDINAL1:8;
    then
A9    then  Y.=Y.  cby A11Def5;
A10:dom (y/^A) = (dom y) -^ A & dom (r/^A) = (dom r) -^ A  by Def1;
    thus
    P12.a = Partial_Sums(y,z,r,s,yz..a,S,T) by A6,Def19
    .= Partial_Sums(y|A,z,r|A,s,yz..a,S,T)
 (y/A,z,/^,syz.a,,T)
    by A1,A7,A8,A9,A10,A2,ORDINAL3:59,Th86
    .= P1.a + Partial_Sums(y/^A,z,r/^A,s,yz..a,S,T)by A6,Def19
    .= P1.a + P2.a  by A6,Def19
    .=(P1+P2).a by A6,A5,VALUED_1:def 1;
  end;
  hence thesis by A4,A5,FUNCT_1:2;
end;

theorem Th99:
  y c= S  dom zc T&dom yc=dom  &A c dom yimplies
    Sum (Sum(y,z,yz,r,s,S,T), No_omega^ yz) ==
       Sum(Sum(y|A,z,yz,r|A,s,S,T), No_omega^ yz) +
       Sum(Sum(y/^A,z,yz,r/^A,s,S,T), No_omega^ yz)
proof
  assume that
A1:dom y c= S & dom z c= T and
A2: dom y c= dom r and
A3: A c= dom y;
  set P1 = Sumy|A,z,yz
      P2= Sum(y/^A,z,yz,r/^A,
      P12= Sum
      N=No_omega^ yz;
A4:dom P1 = dom yz = dom P2 & dom yz = dom P12 by Def19;
A5:dom N = dom yz by SURREALC:def 22;
A6: P1+P2=P12 by A1,A2,A3,Th98;
  dom yz = dom P1/\dom N by A4,A5;
  then Sum((P1 + P2) |dom yz,N|dom yz) ==
  Sum(P1 |dom yz,N|dom yz) + Sum(P2 |dom yz,N|dom yz) by Th74,A4;
  hence thesis by A4,A5,A6;
end;

theorem Th100:
    dom y c= S & dom z c= T & dom z c= dom s & A c= dom z
  implies
    Sum (Sum(y,z,yz,r,s,S,T), No_omega^ yz) ==
       Sum(Sum(y,z|A,yz,r,s|A,S,T), No_omega^ yz) +
       Sum(Sum(y,z/^A,yz,r,s/^A,S,T), No_omega^ yz)
proof
  assume that
1domyc   domzc=T 
A2: dom z c= dom s and
A3: A c= dom z;
A4: Sum (Sum(z,y,yz,s,r,T,S), No_omega^ yz) ==
  Sum(Sum(z|A,y,yz,s|A,r,T,S), No_omega^ yz) +
  Sum(Sum(z/^A,y,yz,s/^A,r,T,S), No_omega^ yz) by Th99,A1,A2,A3;
A5:Sum(z,y,yz,s,r,T,S) = Sum(y,z,yz,r,s,S,T) by A1,Th90;
  om(z|)c=dom z by 60
  then dom (z|A) c= T by A1;
  then
A6:Sum(z|A,y,yz,s|A,r,T,S) = Sum(y,z|A,yz,r,s|A,S,T) by A1,Th90;
  0 c= A;
  then dom (z/^A) = (dom z)-^ A c= (dom z)-^ 0 =dom z by Def1,ORDINAL3:56,58;
  then dom (z/^A) c= T by A1;
  hence thesis by A4,A5,A6,A1,Th90;
end;

theorem
  for r being Real holds
    Sum(<%r%>, No_omega^ <%a%>) == uReal.r * No_omega^a
proof
  let r be Real;
  setR=%r>,
      Y=<%a%>,
      N=No_omega^ Y;
  No_omega^(Y|0) = N|0 by SURREALC:88;
  then
A1:Sum(R|0,No_omega^(Y|0)) = 0_No by Th67;
A2:dom R=1 =dom Y & dom Y = dom N by SURREALC:def 22,AFINSQ_1:def 4;
  then succ 0 c= dom R/\dom Y;
  then
A3: Sum(R|succ 0,No_omega^(Y|succ 0)) ==
  Sum(R|0,No_omega^(Y|0)) + uReal.(R.0) * No_omega^(Y..0) by Th64;
  0 in succ 0 by ORDINAL1:6;
  then Y..0 = Y.0 by Def5,A2;
  hence thesis by A3,A1,A2;
end;

theorem Th102:
    succ A c= dom r/\dom y
  implies
    Sum(r|A,( No_omega^ y) |A) + uReal.(r.A - e) * (No_omega^y)..A
       == Sum(r|succ A,(No_omega^ y) |succ A) + uReal.(-e) * No_omega^(y..A)
    &
    Sum(r|A,( No_omega^ y) |A) + uReal.(r.A + e) * (No_omega^y)..A
       == Sum(r|succ A,(No_omega^ y) |succ A) + uReal.(e) * No_omega^(y..A)
proof
  assume
A1:succ A c= dom s by A5,A7;
  set Ny=No_omega^ y;
  set SA=Sum(r|A,Ny |A),SsA=Sum(r|succ A,Ny |succ A);
A2: Ny |A = No_omega^ (y|A) & Ny |succ A = No_omega^ (y|succ A)
  by SURREALC:88;
  A in dom r/\dom y by A1,ORDINAL1:6;
  then
A3: A in dom y = dom Ny by XBOOLE_0:def 4,SURREALC:def 22;
  then y..A = y.A & Ny.A = Ny..A by Def5;
  then
A4: Ny..A = No_omega^ (y..A) by A3,SURREALC:def 22;
A5:SsA == SA + uReal.(r.A) * Ny..A by A1,A2,A4,Th64;
A6: - uReal.(- - e) * Ny..A == uReal.(-e) * Ny..A by Th33;
  SA + uReal.(r.A - e) * Ny..A ==
  SA + uReal.(r.A) * Ny..A - uReal.e * Ny..A =
  SA + uReal.(r.A) * Ny..A + - uReal.e * Ny..A == SsA +uReal.(-e) * Ny..A
  by Th30,A5,A6,SURREALR:66;
  hence SA + uReal.(r.A - e) * Ny..A
  == SsA +uReal.(-e) * No_omega^(y..A) by A4,SURREALO:4;
  SA + uReal.(r.A + e) * Ny..A ==
  SA + uReal.(r.A) * Ny..A + uReal.e * Ny..A
  == SsA +uReal.(e) * Ny..A by Th30,A5,SURREALR:66;
  hence thesis by A4,SURREALO:4;
end;

theorem Th103:
  for x,x0,y,y0,s,t being Surreal holds
   x()+(x0+*  +t)y+s =
      (x*y0+x0*y-x0*y0) + ((x-x0) *s + (y-y0) *t) - t*s
proof
  let x,x0,y,y0,s,t be Surreal;
A1: x0*(-y0 + -s) == x0 *(-y0) + x0*(-s) &
  t * (-y0 + -s) == t*(-y0) + t*(-s) by SURREALR:67;
  -(y0+s) = -y0 +-s by SURREALR:40;
  then - (x0+t)*(y0+s) = (x0+t)*(-(y0+s)) ==
  x0*(-y0 + -s)+ t * (-y0 + -s) ==
  (x0 *(-y0) + x0*(-s)) + (t*(-y0) + t*(-s)) by A1,SURREALR:58,66,67;
  then
A2: - (x0+t)*(y0+s) ==
  (x0 *(-y0) + x0*(-s)) + (t*(-y0) + t*(-s))
  = x0 *(-y0) + ((x0*(-s)) + (t*(-y0) + t*(-s)))by SURREALO:4,SURREALR:37;
  x*(y0+s) == x*y0 + x*s & (x0+t)*y == x0*y + t*y by SURREALR:67;
  then
A3: x*(y0+s) + (x0+t)*y == (x*y0 + x*s) + (x0*y + t*y) by SURREALR:66;
  x*s + (x0*y + t*y) = x*s +t*y + x0*y by SURREALR:37;
  then (x*y0 + x*s) + (x0*y + t*y) = x*y0 + (x0*y + (x*s +t*y)) by SURREALR:37
  .= (x*y0 + x0*y) + (x*s +t*y) by SURREALR:37;
  then
A4: x*(y0+)+(x0++t)*y +-(x0+t)*y0+s) ==
  (x*y0 + x0*y) + (x*s +t*y) + (x0 *(-y0) + ((x0*(-s)) + (t*(-y0) + t*(-s))))
  by A2,A3,SURREALR:66;
  set X= x*y0+x0*y-x0*y0. Partial_Sums(y,,ryz..aT,) by A1,Th84
  x0 *(-y0) = -x0 *y0 by SURREALR:58;
  then
A5:(x*y0 + x0*y) + (x*s +t*y) + x0 *(-y0) =
  X + (x*s +t*y) by SURREALR:37;
  t*y + t*(-y0) == t*(y+-y0) by SURREALR:67;
  then
A6: t*y + (t*(-y0) + t*(-s)) = t*y + t*(-y0) + t*(-s)
  == t*(y-y0) + t*(-s) by SURREALR:37,66;
A7: x*s + (-x0)*s == (x+-x0)*s by SURREALR:67;
  x0*(-s) = -x0*s = (-x0)*s by SURREALR:58;
  then (x*s +t*y) + x0*(-s) =
  x*s + (-x0)*s + t*y == (x+-x0)*s + t*y by A7,SURREALR:37,66;
  then (x*s +t*y) + (x0*(-s) + (t*(-y0) + t*(-s)))
  = (x*s +t*y) + x0*(-s) + (t*(-y0) + t*(-s))
  == (x+-x0)*s + t*y + (t*(-y0) + t*(-s))
  = (x+-x0)*s + (t*y + (t*(-y0) + t*(-s)))
  == (x+-x0)*s + (t*(y-y0) + t*(-s))
  = XY + t*(-s) by A6,SURREALR:37,66;
  then (x*s +t*y) + (x0*(-s) + (t*(-y0) + t*(-s)))
  == XY + t*(-s) by SURREALO:4;
  then
A8: X + ((x*s +t*y) + ((x0*(-s)) + (t*(-y0) + t*(-s))))
  == X+ (XY + t*(-s)) by SURREALR:66;
  t*(-s) = -t*s by SURREALR:58;
  then
A9: X+ (XY + t*(-s)) = X+ XY + - t*s by SURREALR:37;
  (x*y0 + x0*y) + (x*s +t*y) + (x0 *(-y0) + ((x0*(-s)) + (t*(-y0) + t*(-s))))
  = (X + (x*s +t*y)) + ((x0*(-s)) + (t*(-y0) + t*(-s)))
  by A5,SURREALR:37
  .= X + ((x*s +t*y) + ((x0*(-s)) + (t*(-y0) + t*(-s))))
  by SURREALR:37;
  hence thesis by A4,A8,A9,SURREALO:4;
end;

Lm7: for r being Sequence of REAL
    for y being strictly_decreasing Surreal-Sequence
         for a being Surreal, e being positive Real
       for A,B being Ordinal st succ B c= A c= dom r/\dom y
  holds
    |.(Sum(r|A,No_omega^ y|A) - Sum(r|succ B,No_omega^ y|succ B))
      * ((uReal.e)* No_omega^ a).| infinitely< No_omega^ (y..B+a)
proof
  let r be Sequence of REAL;
  let y be strictly_decreasing Surreal-Sequence;
  let a be Surreal,e be positive Real;
  let A,B be Ordinal such that A1:succ B c= A c= dom r/\dom y;
  let P be positive Real;
  set p=1/(P*by SURREALR:27;
      Ny=No_omega^ y,
      Na = No_omega^ a,
      NA = (uReal.e) * Na,
      sB=succ B,
      S=Sum(r|A,Ny|A) - Sum(r|sB,Ny|sB);
A2: dom Ny = dom y by SURREALC:def 22;
A3: sB c= dom r/\dom y by A1;
A4: Ny|A = No_omega^(y|A) &
  Ny|B = No_omega^(y|B) & Ny|sB = No_omega^(y|sB) by SURREALC:88;
  B in succ B by ORDINAL1:6;
  then B in dom r/\dom y by A1;
  then
A5: B in dom y = dom Ny by XBOOLE_0:def 4,SURREALC:def 22;
  then y..B = y.B & Ny.B = Ny..B by Def5;
  forA,,Y,Z being Ordinal st
A6: Ny..B = No_omega^ (y..B)     dom y c= S & dom z c= T & A c= S&dom z c= T & A in dom yz & yz..A > y..Y + z..Z
  then - Sum(r|sB,Ny|sB) == -(Sum(r|B,Ny|B) + uReal.(r.B) * Ny..B)
  by A3,A4,Th64,SURREALR:65;
  then Sum(r|A,Ny|A) +- ( Sum(r|B,Ny|B) + uReal.(r.B)* Ny..B)
  == Sum(r|A,Ny|A) +- Sum(r|sB,Ny|sB) by SURREALR:66;
  then
A7: |.Sum(r|A,Ny|A) - ( Sum(r|B,Ny|B) + uReal.(r.B)* Ny..B).|
  == |.S.| by SURREALC:48;
  Sum(r|A,Ny|A) is (Sum(r|B,Ny|B),Ny..B,r.B)_Term by A1,A2,ORDINAL1:21,Th68;
  then |.S.| infinitely< Ny..B by A7,SURREALC:17,SURREALC:def 14;
  then |.S.| infinitely< uReal.p * Ny..B by SURREALC:13;
  then |.S.| < uReal.p * Ny..B by SURREALC:9;
  then
A8: -(uReal.p * Ny..B) < S < uReal.p * Ny..B by SURREALC:52;
  0_No < NA by SURREALI:def 8;
  then
A9: (-(uReal.p * Ny..B))*NA < S*NA < uReal.p * Ny..B*NA by A8,SURREALR:70;
A10: 0_No < uReal.P  by SURREALI:def 8;
  Ny..B * Na == No_omega^(y..B+a) by A6,SURREALC:27;
  then
A11: uReal.p * Ny..B*NA ==
  uReal.(p*e) * No_omega^(y..B+a) by Lm6;
  then
A12:S*NA < uReal.(p*e) * No_omega^(y..B+a) by A9,SURREALO:4;
  (-(uReal.p * Ny..B))*NA = - ((uReal.p * Ny..B)*NA) by SURREALR:58;
  then (-(uReal.p * Ny..B))*NA == - (uReal.(p*e) * No_omega^(y..B+a))
  by A11,SURREALR:65;
  then - (uReal.(p*e) * No_omega^(y..B+a)) < S*NA by A9,SURREALO:4;
  then |.S*NA.| < uReal.(p*e) * No_omega^(y..B+a) by A12,SURREALC:52;
  then
A13: uReal.P * |.S*NA.| < uReal.P * (uReal.(p*e) * No_omega^(y..B+a))
  by SURREALR:70,A10;
A14:p*(P*e) =1 by XCMPLX_1:87;
  No_omega^(y..B+a) *1_No = No_omega^(y..B+a);
  then (1_No *uReal.P) * (uReal.(p*e) * No_omega^(y..B+a))
  == uReal.(P*(p*e)) * No_omega^(y..B+a) by Lm6;
  hence thesis by A4,A13,A14,SURREALN:48,SURREALO:4;
end;

theorem Th104:
  for e being Real st succ B c= A c= dom r/\dom y holds
    |.(Sum(r|A,No_omega^ y|A) - Sum(r|succ B,No_omega^ y|succ B))
      * ((uReal.e)* No_omega^ a).| infinitely< No_omega^ (y..B+a)
proof
  let e be Real such that
A1:succ B c= A c= dom r/\dom y;
  set SB=Sum(r|succ B,No_omega^ y|succ B),
      SA=Sum(r|A,No_omega^ y|A),
      NA=No_omega^ a,
      NB=No_omega^ (y..B+a);
  per cases;
  suppose e >0;
    hence thesis by A1,Lm7;
  end;
  suppose e < 0;
    then
A2: |.(SA-SB)*((uReal.(-e))* NA).| infinitely< NB by A1,Lm7;
    (uReal.(-e))* NA == (-uReal.(e))* NA =
    - (uReal.(e)* NA) by SURREALN:56,SURREALR:54,58;
    then (SA-SB)*((uReal.(-e))* NA) == (SA-SB)*(-(uReal.(e)* NA))
    = - ((SA-SB)*((uReal.(e)* NA))) by SURREALR:54,58;
    then |.(SA-SB)*((uReal.(-e))* NA).|==
    |.(SA-SB)*(-(uReal.(e)* NA)).| ==
    |.(SA-SB)*((uReal.(e)* NA)).| by SURREALC:48,40;
    hence thesis by A2,SURREALC:11,SURREALO:4;
  end;
  suppose
A3:e = 0;
    0_No infinitely< NB
    proof
      let e;
      NB is positive;
      hence thesis;
     end;
    hence thesis by A3,SURREALN:47,SURREALC:def 6;
  end;
end;

theorem Th105:
  Partial_Sums(y,z,-r,s,a,S,T) = - Partial_Sums(y,z,r,s,java.lang.StringIndexOutOfBoundsException: Range [0, 57) out of bounds for length 40
proof
  set S1 = (y,z,S,T) += a,AD = Product(r,s,S,T),mAD = Product(-r,s,S,T),
      ST=[:S,T:], F =addreal;
  defpred P[set] means
    for X being Element of Fin ST st X=$1 holds
    addreal $$ ( X, mAD) = - addreal $$ ( X, AD);
A1:P[{}.ST]
  proof
    let X be Element of Fin ST;
    assume X={}.ST;
    then F $$ ( X, mAD) = the_unity_wrt F &
    F$$ ( X, AD) = the_unity_wrt F by SETWISEO:31;
    hence thesis by BINOP_2:2;
  end;
A2: for B9 being (Element of Fin ST), b being Element of ST holds P[B9] &
  not b in B9 implies P[B9 \/ {b}]
  proof
    let B9 be (Element of Fin ST), b be Element of ST such that
A3:P[B9] & not b in B9;
    let X be Element of Fin ST such that
A4: X=B9 \/ {b};
A5: F $$(X, mAD) = F.(F $$ (B9,mAD),mAD.b) by A3,A4,SETWOP_2:2
    = F$$(B9,mAD) + mADb  by :def 9;
A6: F $$(X, AD) = F.(F $$ (B9,AD),AD.b) by A3,A4,SETWOP_2:2
    .= F $$ (B9,AD) + AD.b by BINOP_2:def 9;
A7:F $$(B9, mAD) = -F $$(B9, AD) by A3;
    consider i,j be object such that
A8: i in S & j in T & b=[i,j] by ZFMISC_1:def 2;
    reconsider i,j as Ordinal by A8;
A9: (-r).i = -(r.i) by VALUED_1:8;
    mAD.b = mAD.(i,j) by A8,BINOP_1:def 1
    .= (-r).i * sA11:Y Y+^ in Y+i ORDINAL3:8,ORDINAL2:27,32;
    .= - (r.i * s.j) by A9
    .= - AD.        then y.Y  .Yby A8,RDINAL1:10;
    .= - AD.b by A8,BINOP_1:def 1;
    hence thesis by A5,A6,A7;
  end;
  for B being Element of Fin ST holds P[B] from SETWISEO:sch 2(A1,A2);
  hence thesis;
end;

Lm8: for A,B being non empty Ordinal
    for y,z,yz being strictly_decreasing Surreal-Sequence
    for r,s being Sequence of REAL holds
     Sum(y,z,yz,-r,s,A,B) = - Sum(y,z,yz,r,s,A,B)
proof
  let A,B be non empty Ordinal;
  let y,z,yz be strictly_decreasing Surreal-Sequence;
  let r,s be Sequence of REAL;
  set MP = Sum(y,z,yz,-r,s,A,B),
      P= Sum(y,z,yz,r,s,A,),
      java.lang.StringIndexOutOfBoundsException: Range [8, 1) out of bounds for length 35
A2:dom P = dom yz = dom MP & dom mP = dom P by Def19,VALUED_1:8;
  for a being object st a in dom yz holds
     MP.a = mP.a
  proof
    let a be object such that
A3: a in dom yz;
A4: mP.a = -(P.a) by VALUED_1:8;
    MP.a = Partial_Sums(y,z,-r,s,yz..a,A,B) &
    P.a =Partial_Sums(y,z,r,s,yz..a,A,B) by A3,Def19;
    hence thesis by A4,Th105;
  end;
  hence thesis by A2,FUNCT_1:2;
end;

theorem
  dom y c= S & dom z c= T implies
    Sum(y,z,yz,-r,s,S,T) = - Sum(y,z,yz,r,s,S,T) &
    Sum(y,z,yz,r,-s,S,T) = - Sum(y,z,yz,r,s,S,T)
proof
  assume
A1dom y c= S&dom zc T;
  thus Sum(y,z,yz,-r,s,S,T) = - Sum(y,z,yz,r,s,S,T) by Lm8;
  Sum(y,z,yz,r,-s,S,T) = Sum(z,y,yz,-s,r,T,S) by A1,Th90
  .= - Sum(z,y,yz,s,r,T,S) by Lm8;
  hence thesis by A1,Th90;
java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 4

theorem Th107:
  dom y c= S & dom z c= T & dom y c= dom r & dom z c= dom s &
    A c= dom y & B c= dom z
  impliesA7:Bin dom y1by A1,A6,XBOOLE_0def 4;
    Sum (Sum(y,z,yz,r,s,S,T), No_omega^ yz)
       - Sum(Sum(y/^A,z/^B,yz,r/^A,s/^B,S,T), No_omega^ yz)
    == Sum(Sum(y|A,z,yz,r|A,s,S,T), No_omega^ yz) +
       Sum(Sum(y,z|B,yz,r,s|B,S,T), No_omega^ yz)
      - Sum(Sum(y|A,z|B,yz,r|A,s|B,S,T), No_omega^ yz)
proof
  assume that
A1: dom y c= S & dom z c= T and
A2: dom y c= dom r & dom z c= dom s and
A3: A c= dom y & B c= dom z;
  set Nyz = No_omega^ yz;
  set Syz = Sum (A11:for C being Ordinal st C in A holds P[C];
      SyYz= Sum(Sum(y|A,z,yz,r|A,s,S,T), Nyz),
      SyzZ= Sum(Sum(y,z|B,yz,r,s|B,S,T), Nyz),
      SyYzZ= Sum(Sum(y|A,z|B,yz,r|A,s|B,S,T),Nyz),
      SYZ=Sum(Sum(y/^A,z/^B,yz,r/^A,s/^B,S,T), Nyz);
A4: Syz == SyYz + Sum(Sum(y/^A,z,yz,r/^A,s,S,T), Nyz) by A1,A2,A3,Th99;
  dom (z|B) c= dom z by RELAT_1:60;
  then dom (z|B) c= T by A1;
   =java.lang.StringIndexOutOfBoundsException: Range [22, 20) out of bounds for length 61
    byA1,A2,A3,Th99;
  then SyzZ - SyYzZ == Sum(Sum(y/^A,z|B,yz,r/^A,s|B,S,T),Nyz)
    by SURREALR:142java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
  then
A5:Sum(Sum(y/^A,z|B,yz,r/^A,s|B,S,T), Nyz) + SYZ == (SyzZ - SyYzZ) + SYZ
  by SURREALR:66;
  dom (y/^A) c= dom y by Th6;
  then dom (y/^A) c= S by A1;
  then Sum(Sum(y/^A,z,yz,r/^A,s,S,T), Nyz)
  == Sum(Sum(y/^A,z|B,yz,r/^A,s|B,S,T), Nyz) + SYZ
  by A1,A2,A3,Th100;
  then
A6: Sum(Sum(y/^A,z,yz,r/^A,s,S,T), Nyz) ==
  (SyzZ - SyYzZ) + SYZ by A5,SURREALO:4;
  SyYz + Sum(Sum(y/^A,z,yz,r/^A,s,S,T), Nyz)
  == SyYz + ((java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 12
yYzZ)+SYZ)
  = SyYz + (SyzZ +- SyYzZ) + SYZ
  = SyYz + SyzZ +- SyYzZ + SYZ by A4,SURREALO:4,SURREALR:37;
  hence thesis by SURREALR:41,42;
end;

theorem Th108:
  dom y c= S & dom z c= T & Unique_No (rng y++rng z) c= rng yz &
    A in dom lx be 
      xin ;
    |.Sum(Sum(y/^A,z/^B,then consider B be Element of A,e such that
     infinitely< No_omega^ a
roof
  assume that
A1 hen
A2:A in dom y & B in dom z and
A3: y..A + z..B < a;
  set yY=y/^A,zZ=z/^B,P=Sum(yY,zZ,yz,r,s,S,T),Nyz = No_omega^ yz;
  y.A = y..A & z.B = z..B by A2,Def5;
  then y..A in rng y & z..B in rng z by A2,FUNCT_1:def 3;
  then y..A + z..B in rng y++rng z by SURREALR:def 8;
  then Unique_No (y..A + z..B) in Unique_No (rng y++rng z) by Def8;
  then consider O be object such that
A4:O in dom yz & yz.O = Unique_No (y.. A+
  reconsider O as Ordinal by A4;
A5:
A6:dom P = dom yz =dom Nyz by Def19,SURREALC:def 22;
  O c= dom P /\ dom Nyz by A6,A4,ORDINAL1:def 2;
  then
A7: Sum(P,Nyz) == Sum(P|O,Nyz|O) + Sum(P/^O,Nyz/^O) by Th71;
A8: yz..O == y..A + z..B by A4,A5,SURREALO:def 10;
  then
A9: yz..O < a by A3,SURREALO:4;
  rng(P|O) c= {0}
  proof
    let c be object such that
A10:c in rng (P|O);
    consider d be object such that
A11:d in dom (P|O) & (P|O).d = c by A10,FUNCT_1:def 3;
    reconsider d as Ordinal by A11;
A12:d in O & d in dom P by A11,RELAT_1:57;
A13: (P|O).d = P.d by A11,FUNCT_1:47;
    yz..d = yz.d by A6,A12,Def5;
    then yz..d > y..A + z..B by A8,SURREALO:4,A12,A5,A4,SURREALC:def 11;
    then P.d = 0 by A1,A6,A12,Th92;
    hence thesis by A11,A13,TARSKI:def 1;
  end;
  then Sum(P|O,Nyz|O) = 0_No by Th66;
  then x  = Sum(r|B,N1|B) +uReal.(.B+ 
A14: Sum(      by A22A23,SURREALR66;
A15: dom (P/^O)=(dom P)-^&dom (yz/^O =(om Nyz)-Oby Def1;
A16:0=O-^O in (dom yz)-^O by A4,ORDINAL3:53,54;
  then
A17:0 in dom (P/^O)/\ dom (Nyz/^O) by A6,A15;
  (Nyz/^O)..0 = (Nyz/^O).0 by A16,A15,A6,Def5
  .= Nyz.(O+^0) by Th8
  .= Nyz.O by ORDINAL2:27
  .= No_omega^ (yz..O) by A4,Def5,A6,SURREALC:def 22;
  hence thesis by A14,A17,Th70,A9,SURREALC:25;
end;

theorem Th109:
  for yz,yzE being strictly_decreasing uSurreal-java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 0
    dom y c= S & dom z c= T &
    Unique_No (rng y++rng z) c= rng yz c= rng yzE
  holds
    Sum (Sum(y,z,yz,r,s,S,T), No_omega^ yz) =
     Sum (Sum(y,z,yzE,r,s,S,T), java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 24
proof
   let yz,yzE be strictly_decreasing uSurreal-Sequence such that
A1: dom y c= S & dom z c= T and
A2: Unique_No (rng: O java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
  set P=Sum(y,z,yz,r,s,S,T),
      PE=Sum(y,z,yzE,r,s,S,T);
  set N=No_omega^ yz,
      NE=No_omega^ yzE;
A3: dom P = dom yz = dom N & dom PE = dom yzE = dom NE
  by Def19,SURREALC:def 22;
A4: rng NtheoremTh95
  
b be object
    assume b in rng N;
    then consider a be object such that
A5:a in dom N & N.a =b by FUNCT_1:def 3;
    yz.a =yz..a by A3,A5,Def5;
    then
A6: N.a = No_omega^ (yz..a) by A5,SURREALC:def 22;
    yz.a in rng yz by A3,A5,FUNCT_1:def 3;
    then consider c be object such that
A7:c in dom yzE & yzE.c = yz.a by A2,FUNCT_1:def 3;
    NE.c = b by A6,A3,A5,Def5,A7,SURREALC:def 22;
    hence thesis by A3,A7,FUNCT_1:def 3;
  end;
A8: for C,D being Ordinal st
  C in dom N  & D in dom NE & N.C = NE.D holds P.C = PE.D
  proof
    let C,D be Ordinal such that
A9:C in dom N & D in dom NE & N.C = NE.D;
    yz.C=yz..C & yzE.D=yzE..D by A3,A9,Def5;
    then
A10: N.C = No_omega^ (yz..C) &
    NE.D = No_omega^ (yzE..D) by A9,SURREALC:def 22;
A11: yz..C == yzE..D
    proof
      assume not yz..C == yzE..D;
      then No_omega^ (yz..C) infinitely< No_omega^ (yzE..D) or
      No_omega^ (yzE..D) infinitely< No_omega^ (yz..C)
      by SURREALC:25;
      hence thesis by A9,A10,SURREALO:3,SURREALC:9;
    end;
    thus P.C = Partial_Sums(y,z,r,s,yz..C,S,T) by A3,A9,Def19
    .= Partial_Sums(y,z,r,s,yzE..D,S,T) A13:dom (No_omega^ U) = dom U by SURREALC:defNo_omega^^ )  Uby : 22
    .=PE.D by A3,A9,Def19;
  end;
  for C being Ordinal st C in dom NE & not NE.C in rng N holds PE.C = 0
  proof
    let C be Ordinal such that
A12: C in dom NE & not NE.C in rng N;
    for a being Surreal st a==yzE..C holds not a in rng y ++ rng z
    proof
      let a be Surreal such that
A13:  a==yzE..C & a in rng y ++ rng z;
      Unique_No a in Unique_No (rng y++rng z) by A13,Def8;
      then consider b be object such that
A14:  b in dom yz & yz.b = Unique_No a by A2,FUNCT_1:def 3;
A15:  N.b = No_omega^ (Unique_No a) by A14,A3,SURREALC:def 22;
A16:  yzE..C= yzE.C by A12,A3,Def5;
      then
A17:  NE.C = No_omega^ (yzE..C) by A12,SURREALC:def 22;
      Unique_No a == a by SURREALO:def 10;
      then
A18:  Unique_No a ==yzE..C by A13,SURREALO:4;
      yzE..C in rng yzE by A16,A12,A3,FUNCT_1:def 3;
      then yzE..C is uSurreal by SURREALO:def 12;
      then Unique_No a =yzE..C by A18,SURREALO:50;
      hence thesis by A12,A14,A3,A15,A17,FUNCT_1:def 3;
    end;
    then Partial_Sums(y,z,r,s,yzE..C,S,T) = 0 by A1,Th88;
    hence thesis by A12,A3,Def19;
  end;
  hence thesis by A3,A8,A4,Th73;
end;

::$N Correctness of the Product for Selected Representations
::Gonshor'86 Theorem 5.6
theorem
  for yz being strictly_decreasing uSurreal-Sequence st
    dom y c= S & dom z c= T & Unique_No (rng y++rng z) c= rng yz &
    dom y = dom r & dom z = dom s
  holds Sum(r,No_omega^ y) * Sum(s,No_omega^z)==
          Sum (Sum(y,z,yz,r,s,S,T), No_omega^ yz)
proof
  let yz be strictly_decreasing uSurreal-Sequence such that
A1: dom y c= S & dom z c= T & Unique_No (rng y++rng z) c= rng yz and

java.lang.StringIndexOutOfBoundsException: Range [3, 2) out of bounds for length 33
  No_omega 
      Nz = No_omega^ z,
      Nyz = No_omega^ yz;
  defpred P[Ordinal] means for Y,Z being Ordinal st
    Y c= dom y & Z c= dom z & Y(+)Z = $1
  holds
    Sum(r|Y,Ny|Y) * Sum(s|Z,Nz|Z)==
      Sum (Sum(y|Y,z|Z,yz,r|Y,s|Z,S,T), Nyz);
A3:for O being Ordinal st for C being Ordinal st C in O holds P[C] holds P[O]
  proof
    let
A4: for C being Ordinal st C in O holds P[C];
    let Y,Z be Ordinal such that
A5: Y c= dom y & Z c= dom z & Y(+)Z = O;
    reconsider rY=r|Y,sZ=s|Z as Sequence of REAL;
    set yY = y|Y,
        zZ = z|Z;
    set P = Sum(yY,zZ,yz,rY,sZ,S,T);
    set NyY = Ny|Y,
        NzZ = Nz|Z;
A6: dom yY = Y = dom rY & dom zZ = Z =dom sZ by A5,A2,RELAT_1:62;
    per cases;
    suppose
A7:   Y is limit_ordinal & Z is limit_ordinal;
      set Uyz = ord Unique_No (rng yY++rng zZ);
      Unique_No (rng yY++rng zZ) is desc_ordering by Th47;
      then
8:rng = Unique_No rng yY+rngzZ) by Def13;
      then reconsider Uyz as strictly_decreasing uSurreal-Sequence
      by SURREALC:def 10;
      set NUyz = No_omega^ Uyz,
          PU=Sum(yY,zZ,Uyz,rY,sZ,S,T);
omNy =dom y&dom Nz = dom z by SURREALC:def 22;
      then
A9:   Y c= dom r/\dom Ny & Z c= dom s/\dom Nz by A5,  hence thesis;
      reconsider SuY =[{Sum(r|B,Ny|B) + java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 4
      where B is Element of Y,e: B in Y},
      {Sum(r|B,Ny|B) + uReal.(r.B + e) * Ny..B
      where B is Element of Y,e: B in Y}] as Surreal by A9,Th61;
      Unique_No SuY = Sum(r|Y,Ny|Y) by A9,Th62;
      then
A10:  SuY == Sum(r|Y,Ny|Y) by SURREALO:def 10;
      reconsider SuZ = [{Sum(s|B,Nz|B) + uReal.(s.B - e) * Nz..B
        where B is Element of Z,e: B in Z},
        {Sum(s|B,Nz|B) + uReal.(s.B + e) * Nz..B
        where B is Element of Z,e: B in Z}] as Surreal by A9,Th61;
      Unique_No SuZ = Sum(s|Z,Nz|Z) by A9,Th62;
      
A11:  SuZ == Sum(s|Z,Nz|Z) by SURREALO:def 10;
      rng yY++rng zZ c= rng y++rng z by Th34;
      then Unique_No(rng yY++rng zZ) c= Unique_No(rng y++rng z) by Th48;
      then
A12:  Unique_No (rng yY++rng zZ) c= rng yz by A1;
      dom yY c= S & dom zZ c= T by A5,A1,A6;
      then
A13:  Sum (P, NyzA,z,yz,r|,s,S,T)java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
A14:  for Y1,Z1 being Ordinal st Y1 in Y & Z1 in Z
      for ey,ez being Real
        for y1,z1 being Surreal st
          y1 == Sum(r|succ Y1,Ny |succ Y1) + uReal.ey * No_omega^(y..Y1) &
          z1 == Sum(s|succ Z1,Nz |succ Z1) + uReal.ez * No_omega^(z..Z1)
      for O1 being Ordinal st O1 in dom Uyz & Uyz..O1 == (y..Y1)+(z..Z1)
        holds
      ex T being Surreal st |.T.| infinitely< No_omega^ ((y..Y1)+(z..Z1)) &
        SuY*z1 + y1*SuZ - z1*y1 ==
        Sum(PU|succ O1,NUyz|succ O1 ) + T -
        uReal.(ey*ez)* No_omega^(y..Y1 + z..Z1)
      proof
        let Y1,1 be Ordinal such that
A15:      Y1 in Y & Z1 in Z;
        set suY = succY1,
            suZ = succ Z1,
            NY = No_omega^(y..Y1),
            NZ = No_omega^(z..Z1);
        letey,z be Real;
        set Ry = uReal.ey,
            Rz = uReal.ez;
        set Sy = Sum(r|suY,Ny |suY),
            Sz = Sum(s|suZ,Nz |suZ);
        let y1,z1 be Surreal such that
A16:    y1 == Sy + Ry * NY &
        z1 == Sz + Rz * NZ;
        let O1 be Ordinal such that
A17:    O1 in dom Uyz & Uyz..O1 == (y..Y1)+(z..Z1);
        set OPC=SuY*z1 + y1*SuZ - z1*y1;
        SuY*z1 == SuY*(Sz + Rz * NZ) & y1*SuZ == (Sy + Ry * NY) * SuZ
        by A16,SURREALR:54;
        then SuY*z1 + y1*SuZ ==
        SuY*(Sz + Rz * NZ) + (Sy + Ry * NY) * SuZ &
        z1*y1 == (Sy + Ry * NY)*(Sz + Rz * NZ)
        by A16,SURREALR:66,Th29;
        then
A18:    OPC == SuY*(Sz + Rz * NZ) + (Sy + Ry * NY) * SuZ -
        (Sy + Ry * NY)*(Sz + Rz * NZ) by Th28;
        SuY*(Sz + Rz * NZ) + (Sy + Ry * NY) * SuZ -
        (Sy + Ry * NY)*(Sz + Rz * NZ)
        == (SuY*Sz +Sy*SuZ - Sy*Sz)
        + ((SuY-Sy)*(Rz * NZ) + (SuZ-Sz) * (Ry * NY))
        - (Rz * NZ) * (Ry * NY) by Th103;
        then
A19:    OPC == (SuY*Sz +Sy*SuZ - Sy*Sz)
        + ((SuY-Sy)*(Rz * NZ) + (SuZ-Sz) * (Ry * NY))
        - (Rz * NZ) * (Ry * NY) by A18,SURREALO:4;
A20:    suY in Y by A7,A15,ORDINAL1:28;
A21:    suY c= Y by A7,A15,ORDINAL1:28,ORDINAL1:def 2;
        then
A22:    suY c= dom y by A5;
A23:    suZ in Z by A7,A15,ORDINAL1:28;
A24:    suZ c= Z by ORDINAL1:def 2,A7,A15,ORDINAL1:28;
        then
A25:    suZ c= dom z by A5;
A26:    y|suY = yY |suY & r|suY = rY|suY & z|suZ = zZ |suZ & s|suZ = sZ|suZ
          by A21,A24,RELAT_1:74;
A27:    No_omega^y |Y = Ny|Y & No_omega^y |suY =Ny|suY by SURREALC:88;
A28:    No_omega^z |Z = Nz|Z & No_omega^z |suZ =Nz|suZ by SURREALC:88;
        set Pyz = Sum(yY /^ suY,zZ /^ suZ,yz,rY /^ suY,sZ /^ suZ,S,T);
A29:    SuY*Sz +Sy*SuZ - Sy*Sz == Sum (P, Nyz) - Sum (Pyz, Nyz)
        proof
          suY (+) Z in Y(+)Z by A20,ORDINAL7:94;
          then Sy * SuZ == Sy * Sum(s|Z,Nz|Z) ==
          Sum (Sum(y|suY,zZ,yz,r|suY,sZ,S,T), Nyz) by A4,A5,A22,A11,Th29   Sum(P1+ P2)|om yz,N|om ) =java.lang.StringIndexOutOfBoundsException: Range [41, 42) out of bounds for length 41
          then
A30:      Sy * SuZ e;
A31:      Y (+) suZ in O by A23,A5,ORDINAL7:94;
          then SuY * Sz == Sum(r|Y,Ny|Y) * Sz ==
          Sum (Sum(yY,z|suZ,yz,rY,s|suZ,S,T), Nyz) by A4,A5,A25,A10,Th29;
          then
A32:      SuY * Sz == Sum (Sum(yY,z|suZ,yz,rY,s|suZ,S,T), Nyz) by SURREALO:4;
          suY (+) suZ in Y (+) suZ by A20,ORDINAL7:94;
          then
A33:      Sy * Sz == Sum (Sum(y|suY,z|suZ,yz,  assume  that
          by A4,A22,A25,A31,ORDINAL1:10;
          SuYSz +ySuZ =
          (umy|suY,zZ,yz,|uY,sZ,S,T) Nyz)
          Sum (Sum(yY,z|suZ,yz,rY,s|suZ,S,T), Nyz) by A30,A32,SURREALR:66;
          then
A34:      SuY*Sz +Sy*SuZ - Sy*Sz ==
          Sum (Sum(yY|suY,zZ,yz,rY|suY,sZ,S,T), Nyz)+
          Sum (Sum(yY,zZ|suZ,yz,rY,sZ|suZ,S,T), Nyz)
          - Sum (Sum(yY|suY,zZ|suZ,yz,rY|suY,sZ|suZ,S,T), Nyz)
            by A26,A33,Th28;
      dom yY c=S  dom zZ c=TbyA6,A5,A1
          Sum (Sum(yY|suY,zZ,yz,rY|suY,sZ,S,T), Nyz)
          + Sum (Sum(yY,zZ|suZ,yz,rY,sZ|suZ,S,T), Nyz)
          - Sum   then dom (/^)c=T by A1;
          == Sum (P,Nyz) - Sum (Pyz, Nyz) by A35,A21,A24,A6,Th107;
          hence thesis by A34,SURREALO:4;
        end;
A36:    y..Y1 = y.Y1 & z..Z1 = z.Z1 by A5,A15,Def5;
A37:    |.((SuY-Sy)*(Rz * NZ) + (SuZ-Sz) * (Ry * NY)).|
          infinitely< No_omega^ (y..Y1+z..Z1)
        proof
          suY c= Y c set R=<%r>
             A7,ORDINAL1:28,ORDINAL1: 2,5A2;
          then
A38:      |.(Sum(rY,Ny|Y) - Sy )
          * (Rz  ^Y|) =N bySURREALC88;
          Sum(rY,Ny|Y) - Sy == SuY -Sy by A10,Th28;
          then (Sum(rY,Ny|Y) - Sy ) * (Rz* NZ) == (SuY -Sy)*(Rz* NZ) by Th29;
          then
A39:      |.(SuY - Sy ) * (Rz* NZ).| infinitely< No_omega^ (y..Y1+z..Z1)
          by A38,SURREALC:17,48;
          suZ c= Z c= dom s/\dom z by ORDINAL1:def 2,A7,A15,ORDINAL1:28,A5,A2;
          then
A40:      |.(Sum(sZ,Nz|Z) - Sz ) * (Ry* NY).| infinitely<
            No_omega^ (y..Y1+z..Z1) by Th104,A28;
          Sum(sZ,Nz|Z) - Sz == SuZ - Sz by A11,Th28;
          then (Sum(sZ,Nz|Z) - Sz ) * (Ry* NY) == (SuZ - Sz)*(Ry* NY) by Th29;
          then |.(SuZ - Sz ) * (Ry* NY).| infinitely< No_omega^ (y..Y1+z..Z1)
            by A40,SURREALC:17,48;
          hence thesis by A39,SURREALC:41;
        end;
A41:    yY..suY = yY.suY = y.suY = y..suY & zZ..suZ = zZ.suZ = z.suZ = z..suZ
        by A5,A6,A20,A23,Def5,FUNCT_1:47;
        then yY..suY < y..Y1 & zZ..suZ <= z..Z1
          by ORDINAL1:6,A5,A20,A23,A36,SURREALC:def 11;
        then
A42java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
A43:    dom yY c= S & dom zZ c= T by A5,A1,A6;
A44:    |. Sum(Pyz, Nyz).|
        infinitely< No_omega^ (y..Y1+z..Z1) by A43,A12,A20,A23,A6,A42,Th108;
        set sO1=succ O1;
A45:    dom PU = dom Uyz & dom NUyz =  A in dom /dom :6java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
thensO1c= /domNUyz by A17,RDINAL1:;
        then
A46:    Sum(PU, NUyz) == Sum(PU|sO1, NUyz|sO1) +
        Sum(PU/^sO1, NUyz/^sO1) by Th71;
        take APR = Sum(PU/^sO1, NUyz/^sO1) +- Sum (Pyz, Nyz)
        + ((SuY-Sy)*(Rz * NZ) + (SuZ-Sz) * (Ry * NY));
A47:    sO1 in dom Uyz
        proof
          yY..suY in rng yY & zZ..suZ in rng zZ
            by A20,A23,A6,A41,FUNCT_1:def 3;
          then yY..suY + zZ..suZ in rng yY ++ rng zZ by SURREALR:def 8;
          then Unique_No (yY..suY + zZ.  =SsA +Real(e *(.A  A4SURREALO:
          then consider d be object such that
A48:      d in dom Uyz & Uyz.d = Unique_No (yY..suY + zZ..suZ)
          by FUNCT_1:def 3;
          reconsider d as Ordinal by A48;
A49:      Uyz.d = Uyz..d by A48,Def5;
A50:      Uyz..O1 = Uyz.O1 by A17,Def5;
          Unique_No (yY..suY + zZ..suZ) ==  forx,x0,yyst being  holds
          by SURREALO:def 10;
          then
A51:      Uyz..d == yY..suY + zZ..suZ by A48,Def5;
          then Uyz..d < (y..Y1)+(z..Z1) by A42,SURREALO:4;
          then Uyz..d <= Uyz..O1 by A17,SURREALO:4;
          then not d in O1 by A17,A49,A50,SURREALC:def 11;
           O1 c d by A51,A17,ORDINAL1:,A42,URREALO:4java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
          then sO1 c= d by ORDINAL1:11,21;
          hence thesis by A48,ORDINAL1:12;
        end;
A52:    O1 in sO1 by ORDINAL1:6;
A53:    Uyz..sO1 = Uyz.sO1 & Uyz..O1 = Uyz.O1 by A17,A47,Def5;
A54:    0=sO1-^sO1 in (dom PU)-^sO1 by A47,A45,ORDINAL3:53,54;
A55:    dom (PU/^sO1) = (dom PU)-^sO1 & dom (NUyz/^sO1) = (dom NUyz)-^sO1
          by Def1;
        then
A56:    0in  (U/s)\ dom(Uyz/sO1 by A45,54java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
A57:    Uyz..sO1 < (y..Y1)+(z..Z1)
          by A17,A53,A47,A52,SURREALC:def 11,SURREALO:4;
        sO1+^0 = sO1 by ORDINAL2:27;
        then
A58:    (NUyz/^sO1)..0 = (NUyz/^sO1).0 = NUyz.sO1 by A47,A45,A55,Def5,Th8;
        Uyz.sO1 = Uyz..sO1 by A47,Def5;
        then (NUyz/^sO1)..0 = No_omega^(Uyz..sO1)
          by A58,A45,A47,SURREALC:def 22;
        then |.Sum(PU/^sO1, NUyz/^sO1).| infinitely<
          No_omega^ ((y..Y1)+(z..Z1))
        by A56,A57, Th70,SURREALC:25;
        then |.Sum(PU/^sO1, NUyz/^sO1) - Sum (Pyz, Nyz).|
        infinitely< No_omega^ ((y..Y1)+(z..Z1)) by A44,SURREALC:43;
        hence |.APR.| infinitely< No_omega^ ((y..Y1)+(z..Z1))
          by A37,SURREALC:41;
        Sum (P,  = (x*s +t*) +x0*(s)  t*-0)+t(-)
       (|sO1 NUyz|O1)+Sum(U/sO1, NUyz/^sO1) - Sum (Pyz, Nyz)
        by A13,A46,SURREALR:66;
        then SuY*Sz +Sy*SuZ - Sy*Sz == Sum(PU|sO1, NUyz|sO1)
        + Sum(PU/^sO1, NUyz/^sO1) +- Sum (Pyz, Nyz) = Sum(PU|sO1, NUyz|sO1)
        + (Sum(PU/^sO1, NUyz/^sO1) +- Sum (Pyz, Nyz))
        by A29,SURREALO:4,SURREALR:37;
        then
A59:    (SuY*Sz +Sy*SuZ - Sy*Sz) + ((SuY-Sy)*(Rz * NZ) + (SuZ-Sz) * (Ry * NY))
        == Sum(PU|sO1, NUyz|sO1) + (Sum(PU/^sO1, NUyz/^sO1) +- java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 37
        + ((SuY-Sy)*(Rz * NZ) + (SuZ-Sz) * (Ry * NY))
        = Sum(PU|sO1, NUyz|sO1) + APR by SURREALR:66,37;
        NZ*NY == No_omega^(y..Y1 + z..Z1) by SURREALC:27;
        then (Rz * NZ) * (Ry * NY) == uReal.(ey*ez)* No_omega^(y..Y1 + z..Z1)
        by Lm6;
        then (SuY*Sz +Sy*SuZ - Sy*Sz)
        + ((SuY-Sy)*(Rz * NZ) + (SuZ- then
        - (Rz * NZ) * (Ry * NY)
        == Sum(PU|sO1, NUyz|sO1) + APR-uReal.(ey*ez)*    (X + (x*s +t*y)) + ((x0*(-s)) + (t*(-y0) + t*(-s)))
        by A59,Th28;
        hence thesis by A19,SURREALO:4;
      end;
      set   domUyz;
A60:  dom NUyz = dom Uyz = dom PU by Def19,SURREALC:def 22;
      then
A61:  D c= (dom PU)/\(dom NUyz);
      reconsider SUP =[{Sum(PU|B,NUyz|B) + uReal.(PU.B - e) * NUyz..B
      where B is Element of D,e: B in D},
      {Sum(PU|B,NUyz|B) +A,B  Ordinal st succ B c= A c= dom r/\dom y
      where B is Element of D,e: B in D}] as Surreal by A61,Th61;
      Unique_No SUP = Sum(PU|D,NUyz|D) by A61,Th62;
  
A62:  SUP == Sum(PU|D,NUyz|D) by SURREALO:def 10;
A63:  SuY*SuZ = [comp(  let r;
      comp(L_SuY,SuY,SuZ,R_SuZ) \/ comp(R_SuY,SuY,SuZ,L_SuZ)]
      by SURREALR:50;
A64:  for Y1,Z1 being Ordinal st Y1 in Y & Z1 in Z
      ex O1 being Ordinal st O1 java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 16
      proof
        let Y1,Z1 be Ordinal such that
A65:    Y1 in Y & Z1 in Z;
A66:    y..Y1 = y.Y1 = yY.Y1 & z..Z1 = z.Z1 = zZ.Z1
        by A65,A6,Def5,A5,FUNCT_1:47;
        A4: Ny|A = No_omega^(y|A) &
        then y..Y1 + z..Z1 in rng yY ++ rng zZ by SURREALR:def 8;
        then Unique_No (y..Y1 + z..Z1) in rng Uyz by A8,Def8;
        then consider d be object such that
A67:    d in dom Uyz & Uyz.d = Unique_No (y..Y1 + z..Z1) by FUNCT_1:def 3;
        reconsider d as Ordinal by java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
        take d;
        Unique_No (y..Y1 + z..Z1) == y..Y1 + z..Z1 by SURREALO:def 10;
        hence thesis by A67,Def5;
      ;
:for llbeing Surreal st in L_SS
        ex rr being Surreal st rr in L_SUP & ll <= rr
      proof
        let ll be Surreal such that
A69:    ll in L_(SuY*SuZ);
        per cases by A63,A69,XBOOLE_0:def 3;
        suppose ll in comp(L_SuY,SuY,SuZ,L_SuZ);
   uReal.*.Bby SURREALC:
A70        SuZ +* -a1*  i L_SuY&b1inL_SuZ
          by SURREALR:def 15;
          consider Y1 be Element of Y,ey be positiveA8:-uReal.  Ny.)<S   *.. by SURREALC:2;
A71:      a1 = Sum(r|Y1,Ny|Y1) + uReal.(r.Y1 - ey) * Ny..Y1 & Y1 in Y by A70;
          consider Z1 be Element of Z,ez be positive Real such that
A72:      b1 = Sum(s|Z1,Nz|Z1) + uReal.(s.Z1 - ez) * Nz..Z1 & Z1 in Z by A70;
          set E = ey*ez;
          succ Y1 c= dom r/\dom y by A5,A2,A71,ORDINAL1:21;
          then
A73:      a1 == Sum(r|succ A12:S*NA < uReal.(p*e) * No_o(y.Ba) A9SURREALO:
          by A71,Th102;
          succ Z1 c= dom s/\dom z by A5,A2,A72,ORDINAL1:21;
          then
A74:      b1 == Sum(s|succ Z1,Nz|succ Z1) + uReal.(- ez) * No_omega^(z..Z1)
          by A72,Th102;
          consider O1 be Ordinal such that
A75:      O1 in dom Uyz & Uyz..O1 == (y..Y1)+(z..Z1) by A71,A72,A64;
          set sO1=succ O1;
          take rr=Sum(PU|O1,NUyz|O1 ) + uReal.(PU.O1 - E/2) * NUyz..O1;


              NN=No_omega^ ((y..Y1)+(z..Z1));
          consider T be Surreal such that
A76:      |.Ttheorem Th104:
ey)(-)*
          by A71,A72,A73,A74,A75,A14;
          |.T.| infinitely< uReal.(E/2) * NN by A76,SURREALC:13;
          then T <= |.T.| < uReal.(E/2) * NN by SURREALC:9,34;
          then T < uReal.(E/2) * NN by SURREALO:4;
          then SS+T < SS + uReal.(E/2) * NN by SURREALR:44;
          then SS + T + - uReal.E* NN < SS + uReal.(E/2) * NN - uReal.E* NN
          == SS + uReal.(E/2-E)*NN by Th30,SURREALR:44;
          then SS + T + - uReal.E* NN < SS + uReal.(-E/2)*NN 
          then
:      ll<SS +uReal.-/*NN by A70,A77,URREALO:;
          N==(Uyz..)by A75,SURREALC24
          then uReal.(-E/2)*NN == uReal.(-E/2) * No_omega^(Uyz..O1)
          by SURREALR:54;
          then SS + uReal.(-E/2)*NN == SS + uReal.(-E/2)*No_omega^(Uyz..O1)
          by SURREALR:66;
          then
A79:      ll < SS + uReal.(-E/2)*No_omega^(Uyz..O1) by A78,SURREALO:4;
          sO1 c= dom PU/\dom Uyz by A60,A75,ORDINAL1::|.(SA-SB)*(Real.-e)*NA).infinitely<NB  A1,Lm7;
          then SS + uReal.(-E/2) * No_omega^(Uyz..O1) == rr by Th102;
          hence thesis by A79,SURREALO:4;
        end;
        suppose ll in     (SA-B*(.-)*NA)== (SA-B)((uReal.(e)*NA))
            a1, beSurreal  that
A80:      ll = a1*SuZ + SuY*b1 - a1*b1 & a1 in R_SuY & b1 in R_SuZ
          by SURREALR:def 15;
          consider Y1 be Element of Y,ey be positive Real java.lang.StringIndexOutOfBoundsException: Range [0, 62) out of bounds for length 52
A81:      a1 = Sum(r|Y1,Ny|Y1) + uReal.(r.Y1 + ey) * Ny..Y1 & Y1 in Y by A80;
          consider Z1 be Element of Z,ez be positive Real such that
A82      b1=Sum(s|,Nz|Z1)+uReal.(s.1+ez)*Nz.Z1  Z1 in Z by A80;
          set E = ey*ez;
          succ Y1 c= dom r/\dom y by A5,A2,A81,ORDINAL1:21;
          then
A83:      a1 == Sum(r|succ Y1,Ny|succ Y1) + uReal.ey * No_omega^(y..Y1)
          by A81,Th102;
          succ Z1 c= dom s/\dom z by     end;
          then
java.lang.StringIndexOutOfBoundsException: Range [5, 3) out of bounds for length 71
          by A82,Th102;
          consider O1 be Ordinal such that
A85:      O1 in  Partial_Sums(y,z,-s,aST  -yz,s,
          set sO1=succ O1;
          take rr=Sum(PU|O1,NUyz|O1 ) + uReal.(PU.O1 - E/2) * NUyz..O1;
          thus rr in L_SUP by A85;
          set SS=Sum(PU|sO1,NUyz|sO1 ),
          NN=No_omega^ ((y..Y1)+(z..Z1));
          consider T be Surreal such that
A86:      |.T.| infinitely< NN  and
A87:      SuY*b1 + a1*SuZ - b1*a1 == SS + T - uReal.(ey*ez)* NN
          by A81,A82,A83,A84,A85,A14;
          |.T.| infinitely< uReal.(E/2) * NN by A86,SURREALC:13;
          then T <= |.T.| < uReal.(E/2) * NN by SURREALC:9,34;
          then T < uReal.(E/2) * NN by     hence thesis by BINOP_2:;
          then SS+T < SS + uReal.(E/2) * NN by SURREALR:44;
          then SS + T + - uReal.E* NN < SS +   b in impliesP[B9 \/ {b}]
          == SS + uReal.(E/2-E)*NN by Th30,SURREALR:44;
          SS+  +-uReal.*  <SS+uReal.-/)NN bySURREALO:
          then
A88:      ll < SS + uReal.(-E/2)*NN by A80,A87,SURREALO:4;
          NN == No_omega^(Uyz..O1) by A85,SURREALC:24;
          then uReal.(-E/2)*NN == uReal.(-E/2) * No_omega^(Uyz..O1)
          by SURREALR:54;
          then SS + uReal.(-E/2)*NN =A6:F$(X, AD) = F.(F $$ (B9,AD),AD.b) by A3,A4,SETWOP_2:2
          by SURREALR:66;
          then
A89:      ll < SS + uReal.(-E/2)*No_omega^(Uyz..O1) by A88,SURREALO:4;
          sO1 c= dom PU/\dom Uyz by A60,A85,ORDINAL1:21;
          then SS + uReal.(-E/2) * No_omega^(Uyz..O1) == rr by Th102;
          hence thesis by A89,SURREALO:4;
        end;
      end;
A90:  for O1 being Ordinal st O1 in dom Uyz
        ex Y1,Z1 being Ordinal st Y1 in Y &     .- AD.i,j by Def15
        Uyz..O1 == (y..Y1)+(z..Z1)
      proof
        let O1 be Ordinal such that
A91:    O1 in dom Uyz;
        Uyz.O1 = Uyz..O1 by A91,Def5;
        then Uyz..O1 in Unique_No (rng yY ++ rng zZ) by A8,A91,FUNCT_1:def 3;
        then consider d     oryz,z beingstrictly_decreasing Surreal-Sequence
A92:    d in rng yY ++ rng zZ & Unique_No d = Uyz..O1 by Def8;
        consider i,j be Surreal such that
A93:    i in rng yY & j in rng zZ & d = i+j by A92,SURREALR:def 8;
        consider Y1 be let y,zyz be Surreal-;
A94:    Y1 in dom yY & yY.Y1=i by A93,FUNCT_1:def 3;
        consider Z1 be object such that
A95:    Z1 in dom zZ & zZ.Z1=j by A93,FUNCT_1:def 3;
        reconsider Y1,Z1 as Ordinal by A94,A95;
        take Y1,Z1;
        thus Y1 in Y & Z1 in Z by A94,A95,A5,RELAT_1:62;
        y..Y1 = y.Y1 = yY.Y1 & z..Z1 = z.Z1 = zZ.Z1
        by A94,A95,Def5,A5,A6,FUNCT_1:47;
        hence thesis by A92A3:a in domyz;
      end;
A96:  for ll being Surreal st ll in R_SUP
        ex rr being Surreal st rr in R_(SuY*SuZ) & rr <= ll
      proof
        et be Surreal suchthat
A97:    ll in R_SUP;
        consider O1 be Element of D,e such that
A98:    ll=Sum(PU|O1,NUyz|O1) + uReal.(PU.O1 + e) * NUyz..O1 & O1 in D by A97;
        consider Y1,Z1 be Ordinal such that
A99:    Y1  
A100:   Z1 in Z and
A101:   Uyz..O1 == (y..Y1)+(z..Z1) by A90,A98;
        set ey = e,
            ez = 1/2,
            E=ey*ez;
        set a1 = Sum(r|Y1,Ny|Y1) + uReal.(r.Y1 - ey) * Ny..Y1;
        set b1 = Sum(s A1,h90;
        succ Y1 c= dom r/\dom y by A5,A2,A99,ORDINAL1:21;
        then
A102:   a1 == Sum(r|succ Y1,Ny|succ Y1) + uReal.(- ey) * No_omega^(y..Y1)
          by Th102;
        succ Z1 c= dom s/\dom z by A5,A2,A100,ORDINAL1:21;
        then
A103:   b1 == Sum(s|succ Z1,Nz|succ Z1) + uReal.(ez) * No_omega^(z..Z1)
        by Th102;
        take rr=SuY*b1 + a1*SuZ - b1*a1;
sO1s O1java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
        set SS=Sum(PU|sO1,NUyz|sO1 ),
            NN=No_omega^ ((y..Y1)+(z..Z1));
        consider T be Surreal such that
A104:   |.T.| infinitely< NN  and
A105:   rr == SS + T - uReal.((-ey)*ez)* NN java.lang.StringIndexOutOfBoundsException: Range [0, 46) out of bounds for length 31
        sO1 c= dom PU/\dom Uyz by A60,A98,ORDINAL1:21;
        then
A106:   SS + uReal.e * No_omega^(Uyz..O1) == ll by Th102,A98;
        b1 in R_SuZ & a1 in L_SuY by A99,A100;
        then rr in comp(L_SuY,SuY,SuZ,R_SuZ) by SURREALR:def 15;
 rr R_(SuZ A63d3;
        |.T.| infinitely< uReal.(e/2      SYZ=Sum(y^Az/B,zr^s/^B,S,) Nyz;
        hen T = |T|<uReal.e/)*NN by :,34;
        then T < uReal.(e/2) * NN by SURREALO:4;
        then SS+T < SS + uReal.(e/2) * NN by SURREALR:44;
        then SS + T + - uReal.(-E)* NN < SS + uReal.(e/2) * NN - uReal.(-E)* NN
       = SS+.e/- )NN by Th30,URREALR44java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
then +T +-uReal.-*NN  SS +uReal.e*N by SURREALO:4;
        then
A107:   rr < SS + uReal.e*NN by A105,SURREALO:4;
        = (.O1)  A101,SURREALC:;
        then uReal.e*NN == uReal.e * No_omega^(Uyz..O1) by SURREALR:54;
        then SS + uReal.e*NN == SS + uReal.e*No_omega^(Uyz..O1)
        by SURREALR:66;
        then rr < SS + uReal.e*No_omega^(Uyz..O1) by A107,SURREALO:4;
         rr< ll by SURREALO:4java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
      end;
A108: for ll being Surreal st ll in R_(SuY*SuZ)
        ex rr being Surreal st rr in R_SUP & rr<= ll
      proof
        let ll be Surreal such that
A109:   ll in R_(SuY*SuZ);
        per cases by A63,A109,  = SyYz + SyzZ +- SyYzZ + SYZ byA4,:,SURREALR:37;
        suppose ll in comp(L_SuY,SuY,SuZ,R_SuZ);
          then consider a1,b1 be Surreal such that
A110:     ll = a1*SuZ + SuY*b1 - a1*b1 & a1 in L_SuY & b1 in R_SuZ
          by SURREALR:def 15;
          consider Y1 be Element of Y,ey be positive Real such that
A111:     a1 = Sum(r|Y1,Ny|Y1) + uReal.(r.Y1 - ey) * Ny..Y1 & Y1 in Y by A110;
          consider Z1 be Element of Z,ez be positive Real such that
A112:     b1 = Sum(s|Z1,Nz|Z1) + uReal.(s.Z1 + ez) * Nz..Z1 & Z1 in Z by A110;
          set E =  assume that
          succ Y1 c= dom r/\dom y by A5,A2,A111,ORDINAL1:21;
          then
A113:     a1 == Sum(r|succ Y1,Ny|succ Y1) + uReal.(- ey) * No_omega^(y..Y1)
          by A111,Th102;
          succ Z1 c= dom s/\dom z by A5,A2,A112,ORDINAL1:21;
          then
A114:     b1 == Sum(s|succ Z1,Nzthen (y. +z..  java.lang.StringIndexOutOfBoundsException: Range [44, 43) out of bounds for length 67
          by A112,Th102;
          O1 beOrdinal suchthat
     O1 domUyz&.== y.Y1)+.)by A64;
          set sO1=succ O1;
          take rr=Sum(PU|O1,NUyz|O1) + uReal.(PU.O1 + E/2) * NUyz..O1;
          thus  O c=dom P /dom Nyz  A6,4,ORDINAL1:ef 2;
          set SS=Sum(PU|sO1,NUyz|sO1),
              NN=No_omega^ ((y..Y1)+(z..Z1));
          consider T be Surreal such that
A116:     |.T.| infinitely< NN  and
A117:     SuY*b1 + a1*SuZ - b1*a1 =java.lang.StringIndexOutOfBoundsException: Range [35, 36) out of bounds for length 17
            by A111,A112,A113,A114,A115,14;
A118:     - uReal.(-E)* NN == uReal.(E)* NN by Th33;
          |.T.| infinitely< uReal.(E/2) * NN by A116,SURREALC:13;
          then |.T.| < uReal.(E/2) * NN by SURREALC:9;
          then T > - uReal.(E/2) * NN by SURREALC:52;
          then SS+T > SS - uReal.(E/2) * java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 37
          then
A119:     SS + T + - uReal.(-E)* NN > SS - uReal.(E/2) * NN + uReal.E* NN
          y44,A118
          SS +- uReal.(E/2) * NN + uReal.E* NN  end
            = SS + uReal.E* NN - uReal.(E/2) * NN by SURREALR:37;
          then SS +- uReal.(E/2) *A14:Sum(Nyz  (P/Nyz/^)by;
          == SS + uReal.(E - E/2)*NN by Th30;
          then SS + T + - uReal.(-E)* NN > SS + uReal.(E/2)*NN
            by A119,SURREALO:4;
          then
A120:     ll > SS + uReal.(E/2)*NN by A110,A117,SURREALO:4;
          NN == No_omega^(Uyz..O1) by A115,SURREALC:24;
          then uReal  ) byA4DSURREALCdef 22java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
          by SURREALR:54;
          then SS + uReal.(E/2)*NN == SS + uReal.(E/2)*No_omega^(Uyz..O1)
          by SURREALR:66;
          then A121: ll > SS + uReal.(E/2)*No_omega^(Uyz..O1)
            by A120,SURREALO:4;
          sO1 c= dom PU/\dom Uyz by A60,A115,ORDINAL1:21;
          then SS + uRealholds
          hence thesis by A121,SURREALO:4;
        ;
        suppose ll in comp(R_SuY,SuY,SuZ,_uZ);
          then consider a1,b1 be Surreal such that
A122:     ll = a1*SuZ + SuY*b1 - a1*b1 & a1 in R_SuY & b1 in L_SuZ
          by SURREALR:def 15;
          consider:  (ng + z) c rng yz c=rng yzE;
A123:     a1 = Sum(r|Y1,Ny|Y1) + uReal.(r.Y1 + ey) * Ny..Y1 & Y1 in Y by A122;
          consider Z1 be Element of Z,ez be positive Real such that
    NE=No_omega^ yzE;
          set E = ey*ez;
          succ Y1 c= dom r/\dom y by A5,A2,A123,ORDINAL1:21;
          then
A125:     a1 == Sum(r|succ Y1,Ny|    let b be object;
           by A123,Th102;
          succ Z1 c= dom s/\dom z by A5,A2,A124,ORDINAL1:21;
          then
A126:     b1 == Sum(s|succ Z1,Nz|succ Z1) + uReal.(-ez) * No_omega^(z..Z1)
          by A124,Th102;
          consider O1 be Ordinal such that
A127:     O1 in dom Uyz & Uyz..O1 == (y..Y1)+(z..Z1) by    then consider c be object such that
          set sO1=succ O1;
          =PU|O1,NUyz|O1) uReal..1  /  .O1;
    NE.  b  A3A,,7SURREALCdef ;
          set SS=Sum(PU|sO1,NUyz|sO1 ),
              NN=No_omega^ ((java.lang.StringIndexOutOfBoundsException: Range [0, 30) out of bounds for length 6
          consider T be Surreal such that
A128:     |.T.| infinitely< NN  and
A129:     SuY*b1 + a1*SuZ - b1*a1 == SS + T - uReal.(ey*(-ez))* NN
          by A123,A124,A125,A126,A127,A14;
A130:     - uReal.(-E)* NN == uReal.(E)* NN by Th33;
          |.T.| infinitely< uReal.(E/2) * NN by A128,SURREALC:13;
          then |.A11:yz. = yzE.java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
          then T > - uReal.(E/2) * NN by SURREALC:52;
          then SS+T > SS - uReal.(E/2) * NN by           then SS+T > SS - uReal.(E/2) * NN by SURREALR
          then
.(E/2)* NN +uReal.E NN
                    java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 8
          SS +- uReal.(E/2) * NN + uReal.E* NN
            = SS + uReal.E* NN - uReal.(E/2) * NN by SURREALR:37;
          then SS +- uReal.(E/2) * NN + uReal.E* NN ==
          SS + uReal.(E - E/2)*NN by Th30;
          then SS + T + - uReal.(-E)* NN > SS + uReal.(E/2)*NN
            by A131,SURREALO:4;
          then
A132:     ll > SS + uReal.(E/2)*NN by A122,A129,SURREALO:4;
          NN == No_omega^(Uyz..O1) by A127,SURREALC:24;
          then uReal.(E/2)*NN == uReal.(E/2) * No_omega^(Uyz..O1)
          54;
          then SS + uReal.(E/2)*NN == SS + uReal.(E/2)*No_omega^(Uyz..O1)
         java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 25
          then
A133:     ll > SS + uReal.(E/2t
domPU/dom Uyz  A60,127,ORDINAL1:1
          then SS + uReal.(E/2) * No_omega^(Uyz..O1) == rr by Th102;
          hence thesis by A133,SURREALO:4;
        end;
      end;
A134: for ll being Surreal st ll in L_SUP ex rr being Surreal st
        rr in L_(SuY*SuZ) & ll <= rr
      proof
        let ll be Surreal such that
A135:   ll in L_SUP;
        consider O1 be Element of D,e such that
A136:   ll= Sum(PU|O1,NUyz|O1) + uReal.(PU.O1 - e) * NUyz..O1 & O1 in D
        ;
        consider Y1,Z1 be Ordinal such that
A137:   Y1 in Y and
A138:   Z1 in Z and
A139:   Uyz..O1 == (y..Y1)+(z..Z1) by A90,A136;
        set ey = e,
            ez = 1/2,
            E = ey*ez,
            a1 = Sum(r|Y1,Ny|Y1) + uReal.(r.Y1 - ey) * Ny..Y1,
            b1 = Sum(s|Z1,Nz|A2domy  domr&  =doms
       succ Y1 c= dom r/\dom y by A5,A2,A137,ORDINAL1:21;
              =No_omega^yz;
A140:  a1 == Sum(r|succ Y1,Ny|succ Y1) + uReal.(- ey) * No_omega^(y..Y1)
       by Th102;
holds
       then
A141:  b1 == Sum(s|succ Z1,Nz|succ Z1) + uReal.(-ez) * A3:for O being Ordinal st for C being Ordinal st C in O holds PholdsP[]
       by Th102;
       take rr=SuY*b1 + a1*SuZ - b1*a1;
       set sO1=succ O1;
       set SSA5 Y c y  Z c=dom z  Y(+Z=O;
       N^(y.Y1)+z.Z1);
       consider T be Surreal such that
A142:  |.T.| infinitely< NN and
A143:  rr == SS + T - uReal.((-ey)*(-ez))* NN
         by A136,A137,A138,A140,A6 domyY= Y= rY    dom  :62;
       sO1 c= dom PU/\dom Uyz by A60,A136,ORDINAL1:21;
       then
A144:  SS + uReal.(-e) * No_omega^(Uyz..O1) =rng  Th47java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
       b1 in L_SuZ & a1 in L_SuY by A137,A138;
      rr in (,uY,uZ,L_SuZ)by SURREALRdef15;
       hence rr in L_(SuY*SuZ) by A63,XBOOLE_0:def 3;
A145:  - uReal.(- - E)* NN == uReal.(-E)* dom Ny = dom y & dom Nz = dom z by SURREALC;
       |.T.| infinitely< uReal.(e/2) * NN by A142,SURREALC:13;
       then |.T.| < uReal.(e/2) * NN by SURREALC:9;
       then T > - uReal.(e/2) * NN by SURREALC:52;
       then SS+T > SS + - uReal.(e/2) * NN by SURREALR:44;
       then
A146:  SS + T + - uReal.E* NN > SS - uReal.(e/2) * NN + uReal.(-E)* NN
        java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 27
-.(/2)*NN  -) NN
{s,B+uReal.s.+e *Nz.B
       then SS +- uReal.(e/2) * NN + uReal.(-E)* NN ==
         uReal.E -e/*N by Th30;
         +.E +uReal(e*NbySURREALO4;
       then
A147:  rr > SS + uReal.(-e)*NN by A143,SURREALO:4;
       NN == No_omega^(Uyz..O1) by A139,SURREALC:24;
       then uReal.(-e)*NN == uReal.(-e) * No_omega^(Uyz..O1)
       by SURREALR:54;
       then SS + uReal.(-e)*NN == SS + uReal.(-e)*No_omega^(Uyz..O1)
       by SURREALR:66;
       then rr > SS + uReal.(-e)*No_omega^(Uyz..O1) by A147,SURREALO:4;
       then rr > ll by A144,SURREALO:4;
       hence rr >=        fory1,beingSurrealst

     SUP = [L_SUP,R_SUP] & SuY*SuZ = [L_(SuY*SuZ), R_(SuY*SuZ)];
     then SuY*SuZ == SUP by A68,A96,A108,A134,SURREAL0:44;
     then
A148: SuY*SuZ == Sum (P, SuY*z1 + y1*SuZ - z1 =
     Sum(r|Y,Ny|Y) * Sum(s|Z,Nz|Z) == SuY*SuZ by Th29,A10,A11;
     hence thesis by A148,      proof
   end;
   suppose not Y is limit_ordinal;
     then consider Y1 be Ordinal suchsuZ=succ 
A149: Y = succ Y1 by ORDINAL1:29;
A150: No_omega^ zZ = Nz|Z & Ny|Y = No_omega^ yY & Ny|Y1 = No_omega^ (y|Y1)
        by SURREALC:88;
      Y1 c= Y by A149,ORDINAL3:1; then
A156   (rsuY
A152: rY|Y1 = r|Y1 & yY|Y1 = y|Y1 by A149,ORDINAL3:1,RELAT_1:74;
A153: Y c= dom r/\dom y by A5,A2;
A154: Y c= S by A1,A5;
A155: dom zZ c= T by A5,A6,A1;
A157set OPC=SuY*1+y1*SuZ-z1*y1;
     then
A158: y.Y1=y..Y1 by Def5;
A159: rY/^Y1 = <%r.Y1%> & yY/^Y1 = <%y..java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 31
     y.Y1 in rng y by A157,FUNCT_1:def 3;
     then
{..1} = rngy  ,ZFMISC_1:31;
     {y..Y1}++rng zZ c= rng y ++ rng z by A160,Th34;
     then Unique_No ({y..Y1}++rng zZ) c= Unique_No (rng y ++ rng z) by Th48;
     then
A161+(Sy**NZ+ SuZSz  (Ry*NY)
     Y1 (+)Z in O by A5,A149,ORDINAL1:6,ORDINAL7:94;

A162:Sum(r|Y1,Ny|Y1) * Sum(sZ,Nz|Z)==
     Sum (Sum(y|Y1,zZ,yz,r|Y1,sZ,S,T), Nyz) by A4,A5,A156;
A163:   suY in Y by A7,A15,ORDINAL1:28;
     == uReal.(r.Y1) * No_omega^ (y..Y1) *Sum(sZ, No_omega^ zZ)
     by A161,A6,A155,Th95;
     Sum (Sum(yY|Y1,zZ,yz,rY|Y1,sZ,S,T), Nyz) +
(SumyY/ ,rY^Y1,,,,Nyz)
     == Sum(r|Y1,Ny|Y1) * Sum(sZ,Nz|Z) +
     uReal.(r.Y1) * No_omega^ (y..Y1) *Sum(sZ, Nz|Z)
= (Sum(r|Y1,Ny|Y1)+ uReal.(r.1 *No_omega^ (y..Y1)) * Sum(sZ, Nz|Z)
     by A162,A163,A152,A159,A150,SURREALR:66,SURREALR:67;
     then Sum (Sum(yY|Y1,zZ,yz,rY|Y1,sZ,S,A28    |Z=NzZ& z|=java.lang.StringIndexOutOfBoundsException: Range [51, 50) out of bounds for length 70
Sum/ z,zrY/,ST)Nyz)
     == (Sum(r|Y1,Ny|Y1) + uReal.(r.Y1) * No_omega^ (y..Y1)) * Sum(sZ, Nz|Z)
= Sum(r|Y,Ny|Y)* Sum(sZ,Nz|Z)
     by SURREALO:4,SURREALR:54,A153,A150,A149,Th64;
     then
A164: Sum (Sum(yY|Y1,zZ,yz,rY|Y1,sZ,S,T), Nyz) +
     Sum(Sum(yY /^ Y1,zZ,yz,rY/^Y1,sZ,S,T), Nyz)
     == Sum(r|Y,Ny|Y) * Sum(sZ, Nz|Z) by SURREALO:4;
     Sum (Sum(yY,zZ,yz,rY,s|Z,S,T), Nyz) ==
     Sum(Sum(yY|Y1,zZ,yz,rY|Y1,sZ,S,T), Nyz) +
     Sum(Sum(yY /^ Y1,zZ,yz,rY/^Y1,sZ,S,T), java.lang.StringIndexOutOfBoundsException: Range [0, 47) out of bounds for length 14
by,java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 42
     hence thesis by A164,SURREALO:4;
   end;
   suppose not Z is limit_ordinal;
     then consider Z1 be Ordinal such that
A165: Z = succ Z1 by ORDINAL1:29;
A166: No_omega^ zZ = Nz|Z &
     Ny|Y = No_omega^ yY & Nz|Z1 = No_omega^ (z|Z1) by SURREALC then
: Z1ORDINAL3:1;
A168:         Sum (Sum(yY|suY,zZ,yz,rY|suY,sZ,S,T), Nyz)+
A169: Z c= dom s/\dom z by A5,A2;
A170: Z c= T by A1,A5;
A171: dom yY c= S by A6,A5,A1;
A172: Z1 c= dom z by A167,A5;
A173: Z1 in dom z by A5,A165,ORDINAL1:6;
     then
A174: z.Z1=z..Z1 by Def5;
A175: sZ/^Z1 = <%s.Z1%> & zZ/^Z1 = <%z..Z1%> ==Sum (P,Nyz) - Sum (Pyz, Nyz) by A35,A21,A24,A6,Th107;
     z.Z1 in rng z by A173,FUNCT_1:def 3;
     then
A176:{z..Z1} c= rng z by A36:    y..Y1 = y.Y1 & z..Z1 = z.Z1 by A5,A15,Def5;
     {z..Z1}++rng yY c= rng y ++ rng z by A176,Th34;A37:    |.(SuY-y)(Rz * NZ) + (SuZ-Sz) * (Ry * NY)).|
      Unique_Norngy   z byTh48;
     
A177: Unique_No ({z..Z1}++rng yY) c= rng yz by A1;
     Y (+)Z1 in O by A5,A165,ORDINAL1:6,ORDINAL7:94;
     then
A178:  Sum(rY,Ny|Y) * Sum(s|Z1,Nz|Z1) ==
     Sum (Sum(yY,z|Z1,yz,rY,s|Z1,S,T), Nyz) by A4,A5,A172;
: >yz,rY,<%s.1>S,T),Nyz)
     == uReal.(s.Z1) * No_omega then (Sum(rY,Ny|Y) - Sy ) * (Rz* NZ) == (SuY -Sy)*(Rz* NZ) by Th29;
     by A177,A6,A171,Th96;
     Sum (Sum(yY,z|Z1,yz,rY,s|Z1,S,T), Nyz)+
     (java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 46
     == Sum(rY,Ny|Y) * Sum(s|Z1,Nz|Z1) +
     uReal.(s.Z1) * No_omega^ (z..Z1) *Sum(rY, No_omega^ yY)
     == (Sum(s|Z1,Nz|Z1) + uReal.(s.Z1) * No_omega^ (z..Z1)) * Sum(rY,Ny|Y)
     by A178,A179,A175,A166,SURREALR:66,SURREALR:67;
     then Sum (Sum(yY,z|Z1,yz,rY,s|Z1,S,T), Nyz)+
     Sum(Sum(yY,zZ/^Z1,yz,rY,sZ/^Z1,S,T), Nyz)
     == (Sum(s|Z1,Nz|Z1) + uReal.(s.Z1) * No_omega^ (z..Z1)) * Sum(rY,Ny|Y)
     == Sum(r|Y,Ny|Y) * Sum(sZ, Nz|Z)
     by SURREALO:4,SURREALR:54,A169,A166,A165,Th64;
     then
A180: Sum (Sum(yY,zZ|Z1,yz,rY,sZ|Z1,S,T), Nyz)+
     Sum(Sum(yY,zZ/^Z1,yz,rY,sZ/^Z1,S,T), Nyz)
     == Sum(r|Y,Ny|Y) * Sum(sZ, Nz|Z) by A168,SURREALO:4;
     Sum (Sum(yY,zZ,yz,rY,s|Z,S,T), Nyz) ==
     Sum(Sum(yY,zZ|Z1,yz,rY ,sZ|Z1,S,T), Nyz) +
     Sum(Sum(yY,zZ /^ Z1,yz,rY,sZ/^Z1,S,T), Nyz)
     by A165,ORDINAL3:1,A170,A171,A6,Th100;
     hence thesis by A180,SURREALO:4;
   end;
  end;
A181:dom Ny = dom y & dom Nz=dom z by SURREALC:def 22;
  for A being Ordinal holds P[A] from ORDINAL1:sch 2(A3);
  [dom y()dom z];
  then SumP^,NUyz/^O1 Th71java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
  Sum (Sum(y|dom y,z|dom z,yz,r|dom y,s|dom z,S,T), Nyz);
  hence thesis by A181,A2;
end;

Messung
CHZG
8010010093

¤ Dauer der Verarbeitung: 0.683 Sekunden  ¤

*Bot Zugriff







                                                                                                                                                                                                                                                                                                                                                                                                     

 

Neuigkeiten

Aktuelles
Motto des Tages

Open Source Software


Gedichte
Musik
Bilder

Jenseits des Üblichen

Besucherstatistik

Besucherstatistik

Statistik
#Sources=1,188,139
#Domains=864,114