Real numbers

Back to Numbers

A real number is an element of the unique complete ordered field which contains the rational numbers.

Theory

Field

A field is a triple , where

Examples of fields include rational numbers, real numbers, complex numbers, and finite fields.

Ordered field

An ordered field is a tuple , where

Examples of ordered fields include rational numbers and real numbers.

Affinely extended ordered field

An affinely extended ordered field is a tuple , where

Such an extended field is not a field. For example, the infinities do not have an inverse element. Most often the significance of the infinities is that they allow for compact notation, as used for infinite real intervals and unbounded limiting behaviour of functions.

Practice

The Real concept abstracts elements of an affinely extended ordered field. Specifically, by this abstraction we aim to capture implementations of floating point numbers and exact rational numbers. The intent is to be able to use the same algorithms independent of the representation of numbers. For example, the same geometric algorithms may be used with either floating point arithmetic or exact rational arithmetic.

Learn more

Files

Real concept

Real ring concept