Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] an inductive types question (2)

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] an inductive types question (2)


chronological Thread 
  • From: Adam Chlipala <adamc AT hcoop.net>
  • To: Vladimir Voevodsky <vladimir AT ias.edu>
  • Cc: Coq Club <coq-club AT pauillac.inria.fr>
  • Subject: Re: [Coq-Club] an inductive types question (2)
  • Date: Tue, 20 Oct 2009 12:32:16 -0400
  • List-archive: <http://pauillac.inria.fr/pipermail/coq-club/>

Vladimir Voevodsky wrote:
Given an inductive type such as

Inductive two_el := el_1 | el_2 .

are there closed terms of type two_el which do not reduce to either el_1 or el_2 ?

That depends on the axioms that you assert. With no axioms, I believe the CIC consistency theorem guarantees the property you describe (modulo differences between the real Coq implementation and the theory).

The axiom from the [Eqdep] module is a good example of a term that can block complete reduction, but is very useful. There is also the less interesting case of trying to reduce terms that contain subterms marked as opaque with [Qed] or similar.





Archive powered by MhonArc 2.6.16.

Top of Page