src/Pure/Isar/proof.ML
changeset 14129 d4e2ab7cc86b
parent 13869 18112403c809
child 14215 ebf291f3b449
--- a/src/Pure/Isar/proof.ML	Thu Jul 24 16:41:40 2003 +0200
+++ b/src/Pure/Isar/proof.ML	Thu Jul 24 17:47:56 2003 +0200
@@ -17,6 +17,7 @@
   include BASIC_PROOF
   type context
   type state
+  datatype mode = Forward | ForwardChain | Backward
   exception STATE of string * state
   val check_result: string -> state -> 'a Seq.seq -> 'a Seq.seq
   val init_state: theory -> state
@@ -32,6 +33,7 @@
   val goal_facts: (state -> thm list) -> state -> state
   val use_facts: state -> state
   val reset_facts: state -> state
+  val get_mode: state -> mode
   val is_chain: state -> bool
   val assert_forward: state -> state
   val assert_forward_or_chain: state -> state