Skip to content

Commit

Permalink
Fix the deprecated-ident-entry warnings
Browse files Browse the repository at this point in the history
This fix is incompatible with coq v8.10.
Concerns issue coq-community#17
  • Loading branch information
Columbus240 committed Aug 22, 2021
1 parent da34a09 commit f6031e8
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions theories/ZornsLemma/DirectedSets.v
Original file line number Diff line number Diff line change
Expand Up @@ -105,11 +105,11 @@ Arguments not_eventually_eal_not {I}.

Notation "'for' 'large' i : I , p" :=
(eventually (fun i:I => p))
(at level 200, i ident, right associativity).
(at level 200, i name, right associativity).

Notation "'exists' 'arbitrarily' 'large' i : I , p" :=
(exists_arbitrarily_large (fun i:I => p))
(at level 200, i ident, right associativity).
(at level 200, i name, right associativity).

Section nat_DS.

Expand Down
2 changes: 1 addition & 1 deletion theories/ZornsLemma/EnsemblesSpec.v
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Definition characteristic_function_to_ensemble {X:Type} (P:X->Prop) : Ensemble X

Notation "[ x : X | P ]" :=
(characteristic_function_to_ensemble (fun x:X => P))
(x ident).
(x name).

Lemma characteristic_function_to_ensemble_is_identity:
forall {X:Type} (P:X->Prop),
Expand Down
8 changes: 4 additions & 4 deletions theories/ZornsLemma/EnsemblesUtf8.v
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,15 @@ Notation "∅" := Empty_set (at level 0).

Notation "⋃ F" := (FamilyUnion F) (at level 0).
Notation "⋃ [ x : X ] S" :=
(IndexedUnion (fun x:X => S)) (at level 0, x ident).
(IndexedUnion (fun x:X => S)) (at level 0, x name).
Notation "\\// [ x : X ] S" :=
(IndexedUnion (fun x:X => S)) (only parsing, x ident, at level 0).
(IndexedUnion (fun x:X => S)) (only parsing, x name, at level 0).
Notation "⋂ F" := (FamilyIntersection F) (at level 0).
Notation "⋂ [ x : X ] S" :=
(IndexedIntersection (fun x:X => S)) (at level 0, x ident).
(IndexedIntersection (fun x:X => S)) (at level 0, x name).
Notation "//\\ [ x : X ] S" :=
(IndexedIntersection (fun x:X => S))
(only parsing, x ident, at level 0).
(only parsing, x name, at level 0).

(* test *)
(*
Expand Down

0 comments on commit f6031e8

Please sign in to comment.