equal
deleted
inserted
replaced
29 val goal_facts: (state -> thm list) -> state -> state |
29 val goal_facts: (state -> thm list) -> state -> state |
30 val use_facts: state -> state |
30 val use_facts: state -> state |
31 val reset_facts: state -> state |
31 val reset_facts: state -> state |
32 val assert_forward: state -> state |
32 val assert_forward: state -> state |
33 val assert_backward: state -> state |
33 val assert_backward: state -> state |
|
34 val assert_no_chain: state -> state |
34 val enter_forward: state -> state |
35 val enter_forward: state -> state |
35 val show_hyps: bool ref |
36 val show_hyps: bool ref |
36 val pretty_thm: thm -> Pretty.T |
37 val pretty_thm: thm -> Pretty.T |
37 val pretty_thms: thm list -> Pretty.T |
38 val pretty_thms: thm list -> Pretty.T |
38 val verbose: bool ref |
39 val verbose: bool ref |
267 |
268 |
268 fun is_chain state = get_mode state = ForwardChain; |
269 fun is_chain state = get_mode state = ForwardChain; |
269 val assert_forward = assert_mode (equal Forward); |
270 val assert_forward = assert_mode (equal Forward); |
270 val assert_forward_or_chain = assert_mode (equal Forward orf equal ForwardChain); |
271 val assert_forward_or_chain = assert_mode (equal Forward orf equal ForwardChain); |
271 val assert_backward = assert_mode (equal Backward); |
272 val assert_backward = assert_mode (equal Backward); |
|
273 val assert_no_chain = assert_mode (not_equal ForwardChain); |
272 |
274 |
273 |
275 |
274 (* blocks *) |
276 (* blocks *) |
275 |
277 |
276 fun level (State (_, nodes)) = length nodes; |
278 fun level (State (_, nodes)) = length nodes; |