Metamath Proof Explorer


Theorem nnsqcl

Description: The positive naturals are closed under squaring. (Contributed by Scott Fenton, 29-Mar-2014) (Revised by Mario Carneiro, 19-Apr-2014)

Ref Expression
Assertion nnsqcl ⊢ A ∈ ℕ → A 2 ∈ ℕ

Proof

Step Hyp Ref Expression
1 nncn ⊢ A ∈ ℕ → A ∈ ℂ
2 sqval ⊢ A ∈ ℂ → A 2 = A ⁢ A
3 1 2 syl ⊢ A ∈ ℕ → A 2 = A ⁢ A
4 nnmulcl ⊢ A ∈ ℕ ∧ A ∈ ℕ → A ⁢ A ∈ ℕ
5 4 anidms ⊢ A ∈ ℕ → A ⁢ A ∈ ℕ
6 3 5 eqeltrd ⊢ A ∈ ℕ → A 2 ∈ ℕ