The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V31. Set theory

Mathlib.SetTheory.ZFC.Basic

163 declarations. Mathlib docs · Source

theorem ZFSet.range.congr_simp E1 #

∀ {α : Type u_1} [inst : Small.{u, u_1} α] (f f_1 : α → ZFSet.{u}), f = f_1 → ZFSet.range f = ZFSet.range f_1

def ZFSet.Definable.ctorIdx E1 #

{n : ℕ} → {f : (Fin n → ZFSet.{u}) → ZFSet.{u}} → ZFSet.Definable n f → ℕ

theorem ZFSet.iUnion.congr_simp E1 #

∀ {α : Type u_1} [inst : Small.{u, u_1} α] (f f_1 : α → ZFSet.{u}), f = f_1 → ZFSet.iUnion f = ZFSet.iUnion f_1

instance ZFSet.instUsesSetNotationForOrder E0 #

UsesSetNotationForOrder ZFSet.{u}

def ZFSet E3 #

Type (u + 1)

The ZFC universe of sets consists of the type of pre-sets, quotiented by extensional equivalence.

def ZFSet.mk E1 #

PSet.{u_1} → ZFSet.{u_1}

Turns a pre-set into a ZFC set.

theorem ZFSet.mk_eq E0 #

∀ (x : PSet.{u_1}), ⟦x⟧ = ZFSet.mk x

theorem ZFSet.mk_out E0 #

∀ (x : ZFSet.{u_1}), ZFSet.mk (Quotient.out x) = x

class ZFSet.Definable E1 #

(n : ℕ) → ((Fin n → ZFSet.{u}) → ZFSet.{u}) → Type (u + 1)

A set function is "definable" if it is the image of some n-ary PSet function. This isn't exactly definability, but is useful as a sufficient condition for functions that have a computable image.

ctor ZFSet.Definable.mk E0 #

{n : ℕ} →
  {f : (Fin n → ZFSet.{u}) → ZFSet.{u}} →
    (out : (Fin n → PSet.{u}) → PSet.{u}) →
      autoParam (∀ (xs : Fin n → PSet.{u}), ZFSet.mk (out xs) = f fun x ↦ ZFSet.mk (xs x))
          ZFSet.Definable.mk_out._autoParam →
        ZFSet.Definable n f

abbrev ZFSet.Definable.out E1 #

{n : ℕ} → (f : (Fin n → ZFSet.{u}) → ZFSet.{u}) → [self : ZFSet.Definable n f] → (Fin n → PSet.{u}) → PSet.{u}

Turns a definable function into an n-ary PSet function.

theorem ZFSet.Definable.mk_out E0 #

∀ {n : ℕ} {f : (Fin n → ZFSet.{u}) → ZFSet.{u}} [self : ZFSet.Definable n f] (xs : Fin n → PSet.{u}),
  ZFSet.mk (ZFSet.Definable.out f xs) = f fun x ↦ ZFSet.mk (xs x)

A set function f is the image of Definable.out f.

abbrev ZFSet.Definable₁ E1 #

(ZFSet.{u} → ZFSet.{u}) → Type (u + 1)

An abbrev of ZFSet.Definable for unary functions.

abbrev ZFSet.Definable₁.mk E1 #

{f : ZFSet.{u} → ZFSet.{u}} → (out : PSet.{u} → PSet.{u}) → (∀ (x : PSet.{u}), ⟦out x⟧ = f ⟦x⟧) → ZFSet.Definable₁ f

A simpler constructor for ZFSet.Definable₁.

abbrev ZFSet.Definable₁.out E1 #

(f : ZFSet.{u} → ZFSet.{u}) → [ZFSet.Definable₁ f] → PSet.{u} → PSet.{u}

Turns a unary definable function into a unary PSet function.

theorem ZFSet.Definable₁.mk_out E1 #

∀ {f : ZFSet.{u} → ZFSet.{u}} [inst : ZFSet.Definable₁ f] {x : PSet.{u}},
  ZFSet.mk (ZFSet.Definable₁.out f x) = f (ZFSet.mk x)

abbrev ZFSet.Definable₂ E1 #

(ZFSet.{u} → ZFSet.{u} → ZFSet.{u}) → Type (u + 1)

An abbrev of ZFSet.Definable for binary functions.

abbrev ZFSet.Definable₂.mk E1 #

{f : ZFSet.{u} → ZFSet.{u} → ZFSet.{u}} →
  (out : PSet.{u} → PSet.{u} → PSet.{u}) → (∀ (x y : PSet.{u}), ⟦out x y⟧ = f ⟦x⟧ ⟦y⟧) → ZFSet.Definable₂ f

A simpler constructor for ZFSet.Definable₂.

abbrev ZFSet.Definable₂.out E1 #

(f : ZFSet.{u} → ZFSet.{u} → ZFSet.{u}) → [ZFSet.Definable₂ f] → PSet.{u} → PSet.{u} → PSet.{u}

Turns a binary definable function into a binary PSet function.

theorem ZFSet.Definable₂.mk_out E1 #

∀ {f : ZFSet.{u} → ZFSet.{u} → ZFSet.{u}} [inst : ZFSet.Definable₂ f] {x y : PSet.{u}},
  ZFSet.mk (ZFSet.Definable₂.out f x y) = f (ZFSet.mk x) (ZFSet.mk y)

instance ZFSet.instDefinableOfDefinable₁ E0 #

(f : ZFSet.{u_1} → ZFSet.{u_1}) →
  [ZFSet.Definable₁ f] →
    (n : ℕ) → (g : (Fin n → ZFSet.{u_1}) → ZFSet.{u_1}) → [ZFSet.Definable n g] → ZFSet.Definable n fun s ↦ f (g s)

instance ZFSet.instDefinableOfDefinable₂ E0 #

(f : ZFSet.{u_1} → ZFSet.{u_1} → ZFSet.{u_1}) →
  [ZFSet.Definable₂ f] →
    (n : ℕ) →
      (g₁ g₂ : (Fin n → ZFSet.{u_1}) → ZFSet.{u_1}) →
        [ZFSet.Definable n g₁] → [ZFSet.Definable n g₂] → ZFSet.Definable n fun s ↦ f (g₁ s) (g₂ s)

instance ZFSet.instDefinable E0 #

(n : ℕ) → (i : Fin n) → ZFSet.Definable n fun s ↦ s i

theorem ZFSet.Definable.out_equiv E1 #

∀ {n : ℕ} (f : (Fin n → ZFSet.{u}) → ZFSet.{u}) [inst : ZFSet.Definable n f] {xs ys : Fin n → PSet.{u}},
  (∀ (i : Fin n), xs i ≈ ys i) → ZFSet.Definable.out f xs ≈ ZFSet.Definable.out f ys

theorem ZFSet.Definable₁.out_equiv E1 #

∀ (f : ZFSet.{u} → ZFSet.{u}) [inst : ZFSet.Definable₁ f] {x y : PSet.{u}},
  x ≈ y → ZFSet.Definable₁.out f x ≈ ZFSet.Definable₁.out f y

theorem ZFSet.Definable₂.out_equiv E1 #

∀ (f : ZFSet.{u} → ZFSet.{u} → ZFSet.{u}) [inst : ZFSet.Definable₂ f] {x₁ y₁ x₂ y₂ : PSet.{u}},
  x₁ ≈ y₁ → x₂ ≈ y₂ → ZFSet.Definable₂.out f x₁ x₂ ≈ ZFSet.Definable₂.out f y₁ y₂

def Classical.allZFSetDefinable E1 #

{n : ℕ} → (F : (Fin n → ZFSet.{u}) → ZFSet.{u}) → ZFSet.Definable n F

All functions are classically definable.

theorem ZFSet.eq E1 #

