Users' Mathboxes Mathbox for Scott Fenton < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  elima4 Structured version   Visualization version   GIF version

Theorem elima4 33656
Description: Quantifier-free expression saying that a class is a member of an image. (Contributed by Scott Fenton, 8-May-2018.)
Assertion
Ref Expression
elima4 (𝐴 ∈ (𝑅𝐵) ↔ (𝑅 ∩ (𝐵 × {𝐴})) ≠ ∅)

Proof of Theorem elima4
Dummy variables 𝑥 𝑝 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 elex 3440 . 2 (𝐴 ∈ (𝑅𝐵) → 𝐴 ∈ V)
2 xpeq2 5601 . . . . . . 7 ({𝐴} = ∅ → (𝐵 × {𝐴}) = (𝐵 × ∅))
3 xp0 6050 . . . . . . 7 (𝐵 × ∅) = ∅
42, 3eqtrdi 2795 . . . . . 6 ({𝐴} = ∅ → (𝐵 × {𝐴}) = ∅)
54ineq2d 4143 . . . . 5 ({𝐴} = ∅ → (𝑅 ∩ (𝐵 × {𝐴})) = (𝑅 ∩ ∅))
6 in0 4322 . . . . 5 (𝑅 ∩ ∅) = ∅
75, 6eqtrdi 2795 . . . 4 ({𝐴} = ∅ → (𝑅 ∩ (𝐵 × {𝐴})) = ∅)
87necon3i 2975 . . 3 ((𝑅 ∩ (𝐵 × {𝐴})) ≠ ∅ → {𝐴} ≠ ∅)
9 snnzb 4651 . . 3 (𝐴 ∈ V ↔ {𝐴} ≠ ∅)
108, 9sylibr 233 . 2 ((𝑅 ∩ (𝐵 × {𝐴})) ≠ ∅ → 𝐴 ∈ V)
11 eleq1 2826 . . 3 (𝑥 = 𝐴 → (𝑥 ∈ (𝑅𝐵) ↔ 𝐴 ∈ (𝑅𝐵)))
12 sneq 4568 . . . . . 6 (𝑥 = 𝐴 → {𝑥} = {𝐴})
1312xpeq2d 5610 . . . . 5 (𝑥 = 𝐴 → (𝐵 × {𝑥}) = (𝐵 × {𝐴}))
1413ineq2d 4143 . . . 4 (𝑥 = 𝐴 → (𝑅 ∩ (𝐵 × {𝑥})) = (𝑅 ∩ (𝐵 × {𝐴})))
1514neeq1d 3002 . . 3 (𝑥 = 𝐴 → ((𝑅 ∩ (𝐵 × {𝑥})) ≠ ∅ ↔ (𝑅 ∩ (𝐵 × {𝐴})) ≠ ∅))
16 elin 3899 . . . . . . 7 (𝑝 ∈ (𝑅 ∩ (𝐵 × {𝑥})) ↔ (𝑝𝑅𝑝 ∈ (𝐵 × {𝑥})))
17 ancom 460 . . . . . . 7 ((𝑝𝑅𝑝 ∈ (𝐵 × {𝑥})) ↔ (𝑝 ∈ (𝐵 × {𝑥}) ∧ 𝑝𝑅))
18 elxp 5603 . . . . . . . 8 (𝑝 ∈ (𝐵 × {𝑥}) ↔ ∃𝑦𝑧(𝑝 = ⟨𝑦, 𝑧⟩ ∧ (𝑦𝐵𝑧 ∈ {𝑥})))
1918anbi1i 623 . . . . . . 7 ((𝑝 ∈ (𝐵 × {𝑥}) ∧ 𝑝𝑅) ↔ (∃𝑦𝑧(𝑝 = ⟨𝑦, 𝑧⟩ ∧ (𝑦𝐵𝑧 ∈ {𝑥})) ∧ 𝑝𝑅))
2016, 17, 193bitri 296 . . . . . 6 (𝑝 ∈ (𝑅 ∩ (𝐵 × {𝑥})) ↔ (∃𝑦𝑧(𝑝 = ⟨𝑦, 𝑧⟩ ∧ (𝑦𝐵𝑧 ∈ {𝑥})) ∧ 𝑝𝑅))
2120exbii 1851 . . . . 5 (∃𝑝 𝑝 ∈ (𝑅 ∩ (𝐵 × {𝑥})) ↔ ∃𝑝(∃𝑦𝑧(𝑝 = ⟨𝑦, 𝑧⟩ ∧ (𝑦𝐵𝑧 ∈ {𝑥})) ∧ 𝑝𝑅))
22 anass 468 . . . . . . . . 9 (((𝑝 = ⟨𝑦, 𝑧⟩ ∧ (𝑦𝐵𝑧 ∈ {𝑥})) ∧ 𝑝𝑅) ↔ (𝑝 = ⟨𝑦, 𝑧⟩ ∧ ((𝑦𝐵𝑧 ∈ {𝑥}) ∧ 𝑝𝑅)))
23222exbii 1852 . . . . . . . 8 (∃𝑦𝑧((𝑝 = ⟨𝑦, 𝑧⟩ ∧ (𝑦𝐵𝑧 ∈ {𝑥})) ∧ 𝑝𝑅) ↔ ∃𝑦𝑧(𝑝 = ⟨𝑦, 𝑧⟩ ∧ ((𝑦𝐵𝑧 ∈ {𝑥}) ∧ 𝑝𝑅)))
24 19.41vv 1955 . . . . . . . 8 (∃𝑦𝑧((𝑝 = ⟨𝑦, 𝑧⟩ ∧ (𝑦𝐵𝑧 ∈ {𝑥})) ∧ 𝑝𝑅) ↔ (∃𝑦𝑧(𝑝 = ⟨𝑦, 𝑧⟩ ∧ (𝑦𝐵𝑧 ∈ {𝑥})) ∧ 𝑝𝑅))
2523, 24bitr3i 276 . . . . . . 7 (∃𝑦𝑧(𝑝 = ⟨𝑦, 𝑧⟩ ∧ ((𝑦𝐵𝑧 ∈ {𝑥}) ∧ 𝑝𝑅)) ↔ (∃𝑦𝑧(𝑝 = ⟨𝑦, 𝑧⟩ ∧ (𝑦𝐵𝑧 ∈ {𝑥})) ∧ 𝑝𝑅))
2625exbii 1851 . . . . . 6 (∃𝑝𝑦𝑧(𝑝 = ⟨𝑦, 𝑧⟩ ∧ ((𝑦𝐵𝑧 ∈ {𝑥}) ∧ 𝑝𝑅)) ↔ ∃𝑝(∃𝑦𝑧(𝑝 = ⟨𝑦, 𝑧⟩ ∧ (𝑦𝐵𝑧 ∈ {𝑥})) ∧ 𝑝𝑅))
27 exrot3 2167 . . . . . 6 (∃𝑝𝑦𝑧(𝑝 = ⟨𝑦, 𝑧⟩ ∧ ((𝑦𝐵𝑧 ∈ {𝑥}) ∧ 𝑝𝑅)) ↔ ∃𝑦𝑧𝑝(𝑝 = ⟨𝑦, 𝑧⟩ ∧ ((𝑦𝐵𝑧 ∈ {𝑥}) ∧ 𝑝𝑅)))
2826, 27bitr3i 276 . . . . 5 (∃𝑝(∃𝑦𝑧(𝑝 = ⟨𝑦, 𝑧⟩ ∧ (𝑦𝐵𝑧 ∈ {𝑥})) ∧ 𝑝𝑅) ↔ ∃𝑦𝑧𝑝(𝑝 = ⟨𝑦, 𝑧⟩ ∧ ((𝑦𝐵𝑧 ∈ {𝑥}) ∧ 𝑝𝑅)))
29 opex 5373 . . . . . . . . 9 𝑦, 𝑧⟩ ∈ V
30 eleq1 2826 . . . . . . . . . 10 (𝑝 = ⟨𝑦, 𝑧⟩ → (𝑝𝑅 ↔ ⟨𝑦, 𝑧⟩ ∈ 𝑅))
3130anbi2d 628 . . . . . . . . 9 (𝑝 = ⟨𝑦, 𝑧⟩ → (((𝑦𝐵𝑧 ∈ {𝑥}) ∧ 𝑝𝑅) ↔ ((𝑦𝐵𝑧 ∈ {𝑥}) ∧ ⟨𝑦, 𝑧⟩ ∈ 𝑅)))
3229, 31ceqsexv 3469 . . . . . . . 8 (∃𝑝(𝑝 = ⟨𝑦, 𝑧⟩ ∧ ((𝑦𝐵𝑧 ∈ {𝑥}) ∧ 𝑝𝑅)) ↔ ((𝑦𝐵𝑧 ∈ {𝑥}) ∧ ⟨𝑦, 𝑧⟩ ∈ 𝑅))
3332exbii 1851 . . . . . . 7 (∃𝑧𝑝(𝑝 = ⟨𝑦, 𝑧⟩ ∧ ((𝑦𝐵𝑧 ∈ {𝑥}) ∧ 𝑝𝑅)) ↔ ∃𝑧((𝑦𝐵𝑧 ∈ {𝑥}) ∧ ⟨𝑦, 𝑧⟩ ∈ 𝑅))
34 anass 468 . . . . . . . . 9 (((𝑦𝐵𝑧 ∈ {𝑥}) ∧ ⟨𝑦, 𝑧⟩ ∈ 𝑅) ↔ (𝑦𝐵 ∧ (𝑧 ∈ {𝑥} ∧ ⟨𝑦, 𝑧⟩ ∈ 𝑅)))
35 an12 641 . . . . . . . . 9 ((𝑦𝐵 ∧ (𝑧 ∈ {𝑥} ∧ ⟨𝑦, 𝑧⟩ ∈ 𝑅)) ↔ (𝑧 ∈ {𝑥} ∧ (𝑦𝐵 ∧ ⟨𝑦, 𝑧⟩ ∈ 𝑅)))
36 velsn 4574 . . . . . . . . . 10 (𝑧 ∈ {𝑥} ↔ 𝑧 = 𝑥)
3736anbi1i 623 . . . . . . . . 9 ((𝑧 ∈ {𝑥} ∧ (𝑦𝐵 ∧ ⟨𝑦, 𝑧⟩ ∈ 𝑅)) ↔ (𝑧 = 𝑥 ∧ (𝑦𝐵 ∧ ⟨𝑦, 𝑧⟩ ∈ 𝑅)))
3834, 35, 373bitri 296 . . . . . . . 8 (((𝑦𝐵𝑧 ∈ {𝑥}) ∧ ⟨𝑦, 𝑧⟩ ∈ 𝑅) ↔ (𝑧 = 𝑥 ∧ (𝑦𝐵 ∧ ⟨𝑦, 𝑧⟩ ∈ 𝑅)))
3938exbii 1851 . . . . . . 7 (∃𝑧((𝑦𝐵𝑧 ∈ {𝑥}) ∧ ⟨𝑦, 𝑧⟩ ∈ 𝑅) ↔ ∃𝑧(𝑧 = 𝑥 ∧ (𝑦𝐵 ∧ ⟨𝑦, 𝑧⟩ ∈ 𝑅)))
40 vex 3426 . . . . . . . 8 𝑥 ∈ V
41 opeq2 4802 . . . . . . . . . 10 (𝑧 = 𝑥 → ⟨𝑦, 𝑧⟩ = ⟨𝑦, 𝑥⟩)
4241eleq1d 2823 . . . . . . . . 9 (𝑧 = 𝑥 → (⟨𝑦, 𝑧⟩ ∈ 𝑅 ↔ ⟨𝑦, 𝑥⟩ ∈ 𝑅))
4342anbi2d 628 . . . . . . . 8 (𝑧 = 𝑥 → ((𝑦𝐵 ∧ ⟨𝑦, 𝑧⟩ ∈ 𝑅) ↔ (𝑦𝐵 ∧ ⟨𝑦, 𝑥⟩ ∈ 𝑅)))
4440, 43ceqsexv 3469 . . . . . . 7 (∃𝑧(𝑧 = 𝑥 ∧ (𝑦𝐵 ∧ ⟨𝑦, 𝑧⟩ ∈ 𝑅)) ↔ (𝑦𝐵 ∧ ⟨𝑦, 𝑥⟩ ∈ 𝑅))
4533, 39, 443bitri 296 . . . . . 6 (∃𝑧𝑝(𝑝 = ⟨𝑦, 𝑧⟩ ∧ ((𝑦𝐵𝑧 ∈ {𝑥}) ∧ 𝑝𝑅)) ↔ (𝑦𝐵 ∧ ⟨𝑦, 𝑥⟩ ∈ 𝑅))
4645exbii 1851 . . . . 5 (∃𝑦𝑧𝑝(𝑝 = ⟨𝑦, 𝑧⟩ ∧ ((𝑦𝐵𝑧 ∈ {𝑥}) ∧ 𝑝𝑅)) ↔ ∃𝑦(𝑦𝐵 ∧ ⟨𝑦, 𝑥⟩ ∈ 𝑅))
4721, 28, 463bitri 296 . . . 4 (∃𝑝 𝑝 ∈ (𝑅 ∩ (𝐵 × {𝑥})) ↔ ∃𝑦(𝑦𝐵 ∧ ⟨𝑦, 𝑥⟩ ∈ 𝑅))
48 n0 4277 . . . 4 ((𝑅 ∩ (𝐵 × {𝑥})) ≠ ∅ ↔ ∃𝑝 𝑝 ∈ (𝑅 ∩ (𝐵 × {𝑥})))
4940elima3 5965 . . . 4 (𝑥 ∈ (𝑅𝐵) ↔ ∃𝑦(𝑦𝐵 ∧ ⟨𝑦, 𝑥⟩ ∈ 𝑅))
5047, 48, 493bitr4ri 303 . . 3 (𝑥 ∈ (𝑅𝐵) ↔ (𝑅 ∩ (𝐵 × {𝑥})) ≠ ∅)
5111, 15, 50vtoclbg 3497 . 2 (𝐴 ∈ V → (𝐴 ∈ (𝑅𝐵) ↔ (𝑅 ∩ (𝐵 × {𝐴})) ≠ ∅))
521, 10, 51pm5.21nii 379 1 (𝐴 ∈ (𝑅𝐵) ↔ (𝑅 ∩ (𝐵 × {𝐴})) ≠ ∅)
Colors of variables: wff setvar class
Syntax hints:  wb 205  wa 395   = wceq 1539  wex 1783  wcel 2108  wne 2942  Vcvv 3422  cin 3882  c0 4253  {csn 4558  cop 4564   × cxp 5578  cima 5583
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-sep 5218  ax-nul 5225  ax-pr 5347
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-clab 2716  df-cleq 2730  df-clel 2817  df-ne 2943  df-ral 3068  df-rex 3069  df-rab 3072  df-v 3424  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4254  df-if 4457  df-sn 4559  df-pr 4561  df-op 4565  df-br 5071  df-opab 5133  df-xp 5586  df-rel 5587  df-cnv 5588  df-dm 5590  df-rn 5591  df-res 5592  df-ima 5593
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator