Square root on rational numbers #
This file defines the square root function on rational numbers Rat.sqrt
and proves several theorems about it.
IsSquare
can be decided on ℚ
by checking against the square root.
Equations
- m.instDecidablePredIsSquare = decidable_of_iff' (Rat.sqrt m * Rat.sqrt m = m) ⋯