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

Theorem exrecfnlem 34529
Description: Lemma for exrecfn 34530. (Contributed by ML, 30-Mar-2022.)
Hypothesis
Ref Expression
exrecfnlem.1 𝐹 = (𝑧 ∈ V ↦ (𝑧 ∪ ran (𝑦𝑧𝐵)))
Assertion
Ref Expression
exrecfnlem ((𝐴𝑉 ∧ ∀𝑦 𝐵𝑊) → ∃𝑥(𝐴𝑥 ∧ ∀𝑦𝑥 𝐵𝑥))
Distinct variable groups:   𝑦,𝐴,𝑧,𝑥   𝑥,𝐵,𝑧   𝑥,𝐹   𝑦,𝑊
Allowed substitution hints:   𝐵(𝑦)   𝐹(𝑦,𝑧)   𝑉(𝑥,𝑦,𝑧)   𝑊(𝑥,𝑧)

Proof of Theorem exrecfnlem
Dummy variable 𝑢 is distinct from all other variables.
StepHypRef Expression
1 rdg0g 8057 . . 3 (𝐴𝑉 → (rec(𝐹, 𝐴)‘∅) = 𝐴)
2 peano1 7592 . . . 4 ∅ ∈ ω
3 omelon 9101 . . . . 5 ω ∈ On
4 limom 7586 . . . . 5 Lim ω
5 rdglimss 34527 . . . . 5 (((ω ∈ On ∧ Lim ω) ∧ ∅ ∈ ω) → (rec(𝐹, 𝐴)‘∅) ⊆ (rec(𝐹, 𝐴)‘ω))
63, 4, 5mpanl12 698 . . . 4 (∅ ∈ ω → (rec(𝐹, 𝐴)‘∅) ⊆ (rec(𝐹, 𝐴)‘ω))
72, 6ax-mp 5 . . 3 (rec(𝐹, 𝐴)‘∅) ⊆ (rec(𝐹, 𝐴)‘ω)
81, 7eqsstrrdi 4025 . 2 (𝐴𝑉𝐴 ⊆ (rec(𝐹, 𝐴)‘ω))
9 rdglim2a 8063 . . . . . . . 8 ((ω ∈ On ∧ Lim ω) → (rec(𝐹, 𝐴)‘ω) = 𝑢 ∈ ω (rec(𝐹, 𝐴)‘𝑢))
103, 4, 9mp2an 688 . . . . . . 7 (rec(𝐹, 𝐴)‘ω) = 𝑢 ∈ ω (rec(𝐹, 𝐴)‘𝑢)
1110eleq2i 2908 . . . . . 6 (𝑦 ∈ (rec(𝐹, 𝐴)‘ω) ↔ 𝑦 𝑢 ∈ ω (rec(𝐹, 𝐴)‘𝑢))
12 eliun 4920 . . . . . 6 (𝑦 𝑢 ∈ ω (rec(𝐹, 𝐴)‘𝑢) ↔ ∃𝑢 ∈ ω 𝑦 ∈ (rec(𝐹, 𝐴)‘𝑢))
1311, 12bitri 276 . . . . 5 (𝑦 ∈ (rec(𝐹, 𝐴)‘ω) ↔ ∃𝑢 ∈ ω 𝑦 ∈ (rec(𝐹, 𝐴)‘𝑢))
14 peano2 7593 . . . . . . . . 9 (𝑢 ∈ ω → suc 𝑢 ∈ ω)
15 nnon 7577 . . . . . . . . . 10 (𝑢 ∈ ω → 𝑢 ∈ On)
16 eqid 2825 . . . . . . . . . . . . 13 (𝑦 ∈ (rec(𝐹, 𝐴)‘𝑢) ↦ 𝐵) = (𝑦 ∈ (rec(𝐹, 𝐴)‘𝑢) ↦ 𝐵)
1716elrnmpt1 5828 . . . . . . . . . . . 12 ((𝑦 ∈ (rec(𝐹, 𝐴)‘𝑢) ∧ 𝐵𝑊) → 𝐵 ∈ ran (𝑦 ∈ (rec(𝐹, 𝐴)‘𝑢) ↦ 𝐵))
18 elun2 4156 . . . . . . . . . . . 12 (𝐵 ∈ ran (𝑦 ∈ (rec(𝐹, 𝐴)‘𝑢) ↦ 𝐵) → 𝐵 ∈ ((rec(𝐹, 𝐴)‘𝑢) ∪ ran (𝑦 ∈ (rec(𝐹, 𝐴)‘𝑢) ↦ 𝐵)))
1917, 18syl 17 . . . . . . . . . . 11 ((𝑦 ∈ (rec(𝐹, 𝐴)‘𝑢) ∧ 𝐵𝑊) → 𝐵 ∈ ((rec(𝐹, 𝐴)‘𝑢) ∪ ran (𝑦 ∈ (rec(𝐹, 𝐴)‘𝑢) ↦ 𝐵)))
20 fvex 6679 . . . . . . . . . . . . . 14 (rec(𝐹, 𝐴)‘𝑢) ∈ V
21 exrecfnlem.1 . . . . . . . . . . . . . . . . . . . 20 𝐹 = (𝑧 ∈ V ↦ (𝑧 ∪ ran (𝑦𝑧𝐵)))
22 nfcv 2981 . . . . . . . . . . . . . . . . . . . . 21 𝑦V
23 nfcv 2981 . . . . . . . . . . . . . . . . . . . . . 22 𝑦𝑧
24 nfmpt1 5160 . . . . . . . . . . . . . . . . . . . . . . 23 𝑦(𝑦𝑧𝐵)
2524nfrn 5822 . . . . . . . . . . . . . . . . . . . . . 22 𝑦ran (𝑦𝑧𝐵)
2623, 25nfun 4144 . . . . . . . . . . . . . . . . . . . . 21 𝑦(𝑧 ∪ ran (𝑦𝑧𝐵))
2722, 26nfmpt 5159 . . . . . . . . . . . . . . . . . . . 20 𝑦(𝑧 ∈ V ↦ (𝑧 ∪ ran (𝑦𝑧𝐵)))
2821, 27nfcxfr 2979 . . . . . . . . . . . . . . . . . . 19 𝑦𝐹
29 nfcv 2981 . . . . . . . . . . . . . . . . . . 19 𝑦𝐴
3028, 29nfrdg 8044 . . . . . . . . . . . . . . . . . 18 𝑦rec(𝐹, 𝐴)
31 nfcv 2981 . . . . . . . . . . . . . . . . . 18 𝑦𝑢
3230, 31nffv 6676 . . . . . . . . . . . . . . . . 17 𝑦(rec(𝐹, 𝐴)‘𝑢)
3332mptexgf 6983 . . . . . . . . . . . . . . . 16 ((rec(𝐹, 𝐴)‘𝑢) ∈ V → (𝑦 ∈ (rec(𝐹, 𝐴)‘𝑢) ↦ 𝐵) ∈ V)
3420, 33ax-mp 5 . . . . . . . . . . . . . . 15 (𝑦 ∈ (rec(𝐹, 𝐴)‘𝑢) ↦ 𝐵) ∈ V
3534rnex 7608 . . . . . . . . . . . . . 14 ran (𝑦 ∈ (rec(𝐹, 𝐴)‘𝑢) ↦ 𝐵) ∈ V
3620, 35unex 7461 . . . . . . . . . . . . 13 ((rec(𝐹, 𝐴)‘𝑢) ∪ ran (𝑦 ∈ (rec(𝐹, 𝐴)‘𝑢) ↦ 𝐵)) ∈ V
37 nfcv 2981 . . . . . . . . . . . . . 14 𝑧𝐴
38 nfcv 2981 . . . . . . . . . . . . . 14 𝑧𝑢
39 nfmpt1 5160 . . . . . . . . . . . . . . . . . 18 𝑧(𝑧 ∈ V ↦ (𝑧 ∪ ran (𝑦𝑧𝐵)))
4021, 39nfcxfr 2979 . . . . . . . . . . . . . . . . 17 𝑧𝐹
4140, 37nfrdg 8044 . . . . . . . . . . . . . . . 16 𝑧rec(𝐹, 𝐴)
4241, 38nffv 6676 . . . . . . . . . . . . . . 15 𝑧(rec(𝐹, 𝐴)‘𝑢)
43 nfcv 2981 . . . . . . . . . . . . . . . . 17 𝑧𝐵
4442, 43nfmpt 5159 . . . . . . . . . . . . . . . 16 𝑧(𝑦 ∈ (rec(𝐹, 𝐴)‘𝑢) ↦ 𝐵)
4544nfrn 5822 . . . . . . . . . . . . . . 15 𝑧ran (𝑦 ∈ (rec(𝐹, 𝐴)‘𝑢) ↦ 𝐵)
4642, 45nfun 4144 . . . . . . . . . . . . . 14 𝑧((rec(𝐹, 𝐴)‘𝑢) ∪ ran (𝑦 ∈ (rec(𝐹, 𝐴)‘𝑢) ↦ 𝐵))
47 rdgeq1 8041 . . . . . . . . . . . . . . 15 (𝐹 = (𝑧 ∈ V ↦ (𝑧 ∪ ran (𝑦𝑧𝐵))) → rec(𝐹, 𝐴) = rec((𝑧 ∈ V ↦ (𝑧 ∪ ran (𝑦𝑧𝐵))), 𝐴))
4821, 47ax-mp 5 . . . . . . . . . . . . . 14 rec(𝐹, 𝐴) = rec((𝑧 ∈ V ↦ (𝑧 ∪ ran (𝑦𝑧𝐵))), 𝐴)
49 id 22 . . . . . . . . . . . . . . 15 (𝑧 = (rec(𝐹, 𝐴)‘𝑢) → 𝑧 = (rec(𝐹, 𝐴)‘𝑢))
5032nfeq2 2999 . . . . . . . . . . . . . . . . 17 𝑦 𝑧 = (rec(𝐹, 𝐴)‘𝑢)
51 eqidd 2826 . . . . . . . . . . . . . . . . 17 (𝑧 = (rec(𝐹, 𝐴)‘𝑢) → 𝐵 = 𝐵)
5250, 49, 51mpteq12df 5144 . . . . . . . . . . . . . . . 16 (𝑧 = (rec(𝐹, 𝐴)‘𝑢) → (𝑦𝑧𝐵) = (𝑦 ∈ (rec(𝐹, 𝐴)‘𝑢) ↦ 𝐵))
5352rneqd 5806 . . . . . . . . . . . . . . 15 (𝑧 = (rec(𝐹, 𝐴)‘𝑢) → ran (𝑦𝑧𝐵) = ran (𝑦 ∈ (rec(𝐹, 𝐴)‘𝑢) ↦ 𝐵))
5449, 53uneq12d 4143 . . . . . . . . . . . . . 14 (𝑧 = (rec(𝐹, 𝐴)‘𝑢) → (𝑧 ∪ ran (𝑦𝑧𝐵)) = ((rec(𝐹, 𝐴)‘𝑢) ∪ ran (𝑦 ∈ (rec(𝐹, 𝐴)‘𝑢) ↦ 𝐵)))
5537, 38, 46, 48, 54rdgsucmptf 8058 . . . . . . . . . . . . 13 ((𝑢 ∈ On ∧ ((rec(𝐹, 𝐴)‘𝑢) ∪ ran (𝑦 ∈ (rec(𝐹, 𝐴)‘𝑢) ↦ 𝐵)) ∈ V) → (rec(𝐹, 𝐴)‘suc 𝑢) = ((rec(𝐹, 𝐴)‘𝑢) ∪ ran (𝑦 ∈ (rec(𝐹, 𝐴)‘𝑢) ↦ 𝐵)))
5636, 55mpan2 687 . . . . . . . . . . . 12 (𝑢 ∈ On → (rec(𝐹, 𝐴)‘suc 𝑢) = ((rec(𝐹, 𝐴)‘𝑢) ∪ ran (𝑦 ∈ (rec(𝐹, 𝐴)‘𝑢) ↦ 𝐵)))
5756eleq2d 2902 . . . . . . . . . . 11 (𝑢 ∈ On → (𝐵 ∈ (rec(𝐹, 𝐴)‘suc 𝑢) ↔ 𝐵 ∈ ((rec(𝐹, 𝐴)‘𝑢) ∪ ran (𝑦 ∈ (rec(𝐹, 𝐴)‘𝑢) ↦ 𝐵))))
5819, 57syl5ibr 247 . . . . . . . . . 10 (𝑢 ∈ On → ((𝑦 ∈ (rec(𝐹, 𝐴)‘𝑢) ∧ 𝐵𝑊) → 𝐵 ∈ (rec(𝐹, 𝐴)‘suc 𝑢)))
5915, 58syl 17 . . . . . . . . 9 (𝑢 ∈ ω → ((𝑦 ∈ (rec(𝐹, 𝐴)‘𝑢) ∧ 𝐵𝑊) → 𝐵 ∈ (rec(𝐹, 𝐴)‘suc 𝑢)))
60 rdgellim 34526 . . . . . . . . . 10 (((ω ∈ On ∧ Lim ω) ∧ suc 𝑢 ∈ ω) → (𝐵 ∈ (rec(𝐹, 𝐴)‘suc 𝑢) → 𝐵 ∈ (rec(𝐹, 𝐴)‘ω)))
613, 4, 60mpanl12 698 . . . . . . . . 9 (suc 𝑢 ∈ ω → (𝐵 ∈ (rec(𝐹, 𝐴)‘suc 𝑢) → 𝐵 ∈ (rec(𝐹, 𝐴)‘ω)))
6214, 59, 61sylsyld 61 . . . . . . . 8 (𝑢 ∈ ω → ((𝑦 ∈ (rec(𝐹, 𝐴)‘𝑢) ∧ 𝐵𝑊) → 𝐵 ∈ (rec(𝐹, 𝐴)‘ω)))
6362expd 416 . . . . . . 7 (𝑢 ∈ ω → (𝑦 ∈ (rec(𝐹, 𝐴)‘𝑢) → (𝐵𝑊𝐵 ∈ (rec(𝐹, 𝐴)‘ω))))
6463com3r 87 . . . . . 6 (𝐵𝑊 → (𝑢 ∈ ω → (𝑦 ∈ (rec(𝐹, 𝐴)‘𝑢) → 𝐵 ∈ (rec(𝐹, 𝐴)‘ω))))
6564rexlimdv 3287 . . . . 5 (𝐵𝑊 → (∃𝑢 ∈ ω 𝑦 ∈ (rec(𝐹, 𝐴)‘𝑢) → 𝐵 ∈ (rec(𝐹, 𝐴)‘ω)))
6613, 65syl5bi 243 . . . 4 (𝐵𝑊 → (𝑦 ∈ (rec(𝐹, 𝐴)‘ω) → 𝐵 ∈ (rec(𝐹, 𝐴)‘ω)))
6766alimi 1805 . . 3 (∀𝑦 𝐵𝑊 → ∀𝑦(𝑦 ∈ (rec(𝐹, 𝐴)‘ω) → 𝐵 ∈ (rec(𝐹, 𝐴)‘ω)))
68 df-ral 3147 . . 3 (∀𝑦 ∈ (rec(𝐹, 𝐴)‘ω)𝐵 ∈ (rec(𝐹, 𝐴)‘ω) ↔ ∀𝑦(𝑦 ∈ (rec(𝐹, 𝐴)‘ω) → 𝐵 ∈ (rec(𝐹, 𝐴)‘ω)))
6967, 68sylibr 235 . 2 (∀𝑦 𝐵𝑊 → ∀𝑦 ∈ (rec(𝐹, 𝐴)‘ω)𝐵 ∈ (rec(𝐹, 𝐴)‘ω))
70 fvex 6679 . . 3 (rec(𝐹, 𝐴)‘ω) ∈ V
71 sseq2 3996 . . . 4 (𝑥 = (rec(𝐹, 𝐴)‘ω) → (𝐴𝑥𝐴 ⊆ (rec(𝐹, 𝐴)‘ω)))
72 nfcv 2981 . . . . . . . 8 𝑦ω
7330, 72nffv 6676 . . . . . . 7 𝑦(rec(𝐹, 𝐴)‘ω)
7473nfeq2 2999 . . . . . 6 𝑦 𝑥 = (rec(𝐹, 𝐴)‘ω)
75 eleq2 2905 . . . . . . 7 (𝑥 = (rec(𝐹, 𝐴)‘ω) → (𝑦𝑥𝑦 ∈ (rec(𝐹, 𝐴)‘ω)))
76 eleq2 2905 . . . . . . 7 (𝑥 = (rec(𝐹, 𝐴)‘ω) → (𝐵𝑥𝐵 ∈ (rec(𝐹, 𝐴)‘ω)))
7775, 76imbi12d 346 . . . . . 6 (𝑥 = (rec(𝐹, 𝐴)‘ω) → ((𝑦𝑥𝐵𝑥) ↔ (𝑦 ∈ (rec(𝐹, 𝐴)‘ω) → 𝐵 ∈ (rec(𝐹, 𝐴)‘ω))))
7874, 77albid 2217 . . . . 5 (𝑥 = (rec(𝐹, 𝐴)‘ω) → (∀𝑦(𝑦𝑥𝐵𝑥) ↔ ∀𝑦(𝑦 ∈ (rec(𝐹, 𝐴)‘ω) → 𝐵 ∈ (rec(𝐹, 𝐴)‘ω))))
79 df-ral 3147 . . . . 5 (∀𝑦𝑥 𝐵𝑥 ↔ ∀𝑦(𝑦𝑥𝐵𝑥))
8078, 79, 683bitr4g 315 . . . 4 (𝑥 = (rec(𝐹, 𝐴)‘ω) → (∀𝑦𝑥 𝐵𝑥 ↔ ∀𝑦 ∈ (rec(𝐹, 𝐴)‘ω)𝐵 ∈ (rec(𝐹, 𝐴)‘ω)))
8171, 80anbi12d 630 . . 3 (𝑥 = (rec(𝐹, 𝐴)‘ω) → ((𝐴𝑥 ∧ ∀𝑦𝑥 𝐵𝑥) ↔ (𝐴 ⊆ (rec(𝐹, 𝐴)‘ω) ∧ ∀𝑦 ∈ (rec(𝐹, 𝐴)‘ω)𝐵 ∈ (rec(𝐹, 𝐴)‘ω))))
8270, 81spcev 3610 . 2 ((𝐴 ⊆ (rec(𝐹, 𝐴)‘ω) ∧ ∀𝑦 ∈ (rec(𝐹, 𝐴)‘ω)𝐵 ∈ (rec(𝐹, 𝐴)‘ω)) → ∃𝑥(𝐴𝑥 ∧ ∀𝑦𝑥 𝐵𝑥))
838, 69, 82syl2an 595 1 ((𝐴𝑉 ∧ ∀𝑦 𝐵𝑊) → ∃𝑥(𝐴𝑥 ∧ ∀𝑦𝑥 𝐵𝑥))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 396  wal 1528   = wceq 1530  wex 1773  wcel 2107  wral 3142  wrex 3143  Vcvv 3499  cun 3937  wss 3939  c0 4294   ciun 4916  cmpt 5142  ran crn 5554  Oncon0 6188  Lim wlim 6189  suc csuc 6190  cfv 6351  ωcom 7571  reccrdg 8039
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1789  ax-4 1803  ax-5 1904  ax-6 1963  ax-7 2008  ax-8 2109  ax-9 2117  ax-10 2138  ax-11 2153  ax-12 2169  ax-ext 2797  ax-rep 5186  ax-sep 5199  ax-nul 5206  ax-pow 5262  ax-pr 5325  ax-un 7454  ax-inf2 9096
This theorem depends on definitions:  df-bi 208  df-an 397  df-or 844  df-3or 1082  df-3an 1083  df-tru 1533  df-ex 1774  df-nf 1778  df-sb 2063  df-mo 2619  df-eu 2651  df-clab 2804  df-cleq 2818  df-clel 2897  df-nfc 2967  df-ne 3021  df-ral 3147  df-rex 3148  df-reu 3149  df-rab 3151  df-v 3501  df-sbc 3776  df-csb 3887  df-dif 3942  df-un 3944  df-in 3946  df-ss 3955  df-pss 3957  df-nul 4295  df-if 4470  df-pw 4543  df-sn 4564  df-pr 4566  df-tp 4568  df-op 4570  df-uni 4837  df-iun 4918  df-br 5063  df-opab 5125  df-mpt 5143  df-tr 5169  df-id 5458  df-eprel 5463  df-po 5472  df-so 5473  df-fr 5512  df-we 5514  df-xp 5559  df-rel 5560  df-cnv 5561  df-co 5562  df-dm 5563  df-rn 5564  df-res 5565  df-ima 5566  df-pred 6145  df-ord 6191  df-on 6192  df-lim 6193  df-suc 6194  df-iota 6311  df-fun 6353  df-fn 6354  df-f 6355  df-f1 6356  df-fo 6357  df-f1o 6358  df-fv 6359  df-om 7572  df-wrecs 7941  df-recs 8002  df-rdg 8040
This theorem is referenced by:  exrecfn  34530
  Copyright terms: Public domain W3C validator