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

Theorem resdifdir 6244
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 4242 . 2 ((𝐴 ∖ 𝐵) ∩ (𝐶 × V)) = ((𝐴 ∩ (𝐶 × V)) ∖ (𝐵 ∩ (𝐶 × V)))
2 df-res 5666 . 2 ((𝐴 ∖ 𝐵) ↾ 𝐶) = ((𝐴 ∖ 𝐵) ∩ (𝐶 × V))
3 df-res 5666 . . 3 (𝐴 ↾ 𝐶) = (𝐴 ∩ (𝐶 × V))
4 df-res 5666 . . 3 (𝐵 ↾ 𝐶) = (𝐵 ∩ (𝐶 × V))
53, 4difeq12i 4063 . 2 ((𝐴 ↾ 𝐶) ∖ (𝐵 ↾ 𝐶)) = ((𝐴 ∩ (𝐶 × V)) ∖ (𝐵 ∩ (𝐶 × V)))
61, 2, 53eqtr4i 2796 1 ((𝐴 ∖ 𝐵) ↾ 𝐶) = ((𝐴 ↾ 𝐶) ∖ (𝐵 ↾ 𝐶))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   = wceq 1569  Vcvv 3453   ∖ cdif 4047   ∩ cin 4091   × cxp 5652   ↾ cres 5656
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1944  ax-6 2001  ax-7 2042  ax-8 2148  ax-9 2156  ax-ext 2735
This proof depends on definitions:  df-bi 210  df-an 402  df-tru 1572  df-ex 1812  df-sb 2101  df-clab 2742  df-cleq 2755  df-clel 2838  df-rab 3416  df-v 3455  df-dif 4049  df-in 4093  df-res 5666
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator