aboutsummaryrefslogtreecommitdiffhomepage
path: root/theories/Program
diff options
context:
space:
mode:
authorGravatar Maxime Dénès <mail@maximedenes.fr>2014-12-25 18:13:16 +0100
committerGravatar Maxime Dénès <mail@maximedenes.fr>2014-12-25 19:20:44 +0100
commit6d5b56d971506dfadcfc824bfbb09dc21718e42b (patch)
treecb20ba0733f6480beaeb1a442668e7a6bf63d479 /theories/Program
parent0e326def6194606d0f1e21daeb45f32e1a061c8f (diff)
Forbid Require inside interactive modules and module types.
Fixes #3379 and part of #3363. Also avoids fragile code propagating required libraries when closing an interactive module. Had to fix a few occurrences in std lib.
Diffstat (limited to 'theories/Program')
-rw-r--r--theories/Program/Wf.v3
1 files changed, 1 insertions, 2 deletions
diff --git a/theories/Program/Wf.v b/theories/Program/Wf.v
index c483b1d83..25ea6b726 100644
--- a/theories/Program/Wf.v
+++ b/theories/Program/Wf.v
@@ -11,6 +11,7 @@
Require Import Coq.Init.Wf.
Require Import Coq.Program.Utils.
Require Import ProofIrrelevance.
+Require Import FunctionalExtensionality.
Local Open Scope program_scope.
@@ -221,8 +222,6 @@ Ltac fold_sub f :=
Module WfExtensionality.
- Require Import FunctionalExtensionality.
-
(** The two following lemmas allow to unfold a well-founded fixpoint definition without
restriction using the functional extensionality axiom. *)