coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Théo Zimmermann <theo AT irif.fr>
- To: Coq Club <coq-club AT inria.fr>
- Subject: Re: [Coq-Club] How do I make Hints available outside a section?
- Date: Tue, 12 Jan 2021 08:23:53 +0100
- Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=theo AT irif.fr; spf=Pass smtp.mailfrom=theo AT irif.fr; spf=None smtp.helo=postmaster AT korolev.univ-paris7.fr
- Ironport-phdr: 9a23:Ga16Jhxg8qEgEkPXCy+O+j09IxM/srCxBDY+r6Qd2ukfIJqq85mqBkHD//Il1AaPAdyEragZ0aGH6ejJYi8p2d65qncMcZhBBVcuqP49uEgeOvODElDxN/XwbiY3T4xoXV5h+GynYwAOQJ6tL1LdrWev4jEMBx7xKRR6JvjvGo7Vks+7y/2+94fcbglVhjexe61+IRWooQnessQan5ZpJ7osxBfOvnZGYfldy3lyJVKUkRb858Ow84Bm/i9Npf8v9NNOXLvjcaggQrNWEDopM2Yu5M32rhbDVheA5mEdUmoNjBVFBRXO4QzgUZfwtiv6sfd92DWfMMbrQ704RSiu4qF2QxLzliwJKyA2/33WisxojaJUvhShpwBkw4XJZI2ZLedycr/Bcd8fQ2dOWdtfVzFaAoOkcYQAE/YBM+hfr4n4vVQOrB2+DhSoCO7gzjJEg3n71rA43es8CwHLxAMvH9wMv3rUotv7N7ocX/6pw6TT1zrPc+lb1C3h5ITUcB0sp+yHU7JqccrWzEkiDx3LjlWKroziJzya1eUNs22e7+V+T+KvjnQoqwd3ojOywcoslonJiZwSyl3f9CV52oc1JdOiRE51e96pCZ1dvDyVOIVqWM0tWX1ouDokxb0cv562ZDQHxYg5yxPQZfKKfYqF7g/tWeuTPDt1inZodbyxihus8UWt1+LyWtWw3VpWsiZLktfBu2wO2hLc7sWJSvhw80On1D2S2Q7T7eRELlo1lardM5Mhw7gwloASsUvZBCP2ll/2gLeZdkUl5uio6/nnba78qp+dMI95jBz1PKc2msGnHOg1NgcDU3KF9em827Dv50z0TKhQgvErnKTUs4jWKdoHqqO9GQNY0YYu5wyhAzu609kUh2QLIVFZdB+BkoPnIUvBIOriAve6m1mskClkx/TBPrD5AZXNKWLDkLDlfblj9U5Q0hczzdZe55JKE70BOOj8WlXwtNzDDBI1KQK0w/z/BNV80IMRR36PD7eEPK7WvlKE/PwjLumDaYMPuTvxNuIp6+PggHI6gVMdeLOm3ZoTaHC2BPRmJECZbGLwgtcBD2gKuREzTO3wiF2DXz5ffXiyX7gk6jEhFI2mFZvDRpyqgLGZwCi7GYRWanlaBVCIDHfnbJ6JW+wMaSKXOs9uiCYIVbmnS4871BGhrhX2y7R9LrmcxipNnpX6nPNx+uebwRo17Hl/C9mX+2CLVWB92G0SEWwYxqd69HB9S1C046l9hvFCENVV4bsdTgc3Mrbd1e10Td7oDFGSNuyVQUqrF431SQo6Scg8lppTOh8sSeXntQjK2m+RO5FQkrWKAJIu9aeNjXnrJsg7xWyUjfB83WljedNGMCidvoA69wXXANSVwUaejaGueLpawSjM6iKbxHCPpx4eXhQiCfyZD0BaXVPfqJHC3m2HV6WnWOYmKApPj8CYePNH
Hi,
Global/global is not supported by the Hint commands in sections as indicated in https://coq.inria.fr/refman/proofs/automatic-tactics/auto.html#creating-hints so you have no choice but to redeclare the hints after closing a section. However, it is supported for the Instance command.
Théo
Le mar. 12 janv. 2021 à 02:54, Jim Fehrle <jim.fehrle AT gmail.com> a écrit :
Have you tried putting "#[global]" on your hint command, e.g. "#[global] Hint ..."? See the doc at https://coq.github.io/doc/v8.13/refman/proof-engine/vernacular-commands.html#coq:attr.global. Note that some Hint commands don't support this attribute, e.g. "Hint Rewrite".Hope this helps. Others may know more.JimOn Mon, Jan 11, 2021 at 2:23 PM Agnishom Chattopadhyay <agnishom AT cmi.ac.in> wrote:Hi;I have a Coq proof scripts which is organized in Sections, and I have used Hints inside a section. How do I make sure that these hints are available outside the section?I also have the same question for Instances.Also, if someone could point me to examples about managing hints and instances (like Reflexivity, for example. (I am working with some setoids.)) that would be very helpful.Thank You--Agnishom
- [Coq-Club] How do I make Hints available outside a section?, Agnishom Chattopadhyay, 01/11/2021
- Re: [Coq-Club] How do I make Hints available outside a section?, Jim Fehrle, 01/12/2021
- Re: [Coq-Club] How do I make Hints available outside a section?, Théo Zimmermann, 01/12/2021
- Re: [Coq-Club] How do I make Hints available outside a section?, Jim Fehrle, 01/12/2021
- Re: [Coq-Club] How do I make Hints available outside a section?, Théo Zimmermann, 01/12/2021
- Re: [Coq-Club] How do I make Hints available outside a section?, Agnishom Chattopadhyay, 01/12/2021
- Re: [Coq-Club] How do I make Hints available outside a section?, Jim Fehrle, 01/12/2021
- Re: [Coq-Club] How do I make Hints available outside a section?, Agnishom Chattopadhyay, 01/12/2021
- Re: [Coq-Club] How do I make Hints available outside a section?, Théo Zimmermann, 01/12/2021
- Re: [Coq-Club] How do I make Hints available outside a section?, Jim Fehrle, 01/12/2021
- Re: [Coq-Club] How do I make Hints available outside a section?, Théo Zimmermann, 01/12/2021
- Re: [Coq-Club] How do I make Hints available outside a section?, Jim Fehrle, 01/12/2021
Archive powered by MHonArc 2.6.19+.