Skip to Content.
Sympa Menu

coq-club - [Coq-Club] Including Omega breaks some Ltac scripts - additional spaces required to fix it

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

[Coq-Club] Including Omega breaks some Ltac scripts - additional spaces required to fix it


Chronological Thread 
  • From: "Soegtrop, Michael" <michael.soegtrop AT intel.com>
  • To: "coq-club AT inria.fr" <coq-club AT inria.fr>
  • Subject: [Coq-Club] Including Omega breaks some Ltac scripts - additional spaces required to fix it
  • Date: Wed, 11 Feb 2015 13:11:45 +0000
  • Accept-language: de-DE, en-US

Dear Coq users,

 

I just spent an hour debugging some Ltac scripts, which worked perfectly fine until I added a  “Require Import Omega”.

 

The problem was that Omega defines an operator “=?” after which Ltac expressions like

 

match goal with |- ?x=?y

 

parse as

 

                match goal with |- ?x  =?  y

 

rather than

 

                match goal with |- ?x  =  ?y

 

as without omega, which leads to rather strange effects. The easy fix is to add a space after the =.

 

I hope it helps someone to avoid falling into the same pit.

 

Best regards,

 

Michael

 



  • [Coq-Club] Including Omega breaks some Ltac scripts - additional spaces required to fix it, Soegtrop, Michael, 02/11/2015

Archive powered by MHonArc 2.6.18.

Top of Page