mirror of
https://github.com/Smaug123/agdaproofs
synced 2025-10-15 08:28:39 +00:00
Irrelevant field of fractions (#115)
This commit is contained in:
@@ -15,7 +15,7 @@ open import Fields.FieldOfFractions.Setoid I
|
||||
open import Fields.FieldOfFractions.Ring I
|
||||
|
||||
embedIntoFieldOfFractions : A → fieldOfFractionsSet
|
||||
embedIntoFieldOfFractions a = a ,, (Ring.1R R , IntegralDomain.nontrivial I)
|
||||
embedIntoFieldOfFractions a = record { num = a ; denom = Ring.1R R ; denomNonzero = IntegralDomain.nontrivial I }
|
||||
|
||||
homIntoFieldOfFractions : RingHom R fieldOfFractionsRing embedIntoFieldOfFractions
|
||||
RingHom.preserves1 homIntoFieldOfFractions = Equivalence.reflexive (Setoid.eq S)
|
||||
|
Reference in New Issue
Block a user