∀ {x y : PSet.{u_1}}, ZFSet.mk x = ZFSet.mk y ↔ x.Equiv y

theorem ZFSet.sound E1 #

∀ {x y : PSet.{u_1}}, x.Equiv y → ZFSet.mk x = ZFSet.mk y

theorem ZFSet.exact E1 #

∀ {x y : PSet.{u_1}}, ZFSet.mk x = ZFSet.mk y → x.Equiv y

def ZFSet.toSet E1 #

ZFSet.{u_1} → Set ZFSet.{u_1}

Convert a ZFC set into a Set of ZFC sets

instance ZFSet.instSetLike E0 #

SetLike ZFSet.{u} ZFSet.{u}

theorem ZFSet.mk_mem_iff E0 #

∀ {x y : PSet.{u_1}}, ZFSet.mk x ∈ ZFSet.mk y ↔ x ∈ y

theorem ZFSet.ext_iff E0 #

∀ {x y : ZFSet.{u}}, x = y ↔ ∀ (z : ZFSet.{u}), z ∈ x ↔ z ∈ y

theorem ZFSet.ext E1 #

∀ {x y : ZFSet.{u}}, (∀ (z : ZFSet.{u}), z ∈ x ↔ z ∈ y) → x = y

instance ZFSet.instPartialOrder E0 #

PartialOrder ZFSet.{u}

instance ZFSet.small_coe E0 #

∀ (x : ZFSet.{u}), Small.{u, u + 1} ↥x

def ZFSet.Nonempty E1 #

ZFSet.{u} → Prop

A nonempty set is one that contains some element.

theorem ZFSet.nonempty_def E0 #

∀ (u : ZFSet.{u_1}), u.Nonempty ↔ ∃ x, x ∈ u

theorem ZFSet.nonempty_of_mem E1 #

∀ {x u : ZFSet.{u_1}}, x ∈ u → u.Nonempty

theorem ZFSet.nonempty_coe E0 #

∀ {x : ZFSet.{u}}, (↑x).Nonempty ↔ x.Nonempty

theorem ZFSet.subset_def E0 #

∀ {x y : ZFSet.{u}}, x ⊆ y ↔ ∀ ⦃z : ZFSet.{u}⦄, z ∈ x → z ∈ y

theorem ZFSet.subset_iff E0 #

∀ {x y : PSet.{u_1}}, ZFSet.mk x ⊆ ZFSet.mk y ↔ x ⊆ y

theorem ZFSet.coe_subset_coe E0 #

∀ {x y : ZFSet.{u}}, ↑x ⊆ ↑y ↔ x ⊆ y

def ZFSet.empty E1 #

ZFSet.{u_1}

The empty ZFC set

instance ZFSet.instEmptyCollection E0 #

EmptyCollection ZFSet.{u_1}

instance ZFSet.instInhabited E0 #

Inhabited ZFSet.{u_1}

theorem ZFSet.notMem_empty E0 #

∀ (x : ZFSet.{u}), x ∉ ∅

theorem ZFSet.coe_empty E0 #

↑∅ = ∅

theorem ZFSet.empty_subset E0 #

∀ (x : ZFSet.{u}), ∅ ⊆ x

theorem ZFSet.not_nonempty_empty E0 #

¬∅.Nonempty

theorem ZFSet.nonempty_mk_iff E0 #

∀ {x : PSet.{u_1}}, (ZFSet.mk x).Nonempty ↔ x.Nonempty

def ZFSet.Insert E1 #

ZFSet.{u_1} → ZFSet.{u_1} → ZFSet.{u_1}

Insert x y is the set {x} ∪ y

instance ZFSet.instInsert E0 #

Insert ZFSet.{u_1} ZFSet.{u_1}

instance ZFSet.instSingleton E0 #

Singleton ZFSet.{u_1} ZFSet.{u_1}

instance ZFSet.instLawfulSingleton E0 #

