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

Theorem dfrel4 6210
Description: A relation can be expressed as the set of ordered pairs in it. An analogue of dffn5 6992 for relations. (Contributed by Mario Carneiro, 16-Aug-2015.) (Revised by Thierry Arnoux, 11-May-2017.)
Hypotheses
Ref Expression
dfrel4.1 Ⅎ𝑥𝑅
dfrel4.2 Ⅎ𝑦𝑅
Assertion
Ref Expression
dfrel4 (Rel 𝑅 ↔ 𝑅 = {⟨𝑥, 𝑦⟩ ∣ 𝑥𝑅𝑦})
Distinct variable group:   𝑥,𝑦
Allowed substitution hints:   𝑅(𝑥, 𝑦)

Proof of Theorem dfrel4
Dummy variables 𝑎 𝑏 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 dfrel4v 6209 . 2 (Rel 𝑅 ↔ 𝑅 = {⟨𝑎, 𝑏⟩ ∣ 𝑎𝑅𝑏})
2 nfcv 2937 . . . . 5 Ⅎ𝑥𝑎
3 dfrel4.1 . . . . 5 Ⅎ𝑥𝑅
4 nfcv 2937 . . . . 5 Ⅎ𝑥𝑏
52, 3, 4nfbr 5166 . . . 4 Ⅎ𝑥 𝑎𝑅𝑏
6 nfcv 2937 . . . . 5 Ⅎ𝑦𝑎
7 dfrel4.2 . . . . 5 Ⅎ𝑦𝑅
8 nfcv 2937 . . . . 5 Ⅎ𝑦𝑏
96, 7, 8nfbr 5166 . . . 4 Ⅎ𝑦 𝑎𝑅𝑏
10 nfv 1956 . . . 4 Ⅎ𝑎 𝑥𝑅𝑦
11 nfv 1956 . . . 4 Ⅎ𝑏 𝑥𝑅𝑦
12 breq12 5121 . . . 4 ((𝑎 = 𝑥 ∧ 𝑏 = 𝑦) → (𝑎𝑅𝑏 ↔ 𝑥𝑅𝑦))
135, 9, 10, 11, 12cbvopab 5191 . . 3 {⟨𝑎, 𝑏⟩ ∣ 𝑎𝑅𝑏} = {⟨𝑥, 𝑦⟩ ∣ 𝑥𝑅𝑦}
1413eqeq2i 2787 . 2 (𝑅 = {⟨𝑎, 𝑏⟩ ∣ 𝑎𝑅𝑏} ↔ 𝑅 = {⟨𝑥, 𝑦⟩ ∣ 𝑥𝑅𝑦})
151, 14bitri 278 1 (Rel 𝑅 ↔ 𝑅 = {⟨𝑥, 𝑦⟩ ∣ 𝑥𝑅𝑦})
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   ↔ wb 209   = wceq 1572  Ⅎwnfc 2922   class class class wbr 5116  {copab 5181  Rel wrel 5671
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1834  ax-4 1848  ax-5 1951  ax-6 2009  ax-7 2050  ax-8 2158  ax-9 2166  ax-10 2189  ax-11 2206  ax-12 2225  ax-ext 2746  ax-sep 5263  ax-pr 5406
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1819  df-nf 1823  df-sb 2110  df-clab 2753  df-cleq 2766  df-clel 2850  df-nfc 2924  df-rab 3424  df-v 3463  df-ss 3908  df-dif 4057  df-in 4101  df-un 4161  df-nul 4289  df-if 4493  df-sn 4596  df-pr 4598  df-op 4849  df-br 5117  df-opab 5182  df-xp 5672  df-rel 5673  df-cnv 5674
This theorem is used by:  feqmptdf  7004
  Copyright terms: Public domain W3C validator