Skip to content

Commit 7c7cfaa

Browse files
committed
SetoidRewrite: remove Init.Tactics; change From Coq to From Corelib
Now that we are targetting >= 9.0, these are no longer needed.
1 parent f79ca47 commit 7c7cfaa

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

test/WildCat/SetoidRewrite.v

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#[warnings="-deprecated-from-Coq"]
2-
From Coq Require Init.Tactics. (* TODO: Can remove this line and previous once Rocq 9.0 is our minimum. *)
31
From HoTT Require Import Basics.Overture Basics.Tactics.
42
From HoTT.WildCat Require Import Core NatTrans Equiv SetoidRewrite.
53

theories/WildCat/SetoidRewrite.v

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,8 @@
22

33
(** This file uses the setoid rewriting machinery from the Coq standard library to allow rewriting in wild-categories. Examples are given in test/WildCat/SetoidRewrite.v and theories/WildCat/HomologicalAlgebra.v. *)
44

5-
(** Init.Tactics contains the definition of the Coq stdlib typeclass_inferences database. With Coq 8.x, it must be imported before Basics.Overture. Otherwise, the typeclasses hintdb is cleared, breaking typeclass inference. Because of this, this file also needs to be the first file Require'd in any file that uses it. Moreover, if Foo Requires this file, then Foo must also be the first file Require'd in any file that Requires Foo, and so on. Once we assume Rocq 9.0 as our minimum, these comments can be removed. *)
6-
7-
#[warnings="-deprecated-from-Coq"]
8-
From Coq Require Init.Tactics.
95
From HoTT Require Import Basics.Overture Basics.Tactics.
10-
#[warnings="-deprecated-from-Coq"]
11-
From Coq Require Setoids.Setoid.
6+
From Corelib Require Setoids.Setoid.
127
Import CMorphisms.ProperNotations.
138
From HoTT Require Import WildCat.Core.
149

0 commit comments

Comments
 (0)