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

« back to all changes in this revision

Viewing changes to proofs/logic.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: logic.mli 11576 2008-11-10 19:13:15Z msozeau $ i*)
 
10
 
 
11
(*i*)
 
12
open Names
 
13
open Term
 
14
open Sign
 
15
open Evd
 
16
open Environ
 
17
open Proof_type
 
18
(*i*)
 
19
 
 
20
(* This suppresses check done in [prim_refiner] for the tactic given in
 
21
   argument; works by side-effect *)
 
22
 
 
23
val with_check    : tactic -> tactic
 
24
 
 
25
(* [without_check] respectively means:\\
 
26
  [Intro]: no check that the name does not exist\\
 
27
  [Intro_after]: no check that the name does not exist and that variables in
 
28
     its type does not escape their scope\\
 
29
  [Intro_replacing]: no check that the name does not exist and that 
 
30
     variables in its type does not escape their scope\\
 
31
  [Convert_hyp]: 
 
32
  no check that the name exist and that its type is convertible\\
 
33
*)
 
34
 
 
35
(* The primitive refiner. *)
 
36
 
 
37
val prim_refiner : prim_rule -> evar_map -> goal -> goal list * evar_map
 
38
 
 
39
type proof_variable
 
40
 
 
41
val prim_extractor :
 
42
  (proof_variable list -> proof_tree -> constr)
 
43
  -> proof_variable list -> proof_tree -> constr
 
44
 
 
45
val proof_variable_index : identifier -> proof_variable list -> int
 
46
 
 
47
(*s Refiner errors. *)
 
48
 
 
49
type refiner_error =
 
50
 
 
51
  (*i Errors raised by the refiner i*)
 
52
  | BadType of constr * constr * constr
 
53
  | UnresolvedBindings of name list
 
54
  | CannotApply of constr * constr
 
55
  | NotWellTyped of constr
 
56
  | NonLinearProof of constr
 
57
  | MetaInType of constr
 
58
 
 
59
  (*i Errors raised by the tactics i*)
 
60
  | IntroNeedsProduct
 
61
  | DoesNotOccurIn of constr * identifier
 
62
 
 
63
exception RefinerError of refiner_error
 
64
 
 
65
val catchable_exception : exn -> bool