Skip to content

[ add ] well-foundedness of the lifting of a relation to Maybe? #2682

Closed
@jamesmckinna

Description

@jamesmckinna

Do we have anywhere:

  • the binary relation constructor _<_ {A : Set a} (R : Rel A ℓ) : Rel (Maybe A) (a ⊔ ℓ) (naming?) defined by
    • nothing < just x
    • x R y → just x < just y
  • proofs of its properties, incl. in particular
    • WellFounded R → WellFounded _<_

If not:

  • where should it live?
  • what should it be called?
  • etc.

Elsewhere, this is the (_)⊥ lifting in (C)POs, but I don't seem to be able to find it.

Application: wellfoundedness of Strict lexicographic ordering on List, via uncons, mimicking/extending the corresponding argument for Vec.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions