Using SMT-LIB to count the number of modules using a formula
I am not sure that this is possible using SMT-LIB, if it is not possible does an alternative solver exist that can do it? Consider the equations a < 10 and a > 5 b < 5 and b > 0 b < c < a with a , b and c integers The values for a and b where the maximum number of model exist that satisfy the equations when a=9 and b=1 . Do SMT-LIB support the following: For each values of a and b count the number of models that satisfy the formulas and give the value for a and b that maximize the count. Let's break down your goals: You want to enumerate all possible ways in which a and b (...and more) can be