Numbers in Mizar
Table of Contents
1. Overview
Numbers are constructed in Mizar as working mathematicians use them, e.g., \(\mathbb{N}\subset\mathbb{Z}\subset\mathbb{Q}\subset\mathbb{R}\).
But they are scattered across various articles (NUMBERS
, XREAL
,
XXREAL
, ORDINAL
, NEWTON
, and so on).
- Natural numbers are registered as real numbers in
XREAL_0
- This implies that
positive
is registered fornatural
numbers, sincepositive
is registered forreal
numbers inXREAL_0
, too.
- This implies that
- The general pattern seems to be that the set of a number system is
defined using all capital letters (e.g.,
INT
,RAT
,REAL
,COMPLEX
, etc.), the attribute of belonging to the set is defined using all lowercase letters (e.g.,integer
,rational
,real
,complex
, etc.), and the type is defined using PascalCase (e.g.,Nat
,Integer
,Rational
,Real
,Complex
, etc.). - This extends to Quaternions: the set
QUATERNION
, attributequaternion
, and typeQuaternion
- The Octonions are implicitly constructed in
CAYLDICK
, but there is no setOCTONION
, attributeoctonion
, or typeOctonion
(though it should be straightforward to implement these guys).