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

Theorem imaco 6253
Description: Image of the composition of two classes. (Contributed by Jason Orendorff, 12-Dec-2006.) (Proof shortened by Wolf Lammen, 16-May-2025.)
Assertion
Ref Expression
imaco ((𝐴 ∘ 𝐵) “ 𝐶) = (𝐴 “ (𝐵 “ 𝐶))

Proof of Theorem imaco
Dummy variables 𝑥 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 df-rex 3088 . . 3 (∃𝑦 ∈ (𝐵 “ 𝐶)𝑦𝐴𝑥 ↔ ∃𝑦(𝑦 ∈ (𝐵 “ 𝐶) ∧ 𝑦𝐴𝑥))
2 vex 3455 . . . 4 𝑥 ∈ V
32elima 6061 . . 3 (𝑥 ∈ (𝐴 “ (𝐵 “ 𝐶)) ↔ ∃𝑦 ∈ (𝐵 “ 𝐶)𝑦𝐴𝑥)
4 vex 3455 . . . . . . 7 𝑧 ∈ V
54, 2brco 5848 . . . . . 6 (𝑧(𝐴 ∘ 𝐵)𝑥 ↔ ∃𝑦(𝑧𝐵𝑦 ∧ 𝑦𝐴𝑥))
65rexbii 3110 . . . . 5 (∃𝑧 ∈ 𝐶 𝑧(𝐴 ∘ 𝐵)𝑥 ↔ ∃𝑧 ∈ 𝐶 ∃𝑦(𝑧𝐵𝑦 ∧ 𝑦𝐴𝑥))
7 rexcom4 3290 . . . . 5 (∃𝑧 ∈ 𝐶 ∃𝑦(𝑧𝐵𝑦 ∧ 𝑦𝐴𝑥) ↔ ∃𝑦∃𝑧 ∈ 𝐶 (𝑧𝐵𝑦 ∧ 𝑦𝐴𝑥))
8 r19.41v 3193 . . . . . 6 (∃𝑧 ∈ 𝐶 (𝑧𝐵𝑦 ∧ 𝑦𝐴𝑥) ↔ (∃𝑧 ∈ 𝐶 𝑧𝐵𝑦 ∧ 𝑦𝐴𝑥))
98exbii 1881 . . . . 5 (∃𝑦∃𝑧 ∈ 𝐶 (𝑧𝐵𝑦 ∧ 𝑦𝐴𝑥) ↔ ∃𝑦(∃𝑧 ∈ 𝐶 𝑧𝐵𝑦 ∧ 𝑦𝐴𝑥))
106, 7, 93bitri 300 . . . 4 (∃𝑧 ∈ 𝐶 𝑧(𝐴 ∘ 𝐵)𝑥 ↔ ∃𝑦(∃𝑧 ∈ 𝐶 𝑧𝐵𝑦 ∧ 𝑦𝐴𝑥))
112elima 6061 . . . 4 (𝑥 ∈ ((𝐴 ∘ 𝐵) “ 𝐶) ↔ ∃𝑧 ∈ 𝐶 𝑧(𝐴 ∘ 𝐵)𝑥)
12 vex 3455 . . . . . . 7 𝑦 ∈ V
1312elima 6061 . . . . . 6 (𝑦 ∈ (𝐵 “ 𝐶) ↔ ∃𝑧 ∈ 𝐶 𝑧𝐵𝑦)
1413anbi1i 636 . . . . 5 ((𝑦 ∈ (𝐵 “ 𝐶) ∧ 𝑦𝐴𝑥) ↔ (∃𝑧 ∈ 𝐶 𝑧𝐵𝑦 ∧ 𝑦𝐴𝑥))
1514exbii 1881 . . . 4 (∃𝑦(𝑦 ∈ (𝐵 “ 𝐶) ∧ 𝑦𝐴𝑥) ↔ ∃𝑦(∃𝑧 ∈ 𝐶 𝑧𝐵𝑦 ∧ 𝑦𝐴𝑥))
1610, 11, 153bitr4i 306 . . 3 (𝑥 ∈ ((𝐴 ∘ 𝐵) “ 𝐶) ↔ ∃𝑦(𝑦 ∈ (𝐵 “ 𝐶) ∧ 𝑦𝐴𝑥))
171, 3, 163bitr4ri 307 . 2 (𝑥 ∈ ((𝐴 ∘ 𝐵) “ 𝐶) ↔ 𝑥 ∈ (𝐴 “ (𝐵 “ 𝐶)))
1817eqriv 2758 1 ((𝐴 ∘ 𝐵) “ 𝐶) = (𝐴 “ (𝐵 “ 𝐶))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   ∧ wa 401   = wceq 1570  ∃wex 1812   ∈ wcel 2145  ∃wrex 3087   class class class wbr 5103   “ cima 5654   ∘ ccom 5655
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-11 2194  ax-ext 2733  ax-sep 5249  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-sb 2100  df-clab 2740  df-cleq 2753  df-clel 2836  df-ral 3078  df-rex 3088  df-rab 3414  df-v 3453  df-dif 3900  df-un 3902  df-in 3904  df-ss 3915  df-nul 4280  df-if 4483  df-sn 4585  df-pr 4587  df-op 4591  df-br 5104  df-opab 5168  df-xp 5657  df-cnv 5659  df-co 5660  df-dm 5661  df-rn 5662  df-res 5663  df-ima 5664
This theorem is used by:  fvco2  6983  suppco  8224  fipreima  9348  fsuppcolem  9394  psgnunilem1  19708  gsumzf1o  20127  dprdf1o  20249  frlmup3  22107  f1lindf  22129  lindfmm  22134  cnco  23585  cnpco  23586  ptrescn  23959  xkoco1cn  23977  xkoco2cn  23978  xkococnlem  23979  qtopcn  24034  fmco  24281  uniioombllem3  25907  cncombf  25980  deg1val  26415  ofpreima  33260  esplysply  34204  mbfmco  34897  eulerpartlemmf  35008  erdsze2lem2  35970  cvmliftmolem1  36047  cvmlift2lem9a  36069  cvmlift2lem9  36077  mclsppslem  36349  bj-imdirco  38113  poimirlem15  38555  poimirlem16  38556  poimirlem19  38559  cnambfre  38588  ftc1anclem3  38615  aks6d1c6lem4  43225  aks6d1c6lem5  43229  trclimalb2  44727  brtrclfv2  44728  frege97d  44753  frege109d  44758  frege131d  44765  extoimad  45165  imo72b2lem0  45166  imo72b2lem2  45168  imo72b2lem1  45170  imo72b2  45173  limccog  46633  smfco  47813  afv2co2  48328  grimco  48988
  Copyright terms: Public domain W3C validator