src/HOL/Analysis/Poly_Roots.thy
author fleury <Mathias.Fleury@mpi-inf.mpg.de>
Mon Sep 19 20:06:21 2016 +0200 (2016-09-19)
changeset 63918 6bf55e6e0b75
parent 63627 6ddb43c6b711
child 64267 b9a1486e79be
permissions -rw-r--r--
left_distrib ~> distrib_right, right_distrib ~> distrib_left
lp15@56215
     1
(*  Author: John Harrison and Valentina Bruno
lp15@56215
     2
    Ported from "hol_light/Multivariate/complexes.ml" by L C Paulson
lp15@56215
     3
*)
lp15@56215
     4
wenzelm@61560
     5
section \<open>polynomial functions: extremal behaviour and root counts\<close>
wenzelm@61560
     6
hoelzl@63594
     7
theory Poly_Roots
lp15@56215
     8
imports Complex_Main
lp15@56215
     9
begin
lp15@56215
    10
wenzelm@60420
    11
subsection\<open>Geometric progressions\<close>
lp15@56215
    12
lp15@56215
    13
lemma setsum_gp_basic:
lp15@56215
    14
  fixes x :: "'a::{comm_ring,monoid_mult}"
lp15@56215
    15
  shows "(1 - x) * (\<Sum>i\<le>n. x^i) = 1 - x^Suc n"
lp15@56215
    16
  by (simp only: one_diff_power_eq [of "Suc n" x] lessThan_Suc_atMost)
lp15@56215
    17
lp15@56215
    18
lemma setsum_gp0:
haftmann@59867
    19
  fixes x :: "'a::{comm_ring,division_ring}"
lp15@59615
    20
  shows   "(\<Sum>i\<le>n. x^i) = (if x = 1 then of_nat(n + 1) else (1 - x^Suc n) / (1 - x))"
lp15@59615
    21
  using setsum_gp_basic[of x n]
lp15@61609
    22
  by (simp add: mult.commute divide_simps)
lp15@59615
    23
lp15@59615
    24
lemma setsum_power_add:
lp15@59615
    25
  fixes x :: "'a::{comm_ring,monoid_mult}"
lp15@59615
    26
  shows "(\<Sum>i\<in>I. x^(m+i)) = x^m * (\<Sum>i\<in>I. x^i)"
Mathias@63918
    27
  by (simp add: setsum_distrib_left power_add)
lp15@56215
    28
lp15@56215
    29
lemma setsum_power_shift:
lp15@56215
    30
  fixes x :: "'a::{comm_ring,monoid_mult}"
lp15@56215
    31
  assumes "m \<le> n"
lp15@56215
    32
  shows "(\<Sum>i=m..n. x^i) = x^m * (\<Sum>i\<le>n-m. x^i)"
lp15@56215
    33
proof -
lp15@56215
    34
  have "(\<Sum>i=m..n. x^i) = x^m * (\<Sum>i=m..n. x^(i-m))"
Mathias@63918
    35
    by (simp add: setsum_distrib_left power_add [symmetric])
hoelzl@57129
    36
  also have "(\<Sum>i=m..n. x^(i-m)) = (\<Sum>i\<le>n-m. x^i)"
wenzelm@60420
    37
    using \<open>m \<le> n\<close> by (intro setsum.reindex_bij_witness[where j="\<lambda>i. i - m" and i="\<lambda>i. i + m"]) auto
lp15@56215
    38
  finally show ?thesis .
lp15@56215
    39
qed
lp15@56215
    40
lp15@56215
    41
lemma setsum_gp_multiplied:
lp15@56215
    42
  fixes x :: "'a::{comm_ring,monoid_mult}"
lp15@56215
    43
  assumes "m \<le> n"
lp15@56215
    44
  shows "(1 - x) * (\<Sum>i=m..n. x^i) = x^m - x^Suc n"
lp15@56215
    45
proof -
lp15@56215
    46
  have  "(1 - x) * (\<Sum>i=m..n. x^i) = x^m * (1 - x) * (\<Sum>i\<le>n-m. x^i)"
haftmann@57514
    47
    by (metis mult.assoc mult.commute assms setsum_power_shift)
lp15@56215
    48
  also have "... =x^m * (1 - x^Suc(n-m))"
haftmann@57514
    49
    by (metis mult.assoc setsum_gp_basic)
