Skip to content

lib-2.0-rc1: inconsistency of Nat..*-cancelˡ-≡ with AlmostLeftCancellative #2179

@mechvel

Description

@mechvel

In Algebra.Definitions.AlmostLeftCancellative the order of the arguments x, y, z differs from such order in
Nat.Properties.*-cancelˡ-≡.
I suggest to change respectively this order in Nat.Properties.*-cancelˡ-≡.
Probably the same needs to be done to *-cancelʳ-≡.

It would be nice to set *-cancelˡ-≡ : AlmostLeftCancellative 0 _*_.
But unfortunately, the definition of "nonzero" for ℕ is not a special case of ≉ 0# in Semiring.

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: duplicateThe main contents of the issue or PR already exists in another issue or PR.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions