Skip to Content.
Sympa Menu

coq-club - [Coq-Club] convertibility

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

[Coq-Club] convertibility


chronological Thread 
  • From: Jean-Yves Vion-Dury <jean-yves.vion-dury AT inrialpes.fr>
  • To: coq-club AT pauillac.inria.fr
  • Subject: [Coq-Club] convertibility
  • Date: Tue, 22 Jun 2004 09:09:00 +0200
  • List-archive: <http://pauillac.inria.fr/pipermail/coq-club/>
  • Organization: Inria Rhones-Alpes

Dear colleagues

I cannot understand for instance why

Require Import Reals.
Check forall rx ry:R, (Rplus_comm rx ry) -> True.

produces the error :

Error: In environment
rx : R
ry : R
the term "Rplus_comm rx ry" has type "rx + ry = ry + rx"
which should be Set, Prop or Type.

whereas

Check forall rx ry:R, rx+ry = ry+rx -> True
.

produces

forall rx ry : R, rx + ry = ry + rx -> True
     : Prop


but, to me, rx+ry=ry+rx is the beta-contraction of (Rplus_comm rx ry)
and hence, the type should be convertible.

any comment much appreciated.

Jean-Yves

--
Jean-Yves Vion-Dury   Research Scientist     Xerox Research Centre Europe
INRIA (sabbatical)
655 avenue de l'Europe,
38334 Montbonnot (FRANCE)
Jean-Yves.Vion-Dury AT inrialpes.fr
from France:   0 4 76 61 53 83
from abroad: +33 4 76 61 53 83
you may have heard of Circusthe Transformation Language I designed ? show me



Archive powered by MhonArc 2.6.16.

Top of Page