Metamath Proof Explorer


Theorem 2txmodxeq0

Description: Two times a positive real number modulo the real number is zero. (Contributed by Alexander van der Vekens, 8-Jun-2018)

Ref Expression
Assertion 2txmodxeq0 X + 2 X mod X = 0

Proof

Step Hyp Ref Expression
1 2cnd X + 2
2 rpcn X + X
3 rpne0 X + X 0
4 1 2 3 divcan4d X + 2 X X = 2
5 2z 2
6 4 5 eqeltrdi X + 2 X X
7 2re 2
8 7 a1i X + 2
9 rpre X + X
10 8 9 remulcld X + 2 X
11 mod0 2 X X + 2 X mod X = 0 2 X X
12 10 11 mpancom X + 2 X mod X = 0 2 X X
13 6 12 mpbird X + 2 X mod X = 0