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

Theorem 2gencl 1366
Description: Implicit substitution for class with embedded variable.
Hypotheses
Ref Expression
2gencl.1 (CS ↔ ∃x(xRA = C))
2gencl.2 (DS ↔ ∃y(yRB = D))
2gencl.3 (A = C → (φψ))
2gencl.4 (B = D → (ψχ))
2gencl.5 ((xRyR) → φ)
Assertion
Ref Expression
2gencl ((CSDS) → χ)
Distinct variable group(s):   x,y   x,R   ψ,x   y,C   y,S   χ,y

Proof of Theorem 2gencl
StepHypRef Expression
1 2gencl.2 . . . 4 (DS ↔ ∃y(yRB = D))
2 2gencl.4 . . . . 5 (B = D → (ψχ))
32imbi2d 464 . . . 4 (B = D → ((CSψ) ↔ (CSχ)))
4 2gencl.1 . . . . . 6 (CS ↔ ∃x(xRA = C))
5 2gencl.3 . . . . . . 7 (A = C → (φψ))
65imbi2d 464 . . . . . 6 (A = C → ((yRφ) ↔ (yRψ)))
7 2gencl.5 . . . . . . 7 ((xRyR) → φ)
87exp 291 . . . . . 6 (xR → (yRφ))
94, 6, 8gencl 1365 . . . . 5 (CS → (yRψ))
109com12 13 . . . 4 (yR → (CSψ))
111, 3, 10gencl 1365 . . 3 (DS → (CSχ))
1211com12 13 . 2 (CS → (DSχ))
1312imp 277 1 ((CSDS) → χ)
Colors of variables: wff set class
Syntax hints:   → wi 2   ↔ wb 127   ∧ wa 196  ∃wex 678   = wceq 1091   ∈ wcel 1092
This theorem is referenced by:  3gencl 1367  axaddrcl 4067  axmulrcl 4069  axmulgt0 4086
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-gen 677  ax-17 925
This theorem depends on definitions:  df-bi 128  df-an 198  df-ex 679
metamath.org