mirror of
				https://github.com/Z3Prover/z3
				synced 2025-11-04 05:19:11 +00:00 
			
		
		
		
	add is_hypothesis() method
This commit is contained in:
		
							parent
							
								
									e48e7ef7be
								
							
						
					
					
						commit
						69a3e984aa
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -2082,6 +2082,7 @@ public:
 | 
			
		|||
 | 
			
		||||
    bool is_undef_proof(expr const * e) const { return e == m_undef_proof; }
 | 
			
		||||
    bool is_asserted(expr const * e) const { return is_app_of(e, m_basic_family_id, PR_ASSERTED); }
 | 
			
		||||
    bool is_hypothesis (expr const *e) const {return is_app_of (e, m_basic_family_id, PR_HYPOTHESIS);}
 | 
			
		||||
    bool is_goal(expr const * e) const { return is_app_of(e, m_basic_family_id, PR_GOAL); }
 | 
			
		||||
    bool is_modus_ponens(expr const * e) const { return is_app_of(e, m_basic_family_id, PR_MODUS_PONENS); }
 | 
			
		||||
    bool is_reflexivity(expr const * e) const { return is_app_of(e, m_basic_family_id, PR_REFLEXIVITY); }
 | 
			
		||||
| 
						 | 
				
			
			@ -2112,6 +2113,7 @@ public:
 | 
			
		|||
    bool is_skolemize(expr const * e) const { return is_app_of(e, m_basic_family_id, PR_SKOLEMIZE); }
 | 
			
		||||
 | 
			
		||||
    MATCH_UNARY(is_asserted);
 | 
			
		||||
    MATCH_UNARY(is_hypothesis);
 | 
			
		||||
    MATCH_UNARY(is_lemma);
 | 
			
		||||
 | 
			
		||||
    bool has_fact(proof const * p) const {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue