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

Theorem ixpsnf1o 9020
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-1ontoX𝑦 ∈ {𝐼}𝐴)
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 5412 . . . 4 {𝐼} ∈ V
3 snex 5412 . . . 4 {𝑥} ∈ V
42, 3xpex 7815 . . 3 ({𝐼} × {𝑥}) ∈ V
54a1i 11 . 2 ((𝐼 ∈ 𝑉 ∧ 𝑥 ∈ 𝐴) → ({𝐼} × {𝑥}) ∈ V)
6 vex 3465 . . . . 5 𝑎 ∈ V
76rnex 7972 . . . 4 ran 𝑎 ∈ V
87uniex 7806 . . 3 ∪ ran 𝑎 ∈ V
98a1i 11 . 2 ((𝐼 ∈ 𝑉 ∧ 𝑎 ∈ X𝑦 ∈ {𝐼}𝐴) → ∪ ran 𝑎 ∈ V)
10 sneq 4601 . . . . . 6 (𝑏 = 𝐼 → {𝑏} = {𝐼})
1110xpeq1d 5695 . . . . 5 (𝑏 = 𝐼 → ({𝑏} × {𝑥}) = ({𝐼} × {𝑥}))
1211eqeq2d 2785 . . . 4 (𝑏 = 𝐼 → (𝑎 = ({𝑏} × {𝑥}) ↔ 𝑎 = ({𝐼} × {𝑥})))
1312anbi2d 642 . . 3 (𝑏 = 𝐼 → ((𝑥 ∈ 𝐴 ∧ 𝑎 = ({𝑏} × {𝑥})) ↔ (𝑥 ∈ 𝐴 ∧ 𝑎 = ({𝐼} × {𝑥}))))
14 elixpsn 9019 . . . . . 6 (𝑏 ∈ V → (𝑎 ∈ X𝑦 ∈ {𝑏}𝐴 ↔ ∃𝑐 ∈ 𝐴 𝑎 = {⟨𝑏, 𝑐⟩}))
1514elv 3466 . . . . 5 (𝑎 ∈ X𝑦 ∈ {𝑏}𝐴 ↔ ∃𝑐 ∈ 𝐴 𝑎 = {⟨𝑏, 𝑐⟩})
1610ixpeq1d 8991 . . . . . 6 (𝑏 = 𝐼 → X𝑦 ∈ {𝑏}𝐴 = X𝑦 ∈ {𝐼}𝐴)
1716eleq2d 2861 . . . . 5 (𝑏 = 𝐼 → (𝑎 ∈ X𝑦 ∈ {𝑏}𝐴 ↔ 𝑎 ∈ X𝑦 ∈ {𝐼}𝐴))
1815, 17bitr3id 288 . . . 4 (𝑏 = 𝐼 → (∃𝑐 ∈ 𝐴 𝑎 = {⟨𝑏, 𝑐⟩} ↔ 𝑎 ∈ X𝑦 ∈ {𝐼}𝐴))
1918anbi1d 643 . . 3 (𝑏 = 𝐼 → ((∃𝑐 ∈ 𝐴 𝑎 = {⟨𝑏, 𝑐⟩} ∧ 𝑥 = ∪ ran 𝑎) ↔ (𝑎 ∈ X𝑦 ∈ {𝐼}𝐴 ∧ 𝑥 = ∪ ran 𝑎)))
20 vex 3465 . . . . . . 7 𝑏 ∈ V
21 vex 3465 . . . . . . 7 𝑥 ∈ V
2220, 21xpsn 7188 . . . . . 6 ({𝑏} × {𝑥}) = {⟨𝑏, 𝑥⟩}
2322eqeq2i 2787 . . . . 5 (𝑎 = ({𝑏} × {𝑥}) ↔ 𝑎 = {⟨𝑏, 𝑥⟩})
2423anbi2i 635 . . . 4 ((𝑥 ∈ 𝐴 ∧ 𝑎 = ({𝑏} × {𝑥})) ↔ (𝑥 ∈ 𝐴 ∧ 𝑎 = {⟨𝑏, 𝑥⟩}))
25 eqid 2774 . . . . . . . . 9 {⟨𝑏, 𝑥⟩} = {⟨𝑏, 𝑥⟩}
26 opeq2 4854 . . . . . . . . . . 11 (𝑐 = 𝑥 → ⟨𝑏, 𝑐⟩ = ⟨𝑏, 𝑥⟩)
2726sneqd 4603 . . . . . . . . . 10 (𝑐 = 𝑥 → {⟨𝑏, 𝑐⟩} = {⟨𝑏, 𝑥⟩})
2827rspceeqv 3609 . . . . . . . . 9 ((𝑥 ∈ 𝐴 ∧ {⟨𝑏, 𝑥⟩} = {⟨𝑏, 𝑥⟩}) → ∃𝑐 ∈ 𝐴 {⟨𝑏, 𝑥⟩} = {⟨𝑏, 𝑐⟩})
2925, 28mpan2 704 . . . . . . . 8 (𝑥 ∈ 𝐴 → ∃𝑐 ∈ 𝐴 {⟨𝑏, 𝑥⟩} = {⟨𝑏, 𝑐⟩})
3020, 21op2nda 6260 . . . . . . . . 9 ∪ ran {⟨𝑏, 𝑥⟩} = 𝑥
3130eqcomi 2783 . . . . . . . 8 𝑥 = ∪ ran {⟨𝑏, 𝑥⟩}
3229, 31jctir 530 . . . . . . 7 (𝑥 ∈ 𝐴 → (∃𝑐 ∈ 𝐴 {⟨𝑏, 𝑥⟩} = {⟨𝑏, 𝑐⟩} ∧ 𝑥 = ∪ ran {⟨𝑏, 𝑥⟩}))
33 eqeq1 2778 . . . . . . . . 9 (𝑎 = {⟨𝑏, 𝑥⟩} → (𝑎 = {⟨𝑏, 𝑐⟩} ↔ {⟨𝑏, 𝑥⟩} = {⟨𝑏, 𝑐⟩}))
3433rexbidv 3201 . . . . . . . 8 (𝑎 = {⟨𝑏, 𝑥⟩} → (∃𝑐 ∈ 𝐴 𝑎 = {⟨𝑏, 𝑐⟩} ↔ ∃𝑐 ∈ 𝐴 {⟨𝑏, 𝑥⟩} = {⟨𝑏, 𝑐⟩}))
35 rneq 5938 . . . . . . . . . 10 (𝑎 = {⟨𝑏, 𝑥⟩} → ran 𝑎 = ran {⟨𝑏, 𝑥⟩})
3635unieqd 4893 . . . . . . . . 9 (𝑎 = {⟨𝑏, 𝑥⟩} → ∪ ran 𝑎 = ∪ ran {⟨𝑏, 𝑥⟩})
3736eqeq2d 2785 . . . . . . . 8 (𝑎 = {⟨𝑏, 𝑥⟩} → (𝑥 = ∪ ran 𝑎 ↔ 𝑥 = ∪ ran {⟨𝑏, 𝑥⟩}))
3834, 37anbi12d 644 . . . . . . 7 (𝑎 = {⟨𝑏, 𝑥⟩} → ((∃𝑐 ∈ 𝐴 𝑎 = {⟨𝑏, 𝑐⟩} ∧ 𝑥 = ∪ ran 𝑎) ↔ (∃𝑐 ∈ 𝐴 {⟨𝑏, 𝑥⟩} = {⟨𝑏, 𝑐⟩} ∧ 𝑥 = ∪ ran {⟨𝑏, 𝑥⟩})))
3932, 38syl5ibrcom 250 . . . . . 6 (𝑥 ∈ 𝐴 → (𝑎 = {⟨𝑏, 𝑥⟩} → (∃𝑐 ∈ 𝐴 𝑎 = {⟨𝑏, 𝑐⟩} ∧ 𝑥 = ∪ ran 𝑎)))
4039imp 412 . . . . 5 ((𝑥 ∈ 𝐴 ∧ 𝑎 = {⟨𝑏, 𝑥⟩}) → (∃𝑐 ∈ 𝐴 𝑎 = {⟨𝑏, 𝑐⟩} ∧ 𝑥 = ∪ ran 𝑎))
41 vex 3465 . . . . . . . . . . 11 𝑐 ∈ V
4220, 41op2nda 6260 . . . . . . . . . 10 ∪ ran {⟨𝑏, 𝑐⟩} = 𝑐
4342eqeq2i 2787 . . . . . . . . 9 (𝑥 = ∪ ran {⟨𝑏, 𝑐⟩} ↔ 𝑥 = 𝑐)
44 eqidd 2775 . . . . . . . . . . 11 (𝑐 ∈ 𝐴 → {⟨𝑏, 𝑐⟩} = {⟨𝑏, 𝑐⟩})
4544ancli 558 . . . . . . . . . 10 (𝑐 ∈ 𝐴 → (𝑐 ∈ 𝐴 ∧ {⟨𝑏, 𝑐⟩} = {⟨𝑏, 𝑐⟩}))
46 eleq1w 2858 . . . . . . . . . . 11 (𝑥 = 𝑐 → (𝑥 ∈ 𝐴 ↔ 𝑐 ∈ 𝐴))
47 opeq2 4854 . . . . . . . . . . . . 13 (𝑥 = 𝑐 → ⟨𝑏, 𝑥⟩ = ⟨𝑏, 𝑐⟩)
4847sneqd 4603 . . . . . . . . . . . 12 (𝑥 = 𝑐 → {⟨𝑏, 𝑥⟩} = {⟨𝑏, 𝑐⟩})
4948eqeq2d 2785 . . . . . . . . . . 11 (𝑥 = 𝑐 → ({⟨𝑏, 𝑐⟩} = {⟨𝑏, 𝑥⟩} ↔ {⟨𝑏, 𝑐⟩} = {⟨𝑏, 𝑐⟩}))
5046, 49anbi12d 644 . . . . . . . . . 10 (𝑥 = 𝑐 → ((𝑥 ∈ 𝐴 ∧ {⟨𝑏, 𝑐⟩} = {⟨𝑏, 𝑥⟩}) ↔ (𝑐 ∈ 𝐴 ∧ {⟨𝑏, 𝑐⟩} = {⟨𝑏, 𝑐⟩})))
5145, 50syl5ibrcom 250 . . . . . . . . 9 (𝑐 ∈ 𝐴 → (𝑥 = 𝑐 → (𝑥 ∈ 𝐴 ∧ {⟨𝑏, 𝑐⟩} = {⟨𝑏, 𝑥⟩})))
5243, 51biimtrid 245 . . . . . . . 8 (𝑐 ∈ 𝐴 → (𝑥 = ∪ ran {⟨𝑏, 𝑐⟩} → (𝑥 ∈ 𝐴 ∧ {⟨𝑏, 𝑐⟩} = {⟨𝑏, 𝑥⟩})))
53 rneq 5938 . . . . . . . . . . 11 (𝑎 = {⟨𝑏, 𝑐⟩} → ran 𝑎 = ran {⟨𝑏, 𝑐⟩})
5453unieqd 4893 . . . . . . . . . 10 (𝑎 = {⟨𝑏, 𝑐⟩} → ∪ ran 𝑎 = ∪ ran {⟨𝑏, 𝑐⟩})
5554eqeq2d 2785 . . . . . . . . 9 (𝑎 = {⟨𝑏, 𝑐⟩} → (𝑥 = ∪ ran 𝑎 ↔ 𝑥 = ∪ ran {⟨𝑏, 𝑐⟩}))
56 eqeq1 2778 . . . . . . . . . 10 (𝑎 = {⟨𝑏, 𝑐⟩} → (𝑎 = {⟨𝑏, 𝑥⟩} ↔ {⟨𝑏, 𝑐⟩} = {⟨𝑏, 𝑥⟩}))
5756anbi2d 642 . . . . . . . . 9 (𝑎 = {⟨𝑏, 𝑐⟩} → ((𝑥 ∈ 𝐴 ∧ 𝑎 = {⟨𝑏, 𝑥⟩}) ↔ (𝑥 ∈ 𝐴 ∧ {⟨𝑏, 𝑐⟩} = {⟨𝑏, 𝑥⟩})))
5855, 57imbi12d 347 . . . . . . . 8 (𝑎 = {⟨𝑏, 𝑐⟩} → ((𝑥 = ∪ ran 𝑎 → (𝑥 ∈ 𝐴 ∧ 𝑎 = {⟨𝑏, 𝑥⟩})) ↔ (𝑥 = ∪ ran {⟨𝑏, 𝑐⟩} → (𝑥 ∈ 𝐴 ∧ {⟨𝑏, 𝑐⟩} = {⟨𝑏, 𝑥⟩}))))
5952, 58syl5ibrcom 250 . . . . . . 7 (𝑐 ∈ 𝐴 → (𝑎 = {⟨𝑏, 𝑐⟩} → (𝑥 = ∪ ran 𝑎 → (𝑥 ∈ 𝐴 ∧ 𝑎 = {⟨𝑏, 𝑥⟩}))))
6059rexlimiv 3171 . . . . . 6 (∃𝑐 ∈ 𝐴 𝑎 = {⟨𝑏, 𝑐⟩} → (𝑥 = ∪ ran 𝑎 → (𝑥 ∈ 𝐴 ∧ 𝑎 = {⟨𝑏, 𝑥⟩})))
6160imp 412 . . . . 5 ((∃𝑐 ∈ 𝐴 𝑎 = {⟨𝑏, 𝑐⟩} ∧ 𝑥 = ∪ ran 𝑎) → (𝑥 ∈ 𝐴 ∧ 𝑎 = {⟨𝑏, 𝑥⟩}))
6240, 61impbii 212 . . . 4 ((𝑥 ∈ 𝐴 ∧ 𝑎 = {⟨𝑏, 𝑥⟩}) ↔ (∃𝑐 ∈ 𝐴 𝑎 = {⟨𝑏, 𝑐⟩} ∧ 𝑥 = ∪ ran 𝑎))
6324, 62bitri 278 . . 3 ((𝑥 ∈ 𝐴 ∧ 𝑎 = ({𝑏} × {𝑥})) ↔ (∃𝑐 ∈ 𝐴 𝑎 = {⟨𝑏, 𝑐⟩} ∧ 𝑥 = ∪ ran 𝑎))
6413, 19, 63vtoclbg 3530 . 2 (𝐼 ∈ 𝑉 → ((𝑥 ∈ 𝐴 ∧ 𝑎 = ({𝐼} × {𝑥})) ↔ (𝑎 ∈ X𝑦 ∈ {𝐼}𝐴 ∧ 𝑥 = ∪ ran 𝑎)))
651, 5, 9, 64f1od 7721 1 (𝐼 ∈ 𝑉 → 𝐹:𝐴⟶1-1ontoX𝑦 ∈ {𝐼}𝐴)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1572   ∈ wcel 2156  ∃wrex 3101  Vcvv 3461  {csn 4595  ⟨cop 4848  ∪ cuni 4880   ↦ cmpt 5200   × cxp 5664  ran crn 5667  ⟶1-1ontowf1o 6577  Xcixp 8979
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1834  ax-4 1848  ax-5 1951  ax-6 2009  ax-7 2050  ax-8 2158  ax-9 2166  ax-10 2189  ax-11 2206  ax-12 2225  ax-ext 2746  ax-sep 5263  ax-nul 5274  ax-pow 5342  ax-pr 5406  ax-un 7799
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 1819  df-nf 1823  df-sb 2110  df-mo 2576  df-eu 2606  df-clab 2753  df-cleq 2766  df-clel 2850  df-nfc 2924  df-ne 2971  df-ral 3092  df-rex 3102  df-reu 3377  df-rab 3424  df-v 3463  df-ss 3908  df-dif 4057  df-in 4101  df-un 4161  df-nul 4289  df-if 4493  df-pw 4569  df-sn 4596  df-pr 4598  df-op 4849  df-uni 4881  df-br 5117  df-opab 5182  df-mpt 5201  df-id 5561  df-xp 5672  df-rel 5673  df-cnv 5674  df-co 5675  df-dm 5676  df-rn 5677  df-res 5678  df-ima 5679  df-iota 6532  df-fun 6580  df-fn 6581  df-f 6582  df-f1 6583  df-fo 6584  df-f1o 6585  df-fv 6586  df-ixp 8980
This theorem is used by:  mapsnf1o  9021
  Copyright terms: Public domain W3C validator