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

Theorem dfres2 6033
Description: Alternate definition of the restriction operation. (Contributed by Mario Carneiro, 5-Nov-2013.)
Assertion
Ref Expression
dfres2 (𝑅 ↾ 𝐴) = {⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ 𝐴 ∧ 𝑥𝑅𝑦)}
Distinct variable groups:   𝑥,𝑦,𝐴   𝑥,𝑅,𝑦

Proof of Theorem dfres2
Dummy variables 𝑤 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 relres 5996 . 2 Rel (𝑅 ↾ 𝐴)
2 relopabv 5799 . 2 Rel {⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ 𝐴 ∧ 𝑥𝑅𝑦)}
3 vex 3455 . . . 4 𝑧 ∈ V
4 vex 3455 . . . 4 𝑤 ∈ V
5 eleq1w 2844 . . . . 5 (𝑥 = 𝑧 → (𝑥 ∈ 𝐴 ↔ 𝑧 ∈ 𝐴))
6 breq1 5106 . . . . 5 (𝑥 = 𝑧 → (𝑥𝑅𝑦 ↔ 𝑧𝑅𝑦))
75, 6anbi12d 644 . . . 4 (𝑥 = 𝑧 → ((𝑥 ∈ 𝐴 ∧ 𝑥𝑅𝑦) ↔ (𝑧 ∈ 𝐴 ∧ 𝑧𝑅𝑦)))
8 breq2 5107 . . . . 5 (𝑦 = 𝑤 → (𝑧𝑅𝑦 ↔ 𝑧𝑅𝑤))
98anbi2d 642 . . . 4 (𝑦 = 𝑤 → ((𝑧 ∈ 𝐴 ∧ 𝑧𝑅𝑦) ↔ (𝑧 ∈ 𝐴 ∧ 𝑧𝑅𝑤)))
103, 4, 7, 9opelopab 5517 . . 3 (⟨𝑧, 𝑤⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ 𝐴 ∧ 𝑥𝑅𝑦)} ↔ (𝑧 ∈ 𝐴 ∧ 𝑧𝑅𝑤))
114brresi 5979 . . 3 (𝑧(𝑅 ↾ 𝐴)𝑤 ↔ (𝑧 ∈ 𝐴 ∧ 𝑧𝑅𝑤))
12 df-br 5104 . . 3 (𝑧(𝑅 ↾ 𝐴)𝑤 ↔ ⟨𝑧, 𝑤⟩ ∈ (𝑅 ↾ 𝐴))
1310, 11, 123bitr2ri 303 . 2 (⟨𝑧, 𝑤⟩ ∈ (𝑅 ↾ 𝐴) ↔ ⟨𝑧, 𝑤⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ 𝐴 ∧ 𝑥𝑅𝑦)})
141, 2, 13eqrelriiv 5766 1 (𝑅 ↾ 𝐴) = {⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ 𝐴 ∧ 𝑥𝑅𝑦)}
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   ∧ wa 401   = wceq 1570   ∈ wcel 2145  ⟨cop 4590   class class class wbr 5103  {copab 5167   ↾ cres 5653
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-ext 2733  ax-sep 5249  ax-pr 5391
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-sb 2100  df-clab 2740  df-cleq 2753  df-clel 2836  df-ral 3078  df-rex 3088  df-rab 3414  df-v 3453  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-nul 4280  df-if 4483  df-sn 4585  df-pr 4587  df-op 4591  df-br 5104  df-opab 5168  df-xp 5657  df-rel 5658  df-res 5663
This theorem is used by:  shftidt2  15234  bj-imdiridlem  38106  dfres4  39231  cnvepres  39236  ressn2  39464  tfsconcatrev  44349
  Copyright terms: Public domain W3C validator