« Up

ramsey 8.7.0 5 s

(2019-10-09 15:26:14 UTC)


# Packages matching: installed
# Name              # Installed # Synopsis
base-bigarray       base
base-num            base        Num library distributed with the OCaml compiler
base-threads        base
base-unix           base
camlp5              7.10        Preprocessor-pretty-printer of OCaml
conf-m4             1           Virtual package relying on m4
coq                 8.7.2       Formal proof management system.
num                 0           The Num library for arbitrary-precision integer and rational arithmetic
ocaml               4.05.0      The OCaml compiler (virtual package)
ocaml-base-compiler 4.05.0      Official 4.05.0 release
ocaml-config        1           OCaml Switch Configuration
ocamlfind           1.8.1       A library manager for OCaml
# opam file:
opam-version: "2.0"
maintainer: "Hugo.Herbelin@inria.fr"
homepage: "https://github.com/coq-contribs/ramsey"
license: "LGPL 2.1"
build: [make "-j%{jobs}%"]
install: [make "install"]
remove: ["rm" "-R" "%{lib}%/coq/user-contrib/Ramsey"]
depends: [
  "coq" {>= "8.7" & < "8.8~"}
tags: [ "keyword: dimension one Ramsey theorem" "keyword: constructive mathematics" "keyword: almost full sets" "category: Mathematics/Logic/See also" "category: Mathematics/Combinatorics and Graph Theory" "category: Miscellaneous/Extracted Programs/Combinatorics" ]
authors: [ "Marc Bezem" ]
bug-reports: "https://github.com/coq-contribs/ramsey/issues"
dev-repo: "git+https://github.com/coq-contribs/ramsey.git"
synopsis: "Ramsey Theory"
description: """
For dimension one, the Infinite Ramsey Theorem states that, for any
subset A of the natural numbers nat, either A or nat\\A is
infinite. This special case of the Pigeon Hole Principle is
classically equivalent to: if A and B are both co-finite, then so is
their intersection. None of these principles is constructively
valid. In [VB] the notion of an almost full set is introduced,
classically equivalent to co-finiteness, for which closure under
finite intersection can be proved constructively. A is almost full if
for every (strictly) increasing sequence f: nat -> nat there exists an
x in nat such that f(x) in A. The notion of almost full and its
closure under finite intersection are generalized to all finite
dimensions, yielding constructive Ramsey Theorems. The proofs for
dimension two and higher essentially use Brouwer's Bar Theorem.
In the proof development below we strengthen the notion of almost full
for dimension one in the following sense. A: nat -> Prop is called
Y-full if for every (strictly) increasing sequence f: nat -> nat we
have (A (f (Y f))). Here of course Y : (nat -> nat) -> nat. Given
YA-full A and YB-full B we construct X from YA and YB such that the
intersection of A and B is X-full. This is essentially [VB, Th. 5.4],
but now it can be done without using axioms, using only inductive
types. The generalization to higher dimensions will be much more
difficult and is not pursued here."""
flags: light-uninstall
url {
  src: "https://github.com/coq-contribs/ramsey/archive/v8.7.0.tar.gz"
  checksum: "md5=2dae4557a10bb6ab518e14e2cc8e7b8e"


Return code

Dry install

Dry install with the current Coq version:

opam install -y --show-action coq-ramsey.8.7.0 coq.8.7.2
Return code

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

Return code

Install dependencies

opam list; echo; ulimit -Sv 4000000; timeout 60m opam install -y --deps-only coq-ramsey.8.7.0 coq.8.7.2
Return code
3 s


opam list; echo; ulimit -Sv 4000000; timeout 1h opam install -y -v coq-ramsey.8.7.0 coq.8.7.2
Return code
5 s

Installation size

Total: 38 K

  • 17 K ../ocaml-base-compiler.4.05.0/lib/coq/user-contrib/Ramsey/Ramsey.vo
  • 13 K ../ocaml-base-compiler.4.05.0/lib/coq/user-contrib/Ramsey/Ramsey.glob
  • 8 K ../ocaml-base-compiler.4.05.0/lib/coq/user-contrib/Ramsey/Ramsey.v


opam remove -y coq-ramsey.8.7.0
Return code
Missing removes
Wrong removes