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

Theorem fmco 23122
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 23033 . . . . . . . . . . 11 (𝐵 ∈ (fBas‘𝑍) → 𝐵 ⊆ (𝑍filGen𝐵))
31, 2syl 17 . . . . . . . . . 10 (((𝑋𝑉𝑌𝑊𝐵 ∈ (fBas‘𝑍)) ∧ (𝐹:𝑌𝑋𝐺:𝑍𝑌)) → 𝐵 ⊆ (𝑍filGen𝐵))
43sseld 3919 . . . . . . . . 9 (((𝑋𝑉𝑌𝑊𝐵 ∈ (fBas‘𝑍)) ∧ (𝐹:𝑌𝑋𝐺:𝑍𝑌)) → (𝑢𝐵𝑢 ∈ (𝑍filGen𝐵)))
5 simpl2 1191 . . . . . . . . . 10 (((𝑋𝑉𝑌𝑊𝐵 ∈ (fBas‘𝑍)) ∧ (𝐹:𝑌𝑋𝐺:𝑍𝑌)) → 𝑌𝑊)
6 simprr 770 . . . . . . . . . 10 (((𝑋𝑉𝑌𝑊𝐵 ∈ (fBas‘𝑍)) ∧ (𝐹:𝑌𝑋𝐺:𝑍𝑌)) → 𝐺:𝑍𝑌)
7 eqid 2738 . . . . . . . . . . . 12 (𝑍filGen𝐵) = (𝑍filGen𝐵)
87imaelfm 23112 . . . . . . . . . . 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 5958 . . . . . . . . . . 11 (𝑡 = (𝐺𝑢) → (𝐹𝑡) = (𝐹 “ (𝐺𝑢)))
14 imaco 6148 . . . . . . . . . . 11 ((𝐹𝐺) “ 𝑢) = (𝐹 “ (𝐺𝑢))
1513, 14eqtr4di 2796 . . . . . . . . . 10 (𝑡 = (𝐺𝑢) → (𝐹𝑡) = ((𝐹𝐺) “ 𝑢))
1615sseq1d 3951 . . . . . . . . 9 (𝑡 = (𝐺𝑢) → ((𝐹𝑡) ⊆ 𝑠 ↔ ((𝐹𝐺) “ 𝑢) ⊆ 𝑠))
1716rspcev 3559 . . . . . . . 8 (((𝐺𝑢) ∈ ((𝑌 FilMap 𝐺)‘𝐵) ∧ ((𝐹𝐺) “ 𝑢) ⊆ 𝑠) → ∃𝑡 ∈ ((𝑌 FilMap 𝐺)‘𝐵)(𝐹𝑡) ⊆ 𝑠)
1817ex 413 . . . . . . 7 ((𝐺𝑢) ∈ ((𝑌 FilMap 𝐺)‘𝐵) → (((𝐹𝐺) “ 𝑢) ⊆ 𝑠 → ∃𝑡 ∈ ((𝑌 FilMap 𝐺)‘𝐵)(𝐹𝑡) ⊆ 𝑠))
1912, 18syl 17 . . . . . 6 ((((𝑋𝑉𝑌𝑊𝐵 ∈ (fBas‘𝑍)) ∧ (𝐹:𝑌𝑋𝐺:𝑍𝑌)) ∧ 𝑢𝐵) → (((𝐹𝐺) “ 𝑢) ⊆ 𝑠 → ∃𝑡 ∈ ((𝑌 FilMap 𝐺)‘𝐵)(𝐹𝑡) ⊆ 𝑠))
2019rexlimdva 3211 . . . . 5 (((𝑋𝑉𝑌𝑊𝐵 ∈ (fBas‘𝑍)) ∧ (𝐹:𝑌𝑋𝐺:𝑍𝑌)) → (∃𝑢𝐵 ((𝐹𝐺) “ 𝑢) ⊆ 𝑠 → ∃𝑡 ∈ ((𝑌 FilMap 𝐺)‘𝐵)(𝐹𝑡) ⊆ 𝑠))
21 elfm 23108 . . . . . . . 8 ((𝑌𝑊𝐵 ∈ (fBas‘𝑍) ∧ 𝐺:𝑍𝑌) → (𝑡 ∈ ((𝑌 FilMap 𝐺)‘𝐵) ↔ (𝑡𝑌 ∧ ∃𝑢𝐵 (𝐺𝑢) ⊆ 𝑡)))
225, 1, 6, 21syl3anc 1370 . . . . . . 7 (((𝑋𝑉𝑌𝑊𝐵 ∈ (fBas‘𝑍)) ∧ (𝐹:𝑌𝑋𝐺:𝑍𝑌)) → (𝑡 ∈ ((𝑌 FilMap 𝐺)‘𝐵) ↔ (𝑡𝑌 ∧ ∃𝑢𝐵 (𝐺𝑢) ⊆ 𝑡)))
23 sstr2 3927 . . . . . . . . . . 11 (((𝐹𝐺) “ 𝑢) ⊆ (𝐹𝑡) → ((𝐹𝑡) ⊆ 𝑠 → ((𝐹𝐺) “ 𝑢) ⊆ 𝑠))
24 imass2 6003 . . . . . . . . . . . 12 ((𝐺𝑢) ⊆ 𝑡 → (𝐹 “ (𝐺𝑢)) ⊆ (𝐹𝑡))
2514, 24eqsstrid 3968 . . . . . . . . . . 11 ((𝐺𝑢) ⊆ 𝑡 → ((𝐹𝐺) “ 𝑢) ⊆ (𝐹𝑡))
2623, 25syl11 33 . . . . . . . . . 10 ((𝐹𝑡) ⊆ 𝑠 → ((𝐺𝑢) ⊆ 𝑡 → ((𝐹𝐺) “ 𝑢) ⊆ 𝑠))
2726reximdv 3200 . . . . . . . . 9 ((𝐹𝑡) ⊆ 𝑠 → (∃𝑢𝐵 (𝐺𝑢) ⊆ 𝑡 → ∃𝑢𝐵 ((𝐹𝐺) “ 𝑢) ⊆ 𝑠))
2827com12 32 . . . . . . . 8 (∃𝑢𝐵 (𝐺𝑢) ⊆ 𝑡 → ((𝐹𝑡) ⊆ 𝑠 → ∃𝑢𝐵 ((𝐹𝐺) “ 𝑢) ⊆ 𝑠))
2928adantl 482 . . . . . . 7 ((𝑡𝑌 ∧ ∃𝑢𝐵 (𝐺𝑢) ⊆ 𝑡) → ((𝐹𝑡) ⊆ 𝑠 → ∃𝑢𝐵 ((𝐹𝐺) “ 𝑢) ⊆ 𝑠))
3022, 29syl6bi 252 . . . . . 6 (((𝑋𝑉𝑌𝑊𝐵 ∈ (fBas‘𝑍)) ∧ (𝐹:𝑌𝑋𝐺:𝑍𝑌)) → (𝑡 ∈ ((𝑌 FilMap 𝐺)‘𝐵) → ((𝐹𝑡) ⊆ 𝑠 → ∃𝑢𝐵 ((𝐹𝐺) “ 𝑢) ⊆ 𝑠)))
3130rexlimdv 3210 . . . . 5 (((𝑋𝑉𝑌𝑊𝐵 ∈ (fBas‘𝑍)) ∧ (𝐹:𝑌𝑋𝐺:𝑍𝑌)) → (∃𝑡 ∈ ((𝑌 FilMap 𝐺)‘𝐵)(𝐹𝑡) ⊆ 𝑠 → ∃𝑢𝐵 ((𝐹𝐺) “ 𝑢) ⊆ 𝑠))
3220, 31impbid 211 . . . 4 (((𝑋𝑉𝑌𝑊𝐵 ∈ (fBas‘𝑍)) ∧ (𝐹:𝑌𝑋𝐺:𝑍𝑌)) → (∃𝑢𝐵 ((𝐹𝐺) “ 𝑢) ⊆ 𝑠 ↔ ∃𝑡 ∈ ((𝑌 FilMap 𝐺)‘𝐵)(𝐹𝑡) ⊆ 𝑠))
3332anbi2d 629 . . 3 (((𝑋𝑉𝑌𝑊𝐵 ∈ (fBas‘𝑍)) ∧ (𝐹:𝑌𝑋𝐺:𝑍𝑌)) → ((𝑠𝑋 ∧ ∃𝑢𝐵 ((𝐹𝐺) “ 𝑢) ⊆ 𝑠) ↔ (𝑠𝑋 ∧ ∃𝑡 ∈ ((𝑌 FilMap 𝐺)‘𝐵)(𝐹𝑡) ⊆ 𝑠)))
34 simpl1 1190 . . . 4 (((𝑋𝑉𝑌𝑊𝐵 ∈ (fBas‘𝑍)) ∧ (𝐹:𝑌𝑋𝐺:𝑍𝑌)) → 𝑋𝑉)
35 fco 6616 . . . . 5 ((𝐹:𝑌𝑋𝐺:𝑍𝑌) → (𝐹𝐺):𝑍𝑋)
3635adantl 482 . . . 4 (((𝑋𝑉𝑌𝑊𝐵 ∈ (fBas‘𝑍)) ∧ (𝐹:𝑌𝑋𝐺:𝑍𝑌)) → (𝐹𝐺):𝑍𝑋)
37 elfm 23108 . . . 4 ((𝑋𝑉𝐵 ∈ (fBas‘𝑍) ∧ (𝐹𝐺):𝑍𝑋) → (𝑠 ∈ ((𝑋 FilMap (𝐹𝐺))‘𝐵) ↔ (𝑠𝑋 ∧ ∃𝑢𝐵 ((𝐹𝐺) “ 𝑢) ⊆ 𝑠)))
3834, 1, 36, 37syl3anc 1370 . . 3 (((𝑋𝑉𝑌𝑊𝐵 ∈ (fBas‘𝑍)) ∧ (𝐹:𝑌𝑋𝐺:𝑍𝑌)) → (𝑠 ∈ ((𝑋 FilMap (𝐹𝐺))‘𝐵) ↔ (𝑠𝑋 ∧ ∃𝑢𝐵 ((𝐹𝐺) “ 𝑢) ⊆ 𝑠)))
39 fmfil 23105 . . . . . 6 ((𝑌𝑊𝐵 ∈ (fBas‘𝑍) ∧ 𝐺:𝑍𝑌) → ((𝑌 FilMap 𝐺)‘𝐵) ∈ (Fil‘𝑌))
405, 1, 6, 39syl3anc 1370 . . . . 5 (((𝑋𝑉𝑌𝑊𝐵 ∈ (fBas‘𝑍)) ∧ (𝐹:𝑌𝑋𝐺:𝑍𝑌)) → ((𝑌 FilMap 𝐺)‘𝐵) ∈ (Fil‘𝑌))
41 filfbas 23009 . . . . 5 (((𝑌 FilMap 𝐺)‘𝐵) ∈ (Fil‘𝑌) → ((𝑌 FilMap 𝐺)‘𝐵) ∈ (fBas‘𝑌))
4240, 41syl 17 . . . 4 (((𝑋𝑉𝑌𝑊𝐵 ∈ (fBas‘𝑍)) ∧ (𝐹:𝑌𝑋𝐺:𝑍𝑌)) → ((𝑌 FilMap 𝐺)‘𝐵) ∈ (fBas‘𝑌))
43 simprl 768 . . . 4 (((𝑋𝑉𝑌𝑊𝐵 ∈ (fBas‘𝑍)) ∧ (𝐹:𝑌𝑋𝐺:𝑍𝑌)) → 𝐹:𝑌𝑋)
44 elfm 23108 . . . 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 3886  cima 5587  ccom 5588  wf 6422  cfv 6426  (class class class)co 7267  fBascfbas 20595  filGencfg 20596  Filcfil 23006   FilMap cfm 23094
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 5208  ax-sep 5221  ax-nul 5228  ax-pow 5286  ax-pr 5350
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 3071  df-rab 3073  df-v 3431  df-sbc 3716  df-csb 3832  df-dif 3889  df-un 3891  df-in 3893  df-ss 3903  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 5074  df-opab 5136  df-mpt 5157  df-id 5484  df-xp 5590  df-rel 5591  df-cnv 5592  df-co 5593  df-dm 5594  df-rn 5595  df-res 5596  df-ima 5597  df-iota 6384  df-fun 6428  df-fn 6429  df-f 6430  df-f1 6431  df-fo 6432  df-f1o 6433  df-fv 6434  df-ov 7270  df-oprab 7271  df-mpo 7272  df-fbas 20604  df-fg 20605  df-fil 23007  df-fm 23099
This theorem is referenced by:  ufldom  23123  flfcnp  23165
  Copyright terms: Public domain W3C validator