Metamath Proof Explorer


Theorem sbcoteq1a

Description: Equality theorem for substitution of a class for an ordered triple. (Contributed by Scott Fenton, 22-Aug-2024)

Ref Expression
Assertion sbcoteq1a A=xyz[˙1st1stA/x]˙[˙2nd1stA/y]˙[˙2ndA/z]˙φφ

Proof

Step Hyp Ref Expression
1 opex xyV
2 vex zV
3 1 2 op2ndd A=xyz2ndA=z
4 3 eqcomd A=xyzz=2ndA
5 sbceq1a z=2ndAφ[˙2ndA/z]˙φ
6 4 5 syl A=xyzφ[˙2ndA/z]˙φ
7 vex xV
8 vex yV
9 7 8 2 ot22ndd A=xyz2nd1stA=y
10 9 eqcomd A=xyzy=2nd1stA
11 sbceq1a y=2nd1stA[˙2ndA/z]˙φ[˙2nd1stA/y]˙[˙2ndA/z]˙φ
12 10 11 syl A=xyz[˙2ndA/z]˙φ[˙2nd1stA/y]˙[˙2ndA/z]˙φ
13 7 8 2 ot21std A=xyz1st1stA=x
14 13 eqcomd A=xyzx=1st1stA
15 sbceq1a x=1st1stA[˙2nd1stA/y]˙[˙2ndA/z]˙φ[˙1st1stA/x]˙[˙2nd1stA/y]˙[˙2ndA/z]˙φ
16 14 15 syl A=xyz[˙2nd1stA/y]˙[˙2ndA/z]˙φ[˙1st1stA/x]˙[˙2nd1stA/y]˙[˙2ndA/z]˙φ
17 6 12 16 3bitrrd A=xyz[˙1st1stA/x]˙[˙2nd1stA/y]˙[˙2ndA/z]˙φφ