Skip to content

Commit

Permalink
Proj.equal has been upstreamed, so use it directly (#114)
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonGross committed Sep 19, 2023
1 parent 42b34e5 commit 43447bc
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 10 deletions.
2 changes: 1 addition & 1 deletion src/Rewriter/Util/Tactics2/Proj.v.v815
1 change: 0 additions & 1 deletion src/Rewriter/Util/Tactics2/Proj.v.v816

This file was deleted.

8 changes: 8 additions & 0 deletions src/Rewriter/Util/Tactics2/Proj.v.v816
@@ -0,0 +1,8 @@
Require Import Ltac2.Ltac2.
Require Export Rewriter.Util.FixCoqMistakes.
Import Ltac2.Constr.
Import Constr.Unsafe.

Ltac2 equal (x : projection) (y : projection) : bool
:= let dummy := make (Rel (-1)) in
Constr.equal (make (Proj x dummy)) (make (Proj y dummy)).
5 changes: 1 addition & 4 deletions src/Rewriter/Util/Tactics2/Proj.v.v818
@@ -1,8 +1,5 @@
Require Import Ltac2.Ltac2.
Require Export Ltac2.Proj.
Require Export Rewriter.Util.FixCoqMistakes.
Import Ltac2.Constr.
Import Constr.Unsafe.

Ltac2 equal (x : projection) (y : projection) : bool
:= let dummy := make (Rel (-1)) in
Constr.equal (make (Proj x dummy)) (make (Proj y dummy)).
5 changes: 1 addition & 4 deletions src/Rewriter/Util/Tactics2/Proj.v.v819
@@ -1,8 +1,5 @@
Require Import Ltac2.Ltac2.
Require Export Ltac2.Proj.
Require Export Rewriter.Util.FixCoqMistakes.
Import Ltac2.Constr.
Import Constr.Unsafe.

Ltac2 equal (x : projection) (y : projection) : bool
:= let dummy := make (Rel (-1)) in
Constr.equal (make (Proj x dummy)) (make (Proj y dummy)).

0 comments on commit 43447bc

Please sign in to comment.