equal
deleted
inserted
replaced
33 (* ! *) val evaluate_prem : computer -> int -> theorem -> theorem |
33 (* ! *) val evaluate_prem : computer -> int -> theorem -> theorem |
34 (* ! *) val modus_ponens : computer -> int -> thm -> theorem -> theorem |
34 (* ! *) val modus_ponens : computer -> int -> thm -> theorem -> theorem |
35 |
35 |
36 val setup_compute : theory -> theory |
36 val setup_compute : theory -> theory |
37 |
37 |
|
38 val print_encoding : bool ref |
|
39 |
38 end |
40 end |
39 |
41 |
40 structure Compute :> COMPUTE = struct |
42 structure Compute :> COMPUTE = struct |
41 |
43 |
42 open Report; |
44 open Report; |
|
45 |
|
46 val print_encoding = ref false |
43 |
47 |
44 datatype machine = BARRAS | BARRAS_COMPILED | HASKELL | SML |
48 datatype machine = BARRAS | BARRAS_COMPILED | HASKELL | SML |
45 |
49 |
46 (* Terms are mapped to integer codes *) |
50 (* Terms are mapped to integer codes *) |
47 structure Encode :> |
51 structure Encode :> |