Skip to content

containment _⊆_ generalization #1084

Closed
@pnlph

Description

@pnlph

I saw that in Relation.Binary.Core is suggested (without expressing it formally) that the containment _⊆_ can be viewed as a synonym of the implication _⇒_

-- Implication/containment - could also be written _⊆_.
_⇒_ : REL A B ℓ₁ REL A B ℓ₂ Set _
P ⇒ Q = {x y} P x y Q x y

Then in Data.List.Relation.Binary.Sublist.Setoid the symbol of containment _⊆_ is used to express containment restricted to Lists.

_⊆_ : Rel (List A) (c ⊔ ℓ)
_⊆_ = Heterogeneous.Sublist _≈_

Should not _⊆_ be reserved to express general containment and then notate the specific containments in another way, eg, _⊆ₗᵢₛₜ_?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions