Comments (5)
Defaulting to minisat sounds like a good step whilst we find a more long-term solution.
The alternative is the sat_fallback_for_smt option, which runs minisat alongside z3 and falls back to minisat if z3 ever fails... but if we know it's definitely going to fail then that doesn't sound very useful.
from vampire.
I looked at this code not so long ago in #300 - there we partially handle it if the "polymorphism" is actually just an indexed family of monomorphic functions. This looks like it's more involved though.
Seems to me that the thing to do would be to keep the mechanism in #300 and either:
- Ground all sort variables before handing to Z3.
- Skip asserting clauses with sort variables to Z3. Then it's an under-approximation, but it is anyway.
from vampire.
Just to note, that even with the fix #455 in place, we still receive an error when carrying out the above run command. However, the error is totally different (see below). It is linked to the interaction between polymorphism and UWA. As the UWA implementation is set to totally change, I am not going to fix this now.
Version : Vampire 4.7 (commit 340dc86bd on 2023-06-23 14:21:36 +0100)
Control points passed: 2214116
last control point:
-AtomicSort::isArraySort (2214116)
main
vampireMode()
doProving()
ProvingHelper::runVampireSaturation
ProvingHelper::runVampireSaturationImpl
MainLoop::run
SaturationAlgorithm::init
SaturationAlgorithm::addInputClause
SaturationAlgorithm::addInputSOSClause
ActiveClauseContainer::add
SingleParamEvent::fire
SuperpositionSubtermIndex::handleClause
SubstitutionTree::insert
SubstitutionTree::UArrIntermediateNode::childByTop
SubstitutionTree::ChildBySortHelper::mightExistAsTop
tryGetResultSort(TermList,unsigned&)
tryGetResultSort(Term*,unsigned&)
SortHelper::getResultSortOrMasterVariable
SortHelper::getResultSort(Term*)
SubstHelper::apply(TermList...)
SubstHelper::applyImpl(TermList...)
SubstHelper::applyImpl(Term*...)
AtomicSort::create/2
TermSharing::insert(AtomicSort*)
from vampire.
To clarify #455 has nothing to do with this issue. On further investigation, this issue is caused by current UWA implementation incorrectly creating constraints between sorts. As UWA implementation is set to change, I don't propose to fix now, but will leave this issue open so that we can revisit once new UWA implementation goes in.
from vampire.
No longer reproduces on master, I guess because the UWA changes came through. Good job!
from vampire.
Related Issues (20)
- The version of z3 we are currently linking against (tag: z3-4.12.2 from May) again fails to deliver definite answers sometimes HOT 3
- Smart ep=RSTC skips congruences for introduced symbols for which it shouldn't? HOT 2
- [macOS] Build uses unsupported flags which break it: `cc1plus: error: '-fno-fat-lto-objects' are supported only with linker plugin` HOT 40
- Revive `gcov` HOT 2
- Linking error when building Debug version in Cygwin HOT 8
- Miscellanious Crashes HOT 14
- 3 tests fail on Sonoma / aarch64 HOT 3
- don't synchronise proofs if we don't print them HOT 1
- Unexpected "User error: This version cannot be used with this logic!" HOT 1
- Reimplement Lib/Set.hpp as a wrapper of std::unordered_set HOT 9
- A different operator precedence when parsing HOL? HOT 1
- FDI is really not very good and not type-safe.
- Crash on `PUZ091^5` with NewCNF HOT 4
- Bad saturation on `SYO500_8.008` HOT 11
- How make Vampire return true/false for a given problem (question)? HOT 5
- UPDR incorrect (deletes too much) in the presence of specially parsed function definitions from SMT HOT 4
- SaturationAlgorithm::addInputSOSClause is currently skipping forwardSimplify
- No proof with implies-transitive SMT problem (regression) HOT 4
- Vampire crashing when printing a finite model: HOT 1
- Printing some large proofs kills us? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vampire.