# HG changeset patch # User Cezary Kaliszyk # Date 1257961919 -3600 # Node ID e39c8793a23333760b1a57c355410c69c289b570 # Parent 9aa3aba71ecc679345737645cfb2762f7d99b38a# Parent e7279efbe3dda6c6f4307e158f91a0a8824b81db merge diff -r 9aa3aba71ecc -r e39c8793a233 IntEx.thy --- a/IntEx.thy Wed Nov 11 18:49:46 2009 +0100 +++ b/IntEx.thy Wed Nov 11 18:51:59 2009 +0100 @@ -46,10 +46,6 @@ term PLUS thm PLUS_def -ML {* toplevel_pp ["typ"] "ProofDisplay.pp_typ Pure.thy"; *} - -ML {* prop_of @{thm PLUS_def} *} - fun my_neg :: "(nat \ nat) \ (nat \ nat)" where diff -r 9aa3aba71ecc -r e39c8793a233 quotient_info.ML --- a/quotient_info.ML Wed Nov 11 18:49:46 2009 +0100 +++ b/quotient_info.ML Wed Nov 11 18:51:59 2009 +0100 @@ -27,12 +27,11 @@ (* info about map- and rel-functions *) type maps_info = {mapfun: string, relfun: string} -structure MapsData = TheoryDataFun +structure MapsData = Theory_Data (type T = maps_info Symtab.table val empty = Symtab.empty - val copy = I val extend = I - fun merge _ = Symtab.merge (K true)) + val merge = Symtab.merge (K true)) val maps_lookup = Symtab.lookup o MapsData.get @@ -68,12 +67,11 @@ (* info about the quotient types *) type quotient_info = {qtyp: typ, rtyp: typ, rel: term, equiv_thm: thm} -structure QuotData = TheoryDataFun +structure QuotData = Theory_Data (type T = quotient_info list val empty = [] - val copy = I val extend = I - fun merge _ = (op @)) (* FIXME: is this the correct merging function for the list? *) + val merge = (op @)) (* FIXME: is this the correct merging function for the list? *) val quotdata_lookup_thy = QuotData.get val quotdata_lookup = QuotData.get o ProofContext.theory_of