File tree Expand file tree Collapse file tree 1 file changed +19
-4
lines changed Expand file tree Collapse file tree 1 file changed +19
-4
lines changed Original file line number Diff line number Diff line change @@ -66,16 +66,31 @@ trans = Compose.surjection
66
66
------------------------------------------------------------------------
67
67
-- Other
68
68
69
- injective⇒to⁻ -cong : (surj : Surjection S T) →
69
+ injective⇒section -cong : (surj : Surjection S T) →
70
70
(open Surjection surj) →
71
71
Injective Eq₁._≈_ Eq₂._≈_ to →
72
72
Congruent Eq₂._≈_ Eq₁._≈_ section
73
- injective⇒to⁻ -cong {T = T} surj injective {x} {y} x≈y = injective $ begin
74
- to (section x) ≈⟨ to∘to⁻ x ⟩
73
+ injective⇒section -cong {T = T} surj injective {x} {y} x≈y = injective $ begin
74
+ to (section x) ≈⟨ section-strictInverseˡ x ⟩
75
75
x ≈⟨ x≈y ⟩
76
- y ≈⟨ to∘to⁻ y ⟨
76
+ y ≈⟨ section-strictInverseˡ y ⟨
77
77
to (section y) ∎
78
78
where
79
79
open ≈-Reasoning T
80
80
open Surjection surj
81
81
82
+
83
+ ------------------------------------------------------------------------
84
+ -- DEPRECATED NAMES
85
+ ------------------------------------------------------------------------
86
+ -- Please use the new names as continuing support for the old names is
87
+ -- not guaranteed.
88
+
89
+ -- Version 2.3
90
+
91
+ injective⇒to⁻-cong = injective⇒section-cong
92
+ {-# WARNING_ON_USAGE injective⇒to⁻-cong
93
+ "Warning: injective⇒to⁻-cong was deprecated in v2.3.
94
+ Please use injective⇒section-cong instead. "
95
+ #-}
96
+
You can’t perform that action at this time.
0 commit comments