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 32678
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 3650 . . . 4 {𝑦𝐵𝜑} ⊆ 𝐵
2 cover2.1 . . . . 5 𝐵 ∈ V
32elpw2 4755 . . . 4 ({𝑦𝐵𝜑} ∈ 𝒫 𝐵 ↔ {𝑦𝐵𝜑} ⊆ 𝐵)
41, 3mpbir 220 . . 3 {𝑦𝐵𝜑} ∈ 𝒫 𝐵
5 nfra1 2925 . . . . 5 𝑥𝑥𝐴𝑦𝐵 (𝑥𝑦𝜑)
61unissi 4397 . . . . . . . 8 {𝑦𝐵𝜑} ⊆ 𝐵
76sseli 3564 . . . . . . 7 (𝑥 {𝑦𝐵𝜑} → 𝑥 𝐵)
8 cover2.2 . . . . . . 7 𝐴 = 𝐵
97, 8syl6eleqr 2699 . . . . . 6 (𝑥 {𝑦𝐵𝜑} → 𝑥𝐴)
10 rsp 2913 . . . . . . 7 (∀𝑥𝐴𝑦𝐵 (𝑥𝑦𝜑) → (𝑥𝐴 → ∃𝑦𝐵 (𝑥𝑦𝜑)))
11 elunirab 4384 . . . . . . 7 (𝑥 {𝑦𝐵𝜑} ↔ ∃𝑦𝐵 (𝑥𝑦𝜑))
1210, 11syl6ibr 241 . . . . . 6 (∀𝑥𝐴𝑦𝐵 (𝑥𝑦𝜑) → (𝑥𝐴𝑥 {𝑦𝐵𝜑}))
139, 12impbid2 215 . . . . 5 (∀𝑥𝐴𝑦𝐵 (𝑥𝑦𝜑) → (𝑥 {𝑦𝐵𝜑} ↔ 𝑥𝐴))
145, 13alrimi 2069 . . . 4 (∀𝑥𝐴𝑦𝐵 (𝑥𝑦𝜑) → ∀𝑥(𝑥 {𝑦𝐵𝜑} ↔ 𝑥𝐴))
15 dfcleq 2604 . . . 4 ( {𝑦𝐵𝜑} = 𝐴 ↔ ∀𝑥(𝑥 {𝑦𝐵𝜑} ↔ 𝑥𝐴))
1614, 15sylibr 223 . . 3 (∀𝑥𝐴𝑦𝐵 (𝑥𝑦𝜑) → {𝑦𝐵𝜑} = 𝐴)
17 unieq 4380 . . . . . . 7 (𝑧 = {𝑦𝐵𝜑} → 𝑧 = {𝑦𝐵𝜑})
1817eqeq1d 2612 . . . . . 6 (𝑧 = {𝑦𝐵𝜑} → ( 𝑧 = 𝐴 {𝑦𝐵𝜑} = 𝐴))
1918anbi1d 737 . . . . 5 (𝑧 = {𝑦𝐵𝜑} → (( 𝑧 = 𝐴 ∧ ∀𝑦𝑧 𝜑) ↔ ( {𝑦𝐵𝜑} = 𝐴 ∧ ∀𝑦𝑧 𝜑)))
20 nfrab1 3099 . . . . . . . 8 𝑦{𝑦𝐵𝜑}
2120nfeq2 2766 . . . . . . 7 𝑦 𝑧 = {𝑦𝐵𝜑}
22 eleq2 2677 . . . . . . . 8 (𝑧 = {𝑦𝐵𝜑} → (𝑦𝑧𝑦 ∈ {𝑦𝐵𝜑}))
23 rabid 3095 . . . . . . . . 9 (𝑦 ∈ {𝑦𝐵𝜑} ↔ (𝑦𝐵𝜑))
2423simprbi 479 . . . . . . . 8 (𝑦 ∈ {𝑦𝐵𝜑} → 𝜑)
2522, 24syl6bi 242 . . . . . . 7 (𝑧 = {𝑦𝐵𝜑} → (𝑦𝑧𝜑))
2621, 25ralrimi 2940 . . . . . 6 (𝑧 = {𝑦𝐵𝜑} → ∀𝑦𝑧 𝜑)
2726biantrud 527 . . . . 5 (𝑧 = {𝑦𝐵𝜑} → ( {𝑦𝐵𝜑} = 𝐴 ↔ ( {𝑦𝐵𝜑} = 𝐴 ∧ ∀𝑦𝑧 𝜑)))
2819, 27bitr4d 270 . . . 4 (𝑧 = {𝑦𝐵𝜑} → (( 𝑧 = 𝐴 ∧ ∀𝑦𝑧 𝜑) ↔ {𝑦𝐵𝜑} = 𝐴))
2928rspcev 3282 . . 3 (({𝑦𝐵𝜑} ∈ 𝒫 𝐵 {𝑦𝐵𝜑} = 𝐴) → ∃𝑧 ∈ 𝒫 𝐵( 𝑧 = 𝐴 ∧ ∀𝑦𝑧 𝜑))
304, 16, 29sylancr 694 . 2 (∀𝑥𝐴𝑦𝐵 (𝑥𝑦𝜑) → ∃𝑧 ∈ 𝒫 𝐵( 𝑧 = 𝐴 ∧ ∀𝑦𝑧 𝜑))
31 eleq2 2677 . . . . . . . . . 10 ( 𝑧 = 𝐴 → (𝑥 𝑧𝑥𝐴))
3231biimpar 501 . . . . . . . . 9 (( 𝑧 = 𝐴𝑥𝐴) → 𝑥 𝑧)
33 eluni2 4376 . . . . . . . . 9 (𝑥 𝑧 ↔ ∃𝑦𝑧 𝑥𝑦)
3432, 33sylib 207 . . . . . . . 8 (( 𝑧 = 𝐴𝑥𝐴) → ∃𝑦𝑧 𝑥𝑦)
35 elpwi 4117 . . . . . . . . . 10 (𝑧 ∈ 𝒫 𝐵𝑧𝐵)
36 r19.29r 3055 . . . . . . . . . . . 12 ((∃𝑦𝑧 𝑥𝑦 ∧ ∀𝑦𝑧 𝜑) → ∃𝑦𝑧 (𝑥𝑦𝜑))
3736expcom 450 . . . . . . . . . . 11 (∀𝑦𝑧 𝜑 → (∃𝑦𝑧 𝑥𝑦 → ∃𝑦𝑧 (𝑥𝑦𝜑)))
38 ssrexv 3630 . . . . . . . . . . 11 (𝑧𝐵 → (∃𝑦𝑧 (𝑥𝑦𝜑) → ∃𝑦𝐵 (𝑥𝑦𝜑)))
3937, 38sylan9r 688 . . . . . . . . . 10 ((𝑧𝐵 ∧ ∀𝑦𝑧 𝜑) → (∃𝑦𝑧 𝑥𝑦 → ∃𝑦𝐵 (𝑥𝑦𝜑)))
4035, 39sylan 487 . . . . . . . . 9 ((𝑧 ∈ 𝒫 𝐵 ∧ ∀𝑦𝑧 𝜑) → (∃𝑦𝑧 𝑥𝑦 → ∃𝑦𝐵 (𝑥𝑦𝜑)))
4140imp 444 . . . . . . . 8 (((𝑧 ∈ 𝒫 𝐵 ∧ ∀𝑦𝑧 𝜑) ∧ ∃𝑦𝑧 𝑥𝑦) → ∃𝑦𝐵 (𝑥𝑦𝜑))
4234, 41sylan2 490 . . . . . . 7 (((𝑧 ∈ 𝒫 𝐵 ∧ ∀𝑦𝑧 𝜑) ∧ ( 𝑧 = 𝐴𝑥𝐴)) → ∃𝑦𝐵 (𝑥𝑦𝜑))
4342anassrs 678 . . . . . 6 ((((𝑧 ∈ 𝒫 𝐵 ∧ ∀𝑦𝑧 𝜑) ∧ 𝑧 = 𝐴) ∧ 𝑥𝐴) → ∃𝑦𝐵 (𝑥𝑦𝜑))
4443ralrimiva 2949 . . . . 5 (((𝑧 ∈ 𝒫 𝐵 ∧ ∀𝑦𝑧 𝜑) ∧ 𝑧 = 𝐴) → ∀𝑥𝐴𝑦𝐵 (𝑥𝑦𝜑))
4544anasss 677 . . . 4 ((𝑧 ∈ 𝒫 𝐵 ∧ (∀𝑦𝑧 𝜑 𝑧 = 𝐴)) → ∀𝑥𝐴𝑦𝐵 (𝑥𝑦𝜑))
4645ancom2s 840 . . 3 ((𝑧 ∈ 𝒫 𝐵 ∧ ( 𝑧 = 𝐴 ∧ ∀𝑦𝑧 𝜑)) → ∀𝑥𝐴𝑦𝐵 (𝑥𝑦𝜑))
4746rexlimiva 3010 . 2 (∃𝑧 ∈ 𝒫 𝐵( 𝑧 = 𝐴 ∧ ∀𝑦𝑧 𝜑) → ∀𝑥𝐴𝑦𝐵 (𝑥𝑦𝜑))
4830, 47impbii 198 1 (∀𝑥𝐴𝑦𝐵 (𝑥𝑦𝜑) ↔ ∃𝑧 ∈ 𝒫 𝐵( 𝑧 = 𝐴 ∧ ∀𝑦𝑧 𝜑))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 195  wa 383  wal 1473   = wceq 1475  wcel 1977  wral 2896  wrex 2897  {crab 2900  Vcvv 3173  wss 3540  𝒫 cpw 4108   cuni 4372
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1713  ax-4 1728  ax-5 1827  ax-6 1875  ax-7 1922  ax-10 2006  ax-11 2021  ax-12 2034  ax-13 2234  ax-ext 2590  ax-sep 4709
This theorem depends on definitions:  df-bi 196  df-or 384  df-an 385  df-tru 1478  df-ex 1696  df-nf 1701  df-sb 1868  df-clab 2597  df-cleq 2603  df-clel 2606  df-nfc 2740  df-ral 2901  df-rex 2902  df-rab 2905  df-v 3175  df-in 3547  df-ss 3554  df-pw 4110  df-uni 4373
This theorem is referenced by:  cover2g  32679
  Copyright terms: Public domain W3C validator