General operations on functions #
@[reducible, inline]
def
Function.dcomp
{α : Sort u₁}
{β : α → Sort u₂}
{φ : {x : α} → β x → Sort u₃}
(f : {x : α} → (y : β x) → φ y)
(g : (x : α) → β x)
(x : α)
:
φ (g x)
Composition of dependent functions: (f ∘' g) x = f (g x), where type of g x depends on x
and type of f (g x) depends on x and g x.
Instances For
@[reducible, inline]
abbrev
Function.onFun
{α : Sort u₁}
{β : Sort u₂}
{φ : Sort u₃}
(f : β → β → φ)
(g : α → β)
:
α → α → φ
Given functions f : β → β → φ and g : α → β, produce a function α → α → φ that evaluates
g on each argument, then applies f to the results. Can be used, e.g., to transfer a relation
from β to α.
Instances For
A function is called bijective if it is both injective and surjective.
Instances For
A point x is a fixed point of f : α → α if f x = x.
Instances For
theorem
Function.IsFixedPt.of_subsingleton
{α : Type u₁}
[Subsingleton α]
(f : α → α)
(x : α)
:
IsFixedPt f x