]> git.unchartedbackwaters.co.uk Git - francis/stp.git/commitdiff
Hack. The ITE context simplification blows out ff.stp, i.e. it takes > 5 minutes...
authortrevor_hansen <trevor_hansen@e59a4935-1847-0410-ae03-e826735625c1>
Thu, 7 Apr 2011 13:38:52 +0000 (13:38 +0000)
committertrevor_hansen <trevor_hansen@e59a4935-1847-0410-ae03-e826735625c1>
Thu, 7 Apr 2011 13:38:52 +0000 (13:38 +0000)
git-svn-id: https://stp-fast-prover.svn.sourceforge.net/svnroot/stp-fast-prover/trunk/stp@1256 e59a4935-1847-0410-ae03-e826735625c1

src/simplifier/UseITEContext.h

index 47d38364eadf70701002393037cf18088464f388..9c19b147cb081545bc2357dfbe5dc9ad79433789 100644 (file)
@@ -63,9 +63,13 @@ namespace BEEV
       if (n.isAtom())
         return n;
 
+      // Hacks to stop it blowing out..
       {
           if (visited[n]++ > 10)
             return n;
+
+          if (context.size() > 20)
+            return n;
       }
 
       ASTVec new_children;