| 1 |
------------------------------------------------------------------------ |
| 2 |
-- The Agda standard library |
| 3 |
-- |
| 4 |
-- A pointwise lifting of a relation to incorporate a new supremum. |
| 5 |
------------------------------------------------------------------------ |
| 6 |
|
| 7 |
{-# OPTIONS --cubical-compatible --safe #-} |
| 8 |
|
| 9 |
-- This module is designed to be used with |
| 10 |
-- Relation.Nullary.Construct.Add.Supremum |
| 11 |
|
| 12 |
open import Relation.Binary.Core using (Rel) |
| 13 |
|
| 14 |
module Relation.Binary.Construct.Add.Supremum.Equality |
| 15 |
{a ℓ} {A : Set a} (_≈_ : Rel A ℓ) where |
| 16 |
|
| 17 |
open import Relation.Binary.Construct.Add.Point.Equality _≈_ public |
| 18 |
renaming |
| 19 |
(_≈∙_ to _≈⁺_ |
| 20 |
; ∙≈∙ to ⊤⁺≈⊤⁺ |
| 21 |
; ≈∙-refl to ≈⁺-refl |
| 22 |
; ≈∙-sym to ≈⁺-sym |
| 23 |
; ≈∙-trans to ≈⁺-trans |
| 24 |
; ≈∙-dec to ≈⁺-dec |
| 25 |
; ≈∙-irrelevant to ≈⁺-irrelevant |
| 26 |
; ≈∙-substitutive to ≈⁺-substitutive |
| 27 |
; ≈∙-isEquivalence to ≈⁺-isEquivalence |
| 28 |
; ≈∙-isDecEquivalence to ≈⁺-isDecEquivalence |
| 29 |
) |