Skip to content

copilot-theorem: Extend range of versions of kind2. Refs #734.#740

Draft
chathhorn-galois wants to merge 3 commits into
Copilot-Language:masterfrom
GaloisInc:chathhorn/issue734
Draft

copilot-theorem: Extend range of versions of kind2. Refs #734.#740
chathhorn-galois wants to merge 3 commits into
Copilot-Language:masterfrom
GaloisInc:chathhorn/issue734

Conversation

@chathhorn-galois

@chathhorn-galois chathhorn-galois commented Jun 9, 2026

Copy link
Copy Markdown
Collaborator

In order to keep Copilot effectively working in the current software ecosystem, we need to extend the versions of dependencies that Copilot can be installed with. kind2 has seen release 2.3.0, but copilot-theorem requires kind2 0.7.2.

This PR updates the copilot-theorem Kind2 native-format backend to produce output targeting the latest release of Kind2 (v2.3 -- but in theory any version 2.x). It also adds a test-suite for the Kind2 backend, which requires Kind2 v.2.x to be installed and is activated using the test-kind2 cabal flag (e.g., cabal test -ftest-kind2).

This update was a bit more involved than I thought it would be, at least in part because of unexpected Kind2 native-format bugs/limitations (e.g., crashing without source-position annotations on properties and responses containing invalid XML -- though it's hard to tell what is and isn't a bug given the limited documentation). We should definitely move to Lustre the next time this breaks.

…uage#734.

In order to keep Copilot effectively working in the current software ecosystem,
we need to extend the versions of dependencies that Copilot can be installed
with. kind2 has seen release 2.3.0, but copilot-theorem requires kind2 0.7.2.

This commit updates the copilot-theorem Kind2 native-format backend to produce
output targeting the latest release of Kind2 (v2.3).
In order to keep Copilot effectively working in the current software ecosystem,
we need to extend the versions of dependencies that Copilot can be installed
with. kind2 has seen release 2.3.0, but copilot-theorem requires kind2 0.7.2.

This commit adds a testsuite for the Kind2 copilot-theorem native-format
backend. It requires Kind2 (v2.x) to be installed and can be activated using
the `test-kind2` `cabal` flag (e.g., `cabal test -ftest-kind2`).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant