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

Theorem pw2f1o 9149
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 2769 . . . 4 (𝑧 ∈ 𝐴 ↦ if(𝑧 ∈ 𝑥, 𝐶, 𝐵)) = (𝑧 ∈ 𝐴 ↦ if(𝑧 ∈ 𝑥, 𝐶, 𝐵))
3 pw2f1o.1 . . . . . 6 (𝜑 → 𝐴 ∈ 𝑉)
4 pw2f1o.2 . . . . . 6 (𝜑 → 𝐵 ∈ 𝑊)
5 pw2f1o.3 . . . . . 6 (𝜑 → 𝐶 ∈ 𝑊)
6 pw2f1o.4 . . . . . 6 (𝜑 → 𝐵 ≠ 𝐶)
73, 4, 5, 6pw2f1olem 9148 . . . . 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 3460 . . . . 5 𝑦 ∈ V
1211cnvex 7981 . . . 4 ◡𝑦 ∈ V
1312imaex 7970 . . 3 (◡𝑦 “ {𝐶}) ∈ V
1413a1i 11 . 2 ((𝜑 ∧ 𝑦 ∈ ({𝐵, 𝐶} ↑m 𝐴)) → (◡𝑦 “ {𝐶}) ∈ V)
153, 4, 5, 6pw2f1olem 9148 . 2 (𝜑 → ((𝑥 ∈ 𝒫 𝐴 ∧ 𝑦 = (𝑧 ∈ 𝐴 ↦ if(𝑧 ∈ 𝑥, 𝐶, 𝐵))) ↔ (𝑦 ∈ ({𝐵, 𝐶} ↑m 𝐴) ∧ 𝑥 = (◡𝑦 “ {𝐶}))))
161, 10, 14, 15f1od 7715 1 (𝜑 → 𝐹:𝒫 𝐴⟶1-1onto({𝐵, 𝐶} ↑m 𝐴))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1572   ∈ wcel 2151   ≠ wne 2965  Vcvv 3456  ifcif 4487  𝒫 cpw 4562  {csn 4590  {cpr 4592   ↦ cmpt 5195  ◡ccnv 5660   “ cima 5664  ⟶1-1ontowf1o 6572  (class class class)co 7461   ↑m cmap 8895
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2153  ax-9 2161  ax-10 2184  ax-11 2201  ax-12 2220  ax-ext 2741  ax-sep 5258  ax-nul 5269  ax-pow 5337  ax-pr 5401  ax-un 7793
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1815  df-nf 1819  df-sb 2105  df-mo 2571  df-eu 2601  df-clab 2748  df-cleq 2761  df-clel 2845  df-nfc 2919  df-ne 2966  df-ral 3087  df-rex 3097  df-rab 3419  df-v 3458  df-sbc 3745  df-ss 3903  df-dif 4052  df-in 4096  df-un 4156  df-nul 4284  df-if 4488  df-pw 4564  df-sn 4591  df-pr 4593  df-op 4844  df-uni 4876  df-br 5112  df-opab 5177  df-mpt 5196  df-id 5556  df-xp 5667  df-rel 5668  df-cnv 5669  df-co 5670  df-dm 5671  df-rn 5672  df-res 5673  df-ima 5674  df-iota 6527  df-fun 6575  df-fn 6576  df-f 6577  df-f1 6578  df-fo 6579  df-f1o 6580  df-fv 6581  df-ov 7464  df-oprab 7465  df-mpo 7466  df-map 8897
This theorem is used by:  pw2eng  9150  indf1o  33544
  Copyright terms: Public domain W3C validator