Users' Mathboxes Mathbox for Alexander van der Vekens < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  afvco2 Structured version   Visualization version   GIF version

Theorem afvco2 44668
Description: Value of a function composition, analogous to fvco2 6865. (Contributed by Alexander van der Vekens, 23-Jul-2017.)
Assertion
Ref Expression
afvco2 ((𝐺 Fn 𝐴𝑋𝐴) → ((𝐹𝐺)'''𝑋) = (𝐹'''(𝐺'''𝑋)))

Proof of Theorem afvco2
StepHypRef Expression
1 fvco2 6865 . . . . 5 ((𝐺 Fn 𝐴𝑋𝐴) → ((𝐹𝐺)‘𝑋) = (𝐹‘(𝐺𝑋)))
21adantl 482 . . . 4 ((((𝐺𝑋) ∈ dom 𝐹 ∧ Fun (𝐹 ↾ {(𝐺𝑋)})) ∧ (𝐺 Fn 𝐴𝑋𝐴)) → ((𝐹𝐺)‘𝑋) = (𝐹‘(𝐺𝑋)))
3 simpll 764 . . . . . 6 ((((𝐺𝑋) ∈ dom 𝐹 ∧ Fun (𝐹 ↾ {(𝐺𝑋)})) ∧ (𝐺 Fn 𝐴𝑋𝐴)) → (𝐺𝑋) ∈ dom 𝐹)
4 df-fn 6436 . . . . . . . . 9 (𝐺 Fn 𝐴 ↔ (Fun 𝐺 ∧ dom 𝐺 = 𝐴))
5 simpll 764 . . . . . . . . . 10 (((Fun 𝐺 ∧ dom 𝐺 = 𝐴) ∧ 𝑋𝐴) → Fun 𝐺)
6 eleq2 2827 . . . . . . . . . . . . . 14 (𝐴 = dom 𝐺 → (𝑋𝐴𝑋 ∈ dom 𝐺))
76eqcoms 2746 . . . . . . . . . . . . 13 (dom 𝐺 = 𝐴 → (𝑋𝐴𝑋 ∈ dom 𝐺))
87biimpd 228 . . . . . . . . . . . 12 (dom 𝐺 = 𝐴 → (𝑋𝐴𝑋 ∈ dom 𝐺))
98adantl 482 . . . . . . . . . . 11 ((Fun 𝐺 ∧ dom 𝐺 = 𝐴) → (𝑋𝐴𝑋 ∈ dom 𝐺))
109imp 407 . . . . . . . . . 10 (((Fun 𝐺 ∧ dom 𝐺 = 𝐴) ∧ 𝑋𝐴) → 𝑋 ∈ dom 𝐺)
115, 10jca 512 . . . . . . . . 9 (((Fun 𝐺 ∧ dom 𝐺 = 𝐴) ∧ 𝑋𝐴) → (Fun 𝐺𝑋 ∈ dom 𝐺))
124, 11sylanb 581 . . . . . . . 8 ((𝐺 Fn 𝐴𝑋𝐴) → (Fun 𝐺𝑋 ∈ dom 𝐺))
1312adantl 482 . . . . . . 7 ((((𝐺𝑋) ∈ dom 𝐹 ∧ Fun (𝐹 ↾ {(𝐺𝑋)})) ∧ (𝐺 Fn 𝐴𝑋𝐴)) → (Fun 𝐺𝑋 ∈ dom 𝐺))
14 dmfco 6864 . . . . . . 7 ((Fun 𝐺𝑋 ∈ dom 𝐺) → (𝑋 ∈ dom (𝐹𝐺) ↔ (𝐺𝑋) ∈ dom 𝐹))
1513, 14syl 17 . . . . . 6 ((((𝐺𝑋) ∈ dom 𝐹 ∧ Fun (𝐹 ↾ {(𝐺𝑋)})) ∧ (𝐺 Fn 𝐴𝑋𝐴)) → (𝑋 ∈ dom (𝐹𝐺) ↔ (𝐺𝑋) ∈ dom 𝐹))
163, 15mpbird 256 . . . . 5 ((((𝐺𝑋) ∈ dom 𝐹 ∧ Fun (𝐹 ↾ {(𝐺𝑋)})) ∧ (𝐺 Fn 𝐴𝑋𝐴)) → 𝑋 ∈ dom (𝐹𝐺))
17 funcoressn 44536 . . . . 5 ((((𝐺𝑋) ∈ dom 𝐹 ∧ Fun (𝐹 ↾ {(𝐺𝑋)})) ∧ (𝐺 Fn 𝐴𝑋𝐴)) → Fun ((𝐹𝐺) ↾ {𝑋}))
18 df-dfat 44611 . . . . . 6 ((𝐹𝐺) defAt 𝑋 ↔ (𝑋 ∈ dom (𝐹𝐺) ∧ Fun ((𝐹𝐺) ↾ {𝑋})))
19 afvfundmfveq 44630 . . . . . 6 ((𝐹𝐺) defAt 𝑋 → ((𝐹𝐺)'''𝑋) = ((𝐹𝐺)‘𝑋))
2018, 19sylbir 234 . . . . 5 ((𝑋 ∈ dom (𝐹𝐺) ∧ Fun ((𝐹𝐺) ↾ {𝑋})) → ((𝐹𝐺)'''𝑋) = ((𝐹𝐺)‘𝑋))
2116, 17, 20syl2anc 584 . . . 4 ((((𝐺𝑋) ∈ dom 𝐹 ∧ Fun (𝐹 ↾ {(𝐺𝑋)})) ∧ (𝐺 Fn 𝐴𝑋𝐴)) → ((𝐹𝐺)'''𝑋) = ((𝐹𝐺)‘𝑋))
22 df-dfat 44611 . . . . . 6 (𝐹 defAt (𝐺𝑋) ↔ ((𝐺𝑋) ∈ dom 𝐹 ∧ Fun (𝐹 ↾ {(𝐺𝑋)})))
23 afvfundmfveq 44630 . . . . . 6 (𝐹 defAt (𝐺𝑋) → (𝐹'''(𝐺𝑋)) = (𝐹‘(𝐺𝑋)))
2422, 23sylbir 234 . . . . 5 (((𝐺𝑋) ∈ dom 𝐹 ∧ Fun (𝐹 ↾ {(𝐺𝑋)})) → (𝐹'''(𝐺𝑋)) = (𝐹‘(𝐺𝑋)))
2524adantr 481 . . . 4 ((((𝐺𝑋) ∈ dom 𝐹 ∧ Fun (𝐹 ↾ {(𝐺𝑋)})) ∧ (𝐺 Fn 𝐴𝑋𝐴)) → (𝐹'''(𝐺𝑋)) = (𝐹‘(𝐺𝑋)))
262, 21, 253eqtr4d 2788 . . 3 ((((𝐺𝑋) ∈ dom 𝐹 ∧ Fun (𝐹 ↾ {(𝐺𝑋)})) ∧ (𝐺 Fn 𝐴𝑋𝐴)) → ((𝐹𝐺)'''𝑋) = (𝐹'''(𝐺𝑋)))
27 ianor 979 . . . . . 6 (¬ ((𝐺𝑋) ∈ dom 𝐹 ∧ Fun (𝐹 ↾ {(𝐺𝑋)})) ↔ (¬ (𝐺𝑋) ∈ dom 𝐹 ∨ ¬ Fun (𝐹 ↾ {(𝐺𝑋)})))
2814funfni 6539 . . . . . . . . . . 11 ((𝐺 Fn 𝐴𝑋𝐴) → (𝑋 ∈ dom (𝐹𝐺) ↔ (𝐺𝑋) ∈ dom 𝐹))
2928bicomd 222 . . . . . . . . . 10 ((𝐺 Fn 𝐴𝑋𝐴) → ((𝐺𝑋) ∈ dom 𝐹𝑋 ∈ dom (𝐹𝐺)))
3029notbid 318 . . . . . . . . 9 ((𝐺 Fn 𝐴𝑋𝐴) → (¬ (𝐺𝑋) ∈ dom 𝐹 ↔ ¬ 𝑋 ∈ dom (𝐹𝐺)))
3130biimpd 228 . . . . . . . 8 ((𝐺 Fn 𝐴𝑋𝐴) → (¬ (𝐺𝑋) ∈ dom 𝐹 → ¬ 𝑋 ∈ dom (𝐹𝐺)))
32 ndmafv 44632 . . . . . . . 8 𝑋 ∈ dom (𝐹𝐺) → ((𝐹𝐺)'''𝑋) = V)
3331, 32syl6com 37 . . . . . . 7 (¬ (𝐺𝑋) ∈ dom 𝐹 → ((𝐺 Fn 𝐴𝑋𝐴) → ((𝐹𝐺)'''𝑋) = V))
34 funressnfv 44537 . . . . . . . . . . . 12 (((𝑋 ∈ dom (𝐹𝐺) ∧ Fun ((𝐹𝐺) ↾ {𝑋})) ∧ (𝐺 Fn 𝐴𝑋𝐴)) → Fun (𝐹 ↾ {(𝐺𝑋)}))
3534ex 413 . . . . . . . . . . 11 ((𝑋 ∈ dom (𝐹𝐺) ∧ Fun ((𝐹𝐺) ↾ {𝑋})) → ((𝐺 Fn 𝐴𝑋𝐴) → Fun (𝐹 ↾ {(𝐺𝑋)})))
36 afvnfundmuv 44631 . . . . . . . . . . . 12 (¬ (𝐹𝐺) defAt 𝑋 → ((𝐹𝐺)'''𝑋) = V)
3718, 36sylnbir 331 . . . . . . . . . . 11 (¬ (𝑋 ∈ dom (𝐹𝐺) ∧ Fun ((𝐹𝐺) ↾ {𝑋})) → ((𝐹𝐺)'''𝑋) = V)
3835, 37nsyl4 158 . . . . . . . . . 10 (¬ ((𝐹𝐺)'''𝑋) = V → ((𝐺 Fn 𝐴𝑋𝐴) → Fun (𝐹 ↾ {(𝐺𝑋)})))
3938com12 32 . . . . . . . . 9 ((𝐺 Fn 𝐴𝑋𝐴) → (¬ ((𝐹𝐺)'''𝑋) = V → Fun (𝐹 ↾ {(𝐺𝑋)})))
4039con1d 145 . . . . . . . 8 ((𝐺 Fn 𝐴𝑋𝐴) → (¬ Fun (𝐹 ↾ {(𝐺𝑋)}) → ((𝐹𝐺)'''𝑋) = V))
4140com12 32 . . . . . . 7 (¬ Fun (𝐹 ↾ {(𝐺𝑋)}) → ((𝐺 Fn 𝐴𝑋𝐴) → ((𝐹𝐺)'''𝑋) = V))
4233, 41jaoi 854 . . . . . 6 ((¬ (𝐺𝑋) ∈ dom 𝐹 ∨ ¬ Fun (𝐹 ↾ {(𝐺𝑋)})) → ((𝐺 Fn 𝐴𝑋𝐴) → ((𝐹𝐺)'''𝑋) = V))
4327, 42sylbi 216 . . . . 5 (¬ ((𝐺𝑋) ∈ dom 𝐹 ∧ Fun (𝐹 ↾ {(𝐺𝑋)})) → ((𝐺 Fn 𝐴𝑋𝐴) → ((𝐹𝐺)'''𝑋) = V))
4443imp 407 . . . 4 ((¬ ((𝐺𝑋) ∈ dom 𝐹 ∧ Fun (𝐹 ↾ {(𝐺𝑋)})) ∧ (𝐺 Fn 𝐴𝑋𝐴)) → ((𝐹𝐺)'''𝑋) = V)
45 afvnfundmuv 44631 . . . . . . 7 𝐹 defAt (𝐺𝑋) → (𝐹'''(𝐺𝑋)) = V)
4622, 45sylnbir 331 . . . . . 6 (¬ ((𝐺𝑋) ∈ dom 𝐹 ∧ Fun (𝐹 ↾ {(𝐺𝑋)})) → (𝐹'''(𝐺𝑋)) = V)
4746eqcomd 2744 . . . . 5 (¬ ((𝐺𝑋) ∈ dom 𝐹 ∧ Fun (𝐹 ↾ {(𝐺𝑋)})) → V = (𝐹'''(𝐺𝑋)))
4847adantr 481 . . . 4 ((¬ ((𝐺𝑋) ∈ dom 𝐹 ∧ Fun (𝐹 ↾ {(𝐺𝑋)})) ∧ (𝐺 Fn 𝐴𝑋𝐴)) → V = (𝐹'''(𝐺𝑋)))
4944, 48eqtrd 2778 . . 3 ((¬ ((𝐺𝑋) ∈ dom 𝐹 ∧ Fun (𝐹 ↾ {(𝐺𝑋)})) ∧ (𝐺 Fn 𝐴𝑋𝐴)) → ((𝐹𝐺)'''𝑋) = (𝐹'''(𝐺𝑋)))
5026, 49pm2.61ian 809 . 2 ((𝐺 Fn 𝐴𝑋𝐴) → ((𝐹𝐺)'''𝑋) = (𝐹'''(𝐺𝑋)))
51 eqidd 2739 . . 3 ((𝐺 Fn 𝐴𝑋𝐴) → 𝐹 = 𝐹)
524, 9sylbi 216 . . . . . 6 (𝐺 Fn 𝐴 → (𝑋𝐴𝑋 ∈ dom 𝐺))
5352imp 407 . . . . 5 ((𝐺 Fn 𝐴𝑋𝐴) → 𝑋 ∈ dom 𝐺)
54 fnfun 6533 . . . . . . 7 (𝐺 Fn 𝐴 → Fun 𝐺)
5554funresd 6477 . . . . . 6 (𝐺 Fn 𝐴 → Fun (𝐺 ↾ {𝑋}))
5655adantr 481 . . . . 5 ((𝐺 Fn 𝐴𝑋𝐴) → Fun (𝐺 ↾ {𝑋}))
57 df-dfat 44611 . . . . . 6 (𝐺 defAt 𝑋 ↔ (𝑋 ∈ dom 𝐺 ∧ Fun (𝐺 ↾ {𝑋})))
58 afvfundmfveq 44630 . . . . . 6 (𝐺 defAt 𝑋 → (𝐺'''𝑋) = (𝐺𝑋))
5957, 58sylbir 234 . . . . 5 ((𝑋 ∈ dom 𝐺 ∧ Fun (𝐺 ↾ {𝑋})) → (𝐺'''𝑋) = (𝐺𝑋))
6053, 56, 59syl2anc 584 . . . 4 ((𝐺 Fn 𝐴𝑋𝐴) → (𝐺'''𝑋) = (𝐺𝑋))
6160eqcomd 2744 . . 3 ((𝐺 Fn 𝐴𝑋𝐴) → (𝐺𝑋) = (𝐺'''𝑋))
6251, 61afveq12d 44625 . 2 ((𝐺 Fn 𝐴𝑋𝐴) → (𝐹'''(𝐺𝑋)) = (𝐹'''(𝐺'''𝑋)))
6350, 62eqtrd 2778 1 ((𝐺 Fn 𝐴𝑋𝐴) → ((𝐹𝐺)'''𝑋) = (𝐹'''(𝐺'''𝑋)))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 205  wa 396  wo 844   = wceq 1539  wcel 2106  Vcvv 3432  {csn 4561  dom cdm 5589  cres 5591  ccom 5593  Fun wfun 6427   Fn wfn 6428  cfv 6433   defAt wdfat 44608  '''cafv 44609
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2709  ax-sep 5223  ax-nul 5230  ax-pr 5352
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2068  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2816  df-nfc 2889  df-ne 2944  df-ral 3069  df-rex 3070  df-rab 3073  df-v 3434  df-sbc 3717  df-csb 3833  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-nul 4257  df-if 4460  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4840  df-int 4880  df-br 5075  df-opab 5137  df-id 5489  df-xp 5595  df-rel 5596  df-cnv 5597  df-co 5598  df-dm 5599  df-rn 5600  df-res 5601  df-ima 5602  df-iota 6391  df-fun 6435  df-fn 6436  df-fv 6441  df-aiota 44577  df-dfat 44611  df-afv 44612
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator