java.lang.Object
dev.civl.sarl.IF.SARLConstants
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic booleanSimplifies an expression such as (a WITH i:=x)[j] to i==j?x:a[j].static StringDefault directory name for theorem provers to use.static IntegerNumberUsed in a heuristic to determine when to use probabilistic methods to determine polynomial zero-ness.static booleanShall this universe use backwards substitution to solve for certain numeric expressions in terms of others when simplifying? This is used in the Gaussian elimination simplification phase.static booleanShould an "OR" expression e be simplified as not(simplify(not(e))) ?static booleanA technique for simplifying a context in CNF form that contains multiple or-clauses. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
polyProbThreshold
Used in a heuristic to determine when to use probabilistic methods to determine polynomial zero-ness. If the product of the number of variables and the total degree is greater than or equal to this number, the polynomial is considered too big to be expanded, and probabilistic techniques will be used instead (unless the probabilistic bound is 0). -
useBackwardSubstitution
public static boolean useBackwardSubstitutionShall this universe use backwards substitution to solve for certain numeric expressions in terms of others when simplifying? This is used in the Gaussian elimination simplification phase. If this option isfalse, the results of Gaussian elimination are used only to replace certain expressions with constants. If this option istrue, the results are used more generally to replace certain expressions with linear combinations of other expressions. This can reduce the number of symbolic constants occurring in a context, but can be expensive. -
useMultiOrReduction
public static boolean useMultiOrReductionA technique for simplifying a context in CNF form that contains multiple or-clauses. If two or more or-clauses contain a common factor, a simplification may be possible. This technique looks for all opportunities of that kind. For example, if the context contains clauses p||q1 and p||q2 then it will replace those clauses with the result of p||simplify(q1invalid input: '&'invalid input: '&q2'), where the simplify occurs in the context obtained by removing the two original clauses from the original context. -
useDoubleOrNegation
public static boolean useDoubleOrNegationShould an "OR" expression e be simplified as not(simplify(not(e))) ? -
defaultProofDir
Default directory name for theorem provers to use. Will be created in the system's temporary directory (e.g., /tmp) if it doesn't already exist. -
arrayReadCondSimplify
public static boolean arrayReadCondSimplifySimplifies an expression such as (a WITH i:=x)[j] to i==j?x:a[j]. This happens immediately in the universe, so the first expression is never even created.
-
-
Constructor Details
-
SARLConstants
public SARLConstants()
-