Skip to content

Commit 37158c5

Browse files
committed
[Refractor] contradiction over ⊥-elim in ¬¬-pull def
1 parent 5701c9d commit 37158c5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Relation/Nullary/Universe.agda

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ open import Function.Base using (_∘_; id)
1919
open import Function.Indexed.Relation.Binary.Equality using (≡-setoid)
2020
open import Level using (Level; _⊔_; suc; Lift; lift; lower)
2121
open import Relation.Nullary.Negation
22-
using (¬_; ¬¬-Monad; ¬¬-map; negated-stable)
22+
using (¬_; ¬¬-Monad; ¬¬-map; negated-stable; contradiction)
2323
open import Relation.Binary.Core using (Rel)
2424
open import Relation.Binary.Bundles using (Setoid)
2525
import Relation.Binary.Construct.Always as Always using (setoid)
@@ -123,7 +123,7 @@ private
123123
⟦ F ⟧ (¬ ¬ P) ¬ ¬ ⟦ F ⟧ P
124124
¬¬-pull = sequence rawApplicative
125125
(λ f f lower)
126-
(λ f g g (λ x ⊥-elim (f x (λ y g (λ _ y)))))
126+
(λ f g g (λ x contradiction (λ y g (λ _ y)) (f x )))
127127

128128
¬¬-remove : {p} (F : PropF p) {P}
129129
¬ ¬ ⟦ F ⟧ (¬ ¬ P) ¬ ¬ ⟦ F ⟧ P

0 commit comments

Comments
 (0)