Rational Extraction Utilities #
Utilities for extracting rational numbers from Lean expressions representing real number literals or coercions.
Try to extract a rational value from a normalized real-number expression.
Instances For
Build an IntervalRat expression from two rational expressions and their Lean representations
Equations
- One or more equations did not get rendered due to their size.
Instances For
Try to convert an expression directly to a rational (if it IS a rational constant)