coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: "Theodoros G. Tsokos" <T.Tsokos AT cs.bham.ac.uk>
- To: Yves Bertot <Yves.Bertot AT sophia.inria.fr>
- Cc: "Theodoros G. Tsokos" <T.Tsokos AT cs.bham.ac.uk>, coq-club AT pauillac.inria.fr
- Subject: Re: [Coq-Club] applying at the same time two hypothesis to solve a goal.
- Date: Mon, 14 Apr 2008 09:07:52 +0100
- List-archive: <http://pauillac.inria.fr/pipermail/coq-club/>
Yes, it helps a lot, thanks a lot!Well, for lack of more information, I assume that op_and is also a constructor of the term type.
Starting from your goal:
H1 : FF G b1 -> FF G v1
H2 : ...
=====
FF G (op_and b1 b2) -> FF G (v1 && v2)
I would simply use inversion, in the following way:
intros HA; inversion HA.
This would yield two hypotheses with statements:
FF G b1
and
FF G b2
and then it would be possible to conclude, by case analysis on v1 (tactic destruct), and
a second case analysis on v2 in the case where v1 is true.
Tell me if this helps.
Yves
Yes, op_and is a constructor of the term type as well. The proof is almost done now, apart from the function term. But the important thing was to advance the proof, so thanks indeed.
Regards,
Theo.
--
| Theodoros G. Tsokos |
| http://www.cs.bham.ac.uk/~txt |
| School of Computer Science, The University of Birmingham |
| Edgbaston, Birmingham, B15 2TT, United Kingdom |
| -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- |
| "The freedom of speech includes the freedom to shut up" |
| -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- |
| "Democracy: the freedom to say whatever one wants and |
| the capital to implement whatever it wants" |
--
- [Coq-Club] applying at the same time two hypothesis to solve a goal., Theodoros G. Tsokos
- Re: [Coq-Club] applying at the same time two hypothesis to solve a goal.,
Adam Chlipala
- Re: ?spam? Re: [Coq-Club] applying at the same time two hypothesis to solve a goal.,
Theodoros G. Tsokos
- Re: ?spam? Re: [Coq-Club] applying at the same time two hypothesis to solve a goal.,
Yves Bertot
- Re: [Coq-Club] applying at the same time two hypothesis to solve a goal.,
Theodoros G. Tsokos
- Re: [Coq-Club] applying at the same time two hypothesis to solve a goal.,
Yves Bertot
- Re: [Coq-Club] applying at the same time two hypothesis to solve a goal., Theodoros G. Tsokos
- Re: [Coq-Club] applying at the same time two hypothesis to solve a goal.,
Yves Bertot
- Re: [Coq-Club] applying at the same time two hypothesis to solve a goal.,
Theodoros G. Tsokos
- Re: ?spam? Re: [Coq-Club] applying at the same time two hypothesis to solve a goal.,
Yves Bertot
- Re: [Coq-Club] applying at the same time two hypothesis to solve a goal., Theodoros G. Tsokos
- Re: ?spam? Re: [Coq-Club] applying at the same time two hypothesis to solve a goal.,
Theodoros G. Tsokos
- Re: [Coq-Club] applying at the same time two hypothesis to solve a goal.,
Adam Chlipala
Archive powered by MhonArc 2.6.16.