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 ( 𝑥 = 𝑦 → ( 𝜑𝜓 ) )
Assertion cdeqab1 CondEq ( 𝑥 = 𝑦 → { 𝑥𝜑 } = { 𝑦𝜓 } )

Proof

Step Hyp Ref Expression
1 cdeqnot.1 CondEq ( 𝑥 = 𝑦 → ( 𝜑𝜓 ) )
2 nfv 𝑦 𝜑
3 nfv 𝑥 𝜓
4 1 cdeqri ( 𝑥 = 𝑦 → ( 𝜑𝜓 ) )
5 2 3 4 cbvab { 𝑥𝜑 } = { 𝑦𝜓 }
6 5 cdeqth CondEq ( 𝑥 = 𝑦 → { 𝑥𝜑 } = { 𝑦𝜓 } )