src/HOL/ex/String.ML
author paulson
Tue, 16 Jul 1996 15:49:46 +0200
changeset 1868 836950047d85
parent 1266 3ae9fe3c0f68
child 2031 03a843f0f447
permissions -rw-r--r--
Put in minimal simpset to avoid excessive simplification, just as in revision 1.9 of HOL/indrule.ML

goal String.thy "hd(''ABCD'') = CHR ''A''";
by(Simp_tac 1);
result();

goal String.thy "hd(''ABCD'') ~= CHR ''B''";
by(Simp_tac 1);
result();

goal String.thy "''ABCD'' ~= ''ABCX''";
by(Simp_tac 1);
result();

goal String.thy "''ABCD'' = ''ABCD''";
by(Simp_tac 1);
result();

goal String.thy
  "''ABCDEFGHIJKLMNOPQRSTUVWXYZ'' ~= ''ABCDEFGHIJKLMNOPQRSTUVWXY''";
by(Simp_tac 1);
result();