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

Theorem elixpsn 8968
Description: Membership in a class of singleton functions. (Contributed by Stefan O'Rear, 24-Jan-2015.)
Assertion
Ref Expression
elixpsn (𝐴 ∈ 𝑉 → (𝐹 ∈ X𝑥 ∈ {𝐴}𝐵 ↔ ∃𝑦 ∈ 𝐵 𝐹 = {⟨𝐴, 𝑦⟩}))
Distinct variable groups:   𝑥,𝐵,𝑦   𝑥,𝐹,𝑦   𝑥,𝐴,𝑦   𝑥,𝑉,𝑦

Proof of Theorem elixpsn
Dummy variables 𝑧 𝑤 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 sneq 4590 . . . 4 (𝑧 = 𝐴 → {𝑧} = {𝐴})
21ixpeq1d 8940 . . 3 (𝑧 = 𝐴 → X𝑥 ∈ {𝑧}𝐵 = X𝑥 ∈ {𝐴}𝐵)
32eleq2d 2846 . 2 (𝑧 = 𝐴 → (𝐹 ∈ X𝑥 ∈ {𝑧}𝐵 ↔ 𝐹 ∈ X𝑥 ∈ {𝐴}𝐵))
4 opeq1 4839 . . . . 5 (𝑧 = 𝐴 → ⟨𝑧, 𝑦⟩ = ⟨𝐴, 𝑦⟩)
54sneqd 4592 . . . 4 (𝑧 = 𝐴 → {⟨𝑧, 𝑦⟩} = {⟨𝐴, 𝑦⟩})
65eqeq2d 2771 . . 3 (𝑧 = 𝐴 → (𝐹 = {⟨𝑧, 𝑦⟩} ↔ 𝐹 = {⟨𝐴, 𝑦⟩}))
76rexbidv 3186 . 2 (𝑧 = 𝐴 → (∃𝑦 ∈ 𝐵 𝐹 = {⟨𝑧, 𝑦⟩} ↔ ∃𝑦 ∈ 𝐵 𝐹 = {⟨𝐴, 𝑦⟩}))
8 elex 3471 . . 3 (𝐹 ∈ X𝑥 ∈ {𝑧}𝐵 → 𝐹 ∈ V)
9 snex 5396 . . . . 5 {⟨𝑧, 𝑦⟩} ∈ V
10 eleq1 2848 . . . . 5 (𝐹 = {⟨𝑧, 𝑦⟩} → (𝐹 ∈ V ↔ {⟨𝑧, 𝑦⟩} ∈ V))
119, 10mpbiri 261 . . . 4 (𝐹 = {⟨𝑧, 𝑦⟩} → 𝐹 ∈ V)
1211rexlimivw 3159 . . 3 (∃𝑦 ∈ 𝐵 𝐹 = {⟨𝑧, 𝑦⟩} → 𝐹 ∈ V)
13 eleq1 2848 . . . 4 (𝑤 = 𝐹 → (𝑤 ∈ X𝑥 ∈ {𝑧}𝐵 ↔ 𝐹 ∈ X𝑥 ∈ {𝑧}𝐵))
14 eqeq1 2764 . . . . 5 (𝑤 = 𝐹 → (𝑤 = {⟨𝑧, 𝑦⟩} ↔ 𝐹 = {⟨𝑧, 𝑦⟩}))
1514rexbidv 3186 . . . 4 (𝑤 = 𝐹 → (∃𝑦 ∈ 𝐵 𝑤 = {⟨𝑧, 𝑦⟩} ↔ ∃𝑦 ∈ 𝐵 𝐹 = {⟨𝑧, 𝑦⟩}))
16 vex 3454 . . . . . 6 𝑤 ∈ V
1716elixp 8935 . . . . 5 (𝑤 ∈ X𝑥 ∈ {𝑧}𝐵 ↔ (𝑤 Fn {𝑧} ∧ ∀𝑥 ∈ {𝑧} (𝑤‘𝑥) ∈ 𝐵))
18 vex 3454 . . . . . . 7 𝑧 ∈ V
19 fveq2 6885 . . . . . . . 8 (𝑥 = 𝑧 → (𝑤‘𝑥) = (𝑤‘𝑧))
2019eleq1d 2845 . . . . . . 7 (𝑥 = 𝑧 → ((𝑤‘𝑥) ∈ 𝐵 ↔ (𝑤‘𝑧) ∈ 𝐵))
2118, 20ralsn 4638 . . . . . 6 (∀𝑥 ∈ {𝑧} (𝑤‘𝑥) ∈ 𝐵 ↔ (𝑤‘𝑧) ∈ 𝐵)
2221anbi2i 635 . . . . 5 ((𝑤 Fn {𝑧} ∧ ∀𝑥 ∈ {𝑧} (𝑤‘𝑥) ∈ 𝐵) ↔ (𝑤 Fn {𝑧} ∧ (𝑤‘𝑧) ∈ 𝐵))
23 simpl 488 . . . . . . . . 9 ((𝑤 Fn {𝑧} ∧ (𝑤‘𝑧) ∈ 𝐵) → 𝑤 Fn {𝑧})
24 fveq2 6885 . . . . . . . . . . . 12 (𝑦 = 𝑧 → (𝑤‘𝑦) = (𝑤‘𝑧))
2524eleq1d 2845 . . . . . . . . . . 11 (𝑦 = 𝑧 → ((𝑤‘𝑦) ∈ 𝐵 ↔ (𝑤‘𝑧) ∈ 𝐵))
2618, 25ralsn 4638 . . . . . . . . . 10 (∀𝑦 ∈ {𝑧} (𝑤‘𝑦) ∈ 𝐵 ↔ (𝑤‘𝑧) ∈ 𝐵)
2726bilanri 512 . . . . . . . . 9 ((𝑤 Fn {𝑧} ∧ (𝑤‘𝑧) ∈ 𝐵) → ∀𝑦 ∈ {𝑧} (𝑤‘𝑦) ∈ 𝐵)
28 ffnfv 7119 . . . . . . . . 9 (𝑤:{𝑧}⟶𝐵 ↔ (𝑤 Fn {𝑧} ∧ ∀𝑦 ∈ {𝑧} (𝑤‘𝑦) ∈ 𝐵))
2923, 27, 28sylanbrc 595 . . . . . . . 8 ((𝑤 Fn {𝑧} ∧ (𝑤‘𝑧) ∈ 𝐵) → 𝑤:{𝑧}⟶𝐵)
3018fsn2 7137 . . . . . . . 8 (𝑤:{𝑧}⟶𝐵 ↔ ((𝑤‘𝑧) ∈ 𝐵 ∧ 𝑤 = {⟨𝑧, (𝑤‘𝑧)⟩}))
3129, 30sylib 221 . . . . . . 7 ((𝑤 Fn {𝑧} ∧ (𝑤‘𝑧) ∈ 𝐵) → ((𝑤‘𝑧) ∈ 𝐵 ∧ 𝑤 = {⟨𝑧, (𝑤‘𝑧)⟩}))
32 opeq2 4840 . . . . . . . . 9 (𝑦 = (𝑤‘𝑧) → ⟨𝑧, 𝑦⟩ = ⟨𝑧, (𝑤‘𝑧)⟩)
3332sneqd 4592 . . . . . . . 8 (𝑦 = (𝑤‘𝑧) → {⟨𝑧, 𝑦⟩} = {⟨𝑧, (𝑤‘𝑧)⟩})
3433rspceeqv 3598 . . . . . . 7 (((𝑤‘𝑧) ∈ 𝐵 ∧ 𝑤 = {⟨𝑧, (𝑤‘𝑧)⟩}) → ∃𝑦 ∈ 𝐵 𝑤 = {⟨𝑧, 𝑦⟩})
3531, 34syl 18 . . . . . 6 ((𝑤 Fn {𝑧} ∧ (𝑤‘𝑧) ∈ 𝐵) → ∃𝑦 ∈ 𝐵 𝑤 = {⟨𝑧, 𝑦⟩})
36 vex 3454 . . . . . . . . . . 11 𝑦 ∈ V
3718, 36fvsn 7186 . . . . . . . . . 10 ({⟨𝑧, 𝑦⟩}‘𝑧) = 𝑦
38 id 23 . . . . . . . . . 10 (𝑦 ∈ 𝐵 → 𝑦 ∈ 𝐵)
3937, 38eqeltrid 2864 . . . . . . . . 9 (𝑦 ∈ 𝐵 → ({⟨𝑧, 𝑦⟩}‘𝑧) ∈ 𝐵)
4018, 36fnsn 6598 . . . . . . . . 9 {⟨𝑧, 𝑦⟩} Fn {𝑧}
4139, 40jctil 529 . . . . . . . 8 (𝑦 ∈ 𝐵 → ({⟨𝑧, 𝑦⟩} Fn {𝑧} ∧ ({⟨𝑧, 𝑦⟩}‘𝑧) ∈ 𝐵))
42 fneq1 6630 . . . . . . . . 9 (𝑤 = {⟨𝑧, 𝑦⟩} → (𝑤 Fn {𝑧} ↔ {⟨𝑧, 𝑦⟩} Fn {𝑧}))
43 fveq1 6884 . . . . . . . . . 10 (𝑤 = {⟨𝑧, 𝑦⟩} → (𝑤‘𝑧) = ({⟨𝑧, 𝑦⟩}‘𝑧))
4443eleq1d 2845 . . . . . . . . 9 (𝑤 = {⟨𝑧, 𝑦⟩} → ((𝑤‘𝑧) ∈ 𝐵 ↔ ({⟨𝑧, 𝑦⟩}‘𝑧) ∈ 𝐵))
4542, 44anbi12d 644 . . . . . . . 8 (𝑤 = {⟨𝑧, 𝑦⟩} → ((𝑤 Fn {𝑧} ∧ (𝑤‘𝑧) ∈ 𝐵) ↔ ({⟨𝑧, 𝑦⟩} Fn {𝑧} ∧ ({⟨𝑧, 𝑦⟩}‘𝑧) ∈ 𝐵)))
4641, 45syl5ibrcom 250 . . . . . . 7 (𝑦 ∈ 𝐵 → (𝑤 = {⟨𝑧, 𝑦⟩} → (𝑤 Fn {𝑧} ∧ (𝑤‘𝑧) ∈ 𝐵)))
4746rexlimiv 3156 . . . . . 6 (∃𝑦 ∈ 𝐵 𝑤 = {⟨𝑧, 𝑦⟩} → (𝑤 Fn {𝑧} ∧ (𝑤‘𝑧) ∈ 𝐵))
4835, 47impbii 212 . . . . 5 ((𝑤 Fn {𝑧} ∧ (𝑤‘𝑧) ∈ 𝐵) ↔ ∃𝑦 ∈ 𝐵 𝑤 = {⟨𝑧, 𝑦⟩})
4917, 22, 483bitri 300 . . . 4 (𝑤 ∈ X𝑥 ∈ {𝑧}𝐵 ↔ ∃𝑦 ∈ 𝐵 𝑤 = {⟨𝑧, 𝑦⟩})
5013, 15, 49vtoclbg 3519 . . 3 (𝐹 ∈ V → (𝐹 ∈ X𝑥 ∈ {𝑧}𝐵 ↔ ∃𝑦 ∈ 𝐵 𝐹 = {⟨𝑧, 𝑦⟩}))
518, 12, 50pm5.21nii 381 . 2 (𝐹 ∈ X𝑥 ∈ {𝑧}𝐵 ↔ ∃𝑦 ∈ 𝐵 𝐹 = {⟨𝑧, 𝑦⟩})
523, 7, 51vtoclbg 3519 1 (𝐴 ∈ 𝑉 → (𝐹 ∈ X𝑥 ∈ {𝐴}𝐵 ↔ ∃𝑦 ∈ 𝐵 𝐹 = {⟨𝐴, 𝑦⟩}))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1569   ∈ wcel 2144  ∀wral 3076  ∃wrex 3086  Vcvv 3450  {csn 4584  ⟨cop 4834   Fn wfn 6533  ⟶wf 6534  ‘cfv 6538  Xcixp 8928
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-pr 5390
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-reu 3366  df-rab 3413  df-v 3452  df-ss 3896  df-dif 4047  df-in 4091  df-un 4151  df-nul 4279  df-if 4482  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-ixp 8929
This theorem is used by:  ixpsnf1o  8969  hoidmv1le  47697
  Copyright terms: Public domain W3C validator