GCC Code Coverage Report
Directory: . Exec Total Coverage
File: src/proof/alethe/alethe_node_converter.h Lines: 0 1 0.0 %
Date: 2021-09-29 Branches: 0 0 0.0 %

Line Exec Source
1
/******************************************************************************
2
 * Top contributors (to current version):
3
 *   Haniel Barbosa
4
 *
5
 * This file is part of the cvc5 project.
6
 *
7
 * Copyright (c) 2009-2021 by the authors listed in the file AUTHORS
8
 * in the top-level source directory and their institutional affiliations.
9
 * All rights reserved.  See the file COPYING in the top-level source
10
 * directory for licensing information.
11
 * ****************************************************************************
12
 *
13
 * Alethe node conversion
14
 */
15
16
#include "cvc5_private.h"
17
18
#ifndef CVC4__PROOF__ALETHE__ALETHE_NODE_CONVERTER_H
19
#define CVC4__PROOF__ALETHE__ALETHE_NODE_CONVERTER_H
20
21
#include <iostream>
22
#include <map>
23
24
#include "expr/node.h"
25
#include "expr/node_converter.h"
26
27
namespace cvc5 {
28
namespace proof {
29
30
/**
31
 * This is a helper class for the Alethe post-processor that converts nodes into
32
 * form that Alethe expects.
33
 */
34
class AletheNodeConverter : public NodeConverter
35
{
36
 public:
37
  AletheNodeConverter();
38
  ~AletheNodeConverter() {}
39
  /** Convert by removing attributes of quantifiers. */
40
  Node postConvert(Node n) override;
41
  /** Should only traverse nodes containing closures. */
42
  bool shouldTraverse(Node n) override;
43
};
44
45
}  // namespace proof
46
}  // namespace cvc5
47
48
#endif