30 lines
659 B
C++
30 lines
659 B
C++
#ifndef __ANTHEM__SIMPLIFICATION_H
|
|
#define __ANTHEM__SIMPLIFICATION_H
|
|
|
|
#include <anthem/AST.h>
|
|
|
|
namespace anthem
|
|
{
|
|
|
|
////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Simplification
|
|
//
|
|
////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
|
|
enum class SimplificationResult
|
|
{
|
|
Simplified,
|
|
Unchanged,
|
|
};
|
|
|
|
////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
|
|
void simplify(ast::Formula &formula);
|
|
|
|
////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
|
|
}
|
|
|
|
#endif
|