aboutsummaryrefslogtreecommitdiff
path: root/plugins/Derive/derive.mli
diff options
context:
space:
mode:
authorArnaud Spiwack2014-07-22 17:55:00 +0200
committerArnaud Spiwack2014-07-23 17:52:46 +0200
commit7e577f93aca95d10584014e1d88dfbf314b74f9f (patch)
treedc4bc5197a1085098c756b76bc8b0c5356f38b00 /plugins/Derive/derive.mli
parente143cffaeab1a294ca08a49443747c66bc963c29 (diff)
Derive plugin: a more general interface.
Instead of forcing the specifying property to be of the form (r spec def), allow any lemma depending on def.
Diffstat (limited to 'plugins/Derive/derive.mli')
-rw-r--r--plugins/Derive/derive.mli9
1 files changed, 5 insertions, 4 deletions
diff --git a/plugins/Derive/derive.mli b/plugins/Derive/derive.mli
index 33f982bb68..5157c4a272 100644
--- a/plugins/Derive/derive.mli
+++ b/plugins/Derive/derive.mli
@@ -6,7 +6,8 @@
(* * GNU Lesser General Public License Version 2.1 *)
(************************************************************************)
-(** [start_deriving f init r lemma] starts a proof of [r init
- ?x]. When the proof ends, [f] is defined as the value of [?x] and
- [lemma] as the proof. *)
-val start_deriving : Names.Id.t -> Constrexpr.constr_expr -> Constrexpr.constr_expr -> Names.Id.t -> unit
+(** [start_deriving f suchthat lemma] starts a proof of [suchthat]
+ (which can contain references to [f]) in the context extended by
+ [f:=?x]. When the proof ends, [f] is defined as the value of [?x]
+ and [lemma] as the proof. *)
+val start_deriving : Names.Id.t -> Constrexpr.constr_expr -> Names.Id.t -> unit