Skip to content

Add coq-of-ocaml 2.5.3+4.14 with modern typeclass visibility - #3792

Open
JasonGross wants to merge 4 commits into
rocq-prover:masterfrom
theorem-labs:codex/coq-of-ocaml-2.5.3-rocq-dev
Open

Add coq-of-ocaml 2.5.3+4.14 with modern typeclass visibility#3792
JasonGross wants to merge 4 commits into
rocq-prover:masterfrom
theorem-labs:codex/coq-of-ocaml-2.5.3-rocq-dev

Conversation

@JasonGross

@JasonGross JasonGross commented Jul 28, 2026

Copy link
Copy Markdown
Member

Adds coq-of-ocaml 2.5.3 for OCaml 4.14, backports 79a5f9fd for current typeclass visibility, and permits coexistence with split coq-core.

Unpatched 2.5.3 fails in proofs/List.v because local StrictOrder and OrderDec instances are no longer visible to merge. The OCaml 4.14.2 testing switch cannot use the +4.13 archive's vendored Merlin; +4.14 has the matching sources. The coq-core conflict is stale: it is now a normal Coq/Rocq component, while opam orders literal coq.dev below 8.11.

The patch exactly backports formal-land/rocq-of-ocaml commit 79a5f9fd. Validation applied it to a fresh +4.14 archive, built the complete proofs library with coq-core.dev and coq-tactician.dev installed, built the complete dune package with OCaml 4.14.2, passed opam lint, and reapplied cleanly to a fresh archive, without modifying the switch.

The opam-build:4.09.0 CI failure never reached these packages: on a cold OPAM_ROOT_CACHE, scripts/opam-coq-init failed with Missing dependency: ocaml-system = 4.09.0 — unmet availability conditions: 'sys-ocaml-version = "4.09.0"'. The runner's system OCaml is not 4.09.0; rebasing onto master re-runs against a warm cache.

Authorship note: this was researched and written by an AI coding agent
(OpenAI Codex), working on Jason Gross's behalf; Jason reviews what is
posted from this account.

Wordsmithed by Codex.

@JasonGross

Copy link
Copy Markdown
Member Author

End-to-end validation now passes in rocq-dev-testing:

  • solver preview: exactly one install (coq-of-ocaml.2.5.3+4.14), zero removals/recompilations
  • the declared global-instances.patch is now explicitly checksummed in extra-files
  • opam install coq-of-ocaml.2.5.3+4.14 completes successfully alongside coq.dev, coq-core.dev, and coq-tactician.dev

Authorship note: this was researched and written by an AI coding agent (OpenAI Codex), working on Jason Gross’s behalf; Jason reviews what is posted from this account.

@JasonGross
JasonGross force-pushed the codex/coq-of-ocaml-2.5.3-rocq-dev branch from 4dd07ef to f8f0de9 Compare July 31, 2026 19:22
@JasonGross
JasonGross force-pushed the codex/coq-of-ocaml-2.5.3-rocq-dev branch from f8f0de9 to 23d08f2 Compare July 31, 2026 19:46
@JasonGross
JasonGross marked this pull request as ready for review August 6, 2026 04:10
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