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

Theorem ixpsnf1o 9004
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 5404 . . . 4 {𝐼} ∈ V
3 snex 5404 . . . 4 {𝑥} ∈ V
42, 3xpex 7799 . . 3 ({𝐼} × {𝑥}) ∈ V
54a1i 11 . 2 ((𝐼 ∈ 𝑉 ∧ 𝑥 ∈ 𝐴) → ({𝐼} × {𝑥}) ∈ V)
6 vex 3458 . . . . 5 𝑎 ∈ V
76rnex 7956 . . . 4 ran 𝑎 ∈ V
87uniex 7790 . . 3 ∪ ran 𝑎 ∈ V
98a1i 11 . 2 ((𝐼 ∈ 𝑉 ∧ 𝑎 ∈ X𝑦 ∈ {𝐼}𝐴) → ∪ ran 𝑎 ∈ V)
10 sneq 4594 . . . . . 6 (𝑏 = 𝐼 → {𝑏} = {𝐼})
1110xpeq1d 5687 . . . . 5 (𝑏 = 𝐼 → ({𝑏} × {𝑥}) = ({𝐼} × {𝑥}))
1211eqeq2d 2774 . . . 4 (𝑏 = 𝐼 → (𝑎 = ({𝑏} × {𝑥}) ↔ 𝑎 = ({𝐼} × {𝑥})))
1312anbi2d 642 . . 3 (𝑏 = 𝐼 → ((𝑥 ∈ 𝐴 ∧ 𝑎 = ({𝑏} × {𝑥})) ↔ (𝑥 ∈ 𝐴 ∧ 𝑎 = ({𝐼} × {𝑥}))))
14 elixpsn 9003 . . . . . 6 (𝑏 ∈ V → (𝑎 ∈ X𝑦 ∈ {𝑏}𝐴 ↔ ∃𝑐 ∈ 𝐴 𝑎 = {⟨𝑏, 𝑐⟩}))
1514elv 3459 . . . . 5 (𝑎 ∈ X𝑦 ∈ {𝑏}𝐴 ↔ ∃𝑐 ∈ 𝐴 𝑎 = {⟨𝑏, 𝑐⟩})
1610ixpeq1d 8975 . . . . . 6 (𝑏 = 𝐼 → X𝑦 ∈ {𝑏}𝐴 = X𝑦 ∈ {𝐼}𝐴)
1716eleq2d 2850 . . . . 5 (𝑏 = 𝐼 → (𝑎 ∈ X𝑦 ∈ {𝑏}𝐴 ↔ 𝑎 ∈ X𝑦 ∈ {𝐼}𝐴))
1815, 17bitr3id 288 . . . 4 (𝑏 = 𝐼 → (∃𝑐 ∈ 𝐴 𝑎 = {⟨𝑏, 𝑐⟩} ↔ 𝑎 ∈ X𝑦 ∈ {𝐼}𝐴))
1918anbi1d 643 . . 3 (𝑏 = 𝐼 → ((∃𝑐 ∈ 𝐴 𝑎 = {⟨𝑏, 𝑐⟩} ∧ 𝑥 = ∪ ran 𝑎) ↔ (𝑎 ∈ X𝑦 ∈ {𝐼}𝐴 ∧ 𝑥 = ∪ ran 𝑎)))
20 vex 3458 . . . . . . 7 𝑏 ∈ V
21 vex 3458 . . . . . . 7 𝑥 ∈ V
2220, 21xpsn 7173 . . . . . 6 ({𝑏} × {𝑥}) = {⟨𝑏, 𝑥⟩}
2322eqeq2i 2776 . . . . 5 (𝑎 = ({𝑏} × {𝑥}) ↔ 𝑎 = {⟨𝑏, 𝑥⟩})
2423anbi2i 635 . . . 4 ((𝑥 ∈ 𝐴 ∧ 𝑎 = ({𝑏} × {𝑥})) ↔ (𝑥 ∈ 𝐴 ∧ 𝑎 = {⟨𝑏, 𝑥⟩}))
25 eqid 2763 . . . . . . . . 9 {⟨𝑏, 𝑥⟩} = {⟨𝑏, 𝑥⟩}
26 opeq2 4846 . . . . . . . . . . 11 (𝑐 = 𝑥 → ⟨𝑏, 𝑐⟩ = ⟨𝑏, 𝑥⟩)
2726sneqd 4596 . . . . . . . . . 10 (𝑐 = 𝑥 → {⟨𝑏, 𝑐⟩} = {⟨𝑏, 𝑥⟩})
2827rspceeqv 3602 . . . . . . . . 9 ((𝑥 ∈ 𝐴 ∧ {⟨𝑏, 𝑥⟩} = {⟨𝑏, 𝑥⟩}) → ∃𝑐 ∈ 𝐴 {⟨𝑏, 𝑥⟩} = {⟨𝑏, 𝑐⟩})
2925, 28mpan2 704 . . . . . . . 8 (𝑥 ∈ 𝐴 → ∃𝑐 ∈ 𝐴 {⟨𝑏, 𝑥⟩} = {⟨𝑏, 𝑐⟩})
3020, 21op2nda 6248 . . . . . . . . 9 ∪ ran {⟨𝑏, 𝑥⟩} = 𝑥
3130eqcomi 2772 . . . . . . . 8 𝑥 = ∪ ran {⟨𝑏, 𝑥⟩}
3229, 31jctir 530 . . . . . . 7 (𝑥 ∈ 𝐴 → (∃𝑐 ∈ 𝐴 {⟨𝑏, 𝑥⟩} = {⟨𝑏, 𝑐⟩} ∧ 𝑥 = ∪ ran {⟨𝑏, 𝑥⟩}))
33 eqeq1 2767 . . . . . . . . 9 (𝑎 = {⟨𝑏, 𝑥⟩} → (𝑎 = {⟨𝑏, 𝑐⟩} ↔ {⟨𝑏, 𝑥⟩} = {⟨𝑏, 𝑐⟩}))
3433rexbidv 3190 . . . . . . . 8 (𝑎 = {⟨𝑏, 𝑥⟩} → (∃𝑐 ∈ 𝐴 𝑎 = {⟨𝑏, 𝑐⟩} ↔ ∃𝑐 ∈ 𝐴 {⟨𝑏, 𝑥⟩} = {⟨𝑏, 𝑐⟩}))
35 rneq 5930 . . . . . . . . . 10 (𝑎 = {⟨𝑏, 𝑥⟩} → ran 𝑎 = ran {⟨𝑏, 𝑥⟩})
3635unieqd 4885 . . . . . . . . 9 (𝑎 = {⟨𝑏, 𝑥⟩} → ∪ ran 𝑎 = ∪ ran {⟨𝑏, 𝑥⟩})
3736eqeq2d 2774 . . . . . . . 8 (𝑎 = {⟨𝑏, 𝑥⟩} → (𝑥 = ∪ ran 𝑎 ↔ 𝑥 = ∪ ran {⟨𝑏, 𝑥⟩}))
3834, 37anbi12d 644 . . . . . . 7 (𝑎 = {⟨𝑏, 𝑥⟩} → ((∃𝑐 ∈ 𝐴 𝑎 = {⟨𝑏, 𝑐⟩} ∧ 𝑥 = ∪ ran 𝑎) ↔ (∃𝑐 ∈ 𝐴 {⟨𝑏, 𝑥⟩} = {⟨𝑏, 𝑐⟩} ∧ 𝑥 = ∪ ran {⟨𝑏, 𝑥⟩})))
3932, 38syl5ibrcom 250 . . . . . 6 (𝑥 ∈ 𝐴 → (𝑎 = {⟨𝑏, 𝑥⟩} → (∃𝑐 ∈ 𝐴 𝑎 = {⟨𝑏, 𝑐⟩} ∧ 𝑥 = ∪ ran 𝑎)))
4039imp 412 . . . . 5 ((𝑥 ∈ 𝐴 ∧ 𝑎 = {⟨𝑏, 𝑥⟩}) → (∃𝑐 ∈ 𝐴 𝑎 = {⟨𝑏, 𝑐⟩} ∧ 𝑥 = ∪ ran 𝑎))
41 vex 3458 . . . . . . . . . . 11 𝑐 ∈ V
4220, 41op2nda 6248 . . . . . . . . . 10 ∪ ran {⟨𝑏, 𝑐⟩} = 𝑐
4342eqeq2i 2776 . . . . . . . . 9 (𝑥 = ∪ ran {⟨𝑏, 𝑐⟩} ↔ 𝑥 = 𝑐)
44 eqidd 2764 . . . . . . . . . . 11 (𝑐 ∈ 𝐴 → {⟨𝑏, 𝑐⟩} = {⟨𝑏, 𝑐⟩})
4544ancli 558 . . . . . . . . . 10 (𝑐 ∈ 𝐴 → (𝑐 ∈ 𝐴 ∧ {⟨𝑏, 𝑐⟩} = {⟨𝑏, 𝑐⟩}))
46 eleq1w 2847 . . . . . . . . . . 11 (𝑥 = 𝑐 → (𝑥 ∈ 𝐴 ↔ 𝑐 ∈ 𝐴))
47 opeq2 4846 . . . . . . . . . . . . 13 (𝑥 = 𝑐 → ⟨𝑏, 𝑥⟩ = ⟨𝑏, 𝑐⟩)
4847sneqd 4596 . . . . . . . . . . . 12 (𝑥 = 𝑐 → {⟨𝑏, 𝑥⟩} = {⟨𝑏, 𝑐⟩})
4948eqeq2d 2774 . . . . . . . . . . 11 (𝑥 = 𝑐 → ({⟨𝑏, 𝑐⟩} = {⟨𝑏, 𝑥⟩} ↔ {⟨𝑏, 𝑐⟩} = {⟨𝑏, 𝑐⟩}))
5046, 49anbi12d 644 . . . . . . . . . 10 (𝑥 = 𝑐 → ((𝑥 ∈ 𝐴 ∧ {⟨𝑏, 𝑐⟩} = {⟨𝑏, 𝑥⟩}) ↔ (𝑐 ∈ 𝐴 ∧ {⟨𝑏, 𝑐⟩} = {⟨𝑏, 𝑐⟩})))
5145, 50syl5ibrcom 250 . . . . . . . . 9 (𝑐 ∈ 𝐴 → (𝑥 = 𝑐 → (𝑥 ∈ 𝐴 ∧ {⟨𝑏, 𝑐⟩} = {⟨𝑏, 𝑥⟩})))
5243, 51biimtrid 245 . . . . . . . 8 (𝑐 ∈ 𝐴 → (𝑥 = ∪ ran {⟨𝑏, 𝑐⟩} → (𝑥 ∈ 𝐴 ∧ {⟨𝑏, 𝑐⟩} = {⟨𝑏, 𝑥⟩})))
53 rneq 5930 . . . . . . . . . . 11 (𝑎 = {⟨𝑏, 𝑐⟩} → ran 𝑎 = ran {⟨𝑏, 𝑐⟩})
5453unieqd 4885 . . . . . . . . . 10 (𝑎 = {⟨𝑏, 𝑐⟩} → ∪ ran 𝑎 = ∪ ran {⟨𝑏, 𝑐⟩})
5554eqeq2d 2774 . . . . . . . . 9 (𝑎 = {⟨𝑏, 𝑐⟩} → (𝑥 = ∪ ran 𝑎 ↔ 𝑥 = ∪ ran {⟨𝑏, 𝑐⟩}))
56 eqeq1 2767 . . . . . . . . . 10 (𝑎 = {⟨𝑏, 𝑐⟩} → (𝑎 = {⟨𝑏, 𝑥⟩} ↔ {⟨𝑏, 𝑐⟩} = {⟨𝑏, 𝑥⟩}))
5756anbi2d 642 . . . . . . . . 9 (𝑎 = {⟨𝑏, 𝑐⟩} → ((𝑥 ∈ 𝐴 ∧ 𝑎 = {⟨𝑏, 𝑥⟩}) ↔ (𝑥 ∈ 𝐴 ∧ {⟨𝑏, 𝑐⟩} = {⟨𝑏, 𝑥⟩})))
5855, 57imbi12d 347 . . . . . . . 8 (𝑎 = {⟨𝑏, 𝑐⟩} → ((𝑥 = ∪ ran 𝑎 → (𝑥 ∈ 𝐴 ∧ 𝑎 = {⟨𝑏, 𝑥⟩})) ↔ (𝑥 = ∪ ran {⟨𝑏, 𝑐⟩} → (𝑥 ∈ 𝐴 ∧ {⟨𝑏, 𝑐⟩} = {⟨𝑏, 𝑥⟩}))))
5952, 58syl5ibrcom 250 . . . . . . 7 (𝑐 ∈ 𝐴 → (𝑎 = {⟨𝑏, 𝑐⟩} → (𝑥 = ∪ ran 𝑎 → (𝑥 ∈ 𝐴 ∧ 𝑎 = {⟨𝑏, 𝑥⟩}))))
6059rexlimiv 3160 . . . . . 6 (∃𝑐 ∈ 𝐴 𝑎 = {⟨𝑏, 𝑐⟩} → (𝑥 = ∪ ran 𝑎 → (𝑥 ∈ 𝐴 ∧ 𝑎 = {⟨𝑏, 𝑥⟩})))
6160imp 412 . . . . 5 ((∃𝑐 ∈ 𝐴 𝑎 = {⟨𝑏, 𝑐⟩} ∧ 𝑥 = ∪ ran 𝑎) → (𝑥 ∈ 𝐴 ∧ 𝑎 = {⟨𝑏, 𝑥⟩}))
6240, 61impbii 212 . . . 4 ((𝑥 ∈ 𝐴 ∧ 𝑎 = {⟨𝑏, 𝑥⟩}) ↔ (∃𝑐 ∈ 𝐴 𝑎 = {⟨𝑏, 𝑐⟩} ∧ 𝑥 = ∪ ran 𝑎))
6324, 62bitri 278 . . 3 ((𝑥 ∈ 𝐴 ∧ 𝑎 = ({𝑏} × {𝑥})) ↔ (∃𝑐 ∈ 𝐴 𝑎 = {⟨𝑏, 𝑐⟩} ∧ 𝑥 = ∪ ran 𝑎))
6413, 19, 63vtoclbg 3523 . 2 (𝐼 ∈ 𝑉 → ((𝑥 ∈ 𝐴 ∧ 𝑎 = ({𝐼} × {𝑥})) ↔ (𝑎 ∈ X𝑦 ∈ {𝐼}𝐴 ∧ 𝑥 = ∪ ran 𝑎)))
651, 5, 9, 64f1od 7705 1 (𝐼 ∈ 𝑉 → 𝐹:𝐴⟶1-1ontoX𝑦 ∈ {𝐼}𝐴)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1570   ∈ wcel 2147  ∃wrex 3090  Vcvv 3454  {csn 4588  ⟨cop 4840  ∪ cuni 4872   ↦ cmpt 5192   × cxp 5656  ran crn 5659  ⟶1-1ontowf1o 6565  Xcixp 8963
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 5255  ax-nul 5266  ax-pow 5334  ax-pr 5398  ax-un 7783
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-reu 3370  df-rab 3417  df-v 3456  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 4841  df-uni 4873  df-br 5109  df-opab 5174  df-mpt 5193  df-id 5553  df-xp 5664  df-rel 5665  df-cnv 5666  df-co 5667  df-dm 5668  df-rn 5669  df-res 5670  df-ima 5671  df-iota 6520  df-fun 6568  df-fn 6569  df-f 6570  df-f1 6571  df-fo 6572  df-f1o 6573  df-fv 6574  df-ixp 8964
This theorem is used by:  mapsnf1o  9005
  Copyright terms: Public domain W3C validator