Skip to content

Make Relation.Binary.Structures.IsStrictTotalOrder consistent with the hierarchy #2135

@MatthewDaggitt

Description

@MatthewDaggitt

While trying to polish off #2098 I've run into the issue that the structure IsStrictTotalOrder doesn't inherit directly from IsStrictPartialOrder. Instead it has flattened fields that try to avoid having to have the user re-prove irreflexivity.

This has various irritating effects including multiple non-identical copies of certain proofs such as isStrictPartialOrder in StrictTotalOrder bundle.

We did have exactly the same problem with lattices in #1108, which we fixed by adding biased versions of the records that replicated the old structure. We should take advantage of v2.0 and implement the same solution for IsStrictTotalOrder

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions