Skip to content

confusion with the reflexive word #1401

Open
@mechvel

Description

@mechvel

Relation.Binary.Structures is parameterized by _≈_ : Rel A ℓ,
and it puts

record IsEquivalence : Set (a ⊔ ℓ) where 
 field                                                                           
     refl  : Reflexive _≈_              
     ...                                                                                                                 
  reflexive : _≡_ ⇒ _≈_                                                           

Further, Algebra.Properties.Monoid.Divisibility (suggested by myself) implements

∣-reflexive : _≈_ ⇒ _∣_                                                            
∣-reflexive x≈y = ε , trans (identityˡ _) x≈y 

According to the standard library style, this probably needs to be

∣-reflexive≈ : _≈_ ⇒ _∣_    --  _∣_ is reflexive by _≈_
...
∣-reflexive : _≡_ ⇒ _∣_

(where the latter proof can be derived from the former).
Am I missing something?
Has standard library any more confusions with reflexive ?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions