Metamath Proof Explorer


Theorem modfrac

Description: The fractional part of a number is the number modulo 1. (Contributed by NM, 11-Nov-2008)

Ref Expression
Assertion modfrac AAmod1=AA

Proof

Step Hyp Ref Expression
1 1rp 1+
2 modval A1+Amod1=A1A1
3 1 2 mpan2 AAmod1=A1A1
4 recn AA
5 4 div1d AA1=A
6 5 fveq2d AA1=A
7 6 oveq2d A1A1=1A
8 reflcl AA
9 8 recnd AA
10 9 mullidd A1A=A
11 7 10 eqtrd A1A1=A
12 11 oveq2d AA1A1=AA
13 3 12 eqtrd AAmod1=AA