# "Running" Proofview.tactic to see if it would succeed

**URL:** <https://discourse.rocq-prover.org/t/running-proofview-tactic-to-see-if-it-would-succeed/973>\
**Category:** Developing plugins\
**Created:** [July 27, 2020, 6:59pm UTC](https://discourse.rocq-prover.org/t/running-proofview-tactic-to-see-if-it-would-succeed/973 "2020-07-27T18:59:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![randair](https://avatars.discourse-cdn.com/v4/letter/r/8baadc/32.png) [@randair](https://discourse.rocq-prover.org/u/randair)\
**Post date:** [July 27, 2020, 6:59pm UTC](https://discourse.rocq-prover.org/t/running-proofview-tactic-to-see-if-it-would-succeed/973/1 "2020-07-27T18:59:57Z")

</div>

I’m writing a plugin that suggests a sequence of tactics to copy-and-paste into my proof.

I would prefer not to generate tactics that fail. My idea is to first build the `Proofview` representation of these tactics, and then to silently “execute them” on a goal/environment. If it fails, my plugin is to consider different tactics.

Is this possible?

---

<div class="post-metadata">

**Author:** ![randair](https://avatars.discourse-cdn.com/v4/letter/r/8baadc/32.png) [@randair](https://discourse.rocq-prover.org/u/randair)\
**Post date:** [August 21, 2020, 5:05pm UTC](https://discourse.rocq-prover.org/t/running-proofview-tactic-to-see-if-it-would-succeed/973/2 "2020-08-21T17:05:10Z")

</div>

The solution is `Proof.run_tactic`.
