Archimedean groups and fields. #
This file defines the archimedean property for ordered groups and proves several results connected
to this notion. Being archimedean means that for all elements x
and y>0
there exists a natural
number n
such that x ≤ n • y
.
Main definitions #
Archimedean
is a typeclass for an ordered additive commutative monoid to have the archimedean property.Archimedean.floorRing
defines a floor function on an archimedean linearly ordered ring making it into afloorRing
.
Main statements #
ℕ
,ℤ
, andℚ
are archimedean.
An ordered additive commutative monoid is called Archimedean
if for any two elements x
, y
such that 0 < y
, there exists a natural number n
such that x ≤ n • y
.
For any two elements
x
,y
such that0 < y
, there exists a natural numbern
such thatx ≤ n • y
.
Instances
For any two elements x
, y
such that 0 < y
, there exists a natural number n
such that x ≤ n • y
.
Equations
- ⋯ = ⋯
An archimedean decidable linearly ordered AddCommGroup
has a version of the floor: for
a > 0
, any g
in the group lies between some two consecutive multiples of a
.
Equations
- ⋯ = ⋯
Every x greater than or equal to 1 is between two successive natural-number powers of every y greater than one.
Every positive x
is between two successive integer powers of
another y
greater than one. This is the same as exists_mem_Ioc_zpow
,
but with ≤ and < the other way around.
Every positive x
is between two successive integer powers of
another y
greater than one. This is the same as exists_mem_Ico_zpow
,
but with ≤ and < the other way around.
For any y < 1
and any positive x
, there exists n : ℕ
with y ^ n < x
.
Given x
and y
between 0
and 1
, x
is between two successive powers of y
.
This is the same as exists_nat_pow_near
, but for elements between 0
and 1
Equations
- ⋯ = ⋯
A linear ordered archimedean ring is a floor ring. This is not an instance
because in some
cases we have a computable floor
function.
Equations
- Archimedean.floorRing α = FloorRing.ofFloor α (fun (a : α) => Classical.choose ⋯) ⋯