Skip to content

Commit

Permalink
Fix unqualified, ambiguous imports
Browse files Browse the repository at this point in the history
  • Loading branch information
mattam82 committed Nov 15, 2023
1 parent 9dee1c1 commit cc87a0f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 11 deletions.
5 changes: 2 additions & 3 deletions erasure-plugin/theories/ErasureCorrectness.v
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,9 @@ From MetaCoq.Utils Require Import bytestring utils.
From MetaCoq.PCUIC Require PCUICAst PCUICAstUtils PCUICProgram.
From MetaCoq.PCUIC Require Import PCUICNormal.
From MetaCoq.SafeChecker Require Import PCUICErrors PCUICWfEnvImpl.
From MetaCoq.Erasure Require EAstUtils ErasureCorrectness EPretty Extract.
From MetaCoq Require Import ETransform EConstructorsAsBlocks.
From MetaCoq.Erasure Require EAstUtils ErasureCorrectness EPretty Extract EConstructorsAsBlocks.
From MetaCoq.Erasure Require Import EWcbvEvalNamed ErasureFunction ErasureFunctionProperties.
From MetaCoq.ErasurePlugin Require Import Erasure.
From MetaCoq.ErasurePlugin Require Import ETransform Erasure.
Import PCUICProgram.
Import PCUICTransform (template_to_pcuic_transform, pcuic_expand_lets_transform).

Expand Down
13 changes: 6 additions & 7 deletions erasure/theories/EWcbvEvalNamed.v
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
(* Distributed under the terms of the MIT license. *)
From Coq Require Import Utf8 Program.
From MetaCoq Require Import config utils BasicAst.
From MetaCoq.Common Require Import config BasicAst.
From MetaCoq.Utils Require Import utils.
From MetaCoq.PCUIC Require PCUICWcbvEval.
From MetaCoq.Erasure Require Import EAst EAstUtils ELiftSubst ECSubst EReflect EGlobalEnv
EWellformed EWcbvEval.
From MetaCoq.Utils Require Import bytestring MCString.
From MetaCoq.Erasure Require Import EWcbvEvalCstrsAsBlocksFixLambdaInd.
From Coq Require Import BinaryString.
Import String.

From Equations Require Import Equations.
Require Import ssreflect ssrbool.
Expand Down Expand Up @@ -671,10 +676,6 @@ Local Notation "'⊩' v ~ s" := (represents_value v s) (at level 50).
Local Hint Constructors represents : core.
Local Hint Constructors represents_value : core.

From MetaCoq Require Import bytestring MCString.
Require Import BinaryString.
Import String.

Fixpoint gen_fresh_aux (na : ident) (Γ : list string) i :=
match i with
| 0 => na
Expand Down Expand Up @@ -1559,8 +1560,6 @@ Proof.
+ eapply All2_All2_Set, All2_app. eapply H1; eauto. econstructor; eauto.
Qed.

From MetaCoq Require Import EWcbvEvalCstrsAsBlocksFixLambdaInd.

Lemma lookup_in_env Σ Σ' ind i :
All2 (fun d d' => d.1 = d'.1 × match d.2 with ConstantDecl (Build_constant_body (Some body)) =>
∑ body', d'.2 = ConstantDecl (Build_constant_body (Some body')) × [] ;;; [] ⊩ body' ~ body
Expand Down
2 changes: 1 addition & 1 deletion test-suite/bug441.v
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
From MetaCoq Require Import Template.All.
From MetaCoq.Template Require Import All.
Import MCMonadNotation.

#[local] Existing Instance TemplateMonad_OptimizedMonad.
Expand Down

0 comments on commit cc87a0f

Please sign in to comment.