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

Theorem resdifdir 6270
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 4250 . 2 ((𝐴 ∖ 𝐵) ∩ (𝐶 × V)) = ((𝐴 ∩ (𝐶 × V)) ∖ (𝐵 ∩ (𝐶 × V)))
2 df-res 5678 . 2 ((𝐴 ∖ 𝐵) ↾ 𝐶) = ((𝐴 ∖ 𝐵) ∩ (𝐶 × V))
3 df-res 5678 . . 3 (𝐴 ↾ 𝐶) = (𝐴 ∩ (𝐶 × V))
4 df-res 5678 . . 3 (𝐵 ↾ 𝐶) = (𝐵 ∩ (𝐶 × V))
53, 4difeq12i 4071 . 2 ((𝐴 ↾ 𝐶) ∖ (𝐵 ↾ 𝐶)) = ((𝐴 ∩ (𝐶 × V)) ∖ (𝐵 ∩ (𝐶 × V)))
61, 2, 53eqtr4i 2807 1 ((𝐴 ∖ 𝐵) ↾ 𝐶) = ((𝐴 ↾ 𝐶) ∖ (𝐵 ↾ 𝐶))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   = wceq 1572  Vcvv 3461   ∖ cdif 4055   ∩ cin 4099   × cxp 5664   ↾ cres 5668
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1834  ax-4 1848  ax-5 1951  ax-6 2009  ax-7 2050  ax-8 2158  ax-9 2166  ax-ext 2746
This proof depends on definitions:  df-bi 210  df-an 402  df-tru 1575  df-ex 1819  df-sb 2110  df-clab 2753  df-cleq 2766  df-clel 2850  df-rab 3424  df-v 3463  df-dif 4057  df-in 4101  df-res 5678
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator