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

Theorem vtocl2gaf 3273
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 2779 . . . . 5 𝑥 𝐴𝐶
5 nfv 1843 . . . . 5 𝑥 𝑦𝐷
64, 5nfan 1828 . . . 4 𝑥(𝐴𝐶𝑦𝐷)
7 vtocl2gaf.1 . . . 4 𝑥𝜓
86, 7nfim 1825 . . 3 𝑥((𝐴𝐶𝑦𝐷) → 𝜓)
92nfel1 2779 . . . . 5 𝑦 𝐴𝐶
103nfel1 2779 . . . . 5 𝑦 𝐵𝐷
119, 10nfan 1828 . . . 4 𝑦(𝐴𝐶𝐵𝐷)
12 vtocl2gaf.2 . . . 4 𝑦𝜒
1311, 12nfim 1825 . . 3 𝑦((𝐴𝐶𝐵𝐷) → 𝜒)
14 eleq1 2689 . . . . 5 (𝑥 = 𝐴 → (𝑥𝐶𝐴𝐶))
1514anbi1d 741 . . . 4 (𝑥 = 𝐴 → ((𝑥𝐶𝑦𝐷) ↔ (𝐴𝐶𝑦𝐷)))
16 vtocl2gaf.3 . . . 4 (𝑥 = 𝐴 → (𝜑𝜓))
1715, 16imbi12d 334 . . 3 (𝑥 = 𝐴 → (((𝑥𝐶𝑦𝐷) → 𝜑) ↔ ((𝐴𝐶𝑦𝐷) → 𝜓)))
18 eleq1 2689 . . . . 5 (𝑦 = 𝐵 → (𝑦𝐷𝐵𝐷))
1918anbi2d 740 . . . 4 (𝑦 = 𝐵 → ((𝐴𝐶𝑦𝐷) ↔ (𝐴𝐶𝐵𝐷)))
20 vtocl2gaf.4 . . . 4 (𝑦 = 𝐵 → (𝜓𝜒))
2119, 20imbi12d 334 . . 3 (𝑦 = 𝐵 → (((𝐴𝐶𝑦𝐷) → 𝜓) ↔ ((𝐴𝐶𝐵𝐷) → 𝜒)))
22 vtocl2gaf.5 . . 3 ((𝑥𝐶𝑦𝐷) → 𝜑)
231, 2, 3, 8, 13, 17, 21, 22vtocl2gf 3268 . 2 ((𝐴𝐶𝐵𝐷) → ((𝐴𝐶𝐵𝐷) → 𝜒))
2423pm2.43i 52 1 ((𝐴𝐶𝐵𝐷) → 𝜒)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 196  wa 384   = wceq 1483  wnf 1708  wcel 1990  wnfc 2751
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1722  ax-4 1737  ax-5 1839  ax-6 1888  ax-7 1935  ax-9 1999  ax-10 2019  ax-11 2034  ax-12 2047  ax-13 2246  ax-ext 2602
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-tru 1486  df-ex 1705  df-nf 1710  df-sb 1881  df-clab 2609  df-cleq 2615  df-clel 2618  df-nfc 2753  df-v 3202
This theorem is referenced by:  vtocl2ga  3274  ovmpt2s  6784  ov2gf  6785  ov3  6797  pwfseqlem2  9481  cnmptcom  21481
  Copyright terms: Public domain W3C validator