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

Theorem dfdm5 33018
Description: Definition of domain in terms of 1st and image. (Contributed by Scott Fenton, 11-Apr-2014.) (Revised by Mario Carneiro, 19-Apr-2014.) (Proof shortened by Peter Mazsa, 2-Oct-2022.)
Assertion
Ref Expression
dfdm5 dom 𝐴 = ((1st ↾ (V × V)) “ 𝐴)

Proof of Theorem dfdm5
Dummy variables 𝑝 𝑥 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 excom 2169 . . . 4 (∃𝑦𝑝𝑧(𝑝 = ⟨𝑧, 𝑦⟩ ∧ (𝑝1st 𝑥𝑝𝐴)) ↔ ∃𝑝𝑦𝑧(𝑝 = ⟨𝑧, 𝑦⟩ ∧ (𝑝1st 𝑥𝑝𝐴)))
2 opex 5358 . . . . . . . 8 𝑧, 𝑦⟩ ∈ V
3 breq1 5071 . . . . . . . . . 10 (𝑝 = ⟨𝑧, 𝑦⟩ → (𝑝1st 𝑥 ↔ ⟨𝑧, 𝑦⟩1st 𝑥))
4 eleq1 2902 . . . . . . . . . 10 (𝑝 = ⟨𝑧, 𝑦⟩ → (𝑝𝐴 ↔ ⟨𝑧, 𝑦⟩ ∈ 𝐴))
53, 4anbi12d 632 . . . . . . . . 9 (𝑝 = ⟨𝑧, 𝑦⟩ → ((𝑝1st 𝑥𝑝𝐴) ↔ (⟨𝑧, 𝑦⟩1st 𝑥 ∧ ⟨𝑧, 𝑦⟩ ∈ 𝐴)))
6 vex 3499 . . . . . . . . . . . 12 𝑧 ∈ V
7 vex 3499 . . . . . . . . . . . 12 𝑦 ∈ V
86, 7br1steq 33016 . . . . . . . . . . 11 (⟨𝑧, 𝑦⟩1st 𝑥𝑥 = 𝑧)
9 equcom 2025 . . . . . . . . . . 11 (𝑥 = 𝑧𝑧 = 𝑥)
108, 9bitri 277 . . . . . . . . . 10 (⟨𝑧, 𝑦⟩1st 𝑥𝑧 = 𝑥)
1110anbi1i 625 . . . . . . . . 9 ((⟨𝑧, 𝑦⟩1st 𝑥 ∧ ⟨𝑧, 𝑦⟩ ∈ 𝐴) ↔ (𝑧 = 𝑥 ∧ ⟨𝑧, 𝑦⟩ ∈ 𝐴))
125, 11syl6bb 289 . . . . . . . 8 (𝑝 = ⟨𝑧, 𝑦⟩ → ((𝑝1st 𝑥𝑝𝐴) ↔ (𝑧 = 𝑥 ∧ ⟨𝑧, 𝑦⟩ ∈ 𝐴)))
132, 12ceqsexv 3543 . . . . . . 7 (∃𝑝(𝑝 = ⟨𝑧, 𝑦⟩ ∧ (𝑝1st 𝑥𝑝𝐴)) ↔ (𝑧 = 𝑥 ∧ ⟨𝑧, 𝑦⟩ ∈ 𝐴))
1413exbii 1848 . . . . . 6 (∃𝑧𝑝(𝑝 = ⟨𝑧, 𝑦⟩ ∧ (𝑝1st 𝑥𝑝𝐴)) ↔ ∃𝑧(𝑧 = 𝑥 ∧ ⟨𝑧, 𝑦⟩ ∈ 𝐴))
15 excom 2169 . . . . . 6 (∃𝑧𝑝(𝑝 = ⟨𝑧, 𝑦⟩ ∧ (𝑝1st 𝑥𝑝𝐴)) ↔ ∃𝑝𝑧(𝑝 = ⟨𝑧, 𝑦⟩ ∧ (𝑝1st 𝑥𝑝𝐴)))
16 vex 3499 . . . . . . 7 𝑥 ∈ V
17 opeq1 4805 . . . . . . . 8 (𝑧 = 𝑥 → ⟨𝑧, 𝑦⟩ = ⟨𝑥, 𝑦⟩)
1817eleq1d 2899 . . . . . . 7 (𝑧 = 𝑥 → (⟨𝑧, 𝑦⟩ ∈ 𝐴 ↔ ⟨𝑥, 𝑦⟩ ∈ 𝐴))
1916, 18ceqsexv 3543 . . . . . 6 (∃𝑧(𝑧 = 𝑥 ∧ ⟨𝑧, 𝑦⟩ ∈ 𝐴) ↔ ⟨𝑥, 𝑦⟩ ∈ 𝐴)
2014, 15, 193bitr3ri 304 . . . . 5 (⟨𝑥, 𝑦⟩ ∈ 𝐴 ↔ ∃𝑝𝑧(𝑝 = ⟨𝑧, 𝑦⟩ ∧ (𝑝1st 𝑥𝑝𝐴)))
2120exbii 1848 . . . 4 (∃𝑦𝑥, 𝑦⟩ ∈ 𝐴 ↔ ∃𝑦𝑝𝑧(𝑝 = ⟨𝑧, 𝑦⟩ ∧ (𝑝1st 𝑥𝑝𝐴)))
22 ancom 463 . . . . . 6 ((𝑝𝐴𝑝(1st ↾ (V × V))𝑥) ↔ (𝑝(1st ↾ (V × V))𝑥𝑝𝐴))
23 anass 471 . . . . . . 7 (((∃𝑦𝑧 𝑝 = ⟨𝑧, 𝑦⟩ ∧ 𝑝1st 𝑥) ∧ 𝑝𝐴) ↔ (∃𝑦𝑧 𝑝 = ⟨𝑧, 𝑦⟩ ∧ (𝑝1st 𝑥𝑝𝐴)))
2416brresi 5864 . . . . . . . . 9 (𝑝(1st ↾ (V × V))𝑥 ↔ (𝑝 ∈ (V × V) ∧ 𝑝1st 𝑥))
25 elvv 5628 . . . . . . . . . . 11 (𝑝 ∈ (V × V) ↔ ∃𝑧𝑦 𝑝 = ⟨𝑧, 𝑦⟩)
26 excom 2169 . . . . . . . . . . 11 (∃𝑧𝑦 𝑝 = ⟨𝑧, 𝑦⟩ ↔ ∃𝑦𝑧 𝑝 = ⟨𝑧, 𝑦⟩)
2725, 26bitri 277 . . . . . . . . . 10 (𝑝 ∈ (V × V) ↔ ∃𝑦𝑧 𝑝 = ⟨𝑧, 𝑦⟩)
2827anbi1i 625 . . . . . . . . 9 ((𝑝 ∈ (V × V) ∧ 𝑝1st 𝑥) ↔ (∃𝑦𝑧 𝑝 = ⟨𝑧, 𝑦⟩ ∧ 𝑝1st 𝑥))
2924, 28bitri 277 . . . . . . . 8 (𝑝(1st ↾ (V × V))𝑥 ↔ (∃𝑦𝑧 𝑝 = ⟨𝑧, 𝑦⟩ ∧ 𝑝1st 𝑥))
3029anbi1i 625 . . . . . . 7 ((𝑝(1st ↾ (V × V))𝑥𝑝𝐴) ↔ ((∃𝑦𝑧 𝑝 = ⟨𝑧, 𝑦⟩ ∧ 𝑝1st 𝑥) ∧ 𝑝𝐴))
31 19.41vv 1951 . . . . . . 7 (∃𝑦𝑧(𝑝 = ⟨𝑧, 𝑦⟩ ∧ (𝑝1st 𝑥𝑝𝐴)) ↔ (∃𝑦𝑧 𝑝 = ⟨𝑧, 𝑦⟩ ∧ (𝑝1st 𝑥𝑝𝐴)))
3223, 30, 313bitr4i 305 . . . . . 6 ((𝑝(1st ↾ (V × V))𝑥𝑝𝐴) ↔ ∃𝑦𝑧(𝑝 = ⟨𝑧, 𝑦⟩ ∧ (𝑝1st 𝑥𝑝𝐴)))
3322, 32bitri 277 . . . . 5 ((𝑝𝐴𝑝(1st ↾ (V × V))𝑥) ↔ ∃𝑦𝑧(𝑝 = ⟨𝑧, 𝑦⟩ ∧ (𝑝1st 𝑥𝑝𝐴)))
3433exbii 1848 . . . 4 (∃𝑝(𝑝𝐴𝑝(1st ↾ (V × V))𝑥) ↔ ∃𝑝𝑦𝑧(𝑝 = ⟨𝑧, 𝑦⟩ ∧ (𝑝1st 𝑥𝑝𝐴)))
351, 21, 343bitr4i 305 . . 3 (∃𝑦𝑥, 𝑦⟩ ∈ 𝐴 ↔ ∃𝑝(𝑝𝐴𝑝(1st ↾ (V × V))𝑥))
3616eldm2 5772 . . 3 (𝑥 ∈ dom 𝐴 ↔ ∃𝑦𝑥, 𝑦⟩ ∈ 𝐴)
3716elima2 5937 . . 3 (𝑥 ∈ ((1st ↾ (V × V)) “ 𝐴) ↔ ∃𝑝(𝑝𝐴𝑝(1st ↾ (V × V))𝑥))
3835, 36, 373bitr4i 305 . 2 (𝑥 ∈ dom 𝐴𝑥 ∈ ((1st ↾ (V × V)) “ 𝐴))
3938eqriv 2820 1 dom 𝐴 = ((1st ↾ (V × V)) “ 𝐴)
Colors of variables: wff setvar class
Syntax hints:  wa 398   = wceq 1537  wex 1780  wcel 2114  Vcvv 3496  cop 4575   class class class wbr 5068   × cxp 5555  dom cdm 5557  cres 5559  cima 5560  1st c1st 7689
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2795  ax-sep 5205  ax-nul 5212  ax-pow 5268  ax-pr 5332  ax-un 7463
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070  df-mo 2622  df-eu 2654  df-clab 2802  df-cleq 2816  df-clel 2895  df-nfc 2965  df-ral 3145  df-rex 3146  df-rab 3149  df-v 3498  df-sbc 3775  df-dif 3941  df-un 3943  df-in 3945  df-ss 3954  df-nul 4294  df-if 4470  df-sn 4570  df-pr 4572  df-op 4576  df-uni 4841  df-br 5069  df-opab 5131  df-mpt 5149  df-id 5462  df-xp 5563  df-rel 5564  df-cnv 5565  df-co 5566  df-dm 5567  df-rn 5568  df-res 5569  df-ima 5570  df-iota 6316  df-fun 6359  df-fn 6360  df-f 6361  df-fo 6363  df-fv 6365  df-1st 7691
This theorem is referenced by:  brdomain  33396
  Copyright terms: Public domain W3C validator