diminish_srw_ss : string list -> ssfrag list
The function also returns the simpset fragments that have been removed. This allows them to be put back into the simpset with a call to augment_srw_ss.
The effect of this call is not exported to descendent theories.
- SIMP_CONV (srw_ss()) [] ``MAP ($+ 1) [3;4;5]``; > val it = |- MAP ($+ 1) [3; 4; 5] = [4; 5; 6] : thm - val frags = diminish_srw_ss ["REDUCE"] > val frags = [Simplification set: REDUCE Conversions: REDUCE_CONV (arithmetic reduction), keyed on pattern ``EVEN x`` REDUCE_CONV (arithmetic reduction), keyed on pattern ``ODD x`` REDUCE_CONV (arithmetic reduction), keyed on pattern ``PRE x`` REDUCE_CONV (arithmetic reduction), keyed on pattern ``SUC x`` ...] : ssfrag list - SIMP_CONV (srw_ss()) [] ``MAP ($+ 1) [3;4;5]``; > val it = |- MAP ($+ 1) [3; 4; 5] = [1 + 3; 1 + 4; 1 + 5] : thm - augment_srw_ss frags; > val it = () : unit - SIMP_CONV (srw_ss()) [] ``MAP ($+ 1) [3;4;5]``; > val it = |- MAP ($+ 1) [3; 4; 5] = [4; 5; 6] : thm