package coq-serapi

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

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
(************************************************************************)
(*  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 Sexplib.Std

module Names     = Ser_names

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

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

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

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

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

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

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

type 'id clause_expr =
  [%import: 'id Locus.clause_expr]
  [@@deriving sexp]

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]

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.