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: coq-club AT pauillac.inria.fr
- Subject: Re: [Coq-Club] string comparison
- Date: Thu, 17 Jan 2008 12:15:52 +0000
- List-archive: <http://pauillac.inria.fr/pipermail/coq-club/>
Dear all,
thank you very much for your replies and your time.
Yves Bertot wrote:
Long answer:Yes, it really helped my understanding (I hope ) in this topic. Thanks for the long answer in specific, it was quite informative.
...
...
...
I hope this helps,
Yves
However, I would like to rephrase, in a way, my question. I knew about the option of creating a string_dec function of type forall x y: string, {x=y}+{x<>y}, as in Yves' Semantics Survey. I'm concerned about the *evaluation* of the clause as well. For example the following:
Coq < Eval compute in (if (string_dec x y) then true else false).
to give me false as an answer, whereas the
Coq < Eval compute in (if (string_dec x x) then true else false).
to give me true. However, in that way I don't get this result.
Apologize for not setting it down properly in my first email, but my aim is to be able to do that kind of evaluations/computations, in order to get a *terminal* result from the evaluation.
Thank you very much in advance again,
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] string comparison, Theodoros G. Tsokos
- Re: [Coq-Club] string comparison, Andrew McCreight
- Re: [Coq-Club] string comparison, Frédéric Besson
- Re: [Coq-Club] string comparison,
Yves Bertot
- Re: [Coq-Club] string comparison, Yves Bertot
- Re: [Coq-Club] string comparison, Theodoros G. Tsokos
- Re: [Coq-Club] string comparison, Yves Bertot
- Re: [Coq-Club] string comparison, Benjamin Werner
Archive powered by MhonArc 2.6.16.