Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] Apply without TC inference

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] Apply without TC inference


Chronological Thread 
  • From: Matthieu Sozeau <mattam AT mattam.org>
  • To: coq-club AT inria.fr
  • Subject: Re: [Coq-Club] Apply without TC inference
  • Date: Wed, 27 Jul 2016 18:59:04 +0000
  • Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=mattam AT mattam.org; spf=Pass smtp.mailfrom=matthieu.sozeau AT gmail.com; spf=None smtp.helo=postmaster AT mail-wm0-f44.google.com
  • Ironport-phdr: 9a23:6wqHFBWaPJ1okn7OYcUNtBF5XXzV8LGtZVwlr6E/grcLSJyIuqrYZheFt8tkgFKBZ4jH8fUM07OQ6PG4HzJdqs/b7DgrS99lb1c9k8IYnggtUoauKHbQC7rUVRE8B9lIT1R//nu2YgB/Ecf6YEDO8DXptWZBUiv2OQc9HOnpAIma153xjLHqvcOOKFwS2HKUWvBbFF2OtwLft80b08NJC50a7V/3mEZOYPlc3mhyJFiezF7W78a0+4N/oWwL46pyv50IbaKvdKMhCLdcET4OMmYv5cStuwOQYxGI4y45W3kKkhtFHkD+6wP3V4q55i7zqvZ03QGfNNHqRLVyXi6tufQ4ACT0gTsKYmZquFrcjdZ92fpW

Nope, it is not unintended, and you are right that it should rather be documented. It was first used internally in the setoid_rewrite resolution to avoid nested resolutions on which one couldn't backtrack but it now has more applicability in the new engine where goal handling and backtracking can be more explicitly managed. I'm not super happy to have new names apply_noTC, refine_noTC and so on though (the e-variants too). Maybe a modifier like unshelve would be more suited.
Best,
-- Matthieu
Le mer. 27 juil. 2016 à 19:38, Jonathan Leivent <jonikelee AT gmail.com> a écrit :


On 07/27/2016 09:35 AM, Jonathan Leivent wrote:
> ... But, I didn't know about class_apply ....
>

Note that class_apply defined in Classes.Init, based on another
undocumented tactic autoapply.  If the comments are to be believed, the
intention is merely to have an apply that respects the
Transparent/Opaque hints in the db it is given.  So, it may be the case
that this behavior of class_apply that has it not inducing inference in
subgoals is an unintended side-effect.

-- Jonathan




Archive powered by MHonArc 2.6.18.

Top of Page