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

Theorem cflem 10304
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 2194. (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 3953 . . 3 𝐴 ⊆ 𝐴
2 ssid 3953 . . . . 5 𝑧 ⊆ 𝑧
3 sseq2 3957 . . . . . 6 (𝑤 = 𝑧 → (𝑧 ⊆ 𝑤 ↔ 𝑧 ⊆ 𝑧))
43rspcev 3577 . . . . 5 ((𝑧 ∈ 𝐴 ∧ 𝑧 ⊆ 𝑧) → ∃𝑤 ∈ 𝐴 𝑧 ⊆ 𝑤)
52, 4mpan2 704 . . . 4 (𝑧 ∈ 𝐴 → ∃𝑤 ∈ 𝐴 𝑧 ⊆ 𝑤)
65rgen 3079 . . 3 ∀𝑧 ∈ 𝐴 ∃𝑤 ∈ 𝐴 𝑧 ⊆ 𝑤
7 sseq1 3956 . . . . 5 (𝑦 = 𝐴 → (𝑦 ⊆ 𝐴 ↔ 𝐴 ⊆ 𝐴))
8 rexeq 3316 . . . . . 6 (𝑦 = 𝐴 → (∃𝑤 ∈ 𝑦 𝑧 ⊆ 𝑤 ↔ ∃𝑤 ∈ 𝐴 𝑧 ⊆ 𝑤))
98ralbidv 3186 . . . . 5 (𝑦 = 𝐴 → (∀𝑧 ∈ 𝐴 ∃𝑤 ∈ 𝑦 𝑧 ⊆ 𝑤 ↔ ∀𝑧 ∈ 𝐴 ∃𝑤 ∈ 𝐴 𝑧 ⊆ 𝑤))
107, 9anbi12d 644 . . . 4 (𝑦 = 𝐴 → ((𝑦 ⊆ 𝐴 ∧ ∀𝑧 ∈ 𝐴 ∃𝑤 ∈ 𝑦 𝑧 ⊆ 𝑤) ↔ (𝐴 ⊆ 𝐴 ∧ ∀𝑧 ∈ 𝐴 ∃𝑤 ∈ 𝐴 𝑧 ⊆ 𝑤)))
1110spcegv 3552 . . 3 (𝐴 ∈ 𝑉 → ((𝐴 ⊆ 𝐴 ∧ ∀𝑧 ∈ 𝐴 ∃𝑤 ∈ 𝐴 𝑧 ⊆ 𝑤) → ∃𝑦(𝑦 ⊆ 𝐴 ∧ ∀𝑧 ∈ 𝐴 ∃𝑤 ∈ 𝑦 𝑧 ⊆ 𝑤)))
121, 6, 11mp2ani 711 . 2 (𝐴 ∈ 𝑉 → ∃𝑦(𝑦 ⊆ 𝐴 ∧ ∀𝑧 ∈ 𝐴 ∃𝑤 ∈ 𝑦 𝑧 ⊆ 𝑤))
13 fvex 6890 . . . . . 6 (card‘𝑦) ∈ V
1413isseti 3469 . . . . 5 ∃𝑥 𝑥 = (card‘𝑦)
15 19.41v 1982 . . . . 5 (∃𝑥(𝑥 = (card‘𝑦) ∧ (𝑦 ⊆ 𝐴 ∧ ∀𝑧 ∈ 𝐴 ∃𝑤 ∈ 𝑦 𝑧 ⊆ 𝑤)) ↔ (∃𝑥 𝑥 = (card‘𝑦) ∧ (𝑦 ⊆ 𝐴 ∧ ∀𝑧 ∈ 𝐴 ∃𝑤 ∈ 𝑦 𝑧 ⊆ 𝑤)))
1614, 15mpbiran 722 . . . 4 (∃𝑥(𝑥 = (card‘𝑦) ∧ (𝑦 ⊆ 𝐴 ∧ ∀𝑧 ∈ 𝐴 ∃𝑤 ∈ 𝑦 𝑧 ⊆ 𝑤)) ↔ (𝑦 ⊆ 𝐴 ∧ ∀𝑧 ∈ 𝐴 ∃𝑤 ∈ 𝑦 𝑧 ⊆ 𝑤))
1716exbii 1881 . . 3 (∃𝑦∃𝑥(𝑥 = (card‘𝑦) ∧ (𝑦 ⊆ 𝐴 ∧ ∀𝑧 ∈ 𝐴 ∃𝑤 ∈ 𝑦 𝑧 ⊆ 𝑤)) ↔ ∃𝑦(𝑦 ⊆ 𝐴 ∧ ∀𝑧 ∈ 𝐴 ∃𝑤 ∈ 𝑦 𝑧 ⊆ 𝑤))
18 fveq2 6877 . . . . . 6 (𝑦 = 𝑣 → (card‘𝑦) = (card‘𝑣))
1918eqeq2d 2772 . . . . 5 (𝑦 = 𝑣 → (𝑥 = (card‘𝑦) ↔ 𝑥 = (card‘𝑣)))
20 sseq1 3956 . . . . . 6 (𝑦 = 𝑣 → (𝑦 ⊆ 𝐴 ↔ 𝑣 ⊆ 𝐴))
21 rexeq 3316 . . . . . . 7 (𝑦 = 𝑣 → (∃𝑤 ∈ 𝑦 𝑧 ⊆ 𝑤 ↔ ∃𝑤 ∈ 𝑣 𝑧 ⊆ 𝑤))
2221ralbidv 3186 . . . . . 6 (𝑦 = 𝑣 → (∀𝑧 ∈ 𝐴 ∃𝑤 ∈ 𝑦 𝑧 ⊆ 𝑤 ↔ ∀𝑧 ∈ 𝐴 ∃𝑤 ∈ 𝑣 𝑧 ⊆ 𝑤))
2320, 22anbi12d 644 . . . . 5 (𝑦 = 𝑣 → ((𝑦 ⊆ 𝐴 ∧ ∀𝑧 ∈ 𝐴 ∃𝑤 ∈ 𝑦 𝑧 ⊆ 𝑤) ↔ (𝑣 ⊆ 𝐴 ∧ ∀𝑧 ∈ 𝐴 ∃𝑤 ∈ 𝑣 𝑧 ⊆ 𝑤)))
2419, 23anbi12d 644 . . . 4 (𝑦 = 𝑣 → ((𝑥 = (card‘𝑦) ∧ (𝑦 ⊆ 𝐴 ∧ ∀𝑧 ∈ 𝐴 ∃𝑤 ∈ 𝑦 𝑧 ⊆ 𝑤)) ↔ (𝑥 = (card‘𝑣) ∧ (𝑣 ⊆ 𝐴 ∧ ∀𝑧 ∈ 𝐴 ∃𝑤 ∈ 𝑣 𝑧 ⊆ 𝑤))))
2524excomimw 2077 . . 3 (∃𝑦∃𝑥(𝑥 = (card‘𝑦) ∧ (𝑦 ⊆ 𝐴 ∧ ∀𝑧 ∈ 𝐴 ∃𝑤 ∈ 𝑦 𝑧 ⊆ 𝑤)) → ∃𝑥∃𝑦(𝑥 = (card‘𝑦) ∧ (𝑦 ⊆ 𝐴 ∧ ∀𝑧 ∈ 𝐴 ∃𝑤 ∈ 𝑦 𝑧 ⊆ 𝑤)))
2617, 25sylbir 238 . 2 (∃𝑦(𝑦 ⊆ 𝐴 ∧ ∀𝑧 ∈ 𝐴 ∃𝑤 ∈ 𝑦 𝑧 ⊆ 𝑤) → ∃𝑥∃𝑦(𝑥 = (card‘𝑦) ∧ (𝑦 ⊆ 𝐴 ∧ ∀𝑧 ∈ 𝐴 ∃𝑤 ∈ 𝑦 𝑧 ⊆ 𝑤)))
2712, 26syl 18 1 (𝐴 ∈ 𝑉 → ∃𝑥∃𝑦(𝑥 = (card‘𝑦) ∧ (𝑦 ⊆ 𝐴 ∧ ∀𝑧 ∈ 𝐴 ∃𝑤 ∈ 𝑦 𝑧 ⊆ 𝑤)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1570  ∃wex 1812   ∈ wcel 2145  ∀wral 3077  ∃wrex 3087   ⊆ wss 3899  ‘cfv 6531  cardccrd 9997
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-ext 2733  ax-nul 5260
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-sb 2100  df-clab 2740  df-cleq 2753  df-clel 2836  df-ne 2957  df-ral 3078  df-rex 3088  df-rab 3414  df-v 3453  df-dif 3902  df-un 3904  df-ss 3916  df-nul 4280  df-if 4483  df-sn 4585  df-pr 4587  df-op 4591  df-uni 4868  df-br 5104  df-iota 6487  df-fv 6539
This theorem is used by:  cfval  10305  cff  10306  cff1  10317
  Copyright terms: Public domain W3C validator