Description: Closure of multiplication of nonnegative integers. (Contributed by NM, 22-Jul-2004) (Proof shortened by Mario Carneiro, 17-Jul-2014)
Ref | Expression | ||
---|---|---|---|
Assertion | nn0mulcl | ⊢ ( ( 𝑀 ∈ ℕ0 ∧ 𝑁 ∈ ℕ0 ) → ( 𝑀 · 𝑁 ) ∈ ℕ0 ) |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | nnsscn | ⊢ ℕ ⊆ ℂ | |
2 | id | ⊢ ( ℕ ⊆ ℂ → ℕ ⊆ ℂ ) | |
3 | df-n0 | ⊢ ℕ0 = ( ℕ ∪ { 0 } ) | |
4 | nnmulcl | ⊢ ( ( 𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ ) → ( 𝑀 · 𝑁 ) ∈ ℕ ) | |
5 | 4 | adantl | ⊢ ( ( ℕ ⊆ ℂ ∧ ( 𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ ) ) → ( 𝑀 · 𝑁 ) ∈ ℕ ) |
6 | 2 3 5 | un0mulcl | ⊢ ( ( ℕ ⊆ ℂ ∧ ( 𝑀 ∈ ℕ0 ∧ 𝑁 ∈ ℕ0 ) ) → ( 𝑀 · 𝑁 ) ∈ ℕ0 ) |
7 | 1 6 | mpan | ⊢ ( ( 𝑀 ∈ ℕ0 ∧ 𝑁 ∈ ℕ0 ) → ( 𝑀 · 𝑁 ) ∈ ℕ0 ) |