Skip to Content.
Sympa Menu

coq-club - [Coq-Club] Coq improvement in 8.4

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

[Coq-Club] Coq improvement in 8.4


Chronological Thread 
  • From: AUGER Cédric <sedrikov AT gmail.com>
  • To: coq-club AT inria.fr
  • Subject: [Coq-Club] Coq improvement in 8.4
  • Date: Fri, 28 Sep 2012 17:11:26 +0200

I wanted to manually perform a "discriminate", and I did something
like :

Lemma Z : true = false → False.
refine (λ H, match H with eq_refl => True end).
Defined.

I am pretty sure it used not to work (I am on a 8.4 trunk version) on
8.3. So I was very surprised to see it working, and I feared a bug.

Print Z.

Hopefully returns something that I recognize to be correct. So now
pattern matching on Coq seems more clever than in 8.3. So I was
wondering from when such an improvement occured and if there was some
other nice improvement in the same spirit (I did not find it in the
Changelog…).



Archive powered by MHonArc 2.6.18.

Top of Page