Metamath Proof Explorer


Theorem csbie2g

Description: Conversion of implicit substitution to explicit class substitution. This version of csbie avoids a disjointness condition on x , A and x , D by substituting twice. (Contributed by Mario Carneiro, 11-Nov-2016)

Ref Expression
Hypotheses csbie2g.1 ( 𝑥 = 𝑦𝐵 = 𝐶 )
csbie2g.2 ( 𝑦 = 𝐴𝐶 = 𝐷 )
Assertion csbie2g ( 𝐴𝑉 𝐴 / 𝑥 𝐵 = 𝐷 )

Proof

Step Hyp Ref Expression
1 csbie2g.1 ( 𝑥 = 𝑦𝐵 = 𝐶 )
2 csbie2g.2 ( 𝑦 = 𝐴𝐶 = 𝐷 )
3 df-csb 𝐴 / 𝑥 𝐵 = { 𝑧[ 𝐴 / 𝑥 ] 𝑧𝐵 }
4 1 eleq2d ( 𝑥 = 𝑦 → ( 𝑧𝐵𝑧𝐶 ) )
5 2 eleq2d ( 𝑦 = 𝐴 → ( 𝑧𝐶𝑧𝐷 ) )
6 4 5 sbcie2g ( 𝐴𝑉 → ( [ 𝐴 / 𝑥 ] 𝑧𝐵𝑧𝐷 ) )
7 6 abbi1dv ( 𝐴𝑉 → { 𝑧[ 𝐴 / 𝑥 ] 𝑧𝐵 } = 𝐷 )
8 3 7 syl5eq ( 𝐴𝑉 𝐴 / 𝑥 𝐵 = 𝐷 )