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

Theorem iinrab2 5003
Description: Indexed intersection of a restricted class abstraction. (Contributed by NM, 6-Dec-2011.)
Assertion
Ref Expression
iinrab2 ( 𝑥𝐴 {𝑦𝐵𝜑} ∩ 𝐵) = {𝑦𝐵 ∣ ∀𝑥𝐴 𝜑}
Distinct variable groups:   𝑦,𝐴,𝑥   𝑥,𝐵,𝑦
Allowed substitution hints:   𝜑(𝑥,𝑦)

Proof of Theorem iinrab2
StepHypRef Expression
1 iineq1 4946 . . . . . 6 (𝐴 = ∅ → 𝑥𝐴 {𝑦𝐵𝜑} = 𝑥 ∈ ∅ {𝑦𝐵𝜑})
2 0iin 4997 . . . . . 6 𝑥 ∈ ∅ {𝑦𝐵𝜑} = V
31, 2eqtrdi 2795 . . . . 5 (𝐴 = ∅ → 𝑥𝐴 {𝑦𝐵𝜑} = V)
43ineq1d 4150 . . . 4 (𝐴 = ∅ → ( 𝑥𝐴 {𝑦𝐵𝜑} ∩ 𝐵) = (V ∩ 𝐵))
5 incom 4139 . . . . 5 (V ∩ 𝐵) = (𝐵 ∩ V)
6 inv1 4333 . . . . 5 (𝐵 ∩ V) = 𝐵
75, 6eqtri 2767 . . . 4 (V ∩ 𝐵) = 𝐵
84, 7eqtrdi 2795 . . 3 (𝐴 = ∅ → ( 𝑥𝐴 {𝑦𝐵𝜑} ∩ 𝐵) = 𝐵)
9 rzal 4444 . . . 4 (𝐴 = ∅ → ∀𝑥𝐴𝑦𝐵 𝜑)
10 rabid2 3312 . . . . 5 (𝐵 = {𝑦𝐵 ∣ ∀𝑥𝐴 𝜑} ↔ ∀𝑦𝐵𝑥𝐴 𝜑)
11 ralcom 3282 . . . . 5 (∀𝑦𝐵𝑥𝐴 𝜑 ↔ ∀𝑥𝐴𝑦𝐵 𝜑)
1210, 11bitr2i 275 . . . 4 (∀𝑥𝐴𝑦𝐵 𝜑𝐵 = {𝑦𝐵 ∣ ∀𝑥𝐴 𝜑})
139, 12sylib 217 . . 3 (𝐴 = ∅ → 𝐵 = {𝑦𝐵 ∣ ∀𝑥𝐴 𝜑})
148, 13eqtrd 2779 . 2 (𝐴 = ∅ → ( 𝑥𝐴 {𝑦𝐵𝜑} ∩ 𝐵) = {𝑦𝐵 ∣ ∀𝑥𝐴 𝜑})
15 iinrab 5002 . . . 4 (𝐴 ≠ ∅ → 𝑥𝐴 {𝑦𝐵𝜑} = {𝑦𝐵 ∣ ∀𝑥𝐴 𝜑})
1615ineq1d 4150 . . 3 (𝐴 ≠ ∅ → ( 𝑥𝐴 {𝑦𝐵𝜑} ∩ 𝐵) = ({𝑦𝐵 ∣ ∀𝑥𝐴 𝜑} ∩ 𝐵))
17 ssrab2 4017 . . . 4 {𝑦𝐵 ∣ ∀𝑥𝐴 𝜑} ⊆ 𝐵
18 dfss 3909 . . . 4 ({𝑦𝐵 ∣ ∀𝑥𝐴 𝜑} ⊆ 𝐵 ↔ {𝑦𝐵 ∣ ∀𝑥𝐴 𝜑} = ({𝑦𝐵 ∣ ∀𝑥𝐴 𝜑} ∩ 𝐵))
1917, 18mpbi 229 . . 3 {𝑦𝐵 ∣ ∀𝑥𝐴 𝜑} = ({𝑦𝐵 ∣ ∀𝑥𝐴 𝜑} ∩ 𝐵)
2016, 19eqtr4di 2797 . 2 (𝐴 ≠ ∅ → ( 𝑥𝐴 {𝑦𝐵𝜑} ∩ 𝐵) = {𝑦𝐵 ∣ ∀𝑥𝐴 𝜑})
2114, 20pm2.61ine 3029 1 ( 𝑥𝐴 {𝑦𝐵𝜑} ∩ 𝐵) = {𝑦𝐵 ∣ ∀𝑥𝐴 𝜑}
Colors of variables: wff setvar class
Syntax hints:   = wceq 1541  wne 2944  wral 3065  {crab 3069  Vcvv 3430  cin 3890  wss 3891  c0 4261   ciin 4930
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1801  ax-4 1815  ax-5 1916  ax-6 1974  ax-7 2014  ax-8 2111  ax-9 2119  ax-10 2140  ax-11 2157  ax-12 2174  ax-ext 2710
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-tru 1544  df-fal 1554  df-ex 1786  df-nf 1790  df-sb 2071  df-clab 2717  df-cleq 2731  df-clel 2817  df-nfc 2890  df-ne 2945  df-ral 3070  df-rab 3074  df-v 3432  df-dif 3894  df-in 3898  df-ss 3908  df-nul 4262  df-iin 4932
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator