src/HOL/Tools/SMT/smt_util.ML
changeset 75274 e89709b80b6e
parent 74525 c960bfcb91db
child 81942 da3c3948a39c
--- a/src/HOL/Tools/SMT/smt_util.ML	Sat Mar 12 23:21:28 2022 +0100
+++ b/src/HOL/Tools/SMT/smt_util.ML	Fri Mar 11 09:22:13 2022 +0100
@@ -9,8 +9,10 @@
   (*basic combinators*)
   val repeat: ('a -> 'a option) -> 'a -> 'a
   val repeat_yield: ('a -> 'b -> ('a * 'b) option) -> 'a -> 'b -> 'a * 'b
+  val map_prod: ('a -> 'b) -> ('c -> 'd) -> 'a * 'c -> ('b * 'd)
 
   datatype order = First_Order | Higher_Order
+  datatype role = Conjecture | Hypothesis | Axiom
 
   (*class dictionaries*)
   type class = string list
@@ -78,12 +80,19 @@
   let fun rep x y = (case f x y of SOME (x', y') => rep x' y' | NONE => (x, y))
   in rep end
 
+val map_prod = Ctr_Sugar_Util.map_prod
+
 
 (* order *)
 
 datatype order = First_Order | Higher_Order
 
 
+(* role *)
+
+ datatype role = Conjecture | Hypothesis | Axiom
+
+
 (* class dictionaries *)
 
 type class = string list