src/FOL/ex/ROOT.ML
author paulson
Wed Mar 06 10:14:47 1996 +0100 (1996-03-06)
changeset 1549 ac9b58304d62
parent 1459 d12da312eff4
child 2236 c7869a443b14
permissions -rw-r--r--
Now loads IffOracle, the oracles example
clasohm@1459
     1
(*  Title:      FOL/ex/ROOT
clasohm@0
     2
    ID:         $Id$
clasohm@1459
     3
    Author:     Lawrence C Paulson, Cambridge University Computer Laboratory
clasohm@0
     4
    Copyright   1992  University of Cambridge
clasohm@0
     5
clasohm@0
     6
Executes all examples for First-Order Logic. 
clasohm@0
     7
*)
clasohm@0
     8
clasohm@0
     9
writeln"Root file for FOL examples";
clasohm@0
    10
clasohm@1459
    11
FOL_build_completed;    (*Cause examples to fail if FOL did*)
clasohm@0
    12
clasohm@0
    13
proof_timing := true;
clasohm@0
    14
clasohm@1351
    15
time_use     "intro.ML";
clasohm@1351
    16
time_use_thy "Nat";
clasohm@1351
    17
time_use     "foundn.ML";
clasohm@1351
    18
time_use_thy "Prolog";
clasohm@0
    19
clasohm@0
    20
writeln"\n** Intuitionistic examples **\n";
clasohm@1351
    21
time_use     "int.ML";
clasohm@0
    22
clasohm@0
    23
val thy = IFOL.thy  and  tac = Int.fast_tac 1;
clasohm@1351
    24
time_use     "prop.ML";
clasohm@1351
    25
time_use     "quant.ML";
clasohm@0
    26
clasohm@0
    27
writeln"\n** Classical examples **\n";
clasohm@1351
    28
time_use     "mini.ML";
clasohm@1351
    29
time_use     "cla.ML";
clasohm@1351
    30
time_use_thy "If";
clasohm@0
    31
clasohm@0
    32
val thy = FOL.thy  and  tac = Cla.fast_tac FOL_cs 1;
clasohm@1351
    33
time_use     "prop.ML";
clasohm@1351
    34
time_use     "quant.ML";
clasohm@0
    35
clasohm@0
    36
writeln"\n** Simplification examples **\n";
clasohm@1351
    37
time_use_thy "Nat2";
clasohm@1351
    38
time_use_thy "List";
clasohm@0
    39
paulson@1549
    40
writeln"\n** How to declare an oracle **\n";
paulson@1549
    41
time_use_thy "IffOracle";
paulson@1549
    42
paulson@1549
    43
clasohm@1351
    44
cd "..";
clasohm@0
    45
maketest"END: Root file for FOL examples";