MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  releldm2 Structured version   Visualization version   GIF version

Theorem releldm2 8088
Description: Two ways of expressing membership in the domain of a relation. (Contributed by NM, 22-Sep-2013.)
Assertion
Ref Expression
releldm2 (Rel 𝐴 → (𝐵 ∈ dom 𝐴 ↔ ∃𝑥 ∈ 𝐴 (1st ‘𝑥) = 𝐵))
Distinct variable groups:   𝑥,𝐴   𝑥,𝐵

Proof of Theorem releldm2
Dummy variable 𝑦 is distinct from all other variables.
StepHypRef Expression
1 elex 3475 . . 3 (𝐵 ∈ dom 𝐴 → 𝐵 ∈ V)
21anim2i 629 . 2 ((Rel 𝐴 ∧ 𝐵 ∈ dom 𝐴) → (Rel 𝐴 ∧ 𝐵 ∈ V))
3 id 23 . . . . 5 ((1st ‘𝑥) = 𝐵 → (1st ‘𝑥) = 𝐵)
4 fvex 6929 . . . . 5 (1st ‘𝑥) ∈ V
53, 4eqeltrrdi 2873 . . . 4 ((1st ‘𝑥) = 𝐵 → 𝐵 ∈ V)
65rexlimivw 3163 . . 3 (∃𝑥 ∈ 𝐴 (1st ‘𝑥) = 𝐵 → 𝐵 ∈ V)
76anim2i 629 . 2 ((Rel 𝐴 ∧ ∃𝑥 ∈ 𝐴 (1st ‘𝑥) = 𝐵) → (Rel 𝐴 ∧ 𝐵 ∈ V))
8 eldm2g 5893 . . . 4 (𝐵 ∈ V → (𝐵 ∈ dom 𝐴 ↔ ∃𝑦⟨𝐵, 𝑦⟩ ∈ 𝐴))
98adantl 487 . . 3 ((Rel 𝐴 ∧ 𝐵 ∈ V) → (𝐵 ∈ dom 𝐴 ↔ ∃𝑦⟨𝐵, 𝑦⟩ ∈ 𝐴))
10 df-rel 5665 . . . . . . . . 9 (Rel 𝐴 ↔ 𝐴 ⊆ (V × V))
11 ssel 3907 . . . . . . . . 9 (𝐴 ⊆ (V × V) → (𝑥 ∈ 𝐴 → 𝑥 ∈ (V × V)))
1210, 11sylbi 220 . . . . . . . 8 (Rel 𝐴 → (𝑥 ∈ 𝐴 → 𝑥 ∈ (V × V)))
1312imp 412 . . . . . . 7 ((Rel 𝐴 ∧ 𝑥 ∈ 𝐴) → 𝑥 ∈ (V × V))
14 op1steq 8079 . . . . . . 7 (𝑥 ∈ (V × V) → ((1st ‘𝑥) = 𝐵 ↔ ∃𝑦 𝑥 = ⟨𝐵, 𝑦⟩))
1513, 14syl 18 . . . . . 6 ((Rel 𝐴 ∧ 𝑥 ∈ 𝐴) → ((1st ‘𝑥) = 𝐵 ↔ ∃𝑦 𝑥 = ⟨𝐵, 𝑦⟩))
1615rexbidva 3188 . . . . 5 (Rel 𝐴 → (∃𝑥 ∈ 𝐴 (1st ‘𝑥) = 𝐵 ↔ ∃𝑥 ∈ 𝐴 ∃𝑦 𝑥 = ⟨𝐵, 𝑦⟩))
1716adantr 486 . . . 4 ((Rel 𝐴 ∧ 𝐵 ∈ V) → (∃𝑥 ∈ 𝐴 (1st ‘𝑥) = 𝐵 ↔ ∃𝑥 ∈ 𝐴 ∃𝑦 𝑥 = ⟨𝐵, 𝑦⟩))
18 rexcom4 3293 . . . . 5 (∃𝑥 ∈ 𝐴 ∃𝑦 𝑥 = ⟨𝐵, 𝑦⟩ ↔ ∃𝑦∃𝑥 ∈ 𝐴 𝑥 = ⟨𝐵, 𝑦⟩)
19 risset 3241 . . . . . 6 (⟨𝐵, 𝑦⟩ ∈ 𝐴 ↔ ∃𝑥 ∈ 𝐴 𝑥 = ⟨𝐵, 𝑦⟩)
2019exbii 1881 . . . . 5 (∃𝑦⟨𝐵, 𝑦⟩ ∈ 𝐴 ↔ ∃𝑦∃𝑥 ∈ 𝐴 𝑥 = ⟨𝐵, 𝑦⟩)
2118, 20bitr4i 281 . . . 4 (∃𝑥 ∈ 𝐴 ∃𝑦 𝑥 = ⟨𝐵, 𝑦⟩ ↔ ∃𝑦⟨𝐵, 𝑦⟩ ∈ 𝐴)
2217, 21bitrdi 290 . . 3 ((Rel 𝐴 ∧ 𝐵 ∈ V) → (∃𝑥 ∈ 𝐴 (1st ‘𝑥) = 𝐵 ↔ ∃𝑦⟨𝐵, 𝑦⟩ ∈ 𝐴))
239, 22bitr4d 285 . 2 ((Rel 𝐴 ∧ 𝐵 ∈ V) → (𝐵 ∈ dom 𝐴 ↔ ∃𝑥 ∈ 𝐴 (1st ‘𝑥) = 𝐵))
242, 7, 23pm5.21nd 814 1 (Rel 𝐴 → (𝐵 ∈ dom 𝐴 ↔ ∃𝑥 ∈ 𝐴 (1st ‘𝑥) = 𝐵))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1570  ∃wex 1812   ∈ wcel 2147  ∃wrex 3090  Vcvv 3454   ⊆ wss 3900  ⟨cop 4840   × cxp 5656  dom cdm 5658  Rel wrel 5663  ‘cfv 6566  1st c1st 8033
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-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735  ax-sep 5255  ax-nul 5266  ax-pr 5398  ax-un 7783
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-nf 1817  df-sb 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  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 4841  df-uni 4873  df-br 5109  df-opab 5174  df-mpt 5193  df-id 5553  df-xp 5664  df-rel 5665  df-cnv 5666  df-co 5667  df-dm 5668  df-rn 5669  df-iota 6520  df-fun 6568  df-fv 6574  df-1st 8035  df-2nd 8036
This theorem is used by:  reldm  8089  reldmOLD  8090  releldmdifi  8091  satffunlem1lem2  36376  satffunlem2lem2  36379
  Copyright terms: Public domain W3C validator