src/HOL/ex/Ring.thy
author paulson
Mon, 22 Oct 2001 11:54:22 +0200
changeset 11868 56db9f3a6b3e
parent 5078 7b5ea59c0275
permissions -rw-r--r--
Numerals now work for the integers: the binary numerals for 0 and 1 rewrite to their abstract counterparts, while other binary numerals work correctly.

(*  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