Surjection_iff_Right_Cancellable
Provedcancellabilityproofwikisurjections
A mapping f is a surjection if and only if f is right cancellable.
Preamble
import Mathlib.Logic.Function.Basic
Formal statement
theorem Surjection_iff_Right_Cancellable {α β : Type _} (f : α → β) : Function.Surjective f ↔ ∀ (γ : Type _) (g₁ g₂ : β → γ), g₁ ∘ f = g₂ ∘ f → g₁ = g₂ := by sorrySource