LeanPool.ZFLean.Functions #
Imported Lean Pool material for LeanPool.ZFLean.Functions.
Inverse of a (binary) relation. A proof that R is a relation is needed and tried to be
automatically inferred.
Equations
Instances For
Imported ZFLean declaration.
Equations
- ZFSet.«term_⁻¹» = Lean.ParserDescr.trailingNode `ZFSet.«term_⁻¹» 1024 1024 (Lean.ParserDescr.symbol "⁻¹")
Instances For
Domain of a (binary) relation. A proof that f is a relation is needed and tried to be
automatically inferred.
Instances For
Imported ZFLean declaration.
Instances For
Imported ZFLean declaration.
Equations
Instances For
Imported ZFLean declaration.
Equations
- f.IsSurjective _hf = ∀ y ∈ B, ∃ x ∈ A, x.pair y ∈ f
Instances For
A function is bijective when it is injective and surjective.
Equations
- f.IsBijective hf = (f.IsInjective hf ∧ f.IsSurjective hf)
Instances For
Imported ZFLean declaration.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Imported ZFLean declaration.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Imported ZFLean declaration.
Instances For
Notation for the identity function on a ZF set.
Equations
- ZFSet.«term𝟙_» = Lean.ParserDescr.node `ZFSet.«term𝟙_» 1024 (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.symbol "𝟙") (Lean.ParserDescr.cat `term 1024))
Instances For
Imported ZFLean declaration.
Equations
- σ.IsPermutation E = ∃ (hσ : E.IsFunc E σ), σ.IsBijective hσ
Instances For
The set of permutations of a ZF set.
Equations
- E.permutations = ZFSet.sep (fun (f : ZFSet.{?u.1}) => f.IsPermutation E) (E.funs E)
Instances For
If f : A → B and g : B → C are functions, then composition g f is the function
from A to C defined by composition g f (x, z) = (x, y) where y is such that
(x, y) ∈ f and (y, z) ∈ g.
Equations
- g.composition f A B C = ZFSet.sep (fun (xz : ZFSet.{?u.1}) => ∃ (x : ZFSet.{?u.1}) (z : ZFSet.{?u.1}), xz = x.pair z ∧ ∃ y ∈ B, x.pair y ∈ f ∧ y.pair z ∈ g) (A.prod C)
Instances For
Imported ZFLean declaration.
Equations
- (g ∘ᶻ f) _hg _hf = g.composition f A B C
Instances For
Notation for composition of ZF functions.
Equations
- ZFSet.«term_∘ᶻ_» = Lean.ParserDescr.trailingNode `ZFSet.«term_∘ᶻ_» 90 90 (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.symbol " ∘ᶻ ") (Lean.ParserDescr.cat `term 91))
Instances For
Imported ZFLean declaration.
Instances For
Notation for applying a ZF partial function.
Equations
- ZFSet.«term@ᶻ_» = Lean.ParserDescr.node `ZFSet.«term@ᶻ_» 1024 (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.symbol "@ᶻ") (Lean.ParserDescr.cat `term 1024))
Instances For
Imported ZFLean declaration.
Equations
Instances For
Imported ZFLean declaration.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Imported ZFLean declaration.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Parser for the domain, codomain, binder, and body of ZF function notation.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Parser for ZF lambda notation.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The inverse of an injection is a function.
The inverse of a bijection is a function.
The inverse of a bijection is a bijection.
The image of a set under a relation.
Instances For
Notation for the image of a set under a ZF relation.
Equations
- One or more equations did not get rendered due to their size.
Instances For
A set is finite if it is equinumerous to a (ZF) natural number, i.e. if there is a bijection between the set and a natural number.
Equations
- x.IsFinite = ∃ (n : ZFSet.{?u.1}) (f : ZFSet.{?u.1}) (_ : n ∈ ZFSet.Nat) (hf : f ∈ x.funs n), f.IsInjective ⋯
Instances For
Imported ZFLean declaration.
Equations
- ZFSet.ZFFinSet = { x : ZFSet.{?u.1} // x.IsFinite }
Instances For
A chosen maximum of a linearly ordered ZF set.
Equations
- One or more equations did not get rendered due to their size.
Instances For
A chosen minimum of a linearly ordered ZF set.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Pulls a linear order back along a subset inclusion.
Equations
- ZFSet.LinearOrder.ofSubset S_T = LinearOrder.lift' (fun (x : ↥S) => match x with | ⟨x, hx⟩ => ⟨x, ⋯⟩) ⋯
Instances For
The inherited preorder on the elements of a finite von Neumann ordinal.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Imported ZFLean declaration.
Equations
- One or more equations did not get rendered due to their size.