Mathlib Map

Structures · Data types

NNRatCast

Typeclass for the canonical homomorphism ℚ≥0 → K. This should be considered as a notation typeclass. The sole purpose of this typeclass is to be extended by DivisionSemiring.

Defined in
Mathlib.Data.Rat.Init
Shape
One type argument · adds nnratCast

Extends0

Extends nothing: this is a root of the hierarchy.

Extended by2

Forgetful instances

Every NNRatCast is also a

Concrete types that are instances17

  • Real
  • Rat
  • Complex
  • NNReal
  • ENNReal
  • NNRat
  • Quaternion
  • WithVal
  • HahnSeries
  • QuadraticAlgebra
  • CauSeq.Completion.Cauchy
  • Subtype
  • OrderDual
  • ULift
  • MulOpposite
  • AddOpposite
  • Shrink

How is a type an instance?

Loading the hierarchy index…

Assumed by26

Ancestors1