export_rewrites : string list -> unit
Theorems are named by giving the name of the segment, a full-stop (or period) character, and the name of theorem. If the theorem is in the current segment, the segment can be omitted. Thus, if working in the development of the theory of lists, the following are valid names list.MAP_GENLIST, MAP_GENLIST and arithmetic.LESS_TRANS.
The collection of all the theorems specified in calls to export_rewrites can be obtained as a value of type simpLib.ssfrag using the thy_ssfrag function.
Multiple calls to export_rewrites cumulatively add to the list of theorems being exported.