coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Holden Lee <hl422 AT cam.ac.uk>
- To: coq-club AT inria.fr
- Subject: Re: [Coq-Club] How to rewrite using lemma?
- Date: Thu, 28 Aug 2014 12:51:16 +0100
That was it actually. Thanks.
-Holden
2014-08-27 17:25 GMT+01:00 Jonathan <jonikelee AT gmail.com>:
On 08/27/2014 03:57 AM, Holden Lee wrote:
Beginner's question: I have a lemma that intersection with the empty set is(*Intersection U (Empty_set U) Y*) = Empty_set U.
empty:
Lemma int_empty :
forall (Y: Ensemble U),cardinal U (*Intersection U (Empty_set U) Y*) p ->
During a later proof I have as a goal
cardinal U Y n ->I would like to replace *Intersection U (Empty_set U) Y *with Empty_set U.
cardinal U (Union U (Empty_set U) Y) (0 + n - p)
How do I do this? rewrite int_empty gives: Error: The reference int_empty
was not found in the current environment.
-Holden
It would help if we could see what happened in between. For instance, did you completely finish the proof of int_empty (with Qed)?
-- Jonathan
- [Coq-Club] How to rewrite using lemma?, Holden Lee, 08/27/2014
- Re: [Coq-Club] How to rewrite using lemma?, Jonathan, 08/27/2014
- Re: [Coq-Club] How to rewrite using lemma?, Holden Lee, 08/28/2014
- Re: [Coq-Club] How to rewrite using lemma?, Jonathan, 08/27/2014
Archive powered by MHonArc 2.6.18.