Metamath Proof Explorer


Theorem cbvcllem

Description: Change of bound variable in class of supersets of a with a property. (Contributed by RP, 24-Jul-2020)

Ref Expression
Hypothesis cbvcllem.y ( 𝑥 = 𝑦 → ( 𝜑𝜓 ) )
Assertion cbvcllem { 𝑥 ∣ ( 𝑋𝑥𝜑 ) } = { 𝑦 ∣ ( 𝑋𝑦𝜓 ) }

Proof

Step Hyp Ref Expression
1 cbvcllem.y ( 𝑥 = 𝑦 → ( 𝜑𝜓 ) )
2 1 cleq2lem ( 𝑥 = 𝑦 → ( ( 𝑋𝑥𝜑 ) ↔ ( 𝑋𝑦𝜓 ) ) )
3 2 cbvabv { 𝑥 ∣ ( 𝑋𝑥𝜑 ) } = { 𝑦 ∣ ( 𝑋𝑦𝜓 ) }