Documentation

Lean.Data.Rat

structure Lean.Rat :
Type
Equations
Equations
Equations
Equations
@[inline]
Equations
def Lean.mkRat (num : Int) (den : Nat) :
Equations
def Lean.Rat.lt (a : Lean.Rat) (b : Lean.Rat) :
Equations
Equations
Equations
Equations
Equations
Equations
Equations
Equations
Equations
Equations
  • Lean.Rat.instOfNatRat = { ofNat := { num := Int.ofNat n, den := 1 } }
Equations