mirror of
https://github.com/Smaug123/agdaproofs
synced 2025-10-19 01:58:45 +00:00
Mostly show sqrt 2 is irrational (#53)
This commit is contained in:
@@ -33,6 +33,9 @@ a *Q b = fieldOfFractionsTimes ℤIntDom a b
|
||||
0Q : ℚ
|
||||
0Q = Ring.0R ℚRing
|
||||
|
||||
injectionQ : ℤ → ℚ
|
||||
injectionQ z = z ,, (nonneg 1 , λ ())
|
||||
|
||||
ℚField : Field ℚRing
|
||||
ℚField = fieldOfFractions ℤIntDom
|
||||
|
||||
|
Reference in New Issue
Block a user