From 7072c4591668d2c21211a744d3719f6b42d1e7b9 Mon Sep 17 00:00:00 2001 From: Chantal Keller Date: Tue, 13 Jan 2015 17:11:29 +0100 Subject: Identify ML functions that depend on native-coq --- src/versions/native/structures.ml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 src/versions/native/structures.ml (limited to 'src/versions/native/structures.ml') diff --git a/src/versions/native/structures.ml b/src/versions/native/structures.ml new file mode 100644 index 0000000..8f74c32 --- /dev/null +++ b/src/versions/native/structures.ml @@ -0,0 +1,26 @@ +(**************************************************************************) +(* *) +(* SMTCoq *) +(* Copyright (C) 2011 - 2015 *) +(* *) +(* Michaël Armand *) +(* Benjamin Grégoire *) +(* Chantal Keller *) +(* *) +(* Inria - École Polytechnique - MSR-Inria Joint Lab *) +(* *) +(* This file is distributed under the terms of the CeCILL-C licence *) +(* *) +(**************************************************************************) + +(* Int63 *) +let int63_modules = [["Coq";"Numbers";"Cyclic";"Int63";"Int63Native"]] + +let mkInt i = Term.mkInt (Uint63.of_int i) + + +(* PArray *) +let parray_modules = [["Coq";"Array";"PArray"]] + +let max_array_size = Parray.trunc_size (Uint63.of_int 4194303) +let mkArray = Term.mkArray -- cgit