Subject: Ssreflect Users Discussion List
List archive
Re: [ssreflect] [coqdev] Evaluation order of "apply in" in intro patterns is very surprising
Chronological Thread
- From: (Emilio Jesús Gallego Arias)
- To: Ralf Jung <>
- Cc: , ssreflect mailing list <>
- Subject: Re: [ssreflect] [coqdev] Evaluation order of "apply in" in intro patterns is very surprising
- Date: Tue, 21 Mar 2017 17:31:15 +0100
- Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=Neutral ; spf=None
- Ironport-phdr: 9a23:J3+0KBDxt10b/bzTl7FRUyQJP3N1i/DPJgcQr6AfoPdwSPvypMbcNUDSrc9gkEXOFd2CrakV1qyI4uuwCCQp2tWoiDg6aptCVhsI2409vjcLJ4q7M3D9N+PgdCcgHc5PBxdP9nC/NlVJSo6lPwWB6nK94iQPFRrhKAF7Ovr6GpLIj8Swyuu+54Dfbx9GiTe5Yb5+NhS7oAHeusQVhYZpN7o8xAbOrnZUYepd2HlmJUiUnxby58ew+IBs/iFNsP8/9MBOTLv3cb0gQbNXEDopPWY15Nb2tRbYVguA+mEcUmQNnRVWBQXO8Qz3UY3wsiv+sep9xTWaMMjrRr06RTiu86FmQwLzhSwZKzA27n3Yis1ojKJavh2hoQB/w5XJa42RLfZyY7/Rcc8fSWdHQ81fVTFOApmkYoUPEeQPIOFYr4fzqVQMrhWxCwajC//0xz9UmnP7x7E23/g7HAzE2gErAtIAsG7TrNXwLKodT/u4zabLwDnfdf9W3i396IfVeRwlrv+MWLNwcc7QyUkoCgjLikufqZf/JzOOy+8DsnKU7+5kVe2xhG4nrBx6ryS1xsctkIbJnYcZx1bZ/it62IY4PcC0RUp0bNK+Dpdcqi6XO5FrTs4iQGxkojs2x7MEtJKjYSQHzJQqywTcZvGJaYSE/w/vWeSLLTtmhH9pZLSyjAuo/0e60O3zTMy03U5KriVbltnMsWgA2ADP5cSeVvt941+h1iyJ1wzK8OFEJlo7la/aK54nzb48j4AcvV7dES/wg0X2ibeWel8q+uiy8+jnY7PmqYGAN4Jslw3zNqsjltahDeglPQUCRXWX9OS/2bH54EH0TrdHguUzkqbDsZDaIcobprS+Aw9Qyoss9Q2yDjil3dgEh3UHK0hFeB2fg4jzJ17OOOz4Deu4g1m0izdr3OrGMaPvApXJMHfMjKvhcK1m609czQoz1cpQ64hVCrEHOvLzW1X+uMbWDh8jYESIxLPdAdFznqEDX23HVq2ENqz6tEeJo/kwOK+LfoBD6xjnLP1w6tb+3Sd/nkUSNemE2JoTaXfwPPl9sV7RTnPohtoOFi8jpAs3V6252xW5TTdPaiPqDOoH7TYhBdfjVN+bSw==
- Organization: X80 Heavy Industries
Ralf Jung
<>
writes:
> We are using these patterns a lot as they really help making some forms
> of forward reasoning significantly more convenient.
Indeed then I guess you are setting foot on pretty uncharted territory :D
> The trouble is that we'd like to stay compatible with a stable, released
> version of Coq for the benefit of people that use the library we
> develop. So, wholesale moving to 8.7 is not an option :/
What I was trying to say is that if you think of improvements to the
%pat feature, they will happen in 8.7, so you would need to start
supporting it. Which IMO, is feasible.
So you would have an iris-tactics-8.6.v and iris-tactics-8.7.v file and
you would select the file at compile time.
This way you could suggest improvements and try them.
>> Let me finish mentioning that a more stable called "views", which offers
>> similar (and extra) functionality is available in ssreflect.
>
> Unfortunately, ssreflect's intro patterns cannot (as far as I know) be
> reasonably made to work in custom tactics. For Coq's patterns, we are
> using "simple_intropattern(x)" in our tactic notation; is there anything
> comparable for ssreflect?
> (The ssreflect style for achieving this would probably be to leave stuff
> on the goal stack and use the "=>" tactical for introduction. However,
> that's not an option for us, the patterns only describe a part of what's
> going on, and the "context" has to be handled by our custom tactic. This
> in particular involves doing Ltac work before and after executing the
> patterns. ssreflect's style does not permit us to do any work ourselves
> after the patterns are done.)
That's very interesting, thanks for the feedback. Unfortunately I have
no clue about your question, maybe people in the SSR mailing list do
know? [cc'ed]
E.
- Re: [ssreflect] [coqdev] Evaluation order of "apply in" in intro patterns is very surprising, Emilio Jesús Gallego Arias, 03/21/2017
Archive powered by MHonArc 2.6.18.