00001 /*****************************************************************************/ 00002 /*! 00003 *\file uf_theorem_producer.h 00004 *\brief TRUSTED implementation of uninterpreted function/predicate proof rules 00005 * 00006 * Author: Clark Barrett 00007 * 00008 * Created: Tue Aug 31 23:14:54 2004 00009 * 00010 * <hr> 00011 * Copyright (C) 2003 by the Board of Trustees of Leland Stanford 00012 * Junior University and by New York University. 00013 * 00014 * License to use, copy, modify, sell and/or distribute this software 00015 * and its documentation for any purpose is hereby granted without 00016 * royalty, subject to the terms and conditions defined in the \ref 00017 * LICENSE file provided with this distribution. In particular: 00018 * 00019 * - The above copyright notice and this permission notice must appear 00020 * in all copies of the software and related documentation. 00021 * 00022 * - THE SOFTWARE IS PROVIDED "AS-IS", WITHOUT ANY WARRANTIES, 00023 * EXPRESSED OR IMPLIED. USE IT AT YOUR OWN RISK. 00024 * 00025 * <hr> 00026 * 00027 * CLASS: UFTheoremProducer 00028 * 00029 */ 00030 /*****************************************************************************/ 00031 #ifndef _cvcl__theory_uf__uf_theorem_producer_h_ 00032 #define _cvcl__theory_uf__uf_theorem_producer_h_ 00033 00034 #include "uf_proof_rules.h" 00035 #include "theorem_producer.h" 00036 00037 namespace CVCL { 00038 00039 class TheoryUF; 00040 00041 class UFTheoremProducer: public UFProofRules, public TheoremProducer { 00042 TheoryUF* d_theoryUF; 00043 private: 00044 public: 00045 //! Constructor 00046 UFTheoremProducer(TheoremManager* tm, TheoryUF* theoryUF) : 00047 TheoremProducer(tm), d_theoryUF(theoryUF) { } 00048 00049 Theorem relToClosure(const Theorem& rel); 00050 Theorem relTrans(const Theorem& t1, const Theorem& t2); 00051 Theorem applyLambda(const Expr& e); 00052 Theorem rewriteOpDef(const Expr& e); 00053 00054 }; // end of class UFTheoremProducer 00055 } // end of namespace CVCL 00056 00057 #endif 00058