We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
injection : Injection From To
IsRightInverse
1 parent 8ffbebf commit 7ef3206Copy full SHA for 7ef3206
src/Function/Bundles.agda
@@ -273,14 +273,23 @@ module _ (From : Setoid a ℓ₁) (To : Setoid b ℓ₂) where
273
}
274
275
open IsRightInverse isRightInverse public
276
- using (module Eq₁; module Eq₂; strictlyInverseʳ)
+ using (module Eq₁; module Eq₂; strictlyInverseʳ; isInjection)
277
+
278
+ open IsInjection isInjection public using (injective)
279
280
equivalence : Equivalence
281
equivalence = record
282
{ to-cong = to-cong
283
; from-cong = from-cong
284
285
286
+ injection : Injection From To
287
+ injection = record
288
+ { to = to
289
+ ; cong = to-cong
290
+ ; injective = injective
291
+ }
292
293
294
record Inverse : Set (a ⊔ b ⊔ ℓ₁ ⊔ ℓ₂) where
295
field
0 commit comments