aboutsummaryrefslogtreecommitdiffhomepage
path: root/pretyping/program.mli
blob: 023ff8ca585bd5a06bb48a40db6099b078e17a8f (plain)
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
(************************************************************************)
(*  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        *)
(************************************************************************)

open Term
open Globnames

(** A bunch of Coq constants used by Progam *)

val sig_typ : unit -> global_reference
val sig_intro : unit -> global_reference
val sig_proj1 : unit -> global_reference
val sigT_typ : unit -> global_reference
val sigT_intro : unit -> global_reference
val sigT_proj1 : unit -> global_reference
val sigT_proj2 : unit -> global_reference

val prod_typ : unit -> global_reference
val prod_intro : unit -> global_reference
val prod_proj1 : unit -> global_reference
val prod_proj2 : unit -> global_reference

val coq_eq_ind : unit -> global_reference
val coq_eq_refl : unit -> global_reference
val coq_eq_refl_ref : unit -> global_reference
val coq_eq_rect : unit -> global_reference

val coq_JMeq_ind : unit -> global_reference
val coq_JMeq_refl : unit -> global_reference

val mk_coq_and : constr list -> constr
val mk_coq_not : constr -> constr

(** Polymorphic application of delayed references *)
val papp : Evd.evar_map ref -> (unit -> global_reference) -> constr array -> constr

val get_proofs_transparency : unit -> bool
val is_program_cases : unit -> bool
val is_program_generalized_coercion : unit -> bool