| Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > fcompt | Structured version Visualization version GIF version | ||
| Description: Express composition of two functions as a maps-to applying both in sequence. (Contributed by Stefan O'Rear, 5-Oct-2014.) (Proof shortened by Mario Carneiro, 27-Dec-2014.) |
| Ref | Expression |
|---|---|
| fcompt | ⊢ ((𝐴:𝐷⟶𝐸 ∧ 𝐵:𝐶⟶𝐷) → (𝐴 ∘ 𝐵) = (𝑥 ∈ 𝐶 ↦ (𝐴‘(𝐵‘𝑥)))) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | ffvelcdm 7117 | . . 3 ⊢ ((𝐵:𝐶⟶𝐷 ∧ 𝑥 ∈ 𝐶) → (𝐵‘𝑥) ∈ 𝐷) | |
| 2 | 1 | adantll 727 | . 2 ⊢ (((𝐴:𝐷⟶𝐸 ∧ 𝐵:𝐶⟶𝐷) ∧ 𝑥 ∈ 𝐶) → (𝐵‘𝑥) ∈ 𝐷) |
| 3 | ffn 6743 | . . . 4 ⊢ (𝐵:𝐶⟶𝐷 → 𝐵 Fn 𝐶) | |
| 4 | 3 | adantl 487 | . . 3 ⊢ ((𝐴:𝐷⟶𝐸 ∧ 𝐵:𝐶⟶𝐷) → 𝐵 Fn 𝐶) |
| 5 | dffn5 6978 | . . 3 ⊢ (𝐵 Fn 𝐶 ↔ 𝐵 = (𝑥 ∈ 𝐶 ↦ (𝐵‘𝑥))) | |
| 6 | 4, 5 | sylib 221 | . 2 ⊢ ((𝐴:𝐷⟶𝐸 ∧ 𝐵:𝐶⟶𝐷) → 𝐵 = (𝑥 ∈ 𝐶 ↦ (𝐵‘𝑥))) |
| 7 | ffn 6743 | . . . 4 ⊢ (𝐴:𝐷⟶𝐸 → 𝐴 Fn 𝐷) | |
| 8 | 7 | adantr 486 | . . 3 ⊢ ((𝐴:𝐷⟶𝐸 ∧ 𝐵:𝐶⟶𝐷) → 𝐴 Fn 𝐷) |
| 9 | dffn5 6978 | . . 3 ⊢ (𝐴 Fn 𝐷 ↔ 𝐴 = (𝑦 ∈ 𝐷 ↦ (𝐴‘𝑦))) | |
| 10 | 8, 9 | sylib 221 | . 2 ⊢ ((𝐴:𝐷⟶𝐸 ∧ 𝐵:𝐶⟶𝐷) → 𝐴 = (𝑦 ∈ 𝐷 ↦ (𝐴‘𝑦))) |
| 11 | fveq2 6920 | . 2 ⊢ (𝑦 = (𝐵‘𝑥) → (𝐴‘𝑦) = (𝐴‘(𝐵‘𝑥))) | |
| 12 | 2, 6, 10, 11 | fmptco 7166 | 1 ⊢ ((𝐴:𝐷⟶𝐸 ∧ 𝐵:𝐶⟶𝐷) → (𝐴 ∘ 𝐵) = (𝑥 ∈ 𝐶 ↦ (𝐴‘(𝐵‘𝑥)))) |
| Colors of variables: wff setvar class |
| This proof depends on syntax axioms: → wi 4 ∧ wa 401 = wceq 1572 ∈ wcel 2151 ↦ cmpt 5195 ∘ ccom 5665 Fn wfn 6565 ⟶wf 6566 ‘cfv 6570 |
| This proof depends on axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1830 ax-4 1844 ax-5 1947 ax-6 2004 ax-7 2045 ax-8 2153 ax-9 2161 ax-10 2184 ax-11 2201 ax-12 2220 ax-ext 2741 ax-sep 5258 ax-nul 5269 ax-pr 5401 |
| This proof depends on definitions: df-bi 210 df-an 402 df-or 862 df-3an 1106 df-tru 1575 df-fal 1585 df-ex 1815 df-nf 1819 df-sb 2105 df-mo 2571 df-eu 2601 df-clab 2748 df-cleq 2761 df-clel 2845 df-nfc 2919 df-ne 2966 df-ral 3087 df-rex 3097 df-rab 3419 df-v 3458 df-sbc 3745 df-csb 3854 df-ss 3903 df-dif 4052 df-in 4096 df-un 4156 df-nul 4284 df-if 4488 df-sn 4591 df-pr 4593 df-op 4844 df-uni 4876 df-br 5112 df-opab 5177 df-mpt 5196 df-id 5556 df-xp 5667 df-rel 5668 df-cnv 5669 df-co 5670 df-dm 5671 df-rn 5672 df-res 5673 df-ima 5674 df-iota 6524 df-fun 6572 df-fn 6573 df-f 6574 df-fv 6578 |
| This theorem is used by: 2fvcoidd 7340 revco 15031 repsco 15037 caucvgrlem2 15890 fucidcl 18204 fucsect 18211 dfinito3 18241 dftermo3 18242 prf1st 18439 prf2nd 18440 curfcl 18467 yonedalem4c 18512 yonedalem3b 18514 yonedainv 18516 mhmvlin 19057 frmdup3 19124 smndex1gid 19161 smndex1gidOLD 19162 efginvrel1 20004 frgpup3lem 20053 frgpup3 20054 dprdfinv 20297 grpvlinv 22785 grpvrinv 22786 chcoeffeqlem 23275 prdstps 24020 imasdsf1olem 24764 gamcvg2lem 27456 cofmpt2 33339 meascnbl 34974 elmrsubrn 36512 mzprename 44042 mendassa 44469 fcomptss 46567 mulc1cncfg 46951 expcnfg 46953 cncficcgt0 47248 fprodsubrecnncnvlem 47267 fprodaddrecnncnvlem 47269 dvsinax 47273 dirkercncflem2 47464 fourierdlem18 47485 fourierdlem53 47519 fourierdlem93 47559 fourierdlem101 47567 fourierdlem111 47577 sge0resrnlem 47763 omeiunle 47877 ovolval3 48007 fucorid2 50923 precofval2 50942 amgmwlem 51522 |
| Copyright terms: Public domain | W3C validator |