The areas / V01. The language of Mathlib
Mathlib.Logic.Function.FiberPartition
12 declarations. Mathlib docs · Source
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).
def Function.Fiber E1 #
{Y : Type u_2} → {Z : Type u_3} → (Y → Z) → Type u_2
The indexing set of the partition.
def Function.Fiber.image E1 #
{Y : Type u_2} → {Z : Type u_3} → (f : Y → Z) → Function.Fiber f → Z
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.
def Function.Fiber.mk E1 #
{Y : Type u_2} → {Z : Type u_3} → (f : Y → Z) → Y → Function.Fiber f
Given y : Y, Fiber.mk f y is the fiber of f that y belongs to, as an element of Fiber f.
def Function.Fiber.mkSelf E1 #
{Y : Type u_2} → {Z : Type u_3} → (f : Y → Z) → (y : Y) → ↑↑(Function.Fiber.mk f y)
y : Y as a term of the type Fiber.mk f y
theorem Function.Fiber.map_eq_image E0 #
∀ {Y : Type u_2} {Z : Type u_3} (f : Y → Z) (a : Function.Fiber f) (x : ↑↑a), f ↑x = Function.Fiber.image f a
theorem Function.Fiber.mk_image E1 #
∀ {Y : Type u_2} {Z : Type u_3} (f : Y → Z) (y : Y), Function.Fiber.image f (Function.Fiber.mk f y) = f y
theorem Function.Fiber.mem_iff_eq_image E0 #
∀ {Y : Type u_2} {Z : Type u_3} (f : Y → Z) (y : Y) (a : Function.Fiber f), y ∈ ↑a ↔ f y = Function.Fiber.image f a
def Function.Fiber.preimage E1 #
{Y : Type u_2} → {Z : Type u_3} → (f : Y → Z) → Function.Fiber f → Y
An arbitrary element of a : Fiber f.
theorem Function.Fiber.map_preimage_eq_image E0 #
∀ {Y : Type u_2} {Z : Type u_3} (f : Y → Z) (a : Function.Fiber f),
f (Function.Fiber.preimage f a) = Function.Fiber.image f a
theorem Function.Fiber.fiber_nonempty E1 #
∀ {Y : Type u_2} {Z : Type u_3} (f : Y → Z) (a : Function.Fiber f), (↑a).Nonempty
theorem Function.Fiber.map_preimage_eq_image_map E0 #
∀ {Y : Type u_2} {Z : Type u_3} {W : Type u_4} (f : Y → Z) (g : Z → W) (a : Function.Fiber (g ∘ f)),
g (f (Function.Fiber.preimage (g ∘ f) a)) = Function.Fiber.image (g ∘ f) a
theorem Function.Fiber.image_eq_image_mk E0 #
∀ {X : Type u_1} {Y : Type u_2} {Z : Type u_3} (f : Y → Z) (g : X → Y) (a : Function.Fiber (f ∘ g)),
Function.Fiber.image (f ∘ g) a = Function.Fiber.image f (Function.Fiber.mk f (g (Function.Fiber.preimage (f ∘ g) a)))