Users' Mathboxes Mathbox for Thierry Arnoux < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  ofresid Structured version   Visualization version   GIF version

Theorem ofresid 29572
Description: Applying an operation restricted to the range of the functions does not change the function operation. (Contributed by Thierry Arnoux, 14-Feb-2018.)
Hypotheses
Ref Expression
ofresid.1 (𝜑𝐹:𝐴𝐵)
ofresid.2 (𝜑𝐺:𝐴𝐵)
ofresid.3 (𝜑𝐴𝑉)
Assertion
Ref Expression
ofresid (𝜑 → (𝐹𝑓 𝑅𝐺) = (𝐹𝑓 (𝑅 ↾ (𝐵 × 𝐵))𝐺))

Proof of Theorem ofresid
Dummy variable 𝑥 is distinct from all other variables.
StepHypRef Expression
1 ofresid.1 . . . . . . . 8 (𝜑𝐹:𝐴𝐵)
21ffvelrnda 6399 . . . . . . 7 ((𝜑𝑥𝐴) → (𝐹𝑥) ∈ 𝐵)
3 ofresid.2 . . . . . . . 8 (𝜑𝐺:𝐴𝐵)
43ffvelrnda 6399 . . . . . . 7 ((𝜑𝑥𝐴) → (𝐺𝑥) ∈ 𝐵)
5 opelxp 5180 . . . . . . 7 (⟨(𝐹𝑥), (𝐺𝑥)⟩ ∈ (𝐵 × 𝐵) ↔ ((𝐹𝑥) ∈ 𝐵 ∧ (𝐺𝑥) ∈ 𝐵))
62, 4, 5sylanbrc 699 . . . . . 6 ((𝜑𝑥𝐴) → ⟨(𝐹𝑥), (𝐺𝑥)⟩ ∈ (𝐵 × 𝐵))
7 fvres 6245 . . . . . 6 (⟨(𝐹𝑥), (𝐺𝑥)⟩ ∈ (𝐵 × 𝐵) → ((𝑅 ↾ (𝐵 × 𝐵))‘⟨(𝐹𝑥), (𝐺𝑥)⟩) = (𝑅‘⟨(𝐹𝑥), (𝐺𝑥)⟩))
86, 7syl 17 . . . . 5 ((𝜑𝑥𝐴) → ((𝑅 ↾ (𝐵 × 𝐵))‘⟨(𝐹𝑥), (𝐺𝑥)⟩) = (𝑅‘⟨(𝐹𝑥), (𝐺𝑥)⟩))
98eqcomd 2657 . . . 4 ((𝜑𝑥𝐴) → (𝑅‘⟨(𝐹𝑥), (𝐺𝑥)⟩) = ((𝑅 ↾ (𝐵 × 𝐵))‘⟨(𝐹𝑥), (𝐺𝑥)⟩))
10 df-ov 6693 . . . 4 ((𝐹𝑥)𝑅(𝐺𝑥)) = (𝑅‘⟨(𝐹𝑥), (𝐺𝑥)⟩)
11 df-ov 6693 . . . 4 ((𝐹𝑥)(𝑅 ↾ (𝐵 × 𝐵))(𝐺𝑥)) = ((𝑅 ↾ (𝐵 × 𝐵))‘⟨(𝐹𝑥), (𝐺𝑥)⟩)
129, 10, 113eqtr4g 2710 . . 3 ((𝜑𝑥𝐴) → ((𝐹𝑥)𝑅(𝐺𝑥)) = ((𝐹𝑥)(𝑅 ↾ (𝐵 × 𝐵))(𝐺𝑥)))
1312mpteq2dva 4777 . 2 (𝜑 → (𝑥𝐴 ↦ ((𝐹𝑥)𝑅(𝐺𝑥))) = (𝑥𝐴 ↦ ((𝐹𝑥)(𝑅 ↾ (𝐵 × 𝐵))(𝐺𝑥))))
14 ffn 6083 . . . 4 (𝐹:𝐴𝐵𝐹 Fn 𝐴)
151, 14syl 17 . . 3 (𝜑𝐹 Fn 𝐴)
16 ffn 6083 . . . 4 (𝐺:𝐴𝐵𝐺 Fn 𝐴)
173, 16syl 17 . . 3 (𝜑𝐺 Fn 𝐴)
18 ofresid.3 . . 3 (𝜑𝐴𝑉)
19 inidm 3855 . . 3 (𝐴𝐴) = 𝐴
20 eqidd 2652 . . 3 ((𝜑𝑥𝐴) → (𝐹𝑥) = (𝐹𝑥))
21 eqidd 2652 . . 3 ((𝜑𝑥𝐴) → (𝐺𝑥) = (𝐺𝑥))
2215, 17, 18, 18, 19, 20, 21offval 6946 . 2 (𝜑 → (𝐹𝑓 𝑅𝐺) = (𝑥𝐴 ↦ ((𝐹𝑥)𝑅(𝐺𝑥))))
2315, 17, 18, 18, 19, 20, 21offval 6946 . 2 (𝜑 → (𝐹𝑓 (𝑅 ↾ (𝐵 × 𝐵))𝐺) = (𝑥𝐴 ↦ ((𝐹𝑥)(𝑅 ↾ (𝐵 × 𝐵))(𝐺𝑥))))
2413, 22, 233eqtr4d 2695 1 (𝜑 → (𝐹𝑓 𝑅𝐺) = (𝐹𝑓 (𝑅 ↾ (𝐵 × 𝐵))𝐺))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 383   = wceq 1523  wcel 2030  cop 4216  cmpt 4762   × cxp 5141  cres 5145   Fn wfn 5921  wf 5922  cfv 5926  (class class class)co 6690  𝑓 cof 6937
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1762  ax-4 1777  ax-5 1879  ax-6 1945  ax-7 1981  ax-9 2039  ax-10 2059  ax-11 2074  ax-12 2087  ax-13 2282  ax-ext 2631  ax-rep 4804  ax-sep 4814  ax-nul 4822  ax-pr 4936
This theorem depends on definitions:  df-bi 197  df-or 384  df-an 385  df-3an 1056  df-tru 1526  df-ex 1745  df-nf 1750  df-sb 1938  df-eu 2502  df-mo 2503  df-clab 2638  df-cleq 2644  df-clel 2647  df-nfc 2782  df-ne 2824  df-ral 2946  df-rex 2947  df-reu 2948  df-rab 2950  df-v 3233  df-sbc 3469  df-csb 3567  df-dif 3610  df-un 3612  df-in 3614  df-ss 3621  df-nul 3949  df-if 4120  df-sn 4211  df-pr 4213  df-op 4217  df-uni 4469  df-iun 4554  df-br 4686  df-opab 4746  df-mpt 4763  df-id 5053  df-xp 5149  df-rel 5150  df-cnv 5151  df-co 5152  df-dm 5153  df-rn 5154  df-res 5155  df-ima 5156  df-iota 5889  df-fun 5928  df-fn 5929  df-f 5930  df-f1 5931  df-fo 5932  df-f1o 5933  df-fv 5934  df-ov 6693  df-oprab 6694  df-mpt2 6695  df-of 6939
This theorem is referenced by:  sitmcl  30541
  Copyright terms: Public domain W3C validator