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

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

Proof of Theorem ofreq
Dummy variables 𝑓 𝑔 𝑥 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 breq 5072 . . . 4 (𝑅 = 𝑆 → ((𝑓𝑥)𝑅(𝑔𝑥) ↔ (𝑓𝑥)𝑆(𝑔𝑥)))
21ralbidv 3120 . . 3 (𝑅 = 𝑆 → (∀𝑥 ∈ (dom 𝑓 ∩ dom 𝑔)(𝑓𝑥)𝑅(𝑔𝑥) ↔ ∀𝑥 ∈ (dom 𝑓 ∩ dom 𝑔)(𝑓𝑥)𝑆(𝑔𝑥)))
32opabbidv 5136 . 2 (𝑅 = 𝑆 → {⟨𝑓, 𝑔⟩ ∣ ∀𝑥 ∈ (dom 𝑓 ∩ dom 𝑔)(𝑓𝑥)𝑅(𝑔𝑥)} = {⟨𝑓, 𝑔⟩ ∣ ∀𝑥 ∈ (dom 𝑓 ∩ dom 𝑔)(𝑓𝑥)𝑆(𝑔𝑥)})
4 df-ofr 7512 . 2 r 𝑅 = {⟨𝑓, 𝑔⟩ ∣ ∀𝑥 ∈ (dom 𝑓 ∩ dom 𝑔)(𝑓𝑥)𝑅(𝑔𝑥)}
5 df-ofr 7512 . 2 r 𝑆 = {⟨𝑓, 𝑔⟩ ∣ ∀𝑥 ∈ (dom 𝑓 ∩ dom 𝑔)(𝑓𝑥)𝑆(𝑔𝑥)}
63, 4, 53eqtr4g 2804 1 (𝑅 = 𝑆 → ∘r 𝑅 = ∘r 𝑆)
Colors of variables: wff setvar class
Syntax hints:  wi 4   = wceq 1539  wral 3063  cin 3882   class class class wbr 5070  {copab 5132  dom cdm 5580  cfv 6418  r cofr 7510
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-ext 2709
This theorem depends on definitions:  df-bi 206  df-an 396  df-ex 1784  df-sb 2069  df-clab 2716  df-cleq 2730  df-clel 2817  df-ral 3068  df-br 5071  df-opab 5133  df-ofr 7512
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator