mirror of
				https://github.com/Z3Prover/z3
				synced 2025-10-31 19:52:29 +00:00 
			
		
		
		
	Gracefully handle absence of a proof
This commit is contained in:
		
							parent
							
								
									d9100437ce
								
							
						
					
					
						commit
						176c0a97f7
					
				
					 1 changed files with 4 additions and 2 deletions
				
			
		|  | @ -101,9 +101,11 @@ public: | |||
|     proof * get_proof() override { | ||||
|         scoped_watch _t_(m_pool.m_proof_watch); | ||||
|         if (!m_proof.get()) { | ||||
|             elim_aux_assertions pc(m_pred); | ||||
|             m_proof = m_base->get_proof(); | ||||
|             pc(m, m_proof, m_proof); | ||||
|             if (m_proof) { | ||||
|                 elim_aux_assertions pc(m_pred); | ||||
|                 pc(m, m_proof, m_proof); | ||||
|             } | ||||
|         } | ||||
|         return m_proof; | ||||
|     } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue