MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  inf0 Structured version   Visualization version   GIF version

Theorem inf0 9309
Description: Existence of ω implies our axiom of infinity ax-inf 9326. The proof shows that the especially contrived class "ran (rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω) " exists, is a subset of its union, and contains a given set 𝑥 (and thus is nonempty). Thus, it provides an example demonstrating that a set 𝑦 exists with the necessary properties demanded by ax-inf 9326. (Contributed by NM, 15-Oct-1996.) Revised to closed form. (Revised by BJ, 20-May-2024.)
Assertion
Ref Expression
inf0 (ω ∈ 𝑉 → ∃𝑦(𝑥𝑦 ∧ ∀𝑧(𝑧𝑦 → ∃𝑤(𝑧𝑤𝑤𝑦))))
Distinct variable group:   𝑥,𝑦,𝑧,𝑤
Allowed substitution hints:   𝑉(𝑥,𝑦,𝑧,𝑤)

Proof of Theorem inf0
Dummy variables 𝑣 𝑓 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 fr0g 8237 . . . 4 (𝑥 ∈ V → ((rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω)‘∅) = 𝑥)
21elv 3428 . . 3 ((rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω)‘∅) = 𝑥
3 frfnom 8236 . . . 4 (rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω) Fn ω
4 peano1 7710 . . . 4 ∅ ∈ ω
5 fnfvelrn 6940 . . . 4 (((rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω) Fn ω ∧ ∅ ∈ ω) → ((rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω)‘∅) ∈ ran (rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω))
63, 4, 5mp2an 688 . . 3 ((rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω)‘∅) ∈ ran (rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω)
72, 6eqeltrri 2836 . 2 𝑥 ∈ ran (rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω)
8 fvelrnb 6812 . . . . 5 ((rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω) Fn ω → (𝑧 ∈ ran (rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω) ↔ ∃𝑓 ∈ ω ((rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω)‘𝑓) = 𝑧))
93, 8ax-mp 5 . . . 4 (𝑧 ∈ ran (rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω) ↔ ∃𝑓 ∈ ω ((rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω)‘𝑓) = 𝑧)
10 fvex 6769 . . . . . . . . . 10 ((rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω)‘𝑓) ∈ V
1110sucid 6330 . . . . . . . . 9 ((rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω)‘𝑓) ∈ suc ((rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω)‘𝑓)
1210sucex 7633 . . . . . . . . . 10 suc ((rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω)‘𝑓) ∈ V
13 eqid 2738 . . . . . . . . . . 11 (rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω) = (rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω)
14 suceq 6316 . . . . . . . . . . 11 (𝑧 = 𝑣 → suc 𝑧 = suc 𝑣)
15 suceq 6316 . . . . . . . . . . 11 (𝑧 = ((rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω)‘𝑓) → suc 𝑧 = suc ((rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω)‘𝑓))
1613, 14, 15frsucmpt2 8241 . . . . . . . . . 10 ((𝑓 ∈ ω ∧ suc ((rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω)‘𝑓) ∈ V) → ((rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω)‘suc 𝑓) = suc ((rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω)‘𝑓))
1712, 16mpan2 687 . . . . . . . . 9 (𝑓 ∈ ω → ((rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω)‘suc 𝑓) = suc ((rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω)‘𝑓))
1811, 17eleqtrrid 2846 . . . . . . . 8 (𝑓 ∈ ω → ((rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω)‘𝑓) ∈ ((rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω)‘suc 𝑓))
19 eleq1 2826 . . . . . . . 8 (((rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω)‘𝑓) = 𝑧 → (((rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω)‘𝑓) ∈ ((rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω)‘suc 𝑓) ↔ 𝑧 ∈ ((rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω)‘suc 𝑓)))
2018, 19syl5ib 243 . . . . . . 7 (((rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω)‘𝑓) = 𝑧 → (𝑓 ∈ ω → 𝑧 ∈ ((rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω)‘suc 𝑓)))
21 peano2b 7704 . . . . . . . 8 (𝑓 ∈ ω ↔ suc 𝑓 ∈ ω)
22 fnfvelrn 6940 . . . . . . . . 9 (((rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω) Fn ω ∧ suc 𝑓 ∈ ω) → ((rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω)‘suc 𝑓) ∈ ran (rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω))
233, 22mpan 686 . . . . . . . 8 (suc 𝑓 ∈ ω → ((rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω)‘suc 𝑓) ∈ ran (rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω))
2421, 23sylbi 216 . . . . . . 7 (𝑓 ∈ ω → ((rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω)‘suc 𝑓) ∈ ran (rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω))
2520, 24jca2 513 . . . . . 6 (((rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω)‘𝑓) = 𝑧 → (𝑓 ∈ ω → (𝑧 ∈ ((rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω)‘suc 𝑓) ∧ ((rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω)‘suc 𝑓) ∈ ran (rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω))))
26 fvex 6769 . . . . . . 7 ((rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω)‘suc 𝑓) ∈ V
27 eleq2 2827 . . . . . . . 8 (𝑤 = ((rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω)‘suc 𝑓) → (𝑧𝑤𝑧 ∈ ((rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω)‘suc 𝑓)))
28 eleq1 2826 . . . . . . . 8 (𝑤 = ((rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω)‘suc 𝑓) → (𝑤 ∈ ran (rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω) ↔ ((rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω)‘suc 𝑓) ∈ ran (rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω)))
2927, 28anbi12d 630 . . . . . . 7 (𝑤 = ((rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω)‘suc 𝑓) → ((𝑧𝑤𝑤 ∈ ran (rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω)) ↔ (𝑧 ∈ ((rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω)‘suc 𝑓) ∧ ((rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω)‘suc 𝑓) ∈ ran (rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω))))
3026, 29spcev 3535 . . . . . 6 ((𝑧 ∈ ((rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω)‘suc 𝑓) ∧ ((rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω)‘suc 𝑓) ∈ ran (rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω)) → ∃𝑤(𝑧𝑤𝑤 ∈ ran (rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω)))
3125, 30syl6com 37 . . . . 5 (𝑓 ∈ ω → (((rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω)‘𝑓) = 𝑧 → ∃𝑤(𝑧𝑤𝑤 ∈ ran (rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω))))
3231rexlimiv 3208 . . . 4 (∃𝑓 ∈ ω ((rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω)‘𝑓) = 𝑧 → ∃𝑤(𝑧𝑤𝑤 ∈ ran (rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω)))
339, 32sylbi 216 . . 3 (𝑧 ∈ ran (rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω) → ∃𝑤(𝑧𝑤𝑤 ∈ ran (rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω)))
3433ax-gen 1799 . 2 𝑧(𝑧 ∈ ran (rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω) → ∃𝑤(𝑧𝑤𝑤 ∈ ran (rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω)))
35 fndm 6520 . . . . . 6 ((rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω) Fn ω → dom (rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω) = ω)
363, 35ax-mp 5 . . . . 5 dom (rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω) = ω
37 id 22 . . . . 5 (ω ∈ 𝑉 → ω ∈ 𝑉)
3836, 37eqeltrid 2843 . . . 4 (ω ∈ 𝑉 → dom (rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω) ∈ 𝑉)
39 fnfun 6517 . . . . 5 ((rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω) Fn ω → Fun (rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω))
403, 39ax-mp 5 . . . 4 Fun (rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω)
41 funrnex 7770 . . . 4 (dom (rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω) ∈ 𝑉 → (Fun (rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω) → ran (rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω) ∈ V))
4238, 40, 41mpisyl 21 . . 3 (ω ∈ 𝑉 → ran (rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω) ∈ V)
43 eleq2 2827 . . . . 5 (𝑦 = ran (rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω) → (𝑥𝑦𝑥 ∈ ran (rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω)))
44 eleq2 2827 . . . . . . 7 (𝑦 = ran (rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω) → (𝑧𝑦𝑧 ∈ ran (rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω)))
45 eleq2 2827 . . . . . . . . 9 (𝑦 = ran (rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω) → (𝑤𝑦𝑤 ∈ ran (rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω)))
4645anbi2d 628 . . . . . . . 8 (𝑦 = ran (rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω) → ((𝑧𝑤𝑤𝑦) ↔ (𝑧𝑤𝑤 ∈ ran (rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω))))
4746exbidv 1925 . . . . . . 7 (𝑦 = ran (rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω) → (∃𝑤(𝑧𝑤𝑤𝑦) ↔ ∃𝑤(𝑧𝑤𝑤 ∈ ran (rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω))))
4844, 47imbi12d 344 . . . . . 6 (𝑦 = ran (rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω) → ((𝑧𝑦 → ∃𝑤(𝑧𝑤𝑤𝑦)) ↔ (𝑧 ∈ ran (rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω) → ∃𝑤(𝑧𝑤𝑤 ∈ ran (rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω)))))
4948albidv 1924 . . . . 5 (𝑦 = ran (rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω) → (∀𝑧(𝑧𝑦 → ∃𝑤(𝑧𝑤𝑤𝑦)) ↔ ∀𝑧(𝑧 ∈ ran (rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω) → ∃𝑤(𝑧𝑤𝑤 ∈ ran (rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω)))))
5043, 49anbi12d 630 . . . 4 (𝑦 = ran (rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω) → ((𝑥𝑦 ∧ ∀𝑧(𝑧𝑦 → ∃𝑤(𝑧𝑤𝑤𝑦))) ↔ (𝑥 ∈ ran (rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω) ∧ ∀𝑧(𝑧 ∈ ran (rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω) → ∃𝑤(𝑧𝑤𝑤 ∈ ran (rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω))))))
5150spcegv 3526 . . 3 (ran (rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω) ∈ V → ((𝑥 ∈ ran (rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω) ∧ ∀𝑧(𝑧 ∈ ran (rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω) → ∃𝑤(𝑧𝑤𝑤 ∈ ran (rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω)))) → ∃𝑦(𝑥𝑦 ∧ ∀𝑧(𝑧𝑦 → ∃𝑤(𝑧𝑤𝑤𝑦)))))
5242, 51syl 17 . 2 (ω ∈ 𝑉 → ((𝑥 ∈ ran (rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω) ∧ ∀𝑧(𝑧 ∈ ran (rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω) → ∃𝑤(𝑧𝑤𝑤 ∈ ran (rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω)))) → ∃𝑦(𝑥𝑦 ∧ ∀𝑧(𝑧𝑦 → ∃𝑤(𝑧𝑤𝑤𝑦)))))
537, 34, 52mp2ani 694 1 (ω ∈ 𝑉 → ∃𝑦(𝑥𝑦 ∧ ∀𝑧(𝑧𝑦 → ∃𝑤(𝑧𝑤𝑤𝑦))))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395  wal 1537   = wceq 1539  wex 1783  wcel 2108  wrex 3064  Vcvv 3422  c0 4253  cmpt 5153  dom cdm 5580  ran crn 5581  cres 5582  suc csuc 6253  Fun wfun 6412   Fn wfn 6413  cfv 6418  ωcom 7687  reccrdg 8211
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-rep 5205  ax-sep 5218  ax-nul 5225  ax-pr 5347  ax-un 7566
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3or 1086  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ne 2943  df-ral 3068  df-rex 3069  df-reu 3070  df-rab 3072  df-v 3424  df-sbc 3712  df-csb 3829  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-pss 3902  df-nul 4254  df-if 4457  df-pw 4532  df-sn 4559  df-pr 4561  df-tp 4563  df-op 4565  df-uni 4837  df-iun 4923  df-br 5071  df-opab 5133  df-mpt 5154  df-tr 5188  df-id 5480  df-eprel 5486  df-po 5494  df-so 5495  df-fr 5535  df-we 5537  df-xp 5586  df-rel 5587  df-cnv 5588  df-co 5589  df-dm 5590  df-rn 5591  df-res 5592  df-ima 5593  df-pred 6191  df-ord 6254  df-on 6255  df-lim 6256  df-suc 6257  df-iota 6376  df-fun 6420  df-fn 6421  df-f 6422  df-f1 6423  df-fo 6424  df-f1o 6425  df-fv 6426  df-ov 7258  df-om 7688  df-2nd 7805  df-frecs 8068  df-wrecs 8099  df-recs 8173  df-rdg 8212
This theorem is referenced by:  axinf  9332
  Copyright terms: Public domain W3C validator