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

Theorem dmfco 7012
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 5893 . . . 4 (𝐴 ∈ dom 𝐺 → (𝐴 ∈ dom (𝐹 ∘ 𝐺) ↔ ∃𝑦⟨𝐴, 𝑦⟩ ∈ (𝐹 ∘ 𝐺)))
2 opelco2g 5856 . . . . . 6 ((𝐴 ∈ dom 𝐺 ∧ 𝑦 ∈ V) → (⟨𝐴, 𝑦⟩ ∈ (𝐹 ∘ 𝐺) ↔ ∃𝑥(⟨𝐴, 𝑥⟩ ∈ 𝐺 ∧ ⟨𝑥, 𝑦⟩ ∈ 𝐹)))
32elvd 3460 . . . . 5 (𝐴 ∈ dom 𝐺 → (⟨𝐴, 𝑦⟩ ∈ (𝐹 ∘ 𝐺) ↔ ∃𝑥(⟨𝐴, 𝑥⟩ ∈ 𝐺 ∧ ⟨𝑥, 𝑦⟩ ∈ 𝐹)))
43exbidv 1956 . . . 4 (𝐴 ∈ dom 𝐺 → (∃𝑦⟨𝐴, 𝑦⟩ ∈ (𝐹 ∘ 𝐺) ↔ ∃𝑦∃𝑥(⟨𝐴, 𝑥⟩ ∈ 𝐺 ∧ ⟨𝑥, 𝑦⟩ ∈ 𝐹)))
51, 4bitrd 282 . . 3 (𝐴 ∈ dom 𝐺 → (𝐴 ∈ dom (𝐹 ∘ 𝐺) ↔ ∃𝑦∃𝑥(⟨𝐴, 𝑥⟩ ∈ 𝐺 ∧ ⟨𝑥, 𝑦⟩ ∈ 𝐹)))
65adantl 487 . 2 ((Fun 𝐺 ∧ 𝐴 ∈ dom 𝐺) → (𝐴 ∈ dom (𝐹 ∘ 𝐺) ↔ ∃𝑦∃𝑥(⟨𝐴, 𝑥⟩ ∈ 𝐺 ∧ ⟨𝑥, 𝑦⟩ ∈ 𝐹)))
7 fvex 6929 . . . 4 (𝐺‘𝐴) ∈ V
87eldm2 5895 . . 3 ((𝐺‘𝐴) ∈ dom 𝐹 ↔ ∃𝑦⟨(𝐺‘𝐴), 𝑦⟩ ∈ 𝐹)
9 opeq1 4845 . . . . . . 7 (𝑥 = (𝐺‘𝐴) → ⟨𝑥, 𝑦⟩ = ⟨(𝐺‘𝐴), 𝑦⟩)
109eleq1d 2849 . . . . . 6 (𝑥 = (𝐺‘𝐴) → (⟨𝑥, 𝑦⟩ ∈ 𝐹 ↔ ⟨(𝐺‘𝐴), 𝑦⟩ ∈ 𝐹))
117, 10ceqsexv 3502 . . . . 5 (∃𝑥(𝑥 = (𝐺‘𝐴) ∧ ⟨𝑥, 𝑦⟩ ∈ 𝐹) ↔ ⟨(𝐺‘𝐴), 𝑦⟩ ∈ 𝐹)
12 eqcom 2770 . . . . . . . 8 (𝑥 = (𝐺‘𝐴) ↔ (𝐺‘𝐴) = 𝑥)
13 funopfvb 6970 . . . . . . . 8 ((Fun 𝐺 ∧ 𝐴 ∈ dom 𝐺) → ((𝐺‘𝐴) = 𝑥 ↔ ⟨𝐴, 𝑥⟩ ∈ 𝐺))
1412, 13bitrid 286 . . . . . . 7 ((Fun 𝐺 ∧ 𝐴 ∈ dom 𝐺) → (𝑥 = (𝐺‘𝐴) ↔ ⟨𝐴, 𝑥⟩ ∈ 𝐺))
1514anbi1d 643 . . . . . 6 ((Fun 𝐺 ∧ 𝐴 ∈ dom 𝐺) → ((𝑥 = (𝐺‘𝐴) ∧ ⟨𝑥, 𝑦⟩ ∈ 𝐹) ↔ (⟨𝐴, 𝑥⟩ ∈ 𝐺 ∧ ⟨𝑥, 𝑦⟩ ∈ 𝐹)))
1615exbidv 1956 . . . . 5 ((Fun 𝐺 ∧ 𝐴 ∈ dom 𝐺) → (∃𝑥(𝑥 = (𝐺‘𝐴) ∧ ⟨𝑥, 𝑦⟩ ∈ 𝐹) ↔ ∃𝑥(⟨𝐴, 𝑥⟩ ∈ 𝐺 ∧ ⟨𝑥, 𝑦⟩ ∈ 𝐹)))
1711, 16bitr3id 288 . . . 4 ((Fun 𝐺 ∧ 𝐴 ∈ dom 𝐺) → (⟨(𝐺‘𝐴), 𝑦⟩ ∈ 𝐹 ↔ ∃𝑥(⟨𝐴, 𝑥⟩ ∈ 𝐺 ∧ ⟨𝑥, 𝑦⟩ ∈ 𝐹)))
1817exbidv 1956 . . 3 ((Fun 𝐺 ∧ 𝐴 ∈ dom 𝐺) → (∃𝑦⟨(𝐺‘𝐴), 𝑦⟩ ∈ 𝐹 ↔ ∃𝑦∃𝑥(⟨𝐴, 𝑥⟩ ∈ 𝐺 ∧ ⟨𝑥, 𝑦⟩ ∈ 𝐹)))
198, 18bitrid 286 . 2 ((Fun 𝐺 ∧ 𝐴 ∈ dom 𝐺) → ((𝐺‘𝐴) ∈ dom 𝐹 ↔ ∃𝑦∃𝑥(⟨𝐴, 𝑥⟩ ∈ 𝐺 ∧ ⟨𝑥, 𝑦⟩ ∈ 𝐹)))
206, 19bitr4d 285 1 ((Fun 𝐺 ∧ 𝐴 ∈ dom 𝐺) → (𝐴 ∈ dom (𝐹 ∘ 𝐺) ↔ (𝐺‘𝐴) ∈ dom 𝐹))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1570  ∃wex 1812   ∈ wcel 2147  Vcvv 3454  ⟨cop 4840  dom cdm 5658   ∘ ccom 5662  Fun wfun 6560  ‘cfv 6566
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-12 2216  ax-ext 2735  ax-sep 5255  ax-nul 5266  ax-pr 5398
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-ne 2960  df-ral 3081  df-rex 3091  df-rab 3417  df-v 3456  df-ss 3901  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-sn 4589  df-pr 4591  df-op 4841  df-uni 4873  df-br 5109  df-opab 5174  df-id 5553  df-xp 5664  df-rel 5665  df-cnv 5666  df-co 5667  df-dm 5668  df-iota 6520  df-fun 6568  df-fn 6569  df-fv 6574
This theorem is used by:  hoicvr  47831  funressnfv  48386  dmfcoafv  48518  afvco2  48519
  Copyright terms: Public domain W3C validator