Metamath Proof Explorer


Theorem eqsbc3r

Description: eqsbc3 with setvar variable on right side of equals sign. (Contributed by Alan Sare, 24-Oct-2011) (Proof shortened by JJ, 7-Jul-2021)

Ref Expression
Assertion eqsbc3r ( 𝐴𝑉 → ( [ 𝐴 / 𝑥 ] 𝐵 = 𝑥𝐵 = 𝐴 ) )

Proof

Step Hyp Ref Expression
1 eqsbc3 ( 𝐴𝑉 → ( [ 𝐴 / 𝑥 ] 𝑥 = 𝐵𝐴 = 𝐵 ) )
2 eqcom ( 𝐵 = 𝑥𝑥 = 𝐵 )
3 2 sbcbii ( [ 𝐴 / 𝑥 ] 𝐵 = 𝑥[ 𝐴 / 𝑥 ] 𝑥 = 𝐵 )
4 eqcom ( 𝐵 = 𝐴𝐴 = 𝐵 )
5 1 3 4 3bitr4g ( 𝐴𝑉 → ( [ 𝐴 / 𝑥 ] 𝐵 = 𝑥𝐵 = 𝐴 ) )