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

Theorem pw2f1o 9104
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-1-onto→({𝐵, 𝐶} ↑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 2760 . . . 4 (𝑧 ∈ 𝐴 ↦ if(𝑧 ∈ 𝑥, 𝐶, 𝐵)) = (𝑧 ∈ 𝐴 ↦ if(𝑧 ∈ 𝑥, 𝐶, 𝐵))
3 pw2f1o.1 . . . . . 6 (𝜑 → 𝐴 ∈ 𝑉)
4 pw2f1o.2 . . . . . 6 (𝜑 → 𝐵 ∈ 𝑊)
5 pw2f1o.3 . . . . . 6 (𝜑 → 𝐶 ∈ 𝑊)
6 pw2f1o.4 . . . . . 6 (𝜑 → 𝐵 ≠ 𝐶)
73, 4, 5, 6pw2f1olem 9103 . . . . 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 3454 . . . . 5 𝑦 ∈ V
1211cnvex 7937 . . . 4 ◡𝑦 ∈ V
1312imaex 7926 . . 3 (◡𝑦 “ {𝐶}) ∈ V
1413a1i 11 . 2 ((𝜑 ∧ 𝑦 ∈ ({𝐵, 𝐶} ↑m 𝐴)) → (◡𝑦 “ {𝐶}) ∈ V)
153, 4, 5, 6pw2f1olem 9103 . 2 (𝜑 → ((𝑥 ∈ 𝒫 𝐴 ∧ 𝑦 = (𝑧 ∈ 𝐴 ↦ if(𝑧 ∈ 𝑥, 𝐶, 𝐵))) ↔ (𝑦 ∈ ({𝐵, 𝐶} ↑m 𝐴) ∧ 𝑥 = (◡𝑦 “ {𝐶}))))
161, 10, 14, 15f1od 7673 1 (𝜑 → 𝐹:𝒫 𝐴–1-1-onto→({𝐵, 𝐶} ↑m 𝐴))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1569   ∈ wcel 2144   ≠ wne 2955  Vcvv 3450  ifcif 4481  𝒫 cpw 4556  {csn 4584  {cpr 4586   ↦ cmpt 5185  ◡ccnv 5649   “ cima 5653  –1-1-onto→wf1o 6537  (class class class)co 7420   ↑m cmap 8850
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732  ax-sep 5248  ax-nul 5259  ax-pow 5326  ax-pr 5390  ax-un 7751
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2099  df-mo 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ne 2956  df-ral 3077  df-rex 3087  df-rab 3413  df-v 3452  df-sbc 3739  df-ss 3896  df-dif 4047  df-in 4091  df-un 4151  df-nul 4279  df-if 4482  df-pw 4558  df-sn 4585  df-pr 4587  df-op 4835  df-uni 4867  df-br 5103  df-opab 5167  df-mpt 5186  df-id 5545  df-xp 5656  df-rel 5657  df-cnv 5658  df-co 5659  df-dm 5660  df-rn 5661  df-res 5662  df-ima 5663  df-iota 6494  df-fun 6540  df-fn 6541  df-f 6542  df-f1 6543  df-fo 6544  df-f1o 6545  df-fv 6546  df-ov 7423  df-oprab 7424  df-mpo 7425  df-map 8852
This theorem is used by:  pw2eng  9105  indf1o  33477
  Copyright terms: Public domain W3C validator