new classical example from Lewis Carroll via S G Pulman
authorpaulson
Tue, 08 Jun 1999 10:25:12 +0200
changeset 6799 95abcc002a21
parent 6798 f6bc583a5776
child 6800 9ee166138311
new classical example from Lewis Carroll via S G Pulman
src/FOL/ex/cla.ML
src/HOL/ex/cla.ML
--- a/src/FOL/ex/cla.ML	Mon Jun 07 22:18:26 1999 +0200
+++ b/src/FOL/ex/cla.ML	Tue Jun 08 10:25:12 1999 +0200
@@ -571,6 +571,18 @@
 by (Blast_tac 1);
 result();
 
+(*Attributed to Lewis Carroll by S. G. Pulman.  The first or last assumption
+can be deleted.*)
+Goal "(ALL x. honest(x) & industrious(x) --> healthy(x)) & \
+\     ~ (EX x. grocer(x) & healthy(x)) & \
+\     (ALL x. industrious(x) & grocer(x) --> honest(x)) & \
+\     (ALL x. cyclist(x) --> industrious(x)) & \
+\     (ALL x. ~healthy(x) & cyclist(x) --> ~honest(x))  \
+\     --> (ALL x. grocer(x) --> ~cyclist(x))";
+by (Blast_tac 1);
+result();
+
+
 writeln"Reached end of file.";
 
 (*Thu Jul 23 1992: loaded in 467s using iffE [on SPARC2] *)
--- a/src/HOL/ex/cla.ML	Mon Jun 07 22:18:26 1999 +0200
+++ b/src/HOL/ex/cla.ML	Tue Jun 08 10:25:12 1999 +0200
@@ -477,6 +477,17 @@
 by (Fast_tac 1);
 result();
 
+(*Attributed to Lewis Carroll by S. G. Pulman.  The first or last assumption
+can be deleted.*)
+Goal "(ALL x. honest(x) & industrious(x) --> healthy(x)) & \
+\     ~ (EX x. grocer(x) & healthy(x)) & \
+\     (ALL x. industrious(x) & grocer(x) --> honest(x)) & \
+\     (ALL x. cyclist(x) --> industrious(x)) & \
+\     (ALL x. ~healthy(x) & cyclist(x) --> ~honest(x))  \
+\     --> (ALL x. grocer(x) --> ~cyclist(x))";
+by (Blast_tac 1);
+result();
+
 goal Prod.thy
     "(ALL x y. R(x,y) | R(y,x)) &                \
 \    (ALL x y. S(x,y) & S(y,x) --> x=y) &        \