Metamath Proof Explorer


Theorem dpfrac1

Description: Prove a simple equivalence involving the decimal point. See df-dp and dpcl . (Contributed by David A. Wheeler, 15-May-2015) (Revised by AV, 9-Sep-2021)

Ref Expression
Assertion dpfrac1 Could not format assertion : No typesetting found for |- ( ( A e. NN0 /\ B e. RR ) -> ( A . B ) = ( ; A B / ; 1 0 ) ) with typecode |-

Proof

Step Hyp Ref Expression
1 df-dp2 Could not format _ A B = ( A + ( B / ; 1 0 ) ) : No typesetting found for |- _ A B = ( A + ( B / ; 1 0 ) ) with typecode |-
2 dpval Could not format ( ( A e. NN0 /\ B e. RR ) -> ( A . B ) = _ A B ) : No typesetting found for |- ( ( A e. NN0 /\ B e. RR ) -> ( A . B ) = _ A B ) with typecode |-
3 nn0cn A0A
4 recn BB
5 dfdec10 Could not format ; A B = ( ( ; 1 0 x. A ) + B ) : No typesetting found for |- ; A B = ( ( ; 1 0 x. A ) + B ) with typecode |-
6 5 oveq1i Could not format ( ; A B / ; 1 0 ) = ( ( ( ; 1 0 x. A ) + B ) / ; 1 0 ) : No typesetting found for |- ( ; A B / ; 1 0 ) = ( ( ( ; 1 0 x. A ) + B ) / ; 1 0 ) with typecode |-
7 10re 10
8 7 recni 10
9 8 a1i A10
10 id AA
11 9 10 mulcld A10A
12 10pos 0<10
13 7 12 gt0ne0ii 100
14 8 13 pm3.2i 10100
15 divdir 10AB1010010A+B10=10A10+B10
16 14 15 mp3an3 10AB10A+B10=10A10+B10
17 11 16 sylan AB10A+B10=10A10+B10
18 divcan3 A1010010A10=A
19 8 13 18 mp3an23 A10A10=A
20 19 oveq1d A10A10+B10=A+B10
21 20 adantr AB10A10+B10=A+B10
22 17 21 eqtrd AB10A+B10=A+B10
23 6 22 eqtrid Could not format ( ( A e. CC /\ B e. CC ) -> ( ; A B / ; 1 0 ) = ( A + ( B / ; 1 0 ) ) ) : No typesetting found for |- ( ( A e. CC /\ B e. CC ) -> ( ; A B / ; 1 0 ) = ( A + ( B / ; 1 0 ) ) ) with typecode |-
24 3 4 23 syl2an Could not format ( ( A e. NN0 /\ B e. RR ) -> ( ; A B / ; 1 0 ) = ( A + ( B / ; 1 0 ) ) ) : No typesetting found for |- ( ( A e. NN0 /\ B e. RR ) -> ( ; A B / ; 1 0 ) = ( A + ( B / ; 1 0 ) ) ) with typecode |-
25 1 2 24 3eqtr4a Could not format ( ( A e. NN0 /\ B e. RR ) -> ( A . B ) = ( ; A B / ; 1 0 ) ) : No typesetting found for |- ( ( A e. NN0 /\ B e. RR ) -> ( A . B ) = ( ; A B / ; 1 0 ) ) with typecode |-