Giter VIP home page Giter VIP logo

benchmarks's People

Contributors

airini avatar nick8325 avatar solrun avatar warbo avatar zgrannan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

benchmarks's Issues

Mistake in benchmark prod/prop_38

This benchmark has been wrongly translated from the "Productive use of failure paper". It should be an OR instead of an AND in the condition.

No license?

Hello, I can't see a license anywhere for how to license my contributions. Could you add a LICENSE or COPYING file somewhere please?

explicit polymorphism?

It seems to me that it is a bit inconvenient to use implicit polymorphism (à la ML) instead of explicit type parameters, which I think is already present in ad-hoc ways in SMTlib2 (for array types and bitvectors sizes). The as construct feels a bit strange (nil as (list a)) could be simply written (nil a). Of course I understand this is probably too late to change :)

Why are there true propositions in false/ ?

According to the README the problems in the false/ subdir should all be false propositions for counterexample finding, but there seem to be a few true ones in there as well. In particular the one that surprised me was productive_use_of_failure_app_inj1 as a straightforward translation of it into Coq produced a statement which is trivial to prove by induction on xs. The lemma as stated also seems intuitively true to me: with the first argument fixed, append should be injective. I admit a lack of experience in the SMT tools which TIP normally targets, so perhaps I'm seriously misunderstanding something here. Could someone with more experience on this project care to comment?

SMT-LIB2 conventions

The algebraic datatypes don't seem to comply with SMT-LIB 2.6 format. Do you have any plans to make it SMT-LIB compliant to enable checking your benchmarks between tools? The "prove" command seems extra, but is easier to add.

Invalid match patterns order

The SMTLIB2 specification fixes top-down order of pattern comparison in match terms (see sec. 3.6.1, after Remark 4).
In the generated benchmark however we obtain:

(match x
    ((_ false)
     (ESC true)
     (P true)
     (Q true)
     (R true)))

(taken from benchmark).
This forces pattern matching to follow the first _ clause.

spurious `@` in some benchmarks?

Some problems, e.g. benchmarks/isaplanner/prop_12.smt2, contain the symbol @, which is not declared. I am not very familiar with smtlib2 but I don't think it is a special keyword.

feature proposal: `lemma`

I don't know where discussions about the TIP format itself should go (some specific mailing list? or the tip-org.github.io page repository?), but in the mean time, I'd like to propose a toplevel statement (lemma t) (where t is a term of type Bool). The statement differs from (assert t) in that it must be proved before being used. This seems really useful in the context of inductive theorem proving, which is not cut free. Tools like quickspec could then parse a TIP problem and return a new TIP problem that is similar, except it contains additional lemma statements containing conjectures.

Duplicates in benchmarks

There a lot of duplicates in benchmarks, which probably should be eliminated.
They can be detected with rdfind (rdfind -dryrun true TIP).
Consider the full list of duplicates:
results.txt

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.