| Mathbox for Emmett Weisz |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > Mathboxes > setrec1 | Structured version Visualization version GIF version | ||
| Description: This is the first of two
fundamental theorems about set recursion from
which all other facts will be derived. It states that the class
setrecs(𝐹) is closed under 𝐹. This
effectively sets the
actual value of setrecs(𝐹) as a lower bound for
setrecs(𝐹), as it implies that any set
generated by successive
applications of 𝐹 is a member of 𝐵. This
theorem "gets off the
ground" because we can start by letting 𝐴 = ∅, and the
hypotheses
of the theorem will hold trivially.
Variable 𝐵 represents an abbreviation of setrecs(𝐹) or another name of setrecs(𝐹) (for an example of the latter, see theorem setrecon). Proof summary: Assume that 𝐴 ⊆ 𝐵, meaning that all elements of 𝐴 are in some set recursively generated by 𝐹. Then by setrec1lem3 50450, 𝐴 is a subset of some set recursively generated by 𝐹. (It turns out that 𝐴 itself is recursively generated by 𝐹, but we don't need this fact. See the comment to setrec1lem3 50450.) Therefore, by setrec1lem4 50451, (𝐹‘𝐴) is a subset of some set recursively generated by 𝐹. Thus, by ssuni 4899, it is a subset of the union of all sets recursively generated by 𝐹. See df-setrecs 50445 for a detailed description of how the setrecs definition works. (Contributed by Emmett Weisz, 9-Oct-2020.) |
| Ref | Expression |
|---|---|
| setrec1.b | ⊢ 𝐵 = setrecs(𝐹) |
| setrec1.v | ⊢ (𝜑 → 𝐴 ∈ V) |
| setrec1.a | ⊢ (𝜑 → 𝐴 ⊆ 𝐵) |
| Ref | Expression |
|---|---|
| setrec1 | ⊢ (𝜑 → (𝐹‘𝐴) ⊆ 𝐵) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | eqid 2763 | . . . 4 ⊢ {𝑦 ∣ ∀𝑧(∀𝑤(𝑤 ⊆ 𝑦 → (𝑤 ⊆ 𝑧 → (𝐹‘𝑤) ⊆ 𝑧)) → 𝑦 ⊆ 𝑧)} = {𝑦 ∣ ∀𝑧(∀𝑤(𝑤 ⊆ 𝑦 → (𝑤 ⊆ 𝑧 → (𝐹‘𝑤) ⊆ 𝑧)) → 𝑦 ⊆ 𝑧)} | |
| 2 | setrec1.v | . . . 4 ⊢ (𝜑 → 𝐴 ∈ V) | |
| 3 | setrec1.a | . . . . . . . . 9 ⊢ (𝜑 → 𝐴 ⊆ 𝐵) | |
| 4 | 3 | sseld 3937 | . . . . . . . 8 ⊢ (𝜑 → (𝑎 ∈ 𝐴 → 𝑎 ∈ 𝐵)) |
| 5 | 4 | imp 411 | . . . . . . 7 ⊢ ((𝜑 ∧ 𝑎 ∈ 𝐴) → 𝑎 ∈ 𝐵) |
| 6 | setrec1.b | . . . . . . . 8 ⊢ 𝐵 = setrecs(𝐹) | |
| 7 | df-setrecs 50445 | . . . . . . . 8 ⊢ setrecs(𝐹) = ∪ {𝑦 ∣ ∀𝑧(∀𝑤(𝑤 ⊆ 𝑦 → (𝑤 ⊆ 𝑧 → (𝐹‘𝑤) ⊆ 𝑧)) → 𝑦 ⊆ 𝑧)} | |
| 8 | 6, 7 | eqtri 2786 | . . . . . . 7 ⊢ 𝐵 = ∪ {𝑦 ∣ ∀𝑧(∀𝑤(𝑤 ⊆ 𝑦 → (𝑤 ⊆ 𝑧 → (𝐹‘𝑤) ⊆ 𝑧)) → 𝑦 ⊆ 𝑧)} |
| 9 | 5, 8 | eleqtrdi 2873 | . . . . . 6 ⊢ ((𝜑 ∧ 𝑎 ∈ 𝐴) → 𝑎 ∈ ∪ {𝑦 ∣ ∀𝑧(∀𝑤(𝑤 ⊆ 𝑦 → (𝑤 ⊆ 𝑧 → (𝐹‘𝑤) ⊆ 𝑧)) → 𝑦 ⊆ 𝑧)}) |
| 10 | eluni 4876 | . . . . . 6 ⊢ (𝑎 ∈ ∪ {𝑦 ∣ ∀𝑧(∀𝑤(𝑤 ⊆ 𝑦 → (𝑤 ⊆ 𝑧 → (𝐹‘𝑤) ⊆ 𝑧)) → 𝑦 ⊆ 𝑧)} ↔ ∃𝑥(𝑎 ∈ 𝑥 ∧ 𝑥 ∈ {𝑦 ∣ ∀𝑧(∀𝑤(𝑤 ⊆ 𝑦 → (𝑤 ⊆ 𝑧 → (𝐹‘𝑤) ⊆ 𝑧)) → 𝑦 ⊆ 𝑧)})) | |
| 11 | 9, 10 | sylib 221 | . . . . 5 ⊢ ((𝜑 ∧ 𝑎 ∈ 𝐴) → ∃𝑥(𝑎 ∈ 𝑥 ∧ 𝑥 ∈ {𝑦 ∣ ∀𝑧(∀𝑤(𝑤 ⊆ 𝑦 → (𝑤 ⊆ 𝑧 → (𝐹‘𝑤) ⊆ 𝑧)) → 𝑦 ⊆ 𝑧)})) |
| 12 | 11 | ralrimiva 3157 | . . . 4 ⊢ (𝜑 → ∀𝑎 ∈ 𝐴 ∃𝑥(𝑎 ∈ 𝑥 ∧ 𝑥 ∈ {𝑦 ∣ ∀𝑧(∀𝑤(𝑤 ⊆ 𝑦 → (𝑤 ⊆ 𝑧 → (𝐹‘𝑤) ⊆ 𝑧)) → 𝑦 ⊆ 𝑧)})) |
| 13 | 1, 2, 12 | setrec1lem3 50450 | . . 3 ⊢ (𝜑 → ∃𝑥(𝐴 ⊆ 𝑥 ∧ 𝑥 ∈ {𝑦 ∣ ∀𝑧(∀𝑤(𝑤 ⊆ 𝑦 → (𝑤 ⊆ 𝑧 → (𝐹‘𝑤) ⊆ 𝑧)) → 𝑦 ⊆ 𝑧)})) |
| 14 | nfv 1944 | . . . . . . 7 ⊢ Ⅎ𝑧𝜑 | |
| 15 | nfv 1944 | . . . . . . . 8 ⊢ Ⅎ𝑧 𝐴 ⊆ 𝑥 | |
| 16 | nfaba1 2933 | . . . . . . . . 9 ⊢ Ⅎ𝑧{𝑦 ∣ ∀𝑧(∀𝑤(𝑤 ⊆ 𝑦 → (𝑤 ⊆ 𝑧 → (𝐹‘𝑤) ⊆ 𝑧)) → 𝑦 ⊆ 𝑧)} | |
| 17 | 16 | nfel2 2943 | . . . . . . . 8 ⊢ Ⅎ𝑧 𝑥 ∈ {𝑦 ∣ ∀𝑧(∀𝑤(𝑤 ⊆ 𝑦 → (𝑤 ⊆ 𝑧 → (𝐹‘𝑤) ⊆ 𝑧)) → 𝑦 ⊆ 𝑧)} |
| 18 | 15, 17 | nfan 1929 | . . . . . . 7 ⊢ Ⅎ𝑧(𝐴 ⊆ 𝑥 ∧ 𝑥 ∈ {𝑦 ∣ ∀𝑧(∀𝑤(𝑤 ⊆ 𝑦 → (𝑤 ⊆ 𝑧 → (𝐹‘𝑤) ⊆ 𝑧)) → 𝑦 ⊆ 𝑧)}) |
| 19 | 14, 18 | nfan 1929 | . . . . . 6 ⊢ Ⅎ𝑧(𝜑 ∧ (𝐴 ⊆ 𝑥 ∧ 𝑥 ∈ {𝑦 ∣ ∀𝑧(∀𝑤(𝑤 ⊆ 𝑦 → (𝑤 ⊆ 𝑧 → (𝐹‘𝑤) ⊆ 𝑧)) → 𝑦 ⊆ 𝑧)})) |
| 20 | 2 | adantr 485 | . . . . . 6 ⊢ ((𝜑 ∧ (𝐴 ⊆ 𝑥 ∧ 𝑥 ∈ {𝑦 ∣ ∀𝑧(∀𝑤(𝑤 ⊆ 𝑦 → (𝑤 ⊆ 𝑧 → (𝐹‘𝑤) ⊆ 𝑧)) → 𝑦 ⊆ 𝑧)})) → 𝐴 ∈ V) |
| 21 | simprl 782 | . . . . . 6 ⊢ ((𝜑 ∧ (𝐴 ⊆ 𝑥 ∧ 𝑥 ∈ {𝑦 ∣ ∀𝑧(∀𝑤(𝑤 ⊆ 𝑦 → (𝑤 ⊆ 𝑧 → (𝐹‘𝑤) ⊆ 𝑧)) → 𝑦 ⊆ 𝑧)})) → 𝐴 ⊆ 𝑥) | |
| 22 | simprr 784 | . . . . . 6 ⊢ ((𝜑 ∧ (𝐴 ⊆ 𝑥 ∧ 𝑥 ∈ {𝑦 ∣ ∀𝑧(∀𝑤(𝑤 ⊆ 𝑦 → (𝑤 ⊆ 𝑧 → (𝐹‘𝑤) ⊆ 𝑧)) → 𝑦 ⊆ 𝑧)})) → 𝑥 ∈ {𝑦 ∣ ∀𝑧(∀𝑤(𝑤 ⊆ 𝑦 → (𝑤 ⊆ 𝑧 → (𝐹‘𝑤) ⊆ 𝑧)) → 𝑦 ⊆ 𝑧)}) | |
| 23 | 19, 1, 20, 21, 22 | setrec1lem4 50451 | . . . . 5 ⊢ ((𝜑 ∧ (𝐴 ⊆ 𝑥 ∧ 𝑥 ∈ {𝑦 ∣ ∀𝑧(∀𝑤(𝑤 ⊆ 𝑦 → (𝑤 ⊆ 𝑧 → (𝐹‘𝑤) ⊆ 𝑧)) → 𝑦 ⊆ 𝑧)})) → (𝑥 ∪ (𝐹‘𝐴)) ∈ {𝑦 ∣ ∀𝑧(∀𝑤(𝑤 ⊆ 𝑦 → (𝑤 ⊆ 𝑧 → (𝐹‘𝑤) ⊆ 𝑧)) → 𝑦 ⊆ 𝑧)}) |
| 24 | ssun2 4133 | . . . . 5 ⊢ (𝐹‘𝐴) ⊆ (𝑥 ∪ (𝐹‘𝐴)) | |
| 25 | 23, 24 | jctil 528 | . . . 4 ⊢ ((𝜑 ∧ (𝐴 ⊆ 𝑥 ∧ 𝑥 ∈ {𝑦 ∣ ∀𝑧(∀𝑤(𝑤 ⊆ 𝑦 → (𝑤 ⊆ 𝑧 → (𝐹‘𝑤) ⊆ 𝑧)) → 𝑦 ⊆ 𝑧)})) → ((𝐹‘𝐴) ⊆ (𝑥 ∪ (𝐹‘𝐴)) ∧ (𝑥 ∪ (𝐹‘𝐴)) ∈ {𝑦 ∣ ∀𝑧(∀𝑤(𝑤 ⊆ 𝑦 → (𝑤 ⊆ 𝑧 → (𝐹‘𝑤) ⊆ 𝑧)) → 𝑦 ⊆ 𝑧)})) |
| 26 | ssuni 4899 | . . . 4 ⊢ (((𝐹‘𝐴) ⊆ (𝑥 ∪ (𝐹‘𝐴)) ∧ (𝑥 ∪ (𝐹‘𝐴)) ∈ {𝑦 ∣ ∀𝑧(∀𝑤(𝑤 ⊆ 𝑦 → (𝑤 ⊆ 𝑧 → (𝐹‘𝑤) ⊆ 𝑧)) → 𝑦 ⊆ 𝑧)}) → (𝐹‘𝐴) ⊆ ∪ {𝑦 ∣ ∀𝑧(∀𝑤(𝑤 ⊆ 𝑦 → (𝑤 ⊆ 𝑧 → (𝐹‘𝑤) ⊆ 𝑧)) → 𝑦 ⊆ 𝑧)}) | |
| 27 | 25, 26 | syl 18 | . . 3 ⊢ ((𝜑 ∧ (𝐴 ⊆ 𝑥 ∧ 𝑥 ∈ {𝑦 ∣ ∀𝑧(∀𝑤(𝑤 ⊆ 𝑦 → (𝑤 ⊆ 𝑧 → (𝐹‘𝑤) ⊆ 𝑧)) → 𝑦 ⊆ 𝑧)})) → (𝐹‘𝐴) ⊆ ∪ {𝑦 ∣ ∀𝑧(∀𝑤(𝑤 ⊆ 𝑦 → (𝑤 ⊆ 𝑧 → (𝐹‘𝑤) ⊆ 𝑧)) → 𝑦 ⊆ 𝑧)}) |
| 28 | 13, 27 | exlimddv 1965 | . 2 ⊢ (𝜑 → (𝐹‘𝐴) ⊆ ∪ {𝑦 ∣ ∀𝑧(∀𝑤(𝑤 ⊆ 𝑦 → (𝑤 ⊆ 𝑧 → (𝐹‘𝑤) ⊆ 𝑧)) → 𝑦 ⊆ 𝑧)}) |
| 29 | 28, 8 | sseqtrrdi 3979 | 1 ⊢ (𝜑 → (𝐹‘𝐴) ⊆ 𝐵) |
| Colors of variables: wff setvar class |
| Syntax hints: → wi 4 ∧ wa 400 ∀wal 1568 = wceq 1570 ∃wex 1809 ∈ wcel 2143 {cab 2741 Vcvv 3455 ∪ cun 3904 ⊆ wss 3906 ∪ cuni 4873 ‘cfv 6538 setrecscsetrecs 50444 |
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1825 ax-4 1839 ax-5 1940 ax-6 1997 ax-7 2038 ax-8 2145 ax-9 2153 ax-10 2176 ax-11 2192 ax-12 2213 ax-ext 2735 ax-rep 5239 ax-sep 5258 ax-nul 5270 ax-pow 5338 ax-pr 5406 ax-un 7734 ax-reg 9555 ax-inf2 9611 |
| This theorem depends on definitions: df-bi 210 df-an 401 df-or 861 df-3or 1104 df-3an 1105 df-tru 1573 df-fal 1583 df-ex 1810 df-nf 1814 df-sb 2097 df-mo 2567 df-eu 2597 df-clab 2742 df-cleq 2755 df-clel 2838 df-nfc 2912 df-ne 2959 df-ral 3080 df-rex 3090 df-reu 3370 df-rab 3417 df-v 3457 df-sbc 3746 df-csb 3855 df-dif 3909 df-un 3911 df-in 3913 df-ss 3923 df-pss 3926 df-nul 4288 df-if 4489 df-pw 4565 df-sn 4591 df-pr 4593 df-op 4597 df-uni 4874 df-int 4914 df-iun 4959 df-iin 4960 df-br 5111 df-opab 5175 df-mpt 5194 df-tr 5220 df-id 5558 df-eprel 5563 df-po 5571 df-so 5572 df-fr 5616 df-we 5618 df-xp 5669 df-rel 5670 df-cnv 5671 df-co 5672 df-dm 5673 df-rn 5674 df-res 5675 df-ima 5676 df-pred 6304 df-ord 6365 df-on 6366 df-lim 6367 df-suc 6368 df-iota 6494 df-fun 6540 df-fn 6541 df-f 6542 df-f1 6543 df-fo 6544 df-f1o 6545 df-fv 6546 df-ov 7415 df-om 7864 df-2nd 7988 df-frecs 8279 df-wrecs 8310 df-recs 8359 df-rdg 8398 df-r1 9737 df-rank 9738 df-setrecs 50445 |
| This theorem is referenced by: elsetrecslem 50460 elsetrecs 50461 setrecsss 50462 setrecsres 50463 vsetrec 50464 onsetrec 50469 |
| Copyright terms: Public domain | W3C validator |