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 42237
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 42235, 𝐴 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 42235.) Therefore, by setrec1lem4 42236, (𝐹𝐴) is a subset of some set recursively generated by 𝐹. Thus, by ssuni 4395, it is a subset of the union of all sets recursively generated by 𝐹.

See df-setrecs 42230 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 2610 . . . 4 {𝑦 ∣ ∀𝑧(∀𝑤(𝑤𝑦 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑦𝑧)} = {𝑦 ∣ ∀𝑧(∀𝑤(𝑤𝑦 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑦𝑧)}
2 setrec1.v . . . 4 (𝜑𝐴 ∈ V)
3 setrec1.a . . . . . . . . 9 (𝜑𝐴𝐵)
43sseld 3567 . . . . . . . 8 (𝜑 → (𝑎𝐴𝑎𝐵))
54imp 444 . . . . . . 7 ((𝜑𝑎𝐴) → 𝑎𝐵)
6 setrec1.b . . . . . . . 8 𝐵 = setrecs(𝐹)
7 df-setrecs 42230 . . . . . . . 8 setrecs(𝐹) = {𝑦 ∣ ∀𝑧(∀𝑤(𝑤𝑦 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑦𝑧)}
86, 7eqtri 2632 . . . . . . 7 𝐵 = {𝑦 ∣ ∀𝑧(∀𝑤(𝑤𝑦 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑦𝑧)}
95, 8syl6eleq 2698 . . . . . 6 ((𝜑𝑎𝐴) → 𝑎 {𝑦 ∣ ∀𝑧(∀𝑤(𝑤𝑦 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑦𝑧)})
10 eluni 4375 . . . . . 6 (𝑎 {𝑦 ∣ ∀𝑧(∀𝑤(𝑤𝑦 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑦𝑧)} ↔ ∃𝑥(𝑎𝑥𝑥 ∈ {𝑦 ∣ ∀𝑧(∀𝑤(𝑤𝑦 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑦𝑧)}))
119, 10sylib 207 . . . . 5 ((𝜑𝑎𝐴) → ∃𝑥(𝑎𝑥𝑥 ∈ {𝑦 ∣ ∀𝑧(∀𝑤(𝑤𝑦 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑦𝑧)}))
1211ralrimiva 2949 . . . 4 (𝜑 → ∀𝑎𝐴𝑥(𝑎𝑥𝑥 ∈ {𝑦 ∣ ∀𝑧(∀𝑤(𝑤𝑦 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑦𝑧)}))
131, 2, 12setrec1lem3 42235 . . 3 (𝜑 → ∃𝑥(𝐴𝑥𝑥 ∈ {𝑦 ∣ ∀𝑧(∀𝑤(𝑤𝑦 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑦𝑧)}))
14 nfv 1830 . . . . . . 7 𝑧𝜑
15 nfv 1830 . . . . . . . 8 𝑧 𝐴𝑥
16 nfaba1 2756 . . . . . . . . 9 𝑧{𝑦 ∣ ∀𝑧(∀𝑤(𝑤𝑦 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑦𝑧)}
1716nfel2 2767 . . . . . . . 8 𝑧 𝑥 ∈ {𝑦 ∣ ∀𝑧(∀𝑤(𝑤𝑦 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑦𝑧)}
1815, 17nfan 1816 . . . . . . 7 𝑧(𝐴𝑥𝑥 ∈ {𝑦 ∣ ∀𝑧(∀𝑤(𝑤𝑦 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑦𝑧)})
1914, 18nfan 1816 . . . . . 6 𝑧(𝜑 ∧ (𝐴𝑥𝑥 ∈ {𝑦 ∣ ∀𝑧(∀𝑤(𝑤𝑦 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑦𝑧)}))
202adantr 480 . . . . . 6 ((𝜑 ∧ (𝐴𝑥𝑥 ∈ {𝑦 ∣ ∀𝑧(∀𝑤(𝑤𝑦 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑦𝑧)})) → 𝐴 ∈ V)
21 simprl 790 . . . . . 6 ((𝜑 ∧ (𝐴𝑥𝑥 ∈ {𝑦 ∣ ∀𝑧(∀𝑤(𝑤𝑦 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑦𝑧)})) → 𝐴𝑥)
22 simprr 792 . . . . . 6 ((𝜑 ∧ (𝐴𝑥𝑥 ∈ {𝑦 ∣ ∀𝑧(∀𝑤(𝑤𝑦 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑦𝑧)})) → 𝑥 ∈ {𝑦 ∣ ∀𝑧(∀𝑤(𝑤𝑦 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑦𝑧)})
2319, 1, 20, 21, 22setrec1lem4 42236 . . . . 5 ((𝜑 ∧ (𝐴𝑥𝑥 ∈ {𝑦 ∣ ∀𝑧(∀𝑤(𝑤𝑦 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑦𝑧)})) → (𝑥 ∪ (𝐹𝐴)) ∈ {𝑦 ∣ ∀𝑧(∀𝑤(𝑤𝑦 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑦𝑧)})
24 ssun2 3739 . . . . 5 (𝐹𝐴) ⊆ (𝑥 ∪ (𝐹𝐴))
2523, 24jctil 558 . . . 4 ((𝜑 ∧ (𝐴𝑥𝑥 ∈ {𝑦 ∣ ∀𝑧(∀𝑤(𝑤𝑦 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑦𝑧)})) → ((𝐹𝐴) ⊆ (𝑥 ∪ (𝐹𝐴)) ∧ (𝑥 ∪ (𝐹𝐴)) ∈ {𝑦 ∣ ∀𝑧(∀𝑤(𝑤𝑦 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑦𝑧)}))
26 ssuni 4395 . . . 4 (((𝐹𝐴) ⊆ (𝑥 ∪ (𝐹𝐴)) ∧ (𝑥 ∪ (𝐹𝐴)) ∈ {𝑦 ∣ ∀𝑧(∀𝑤(𝑤𝑦 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑦𝑧)}) → (𝐹𝐴) ⊆ {𝑦 ∣ ∀𝑧(∀𝑤(𝑤𝑦 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑦𝑧)})
2725, 26syl 17 . . 3 ((𝜑 ∧ (𝐴𝑥𝑥 ∈ {𝑦 ∣ ∀𝑧(∀𝑤(𝑤𝑦 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑦𝑧)})) → (𝐹𝐴) ⊆ {𝑦 ∣ ∀𝑧(∀𝑤(𝑤𝑦 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑦𝑧)})
2813, 27exlimddv 1850 . 2 (𝜑 → (𝐹𝐴) ⊆ {𝑦 ∣ ∀𝑧(∀𝑤(𝑤𝑦 → (𝑤𝑧 → (𝐹𝑤) ⊆ 𝑧)) → 𝑦𝑧)})
2928, 8syl6sseqr 3615 1 (𝜑 → (𝐹𝐴) ⊆ 𝐵)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 383  wal 1473   = wceq 1475  wex 1695  wcel 1977  {cab 2596  Vcvv 3173  cun 3538  wss 3540   cuni 4372  cfv 5804  setrecscsetrecs 42229
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1713  ax-4 1728  ax-5 1827  ax-6 1875  ax-7 1922  ax-8 1979  ax-9 1986  ax-10 2006  ax-11 2021  ax-12 2034  ax-13 2234  ax-ext 2590  ax-rep 4699  ax-sep 4709  ax-nul 4717  ax-pow 4769  ax-pr 4833  ax-un 6847  ax-reg 8380  ax-inf2 8421
This theorem depends on definitions:  df-bi 196  df-or 384  df-an 385  df-3or 1032  df-3an 1033  df-tru 1478  df-ex 1696  df-nf 1701  df-sb 1868  df-eu 2462  df-mo 2463  df-clab 2597  df-cleq 2603  df-clel 2606  df-nfc 2740  df-ne 2782  df-ral 2901  df-rex 2902  df-reu 2903  df-rab 2905  df-v 3175  df-sbc 3403  df-csb 3500  df-dif 3543  df-un 3545  df-in 3547  df-ss 3554  df-pss 3556  df-nul 3875  df-if 4037  df-pw 4110  df-sn 4126  df-pr 4128  df-tp 4130  df-op 4132  df-uni 4373  df-int 4411  df-iun 4457  df-iin 4458  df-br 4584  df-opab 4644  df-mpt 4645  df-tr 4681  df-eprel 4949  df-id 4953  df-po 4959  df-so 4960  df-fr 4997  df-we 4999  df-xp 5044  df-rel 5045  df-cnv 5046  df-co 5047  df-dm 5048  df-rn 5049  df-res 5050  df-ima 5051  df-pred 5597  df-ord 5643  df-on 5644  df-lim 5645  df-suc 5646  df-iota 5768  df-fun 5806  df-fn 5807  df-f 5808  df-f1 5809  df-fo 5810  df-f1o 5811  df-fv 5812  df-om 6958  df-wrecs 7294  df-recs 7355  df-rdg 7393  df-r1 8510  df-rank 8511  df-setrecs 42230
This theorem is referenced by:  elsetrecslem  42243  elsetrecs  42244  vsetrec  42245  onsetrec  42250
  Copyright terms: Public domain W3C validator