Skip to content

[ refactor ] Algebra.Structures.IsQuasiring? #2771

@jamesmckinna

Description

@jamesmckinna

Why in this definition is the multiplicative structure (L670-L672)

record IsQuasiring (+ * : Op₂ A) (0# 1# : A) : Set (a ⊔ ℓ) where
field
+-isMonoid : IsMonoid + 0#
*-cong : Congruent₂ *
*-assoc : Associative *
*-identity : Identity 1# *
distrib : * DistributesOver +
zero : Zero 0# *

not telescoped back into

*-isMonoid : IsMonoid * 1#

Instead of the more involved unbundling of such a field into its component fields?

Maybe this has come up before, but I can't quite now see why this choice was made...

Ah... the problem of re-opening the substructures to then have to figure out which underlying setoid is in play... fair enough, but it looks a bit weird sometimes!

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