Metamath Proof Explorer


Theorem mojust

Description: Soundness justification theorem for df-mo (note that y and z need not be disjoint, although the weaker theorem with that disjoint variable condition added would be enough to justify the soundness of the definition). (Contributed by NM, 11-Mar-2010) Added this theorem by adapting the proof of eujust . (Revised by BJ, 30-Sep-2022)

Ref Expression
Assertion mojust y x φ x = y z x φ x = z

Proof

Step Hyp Ref Expression
1 equequ2 y = t x = y x = t
2 1 imbi2d y = t φ x = y φ x = t
3 2 albidv y = t x φ x = y x φ x = t
4 3 cbvexvw y x φ x = y t x φ x = t
5 equequ2 t = z x = t x = z
6 5 imbi2d t = z φ x = t φ x = z
7 6 albidv t = z x φ x = t x φ x = z
8 7 cbvexvw t x φ x = t z x φ x = z
9 4 8 bitri y x φ x = y z x φ x = z