Code Monkey home page Code Monkey logo

agda-presburger's People

Contributors

blaisorblade avatar gallais avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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

agda-presburger's Issues

Incompatible with new agda and new agda-stdlib?

Thank you for writing this wonderful library, I was thrilled to read the type of the top-level dec function in Presburger.agda and read the (very clear and readable!) syntax and semantics in Representation.agda and Semantics.agda; this looks super powerful.

However my Agda will not typecheck the library; some errors I could work around (my changes so far visible here), but I had to add two {-# TERMINATING #-} pragmas (which is unfortunate) and still there is one error that I'm not sure how to solve, because I am very much a novice Agda programmer (and unfamiliar with the library):

.../src/Disjunction-prop.agda:117,53-62
Σ
(⟦ proj₁ (⋁ Vec.map φ (Vec.allFin σ)) ⟧ ρ →
 Any (λ φ₁ → ⟦ proj₁ φ₁ ⟧ ρ) (Vec.map φ (Vec.allFin σ)))
(λ x →
   (⟦ proj₁ (⋁ Vec.map φ (Vec.allFin σ)) ⟧ ρ) ←
   Any (λ φ₁ → ⟦ proj₁ φ₁ ⟧ ρ) (Vec.map φ (Vec.allFin σ)))
!=< (⟦ proj₁ (⋁[k< σ ] φ) ⟧ ρ) ≡ _y_848
when checking that the expression ⟦⋁ φs ⟧ ρ has type
(⟦ proj₁ (⋁[k< σ ] φ) ⟧ ρ) ≡ _y_848

which refers to this line here in my updated version of Disjunction-prop.agda -- hopefully my changes so far are correct, if not very nice. (The change in that file is because apparently, the _≈⟨_⟩_ function changed to be syntax instead, which one cannot rename on import, it seems.)

Does someone have an updated version of this library that I can use with newer versions of Agda and friends? Or perhaps someone has an idea on how to fix some of the issues that one encounters when trying to compile with said newer versions?

Thanks again!

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.