Mathlib Map

Structures · Lean core

RatCast

Type class for the canonical homomorphism Rat → K.

Defined in
Batteries.Classes.RatCast
Shape
One type argument · adds ratCast

Extends0

Extends nothing: this is a root of the hierarchy.

Extended by1

Concrete types that are instances16

  • Real
  • Rat
  • Complex
  • Quaternion
  • WithVal
  • HahnSeries
  • QuadraticAlgebra
  • ArchimedeanClass.FiniteElement
  • CauSeq.Completion.Cauchy
  • Subtype
  • OrderDual
  • ULift
  • MulOpposite
  • Lex
  • AddOpposite
  • Shrink

How is a type an instance?

Loading the hierarchy index…

Assumed by21

Ancestors0

No ancestors.