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 33638
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 ssrab2 3720 . . . 4 {𝑦𝐵𝜑} ⊆ 𝐵
2 cover2.1 . . . . 5 𝐵 ∈ V
32elpw2 4858 . . . 4 ({𝑦𝐵𝜑} ∈ 𝒫 𝐵 ↔ {𝑦𝐵𝜑} ⊆ 𝐵)
41, 3mpbir 221 . . 3 {𝑦𝐵𝜑} ∈ 𝒫 𝐵
5 nfra1 2970 . . . . 5 𝑥𝑥𝐴𝑦𝐵 (𝑥𝑦𝜑)
61unissi 4493 . . . . . . . 8 {𝑦𝐵𝜑} ⊆ 𝐵
76sseli 3632 . . . . . . 7 (𝑥 {𝑦𝐵𝜑} → 𝑥 𝐵)
8 cover2.2 . . . . . . 7 𝐴 = 𝐵
97, 8syl6eleqr 2741 . . . . . 6 (𝑥 {𝑦𝐵𝜑} → 𝑥𝐴)
10 rsp 2958 . . . . . . 7 (∀𝑥𝐴𝑦𝐵 (𝑥𝑦𝜑) → (𝑥𝐴 → ∃𝑦𝐵 (𝑥𝑦𝜑)))
11 elunirab 4480 . . . . . . 7 (𝑥 {𝑦𝐵𝜑} ↔ ∃𝑦𝐵 (𝑥𝑦𝜑))
1210, 11syl6ibr 242 . . . . . 6 (∀𝑥𝐴𝑦𝐵 (𝑥𝑦𝜑) → (𝑥𝐴𝑥 {𝑦𝐵𝜑}))
139, 12impbid2 216 . . . . 5 (∀𝑥𝐴𝑦𝐵 (𝑥𝑦𝜑) → (𝑥 {𝑦𝐵𝜑} ↔ 𝑥𝐴))
145, 13alrimi 2120 . . . 4 (∀𝑥𝐴𝑦𝐵 (𝑥𝑦𝜑) → ∀𝑥(𝑥 {𝑦𝐵𝜑} ↔ 𝑥𝐴))
15 dfcleq 2645 . . . 4 ( {𝑦𝐵𝜑} = 𝐴 ↔ ∀𝑥(𝑥 {𝑦𝐵𝜑} ↔ 𝑥𝐴))
1614, 15sylibr 224 . . 3 (∀𝑥𝐴𝑦𝐵 (𝑥𝑦𝜑) → {𝑦𝐵𝜑} = 𝐴)
17 unieq 4476 . . . . . . 7 (𝑧 = {𝑦𝐵𝜑} → 𝑧 = {𝑦𝐵𝜑})
1817eqeq1d 2653 . . . . . 6 (𝑧 = {𝑦𝐵𝜑} → ( 𝑧 = 𝐴 {𝑦𝐵𝜑} = 𝐴))
1918anbi1d 741 . . . . 5 (𝑧 = {𝑦𝐵𝜑} → (( 𝑧 = 𝐴 ∧ ∀𝑦𝑧 𝜑) ↔ ( {𝑦𝐵𝜑} = 𝐴 ∧ ∀𝑦𝑧 𝜑)))
20 nfrab1 3152 . . . . . . . 8 𝑦{𝑦𝐵𝜑}
2120nfeq2 2809 . . . . . . 7 𝑦 𝑧 = {𝑦𝐵𝜑}
22 eleq2 2719 . . . . . . . 8 (𝑧 = {𝑦𝐵𝜑} → (𝑦𝑧𝑦 ∈ {𝑦𝐵𝜑}))
23 rabid 3145 . . . . . . . . 9 (𝑦 ∈ {𝑦𝐵𝜑} ↔ (𝑦𝐵𝜑))
2423simprbi 479 . . . . . . . 8 (𝑦 ∈ {𝑦𝐵𝜑} → 𝜑)
2522, 24syl6bi 243 . . . . . . 7 (𝑧 = {𝑦𝐵𝜑} → (𝑦𝑧𝜑))
2621, 25ralrimi 2986 . . . . . 6 (𝑧 = {𝑦𝐵𝜑} → ∀𝑦𝑧 𝜑)
2726biantrud 527 . . . . 5 (𝑧 = {𝑦𝐵𝜑} → ( {𝑦𝐵𝜑} = 𝐴 ↔ ( {𝑦𝐵𝜑} = 𝐴 ∧ ∀𝑦𝑧 𝜑)))
2819, 27bitr4d 271 . . . 4 (𝑧 = {𝑦𝐵𝜑} → (( 𝑧 = 𝐴 ∧ ∀𝑦𝑧 𝜑) ↔ {𝑦𝐵𝜑} = 𝐴))
2928rspcev 3340 . . 3 (({𝑦𝐵𝜑} ∈ 𝒫 𝐵 {𝑦𝐵𝜑} = 𝐴) → ∃𝑧 ∈ 𝒫 𝐵( 𝑧 = 𝐴 ∧ ∀𝑦𝑧 𝜑))
304, 16, 29sylancr 696 . 2 (∀𝑥𝐴𝑦𝐵 (𝑥𝑦𝜑) → ∃𝑧 ∈ 𝒫 𝐵( 𝑧 = 𝐴 ∧ ∀𝑦𝑧 𝜑))
31 elpwi 4201 . . . . . . . . 9 (𝑧 ∈ 𝒫 𝐵𝑧𝐵)
32 r19.29r 3102 . . . . . . . . . . 11 ((∃𝑦𝑧 𝑥𝑦 ∧ ∀𝑦𝑧 𝜑) → ∃𝑦𝑧 (𝑥𝑦𝜑))
3332expcom 450 . . . . . . . . . 10 (∀𝑦𝑧 𝜑 → (∃𝑦𝑧 𝑥𝑦 → ∃𝑦𝑧 (𝑥𝑦𝜑)))
34 ssrexv 3700 . . . . . . . . . 10 (𝑧𝐵 → (∃𝑦𝑧 (𝑥𝑦𝜑) → ∃𝑦𝐵 (𝑥𝑦𝜑)))
3533, 34sylan9r 691 . . . . . . . . 9 ((𝑧𝐵 ∧ ∀𝑦𝑧 𝜑) → (∃𝑦𝑧 𝑥𝑦 → ∃𝑦𝐵 (𝑥𝑦𝜑)))
3631, 35sylan 487 . . . . . . . 8 ((𝑧 ∈ 𝒫 𝐵 ∧ ∀𝑦𝑧 𝜑) → (∃𝑦𝑧 𝑥𝑦 → ∃𝑦𝐵 (𝑥𝑦𝜑)))
37 eleq2 2719 . . . . . . . . . 10 ( 𝑧 = 𝐴 → (𝑥 𝑧𝑥𝐴))
3837biimpar 501 . . . . . . . . 9 (( 𝑧 = 𝐴𝑥𝐴) → 𝑥 𝑧)
39 eluni2 4472 . . . . . . . . 9 (𝑥 𝑧 ↔ ∃𝑦𝑧 𝑥𝑦)
4038, 39sylib 208 . . . . . . . 8 (( 𝑧 = 𝐴𝑥𝐴) → ∃𝑦𝑧 𝑥𝑦)
4136, 40impel 484 . . . . . . 7 (((𝑧 ∈ 𝒫 𝐵 ∧ ∀𝑦𝑧 𝜑) ∧ ( 𝑧 = 𝐴𝑥𝐴)) → ∃𝑦𝐵 (𝑥𝑦𝜑))
4241anassrs 681 . . . . . 6 ((((𝑧 ∈ 𝒫 𝐵 ∧ ∀𝑦𝑧 𝜑) ∧ 𝑧 = 𝐴) ∧ 𝑥𝐴) → ∃𝑦𝐵 (𝑥𝑦𝜑))
4342ralrimiva 2995 . . . . 5 (((𝑧 ∈ 𝒫 𝐵 ∧ ∀𝑦𝑧 𝜑) ∧ 𝑧 = 𝐴) → ∀𝑥𝐴𝑦𝐵 (𝑥𝑦𝜑))
4443anasss 680 . . . 4 ((𝑧 ∈ 𝒫 𝐵 ∧ (∀𝑦𝑧 𝜑 𝑧 = 𝐴)) → ∀𝑥𝐴𝑦𝐵 (𝑥𝑦𝜑))
4544ancom2s 861 . . 3 ((𝑧 ∈ 𝒫 𝐵 ∧ ( 𝑧 = 𝐴 ∧ ∀𝑦𝑧 𝜑)) → ∀𝑥𝐴𝑦𝐵 (𝑥𝑦𝜑))
4645rexlimiva 3057 . 2 (∃𝑧 ∈ 𝒫 𝐵( 𝑧 = 𝐴 ∧ ∀𝑦𝑧 𝜑) → ∀𝑥𝐴𝑦𝐵 (𝑥𝑦𝜑))
4730, 46impbii 199 1 (∀𝑥𝐴𝑦𝐵 (𝑥𝑦𝜑) ↔ ∃𝑧 ∈ 𝒫 𝐵( 𝑧 = 𝐴 ∧ ∀𝑦𝑧 𝜑))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 196  wa 383  wal 1521   = wceq 1523  wcel 2030  wral 2941  wrex 2942  {crab 2945  Vcvv 3231  wss 3607  𝒫 cpw 4191   cuni 4468
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1762  ax-4 1777  ax-5 1879  ax-6 1945  ax-7 1981  ax-9 2039  ax-10 2059  ax-11 2074  ax-12 2087  ax-13 2282  ax-ext 2631  ax-sep 4814
This theorem depends on definitions:  df-bi 197  df-or 384  df-an 385  df-tru 1526  df-ex 1745  df-nf 1750  df-sb 1938  df-clab 2638  df-cleq 2644  df-clel 2647  df-nfc 2782  df-ral 2946  df-rex 2947  df-rab 2950  df-v 3233  df-in 3614  df-ss 3621  df-pw 4193  df-uni 4469
This theorem is referenced by:  cover2g  33639
  Copyright terms: Public domain W3C validator