Equality_of_Elements_in_Range_of_Mapping
Provedmapping-theoryproofwiki
Let f: S → T be a mapping. Then there exists y in the range of f such that f(x₁) = y and f(x₂) = y iff f(x₁) = f(x₂).
Preamble
import Mathlib.Logic.Function.Basic
Formal statement
theorem Equality_of_Elements_in_Range_of_Mapping {α β : Type _} (f : α → β) (x₁ x₂ : α) : (∃ y, f x₁ = y ∧ f x₂ = y) ↔ f x₁ = f x₂ := by sorrySource