src/HOL/ex/StringEx.ML
author paulson
Wed, 05 Aug 1998 10:57:25 +0200
changeset 5253 82a5ca6290aa
parent 5199 be986f7a6def
child 5278 a903b66822e2
permissions -rw-r--r--
New record type of programs


Goal "hd(''ABCD'') = CHR ''A''";
by (Simp_tac 1);
result();

Goal "hd(''ABCD'') ~= CHR ''B''";
by (Simp_tac 1);
result();

Goal "''ABCD'' ~= ''ABCX''";
by (Simp_tac 1);
result();

Goal "''ABCD'' = ''ABCD''";
by (Simp_tac 1);
result();

Goal
  "''ABCDEFGHIJKLMNOPQRSTUVWXYZ'' ~= ''ABCDEFGHIJKLMNOPQRSTUVWXY''";
by (Simp_tac 1);
result();