aboutsummaryrefslogtreecommitdiff
path: root/plugins/pluginsdyn.itarget
diff options
context:
space:
mode:
authorArnaud Spiwack2013-11-25 19:05:48 +0100
committerArnaud Spiwack2013-12-04 14:14:33 +0100
commit078efbe2dfff0b783cd35b0b3ab2354f554e95a6 (patch)
treee79c02a053d44a79f841a2e1ba013b12a08bd014 /plugins/pluginsdyn.itarget
parent3c199b86ddf919d79ad79eb7d69f4b6f81bb73ab (diff)
Derive plugin.
A small plugin to support program deriving (à la Richard Bird) in Coq. It's fairly simple: Require Coq.Derive.Derive. Derive f From g Upto eq As h. Produces a goal (actually two, but the first one is automatically shelved): |- eq g ?42 And closing the proof produces two definitions: f is instantiated with the value of ?42 (it's always transparent). And h is instantiated with the content of the proof (it is transparent or opaque depending on whether the proof was closed with Defined or Qed).
Diffstat (limited to 'plugins/pluginsdyn.itarget')
-rw-r--r--plugins/pluginsdyn.itarget1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/pluginsdyn.itarget b/plugins/pluginsdyn.itarget
index e075ffc715..188eb408a0 100644
--- a/plugins/pluginsdyn.itarget
+++ b/plugins/pluginsdyn.itarget
@@ -22,3 +22,4 @@ syntax/r_syntax_plugin.cmxs
syntax/string_syntax_plugin.cmxs
syntax/z_syntax_plugin.cmxs
quote/quote_plugin.cmxs
+Derive/derive_plugin.cmxs