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

Theorem dfres3 5858
Description: Alternate definition of restriction. (Contributed by Scott Fenton, 17-Apr-2014.) (Revised by Mario Carneiro, 19-Apr-2014.)
Assertion
Ref Expression
dfres3 (𝐴𝐵) = (𝐴 ∩ (𝐵 × ran 𝐴))

Proof of Theorem dfres3
Dummy variables 𝑥 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 df-res 5567 . 2 (𝐴𝐵) = (𝐴 ∩ (𝐵 × V))
2 eleq1 2900 . . . . . . . . . 10 (𝑥 = ⟨𝑦, 𝑧⟩ → (𝑥𝐴 ↔ ⟨𝑦, 𝑧⟩ ∈ 𝐴))
3 vex 3497 . . . . . . . . . . . 12 𝑧 ∈ V
43biantru 532 . . . . . . . . . . 11 (𝑦𝐵 ↔ (𝑦𝐵𝑧 ∈ V))
5 vex 3497 . . . . . . . . . . . . 13 𝑦 ∈ V
65, 3opelrn 5813 . . . . . . . . . . . 12 (⟨𝑦, 𝑧⟩ ∈ 𝐴𝑧 ∈ ran 𝐴)
76biantrud 534 . . . . . . . . . . 11 (⟨𝑦, 𝑧⟩ ∈ 𝐴 → (𝑦𝐵 ↔ (𝑦𝐵𝑧 ∈ ran 𝐴)))
84, 7syl5bbr 287 . . . . . . . . . 10 (⟨𝑦, 𝑧⟩ ∈ 𝐴 → ((𝑦𝐵𝑧 ∈ V) ↔ (𝑦𝐵𝑧 ∈ ran 𝐴)))
92, 8syl6bi 255 . . . . . . . . 9 (𝑥 = ⟨𝑦, 𝑧⟩ → (𝑥𝐴 → ((𝑦𝐵𝑧 ∈ V) ↔ (𝑦𝐵𝑧 ∈ ran 𝐴))))
109com12 32 . . . . . . . 8 (𝑥𝐴 → (𝑥 = ⟨𝑦, 𝑧⟩ → ((𝑦𝐵𝑧 ∈ V) ↔ (𝑦𝐵𝑧 ∈ ran 𝐴))))
1110pm5.32d 579 . . . . . . 7 (𝑥𝐴 → ((𝑥 = ⟨𝑦, 𝑧⟩ ∧ (𝑦𝐵𝑧 ∈ V)) ↔ (𝑥 = ⟨𝑦, 𝑧⟩ ∧ (𝑦𝐵𝑧 ∈ ran 𝐴))))
12112exbidv 1925 . . . . . 6 (𝑥𝐴 → (∃𝑦𝑧(𝑥 = ⟨𝑦, 𝑧⟩ ∧ (𝑦𝐵𝑧 ∈ V)) ↔ ∃𝑦𝑧(𝑥 = ⟨𝑦, 𝑧⟩ ∧ (𝑦𝐵𝑧 ∈ ran 𝐴))))
13 elxp 5578 . . . . . 6 (𝑥 ∈ (𝐵 × V) ↔ ∃𝑦𝑧(𝑥 = ⟨𝑦, 𝑧⟩ ∧ (𝑦𝐵𝑧 ∈ V)))
14 elxp 5578 . . . . . 6 (𝑥 ∈ (𝐵 × ran 𝐴) ↔ ∃𝑦𝑧(𝑥 = ⟨𝑦, 𝑧⟩ ∧ (𝑦𝐵𝑧 ∈ ran 𝐴)))
1512, 13, 143bitr4g 316 . . . . 5 (𝑥𝐴 → (𝑥 ∈ (𝐵 × V) ↔ 𝑥 ∈ (𝐵 × ran 𝐴)))
1615pm5.32i 577 . . . 4 ((𝑥𝐴𝑥 ∈ (𝐵 × V)) ↔ (𝑥𝐴𝑥 ∈ (𝐵 × ran 𝐴)))
17 elin 4169 . . . 4 (𝑥 ∈ (𝐴 ∩ (𝐵 × ran 𝐴)) ↔ (𝑥𝐴𝑥 ∈ (𝐵 × ran 𝐴)))
1816, 17bitr4i 280 . . 3 ((𝑥𝐴𝑥 ∈ (𝐵 × V)) ↔ 𝑥 ∈ (𝐴 ∩ (𝐵 × ran 𝐴)))
1918ineqri 4180 . 2 (𝐴 ∩ (𝐵 × V)) = (𝐴 ∩ (𝐵 × ran 𝐴))
201, 19eqtri 2844 1 (𝐴𝐵) = (𝐴 ∩ (𝐵 × ran 𝐴))
Colors of variables: wff setvar class
Syntax hints:  wb 208  wa 398   = wceq 1537  wex 1780  wcel 2114  Vcvv 3494  cin 3935  cop 4573   × cxp 5553  ran crn 5556  cres 5557
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2793  ax-sep 5203  ax-nul 5210  ax-pr 5330
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070  df-mo 2622  df-eu 2654  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-rab 3147  df-v 3496  df-dif 3939  df-un 3941  df-in 3943  df-ss 3952  df-nul 4292  df-if 4468  df-sn 4568  df-pr 4570  df-op 4574  df-br 5067  df-opab 5129  df-xp 5561  df-cnv 5563  df-dm 5565  df-rn 5566  df-res 5567
This theorem is referenced by:  brrestrict  33410  dfrel6  35619
  Copyright terms: Public domain W3C validator