MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  df-setrecs Structured version   Visualization version   GIF version

Definition df-setrecs 10013
Description: Define a class setrecs(𝐹) by transfinite recursion, where (𝐹‘𝑥) is the set of new elements to add to the class given the set 𝑥 of elements in the class so far. We do not need a base case, because we can start with the empty set, which is vacuously a subset of setrecs(𝐹). The goal of this definition is to construct a class fulfilling Theorems setrec1 10020 and setrec2v 10026, which give a more intuitive idea of the meaning of setrecs. Unlike wrecs, setrecs is well-defined for any 𝐹 and meaningful for any function 𝐹.

The definition works by building subsets of the desired class and taking the union of those subsets. To find such a collection of subsets, consider an arbitrary set 𝑧, and consider the result when applying 𝐹 to any subset 𝑤 ⊆ 𝑧. Remember that 𝐹 can be any function, and in general we are interested in functions that give outputs that are larger than their inputs, so we have no reason to expect the outputs to be within 𝑧. However, if we restrict the domain of 𝐹 to a given set 𝑦, the resulting range will be a set. Therefore, with this restricted 𝐹, it makes sense to consider sets 𝑧 that are closed under 𝐹 applied to its subsets. Now we can test whether a given set 𝑦 is recursively generated by 𝐹. If every set 𝑧 that is closed under 𝐹 contains 𝑦, that means that every member of 𝑦 must eventually be generated by 𝐹. On the other hand, if some such 𝑧 does not contain a certain element of 𝑦, then that element can be avoided even if we apply 𝐹 in every possible way to previously generated elements.

For an example, see Theorem onsetrec 51335 for how the class On is defined recursively using the successor function.

(Contributed by Emmett Weisz, 18-Aug-2020.) (New usage is discouraged.)

Assertion
Ref Expression
df-setrecs setrecs(𝐹) = ∪ {𝑦 ∣ ∀𝑧(∀𝑤(𝑤 ⊆ 𝑦 → (𝑤 ⊆ 𝑧 → (𝐹‘𝑤) ⊆ 𝑧)) → 𝑦 ⊆ 𝑧)}
Distinct variable group:   𝑦,𝑧,𝑤,𝐹

Detailed syntax breakdown of Definition df-setrecs
StepHypRef Expression
1 cF . . 3 class 𝐹
21csetrecs 10012 . 2 class setrecs(𝐹)
3 vw . . . . . . . . . 10 setvar 𝑤
43cv 1571 . . . . . . . . 9 class 𝑤
5 vy . . . . . . . . . 10 setvar 𝑦
65cv 1571 . . . . . . . . 9 class 𝑦
74, 6wss 3902 . . . . . . . 8 wff 𝑤 ⊆ 𝑦
8 vz . . . . . . . . . . 11 setvar 𝑧
98cv 1571 . . . . . . . . . 10 class 𝑧
104, 9wss 3902 . . . . . . . . 9 wff 𝑤 ⊆ 𝑧
114, 1cfv 6573 . . . . . . . . . 10 class (𝐹‘𝑤)
1211, 9wss 3902 . . . . . . . . 9 wff (𝐹‘𝑤) ⊆ 𝑧
1310, 12wi 4 . . . . . . . 8 wff (𝑤 ⊆ 𝑧 → (𝐹‘𝑤) ⊆ 𝑧)
147, 13wi 4 . . . . . . 7 wff (𝑤 ⊆ 𝑦 → (𝑤 ⊆ 𝑧 → (𝐹‘𝑤) ⊆ 𝑧))
1514, 3wal 1570 . . . . . 6 wff ∀𝑤(𝑤 ⊆ 𝑦 → (𝑤 ⊆ 𝑧 → (𝐹‘𝑤) ⊆ 𝑧))
166, 9wss 3902 . . . . . 6 wff 𝑦 ⊆ 𝑧
1715, 16wi 4 . . . . 5 wff (∀𝑤(𝑤 ⊆ 𝑦 → (𝑤 ⊆ 𝑧 → (𝐹‘𝑤) ⊆ 𝑧)) → 𝑦 ⊆ 𝑧)
1817, 8wal 1570 . . . 4 wff ∀𝑧(∀𝑤(𝑤 ⊆ 𝑦 → (𝑤 ⊆ 𝑧 → (𝐹‘𝑤) ⊆ 𝑧)) → 𝑦 ⊆ 𝑧)
1918, 5cab 2747 . . 3 class {𝑦 ∣ ∀𝑧(∀𝑤(𝑤 ⊆ 𝑦 → (𝑤 ⊆ 𝑧 → (𝐹‘𝑤) ⊆ 𝑧)) → 𝑦 ⊆ 𝑧)}
2019cuni 4875 . 2 class ∪ {𝑦 ∣ ∀𝑧(∀𝑤(𝑤 ⊆ 𝑦 → (𝑤 ⊆ 𝑧 → (𝐹‘𝑤) ⊆ 𝑧)) → 𝑦 ⊆ 𝑧)}
212, 20wceq 1572 1 wff setrecs(𝐹) = ∪ {𝑦 ∣ ∀𝑧(∀𝑤(𝑤 ⊆ 𝑦 → (𝑤 ⊆ 𝑧 → (𝐹‘𝑤) ⊆ 𝑧)) → 𝑦 ⊆ 𝑧)}
Colors of variables:    wff setvar class
This definition is used by:  setrec1  10020  setrec2fun  10021  setrec2  10025  setrecseq  51322  nfsetrecs  51323
  Copyright terms: Public domain W3C validator