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

« back to all changes in this revision

Viewing changes to contrib/subtac/subtac_obligations.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
open Names
 
2
open Util
 
3
open Libnames
 
4
open Evd
 
5
open Proof_type
 
6
 
 
7
type obligation_info = 
 
8
  (identifier * Term.types * loc * 
 
9
      obligation_definition_status * Intset.t * Tacexpr.raw_tactic_expr option) array
 
10
    (* ident, type, location, (opaque or transparent, expand or define),
 
11
       dependencies, tactic to solve it *)
 
12
 
 
13
type progress = (* Resolution status of a program *)
 
14
    | Remain of int  (* n obligations remaining *)
 
15
    | Dependent (* Dependent on other definitions *)
 
16
    | Defined of global_reference (* Defined as id *)
 
17
        
 
18
val set_default_tactic : Tacexpr.glob_tactic_expr -> unit
 
19
val default_tactic : unit -> Proof_type.tactic
 
20
 
 
21
val set_proofs_transparency : bool -> unit (* true = All transparent, false = Opaque if possible *)
 
22
val get_proofs_transparency : unit -> bool
 
23
 
 
24
val add_definition : Names.identifier ->  Term.constr -> Term.types -> 
 
25
  ?implicits:(Topconstr.explicitation * (bool * bool)) list ->
 
26
  ?kind:Decl_kinds.definition_kind ->
 
27
  ?tactic:Proof_type.tactic ->
 
28
  ?hook:Tacexpr.declaration_hook -> obligation_info -> progress
 
29
 
 
30
type notations = (string * Topconstr.constr_expr * Topconstr.scope_name option) list
 
31
 
 
32
val add_mutual_definitions : 
 
33
  (Names.identifier * Term.constr * Term.types *
 
34
      (Topconstr.explicitation * (bool * bool)) list * obligation_info) list -> 
 
35
  ?tactic:Proof_type.tactic ->
 
36
  ?kind:Decl_kinds.definition_kind ->
 
37
  ?hook:Tacexpr.declaration_hook -> 
 
38
  notations ->
 
39
  Command.fixpoint_kind -> unit
 
40
 
 
41
val subtac_obligation : int * Names.identifier option * Topconstr.constr_expr option -> unit
 
42
 
 
43
val next_obligation : Names.identifier option -> unit
 
44
 
 
45
val solve_obligations : Names.identifier option -> Proof_type.tactic option -> progress
 
46
(* Number of remaining obligations to be solved for this program *)
 
47
 
 
48
val solve_all_obligations : Proof_type.tactic option -> unit 
 
49
 
 
50
val try_solve_obligation : int -> Names.identifier option -> Proof_type.tactic option -> unit
 
51
 
 
52
val try_solve_obligations : Names.identifier option -> Proof_type.tactic option -> unit
 
53
 
 
54
val show_obligations : ?msg:bool -> Names.identifier option -> unit
 
55
 
 
56
val show_term : Names.identifier option -> unit
 
57
 
 
58
val admit_obligations : Names.identifier option -> unit
 
59
 
 
60
exception NoObligations of Names.identifier option
 
61
 
 
62
val explain_no_obligations : Names.identifier option -> Pp.std_ppcmds
 
63