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

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

Proof of Theorem resdifdi
StepHypRef Expression
1 df-res 5678 . . 3 (𝐴 ↾ (𝐵 ∖ 𝐶)) = (𝐴 ∩ ((𝐵 ∖ 𝐶) × V))
2 difxp1 6183 . . . 4 ((𝐵 ∖ 𝐶) × V) = ((𝐵 × V) ∖ (𝐶 × V))
32ineq2i 4124 . . 3 (𝐴 ∩ ((𝐵 ∖ 𝐶) × V)) = (𝐴 ∩ ((𝐵 × V) ∖ (𝐶 × V)))
4 indifdi 4249 . . 3 (𝐴 ∩ ((𝐵 × V) ∖ (𝐶 × V))) = ((𝐴 ∩ (𝐵 × V)) ∖ (𝐴 ∩ (𝐶 × V)))
51, 3, 43eqtri 2801 . 2 (𝐴 ↾ (𝐵 ∖ 𝐶)) = ((𝐴 ∩ (𝐵 × V)) ∖ (𝐴 ∩ (𝐶 × V)))
6 df-res 5678 . . 3 (𝐴 ↾ 𝐵) = (𝐴 ∩ (𝐵 × V))
7 df-res 5678 . . 3 (𝐴 ↾ 𝐶) = (𝐴 ∩ (𝐶 × V))
86, 7difeq12i 4071 . 2 ((𝐴 ↾ 𝐵) ∖ (𝐴 ↾ 𝐶)) = ((𝐴 ∩ (𝐵 × V)) ∖ (𝐴 ∩ (𝐶 × V)))
95, 8eqtr4i 2800 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  ax-sep 5263  ax-pr 5406
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1819  df-sb 2110  df-clab 2753  df-cleq 2766  df-clel 2850  df-ral 3092  df-rex 3102  df-rab 3424  df-v 3463  df-ss 3908  df-dif 4057  df-in 4101  df-un 4161  df-nul 4289  df-if 4493  df-sn 4596  df-pr 4598  df-op 4849  df-opab 5182  df-xp 5672  df-rel 5673  df-res 5678
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator