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

  • Home
  • SEARCH
  • 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 8852789
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T13:29:19+00:00 2026-06-14T13:29:19+00:00

I am currently working on code that translates a path through a C program

  • 0

I am currently working on code that translates a “path” through a C program into the corresponding SMT query to test the feasibility of this path. I have working code that create a SMT-LIB v1.2 query, and that uses Z3 2.11 and the QF_AUFBV logic to solve the query. I am currently porting this code over to Z3 4.3, to take advantage of any speed advances that may have happened since then, especially since my former code seems to take a long time (around 22 minutes) on a query that merely assigns 24 values to a three-dimensional array and checks the value of a certain location in the array.

However, it seems that the QF_AUFBV logic (as of the SMT-LIB v2.0 standard) no longer supports multi-dimensional arrays, or rather arrays whose values are also arrays (potentially deeper). Once I take out the line “(set-logic QF_AUFBV)” from my query, Z3 4.3 is able to process the query, but it still takes a long time.

I was wondering if anyone knew why support for multi-dimensional arrays was stopped in the SMT-LIB v2.0 standard, and what alternative logics I could use. I was also wondering what logic Z3 was anyway using when I took out the line that specified the QF_AUFBV theory.

Thanks!

  • 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-06-14T13:29:20+00:00Added an answer on June 14, 2026 at 1:29 pm

    The SMT-LIB standard never had support for multi-dimensional arrays. Z3 could process them, but they were not part of the standard. SMT-LIB 1.0 is a very restrictive format, that is why Z3 had several extensions for accommodating user needs. On the other hand, SMT-LIB 2.0 is a very rich input format and fixes the main issues users had with SMT-LIB 1.0. In Z3 4.x, when the logic is specified in the input file, Z3 tries to be compliant with the SMT-LIB 2.0 standard. When the set-logic is removed, all Z3 specific extensions are enabled.

    As you described, an array sorrt (Array I1 I2 R) can be encoded as (Array I1 (Array I2 R)).

    Regarding performance, Z3 3.x and 4.x do not have performance improvements for the array theory. They have many improvements for bit-vectors, but they are not available when the problem mixes arrays and bit-vectors. A new array theory is in TODO list, but nobody in the Z3 team is currently working on that.

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

Sidebar

Related Questions

I'm currently working on a plug-in for Eclipse that translates some custom Java code
I am currently working on a project where I have code that looks like
I am currently working on a code base, that has never had any unit
I'm currently working on a piece of code that quite simply uses a boolean
I am currently working on a site that includes javascript code that we get
I'm currently working on some concurrent code that would appear to have a few
I am currently working on some Java code that has a lot of ActionListeners
I am currently working on the maintenance of a piece of code that is
I'm currently working on a problem that involves System.Reflection.Emit code generation. I'm trying to
I'm currently working on some code that handles keyboard shortcuts in my Silverlight 4

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.