changeset 869 | ce5f78f0eac5 |
parent 868 | 09d5b7f0e55d |
child 884 | e49c6b6f37f4 |
--- a/Quot/quotient_def.ML Thu Jan 14 08:02:20 2010 +0100 +++ b/Quot/quotient_def.ML Thu Jan 14 10:06:29 2010 +0100 @@ -51,8 +51,9 @@ (* data storage *) fun qcinfo phi = transform_qconsts phi {qconst = trm, rconst = rhs, def = thm} + fun trans_name phi = (fst o dest_Const o #qconst) (qcinfo phi) val lthy'' = Local_Theory.declaration true - (fn phi => qconsts_update_gen lhs_str (qcinfo phi)) lthy' + (fn phi => qconsts_update_gen (trans_name phi) (qcinfo phi)) lthy' in ((trm, thm), lthy'') end