mirror of
				https://github.com/Z3Prover/z3
				synced 2025-10-31 03:32:28 +00:00 
			
		
		
		
	one more nightly
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
		
							parent
							
								
									ec1e3cc14a
								
							
						
					
					
						commit
						34c34b68ee
					
				
					 5 changed files with 14 additions and 8 deletions
				
			
		|  | @ -326,7 +326,7 @@ try: | ||||||
|     if ML_ENABLED: |     if ML_ENABLED: | ||||||
|         ml_output_dir = os.path.join(OUTPUT_DIRECTORY, 'html', 'ml') |         ml_output_dir = os.path.join(OUTPUT_DIRECTORY, 'html', 'ml') | ||||||
|         mk_dir(ml_output_dir) |         mk_dir(ml_output_dir) | ||||||
|         if subprocess.call(['ocamldoc', '-html', '-d', ml_output_dir, '-sort', '-hide', 'Z3', '-I', '+zarith', '-I', '%s/api/ml' % BUILD_DIR, '%s/api/ml/z3enums.mli' % BUILD_DIR, '%s/api/ml/z3.mli' % BUILD_DIR]) != 0: |         if subprocess.call(['ocamldoc', '-html', '-d', ml_output_dir, '-sort', '-hide', 'Z3', '-I', '$(ocamlfind query zarith)', '-I', '%s/api/ml' % BUILD_DIR, '%s/api/ml/z3enums.mli' % BUILD_DIR, '%s/api/ml/z3.mli' % BUILD_DIR]) != 0: | ||||||
|             print("ERROR: ocamldoc failed.") |             print("ERROR: ocamldoc failed.") | ||||||
|             exit(1) |             exit(1) | ||||||
|         print("Generated ML/OCaml documentation.") |         print("Generated ML/OCaml documentation.") | ||||||
|  |  | ||||||
|  | @ -56,10 +56,11 @@ stages: | ||||||
|     - script: | |     - script: | | ||||||
|         set -e |         set -e | ||||||
|         cd doc |         cd doc | ||||||
|         python mk_api_doc.py --z3py-package-path=../build/python/z3 |         python mk_api_doc.py --ml --z3py-package-path=../build/python/z3 | ||||||
|         eval `opam config env`  |         eval `opam config env`  | ||||||
|         ocamldoc -html -d api/html/ml -sort -hide Z3 -I $( ocamlfind query zarith ) -I ../build/api/ml ../build/api/ml/z3enums.mli ../build/api/ml/z3.mli |  | ||||||
|         cd .. |         cd .. | ||||||
|  | #       mkdir html/ml | ||||||
|  | #       ocamldoc -html -d api/html/ml -sort -hide Z3 -I $( ocamlfind query zarith ) -I ../build/api/ml ../build/api/ml/z3enums.mli ../build/api/ml/z3.mli | ||||||
|     - script: zip -r api.zip doc/api |     - script: zip -r api.zip doc/api | ||||||
|     - script: cp api.zip $(Build.ArtifactStagingDirectory)/. |     - script: cp api.zip $(Build.ArtifactStagingDirectory)/. | ||||||
|     - task: PublishPipelineArtifact@0 |     - task: PublishPipelineArtifact@0 | ||||||
|  |  | ||||||
|  | @ -229,6 +229,7 @@ namespace q { | ||||||
|         m_mam->on_merge(root, other); |         m_mam->on_merge(root, other); | ||||||
|         if (m_lazy_mam) |         if (m_lazy_mam) | ||||||
|             m_lazy_mam->on_merge(root, other); |             m_lazy_mam->on_merge(root, other); | ||||||
|  |         m_mam->relevant_eh(other, false); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     // watch only nodes introduced in bindings or ground arguments of functions
 |     // watch only nodes introduced in bindings or ground arguments of functions
 | ||||||
|  |  | ||||||
|  | @ -3102,10 +3102,10 @@ namespace q { | ||||||
|         void add_candidate(code_tree * t, enode * app) { |         void add_candidate(code_tree * t, enode * app) { | ||||||
|             if (t != nullptr) { |             if (t != nullptr) { | ||||||
|                 TRACE("mam_candidate", tout << "adding candidate:\n" << mk_ll_pp(app->get_expr(), m);); |                 TRACE("mam_candidate", tout << "adding candidate:\n" << mk_ll_pp(app->get_expr(), m);); | ||||||
|                 if (!t->has_candidates()) { |                 if (m_to_match.empty())  | ||||||
|                     ctx.push(reset_to_match(*this)); |                     ctx.push(reset_to_match(*this)); | ||||||
|                 } |                 if (!t->has_candidates())  | ||||||
|                 m_to_match.push_back(t); |                     m_to_match.push_back(t); | ||||||
|                 t->add_candidate(app); |                 t->add_candidate(app); | ||||||
|             } |             } | ||||||
|         } |         } | ||||||
|  | @ -3783,6 +3783,7 @@ namespace q { | ||||||
|         void propagate() override { |         void propagate() override { | ||||||
|             TRACE("trigger_bug", tout << "match\n"; display(tout);); |             TRACE("trigger_bug", tout << "match\n"; display(tout);); | ||||||
|             for (code_tree* t : m_to_match) { |             for (code_tree* t : m_to_match) { | ||||||
|  |                 std::cout << t << "\n"; | ||||||
|                 SASSERT(t->has_candidates()); |                 SASSERT(t->has_candidates()); | ||||||
|                 m_interpreter.execute(t); |                 m_interpreter.execute(t); | ||||||
|                 t->reset_candidates(); |                 t->reset_candidates(); | ||||||
|  | @ -3824,8 +3825,9 @@ namespace q { | ||||||
|         } |         } | ||||||
| 
 | 
 | ||||||
|         // This method is invoked when n becomes relevant.
 |         // This method is invoked when n becomes relevant.
 | ||||||
|         // If lazy == true, then n is not added to the list of candidate enodes for matching. That is, the method just updates the lbls.
 |         // If lazy == true, then n is not added to the list of 
 | ||||||
|         void relevant_eh(enode * n, bool lazy) { |         // candidate enodes for matching. That is, the method just updates the lbls.
 | ||||||
|  |         void relevant_eh(enode * n, bool lazy) override { | ||||||
|             TRACE("trigger_bug", tout << "relevant_eh:\n" << mk_ismt2_pp(n->get_expr(), m) << "\n"; |             TRACE("trigger_bug", tout << "relevant_eh:\n" << mk_ismt2_pp(n->get_expr(), m) << "\n"; | ||||||
|                   tout << "mam: " << this << "\n";); |                   tout << "mam: " << this << "\n";); | ||||||
|             TRACE("mam", tout << "relevant_eh: #" << n->get_expr_id() << "\n";); |             TRACE("mam", tout << "relevant_eh: #" << n->get_expr_id() << "\n";); | ||||||
|  |  | ||||||
|  | @ -49,6 +49,8 @@ namespace q { | ||||||
|          |          | ||||||
|         virtual void add_pattern(quantifier * q, app * mp) = 0; |         virtual void add_pattern(quantifier * q, app * mp) = 0; | ||||||
| 
 | 
 | ||||||
|  |         virtual void relevant_eh(enode * n, bool lazy) = 0; | ||||||
|  | 
 | ||||||
|         virtual void propagate() = 0; |         virtual void propagate() = 0; | ||||||
| 
 | 
 | ||||||
|         virtual bool can_propagate() const = 0; |         virtual bool can_propagate() const = 0; | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue