coq-club AT inria.fr
Subject: The Coq mailing list
List archive
Re: [Coq-Club] Ltac: Matching on hypothesis which contains user defined notations
Chronological Thread
- From: Abhishek Kr Singh <abhishek.uor AT gmail.com>
- To: coq-club AT inria.fr
- Subject: Re: [Coq-Club] Ltac: Matching on hypothesis which contains user defined notations
- Date: Thu, 16 Aug 2018 21:33:00 +0530
- Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=abhishek.uor AT gmail.com; spf=Pass smtp.mailfrom=abhishek.uor AT gmail.com; spf=None smtp.helo=postmaster AT mail-vk0-f49.google.com
- Ironport-phdr: 9a23:yWxZYBOQX0oRiqLYq5Yl6mtUPXoX/o7sNwtQ0KIMzox0LfX9rarrMEGX3/hxlliBBdydt6oazbKO+4nbGkU4qa6bt34DdJEeHzQksu4x2zIaPcieFEfgJ+TrZSFpVO5LVVti4m3peRMNQJW2aFLduGC94iAPERvjKwV1Ov71GonPhMiryuy+4ZLebxlJiTanfb9+MAi9oBnMuMURnYZsMLs6xAHTontPdeRWxGdoKkyWkh3h+Mq+/4Nt/jpJtf45+MFOTav1f6IjTbxFFzsmKHw65NfqtRbYUwSC4GYXX3gMnRpJBwjF6wz6Xov0vyDnuOdxxDWWMMvrRr0yRD+s7bpkSAXwhSgFOT438G/ZhM9tgqxFvB2svAZwz5LObYyPKPZyYqHQcNUHTmRBRMZRUClBD5ugYoQUD+oBPP1Yr4njqFsNsBCwABOsD/7yxD9JgH/20q062PkmHA7cxwMgH9MOsG/UrNrrN6ceS/21zK7SzTjYYPNW3C3y6InMchw7vf6MWrdwfNPXxEIyGQ3FiVCQppbkPzOTzukNvG+b7+1vVeKrlWErsR1+oj+qxss0lonJh4wVykre+SVj3ok1Pse0SE99YdK8EZtQsT2aOJVyQs84Xm5npiA3waAFt56jZCUG1ogryhrFZ/GEc4WE+AzvWPufLDtii39ofLSyjAuo/0e60O3zTMy03U5KriVbltnMsWgA1xnJ5ciGTvtx51mh2TWT2wzK5OFJLkQ5mbDUK54mxb4wmZ4TvlrZEiDqn0X2ibeadkQi+ue29+TqeqvqqoOYOoNuiQzzMr4iltKiDek2KAQDUGyW9fy51LL5/E35RLtKjucxkqncqJ3VP98Upq64Aw9O0oYs9RW/Ay270NQfh3kKN11FeBedgIjoP1HCOuz3DfC6g1i0ijdk2+jGPqH9ApXKNnXMjLDhfa9k50FAzAoz0MtQ6olPCrABJfLzQlX+uMbZDh8/KQy0wvzoBM9z1oMECiqzBfqSN7qXuluV7MouJfONbckbomXTMf8gstfkjX4imVIeNYqzlaAWbn+4VqBvKUWYenrhgZEcFn0isQ83Teisg1qHB20AL02uVr4xs2loQLmtCp3OE9j00e6xmRyjF5gTXVhoT1WFEHPmbYKBAq5eZyebI8snmTsBB+H4F90RkCq2vQq/8IJJa/LO83RB553m3dlxoebUkENqrGEmP4Gmy2iIClpMsCYISjsxhv0tpEV8zhKd0vA9jaAJU9NU4PxNX0ExMpuOl+E=
Dear Abishek,
I guess you have a coercion defined from bool to Prop, otherwise eqb x y cannot be on the left side of -> .
Ltac doesn’t know about this coercion, so I think you have to put in the coercion from bool to Prop explicitly in your Ltac match. Enable “Display Coercions” to see what your goal really is.
I also would use an explicit type scope (?x == ?y)%bool for clarity.
Best regards,
Michael
Intel Deutschland GmbH
Registered Address: Am Campeon 10-12, 85579 Neubiberg, Germany
Tel: +49 89 99 8853-0, www.intel.de
Managing Directors: Christin Eisenschmid, Christian Lamprechter
Chairperson of the Supervisory Board: Nicole Lau
Registered Office: Munich
Commercial Register: Amtsgericht Muenchen HRB 186928
Abhishek Kr. Singh,
Research Scholar, STCS, TIFR Mumbai.
Homepage: http://www.tcs.tifr.res.in/~abhishek/
http://www.tcs.tifr.res.in/people/abhishek-singh
- [Coq-Club] Ltac: Matching on hypothesis which contains user defined notations, Abhishek Kr Singh, 08/16/2018
- RE: [Coq-Club] Ltac: Matching on hypothesis which contains user defined notations, Soegtrop, Michael, 08/16/2018
- Re: [Coq-Club] Ltac: Matching on hypothesis which contains user defined notations, Abhishek Kr Singh, 08/16/2018
- RE: [Coq-Club] Ltac: Matching on hypothesis which contains user defined notations, Soegtrop, Michael, 08/16/2018
Archive powered by MHonArc 2.6.18.