src/HOL/ex/IntRing.thy
author paulson
Thu, 08 Jul 1999 13:48:11 +0200
changeset 6921 78a2ce8fb8df
parent 5601 b6456ccd9e3e
child 8936 a1c426541757
permissions -rw-r--r--
Renaming of theorems from _nat0 to _int0 and _nat1 to _int1
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
5078
7b5ea59c0275 Installation of target HOL-Real
paulson
parents:
diff changeset
     1
(*  Title:      HOL/Integ/IntRing.thy
7b5ea59c0275 Installation of target HOL-Real
paulson
parents:
diff changeset
     2
    ID:         $Id$
7b5ea59c0275 Installation of target HOL-Real
paulson
parents:
diff changeset
     3
    Author:     Tobias Nipkow and Markus Wenzel
7b5ea59c0275 Installation of target HOL-Real
paulson
parents:
diff changeset
     4
    Copyright   1996 TU Muenchen
7b5ea59c0275 Installation of target HOL-Real
paulson
parents:
diff changeset
     5
7b5ea59c0275 Installation of target HOL-Real
paulson
parents:
diff changeset
     6
The integers form a commutative ring.
7b5ea59c0275 Installation of target HOL-Real
paulson
parents:
diff changeset
     7
With an application of Lagrange's lemma.
7b5ea59c0275 Installation of target HOL-Real
paulson
parents:
diff changeset
     8
*)
7b5ea59c0275 Installation of target HOL-Real
paulson
parents:
diff changeset
     9
7b5ea59c0275 Installation of target HOL-Real
paulson
parents:
diff changeset
    10
IntRing = IntRingDefs + Lagrange +
7b5ea59c0275 Installation of target HOL-Real
paulson
parents:
diff changeset
    11
7b5ea59c0275 Installation of target HOL-Real
paulson
parents:
diff changeset
    12
instance int :: add_semigroup (zadd_assoc)
6921
78a2ce8fb8df Renaming of theorems from _nat0 to _int0 and _nat1 to _int1
paulson
parents: 5601
diff changeset
    13
instance int :: add_monoid (zero_int_def,zadd_int0,zadd_int0_right)
5078
7b5ea59c0275 Installation of target HOL-Real
paulson
parents:
diff changeset
    14
instance int :: add_group (left_inv_int,minus_inv_int)
7b5ea59c0275 Installation of target HOL-Real
paulson
parents:
diff changeset
    15
instance int :: add_agroup (zadd_commute)
7b5ea59c0275 Installation of target HOL-Real
paulson
parents:
diff changeset
    16
instance int :: ring (zmult_assoc,zadd_zmult_distrib2,zadd_zmult_distrib)
7b5ea59c0275 Installation of target HOL-Real
paulson
parents:
diff changeset
    17
instance int :: cring (zmult_commute)
7b5ea59c0275 Installation of target HOL-Real
paulson
parents:
diff changeset
    18
7b5ea59c0275 Installation of target HOL-Real
paulson
parents:
diff changeset
    19
end