Imandra_tools.Region_term_synth
val decompile :
?compound:bool ->
?default:Imandra_surface.Term.Syn.t ->
?xf:( Imandra_surface.Term.Syn.t -> Imandra_surface.Term.Syn.t ) ->
Imandra_surface.Term.t ->
Imandra_surface.Term.Syn.t
Decompiles a Term.t
value as a Term.Syn.t
. Raises Unsupported
if the Term.t
is not compatible with the fragment returned by Decompose.
val synthesize :
?compound:bool ->
?default:Imandra_surface.Term.Syn.t ->
?xf:( Imandra_surface.Term.Syn.t -> Imandra_surface.Term.Syn.t ) ->
Imandra_surface.Term.t ->
string
Synthesize a Term.t
value as ocaml code. Raises Unsupported
if the Term.t
is not compatible with the fragment returned by Decompose.