English
Preimage of a set under a partial function f is defined via the graph: f.preimage(s) = { x | ∃ y ∈ s, y ∈ f(x) }.
Русский
Образ обратно под частичной функцией определяется через график: f.preimage(s) = { x | ∃ y ∈ s, y ∈ f(x) }.
LaTeX
$$$f.preimage\\,s = \\{ x \\mid \\exists y \\in s,\\ y \\in f(x) \\}$$$
Lean4
/-- Preimage of a set under a partial function. -/
def preimage (s : Set β) : Set α :=
f.graph'.preimage s