Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] equalities at Type

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] equalities at Type


chronological Thread 
  • From: Adam Chlipala <adamc AT hcoop.net>
  • To: Rob Dockins <robdockins AT fastmail.fm>
  • Cc: coq-club AT pauillac.inria.fr
  • Subject: Re: [Coq-Club] equalities at Type
  • Date: Fri, 31 Oct 2008 17:02:35 -0400
  • List-archive: <http://pauillac.inria.fr/pipermail/coq-club/>

Rob Dockins wrote:
Is is possible to prove the following two lemmas? It seems to me like they should be true, but I can't figure out a way to tackle the proof.

Lemma unit_not_pair : forall A B:Type, prodT A B <> unit.
Lemma pair_eq_inj : forall A A' B B',
    prodT A B = prodT A' B' -> A = A' /\ B = B'.

I wouldn't be surprised if both lemmas are independent of CIC-sans-axioms. I certainly don't know how to prove either.

However, if you specialize the first lemma such that at least one of [A] and [B] has at least two distinct members, then you get a fairly straightforward proof by a cardinality argument. I've done many such proofs for theorems like [Empty_set <> unit], which tend to pop up in denotational approaches to language semantics.





Archive powered by MhonArc 2.6.16.

Top of Page