blob: bfb7a9a869a25f630c952f21afafe4c308f49b92 (
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
|
(***********************************************************************)
(* v * The Coq Proof Assistant / The Coq Development Team *)
(* <O___,, * INRIA-Rocquencourt & LRI-CNRS-Orsay *)
(* \VV/ *************************************************************)
(* // * This file is distributed under the terms of the *)
(* * GNU Lesser General Public License Version 2.1 *)
(***********************************************************************)
(* Certification of Imperative Programs / Jean-Christophe Filliâtre *)
(* $Id$ *)
open Names
open Term
open Ptype
open Past
open Penv
(* This module realizes type and effect inference *)
val cic_type_v : local_env -> Prename.t -> Coqast.t ml_type_v -> type_v
val effect_app : Prename.t -> local_env
-> (typing_info,'b) Past.t
-> (typing_info,constr) arg list
-> (type_v binder list * type_c)
* ((identifier*identifier) list * (identifier*constr) list * bool)
* type_c
val typed_var : Prename.t -> local_env -> constr * constr -> variant
val type_of_expression : Prename.t -> local_env -> constr -> constr
val states : Prename.t -> local_env -> program -> typed_program
|