src/HOL/GroupTheory/Exponent.thy
author paulson
Tue, 03 Jul 2001 15:28:24 +0200
changeset 11394 e88c2c89f98e
parent 11370 680946254afe
child 13583 5fcc8bf538ee
permissions -rw-r--r--
Locale-based group theory proofs

(*  Title:      HOL/GroupTheory/Exponent
    ID:         $Id$
    Author:     Florian Kammueller, with new proofs by L C Paulson
    Copyright   1998-2001  University of Cambridge

The combinatorial argument underlying the first Sylow theorem

    exponent p s   yields the greatest power of p that divides s.
*)

Exponent = Main + Primes +

constdefs

  exponent      :: "[nat, nat] => nat"
  "exponent p s == if p \\<in> prime then (GREATEST r. p^r dvd s) else 0"

end