1 /********************* */
4 ** Top contributors (to current version):
5 ** Aina Niemetz, Mathias Preiner
6 ** This file is part of the CVC4 project.
7 ** Copyright (c) 2009-2020 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.\endverbatim
12 ** \brief ITE simplification preprocessing pass.
15 #include "cvc4_private.h"
17 #ifndef CVC4__PREPROCESSING__PASSES__ITE_SIMP_H
18 #define CVC4__PREPROCESSING__PASSES__ITE_SIMP_H
20 #include "preprocessing/preprocessing_pass.h"
21 #include "preprocessing/preprocessing_pass_context.h"
24 namespace preprocessing
{
27 class ITESimp
: public PreprocessingPass
30 ITESimp(PreprocessingPassContext
* preprocContext
);
33 PreprocessingPassResult
applyInternal(
34 AssertionPipeline
* assertionsToPreprocess
) override
;
39 IntStat d_arithSubstitutionsAdded
;
44 bool doneSimpITE(AssertionPipeline
*assertionsToPreprocesss
);
46 /** A collection of ite preprocessing passes. */
47 util::ITEUtilities d_iteUtilities
;
49 Statistics d_statistics
;
53 } // namespace preprocessing