The degree of rational functions #
Main definitions #
We define the degree of a rational function, with values in โค:
@[simp]
@[simp]
theorem
RatFunc.intDegree_polynomial
{K : Type u}
[Field K]
{p : Polynomial K}
:
((algebraMap (Polynomial K) (RatFunc K)) p).intDegree = โp.natDegree
@[simp]
@[simp]
theorem
RatFunc.natDegree_num_mul_right_sub_natDegree_denom_mul_left_eq_intDegree
{K : Type u}
[Field K]
{x : RatFunc K}
(hx : x โ 0)
{s : Polynomial K}
(hs : s โ 0)
: