Metamath Proof Explorer


Theorem wsuceq2

Description: Equality theorem for well-founded successor. (Contributed by Scott Fenton, 13-Jun-2018)

Ref Expression
Assertion wsuceq2 ( 𝐴 = 𝐵 → wsuc ( 𝑅 , 𝐴 , 𝑋 ) = wsuc ( 𝑅 , 𝐵 , 𝑋 ) )

Proof

Step Hyp Ref Expression
1 eqid 𝑅 = 𝑅
2 eqid 𝑋 = 𝑋
3 wsuceq123 ( ( 𝑅 = 𝑅𝐴 = 𝐵𝑋 = 𝑋 ) → wsuc ( 𝑅 , 𝐴 , 𝑋 ) = wsuc ( 𝑅 , 𝐵 , 𝑋 ) )
4 1 2 3 mp3an13 ( 𝐴 = 𝐵 → wsuc ( 𝑅 , 𝐴 , 𝑋 ) = wsuc ( 𝑅 , 𝐵 , 𝑋 ) )