LawfulSingleton ZFSet.{u_1} ZFSet.{u_1}

theorem ZFSet.mem_insert_iff E0 #

∀ {x y z : ZFSet.{u}}, x ∈ insert y z ↔ x = y ∨ x ∈ z

theorem ZFSet.mem_insert E0 #

∀ (x y : ZFSet.{u_1}), x ∈ insert x y

theorem ZFSet.mem_insert_of_mem E0 #

∀ {y z : ZFSet.{u_1}} (x : ZFSet.{u_1}), z ∈ y → z ∈ insert x y

theorem ZFSet.coe_insert E0 #

∀ (x y : ZFSet.{u_1}), ↑(insert x y) = insert x ↑y

theorem ZFSet.mem_singleton E0 #

∀ {x y : ZFSet.{u}}, x ∈ {y} ↔ x = y

theorem ZFSet.notMem_singleton E1 #

∀ {x y : ZFSet.{u}}, x ∉ {y} ↔ x ≠ y

theorem ZFSet.coe_singleton E0 #

∀ (x : ZFSet.{u_1}), ↑{x} = {x}

theorem ZFSet.insert_nonempty E1 #

∀ (u v : ZFSet.{u_1}), (insert u v).Nonempty

theorem ZFSet.singleton_nonempty E1 #

∀ (u : ZFSet.{u_1}), {u}.Nonempty

theorem ZFSet.mem_pair E0 #

∀ {x y z : ZFSet.{u}}, x ∈ {y, z} ↔ x = y ∨ x = z

theorem ZFSet.pair_eq_singleton E0 #

∀ (x : ZFSet.{u_1}), {x, x} = {x}

theorem ZFSet.pair_eq_singleton_iff E0 #

∀ {x y z : ZFSet.{u_1}}, {x, y} = {z} ↔ x = z ∧ y = z

theorem ZFSet.singleton_eq_pair_iff E0 #

∀ {x y z : ZFSet.{u_1}}, {x} = {y, z} ↔ x = y ∧ x = z

def ZFSet.omega E1 #

ZFSet.{u_1}

omega is the first infinite von Neumann ordinal

theorem ZFSet.omega_zero E0 #

∅ ∈ ZFSet.omega

theorem ZFSet.omega_succ E0 #

∀ {n : ZFSet.{u}}, n ∈ ZFSet.omega → insert n n ∈ ZFSet.omega

def ZFSet.sep E1 #

(ZFSet.{u_1} → Prop) → ZFSet.{u_1} → ZFSet.{u_1}

{x ∈ a | p x} is the set of elements in a satisfying p

instance ZFSet.instSep E0 #

Sep ZFSet.{u_1} ZFSet.{u_1}

theorem ZFSet.mem_sep E0 #

∀ {p : ZFSet.{u} → Prop} {x y : ZFSet.{u}}, y ∈ ZFSet.sep p x ↔ y ∈ x ∧ p y

theorem ZFSet.sep_empty E0 #

∀ (p : ZFSet.{u_1} → Prop), ZFSet.sep p ∅ = ∅

theorem ZFSet.sep_subset E1 #

∀ {x : ZFSet.{u_1}} {p : ZFSet.{u_1} → Prop}, ZFSet.sep p x ⊆ x

theorem ZFSet.coe_sep E0 #

∀ (a : ZFSet.{u_1}) (p : ZFSet.{u_1} → Prop), ↑(ZFSet.sep p a) = {x | x ∈ a ∧ p x}

def ZFSet.powerset E1 #

ZFSet.{u_1} → ZFSet.{u_1}

The powerset operation, the collection of subsets of a ZFC set

theorem ZFSet.mem_powerset E0 #

∀ {x y : ZFSet.{u}}, y ∈ x.powerset ↔ y ⊆ x

theorem ZFSet.sUnion_lem E1 #

