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

Theorem resdifdi 6240
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 5663 . . 3 (𝐴 ↾ (𝐵 ∖ 𝐶)) = (𝐴 ∩ ((𝐵 ∖ 𝐶) × V))
2 difxp1 6158 . . . 4 ((𝐵 ∖ 𝐶) × V) = ((𝐵 × V) ∖ (𝐶 × V))
32ineq2i 4113 . . 3 (𝐴 ∩ ((𝐵 ∖ 𝐶) × V)) = (𝐴 ∩ ((𝐵 × V) ∖ (𝐶 × V)))
4 indifdi 4238 . . 3 (𝐴 ∩ ((𝐵 × V) ∖ (𝐶 × V))) = ((𝐴 ∩ (𝐵 × V)) ∖ (𝐴 ∩ (𝐶 × V)))
51, 3, 43eqtri 2787 . 2 (𝐴 ↾ (𝐵 ∖ 𝐶)) = ((𝐴 ∩ (𝐵 × V)) ∖ (𝐴 ∩ (𝐶 × V)))
6 df-res 5663 . . 3 (𝐴 ↾ 𝐵) = (𝐴 ∩ (𝐵 × V))
7 df-res 5663 . . 3 (𝐴 ↾ 𝐶) = (𝐴 ∩ (𝐶 × V))
86, 7difeq12i 4060 . 2 ((𝐴 ↾ 𝐵) ∖ (𝐴 ↾ 𝐶)) = ((𝐴 ∩ (𝐵 × V)) ∖ (𝐴 ∩ (𝐶 × V)))
95, 8eqtr4i 2786 1 (𝐴 ↾ (𝐵 ∖ 𝐶)) = ((𝐴 ↾ 𝐵) ∖ (𝐴 ↾ 𝐶))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   = wceq 1569  Vcvv 3450   ∖ cdif 4044   ∩ cin 4088   × cxp 5649   ↾ cres 5653
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 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-ext 2732  ax-sep 5248  ax-pr 5391
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-sb 2099  df-clab 2739  df-cleq 2752  df-clel 2835  df-ral 3077  df-rex 3087  df-rab 3413  df-v 3452  df-ss 3897  df-dif 4046  df-in 4090  df-un 4150  df-nul 4278  df-if 4482  df-sn 4585  df-pr 4587  df-op 4835  df-opab 5167  df-xp 5657  df-rel 5658  df-res 5663
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator