CVC3
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
LFSCAssume Class Reference

#include <LFSCBoolProof.h>

Inherits LFSCProof.

Collaboration diagram for LFSCAssume:
Collaboration graph

Public Member Functions

virtual LFSCAssumeAsLFSCAssume ()
 
void print_pf (std::ostream &s, int ind=0)
 
void print_struct (std::ostream &s, int ind=0)
 
LFSCProofclone ()
 
int getNumChildren ()
 
LFSCProofgetChild (int n)
 
int checkBoolRes (std::vector< int > &clause)
 
- Public Member Functions inherited from LFSCProof
virtual LFSCProofExprAsLFSCProofExpr ()
 
virtual LFSCLraAddAsLFSCLraAdd ()
 
virtual LFSCLraSubAsLFSCLraSub ()
 
virtual LFSCLraMulCAsLFSCLraMulC ()
 
virtual LFSCLraAxiomAsLFSCLraAxiom ()
 
virtual LFSCLraContraAsLFSCLraContra ()
 
virtual LFSCLraPolyAsLFSCLraPoly ()
 
virtual LFSCBoolResAsLFSCBoolRes ()
 
virtual LFSCLemAsLFSCLem ()
 
virtual LFSCClausifyAsLFSCClausify ()
 
virtual LFSCProofGenericAsLFSCProofGeneric ()
 
virtual LFSCPfVarAsLFSCPfVar ()
 
virtual LFSCPfLambdaAsLFSCPfLambda ()
 
virtual LFSCPfLetAsLFSCPfLet ()
 
virtual bool isLraMulC ()
 
void print (std::ostream &s, int ind=0)
 
virtual bool isTrivial ()
 
long int get_string_length ()
 
void print_structure (std::ostream &s, int ind=0)
 
void setRplProof (LFSCProof *p)
 
virtual void fillHoles ()
 
virtual int checkOp ()
 
int getChOp ()
 
void setChOp (int c)
 
- Public Member Functions inherited from LFSCObj
 LFSCObj ()
 
- Public Member Functions inherited from Obj
 Obj ()
 
virtual ~Obj ()
 
int GetRefCount ()
 get ref count
 
void Ref ()
 reference
 
void Unref ()
 unreference
 

Static Public Member Functions

static LFSCProofMake (int v, LFSCProof *pf, bool assm=true, int type=3)
 
- Static Public Member Functions inherited from LFSCProof
static int make_lambda (LFSCProof *p)
 
static LFSCProofMake_CNF (const Expr &form, const Expr &reason, int pos)
 
static LFSCProofMake_not_not_elim (const Expr &pf, LFSCProof *p)
 
static LFSCProofMake_mimic (const Expr &pf, LFSCProof *p, int numHoles)
 
static LFSCProofMake_and_elim (const Expr &form, LFSCProof *p, int n, const Expr &expected)
 
static int get_proof_counter ()
 
- Static Public Member Functions inherited from LFSCObj
static void initialize (const Expr &pf_expr, int lfscm)
 
- Static Public Member Functions inherited from Obj
static void print_error (const char *c, std::ostream &s)
 
static void print_warning (const char *c)
 
static void initialize ()
 

Private Member Functions

 LFSCAssume (int v, LFSCProof *pf, bool assm, int type)
 
virtual ~LFSCAssume ()
 
long int get_length ()
 

Private Attributes

int d_var
 
RefPtr< LFSCProofd_pf
 
bool d_assm
 
int d_type
 

Additional Inherited Members

- Protected Member Functions inherited from LFSCProof
 LFSCProof ()
 
virtual ~LFSCProof ()
 
- Static Protected Member Functions inherited from LFSCObj
static int getNumNodes (const Expr &pf, bool recount=false)
 
static Expr cascade_expr (const Expr &e)
 
static void define_skolem_vars (const Expr &e)
 
static bool isVar (const Expr &e)
 
static void collect_vars (const Expr &e, bool readPred=true)
 
static Expr queryElimNotNot (const Expr &expr)
 
static Expr queryAtomic (const Expr &expr, bool getBase=false)
 
static int queryM (const Expr &expr, bool add=true, bool trusted=false)
 
static int queryMt (const Expr &expr)
 
static int queryT (const Expr &e)
 
static bool getY (const Expr &e, Expr &pe, bool doIff=true, bool doLogic=true)
 
static bool isFormula (const Expr &e)
 
static bool can_pnorm (const Expr &e)
 
static bool what_is_proven (const Expr &pf, Expr &pe)
 
- Protected Attributes inherited from LFSCProof
int printCounter
 
LFSCProofrplProof
 
long int strLen
 
int chOp
 
int assumeVar
 
int assumeVarUsed
 
std::vector< int > br
 
bool brComputed
 
- Static Protected Attributes inherited from LFSCProof
static int pf_counter = 0
 
static std::map< LFSCProof *, int > lambdaMap
 
static std::map< LFSCProof
*, LFSCProof * > 
lambdaPrintMap
 
static int lambdaCounter = 1
 

Detailed Description

Definition at line 90 of file LFSCBoolProof.h.

Constructor & Destructor Documentation

LFSCAssume::LFSCAssume ( int  v,
LFSCProof pf,
bool  assm,
int  type 
)
inlineprivate

Definition at line 96 of file LFSCBoolProof.h.

Referenced by clone(), and Make().

virtual LFSCAssume::~LFSCAssume ( )
inlineprivatevirtual

Definition at line 97 of file LFSCBoolProof.h.

Member Function Documentation

long int LFSCAssume::get_length ( )
inlineprivatevirtual

Reimplemented from LFSCProof.

Definition at line 98 of file LFSCBoolProof.h.

References d_pf, and LFSCProof::get_string_length().

virtual LFSCAssume* LFSCAssume::AsLFSCAssume ( )
inlinevirtual

Reimplemented from LFSCProof.

Definition at line 100 of file LFSCBoolProof.h.

void LFSCAssume::print_pf ( std::ostream &  s,
int  ind = 0 
)
virtual

Implements LFSCProof.

Definition at line 161 of file LFSCBoolProof.cpp.

References CVC3::abs(), d_assm, d_pf, d_type, d_var, and LFSCProof::print().

void LFSCAssume::print_struct ( std::ostream &  s,
int  ind = 0 
)
virtual

Reimplemented from LFSCProof.

Definition at line 172 of file LFSCBoolProof.cpp.

References d_assm, d_pf, d_var, and LFSCProof::print_structure().

static LFSCProof* LFSCAssume::Make ( int  v,
LFSCProof pf,
bool  assm = true,
int  type = 3 
)
inlinestatic
LFSCProof* LFSCAssume::clone ( )
inlinevirtual

Implements LFSCProof.

Definition at line 106 of file LFSCBoolProof.h.

References d_assm, d_pf, d_type, d_var, RefPtr< T >::get(), and LFSCAssume().

int LFSCAssume::getNumChildren ( )
inlinevirtual

Reimplemented from LFSCProof.

Definition at line 107 of file LFSCBoolProof.h.

LFSCProof* LFSCAssume::getChild ( int  n)
inlinevirtual

Reimplemented from LFSCProof.

Definition at line 108 of file LFSCBoolProof.h.

References d_pf, and RefPtr< T >::get().

int LFSCAssume::checkBoolRes ( std::vector< int > &  clause)
inlinevirtual

Reimplemented from LFSCProof.

Definition at line 110 of file LFSCBoolProof.h.

References LFSCProof::checkBoolRes(), d_pf, d_type, and d_var.

Member Data Documentation

int LFSCAssume::d_var
private

Definition at line 92 of file LFSCBoolProof.h.

Referenced by checkBoolRes(), clone(), print_pf(), and print_struct().

RefPtr< LFSCProof > LFSCAssume::d_pf
private

Definition at line 93 of file LFSCBoolProof.h.

Referenced by checkBoolRes(), clone(), get_length(), getChild(), print_pf(), and print_struct().

bool LFSCAssume::d_assm
private

Definition at line 94 of file LFSCBoolProof.h.

Referenced by clone(), print_pf(), and print_struct().

int LFSCAssume::d_type
private

Definition at line 95 of file LFSCBoolProof.h.

Referenced by checkBoolRes(), clone(), and print_pf().


The documentation for this class was generated from the following files: