author | haftmann |
Thu, 02 Oct 2014 11:33:08 +0200 | |
changeset 58513 | 0bf0cf1d3547 |
parent 58512 | dc4d76dfa8f0 |
child 58518 | 07901e99565c |
--- a/src/HOL/Library/Polynomial.thy Thu Oct 02 11:33:06 2014 +0200 +++ b/src/HOL/Library/Polynomial.thy Thu Oct 02 11:33:08 2014 +0200 @@ -1724,6 +1724,10 @@ declare gcd_poly.simps [simp del] +definition lcm_poly :: "'a::field poly \<Rightarrow> 'a poly \<Rightarrow> 'a poly" +where + "lcm_poly a b = a * b div smult (coeff a (degree a) * coeff b (degree b)) (gcd a b)" + instance .. end