Closed ana-pantilie closed 2 months ago
ci/eval
is failing but I have no idea why, if anyone does please let me know. Nevertheless, this should be ready for review now.
the uplc/plc/pir executables are no longer supported on Windows because they now depend on the metatheory; is this a problem?
@ana-pantilie Not atm
Fixes #5941
This PR implements the following:
VerifiedCompilation
component to the Agda codeuplc
executable as a--certify <file-name>
option touplc optimise
; it was necessary to pull it out into a separate package calledplutus-executables
because of cyclic dependenciesNotes:
library plutus-core-execlib
toplutus-executables
becauseplutus-benchmark
andplutus-metatheory
depend on the libraryuplc/plc/pir
executables are no longer supported on Windows because they now depend on the metatheory; is this a problem?TODO in future PRs:
Try it out
To try this out, try:
where
certificate-fibonacci
is the name of the.agda
file that will be created with the proof object.~This is currently providing a negative result (the certificate is
no
), even thoughforce-delay
is clearly being applied! But now we have an example on which to start debugging.~ As pointed out by @ramsay-t , the result is correct because it's applying optimisations which currently haven't been specified in the certifier!Pre-submit checklist: