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

Theorem vtocl2gaf 3505
Description: Implicit substitution of 2 classes for 2 setvar variables. (Contributed by NM, 10-Aug-2013.)
Hypotheses
Ref Expression
vtocl2gaf.a 𝑥𝐴
vtocl2gaf.b 𝑦𝐴
vtocl2gaf.c 𝑦𝐵
vtocl2gaf.1 𝑥𝜓
vtocl2gaf.2 𝑦𝜒
vtocl2gaf.3 (𝑥 = 𝐴 → (𝜑𝜓))
vtocl2gaf.4 (𝑦 = 𝐵 → (𝜓𝜒))
vtocl2gaf.5 ((𝑥𝐶𝑦𝐷) → 𝜑)
Assertion
Ref Expression
vtocl2gaf ((𝐴𝐶𝐵𝐷) → 𝜒)
Distinct variable groups:   𝑥,𝑦,𝐶   𝑥,𝐷,𝑦
Allowed substitution hints:   𝜑(𝑥,𝑦)   𝜓(𝑥,𝑦)   𝜒(𝑥,𝑦)   𝐴(𝑥,𝑦)   𝐵(𝑥,𝑦)

Proof of Theorem vtocl2gaf
StepHypRef Expression
1 vtocl2gaf.a . . 3 𝑥𝐴
2 vtocl2gaf.b . . 3 𝑦𝐴
3 vtocl2gaf.c . . 3 𝑦𝐵
41nfel1 2922 . . . . 5 𝑥 𝐴𝐶
5 nfv 1918 . . . . 5 𝑥 𝑦𝐷
64, 5nfan 1903 . . . 4 𝑥(𝐴𝐶𝑦𝐷)
7 vtocl2gaf.1 . . . 4 𝑥𝜓
86, 7nfim 1900 . . 3 𝑥((𝐴𝐶𝑦𝐷) → 𝜓)
92nfel1 2922 . . . . 5 𝑦 𝐴𝐶
103nfel1 2922 . . . . 5 𝑦 𝐵𝐷
119, 10nfan 1903 . . . 4 𝑦(𝐴𝐶𝐵𝐷)
12 vtocl2gaf.2 . . . 4 𝑦𝜒
1311, 12nfim 1900 . . 3 𝑦((𝐴𝐶𝐵𝐷) → 𝜒)
14 eleq1 2826 . . . . 5 (𝑥 = 𝐴 → (𝑥𝐶𝐴𝐶))
1514anbi1d 629 . . . 4 (𝑥 = 𝐴 → ((𝑥𝐶𝑦𝐷) ↔ (𝐴𝐶𝑦𝐷)))
16 vtocl2gaf.3 . . . 4 (𝑥 = 𝐴 → (𝜑𝜓))
1715, 16imbi12d 344 . . 3 (𝑥 = 𝐴 → (((𝑥𝐶𝑦𝐷) → 𝜑) ↔ ((𝐴𝐶𝑦𝐷) → 𝜓)))
18 eleq1 2826 . . . . 5 (𝑦 = 𝐵 → (𝑦𝐷𝐵𝐷))
1918anbi2d 628 . . . 4 (𝑦 = 𝐵 → ((𝐴𝐶𝑦𝐷) ↔ (𝐴𝐶𝐵𝐷)))
20 vtocl2gaf.4 . . . 4 (𝑦 = 𝐵 → (𝜓𝜒))
2119, 20imbi12d 344 . . 3 (𝑦 = 𝐵 → (((𝐴𝐶𝑦𝐷) → 𝜓) ↔ ((𝐴𝐶𝐵𝐷) → 𝜒)))
22 vtocl2gaf.5 . . 3 ((𝑥𝐶𝑦𝐷) → 𝜑)
231, 2, 3, 8, 13, 17, 21, 22vtocl2gf 3498 . 2 ((𝐴𝐶𝐵𝐷) → ((𝐴𝐶𝐵𝐷) → 𝜒))
2423pm2.43i 52 1 ((𝐴𝐶𝐵𝐷) → 𝜒)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395   = wceq 1539  wnf 1787  wcel 2108  wnfc 2886
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-tru 1542  df-ex 1784  df-nf 1788  df-sb 2069  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-v 3424
This theorem is referenced by:  ovmpos  7399  ov2gf  7400  ov3  7413  pwfseqlem2  10346  cnmptcom  22737
  Copyright terms: Public domain W3C validator