~ubuntu-branches/ubuntu/wily/coq-doc/wily

« back to all changes in this revision

Viewing changes to pretyping/cbv.mli

  • Committer: Bazaar Package Importer
  • Author(s): Stéphane Glondu, Stéphane Glondu, Samuel Mimram
  • Date: 2010-01-07 22:50:39 UTC
  • mfrom: (1.2.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20100107225039-n3cq82589u0qt0s2
Tags: 8.2pl1-1
[ Stéphane Glondu ]
* New upstream release (Closes: #563669)
  - remove patches
* Packaging overhaul:
  - use git, advertise it in Vcs-* fields of debian/control
  - use debhelper 7 and dh with override
  - use source format 3.0 (quilt)
* debian/control:
  - set Maintainer to d-o-m, set Uploaders to Sam and myself
  - add Homepage field
  - bump Standards-Version to 3.8.3
* Register PDF documentation into doc-base
* Add debian/watch
* Update debian/copyright

[ Samuel Mimram ]
* Change coq-doc's description to mention that it provides documentation in
  pdf format, not postscript, closes: #543545.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
(************************************************************************)
 
2
(*  v      *   The Coq Proof Assistant  /  The Coq Development Team     *)
 
3
(* <O___,, * CNRS-Ecole Polytechnique-INRIA Futurs-Universite Paris Sud *)
 
4
(*   \VV/  **************************************************************)
 
5
(*    //   *      This file is distributed under the terms of the       *)
 
6
(*         *       GNU Lesser General Public License Version 2.1        *)
 
7
(************************************************************************)
 
8
 
 
9
(*i $Id: cbv.mli 11897 2009-02-09 19:28:02Z barras $ i*)
 
10
 
 
11
(*i*)
 
12
open Names
 
13
open Term
 
14
open Environ
 
15
open Closure
 
16
open Esubst
 
17
(*i*)
 
18
 
 
19
(************************************************************************)
 
20
(*s Call-by-value reduction *)
 
21
 
 
22
(* Entry point for cbv normalization of a constr *)
 
23
type cbv_infos
 
24
 
 
25
val create_cbv_infos : RedFlags.reds -> env -> Evd.evar_map -> cbv_infos
 
26
val cbv_norm         : cbv_infos -> constr -> constr
 
27
 
 
28
(************************************************************************)
 
29
(*i This is for cbv debug *)
 
30
type cbv_value =
 
31
  | VAL of int * constr
 
32
  | LAM of int * (name * constr) list * constr * cbv_value subs
 
33
  | FIXP of fixpoint * cbv_value subs * cbv_value array
 
34
  | COFIXP of cofixpoint * cbv_value subs * cbv_value array
 
35
  | CONSTR of constructor * cbv_value array
 
36
 
 
37
val shift_value : int -> cbv_value -> cbv_value
 
38
 
 
39
type cbv_stack =
 
40
  | TOP
 
41
  | APP of cbv_value array * cbv_stack
 
42
  | CASE of constr * constr array * case_info * cbv_value subs * cbv_stack
 
43
 
 
44
val stack_app : cbv_value array -> cbv_stack -> cbv_stack
 
45
val strip_appl : cbv_value -> cbv_stack -> cbv_value * cbv_stack
 
46
 
 
47
(* recursive functions... *)
 
48
val cbv_stack_term : cbv_infos ->
 
49
  cbv_stack -> cbv_value subs -> constr -> cbv_value
 
50
val cbv_norm_term : cbv_infos -> cbv_value subs -> constr -> constr
 
51
val norm_head : cbv_infos ->
 
52
  cbv_value subs -> constr -> cbv_stack -> cbv_value * cbv_stack
 
53
val apply_stack : cbv_infos -> constr -> cbv_stack -> constr
 
54
val cbv_norm_value : cbv_infos -> cbv_value -> constr
 
55
(* End of cbv debug section i*)