Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add 2 new API functions to get depth & groundness of exprs #7479

Merged
merged 2 commits into from
Dec 30, 2024

Conversation

nunoplopes
Copy link
Collaborator

@nunoplopes nunoplopes commented Dec 16, 2024

Add:

  • Z3_is_ground
  • Z3_get_depth

These cannot be implemented efficiently from outside of Z3. These functions are O(1) when run internally.

That's my Xmas gift for myself this year 🎅🎅

@NikolajBjorner NikolajBjorner merged commit 322dcec into Z3Prover:master Dec 30, 2024
8 checks passed
@nunoplopes nunoplopes deleted the ground_depth_api branch December 30, 2024 17:00
@nunoplopes
Copy link
Collaborator Author

SantaClauseHohohoGIF

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants