Skip to content

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

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

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 from 1.0 to 3.0). It also adds a test-suite for the Kind2 backend, which requires Kind2 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.

@chathhorn-galois chathhorn-galois force-pushed the chathhorn/issue734 branch 5 times, most recently from bdb71f0 to 5337df1 Compare June 12, 2026 17:53
…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), but it should also work
with any version of Kind2 from v1.0 to v3.0.
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 (version >1.0) to be installed and can be activated using
the `test-kind2` `cabal` flag (e.g., `cabal test -ftest-kind2`).
@chathhorn-galois chathhorn-galois marked this pull request as ready for review June 12, 2026 18:02
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