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 36851
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 2211 . . . 4 (∃𝑦∃𝑝∃𝑧(𝑝 = ⟨𝑧, 𝑦⟩ ∧ (𝑝1st 𝑥 ∧ 𝑝 ∈ 𝐴)) ↔ ∃𝑝∃𝑦∃𝑧(𝑝 = ⟨𝑧, 𝑦⟩ ∧ (𝑝1st 𝑥 ∧ 𝑝 ∈ 𝐴)))
2 opex 5447 . . . . . . . 8 ⟨𝑧, 𝑦⟩ ∈ V
3 breq1 5119 . . . . . . . . . 10 (𝑝 = ⟨𝑧, 𝑦⟩ → (𝑝1st 𝑥 ↔ ⟨𝑧, 𝑦⟩1st 𝑥))
4 eleq1 2863 . . . . . . . . . 10 (𝑝 = ⟨𝑧, 𝑦⟩ → (𝑝 ∈ 𝐴 ↔ ⟨𝑧, 𝑦⟩ ∈ 𝐴))
53, 4anbi12d 644 . . . . . . . . 9 (𝑝 = ⟨𝑧, 𝑦⟩ → ((𝑝1st 𝑥 ∧ 𝑝 ∈ 𝐴) ↔ (⟨𝑧, 𝑦⟩1st 𝑥 ∧ ⟨𝑧, 𝑦⟩ ∈ 𝐴)))
6 vex 3465 . . . . . . . . . . . 12 𝑧 ∈ V
7 vex 3465 . . . . . . . . . . . 12 𝑦 ∈ V
86, 7br1steq 36849 . . . . . . . . . . 11 (⟨𝑧, 𝑦⟩1st 𝑥 ↔ 𝑥 = 𝑧)
9 equcom 2060 . . . . . . . . . . 11 (𝑥 = 𝑧 ↔ 𝑧 = 𝑥)
108, 9bitri 278 . . . . . . . . . 10 (⟨𝑧, 𝑦⟩1st 𝑥 ↔ 𝑧 = 𝑥)
1110anbi1i 636 . . . . . . . . 9 ((⟨𝑧, 𝑦⟩1st 𝑥 ∧ ⟨𝑧, 𝑦⟩ ∈ 𝐴) ↔ (𝑧 = 𝑥 ∧ ⟨𝑧, 𝑦⟩ ∈ 𝐴))
125, 11bitrdi 290 . . . . . . . 8 (𝑝 = ⟨𝑧, 𝑦⟩ → ((𝑝1st 𝑥 ∧ 𝑝 ∈ 𝐴) ↔ (𝑧 = 𝑥 ∧ ⟨𝑧, 𝑦⟩ ∈ 𝐴)))
132, 12ceqsexv 3509 . . . . . . 7 (∃𝑝(𝑝 = ⟨𝑧, 𝑦⟩ ∧ (𝑝1st 𝑥 ∧ 𝑝 ∈ 𝐴)) ↔ (𝑧 = 𝑥 ∧ ⟨𝑧, 𝑦⟩ ∈ 𝐴))
1413exbii 1887 . . . . . 6 (∃𝑧∃𝑝(𝑝 = ⟨𝑧, 𝑦⟩ ∧ (𝑝1st 𝑥 ∧ 𝑝 ∈ 𝐴)) ↔ ∃𝑧(𝑧 = 𝑥 ∧ ⟨𝑧, 𝑦⟩ ∈ 𝐴))
15 excom 2211 . . . . . 6 (∃𝑧∃𝑝(𝑝 = ⟨𝑧, 𝑦⟩ ∧ (𝑝1st 𝑥 ∧ 𝑝 ∈ 𝐴)) ↔ ∃𝑝∃𝑧(𝑝 = ⟨𝑧, 𝑦⟩ ∧ (𝑝1st 𝑥 ∧ 𝑝 ∈ 𝐴)))
16 vex 3465 . . . . . . 7 𝑥 ∈ V
17 opeq1 4853 . . . . . . . 8 (𝑧 = 𝑥 → ⟨𝑧, 𝑦⟩ = ⟨𝑥, 𝑦⟩)
1817eleq1d 2860 . . . . . . 7 (𝑧 = 𝑥 → (⟨𝑧, 𝑦⟩ ∈ 𝐴 ↔ ⟨𝑥, 𝑦⟩ ∈ 𝐴))
1916, 18ceqsexv 3509 . . . . . 6 (∃𝑧(𝑧 = 𝑥 ∧ ⟨𝑧, 𝑦⟩ ∈ 𝐴) ↔ ⟨𝑥, 𝑦⟩ ∈ 𝐴)
2014, 15, 193bitr3ri 305 . . . . 5 (⟨𝑥, 𝑦⟩ ∈ 𝐴 ↔ ∃𝑝∃𝑧(𝑝 = ⟨𝑧, 𝑦⟩ ∧ (𝑝1st 𝑥 ∧ 𝑝 ∈ 𝐴)))
2120exbii 1887 . . . 4 (∃𝑦⟨𝑥, 𝑦⟩ ∈ 𝐴 ↔ ∃𝑦∃𝑝∃𝑧(𝑝 = ⟨𝑧, 𝑦⟩ ∧ (𝑝1st 𝑥 ∧ 𝑝 ∈ 𝐴)))
22 ancom 466 . . . . . 6 ((𝑝 ∈ 𝐴 ∧ 𝑝(1st ↾ (V × V))𝑥) ↔ (𝑝(1st ↾ (V × V))𝑥 ∧ 𝑝 ∈ 𝐴))
23 anass 474 . . . . . . 7 (((∃𝑦∃𝑧 𝑝 = ⟨𝑧, 𝑦⟩ ∧ 𝑝1st 𝑥) ∧ 𝑝 ∈ 𝐴) ↔ (∃𝑦∃𝑧 𝑝 = ⟨𝑧, 𝑦⟩ ∧ (𝑝1st 𝑥 ∧ 𝑝 ∈ 𝐴)))
2416brresi 6003 . . . . . . . . 9 (𝑝(1st ↾ (V × V))𝑥 ↔ (𝑝 ∈ (V × V) ∧ 𝑝1st 𝑥))
25 elvv 5741 . . . . . . . . . . 11 (𝑝 ∈ (V × V) ↔ ∃𝑧∃𝑦 𝑝 = ⟨𝑧, 𝑦⟩)
26 excom 2211 . . . . . . . . . . 11 (∃𝑧∃𝑦 𝑝 = ⟨𝑧, 𝑦⟩ ↔ ∃𝑦∃𝑧 𝑝 = ⟨𝑧, 𝑦⟩)
2725, 26bitri 278 . . . . . . . . . 10 (𝑝 ∈ (V × V) ↔ ∃𝑦∃𝑧 𝑝 = ⟨𝑧, 𝑦⟩)
2827anbi1i 636 . . . . . . . . 9 ((𝑝 ∈ (V × V) ∧ 𝑝1st 𝑥) ↔ (∃𝑦∃𝑧 𝑝 = ⟨𝑧, 𝑦⟩ ∧ 𝑝1st 𝑥))
2924, 28bitri 278 . . . . . . . 8 (𝑝(1st ↾ (V × V))𝑥 ↔ (∃𝑦∃𝑧 𝑝 = ⟨𝑧, 𝑦⟩ ∧ 𝑝1st 𝑥))
3029anbi1i 636 . . . . . . 7 ((𝑝(1st ↾ (V × V))𝑥 ∧ 𝑝 ∈ 𝐴) ↔ ((∃𝑦∃𝑧 𝑝 = ⟨𝑧, 𝑦⟩ ∧ 𝑝1st 𝑥) ∧ 𝑝 ∈ 𝐴))
31 19.41vv 1992 . . . . . . 7 (∃𝑦∃𝑧(𝑝 = ⟨𝑧, 𝑦⟩ ∧ (𝑝1st 𝑥 ∧ 𝑝 ∈ 𝐴)) ↔ (∃𝑦∃𝑧 𝑝 = ⟨𝑧, 𝑦⟩ ∧ (𝑝1st 𝑥 ∧ 𝑝 ∈ 𝐴)))
3223, 30, 313bitr4i 306 . . . . . 6 ((𝑝(1st ↾ (V × V))𝑥 ∧ 𝑝 ∈ 𝐴) ↔ ∃𝑦∃𝑧(𝑝 = ⟨𝑧, 𝑦⟩ ∧ (𝑝1st 𝑥 ∧ 𝑝 ∈ 𝐴)))
3322, 32bitri 278 . . . . 5 ((𝑝 ∈ 𝐴 ∧ 𝑝(1st ↾ (V × V))𝑥) ↔ ∃𝑦∃𝑧(𝑝 = ⟨𝑧, 𝑦⟩ ∧ (𝑝1st 𝑥 ∧ 𝑝 ∈ 𝐴)))
3433exbii 1887 . . . 4 (∃𝑝(𝑝 ∈ 𝐴 ∧ 𝑝(1st ↾ (V × V))𝑥) ↔ ∃𝑝∃𝑦∃𝑧(𝑝 = ⟨𝑧, 𝑦⟩ ∧ (𝑝1st 𝑥 ∧ 𝑝 ∈ 𝐴)))
351, 21, 343bitr4i 306 . . 3 (∃𝑦⟨𝑥, 𝑦⟩ ∈ 𝐴 ↔ ∃𝑝(𝑝 ∈ 𝐴 ∧ 𝑝(1st ↾ (V × V))𝑥))
3616eldm2 5903 . . 3 (𝑥 ∈ dom 𝐴 ↔ ∃𝑦⟨𝑥, 𝑦⟩ ∈ 𝐴)
3716elima2 6089 . . 3 (𝑥 ∈ ((1st ↾ (V × V)) “ 𝐴) ↔ ∃𝑝(𝑝 ∈ 𝐴 ∧ 𝑝(1st ↾ (V × V))𝑥))
3835, 36, 373bitr4i 306 . 2 (𝑥 ∈ dom 𝐴 ↔ 𝑥 ∈ ((1st ↾ (V × V)) “ 𝐴))
3938eqriv 2771 1 dom 𝐴 = ((1st ↾ (V × V)) “ 𝐴)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   ∧ wa 401   = wceq 1572  ∃wex 1818   ∈ wcel 2156  Vcvv 3461  ⟨cop 4848   class class class wbr 5116   × cxp 5664  dom cdm 5666   ↾ cres 5668   “ cima 5669  1st c1st 8052
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1834  ax-4 1848  ax-5 1951  ax-6 2009  ax-7 2050  ax-8 2158  ax-9 2166  ax-10 2189  ax-11 2206  ax-12 2225  ax-ext 2746  ax-sep 5263  ax-nul 5274  ax-pr 5406  ax-un 7802
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1819  df-nf 1823  df-sb 2110  df-mo 2576  df-eu 2606  df-clab 2753  df-cleq 2766  df-clel 2850  df-nfc 2924  df-ne 2971  df-ral 3092  df-rex 3102  df-rab 3424  df-v 3463  df-ss 3908  df-dif 4057  df-in 4101  df-un 4161  df-nul 4289  df-if 4493  df-sn 4596  df-pr 4598  df-op 4849  df-uni 4881  df-br 5117  df-opab 5182  df-mpt 5201  df-id 5561  df-xp 5672  df-rel 5673  df-cnv 5674  df-co 5675  df-dm 5676  df-rn 5677  df-res 5678  df-ima 5679  df-iota 6533  df-fun 6581  df-fn 6582  df-f 6583  df-fo 6585  df-fv 6587  df-1st 8054
This theorem is used by:  brdomain  37009
  Copyright terms: Public domain W3C validator