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 #
archimedeanis a typeclass for an ordered additive commutative monoid to have the archimedean property.archimedean.floor_ringdefines a floor function on an archimedean linearly ordered ring making it into afloor_ring.rounddefines a function rounding to the nearest integer for a linearly ordered field which is also a floor ring.
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.
An archimedean decidable linearly ordered add_comm_group has a version of the floor: for
a > 0, any g in the group lies between some two consecutive multiples of a.
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_int_pow_near',
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_int_pow_near,
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
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.floor_ring α = {floor := λ (x : α), classical.some _, le_floor := _}