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

Theorem imaco 6245
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 6059 . . 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 6059 . . . 4 (𝑥 ∈ ((𝐴 ∘ 𝐵) “ 𝐶) ↔ ∃𝑧 ∈ 𝐶 𝑧(𝐴 ∘ 𝐵)𝑥)
12 vex 3455 . . . . . . 7 𝑦 ∈ V
1312elima 6059 . . . . . 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 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-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  6974  suppco  8207  fipreima  9331  fsuppcolem  9377  psgnunilem1  19687  gsumzf1o  20106  dprdf1o  20228  frlmup3  22086  f1lindf  22108  lindfmm  22113  cnco  23564  cnpco  23565  ptrescn  23938  xkoco1cn  23956  xkoco2cn  23957  xkococnlem  23958  qtopcn  24013  fmco  24260  uniioombllem3  25886  cncombf  25959  deg1val  26394  ofpreima  33241  esplysply  34185  mbfmco  34879  eulerpartlemmf  34990  erdsze2lem2  35938  cvmliftmolem1  36015  cvmlift2lem9a  36037  cvmlift2lem9  36045  mclsppslem  36317  bj-imdirco  38079  poimirlem15  38521  poimirlem16  38522  poimirlem19  38525  cnambfre  38554  ftc1anclem3  38581  aks6d1c6lem4  43191  aks6d1c6lem5  43195  trclimalb2  44685  brtrclfv2  44686  frege97d  44711  frege109d  44716  frege131d  44723  extoimad  45123  imo72b2lem0  45124  imo72b2lem2  45126  imo72b2lem1  45128  imo72b2  45131  limccog  46576  smfco  47756  afv2co2  48271  grimco  48931
  Copyright terms: Public domain W3C validator