Skip to content

Minification will remove an import that is transitively depended on #211

@Durbatuluk1701

Description

@Durbatuluk1701

_CoqProject:

-R . Test
Test1.v
Test2.v
Test3.v

Test1.v:

Definition thing (x: nat) : nat :=
  x.

Test2.v:

Require Import Test1.

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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions