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

Theorem pw2f1o 9129
Description: The power set of a set is equinumerous to set exponentiation with an unordered pair base of ordinal 2. Generalized from Proposition 10.44 of [TakeutiZaring] p. 96. (Contributed by Mario Carneiro, 6-Oct-2014.)
Hypotheses
Ref Expression
pw2f1o.1 (𝜑 → 𝐴 ∈ 𝑉)
pw2f1o.2 (𝜑 → 𝐵 ∈ 𝑊)
pw2f1o.3 (𝜑 → 𝐶 ∈ 𝑊)
pw2f1o.4 (𝜑 → 𝐵 ≠ 𝐶)
pw2f1o.5 𝐹 = (𝑥 ∈ 𝒫 𝐴 ↦ (𝑧 ∈ 𝐴 ↦ if(𝑧 ∈ 𝑥, 𝐶, 𝐵)))
Assertion
Ref Expression
pw2f1o (𝜑 → 𝐹:𝒫 𝐴⟶1-1onto({𝐵, 𝐶} ↑m 𝐴))
Distinct variable groups:   𝑥,𝑧,𝐴   𝑥,𝐵,𝑧   𝑥,𝐶,𝑧   𝜑,𝑥
Allowed substitution hints:   𝜑(𝑧)   𝐹(𝑥, 𝑧)   𝑉(𝑥, 𝑧)   𝑊(𝑥, 𝑧)

Proof of Theorem pw2f1o
Dummy variable 𝑦 is distinct from all other variables.
StepHypRef Expression
1 pw2f1o.5 . 2 𝐹 = (𝑥 ∈ 𝒫 𝐴 ↦ (𝑧 ∈ 𝐴 ↦ if(𝑧 ∈ 𝑥, 𝐶, 𝐵)))
2 eqid 2763 . . . 4 (𝑧 ∈ 𝐴 ↦ if(𝑧 ∈ 𝑥, 𝐶, 𝐵)) = (𝑧 ∈ 𝐴 ↦ if(𝑧 ∈ 𝑥, 𝐶, 𝐵))
3 pw2f1o.1 . . . . . 6 (𝜑 → 𝐴 ∈ 𝑉)
4 pw2f1o.2 . . . . . 6 (𝜑 → 𝐵 ∈ 𝑊)
5 pw2f1o.3 . . . . . 6 (𝜑 → 𝐶 ∈ 𝑊)
6 pw2f1o.4 . . . . . 6 (𝜑 → 𝐵 ≠ 𝐶)
73, 4, 5, 6pw2f1olem 9128 . . . . 5 (𝜑 → ((𝑥 ∈ 𝒫 𝐴 ∧ (𝑧 ∈ 𝐴 ↦ if(𝑧 ∈ 𝑥, 𝐶, 𝐵)) = (𝑧 ∈ 𝐴 ↦ if(𝑧 ∈ 𝑥, 𝐶, 𝐵))) ↔ ((𝑧 ∈ 𝐴 ↦ if(𝑧 ∈ 𝑥, 𝐶, 𝐵)) ∈ ({𝐵, 𝐶} ↑m 𝐴) ∧ 𝑥 = (◡(𝑧 ∈ 𝐴 ↦ if(𝑧 ∈ 𝑥, 𝐶, 𝐵)) “ {𝐶}))))
87biimpa 482 . . . 4 ((𝜑 ∧ (𝑥 ∈ 𝒫 𝐴 ∧ (𝑧 ∈ 𝐴 ↦ if(𝑧 ∈ 𝑥, 𝐶, 𝐵)) = (𝑧 ∈ 𝐴 ↦ if(𝑧 ∈ 𝑥, 𝐶, 𝐵)))) → ((𝑧 ∈ 𝐴 ↦ if(𝑧 ∈ 𝑥, 𝐶, 𝐵)) ∈ ({𝐵, 𝐶} ↑m 𝐴) ∧ 𝑥 = (◡(𝑧 ∈ 𝐴 ↦ if(𝑧 ∈ 𝑥, 𝐶, 𝐵)) “ {𝐶})))
92, 8mpanr2 717 . . 3 ((𝜑 ∧ 𝑥 ∈ 𝒫 𝐴) → ((𝑧 ∈ 𝐴 ↦ if(𝑧 ∈ 𝑥, 𝐶, 𝐵)) ∈ ({𝐵, 𝐶} ↑m 𝐴) ∧ 𝑥 = (◡(𝑧 ∈ 𝐴 ↦ if(𝑧 ∈ 𝑥, 𝐶, 𝐵)) “ {𝐶})))
109simpld 500 . 2 ((𝜑 ∧ 𝑥 ∈ 𝒫 𝐴) → (𝑧 ∈ 𝐴 ↦ if(𝑧 ∈ 𝑥, 𝐶, 𝐵)) ∈ ({𝐵, 𝐶} ↑m 𝐴))
11 vex 3458 . . . . 5 𝑦 ∈ V
1211cnvex 7961 . . . 4 ◡𝑦 ∈ V
1312imaex 7950 . . 3 (◡𝑦 “ {𝐶}) ∈ V
1413a1i 11 . 2 ((𝜑 ∧ 𝑦 ∈ ({𝐵, 𝐶} ↑m 𝐴)) → (◡𝑦 “ {𝐶}) ∈ V)
153, 4, 5, 6pw2f1olem 9128 . 2 (𝜑 → ((𝑥 ∈ 𝒫 𝐴 ∧ 𝑦 = (𝑧 ∈ 𝐴 ↦ if(𝑧 ∈ 𝑥, 𝐶, 𝐵))) ↔ (𝑦 ∈ ({𝐵, 𝐶} ↑m 𝐴) ∧ 𝑥 = (◡𝑦 “ {𝐶}))))
161, 10, 14, 15f1od 7697 1 (𝜑 → 𝐹:𝒫 𝐴⟶1-1onto({𝐵, 𝐶} ↑m 𝐴))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1570   ∈ wcel 2147   ≠ wne 2959  Vcvv 3454  ifcif 4485  𝒫 cpw 4560  {csn 4588  {cpr 4590   ↦ cmpt 5189  ◡ccnv 5654   “ cima 5658  ⟶1-1ontowf1o 6557  (class class class)co 7443   ↑m cmap 8875
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 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735  ax-sep 5252  ax-nul 5263  ax-pow 5331  ax-pr 5395  ax-un 7775
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-nf 1817  df-sb 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ne 2960  df-ral 3081  df-rex 3091  df-rab 3417  df-v 3456  df-sbc 3743  df-ss 3901  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-pw 4562  df-sn 4589  df-pr 4591  df-op 4839  df-uni 4871  df-br 5107  df-opab 5171  df-mpt 5190  df-id 5550  df-xp 5661  df-rel 5662  df-cnv 5663  df-co 5664  df-dm 5665  df-rn 5666  df-res 5667  df-ima 5668  df-iota 6512  df-fun 6560  df-fn 6561  df-f 6562  df-f1 6563  df-fo 6564  df-f1o 6565  df-fv 6566  df-ov 7446  df-oprab 7447  df-mpo 7448  df-map 8877
This theorem is used by:  pw2eng  9130  indf1o  33501
  Copyright terms: Public domain W3C validator