Comments (2)
I was expecting coq.gr->string GR KIdent
to give a kernel name KIdent
such that coq.locate KIdent GR
, which is how I understand the doc:
Line 400 in 6b4c040
Right now this is not the case
Elpi Command debug.
Elpi Query debug lp:{{
coq.locate "bool" GR, % ok
coq.locate "Coq.Init.Datatypes.bool" GR', % ok
coq.gr->string GR ID, % ID = Coq.Init.Datatypes.bool.bool
coq.locate ID GR'' % fails
}}.
Also coq.gr->path
seems to suffer the same problem, except there is no such thing as acoq.path->gr
to test that one cancels the other...
from coq-elpi.
Not 100% sure of recalling why I did it like that, but the code does it on purpose :-)
Unfortunately I did not bind mutual inductives yet, so I can't test this easily, but my guess is that
it would print ...even.even
and ...even.odd
for example, since the first part comes from the block of mutual inductives while the second from the name of the single inductive (in the inductive block).
It prints ....bool.bool.true
for constructors as well...
coq.gr->id
probably does what you want.
I leave this open since I don't know what to do. If I remove the duplication I'm afraid that it would print the same for both even and odd, that is not something you want.
from coq-elpi.
Related Issues (20)
- A command that opens one proof or several proof obligations
- `coq.say` should honour `Set Printing Width` HOT 2
- Universe polymorphic record declaration fails in presence of a coercion HOT 1
- Record fields are not visible from outside the module if the record is universe polymorphic HOT 2
- [derive.param1.trivial] Unsupported type HOT 9
- wish: support warning attribute in 8.18
- wish: API to write to glob file HOT 2
- glob location in {{ quote }} are off
- derive should generate functoriality properties for param1 translation of non-inductive predicates HOT 9
- `coq-elpi` cannot be built while it is installed HOT 2
- `coq.ltac.call` fails with `Anomaly "Uncaught exception Not_found."`
- Please pick the version you prefer for Coq 8.17 in Coq Platform 2023.03 HOT 2
- missi'g apis for primitive int/floats
- totorial: useless warning: get-option unknown
- `Require` of coq-elpi shadows `lib.`, and `Undo/Redo` on the loading changes the syntax.
- Undoing `Require` does not unload Elpi commands HOT 9
- perf TC override
- univ constraint lost when TC resolution involved
- hook for Instance
- lack of bidirectionality in type checking products HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from coq-elpi.