Metamath Proof Explorer


Theorem dec5nprm

Description: A decimal number greater than 10 and ending with five is not a prime number. (Contributed by Mario Carneiro, 19-Apr-2015)

Ref Expression
Hypothesis dec5nprm.1 ⊢ A ∈ ℕ
Assertion dec5nprm Could not format assertion : No typesetting found for |- -. ; A 5 e. Prime with typecode |-

Proof

Step Hyp Ref Expression
1 dec5nprm.1 ⊢ A ∈ ℕ
2 2nn ⊢ 2 ∈ ℕ
3 2 1 nnmulcli ⊢ 2 ⁢ A ∈ ℕ
4 peano2nn ⊢ 2 ⁢ A ∈ ℕ → 2 ⁢ A + 1 ∈ ℕ
5 3 4 ax-mp ⊢ 2 ⁢ A + 1 ∈ ℕ
6 5nn ⊢ 5 ∈ ℕ
7 1nn0 ⊢ 1 ∈ ℕ 0
8 1lt2 ⊢ 1 < 2
9 2 1 7 7 8 numlti ⊢ 1 < 2 ⁢ A + 1
10 1lt5 ⊢ 1 < 5
11 2 nncni ⊢ 2 ∈ ℂ
12 1 nncni ⊢ A ∈ ℂ
13 5cn ⊢ 5 ∈ ℂ
14 11 12 13 mul32i ⊢ 2 ⁢ A ⋅ 5 = 2 ⋅ 5 ⁢ A
15 5t2e10 ⊢ 5 ⋅ 2 = 10
16 13 11 15 mulcomli ⊢ 2 ⋅ 5 = 10
17 16 oveq1i ⊢ 2 ⋅ 5 ⁢ A = 10 ⁢ A
18 14 17 eqtri ⊢ 2 ⁢ A ⋅ 5 = 10 ⁢ A
19 13 mullidi ⊢ 1 ⋅ 5 = 5
20 18 19 oveq12i ⊢ 2 ⁢ A ⋅ 5 + 1 ⋅ 5 = 10 ⁢ A + 5
21 3 nncni ⊢ 2 ⁢ A ∈ ℂ
22 ax-1cn ⊢ 1 ∈ ℂ
23 21 22 13 adddiri ⊢ 2 ⁢ A + 1 ⋅ 5 = 2 ⁢ A ⋅ 5 + 1 ⋅ 5
24 dfdec10 Could not format ; A 5 = ( ( ; 1 0 x. A ) + 5 ) : No typesetting found for |- ; A 5 = ( ( ; 1 0 x. A ) + 5 ) with typecode |-
25 20 23 24 3eqtr4i Could not format ( ( ( 2 x. A ) + 1 ) x. 5 ) = ; A 5 : No typesetting found for |- ( ( ( 2 x. A ) + 1 ) x. 5 ) = ; A 5 with typecode |-
26 5 6 9 10 25 nprmi Could not format -. ; A 5 e. Prime : No typesetting found for |- -. ; A 5 e. Prime with typecode |-