coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: "Russell O'Connor" <roconnor AT Math.Berkeley.EDU>
- To: Coq Club <coq-club AT pauillac.inria.fr>
- Subject: Re: [Coq-Club] Coq Poll: What are your preferred rational numbers ?
- Date: Fri, 28 Nov 2003 17:23:07 -0800 (PST)
- List-archive: <http://pauillac.inria.fr/pipermail/coq-club/>
On Thu, 27 Nov 2003, Venanzio Capretta wrote:
> The real point in which a canonical representation of some set is better
> than a setoid representation is that equality becomes convertibility.
> That means that we can substitute equal objects in any context. You want
> that (mkRat t1 b1 H1) is convertible with (mkRat t2 b2 H2) if t1 is
> convertible with t2 and b1 with b2. This is not in general true even if
> you have unicity of equality proofs.
This is a really interesting point. Let me see if I undersand. In
the context
t : Z
b : POS
H1,H2 : `(Zgcd top (POS bottom))=1`
We can prove that (mkRat t b H1)=(mkRat t b H2), but we they are not
convertable since H1 and H2 are not convertable.
But still, it seems better than using a Setoid, because you can at least
use eq_rec_r to replace any instance of (mkRat t b H1) with
(mkRat t b H2). If we were using Setoids, wouldn't we have to show that
every intermeditate function is a Morphism?
In otherwords using this structure only requires a constant size increase
in the length of a proof, while using a Setoid would require increasing
the proof size proportional to the number if function we need to prove are
Morphisms. I don't use Setoids much, so I may be in error.
--
Russell O'Connor <http://math.berkeley.edu/~roconnor/>
Work to ensure that Iraq is run by Iraqis.
- [Coq-Club] Coq Poll: What are your preferred rational numbers ?, Pierre Letouzey
- [Coq-Club] Re: Coq Poll: What are your preferred rational numbers ?, Milad Niqui
- Message not available
- <Possible follow-ups>
- [Coq-Club] Coq Poll: What are your preferred rational numbers ?,
Thery Laurent
- Re: [Coq-Club] Coq Poll: What are your preferred rational numbers ?,
Pierre Letouzey
- Re: [Coq-Club] Coq Poll: What are your preferred rational numbers ?,
Russell O'Connor
- Re: [Coq-Club] Coq Poll: What are your preferred rational numbers ?,
Venanzio Capretta
- Re: [Coq-Club] Coq Poll: What are your preferred rational numbers ?, Russell O'Connor
- Re: [Coq-Club] Coq Poll: What are your preferred rational numbers ?,
Venanzio Capretta
- Re: [Coq-Club] Coq Poll: What are your preferred rational numbers ?, Benjamin Werner
- Re: [Coq-Club] Coq Poll: What are your preferred rational numbers ?, Pierre Courtieu
- Re: [Coq-Club] Coq Poll: What are your preferred rational numbers ?,
Venanzio Capretta
- Re: [Coq-Club] Coq Poll: What are your preferred rational numbers ?,
Russell O'Connor
- Re: [Coq-Club] Coq Poll: What are your preferred rational numbers ?, Bruno Barras
- Re: [Coq-Club] Coq Poll: What are your preferred rational numbers ?,
Pierre Letouzey
Archive powered by MhonArc 2.6.16.