| Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > setrec2 | Structured version Visualization version GIF version | ||
| Description: This is the second of two
fundamental theorems about set recursion from
which all other facts will be derived. It states that the class
setrecs(𝐹) is a subclass of all classes 𝐶 that
are closed
under 𝐹. Taken together, Theorems setrec1 10020 and setrec2v 10026
uniquely determine setrecs(𝐹) to be the minimal class closed
under 𝐹.
We express this by saying that if 𝐹 respects the ⊆ relation and 𝐶 is closed under 𝐹, then 𝐵 ⊆ 𝐶. By substituting strategically constructed classes for 𝐶, we can easily prove many useful properties. Although this theorem cannot show equality between 𝐵 and 𝐶, if we intend to prove equality between 𝐵 and some particular class (such as On), we first apply this theorem, then the relevant induction theorem (such as tfi 7909) to the other class. (Contributed by Emmett Weisz, 2-Sep-2021.) |
| Ref | Expression |
|---|---|
| setrec2.1 | ⊢ Ⅎ𝑎𝐹 |
| setrec2.2 | ⊢ 𝐵 = setrecs(𝐹) |
| setrec2.3 | ⊢ (𝜑 → ∀𝑎(𝑎 ⊆ 𝐶 → (𝐹‘𝑎) ⊆ 𝐶)) |
| Ref | Expression |
|---|---|
| setrec2 | ⊢ (𝜑 → 𝐵 ⊆ 𝐶) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | setrec2.1 | . . 3 ⊢ Ⅎ𝑎𝐹 | |
| 2 | nfcv 2932 | . . . . . 6 ⊢ Ⅎ𝑎𝑥 | |
| 3 | nfcv 2932 | . . . . . 6 ⊢ Ⅎ𝑎𝑢 | |
| 4 | 2, 1, 3 | nfbr 5161 | . . . . 5 ⊢ Ⅎ𝑎 𝑥𝐹𝑢 |
| 5 | 4 | nfeuw 2627 | . . . 4 ⊢ Ⅎ𝑎∃!𝑢 𝑥𝐹𝑢 |
| 6 | 5 | nfab 2938 | . . 3 ⊢ Ⅎ𝑎{𝑥 ∣ ∃!𝑢 𝑥𝐹𝑢} |
| 7 | 1, 6 | nfres 5991 | . 2 ⊢ Ⅎ𝑎(𝐹 ↾ {𝑥 ∣ ∃!𝑢 𝑥𝐹𝑢}) |
| 8 | setrec2.2 | . . 3 ⊢ 𝐵 = setrecs(𝐹) | |
| 9 | setrec2lem1 10022 | . . . . . . . . . . . 12 ⊢ ((𝐹 ↾ {𝑥 ∣ ∃!𝑢 𝑥𝐹𝑢})‘𝑤) = (𝐹‘𝑤) | |
| 10 | 9 | sseq1i 3943 | . . . . . . . . . . 11 ⊢ (((𝐹 ↾ {𝑥 ∣ ∃!𝑢 𝑥𝐹𝑢})‘𝑤) ⊆ 𝑧 ↔ (𝐹‘𝑤) ⊆ 𝑧) |
| 11 | 10 | imbi2i 339 | . . . . . . . . . 10 ⊢ ((𝑤 ⊆ 𝑧 → ((𝐹 ↾ {𝑥 ∣ ∃!𝑢 𝑥𝐹𝑢})‘𝑤) ⊆ 𝑧) ↔ (𝑤 ⊆ 𝑧 → (𝐹‘𝑤) ⊆ 𝑧)) |
| 12 | 11 | imbi2i 339 | . . . . . . . . 9 ⊢ ((𝑤 ⊆ 𝑦 → (𝑤 ⊆ 𝑧 → ((𝐹 ↾ {𝑥 ∣ ∃!𝑢 𝑥𝐹𝑢})‘𝑤) ⊆ 𝑧)) ↔ (𝑤 ⊆ 𝑦 → (𝑤 ⊆ 𝑧 → (𝐹‘𝑤) ⊆ 𝑧))) |
| 13 | 12 | albii 1854 | . . . . . . . 8 ⊢ (∀𝑤(𝑤 ⊆ 𝑦 → (𝑤 ⊆ 𝑧 → ((𝐹 ↾ {𝑥 ∣ ∃!𝑢 𝑥𝐹𝑢})‘𝑤) ⊆ 𝑧)) ↔ ∀𝑤(𝑤 ⊆ 𝑦 → (𝑤 ⊆ 𝑧 → (𝐹‘𝑤) ⊆ 𝑧))) |
| 14 | 13 | imbi1i 352 | . . . . . . 7 ⊢ ((∀𝑤(𝑤 ⊆ 𝑦 → (𝑤 ⊆ 𝑧 → ((𝐹 ↾ {𝑥 ∣ ∃!𝑢 𝑥𝐹𝑢})‘𝑤) ⊆ 𝑧)) → 𝑦 ⊆ 𝑧) ↔ (∀𝑤(𝑤 ⊆ 𝑦 → (𝑤 ⊆ 𝑧 → (𝐹‘𝑤) ⊆ 𝑧)) → 𝑦 ⊆ 𝑧)) |
| 15 | 14 | albii 1854 | . . . . . 6 ⊢ (∀𝑧(∀𝑤(𝑤 ⊆ 𝑦 → (𝑤 ⊆ 𝑧 → ((𝐹 ↾ {𝑥 ∣ ∃!𝑢 𝑥𝐹𝑢})‘𝑤) ⊆ 𝑧)) → 𝑦 ⊆ 𝑧) ↔ ∀𝑧(∀𝑤(𝑤 ⊆ 𝑦 → (𝑤 ⊆ 𝑧 → (𝐹‘𝑤) ⊆ 𝑧)) → 𝑦 ⊆ 𝑧)) |
| 16 | 15 | abbii 2836 | . . . . 5 ⊢ {𝑦 ∣ ∀𝑧(∀𝑤(𝑤 ⊆ 𝑦 → (𝑤 ⊆ 𝑧 → ((𝐹 ↾ {𝑥 ∣ ∃!𝑢 𝑥𝐹𝑢})‘𝑤) ⊆ 𝑧)) → 𝑦 ⊆ 𝑧)} = {𝑦 ∣ ∀𝑧(∀𝑤(𝑤 ⊆ 𝑦 → (𝑤 ⊆ 𝑧 → (𝐹‘𝑤) ⊆ 𝑧)) → 𝑦 ⊆ 𝑧)} |
| 17 | 16 | unieqi 4887 | . . . 4 ⊢ ∪ {𝑦 ∣ ∀𝑧(∀𝑤(𝑤 ⊆ 𝑦 → (𝑤 ⊆ 𝑧 → ((𝐹 ↾ {𝑥 ∣ ∃!𝑢 𝑥𝐹𝑢})‘𝑤) ⊆ 𝑧)) → 𝑦 ⊆ 𝑧)} = ∪ {𝑦 ∣ ∀𝑧(∀𝑤(𝑤 ⊆ 𝑦 → (𝑤 ⊆ 𝑧 → (𝐹‘𝑤) ⊆ 𝑧)) → 𝑦 ⊆ 𝑧)} |
| 18 | df-setrecs 10013 | . . . 4 ⊢ setrecs((𝐹 ↾ {𝑥 ∣ ∃!𝑢 𝑥𝐹𝑢})) = ∪ {𝑦 ∣ ∀𝑧(∀𝑤(𝑤 ⊆ 𝑦 → (𝑤 ⊆ 𝑧 → ((𝐹 ↾ {𝑥 ∣ ∃!𝑢 𝑥𝐹𝑢})‘𝑤) ⊆ 𝑧)) → 𝑦 ⊆ 𝑧)} | |
| 19 | df-setrecs 10013 | . . . 4 ⊢ setrecs(𝐹) = ∪ {𝑦 ∣ ∀𝑧(∀𝑤(𝑤 ⊆ 𝑦 → (𝑤 ⊆ 𝑧 → (𝐹‘𝑤) ⊆ 𝑧)) → 𝑦 ⊆ 𝑧)} | |
| 20 | 17, 18, 19 | 3eqtr4ri 2803 | . . 3 ⊢ setrecs(𝐹) = setrecs((𝐹 ↾ {𝑥 ∣ ∃!𝑢 𝑥𝐹𝑢})) |
| 21 | 8, 20 | eqtri 2792 | . 2 ⊢ 𝐵 = setrecs((𝐹 ↾ {𝑥 ∣ ∃!𝑢 𝑥𝐹𝑢})) |
| 22 | setrec2lem2 10024 | . 2 ⊢ Fun (𝐹 ↾ {𝑥 ∣ ∃!𝑢 𝑥𝐹𝑢}) | |
| 23 | setrec2.3 | . . 3 ⊢ (𝜑 → ∀𝑎(𝑎 ⊆ 𝐶 → (𝐹‘𝑎) ⊆ 𝐶)) | |
| 24 | setrec2lem1 10022 | . . . . . 6 ⊢ ((𝐹 ↾ {𝑥 ∣ ∃!𝑢 𝑥𝐹𝑢})‘𝑎) = (𝐹‘𝑎) | |
| 25 | 24 | sseq1i 3943 | . . . . 5 ⊢ (((𝐹 ↾ {𝑥 ∣ ∃!𝑢 𝑥𝐹𝑢})‘𝑎) ⊆ 𝐶 ↔ (𝐹‘𝑎) ⊆ 𝐶) |
| 26 | 25 | imbi2i 339 | . . . 4 ⊢ ((𝑎 ⊆ 𝐶 → ((𝐹 ↾ {𝑥 ∣ ∃!𝑢 𝑥𝐹𝑢})‘𝑎) ⊆ 𝐶) ↔ (𝑎 ⊆ 𝐶 → (𝐹‘𝑎) ⊆ 𝐶)) |
| 27 | 26 | albii 1854 | . . 3 ⊢ (∀𝑎(𝑎 ⊆ 𝐶 → ((𝐹 ↾ {𝑥 ∣ ∃!𝑢 𝑥𝐹𝑢})‘𝑎) ⊆ 𝐶) ↔ ∀𝑎(𝑎 ⊆ 𝐶 → (𝐹‘𝑎) ⊆ 𝐶)) |
| 28 | 23, 27 | sylibr 237 | . 2 ⊢ (𝜑 → ∀𝑎(𝑎 ⊆ 𝐶 → ((𝐹 ↾ {𝑥 ∣ ∃!𝑢 𝑥𝐹𝑢})‘𝑎) ⊆ 𝐶)) |
| 29 | 7, 21, 22, 28 | setrec2fun 10021 | 1 ⊢ (𝜑 → 𝐵 ⊆ 𝐶) |
| Colors of variables: wff setvar class |
| This proof depends on syntax axioms: → wi 4 ∀wal 1570 = wceq 1572 ∃!weu 2600 {cab 2747 Ⅎwnfc 2917 ⊆ wss 3902 ∪ cuni 4875 class class class wbr 5111 ↾ cres 5663 ‘cfv 6573 setrecscsetrecs 10012 |
| This proof depends on axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1830 ax-4 1844 ax-5 1947 ax-6 2004 ax-7 2045 ax-8 2153 ax-9 2161 ax-10 2184 ax-11 2201 ax-12 2220 ax-ext 2741 ax-rep 5241 ax-sep 5258 ax-nul 5269 ax-pow 5337 ax-pr 5401 ax-un 7794 |
| This proof depends on definitions: df-bi 210 df-an 402 df-or 862 df-3an 1106 df-tru 1575 df-fal 1585 df-ex 1815 df-nf 1819 df-sb 2105 df-mo 2571 df-eu 2601 df-clab 2748 df-cleq 2761 df-clel 2845 df-nfc 2919 df-ne 2966 df-ral 3087 df-rex 3097 df-rab 3419 df-v 3458 df-ss 3903 df-dif 4052 df-in 4096 df-un 4156 df-nul 4284 df-if 4488 df-pw 4564 df-sn 4591 df-pr 4593 df-op 4844 df-uni 4876 df-br 5112 df-opab 5177 df-id 5556 df-xp 5667 df-rel 5668 df-cnv 5669 df-co 5670 df-dm 5671 df-rn 5672 df-res 5673 df-ima 5674 df-iota 6527 df-fun 6575 df-fv 6581 df-setrecs 10013 |
| This theorem is used by: setrec2v 10026 setrec2mpt 51324 |
| Copyright terms: Public domain | W3C validator |