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

Theorem resdifdir 6210
Description: Distributive law for restriction over difference. (Contributed by BTernaryTau, 15-Aug-2024.)
Assertion
Ref Expression
resdifdir ((𝐴𝐵) ↾ 𝐶) = ((𝐴𝐶) ∖ (𝐵𝐶))

Proof of Theorem resdifdir
StepHypRef Expression
1 indifdir 4258 . 2 ((𝐴𝐵) ∩ (𝐶 × V)) = ((𝐴 ∩ (𝐶 × V)) ∖ (𝐵 ∩ (𝐶 × V)))
2 df-res 5650 . 2 ((𝐴𝐵) ↾ 𝐶) = ((𝐴𝐵) ∩ (𝐶 × V))
3 df-res 5650 . . 3 (𝐴𝐶) = (𝐴 ∩ (𝐶 × V))
4 df-res 5650 . . 3 (𝐵𝐶) = (𝐵 ∩ (𝐶 × V))
53, 4difeq12i 4087 . 2 ((𝐴𝐶) ∖ (𝐵𝐶)) = ((𝐴 ∩ (𝐶 × V)) ∖ (𝐵 ∩ (𝐶 × V)))
61, 2, 53eqtr4i 2762 1 ((𝐴𝐵) ↾ 𝐶) = ((𝐴𝐶) ∖ (𝐵𝐶))
Colors of variables: wff setvar class
Syntax hints:   = wceq 1540  Vcvv 3447  cdif 3911  cin 3913   × cxp 5636  cres 5640
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1795  ax-4 1809  ax-5 1910  ax-6 1967  ax-7 2008  ax-8 2111  ax-9 2119  ax-ext 2701
This theorem depends on definitions:  df-bi 207  df-an 396  df-tru 1543  df-ex 1780  df-sb 2066  df-clab 2708  df-cleq 2721  df-clel 2803  df-rab 3406  df-v 3449  df-dif 3917  df-in 3921  df-res 5650
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator