| 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 7108 | . . 3 ⊢ (((𝑦 ∈ 𝐵 ↦ 𝐶):𝐵⟶𝐸 ∧ 𝐹:𝐴⟶𝐵) → ((𝑦 ∈ 𝐵 ↦ 𝐶) ∘ 𝐹) = (𝑥 ∈ 𝐴 ↦ ((𝑦 ∈ 𝐵 ↦ 𝐶)‘(𝐹‘𝑥)))) | |
| 5 | 2, 3, 4 | syl2anc 584 | . 2 ⊢ (𝜑 → ((𝑦 ∈ 𝐵 ↦ 𝐶) ∘ 𝐹) = (𝑥 ∈ 𝐴 ↦ ((𝑦 ∈ 𝐵 ↦ 𝐶)‘(𝐹‘𝑥)))) |
| 6 | eqid 2730 | . . . 4 ⊢ (𝑦 ∈ 𝐵 ↦ 𝐶) = (𝑦 ∈ 𝐵 ↦ 𝐶) | |
| 7 | cofmpt2.1 | . . . . 5 ⊢ ((𝜑 ∧ 𝑦 = (𝐹‘𝑥)) → 𝐶 = 𝐷) | |
| 8 | 7 | adantlr 715 | . . . 4 ⊢ (((𝜑 ∧ 𝑥 ∈ 𝐴) ∧ 𝑦 = (𝐹‘𝑥)) → 𝐶 = 𝐷) |
| 9 | 3 | ffvelcdmda 7059 | . . . 4 ⊢ ((𝜑 ∧ 𝑥 ∈ 𝐴) → (𝐹‘𝑥) ∈ 𝐵) |
| 10 | cofmpt2.4 | . . . . 5 ⊢ (𝜑 → 𝐷 ∈ 𝑉) | |
| 11 | 10 | adantr 480 | . . . 4 ⊢ ((𝜑 ∧ 𝑥 ∈ 𝐴) → 𝐷 ∈ 𝑉) |
| 12 | 6, 8, 9, 11 | fvmptd2 6979 | . . 3 ⊢ ((𝜑 ∧ 𝑥 ∈ 𝐴) → ((𝑦 ∈ 𝐵 ↦ 𝐶)‘(𝐹‘𝑥)) = 𝐷) |
| 13 | 12 | mpteq2dva 5203 | . 2 ⊢ (𝜑 → (𝑥 ∈ 𝐴 ↦ ((𝑦 ∈ 𝐵 ↦ 𝐶)‘(𝐹‘𝑥))) = (𝑥 ∈ 𝐴 ↦ 𝐷)) |
| 14 | 5, 13 | eqtrd 2765 | 1 ⊢ (𝜑 → ((𝑦 ∈ 𝐵 ↦ 𝐶) ∘ 𝐹) = (𝑥 ∈ 𝐴 ↦ 𝐷)) |
| Colors of variables: wff setvar class |
| Syntax hints: → wi 4 ∧ wa 395 = wceq 1540 ∈ wcel 2109 ↦ cmpt 5191 ∘ ccom 5645 ⟶wf 6510 ‘cfv 6514 |
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1795 ax-4 1809 ax-5 1910 ax-6 1967 ax-7 2008 ax-8 2111 ax-9 2119 ax-10 2142 ax-11 2158 ax-12 2178 ax-ext 2702 ax-sep 5254 ax-nul 5264 ax-pr 5390 |
| This theorem depends on definitions: df-bi 207 df-an 396 df-or 848 df-3an 1088 df-tru 1543 df-fal 1553 df-ex 1780 df-nf 1784 df-sb 2066 df-mo 2534 df-eu 2563 df-clab 2709 df-cleq 2722 df-clel 2804 df-nfc 2879 df-ne 2927 df-ral 3046 df-rex 3055 df-rab 3409 df-v 3452 df-sbc 3757 df-csb 3866 df-dif 3920 df-un 3922 df-in 3924 df-ss 3934 df-nul 4300 df-if 4492 df-sn 4593 df-pr 4595 df-op 4599 df-uni 4875 df-br 5111 df-opab 5173 df-mpt 5192 df-id 5536 df-xp 5647 df-rel 5648 df-cnv 5649 df-co 5650 df-dm 5651 df-rn 5652 df-res 5653 df-ima 5654 df-iota 6467 df-fun 6516 df-fn 6517 df-f 6518 df-fv 6522 |
| This theorem is referenced by: (None) |
| Copyright terms: Public domain | W3C validator |