lp15@56215
    50
  also have "... = x^m - x^Suc n"
lp15@56215
    51
    using assms
lp15@56215
    52
    by (simp add: algebra_simps) (metis le_add_diff_inverse power_add)
lp15@56215
    53
  finally show ?thesis .
lp15@56215
    54
qed
lp15@56215
    55
lp15@56215
    56
lemma setsum_gp:
haftmann@59867
    57
  fixes x :: "'a::{comm_ring,division_ring}"
lp15@56215
    58
  shows   "(\<Sum>i=m..n. x^i) =
lp15@56215
    59
               (if n < m then 0
lp15@56215
    60
                else if x = 1 then of_nat((n + 1) - m)
lp15@56215
    61
                else (x^m - x^Suc n) / (1 - x))"
lp15@61609
    62
using setsum_gp_multiplied [of m n x]
lp15@61609
    63
apply auto
haftmann@57512
    64
by (metis eq_iff_diff_eq_0 mult.commute nonzero_divide_eq_eq)
lp15@56215
    65
lp15@56215
    66
lemma setsum_gp_offset:
haftmann@59867
    67
  fixes x :: "'a::{comm_ring,division_ring}"
lp15@56215
    68
  shows   "(\<Sum>i=m..m+n. x^i) =
lp15@56215
    69
       (if x = 1 then of_nat n + 1 else x^m * (1 - x^Suc n) / (1 - x))"
lp15@56215
    70
  using setsum_gp [of x m "m+n"]
lp15@56215
    71
  by (auto simp: power_add algebra_simps)
lp15@56215
    72
lp15@59615
    73
lemma setsum_gp_strict:
haftmann@59867
    74
  fixes x :: "'a::{comm_ring,division_ring}"
lp15@59615
    75
  shows "(\<Sum>i<n. x^i) = (if x = 1 then of_nat n else (1 - x^n) / (1 - x))"
lp15@59615
    76
  by (induct n) (auto simp: algebra_simps divide_simps)
lp15@61609
    77
wenzelm@60420
    78
subsection\<open>Basics about polynomial functions: extremal behaviour and root counts.\<close>
lp15@56215
    79
lp15@56215
    80
lemma sub_polyfun:
lp15@56215
    81
  fixes x :: "'a::{comm_ring,monoid_mult}"
lp15@61609
    82
  shows   "(\<Sum>i\<le>n. a i * x^i) - (\<Sum>i\<le>n. a i * y^i) =
lp15@56215
    83
           (x - y) * (\<Sum>j<n. \<Sum>k= Suc j..n. a k * y^(k - Suc j) * x^j)"
lp15@56215
    84
proof -
lp15@61609
    85
  have "(\<Sum>i\<le>n. a i * x^i) - (\<Sum>i\<le>n. a i * y^i) =
lp15@56215
    86
        (\<Sum>i\<le>n. a i * (x^i - y^i))"
lp15@56215
    87
    by (simp add: algebra_simps setsum_subtractf [symmetric])
lp15@56215
    88
  also have "... = (\<Sum>i\<le>n. a i * (x - y) * (\<Sum>j<i. y^(i - Suc j) * x^j))"
haftmann@57514
    89
    by (simp add: power_diff_sumr2 ac_simps)
lp15@56215
    90
  also have "... = (x - y) * (\<Sum>i\<le>n. (\<Sum>j<i. a i * y^(i - Suc j) * x^j))"
Mathias@63918
    91
    by (simp add: setsum_distrib_left ac_simps)
lp15@56215
    92
  also have "... = (x - y) * (\<Sum>j<n. (\<Sum>i=Suc j..n. a i * y^(i - Suc j) * x^j))"
lp15@56215
    93
    by (simp add: nested_setsum_swap')
lp15@56215
    94
  finally show ?thesis .
lp15@56215
    95
qed
lp15@56215
    96
lp15@56215
    97
lemma sub_polyfun_alt:
lp15@56215
    98
  fixes x :: "'a::{comm_ring,monoid_mult}"
lp15@61609
    99
  shows   "(\<Sum>i\<le>n. a i * x^i) - (\<Sum>i\<le>n. a i * y^i) =
lp15@56215
   100
           (x - y) * (\<Sum>j<n. \<Sum>k<n-j. a (j+k+1) * y^k * x^j)"
lp15@56215
   101
proof -
lp15@56215
   102
  { fix j
lp15@56215
   103
    have "(\<Sum>k = Suc j..n. a k * y^(k - Suc j) * x^j) =
lp15@56215
   104
          (\<Sum>k <n - j. a (Suc (j + k)) * y^k * x^j)"
hoelzl@57129
   105
      by (rule setsum.reindex_bij_witness[where i="\<lambda>i. i + Suc j" and j="\<lambda>i. i - Suc j"]) auto }
lp15@56215
   106
  then show ?thesis
lp15@56215
   107
    by (simp add: sub_polyfun)
lp15@56215
   108
qed
lp15@56215
   109
lp15@56215
   110
lemma polyfun_linear_factor:
lp15@56215
   111
  fixes a :: "'a::{comm_ring,monoid_mult}"
lp15@61609
   112
  shows  "\<exists>b. \<forall>z. (\<Sum>i\<le>n. c i * z^i) =
lp15@56215
   113
                  (z-a) * (\<Sum>i<n. b i * z^i) + (\<Sum>i\<le>n. c i * a^i)"
lp15@56215
   114
proof -
lp15@56215
   115
  { fix z
lp15@61609
   116
    have "(\<Sum>i\<le>n. c i * z^i) - (\<Sum>i\<le>n. c i * a^i) =
lp15@56215
   117
          (z - a) * (\<Sum>j<n. (\<Sum>k = Suc j..n. c k * a^(k - Suc j)) * z^j)"
Mathias@63918
   118
      by (simp add: sub_polyfun setsum_distrib_right)
lp15@61609
   119
    then have "(\<Sum>i\<le>n. c i * z^i) =
lp15@56215
   120
          (z - a) * (\<Sum>j<n. (\<Sum>k = Suc j..n. c k * a^(k - Suc j)) * z^j)
lp15@56215
   121
          + (\<Sum>i\<le>n. c i * a^i)"
lp15@56215
   122
      by (simp add: algebra_simps) }
lp15@56215
   123
  then show ?thesis
lp15@61609
   124
    by (intro exI allI)
lp15@56215
   125
qed
lp15@56215
   126
lp15@56215
   127
lemma polyfun_linear_factor_root:
lp15@56215
   128
  fixes a :: "'a::{comm_ring,monoid_mult}"
lp15@56215
   129
  assumes "(\<Sum>i\<le>n. c i * a^i) = 0"
lp15@56215
   130
  shows  "\<exists>b. \<forall>z. (\<Sum>i\<le>n. c i * z^i) = (z-a) * (\<Sum>i<n. b i * z^i)"
lp15@56215
   131
  using polyfun_linear_factor [of c n a] assms
lp15@56215
   132
  by simp
lp15@56215
   133
lp15@56215
   134
lemma adhoc_norm_triangle: "a + norm(y) \<le> b ==> norm(x) \<le> a ==> norm(x + y) \<le> b"
lp15@56215
   135
  by (metis norm_triangle_mono order.trans order_refl)
lp15@56215
   136
lp15@56215
   137
lemma polyfun_extremal_lemma:
lp15@56215
   138
  fixes c :: "nat \<Rightarrow> 'a::real_normed_div_algebra"
lp15@56215
   139
  assumes "e > 0"
lp15@56215
   140
    shows "\<exists>M. \<forall>z. M \<le> norm z \<longrightarrow> norm(\<Sum>i\<le>n. c i * z^i) \<le> e * norm(z) ^ Suc n"
lp15@56215
   141
proof (induction n)
lp15@56215
   142
  case 0
lp15@61609
   143
  show ?case
haftmann@57512
   144
    by (rule exI [where x="norm (c 0) / e"]) (auto simp: mult.commute pos_divide_le_eq assms)
lp15@56215
   145
next
lp15@56215
   146
  case (Suc n)
lp15@56215
   147
  then obtain M where M: "\<forall>z. M \<le> norm z \<longrightarrow> norm (\<Sum>i\<le>n. c i * z^i) \<le> e * norm z ^ Suc n" ..
lp15@56215
   148
  show ?case
lp15@56215
   149
  proof (rule exI [where x="max 1 (max M ((e + norm(c(Suc n))) / e))"], clarify)
lp15@56215
   150
    fix z::'a
lp15@56215
   151
    assume "max 1 (max M ((e + norm (c (Suc n))) / e)) \<le> norm z"
lp15@56215
   152
    then have norm1: "0 < norm z" "M \<le> norm z" "(e + norm (c (Suc n))) / e \<le> norm z"
lp15@56215
   153
      by auto
lp15@56215
   154
    then have norm2: "(e + norm (c (Suc n))) \<le> e * norm z"  "(norm z * norm z ^ n) > 0"
lp15@61609
   155
      apply (metis assms less_divide_eq mult.commute not_le)
lp15@56215
   156
      using norm1 apply (metis mult_pos_pos zero_less_power)
lp15@56215
   157
      done
lp15@56215
   158
    have "e * (norm z * norm z ^ n) + norm (c (Suc n) * (z * z ^ n)) =
lp15@56215
   159
          (e + norm (c (Suc n))) * (norm z * norm z ^ n)"
lp15@56215
   160
      by (simp add: norm_mult norm_power algebra_simps)
lp15@56215
   161
    also have "... \<le> (e * norm z) * (norm z * norm z ^ n)"
lp15@61609
   162
      using norm2 by (metis real_mult_le_cancel_iff1)
lp15@56215
   163
    also have "... = e * (norm z * (norm z * norm z ^ n))"
lp15@56215
   164
      by (simp add: algebra_simps)
lp15@56215
   165
    finally have "e * (norm z * norm z ^ n) + norm (c (Suc n) * (z * z ^ n))
lp15@56215
   166
                  \<le> e * (norm z * (norm z * norm z ^ n))" .
lp15@56215
   167
    then show "norm (\<Sum>i\<le>Suc n. c i * z^i) \<le> e * norm z ^ Suc (Suc n)" using M norm1
lp15@56215
   168
      by (drule_tac x=z in spec) (auto simp: intro!: adhoc_norm_triangle)
lp15@56215
   169
    qed
lp15@56215
   170
qed
lp15@56215
   171
lp15@62626
   172
lemma norm_lemma_xy: assumes "\<bar>b\<bar> + 1 \<le> norm(y) - a" "norm(x) \<le> a" shows "b \<le> norm(x + y)"
lp15@62626
   173
proof -
lp15@62626
   174
  have "b \<le> norm y - norm x"
lp15@62626
   175
    using assms by linarith
lp15@62626
   176
  then show ?thesis
lp15@62626
   177
    by (metis (no_types) add.commute norm_diff_ineq order_trans)
lp15@62626
   178
qed
lp15@56215
   179
lp15@56215
   180
lemma polyfun_extremal:
lp15@56215
   181
  fixes c :: "nat \<Rightarrow> 'a::real_normed_div_algebra"
lp15@56215
   182
  assumes "\<exists>k. k \<noteq> 0 \<and> k \<le> n \<and> c k \<noteq> 0"
lp15@56215
   183
    shows "eventually (\<lambda>z. norm(\<Sum>i\<le>n. c i * z^i) \<ge> B) at_infinity"
lp15@56215
   184
using assms
lp15@56215
   185
proof (induction n)
lp15@56215
   186
  case 0 then show ?case
lp15@56215
   187
    by simp
lp15@56215
   188
next
lp15@56215
   189
  case (Suc n)
lp15@56215
   190
  show ?case
lp15@56215
   191
  proof (cases "c (Suc n) = 0")
lp15@56215
   192
    case True
lp15@56215
   193
    with Suc show ?thesis
lp15@56215
   194
      by auto (metis diff_is_0_eq diffs0_imp_equal less_Suc_eq_le not_less_eq)
lp15@56215
   195
  next
lp15@56215
   196
    case False
lp15@56215
   197
    with polyfun_extremal_lemma [of "norm(c (Suc n)) / 2" c n]
lp15@61609
   198
    obtain M where M: "\<And>z. M \<le> norm z \<Longrightarrow>
lp15@56215
   199
               norm (\<Sum>i\<le>n. c i * z^i) \<le> norm (c (Suc n)) / 2 * norm z ^ Suc n"
lp15@56215
   200
      by auto
lp15@56215
   201
    show ?thesis
lp15@56215
   202
    unfolding eventually_at_infinity
wenzelm@61945
   203
    proof (rule exI [where x="max M (max 1 ((\<bar>B\<bar> + 1) / (norm (c (Suc n)) / 2)))"], clarsimp)
lp15@56215
   204
      fix z::'a
lp15@56215
   205
      assume les: "M \<le> norm z"  "1 \<le> norm z"  "(\<bar>B\<bar> * 2 + 2) / norm (c (Suc n)) \<le> norm z"
lp15@56215
   206
      then have "\<bar>B\<bar> * 2 + 2 \<le> norm z * norm (c (Suc n))"
lp15@56215
   207
        by (metis False pos_divide_le_eq zero_less_norm_iff)
lp15@61609
   208
      then have "\<bar>B\<bar> * 2 + 2 \<le> norm z ^ (Suc n) * norm (c (Suc n))"
wenzelm@60420
   209
        by (metis \<open>1 \<le> norm z\<close> order.trans mult_right_mono norm_ge_zero self_le_power zero_less_Suc)
lp15@56215
   210
      then show "B \<le> norm ((\<Sum>i\<le>n. c i * z^i) + c (Suc n) * (z * z ^ n))" using M les
lp15@56215
   211
        apply auto
lp15@56215
   212
        apply (rule norm_lemma_xy [where a = "norm (c (Suc n)) * norm z ^ (Suc n) / 2"])
lp15@56215
   213
        apply (simp_all add: norm_mult norm_power)
lp15@56215
   214
        done
lp15@56215
   215
    qed
lp15@56215
   216
  qed
lp15@56215
   217
qed
lp15@56215
   218
lp15@56215
   219
lemma polyfun_rootbound:
lp15@56215
   220
 fixes c :: "nat \<Rightarrow> 'a::{comm_ring,real_normed_div_algebra}"
lp15@56215
   221
 assumes "\<exists>k. k \<le> n \<and> c k \<noteq> 0"
lp15@56215
   222
   shows "finite {z. (\<Sum>i\<le>n. c i * z^i) = 0} \<and> card {z. (\<Sum>i\<le>n. c i * z^i) = 0} \<le> n"
lp15@56215
   223
using assms
lp15@56215
   224
proof (induction n arbitrary: c)
lp15@56215
   225
 case (Suc n) show ?case
lp15@56215
   226
 proof (cases "{z. (\<Sum>i\<le>Suc n. c i * z^i) = 0} = {}")
lp15@56215
   227
   case False
lp15@56215
   228
   then obtain a where a: "(\<Sum>i\<le>Suc n. c i * a^i) = 0"
lp15@56215
   229
     by auto
lp15@56215
   230
   from polyfun_linear_factor_root [OF this]
lp15@56215
   231
   obtain b where "\<And>z. (\<Sum>i\<le>Suc n. c i * z^i) = (z - a) * (\<Sum>i< Suc n. b i * z^i)"
lp15@56215
   232
     by auto
lp15@56215
   233
   then have b: "\<And>z. (\<Sum>i\<le>Suc n. c i * z^i) = (z - a) * (\<Sum>i\<le>n. b i * z^i)"
lp15@56215
   234
     by (metis lessThan_Suc_atMost)
lp15@56215
   235
   then have ins_ab: "{z. (\<Sum>i\<le>Suc n. c i * z^i) = 0} = insert a {z. (\<Sum>i\<le>n. b i * z^i) = 0}"
lp15@56215
   236
     by auto
lp15@56215
   237
   have c0: "c 0 = - (a * b 0)" using  b [of 0]
lp15@56215
   238
     by simp
lp15@56215
   239
   then have extr_prem: "~ (\<exists>k\<le>n. b k \<noteq> 0) \<Longrightarrow> \<exists>k. k \<noteq> 0 \<and> k \<le> Suc n \<and> c k \<noteq> 0"
lp15@56215
   240
     by (metis Suc.prems le0 minus_zero mult_zero_right)
lp15@61609
   241
   have "\<exists>k\<le>n. b k \<noteq> 0"
lp15@56215
   242
     apply (rule ccontr)
lp15@56215
   243
     using polyfun_extremal [OF extr_prem, of 1]
lp15@56215
   244
     apply (auto simp: eventually_at_infinity b simp del: setsum_atMost_Suc)
lp15@56215
   245
     apply (drule_tac x="of_real ba" in spec, simp)
lp15@56215
   246
     done
lp15@56215
   247
   then show ?thesis using Suc.IH [of b] ins_ab
lp15@56215
   248
     by (auto simp: card_insert_if)
lp15@56215
   249
   qed simp
lp15@56215
   250
qed simp
lp15@56215
   251
lp15@56215
   252
corollary
lp15@56215
   253
  fixes c :: "nat \<Rightarrow> 'a::{comm_ring,real_normed_div_algebra}"
lp15@56215
   254
  assumes "\<exists>k. k \<le> n \<and> c k \<noteq> 0"
lp15@56215
   255
    shows polyfun_rootbound_finite: "finite {z. (\<Sum>i\<le>n. c i * z^i) = 0}"
lp15@56215
   256
      and polyfun_rootbound_card:   "card {z. (\<Sum>i\<le>n. c i * z^i) = 0} \<le> n"
lp15@56215
   257
using polyfun_rootbound [OF assms] by auto
lp15@56215
   258
lp15@56215
   259
lemma polyfun_finite_roots:
lp15@56215
   260
  fixes c :: "nat \<Rightarrow> 'a::{comm_ring,real_normed_div_algebra}"
lp15@56215
   261
    shows  "finite {z. (\<Sum>i\<le>n. c i * z^i) = 0} \<longleftrightarrow> (\<exists>k. k \<le> n \<and> c k \<noteq> 0)"
lp15@56215
   262
proof (cases " \<exists>k\<le>n. c k \<noteq> 0")
lp15@61609
   263
  case True then show ?thesis
lp15@56215
   264
    by (blast intro: polyfun_rootbound_finite)
lp15@56215
   265
next
lp15@61609
   266
  case False then show ?thesis
lp15@56215
   267
    by (auto simp: infinite_UNIV_char_0)
lp15@56215
   268
qed
lp15@56215
   269
lp15@56215
   270
lemma polyfun_eq_0:
lp15@56215
   271
  fixes c :: "nat \<Rightarrow> 'a::{comm_ring,real_normed_div_algebra}"
lp15@56215
   272
    shows  "(\<forall>z. (\<Sum>i\<le>n. c i * z^i) = 0) \<longleftrightarrow> (\<forall>k. k \<le> n \<longrightarrow> c k = 0)"
lp15@56215
   273
proof (cases "(\<forall>z. (\<Sum>i\<le>n. c i * z^i) = 0)")
lp15@56215
   274
  case True
lp15@56215
   275
  then have "~ finite {z. (\<Sum>i\<le>n. c i * z^i) = 0}"
lp15@56215
   276
    by (simp add: infinite_UNIV_char_0)
lp15@56215
   277
  with True show ?thesis
lp15@56215
   278
    by (metis (poly_guards_query) polyfun_rootbound_finite)
lp15@56215
   279
next
lp15@56215
   280
  case False
lp15@56215
   281
  then show ?thesis
lp15@56215
   282
    by auto
lp15@56215
   283
qed
lp15@56215
   284
lp15@56215
   285
lemma polyfun_eq_const:
lp15@56215
   286
  fixes c :: "nat \<Rightarrow> 'a::{comm_ring,real_normed_div_algebra}"
lp15@56215
   287
    shows  "(\<forall>z. (\<Sum>i\<le>n. c i * z^i) = k) \<longleftrightarrow> c 0 = k \<and> (\<forall>k. k \<noteq> 0 \<and> k \<le> n \<longrightarrow> c k = 0)"
lp15@56215
   288
proof -
lp15@56215
   289
  {fix z
lp15@56215
   290
    have "(\<Sum>i\<le>n. c i * z^i) = (\<Sum>i\<le>n. (if i = 0 then c 0 - k else c i) * z^i) + k"
lp15@56215
   291
      by (induct n) auto
lp15@56215
   292
  } then
lp15@56215
   293
  have "(\<forall>z. (\<Sum>i\<le>n. c i * z^i) = k) \<longleftrightarrow> (\<forall>z. (\<Sum>i\<le>n. (if i = 0 then c 0 - k else c i) * z^i) = 0)"
lp15@56215
   294
    by auto
lp15@56215
   295
  also have "... \<longleftrightarrow>  c 0 = k \<and> (\<forall>k. k \<noteq> 0 \<and> k \<le> n \<longrightarrow> c k = 0)"
lp15@56215
   296
    by (auto simp: polyfun_eq_0)
lp15@56215
   297
  finally show ?thesis .
lp15@56215
   298
qed
lp15@56215
   299
lp15@56215
   300
end
lp15@56215
   301