Metamath Proof Explorer


Theorem gcdmultiplei

Description: The GCD of a multiple of a positive integer is the positive integer itself. (Contributed by metakunt, 25-Apr-2024)

Ref Expression
Hypotheses gcdmultiplei.1 โŠข ๐‘€ โˆˆ โ„•
gcdmultiplei.2 โŠข ๐‘ โˆˆ โ„•
Assertion gcdmultiplei ( ๐‘€ gcd ( ๐‘€ ยท ๐‘ ) ) = ๐‘€

Proof

Step Hyp Ref Expression
1 gcdmultiplei.1 โŠข ๐‘€ โˆˆ โ„•
2 gcdmultiplei.2 โŠข ๐‘ โˆˆ โ„•
3 gcdmultiple โŠข ( ( ๐‘€ โˆˆ โ„• โˆง ๐‘ โˆˆ โ„• ) โ†’ ( ๐‘€ gcd ( ๐‘€ ยท ๐‘ ) ) = ๐‘€ )
4 1 2 3 mp2an โŠข ( ๐‘€ gcd ( ๐‘€ ยท ๐‘ ) ) = ๐‘€