Users' Mathboxes Mathbox for Jeff Madsen < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  cover2 Structured version   Visualization version   GIF version

Theorem cover2 34870
Description: Two ways of expressing the statement "there is a cover of 𝐴 by elements of 𝐵 such that for each set in the cover, 𝜑". Note that 𝜑 and 𝑥 must be distinct. (Contributed by Jeff Madsen, 20-Jun-2010.)
Hypotheses
Ref Expression
cover2.1 𝐵 ∈ V
cover2.2 𝐴 = 𝐵
Assertion
Ref Expression
cover2 (∀𝑥𝐴𝑦𝐵 (𝑥𝑦𝜑) ↔ ∃𝑧 ∈ 𝒫 𝐵( 𝑧 = 𝐴 ∧ ∀𝑦𝑧 𝜑))
Distinct variable groups:   𝜑,𝑥,𝑧   𝑥,𝐵,𝑦,𝑧   𝑥,𝐴,𝑧
Allowed substitution hints:   𝜑(𝑦)   𝐴(𝑦)

Proof of Theorem cover2
StepHypRef Expression
1 cover2.1 . . . 4 𝐵 ∈ V
2 ssrab2 4053 . . . 4 {𝑦𝐵𝜑} ⊆ 𝐵
31, 2elpwi2 5240 . . 3 {𝑦𝐵𝜑} ∈ 𝒫 𝐵
4 nfra1 3216 . . . . 5 𝑥𝑥𝐴𝑦𝐵 (𝑥𝑦𝜑)
52unissi 4853 . . . . . . . 8 {𝑦𝐵𝜑} ⊆ 𝐵
65sseli 3960 . . . . . . 7 (𝑥 {𝑦𝐵𝜑} → 𝑥 𝐵)
7 cover2.2 . . . . . . 7 𝐴 = 𝐵
86, 7eleqtrrdi 2921 . . . . . 6 (𝑥 {𝑦𝐵𝜑} → 𝑥𝐴)
9 rsp 3202 . . . . . . 7 (∀𝑥𝐴𝑦𝐵 (𝑥𝑦𝜑) → (𝑥𝐴 → ∃𝑦𝐵 (𝑥𝑦𝜑)))
10 elunirab 4842 . . . . . . 7 (𝑥 {𝑦𝐵𝜑} ↔ ∃𝑦𝐵 (𝑥𝑦𝜑))
119, 10syl6ibr 253 . . . . . 6 (∀𝑥𝐴𝑦𝐵 (𝑥𝑦𝜑) → (𝑥𝐴𝑥 {𝑦𝐵𝜑}))
128, 11impbid2 227 . . . . 5 (∀𝑥𝐴𝑦𝐵 (𝑥𝑦𝜑) → (𝑥 {𝑦𝐵𝜑} ↔ 𝑥𝐴))
134, 12alrimi 2203 . . . 4 (∀𝑥𝐴𝑦𝐵 (𝑥𝑦𝜑) → ∀𝑥(𝑥 {𝑦𝐵𝜑} ↔ 𝑥𝐴))
14 dfcleq 2812 . . . 4 ( {𝑦𝐵𝜑} = 𝐴 ↔ ∀𝑥(𝑥 {𝑦𝐵𝜑} ↔ 𝑥𝐴))
1513, 14sylibr 235 . . 3 (∀𝑥𝐴𝑦𝐵 (𝑥𝑦𝜑) → {𝑦𝐵𝜑} = 𝐴)
16 nfrab1 3382 . . . . . . 7 𝑦{𝑦𝐵𝜑}
1716nfeq2 2992 . . . . . 6 𝑦 𝑧 = {𝑦𝐵𝜑}
18 eleq2 2898 . . . . . . 7 (𝑧 = {𝑦𝐵𝜑} → (𝑦𝑧𝑦 ∈ {𝑦𝐵𝜑}))
19 rabid 3376 . . . . . . . 8 (𝑦 ∈ {𝑦𝐵𝜑} ↔ (𝑦𝐵𝜑))
2019simprbi 497 . . . . . . 7 (𝑦 ∈ {𝑦𝐵𝜑} → 𝜑)
2118, 20syl6bi 254 . . . . . 6 (𝑧 = {𝑦𝐵𝜑} → (𝑦𝑧𝜑))
2217, 21ralrimi 3213 . . . . 5 (𝑧 = {𝑦𝐵𝜑} → ∀𝑦𝑧 𝜑)
23 unieq 4838 . . . . . . 7 (𝑧 = {𝑦𝐵𝜑} → 𝑧 = {𝑦𝐵𝜑})
2423eqeq1d 2820 . . . . . 6 (𝑧 = {𝑦𝐵𝜑} → ( 𝑧 = 𝐴 {𝑦𝐵𝜑} = 𝐴))
2524anbi1d 629 . . . . 5 (𝑧 = {𝑦𝐵𝜑} → (( 𝑧 = 𝐴 ∧ ∀𝑦𝑧 𝜑) ↔ ( {𝑦𝐵𝜑} = 𝐴 ∧ ∀𝑦𝑧 𝜑)))
2622, 25mpbiran2d 704 . . . 4 (𝑧 = {𝑦𝐵𝜑} → (( 𝑧 = 𝐴 ∧ ∀𝑦𝑧 𝜑) ↔ {𝑦𝐵𝜑} = 𝐴))
2726rspcev 3620 . . 3 (({𝑦𝐵𝜑} ∈ 𝒫 𝐵 {𝑦𝐵𝜑} = 𝐴) → ∃𝑧 ∈ 𝒫 𝐵( 𝑧 = 𝐴 ∧ ∀𝑦𝑧 𝜑))
283, 15, 27sylancr 587 . 2 (∀𝑥𝐴𝑦𝐵 (𝑥𝑦𝜑) → ∃𝑧 ∈ 𝒫 𝐵( 𝑧 = 𝐴 ∧ ∀𝑦𝑧 𝜑))
29 elpwi 4547 . . . . . . . . 9 (𝑧 ∈ 𝒫 𝐵𝑧𝐵)
30 r19.29r 3252 . . . . . . . . . . 11 ((∃𝑦𝑧 𝑥𝑦 ∧ ∀𝑦𝑧 𝜑) → ∃𝑦𝑧 (𝑥𝑦𝜑))
3130expcom 414 . . . . . . . . . 10 (∀𝑦𝑧 𝜑 → (∃𝑦𝑧 𝑥𝑦 → ∃𝑦𝑧 (𝑥𝑦𝜑)))
32 ssrexv 4031 . . . . . . . . . 10 (𝑧𝐵 → (∃𝑦𝑧 (𝑥𝑦𝜑) → ∃𝑦𝐵 (𝑥𝑦𝜑)))
3331, 32sylan9r 509 . . . . . . . . 9 ((𝑧𝐵 ∧ ∀𝑦𝑧 𝜑) → (∃𝑦𝑧 𝑥𝑦 → ∃𝑦𝐵 (𝑥𝑦𝜑)))
3429, 33sylan 580 . . . . . . . 8 ((𝑧 ∈ 𝒫 𝐵 ∧ ∀𝑦𝑧 𝜑) → (∃𝑦𝑧 𝑥𝑦 → ∃𝑦𝐵 (𝑥𝑦𝜑)))
35 eleq2 2898 . . . . . . . . . 10 ( 𝑧 = 𝐴 → (𝑥 𝑧𝑥𝐴))
3635biimpar 478 . . . . . . . . 9 (( 𝑧 = 𝐴𝑥𝐴) → 𝑥 𝑧)
37 eluni2 4834 . . . . . . . . 9 (𝑥 𝑧 ↔ ∃𝑦𝑧 𝑥𝑦)
3836, 37sylib 219 . . . . . . . 8 (( 𝑧 = 𝐴𝑥𝐴) → ∃𝑦𝑧 𝑥𝑦)
3934, 38impel 506 . . . . . . 7 (((𝑧 ∈ 𝒫 𝐵 ∧ ∀𝑦𝑧 𝜑) ∧ ( 𝑧 = 𝐴𝑥𝐴)) → ∃𝑦𝐵 (𝑥𝑦𝜑))
4039anassrs 468 . . . . . 6 ((((𝑧 ∈ 𝒫 𝐵 ∧ ∀𝑦𝑧 𝜑) ∧ 𝑧 = 𝐴) ∧ 𝑥𝐴) → ∃𝑦𝐵 (𝑥𝑦𝜑))
4140ralrimiva 3179 . . . . 5 (((𝑧 ∈ 𝒫 𝐵 ∧ ∀𝑦𝑧 𝜑) ∧ 𝑧 = 𝐴) → ∀𝑥𝐴𝑦𝐵 (𝑥𝑦𝜑))
4241anasss 467 . . . 4 ((𝑧 ∈ 𝒫 𝐵 ∧ (∀𝑦𝑧 𝜑 𝑧 = 𝐴)) → ∀𝑥𝐴𝑦𝐵 (𝑥𝑦𝜑))
4342ancom2s 646 . . 3 ((𝑧 ∈ 𝒫 𝐵 ∧ ( 𝑧 = 𝐴 ∧ ∀𝑦𝑧 𝜑)) → ∀𝑥𝐴𝑦𝐵 (𝑥𝑦𝜑))
4443rexlimiva 3278 . 2 (∃𝑧 ∈ 𝒫 𝐵( 𝑧 = 𝐴 ∧ ∀𝑦𝑧 𝜑) → ∀𝑥𝐴𝑦𝐵 (𝑥𝑦𝜑))
4528, 44impbii 210 1 (∀𝑥𝐴𝑦𝐵 (𝑥𝑦𝜑) ↔ ∃𝑧 ∈ 𝒫 𝐵( 𝑧 = 𝐴 ∧ ∀𝑦𝑧 𝜑))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 207  wa 396  wal 1526   = wceq 1528  wcel 2105  wral 3135  wrex 3136  {crab 3139  Vcvv 3492  wss 3933  𝒫 cpw 4535   cuni 4830
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1787  ax-4 1801  ax-5 1902  ax-6 1961  ax-7 2006  ax-8 2107  ax-9 2115  ax-10 2136  ax-11 2151  ax-12 2167  ax-ext 2790  ax-sep 5194
This theorem depends on definitions:  df-bi 208  df-an 397  df-or 842  df-tru 1531  df-ex 1772  df-nf 1776  df-sb 2061  df-clab 2797  df-cleq 2811  df-clel 2890  df-nfc 2960  df-ral 3140  df-rex 3141  df-rab 3144  df-v 3494  df-in 3940  df-ss 3949  df-pw 4537  df-uni 4831
This theorem is referenced by:  cover2g  34871
  Copyright terms: Public domain W3C validator