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

Theorem vtocl2gaf 3545
Description: Implicit substitution of 2 classes for 2 setvar variables. (Contributed by NM, 10-Aug-2013.) (Proof shortened by Wolf Lammen, 31-May-2025.)
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.c . . 3 𝑦𝐵
2 vtocl2gaf.b . . . . 5 𝑦𝐴
32nfel1 2943 . . . 4 𝑦 𝐴𝐶
4 vtocl2gaf.2 . . . 4 𝑦𝜒
53, 4nfim 1929 . . 3 𝑦(𝐴𝐶𝜒)
6 vtocl2gaf.4 . . . 4 (𝑦 = 𝐵 → (𝜓𝜒))
76imbi2d 343 . . 3 (𝑦 = 𝐵 → ((𝐴𝐶𝜓) ↔ (𝐴𝐶𝜒)))
8 vtocl2gaf.a . . . . 5 𝑥𝐴
9 nfv 1947 . . . . . 6 𝑥 𝑦𝐷
10 vtocl2gaf.1 . . . . . 6 𝑥𝜓
119, 10nfim 1929 . . . . 5 𝑥(𝑦𝐷𝜓)
12 vtocl2gaf.3 . . . . . 6 (𝑥 = 𝐴 → (𝜑𝜓))
1312imbi2d 343 . . . . 5 (𝑥 = 𝐴 → ((𝑦𝐷𝜑) ↔ (𝑦𝐷𝜓)))
14 vtocl2gaf.5 . . . . . 6 ((𝑥𝐶𝑦𝐷) → 𝜑)
1514ex 418 . . . . 5 (𝑥𝐶 → (𝑦𝐷𝜑))
168, 11, 13, 15vtoclgaf 3542 . . . 4 (𝐴𝐶 → (𝑦𝐷𝜓))
1716com12 33 . . 3 (𝑦𝐷 → (𝐴𝐶𝜓))
181, 5, 7, 17vtoclgaf 3542 . 2 (𝐵𝐷 → (𝐴𝐶𝜒))
1918impcom 413 1 ((𝐴𝐶𝐵𝐷) → 𝜒)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  wi 4  wb 209  wa 401   = wceq 1570  wnf 1816  wcel 2146  wnfc 2912
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2148  ax-9 2156  ax-10 2179  ax-11 2195  ax-12 2216  ax-ext 2737
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-tru 1573  df-ex 1813  df-nf 1817  df-sb 2100  df-clab 2744  df-cleq 2757  df-clel 2840  df-nfc 2914  df-v 3459
This theorem is used by:  vtocl3gaf  3546  ovmpos  7567  ov2gf  7568  ov3  7582  pwfseqlem2  10661  cnmptcom  23888
  Copyright terms: Public domain W3C validator