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

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

Proof of Theorem iinrab2
StepHypRef Expression
1 iineq1 4929 . . . . . 6 (𝐴 = ∅ → 𝑥𝐴 {𝑦𝐵𝜑} = 𝑥 ∈ ∅ {𝑦𝐵𝜑})
2 0iin 4980 . . . . . 6 𝑥 ∈ ∅ {𝑦𝐵𝜑} = V
31, 2syl6eq 2871 . . . . 5 (𝐴 = ∅ → 𝑥𝐴 {𝑦𝐵𝜑} = V)
43ineq1d 4181 . . . 4 (𝐴 = ∅ → ( 𝑥𝐴 {𝑦𝐵𝜑} ∩ 𝐵) = (V ∩ 𝐵))
5 incom 4171 . . . . 5 (V ∩ 𝐵) = (𝐵 ∩ V)
6 inv1 4341 . . . . 5 (𝐵 ∩ V) = 𝐵
75, 6eqtri 2843 . . . 4 (V ∩ 𝐵) = 𝐵
84, 7syl6eq 2871 . . 3 (𝐴 = ∅ → ( 𝑥𝐴 {𝑦𝐵𝜑} ∩ 𝐵) = 𝐵)
9 rzal 4446 . . . 4 (𝐴 = ∅ → ∀𝑥𝐴𝑦𝐵 𝜑)
10 rabid2 3380 . . . . 5 (𝐵 = {𝑦𝐵 ∣ ∀𝑥𝐴 𝜑} ↔ ∀𝑦𝐵𝑥𝐴 𝜑)
11 ralcom 3353 . . . . 5 (∀𝑦𝐵𝑥𝐴 𝜑 ↔ ∀𝑥𝐴𝑦𝐵 𝜑)
1210, 11bitr2i 278 . . . 4 (∀𝑥𝐴𝑦𝐵 𝜑𝐵 = {𝑦𝐵 ∣ ∀𝑥𝐴 𝜑})
139, 12sylib 220 . . 3 (𝐴 = ∅ → 𝐵 = {𝑦𝐵 ∣ ∀𝑥𝐴 𝜑})
148, 13eqtrd 2855 . 2 (𝐴 = ∅ → ( 𝑥𝐴 {𝑦𝐵𝜑} ∩ 𝐵) = {𝑦𝐵 ∣ ∀𝑥𝐴 𝜑})
15 iinrab 4984 . . . 4 (𝐴 ≠ ∅ → 𝑥𝐴 {𝑦𝐵𝜑} = {𝑦𝐵 ∣ ∀𝑥𝐴 𝜑})
1615ineq1d 4181 . . 3 (𝐴 ≠ ∅ → ( 𝑥𝐴 {𝑦𝐵𝜑} ∩ 𝐵) = ({𝑦𝐵 ∣ ∀𝑥𝐴 𝜑} ∩ 𝐵))
17 ssrab2 4049 . . . 4 {𝑦𝐵 ∣ ∀𝑥𝐴 𝜑} ⊆ 𝐵
18 dfss 3946 . . . 4 ({𝑦𝐵 ∣ ∀𝑥𝐴 𝜑} ⊆ 𝐵 ↔ {𝑦𝐵 ∣ ∀𝑥𝐴 𝜑} = ({𝑦𝐵 ∣ ∀𝑥𝐴 𝜑} ∩ 𝐵))
1917, 18mpbi 232 . . 3 {𝑦𝐵 ∣ ∀𝑥𝐴 𝜑} = ({𝑦𝐵 ∣ ∀𝑥𝐴 𝜑} ∩ 𝐵)
2016, 19syl6eqr 2873 . 2 (𝐴 ≠ ∅ → ( 𝑥𝐴 {𝑦𝐵𝜑} ∩ 𝐵) = {𝑦𝐵 ∣ ∀𝑥𝐴 𝜑})
2114, 20pm2.61ine 3099 1 ( 𝑥𝐴 {𝑦𝐵𝜑} ∩ 𝐵) = {𝑦𝐵 ∣ ∀𝑥𝐴 𝜑}
Colors of variables: wff setvar class
Syntax hints:   = wceq 1536  wne 3015  wral 3137  {crab 3141  Vcvv 3491  cin 3928  wss 3929  c0 4284   ciin 4913
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1795  ax-4 1809  ax-5 1910  ax-6 1969  ax-7 2014  ax-8 2115  ax-9 2123  ax-10 2144  ax-11 2160  ax-12 2176  ax-ext 2792
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-tru 1539  df-ex 1780  df-nf 1784  df-sb 2069  df-clab 2799  df-cleq 2813  df-clel 2892  df-nfc 2962  df-ne 3016  df-ral 3142  df-rab 3146  df-v 3493  df-dif 3932  df-in 3936  df-ss 3945  df-nul 4285  df-iin 4915
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator