Metamath Proof Explorer


Theorem ordvdsmul

Description: If an integer divides either of two others, it divides their product. (Contributed by Paul Chapman, 17-Nov-2012) (Proof shortened by Mario Carneiro, 17-Jul-2014)

Ref Expression
Assertion ordvdsmul ⊢ K ∈ ℤ ∧ M ∈ ℤ ∧ N ∈ ℤ → K ∥ M ∨ K ∥ N → K ∥ M ⋅ N

Proof

Step Hyp Ref Expression
1 dvdsmultr1 ⊢ K ∈ ℤ ∧ M ∈ ℤ ∧ N ∈ ℤ → K ∥ M → K ∥ M ⋅ N
2 dvdsmultr2 ⊢ K ∈ ℤ ∧ M ∈ ℤ ∧ N ∈ ℤ → K ∥ N → K ∥ M ⋅ N
3 1 2 jaod ⊢ K ∈ ℤ ∧ M ∈ ℤ ∧ N ∈ ℤ → K ∥ M ∨ K ∥ N → K ∥ M ⋅ N