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

Theorem cflem 10372
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 2201. (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 3937 . . 3 𝐴 ⊆ 𝐴
2 ssid 3937 . . . . 5 𝑧 ⊆ 𝑧
3 sseq2 3941 . . . . . 6 (𝑤 = 𝑧 → (𝑧 ⊆ 𝑤 ↔ 𝑧 ⊆ 𝑧))
43rspcev 3582 . . . . 5 ((𝑧 ∈ 𝐴 ∧ 𝑧 ⊆ 𝑧) → ∃𝑤 ∈ 𝐴 𝑧 ⊆ 𝑤)
52, 4mpan2 704 . . . 4 (𝑧 ∈ 𝐴 → ∃𝑤 ∈ 𝐴 𝑧 ⊆ 𝑤)
65rgen 3088 . . 3 ∀𝑧 ∈ 𝐴 ∃𝑤 ∈ 𝐴 𝑧 ⊆ 𝑤
7 sseq1 3940 . . . . 5 (𝑦 = 𝐴 → (𝑦 ⊆ 𝐴 ↔ 𝐴 ⊆ 𝐴))
8 rexeq 3322 . . . . . 6 (𝑦 = 𝐴 → (∃𝑤 ∈ 𝑦 𝑧 ⊆ 𝑤 ↔ ∃𝑤 ∈ 𝐴 𝑧 ⊆ 𝑤))
98ralbidv 3195 . . . . 5 (𝑦 = 𝐴 → (∀𝑧 ∈ 𝐴 ∃𝑤 ∈ 𝑦 𝑧 ⊆ 𝑤 ↔ ∀𝑧 ∈ 𝐴 ∃𝑤 ∈ 𝐴 𝑧 ⊆ 𝑤))
107, 9anbi12d 644 . . . 4 (𝑦 = 𝐴 → ((𝑦 ⊆ 𝐴 ∧ ∀𝑧 ∈ 𝐴 ∃𝑤 ∈ 𝑦 𝑧 ⊆ 𝑤) ↔ (𝐴 ⊆ 𝐴 ∧ ∀𝑧 ∈ 𝐴 ∃𝑤 ∈ 𝐴 𝑧 ⊆ 𝑤)))
1110spcegv 3557 . . 3 (𝐴 ∈ 𝑉 → ((𝐴 ⊆ 𝐴 ∧ ∀𝑧 ∈ 𝐴 ∃𝑤 ∈ 𝐴 𝑧 ⊆ 𝑤) → ∃𝑦(𝑦 ⊆ 𝐴 ∧ ∀𝑧 ∈ 𝐴 ∃𝑤 ∈ 𝑦 𝑧 ⊆ 𝑤)))
121, 6, 11mp2ani 711 . 2 (𝐴 ∈ 𝑉 → ∃𝑦(𝑦 ⊆ 𝐴 ∧ ∀𝑧 ∈ 𝐴 ∃𝑤 ∈ 𝑦 𝑧 ⊆ 𝑤))
13 fvex 6939 . . . . . 6 (card‘𝑦) ∈ V
1413isseti 3474 . . . . 5 ∃𝑥 𝑥 = (card‘𝑦)
15 19.41v 1986 . . . . 5 (∃𝑥(𝑥 = (card‘𝑦) ∧ (𝑦 ⊆ 𝐴 ∧ ∀𝑧 ∈ 𝐴 ∃𝑤 ∈ 𝑦 𝑧 ⊆ 𝑤)) ↔ (∃𝑥 𝑥 = (card‘𝑦) ∧ (𝑦 ⊆ 𝐴 ∧ ∀𝑧 ∈ 𝐴 ∃𝑤 ∈ 𝑦 𝑧 ⊆ 𝑤)))
1614, 15mpbiran 722 . . . 4 (∃𝑥(𝑥 = (card‘𝑦) ∧ (𝑦 ⊆ 𝐴 ∧ ∀𝑧 ∈ 𝐴 ∃𝑤 ∈ 𝑦 𝑧 ⊆ 𝑤)) ↔ (𝑦 ⊆ 𝐴 ∧ ∀𝑧 ∈ 𝐴 ∃𝑤 ∈ 𝑦 𝑧 ⊆ 𝑤))
1716exbii 1883 . . 3 (∃𝑦∃𝑥(𝑥 = (card‘𝑦) ∧ (𝑦 ⊆ 𝐴 ∧ ∀𝑧 ∈ 𝐴 ∃𝑤 ∈ 𝑦 𝑧 ⊆ 𝑤)) ↔ ∃𝑦(𝑦 ⊆ 𝐴 ∧ ∀𝑧 ∈ 𝐴 ∃𝑤 ∈ 𝑦 𝑧 ⊆ 𝑤))
18 fveq2 6926 . . . . . 6 (𝑦 = 𝑣 → (card‘𝑦) = (card‘𝑣))
1918eqeq2d 2780 . . . . 5 (𝑦 = 𝑣 → (𝑥 = (card‘𝑦) ↔ 𝑥 = (card‘𝑣)))
20 sseq1 3940 . . . . . 6 (𝑦 = 𝑣 → (𝑦 ⊆ 𝐴 ↔ 𝑣 ⊆ 𝐴))
21 rexeq 3322 . . . . . . 7 (𝑦 = 𝑣 → (∃𝑤 ∈ 𝑦 𝑧 ⊆ 𝑤 ↔ ∃𝑤 ∈ 𝑣 𝑧 ⊆ 𝑤))
2221ralbidv 3195 . . . . . 6 (𝑦 = 𝑣 → (∀𝑧 ∈ 𝐴 ∃𝑤 ∈ 𝑦 𝑧 ⊆ 𝑤 ↔ ∀𝑧 ∈ 𝐴 ∃𝑤 ∈ 𝑣 𝑧 ⊆ 𝑤))
2320, 22anbi12d 644 . . . . 5 (𝑦 = 𝑣 → ((𝑦 ⊆ 𝐴 ∧ ∀𝑧 ∈ 𝐴 ∃𝑤 ∈ 𝑦 𝑧 ⊆ 𝑤) ↔ (𝑣 ⊆ 𝐴 ∧ ∀𝑧 ∈ 𝐴 ∃𝑤 ∈ 𝑣 𝑧 ⊆ 𝑤)))
2419, 23anbi12d 644 . . . 4 (𝑦 = 𝑣 → ((𝑥 = (card‘𝑦) ∧ (𝑦 ⊆ 𝐴 ∧ ∀𝑧 ∈ 𝐴 ∃𝑤 ∈ 𝑦 𝑧 ⊆ 𝑤)) ↔ (𝑥 = (card‘𝑣) ∧ (𝑣 ⊆ 𝐴 ∧ ∀𝑧 ∈ 𝐴 ∃𝑤 ∈ 𝑣 𝑧 ⊆ 𝑤))))
2524excomimw 2081 . . 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 1572  ∃wex 1814   ∈ wcel 2151  ∀wral 3086  ∃wrex 3096   ⊆ wss 3902  ‘cfv 6573  cardccrd 10063
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2153  ax-9 2161  ax-ext 2741  ax-nul 5269
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1815  df-sb 2105  df-clab 2748  df-cleq 2761  df-clel 2845  df-ne 2966  df-ral 3087  df-rex 3097  df-rab 3419  df-v 3458  df-ss 3903  df-dif 4052  df-un 4156  df-nul 4284  df-if 4488  df-sn 4591  df-pr 4593  df-op 4844  df-uni 4876  df-br 5112  df-iota 6527  df-fv 6581
This theorem is used by:  cfval  10373  cff  10374  cff1  10385
  Copyright terms: Public domain W3C validator