Skip to content

usefulness of in_set1 #1841

@affeldt-aist

Description

@affeldt-aist

Lemma in_set1 [T : finType] (x y : T) : (x \in [set y]) = (x \in [set y]%SET).

As observed by @t6s in the conversion of PR #1827 , in_set1 is not used in master :

#1827 (comment)

Also, in_set1 might be more appropriate for this lemma:

Lemma in_set1_eq {T : eqType} (a : T) (x : T) : x \in [set a] = (x == a).

What about replacing the current in_set1 by in_set1_eq? @CohenCyril

FYI: @Yosuke-Ito-345

Metadata

Metadata

Assignees

No one assigned

    Labels

    question ❓There is an unanswered question hererenaming/refactoring 🔧This is about a renaming or refactoring in the library

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions