{-# OPTIONS --cubical-compatible --safe #-}
open import Relation.Binary.Bundles using (DecPoset)
open import Relation.Binary.Structures using (IsDecPartialOrder)
open import Relation.Binary.Definitions using (Decidable)
open import Agda.Builtin.Equality using (_≡_)
module Data.List.Relation.Binary.Sublist.DecPropositional
{a} {A : Set a} (_≟_ : Decidable {A = A} _≡_)
where
open import Data.List.Relation.Binary.Equality.DecPropositional _≟_
using (_≡?_)
import Data.List.Relation.Binary.Sublist.DecSetoid as DecSetoidSublist
import Data.List.Relation.Binary.Sublist.Propositional as PropositionalSublist
open import Relation.Binary.PropositionalEquality
open PropositionalSublist {A = A} public
open DecSetoidSublist (decSetoid _≟_) using (_⊆?_) public
⊆-isDecPartialOrder : IsDecPartialOrder _≡_ _⊆_
⊆-isDecPartialOrder = record
{ isPartialOrder = ⊆-isPartialOrder
; _≟_ = _≡?_
; _≤?_ = _⊆?_
}
⊆-decPoset : DecPoset a a a
⊆-decPoset = record
{ isDecPartialOrder = ⊆-isDecPartialOrder
}