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

Theorem ixpsnf1o 8959
Description: A bijection between a class and single-point functions to it. (Contributed by Stefan O'Rear, 24-Jan-2015.)
Hypothesis
Ref Expression
ixpsnf1o.f 𝐹 = (𝑥 ∈ 𝐴 ↦ ({𝐼} × {𝑥}))
Assertion
Ref Expression
ixpsnf1o (𝐼 ∈ 𝑉 → 𝐹:𝐴–1-1-onto→X𝑦 ∈ {𝐼}𝐴)
Distinct variable groups:   𝑥,𝐼,𝑦   𝑥,𝐴,𝑦   𝑥,𝑉,𝑦   𝑦,𝐹
Allowed substitution hint:   𝐹(𝑥)

Proof of Theorem ixpsnf1o
Dummy variables 𝑎 𝑏 𝑐 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 ixpsnf1o.f . 2 𝐹 = (𝑥 ∈ 𝐴 ↦ ({𝐼} × {𝑥}))
2 snex 5397 . . . 4 {𝐼} ∈ V
3 snex 5397 . . . 4 {𝑥} ∈ V
42, 3xpex 7765 . . 3 ({𝐼} × {𝑥}) ∈ V
54a1i 11 . 2 ((𝐼 ∈ 𝑉 ∧ 𝑥 ∈ 𝐴) → ({𝐼} × {𝑥}) ∈ V)
6 vex 3455 . . . . 5 𝑎 ∈ V
76rnex 7920 . . . 4 ran 𝑎 ∈ V
87uniex 7756 . . 3 ∪ ran 𝑎 ∈ V
98a1i 11 . 2 ((𝐼 ∈ 𝑉 ∧ 𝑎 ∈ X𝑦 ∈ {𝐼}𝐴) → ∪ ran 𝑎 ∈ V)
10 sneq 4594 . . . . . 6 (𝑏 = 𝐼 → {𝑏} = {𝐼})
1110xpeq1d 5680 . . . . 5 (𝑏 = 𝐼 → ({𝑏} × {𝑥}) = ({𝐼} × {𝑥}))
1211eqeq2d 2772 . . . 4 (𝑏 = 𝐼 → (𝑎 = ({𝑏} × {𝑥}) ↔ 𝑎 = ({𝐼} × {𝑥})))
1312anbi2d 642 . . 3 (𝑏 = 𝐼 → ((𝑥 ∈ 𝐴 ∧ 𝑎 = ({𝑏} × {𝑥})) ↔ (𝑥 ∈ 𝐴 ∧ 𝑎 = ({𝐼} × {𝑥}))))
14 elixpsn 8958 . . . . . 6 (𝑏 ∈ V → (𝑎 ∈ X𝑦 ∈ {𝑏}𝐴 ↔ ∃𝑐 ∈ 𝐴 𝑎 = {⟨𝑏, 𝑐⟩}))
1514elv 3456 . . . . 5 (𝑎 ∈ X𝑦 ∈ {𝑏}𝐴 ↔ ∃𝑐 ∈ 𝐴 𝑎 = {⟨𝑏, 𝑐⟩})
1610ixpeq1d 8930 . . . . . 6 (𝑏 = 𝐼 → X𝑦 ∈ {𝑏}𝐴 = X𝑦 ∈ {𝐼}𝐴)
1716eleq2d 2847 . . . . 5 (𝑏 = 𝐼 → (𝑎 ∈ X𝑦 ∈ {𝑏}𝐴 ↔ 𝑎 ∈ X𝑦 ∈ {𝐼}𝐴))
1815, 17bitr3id 288 . . . 4 (𝑏 = 𝐼 → (∃𝑐 ∈ 𝐴 𝑎 = {⟨𝑏, 𝑐⟩} ↔ 𝑎 ∈ X𝑦 ∈ {𝐼}𝐴))
1918anbi1d 643 . . 3 (𝑏 = 𝐼 → ((∃𝑐 ∈ 𝐴 𝑎 = {⟨𝑏, 𝑐⟩} ∧ 𝑥 = ∪ ran 𝑎) ↔ (𝑎 ∈ X𝑦 ∈ {𝐼}𝐴 ∧ 𝑥 = ∪ ran 𝑎)))
20 vex 3455 . . . . . . 7 𝑏 ∈ V
21 vex 3455 . . . . . . 7 𝑥 ∈ V
2220, 21xpsn 7139 . . . . . 6 ({𝑏} × {𝑥}) = {⟨𝑏, 𝑥⟩}
2322eqeq2i 2774 . . . . 5 (𝑎 = ({𝑏} × {𝑥}) ↔ 𝑎 = {⟨𝑏, 𝑥⟩})
2423anbi2i 635 . . . 4 ((𝑥 ∈ 𝐴 ∧ 𝑎 = ({𝑏} × {𝑥})) ↔ (𝑥 ∈ 𝐴 ∧ 𝑎 = {⟨𝑏, 𝑥⟩}))
25 eqid 2761 . . . . . . . . 9 {⟨𝑏, 𝑥⟩} = {⟨𝑏, 𝑥⟩}
26 opeq2 4834 . . . . . . . . . . 11 (𝑐 = 𝑥 → ⟨𝑏, 𝑐⟩ = ⟨𝑏, 𝑥⟩)
2726sneqd 4596 . . . . . . . . . 10 (𝑐 = 𝑥 → {⟨𝑏, 𝑐⟩} = {⟨𝑏, 𝑥⟩})
2827rspceeqv 3599 . . . . . . . . 9 ((𝑥 ∈ 𝐴 ∧ {⟨𝑏, 𝑥⟩} = {⟨𝑏, 𝑥⟩}) → ∃𝑐 ∈ 𝐴 {⟨𝑏, 𝑥⟩} = {⟨𝑏, 𝑐⟩})
2925, 28mpan2 704 . . . . . . . 8 (𝑥 ∈ 𝐴 → ∃𝑐 ∈ 𝐴 {⟨𝑏, 𝑥⟩} = {⟨𝑏, 𝑐⟩})
3020, 21op2nda 6228 . . . . . . . . 9 ∪ ran {⟨𝑏, 𝑥⟩} = 𝑥
3130eqcomi 2770 . . . . . . . 8 𝑥 = ∪ ran {⟨𝑏, 𝑥⟩}
3229, 31jctir 530 . . . . . . 7 (𝑥 ∈ 𝐴 → (∃𝑐 ∈ 𝐴 {⟨𝑏, 𝑥⟩} = {⟨𝑏, 𝑐⟩} ∧ 𝑥 = ∪ ran {⟨𝑏, 𝑥⟩}))
33 eqeq1 2765 . . . . . . . . 9 (𝑎 = {⟨𝑏, 𝑥⟩} → (𝑎 = {⟨𝑏, 𝑐⟩} ↔ {⟨𝑏, 𝑥⟩} = {⟨𝑏, 𝑐⟩}))
3433rexbidv 3187 . . . . . . . 8 (𝑎 = {⟨𝑏, 𝑥⟩} → (∃𝑐 ∈ 𝐴 𝑎 = {⟨𝑏, 𝑐⟩} ↔ ∃𝑐 ∈ 𝐴 {⟨𝑏, 𝑥⟩} = {⟨𝑏, 𝑐⟩}))
35 rneq 5918 . . . . . . . . . 10 (𝑎 = {⟨𝑏, 𝑥⟩} → ran 𝑎 = ran {⟨𝑏, 𝑥⟩})
3635unieqd 4880 . . . . . . . . 9 (𝑎 = {⟨𝑏, 𝑥⟩} → ∪ ran 𝑎 = ∪ ran {⟨𝑏, 𝑥⟩})
3736eqeq2d 2772 . . . . . . . 8 (𝑎 = {⟨𝑏, 𝑥⟩} → (𝑥 = ∪ ran 𝑎 ↔ 𝑥 = ∪ ran {⟨𝑏, 𝑥⟩}))
3834, 37anbi12d 644 . . . . . . 7 (𝑎 = {⟨𝑏, 𝑥⟩} → ((∃𝑐 ∈ 𝐴 𝑎 = {⟨𝑏, 𝑐⟩} ∧ 𝑥 = ∪ ran 𝑎) ↔ (∃𝑐 ∈ 𝐴 {⟨𝑏, 𝑥⟩} = {⟨𝑏, 𝑐⟩} ∧ 𝑥 = ∪ ran {⟨𝑏, 𝑥⟩})))
3932, 38syl5ibrcom 250 . . . . . 6 (𝑥 ∈ 𝐴 → (𝑎 = {⟨𝑏, 𝑥⟩} → (∃𝑐 ∈ 𝐴 𝑎 = {⟨𝑏, 𝑐⟩} ∧ 𝑥 = ∪ ran 𝑎)))
4039imp 412 . . . . 5 ((𝑥 ∈ 𝐴 ∧ 𝑎 = {⟨𝑏, 𝑥⟩}) → (∃𝑐 ∈ 𝐴 𝑎 = {⟨𝑏, 𝑐⟩} ∧ 𝑥 = ∪ ran 𝑎))
41 vex 3455 . . . . . . . . . . 11 𝑐 ∈ V
4220, 41op2nda 6228 . . . . . . . . . 10 ∪ ran {⟨𝑏, 𝑐⟩} = 𝑐
4342eqeq2i 2774 . . . . . . . . 9 (𝑥 = ∪ ran {⟨𝑏, 𝑐⟩} ↔ 𝑥 = 𝑐)
44 eqidd 2762 . . . . . . . . . . 11 (𝑐 ∈ 𝐴 → {⟨𝑏, 𝑐⟩} = {⟨𝑏, 𝑐⟩})
4544ancli 558 . . . . . . . . . 10 (𝑐 ∈ 𝐴 → (𝑐 ∈ 𝐴 ∧ {⟨𝑏, 𝑐⟩} = {⟨𝑏, 𝑐⟩}))
46 eleq1w 2844 . . . . . . . . . . 11 (𝑥 = 𝑐 → (𝑥 ∈ 𝐴 ↔ 𝑐 ∈ 𝐴))
47 opeq2 4834 . . . . . . . . . . . . 13 (𝑥 = 𝑐 → ⟨𝑏, 𝑥⟩ = ⟨𝑏, 𝑐⟩)
4847sneqd 4596 . . . . . . . . . . . 12 (𝑥 = 𝑐 → {⟨𝑏, 𝑥⟩} = {⟨𝑏, 𝑐⟩})
4948eqeq2d 2772 . . . . . . . . . . 11 (𝑥 = 𝑐 → ({⟨𝑏, 𝑐⟩} = {⟨𝑏, 𝑥⟩} ↔ {⟨𝑏, 𝑐⟩} = {⟨𝑏, 𝑐⟩}))
5046, 49anbi12d 644 . . . . . . . . . 10 (𝑥 = 𝑐 → ((𝑥 ∈ 𝐴 ∧ {⟨𝑏, 𝑐⟩} = {⟨𝑏, 𝑥⟩}) ↔ (𝑐 ∈ 𝐴 ∧ {⟨𝑏, 𝑐⟩} = {⟨𝑏, 𝑐⟩})))
5145, 50syl5ibrcom 250 . . . . . . . . 9 (𝑐 ∈ 𝐴 → (𝑥 = 𝑐 → (𝑥 ∈ 𝐴 ∧ {⟨𝑏, 𝑐⟩} = {⟨𝑏, 𝑥⟩})))
5243, 51biimtrid 245 . . . . . . . 8 (𝑐 ∈ 𝐴 → (𝑥 = ∪ ran {⟨𝑏, 𝑐⟩} → (𝑥 ∈ 𝐴 ∧ {⟨𝑏, 𝑐⟩} = {⟨𝑏, 𝑥⟩})))
53 rneq 5918 . . . . . . . . . . 11 (𝑎 = {⟨𝑏, 𝑐⟩} → ran 𝑎 = ran {⟨𝑏, 𝑐⟩})
5453unieqd 4880 . . . . . . . . . 10 (𝑎 = {⟨𝑏, 𝑐⟩} → ∪ ran 𝑎 = ∪ ran {⟨𝑏, 𝑐⟩})
5554eqeq2d 2772 . . . . . . . . 9 (𝑎 = {⟨𝑏, 𝑐⟩} → (𝑥 = ∪ ran 𝑎 ↔ 𝑥 = ∪ ran {⟨𝑏, 𝑐⟩}))
56 eqeq1 2765 . . . . . . . . . 10 (𝑎 = {⟨𝑏, 𝑐⟩} → (𝑎 = {⟨𝑏, 𝑥⟩} ↔ {⟨𝑏, 𝑐⟩} = {⟨𝑏, 𝑥⟩}))
5756anbi2d 642 . . . . . . . . 9 (𝑎 = {⟨𝑏, 𝑐⟩} → ((𝑥 ∈ 𝐴 ∧ 𝑎 = {⟨𝑏, 𝑥⟩}) ↔ (𝑥 ∈ 𝐴 ∧ {⟨𝑏, 𝑐⟩} = {⟨𝑏, 𝑥⟩})))
5855, 57imbi12d 347 . . . . . . . 8 (𝑎 = {⟨𝑏, 𝑐⟩} → ((𝑥 = ∪ ran 𝑎 → (𝑥 ∈ 𝐴 ∧ 𝑎 = {⟨𝑏, 𝑥⟩})) ↔ (𝑥 = ∪ ran {⟨𝑏, 𝑐⟩} → (𝑥 ∈ 𝐴 ∧ {⟨𝑏, 𝑐⟩} = {⟨𝑏, 𝑥⟩}))))
5952, 58syl5ibrcom 250 . . . . . . 7 (𝑐 ∈ 𝐴 → (𝑎 = {⟨𝑏, 𝑐⟩} → (𝑥 = ∪ ran 𝑎 → (𝑥 ∈ 𝐴 ∧ 𝑎 = {⟨𝑏, 𝑥⟩}))))
6059rexlimiv 3157 . . . . . 6 (∃𝑐 ∈ 𝐴 𝑎 = {⟨𝑏, 𝑐⟩} → (𝑥 = ∪ ran 𝑎 → (𝑥 ∈ 𝐴 ∧ 𝑎 = {⟨𝑏, 𝑥⟩})))
6160imp 412 . . . . 5 ((∃𝑐 ∈ 𝐴 𝑎 = {⟨𝑏, 𝑐⟩} ∧ 𝑥 = ∪ ran 𝑎) → (𝑥 ∈ 𝐴 ∧ 𝑎 = {⟨𝑏, 𝑥⟩}))
6240, 61impbii 212 . . . 4 ((𝑥 ∈ 𝐴 ∧ 𝑎 = {⟨𝑏, 𝑥⟩}) ↔ (∃𝑐 ∈ 𝐴 𝑎 = {⟨𝑏, 𝑐⟩} ∧ 𝑥 = ∪ ran 𝑎))
6324, 62bitri 278 . . 3 ((𝑥 ∈ 𝐴 ∧ 𝑎 = ({𝑏} × {𝑥})) ↔ (∃𝑐 ∈ 𝐴 𝑎 = {⟨𝑏, 𝑐⟩} ∧ 𝑥 = ∪ ran 𝑎))
6413, 19, 63vtoclbg 3520 . 2 (𝐼 ∈ 𝑉 → ((𝑥 ∈ 𝐴 ∧ 𝑎 = ({𝐼} × {𝑥})) ↔ (𝑎 ∈ X𝑦 ∈ {𝐼}𝐴 ∧ 𝑥 = ∪ ran 𝑎)))
651, 5, 9, 64f1od 7671 1 (𝐼 ∈ 𝑉 → 𝐹:𝐴–1-1-onto→X𝑦 ∈ {𝐼}𝐴)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1570   ∈ wcel 2145  ∃wrex 3087  Vcvv 3451  {csn 4584  ⟨cop 4590  ∪ cuni 4867   ↦ cmpt 5186   × cxp 5649  ran crn 5652  –1-1-onto→wf1o 6536  Xcixp 8918
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 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2733  ax-sep 5249  ax-nul 5260  ax-pow 5327  ax-pr 5391  ax-un 7749
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 2100  df-mo 2565  df-eu 2595  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-ne 2957  df-ral 3078  df-rex 3088  df-reu 3367  df-rab 3414  df-v 3453  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-nul 4280  df-if 4483  df-pw 4559  df-sn 4585  df-pr 4587  df-op 4591  df-uni 4868  df-br 5104  df-opab 5168  df-mpt 5187  df-id 5546  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-rn 5662  df-res 5663  df-ima 5664  df-iota 6493  df-fun 6539  df-fn 6540  df-f 6541  df-f1 6542  df-fo 6543  df-f1o 6544  df-fv 6545  df-ixp 8919
This theorem is used by:  mapsnf1o  8960
  Copyright terms: Public domain W3C validator