Ramsdell, John D.
2018-08-01 20:47:02 UTC
I am having an odd problem using automation with Ensembles. For some reason, I am unable to make use of its hints. I am sure the problem's resolution will be easy found by one of you experts. Here is a simple example of the problem.
-----
Require Export Ensembles.
Lemma disjoint:
forall U A B, Disjoint U A B.
Proof.
intros.
auto with sets.
At this point, I would expect Coq to automatically apply Disjoint_intro, the name of the constructor used to define Disjoint in Ensembles, but alas, no such luck. Auto with sets does nothing.
If one types "Print Hint *", one sees there is something in the sets database. The relevant line reads:
For Disjoint -> simple apply Disjoint_intro(level 1, pattern Disjoint ?META196 ?META197 ?META198, id 0)
Any ideas as to why nothing is happening? The same problem exists for identifiers that have an unfold hint.
I am using Coq 8.8.1.
-----
Require Export Ensembles.
Lemma disjoint:
forall U A B, Disjoint U A B.
Proof.
intros.
auto with sets.
At this point, I would expect Coq to automatically apply Disjoint_intro, the name of the constructor used to define Disjoint in Ensembles, but alas, no such luck. Auto with sets does nothing.
If one types "Print Hint *", one sees there is something in the sets database. The relevant line reads:
For Disjoint -> simple apply Disjoint_intro(level 1, pattern Disjoint ?META196 ?META197 ?META198, id 0)
Any ideas as to why nothing is happening? The same problem exists for identifiers that have an unfold hint.
I am using Coq 8.8.1.