summaryrefslogtreecommitdiff
path: root/src/theory/quantifiers/sygus_inference.h
blob: a61cebcc0fe999832eef4c7a8a5f4ff0482c30a8 (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
43
44
45
46
47
48
49
/*********************                                                        */
/*! \file sygus_inference.h
 ** \verbatim
 ** Top contributors (to current version):
 **   Andrew Reynolds
 ** This file is part of the CVC4 project.
 ** Copyright (c) 2009-2017 by the authors listed in the file AUTHORS
 ** in the top-level source directory) and their institutional affiliations.
 ** All rights reserved.  See the file COPYING in the top-level source
 ** directory for licensing information.\endverbatim
 **
 ** \brief sygus_inference
 **/

#include "cvc4_private.h"

#ifndef __CVC4__THEORY__QUANTIFIERS__SYGUS_INFERENCE_H
#define __CVC4__THEORY__QUANTIFIERS__SYGUS_INFERENCE_H

#include <vector>
#include "expr/node.h"

namespace CVC4 {
namespace theory {
namespace quantifiers {

/** SygusInference
 *
 * A preprocessing utility to turn a set of (quantified) assertions into a
 * single SyGuS conjecture.
 */
class SygusInference
{
 public:
  SygusInference();
  ~SygusInference() {}
  /** simplify assertions
   *
   * Either replaces assertions with the negation of an equivalent SyGuS
   * conjecture and returns true, or otherwise returns false.
   */
  bool simplify(std::vector<Node>& assertions);
};

} /* CVC4::theory::quantifiers namespace */
} /* CVC4::theory namespace */
} /* CVC4 namespace */

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