gallais / agda-presburger Goto Github PK
View Code? Open in Web Editor NEWDeciding Presburger arithmetic in agda
License: Other
Deciding Presburger arithmetic in agda
License: Other
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!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.