coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: "jonikelee AT gmail.com" <jonikelee AT gmail.com>
- To: coq-club AT inria.fr
- Subject: [Coq-Club] any Ltac2 examples out there?
- Date: Tue, 21 Apr 2020 23:39:38 -0400
- Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None smtp.pra=jonikelee AT gmail.com; spf=Pass smtp.mailfrom=jonikelee AT gmail.com; spf=None smtp.helo=postmaster AT mail-qk1-f176.google.com
- Ironport-phdr: 9a23:X1VS8xVwoc61xW02vp+xNUk8/MXV8LGtZVwlr6E/grcLSJyIuqrYbBSBt8tkgFKBZ4jH8fUM07OQ7/m9HzBeqsnY+Fk5M7V0HycfjssXmwFySOWkMmbcaMDQUiohAc5ZX0Vk9XzoeWJcGcL5ekGA6ibqtW1aFRrwLxd6KfroEYDOkcu3y/qy+5rOaAlUmTaxe7x/IAi2oAnLucQbgIRuJ6QsxhDUvnZGZuNayH9yK1mOhRj8/MCw/JBi8yRUpf0s8tNLXLv5caolU7FWFSwqPG8p6sLlsxnDVhaP6WAHUmoKiBpIAhPK4w/8U5zsryb1rOt92C2dPc3rUbA5XCmp4ql3RBP0jioMKjg0+3zVhMNtlqJWuByvqRxhzYDJY4+bM/Vxcb/Sc94BWWpMXNxcWzBbD4+gcYcCCfcKM+ZCr4n6olsDtRWyBQurBOPpyz9IhWH53akk3Os/CgzG0wkgEMgPsHTQttn6KKASUeW7wKLVyjjDbfRW2TH86IjLbB8hpe+DUqxrfMrezEkgDQLFjlGKpYP5ODOV0/0Avm6G5ORjTeKik3Arpx11rzS1xcohipPFipwLxlza7yl13YQ4KNygREJlYNOoDIZcuiSHO4ZyXswvRm5ltScmxrEavJO3YjMFxZs6yxPad/OIbpaE7xf+WOuTLzd4indoeLyhiBu27UStz+PxWtS23VlUqCdOj8PCuWoX1xPJ78iKUvt98Vml2TaIzw3T7/tLIUEwlabCMp4hwaM8moMdsUjeHCL7mV/6jKCRdkUj9eio7/robq/6qZ+bMo94kgD+MqIwlcyjGek0LBQCUmyB9em/1LDv51P1TKtUgvEsj6XUspHXKdwepqGjAg9V1ogj6wy4DzejyNkYn34HLFREeBKEkYfpP0/BL+7jAPewhlSjijZrx/TcMrL9BZXNK2DPkK39crZl905c1A0zwMhD6JJTE7ENOe78WkvstNPDFRI5KAy1w+P/CNpnzI8eWGSPArWYMKzIq1OI6PgvcKGwY9oevy+4IPw47dbvi2U4kBkTZ/qHx5wSPTq6GfJnIEidbHfEjdIIEGNMtQ07BqS+ilqEUD1eY3u/d6057zA/TomhCNGQFciWnLWd0XLjTdVtbWdcBwXUSCq6R8C/Q/4JLRmqDIphnzgDD+bzToYg0VS3t1a/xeM4cKzb/SoXsZ+l399wtbWKxEMCsAdsBsHY6FmjCmR9n2cGXTgzhfktrkl0y1PF2q990aUBSY5joshRWwJ/DqbyivRgAomrCA3Ed9aNDl2hR4f+DA==
I've read through the Ltac2 section of the 8.11 refman, and still have
many qeustions. Perhaps seeing some examples would help. Is there
somewhere I can find some links to Ltac2 examples?
The Ltac2 section appears to have been targeted in spots to Coq devs
with Ocaml knowledge. At one point it says: "We recall that the
Proofview.tactic monad is essentially a IO monad together with
backtracking state representing the proof state." There are
several other cases of this - so without the Coq Ocaml internals
background info, I'm left with many holes in my understanding.
There are also apparent inconsistencies, or at least omissions, in the
refman. At the end, it says: "Ltac2 features a proper
exception-catching mechanism. For this reason, the Ltac1 mechanism
relying on fail taking integers, and tacticals decreasing it, has been
removed. Now exceptions are preserved by all tacticals, and it is your
duty to catch them and re-raise them as needed." But I don't see any
catch mechanism described. Indeed, at an earlier point, it says:
"There is currently no way to catch such an exception, which is a
deliberate design choice. Eventually there might be a way to catch it
and destroy all backtrack and return values."
- [Coq-Club] any Ltac2 examples out there?, jonikelee AT gmail.com, 04/22/2020
- Re: [Coq-Club] any Ltac2 examples out there?, Jason Gross, 04/22/2020
- Re: [Coq-Club] any Ltac2 examples out there?, jonikelee AT gmail.com, 04/22/2020
- Re: [Coq-Club] any Ltac2 examples out there?, jonikelee AT gmail.com, 04/22/2020
- Re: [Coq-Club] any Ltac2 examples out there?, jonikelee AT gmail.com, 04/22/2020
- Re: [Coq-Club] any Ltac2 examples out there?, Tej Chajed, 04/22/2020
- Re: [Coq-Club] any Ltac2 examples out there?, jonikelee AT gmail.com, 04/22/2020
- [Coq-Club] Ltac2 retraction bug?, jonikelee AT gmail.com, 04/22/2020
- Re: [Coq-Club] Ltac2 retraction bug?, Maximilian Wuttke, 04/22/2020
- Re: [Coq-Club] Ltac2 retraction bug?, Pierre Courtieu, 04/23/2020
- Re: [Coq-Club] Ltac2 retraction bug?, jonikelee AT gmail.com, 04/23/2020
- Re: [Coq-Club] Ltac2 retraction bug?, Pierre Courtieu, 04/23/2020
- Re: [Coq-Club] Ltac2 retraction bug?, Maximilian Wuttke, 04/22/2020
- Re: [Coq-Club] any Ltac2 examples out there?, Jason Gross, 04/22/2020
Archive powered by MHonArc 2.6.18.