Skip to content

Commit

Permalink
Adapt to coq/coq#19530
Browse files Browse the repository at this point in the history
  • Loading branch information
proux01 committed Sep 17, 2024
1 parent 2223b2a commit 07ad3e7
Show file tree
Hide file tree
Showing 162 changed files with 1,423 additions and 293 deletions.
2 changes: 1 addition & 1 deletion LiveVerif/src/LiveVerif/LiveFwd.v
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Require Import Coq.ZArith.ZArith. Local Open Scope Z_scope.
From Coq Require Import ZArith. Local Open Scope Z_scope.
Require Import coqutil.Word.Bitwidth.
Require Import coqutil.Tactics.autoforward.
Require Import coqutil.Word.Interface coqutil.Word.Properties coqutil.Map.Interface.
Expand Down
6 changes: 3 additions & 3 deletions LiveVerif/src/LiveVerif/LiveParsing.v
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Require Import Coq.setoid_ring.InitialRing. (* for isZcst *)
Require Import Coq.Strings.String.
Require Import Coq.ZArith.ZArith. Local Open Scope Z_scope.
From Coq Require Import InitialRing. (* for isZcst *)
From Coq Require Import String.
From Coq Require Import ZArith. Local Open Scope Z_scope.
Require Import bedrock2.Syntax.
Require Import LiveVerif.LiveExpr.
Require Import LiveVerif.LiveSnippet.
Expand Down
6 changes: 3 additions & 3 deletions LiveVerif/src/LiveVerif/LiveProgramLogic.v
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Require Import Coq.ZArith.ZArith. Local Open Scope Z_scope.
Require Import Coq.micromega.Lia.
From Coq Require Import ZArith. Local Open Scope Z_scope.
From Coq Require Import Lia.
Require Import coqutil.Z.Lia.
Require Import Coq.Strings.String.
From Coq Require Import String.
Require Import coqutil.Tactics.rdelta.
Require Import coqutil.Tactics.Tactics.
Require Import coqutil.Map.Interface coqutil.Map.Properties.
Expand Down
8 changes: 4 additions & 4 deletions LiveVerif/src/LiveVerif/LiveRules.v
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Require Import Coq.ZArith.ZArith. Local Open Scope Z_scope.
Require Import Coq.micromega.Lia.
Require Import Coq.Init.Byte.
Require Import Coq.Strings.String.
From Coq Require Import ZArith. Local Open Scope Z_scope.
From Coq Require Import Lia.
From Coq.Init Require Import Byte.
From Coq Require Import String.
Require Import coqutil.Map.Interface coqutil.Map.Properties.
Require coqutil.Map.SortedListString. (* for function env, other maps are kept abstract *)
Require Import coqutil.Word.Interface coqutil.Word.Properties coqutil.Word.Bitwidth.
Expand Down
2 changes: 1 addition & 1 deletion LiveVerif/src/LiveVerif/LiveSnippet.v
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Require Import Coq.Strings.String.
From Coq Require Import String.
Require Import bedrock2.Syntax.

Inductive assignment_rhs :=
Expand Down
4 changes: 2 additions & 2 deletions LiveVerif/src/LiveVerif/LiveVerifLib.v
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Require Export Coq.ZArith.ZArith. Local Open Scope Z_scope.
Require Export Coq.micromega.Lia.
Require Export ZArith. Local Open Scope Z_scope.
Require Export Lia.
Require Export coqutil.Datatypes.Inhabited.
Require Export coqutil.Tactics.Tactics.
Require Export coqutil.Tactics.safe_auto.
Expand Down
2 changes: 1 addition & 1 deletion LiveVerif/src/LiveVerif/PackageContext.v
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Require Import Coq.ZArith.ZArith. Local Open Scope Z_scope.
From Coq Require Import ZArith. Local Open Scope Z_scope.
Require Import Ltac2.Ltac2. Set Default Proof Mode "Classic".
Require Import coqutil.Tactics.rdelta.
Require Import coqutil.Datatypes.Inhabited.
Expand Down
4 changes: 2 additions & 2 deletions LiveVerif/src/LiveVerif/string_to_ident.v
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Require Import Coq.Strings.String.
Require Import Coq.Strings.Ascii.
From Coq Require Import String.
From Coq Require Import Ascii.
Require Import Ltac2.Ltac2.
Require Ltac2.Option.

Expand Down
4 changes: 2 additions & 2 deletions LiveVerif/src/LiveVerifExamples/Tests/PrintSmt.v
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Require Import Coq.ZArith.ZArith.
From Coq Require Import ZArith.
Require Import coqutil.Word.Interface.
Require Import Coq.Logic.Classical_Prop.
From Coq Require Import Classical_Prop.
Require Import coqutil.Tactics.ident_ops.

Ltac eval_constant_pows :=
Expand Down
2 changes: 1 addition & 1 deletion LiveVerif/src/LiveVerifExamples/Tests/SampleSideconds.v
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Ltac eval_constant_pows :=
end
end.

Require Import Coq.Logic.Classical_Prop.
From Coq Require Import Classical_Prop.

Lemma ExistsNot_NotForall: forall AA (P: AA -> Prop), (exists a: AA, ~ P a) <-> ~ forall (a: AA), P a.
Proof.
Expand Down
2 changes: 1 addition & 1 deletion LiveVerif/src/LiveVerifExamples/Tests/SampleSimpls.v
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Require Import Coq.ZArith.ZArith. Local Open Scope Z_scope.
From Coq Require Import ZArith. Local Open Scope Z_scope.
Require Import coqutil.Word.Interface coqutil.Word.Properties.
Require Import coqutil.Datatypes.ZList.
Require bedrock2.WordNotations.
Expand Down
2 changes: 1 addition & 1 deletion LiveVerif/src/LiveVerifExamples/interleave.v
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Require Import Coq.Lists.List.
From Coq Require Import List.
Require Import bedrock2.ReversedListNotations. Local Open Scope list_scope.

Section Interleave.
Expand Down
1 change: 0 additions & 1 deletion LiveVerifEx64/src/LiveVerifExamples/fmalloc.v

This file was deleted.

Loading

0 comments on commit 07ad3e7

Please sign in to comment.