src/FOL/ex/ROOT.ML
author clasohm
Tue, 24 Oct 1995 14:50:24 +0100
changeset 1296 ae31bb7774a7
parent 667 661fc2e9c945
child 1351 4a960c012383
permissions -rw-r--r--
added calls of init_html and make_chart
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
     1
(*  Title: 	FOL/ex/ROOT
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
     2
    ID:         $Id$
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
     3
    Author: 	Lawrence C Paulson, Cambridge University Computer Laboratory
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
     4
    Copyright   1992  University of Cambridge
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
     5
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
     6
Executes all examples for First-Order Logic. 
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
     7
*)
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
     8
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
     9
writeln"Root file for FOL examples";
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    10
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    11
FOL_build_completed;	(*Cause examples to fail if FOL did*)
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    12
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    13
proof_timing := true;
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    14
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    15
time_use     "ex/intro.ML";
121
d392174734e9 changed use_thy's parameter to exact theory name
clasohm
parents: 0
diff changeset
    16
time_use_thy "ex/Nat";
0
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    17
time_use     "ex/foundn.ML";
121
d392174734e9 changed use_thy's parameter to exact theory name
clasohm
parents: 0
diff changeset
    18
time_use_thy "ex/Prolog";
0
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    19
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    20
writeln"\n** Intuitionistic examples **\n";
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    21
time_use     "ex/int.ML";
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    22
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    23
val thy = IFOL.thy  and  tac = Int.fast_tac 1;
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    24
time_use     "ex/prop.ML";
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    25
time_use     "ex/quant.ML";
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    26
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    27
writeln"\n** Classical examples **\n";
667
661fc2e9c945 FOL/ex/ROOT: now loads mini.ML
lcp
parents: 121
diff changeset
    28
time_use     "ex/mini.ML";
0
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    29
time_use     "ex/cla.ML";
121
d392174734e9 changed use_thy's parameter to exact theory name
clasohm
parents: 0
diff changeset
    30
time_use_thy "ex/If";
0
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    31
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    32
val thy = FOL.thy  and  tac = Cla.fast_tac FOL_cs 1;
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    33
time_use     "ex/prop.ML";
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    34
time_use     "ex/quant.ML";
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    35
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    36
writeln"\n** Simplification examples **\n";
121
d392174734e9 changed use_thy's parameter to exact theory name
clasohm
parents: 0
diff changeset
    37
time_use_thy "ex/Nat2";
d392174734e9 changed use_thy's parameter to exact theory name
clasohm
parents: 0
diff changeset
    38
time_use_thy "ex/List";
0
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    39
1296
ae31bb7774a7 added calls of init_html and make_chart
clasohm
parents: 667
diff changeset
    40
make_chart ();   (*make HTML chart*)
ae31bb7774a7 added calls of init_html and make_chart
clasohm
parents: 667
diff changeset
    41
0
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    42
maketest"END: Root file for FOL examples";