package coq-serapi

  1. Overview
  2. Docs
Serialization library and protocol for machine interaction with the Coq proof assistant

Install

Dune Dependency

Authors

Maintainers

Sources

coq-serapi-8.18.0.0.18.3.tbz
sha256=d9a32c0033d720032011e9bf5e8d30d4b205ce276b6a81ab359fc461809e9b63
sha512=742d2b92b986e45044c19cd2bbfd5dd5346cfb4b0ec20f40811d8b0096c6e25192528359f98d2eed2a74ae67790d1f8cea382cb01fd7cf8903a5a917cca79a84

doc/src/coq-serapi.serlib/ser_locus.ml.html

Source file ser_locus.ml

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
(************************************************************************)
(*  v      *   The Coq Proof Assistant  /  The Coq Development Team     *)
(* <O___,, *   INRIA - CNRS - LIX - LRI - PPS - Copyright 1999-2016     *)
(*   \VV/  **************************************************************)
(*    //   *      This file is distributed under the terms of the       *)
(*         *       GNU Lesser General Public License Version 2.1        *)
(************************************************************************)

(************************************************************************)
(* Coq serialization API/Plugin                                         *)
(* Copyright 2016 MINES ParisTech                                       *)
(************************************************************************)
(* Status: Very Experimental                                            *)
(************************************************************************)

open Ppx_hash_lib.Std.Hash.Builtin
open Ppx_compare_lib.Builtin
open Sexplib.Std

module Names     = Ser_names

type 'a or_var =
  [%import: 'a Locus.or_var]
  [@@deriving sexp,yojson,hash,compare]

type 'a occurrences_gen =
  [%import: 'a Locus.occurrences_gen]
  [@@deriving sexp,yojson,hash,compare]

type occurrences_expr =
  [%import: Locus.occurrences_expr]
  [@@deriving sexp,yojson,hash,compare]

type 'a with_occurrences =
  [%import: 'a Locus.with_occurrences]
  [@@deriving sexp,yojson,hash,compare]

type occurrences =
  [%import: Locus.occurrences]
  [@@deriving sexp,yojson]

type hyp_location_flag =
  [%import: Locus.hyp_location_flag]
  [@@deriving sexp,yojson,hash,compare]

type 'a hyp_location_expr =
  [%import: 'a Locus.hyp_location_expr]
  [@@deriving sexp,yojson,hash,compare]

type 'id clause_expr =
  [%import: 'id Locus.clause_expr]
  [@@deriving sexp,yojson,hash,compare]

type clause =
  [%import: Locus.clause]
  [@@deriving sexp]

type clause_atom =
  [%import: Locus.clause_atom]
  [@@deriving sexp]

type concrete_clause =
  [%import: Locus.concrete_clause]
  [@@deriving sexp]

type hyp_location =
  [%import: Locus.hyp_location]
  [@@deriving sexp,yojson,hash,compare]

type goal_location =
  [%import: Locus.goal_location]
  [@@deriving sexp]

type simple_clause =
  [%import: Locus.simple_clause]
  [@@deriving sexp]

type 'a or_like_first =
  [%import: 'a Locus.or_like_first]
  [@@deriving sexp]

OCaml

Innovation. Community. Security.