Beginning of Section Int
Notation. We use - as a prefix operator with priority 358 corresponding to applying term minus_SNo.
Notation. We use + as an infix operator with priority 360 and which associates to the right corresponding to applying term add_SNo.
Notation. We use * as an infix operator with priority 355 and which associates to the right corresponding to applying term mul_SNo.
Primitive. The name int is a term of type set.
Axiom. (int_SNo_cases) We take the following as an axiom:
∀p : setprop, (∀nω, p n)(∀nω, p (- n))∀xint, p x
Axiom. (int_3_cases) We take the following as an axiom:
∀nint, ∀p : prop, (∀mω, n = - ordsucc mp)(n = 0p)(∀mω, n = ordsucc mp)p
Axiom. (int_SNo) We take the following as an axiom:
∀xint, SNo x
Axiom. (Subq_omega_int) We take the following as an axiom:
ω int
Axiom. (int_minus_SNo_omega) We take the following as an axiom:
∀nω, - n int
Axiom. (int_add_SNo_lem) We take the following as an axiom:
∀nω, ∀m, nat_p m- n + m int
Axiom. (int_add_SNo) We take the following as an axiom:
∀x yint, x + y int
Axiom. (int_minus_SNo) We take the following as an axiom:
∀xint, - x int
Axiom. (int_mul_SNo) We take the following as an axiom:
∀x yint, x * y int
End of Section Int
Beginning of Section SurrealAbs
Notation. We use - as a prefix operator with priority 358 corresponding to applying term minus_SNo.
Notation. We use + as an infix operator with priority 360 and which associates to the right corresponding to applying term add_SNo.
Notation. We use * as an infix operator with priority 355 and which associates to the right corresponding to applying term mul_SNo.
Primitive. The name abs_SNo is a term of type setset.
Axiom. (nonneg_abs_SNo) We take the following as an axiom:
∀x, 0xabs_SNo x = x
Axiom. (not_nonneg_abs_SNo) We take the following as an axiom:
∀x, ¬ (0x)abs_SNo x = - x
Axiom. (abs_SNo_0) We take the following as an axiom:
abs_SNo 0 = 0
Axiom. (pos_abs_SNo) We take the following as an axiom:
∀x, 0 < xabs_SNo x = x
Axiom. (neg_abs_SNo) We take the following as an axiom:
∀x, SNo xx < 0abs_SNo x = - x
Axiom. (SNo_abs_SNo) We take the following as an axiom:
∀x, SNo xSNo (abs_SNo x)
Axiom. (abs_SNo_Lev) We take the following as an axiom:
∀x, SNo xSNoLev (abs_SNo x) = SNoLev x
Axiom. (abs_SNo_minus) We take the following as an axiom:
∀x, SNo xabs_SNo (- x) = abs_SNo x
Axiom. (abs_SNo_dist_swap) We take the following as an axiom:
∀x y, SNo xSNo yabs_SNo (x + - y) = abs_SNo (y + - x)
Axiom. (SNo_triangle) We take the following as an axiom:
∀x y, SNo xSNo yabs_SNo (x + y)abs_SNo x + abs_SNo y
Axiom. (SNo_triangle2) We take the following as an axiom:
∀x y z, SNo xSNo ySNo zabs_SNo (x + - z)abs_SNo (x + - y) + abs_SNo (y + - z)
End of Section SurrealAbs
Beginning of Section SNoMaxMin
Notation. We use - as a prefix operator with priority 358 corresponding to applying term minus_SNo.
Notation. We use + as an infix operator with priority 360 and which associates to the right corresponding to applying term add_SNo.
Notation. We use * as an infix operator with priority 355 and which associates to the right corresponding to applying term mul_SNo.
Notation. We use ^ as an infix operator with priority 342 and which associates to the right corresponding to applying term exp_SNo_nat.
Notation. We use < as an infix operator with priority 490 and no associativity corresponding to applying term SNoLt.
Notation. We use as an infix operator with priority 490 and no associativity corresponding to applying term SNoLe.
Definition. We define SNo_max_of to be λX x ⇒ x XSNo x∀yX, SNo yy x of type setsetprop.
Definition. We define SNo_min_of to be λX x ⇒ x XSNo x∀yX, SNo yx y of type setsetprop.
Axiom. (minus_SNo_max_min) We take the following as an axiom:
∀X y, (∀xX, SNo x)SNo_max_of X ySNo_min_of {- x|x ∈ X} (- y)
Axiom. (minus_SNo_max_min') We take the following as an axiom:
∀X y, (∀xX, SNo x)SNo_max_of {- x|x ∈ X} ySNo_min_of X (- y)
Axiom. (minus_SNo_min_max) We take the following as an axiom:
∀X y, (∀xX, SNo x)SNo_min_of X ySNo_max_of {- x|x ∈ X} (- y)
Axiom. (double_SNo_max_1) We take the following as an axiom:
∀x y, SNo xSNo_max_of (SNoL x) y∀z, SNo zx < zy + z < x + x∃w ∈ SNoR z, y + w = x + x
Axiom. (double_SNo_min_1) We take the following as an axiom:
∀x y, SNo xSNo_min_of (SNoR x) y∀z, SNo zz < xx + x < y + z∃w ∈ SNoL z, y + w = x + x
Axiom. (finite_max_exists) We take the following as an axiom:
∀X, (∀xX, SNo x)finite XX0∃x, SNo_max_of X x
Axiom. (finite_min_exists) We take the following as an axiom:
∀X, (∀xX, SNo x)finite XX0∃x, SNo_min_of X x
Axiom. (SNoS_omega_SNoL_max_exists) We take the following as an axiom:
∀xSNoS_ ω, SNoL x = 0∃y, SNo_max_of (SNoL x) y
Axiom. (SNoS_omega_SNoR_min_exists) We take the following as an axiom:
∀xSNoS_ ω, SNoR x = 0∃y, SNo_min_of (SNoR x) y
End of Section SNoMaxMin
Beginning of Section DiadicRationals
Notation. We use - as a prefix operator with priority 358 corresponding to applying term minus_SNo.
Notation. We use + as an infix operator with priority 360 and which associates to the right corresponding to applying term add_SNo.
Notation. We use * as an infix operator with priority 355 and which associates to the right corresponding to applying term mul_SNo.
Notation. We use < as an infix operator with priority 490 and no associativity corresponding to applying term SNoLt.
Notation. We use as an infix operator with priority 490 and no associativity corresponding to applying term SNoLe.
Notation. We use ^ as an infix operator with priority 342 and which associates to the right corresponding to applying term exp_SNo_nat.
Axiom. (nonneg_diadic_rational_p_SNoS_omega) We take the following as an axiom:
∀kω, ∀n, nat_p neps_ k * n SNoS_ ω
Definition. We define diadic_rational_p to be λx ⇒ ∃k ∈ ω, ∃m ∈ int, x = eps_ k * m of type setprop.
Axiom. (diadic_rational_p_SNoS_omega) We take the following as an axiom:
∀x, diadic_rational_p xx SNoS_ ω
Axiom. (int_diadic_rational_p) We take the following as an axiom:
Axiom. (omega_diadic_rational_p) We take the following as an axiom:
Axiom. (eps_diadic_rational_p) We take the following as an axiom:
∀kω, diadic_rational_p (eps_ k)
Axiom. (minus_SNo_diadic_rational_p) We take the following as an axiom:
Axiom. (mul_SNo_diadic_rational_p) We take the following as an axiom:
Axiom. (add_SNo_diadic_rational_p) We take the following as an axiom:
Axiom. (SNoS_omega_diadic_rational_p_lem) We take the following as an axiom:
∀n, nat_p n∀x, SNo xSNoLev x = ndiadic_rational_p x
Axiom. (SNoS_omega_diadic_rational_p) We take the following as an axiom:
∀xSNoS_ ω, diadic_rational_p x
Axiom. (mul_SNo_SNoS_omega) We take the following as an axiom:
∀x ySNoS_ ω, x * y SNoS_ ω
End of Section DiadicRationals