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

Theorem eldm3 33634
Description: Quantifier-free definition of membership in a domain. (Contributed by Scott Fenton, 21-Jan-2017.)
Assertion
Ref Expression
eldm3 (𝐴 ∈ dom 𝐵 ↔ (𝐵 ↾ {𝐴}) ≠ ∅)

Proof of Theorem eldm3
Dummy variables 𝑥 𝑦 𝑧 𝑝 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 elex 3440 . 2 (𝐴 ∈ dom 𝐵𝐴 ∈ V)
2 snprc 4650 . . . 4 𝐴 ∈ V ↔ {𝐴} = ∅)
3 reseq2 5875 . . . . 5 ({𝐴} = ∅ → (𝐵 ↾ {𝐴}) = (𝐵 ↾ ∅))
4 res0 5884 . . . . 5 (𝐵 ↾ ∅) = ∅
53, 4eqtrdi 2795 . . . 4 ({𝐴} = ∅ → (𝐵 ↾ {𝐴}) = ∅)
62, 5sylbi 216 . . 3 𝐴 ∈ V → (𝐵 ↾ {𝐴}) = ∅)
76necon1ai 2970 . 2 ((𝐵 ↾ {𝐴}) ≠ ∅ → 𝐴 ∈ V)
8 eleq1 2826 . . 3 (𝑥 = 𝐴 → (𝑥 ∈ dom 𝐵𝐴 ∈ dom 𝐵))
9 sneq 4568 . . . . 5 (𝑥 = 𝐴 → {𝑥} = {𝐴})
109reseq2d 5880 . . . 4 (𝑥 = 𝐴 → (𝐵 ↾ {𝑥}) = (𝐵 ↾ {𝐴}))
1110neeq1d 3002 . . 3 (𝑥 = 𝐴 → ((𝐵 ↾ {𝑥}) ≠ ∅ ↔ (𝐵 ↾ {𝐴}) ≠ ∅))
12 dfclel 2818 . . . . 5 (⟨𝑥, 𝑦⟩ ∈ 𝐵 ↔ ∃𝑝(𝑝 = ⟨𝑥, 𝑦⟩ ∧ 𝑝𝐵))
1312exbii 1851 . . . 4 (∃𝑦𝑥, 𝑦⟩ ∈ 𝐵 ↔ ∃𝑦𝑝(𝑝 = ⟨𝑥, 𝑦⟩ ∧ 𝑝𝐵))
14 vex 3426 . . . . 5 𝑥 ∈ V
1514eldm2 5799 . . . 4 (𝑥 ∈ dom 𝐵 ↔ ∃𝑦𝑥, 𝑦⟩ ∈ 𝐵)
16 n0 4277 . . . . 5 ((𝐵 ↾ {𝑥}) ≠ ∅ ↔ ∃𝑝 𝑝 ∈ (𝐵 ↾ {𝑥}))
17 elres 5919 . . . . . . 7 (𝑝 ∈ (𝐵 ↾ {𝑥}) ↔ ∃𝑧 ∈ {𝑥}∃𝑦(𝑝 = ⟨𝑧, 𝑦⟩ ∧ ⟨𝑧, 𝑦⟩ ∈ 𝐵))
18 eleq1 2826 . . . . . . . . . . 11 (𝑝 = ⟨𝑧, 𝑦⟩ → (𝑝𝐵 ↔ ⟨𝑧, 𝑦⟩ ∈ 𝐵))
1918pm5.32i 574 . . . . . . . . . 10 ((𝑝 = ⟨𝑧, 𝑦⟩ ∧ 𝑝𝐵) ↔ (𝑝 = ⟨𝑧, 𝑦⟩ ∧ ⟨𝑧, 𝑦⟩ ∈ 𝐵))
20 opeq1 4801 . . . . . . . . . . . 12 (𝑧 = 𝑥 → ⟨𝑧, 𝑦⟩ = ⟨𝑥, 𝑦⟩)
2120eqeq2d 2749 . . . . . . . . . . 11 (𝑧 = 𝑥 → (𝑝 = ⟨𝑧, 𝑦⟩ ↔ 𝑝 = ⟨𝑥, 𝑦⟩))
2221anbi1d 629 . . . . . . . . . 10 (𝑧 = 𝑥 → ((𝑝 = ⟨𝑧, 𝑦⟩ ∧ 𝑝𝐵) ↔ (𝑝 = ⟨𝑥, 𝑦⟩ ∧ 𝑝𝐵)))
2319, 22bitr3id 284 . . . . . . . . 9 (𝑧 = 𝑥 → ((𝑝 = ⟨𝑧, 𝑦⟩ ∧ ⟨𝑧, 𝑦⟩ ∈ 𝐵) ↔ (𝑝 = ⟨𝑥, 𝑦⟩ ∧ 𝑝𝐵)))
2423exbidv 1925 . . . . . . . 8 (𝑧 = 𝑥 → (∃𝑦(𝑝 = ⟨𝑧, 𝑦⟩ ∧ ⟨𝑧, 𝑦⟩ ∈ 𝐵) ↔ ∃𝑦(𝑝 = ⟨𝑥, 𝑦⟩ ∧ 𝑝𝐵)))
2514, 24rexsn 4615 . . . . . . 7 (∃𝑧 ∈ {𝑥}∃𝑦(𝑝 = ⟨𝑧, 𝑦⟩ ∧ ⟨𝑧, 𝑦⟩ ∈ 𝐵) ↔ ∃𝑦(𝑝 = ⟨𝑥, 𝑦⟩ ∧ 𝑝𝐵))
2617, 25bitri 274 . . . . . 6 (𝑝 ∈ (𝐵 ↾ {𝑥}) ↔ ∃𝑦(𝑝 = ⟨𝑥, 𝑦⟩ ∧ 𝑝𝐵))
2726exbii 1851 . . . . 5 (∃𝑝 𝑝 ∈ (𝐵 ↾ {𝑥}) ↔ ∃𝑝𝑦(𝑝 = ⟨𝑥, 𝑦⟩ ∧ 𝑝𝐵))
28 excom 2164 . . . . 5 (∃𝑝𝑦(𝑝 = ⟨𝑥, 𝑦⟩ ∧ 𝑝𝐵) ↔ ∃𝑦𝑝(𝑝 = ⟨𝑥, 𝑦⟩ ∧ 𝑝𝐵))
2916, 27, 283bitri 296 . . . 4 ((𝐵 ↾ {𝑥}) ≠ ∅ ↔ ∃𝑦𝑝(𝑝 = ⟨𝑥, 𝑦⟩ ∧ 𝑝𝐵))
3013, 15, 293bitr4i 302 . . 3 (𝑥 ∈ dom 𝐵 ↔ (𝐵 ↾ {𝑥}) ≠ ∅)
318, 11, 30vtoclbg 3497 . 2 (𝐴 ∈ V → (𝐴 ∈ dom 𝐵 ↔ (𝐵 ↾ {𝐴}) ≠ ∅))
321, 7, 31pm5.21nii 379 1 (𝐴 ∈ dom 𝐵 ↔ (𝐵 ↾ {𝐴}) ≠ ∅)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wb 205  wa 395   = wceq 1539  wex 1783  wcel 2108  wne 2942  wrex 3064  Vcvv 3422  c0 4253  {csn 4558  cop 4564  dom cdm 5580  cres 5582
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-11 2156  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-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-dm 5590  df-res 5592
This theorem is referenced by:  elrn3  33635
  Copyright terms: Public domain W3C validator