lean_workbook_plus_80141
ProvedSurjective means that a function's image is its codomain. In other words, every element of the codomain is mapped to by some element in the domain. For every , there is at least one such that . This is also known as 'onto'.
Preamble
import Mathlib.Analysis.Complex.Basic
Formal statement
theorem lean_workbook_plus_80141 {X Y : Type*} (f : X → Y) : Function.Surjective f ↔ ∀ y : Y, ∃ x : X, f x = y := by sorrySource