Metamath Proof Explorer


Theorem deceq1

Description: Equality theorem for the decimal constructor. (Contributed by Mario Carneiro, 17-Apr-2015) (Revised by AV, 6-Sep-2021)

Ref Expression
Assertion deceq1 ( ๐ด = ๐ต โ†’ ๐ด ๐ถ = ๐ต ๐ถ )

Proof

Step Hyp Ref Expression
1 oveq2 โŠข ( ๐ด = ๐ต โ†’ ( ( 9 + 1 ) ยท ๐ด ) = ( ( 9 + 1 ) ยท ๐ต ) )
2 1 oveq1d โŠข ( ๐ด = ๐ต โ†’ ( ( ( 9 + 1 ) ยท ๐ด ) + ๐ถ ) = ( ( ( 9 + 1 ) ยท ๐ต ) + ๐ถ ) )
3 df-dec โŠข ๐ด ๐ถ = ( ( ( 9 + 1 ) ยท ๐ด ) + ๐ถ )
4 df-dec โŠข ๐ต ๐ถ = ( ( ( 9 + 1 ) ยท ๐ต ) + ๐ถ )
5 2 3 4 3eqtr4g โŠข ( ๐ด = ๐ต โ†’ ๐ด ๐ถ = ๐ต ๐ถ )