author | wenzelm |
Sun, 31 Oct 1999 20:11:23 +0100 | |
changeset 7990 | 0a604b2fc2b1 |
parent 3059 | 3d7a61301137 |
permissions | -rw-r--r-- |
(* Title: HOL/Quot/FRACT.thy ID: $Id$ Author: Oscar Slotosch Copyright 1997 Technische Universitaet Muenchen Example for higher order quotients: fractions *) FRACT = NPAIR + HQUOT + instance NP::per {| (etac per_trans_NP 1) THEN (atac 1) THEN (etac per_sym_NP 1) |} (* now define fractions *) types fract = NP quot (* example for fractions *) consts half :: "fract" defs half_def "half == <[abs_NP(1,2)]>" end