Metamath Proof Explorer


Theorem gcdcld

Description: Closure of the gcd operator. (Contributed by Mario Carneiro, 29-May-2016)

Ref Expression
Hypotheses gcdcld.1 ⊢ φ → M ∈ ℤ
gcdcld.2 ⊢ φ → N ∈ ℤ
Assertion gcdcld ⊢ φ → M gcd N ∈ ℕ 0

Proof

Step Hyp Ref Expression
1 gcdcld.1 ⊢ φ → M ∈ ℤ
2 gcdcld.2 ⊢ φ → N ∈ ℤ
3 gcdcl ⊢ M ∈ ℤ ∧ N ∈ ℤ → M gcd N ∈ ℕ 0
4 1 2 3 syl2anc ⊢ φ → M gcd N ∈ ℕ 0