Users' Mathboxes Mathbox for Emmett Weisz < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  setrec1 Structured version   Visualization version   GIF version

Theorem setrec1 44814
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 44812, 𝐴 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 44812.) Therefore, by setrec1lem4 44813, (𝐹𝐴) is a subset of some set recursively generated by 𝐹. Thus, by ssuni 4863, it is a subset of the union of all sets recursively generated by 𝐹.

See df-setrecs 44807 for a detailed description of how the setrecs definition works.

(Contributed by Emmett Weisz, 9-Oct-2020.)

Hypotheses
Ref Expression
setrec1.b 𝐵 = setrecs(𝐹)
setrec1.v (𝜑𝐴 ∈ V)
setrec1.a (𝜑𝐴𝐵)
Assertion
Ref Expression
setrec1 (𝜑 → (𝐹𝐴) ⊆ 𝐵)

Proof of Theorem setrec1
Dummy variables 𝑎 𝑤 𝑥 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 eqid 2821 . . . 4 {𝑦 ∣ ∀𝑧(∀𝑤(𝑤𝑦 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑦𝑧)} = {𝑦 ∣ ∀𝑧(∀𝑤(𝑤𝑦 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑦𝑧)}
2 setrec1.v . . . 4 (𝜑𝐴 ∈ V)
3 setrec1.a . . . . . . . . 9 (𝜑𝐴𝐵)
43sseld 3966 . . . . . . . 8 (𝜑 → (𝑎𝐴𝑎𝐵))
54imp 409 . . . . . . 7 ((𝜑𝑎𝐴) → 𝑎𝐵)
6 setrec1.b . . . . . . . 8 𝐵 = setrecs(𝐹)
7 df-setrecs 44807 . . . . . . . 8 setrecs(𝐹) = {𝑦 ∣ ∀𝑧(∀𝑤(𝑤𝑦 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑦𝑧)}
86, 7eqtri 2844 . . . . . . 7 𝐵 = {𝑦 ∣ ∀𝑧(∀𝑤(𝑤𝑦 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑦𝑧)}
95, 8eleqtrdi 2923 . . . . . 6 ((𝜑𝑎𝐴) → 𝑎 {𝑦 ∣ ∀𝑧(∀𝑤(𝑤𝑦 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑦𝑧)})
10 eluni 4841 . . . . . 6 (𝑎 {𝑦 ∣ ∀𝑧(∀𝑤(𝑤𝑦 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑦𝑧)} ↔ ∃𝑥(𝑎𝑥𝑥 ∈ {𝑦 ∣ ∀𝑧(∀𝑤(𝑤𝑦 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑦𝑧)}))
119, 10sylib 220 . . . . 5 ((𝜑𝑎𝐴) → ∃𝑥(𝑎𝑥𝑥 ∈ {𝑦 ∣ ∀𝑧(∀𝑤(𝑤𝑦 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑦𝑧)}))
1211ralrimiva 3182 . . . 4 (𝜑 → ∀𝑎𝐴𝑥(𝑎𝑥𝑥 ∈ {𝑦 ∣ ∀𝑧(∀𝑤(𝑤𝑦 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑦𝑧)}))
131, 2, 12setrec1lem3 44812 . . 3 (𝜑 → ∃𝑥(𝐴𝑥𝑥 ∈ {𝑦 ∣ ∀𝑧(∀𝑤(𝑤𝑦 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑦𝑧)}))
14 nfv 1915 . . . . . . 7 𝑧𝜑
15 nfv 1915 . . . . . . . 8 𝑧 𝐴𝑥
16 nfaba1 2986 . . . . . . . . 9 𝑧{𝑦 ∣ ∀𝑧(∀𝑤(𝑤𝑦 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑦𝑧)}
1716nfel2 2996 . . . . . . . 8 𝑧 𝑥 ∈ {𝑦 ∣ ∀𝑧(∀𝑤(𝑤𝑦 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑦𝑧)}
1815, 17nfan 1900 . . . . . . 7 𝑧(𝐴𝑥𝑥 ∈ {𝑦 ∣ ∀𝑧(∀𝑤(𝑤𝑦 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑦𝑧)})
1914, 18nfan 1900 . . . . . 6 𝑧(𝜑 ∧ (𝐴𝑥𝑥 ∈ {𝑦 ∣ ∀𝑧(∀𝑤(𝑤𝑦 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑦𝑧)}))
202adantr 483 . . . . . 6 ((𝜑 ∧ (𝐴𝑥𝑥 ∈ {𝑦 ∣ ∀𝑧(∀𝑤(𝑤𝑦 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑦𝑧)})) → 𝐴 ∈ V)
21 simprl 769 . . . . . 6 ((𝜑 ∧ (𝐴𝑥𝑥 ∈ {𝑦 ∣ ∀𝑧(∀𝑤(𝑤𝑦 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑦𝑧)})) → 𝐴𝑥)
22 simprr 771 . . . . . 6 ((𝜑 ∧ (𝐴𝑥𝑥 ∈ {𝑦 ∣ ∀𝑧(∀𝑤(𝑤𝑦 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑦𝑧)})) → 𝑥 ∈ {𝑦 ∣ ∀𝑧(∀𝑤(𝑤𝑦 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑦𝑧)})
2319, 1, 20, 21, 22setrec1lem4 44813 . . . . 5 ((𝜑 ∧ (𝐴𝑥𝑥 ∈ {𝑦 ∣ ∀𝑧(∀𝑤(𝑤𝑦 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑦𝑧)})) → (𝑥 ∪ (𝐹𝐴)) ∈ {𝑦 ∣ ∀𝑧(∀𝑤(𝑤𝑦 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑦𝑧)})
24 ssun2 4149 . . . . 5 (𝐹𝐴) ⊆ (𝑥 ∪ (𝐹𝐴))
2523, 24jctil 522 . . . 4 ((𝜑 ∧ (𝐴𝑥𝑥 ∈ {𝑦 ∣ ∀𝑧(∀𝑤(𝑤𝑦 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑦𝑧)})) → ((𝐹𝐴) ⊆ (𝑥 ∪ (𝐹𝐴)) ∧ (𝑥 ∪ (𝐹𝐴)) ∈ {𝑦 ∣ ∀𝑧(∀𝑤(𝑤𝑦 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑦𝑧)}))
26 ssuni 4863 . . . 4 (((𝐹𝐴) ⊆ (𝑥 ∪ (𝐹𝐴)) ∧ (𝑥 ∪ (𝐹𝐴)) ∈ {𝑦 ∣ ∀𝑧(∀𝑤(𝑤𝑦 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑦𝑧)}) → (𝐹𝐴) ⊆ {𝑦 ∣ ∀𝑧(∀𝑤(𝑤𝑦 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑦𝑧)})
2725, 26syl 17 . . 3 ((𝜑 ∧ (𝐴𝑥𝑥 ∈ {𝑦 ∣ ∀𝑧(∀𝑤(𝑤𝑦 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑦𝑧)})) → (𝐹𝐴) ⊆ {𝑦 ∣ ∀𝑧(∀𝑤(𝑤𝑦 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑦𝑧)})
2813, 27exlimddv 1936 . 2 (𝜑 → (𝐹𝐴) ⊆ {𝑦 ∣ ∀𝑧(∀𝑤(𝑤𝑦 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑦𝑧)})
2928, 8sseqtrrdi 4018 1 (𝜑 → (𝐹𝐴) ⊆ 𝐵)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 398  wal 1535   = wceq 1537  wex 1780  wcel 2114  {cab 2799  Vcvv 3494  cun 3934  wss 3936   cuni 4838  cfv 6355  setrecscsetrecs 44806
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2793  ax-rep 5190  ax-sep 5203  ax-nul 5210  ax-pow 5266  ax-pr 5330  ax-un 7461  ax-reg 9056  ax-inf2 9104
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3or 1084  df-3an 1085  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070  df-mo 2622  df-eu 2654  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-ne 3017  df-ral 3143  df-rex 3144  df-reu 3145  df-rab 3147  df-v 3496  df-sbc 3773  df-csb 3884  df-dif 3939  df-un 3941  df-in 3943  df-ss 3952  df-pss 3954  df-nul 4292  df-if 4468  df-pw 4541  df-sn 4568  df-pr 4570  df-tp 4572  df-op 4574  df-uni 4839  df-int 4877  df-iun 4921  df-iin 4922  df-br 5067  df-opab 5129  df-mpt 5147  df-tr 5173  df-id 5460  df-eprel 5465  df-po 5474  df-so 5475  df-fr 5514  df-we 5516  df-xp 5561  df-rel 5562  df-cnv 5563  df-co 5564  df-dm 5565  df-rn 5566  df-res 5567  df-ima 5568  df-pred 6148  df-ord 6194  df-on 6195  df-lim 6196  df-suc 6197  df-iota 6314  df-fun 6357  df-fn 6358  df-f 6359  df-f1 6360  df-fo 6361  df-f1o 6362  df-fv 6363  df-om 7581  df-wrecs 7947  df-recs 8008  df-rdg 8046  df-r1 9193  df-rank 9194  df-setrecs 44807
This theorem is referenced by:  elsetrecslem  44821  elsetrecs  44822  setrecsss  44823  setrecsres  44824  vsetrec  44825  onsetrec  44830
  Copyright terms: Public domain W3C validator