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

            cfq.VisitProgram(node);
            return(cfq.quantifiersExist);
        }
Exemplo 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));
 }