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

Theorem dmfco 6229
Description: Domains of a function composition. (Contributed by NM, 27-Jan-1997.)
Assertion
Ref Expression
dmfco ((Fun 𝐺𝐴 ∈ dom 𝐺) → (𝐴 ∈ dom (𝐹𝐺) ↔ (𝐺𝐴) ∈ dom 𝐹))

Proof of Theorem dmfco
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 eldm2g 5280 . . . 4 (𝐴 ∈ dom 𝐺 → (𝐴 ∈ dom (𝐹𝐺) ↔ ∃𝑦𝐴, 𝑦⟩ ∈ (𝐹𝐺)))
2 vex 3189 . . . . . 6 𝑦 ∈ V
3 opelco2g 5249 . . . . . 6 ((𝐴 ∈ dom 𝐺𝑦 ∈ V) → (⟨𝐴, 𝑦⟩ ∈ (𝐹𝐺) ↔ ∃𝑥(⟨𝐴, 𝑥⟩ ∈ 𝐺 ∧ ⟨𝑥, 𝑦⟩ ∈ 𝐹)))
42, 3mpan2 706 . . . . 5 (𝐴 ∈ dom 𝐺 → (⟨𝐴, 𝑦⟩ ∈ (𝐹𝐺) ↔ ∃𝑥(⟨𝐴, 𝑥⟩ ∈ 𝐺 ∧ ⟨𝑥, 𝑦⟩ ∈ 𝐹)))
54exbidv 1847 . . . 4 (𝐴 ∈ dom 𝐺 → (∃𝑦𝐴, 𝑦⟩ ∈ (𝐹𝐺) ↔ ∃𝑦𝑥(⟨𝐴, 𝑥⟩ ∈ 𝐺 ∧ ⟨𝑥, 𝑦⟩ ∈ 𝐹)))
61, 5bitrd 268 . . 3 (𝐴 ∈ dom 𝐺 → (𝐴 ∈ dom (𝐹𝐺) ↔ ∃𝑦𝑥(⟨𝐴, 𝑥⟩ ∈ 𝐺 ∧ ⟨𝑥, 𝑦⟩ ∈ 𝐹)))
76adantl 482 . 2 ((Fun 𝐺𝐴 ∈ dom 𝐺) → (𝐴 ∈ dom (𝐹𝐺) ↔ ∃𝑦𝑥(⟨𝐴, 𝑥⟩ ∈ 𝐺 ∧ ⟨𝑥, 𝑦⟩ ∈ 𝐹)))
8 fvex 6158 . . . 4 (𝐺𝐴) ∈ V
98eldm2 5282 . . 3 ((𝐺𝐴) ∈ dom 𝐹 ↔ ∃𝑦⟨(𝐺𝐴), 𝑦⟩ ∈ 𝐹)
10 opeq1 4370 . . . . . . 7 (𝑥 = (𝐺𝐴) → ⟨𝑥, 𝑦⟩ = ⟨(𝐺𝐴), 𝑦⟩)
1110eleq1d 2683 . . . . . 6 (𝑥 = (𝐺𝐴) → (⟨𝑥, 𝑦⟩ ∈ 𝐹 ↔ ⟨(𝐺𝐴), 𝑦⟩ ∈ 𝐹))
128, 11ceqsexv 3228 . . . . 5 (∃𝑥(𝑥 = (𝐺𝐴) ∧ ⟨𝑥, 𝑦⟩ ∈ 𝐹) ↔ ⟨(𝐺𝐴), 𝑦⟩ ∈ 𝐹)
13 eqcom 2628 . . . . . . . 8 (𝑥 = (𝐺𝐴) ↔ (𝐺𝐴) = 𝑥)
14 funopfvb 6196 . . . . . . . 8 ((Fun 𝐺𝐴 ∈ dom 𝐺) → ((𝐺𝐴) = 𝑥 ↔ ⟨𝐴, 𝑥⟩ ∈ 𝐺))
1513, 14syl5bb 272 . . . . . . 7 ((Fun 𝐺𝐴 ∈ dom 𝐺) → (𝑥 = (𝐺𝐴) ↔ ⟨𝐴, 𝑥⟩ ∈ 𝐺))
1615anbi1d 740 . . . . . 6 ((Fun 𝐺𝐴 ∈ dom 𝐺) → ((𝑥 = (𝐺𝐴) ∧ ⟨𝑥, 𝑦⟩ ∈ 𝐹) ↔ (⟨𝐴, 𝑥⟩ ∈ 𝐺 ∧ ⟨𝑥, 𝑦⟩ ∈ 𝐹)))
1716exbidv 1847 . . . . 5 ((Fun 𝐺𝐴 ∈ dom 𝐺) → (∃𝑥(𝑥 = (𝐺𝐴) ∧ ⟨𝑥, 𝑦⟩ ∈ 𝐹) ↔ ∃𝑥(⟨𝐴, 𝑥⟩ ∈ 𝐺 ∧ ⟨𝑥, 𝑦⟩ ∈ 𝐹)))
1812, 17syl5bbr 274 . . . 4 ((Fun 𝐺𝐴 ∈ dom 𝐺) → (⟨(𝐺𝐴), 𝑦⟩ ∈ 𝐹 ↔ ∃𝑥(⟨𝐴, 𝑥⟩ ∈ 𝐺 ∧ ⟨𝑥, 𝑦⟩ ∈ 𝐹)))
1918exbidv 1847 . . 3 ((Fun 𝐺𝐴 ∈ dom 𝐺) → (∃𝑦⟨(𝐺𝐴), 𝑦⟩ ∈ 𝐹 ↔ ∃𝑦𝑥(⟨𝐴, 𝑥⟩ ∈ 𝐺 ∧ ⟨𝑥, 𝑦⟩ ∈ 𝐹)))
209, 19syl5bb 272 . 2 ((Fun 𝐺𝐴 ∈ dom 𝐺) → ((𝐺𝐴) ∈ dom 𝐹 ↔ ∃𝑦𝑥(⟨𝐴, 𝑥⟩ ∈ 𝐺 ∧ ⟨𝑥, 𝑦⟩ ∈ 𝐹)))
217, 20bitr4d 271 1 ((Fun 𝐺𝐴 ∈ dom 𝐺) → (𝐴 ∈ dom (𝐹𝐺) ↔ (𝐺𝐴) ∈ dom 𝐹))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 196  wa 384   = wceq 1480  wex 1701  wcel 1987  Vcvv 3186  cop 4154  dom cdm 5074  ccom 5078  Fun wfun 5841  cfv 5847
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1719  ax-4 1734  ax-5 1836  ax-6 1885  ax-7 1932  ax-9 1996  ax-10 2016  ax-11 2031  ax-12 2044  ax-13 2245  ax-ext 2601  ax-sep 4741  ax-nul 4749  ax-pr 4867
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3an 1038  df-tru 1483  df-ex 1702  df-nf 1707  df-sb 1878  df-eu 2473  df-mo 2474  df-clab 2608  df-cleq 2614  df-clel 2617  df-nfc 2750  df-ral 2912  df-rex 2913  df-rab 2916  df-v 3188  df-sbc 3418  df-dif 3558  df-un 3560  df-in 3562  df-ss 3569  df-nul 3892  df-if 4059  df-sn 4149  df-pr 4151  df-op 4155  df-uni 4403  df-br 4614  df-opab 4674  df-id 4989  df-xp 5080  df-rel 5081  df-cnv 5082  df-co 5083  df-dm 5084  df-iota 5810  df-fun 5849  df-fn 5850  df-fv 5855
This theorem is referenced by:  hoicvr  40066  funressnfv  40509  dmfcoafv  40556  afvco2  40557
  Copyright terms: Public domain W3C validator