Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] how to prove and evaluate new function definition with this axioms

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] how to prove and evaluate new function definition with this axioms


Chronological Thread 
  • From: Pierre Casteran <pierre.casteran AT labri.fr>
  • To: coq-club AT inria.fr, Mandy Martino <tesleft AT hotmail.com>
  • Subject: Re: [Coq-Club] how to prove and evaluate new function definition with this axioms
  • Date: Sun, 07 Feb 2016 17:37:20 +0100
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None smtp.pra=pierre.casteran AT labri.fr; spf=Pass smtp.mailfrom=pierre.casteran AT labri.fr; spf=Pass smtp.helo=postmaster AT iona.labri.fr
  • Ironport-phdr: 9a23:ZlSuihAz0m+vNupUFlkUUyQJP3N1i/DPJgcQr6AfoPdwSP7zp8bcNUDSrc9gkEXOFd2CrakU1KyM7uuwCCQp2tWojjMrSNR0TRgLiMEbzUQLIfWuLgnFFsPsdDEwB89YVVVorDmROElRH9viNRWJ+iXhpQAbFhi3DwdpPOO9QteU1JTokbrvsM2CKyxzxxODIppKZC2sqgvQssREyaBDEY0WjiXzn31TZu5NznlpL1/A1zz158O34YIxu38I46FppIZ8VvDxeL19RrhFBhwnNXo07Yvlr12LaAKJ6mpUd2wMjhtOBECR8BzhWpr/rgP6sfZ40Siee8bxSOZndy6l6vJTSRLykipPHDci7GzNg8o42LparQi7qlp0ypXIbZucMtJ6d6nHfJUUXzwSDY5qSyVdD9bkPMM0BO0bMLMAog==

Hi Martin,

What is really your question?

The code you sent is not even accepted by the Coq system
Please look at the type error message you've certainly got at the third line; you will understand
that it is impossible for us to answer.

It is important to begin to study Coq with the help of some tutorial.

About your last question about Ring, there is a lot of documentation about that in the reference manual.

Pierre






Quoting Mandy Martino
<tesleft AT hotmail.com>:

Hi ,


Require Import Arith.
Parameter G : Type.
Axiom reflexive : forall x y z:G, x <= x.
Axiom symmetric : forall x y z:G, x = y <= y = x.
Axiom transitive : forall x y z:G, (z = y) * z <= (z = x) * x.


Regards,

Martin






Archive powered by MHonArc 2.6.18.

Top of Page