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 2872 . . . . 5 (𝐴 = ∅ → 𝑥𝐴 {𝑦𝐵𝜑} = V)
43ineq1d 4188 . . . 4 (𝐴 = ∅ → ( 𝑥𝐴 {𝑦𝐵𝜑} ∩ 𝐵) = (V ∩ 𝐵))
5 incom 4178 . . . . 5 (V ∩ 𝐵) = (𝐵 ∩ V)
6 inv1 4348 . . . . 5 (𝐵 ∩ V) = 𝐵
75, 6eqtri 2844 . . . 4 (V ∩ 𝐵) = 𝐵
84, 7syl6eq 2872 . . 3 (𝐴 = ∅ → ( 𝑥𝐴 {𝑦𝐵𝜑} ∩ 𝐵) = 𝐵)
9 rzal 4453 . . . 4 (𝐴 = ∅ → ∀𝑥𝐴𝑦𝐵 𝜑)
10 rabid2 3382 . . . . 5 (𝐵 = {𝑦𝐵 ∣ ∀𝑥𝐴 𝜑} ↔ ∀𝑦𝐵𝑥𝐴 𝜑)
11 ralcom 3354 . . . . 5 (∀𝑦𝐵𝑥𝐴 𝜑 ↔ ∀𝑥𝐴𝑦𝐵 𝜑)
1210, 11bitr2i 278 . . . 4 (∀𝑥𝐴𝑦𝐵 𝜑𝐵 = {𝑦𝐵 ∣ ∀𝑥𝐴 𝜑})
139, 12sylib 220 . . 3 (𝐴 = ∅ → 𝐵 = {𝑦𝐵 ∣ ∀𝑥𝐴 𝜑})
148, 13eqtrd 2856 . 2 (𝐴 = ∅ → ( 𝑥𝐴 {𝑦𝐵𝜑} ∩ 𝐵) = {𝑦𝐵 ∣ ∀𝑥𝐴 𝜑})
15 iinrab 4984 . . . 4 (𝐴 ≠ ∅ → 𝑥𝐴 {𝑦𝐵𝜑} = {𝑦𝐵 ∣ ∀𝑥𝐴 𝜑})
1615ineq1d 4188 . . 3 (𝐴 ≠ ∅ → ( 𝑥𝐴 {𝑦𝐵𝜑} ∩ 𝐵) = ({𝑦𝐵 ∣ ∀𝑥𝐴 𝜑} ∩ 𝐵))
17 ssrab2 4056 . . . 4 {𝑦𝐵 ∣ ∀𝑥𝐴 𝜑} ⊆ 𝐵
18 dfss 3953 . . . 4 ({𝑦𝐵 ∣ ∀𝑥𝐴 𝜑} ⊆ 𝐵 ↔ {𝑦𝐵 ∣ ∀𝑥𝐴 𝜑} = ({𝑦𝐵 ∣ ∀𝑥𝐴 𝜑} ∩ 𝐵))
1917, 18mpbi 232 . . 3 {𝑦𝐵 ∣ ∀𝑥𝐴 𝜑} = ({𝑦𝐵 ∣ ∀𝑥𝐴 𝜑} ∩ 𝐵)
2016, 19syl6eqr 2874 . 2 (𝐴 ≠ ∅ → ( 𝑥𝐴 {𝑦𝐵𝜑} ∩ 𝐵) = {𝑦𝐵 ∣ ∀𝑥𝐴 𝜑})
2114, 20pm2.61ine 3100 1 ( 𝑥𝐴 {𝑦𝐵𝜑} ∩ 𝐵) = {𝑦𝐵 ∣ ∀𝑥𝐴 𝜑}
Colors of variables: wff setvar class
Syntax hints:   = wceq 1533  wne 3016  wral 3138  {crab 3142  Vcvv 3495  cin 3935  wss 3936  c0 4291   ciin 4913
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1792  ax-4 1806  ax-5 1907  ax-6 1966  ax-7 2011  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2156  ax-12 2172  ax-ext 2793
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-tru 1536  df-ex 1777  df-nf 1781  df-sb 2066  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-ne 3017  df-ral 3143  df-rab 3147  df-v 3497  df-dif 3939  df-in 3943  df-ss 3952  df-nul 4292  df-iin 4915
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator