| Mathbox for Thierry Arnoux |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > Mathboxes > cofmpt2 | Structured version Visualization version GIF version | ||
| Description: Express composition of a maps-to function with another function in a maps-to notation. (Contributed by Thierry Arnoux, 15-Jul-2023.) |
| Ref | Expression |
|---|---|
| cofmpt2.1 | ⊢ ((𝜑 ∧ 𝑦 = (𝐹‘𝑥)) → 𝐶 = 𝐷) |
| cofmpt2.2 | ⊢ ((𝜑 ∧ 𝑦 ∈ 𝐵) → 𝐶 ∈ 𝐸) |
| cofmpt2.3 | ⊢ (𝜑 → 𝐹:𝐴⟶𝐵) |
| cofmpt2.4 | ⊢ (𝜑 → 𝐷 ∈ 𝑉) |
| Ref | Expression |
|---|---|
| cofmpt2 | ⊢ (𝜑 → ((𝑦 ∈ 𝐵 ↦ 𝐶) ∘ 𝐹) = (𝑥 ∈ 𝐴 ↦ 𝐷)) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | cofmpt2.2 | . . . 4 ⊢ ((𝜑 ∧ 𝑦 ∈ 𝐵) → 𝐶 ∈ 𝐸) | |
| 2 | 1 | fmpttd 7090 | . . 3 ⊢ (𝜑 → (𝑦 ∈ 𝐵 ↦ 𝐶):𝐵⟶𝐸) |
| 3 | cofmpt2.3 | . . 3 ⊢ (𝜑 → 𝐹:𝐴⟶𝐵) | |
| 4 | fcompt 7109 | . . 3 ⊢ (((𝑦 ∈ 𝐵 ↦ 𝐶):𝐵⟶𝐸 ∧ 𝐹:𝐴⟶𝐵) → ((𝑦 ∈ 𝐵 ↦ 𝐶) ∘ 𝐹) = (𝑥 ∈ 𝐴 ↦ ((𝑦 ∈ 𝐵 ↦ 𝐶)‘(𝐹‘𝑥)))) | |
| 5 | 2, 3, 4 | syl2anc 593 | . 2 ⊢ (𝜑 → ((𝑦 ∈ 𝐵 ↦ 𝐶) ∘ 𝐹) = (𝑥 ∈ 𝐴 ↦ ((𝑦 ∈ 𝐵 ↦ 𝐶)‘(𝐹‘𝑥)))) |
| 6 | eqid 2761 | . . . 4 ⊢ (𝑦 ∈ 𝐵 ↦ 𝐶) = (𝑦 ∈ 𝐵 ↦ 𝐶) | |
| 7 | cofmpt2.1 | . . . . 5 ⊢ ((𝜑 ∧ 𝑦 = (𝐹‘𝑥)) → 𝐶 = 𝐷) | |
| 8 | 7 | adantlr 725 | . . . 4 ⊢ (((𝜑 ∧ 𝑥 ∈ 𝐴) ∧ 𝑦 = (𝐹‘𝑥)) → 𝐶 = 𝐷) |
| 9 | 3 | ffvelcdmda 7059 | . . . 4 ⊢ ((𝜑 ∧ 𝑥 ∈ 𝐴) → (𝐹‘𝑥) ∈ 𝐵) |
| 10 | cofmpt2.4 | . . . . 5 ⊢ (𝜑 → 𝐷 ∈ 𝑉) | |
| 11 | 10 | adantr 484 | . . . 4 ⊢ ((𝜑 ∧ 𝑥 ∈ 𝐴) → 𝐷 ∈ 𝑉) |
| 12 | 6, 8, 9, 11 | fvmptd2 6978 | . . 3 ⊢ ((𝜑 ∧ 𝑥 ∈ 𝐴) → ((𝑦 ∈ 𝐵 ↦ 𝐶)‘(𝐹‘𝑥)) = 𝐷) |
| 13 | 12 | mpteq2dva 5190 | . 2 ⊢ (𝜑 → (𝑥 ∈ 𝐴 ↦ ((𝑦 ∈ 𝐵 ↦ 𝐶)‘(𝐹‘𝑥))) = (𝑥 ∈ 𝐴 ↦ 𝐷)) |
| 14 | 5, 13 | eqtrd 2796 | 1 ⊢ (𝜑 → ((𝑦 ∈ 𝐵 ↦ 𝐶) ∘ 𝐹) = (𝑥 ∈ 𝐴 ↦ 𝐷)) |
| Colors of variables: wff setvar class |
| Syntax hints: → wi 4 ∧ wa 399 = wceq 1559 ∈ wcel 2141 ↦ cmpt 5178 ∘ ccom 5647 ⟶wf 6511 ‘cfv 6515 |
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1814 ax-4 1828 ax-5 1929 ax-6 1986 ax-7 2027 ax-8 2143 ax-9 2151 ax-10 2174 ax-11 2190 ax-12 2211 ax-ext 2733 ax-sep 5243 ax-nul 5253 ax-pr 5387 |
| This theorem depends on definitions: df-bi 209 df-an 400 df-or 859 df-3an 1099 df-tru 1562 df-fal 1572 df-ex 1799 df-nf 1803 df-sb 2090 df-mo 2565 df-eu 2595 df-clab 2740 df-cleq 2753 df-clel 2836 df-nfc 2910 df-ne 2957 df-ral 3076 df-rex 3086 df-rab 3414 df-v 3455 df-sbc 3743 df-csb 3851 df-dif 3905 df-un 3907 df-in 3909 df-ss 3919 df-nul 4284 df-if 4478 df-sn 4580 df-pr 4582 df-op 4586 df-uni 4863 df-br 5098 df-opab 5160 df-mpt 5179 df-id 5538 df-xp 5649 df-rel 5650 df-cnv 5651 df-co 5652 df-dm 5653 df-rn 5654 df-res 5655 df-ima 5656 df-iota 6471 df-fun 6517 df-fn 6518 df-f 6519 df-fv 6523 |
| This theorem is referenced by: (None) |
| Copyright terms: Public domain | W3C validator |