Metamath Proof Explorer


Theorem dec2dvds

Description: Divisibility by two is obvious in base 10. (Contributed by Mario Carneiro, 19-Apr-2015)

Ref Expression
Hypotheses dec2dvds.1 A0
dec2dvds.2 B0
dec2dvds.3 B2=C
dec2dvds.4 D=C+1
Assertion dec2dvds Could not format assertion : No typesetting found for |- -. 2 || ; A D with typecode |-

Proof

Step Hyp Ref Expression
1 dec2dvds.1 A0
2 dec2dvds.2 B0
3 dec2dvds.3 B2=C
4 dec2dvds.4 D=C+1
5 5nn0 50
6 5 nn0zi 5
7 2z 2
8 dvdsmul2 52252
9 6 7 8 mp2an 252
10 5t2e10 52=10
11 9 10 breqtri 210
12 10nn0 100
13 12 nn0zi 10
14 1 nn0zi A
15 dvdsmultr1 210A210210A
16 7 13 14 15 mp3an 210210A
17 11 16 ax-mp 210A
18 2 nn0zi B
19 dvdsmul2 B22B2
20 18 7 19 mp2an 2B2
21 20 3 breqtri 2C
22 12 1 nn0mulcli 10A0
23 22 nn0zi 10A
24 2nn0 20
25 2 24 nn0mulcli B20
26 3 25 eqeltrri C0
27 26 nn0zi C
28 dvds2add 210AC210A2C210A+C
29 7 23 27 28 mp3an 210A2C210A+C
30 17 21 29 mp2an 210A+C
31 dfdec10 Could not format ; A C = ( ( ; 1 0 x. A ) + C ) : No typesetting found for |- ; A C = ( ( ; 1 0 x. A ) + C ) with typecode |-
32 30 31 breqtrri Could not format 2 || ; A C : No typesetting found for |- 2 || ; A C with typecode |-
33 1 26 deccl Could not format ; A C e. NN0 : No typesetting found for |- ; A C e. NN0 with typecode |-
34 33 nn0zi Could not format ; A C e. ZZ : No typesetting found for |- ; A C e. ZZ with typecode |-
35 2nn 2
36 1lt2 1<2
37 ndvdsp1 Could not format ( ( ; A C e. ZZ /\ 2 e. NN /\ 1 < 2 ) -> ( 2 || ; A C -> -. 2 || ( ; A C + 1 ) ) ) : No typesetting found for |- ( ( ; A C e. ZZ /\ 2 e. NN /\ 1 < 2 ) -> ( 2 || ; A C -> -. 2 || ( ; A C + 1 ) ) ) with typecode |-
38 34 35 36 37 mp3an Could not format ( 2 || ; A C -> -. 2 || ( ; A C + 1 ) ) : No typesetting found for |- ( 2 || ; A C -> -. 2 || ( ; A C + 1 ) ) with typecode |-
39 32 38 ax-mp Could not format -. 2 || ( ; A C + 1 ) : No typesetting found for |- -. 2 || ( ; A C + 1 ) with typecode |-
40 4 eqcomi C+1=D
41 eqid Could not format ; A C = ; A C : No typesetting found for |- ; A C = ; A C with typecode |-
42 1 26 40 41 decsuc Could not format ( ; A C + 1 ) = ; A D : No typesetting found for |- ( ; A C + 1 ) = ; A D with typecode |-
43 42 breq2i Could not format ( 2 || ( ; A C + 1 ) <-> 2 || ; A D ) : No typesetting found for |- ( 2 || ( ; A C + 1 ) <-> 2 || ; A D ) with typecode |-
44 39 43 mtbi Could not format -. 2 || ; A D : No typesetting found for |- -. 2 || ; A D with typecode |-