summaryrefslogtreecommitdiff
path: root/src/include/vc.h
blob: 845d1eb6d0d8663abc189dd29f6875de13dbe7c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/*********************                                           -*- C++ -*-  */
/** vc.h
 ** This file is part of the CVC4 prototype.
 ** Copyright (c) 2009 The Analysis of Computer Systems Group (ACSys)
 ** Courant Institute of Mathematical Sciences
 ** New York University
 ** See the file COPYING in the top-level source directory for licensing
 ** information.
 **
 **/

#ifndef __CVC4_VC_H
#define __CVC4_VC_H

#include "command.h"
#include "expr.h"

/* TODO provide way of querying whether you fall into a fragment /
 * returning what fragment you're in */

// In terms of abstraction, this is below (and provides services to)
// users using the library interface, and also the parser for the main
// CVC4 binary.  It is above (and requires the services of) the Prover
// class.

namespace CVC4 {

/**
 * User-visible (library) interface to CVC4.
 */
class ValidityChecker {
  // on entry to the validity checker interface, need to set up
  // current state (ExprManager::d_current etc.)
public:
  void doCommand(Command);

  void query(Expr);
};

} /* CVC4 namespace */

#endif /* __CVC4_VC_H */
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback