Rational numbers for implementing decision procedures. We should not confuse them with the Batteries rational numbers, also used by Mathlib.
Equations
Equations
- One or more equations did not get rendered due to their size.
Equations
- One or more equations did not get rendered due to their size.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- Std.Internal.Rat.instLT = { lt := fun (a b : Std.Internal.Rat) => a.lt b = true }
Equations
- a.instDecidableLt b = inferInstanceAs (Decidable (a.lt b = true))
Equations
- Std.Internal.Rat.instLE = { le := fun (a b : Std.Internal.Rat) => ¬b < a }
Equations
- a.instDecidableLe b = inferInstanceAs (Decidable ¬b < a)
Equations
Equations
Equations
Equations
Equations
- Std.Internal.Rat.instDiv = { div := fun (a b : Std.Internal.Rat) => a * b.inv }