mirror of
https://github.com/Smaug123/agdaproofs
synced 2025-10-19 01:58:45 +00:00
Irrelevant field of fractions (#115)
This commit is contained in:
@@ -51,7 +51,8 @@ injectionNQ : ℕ → ℚ
|
||||
injectionNQ n = injectionQ (nonneg n)
|
||||
|
||||
injectionQInjective : Injection injectionQ
|
||||
injectionQInjective pr = equalityLeft pr
|
||||
injectionQInjective {nonneg x} {nonneg .x} refl = refl
|
||||
injectionQInjective {negSucc x} {negSucc .x} refl = refl
|
||||
|
||||
ℚField : Field ℚRing
|
||||
ℚField = fieldOfFractions
|
||||
|
Reference in New Issue
Block a user