Skip to content

port patch from AutoRocq (77d335c..2079f15): drop pre-9.0 Rocq compat - #10

Draft
dingf3ng wants to merge 1 commit into
NUS-Program-Verification:mainfrom
dingf3ng:sync-autorocq
Draft

port patch from AutoRocq (77d335c..2079f15): drop pre-9.0 Rocq compat#10
dingf3ng wants to merge 1 commit into
NUS-Program-Verification:mainfrom
dingf3ng:sync-autorocq

Conversation

@dingf3ng

@dingf3ng dingf3ng commented Sep 1, 2026

Copy link
Copy Markdown
Collaborator

LemmaNet's proof-search/{coqpyt,backend/coq_interface.py,...} still mirror AutoRocq at 77d335c (PR#3) 1:1 for everything that isn't the lemma-discovery add-on. AutoRocq has since moved to Rocq 9.0.0 and dropped pre-9.0 compatibility (e9cdbb0 "add support to rocq 9.0", 2079f15 "fix tests; update readme"). Port that patch onto this mirror so it stays a pure superset of AutoRocq's own interface, rather than layering it onto LemmaNet's later multi-backend refactor (see sync-autorocq-rocq-wired for that variant).

Applied AutoRocq's diff directly wherever LemmaNet's file was byte-identical to the pre-image (coqpyt/, proof-search/tests/, proof-search/coqpyt/tests/*, deps.opam, run_tests.py removal); hand merged the handful of files LemmaNet had already diverged on (README, dockerfile, context_manager.py's coq_version, coq_utils.py's import detection, and the worked example .v files, where only the From Coq/Coq. import headers move to From Stdlib/Stdlib., proof bodies untouched). Bumped the AutoRocq-bench submodule to the commit AutoRocq itself now pins.

LemmaNet's proof-search/{coqpyt,backend/coq_interface.py,...} still
mirror AutoRocq at 77d335c (PR#3) 1:1 for everything that isn't the
lemma-discovery add-on. AutoRocq has since moved to Rocq 9.0.0 and
dropped pre-9.0 compatibility (e9cdbb0 "add support to rocq 9.0",
2079f15 "fix tests; update readme"). Port that patch onto this
mirror so it stays a pure superset of AutoRocq's own interface,
rather than layering it onto LemmaNet's later multi-backend
refactor (see sync-autorocq-rocq-wired for that variant).

Applied AutoRocq's diff directly wherever LemmaNet's file was
byte-identical to the pre-image (coqpyt/*, proof-search/tests/*,
proof-search/coqpyt/tests/*, deps.opam, run_tests.py removal); hand
merged the handful of files LemmaNet had already diverged on
(README, dockerfile, context_manager.py's coq_version, coq_utils.py's
import detection, and the worked example .v files, where only the
`From Coq`/`Coq.` import headers move to `From Stdlib`/`Stdlib.`,
proof bodies untouched). Bumped the AutoRocq-bench submodule to the
commit AutoRocq itself now pins.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant