Skip to content

UpperTick ​

The least tick at or above x, in a type whose order has ticks.

UpperTick(x)The least tick at or above x, in a type whose order has ticks.
Typed signatures
TypePackageApplies
(any) -> unknownstructuresalways

Domain: Structures

Details
  • The FloorOrder protocol's member, and what Ceil answers for such a type.
  • Left adjoint of the ticks' inclusion: xx is at or below a tick zz exactly when UpperTick(x)\mathrm{UpperTick}(x) is.
  • FloorOrder is our extension below Mathlib's FloorRing, for ticks that aren't a ring's integers.

Examples

Basic #

The least integer tick at or above 2.5

live ↗
InUpperTick(2.5)\mathrm{UpperTick}(2.5)Out33
About
Examples1

See also: LowerTick, Ceil, Midpoint