Package daikon.simplify
Class Lemma
- Object
-
- Lemma
-
- All Implemented Interfaces:
Comparable<Lemma>
- Direct Known Subclasses:
InvariantLemma
public class Lemma extends Object implements Comparable<Lemma>
A lemma is an object that wraps a Simplify formula representing some logical statement. The only other thing it adds is a short human-readable description, suitable for debugging.Members of the Lemma class proper represent general theorems, which we give to Simplify as background, with hand-written descriptions.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(Lemma other)
@Nullable Class<? extends Invariant>
invClass()
If this lemma came from an invariant, get its class.static List<Lemma>
lemmasList()
Convenience function to give you lemmas[], but as a vector.String
summarize()
Return a human-readable description.
-
-
-
Method Detail
-
invClass
public @Nullable Class<? extends Invariant> invClass()
If this lemma came from an invariant, get its class.
-
compareTo
@Pure public int compareTo(@GuardSatisfied Lemma this, Lemma other)
- Specified by:
compareTo
in interfaceComparable<Lemma>
-
lemmasList
public static List<Lemma> lemmasList()
Convenience function to give you lemmas[], but as a vector.
-
-