author | wenzelm |
Tue, 27 May 1997 15:45:07 +0200 | |
changeset 3362 | 0b268cff9344 |
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