src/HOL/Algebra/abstract/Factor.thy
author wenzelm
Fri, 21 May 2004 21:15:10 +0200
changeset 14767 d2b071e65e4c
parent 13735 7de9342aca7a
child 17479 68a7acb5f22e
permissions -rw-r--r--
tuned document;

(*
    Factorisation within a factorial domain
    $Id$
    Author: Clemens Ballarin, started 25 November 1997
*)

Factor = Ring +

consts
  Factorisation	:: ['a::ring, 'a list, 'a] => bool
  (* factorisation of x into a list of irred factors and a unit u *)

defs
  Factorisation_def	"Factorisation x factors u == 
                           x = foldr op* factors u &
                           (ALL a : set factors. irred a) & u dvd 1"

end