Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] string comparison

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] string comparison


chronological Thread 
  • From: Fr�d�ric Besson <fbesson AT irisa.fr>
  • To: "Theodoros G. Tsokos" <T.Tsokos AT cs.bham.ac.uk>
  • Cc: coq-club AT pauillac.inria.fr
  • Subject: Re: [Coq-Club] string comparison
  • Date: Thu, 17 Jan 2008 09:31:07 +0100
  • List-archive: <http://pauillac.inria.fr/pipermail/coq-club/>

On 16 janv. 08, at 20:18, Theodoros G. Tsokos wrote:

Dear all,

I'm having the following definition (representing identifiers of a language)

Variable string : Type.
Variables x y z : string.
Do you really want to keep the string type abstract ?

If no, you can use the Coq string library - there is a string_dec function
Require Import String
Variables x y z : string

If yes, you will have to axiomatize further and make the hypothesis of a string comparison function
Variable compare_string : string -> string -> bool.
Variable compare_string_correct : ....


Regards,

--
Frédéric Besson






Archive powered by MhonArc 2.6.16.

Top of Page