Metamath Proof Explorer


Theorem gcdle2d

Description: The greatest common divisor of a positive integer and another integer is less than or equal to the positive integer. (Contributed by SN, 25-Aug-2024)

Ref Expression
Hypotheses gcdle2d.m φM
gcdle2d.n φN
Assertion gcdle2d φMgcdNN

Proof

Step Hyp Ref Expression
1 gcdle2d.m φM
2 gcdle2d.n φN
3 2 nnzd φN
4 gcddvds MNMgcdNMMgcdNN
5 1 3 4 syl2anc φMgcdNMMgcdNN
6 5 simprd φMgcdNN
7 1 3 gcdcld φMgcdN0
8 7 nn0zd φMgcdN
9 dvdsle MgcdNNMgcdNNMgcdNN
10 8 2 9 syl2anc φMgcdNNMgcdNN
11 6 10 mpd φMgcdNN