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

Theorem cflem 10165
Description: A lemma used to simplify cofinality computations, showing the existence of the cardinal of an unbounded subset of a set 𝐴. (Contributed by NM, 24-Apr-2004.) Avoid ax-11 2168. (Revised by BTernaryTau, 25-Jul-2025.)
Assertion
Ref Expression
cflem (𝐴𝑉 → ∃𝑥𝑦(𝑥 = (card‘𝑦) ∧ (𝑦𝐴 ∧ ∀𝑧𝐴𝑤𝑦 𝑧𝑤)))
Distinct variable group:   𝑤,𝐴,𝑥,𝑦,𝑧
Allowed substitution hints:   𝑉(𝑥,𝑦,𝑧,𝑤)

Proof of Theorem cflem
Dummy variable 𝑣 is distinct from all other variables.
StepHypRef Expression
1 ssid 3944 . . 3 𝐴𝐴
2 ssid 3944 . . . . 5 𝑧𝑧
3 sseq2 3948 . . . . . 6 (𝑤 = 𝑧 → (𝑧𝑤𝑧𝑧))
43rspcev 3567 . . . . 5 ((𝑧𝐴𝑧𝑧) → ∃𝑤𝐴 𝑧𝑤)
52, 4mpan2 697 . . . 4 (𝑧𝐴 → ∃𝑤𝐴 𝑧𝑤)
65rgen 3056 . . 3 𝑧𝐴𝑤𝐴 𝑧𝑤
7 sseq1 3947 . . . . 5 (𝑦 = 𝐴 → (𝑦𝐴𝐴𝐴))
8 rexeq 3294 . . . . . 6 (𝑦 = 𝐴 → (∃𝑤𝑦 𝑧𝑤 ↔ ∃𝑤𝐴 𝑧𝑤))
98ralbidv 3163 . . . . 5 (𝑦 = 𝐴 → (∀𝑧𝐴𝑤𝑦 𝑧𝑤 ↔ ∀𝑧𝐴𝑤𝐴 𝑧𝑤))
107, 9anbi12d 638 . . . 4 (𝑦 = 𝐴 → ((𝑦𝐴 ∧ ∀𝑧𝐴𝑤𝑦 𝑧𝑤) ↔ (𝐴𝐴 ∧ ∀𝑧𝐴𝑤𝐴 𝑧𝑤)))
1110spcegv 3542 . . 3 (𝐴𝑉 → ((𝐴𝐴 ∧ ∀𝑧𝐴𝑤𝐴 𝑧𝑤) → ∃𝑦(𝑦𝐴 ∧ ∀𝑧𝐴𝑤𝑦 𝑧𝑤)))
121, 6, 11mp2ani 704 . 2 (𝐴𝑉 → ∃𝑦(𝑦𝐴 ∧ ∀𝑧𝐴𝑤𝑦 𝑧𝑤))
13 fvex 6847 . . . . . 6 (card‘𝑦) ∈ V
1413isseti 3450 . . . . 5 𝑥 𝑥 = (card‘𝑦)
15 19.41v 1956 . . . . 5 (∃𝑥(𝑥 = (card‘𝑦) ∧ (𝑦𝐴 ∧ ∀𝑧𝐴𝑤𝑦 𝑧𝑤)) ↔ (∃𝑥 𝑥 = (card‘𝑦) ∧ (𝑦𝐴 ∧ ∀𝑧𝐴𝑤𝑦 𝑧𝑤)))
1614, 15mpbiran 715 . . . 4 (∃𝑥(𝑥 = (card‘𝑦) ∧ (𝑦𝐴 ∧ ∀𝑧𝐴𝑤𝑦 𝑧𝑤)) ↔ (𝑦𝐴 ∧ ∀𝑧𝐴𝑤𝑦 𝑧𝑤))
1716exbii 1855 . . 3 (∃𝑦𝑥(𝑥 = (card‘𝑦) ∧ (𝑦𝐴 ∧ ∀𝑧𝐴𝑤𝑦 𝑧𝑤)) ↔ ∃𝑦(𝑦𝐴 ∧ ∀𝑧𝐴𝑤𝑦 𝑧𝑤))
18 fveq2 6834 . . . . . 6 (𝑦 = 𝑣 → (card‘𝑦) = (card‘𝑣))
1918eqeq2d 2751 . . . . 5 (𝑦 = 𝑣 → (𝑥 = (card‘𝑦) ↔ 𝑥 = (card‘𝑣)))
20 sseq1 3947 . . . . . 6 (𝑦 = 𝑣 → (𝑦𝐴𝑣𝐴))
21 rexeq 3294 . . . . . . 7 (𝑦 = 𝑣 → (∃𝑤𝑦 𝑧𝑤 ↔ ∃𝑤𝑣 𝑧𝑤))
2221ralbidv 3163 . . . . . 6 (𝑦 = 𝑣 → (∀𝑧𝐴𝑤𝑦 𝑧𝑤 ↔ ∀𝑧𝐴𝑤𝑣 𝑧𝑤))
2320, 22anbi12d 638 . . . . 5 (𝑦 = 𝑣 → ((𝑦𝐴 ∧ ∀𝑧𝐴𝑤𝑦 𝑧𝑤) ↔ (𝑣𝐴 ∧ ∀𝑧𝐴𝑤𝑣 𝑧𝑤)))
2419, 23anbi12d 638 . . . 4 (𝑦 = 𝑣 → ((𝑥 = (card‘𝑦) ∧ (𝑦𝐴 ∧ ∀𝑧𝐴𝑤𝑦 𝑧𝑤)) ↔ (𝑥 = (card‘𝑣) ∧ (𝑣𝐴 ∧ ∀𝑧𝐴𝑤𝑣 𝑧𝑤))))
2524excomimw 2051 . . 3 (∃𝑦𝑥(𝑥 = (card‘𝑦) ∧ (𝑦𝐴 ∧ ∀𝑧𝐴𝑤𝑦 𝑧𝑤)) → ∃𝑥𝑦(𝑥 = (card‘𝑦) ∧ (𝑦𝐴 ∧ ∀𝑧𝐴𝑤𝑦 𝑧𝑤)))
2617, 25sylbir 236 . 2 (∃𝑦(𝑦𝐴 ∧ ∀𝑧𝐴𝑤𝑦 𝑧𝑤) → ∃𝑥𝑦(𝑥 = (card‘𝑦) ∧ (𝑦𝐴 ∧ ∀𝑧𝐴𝑤𝑦 𝑧𝑤)))
2712, 26syl 17 1 (𝐴𝑉 → ∃𝑥𝑦(𝑥 = (card‘𝑦) ∧ (𝑦𝐴 ∧ ∀𝑧𝐴𝑤𝑦 𝑧𝑤)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 396   = wceq 1547  wex 1786  wcel 2119  wral 3054  wrex 3064  wss 3890  cfv 6492  cardccrd 9857
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1802  ax-4 1816  ax-5 1917  ax-6 1974  ax-7 2015  ax-8 2121  ax-9 2129  ax-ext 2712  ax-nul 5235
This theorem depends on definitions:  df-bi 208  df-an 397  df-or 854  df-3an 1094  df-tru 1550  df-fal 1560  df-ex 1787  df-sb 2074  df-clab 2719  df-cleq 2732  df-clel 2815  df-ne 2936  df-ral 3055  df-rex 3065  df-rab 3393  df-v 3434  df-dif 3893  df-un 3895  df-ss 3907  df-nul 4269  df-if 4462  df-sn 4563  df-pr 4565  df-op 4569  df-uni 4846  df-br 5080  df-iota 6448  df-fv 6500
This theorem is referenced by:  cfval  10167  cff  10168  cff1  10178
  Copyright terms: Public domain W3C validator