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

Theorem elixpsn 8501
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 4577 . . . 4 (𝑧 = 𝐴 → {𝑧} = {𝐴})
21ixpeq1d 8473 . . 3 (𝑧 = 𝐴X𝑥 ∈ {𝑧}𝐵 = X𝑥 ∈ {𝐴}𝐵)
32eleq2d 2898 . 2 (𝑧 = 𝐴 → (𝐹X𝑥 ∈ {𝑧}𝐵𝐹X𝑥 ∈ {𝐴}𝐵))
4 opeq1 4803 . . . . 5 (𝑧 = 𝐴 → ⟨𝑧, 𝑦⟩ = ⟨𝐴, 𝑦⟩)
54sneqd 4579 . . . 4 (𝑧 = 𝐴 → {⟨𝑧, 𝑦⟩} = {⟨𝐴, 𝑦⟩})
65eqeq2d 2832 . . 3 (𝑧 = 𝐴 → (𝐹 = {⟨𝑧, 𝑦⟩} ↔ 𝐹 = {⟨𝐴, 𝑦⟩}))
76rexbidv 3297 . 2 (𝑧 = 𝐴 → (∃𝑦𝐵 𝐹 = {⟨𝑧, 𝑦⟩} ↔ ∃𝑦𝐵 𝐹 = {⟨𝐴, 𝑦⟩}))
8 elex 3512 . . 3 (𝐹X𝑥 ∈ {𝑧}𝐵𝐹 ∈ V)
9 snex 5332 . . . . 5 {⟨𝑧, 𝑦⟩} ∈ V
10 eleq1 2900 . . . . 5 (𝐹 = {⟨𝑧, 𝑦⟩} → (𝐹 ∈ V ↔ {⟨𝑧, 𝑦⟩} ∈ V))
119, 10mpbiri 260 . . . 4 (𝐹 = {⟨𝑧, 𝑦⟩} → 𝐹 ∈ V)
1211rexlimivw 3282 . . 3 (∃𝑦𝐵 𝐹 = {⟨𝑧, 𝑦⟩} → 𝐹 ∈ V)
13 eleq1 2900 . . . 4 (𝑤 = 𝐹 → (𝑤X𝑥 ∈ {𝑧}𝐵𝐹X𝑥 ∈ {𝑧}𝐵))
14 eqeq1 2825 . . . . 5 (𝑤 = 𝐹 → (𝑤 = {⟨𝑧, 𝑦⟩} ↔ 𝐹 = {⟨𝑧, 𝑦⟩}))
1514rexbidv 3297 . . . 4 (𝑤 = 𝐹 → (∃𝑦𝐵 𝑤 = {⟨𝑧, 𝑦⟩} ↔ ∃𝑦𝐵 𝐹 = {⟨𝑧, 𝑦⟩}))
16 vex 3497 . . . . . 6 𝑤 ∈ V
1716elixp 8468 . . . . 5 (𝑤X𝑥 ∈ {𝑧}𝐵 ↔ (𝑤 Fn {𝑧} ∧ ∀𝑥 ∈ {𝑧} (𝑤𝑥) ∈ 𝐵))
18 vex 3497 . . . . . . 7 𝑧 ∈ V
19 fveq2 6670 . . . . . . . 8 (𝑥 = 𝑧 → (𝑤𝑥) = (𝑤𝑧))
2019eleq1d 2897 . . . . . . 7 (𝑥 = 𝑧 → ((𝑤𝑥) ∈ 𝐵 ↔ (𝑤𝑧) ∈ 𝐵))
2118, 20ralsn 4619 . . . . . 6 (∀𝑥 ∈ {𝑧} (𝑤𝑥) ∈ 𝐵 ↔ (𝑤𝑧) ∈ 𝐵)
2221anbi2i 624 . . . . 5 ((𝑤 Fn {𝑧} ∧ ∀𝑥 ∈ {𝑧} (𝑤𝑥) ∈ 𝐵) ↔ (𝑤 Fn {𝑧} ∧ (𝑤𝑧) ∈ 𝐵))
23 simpl 485 . . . . . . . . 9 ((𝑤 Fn {𝑧} ∧ (𝑤𝑧) ∈ 𝐵) → 𝑤 Fn {𝑧})
24 fveq2 6670 . . . . . . . . . . . . 13 (𝑦 = 𝑧 → (𝑤𝑦) = (𝑤𝑧))
2524eleq1d 2897 . . . . . . . . . . . 12 (𝑦 = 𝑧 → ((𝑤𝑦) ∈ 𝐵 ↔ (𝑤𝑧) ∈ 𝐵))
2618, 25ralsn 4619 . . . . . . . . . . 11 (∀𝑦 ∈ {𝑧} (𝑤𝑦) ∈ 𝐵 ↔ (𝑤𝑧) ∈ 𝐵)
2726biimpri 230 . . . . . . . . . 10 ((𝑤𝑧) ∈ 𝐵 → ∀𝑦 ∈ {𝑧} (𝑤𝑦) ∈ 𝐵)
2827adantl 484 . . . . . . . . 9 ((𝑤 Fn {𝑧} ∧ (𝑤𝑧) ∈ 𝐵) → ∀𝑦 ∈ {𝑧} (𝑤𝑦) ∈ 𝐵)
29 ffnfv 6882 . . . . . . . . 9 (𝑤:{𝑧}⟶𝐵 ↔ (𝑤 Fn {𝑧} ∧ ∀𝑦 ∈ {𝑧} (𝑤𝑦) ∈ 𝐵))
3023, 28, 29sylanbrc 585 . . . . . . . 8 ((𝑤 Fn {𝑧} ∧ (𝑤𝑧) ∈ 𝐵) → 𝑤:{𝑧}⟶𝐵)
3118fsn2 6898 . . . . . . . 8 (𝑤:{𝑧}⟶𝐵 ↔ ((𝑤𝑧) ∈ 𝐵𝑤 = {⟨𝑧, (𝑤𝑧)⟩}))
3230, 31sylib 220 . . . . . . 7 ((𝑤 Fn {𝑧} ∧ (𝑤𝑧) ∈ 𝐵) → ((𝑤𝑧) ∈ 𝐵𝑤 = {⟨𝑧, (𝑤𝑧)⟩}))
33 opeq2 4804 . . . . . . . . 9 (𝑦 = (𝑤𝑧) → ⟨𝑧, 𝑦⟩ = ⟨𝑧, (𝑤𝑧)⟩)
3433sneqd 4579 . . . . . . . 8 (𝑦 = (𝑤𝑧) → {⟨𝑧, 𝑦⟩} = {⟨𝑧, (𝑤𝑧)⟩})
3534rspceeqv 3638 . . . . . . 7 (((𝑤𝑧) ∈ 𝐵𝑤 = {⟨𝑧, (𝑤𝑧)⟩}) → ∃𝑦𝐵 𝑤 = {⟨𝑧, 𝑦⟩})
3632, 35syl 17 . . . . . 6 ((𝑤 Fn {𝑧} ∧ (𝑤𝑧) ∈ 𝐵) → ∃𝑦𝐵 𝑤 = {⟨𝑧, 𝑦⟩})
37 vex 3497 . . . . . . . . . . 11 𝑦 ∈ V
3818, 37fvsn 6943 . . . . . . . . . 10 ({⟨𝑧, 𝑦⟩}‘𝑧) = 𝑦
39 id 22 . . . . . . . . . 10 (𝑦𝐵𝑦𝐵)
4038, 39eqeltrid 2917 . . . . . . . . 9 (𝑦𝐵 → ({⟨𝑧, 𝑦⟩}‘𝑧) ∈ 𝐵)
4118, 37fnsn 6412 . . . . . . . . 9 {⟨𝑧, 𝑦⟩} Fn {𝑧}
4240, 41jctil 522 . . . . . . . 8 (𝑦𝐵 → ({⟨𝑧, 𝑦⟩} Fn {𝑧} ∧ ({⟨𝑧, 𝑦⟩}‘𝑧) ∈ 𝐵))
43 fneq1 6444 . . . . . . . . 9 (𝑤 = {⟨𝑧, 𝑦⟩} → (𝑤 Fn {𝑧} ↔ {⟨𝑧, 𝑦⟩} Fn {𝑧}))
44 fveq1 6669 . . . . . . . . . 10 (𝑤 = {⟨𝑧, 𝑦⟩} → (𝑤𝑧) = ({⟨𝑧, 𝑦⟩}‘𝑧))
4544eleq1d 2897 . . . . . . . . 9 (𝑤 = {⟨𝑧, 𝑦⟩} → ((𝑤𝑧) ∈ 𝐵 ↔ ({⟨𝑧, 𝑦⟩}‘𝑧) ∈ 𝐵))
4643, 45anbi12d 632 . . . . . . . 8 (𝑤 = {⟨𝑧, 𝑦⟩} → ((𝑤 Fn {𝑧} ∧ (𝑤𝑧) ∈ 𝐵) ↔ ({⟨𝑧, 𝑦⟩} Fn {𝑧} ∧ ({⟨𝑧, 𝑦⟩}‘𝑧) ∈ 𝐵)))
4742, 46syl5ibrcom 249 . . . . . . 7 (𝑦𝐵 → (𝑤 = {⟨𝑧, 𝑦⟩} → (𝑤 Fn {𝑧} ∧ (𝑤𝑧) ∈ 𝐵)))
4847rexlimiv 3280 . . . . . 6 (∃𝑦𝐵 𝑤 = {⟨𝑧, 𝑦⟩} → (𝑤 Fn {𝑧} ∧ (𝑤𝑧) ∈ 𝐵))
4936, 48impbii 211 . . . . 5 ((𝑤 Fn {𝑧} ∧ (𝑤𝑧) ∈ 𝐵) ↔ ∃𝑦𝐵 𝑤 = {⟨𝑧, 𝑦⟩})
5017, 22, 493bitri 299 . . . 4 (𝑤X𝑥 ∈ {𝑧}𝐵 ↔ ∃𝑦𝐵 𝑤 = {⟨𝑧, 𝑦⟩})
5113, 15, 50vtoclbg 3569 . . 3 (𝐹 ∈ V → (𝐹X𝑥 ∈ {𝑧}𝐵 ↔ ∃𝑦𝐵 𝐹 = {⟨𝑧, 𝑦⟩}))
528, 12, 51pm5.21nii 382 . 2 (𝐹X𝑥 ∈ {𝑧}𝐵 ↔ ∃𝑦𝐵 𝐹 = {⟨𝑧, 𝑦⟩})
533, 7, 52vtoclbg 3569 1 (𝐴𝑉 → (𝐹X𝑥 ∈ {𝐴}𝐵 ↔ ∃𝑦𝐵 𝐹 = {⟨𝐴, 𝑦⟩}))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208  wa 398   = wceq 1537  wcel 2114  wral 3138  wrex 3139  Vcvv 3494  {csn 4567  cop 4573   Fn wfn 6350  wf 6351  cfv 6355  Xcixp 8461
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2793  ax-sep 5203  ax-nul 5210  ax-pr 5330
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070  df-mo 2622  df-eu 2654  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-ne 3017  df-ral 3143  df-rex 3144  df-reu 3145  df-rab 3147  df-v 3496  df-sbc 3773  df-dif 3939  df-un 3941  df-in 3943  df-ss 3952  df-nul 4292  df-if 4468  df-sn 4568  df-pr 4570  df-op 4574  df-uni 4839  df-br 5067  df-opab 5129  df-mpt 5147  df-id 5460  df-xp 5561  df-rel 5562  df-cnv 5563  df-co 5564  df-dm 5565  df-rn 5566  df-res 5567  df-ima 5568  df-iota 6314  df-fun 6357  df-fn 6358  df-f 6359  df-f1 6360  df-fo 6361  df-f1o 6362  df-fv 6363  df-ixp 8462
This theorem is referenced by:  ixpsnf1o  8502  hoidmv1le  42896
  Copyright terms: Public domain W3C validator