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

Theorem resoprab2 7589
Description: Restriction of an operator abstraction. (Contributed by Jeff Madsen, 2-Sep-2009.)
Assertion
Ref Expression
resoprab2 ((𝐶 ⊆ 𝐴 ∧ 𝐷 ⊆ 𝐵) → ({⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ ((𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵) ∧ 𝜑)} ↾ (𝐶 × 𝐷)) = {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ ((𝑥 ∈ 𝐶 ∧ 𝑦 ∈ 𝐷) ∧ 𝜑)})
Distinct variable groups:   𝑥,𝐴,𝑦,𝑧   𝑥,𝐵,𝑦,𝑧   𝑥,𝐶,𝑦,𝑧   𝑥,𝐷,𝑦,𝑧
Allowed substitution hints:   𝜑(𝑥, 𝑦, 𝑧)

Proof of Theorem resoprab2
StepHypRef Expression
1 resoprab 7588 . 2 ({⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ ((𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵) ∧ 𝜑)} ↾ (𝐶 × 𝐷)) = {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ ((𝑥 ∈ 𝐶 ∧ 𝑦 ∈ 𝐷) ∧ ((𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵) ∧ 𝜑))}
2 anass 474 . . . 4 ((((𝑥 ∈ 𝐶 ∧ 𝑦 ∈ 𝐷) ∧ (𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵)) ∧ 𝜑) ↔ ((𝑥 ∈ 𝐶 ∧ 𝑦 ∈ 𝐷) ∧ ((𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵) ∧ 𝜑)))
3 an4 669 . . . . . 6 (((𝑥 ∈ 𝐶 ∧ 𝑦 ∈ 𝐷) ∧ (𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵)) ↔ ((𝑥 ∈ 𝐶 ∧ 𝑥 ∈ 𝐴) ∧ (𝑦 ∈ 𝐷 ∧ 𝑦 ∈ 𝐵)))
4 ssel 3914 . . . . . . . . 9 (𝐶 ⊆ 𝐴 → (𝑥 ∈ 𝐶 → 𝑥 ∈ 𝐴))
54pm4.71d 571 . . . . . . . 8 (𝐶 ⊆ 𝐴 → (𝑥 ∈ 𝐶 ↔ (𝑥 ∈ 𝐶 ∧ 𝑥 ∈ 𝐴)))
65bicomd 226 . . . . . . 7 (𝐶 ⊆ 𝐴 → ((𝑥 ∈ 𝐶 ∧ 𝑥 ∈ 𝐴) ↔ 𝑥 ∈ 𝐶))
7 ssel 3914 . . . . . . . . 9 (𝐷 ⊆ 𝐵 → (𝑦 ∈ 𝐷 → 𝑦 ∈ 𝐵))
87pm4.71d 571 . . . . . . . 8 (𝐷 ⊆ 𝐵 → (𝑦 ∈ 𝐷 ↔ (𝑦 ∈ 𝐷 ∧ 𝑦 ∈ 𝐵)))
98bicomd 226 . . . . . . 7 (𝐷 ⊆ 𝐵 → ((𝑦 ∈ 𝐷 ∧ 𝑦 ∈ 𝐵) ↔ 𝑦 ∈ 𝐷))
106, 9bi2anan9 650 . . . . . 6 ((𝐶 ⊆ 𝐴 ∧ 𝐷 ⊆ 𝐵) → (((𝑥 ∈ 𝐶 ∧ 𝑥 ∈ 𝐴) ∧ (𝑦 ∈ 𝐷 ∧ 𝑦 ∈ 𝐵)) ↔ (𝑥 ∈ 𝐶 ∧ 𝑦 ∈ 𝐷)))
113, 10bitrid 286 . . . . 5 ((𝐶 ⊆ 𝐴 ∧ 𝐷 ⊆ 𝐵) → (((𝑥 ∈ 𝐶 ∧ 𝑦 ∈ 𝐷) ∧ (𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵)) ↔ (𝑥 ∈ 𝐶 ∧ 𝑦 ∈ 𝐷)))
1211anbi1d 643 . . . 4 ((𝐶 ⊆ 𝐴 ∧ 𝐷 ⊆ 𝐵) → ((((𝑥 ∈ 𝐶 ∧ 𝑦 ∈ 𝐷) ∧ (𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵)) ∧ 𝜑) ↔ ((𝑥 ∈ 𝐶 ∧ 𝑦 ∈ 𝐷) ∧ 𝜑)))
132, 12bitr3id 288 . . 3 ((𝐶 ⊆ 𝐴 ∧ 𝐷 ⊆ 𝐵) → (((𝑥 ∈ 𝐶 ∧ 𝑦 ∈ 𝐷) ∧ ((𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵) ∧ 𝜑)) ↔ ((𝑥 ∈ 𝐶 ∧ 𝑦 ∈ 𝐷) ∧ 𝜑)))
1413oprabbidv 7536 . 2 ((𝐶 ⊆ 𝐴 ∧ 𝐷 ⊆ 𝐵) → {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ ((𝑥 ∈ 𝐶 ∧ 𝑦 ∈ 𝐷) ∧ ((𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵) ∧ 𝜑))} = {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ ((𝑥 ∈ 𝐶 ∧ 𝑦 ∈ 𝐷) ∧ 𝜑)})
151, 14eqtrid 2821 1 ((𝐶 ⊆ 𝐴 ∧ 𝐷 ⊆ 𝐵) → ({⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ ((𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵) ∧ 𝜑)} ↾ (𝐶 × 𝐷)) = {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ ((𝑥 ∈ 𝐶 ∧ 𝑦 ∈ 𝐷) ∧ 𝜑)})
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1572   ∈ wcel 2156   ⊆ wss 3907   × cxp 5664   ↾ cres 5668  {coprab 7471
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-10 2189  ax-11 2206  ax-12 2225  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-nf 1823  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  df-oprab 7474
This theorem is used by:  resmpo  7590
  Copyright terms: Public domain W3C validator