MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  ofreq Structured version   Visualization version   GIF version

Theorem ofreq 7159
Description: Equality theorem for function relation. (Contributed by Mario Carneiro, 28-Jul-2014.)
Assertion
Ref Expression
ofreq (𝑅 = 𝑆 → ∘𝑟 𝑅 = ∘𝑟 𝑆)

Proof of Theorem ofreq
Dummy variables 𝑓 𝑔 𝑥 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 breq 4874 . . . 4 (𝑅 = 𝑆 → ((𝑓𝑥)𝑅(𝑔𝑥) ↔ (𝑓𝑥)𝑆(𝑔𝑥)))
21ralbidv 3194 . . 3 (𝑅 = 𝑆 → (∀𝑥 ∈ (dom 𝑓 ∩ dom 𝑔)(𝑓𝑥)𝑅(𝑔𝑥) ↔ ∀𝑥 ∈ (dom 𝑓 ∩ dom 𝑔)(𝑓𝑥)𝑆(𝑔𝑥)))
32opabbidv 4938 . 2 (𝑅 = 𝑆 → {⟨𝑓, 𝑔⟩ ∣ ∀𝑥 ∈ (dom 𝑓 ∩ dom 𝑔)(𝑓𝑥)𝑅(𝑔𝑥)} = {⟨𝑓, 𝑔⟩ ∣ ∀𝑥 ∈ (dom 𝑓 ∩ dom 𝑔)(𝑓𝑥)𝑆(𝑔𝑥)})
4 df-ofr 7157 . 2 𝑟 𝑅 = {⟨𝑓, 𝑔⟩ ∣ ∀𝑥 ∈ (dom 𝑓 ∩ dom 𝑔)(𝑓𝑥)𝑅(𝑔𝑥)}
5 df-ofr 7157 . 2 𝑟 𝑆 = {⟨𝑓, 𝑔⟩ ∣ ∀𝑥 ∈ (dom 𝑓 ∩ dom 𝑔)(𝑓𝑥)𝑆(𝑔𝑥)}
63, 4, 53eqtr4g 2885 1 (𝑅 = 𝑆 → ∘𝑟 𝑅 = ∘𝑟 𝑆)
Colors of variables: wff setvar class
Syntax hints:  wi 4   = wceq 1658  wral 3116  cin 3796   class class class wbr 4872  {copab 4934  dom cdm 5341  cfv 6122  𝑟 cofr 7155
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1896  ax-4 1910  ax-5 2011  ax-6 2077  ax-7 2114  ax-9 2175  ax-10 2194  ax-11 2209  ax-12 2222  ax-ext 2802
This theorem depends on definitions:  df-bi 199  df-an 387  df-or 881  df-tru 1662  df-ex 1881  df-nf 1885  df-sb 2070  df-clab 2811  df-cleq 2817  df-clel 2820  df-ral 3121  df-br 4873  df-opab 4935  df-ofr 7157
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator