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 36661
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 2198 . . . 4 (∃𝑦∃𝑝∃𝑧(𝑝 = ⟨𝑧, 𝑦⟩ ∧ (𝑝1st 𝑥 ∧ 𝑝 ∈ 𝐴)) ↔ ∃𝑝∃𝑦∃𝑧(𝑝 = ⟨𝑧, 𝑦⟩ ∧ (𝑝1st 𝑥 ∧ 𝑝 ∈ 𝐴)))
2 opex 5432 . . . . . . . 8 ⟨𝑧, 𝑦⟩ ∈ V
3 breq1 5105 . . . . . . . . . 10 (𝑝 = ⟨𝑧, 𝑦⟩ → (𝑝1st 𝑥 ↔ ⟨𝑧, 𝑦⟩1st 𝑥))
4 eleq1 2848 . . . . . . . . . 10 (𝑝 = ⟨𝑧, 𝑦⟩ → (𝑝 ∈ 𝐴 ↔ ⟨𝑧, 𝑦⟩ ∈ 𝐴))
53, 4anbi12d 644 . . . . . . . . 9 (𝑝 = ⟨𝑧, 𝑦⟩ → ((𝑝1st 𝑥 ∧ 𝑝 ∈ 𝐴) ↔ (⟨𝑧, 𝑦⟩1st 𝑥 ∧ ⟨𝑧, 𝑦⟩ ∈ 𝐴)))
6 vex 3454 . . . . . . . . . . . 12 𝑧 ∈ V
7 vex 3454 . . . . . . . . . . . 12 𝑦 ∈ V
86, 7br1steq 36659 . . . . . . . . . . 11 (⟨𝑧, 𝑦⟩1st 𝑥 ↔ 𝑥 = 𝑧)
9 equcom 2050 . . . . . . . . . . 11 (𝑥 = 𝑧 ↔ 𝑧 = 𝑥)
108, 9bitri 278 . . . . . . . . . 10 (⟨𝑧, 𝑦⟩1st 𝑥 ↔ 𝑧 = 𝑥)
1110anbi1i 636 . . . . . . . . 9 ((⟨𝑧, 𝑦⟩1st 𝑥 ∧ ⟨𝑧, 𝑦⟩ ∈ 𝐴) ↔ (𝑧 = 𝑥 ∧ ⟨𝑧, 𝑦⟩ ∈ 𝐴))
125, 11bitrdi 290 . . . . . . . 8 (𝑝 = ⟨𝑧, 𝑦⟩ → ((𝑝1st 𝑥 ∧ 𝑝 ∈ 𝐴) ↔ (𝑧 = 𝑥 ∧ ⟨𝑧, 𝑦⟩ ∈ 𝐴)))
132, 12ceqsexv 3498 . . . . . . 7 (∃𝑝(𝑝 = ⟨𝑧, 𝑦⟩ ∧ (𝑝1st 𝑥 ∧ 𝑝 ∈ 𝐴)) ↔ (𝑧 = 𝑥 ∧ ⟨𝑧, 𝑦⟩ ∈ 𝐴))
1413exbii 1880 . . . . . 6 (∃𝑧∃𝑝(𝑝 = ⟨𝑧, 𝑦⟩ ∧ (𝑝1st 𝑥 ∧ 𝑝 ∈ 𝐴)) ↔ ∃𝑧(𝑧 = 𝑥 ∧ ⟨𝑧, 𝑦⟩ ∈ 𝐴))
15 excom 2198 . . . . . 6 (∃𝑧∃𝑝(𝑝 = ⟨𝑧, 𝑦⟩ ∧ (𝑝1st 𝑥 ∧ 𝑝 ∈ 𝐴)) ↔ ∃𝑝∃𝑧(𝑝 = ⟨𝑧, 𝑦⟩ ∧ (𝑝1st 𝑥 ∧ 𝑝 ∈ 𝐴)))
16 vex 3454 . . . . . . 7 𝑥 ∈ V
17 opeq1 4839 . . . . . . . 8 (𝑧 = 𝑥 → ⟨𝑧, 𝑦⟩ = ⟨𝑥, 𝑦⟩)
1817eleq1d 2845 . . . . . . 7 (𝑧 = 𝑥 → (⟨𝑧, 𝑦⟩ ∈ 𝐴 ↔ ⟨𝑥, 𝑦⟩ ∈ 𝐴))
1916, 18ceqsexv 3498 . . . . . 6 (∃𝑧(𝑧 = 𝑥 ∧ ⟨𝑧, 𝑦⟩ ∈ 𝐴) ↔ ⟨𝑥, 𝑦⟩ ∈ 𝐴)
2014, 15, 193bitr3ri 305 . . . . 5 (⟨𝑥, 𝑦⟩ ∈ 𝐴 ↔ ∃𝑝∃𝑧(𝑝 = ⟨𝑧, 𝑦⟩ ∧ (𝑝1st 𝑥 ∧ 𝑝 ∈ 𝐴)))
2120exbii 1880 . . . 4 (∃𝑦⟨𝑥, 𝑦⟩ ∈ 𝐴 ↔ ∃𝑦∃𝑝∃𝑧(𝑝 = ⟨𝑧, 𝑦⟩ ∧ (𝑝1st 𝑥 ∧ 𝑝 ∈ 𝐴)))
22 ancom 466 . . . . . 6 ((𝑝 ∈ 𝐴 ∧ 𝑝(1st ↾ (V × V))𝑥) ↔ (𝑝(1st ↾ (V × V))𝑥 ∧ 𝑝 ∈ 𝐴))
23 anass 474 . . . . . . 7 (((∃𝑦∃𝑧 𝑝 = ⟨𝑧, 𝑦⟩ ∧ 𝑝1st 𝑥) ∧ 𝑝 ∈ 𝐴) ↔ (∃𝑦∃𝑧 𝑝 = ⟨𝑧, 𝑦⟩ ∧ (𝑝1st 𝑥 ∧ 𝑝 ∈ 𝐴)))
2416brresi 5980 . . . . . . . . 9 (𝑝(1st ↾ (V × V))𝑥 ↔ (𝑝 ∈ (V × V) ∧ 𝑝1st 𝑥))
25 elvv 5726 . . . . . . . . . . 11 (𝑝 ∈ (V × V) ↔ ∃𝑧∃𝑦 𝑝 = ⟨𝑧, 𝑦⟩)
26 excom 2198 . . . . . . . . . . 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 1982 . . . . . . 7 (∃𝑦∃𝑧(𝑝 = ⟨𝑧, 𝑦⟩ ∧ (𝑝1st 𝑥 ∧ 𝑝 ∈ 𝐴)) ↔ (∃𝑦∃𝑧 𝑝 = ⟨𝑧, 𝑦⟩ ∧ (𝑝1st 𝑥 ∧ 𝑝 ∈ 𝐴)))
3223, 30, 313bitr4i 306 . . . . . 6 ((𝑝(1st ↾ (V × V))𝑥 ∧ 𝑝 ∈ 𝐴) ↔ ∃𝑦∃𝑧(𝑝 = ⟨𝑧, 𝑦⟩ ∧ (𝑝1st 𝑥 ∧ 𝑝 ∈ 𝐴)))
3322, 32bitri 278 . . . . 5 ((𝑝 ∈ 𝐴 ∧ 𝑝(1st ↾ (V × V))𝑥) ↔ ∃𝑦∃𝑧(𝑝 = ⟨𝑧, 𝑦⟩ ∧ (𝑝1st 𝑥 ∧ 𝑝 ∈ 𝐴)))
3433exbii 1880 . . . 4 (∃𝑝(𝑝 ∈ 𝐴 ∧ 𝑝(1st ↾ (V × V))𝑥) ↔ ∃𝑝∃𝑦∃𝑧(𝑝 = ⟨𝑧, 𝑦⟩ ∧ (𝑝1st 𝑥 ∧ 𝑝 ∈ 𝐴)))
351, 21, 343bitr4i 306 . . 3 (∃𝑦⟨𝑥, 𝑦⟩ ∈ 𝐴 ↔ ∃𝑝(𝑝 ∈ 𝐴 ∧ 𝑝(1st ↾ (V × V))𝑥))
3616eldm2 5884 . . 3 (𝑥 ∈ dom 𝐴 ↔ ∃𝑦⟨𝑥, 𝑦⟩ ∈ 𝐴)
3716elima2 6064 . . 3 (𝑥 ∈ ((1st ↾ (V × V)) “ 𝐴) ↔ ∃𝑝(𝑝 ∈ 𝐴 ∧ 𝑝(1st ↾ (V × V))𝑥))
3835, 36, 373bitr4i 306 . 2 (𝑥 ∈ dom 𝐴 ↔ 𝑥 ∈ ((1st ↾ (V × V)) “ 𝐴))
3938eqriv 2757 1 dom 𝐴 = ((1st ↾ (V × V)) “ 𝐴)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   ∧ wa 401   = wceq 1569  ∃wex 1811   ∈ wcel 2144  Vcvv 3450  ⟨cop 4834   class class class wbr 5102   × cxp 5649  dom cdm 5651   ↾ cres 5653   “ cima 5654  1st c1st 8003
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732  ax-sep 5248  ax-nul 5259  ax-pr 5391  ax-un 7755
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2099  df-mo 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ne 2956  df-ral 3077  df-rex 3087  df-rab 3413  df-v 3452  df-ss 3897  df-dif 4046  df-in 4090  df-un 4150  df-nul 4278  df-if 4482  df-sn 4585  df-pr 4587  df-op 4835  df-uni 4867  df-br 5103  df-opab 5167  df-mpt 5186  df-id 5546  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-rn 5662  df-res 5663  df-ima 5664  df-iota 6497  df-fun 6545  df-fn 6546  df-f 6547  df-fo 6549  df-fv 6551  df-1st 8005
This theorem is used by:  brdomain  36819
  Copyright terms: Public domain W3C validator