| Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > 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 9973, 𝐴 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 9973.) Therefore, by setrec1lem4 9975, (𝐹‘𝐴) is a subset of some set recursively generated by 𝐹. Thus, by ssuni 4892, it is a subset of the union of all sets recursively generated by 𝐹. See df-setrecs 9969 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 2760 | . . . 4 ⊢ {𝑦 ∣ ∀𝑧(∀𝑤(𝑤 ⊆ 𝑦 → (𝑤 ⊆ 𝑧 → (𝐹‘𝑤) ⊆ 𝑧)) → 𝑦 ⊆ 𝑧)} = {𝑦 ∣ ∀𝑧(∀𝑤(𝑤 ⊆ 𝑦 → (𝑤 ⊆ 𝑧 → (𝐹‘𝑤) ⊆ 𝑧)) → 𝑦 ⊆ 𝑧)} | |
| 2 | setrec1.v | . . . 4 ⊢ (𝜑 → 𝐴 ∈ V) | |
| 3 | setrec1.a | . . . . . . . . 9 ⊢ (𝜑 → 𝐴 ⊆ 𝐵) | |
| 4 | 3 | sseld 3907 | . . . . . . . 8 ⊢ (𝜑 → (𝑎 ∈ 𝐴 → 𝑎 ∈ 𝐵)) |
| 5 | 4 | imp 412 | . . . . . . 7 ⊢ ((𝜑 ∧ 𝑎 ∈ 𝐴) → 𝑎 ∈ 𝐵) |
| 6 | setrec1.b | . . . . . . . 8 ⊢ 𝐵 = setrecs(𝐹) | |
| 7 | df-setrecs 9969 | . . . . . . . 8 ⊢ setrecs(𝐹) = ∪ {𝑦 ∣ ∀𝑧(∀𝑤(𝑤 ⊆ 𝑦 → (𝑤 ⊆ 𝑧 → (𝐹‘𝑤) ⊆ 𝑧)) → 𝑦 ⊆ 𝑧)} | |
| 8 | 6, 7 | eqtri 2783 | . . . . . . 7 ⊢ 𝐵 = ∪ {𝑦 ∣ ∀𝑧(∀𝑤(𝑤 ⊆ 𝑦 → (𝑤 ⊆ 𝑧 → (𝐹‘𝑤) ⊆ 𝑧)) → 𝑦 ⊆ 𝑧)} |
| 9 | 5, 8 | eleqtrdi 2870 | . . . . . 6 ⊢ ((𝜑 ∧ 𝑎 ∈ 𝐴) → 𝑎 ∈ ∪ {𝑦 ∣ ∀𝑧(∀𝑤(𝑤 ⊆ 𝑦 → (𝑤 ⊆ 𝑧 → (𝐹‘𝑤) ⊆ 𝑧)) → 𝑦 ⊆ 𝑧)}) |
| 10 | eluni 4869 | . . . . . 6 ⊢ (𝑎 ∈ ∪ {𝑦 ∣ ∀𝑧(∀𝑤(𝑤 ⊆ 𝑦 → (𝑤 ⊆ 𝑧 → (𝐹‘𝑤) ⊆ 𝑧)) → 𝑦 ⊆ 𝑧)} ↔ ∃𝑥(𝑎 ∈ 𝑥 ∧ 𝑥 ∈ {𝑦 ∣ ∀𝑧(∀𝑤(𝑤 ⊆ 𝑦 → (𝑤 ⊆ 𝑧 → (𝐹‘𝑤) ⊆ 𝑧)) → 𝑦 ⊆ 𝑧)})) | |
| 11 | 9, 10 | sylib 221 | . . . . 5 ⊢ ((𝜑 ∧ 𝑎 ∈ 𝐴) → ∃𝑥(𝑎 ∈ 𝑥 ∧ 𝑥 ∈ {𝑦 ∣ ∀𝑧(∀𝑤(𝑤 ⊆ 𝑦 → (𝑤 ⊆ 𝑧 → (𝐹‘𝑤) ⊆ 𝑧)) → 𝑦 ⊆ 𝑧)})) |
| 12 | 11 | ralrimiva 3154 | . . . 4 ⊢ (𝜑 → ∀𝑎 ∈ 𝐴 ∃𝑥(𝑎 ∈ 𝑥 ∧ 𝑥 ∈ {𝑦 ∣ ∀𝑧(∀𝑤(𝑤 ⊆ 𝑦 → (𝑤 ⊆ 𝑧 → (𝐹‘𝑤) ⊆ 𝑧)) → 𝑦 ⊆ 𝑧)})) |
| 13 | 1, 2, 12 | setrec1lem3 9973 | . . 3 ⊢ (𝜑 → ∃𝑥(𝐴 ⊆ 𝑥 ∧ 𝑥 ∈ {𝑦 ∣ ∀𝑧(∀𝑤(𝑤 ⊆ 𝑦 → (𝑤 ⊆ 𝑧 → (𝐹‘𝑤) ⊆ 𝑧)) → 𝑦 ⊆ 𝑧)})) |
| 14 | nfv 1946 | . . . . . . 7 ⊢ Ⅎ𝑧𝜑 | |
| 15 | nfv 1946 | . . . . . . . 8 ⊢ Ⅎ𝑧 𝐴 ⊆ 𝑥 | |
| 16 | nfaba1 2930 | . . . . . . . . 9 ⊢ Ⅎ𝑧{𝑦 ∣ ∀𝑧(∀𝑤(𝑤 ⊆ 𝑦 → (𝑤 ⊆ 𝑧 → (𝐹‘𝑤) ⊆ 𝑧)) → 𝑦 ⊆ 𝑧)} | |
| 17 | 16 | nfel2 2940 | . . . . . . . 8 ⊢ Ⅎ𝑧 𝑥 ∈ {𝑦 ∣ ∀𝑧(∀𝑤(𝑤 ⊆ 𝑦 → (𝑤 ⊆ 𝑧 → (𝐹‘𝑤) ⊆ 𝑧)) → 𝑦 ⊆ 𝑧)} |
| 18 | 15, 17 | nfan 1931 | . . . . . . 7 ⊢ Ⅎ𝑧(𝐴 ⊆ 𝑥 ∧ 𝑥 ∈ {𝑦 ∣ ∀𝑧(∀𝑤(𝑤 ⊆ 𝑦 → (𝑤 ⊆ 𝑧 → (𝐹‘𝑤) ⊆ 𝑧)) → 𝑦 ⊆ 𝑧)}) |
| 19 | 14, 18 | nfan 1931 | . . . . . 6 ⊢ Ⅎ𝑧(𝜑 ∧ (𝐴 ⊆ 𝑥 ∧ 𝑥 ∈ {𝑦 ∣ ∀𝑧(∀𝑤(𝑤 ⊆ 𝑦 → (𝑤 ⊆ 𝑧 → (𝐹‘𝑤) ⊆ 𝑧)) → 𝑦 ⊆ 𝑧)})) |
| 20 | 2 | adantr 486 | . . . . . 6 ⊢ ((𝜑 ∧ (𝐴 ⊆ 𝑥 ∧ 𝑥 ∈ {𝑦 ∣ ∀𝑧(∀𝑤(𝑤 ⊆ 𝑦 → (𝑤 ⊆ 𝑧 → (𝐹‘𝑤) ⊆ 𝑧)) → 𝑦 ⊆ 𝑧)})) → 𝐴 ∈ V) |
| 21 | simprl 783 | . . . . . 6 ⊢ ((𝜑 ∧ (𝐴 ⊆ 𝑥 ∧ 𝑥 ∈ {𝑦 ∣ ∀𝑧(∀𝑤(𝑤 ⊆ 𝑦 → (𝑤 ⊆ 𝑧 → (𝐹‘𝑤) ⊆ 𝑧)) → 𝑦 ⊆ 𝑧)})) → 𝐴 ⊆ 𝑥) | |
| 22 | simprr 785 | . . . . . 6 ⊢ ((𝜑 ∧ (𝐴 ⊆ 𝑥 ∧ 𝑥 ∈ {𝑦 ∣ ∀𝑧(∀𝑤(𝑤 ⊆ 𝑦 → (𝑤 ⊆ 𝑧 → (𝐹‘𝑤) ⊆ 𝑧)) → 𝑦 ⊆ 𝑧)})) → 𝑥 ∈ {𝑦 ∣ ∀𝑧(∀𝑤(𝑤 ⊆ 𝑦 → (𝑤 ⊆ 𝑧 → (𝐹‘𝑤) ⊆ 𝑧)) → 𝑦 ⊆ 𝑧)}) | |
| 23 | 19, 1, 20, 21, 22 | setrec1lem4 9975 | . . . . 5 ⊢ ((𝜑 ∧ (𝐴 ⊆ 𝑥 ∧ 𝑥 ∈ {𝑦 ∣ ∀𝑧(∀𝑤(𝑤 ⊆ 𝑦 → (𝑤 ⊆ 𝑧 → (𝐹‘𝑤) ⊆ 𝑧)) → 𝑦 ⊆ 𝑧)})) → (𝑥 ∪ (𝐹‘𝐴)) ∈ {𝑦 ∣ ∀𝑧(∀𝑤(𝑤 ⊆ 𝑦 → (𝑤 ⊆ 𝑧 → (𝐹‘𝑤) ⊆ 𝑧)) → 𝑦 ⊆ 𝑧)}) |
| 24 | ssun2 4177 | . . . . 5 ⊢ (𝐹‘𝐴) ⊆ (𝑥 ∪ (𝐹‘𝐴)) | |
| 25 | 23, 24 | jctil 529 | . . . 4 ⊢ ((𝜑 ∧ (𝐴 ⊆ 𝑥 ∧ 𝑥 ∈ {𝑦 ∣ ∀𝑧(∀𝑤(𝑤 ⊆ 𝑦 → (𝑤 ⊆ 𝑧 → (𝐹‘𝑤) ⊆ 𝑧)) → 𝑦 ⊆ 𝑧)})) → ((𝐹‘𝐴) ⊆ (𝑥 ∪ (𝐹‘𝐴)) ∧ (𝑥 ∪ (𝐹‘𝐴)) ∈ {𝑦 ∣ ∀𝑧(∀𝑤(𝑤 ⊆ 𝑦 → (𝑤 ⊆ 𝑧 → (𝐹‘𝑤) ⊆ 𝑧)) → 𝑦 ⊆ 𝑧)})) |
| 26 | ssuni 4892 | . . . 4 ⊢ (((𝐹‘𝐴) ⊆ (𝑥 ∪ (𝐹‘𝐴)) ∧ (𝑥 ∪ (𝐹‘𝐴)) ∈ {𝑦 ∣ ∀𝑧(∀𝑤(𝑤 ⊆ 𝑦 → (𝑤 ⊆ 𝑧 → (𝐹‘𝑤) ⊆ 𝑧)) → 𝑦 ⊆ 𝑧)}) → (𝐹‘𝐴) ⊆ ∪ {𝑦 ∣ ∀𝑧(∀𝑤(𝑤 ⊆ 𝑦 → (𝑤 ⊆ 𝑧 → (𝐹‘𝑤) ⊆ 𝑧)) → 𝑦 ⊆ 𝑧)}) | |
| 27 | 25, 26 | syl 18 | . . 3 ⊢ ((𝜑 ∧ (𝐴 ⊆ 𝑥 ∧ 𝑥 ∈ {𝑦 ∣ ∀𝑧(∀𝑤(𝑤 ⊆ 𝑦 → (𝑤 ⊆ 𝑧 → (𝐹‘𝑤) ⊆ 𝑧)) → 𝑦 ⊆ 𝑧)})) → (𝐹‘𝐴) ⊆ ∪ {𝑦 ∣ ∀𝑧(∀𝑤(𝑤 ⊆ 𝑦 → (𝑤 ⊆ 𝑧 → (𝐹‘𝑤) ⊆ 𝑧)) → 𝑦 ⊆ 𝑧)}) |
| 28 | 13, 27 | exlimddv 1967 | . 2 ⊢ (𝜑 → (𝐹‘𝐴) ⊆ ∪ {𝑦 ∣ ∀𝑧(∀𝑤(𝑤 ⊆ 𝑦 → (𝑤 ⊆ 𝑧 → (𝐹‘𝑤) ⊆ 𝑧)) → 𝑦 ⊆ 𝑧)}) |
| 29 | 28, 8 | sseqtrrdi 3949 | 1 ⊢ (𝜑 → (𝐹‘𝐴) ⊆ 𝐵) |
| Colors of variables: wff setvar class |
| This proof depends on syntax axioms: → wi 4 ∧ wa 401 ∀wal 1567 = wceq 1569 ∃wex 1811 ∈ wcel 2144 {cab 2738 Vcvv 3450 ⊆ wss 3895 ∪ cun 4149 ∪ cuni 4866 ‘cfv 6539 setrecscsetrecs 9968 |
| This proof depends on axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1827 ax-4 1841 ax-5 1942 ax-6 1999 ax-7 2040 ax-8 2146 ax-9 2154 ax-10 2177 ax-11 2193 ax-12 2212 ax-ext 2732 ax-rep 5231 ax-sep 5248 ax-nul 5259 ax-pow 5326 ax-pr 5390 ax-un 7752 ax-reg 9590 ax-inf2 9646 |
| This proof depends on definitions: df-bi 210 df-an 402 df-or 862 df-3or 1104 df-3an 1105 df-tru 1572 df-fal 1582 df-ex 1812 df-nf 1816 df-sb 2099 df-mo 2564 df-eu 2594 df-clab 2739 df-cleq 2752 df-clel 2835 df-nfc 2909 df-ne 2956 df-ral 3077 df-rex 3087 df-reu 3366 df-rab 3413 df-v 3452 df-sbc 3739 df-csb 3847 df-ss 3896 df-pss 4014 df-dif 4047 df-in 4091 df-un 4151 df-nul 4279 df-if 4482 df-pw 4558 df-sn 4585 df-pr 4587 df-op 4835 df-uni 4867 df-int 4907 df-iun 4952 df-iin 4953 df-br 5103 df-opab 5167 df-mpt 5186 df-tr 5212 df-id 5545 df-eprel 5550 df-po 5558 df-so 5559 df-fr 5603 df-we 5605 df-xp 5656 df-rel 5657 df-cnv 5658 df-co 5659 df-dm 5660 df-rn 5661 df-res 5662 df-ima 5663 df-pred 6304 df-ord 6365 df-on 6366 df-lim 6367 df-suc 6368 df-iota 6494 df-fun 6541 df-fn 6542 df-f 6543 df-f1 6544 df-fo 6545 df-f1o 6546 df-fv 6547 df-ov 7424 df-om 7879 df-2nd 8003 df-frecs 8303 df-wrecs 8334 df-recs 8383 df-rdg 8422 df-r1 9772 df-rank 9773 df-scott 9933 df-setrecs 9969 |
| This theorem is used by: varprop 38736 negprop 38737 impprop 38738 elsetrecslem 50961 elsetrecs 50962 setrecsss 50963 setrecsres 50964 vsetrec 50965 onsetrec 50970 |
| Copyright terms: Public domain | W3C validator |