Skip to content

AlmostCancellative in Nat.Properties ? #1562

Open
@mechvel

Description

@mechvel

lib-1.7 has a general notion AlmostLeft(Right)Cancellative,
and it is used in *-cancelˡ-nonZero in IsCancellativeCommutativeSemiring.

On the other hand Nat.Properties has the definitions of kind.

*-cancelʳ-≡ :  ∀ m n {o} → m * suc o ≡ n * suc o → m ≡ n  

It has sense to add there *-cancelˡ-nonZero, *-cancelʳ-nonZero
having types AlmostLeft(Right)Cancellative,
and to add the instances of CancellativeCommutativeSemiring for Nat and Integer.
?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions