Git Product home page Git Product logo

Comments (4)

Gbury avatar Gbury commented on May 12, 2024 1

Ok, so PR #81 adds a hint in such cases, and the error message is now:

File "tests/regression/issue77/test.smt2", line 4, character 25-28:
Error Unbound identifier: `1.0`
      Hint: The current logic does not include real arithmtic

This should hopefully help users understand what is wrong in those cases.

from dolmen.

Gbury avatar Gbury commented on May 12, 2024

The problem uses the QF_LIA logic, so only the integer coefficients are recognized by the arithmetic theory. Hence 1.0, a rational/real coefficient, which is not recognized by the integer arithmetic, is treated as any unbound name (exactly the same as if you had written some_not_declared_symbol instead).
I'll try and see if it's reasonable to emit a warning in such cases.

from dolmen.

aytey avatar aytey commented on May 12, 2024

Yeah, you're right; I managed to confuse myself while writing another example.

If you want to close this as "noise", that seems totally reasonable to me -- the "error" is indeed correct.

from dolmen.

Gbury avatar Gbury commented on May 12, 2024

The warning seems like a good idea so i'll elt this issue open until I implement it.

from dolmen.

Related Issues (20)

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.