Metamath Proof Explorer


Theorem cdeqab1

Description: Distribute conditional equality over abstraction. Usage of this theorem is discouraged because it depends on ax-13 . (Contributed by Mario Carneiro, 11-Aug-2016) (New usage is discouraged.)

Ref Expression
Hypothesis cdeqnot.1 CondEq x = y φ ψ
Assertion cdeqab1 CondEq x = y x | φ = y | ψ

Proof

Step Hyp Ref Expression
1 cdeqnot.1 CondEq x = y φ ψ
2 nfv y φ
3 nfv x ψ
4 1 cdeqri x = y φ ψ
5 2 3 4 cbvab x | φ = y | ψ
6 5 cdeqth CondEq x = y x | φ = y | ψ