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

Theorem vtocl2 1840
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 groups:   x,y,A   x,B,y   ψ,x,y

Proof of Theorem vtocl2
StepHypRef Expression
1 vtocl2.1 . . . . 5 AV
21isseti 1812 . . . 4 x x = A
3 vtocl2.2 . . . . 5 BV
43isseti 1812 . . . 4 y y = B
5 eeanv 1322 . . . . 5 (∃xy(x = Ay = B) ↔ (∃x x = A ⋀ ∃y y = B))
6 vtocl2.3 . . . . . . 7 ((x = Ay = B) → (φψ))
76biimpd 153 . . . . . 6 ((x = Ay = B) → (φψ))
8719.22i2 1040 . . . . 5 (∃xy(x = Ay = B) → ∃xy(φψ))
95, 8sylbir 201 . . . 4 ((∃x x = A ⋀ ∃y y = B) → ∃xy(φψ))
102, 4, 9mp2an 696 . . 3 xy(φψ)
11 19.36v 1299 . . . . 5 (∃y(φψ) ↔ (∀yφψ))
1211exbii 1050 . . . 4 (∃xy(φψ) ↔ ∃x(∀yφψ))
13 19.36v 1299 . . . 4 (∃x(∀yφψ) ↔ (∀xyφψ))
1412, 13bitr 173 . . 3 (∃xy(φψ) ↔ (∀xyφψ))
1510, 14mpbi 189 . 2 (∀xyφψ)
16 vtocl2.4 . . 3 φ
1716ax-gen 962 . 2 yφ
1815, 17mpg 985 1 ψ
Colors of variables: wff set class
Syntax hints:   → wi 3   ↔ wb 146   ⋀ wa 223  ∀wal 953   = wceq 955   ∈ wcel 957  ∃wex 979  Vcvv 1808
This theorem is referenced by:  caoprcom 4048  caoprord 4051  ersym 4265
This theorem was proved from axioms:  ax-1 4  ax-2 5  ax-3 6  ax-mp 7  ax-7 961  ax-gen 962  ax-12 967  ax-17 970  ax-4 972  ax-5o 974  ax-6o 977  ax-9o 1122  ax-ext 1458
This theorem depends on definitions:  df-bi 147  df-or 224  df-an 225  df-ex 980  df-sb 1171  df-clab 1463  df-cleq 1468  df-clel 1471  df-v 1809
Copyright terms: Public domain