src/HOL/ex/String.ML
author paulson
Mon, 29 Jul 1996 18:31:39 +0200
changeset 1893 fa58f4a06f21
parent 1266 3ae9fe3c0f68
child 2031 03a843f0f447
permissions -rw-r--r--
Works up to main theorem, then XXX...X

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();