src/HOL/Integ/Ring.thy
author nipkow
Thu, 24 Apr 1997 17:59:55 +0200
changeset 3037 99ed078e6ae7
parent 2281 e00c13a29eda
permissions -rw-r--r--
rename_params_rule used to check if the new name clashed with a free name in the whole goal state. Now checks only the subgoal concerned.

(*  Title:      HOL/Integ/Ring.thy
    ID:         $Id$
    Author:     Tobias Nipkow
    Copyright   1996 TU Muenchen

Bits of rings.
Main output: a simplification tactic for commutative rings.
*)

Ring = Group +

(* Ring *)

axclass  ring < add_agroup, times
  times_assoc "(x*y)*z = x*(y*z)"
  distribL    "x*(y+z) = x*y + x*z"
  distribR    "(x+y)*z = x*z + y*z"

(* Commutative ring *)

axclass cring < ring
  times_commute "x*y = y*x"

end