Skip to content

Equality from injective #1820

@agontard

Description

@agontard

The following lemma can be useful and I did not find an equivalent in mathcomp

Lemma injectiveE A B (f : A -> B) : injective f ->
  forall x y, (f x = f y) = (x = y).

Although I do not know if it could be useful anywhere inside the library, both uses of inj_eq are used on goals where boolean equality was already present.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions