src/ZF/Perm.thy
author paulson
Fri, 16 Feb 1996 18:00:47 +0100
changeset 1512 ce37c64244c0
parent 1478 2b8c2a7547ab
child 1806 12708740f58d
permissions -rw-r--r--
Elimination of fully-functorial style. Type tactic changed to a type abbrevation (from a datatype). Constructor tactic and function apply deleted.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1478
2b8c2a7547ab expanded tabs
clasohm
parents: 1401
diff changeset
     1
(*  Title:      ZF/perm
0
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
     2
    ID:         $Id$
1478
2b8c2a7547ab expanded tabs
clasohm
parents: 1401
diff changeset
     3
    Author:     Lawrence C Paulson, Cambridge University Computer Laboratory
0
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
     4
    Copyright   1991  University of Cambridge
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
     5
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
     6
The theory underlying permutation groups
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
     7
  -- Composition of relations, the identity relation
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
     8
  -- Injections, surjections, bijections
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
     9
  -- Lemmas for the Schroeder-Bernstein Theorem
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    10
*)
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    11
124
858ab9a9b047 made pseudo theories for all ML files;
clasohm
parents: 0
diff changeset
    12
Perm = ZF + "mono" +
0
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    13
consts
1478
2b8c2a7547ab expanded tabs
clasohm
parents: 1401
diff changeset
    14
    O           ::      [i,i]=>i      (infixr 60)
2b8c2a7547ab expanded tabs
clasohm
parents: 1401
diff changeset
    15
    id          ::      i=>i
1401
0c439768f45c removed quotes from consts and syntax sections
clasohm
parents: 1155
diff changeset
    16
    inj,surj,bij::      [i,i]=>i
0
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    17
753
ec86863e87c8 replaced "rules" by "defs"
lcp
parents: 124
diff changeset
    18
defs
0
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    19
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    20
    (*composition of relations and functions; NOT Suppes's relative product*)
1478
2b8c2a7547ab expanded tabs
clasohm
parents: 1401
diff changeset
    21
    comp_def    "r O s == {xz : domain(s)*range(r) . 
2b8c2a7547ab expanded tabs
clasohm
parents: 1401
diff changeset
    22
                                EX x y z. xz=<x,z> & <x,y>:s & <y,z>:r}"
0
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    23
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    24
    (*the identity function for A*)
1478
2b8c2a7547ab expanded tabs
clasohm
parents: 1401
diff changeset
    25
    id_def      "id(A) == (lam x:A. x)"
0
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    26
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    27
    (*one-to-one functions from A to B*)
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    28
    inj_def      "inj(A,B) == { f: A->B. ALL w:A. ALL x:A. f`w=f`x --> w=x}"
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    29
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    30
    (*onto functions from A to B*)
1478
2b8c2a7547ab expanded tabs
clasohm
parents: 1401
diff changeset
    31
    surj_def    "surj(A,B) == { f: A->B . ALL y:B. EX x:A. f`x=y}"
0
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    32
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    33
    (*one-to-one and onto functions*)
1478
2b8c2a7547ab expanded tabs
clasohm
parents: 1401
diff changeset
    34
    bij_def     "bij(A,B) == inj(A,B) Int surj(A,B)"
0
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    35
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    36
end