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).
The indexing set of the partition.
Equations
- Function.Fiber f = ↑(Set.range fun (x : ↑(Set.range f)) => f ⁻¹' {↑x})
Instances For
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
Given y : Y
, Fiber.mk f y
is the fiber of f
that y
belongs to, as an element of Fiber f
.
Equations
- Function.Fiber.mk f y = ⟨f ⁻¹' {f y}, ⋯⟩
Instances For
y : Y
as a term of the type Fiber.mk f y
Equations
- Function.Fiber.mkSelf f y = ⟨y, ⋯⟩
Instances For
An arbitrary element of a : Fiber f
.