The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V06. Rings, fields and ordered algebra

Mathlib.Algebra.Order.Nonneg.Floor

3 declarations. Mathlib docs · Source

instance Nonneg.floorSemiring E0 #

{α : Type u_1} →
  [inst : Semiring α] →
    [inst_1 : PartialOrder α] → [inst_2 : IsOrderedRing α] → [inst_3 : FloorSemiring α] → FloorSemiring (Nonneg α)

theorem Nonneg.nat_floor_coe E0 #

∀ {α : Type u_1} [inst : Semiring α] [inst_1 : PartialOrder α] [inst_2 : IsOrderedRing α] [inst_3 : FloorSemiring α]
  (a : Nonneg α), ⌊↑a⌋₊ = ⌊a⌋₊

theorem Nonneg.nat_ceil_coe E0 #

∀ {α : Type u_1} [inst : Semiring α] [inst_1 : PartialOrder α] [inst_2 : IsOrderedRing α] [inst_3 : FloorSemiring α]
  (a : Nonneg α), ⌈↑a⌉₊ = ⌈a⌉₊