Skip to content

Commit

Permalink
Add missing hint localities
Browse files Browse the repository at this point in the history
Silences warnings in Coq >=v8.13
  • Loading branch information
Columbus240 committed Aug 20, 2021
1 parent 30fe1f7 commit da101d6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion theories/Topology/Homeomorphisms.v
Original file line number Diff line number Diff line change
Expand Up @@ -87,4 +87,4 @@ Definition topological_property (P : TopologicalSpace -> Prop) :=
forall X Y (f : point_set X -> point_set Y),
homeomorphism f -> P X -> P Y.

Hint Unfold topological_property : homeo.
Global Hint Unfold topological_property : homeo.
4 changes: 2 additions & 2 deletions theories/Topology/TopologicalSpaces.v
Original file line number Diff line number Diff line change
Expand Up @@ -200,8 +200,8 @@ rewrite Complement_IndexedUnion.
apply open_finite_indexed_intersection; trivial.
Qed.

Hint Unfold closed : topology.
Hint Resolve open_family_union open_intersection2 open_full
Global Hint Unfold closed : topology.
Global Hint Resolve open_family_union open_intersection2 open_full
open_empty open_union2 open_indexed_union
open_finite_indexed_intersection closed_complement_open
closed_union2 closed_intersection2 closed_family_intersection
Expand Down
4 changes: 2 additions & 2 deletions theories/ZornsLemma/InverseImage.v
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ From ZornsLemma Require Import IndexedFamilies.

Definition inverse_image {X Y:Type} (f:X->Y) (T:Ensemble Y) : Ensemble X :=
[ x:X | In T (f x) ].
Hint Unfold inverse_image : sets.
Global Hint Unfold inverse_image : sets.

Lemma inverse_image_increasing: forall {X Y:Type} (f:X->Y)
(T1 T2:Ensemble Y), Included T1 T2 ->
Expand Down Expand Up @@ -94,7 +94,7 @@ apply Extensionality_Ensembles; split; red; intros.
constructor; trivial.
Qed.

Hint Resolve @inverse_image_increasing : sets.
Global Hint Resolve @inverse_image_increasing : sets.
Hint Rewrite @inverse_image_empty @inverse_image_full
@inverse_image_intersection @inverse_image_union
@inverse_image_complement @inverse_image_composition : sets.
Expand Down

0 comments on commit da101d6

Please sign in to comment.