Coder Social home page Coder Social logo

ocaml-cvc5's People

Contributors

filipeom avatar joaomhmpereira avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Forkers

filipeom

ocaml-cvc5's Issues

undefined reference to `CaDiCaL::Solver::flush_proof_trace(bool)`

Getting:

File "bin/dune", line 11, characters 7-12:
11 |  (name main2)
            ^^^^^
/usr/bin/ld: /home/filipe/.local/share/opam/wasp/lib/cvc5/libcvc5.a(cadical.cpp.o): in function `cvc5::internal::prop::CadicalSolver::getProofSketch()':
cadical.cpp:(.text+0x56e): undefined reference to `CaDiCaL::Solver::flush_proof_trace(bool)'
collect2: error: ld returned 1 exit status
File "caml_startup", line 1:
Error: Error during linking (exit code 1)

On ubuntu server:

Description:    Ubuntu 23.10
Release:        23.10
Codename:       mantic

Need to investigate further

Build cvc5's dependencies separately

opam's sandboxing doesn't allow network requests, so we can't rely on the --auto-download flag for cvc5's build

Instead, we need to build each dependency separately through dune

Runtime error when dealing w/ more formulas

When dealing with a bigger number of formulas a fatal error/seg fault occurs.

For instance, in example incremental.ml (https://github.com/formalsec/ocaml-cvc5/blob/main/examples/incremental.ml), if the number of loop iterations is set to a higher number (e.g. 5000 iterations) we get the error:

Fatal error: exception Invalid_argument("Invalid term in 'children' at index 0, expected a term associated with the term manager of this solver") or simply a segmentation fault.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.