src/HOL/Algebra/poly/PolyHomo.thy
author nipkow
Mon, 13 May 2002 15:27:28 +0200
changeset 13145 59bc43b51aa2
parent 11779 1aa328cb273a
child 13735 7de9342aca7a
permissions -rw-r--r--
*** empty log message ***

(*
    Universal property and evaluation homomorphism of univariate polynomials
    $Id$
    Author: Clemens Ballarin, started 15 April 1997
*)

PolyHomo = Degree +

(* Instantiate result from Degree.ML *)

instance
  up :: (domain) domain (up_one_not_zero, up_integral)

consts
  EVAL2	:: "('a::ring => 'b) => 'b => 'a up => 'b::ring"
  EVAL	:: "'a::ring => 'a up => 'a"

defs
  EVAL2_def	"EVAL2 phi a p ==
                 setsum (%i. phi (coeff i p) * a ^ i) {..deg p}"
  EVAL_def	"EVAL == EVAL2 (%x. x)"

end