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

Theorem elixpsn 9014
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 4596 . . . 4 (𝑧 = 𝐴 → {𝑧} = {𝐴})
21ixpeq1d 8986 . . 3 (𝑧 = 𝐴 → X𝑥 ∈ {𝑧}𝐵 = X𝑥 ∈ {𝐴}𝐵)
32eleq2d 2856 . 2 (𝑧 = 𝐴 → (𝐹 ∈ X𝑥 ∈ {𝑧}𝐵 ↔ 𝐹 ∈ X𝑥 ∈ {𝐴}𝐵))
4 opeq1 4848 . . . . 5 (𝑧 = 𝐴 → ⟨𝑧, 𝑦⟩ = ⟨𝐴, 𝑦⟩)
54sneqd 4598 . . . 4 (𝑧 = 𝐴 → {⟨𝑧, 𝑦⟩} = {⟨𝐴, 𝑦⟩})
65eqeq2d 2780 . . 3 (𝑧 = 𝐴 → (𝐹 = {⟨𝑧, 𝑦⟩} ↔ 𝐹 = {⟨𝐴, 𝑦⟩}))
76rexbidv 3196 . 2 (𝑧 = 𝐴 → (∃𝑦 ∈ 𝐵 𝐹 = {⟨𝑧, 𝑦⟩} ↔ ∃𝑦 ∈ 𝐵 𝐹 = {⟨𝐴, 𝑦⟩}))
8 elex 3477 . . 3 (𝐹 ∈ X𝑥 ∈ {𝑧}𝐵 → 𝐹 ∈ V)
9 snex 5407 . . . . 5 {⟨𝑧, 𝑦⟩} ∈ V
10 eleq1 2858 . . . . 5 (𝐹 = {⟨𝑧, 𝑦⟩} → (𝐹 ∈ V ↔ {⟨𝑧, 𝑦⟩} ∈ V))
119, 10mpbiri 261 . . . 4 (𝐹 = {⟨𝑧, 𝑦⟩} → 𝐹 ∈ V)
1211rexlimivw 3169 . . 3 (∃𝑦 ∈ 𝐵 𝐹 = {⟨𝑧, 𝑦⟩} → 𝐹 ∈ V)
13 eleq1 2858 . . . 4 (𝑤 = 𝐹 → (𝑤 ∈ X𝑥 ∈ {𝑧}𝐵 ↔ 𝐹 ∈ X𝑥 ∈ {𝑧}𝐵))
14 eqeq1 2773 . . . . 5 (𝑤 = 𝐹 → (𝑤 = {⟨𝑧, 𝑦⟩} ↔ 𝐹 = {⟨𝑧, 𝑦⟩}))
1514rexbidv 3196 . . . 4 (𝑤 = 𝐹 → (∃𝑦 ∈ 𝐵 𝑤 = {⟨𝑧, 𝑦⟩} ↔ ∃𝑦 ∈ 𝐵 𝐹 = {⟨𝑧, 𝑦⟩}))
16 vex 3460 . . . . . 6 𝑤 ∈ V
1716elixp 8981 . . . . 5 (𝑤 ∈ X𝑥 ∈ {𝑧}𝐵 ↔ (𝑤 Fn {𝑧} ∧ ∀𝑥 ∈ {𝑧} (𝑤‘𝑥) ∈ 𝐵))
18 vex 3460 . . . . . . 7 𝑧 ∈ V
19 fveq2 6926 . . . . . . . 8 (𝑥 = 𝑧 → (𝑤‘𝑥) = (𝑤‘𝑧))
2019eleq1d 2855 . . . . . . 7 (𝑥 = 𝑧 → ((𝑤‘𝑥) ∈ 𝐵 ↔ (𝑤‘𝑧) ∈ 𝐵))
2118, 20ralsn 4645 . . . . . 6 (∀𝑥 ∈ {𝑧} (𝑤‘𝑥) ∈ 𝐵 ↔ (𝑤‘𝑧) ∈ 𝐵)
2221anbi2i 635 . . . . 5 ((𝑤 Fn {𝑧} ∧ ∀𝑥 ∈ {𝑧} (𝑤‘𝑥) ∈ 𝐵) ↔ (𝑤 Fn {𝑧} ∧ (𝑤‘𝑧) ∈ 𝐵))
23 simpl 488 . . . . . . . . 9 ((𝑤 Fn {𝑧} ∧ (𝑤‘𝑧) ∈ 𝐵) → 𝑤 Fn {𝑧})
24 fveq2 6926 . . . . . . . . . . . 12 (𝑦 = 𝑧 → (𝑤‘𝑦) = (𝑤‘𝑧))
2524eleq1d 2855 . . . . . . . . . . 11 (𝑦 = 𝑧 → ((𝑤‘𝑦) ∈ 𝐵 ↔ (𝑤‘𝑧) ∈ 𝐵))
2618, 25ralsn 4645 . . . . . . . . . 10 (∀𝑦 ∈ {𝑧} (𝑤‘𝑦) ∈ 𝐵 ↔ (𝑤‘𝑧) ∈ 𝐵)
2726bilanri 512 . . . . . . . . 9 ((𝑤 Fn {𝑧} ∧ (𝑤‘𝑧) ∈ 𝐵) → ∀𝑦 ∈ {𝑧} (𝑤‘𝑦) ∈ 𝐵)
28 ffnfv 7161 . . . . . . . . 9 (𝑤:{𝑧}⟶𝐵 ↔ (𝑤 Fn {𝑧} ∧ ∀𝑦 ∈ {𝑧} (𝑤‘𝑦) ∈ 𝐵))
2923, 27, 28sylanbrc 595 . . . . . . . 8 ((𝑤 Fn {𝑧} ∧ (𝑤‘𝑧) ∈ 𝐵) → 𝑤:{𝑧}⟶𝐵)
3018fsn2 7179 . . . . . . . 8 (𝑤:{𝑧}⟶𝐵 ↔ ((𝑤‘𝑧) ∈ 𝐵 ∧ 𝑤 = {⟨𝑧, (𝑤‘𝑧)⟩}))
3129, 30sylib 221 . . . . . . 7 ((𝑤 Fn {𝑧} ∧ (𝑤‘𝑧) ∈ 𝐵) → ((𝑤‘𝑧) ∈ 𝐵 ∧ 𝑤 = {⟨𝑧, (𝑤‘𝑧)⟩}))
32 opeq2 4849 . . . . . . . . 9 (𝑦 = (𝑤‘𝑧) → ⟨𝑧, 𝑦⟩ = ⟨𝑧, (𝑤‘𝑧)⟩)
3332sneqd 4598 . . . . . . . 8 (𝑦 = (𝑤‘𝑧) → {⟨𝑧, 𝑦⟩} = {⟨𝑧, (𝑤‘𝑧)⟩})
3433rspceeqv 3604 . . . . . . 7 (((𝑤‘𝑧) ∈ 𝐵 ∧ 𝑤 = {⟨𝑧, (𝑤‘𝑧)⟩}) → ∃𝑦 ∈ 𝐵 𝑤 = {⟨𝑧, 𝑦⟩})
3531, 34syl 18 . . . . . 6 ((𝑤 Fn {𝑧} ∧ (𝑤‘𝑧) ∈ 𝐵) → ∃𝑦 ∈ 𝐵 𝑤 = {⟨𝑧, 𝑦⟩})
36 vex 3460 . . . . . . . . . . 11 𝑦 ∈ V
3718, 36fvsn 7227 . . . . . . . . . 10 ({⟨𝑧, 𝑦⟩}‘𝑧) = 𝑦
38 id 23 . . . . . . . . . 10 (𝑦 ∈ 𝐵 → 𝑦 ∈ 𝐵)
3937, 38eqeltrid 2874 . . . . . . . . 9 (𝑦 ∈ 𝐵 → ({⟨𝑧, 𝑦⟩}‘𝑧) ∈ 𝐵)
4018, 36fnsn 6635 . . . . . . . . 9 {⟨𝑧, 𝑦⟩} Fn {𝑧}
4139, 40jctil 529 . . . . . . . 8 (𝑦 ∈ 𝐵 → ({⟨𝑧, 𝑦⟩} Fn {𝑧} ∧ ({⟨𝑧, 𝑦⟩}‘𝑧) ∈ 𝐵))
42 fneq1 6670 . . . . . . . . 9 (𝑤 = {⟨𝑧, 𝑦⟩} → (𝑤 Fn {𝑧} ↔ {⟨𝑧, 𝑦⟩} Fn {𝑧}))
43 fveq1 6925 . . . . . . . . . 10 (𝑤 = {⟨𝑧, 𝑦⟩} → (𝑤‘𝑧) = ({⟨𝑧, 𝑦⟩}‘𝑧))
4443eleq1d 2855 . . . . . . . . 9 (𝑤 = {⟨𝑧, 𝑦⟩} → ((𝑤‘𝑧) ∈ 𝐵 ↔ ({⟨𝑧, 𝑦⟩}‘𝑧) ∈ 𝐵))
4542, 44anbi12d 644 . . . . . . . 8 (𝑤 = {⟨𝑧, 𝑦⟩} → ((𝑤 Fn {𝑧} ∧ (𝑤‘𝑧) ∈ 𝐵) ↔ ({⟨𝑧, 𝑦⟩} Fn {𝑧} ∧ ({⟨𝑧, 𝑦⟩}‘𝑧) ∈ 𝐵)))
4641, 45syl5ibrcom 250 . . . . . . 7 (𝑦 ∈ 𝐵 → (𝑤 = {⟨𝑧, 𝑦⟩} → (𝑤 Fn {𝑧} ∧ (𝑤‘𝑧) ∈ 𝐵)))
4746rexlimiv 3166 . . . . . 6 (∃𝑦 ∈ 𝐵 𝑤 = {⟨𝑧, 𝑦⟩} → (𝑤 Fn {𝑧} ∧ (𝑤‘𝑧) ∈ 𝐵))
4835, 47impbii 212 . . . . 5 ((𝑤 Fn {𝑧} ∧ (𝑤‘𝑧) ∈ 𝐵) ↔ ∃𝑦 ∈ 𝐵 𝑤 = {⟨𝑧, 𝑦⟩})
4917, 22, 483bitri 300 . . . 4 (𝑤 ∈ X𝑥 ∈ {𝑧}𝐵 ↔ ∃𝑦 ∈ 𝐵 𝑤 = {⟨𝑧, 𝑦⟩})
5013, 15, 49vtoclbg 3525 . . 3 (𝐹 ∈ V → (𝐹 ∈ X𝑥 ∈ {𝑧}𝐵 ↔ ∃𝑦 ∈ 𝐵 𝐹 = {⟨𝑧, 𝑦⟩}))
518, 12, 50pm5.21nii 381 . 2 (𝐹 ∈ X𝑥 ∈ {𝑧}𝐵 ↔ ∃𝑦 ∈ 𝐵 𝐹 = {⟨𝑧, 𝑦⟩})
523, 7, 51vtoclbg 3525 1 (𝐴 ∈ 𝑉 → (𝐹 ∈ X𝑥 ∈ {𝐴}𝐵 ↔ ∃𝑦 ∈ 𝐵 𝐹 = {⟨𝐴, 𝑦⟩}))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1572   ∈ wcel 2151  ∀wral 3086  ∃wrex 3096  Vcvv 3456  {csn 4590  ⟨cop 4843   Fn wfn 6568  ⟶wf 6569  ‘cfv 6573  Xcixp 8974
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-pr 5401
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-reu 3372  df-rab 3419  df-v 3458  df-ss 3903  df-dif 4052  df-in 4096  df-un 4156  df-nul 4284  df-if 4488  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-ixp 8975
This theorem is used by:  ixpsnf1o  9015  hoidmv1le  47960
  Copyright terms: Public domain W3C validator