src/HOL/ex/String.ML
author paulson
Mon, 23 Sep 1996 17:42:56 +0200
changeset 2003 b48f066d52dc
parent 1266 3ae9fe3c0f68
child 2031 03a843f0f447
permissions -rw-r--r--
Addition of gensym

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