« Up

htt 1.2.0 4 m 0 s 🏆

Context

# Packages matching: installed
# Name                # Installed # Synopsis
base-bigarray         base
base-threads          base
base-unix             base
conf-findutils        1           Virtual package relying on findutils
conf-gmp              4           Virtual package relying on a GMP lib system installation
coq                   8.14.0      Formal proof management system
dune                  3.6.2       Fast, portable, and opinionated build system
ocaml                 4.12.1      The OCaml compiler (virtual package)
ocaml-base-compiler   4.12.1      Official release 4.12.1
ocaml-config          2           OCaml Switch Configuration
ocaml-options-vanilla 1           Ensure that OCaml is compiled with no special options enabled
ocamlfind             1.9.5       A library manager for OCaml
zarith                1.12        Implements arithmetic and logical operations over arbitrary-precision integers
# 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"
}

Lint

Command
true
Return code
0

Dry install 🏜️

Dry install with the current Coq version:

Command
opam install -y --show-action coq-htt.1.2.0 coq.8.14.0
Return code
0

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

Command
true
Return code
0

Install dependencies

Command
opam list; echo; ulimit -Sv 4000000; timeout 4h opam install -y --deps-only coq-htt.1.2.0 coq.8.14.0
Return code
0
Duration
7 m 0 s

Install 🚀

Command
opam list; echo; ulimit -Sv 16000000; timeout 4h opam install -y -v coq-htt.1.2.0 coq.8.14.0
Return code
0
Duration
4 m 0 s

Installation size

