Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6994029
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T19:50:22+00:00 2026-05-27T19:50:22+00:00

I am working with Z3 and Yices for less than a year for solving

  • 0

I am working with Z3 and Yices for less than a year for solving some research problems. Working with these solvers, I always need to evaluate the performance, especially two things: time and space (memory) required for modeling/checking (the satisfiability). In case of Z3, I found no clue to find them directly. I tried with the “statistics” (using the function “DisplayStatistics” provided by Z3 NET API), and found the output as shown (e.g.) below:

num. conflicts: 122

num. decisions: 2245

num. propagations: 27884 (binary: 21129)

num. restarts: 1

num. final checks: 1

num. min. lits: 52

num. added eqs.: 3766

num. mk bool var: 2782

num. del bool var: 658

num. mk enode: 1723

num. del enode: 78

num. mk clause: 3622

num. del clause: 1517

num. mk bin clause: 3067

num. mk lits: 18935

num. ta conflicts: 28

num. add rows: 5091

num. pivots: 328

num. assert lower: 2597

num. assert upper: 3416

num. assert diseq: 1353

num. bound prop: 787

num. fixed eqs: 697

num. offset eqs: 866

num. pseudo nl.: 34

num. eq. adapter: 820

I do not know how to interpret these values to understand the used memory/time. There is some way to find the running time (using timer classes like Stopwatch). But, in case of space requirement, I did not find any way. If I can get the number of Boolean variables (low level, SAT solver) required for modeling could work very well for me.

It would be great, if anyone can show me the solution.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T19:50:23+00:00Added an answer on May 27, 2026 at 7:50 pm

    Which version of Z3 are you using? The latest version (Z3 3.2) includes memory consumption statistics. It will be displayed as max. heap size. That being said, the best way to evaluate Z3’s performance is to use z3.exe. The Z3 executable will report time and memory consumption. Moreover, some performance improvements are not yet available through the API.

    For several applications the textual interface is the ideal option. That is, your application communicates with the Z3 process using SMT 2.0 commands through a pipe. The main advantages are: it is very easy to use different SMT solvers and compare them; it is easy to kill Z3 and restart it; you can create several different processes; if Z3 dies your application does not die. Of course, this solution is not good for applications that perform thousands of easy queries, or require a tight integration with Z3 (e.g. Scala^Z3).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Working with dates in ruby and rails on windows, I'm having problems with pre-epoch
Working with python interactively, it's sometimes necessary to display a result which is some
Working with an API where I need to send a value over in an
Working on some code and I'm given the error when running it from the
Working on a end of the year project for school and chose to create
Working with some basic java apps on CentOS 5 linux and I have my
Working on Ubuntu 10.04 Lucid webserver (linode). Followed these instructions to install wkhtmltopdf link
Working with MVC 2 ad with the help of some friends I thought all
Working on a project an need a specific effect on the homepage. When a
Working with an API that can handle multiple connections (i.e. sessions), each of these

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.