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 33653
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 2164 . . . 4 (∃𝑦𝑝𝑧(𝑝 = ⟨𝑧, 𝑦⟩ ∧ (𝑝1st 𝑥𝑝𝐴)) ↔ ∃𝑝𝑦𝑧(𝑝 = ⟨𝑧, 𝑦⟩ ∧ (𝑝1st 𝑥𝑝𝐴)))
2 opex 5373 . . . . . . . 8 𝑧, 𝑦⟩ ∈ V
3 breq1 5073 . . . . . . . . . 10 (𝑝 = ⟨𝑧, 𝑦⟩ → (𝑝1st 𝑥 ↔ ⟨𝑧, 𝑦⟩1st 𝑥))
4 eleq1 2826 . . . . . . . . . 10 (𝑝 = ⟨𝑧, 𝑦⟩ → (𝑝𝐴 ↔ ⟨𝑧, 𝑦⟩ ∈ 𝐴))
53, 4anbi12d 630 . . . . . . . . 9 (𝑝 = ⟨𝑧, 𝑦⟩ → ((𝑝1st 𝑥𝑝𝐴) ↔ (⟨𝑧, 𝑦⟩1st 𝑥 ∧ ⟨𝑧, 𝑦⟩ ∈ 𝐴)))
6 vex 3426 . . . . . . . . . . . 12 𝑧 ∈ V
7 vex 3426 . . . . . . . . . . . 12 𝑦 ∈ V
86, 7br1steq 33651 . . . . . . . . . . 11 (⟨𝑧, 𝑦⟩1st 𝑥𝑥 = 𝑧)
9 equcom 2022 . . . . . . . . . . 11 (𝑥 = 𝑧𝑧 = 𝑥)
108, 9bitri 274 . . . . . . . . . 10 (⟨𝑧, 𝑦⟩1st 𝑥𝑧 = 𝑥)
1110anbi1i 623 . . . . . . . . 9 ((⟨𝑧, 𝑦⟩1st 𝑥 ∧ ⟨𝑧, 𝑦⟩ ∈ 𝐴) ↔ (𝑧 = 𝑥 ∧ ⟨𝑧, 𝑦⟩ ∈ 𝐴))
125, 11bitrdi 286 . . . . . . . 8 (𝑝 = ⟨𝑧, 𝑦⟩ → ((𝑝1st 𝑥𝑝𝐴) ↔ (𝑧 = 𝑥 ∧ ⟨𝑧, 𝑦⟩ ∈ 𝐴)))
132, 12ceqsexv 3469 . . . . . . 7 (∃𝑝(𝑝 = ⟨𝑧, 𝑦⟩ ∧ (𝑝1st 𝑥𝑝𝐴)) ↔ (𝑧 = 𝑥 ∧ ⟨𝑧, 𝑦⟩ ∈ 𝐴))
1413exbii 1851 . . . . . 6 (∃𝑧𝑝(𝑝 = ⟨𝑧, 𝑦⟩ ∧ (𝑝1st 𝑥𝑝𝐴)) ↔ ∃𝑧(𝑧 = 𝑥 ∧ ⟨𝑧, 𝑦⟩ ∈ 𝐴))
15 excom 2164 . . . . . 6 (∃𝑧𝑝(𝑝 = ⟨𝑧, 𝑦⟩ ∧ (𝑝1st 𝑥𝑝𝐴)) ↔ ∃𝑝𝑧(𝑝 = ⟨𝑧, 𝑦⟩ ∧ (𝑝1st 𝑥𝑝𝐴)))
16 vex 3426 . . . . . . 7 𝑥 ∈ V
17 opeq1 4801 . . . . . . . 8 (𝑧 = 𝑥 → ⟨𝑧, 𝑦⟩ = ⟨𝑥, 𝑦⟩)
1817eleq1d 2823 . . . . . . 7 (𝑧 = 𝑥 → (⟨𝑧, 𝑦⟩ ∈ 𝐴 ↔ ⟨𝑥, 𝑦⟩ ∈ 𝐴))
1916, 18ceqsexv 3469 . . . . . 6 (∃𝑧(𝑧 = 𝑥 ∧ ⟨𝑧, 𝑦⟩ ∈ 𝐴) ↔ ⟨𝑥, 𝑦⟩ ∈ 𝐴)
2014, 15, 193bitr3ri 301 . . . . 5 (⟨𝑥, 𝑦⟩ ∈ 𝐴 ↔ ∃𝑝𝑧(𝑝 = ⟨𝑧, 𝑦⟩ ∧ (𝑝1st 𝑥𝑝𝐴)))
2120exbii 1851 . . . 4 (∃𝑦𝑥, 𝑦⟩ ∈ 𝐴 ↔ ∃𝑦𝑝𝑧(𝑝 = ⟨𝑧, 𝑦⟩ ∧ (𝑝1st 𝑥𝑝𝐴)))
22 ancom 460 . . . . . 6 ((𝑝𝐴𝑝(1st ↾ (V × V))𝑥) ↔ (𝑝(1st ↾ (V × V))𝑥𝑝𝐴))
23 anass 468 . . . . . . 7 (((∃𝑦𝑧 𝑝 = ⟨𝑧, 𝑦⟩ ∧ 𝑝1st 𝑥) ∧ 𝑝𝐴) ↔ (∃𝑦𝑧 𝑝 = ⟨𝑧, 𝑦⟩ ∧ (𝑝1st 𝑥𝑝𝐴)))
2416brresi 5889 . . . . . . . . 9 (𝑝(1st ↾ (V × V))𝑥 ↔ (𝑝 ∈ (V × V) ∧ 𝑝1st 𝑥))
25 elvv 5652 . . . . . . . . . . 11 (𝑝 ∈ (V × V) ↔ ∃𝑧𝑦 𝑝 = ⟨𝑧, 𝑦⟩)
26 excom 2164 . . . . . . . . . . 11 (∃𝑧𝑦 𝑝 = ⟨𝑧, 𝑦⟩ ↔ ∃𝑦𝑧 𝑝 = ⟨𝑧, 𝑦⟩)
2725, 26bitri 274 . . . . . . . . . 10 (𝑝 ∈ (V × V) ↔ ∃𝑦𝑧 𝑝 = ⟨𝑧, 𝑦⟩)
2827anbi1i 623 . . . . . . . . 9 ((𝑝 ∈ (V × V) ∧ 𝑝1st 𝑥) ↔ (∃𝑦𝑧 𝑝 = ⟨𝑧, 𝑦⟩ ∧ 𝑝1st 𝑥))
2924, 28bitri 274 . . . . . . . 8 (𝑝(1st ↾ (V × V))𝑥 ↔ (∃𝑦𝑧 𝑝 = ⟨𝑧, 𝑦⟩ ∧ 𝑝1st 𝑥))
3029anbi1i 623 . . . . . . 7 ((𝑝(1st ↾ (V × V))𝑥𝑝𝐴) ↔ ((∃𝑦𝑧 𝑝 = ⟨𝑧, 𝑦⟩ ∧ 𝑝1st 𝑥) ∧ 𝑝𝐴))
31 19.41vv 1955 . . . . . . 7 (∃𝑦𝑧(𝑝 = ⟨𝑧, 𝑦⟩ ∧ (𝑝1st 𝑥𝑝𝐴)) ↔ (∃𝑦𝑧 𝑝 = ⟨𝑧, 𝑦⟩ ∧ (𝑝1st 𝑥𝑝𝐴)))
3223, 30, 313bitr4i 302 . . . . . 6 ((𝑝(1st ↾ (V × V))𝑥𝑝𝐴) ↔ ∃𝑦𝑧(𝑝 = ⟨𝑧, 𝑦⟩ ∧ (𝑝1st 𝑥𝑝𝐴)))
3322, 32bitri 274 . . . . 5 ((𝑝𝐴𝑝(1st ↾ (V × V))𝑥) ↔ ∃𝑦𝑧(𝑝 = ⟨𝑧, 𝑦⟩ ∧ (𝑝1st 𝑥𝑝𝐴)))
3433exbii 1851 . . . 4 (∃𝑝(𝑝𝐴𝑝(1st ↾ (V × V))𝑥) ↔ ∃𝑝𝑦𝑧(𝑝 = ⟨𝑧, 𝑦⟩ ∧ (𝑝1st 𝑥𝑝𝐴)))
351, 21, 343bitr4i 302 . . 3 (∃𝑦𝑥, 𝑦⟩ ∈ 𝐴 ↔ ∃𝑝(𝑝𝐴𝑝(1st ↾ (V × V))𝑥))
3616eldm2 5799 . . 3 (𝑥 ∈ dom 𝐴 ↔ ∃𝑦𝑥, 𝑦⟩ ∈ 𝐴)
3716elima2 5964 . . 3 (𝑥 ∈ ((1st ↾ (V × V)) “ 𝐴) ↔ ∃𝑝(𝑝𝐴𝑝(1st ↾ (V × V))𝑥))
3835, 36, 373bitr4i 302 . 2 (𝑥 ∈ dom 𝐴𝑥 ∈ ((1st ↾ (V × V)) “ 𝐴))
3938eqriv 2735 1 dom 𝐴 = ((1st ↾ (V × V)) “ 𝐴)
Colors of variables: wff setvar class
Syntax hints:  wa 395   = wceq 1539  wex 1783  wcel 2108  Vcvv 3422  cop 4564   class class class wbr 5070   × cxp 5578  dom cdm 5580  cres 5582  cima 5583  1st c1st 7802
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-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-sep 5218  ax-nul 5225  ax-pr 5347  ax-un 7566
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-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  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-uni 4837  df-br 5071  df-opab 5133  df-mpt 5154  df-id 5480  df-xp 5586  df-rel 5587  df-cnv 5588  df-co 5589  df-dm 5590  df-rn 5591  df-res 5592  df-ima 5593  df-iota 6376  df-fun 6420  df-fn 6421  df-f 6422  df-fo 6424  df-fv 6426  df-1st 7804
This theorem is referenced by:  brdomain  34162
  Copyright terms: Public domain W3C validator