Total: 6 M

  • 2 M ../ocaml-base-compiler.4.12.1/lib/coq/user-contrib/htt/examples/congmath.vo
  • 453 K ../ocaml-base-compiler.4.12.1/lib/coq/user-contrib/htt/examples/congmath.glob
  • 429 K ../ocaml-base-compiler.4.12.1/lib/coq/user-contrib/htt/examples/bubblesort.vo
  • 313 K ../ocaml-base-compiler.4.12.1/lib/coq/user-contrib/htt/htt/model.vo
  • 263 K ../ocaml-base-compiler.4.12.1/lib/coq/user-contrib/htt/examples/kvmaps.vo
  • 225 K ../ocaml-base-compiler.4.12.1/lib/coq/user-contrib/htt/htt/domain.vo
  • 221 K ../ocaml-base-compiler.4.12.1/lib/coq/user-contrib/htt/examples/bubblesort.glob
  • 197 K ../ocaml-base-compiler.4.12.1/lib/coq/user-contrib/htt/examples/llist.vo
  • 180 K ../ocaml-base-compiler.4.12.1/lib/coq/user-contrib/htt/examples/bintree.vo
  • 171 K ../ocaml-base-compiler.4.12.1/lib/coq/user-contrib/htt/examples/hashtab.vo
  • 171 K ../ocaml-base-compiler.4.12.1/lib/coq/user-contrib/htt/examples/cyclic.vo
  • 163 K ../ocaml-base-compiler.4.12.1/lib/coq/user-contrib/htt/htt/domain.glob
  • 162 K ../ocaml-base-compiler.4.12.1/lib/coq/user-contrib/htt/htt/model.glob
  • 155 K ../ocaml-base-compiler.4.12.1/lib/coq/user-contrib/htt/examples/dlist.vo
  • 124 K ../ocaml-base-compiler.4.12.1/lib/coq/user-contrib/htt/examples/bst.vo
  • 121 K ../ocaml-base-compiler.4.12.1/lib/coq/user-contrib/htt/examples/queue.vo
  • 115 K ../ocaml-base-compiler.4.12.1/lib/coq/user-contrib/htt/htt/heapauto.vo
  • 105 K ../ocaml-base-compiler.4.12.1/lib/coq/user-contrib/htt/examples/kvmaps.glob
  • 104 K ../ocaml-base-compiler.4.12.1/lib/coq/user-contrib/htt/examples/array.vo
  • 92 K ../ocaml-base-compiler.4.12.1/lib/coq/user-contrib/htt/htt/heapauto.glob
  • 69 K ../ocaml-base-compiler.4.12.1/lib/coq/user-contrib/htt/examples/congmath.v
  • 63 K ../ocaml-base-compiler.4.12.1/lib/coq/user-contrib/htt/examples/llist.glob
  • 59 K ../ocaml-base-compiler.4.12.1/lib/coq/user-contrib/htt/examples/cyclic.glob
  • 58 K ../ocaml-base-compiler.4.12.1/lib/coq/user-contrib/htt/examples/stack.vo
  • 53 K ../ocaml-base-compiler.4.12.1/lib/coq/user-contrib/htt/examples/dlist.glob
  • 51 K ../ocaml-base-compiler.4.12.1/lib/coq/user-contrib/htt/examples/array.glob
  • 50 K ../ocaml-base-compiler.4.12.1/lib/coq/user-contrib/htt/examples/hashtab.glob
  • 44 K ../ocaml-base-compiler.4.12.1/lib/coq/user-contrib/htt/examples/bst.glob
  • 44 K ../ocaml-base-compiler.4.12.1/lib/coq/user-contrib/htt/examples/bintree.glob
  • 42 K ../ocaml-base-compiler.4.12.1/lib/coq/user-contrib/htt/htt/interlude.vo
  • 40 K ../ocaml-base-compiler.4.12.1/lib/coq/user-contrib/htt/examples/gcd.vo
  • 37 K ../ocaml-base-compiler.4.12.1/lib/coq/user-contrib/htt/htt/domain.v
  • 36 K ../ocaml-base-compiler.4.12.1/lib/coq/user-contrib/htt/htt/model.v
  • 34 K ../ocaml-base-compiler.4.12.1/lib/coq/user-contrib/htt/htt/interlude.glob
  • 33 K ../ocaml-base-compiler.4.12.1/lib/coq/user-contrib/htt/examples/queue.glob
  • 32 K ../ocaml-base-compiler.4.12.1/lib/coq/user-contrib/htt/examples/bubblesort.v
  • 25 K ../ocaml-base-compiler.4.12.1/lib/coq/user-contrib/htt/htt/heapauto.v
  • 23 K ../ocaml-base-compiler.4.12.1/lib/coq/user-contrib/htt/examples/kvmaps.v
  • 13 K ../ocaml-base-compiler.4.12.1/lib/coq/user-contrib/htt/examples/cyclic.v
  • 12 K ../ocaml-base-compiler.4.12.1/lib/coq/user-contrib/htt/examples/llist.v
  • 11 K ../ocaml-base-compiler.4.12.1/lib/coq/user-contrib/htt/examples/stack.glob
  • 11 K ../ocaml-base-compiler.4.12.1/lib/coq/user-contrib/htt/examples/gcd.glob
  • 11 K ../ocaml-base-compiler.4.12.1/lib/coq/user-contrib/htt/examples/hashtab.v
  • 10 K ../ocaml-base-compiler.4.12.1/lib/coq/user-contrib/htt/examples/bst.v
  • 9 K ../ocaml-base-compiler.4.12.1/lib/coq/user-contrib/htt/examples/array.v
  • 9 K ../ocaml-base-compiler.4.12.1/lib/coq/user-contrib/htt/examples/dlist.v
  • 9 K ../ocaml-base-compiler.4.12.1/lib/coq/user-contrib/htt/examples/bintree.v
  • 7 K ../ocaml-base-compiler.4.12.1/lib/coq/user-contrib/htt/examples/queue.v
  • 5 K ../ocaml-base-compiler.4.12.1/lib/coq/user-contrib/htt/examples/exploit.vo
  • 4 K ../ocaml-base-compiler.4.12.1/lib/coq/user-contrib/htt/htt/interlude.v
  • 3 K ../ocaml-base-compiler.4.12.1/lib/coq/user-contrib/htt/examples/stack.v
  • 3 K ../ocaml-base-compiler.4.12.1/lib/coq/user-contrib/htt/examples/gcd.v
  • 2 K ../ocaml-base-compiler.4.12.1/lib/coq/user-contrib/htt/examples/exploit.glob
  • 2 K ../ocaml-base-compiler.4.12.1/lib/coq/user-contrib/htt/options.vo
  • 2 K ../ocaml-base-compiler.4.12.1/lib/coq/user-contrib/htt/examples/exploit.v
  • 1 K ../ocaml-base-compiler.4.12.1/lib/coq/user-contrib/htt/options.v
  • 1 K ../ocaml-base-compiler.4.12.1/lib/coq/user-contrib/htt/options.glob

Uninstall 🧹

Command
opam remove -y coq-htt.1.2.0
Return code
0
Missing removes
none
Wrong removes
none