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 36703
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 3475 . 2 (𝐴 ∈ dom 𝐵 → 𝐴 ∈ V)
2 snprc 4678 . . . 4 (¬ 𝐴 ∈ V ↔ {𝐴} = ∅)
3 reseq2 5975 . . . . 5 ({𝐴} = ∅ → (𝐵 ↾ {𝐴}) = (𝐵 ↾ ∅))
4 res0 5984 . . . . 5 (𝐵 ↾ ∅) = ∅
53, 4eqtrdi 2814 . . . 4 ({𝐴} = ∅ → (𝐵 ↾ {𝐴}) = ∅)
62, 5sylbi 220 . . 3 (¬ 𝐴 ∈ V → (𝐵 ↾ {𝐴}) = ∅)
76necon1ai 2986 . 2 ((𝐵 ↾ {𝐴}) ≠ ∅ → 𝐴 ∈ V)
8 eleq1 2852 . . 3 (𝑥 = 𝐴 → (𝑥 ∈ dom 𝐵 ↔ 𝐴 ∈ dom 𝐵))
9 sneq 4594 . . . . 5 (𝑥 = 𝐴 → {𝑥} = {𝐴})
109reseq2d 5980 . . . 4 (𝑥 = 𝐴 → (𝐵 ↾ {𝑥}) = (𝐵 ↾ {𝐴}))
1110neeq1d 3018 . . 3 (𝑥 = 𝐴 → ((𝐵 ↾ {𝑥}) ≠ ∅ ↔ (𝐵 ↾ {𝐴}) ≠ ∅))
12 dfclel 2840 . . . . 5 (⟨𝑥, 𝑦⟩ ∈ 𝐵 ↔ ∃𝑝(𝑝 = ⟨𝑥, 𝑦⟩ ∧ 𝑝 ∈ 𝐵))
1312exbii 1881 . . . 4 (∃𝑦⟨𝑥, 𝑦⟩ ∈ 𝐵 ↔ ∃𝑦∃𝑝(𝑝 = ⟨𝑥, 𝑦⟩ ∧ 𝑝 ∈ 𝐵))
14 vex 3458 . . . . 5 𝑥 ∈ V
1514eldm2 5889 . . . 4 (𝑥 ∈ dom 𝐵 ↔ ∃𝑦⟨𝑥, 𝑦⟩ ∈ 𝐵)
16 n0 4303 . . . . 5 ((𝐵 ↾ {𝑥}) ≠ ∅ ↔ ∃𝑝 𝑝 ∈ (𝐵 ↾ {𝑥}))
17 elres 6020 . . . . . . 7 (𝑝 ∈ (𝐵 ↾ {𝑥}) ↔ ∃𝑧 ∈ {𝑥}∃𝑦(𝑝 = ⟨𝑧, 𝑦⟩ ∧ ⟨𝑧, 𝑦⟩ ∈ 𝐵))
18 eleq1 2852 . . . . . . . . . . 11 (𝑝 = ⟨𝑧, 𝑦⟩ → (𝑝 ∈ 𝐵 ↔ ⟨𝑧, 𝑦⟩ ∈ 𝐵))
1918pm5.32i 585 . . . . . . . . . 10 ((𝑝 = ⟨𝑧, 𝑦⟩ ∧ 𝑝 ∈ 𝐵) ↔ (𝑝 = ⟨𝑧, 𝑦⟩ ∧ ⟨𝑧, 𝑦⟩ ∈ 𝐵))
20 opeq1 4843 . . . . . . . . . . . 12 (𝑧 = 𝑥 → ⟨𝑧, 𝑦⟩ = ⟨𝑥, 𝑦⟩)
2120eqeq2d 2774 . . . . . . . . . . 11 (𝑧 = 𝑥 → (𝑝 = ⟨𝑧, 𝑦⟩ ↔ 𝑝 = ⟨𝑥, 𝑦⟩))
2221anbi1d 643 . . . . . . . . . 10 (𝑧 = 𝑥 → ((𝑝 = ⟨𝑧, 𝑦⟩ ∧ 𝑝 ∈ 𝐵) ↔ (𝑝 = ⟨𝑥, 𝑦⟩ ∧ 𝑝 ∈ 𝐵)))
2319, 22bitr3id 288 . . . . . . . . 9 (𝑧 = 𝑥 → ((𝑝 = ⟨𝑧, 𝑦⟩ ∧ ⟨𝑧, 𝑦⟩ ∈ 𝐵) ↔ (𝑝 = ⟨𝑥, 𝑦⟩ ∧ 𝑝 ∈ 𝐵)))
2423exbidv 1956 . . . . . . . 8 (𝑧 = 𝑥 → (∃𝑦(𝑝 = ⟨𝑧, 𝑦⟩ ∧ ⟨𝑧, 𝑦⟩ ∈ 𝐵) ↔ ∃𝑦(𝑝 = ⟨𝑥, 𝑦⟩ ∧ 𝑝 ∈ 𝐵)))
2514, 24rexsn 4643 . . . . . . 7 (∃𝑧 ∈ {𝑥}∃𝑦(𝑝 = ⟨𝑧, 𝑦⟩ ∧ ⟨𝑧, 𝑦⟩ ∈ 𝐵) ↔ ∃𝑦(𝑝 = ⟨𝑥, 𝑦⟩ ∧ 𝑝 ∈ 𝐵))
2617, 25bitri 278 . . . . . 6 (𝑝 ∈ (𝐵 ↾ {𝑥}) ↔ ∃𝑦(𝑝 = ⟨𝑥, 𝑦⟩ ∧ 𝑝 ∈ 𝐵))
2726exbii 1881 . . . . 5 (∃𝑝 𝑝 ∈ (𝐵 ↾ {𝑥}) ↔ ∃𝑝∃𝑦(𝑝 = ⟨𝑥, 𝑦⟩ ∧ 𝑝 ∈ 𝐵))
28 excom 2202 . . . . 5 (∃𝑝∃𝑦(𝑝 = ⟨𝑥, 𝑦⟩ ∧ 𝑝 ∈ 𝐵) ↔ ∃𝑦∃𝑝(𝑝 = ⟨𝑥, 𝑦⟩ ∧ 𝑝 ∈ 𝐵))
2916, 27, 283bitri 300 . . . 4 ((𝐵 ↾ {𝑥}) ≠ ∅ ↔ ∃𝑦∃𝑝(𝑝 = ⟨𝑥, 𝑦⟩ ∧ 𝑝 ∈ 𝐵))
3013, 15, 293bitr4i 306 . . 3 (𝑥 ∈ dom 𝐵 ↔ (𝐵 ↾ {𝑥}) ≠ ∅)
318, 11, 30vtoclbg 3523 . 2 (𝐴 ∈ V → (𝐴 ∈ dom 𝐵 ↔ (𝐵 ↾ {𝐴}) ≠ ∅))
321, 7, 31pm5.21nii 381 1 (𝐴 ∈ dom 𝐵 ↔ (𝐵 ↾ {𝐴}) ≠ ∅)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   ↔ wb 209   ∧ wa 401   = wceq 1570  ∃wex 1812   ∈ wcel 2147   ≠ wne 2959  ∃wrex 3090  Vcvv 3454  ∅c0 4281  {csn 4588  ⟨cop 4838  dom cdm 5655   ↾ cres 5657
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-11 2197  ax-ext 2735  ax-sep 5252  ax-pr 5395
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-sb 2102  df-clab 2742  df-cleq 2755  df-clel 2839  df-ne 2960  df-ral 3081  df-rex 3091  df-rab 3417  df-v 3456  df-ss 3901  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-sn 4589  df-pr 4591  df-op 4839  df-br 5107  df-opab 5171  df-xp 5661  df-rel 5662  df-dm 5665  df-res 5667
This theorem is used by:  elrn3  36704
  Copyright terms: Public domain W3C validator