:: 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, FINSUB_1, INT_1, CARD_3, ORDINAL4, ZFMISC_1,
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, ZFMISC_1, RELAT_1, FUNCT_1, FINSUB_1,
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, SURREALO, SURREALR, SURREALI, SURREALN,
SURREALC, XREAL_0, NEWTON, NAT_1, AFINSQ_1, STRUCT_0, WELLORD1, ORDERS_2,
RELAT_2, WELLFND1, WELLORD2, YELLOW_0, VALUED_0, VALUED_1, WAYBEL_0;
constructors RELSET_1, SETWISEO, AFINSQ_1, BINOP_2, NEWTON, ORDINAL3,
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, RELSET_1, INT_1, XTUPLE_0, SURREAL0, SURREALO,
SURREALR, SURREALC, SURREALN, NEWTON, XCMPLX_0, RAT_1, MEMBERED,
ORDINAL3, AFINSQ_1, VALUED_0, WELLORD1, WELLORD2, WELLFND1, ORDERS_2,
ORDINAL5, AFINSQ_2, SURREALI, BINOP_2, POLYNOM9;
requirements ARITHM, NUMERALS, REAL, BOOLE, SUBSET;
begin :: Transfinite Shifting of a Sequence
reserve A,B,C
for Ordinal,
f,g
for Sequence;
theorem :: SURREAL1:1
f^{} = f;
theorem :: SURREAL1:2
A c= dom f
implies (f^g) | A = f|A;
theorem :: SURREAL1:3
A c= B
implies B = A+^(B-^A);
theorem :: SURREAL1:4
dom f c= A
implies (f^g) | A = f ^ (g | (A-^dom f));
theorem :: SURREAL1:5
for g1,g2
being Sequence st f^g1 = f^g2
holds g1=g2;
definition
let f
be Sequence;
let A
be Ordinal;
func f /^ A -> Sequence means
:: SURREAL1:def 1
dom it = (dom f) -^ A & f = (f|A)^it;
end;
theorem :: SURREAL1:6
dom (f/^A) c= dom f;
theorem :: SURREAL1:7
A c= B
implies
f.B = (f/^A).(B-^A) &
(B
in dom f iff B-^A
in dom (f/^A));
theorem :: SURREAL1:8
f.(A+^B) = (f/^A).B & ((A+^B)
in dom f iff B
in dom (f/^A));
registration
let D
be set;
let f
be Sequence
of D;
let A
be Ordinal;
cluster f/^A -> D-valued;
end;
theorem :: SURREAL1:9
succ A c= dom f
implies (f|succ A) /^ A = <%f.A%>;
begin :: Preliminaries on Monotone Sequences in Well-Founded Structures
theorem :: SURREAL1:10
for R
being RelStr
for X
being Subset
of R
holds
X
is well_founded iff subrelstr X
is well_founded;
theorem :: SURREAL1:11
for R
being RelStr
holds {}R
is well_founded;
theorem :: SURREAL1:12
for R
being non empty RelStr
for X
being Subset
of R
holds
X
is well_founded iff
not ex f
being sequence
of R st
rng f c= X & f
is descending;
theorem :: SURREAL1:13
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;
registration
let R
be non empty antisymmetric transitive RelStr;
cluster descending -> one-to-one
for sequence
of R;
end;
theorem :: SURREAL1:14
for R
being non empty RelStr
for f
being sequence
of R
for X
being Subset
of R st X/\rng f
is infinite
ex s
being subsequence
of f st rng s c= X;
theorem :: SURREAL1:15
for R
being RelStr
for X,Y
being Subset
of R st X c= Y & Y
is well_founded
holds X
is well_founded;
theorem :: SURREAL1:16
for R
being antisymmetric transitive RelStr
for X
being Subset
of R st X
is finite
holds X
is well_founded;
theorem :: SURREAL1:17
for R
being antisymmetric transitive RelStr
for X,Y
being well_founded Subset
of R
holds X\/Y
is well_founded;
definition
let R
be non empty RelStr, s
be sequence
of R;
attr s
is non-descending means
:: SURREAL1:def 2
for n
being Nat
holds [s.n,s.(n+
1)]
in the InternalRel
of R;
end;
theorem :: SURREAL1:18
for R
being non empty transitive RelStr, f
being sequence
of R
st f
is non-descending
holds for i,j
being Nat st i<j
holds [f.i,f.j]
in the InternalRel
of R;
theorem :: SURREAL1:19
for R
being non empty reflexive RelStr,
f
being sequence
of R st R
is connected
for X
being Subset
of R st rng f c= X & X
is well_founded
ex s
being subsequence
of f st s
is non-descending;
theorem :: SURREAL1:20
for R
being non empty transitive RelStr
for f
being sequence
of R st f
is non-descending
for s
being subsequence
of f
holds s
is non-descending;
definition
let R
be Relation, s
be Sequence
of field R;
attr s
is increasing means
:: SURREAL1:def 3
for A,B
being Ordinal st A
in B
in dom s
holds
s.A <> s.B & [s.A,s.B]
in R;
end;
registration
let R
be Relation;
cluster increasing -> one-to-one
for Sequence
of field R;
end;
theorem :: SURREAL1:21
for R
being Relation, X
being set st X = field (R|_
2 X)
holds
(R|_
2 X
is reflexive
implies R is_reflexive_in X) &
(R|_
2 X
is connected
implies R is_connected_in X) &
(R|_
2 X
is well_founded
implies R is_well_founded_in X);
theorem :: SURREAL1:22
for R
being Relation, X
being set
holds
(R|_
2 X
is transitive
implies R is_transitive_in X) &
(R|_
2 X
is antisymmetric
implies R is_antisymmetric_in X);
theorem :: SURREAL1:23
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 X
for s
being Sequence
of field R st rng s = X & s
is increasing
holds s is_isomorphism_of RelIncl dom s,R|_
2 X;
theorem :: SURREAL1:24
for R
being Relation
for X
being Subset
of field R
holds
R well_orders X iff
R|_
2 X is_reflexive_in X & R|_
2 X is_antisymmetric_in X
&
ex s
being Sequence
of field R st rng s = X & s
is increasing;
theorem :: SURREAL1:25
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 X
for s,t
being Sequence
of field R st
rng s = X = rng t & s
is increasing & t
is increasing
holds s = t;
definition
let R
be RelStr;
let A
be Subset
of R;
attr A
is well-ordering means
:: SURREAL1:def 4
the InternalRel
of R well_orders A;
end;
registration
let R
be RelStr;
cluster {}R -> well-ordering;
end;
theorem :: SURREAL1:26
for R
being RelStr
for X,Y
being Subset
of R st X c= Y & Y
is well-ordering
holds X
is well-ordering;
theorem :: SURREAL1:27
for X
being Subset
of A
ex s
being Ordinal-Sequence st s
is increasing & rng s = X;
begin :: Selected Properties of Operators on Sequences of Surreal Numbers
reserve s,x,x1,x2,y,y1,y2,z
for Surreal,
r,r1,r2,e
for Real,
S,T
for surreal-membered set;
theorem :: SURREAL1:28
x1 == x2 & y1 == y2
implies x1-y1 == x2-y2;
theorem :: SURREAL1:29
x1 == x2 & y1 == y2
implies x1 * y1 == x2 * y2;
theorem :: SURREAL1:30
s + uReal.(r+e)* z == s + uReal.r*z + uReal.e * z &
s + uReal.(r-e)* z == s + uReal.r*z - uReal.e * z;
theorem :: SURREAL1:31
0_No <= x infinitely< y
implies |.uReal.r* x.| infinitely< y;
theorem :: SURREAL1:32
uReal.r1 - uReal.r2 == uReal.(r1-r2);
theorem :: SURREAL1:33
x*uReal.r == - x*uReal.(-r);
theorem :: SURREAL1:34
for X1,X2,Y1,Y2
being set st X1 c= X2 & Y1 c= Y2
holds
X1 ++ Y1 c= X2 ++ Y2;
definition
let o
be object;
let f
be surreal-valued Function;
assume o
in dom f;
func f .. o -> Surreal equals
:: SURREAL1:def 5
f.o;
end;
definition
let S
be Surreal-Sequence;
redefine
attr S
is positive means
:: SURREAL1:def 6
for A st A
in dom S
holds S .. A
is positive;
end;
definition
let S
be Surreal-Sequence;
redefine
attr S
is decreasing_infinitely means
:: SURREAL1:def 7
for A,B st A
in B
in dom S
holds
S..B infinitely< S..A;
end;
registration
cluster decreasing_infinitely -> one-to-one
for Surreal-Sequence;
end;
registration
let f
be Surreal-Sequence;
let A
be Ordinal;
cluster f/^A -> surreal-valued;
end;
theorem :: SURREAL1:35
for f
being Surreal-Sequence st A c= B
in dom f
holds
f..B = (f/^A) .. (B-^A);
theorem :: SURREAL1:36
for f
being Surreal-Sequence st A+^ B
in dom f
or B
in dom (f/^A)
holds
f..(A+^B) = (f/^A)..B;
registration
let f
be positive Surreal-Sequence;
let A
be Ordinal;
cluster f /^ A -> positive;
end;
registration
let f
be decreasing_infinitely Surreal-Sequence;
let A
be Ordinal;
cluster f/^A -> decreasing_infinitely;
end;
definition
let S
be surreal-membered set;
func Unique_No S -> uniq-surreal-membered set means
:: SURREAL1:def 8
for x
holds
x
in it iff
ex y st y
in S & x = Unique_No y;
end;
definition
let s
be Surreal-Sequence;
func Unique_No s -> uSurreal-Sequence means
:: SURREAL1:def 9
dom it = dom s &
for A st A
in dom s
holds it.A = Unique_No s..A;
end;
theorem :: SURREAL1:37
for s
being Surreal-Sequence
holds Unique_No rng s = rng Unique_No s;
theorem :: SURREAL1:38
Unique_No (S++T) = Unique_No ((Unique_No S)++(Unique_No T));
theorem :: SURREAL1:39
Unique_No S = {} iff S = {};
begin :: Well-Ordered Substructures of Surreal Numbers under the Reverse Order
definition
let X
be surreal-membered set;
func RevSurrStr X -> strict RelStr means
:: SURREAL1:def 10
the carrier
of it = X &
for a,b
being Surreal st a
in X & b
in X
holds
a <= b iff [b,a]
in the InternalRel
of it;
end;
registration
let X
be surreal-membered set;
cluster RevSurrStr X -> reflexive transitive;
end;
registration
let X
be non empty surreal-membered set;
cluster RevSurrStr X -> non empty;
end;
registration
let X
be non empty surreal-membered set;
cluster RevSurrStr X -> connected;
end;
definition
let X
be surreal-membered set;
attr X
is ==_distinct means
:: SURREAL1:def 11
x1
in X & x2
in X & x1==x2
implies x1=x2;
end;
registration
cluster -> ==_distinct
for uniq-surreal-membered set;
end;
registration
cluster non empty ==_distinct
for surreal-membered set;
end;
registration
let S
be ==_distinct surreal-membered set;
cluster RevSurrStr S -> antisymmetric;
end;
definition
let S
be surreal-membered set;
attr S
is desc_ordering means
:: SURREAL1:def 12
ex y
being strictly_decreasing Surreal-Sequence st rng y = S;
end;
registration
cluster desc_ordering -> ==_distinct
for surreal-membered set;
end;
registration
let S
be ==_distinct surreal-membered set;
cluster -> ==_distinct
for Subset
of S;
end;
theorem :: SURREAL1:40
for A
being Subset
of S
holds
field ( (the InternalRel
of RevSurrStr S) |_
2 A) = A;
registration
let S
be surreal-membered set;
cluster -> surreal-membered
for Subset
of RevSurrStr S;
end;
theorem :: SURREAL1:41
field (the InternalRel
of RevSurrStr S) = S;
theorem :: SURREAL1:42
for s
being Surreal-Sequence
for X
being ==_distinct surreal-membered set st rng s c= X
holds s
is Sequence
of field the InternalRel
of RevSurrStr X
&
for t
being Sequence
of field the InternalRel
of RevSurrStr X st
t = s
holds s
is strictly_decreasing iff t
is increasing;
::$N Characterization of Well-Ordering via Strictly Descending Sequences
theorem :: SURREAL1:43
for S
being ==_distinct surreal-membered set
for A
being Subset
of RevSurrStr S
holds
A
is desc_ordering iff A
is well-ordering;
registration
let s
be strictly_decreasing Surreal-Sequence;
cluster rng s -> desc_ordering;
end;
begin :: Descending Ordering Subsets of Surreal Numbers
registration
cluster non empty desc_ordering
for uniq-surreal-membered set;
end;
registration
cluster {} -> desc_ordering;
end;
theorem :: SURREAL1:44
for S
being ==_distinct surreal-membered set
for A
being Subset
of RevSurrStr S st
A
is well_founded
holds A
is well-ordering;
registration
let S
be desc_ordering surreal-membered set;
cluster -> desc_ordering
for Subset
of S;
end;
registration
let S
be ==_distinct surreal-membered set;
cluster finite -> desc_ordering
for Subset
of S;
end;
registration
let S
be ==_distinct surreal-membered set;
cluster finite desc_ordering
for Subset
of S;
end;
::$N Union of Descending Orderings
registration
let S
be ==_distinct surreal-membered set;
let A,B
be desc_ordering Subset
of S;
cluster A \/ B -> desc_ordering;
end;
theorem :: SURREAL1:45
for s
being Surreal-Sequence
holds
s
is strictly_decreasing iff Unique_No s
is strictly_decreasing;
registration
let z
be strictly_decreasing Surreal-Sequence;
cluster Unique_No z -> strictly_decreasing;
end;
theorem :: SURREAL1:46
for S
being desc_ordering surreal-membered set
holds
Unique_No S
is desc_ordering;
::$N Closure of Descending Orderings under Addition
theorem :: SURREAL1:47
for S,T
being desc_ordering surreal-membered set
holds
Unique_No (S++T)
is desc_ordering;
theorem :: SURREAL1:48
S c= T
implies Unique_No S c= Unique_No T;
definition
let S
be surreal-membered set;
assume S
is desc_ordering;
func ord S -> strictly_decreasing Surreal-Sequence means
:: SURREAL1:def 13
rng it = S;
end;
registration
cluster strictly_decreasing -> one-to-one
for Surreal-Sequence;
end;
begin :: Representations for Particular Surreal Numbers
reserve e,e1,e2
for positive Real,
a,b,c
for Surreal;
theorem :: SURREAL1:49
for r
holds
[the set
of all uReal.(r-e1),the set
of all uReal.(r+e2)]
is Surreal;
theorem :: SURREAL1:50
for r
holds
[{uReal.(r-e1): r-e1 >
0},the set
of all uReal.(r+e2)]
is Surreal;
theorem :: SURREAL1:51
for r,z st z >
0_No
holds
[the set
of all uReal.(r-e1)* z,the set
of all uReal.(r+e2)* z]
is Surreal;
theorem :: SURREAL1:52
for s,z,r st z >
0_No
holds
[the set
of all s + uReal.(r-e1)* z,
the set
of all s + uReal.(r+e2)* z]
is Surreal;
theorem :: SURREAL1:53
L_x << {y} << R_x
implies
born Unique_No x c= born y &
(
not x == y
implies born Unique_No x
in born y);
theorem :: SURREAL1:54
for s,z,x,r st
x = [the set
of all s + uReal.(r-e1)* z,
the set
of all s + uReal.(r+e2)* z]
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;
theorem :: SURREAL1:55
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;
theorem :: SURREAL1:56
for r,x st
x = [the set
of all uReal.(r-e1), the set
of all uReal.(r+e2)]
holds x == uReal.r;
:: Gonshor'86 Lemma 5.2
theorem :: SURREAL1:57
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;
begin :: Additive Properties and Laws of Surreal Representations
reserve r,r1,r2,r12,s
for Sequence
of REAL,
y,y1,y2,y12,z,yz
for strictly_decreasing Surreal-Sequence;
theorem :: SURREAL1:58
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);
theorem :: SURREAL1:59
for y
being positive decreasing_infinitely Surreal-Sequence st
succ A c= dom r/\dom y
holds
[the set
of all Sum(r|A,y|A) + uReal.(r.A - e1) * y..A,
the set
of all Sum(r|A,y|A) + uReal.(r.A + e2) * y..A]
is Surreal;
theorem :: SURREAL1:60
for y
being positive decreasing_infinitely Surreal-Sequence st
succ A c= dom r/\dom y &
x = [the set
of all Sum(r|A,y|A) + uReal.(r.A - e1) * y..A,
the set
of all Sum(r|A,y|A) + uReal.(r.A + e2) * y..A]
holds Sum(r|succ A,y|succ A) = Unique_No x;
theorem :: SURREAL1:61
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;
:: Gonshor'86 Lemma 5.3
theorem :: SURREAL1:62
for y
being positive decreasing_infinitely Surreal-Sequence st
A c= dom r/\dom y & 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}]
holds Sum(r|A,y|A) = Unique_No x;
theorem :: SURREAL1:63
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
Sum(r|succ A,y|succ A) == Sum(r|A,y|A) + uReal.(r.A) * (y..A);
theorem :: SURREAL1:64
for y
being strictly_decreasing Surreal-Sequence st
succ A c= dom r/\dom y
holds
Sum(r|succ A,No_omega^(y|succ A)) ==
Sum(r|A,No_omega^(y|A)) + uReal.(r.A) * No_omega^(y..A);
theorem :: SURREAL1:65
for y
being positive decreasing_infinitely Surreal-Sequence st
A
in dom r/\dom y & r.A =
0
holds
Sum(r|A,y|A) = Sum(r|succ A,y|succ A);
theorem :: SURREAL1:66
for y
being positive decreasing_infinitely Surreal-Sequence st rng r c= {
0}
holds Sum(r,y) =
0_No;
theorem :: SURREAL1:67
for y
being positive decreasing_infinitely Surreal-Sequence
holds
Sum(r|
0,y|
0) =
0_No;
theorem :: SURREAL1:68
for y
being positive decreasing_infinitely Surreal-Sequence st
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;
theorem :: SURREAL1:69
for y
being positive decreasing_infinitely Surreal-Sequence st
B
in A c= dom r /\ dom y
holds Sum(r|B,y|B) + uReal.(r.B - e) * y..B < Sum(r|A,y|A)
< Sum(r|B,y|B) + uReal.(r.B + e) * y..B;
theorem :: SURREAL1:70
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;
:: Gonshor'86 Lemma 5.5
::$N Decomposition of Selected Surreal Representations into Head and Tail
theorem :: SURREAL1:71
for y
being positive decreasing_infinitely Surreal-Sequence st
A c= dom r /\ dom y
holds
Sum(r|A,y|A) + Sum(r/^A,y/^A) == Sum(r,y);
theorem :: SURREAL1:72
for y
being positive decreasing_infinitely Surreal-Sequence st
A c= B c= dom r /\ dom y &
for C st A c= C
in B
holds r.C =
0
holds Sum(r|B,y|B) = Sum(r|A,y|A);
::Gonshor'86 Lemma5.4
::$N Invariance of Surreal Sums under Zero Coefficient Extension
theorem :: SURREAL1:73
for r,rE
being Sequence
of REAL
for y,yE
being positive decreasing_infinitely Surreal-Sequence
st dom r = dom y & dom rE = dom yE & rng y c= rng yE &
(
for A,B st
A
in dom y & B
in dom yE & y.A = yE.B
holds r.A = rE.B) &
(
for A st A
in dom yE &
not yE.A
in rng y
holds rE.A =
0)
holds
Sum(r,y) = Sum(rE,yE);
::$N The Additive Law for Compatible Selected Surreal Series
theorem :: SURREAL1:74
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);
theorem :: SURREAL1:75
for y
being positive decreasing_infinitely Surreal-Sequence
for r
being Sequence
of REAL st A c= dom r/\dom y
holds
Sum((-r) |A,y|A) == - Sum(r|A,y|A);
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
:: SURREAL1:def 14
dom it = dom yE &
(
for A,B st
A
in dom y & B
in dom yE & y.A = yE.B
holds r.A = it.B) &
(
for A st A
in dom yE &
not yE.A
in rng y
holds it.A =
0);
end;
theorem :: SURREAL1:76
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);
begin :: Product Construction for Selected Surreal Series
definition
let A,B
be Ordinal;
let r,s
be Sequence
of REAL;
func Product(r,s,A,B) -> Function
of [:A,B:],REAL means
:: SURREAL1:def 15
for a,b
being Ordinal st a
in A & b
in B
holds it.(a,b) = r.a * s.b;
end;
definition
let A,B
be Ordinal;
let y,z
be strictly_decreasing Surreal-Sequence
such that
dom y c= A & dom z c= B;
let s
be Surreal;
func (y,z,A,B) += s -> Element
of Fin [:A,B:] means
:: SURREAL1:def 16
for a,b
being Ordinal
holds
[a,b]
in it iff a
in dom y & b
in dom z & y..a + z..b == s;
end;
theorem :: SURREAL1:77
dom y c= A & dom z c= B & a==b
implies (y,z,A,B) += a c= (y,z,A,B) += b;
theorem :: SURREAL1:78
for c st dom y c= A & dom z c= B &
for a st a==c
holds not a
in rng y ++ rng z
holds (y,z,A,B) += c = {};
theorem :: SURREAL1:79
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);
definition
let s
be Surreal-Sequence;
let a
be Surreal;
func s+a -> Surreal-Sequence means
:: SURREAL1:def 17
dom it = dom s &
for A st A
in dom s
holds it.A = s..A +a;
end;
registration
let s
be strictly_decreasing Surreal-Sequence;
let a
be Surreal;
cluster s+a -> strictly_decreasing;
end;
theorem :: SURREAL1:80
for s
being Surreal-Sequence
holds s|A+x = (s+x) |A;
theorem :: SURREAL1:81
rng (y+a) = rng y ++{a};
theorem :: SURREAL1:82
for s
being Surreal-Sequence st A
in dom s
holds
(No_omega^ a) * (No_omega^ s)..A == (No_omega^ (s+a))..A;
::Gonshor'86 Lemma 5.6
theorem :: SURREAL1:83
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)
;
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
:: SURREAL1:def 18
addreal $$ ( (y,z,S,T) += a, Product(r,s,S,T));
end;
theorem :: SURREAL1:84
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);
theorem :: SURREAL1:85
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);
theorem :: SURREAL1:86
y1^y2 = y12 & r1^r2 = r12 & dom y12 c= S & dom z c= T &
dom y1 = dom r1 & dom y2 c= dom r2
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);
registration
let s
be Surreal;
cluster <%s%> -> strictly_decreasing;
end;
theorem :: SURREAL1:87
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);
theorem :: SURREAL1:88
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;
theorem :: SURREAL1:89
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;
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
:: SURREAL1:def 19
dom it = dom yz &
for A st A
in dom yz
holds it.A = Partial_Sums(y,z,r,s,yz..A,S,T);
end;
registration
let f
be strictly_decreasing Surreal-Sequence;
let A
be Ordinal;
cluster f/^A -> strictly_decreasing;
end;
theorem :: SURREAL1:90
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);
theorem :: SURREAL1:91
y = {} & dom z c= T
implies rng Sum(y,z,yz,r,s,S,T) c= {
0};
theorem :: SURREAL1:92
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;
theorem :: SURREAL1:93
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);
theorem :: SURREAL1:94
A c= dom r/\dom y
implies
Sum(r|A,(No_omega^ y) | A) = Sum(r|A,(No_omega^ Unique_No y) |A);
theorem :: SURREAL1:95
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
holds
Sum (Sum(<%a%>,z,yz,<%r%>,s,S,T), No_omega^ yz) ==
uReal.r * No_omega^a *Sum(s, No_omega^ z);
theorem :: SURREAL1:96
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);
theorem :: SURREAL1:97
y={} & dom z c= T
implies
Sum (Sum(y,z,yz,r,s,S,T), No_omega^ yz) =
0_No;
theorem :: SURREAL1:98
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);
theorem :: SURREAL1:99
dom y c= S & dom z c= T & dom y c= dom r & A c= dom y
implies
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);
theorem :: SURREAL1:100
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);
theorem :: SURREAL1:101
for r
being Real
holds
Sum(<%r%>, No_omega^ <%a%>) == uReal.r * No_omega^a;
theorem :: SURREAL1:102
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);
theorem :: SURREAL1:103
for x,x0,y,y0,s,t
being Surreal
holds
x*(y0+s) + (x0+t)*y - (x0+t)*(y0+s) ==
(x*y0+x0*y-x0*y0) + ((x-x0) *s + (y-y0) *t) - t*s;
theorem :: SURREAL1:104
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);
theorem :: SURREAL1:105
Partial_Sums(y,z,-r,s,a,S,T) = - Partial_Sums(y,z,r,s,a,S,T);
theorem :: SURREAL1:106
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);
theorem :: SURREAL1:107
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
implies
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);
theorem :: SURREAL1:108
dom y c= S & dom z c= T & Unique_No (rng y++rng z) c= rng yz &
A
in dom y & B
in dom z & y..A + z..B < a
implies
|.Sum(Sum(y/^A,z/^B,yz,r,s,S,T), No_omega^ yz).|
infinitely< No_omega^ a;
theorem :: SURREAL1:109
for yz,yzE
being strictly_decreasing uSurreal-Sequence st
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), No_omega^ yzE);
::$N Correctness of the Product for Selected Representations
::Gonshor'86 Theorem 5.6
theorem :: SURREAL1:110
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);