Skip to content

Commit 0bbf6d6

Browse files
committed
use RelationClasses instead of old Relations_1 (for rocq-prover/stdlib#152)
1 parent 127aa73 commit 0bbf6d6

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

msl/subtypes.v

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,11 @@
33
*
44
*)
55

6+
Require Import Arith.
67
Require Import VST.msl.base.
78
Require Import VST.msl.ageable.
89
Require Import VST.msl.predicates_hered.
910

10-
Import Arith.
11-
1211
Local Open Scope pred.
1312

1413
Section Fash.

zlist/list_solver.v

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
Require Import RelationClasses.
12
Require Import ZArith Znumtheory.
23
Require Import Coq.Lists.List.
34
Require Import Lia.
@@ -1030,8 +1031,8 @@ Section Sorted.
10301031
Variable A : Type.
10311032
Variable d : Inhabitant A.
10321033
Variable le : A -> A -> Prop.
1033-
Context {Hrefl : Relations_1.Reflexive A le}.
1034-
Context {Htrans : Relations_1.Transitive le}.
1034+
Context {Hrefl : Reflexive le}.
1035+
Context {Htrans : Transitive le}.
10351036

10361037
Definition sorted (l : list A) :=
10371038
forall i j, 0 <= i <= j /\ j < Zlength l -> le (Znth i l) (Znth j l).

0 commit comments

Comments
 (0)