Skip to Content.
Sympa Menu

coq-club - [Coq-Club] deactivating implicit args via tactic

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

[Coq-Club] deactivating implicit args via tactic


Chronological Thread 
  • From: Jonathan Leivent <jonikelee AT gmail.com>
  • To: Coq Club <coq-club AT inria.fr>
  • Subject: [Coq-Club] deactivating implicit args via tactic
  • Date: Thu, 12 Nov 2015 11:35:04 -0500
  • 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-vk0-f48.google.com
  • Ironport-phdr: 9a23:STxPXxUw3Xjt2hH4ONKeRKAtmC3V8LGtZVwlr6E/grcLSJyIuqrYZhOFt8tkgFKBZ4jH8fUM07OQ6PC9HzBRqsbf+Fk5M7VyFDY9wf0MmAIhBMPXQWbaF9XNKxIAIcJZSVV+9Gu6O0UGUOz3ZlnVv2HgpWVKQka3CwN5K6zPF5LIiIzvjqbpq8CVP1QD1GT1SIgxBSv1hD2ZjtMRj4pmJ/R54TryiVwMRd5rw3h1L0mYhRf265T41pdi9yNNp6BprJYYAu3SNp41Rr1ADTkgL3t9pIiy7UGCHkOz4S43VXxeuR5VCUCR5xbjG5z1ryHSt+xn2SDcM9egHp4uXjH3zaBtQQPogSFPEzM47mzRloQkjqVdoRGsoxFy64HRaYCRcvF5e/WOLpshWWNdU5MJBGR6CYSmYt5KVrJZMA==

Given the name of a function with implicit args, say "foo", the name "@foo" names the same function with all args made explict. However, the "@" does not seem to be an operator that one can apply to a name tactically. For example - the following doesn't work:

Tactic Notation "Explicitly" uconstr(L) := pose proof @L.

as it appears to ignore the "@", with the result that pose proof fails due to uninferrable implicits.

Is there any way to take a name of a function and tactically change it to its explicit version?

-- Jonathan




Archive powered by MHonArc 2.6.18.

Top of Page