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

Theorem elixpsn 7833
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 4135 . . . 4 (𝑧 = 𝐴 → {𝑧} = {𝐴})
21ixpeq1d 7806 . . 3 (𝑧 = 𝐴X𝑥 ∈ {𝑧}𝐵 = X𝑥 ∈ {𝐴}𝐵)
32eleq2d 2673 . 2 (𝑧 = 𝐴 → (𝐹X𝑥 ∈ {𝑧}𝐵𝐹X𝑥 ∈ {𝐴}𝐵))
4 opeq1 4340 . . . . 5 (𝑧 = 𝐴 → ⟨𝑧, 𝑦⟩ = ⟨𝐴, 𝑦⟩)
54sneqd 4137 . . . 4 (𝑧 = 𝐴 → {⟨𝑧, 𝑦⟩} = {⟨𝐴, 𝑦⟩})
65eqeq2d 2620 . . 3 (𝑧 = 𝐴 → (𝐹 = {⟨𝑧, 𝑦⟩} ↔ 𝐹 = {⟨𝐴, 𝑦⟩}))
76rexbidv 3034 . 2 (𝑧 = 𝐴 → (∃𝑦𝐵 𝐹 = {⟨𝑧, 𝑦⟩} ↔ ∃𝑦𝐵 𝐹 = {⟨𝐴, 𝑦⟩}))
8 elex 3185 . . 3 (𝐹X𝑥 ∈ {𝑧}𝐵𝐹 ∈ V)
9 snex 4835 . . . . 5 {⟨𝑧, 𝑦⟩} ∈ V
10 eleq1 2676 . . . . 5 (𝐹 = {⟨𝑧, 𝑦⟩} → (𝐹 ∈ V ↔ {⟨𝑧, 𝑦⟩} ∈ V))
119, 10mpbiri 247 . . . 4 (𝐹 = {⟨𝑧, 𝑦⟩} → 𝐹 ∈ V)
1211rexlimivw 3011 . . 3 (∃𝑦𝐵 𝐹 = {⟨𝑧, 𝑦⟩} → 𝐹 ∈ V)
13 eleq1 2676 . . . 4 (𝑤 = 𝐹 → (𝑤X𝑥 ∈ {𝑧}𝐵𝐹X𝑥 ∈ {𝑧}𝐵))
14 eqeq1 2614 . . . . 5 (𝑤 = 𝐹 → (𝑤 = {⟨𝑧, 𝑦⟩} ↔ 𝐹 = {⟨𝑧, 𝑦⟩}))
1514rexbidv 3034 . . . 4 (𝑤 = 𝐹 → (∃𝑦𝐵 𝑤 = {⟨𝑧, 𝑦⟩} ↔ ∃𝑦𝐵 𝐹 = {⟨𝑧, 𝑦⟩}))
16 vex 3176 . . . . . 6 𝑤 ∈ V
1716elixp 7801 . . . . 5 (𝑤X𝑥 ∈ {𝑧}𝐵 ↔ (𝑤 Fn {𝑧} ∧ ∀𝑥 ∈ {𝑧} (𝑤𝑥) ∈ 𝐵))
18 vex 3176 . . . . . . 7 𝑧 ∈ V
19 fveq2 6103 . . . . . . . 8 (𝑥 = 𝑧 → (𝑤𝑥) = (𝑤𝑧))
2019eleq1d 2672 . . . . . . 7 (𝑥 = 𝑧 → ((𝑤𝑥) ∈ 𝐵 ↔ (𝑤𝑧) ∈ 𝐵))
2118, 20ralsn 4169 . . . . . 6 (∀𝑥 ∈ {𝑧} (𝑤𝑥) ∈ 𝐵 ↔ (𝑤𝑧) ∈ 𝐵)
2221anbi2i 726 . . . . 5 ((𝑤 Fn {𝑧} ∧ ∀𝑥 ∈ {𝑧} (𝑤𝑥) ∈ 𝐵) ↔ (𝑤 Fn {𝑧} ∧ (𝑤𝑧) ∈ 𝐵))
23 simpl 472 . . . . . . . . 9 ((𝑤 Fn {𝑧} ∧ (𝑤𝑧) ∈ 𝐵) → 𝑤 Fn {𝑧})
24 fveq2 6103 . . . . . . . . . . . . 13 (𝑦 = 𝑧 → (𝑤𝑦) = (𝑤𝑧))
2524eleq1d 2672 . . . . . . . . . . . 12 (𝑦 = 𝑧 → ((𝑤𝑦) ∈ 𝐵 ↔ (𝑤𝑧) ∈ 𝐵))
2618, 25ralsn 4169 . . . . . . . . . . 11 (∀𝑦 ∈ {𝑧} (𝑤𝑦) ∈ 𝐵 ↔ (𝑤𝑧) ∈ 𝐵)
2726biimpri 217 . . . . . . . . . 10 ((𝑤𝑧) ∈ 𝐵 → ∀𝑦 ∈ {𝑧} (𝑤𝑦) ∈ 𝐵)
2827adantl 481 . . . . . . . . 9 ((𝑤 Fn {𝑧} ∧ (𝑤𝑧) ∈ 𝐵) → ∀𝑦 ∈ {𝑧} (𝑤𝑦) ∈ 𝐵)
29 ffnfv 6295 . . . . . . . . 9 (𝑤:{𝑧}⟶𝐵 ↔ (𝑤 Fn {𝑧} ∧ ∀𝑦 ∈ {𝑧} (𝑤𝑦) ∈ 𝐵))
3023, 28, 29sylanbrc 695 . . . . . . . 8 ((𝑤 Fn {𝑧} ∧ (𝑤𝑧) ∈ 𝐵) → 𝑤:{𝑧}⟶𝐵)
3118fsn2 6309 . . . . . . . 8 (𝑤:{𝑧}⟶𝐵 ↔ ((𝑤𝑧) ∈ 𝐵𝑤 = {⟨𝑧, (𝑤𝑧)⟩}))
3230, 31sylib 207 . . . . . . 7 ((𝑤 Fn {𝑧} ∧ (𝑤𝑧) ∈ 𝐵) → ((𝑤𝑧) ∈ 𝐵𝑤 = {⟨𝑧, (𝑤𝑧)⟩}))
33 opeq2 4341 . . . . . . . . . 10 (𝑦 = (𝑤𝑧) → ⟨𝑧, 𝑦⟩ = ⟨𝑧, (𝑤𝑧)⟩)
3433sneqd 4137 . . . . . . . . 9 (𝑦 = (𝑤𝑧) → {⟨𝑧, 𝑦⟩} = {⟨𝑧, (𝑤𝑧)⟩})
3534eqeq2d 2620 . . . . . . . 8 (𝑦 = (𝑤𝑧) → (𝑤 = {⟨𝑧, 𝑦⟩} ↔ 𝑤 = {⟨𝑧, (𝑤𝑧)⟩}))
3635rspcev 3282 . . . . . . 7 (((𝑤𝑧) ∈ 𝐵𝑤 = {⟨𝑧, (𝑤𝑧)⟩}) → ∃𝑦𝐵 𝑤 = {⟨𝑧, 𝑦⟩})
3732, 36syl 17 . . . . . 6 ((𝑤 Fn {𝑧} ∧ (𝑤𝑧) ∈ 𝐵) → ∃𝑦𝐵 𝑤 = {⟨𝑧, 𝑦⟩})
38 vex 3176 . . . . . . . . . . 11 𝑦 ∈ V
3918, 38fvsn 6351 . . . . . . . . . 10 ({⟨𝑧, 𝑦⟩}‘𝑧) = 𝑦
40 id 22 . . . . . . . . . 10 (𝑦𝐵𝑦𝐵)
4139, 40syl5eqel 2692 . . . . . . . . 9 (𝑦𝐵 → ({⟨𝑧, 𝑦⟩}‘𝑧) ∈ 𝐵)
4218, 38fnsn 5860 . . . . . . . . 9 {⟨𝑧, 𝑦⟩} Fn {𝑧}
4341, 42jctil 558 . . . . . . . 8 (𝑦𝐵 → ({⟨𝑧, 𝑦⟩} Fn {𝑧} ∧ ({⟨𝑧, 𝑦⟩}‘𝑧) ∈ 𝐵))
44 fneq1 5893 . . . . . . . . 9 (𝑤 = {⟨𝑧, 𝑦⟩} → (𝑤 Fn {𝑧} ↔ {⟨𝑧, 𝑦⟩} Fn {𝑧}))
45 fveq1 6102 . . . . . . . . . 10 (𝑤 = {⟨𝑧, 𝑦⟩} → (𝑤𝑧) = ({⟨𝑧, 𝑦⟩}‘𝑧))
4645eleq1d 2672 . . . . . . . . 9 (𝑤 = {⟨𝑧, 𝑦⟩} → ((𝑤𝑧) ∈ 𝐵 ↔ ({⟨𝑧, 𝑦⟩}‘𝑧) ∈ 𝐵))
4744, 46anbi12d 743 . . . . . . . 8 (𝑤 = {⟨𝑧, 𝑦⟩} → ((𝑤 Fn {𝑧} ∧ (𝑤𝑧) ∈ 𝐵) ↔ ({⟨𝑧, 𝑦⟩} Fn {𝑧} ∧ ({⟨𝑧, 𝑦⟩}‘𝑧) ∈ 𝐵)))
4843, 47syl5ibrcom 236 . . . . . . 7 (𝑦𝐵 → (𝑤 = {⟨𝑧, 𝑦⟩} → (𝑤 Fn {𝑧} ∧ (𝑤𝑧) ∈ 𝐵)))
4948rexlimiv 3009 . . . . . 6 (∃𝑦𝐵 𝑤 = {⟨𝑧, 𝑦⟩} → (𝑤 Fn {𝑧} ∧ (𝑤𝑧) ∈ 𝐵))
5037, 49impbii 198 . . . . 5 ((𝑤 Fn {𝑧} ∧ (𝑤𝑧) ∈ 𝐵) ↔ ∃𝑦𝐵 𝑤 = {⟨𝑧, 𝑦⟩})
5117, 22, 503bitri 285 . . . 4 (𝑤X𝑥 ∈ {𝑧}𝐵 ↔ ∃𝑦𝐵 𝑤 = {⟨𝑧, 𝑦⟩})
5213, 15, 51vtoclbg 3240 . . 3 (𝐹 ∈ V → (𝐹X𝑥 ∈ {𝑧}𝐵 ↔ ∃𝑦𝐵 𝐹 = {⟨𝑧, 𝑦⟩}))
538, 12, 52pm5.21nii 367 . 2 (𝐹X𝑥 ∈ {𝑧}𝐵 ↔ ∃𝑦𝐵 𝐹 = {⟨𝑧, 𝑦⟩})
543, 7, 53vtoclbg 3240 1 (𝐴𝑉 → (𝐹X𝑥 ∈ {𝐴}𝐵 ↔ ∃𝑦𝐵 𝐹 = {⟨𝐴, 𝑦⟩}))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 195  wa 383   = wceq 1475  wcel 1977  wral 2896  wrex 2897  Vcvv 3173  {csn 4125  cop 4131   Fn wfn 5799  wf 5800  cfv 5804  Xcixp 7794
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1713  ax-4 1728  ax-5 1827  ax-6 1875  ax-7 1922  ax-9 1986  ax-10 2006  ax-11 2021  ax-12 2034  ax-13 2234  ax-ext 2590  ax-sep 4709  ax-nul 4717  ax-pr 4833
This theorem depends on definitions:  df-bi 196  df-or 384  df-an 385  df-3an 1033  df-tru 1478  df-ex 1696  df-nf 1701  df-sb 1868  df-eu 2462  df-mo 2463  df-clab 2597  df-cleq 2603  df-clel 2606  df-nfc 2740  df-ne 2782  df-ral 2901  df-rex 2902  df-reu 2903  df-rab 2905  df-v 3175  df-sbc 3403  df-dif 3543  df-un 3545  df-in 3547  df-ss 3554  df-nul 3875  df-if 4037  df-sn 4126  df-pr 4128  df-op 4132  df-uni 4373  df-br 4584  df-opab 4644  df-mpt 4645  df-id 4953  df-xp 5044  df-rel 5045  df-cnv 5046  df-co 5047  df-dm 5048  df-rn 5049  df-res 5050  df-ima 5051  df-iota 5768  df-fun 5806  df-fn 5807  df-f 5808  df-f1 5809  df-fo 5810  df-f1o 5811  df-fv 5812  df-ixp 7795
This theorem is referenced by:  ixpsnf1o  7834  hoidmv1le  39484
  Copyright terms: Public domain W3C validator