This file defines the type f.Fiber
of fibers of a function f : Y → Z
, and provides some API
to work with and construct terms of this type.
Note: this API is designed to be useful when defining the counit of the adjunction between the functor which takes a set to the condensed set corresponding to locally constant maps to that set, and the forgetful functor from the category of condensed sets to the category of sets (see PR https://github.com/leanprover-community/mathlib4/pull/14027).
Any a : Fiber f
is of the form f ⁻¹' {x}
for some x
in the image of f
. We define a.image
as an arbitrary such x
.
Equations
- Function.Fiber.image f a = ↑(Exists.choose ⋯)
Instances For
noncomputable def
Function.Fiber.preimage
{Y : Type u_2}
{Z : Type u_3}
(f : Y → Z)
(a : Fiber f)
:
Y
An arbitrary element of a : Fiber f
.