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

Theorem inf0 9616
Description: Existence of ω implies our axiom of infinity ax-inf 9633. 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 9633. (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 8436 . . . 4 (𝑥 ∈ V → ((rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω)‘∅) = 𝑥)
21elv 3481 . . 3 ((rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω)‘∅) = 𝑥
3 frfnom 8435 . . . 4 (rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω) Fn ω
4 peano1 7879 . . . 4 ∅ ∈ ω
5 fnfvelrn 7083 . . . 4 (((rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω) Fn ω ∧ ∅ ∈ ω) → ((rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω)‘∅) ∈ ran (rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω))
63, 4, 5mp2an 691 . . 3 ((rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω)‘∅) ∈ ran (rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω)
72, 6eqeltrri 2831 . 2 𝑥 ∈ ran (rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω)
8 fvelrnb 6953 . . . . 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 6905 . . . . . . . . . 10 ((rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω)‘𝑓) ∈ V
1110sucid 6447 . . . . . . . . 9 ((rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω)‘𝑓) ∈ suc ((rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω)‘𝑓)
1210sucex 7794 . . . . . . . . . 10 suc ((rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω)‘𝑓) ∈ V
13 eqid 2733 . . . . . . . . . . 11 (rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω) = (rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω)
14 suceq 6431 . . . . . . . . . . 11 (𝑧 = 𝑣 → suc 𝑧 = suc 𝑣)
15 suceq 6431 . . . . . . . . . . 11 (𝑧 = ((rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω)‘𝑓) → suc 𝑧 = suc ((rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω)‘𝑓))
1613, 14, 15frsucmpt2 8440 . . . . . . . . . 10 ((𝑓 ∈ ω ∧ suc ((rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω)‘𝑓) ∈ V) → ((rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω)‘suc 𝑓) = suc ((rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω)‘𝑓))
1712, 16mpan2 690 . . . . . . . . 9 (𝑓 ∈ ω → ((rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω)‘suc 𝑓) = suc ((rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω)‘𝑓))
1811, 17eleqtrrid 2841 . . . . . . . 8 (𝑓 ∈ ω → ((rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω)‘𝑓) ∈ ((rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω)‘suc 𝑓))
19 eleq1 2822 . . . . . . . 8 (((rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω)‘𝑓) = 𝑧 → (((rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω)‘𝑓) ∈ ((rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω)‘suc 𝑓) ↔ 𝑧 ∈ ((rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω)‘suc 𝑓)))
2018, 19imbitrid 243 . . . . . . 7 (((rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω)‘𝑓) = 𝑧 → (𝑓 ∈ ω → 𝑧 ∈ ((rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω)‘suc 𝑓)))
21 peano2b 7872 . . . . . . . 8 (𝑓 ∈ ω ↔ suc 𝑓 ∈ ω)
22 fnfvelrn 7083 . . . . . . . . 9 (((rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω) Fn ω ∧ suc 𝑓 ∈ ω) → ((rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω)‘suc 𝑓) ∈ ran (rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω))
233, 22mpan 689 . . . . . . . 8 (suc 𝑓 ∈ ω → ((rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω)‘suc 𝑓) ∈ ran (rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω))
2421, 23sylbi 216 . . . . . . 7 (𝑓 ∈ ω → ((rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω)‘suc 𝑓) ∈ ran (rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω))
2520, 24jca2 515 . . . . . 6 (((rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω)‘𝑓) = 𝑧 → (𝑓 ∈ ω → (𝑧 ∈ ((rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω)‘suc 𝑓) ∧ ((rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω)‘suc 𝑓) ∈ ran (rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω))))
26 fvex 6905 . . . . . . 7 ((rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω)‘suc 𝑓) ∈ V
27 eleq2 2823 . . . . . . . 8 (𝑤 = ((rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω)‘suc 𝑓) → (𝑧𝑤𝑧 ∈ ((rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω)‘suc 𝑓)))
28 eleq1 2822 . . . . . . . 8 (𝑤 = ((rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω)‘suc 𝑓) → (𝑤 ∈ ran (rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω) ↔ ((rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω)‘suc 𝑓) ∈ ran (rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω)))
2927, 28anbi12d 632 . . . . . . 7 (𝑤 = ((rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω)‘suc 𝑓) → ((𝑧𝑤𝑤 ∈ ran (rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω)) ↔ (𝑧 ∈ ((rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω)‘suc 𝑓) ∧ ((rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω)‘suc 𝑓) ∈ ran (rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω))))
3026, 29spcev 3597 . . . . . 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 3149 . . . 4 (∃𝑓 ∈ ω ((rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω)‘𝑓) = 𝑧 → ∃𝑤(𝑧𝑤𝑤 ∈ ran (rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω)))
339, 32sylbi 216 . . 3 (𝑧 ∈ ran (rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω) → ∃𝑤(𝑧𝑤𝑤 ∈ ran (rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω)))
3433ax-gen 1798 . 2 𝑧(𝑧 ∈ ran (rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω) → ∃𝑤(𝑧𝑤𝑤 ∈ ran (rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω)))
35 fndm 6653 . . . . . 6 ((rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω) Fn ω → dom (rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω) = ω)
363, 35ax-mp 5 . . . . 5 dom (rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω) = ω
37 id 22 . . . . 5 (ω ∈ 𝑉 → ω ∈ 𝑉)
3836, 37eqeltrid 2838 . . . 4 (ω ∈ 𝑉 → dom (rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω) ∈ 𝑉)
39 fnfun 6650 . . . . 5 ((rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω) Fn ω → Fun (rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω))
403, 39ax-mp 5 . . . 4 Fun (rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω)
41 funrnex 7940 . . . 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 2823 . . . . 5 (𝑦 = ran (rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω) → (𝑥𝑦𝑥 ∈ ran (rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω)))
44 eleq2 2823 . . . . . . 7 (𝑦 = ran (rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω) → (𝑧𝑦𝑧 ∈ ran (rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω)))
45 eleq2 2823 . . . . . . . . 9 (𝑦 = ran (rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω) → (𝑤𝑦𝑤 ∈ ran (rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω)))
4645anbi2d 630 . . . . . . . 8 (𝑦 = ran (rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω) → ((𝑧𝑤𝑤𝑦) ↔ (𝑧𝑤𝑤 ∈ ran (rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω))))
4746exbidv 1925 . . . . . . 7 (𝑦 = ran (rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω) → (∃𝑤(𝑧𝑤𝑤𝑦) ↔ ∃𝑤(𝑧𝑤𝑤 ∈ ran (rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω))))
4844, 47imbi12d 345 . . . . . 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 632 . . . 4 (𝑦 = ran (rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω) → ((𝑥𝑦 ∧ ∀𝑧(𝑧𝑦 → ∃𝑤(𝑧𝑤𝑤𝑦))) ↔ (𝑥 ∈ ran (rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω) ∧ ∀𝑧(𝑧 ∈ ran (rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω) → ∃𝑤(𝑧𝑤𝑤 ∈ ran (rec((𝑣 ∈ V ↦ suc 𝑣), 𝑥) ↾ ω))))))
5150spcegv 3588 . . 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 697 1 (ω ∈ 𝑉 → ∃𝑦(𝑥𝑦 ∧ ∀𝑧(𝑧𝑦 → ∃𝑤(𝑧𝑤𝑤𝑦))))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 397  wal 1540   = wceq 1542  wex 1782  wcel 2107  wrex 3071  Vcvv 3475  c0 4323  cmpt 5232  dom cdm 5677  ran crn 5678  cres 5679  suc csuc 6367  Fun wfun 6538   Fn wfn 6539  cfv 6544  ωcom 7855  reccrdg 8409
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2109  ax-9 2117  ax-10 2138  ax-11 2155  ax-12 2172  ax-ext 2704  ax-rep 5286  ax-sep 5300  ax-nul 5307  ax-pr 5428  ax-un 7725
This theorem depends on definitions:  df-bi 206  df-an 398  df-or 847  df-3or 1089  df-3an 1090  df-tru 1545  df-fal 1555  df-ex 1783  df-nf 1787  df-sb 2069  df-mo 2535  df-eu 2564  df-clab 2711  df-cleq 2725  df-clel 2811  df-nfc 2886  df-ne 2942  df-ral 3063  df-rex 3072  df-reu 3378  df-rab 3434  df-v 3477  df-sbc 3779  df-csb 3895  df-dif 3952  df-un 3954  df-in 3956  df-ss 3966  df-pss 3968  df-nul 4324  df-if 4530  df-pw 4605  df-sn 4630  df-pr 4632  df-op 4636  df-uni 4910  df-iun 5000  df-br 5150  df-opab 5212  df-mpt 5233  df-tr 5267  df-id 5575  df-eprel 5581  df-po 5589  df-so 5590  df-fr 5632  df-we 5634  df-xp 5683  df-rel 5684  df-cnv 5685  df-co 5686  df-dm 5687  df-rn 5688  df-res 5689  df-ima 5690  df-pred 6301  df-ord 6368  df-on 6369  df-lim 6370  df-suc 6371  df-iota 6496  df-fun 6546  df-fn 6547  df-f 6548  df-f1 6549  df-fo 6550  df-f1o 6551  df-fv 6552  df-ov 7412  df-om 7856  df-2nd 7976  df-frecs 8266  df-wrecs 8297  df-recs 8371  df-rdg 8410
This theorem is referenced by:  axinf  9639
  Copyright terms: Public domain W3C validator