« Up

text2tac 1.0 Not compatible 👼

Context

# Packages matching: installed
# Name                # Installed # Synopsis
base-bigarray         base
base-domains          base
base-nnp              base        Naked pointers prohibited in the OCaml heap
base-threads          base
base-unix             base
conf-gmp              4           Virtual package relying on a GMP lib system installation
coq                   8.18.0      The Coq Proof Assistant
coq-core              8.18.0      The Coq Proof Assistant -- Core Binaries and Tools
coq-stdlib            8.18.0      The Coq Proof Assistant -- Standard Library
coqide-server         8.18.0      The Coq Proof Assistant, XML protocol server
dune                  3.13.0      Fast, portable, and opinionated build system
ocaml                 5.1.1       The OCaml compiler (virtual package)
ocaml-base-compiler   5.1.1       Official release 5.1.1
ocaml-config          3           OCaml Switch Configuration
ocaml-options-vanilla 1           Ensure that OCaml is compiled with no special options enabled
ocamlfind             1.9.6       A library manager for OCaml
zarith                1.13        Implements arithmetic and logical operations over arbitrary-precision integers
# opam file:
opam-version: "2.0"
synopsis: "Language model that predicts tactics for Tactician"
description:
  "Text2Tac is a language model for synthesizing tactics. It receives the
  current proof state as a human-readable prompt and “completes” this prompt
  by synthesizing a tactic."
maintainer: ["Jelle Piepenbrock"]
authors: ["Jelle Piepenbrock"]
license: "https://zenodo.org/records/10410474/files/LICENSE.md"
homepage: "https://coq-tactician.github.io/api/text2tac"
bug-reports:
    "https://github.com/JellePiepenbrock/text2tac/tree/text2tac/issues"
conflict-class: ["tactician-neural-model"]
build: [
  [ "tar" "-xzf" "model.tar.gz" "--one-top-level" "--strip-components" "1" ]
]
install: [
  [ "mkdir" "--parents" "%{share}%/%{name}%/" ]
  [ "cp" "-r" "model/" "%{share}%/%{name}%/" ]
  [ "cp" "Text2TacConfig.v" "%{lib}%/coq/user-contrib/Tactician/Text2TacConfig.v" ]
  # We have to make sure that our injection flags get loaded after the injection flags of coq-tactician-api.
  # We do this by using a name that is guaranteed to sort after coq-tactician-api.
  [ "mkdir" "-p" "%{share}%/coq-tactician/plugins/coq-tactician-api-%{name}%/" ]
  [ "cp" "injection-flags" "%{share}%/coq-tactician/plugins/coq-tactician-api-%{name}%/" ]
]
dev-repo: "git+https://github.com/JellePiepenbrock/text2tac.git"
depends: [
  "coq-tactician-api" {= "15.0+8.11"}
]
extra-source "model.tar.gz" {
  src: "https://zenodo.org/records/10410474/files/text2tac.tar.gz"
  checksum: "md5=50d688940a24796867fbfc48f085bc4f"
}
substs: [
  "Text2TacConfig.v"
]

Lint

Command
true
Return code
0

Dry install 🏜️

Dry install with the current Coq version:

Command
opam install -y --show-action coq-text2tac.1.0 coq.8.18.0
Return code
5120
Output
[NOTE] Package coq is already installed (current version is 8.18.0).
[ERROR] Package conflict!
  * No agreement on the version of ocaml:
    - (invariant) -> ocaml-base-compiler >= 5.1.1 -> ocaml = 5.1.1
    - coq-text2tac -> coq-tactician-api -> coq < 8.12~ -> ocaml < 4.12
    You can temporarily relax the switch invariant with `--update-invariant'
  * No agreement on the version of ocaml-base-compiler:
    - (invariant) -> ocaml-base-compiler >= 5.1.1
    - coq-text2tac -> coq-tactician-api -> coq < 8.12~ -> ocaml < 4.02.0 -> ocaml-base-compiler < 3.07+1
  * Missing dependency:
    - coq-text2tac -> coq-tactician-api -> coq < 8.12~ -> ocaml < 4.02.0 -> ocaml-variants -> ocaml-beta
    unmet availability conditions: 'enable-ocaml-beta-repository'
No solution found, exiting

Dry install without Coq/switch base, to test if the problem was incompatibility with the current Coq/OCaml version:

Command
opam remove -y coq; opam install -y --show-action --unlock-base coq-text2tac.1.0
Return code
0

Install dependencies

Command
true
Return code
0
Duration
0 s

Install 🚀

Command
true
Return code
0
Duration
0 s

Installation size

No files were installed.

Uninstall 🧹

Command
true
Return code
0
Missing removes
none
Wrong removes
none