∀ {α β : Type u} (A : α → PSet.{u}) (B : β → PSet.{u}),
  (∀ (a : α), ∃ b, (A a).Equiv (B b)) →
    ∀ (a : (⋃₀ { «Type» := α, Func := A }).Type),
      ∃ b, ((⋃₀ { «Type» := α, Func := A }).Func a).Equiv ((⋃₀ { «Type» := β, Func := B }).Func b)

def ZFSet.sUnion E1 #

ZFSet.{u_1} → ZFSet.{u_1}

The union operator, the collection of elements of elements of a ZFC set. Uses ⋃₀ notation, scoped under the ZFSet namespace.

def ZFSet.«term⋃₀_» E1 #

Lean.ParserDescr

The union operator, the collection of elements of elements of a ZFC set. Uses ⋃₀ notation, scoped under the ZFSet namespace.

def ZFSet.sInter E1 #

ZFSet.{u_1} → ZFSet.{u_1}

The intersection operator, the collection of elements in all of the elements of a ZFC set. We define ⋂₀ ∅ = ∅. Uses ⋂₀ notation, scoped under the ZFSet namespace.

def ZFSet.«term⋂₀_» E1 #

Lean.ParserDescr

The intersection operator, the collection of elements in all of the elements of a ZFC set. We define ⋂₀ ∅ = ∅. Uses ⋂₀ notation, scoped under the ZFSet namespace.

theorem ZFSet.mem_sUnion E0 #

∀ {x y : ZFSet.{u}}, y ∈ x.sUnion ↔ ∃ z ∈ x, y ∈ z

theorem ZFSet.mem_sInter E0 #

∀ {x y : ZFSet.{u_1}}, x.Nonempty → (y ∈ x.sInter ↔ ∀ z ∈ x, y ∈ z)

theorem ZFSet.sUnion_empty E0 #

∅.sUnion = ∅

theorem ZFSet.sInter_empty E0 #

∅.sInter = ∅

theorem ZFSet.mem_of_mem_sInter E0 #

∀ {x y z : ZFSet.{u_1}}, y ∈ x.sInter → z ∈ x → y ∈ z

theorem ZFSet.mem_sUnion_of_mem E0 #

∀ {x y z : ZFSet.{u_1}}, y ∈ z → z ∈ x → y ∈ x.sUnion

theorem ZFSet.notMem_sInter_of_notMem E1 #

∀ {x y z : ZFSet.{u_1}}, y ∉ z → z ∈ x → y ∉ x.sInter

theorem ZFSet.sUnion_singleton E0 #

∀ {x : ZFSet.{u}}, {x}.sUnion = x

theorem ZFSet.sInter_singleton E0 #

∀ {x : ZFSet.{u}}, {x}.sInter = x

theorem ZFSet.coe_sUnion E0 #

∀ (x : ZFSet.{u}), ↑x.sUnion = ⋃₀ (SetLike.coe '' ↑x)

theorem ZFSet.coe_sInter E0 #

∀ {x : ZFSet.{u}}, x.Nonempty → ↑x.sInter = ⋂₀ (SetLike.coe '' ↑x)

theorem ZFSet.singleton_injective E1 #

Function.Injective singleton

theorem ZFSet.singleton_inj E0 #

∀ {x y : ZFSet.{u_1}}, {x} = {y} ↔ x = y

def ZFSet.union E1 #

ZFSet.{u} → ZFSet.{u} → ZFSet.{u}

The binary union operation

def ZFSet.inter E1 #

ZFSet.{u} → ZFSet.{u} → ZFSet.{u}

The binary intersection operation

def ZFSet.diff E1 #

ZFSet.{u} → ZFSet.{u} → ZFSet.{u}

The set difference operation

instance ZFSet.instMax E0 #

Max ZFSet.{u_1}

instance ZFSet.instMin E0 #

Min ZFSet.{u_1}

instance ZFSet.instSDiff E0 #

SDiff ZFSet.{u_1}

theorem ZFSet.sUnion_pair E0 #

∀ (x y : ZFSet.{u}), {x, y}.sUnion = x ∪ y

theorem ZFSet.sep_mem E0 #

∀ (x y : ZFSet.{u}), ZFSet.sep (fun x ↦ x ∈ y) x = x ∩ y

theorem ZFSet.sep_notMem E0 #

∀ (x y : ZFSet.{u}), ZFSet.sep (fun x ↦ x ∉ y) x = x \ y

theorem ZFSet.mem_union E0 #

∀ {x y z : ZFSet.{u}}, z ∈ x ∪ y ↔ z ∈ x ∨ z ∈ y

theorem ZFSet.mem_inter E0 #

∀ {x y z : ZFSet.{u}}, z ∈ x ∩ y ↔ z ∈ x ∧ z ∈ y

theorem ZFSet.mem_sdiff E0 #

∀ {x y z : ZFSet.{u}}, z ∈ x \ y ↔ z ∈ x ∧ z ∉ y

theorem ZFSet.coe_union E0 #

∀ (x y : ZFSet.{u}), ↑(x ∪ y) = ↑x ∪ ↑y

theorem ZFSet.coe_inter E0 #

∀ (x y : ZFSet.{u}), ↑(x ∩ y) = ↑x ∩ ↑y

theorem ZFSet.coe_sdiff E0 #

∀ (x y : ZFSet.{u}), ↑(x \ y) = ↑x \ ↑y

theorem ZFSet.inter_eq_left_of_subset E0 #

∀ {x y : ZFSet.{u}}, x ⊆ y → x ∩ y = x

theorem ZFSet.inter_eq_right_of_subset E0 #

∀ {x y : ZFSet.{u}}, y ⊆ x → x ∩ y = y

def ZFSet.powersetEquiv E1 #

(x : ZFSet.{u}) → ↥x.powerset ≃ ↑(𝒫 ↑x)

ZFSet.powerset is equivalent to Set.powerset.

theorem ZFSet.insert_eq E0 #

∀ (x y : ZFSet.{u_1}), insert x y = {x} ∪ y

instance ZFSet.mem_wf E0 #

WellFounded fun x1 x2 ↦ x1 ∈ x2

theorem ZFSet.inductionOn E1 #

∀ {p : ZFSet.{u_1} → Prop} (x : ZFSet.{u_1}), (∀ (x : ZFSet.{u_1}), (∀ y ∈ x, p y) → p x) → p x

Induction on the ∈ relation.

instance ZFSet.instWellFoundedRelation E0 #

WellFoundedRelation ZFSet.{u_1}

theorem ZFSet.mem_asymm E0 #

∀ {x y : ZFSet.{u_1}}, x ∈ y → y ∉ x

theorem ZFSet.mem_irrefl E0 #

∀ (x : ZFSet.{u_1}), x ∉ x

theorem ZFSet.not_subset_of_mem E1 #

∀ {x y : ZFSet.{u_1}}, x ∈ y → ¬y ⊆ x

theorem ZFSet.notMem_of_subset E1 #

∀ {x y : ZFSet.{u_1}}, x ⊆ y → y ∉ x

theorem ZFSet.regularity E1 #

∀ (x : ZFSet.{u}), x ≠ ∅ → ∃ y ∈ x, x ∩ y = ∅

def ZFSet.image E1 #

(f : ZFSet.{u_1} → ZFSet.{u_1}) → [ZFSet.Definable₁ f] → ZFSet.{u_1} → ZFSet.{u_1}

The image of a (definable) ZFC set function

theorem ZFSet.image.mk E1 #

∀ (f : ZFSet.{u} → ZFSet.{u}) [inst : ZFSet.Definable₁ f] (x : ZFSet.{u}) {y : ZFSet.{u}}, y ∈ x → f y ∈ ZFSet.image f x

theorem ZFSet.mem_image E0 #

∀ {f : ZFSet.{u} → ZFSet.{u}} [inst : ZFSet.Definable₁ f] {x y : ZFSet.{u}}, y ∈ ZFSet.image f x ↔ ∃ z ∈ x, f z = y

theorem ZFSet.coe_image E0 #

∀ (f : ZFSet.{u_1} → ZFSet.{u_1}) [inst : ZFSet.Definable₁ f] (x : ZFSet.{u_1}), ↑(ZFSet.image f x) = f '' ↑x

def ZFSet.range E1 #

{α : Type u_1} → [Small.{u, u_1} α] → (α → ZFSet.{u}) → ZFSet.{u}

The range of a type-indexed family of sets.

theorem ZFSet.mem_range E0 #

∀ {α : Type u_1} [inst : Small.{u, u_1} α] {f : α → ZFSet.{u}} {x : ZFSet.{u}}, x ∈ ZFSet.range f ↔ ∃ i, f i = x

theorem ZFSet.coe_range E0 #

∀ {α : Type u_1} [inst : Small.{u, u_1} α] (f : α → ZFSet.{u}), ↑(ZFSet.range f) = Set.range f

theorem ZFSet.mem_range_self E0 #

∀ {α : Type u_1} [inst : Small.{u, u_1} α] {f : α → ZFSet.{u}} (a : α), f a ∈ ZFSet.range f

def ZFSet.iUnion E1 #

{α : Type u_1} → [Small.{u, u_1} α] → (α → ZFSet.{u}) → ZFSet.{u}

Indexed union of a family of ZFC sets. Uses ⋃ notation, scoped under the ZFSet namespace.

def ZFSet.«term⋃_,_» E1 #

Lean.ParserDescr

Indexed union of a family of ZFC sets. Uses ⋃ notation, scoped under the ZFSet namespace.

theorem ZFSet.mem_iUnion E0 #

∀ {α : Type u_1} [inst : Small.{u, u_1} α] {f : α → ZFSet.{u}} {x : ZFSet.{u}},
  (x ∈ ZFSet.iUnion fun i ↦ f i) ↔ ∃ i, x ∈ f i

theorem ZFSet.coe_iUnion E0 #

∀ {α : Type u_1} [inst : Small.{u, u_1} α] (f : α → ZFSet.{u}), ↑(ZFSet.iUnion fun i ↦ f i) = ⋃ i, ↑(f i)

theorem ZFSet.subset_iUnion E1 #

∀ {α : Type u_1} [inst : Small.{u, u_1} α] (f : α → ZFSet.{u}) (i : α), f i ⊆ ZFSet.iUnion fun i ↦ f i

def ZFSet.pair E1 #

ZFSet.{u} → ZFSet.{u} → ZFSet.{u}

Kuratowski ordered pair

theorem ZFSet.coe_pair E0 #

∀ (x y : ZFSet.{u}), ↑(x.pair y) = {{x}, {x, y}}

def ZFSet.pairSep E1 #

(ZFSet.{u} → ZFSet.{u} → Prop) → ZFSet.{u} → ZFSet.{u} → ZFSet.{u}

A subset of pairs {(a, b) ∈ x × y | p a b}

theorem ZFSet.mem_pairSep E0 #

∀ {p : ZFSet.{u} → ZFSet.{u} → Prop} {x y z : ZFSet.{u}},
  z ∈ ZFSet.pairSep p x y ↔ ∃ a ∈ x, ∃ b ∈ y, z = a.pair b ∧ p a b

theorem ZFSet.pair_injective E1 #

Function.Injective2 ZFSet.pair

theorem ZFSet.pair_inj E0 #

∀ {x y x' y' : ZFSet.{u_1}}, x.pair y = x'.pair y' ↔ x = x' ∧ y = y'

def ZFSet.prod E1 #

ZFSet.{u} → ZFSet.{u} → ZFSet.{u}

The Cartesian product, {(a, b) | a ∈ x, b ∈ y}

theorem ZFSet.mem_prod E0 #

