Square root on rational numbers #
This file defines the square root function on rational numbers Rat.sqrt
and proves several theorems about it.
Square root function on rational numbers, defined by taking the (integer) square root of the numerator and the square root (on natural numbers) of the denominator.
Equations
Instances For
IsSquare can be decided on ℚ by checking against the square root.
Equations
@[simp]