functor (A : Model.SEMANTICS_CLOSURE->
  sig
    module Atom :
      sig
        type 'a t =
            [ `Command of A.Command.t
            | `Guard of A.Region.t
            | `State of 'a * A.Region.t ]
        val print :
          (Format.formatter -> '-> unit) ->
          Format.formatter -> 'TraceChecker.T.Atom.t -> unit
      end
    module Trace :
      sig
        type 'a t = 'TraceChecker.T.Atom.t Util.Sequence.t
        val print :
          (Format.formatter -> '-> unit) ->
          Format.formatter -> 'TraceChecker.T.Trace.t -> unit
      end
    module Result :
      sig
        type 'a invariant =
            int * (('a * A.Region.t) * A.Region.t) Util.Sequence.t * int
        type 'a t =
            [ `Feasible of [ `Strong | `Weak ]
            | `Invariant_backward of 'TraceChecker.T.Result.invariant
            | `Invariant_forward of 'TraceChecker.T.Result.invariant ]
        val print :
          (Format.formatter -> '-> unit) ->
          Format.formatter -> 'TraceChecker.T.Result.t -> unit
      end
  end