∀ {x y z : ZFSet.{u}}, z ∈ x.prod y ↔ ∃ a ∈ x, ∃ b ∈ y, z = a.pair b

theorem ZFSet.pair_mem_prod E1 #

∀ {x y a b : ZFSet.{u}}, a.pair b ∈ x.prod y ↔ a ∈ x ∧ b ∈ y

def ZFSet.IsFunc E1 #

ZFSet.{u} → ZFSet.{u} → ZFSet.{u} → Prop

isFunc x y f is the assertion that f is a subset of x × y which relates to each element of x a unique element of y, so that we can consider f as a ZFC function x → y.

def ZFSet.funs E1 #

ZFSet.{u} → ZFSet.{u} → ZFSet.{u}

funs x y is y ^ x, the set of all set functions x → y

theorem ZFSet.mem_funs E0 #

∀ {x y f : ZFSet.{u}}, f ∈ x.funs y ↔ x.IsFunc y f

instance ZFSet.instDefinable₁Singleton E0 #

ZFSet.Definable₁ fun x ↦ {x}

instance ZFSet.instDefinable₂Insert E0 #

ZFSet.Definable₂ insert

instance ZFSet.instDefinable₂Pair E0 #

ZFSet.Definable₂ ZFSet.pair

def ZFSet.map E1 #

(f : ZFSet.{u_1} → ZFSet.{u_1}) → [ZFSet.Definable₁ f] → ZFSet.{u_1} → ZFSet.{u_1}

Graph of a function: map f x is the ZFC function which maps a ∈ x to f a

theorem ZFSet.mem_map E0 #

∀ {f : ZFSet.{u_1} → ZFSet.{u_1}} [inst : ZFSet.Definable₁ f] {x y : ZFSet.{u_1}},
  y ∈ ZFSet.map f x ↔ ∃ z ∈ x, z.pair (f z) = y

theorem ZFSet.map_unique E0 #

∀ {f : ZFSet.{u} → ZFSet.{u}} [inst : ZFSet.Definable₁ f] {x z : ZFSet.{u}}, z ∈ x → ∃! w, z.pair w ∈ ZFSet.map f x

theorem ZFSet.map_isFunc E0 #

∀ {f : ZFSet.{u_1} → ZFSet.{u_1}} [inst : ZFSet.Definable₁ f] {x y : ZFSet.{u_1}},
  x.IsFunc y (ZFSet.map f x) ↔ ∀ z ∈ x, f z ∈ y

def ZFSet.Hereditarily E1 #

(ZFSet.{u_1} → Prop) → ZFSet.{u_1} → Prop

Given a predicate p on ZFC sets. Hereditarily p x means that x has property p and the members of x are all Hereditarily p.

theorem ZFSet.hereditarily_iff E0 #

∀ {p : ZFSet.{u} → Prop} {x : ZFSet.{u}}, ZFSet.Hereditarily p x ↔ p x ∧ ∀ y ∈ x, ZFSet.Hereditarily p y

theorem ZFSet.Hereditarily.def E1 #

∀ {p : ZFSet.{u} → Prop} {x : ZFSet.{u}}, ZFSet.Hereditarily p x → p x ∧ ∀ y ∈ x, ZFSet.Hereditarily p y

Alias of the forward direction of ZFSet.hereditarily_iff.

theorem ZFSet.Hereditarily.self E1 #

∀ {p : ZFSet.{u} → Prop} {x : ZFSet.{u}}, ZFSet.Hereditarily p x → p x

theorem ZFSet.Hereditarily.mem E1 #

∀ {p : ZFSet.{u} → Prop} {x y : ZFSet.{u}}, ZFSet.Hereditarily p x → y ∈ x → ZFSet.Hereditarily p y

theorem ZFSet.Hereditarily.empty E1 #

∀ {p : ZFSet.{u} → Prop} {x : ZFSet.{u}}, ZFSet.Hereditarily p x → p ∅