ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  ofeq GIF version

Theorem ofeq 5714
Description: Equality theorem for function operation. (Contributed by Mario Carneiro, 20-Jul-2014.)
Assertion
Ref Expression
ofeq (𝑅 = 𝑆 → ∘𝑓 𝑅 = ∘𝑓 𝑆)

Proof of Theorem ofeq
Dummy variables 𝑓 𝑔 𝑥 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 simp1 904 . . . . 5 ((𝑅 = 𝑆𝑓 ∈ V ∧ 𝑔 ∈ V) → 𝑅 = 𝑆)
21oveqd 5529 . . . 4 ((𝑅 = 𝑆𝑓 ∈ V ∧ 𝑔 ∈ V) → ((𝑓𝑥)𝑅(𝑔𝑥)) = ((𝑓𝑥)𝑆(𝑔𝑥)))
32mpteq2dv 3848 . . 3 ((𝑅 = 𝑆𝑓 ∈ V ∧ 𝑔 ∈ V) → (𝑥 ∈ (dom 𝑓 ∩ dom 𝑔) ↦ ((𝑓𝑥)𝑅(𝑔𝑥))) = (𝑥 ∈ (dom 𝑓 ∩ dom 𝑔) ↦ ((𝑓𝑥)𝑆(𝑔𝑥))))
43mpt2eq3dva 5569 . 2 (𝑅 = 𝑆 → (𝑓 ∈ V, 𝑔 ∈ V ↦ (𝑥 ∈ (dom 𝑓 ∩ dom 𝑔) ↦ ((𝑓𝑥)𝑅(𝑔𝑥)))) = (𝑓 ∈ V, 𝑔 ∈ V ↦ (𝑥 ∈ (dom 𝑓 ∩ dom 𝑔) ↦ ((𝑓𝑥)𝑆(𝑔𝑥)))))
5 df-of 5712 . 2 𝑓 𝑅 = (𝑓 ∈ V, 𝑔 ∈ V ↦ (𝑥 ∈ (dom 𝑓 ∩ dom 𝑔) ↦ ((𝑓𝑥)𝑅(𝑔𝑥))))
6 df-of 5712 . 2 𝑓 𝑆 = (𝑓 ∈ V, 𝑔 ∈ V ↦ (𝑥 ∈ (dom 𝑓 ∩ dom 𝑔) ↦ ((𝑓𝑥)𝑆(𝑔𝑥))))
74, 5, 63eqtr4g 2097 1 (𝑅 = 𝑆 → ∘𝑓 𝑅 = ∘𝑓 𝑆)
Colors of variables: wff set class
Syntax hints:  wi 4  w3a 885   = wceq 1243  wcel 1393  Vcvv 2557  cin 2916  cmpt 3818  dom cdm 4345  cfv 4902  (class class class)co 5512  cmpt2 5514  𝑓 cof 5710
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-mp 7  ax-ia1 99  ax-ia2 100  ax-ia3 101  ax-io 630  ax-5 1336  ax-7 1337  ax-gen 1338  ax-ie1 1382  ax-ie2 1383  ax-8 1395  ax-10 1396  ax-11 1397  ax-i12 1398  ax-bndl 1399  ax-4 1400  ax-17 1419  ax-i9 1423  ax-ial 1427  ax-i5r 1428  ax-ext 2022
This theorem depends on definitions:  df-bi 110  df-3an 887  df-tru 1246  df-nf 1350  df-sb 1646  df-clab 2027  df-cleq 2033  df-clel 2036  df-nfc 2167  df-ral 2311  df-rex 2312  df-uni 3581  df-br 3765  df-opab 3819  df-mpt 3820  df-iota 4867  df-fv 4910  df-ov 5515  df-oprab 5516  df-mpt2 5517  df-of 5712
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator