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

Theorem resdifdi 6237
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 6156 . . . 4 ((𝐵 ∖ 𝐶) × V) = ((𝐵 × V) ∖ (𝐶 × V))
32ineq2i 4163 . . 3 (𝐴 ∩ ((𝐵 ∖ 𝐶) × V)) = (𝐴 ∩ ((𝐵 × V) ∖ (𝐶 × V)))
4 indifdi 4240 . . 3 (𝐴 ∩ ((𝐵 × V) ∖ (𝐶 × V))) = ((𝐴 ∩ (𝐵 × V)) ∖ (𝐴 ∩ (𝐶 × V)))
51, 3, 43eqtri 2788 . 2 (𝐴 ↾ (𝐵 ∖ 𝐶)) = ((𝐴 ∩ (𝐵 × V)) ∖ (𝐴 ∩ (𝐶 × V)))
6 df-res 5663 . . 3 (𝐴 ↾ 𝐵) = (𝐴 ∩ (𝐵 × V))
7 df-res 5663 . . 3 (𝐴 ↾ 𝐶) = (𝐴 ∩ (𝐶 × V))
86, 7difeq12i 4072 . 2 ((𝐴 ↾ 𝐵) ∖ (𝐴 ↾ 𝐶)) = ((𝐴 ∩ (𝐵 × V)) ∖ (𝐴 ∩ (𝐶 × V)))
95, 8eqtr4i 2787 1 (𝐴 ↾ (𝐵 ∖ 𝐶)) = ((𝐴 ↾ 𝐵) ∖ (𝐴 ↾ 𝐶))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   = wceq 1570  Vcvv 3451   ∖ cdif 3896   ∩ cin 3898   × cxp 5649   ↾ cres 5653
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-ext 2733  ax-sep 5249  ax-pr 5391
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-sb 2100  df-clab 2740  df-cleq 2753  df-clel 2836  df-ral 3078  df-rex 3088  df-rab 3414  df-v 3453  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-nul 4280  df-if 4483  df-sn 4585  df-pr 4587  df-op 4591  df-opab 5168  df-xp 5657  df-rel 5658  df-res 5663
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator