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

Theorem fmco 23112
Description: Composition of image filters. (Contributed by Mario Carneiro, 27-Aug-2015.)
Assertion
Ref Expression
fmco (((𝑋𝑉𝑌𝑊𝐵 ∈ (fBas‘𝑍)) ∧ (𝐹:𝑌𝑋𝐺:𝑍𝑌)) → ((𝑋 FilMap (𝐹𝐺))‘𝐵) = ((𝑋 FilMap 𝐹)‘((𝑌 FilMap 𝐺)‘𝐵)))

Proof of Theorem fmco
Dummy variables 𝑡 𝑠 𝑢 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 simpl3 1192 . . . . . . . . . . 11 (((𝑋𝑉𝑌𝑊𝐵 ∈ (fBas‘𝑍)) ∧ (𝐹:𝑌𝑋𝐺:𝑍𝑌)) → 𝐵 ∈ (fBas‘𝑍))
2 ssfg 23023 . . . . . . . . . . 11 (𝐵 ∈ (fBas‘𝑍) → 𝐵 ⊆ (𝑍filGen𝐵))
31, 2syl 17 . . . . . . . . . 10 (((𝑋𝑉𝑌𝑊𝐵 ∈ (fBas‘𝑍)) ∧ (𝐹:𝑌𝑋𝐺:𝑍𝑌)) → 𝐵 ⊆ (𝑍filGen𝐵))
43sseld 3920 . . . . . . . . 9 (((𝑋𝑉𝑌𝑊𝐵 ∈ (fBas‘𝑍)) ∧ (𝐹:𝑌𝑋𝐺:𝑍𝑌)) → (𝑢𝐵𝑢 ∈ (𝑍filGen𝐵)))
5 simpl2 1191 . . . . . . . . . 10 (((𝑋𝑉𝑌𝑊𝐵 ∈ (fBas‘𝑍)) ∧ (𝐹:𝑌𝑋𝐺:𝑍𝑌)) → 𝑌𝑊)
6 simprr 770 . . . . . . . . . 10 (((𝑋𝑉𝑌𝑊𝐵 ∈ (fBas‘𝑍)) ∧ (𝐹:𝑌𝑋𝐺:𝑍𝑌)) → 𝐺:𝑍𝑌)
7 eqid 2738 . . . . . . . . . . . 12 (𝑍filGen𝐵) = (𝑍filGen𝐵)
87imaelfm 23102 . . . . . . . . . . 11 (((𝑌𝑊𝐵 ∈ (fBas‘𝑍) ∧ 𝐺:𝑍𝑌) ∧ 𝑢 ∈ (𝑍filGen𝐵)) → (𝐺𝑢) ∈ ((𝑌 FilMap 𝐺)‘𝐵))
98ex 413 . . . . . . . . . 10 ((𝑌𝑊𝐵 ∈ (fBas‘𝑍) ∧ 𝐺:𝑍𝑌) → (𝑢 ∈ (𝑍filGen𝐵) → (𝐺𝑢) ∈ ((𝑌 FilMap 𝐺)‘𝐵)))
105, 1, 6, 9syl3anc 1370 . . . . . . . . 9 (((𝑋𝑉𝑌𝑊𝐵 ∈ (fBas‘𝑍)) ∧ (𝐹:𝑌𝑋𝐺:𝑍𝑌)) → (𝑢 ∈ (𝑍filGen𝐵) → (𝐺𝑢) ∈ ((𝑌 FilMap 𝐺)‘𝐵)))
114, 10syld 47 . . . . . . . 8 (((𝑋𝑉𝑌𝑊𝐵 ∈ (fBas‘𝑍)) ∧ (𝐹:𝑌𝑋𝐺:𝑍𝑌)) → (𝑢𝐵 → (𝐺𝑢) ∈ ((𝑌 FilMap 𝐺)‘𝐵)))
1211imp 407 . . . . . . 7 ((((𝑋𝑉𝑌𝑊𝐵 ∈ (fBas‘𝑍)) ∧ (𝐹:𝑌𝑋𝐺:𝑍𝑌)) ∧ 𝑢𝐵) → (𝐺𝑢) ∈ ((𝑌 FilMap 𝐺)‘𝐵))
13 imaeq2 5965 . . . . . . . . . . 11 (𝑡 = (𝐺𝑢) → (𝐹𝑡) = (𝐹 “ (𝐺𝑢)))
14 imaco 6155 . . . . . . . . . . 11 ((𝐹𝐺) “ 𝑢) = (𝐹 “ (𝐺𝑢))
1513, 14eqtr4di 2796 . . . . . . . . . 10 (𝑡 = (𝐺𝑢) → (𝐹𝑡) = ((𝐹𝐺) “ 𝑢))
1615sseq1d 3952 . . . . . . . . 9 (𝑡 = (𝐺𝑢) → ((𝐹𝑡) ⊆ 𝑠 ↔ ((𝐹𝐺) “ 𝑢) ⊆ 𝑠))
1716rspcev 3561 . . . . . . . 8 (((𝐺𝑢) ∈ ((𝑌 FilMap 𝐺)‘𝐵) ∧ ((𝐹𝐺) “ 𝑢) ⊆ 𝑠) → ∃𝑡 ∈ ((𝑌 FilMap 𝐺)‘𝐵)(𝐹𝑡) ⊆ 𝑠)
1817ex 413 . . . . . . 7 ((𝐺𝑢) ∈ ((𝑌 FilMap 𝐺)‘𝐵) → (((𝐹𝐺) “ 𝑢) ⊆ 𝑠 → ∃𝑡 ∈ ((𝑌 FilMap 𝐺)‘𝐵)(𝐹𝑡) ⊆ 𝑠))
1912, 18syl 17 . . . . . 6 ((((𝑋𝑉𝑌𝑊𝐵 ∈ (fBas‘𝑍)) ∧ (𝐹:𝑌𝑋𝐺:𝑍𝑌)) ∧ 𝑢𝐵) → (((𝐹𝐺) “ 𝑢) ⊆ 𝑠 → ∃𝑡 ∈ ((𝑌 FilMap 𝐺)‘𝐵)(𝐹𝑡) ⊆ 𝑠))
2019rexlimdva 3213 . . . . 5 (((𝑋𝑉𝑌𝑊𝐵 ∈ (fBas‘𝑍)) ∧ (𝐹:𝑌𝑋𝐺:𝑍𝑌)) → (∃𝑢𝐵 ((𝐹𝐺) “ 𝑢) ⊆ 𝑠 → ∃𝑡 ∈ ((𝑌 FilMap 𝐺)‘𝐵)(𝐹𝑡) ⊆ 𝑠))
21 elfm 23098 . . . . . . . 8 ((𝑌𝑊𝐵 ∈ (fBas‘𝑍) ∧ 𝐺:𝑍𝑌) → (𝑡 ∈ ((𝑌 FilMap 𝐺)‘𝐵) ↔ (𝑡𝑌 ∧ ∃𝑢𝐵 (𝐺𝑢) ⊆ 𝑡)))
225, 1, 6, 21syl3anc 1370 . . . . . . 7 (((𝑋𝑉𝑌𝑊𝐵 ∈ (fBas‘𝑍)) ∧ (𝐹:𝑌𝑋𝐺:𝑍𝑌)) → (𝑡 ∈ ((𝑌 FilMap 𝐺)‘𝐵) ↔ (𝑡𝑌 ∧ ∃𝑢𝐵 (𝐺𝑢) ⊆ 𝑡)))
23 sstr2 3928 . . . . . . . . . . 11 (((𝐹𝐺) “ 𝑢) ⊆ (𝐹𝑡) → ((𝐹𝑡) ⊆ 𝑠 → ((𝐹𝐺) “ 𝑢) ⊆ 𝑠))
24 imass2 6010 . . . . . . . . . . . 12 ((𝐺𝑢) ⊆ 𝑡 → (𝐹 “ (𝐺𝑢)) ⊆ (𝐹𝑡))
2514, 24eqsstrid 3969 . . . . . . . . . . 11 ((𝐺𝑢) ⊆ 𝑡 → ((𝐹𝐺) “ 𝑢) ⊆ (𝐹𝑡))
2623, 25syl11 33 . . . . . . . . . 10 ((𝐹𝑡) ⊆ 𝑠 → ((𝐺𝑢) ⊆ 𝑡 → ((𝐹𝐺) “ 𝑢) ⊆ 𝑠))
2726reximdv 3202 . . . . . . . . 9 ((𝐹𝑡) ⊆ 𝑠 → (∃𝑢𝐵 (𝐺𝑢) ⊆ 𝑡 → ∃𝑢𝐵 ((𝐹𝐺) “ 𝑢) ⊆ 𝑠))
2827com12 32 . . . . . . . 8 (∃𝑢𝐵 (𝐺𝑢) ⊆ 𝑡 → ((𝐹𝑡) ⊆ 𝑠 → ∃𝑢𝐵 ((𝐹𝐺) “ 𝑢) ⊆ 𝑠))
2928adantl 482 . . . . . . 7 ((𝑡𝑌 ∧ ∃𝑢𝐵 (𝐺𝑢) ⊆ 𝑡) → ((𝐹𝑡) ⊆ 𝑠 → ∃𝑢𝐵 ((𝐹𝐺) “ 𝑢) ⊆ 𝑠))
3022, 29syl6bi 252 . . . . . 6 (((𝑋𝑉𝑌𝑊𝐵 ∈ (fBas‘𝑍)) ∧ (𝐹:𝑌𝑋𝐺:𝑍𝑌)) → (𝑡 ∈ ((𝑌 FilMap 𝐺)‘𝐵) → ((𝐹𝑡) ⊆ 𝑠 → ∃𝑢𝐵 ((𝐹𝐺) “ 𝑢) ⊆ 𝑠)))
3130rexlimdv 3212 . . . . 5 (((𝑋𝑉𝑌𝑊𝐵 ∈ (fBas‘𝑍)) ∧ (𝐹:𝑌𝑋𝐺:𝑍𝑌)) → (∃𝑡 ∈ ((𝑌 FilMap 𝐺)‘𝐵)(𝐹𝑡) ⊆ 𝑠 → ∃𝑢𝐵 ((𝐹𝐺) “ 𝑢) ⊆ 𝑠))
3220, 31impbid 211 . . . 4 (((𝑋𝑉𝑌𝑊𝐵 ∈ (fBas‘𝑍)) ∧ (𝐹:𝑌𝑋𝐺:𝑍𝑌)) → (∃𝑢𝐵 ((𝐹𝐺) “ 𝑢) ⊆ 𝑠 ↔ ∃𝑡 ∈ ((𝑌 FilMap 𝐺)‘𝐵)(𝐹𝑡) ⊆ 𝑠))
3332anbi2d 629 . . 3 (((𝑋𝑉𝑌𝑊𝐵 ∈ (fBas‘𝑍)) ∧ (𝐹:𝑌𝑋𝐺:𝑍𝑌)) → ((𝑠𝑋 ∧ ∃𝑢𝐵 ((𝐹𝐺) “ 𝑢) ⊆ 𝑠) ↔ (𝑠𝑋 ∧ ∃𝑡 ∈ ((𝑌 FilMap 𝐺)‘𝐵)(𝐹𝑡) ⊆ 𝑠)))
34 simpl1 1190 . . . 4 (((𝑋𝑉𝑌𝑊𝐵 ∈ (fBas‘𝑍)) ∧ (𝐹:𝑌𝑋𝐺:𝑍𝑌)) → 𝑋𝑉)
35 fco 6624 . . . . 5 ((𝐹:𝑌𝑋𝐺:𝑍𝑌) → (𝐹𝐺):𝑍𝑋)
3635adantl 482 . . . 4 (((𝑋𝑉𝑌𝑊𝐵 ∈ (fBas‘𝑍)) ∧ (𝐹:𝑌𝑋𝐺:𝑍𝑌)) → (𝐹𝐺):𝑍𝑋)
37 elfm 23098 . . . 4 ((𝑋𝑉𝐵 ∈ (fBas‘𝑍) ∧ (𝐹𝐺):𝑍𝑋) → (𝑠 ∈ ((𝑋 FilMap (𝐹𝐺))‘𝐵) ↔ (𝑠𝑋 ∧ ∃𝑢𝐵 ((𝐹𝐺) “ 𝑢) ⊆ 𝑠)))
3834, 1, 36, 37syl3anc 1370 . . 3 (((𝑋𝑉𝑌𝑊𝐵 ∈ (fBas‘𝑍)) ∧ (𝐹:𝑌𝑋𝐺:𝑍𝑌)) → (𝑠 ∈ ((𝑋 FilMap (𝐹𝐺))‘𝐵) ↔ (𝑠𝑋 ∧ ∃𝑢𝐵 ((𝐹𝐺) “ 𝑢) ⊆ 𝑠)))
39 fmfil 23095 . . . . . 6 ((𝑌𝑊𝐵 ∈ (fBas‘𝑍) ∧ 𝐺:𝑍𝑌) → ((𝑌 FilMap 𝐺)‘𝐵) ∈ (Fil‘𝑌))
405, 1, 6, 39syl3anc 1370 . . . . 5 (((𝑋𝑉𝑌𝑊𝐵 ∈ (fBas‘𝑍)) ∧ (𝐹:𝑌𝑋𝐺:𝑍𝑌)) → ((𝑌 FilMap 𝐺)‘𝐵) ∈ (Fil‘𝑌))
41 filfbas 22999 . . . . 5 (((𝑌 FilMap 𝐺)‘𝐵) ∈ (Fil‘𝑌) → ((𝑌 FilMap 𝐺)‘𝐵) ∈ (fBas‘𝑌))
4240, 41syl 17 . . . 4 (((𝑋𝑉𝑌𝑊𝐵 ∈ (fBas‘𝑍)) ∧ (𝐹:𝑌𝑋𝐺:𝑍𝑌)) → ((𝑌 FilMap 𝐺)‘𝐵) ∈ (fBas‘𝑌))
43 simprl 768 . . . 4 (((𝑋𝑉𝑌𝑊𝐵 ∈ (fBas‘𝑍)) ∧ (𝐹:𝑌𝑋𝐺:𝑍𝑌)) → 𝐹:𝑌𝑋)
44 elfm 23098 . . . 4 ((𝑋𝑉 ∧ ((𝑌 FilMap 𝐺)‘𝐵) ∈ (fBas‘𝑌) ∧ 𝐹:𝑌𝑋) → (𝑠 ∈ ((𝑋 FilMap 𝐹)‘((𝑌 FilMap 𝐺)‘𝐵)) ↔ (𝑠𝑋 ∧ ∃𝑡 ∈ ((𝑌 FilMap 𝐺)‘𝐵)(𝐹𝑡) ⊆ 𝑠)))
4534, 42, 43, 44syl3anc 1370 . . 3 (((𝑋𝑉𝑌𝑊𝐵 ∈ (fBas‘𝑍)) ∧ (𝐹:𝑌𝑋𝐺:𝑍𝑌)) → (𝑠 ∈ ((𝑋 FilMap 𝐹)‘((𝑌 FilMap 𝐺)‘𝐵)) ↔ (𝑠𝑋 ∧ ∃𝑡 ∈ ((𝑌 FilMap 𝐺)‘𝐵)(𝐹𝑡) ⊆ 𝑠)))
4633, 38, 453bitr4d 311 . 2 (((𝑋𝑉𝑌𝑊𝐵 ∈ (fBas‘𝑍)) ∧ (𝐹:𝑌𝑋𝐺:𝑍𝑌)) → (𝑠 ∈ ((𝑋 FilMap (𝐹𝐺))‘𝐵) ↔ 𝑠 ∈ ((𝑋 FilMap 𝐹)‘((𝑌 FilMap 𝐺)‘𝐵))))
4746eqrdv 2736 1 (((𝑋𝑉𝑌𝑊𝐵 ∈ (fBas‘𝑍)) ∧ (𝐹:𝑌𝑋𝐺:𝑍𝑌)) → ((𝑋 FilMap (𝐹𝐺))‘𝐵) = ((𝑋 FilMap 𝐹)‘((𝑌 FilMap 𝐺)‘𝐵)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 396  w3a 1086   = wceq 1539  wcel 2106  wrex 3065  wss 3887  cima 5592  ccom 5593  wf 6429  cfv 6433  (class class class)co 7275  fBascfbas 20585  filGencfg 20586  Filcfil 22996   FilMap cfm 23084
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-rep 5209  ax-sep 5223  ax-nul 5230  ax-pow 5288  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-nel 3050  df-ral 3069  df-rex 3070  df-reu 3072  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-pw 4535  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4840  df-iun 4926  df-br 5075  df-opab 5137  df-mpt 5158  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-f 6437  df-f1 6438  df-fo 6439  df-f1o 6440  df-fv 6441  df-ov 7278  df-oprab 7279  df-mpo 7280  df-fbas 20594  df-fg 20595  df-fil 22997  df-fm 23089
This theorem is referenced by:  ufldom  23113  flfcnp  23155
  Copyright terms: Public domain W3C validator