ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  elixpsn GIF version

Theorem elixpsn 6629
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 3538 . . . 4 (𝑧 = 𝐴 → {𝑧} = {𝐴})
21ixpeq1d 6604 . . 3 (𝑧 = 𝐴X𝑥 ∈ {𝑧}𝐵 = X𝑥 ∈ {𝐴}𝐵)
32eleq2d 2209 . 2 (𝑧 = 𝐴 → (𝐹X𝑥 ∈ {𝑧}𝐵𝐹X𝑥 ∈ {𝐴}𝐵))
4 opeq1 3705 . . . . 5 (𝑧 = 𝐴 → ⟨𝑧, 𝑦⟩ = ⟨𝐴, 𝑦⟩)
54sneqd 3540 . . . 4 (𝑧 = 𝐴 → {⟨𝑧, 𝑦⟩} = {⟨𝐴, 𝑦⟩})
65eqeq2d 2151 . . 3 (𝑧 = 𝐴 → (𝐹 = {⟨𝑧, 𝑦⟩} ↔ 𝐹 = {⟨𝐴, 𝑦⟩}))
76rexbidv 2438 . 2 (𝑧 = 𝐴 → (∃𝑦𝐵 𝐹 = {⟨𝑧, 𝑦⟩} ↔ ∃𝑦𝐵 𝐹 = {⟨𝐴, 𝑦⟩}))
8 elex 2697 . . 3 (𝐹X𝑥 ∈ {𝑧}𝐵𝐹 ∈ V)
9 vex 2689 . . . . . . 7 𝑧 ∈ V
10 vex 2689 . . . . . . 7 𝑦 ∈ V
119, 10opex 4151 . . . . . 6 𝑧, 𝑦⟩ ∈ V
1211snex 4109 . . . . 5 {⟨𝑧, 𝑦⟩} ∈ V
13 eleq1 2202 . . . . 5 (𝐹 = {⟨𝑧, 𝑦⟩} → (𝐹 ∈ V ↔ {⟨𝑧, 𝑦⟩} ∈ V))
1412, 13mpbiri 167 . . . 4 (𝐹 = {⟨𝑧, 𝑦⟩} → 𝐹 ∈ V)
1514rexlimivw 2545 . . 3 (∃𝑦𝐵 𝐹 = {⟨𝑧, 𝑦⟩} → 𝐹 ∈ V)
16 eleq1 2202 . . . 4 (𝑤 = 𝐹 → (𝑤X𝑥 ∈ {𝑧}𝐵𝐹X𝑥 ∈ {𝑧}𝐵))
17 eqeq1 2146 . . . . 5 (𝑤 = 𝐹 → (𝑤 = {⟨𝑧, 𝑦⟩} ↔ 𝐹 = {⟨𝑧, 𝑦⟩}))
1817rexbidv 2438 . . . 4 (𝑤 = 𝐹 → (∃𝑦𝐵 𝑤 = {⟨𝑧, 𝑦⟩} ↔ ∃𝑦𝐵 𝐹 = {⟨𝑧, 𝑦⟩}))
19 vex 2689 . . . . . 6 𝑤 ∈ V
2019elixp 6599 . . . . 5 (𝑤X𝑥 ∈ {𝑧}𝐵 ↔ (𝑤 Fn {𝑧} ∧ ∀𝑥 ∈ {𝑧} (𝑤𝑥) ∈ 𝐵))
21 fveq2 5421 . . . . . . . 8 (𝑥 = 𝑧 → (𝑤𝑥) = (𝑤𝑧))
2221eleq1d 2208 . . . . . . 7 (𝑥 = 𝑧 → ((𝑤𝑥) ∈ 𝐵 ↔ (𝑤𝑧) ∈ 𝐵))
239, 22ralsn 3567 . . . . . 6 (∀𝑥 ∈ {𝑧} (𝑤𝑥) ∈ 𝐵 ↔ (𝑤𝑧) ∈ 𝐵)
2423anbi2i 452 . . . . 5 ((𝑤 Fn {𝑧} ∧ ∀𝑥 ∈ {𝑧} (𝑤𝑥) ∈ 𝐵) ↔ (𝑤 Fn {𝑧} ∧ (𝑤𝑧) ∈ 𝐵))
25 simpl 108 . . . . . . . . 9 ((𝑤 Fn {𝑧} ∧ (𝑤𝑧) ∈ 𝐵) → 𝑤 Fn {𝑧})
26 fveq2 5421 . . . . . . . . . . . . 13 (𝑦 = 𝑧 → (𝑤𝑦) = (𝑤𝑧))
2726eleq1d 2208 . . . . . . . . . . . 12 (𝑦 = 𝑧 → ((𝑤𝑦) ∈ 𝐵 ↔ (𝑤𝑧) ∈ 𝐵))
289, 27ralsn 3567 . . . . . . . . . . 11 (∀𝑦 ∈ {𝑧} (𝑤𝑦) ∈ 𝐵 ↔ (𝑤𝑧) ∈ 𝐵)
2928biimpri 132 . . . . . . . . . 10 ((𝑤𝑧) ∈ 𝐵 → ∀𝑦 ∈ {𝑧} (𝑤𝑦) ∈ 𝐵)
3029adantl 275 . . . . . . . . 9 ((𝑤 Fn {𝑧} ∧ (𝑤𝑧) ∈ 𝐵) → ∀𝑦 ∈ {𝑧} (𝑤𝑦) ∈ 𝐵)
31 ffnfv 5578 . . . . . . . . 9 (𝑤:{𝑧}⟶𝐵 ↔ (𝑤 Fn {𝑧} ∧ ∀𝑦 ∈ {𝑧} (𝑤𝑦) ∈ 𝐵))
3225, 30, 31sylanbrc 413 . . . . . . . 8 ((𝑤 Fn {𝑧} ∧ (𝑤𝑧) ∈ 𝐵) → 𝑤:{𝑧}⟶𝐵)
339fsn2 5594 . . . . . . . 8 (𝑤:{𝑧}⟶𝐵 ↔ ((𝑤𝑧) ∈ 𝐵𝑤 = {⟨𝑧, (𝑤𝑧)⟩}))
3432, 33sylib 121 . . . . . . 7 ((𝑤 Fn {𝑧} ∧ (𝑤𝑧) ∈ 𝐵) → ((𝑤𝑧) ∈ 𝐵𝑤 = {⟨𝑧, (𝑤𝑧)⟩}))
35 opeq2 3706 . . . . . . . . 9 (𝑦 = (𝑤𝑧) → ⟨𝑧, 𝑦⟩ = ⟨𝑧, (𝑤𝑧)⟩)
3635sneqd 3540 . . . . . . . 8 (𝑦 = (𝑤𝑧) → {⟨𝑧, 𝑦⟩} = {⟨𝑧, (𝑤𝑧)⟩})
3736rspceeqv 2807 . . . . . . 7 (((𝑤𝑧) ∈ 𝐵𝑤 = {⟨𝑧, (𝑤𝑧)⟩}) → ∃𝑦𝐵 𝑤 = {⟨𝑧, 𝑦⟩})
3834, 37syl 14 . . . . . 6 ((𝑤 Fn {𝑧} ∧ (𝑤𝑧) ∈ 𝐵) → ∃𝑦𝐵 𝑤 = {⟨𝑧, 𝑦⟩})
399, 10fvsn 5615 . . . . . . . . . 10 ({⟨𝑧, 𝑦⟩}‘𝑧) = 𝑦
40 id 19 . . . . . . . . . 10 (𝑦𝐵𝑦𝐵)
4139, 40eqeltrid 2226 . . . . . . . . 9 (𝑦𝐵 → ({⟨𝑧, 𝑦⟩}‘𝑧) ∈ 𝐵)
429, 10fnsn 5177 . . . . . . . . 9 {⟨𝑧, 𝑦⟩} Fn {𝑧}
4341, 42jctil 310 . . . . . . . 8 (𝑦𝐵 → ({⟨𝑧, 𝑦⟩} Fn {𝑧} ∧ ({⟨𝑧, 𝑦⟩}‘𝑧) ∈ 𝐵))
44 fneq1 5211 . . . . . . . . 9 (𝑤 = {⟨𝑧, 𝑦⟩} → (𝑤 Fn {𝑧} ↔ {⟨𝑧, 𝑦⟩} Fn {𝑧}))
45 fveq1 5420 . . . . . . . . . 10 (𝑤 = {⟨𝑧, 𝑦⟩} → (𝑤𝑧) = ({⟨𝑧, 𝑦⟩}‘𝑧))
4645eleq1d 2208 . . . . . . . . 9 (𝑤 = {⟨𝑧, 𝑦⟩} → ((𝑤𝑧) ∈ 𝐵 ↔ ({⟨𝑧, 𝑦⟩}‘𝑧) ∈ 𝐵))
4744, 46anbi12d 464 . . . . . . . 8 (𝑤 = {⟨𝑧, 𝑦⟩} → ((𝑤 Fn {𝑧} ∧ (𝑤𝑧) ∈ 𝐵) ↔ ({⟨𝑧, 𝑦⟩} Fn {𝑧} ∧ ({⟨𝑧, 𝑦⟩}‘𝑧) ∈ 𝐵)))
4843, 47syl5ibrcom 156 . . . . . . 7 (𝑦𝐵 → (𝑤 = {⟨𝑧, 𝑦⟩} → (𝑤 Fn {𝑧} ∧ (𝑤𝑧) ∈ 𝐵)))
4948rexlimiv 2543 . . . . . 6 (∃𝑦𝐵 𝑤 = {⟨𝑧, 𝑦⟩} → (𝑤 Fn {𝑧} ∧ (𝑤𝑧) ∈ 𝐵))
5038, 49impbii 125 . . . . 5 ((𝑤 Fn {𝑧} ∧ (𝑤𝑧) ∈ 𝐵) ↔ ∃𝑦𝐵 𝑤 = {⟨𝑧, 𝑦⟩})
5120, 24, 503bitri 205 . . . 4 (𝑤X𝑥 ∈ {𝑧}𝐵 ↔ ∃𝑦𝐵 𝑤 = {⟨𝑧, 𝑦⟩})
5216, 18, 51vtoclbg 2747 . . 3 (𝐹 ∈ V → (𝐹X𝑥 ∈ {𝑧}𝐵 ↔ ∃𝑦𝐵 𝐹 = {⟨𝑧, 𝑦⟩}))
538, 15, 52pm5.21nii 693 . 2 (𝐹X𝑥 ∈ {𝑧}𝐵 ↔ ∃𝑦𝐵 𝐹 = {⟨𝑧, 𝑦⟩})
543, 7, 53vtoclbg 2747 1 (𝐴𝑉 → (𝐹X𝑥 ∈ {𝐴}𝐵 ↔ ∃𝑦𝐵 𝐹 = {⟨𝐴, 𝑦⟩}))
Colors of variables: wff set class
Syntax hints:  wi 4  wa 103  wb 104   = wceq 1331  wcel 1480  wral 2416  wrex 2417  Vcvv 2686  {csn 3527  cop 3530   Fn wfn 5118  wf 5119  cfv 5123  Xcixp 6592
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-io 698  ax-5 1423  ax-7 1424  ax-gen 1425  ax-ie1 1469  ax-ie2 1470  ax-8 1482  ax-10 1483  ax-11 1484  ax-i12 1485  ax-bndl 1486  ax-4 1487  ax-14 1492  ax-17 1506  ax-i9 1510  ax-ial 1514  ax-i5r 1515  ax-ext 2121  ax-sep 4046  ax-pow 4098  ax-pr 4131
This theorem depends on definitions:  df-bi 116  df-3an 964  df-tru 1334  df-nf 1437  df-sb 1736  df-eu 2002  df-mo 2003  df-clab 2126  df-cleq 2132  df-clel 2135  df-nfc 2270  df-ral 2421  df-rex 2422  df-reu 2423  df-v 2688  df-sbc 2910  df-un 3075  df-in 3077  df-ss 3084  df-pw 3512  df-sn 3533  df-pr 3534  df-op 3536  df-uni 3737  df-br 3930  df-opab 3990  df-mpt 3991  df-id 4215  df-xp 4545  df-rel 4546  df-cnv 4547  df-co 4548  df-dm 4549  df-rn 4550  df-res 4551  df-ima 4552  df-iota 5088  df-fun 5125  df-fn 5126  df-f 5127  df-f1 5128  df-fo 5129  df-f1o 5130  df-fv 5131  df-ixp 6593
This theorem is referenced by:  ixpsnf1o  6630
  Copyright terms: Public domain W3C validator