GithubHelp home page GithubHelp logo

Comments (9)

ranjitjhala avatar ranjitjhala commented on August 16, 2024

@bmcfluff I can fix this (the fix is to just memoize names of function symbols so we don't define the same symbol twice in SMT land...

from liquid-fixpoint.

ranjitjhala avatar ranjitjhala commented on August 16, 2024

Fixed by #78

from liquid-fixpoint.

BenjaminCosman avatar BenjaminCosman commented on August 16, 2024

See:

https://github.com/ucsd-progsys/liquid-fixpoint/blob/cutsolver/tests/todo/overwrite-names2.fq

Renaming Set_emp makes it pass.

from liquid-fixpoint.

ranjitjhala avatar ranjitjhala commented on August 16, 2024

note to self @ranjitjhala:

This test ALSO passes if we replace FAppTy Set_set X with Set_set X. Wonder why.

from liquid-fixpoint.

ranjitjhala avatar ranjitjhala commented on August 16, 2024

@bmcfluff -- what is the original haskell source that generates this .fq file? Can you re-run it? The .fq file should not have FAppTy Set X it should just have have Set X.

from liquid-fixpoint.

ranjitjhala avatar ranjitjhala commented on August 16, 2024
  1. NEVER EVER print out FAppTy (however it is used internally to denote type application),
  2. Port the ocaml app_of_t so that it eliminates the FAppTy BEFORE converting to Z3,
  3. Hide all "set" related stuff inside Theories.hs (it should not appear in Serialize.hs)
  4. LATER Fix OCAML parser to account for (@(0) @(1)) (type variable application, because now, these are NOT explicit)

from liquid-fixpoint.

ranjitjhala avatar ranjitjhala commented on August 16, 2024

This should be addressed by PR #103

Strangely, all LH tests are passing (hopefully no strange caching taking place!) so I didn't (yet) have to do step 4 above.

from liquid-fixpoint.

ranjitjhala avatar ranjitjhala commented on August 16, 2024

@bmcfluff can you check the above (and the original overwrite.hs and confirm before we close this?) Thanks!

from liquid-fixpoint.

BenjaminCosman avatar BenjaminCosman commented on August 16, 2024

Looks like it works; closing and merging PR #103

from liquid-fixpoint.

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.