# Packages matching: installed # Name # Installed # Synopsis base-bigarray base base-threads base base-unix base camlp5 7.14 Preprocessor-pretty-printer of OCaml conf-findutils 1 Virtual package relying on findutils conf-perl 2 Virtual package relying on perl coq 8.8.2 Formal proof management system num 1.4 The legacy Num library for arbitrary-precision integer and rational arithmetic ocaml 4.07.1 The OCaml compiler (virtual package) ocaml-base-compiler 4.07.1 Official release 4.07.1 ocaml-config 1 OCaml Switch Configuration ocamlfind 1.9.5 A library manager for OCaml # opam file: opam-version: "2.0" maintainer: "fcsl@software.imdea.org" homepage: "https://github.com/imdea-software/htt" dev-repo: "git+https://github.com/imdea-software/htt.git" bug-reports: "https://github.com/imdea-software/htt/issues" license: "Apache-2.0" build: [make "-j%{jobs}%"] install: [make "install"] depends: [ "coq" { (>= "8.14" & < "8.17~") | (= "dev") } "coq-mathcomp-ssreflect" { (>= "1.13.0" & < "1.16~") | (= "dev") } "coq-mathcomp-fingroup" "coq-fcsl-pcm" { (>= "1.7.0" & < "1.8~") | (= "dev") } ] tags: [ "category:Computer Science/Data Types and Data Structures" "keyword:partial commutative monoids" "keyword:separation logic" "logpath:htt" ] authors: [ "Aleksandar Nanevski" "Germán Andrés Delbianco" "Alexander Gryzlov" ] synopsis: "Hoare Type Theory" description: """ Hoare Type Theory (HTT) is a verification system for reasoning about sequential heap-manipulating programs based on Separation logic. HTT incorporates Hoare-style specifications via preconditions and postconditions into types. A Hoare type `ST P (fun x : A => Q)` denotes computations with a precondition `P` and postcondition `Q`, returning a value `x` of type `A`. Hoare types are a dependently typed version of monads, as used in the programming language Haskell. Monads hygienically combine the language features for pure functional programming, with those for imperative programming, such as state or exceptions. In this sense, HTT establishes a formal connection in the style of Curry-Howard isomorphism between monads and (functional programming variant of) Separation logic. Every effectful command in HTT has a type that corresponds to the appropriate non-structural inference rule in Separation logic, and vice versa, every non-structural inference rule corresponds to a command in HTT that has that rule as the type. The type for monadic bind is the Hoare rule for sequential composition, and the type for monadic unit combines the Hoare rules for the idle program (in a small-footprint variant) and for variable assignment (adapted for functional variables). The connection reconciles dependent types with effects of state and exceptions and establishes Separation logic as a type theory for such effects. In implementation terms, it means that HTT implements Separation logic as a shallow embedding in Coq.""" url { src: "https://github.com/imdea-software/htt/archive/v1.2.0.tar.gz" checksum: "sha256=6e221b1e0e38560c7cb5afc1da2be93e066890448bf3077c25c09eaa130abc42" }
true
Dry install with the current Coq version:
opam install -y --show-action coq-htt.1.2.0 coq.8.8.2
[NOTE] Package coq is already installed (current version is 8.8.2). The following dependencies couldn't be met: - coq-htt -> coq-fcsl-pcm >= dev -> coq >= dev -> ocaml >= 4.09.0 base of this switch (use `--unlock-base' to force) Your request can't be satisfied: - No available version of coq satisfies the constraints No solution found, exiting
Dry install without Coq/switch base, to test if the problem was incompatibility with the current Coq/OCaml version:
opam remove -y coq; opam install -y --show-action --unlock-base coq-htt.1.2.0
true
true
No files were installed.
true