01: // This file is part of KeY - Integrated Deductive Software Design
02: // Copyright (C) 2001-2007 Universitaet Karlsruhe, Germany
03: // Universitaet Koblenz-Landau, Germany
04: // Chalmers University of Technology, Sweden
05: //
06: // The KeY system is protected by the GNU General Public License.
07: // See LICENSE.TXT for details.
08: //
09: //
10:
11: package de.uka.ilkd.key.logic;
12:
13: import de.uka.ilkd.key.logic.op.Quantifier;
14:
15: /**
16: * Axiom inherits from Term. It represents an axiom in an abstract
17: * data type. It consists of a conjunction of equalities and
18: * inequalities, which are implicitly quantified.
19: */
20:
21: public class Axiom { //@@@ this class is not yet designed
22:
23: private Term term;
24:
25: public Axiom(Term t) {
26: if (t.op() instanceof Quantifier) {
27: term = t;
28: } else {
29: throw new IllegalArgumentException(
30: "Axioms require quantified terms");
31: }
32: }
33:
34: public Term getAxiomTerm() {
35: return term;
36: }
37:
38: }
|