88theorem vp_gcd {a b : ℕ} (ha : a ≠ 0) (hb : b ≠ 0) (p : ℕ) : 89 vp p (Nat.gcd a b) = min (vp p a) (vp p b) := by
proof body
Term-mode proof.
90 simp only [vp] 91 rw [Nat.factorization_gcd ha hb] 92 rfl 93 94/-- The exponent of `p` in `lcm(a,b)` equals the maximum of the exponents. 95For nonzero `a, b` and prime `p`. -/
depends on (7)
Lean names referenced from this declaration's body.