Esempio n. 1
0
        public static bool Found(Program node)
        {
            var cfq = new CheckForQuantifiers();

            cfq.VisitProgram(node);
            return(cfq.quantifiersExist);
        }
Esempio n. 2
0
 private static bool UsingCVC4AndQuantifiersPresent(Program program, IEnumerable <string> ProverOptions)
 {
     return((ProverOptions.Contains("SOLVER=cvc4") ||
             ProverOptions.Contains("SOLVER=CVC4")) &&
            ProverOptions.Contains("LOGIC=QF_ALL_SUPPORTED") &&
            CheckForQuantifiers.Found(program));
 }