From 6d5b56d971506dfadcfc824bfbb09dc21718e42b Mon Sep 17 00:00:00 2001 From: Maxime Dénès Date: Thu, 25 Dec 2014 18:13:16 +0100 Subject: 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. --- theories/Program/Wf.v | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'theories/Program') 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. *) -- cgit v1.2.3