Run Quit, then
Unprotect@AbelianGroup;
AbelianGroup[v_] = 0;
Protect@AbelianGroup;
where instead of AbelianGroup you can pick any of Select[Names["System`*"],
Attributes@# == {Protected, ReadProtected} &].
You get Set::write: Tag AbelianGroup in AbelianGroup[v_] is Protected. >>.
However, if you run the same thing again, there's no message. There's also no message if you do Quit again and run the following code mentioning the symbol once before unprotecting:
AbelianGroup;
Unprotect@AbelianGroup;
AbelianGroup[v_] = 0;
Protect@AbelianGroup;
Is this a bug?
I have
$Version
"10.4.1 for Microsoft Windows (64-bit) (April 11, 2016)"
Protect[]somewhere in there. TryUnprotect@AbelianGroup; AbelianGroup; Attributes[AbelianGroup], for instance. – J. M.'s missing motivation Jul 01 '16 at 13:31GroupTheory`PermutationGroups`. – J. M.'s missing motivation Jul 01 '16 at 14:13