HomeHome Metamath Proof Explorer < Previous   Next >
Related theorems
GIF version

Theorem vtocl2 1379
Description: Implicit substitution of classes for set variables.
Hypotheses
Ref Expression
vtocl2.1 AV
vtocl2.2 BV
vtocl2.3 ((x = Ay = B) → (φψ))
vtocl2.4 φ
Assertion
Ref Expression
vtocl2 ψ
Distinct variable group(s):   x,y,A   x,B,y   ψ,x,y

Proof of Theorem vtocl2
StepHypRef Expression
1 vtocl2.1 . . . . 5 AV
21isseti 1352 . . . 4 x x = A
3 vtocl2.2 . . . . 5 BV
43isseti 1352 . . . 4 y y = B
5 eeanv 980 . . . . 5 (∃xy(x = Ay = B) ↔ (∃x x = A ∧ ∃y y = B))
6 vtocl2.3 . . . . . . . 8 ((x = Ay = B) → (φψ))
76biimpd 135 . . . . . . 7 ((x = Ay = B) → (φψ))
8719.22i 723 . . . . . 6 (∃y(x = Ay = B) → ∃y(φψ))
9819.22i 723 . . . . 5 (∃xy(x = Ay = B) → ∃xy(φψ))
105, 9sylbir 176 . . . 4 ((∃x x = A ∧ ∃y y = B) → ∃xy(φψ))
112, 4, 10mp2an 520 . . 3 xy(φψ)
12 19.36v 958 . . . . 5 (∃y(φψ) ↔ (∀yφψ))
1312biex 733 . . . 4 (∃xy(φψ) ↔ ∃x(∀yφψ))
14 19.36v 958 . . . 4 (∃x(∀yφψ) ↔ (∀xyφψ))
1513, 14bitr 151 . . 3 (∃xy(φψ) ↔ (∀xyφψ))
1611, 15mpbi 164 . 2 (∀xyφψ)
17 vtocl2.4 . . 3 φ
1817ax-gen 677 . 2 yφ
1916, 18mpg 684 1 ψ
Colors of variables: wff set class
Syntax hints:   → wi 2   ↔ wb 127   ∧ wa 196  ∀wal 672  ∃wex 678   = wceq 1091   ∈ wcel 1092  Vcvv 1348
This theorem is referenced by:  caoprcom 3067  caoprord 3070  ersym 3209
This theorem was proved from axioms:  ax-1 3  ax-2 4  ax-3 5  ax-mp 6  ax-4 673  ax-5 674  ax-6 675  ax-7 676  ax-gen 677  ax-9 799  ax-12 802  ax-17 925  ax-ext 1074
This theorem depends on definitions:  df-bi 128  df-or 197  df-an 198  df-ex 679  df-sb 853  df-clab 1093  df-cleq 1097  df-clel 1099  df-v 1349
metamath.org