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

Theorem dmfco 6414
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 5458 . . . 4 (𝐴 ∈ dom 𝐺 → (𝐴 ∈ dom (𝐹𝐺) ↔ ∃𝑦𝐴, 𝑦⟩ ∈ (𝐹𝐺)))
2 vex 3354 . . . . . 6 𝑦 ∈ V
3 opelco2g 5428 . . . . . 6 ((𝐴 ∈ dom 𝐺𝑦 ∈ V) → (⟨𝐴, 𝑦⟩ ∈ (𝐹𝐺) ↔ ∃𝑥(⟨𝐴, 𝑥⟩ ∈ 𝐺 ∧ ⟨𝑥, 𝑦⟩ ∈ 𝐹)))
42, 3mpan2 671 . . . . 5 (𝐴 ∈ dom 𝐺 → (⟨𝐴, 𝑦⟩ ∈ (𝐹𝐺) ↔ ∃𝑥(⟨𝐴, 𝑥⟩ ∈ 𝐺 ∧ ⟨𝑥, 𝑦⟩ ∈ 𝐹)))
54exbidv 2002 . . . 4 (𝐴 ∈ dom 𝐺 → (∃𝑦𝐴, 𝑦⟩ ∈ (𝐹𝐺) ↔ ∃𝑦𝑥(⟨𝐴, 𝑥⟩ ∈ 𝐺 ∧ ⟨𝑥, 𝑦⟩ ∈ 𝐹)))
61, 5bitrd 268 . . 3 (𝐴 ∈ dom 𝐺 → (𝐴 ∈ dom (𝐹𝐺) ↔ ∃𝑦𝑥(⟨𝐴, 𝑥⟩ ∈ 𝐺 ∧ ⟨𝑥, 𝑦⟩ ∈ 𝐹)))
76adantl 467 . 2 ((Fun 𝐺𝐴 ∈ dom 𝐺) → (𝐴 ∈ dom (𝐹𝐺) ↔ ∃𝑦𝑥(⟨𝐴, 𝑥⟩ ∈ 𝐺 ∧ ⟨𝑥, 𝑦⟩ ∈ 𝐹)))
8 fvex 6342 . . . 4 (𝐺𝐴) ∈ V
98eldm2 5460 . . 3 ((𝐺𝐴) ∈ dom 𝐹 ↔ ∃𝑦⟨(𝐺𝐴), 𝑦⟩ ∈ 𝐹)
10 opeq1 4539 . . . . . . 7 (𝑥 = (𝐺𝐴) → ⟨𝑥, 𝑦⟩ = ⟨(𝐺𝐴), 𝑦⟩)
1110eleq1d 2835 . . . . . 6 (𝑥 = (𝐺𝐴) → (⟨𝑥, 𝑦⟩ ∈ 𝐹 ↔ ⟨(𝐺𝐴), 𝑦⟩ ∈ 𝐹))
128, 11ceqsexv 3394 . . . . 5 (∃𝑥(𝑥 = (𝐺𝐴) ∧ ⟨𝑥, 𝑦⟩ ∈ 𝐹) ↔ ⟨(𝐺𝐴), 𝑦⟩ ∈ 𝐹)
13 eqcom 2778 . . . . . . . 8 (𝑥 = (𝐺𝐴) ↔ (𝐺𝐴) = 𝑥)
14 funopfvb 6380 . . . . . . . 8 ((Fun 𝐺𝐴 ∈ dom 𝐺) → ((𝐺𝐴) = 𝑥 ↔ ⟨𝐴, 𝑥⟩ ∈ 𝐺))
1513, 14syl5bb 272 . . . . . . 7 ((Fun 𝐺𝐴 ∈ dom 𝐺) → (𝑥 = (𝐺𝐴) ↔ ⟨𝐴, 𝑥⟩ ∈ 𝐺))
1615anbi1d 615 . . . . . 6 ((Fun 𝐺𝐴 ∈ dom 𝐺) → ((𝑥 = (𝐺𝐴) ∧ ⟨𝑥, 𝑦⟩ ∈ 𝐹) ↔ (⟨𝐴, 𝑥⟩ ∈ 𝐺 ∧ ⟨𝑥, 𝑦⟩ ∈ 𝐹)))
1716exbidv 2002 . . . . 5 ((Fun 𝐺𝐴 ∈ dom 𝐺) → (∃𝑥(𝑥 = (𝐺𝐴) ∧ ⟨𝑥, 𝑦⟩ ∈ 𝐹) ↔ ∃𝑥(⟨𝐴, 𝑥⟩ ∈ 𝐺 ∧ ⟨𝑥, 𝑦⟩ ∈ 𝐹)))
1812, 17syl5bbr 274 . . . 4 ((Fun 𝐺𝐴 ∈ dom 𝐺) → (⟨(𝐺𝐴), 𝑦⟩ ∈ 𝐹 ↔ ∃𝑥(⟨𝐴, 𝑥⟩ ∈ 𝐺 ∧ ⟨𝑥, 𝑦⟩ ∈ 𝐹)))
1918exbidv 2002 . . 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 382   = wceq 1631  wex 1852  wcel 2145  Vcvv 3351  cop 4322  dom cdm 5249  ccom 5253  Fun wfun 6025  cfv 6031
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1870  ax-4 1885  ax-5 1991  ax-6 2057  ax-7 2093  ax-9 2154  ax-10 2174  ax-11 2190  ax-12 2203  ax-13 2408  ax-ext 2751  ax-sep 4915  ax-nul 4923  ax-pr 5034
This theorem depends on definitions:  df-bi 197  df-an 383  df-or 835  df-3an 1073  df-tru 1634  df-ex 1853  df-nf 1858  df-sb 2050  df-eu 2622  df-mo 2623  df-clab 2758  df-cleq 2764  df-clel 2767  df-nfc 2902  df-ral 3066  df-rex 3067  df-rab 3070  df-v 3353  df-sbc 3588  df-dif 3726  df-un 3728  df-in 3730  df-ss 3737  df-nul 4064  df-if 4226  df-sn 4317  df-pr 4319  df-op 4323  df-uni 4575  df-br 4787  df-opab 4847  df-id 5157  df-xp 5255  df-rel 5256  df-cnv 5257  df-co 5258  df-dm 5259  df-iota 5994  df-fun 6033  df-fn 6034  df-fv 6039
This theorem is referenced by:  hoicvr  41282  funressnfv  41728  dmfcoafv  41775  afvco2  41776
  Copyright terms: Public domain W3C validator