src/HOL/Hyperreal/Fact.thy
author wenzelm
Mon, 25 Feb 2002 20:48:14 +0100
changeset 12937 0c4fd7529467
parent 12196 a3be6b3a9c0b
child 15094 a7d1a3fdc30d
permissions -rw-r--r--
clarified syntax of ``long'' statements: fixes/assumes/shows;

(*  Title       : Fact.thy 
    Author      : Jacques D. Fleuriot
    Copyright   : 1998  University of Cambridge
    Description : Factorial function
*)

Fact = NatStar + 

consts fact :: nat => nat 
primrec 
   fact_0     "fact 0 = 1"
   fact_Suc   "fact (Suc n) = (Suc n) * fact n" 

end