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 31651
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 3212 . 2 (𝐴 ∈ dom 𝐵𝐴 ∈ V)
2 snprc 4253 . . . 4 𝐴 ∈ V ↔ {𝐴} = ∅)
3 reseq2 5391 . . . . 5 ({𝐴} = ∅ → (𝐵 ↾ {𝐴}) = (𝐵 ↾ ∅))
4 res0 5400 . . . . 5 (𝐵 ↾ ∅) = ∅
53, 4syl6eq 2672 . . . 4 ({𝐴} = ∅ → (𝐵 ↾ {𝐴}) = ∅)
62, 5sylbi 207 . . 3 𝐴 ∈ V → (𝐵 ↾ {𝐴}) = ∅)
76necon1ai 2821 . 2 ((𝐵 ↾ {𝐴}) ≠ ∅ → 𝐴 ∈ V)
8 eleq1 2689 . . 3 (𝑥 = 𝐴 → (𝑥 ∈ dom 𝐵𝐴 ∈ dom 𝐵))
9 sneq 4187 . . . . 5 (𝑥 = 𝐴 → {𝑥} = {𝐴})
109reseq2d 5396 . . . 4 (𝑥 = 𝐴 → (𝐵 ↾ {𝑥}) = (𝐵 ↾ {𝐴}))
1110neeq1d 2853 . . 3 (𝑥 = 𝐴 → ((𝐵 ↾ {𝑥}) ≠ ∅ ↔ (𝐵 ↾ {𝐴}) ≠ ∅))
12 df-clel 2618 . . . . 5 (⟨𝑥, 𝑦⟩ ∈ 𝐵 ↔ ∃𝑝(𝑝 = ⟨𝑥, 𝑦⟩ ∧ 𝑝𝐵))
1312exbii 1774 . . . 4 (∃𝑦𝑥, 𝑦⟩ ∈ 𝐵 ↔ ∃𝑦𝑝(𝑝 = ⟨𝑥, 𝑦⟩ ∧ 𝑝𝐵))
14 vex 3203 . . . . 5 𝑥 ∈ V
1514eldm2 5322 . . . 4 (𝑥 ∈ dom 𝐵 ↔ ∃𝑦𝑥, 𝑦⟩ ∈ 𝐵)
16 n0 3931 . . . . 5 ((𝐵 ↾ {𝑥}) ≠ ∅ ↔ ∃𝑝 𝑝 ∈ (𝐵 ↾ {𝑥}))
17 elres 5435 . . . . . . 7 (𝑝 ∈ (𝐵 ↾ {𝑥}) ↔ ∃𝑧 ∈ {𝑥}∃𝑦(𝑝 = ⟨𝑧, 𝑦⟩ ∧ ⟨𝑧, 𝑦⟩ ∈ 𝐵))
18 eleq1 2689 . . . . . . . . . . 11 (𝑝 = ⟨𝑧, 𝑦⟩ → (𝑝𝐵 ↔ ⟨𝑧, 𝑦⟩ ∈ 𝐵))
1918pm5.32i 669 . . . . . . . . . 10 ((𝑝 = ⟨𝑧, 𝑦⟩ ∧ 𝑝𝐵) ↔ (𝑝 = ⟨𝑧, 𝑦⟩ ∧ ⟨𝑧, 𝑦⟩ ∈ 𝐵))
20 opeq1 4402 . . . . . . . . . . . 12 (𝑧 = 𝑥 → ⟨𝑧, 𝑦⟩ = ⟨𝑥, 𝑦⟩)
2120eqeq2d 2632 . . . . . . . . . . 11 (𝑧 = 𝑥 → (𝑝 = ⟨𝑧, 𝑦⟩ ↔ 𝑝 = ⟨𝑥, 𝑦⟩))
2221anbi1d 741 . . . . . . . . . 10 (𝑧 = 𝑥 → ((𝑝 = ⟨𝑧, 𝑦⟩ ∧ 𝑝𝐵) ↔ (𝑝 = ⟨𝑥, 𝑦⟩ ∧ 𝑝𝐵)))
2319, 22syl5bbr 274 . . . . . . . . 9 (𝑧 = 𝑥 → ((𝑝 = ⟨𝑧, 𝑦⟩ ∧ ⟨𝑧, 𝑦⟩ ∈ 𝐵) ↔ (𝑝 = ⟨𝑥, 𝑦⟩ ∧ 𝑝𝐵)))
2423exbidv 1850 . . . . . . . 8 (𝑧 = 𝑥 → (∃𝑦(𝑝 = ⟨𝑧, 𝑦⟩ ∧ ⟨𝑧, 𝑦⟩ ∈ 𝐵) ↔ ∃𝑦(𝑝 = ⟨𝑥, 𝑦⟩ ∧ 𝑝𝐵)))
2514, 24rexsn 4223 . . . . . . 7 (∃𝑧 ∈ {𝑥}∃𝑦(𝑝 = ⟨𝑧, 𝑦⟩ ∧ ⟨𝑧, 𝑦⟩ ∈ 𝐵) ↔ ∃𝑦(𝑝 = ⟨𝑥, 𝑦⟩ ∧ 𝑝𝐵))
2617, 25bitri 264 . . . . . 6 (𝑝 ∈ (𝐵 ↾ {𝑥}) ↔ ∃𝑦(𝑝 = ⟨𝑥, 𝑦⟩ ∧ 𝑝𝐵))
2726exbii 1774 . . . . 5 (∃𝑝 𝑝 ∈ (𝐵 ↾ {𝑥}) ↔ ∃𝑝𝑦(𝑝 = ⟨𝑥, 𝑦⟩ ∧ 𝑝𝐵))
28 excom 2042 . . . . 5 (∃𝑝𝑦(𝑝 = ⟨𝑥, 𝑦⟩ ∧ 𝑝𝐵) ↔ ∃𝑦𝑝(𝑝 = ⟨𝑥, 𝑦⟩ ∧ 𝑝𝐵))
2916, 27, 283bitri 286 . . . 4 ((𝐵 ↾ {𝑥}) ≠ ∅ ↔ ∃𝑦𝑝(𝑝 = ⟨𝑥, 𝑦⟩ ∧ 𝑝𝐵))
3013, 15, 293bitr4i 292 . . 3 (𝑥 ∈ dom 𝐵 ↔ (𝐵 ↾ {𝑥}) ≠ ∅)
318, 11, 30vtoclbg 3267 . 2 (𝐴 ∈ V → (𝐴 ∈ dom 𝐵 ↔ (𝐵 ↾ {𝐴}) ≠ ∅))
321, 7, 31pm5.21nii 368 1 (𝐴 ∈ dom 𝐵 ↔ (𝐵 ↾ {𝐴}) ≠ ∅)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wb 196  wa 384   = wceq 1483  wex 1704  wcel 1990  wne 2794  wrex 2913  Vcvv 3200  c0 3915  {csn 4177  cop 4183  dom cdm 5114  cres 5116
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1722  ax-4 1737  ax-5 1839  ax-6 1888  ax-7 1935  ax-9 1999  ax-10 2019  ax-11 2034  ax-12 2047  ax-13 2246  ax-ext 2602  ax-sep 4781  ax-nul 4789  ax-pr 4906
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3an 1039  df-tru 1486  df-ex 1705  df-nf 1710  df-sb 1881  df-clab 2609  df-cleq 2615  df-clel 2618  df-nfc 2753  df-ne 2795  df-ral 2917  df-rex 2918  df-rab 2921  df-v 3202  df-sbc 3436  df-dif 3577  df-un 3579  df-in 3581  df-ss 3588  df-nul 3916  df-if 4087  df-sn 4178  df-pr 4180  df-op 4184  df-br 4654  df-opab 4713  df-xp 5120  df-rel 5121  df-dm 5124  df-res 5126
This theorem is referenced by:  elrn3  31652
  Copyright terms: Public domain W3C validator