Swich AboveBelow to using instances

Signed-off-by: Danila Fedorin <danila.fedorin@gmail.com>
This commit is contained in:
2025-01-04 21:23:07 -08:00
parent d96eb97b69
commit 70847d51db
2 changed files with 16 additions and 6 deletions

View File

@@ -1,11 +1,12 @@
open import Lattice
open import Equivalence
open import Relation.Nullary using (Dec; ¬_; yes; no)
open import Data.Unit using () renaming ( to ⊤ᵘ)
module Lattice.AboveBelow {a} (A : Set a)
(_≈₁_ : A A Set a)
(≈₁-equiv : IsEquivalence A _≈₁_)
(≈₁-Decidable : IsDecidable _≈₁_) where
{_≈₁_ : A A Set a}
{{≈₁-equiv : IsEquivalence A _≈₁_}}
{{≈₁-Decidable : IsDecidable _≈₁_}} (dummy : ⊤ᵘ) where
open import Data.Empty using (⊥-elim)
open import Data.Product using (_,_)