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

Theorem dmfco 6981
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 5881 . . . 4 (𝐴 ∈ dom 𝐺 → (𝐴 ∈ dom (𝐹 ∘ 𝐺) ↔ ∃𝑦⟨𝐴, 𝑦⟩ ∈ (𝐹 ∘ 𝐺)))
2 opelco2g 5845 . . . . . 6 ((𝐴 ∈ dom 𝐺 ∧ 𝑦 ∈ V) → (⟨𝐴, 𝑦⟩ ∈ (𝐹 ∘ 𝐺) ↔ ∃𝑥(⟨𝐴, 𝑥⟩ ∈ 𝐺 ∧ ⟨𝑥, 𝑦⟩ ∈ 𝐹)))
32elvd 3457 . . . . 5 (𝐴 ∈ dom 𝐺 → (⟨𝐴, 𝑦⟩ ∈ (𝐹 ∘ 𝐺) ↔ ∃𝑥(⟨𝐴, 𝑥⟩ ∈ 𝐺 ∧ ⟨𝑥, 𝑦⟩ ∈ 𝐹)))
43exbidv 1954 . . . 4 (𝐴 ∈ dom 𝐺 → (∃𝑦⟨𝐴, 𝑦⟩ ∈ (𝐹 ∘ 𝐺) ↔ ∃𝑦∃𝑥(⟨𝐴, 𝑥⟩ ∈ 𝐺 ∧ ⟨𝑥, 𝑦⟩ ∈ 𝐹)))
51, 4bitrd 282 . . 3 (𝐴 ∈ dom 𝐺 → (𝐴 ∈ dom (𝐹 ∘ 𝐺) ↔ ∃𝑦∃𝑥(⟨𝐴, 𝑥⟩ ∈ 𝐺 ∧ ⟨𝑥, 𝑦⟩ ∈ 𝐹)))
65adantl 487 . 2 ((Fun 𝐺 ∧ 𝐴 ∈ dom 𝐺) → (𝐴 ∈ dom (𝐹 ∘ 𝐺) ↔ ∃𝑦∃𝑥(⟨𝐴, 𝑥⟩ ∈ 𝐺 ∧ ⟨𝑥, 𝑦⟩ ∈ 𝐹)))
7 fvex 6898 . . . 4 (𝐺‘𝐴) ∈ V
87eldm2 5883 . . 3 ((𝐺‘𝐴) ∈ dom 𝐹 ↔ ∃𝑦⟨(𝐺‘𝐴), 𝑦⟩ ∈ 𝐹)
9 opeq1 4833 . . . . . . 7 (𝑥 = (𝐺‘𝐴) → ⟨𝑥, 𝑦⟩ = ⟨(𝐺‘𝐴), 𝑦⟩)
109eleq1d 2846 . . . . . 6 (𝑥 = (𝐺‘𝐴) → (⟨𝑥, 𝑦⟩ ∈ 𝐹 ↔ ⟨(𝐺‘𝐴), 𝑦⟩ ∈ 𝐹))
117, 10ceqsexv 3499 . . . . 5 (∃𝑥(𝑥 = (𝐺‘𝐴) ∧ ⟨𝑥, 𝑦⟩ ∈ 𝐹) ↔ ⟨(𝐺‘𝐴), 𝑦⟩ ∈ 𝐹)
12 eqcom 2768 . . . . . . . 8 (𝑥 = (𝐺‘𝐴) ↔ (𝐺‘𝐴) = 𝑥)
13 funopfvb 6939 . . . . . . . 8 ((Fun 𝐺 ∧ 𝐴 ∈ dom 𝐺) → ((𝐺‘𝐴) = 𝑥 ↔ ⟨𝐴, 𝑥⟩ ∈ 𝐺))
1412, 13bitrid 286 . . . . . . 7 ((Fun 𝐺 ∧ 𝐴 ∈ dom 𝐺) → (𝑥 = (𝐺‘𝐴) ↔ ⟨𝐴, 𝑥⟩ ∈ 𝐺))
1514anbi1d 643 . . . . . 6 ((Fun 𝐺 ∧ 𝐴 ∈ dom 𝐺) → ((𝑥 = (𝐺‘𝐴) ∧ ⟨𝑥, 𝑦⟩ ∈ 𝐹) ↔ (⟨𝐴, 𝑥⟩ ∈ 𝐺 ∧ ⟨𝑥, 𝑦⟩ ∈ 𝐹)))
1615exbidv 1954 . . . . 5 ((Fun 𝐺 ∧ 𝐴 ∈ dom 𝐺) → (∃𝑥(𝑥 = (𝐺‘𝐴) ∧ ⟨𝑥, 𝑦⟩ ∈ 𝐹) ↔ ∃𝑥(⟨𝐴, 𝑥⟩ ∈ 𝐺 ∧ ⟨𝑥, 𝑦⟩ ∈ 𝐹)))
1711, 16bitr3id 288 . . . 4 ((Fun 𝐺 ∧ 𝐴 ∈ dom 𝐺) → (⟨(𝐺‘𝐴), 𝑦⟩ ∈ 𝐹 ↔ ∃𝑥(⟨𝐴, 𝑥⟩ ∈ 𝐺 ∧ ⟨𝑥, 𝑦⟩ ∈ 𝐹)))
1817exbidv 1954 . . 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 2145  Vcvv 3451  ⟨cop 4590  dom cdm 5651   ∘ ccom 5655  Fun wfun 6532  ‘cfv 6538
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 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-10 2178  ax-12 2213  ax-ext 2733  ax-sep 5249  ax-nul 5260  ax-pr 5391
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 2100  df-mo 2565  df-eu 2595  df-clab 2740  df-cleq 2753  df-clel 2836  df-ne 2957  df-ral 3078  df-rex 3088  df-rab 3414  df-v 3453  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-nul 4280  df-if 4483  df-sn 4585  df-pr 4587  df-op 4591  df-uni 4868  df-br 5104  df-opab 5168  df-id 5546  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-iota 6494  df-fun 6540  df-fn 6541  df-fv 6546
This theorem is used by:  hoicvr  47557  funressnfv  48112  dmfcoafv  48244  afvco2  48245
  Copyright terms: Public domain W3C validator