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

Theorem dfres2 6051
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 6012 . 2 Rel (𝑅 ↾ 𝐴)
2 relopab 5812 . 2 Rel {⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ 𝐴 ∧ 𝑥𝑅𝑦)}
3 vex 3458 . . . 4 𝑧 ∈ V
4 vex 3458 . . . 4 𝑤 ∈ V
5 eleq1w 2847 . . . . 5 (𝑥 = 𝑧 → (𝑥 ∈ 𝐴 ↔ 𝑧 ∈ 𝐴))
6 breq1 5111 . . . . 5 (𝑥 = 𝑧 → (𝑥𝑅𝑦 ↔ 𝑧𝑅𝑦))
75, 6anbi12d 644 . . . 4 (𝑥 = 𝑧 → ((𝑥 ∈ 𝐴 ∧ 𝑥𝑅𝑦) ↔ (𝑧 ∈ 𝐴 ∧ 𝑧𝑅𝑦)))
8 breq2 5112 . . . . 5 (𝑦 = 𝑤 → (𝑧𝑅𝑦 ↔ 𝑧𝑅𝑤))
98anbi2d 642 . . . 4 (𝑦 = 𝑤 → ((𝑧 ∈ 𝐴 ∧ 𝑧𝑅𝑦) ↔ (𝑧 ∈ 𝐴 ∧ 𝑧𝑅𝑤)))
103, 4, 7, 9opelopab 5524 . . 3 (⟨𝑧, 𝑤⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ 𝐴 ∧ 𝑥𝑅𝑦)} ↔ (𝑧 ∈ 𝐴 ∧ 𝑧𝑅𝑤))
114brresi 5995 . . 3 (𝑧(𝑅 ↾ 𝐴)𝑤 ↔ (𝑧 ∈ 𝐴 ∧ 𝑧𝑅𝑤))
12 df-br 5109 . . 3 (𝑧(𝑅 ↾ 𝐴)𝑤 ↔ ⟨𝑧, 𝑤⟩ ∈ (𝑅 ↾ 𝐴))
1310, 11, 123bitr2ri 303 . 2 (⟨𝑧, 𝑤⟩ ∈ (𝑅 ↾ 𝐴) ↔ ⟨𝑧, 𝑤⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ 𝐴 ∧ 𝑥𝑅𝑦)})
141, 2, 13eqrelriiv 5775 1 (𝑅 ↾ 𝐴) = {⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ 𝐴 ∧ 𝑥𝑅𝑦)}
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   ∧ wa 401   = wceq 1570   ∈ wcel 2147  ⟨cop 4840   class class class wbr 5108  {copab 5173   ↾ cres 5660
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 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-ext 2735  ax-sep 5255  ax-pr 5398
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 2102  df-clab 2742  df-cleq 2755  df-clel 2839  df-ral 3081  df-rex 3091  df-rab 3417  df-v 3456  df-ss 3901  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-sn 4589  df-pr 4591  df-op 4841  df-br 5109  df-opab 5174  df-xp 5664  df-rel 5665  df-res 5670
This theorem is used by:  shftidt2  15277  bj-imdiridlem  38374  dfres4  39497  cnvepres  39502  ressn2  39730  tfsconcatrev  44611
  Copyright terms: Public domain W3C validator