| Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > ofmres | Structured version Visualization version GIF version | ||
| Description: Equivalent expressions for a restriction of the function operation map. Unlike ∘f 𝑅 which is a proper class, ( ∘f 𝑅 ↾ (𝐴 × 𝐵)) can be a set by ofmresex 7966, allowing it to be used as a function or structure argument. By ofmresval 7671, the restricted operation map values are the same as the original values, allowing theorems for ∘f 𝑅 to be reused. (Contributed by NM, 20-Oct-2014.) |
| Ref | Expression |
|---|---|
| ofmres | ⊢ ( ∘f 𝑅 ↾ (𝐴 × 𝐵)) = (𝑓 ∈ 𝐴, 𝑔 ∈ 𝐵 ↦ (𝑓 ∘f 𝑅𝑔)) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | ssv 3973 | . . 3 ⊢ 𝐴 ⊆ V | |
| 2 | ssv 3973 | . . 3 ⊢ 𝐵 ⊆ V | |
| 3 | resmpo 7511 | . . 3 ⊢ ((𝐴 ⊆ V ∧ 𝐵 ⊆ V) → ((𝑓 ∈ V, 𝑔 ∈ V ↦ (𝑥 ∈ (dom 𝑓 ∩ dom 𝑔) ↦ ((𝑓‘𝑥)𝑅(𝑔‘𝑥)))) ↾ (𝐴 × 𝐵)) = (𝑓 ∈ 𝐴, 𝑔 ∈ 𝐵 ↦ (𝑥 ∈ (dom 𝑓 ∩ dom 𝑔) ↦ ((𝑓‘𝑥)𝑅(𝑔‘𝑥))))) | |
| 4 | 1, 2, 3 | mp2an 692 | . 2 ⊢ ((𝑓 ∈ V, 𝑔 ∈ V ↦ (𝑥 ∈ (dom 𝑓 ∩ dom 𝑔) ↦ ((𝑓‘𝑥)𝑅(𝑔‘𝑥)))) ↾ (𝐴 × 𝐵)) = (𝑓 ∈ 𝐴, 𝑔 ∈ 𝐵 ↦ (𝑥 ∈ (dom 𝑓 ∩ dom 𝑔) ↦ ((𝑓‘𝑥)𝑅(𝑔‘𝑥)))) |
| 5 | df-of 7655 | . . 3 ⊢ ∘f 𝑅 = (𝑓 ∈ V, 𝑔 ∈ V ↦ (𝑥 ∈ (dom 𝑓 ∩ dom 𝑔) ↦ ((𝑓‘𝑥)𝑅(𝑔‘𝑥)))) | |
| 6 | 5 | reseq1i 5948 | . 2 ⊢ ( ∘f 𝑅 ↾ (𝐴 × 𝐵)) = ((𝑓 ∈ V, 𝑔 ∈ V ↦ (𝑥 ∈ (dom 𝑓 ∩ dom 𝑔) ↦ ((𝑓‘𝑥)𝑅(𝑔‘𝑥)))) ↾ (𝐴 × 𝐵)) |
| 7 | eqid 2730 | . . 3 ⊢ 𝐴 = 𝐴 | |
| 8 | eqid 2730 | . . 3 ⊢ 𝐵 = 𝐵 | |
| 9 | vex 3454 | . . . 4 ⊢ 𝑓 ∈ V | |
| 10 | vex 3454 | . . . 4 ⊢ 𝑔 ∈ V | |
| 11 | 9 | dmex 7887 | . . . . . 6 ⊢ dom 𝑓 ∈ V |
| 12 | 11 | inex1 5274 | . . . . 5 ⊢ (dom 𝑓 ∩ dom 𝑔) ∈ V |
| 13 | 12 | mptex 7199 | . . . 4 ⊢ (𝑥 ∈ (dom 𝑓 ∩ dom 𝑔) ↦ ((𝑓‘𝑥)𝑅(𝑔‘𝑥))) ∈ V |
| 14 | 5 | ovmpt4g 7538 | . . . 4 ⊢ ((𝑓 ∈ V ∧ 𝑔 ∈ V ∧ (𝑥 ∈ (dom 𝑓 ∩ dom 𝑔) ↦ ((𝑓‘𝑥)𝑅(𝑔‘𝑥))) ∈ V) → (𝑓 ∘f 𝑅𝑔) = (𝑥 ∈ (dom 𝑓 ∩ dom 𝑔) ↦ ((𝑓‘𝑥)𝑅(𝑔‘𝑥)))) |
| 15 | 9, 10, 13, 14 | mp3an 1463 | . . 3 ⊢ (𝑓 ∘f 𝑅𝑔) = (𝑥 ∈ (dom 𝑓 ∩ dom 𝑔) ↦ ((𝑓‘𝑥)𝑅(𝑔‘𝑥))) |
| 16 | 7, 8, 15 | mpoeq123i 7467 | . 2 ⊢ (𝑓 ∈ 𝐴, 𝑔 ∈ 𝐵 ↦ (𝑓 ∘f 𝑅𝑔)) = (𝑓 ∈ 𝐴, 𝑔 ∈ 𝐵 ↦ (𝑥 ∈ (dom 𝑓 ∩ dom 𝑔) ↦ ((𝑓‘𝑥)𝑅(𝑔‘𝑥)))) |
| 17 | 4, 6, 16 | 3eqtr4i 2763 | 1 ⊢ ( ∘f 𝑅 ↾ (𝐴 × 𝐵)) = (𝑓 ∈ 𝐴, 𝑔 ∈ 𝐵 ↦ (𝑓 ∘f 𝑅𝑔)) |
| Colors of variables: wff setvar class |
| Syntax hints: = wceq 1540 ∈ wcel 2109 Vcvv 3450 ∩ cin 3915 ⊆ wss 3916 ↦ cmpt 5190 × cxp 5638 dom cdm 5640 ↾ cres 5642 ‘cfv 6513 (class class class)co 7389 ∈ cmpo 7391 ∘f cof 7653 |
| 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-rep 5236 ax-sep 5253 ax-nul 5263 ax-pr 5389 ax-un 7713 |
| 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-reu 3357 df-rab 3409 df-v 3452 df-sbc 3756 df-csb 3865 df-dif 3919 df-un 3921 df-in 3923 df-ss 3933 df-nul 4299 df-if 4491 df-sn 4592 df-pr 4594 df-op 4598 df-uni 4874 df-iun 4959 df-br 5110 df-opab 5172 df-mpt 5191 df-id 5535 df-xp 5646 df-rel 5647 df-cnv 5648 df-co 5649 df-dm 5650 df-rn 5651 df-res 5652 df-ima 5653 df-iota 6466 df-fun 6515 df-fn 6516 df-f 6517 df-f1 6518 df-fo 6519 df-f1o 6520 df-fv 6521 df-ov 7392 df-oprab 7393 df-mpo 7394 df-of 7655 |
| This theorem is referenced by: mplsubrglem 21919 psrplusgpropd 22126 ofoafg 43336 naddcnff 43344 |
| Copyright terms: Public domain | W3C validator |