_CoqProject:
-R . Test
Test1.v
Test2.v
Test3.v
Test1.v:
Definition thing (x: nat) : nat :=
x.
Test2.v:
Test3.v:
Require Import Test2.
Lemma uses_thing : forall x,
Test1.thing x = x.
Proof.
reflexivity.
Qed.
Running coq-tools/minimize-requires.py --all -f _CoqProject will modify Test2.v by removing the Require Import Test1. However this will cause the project to no longer build as Test1.thing is no longer available in the environment.
_CoqProject:
Test1.v:
Test2.v:
Test3.v:
Running
coq-tools/minimize-requires.py --all -f _CoqProjectwill modify Test2.v by removing theRequire Import Test1.However this will cause the project to no longer build asTest1.thingis no longer available in the environment.