Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] Rewriting after assumption and ";" tactical

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] Rewriting after assumption and ";" tactical


chronological Thread 
  • From: Florian Hatat <florian.hatat AT ens-lyon.fr>
  • To: coq-club AT pauillac.inria.fr
  • Cc: Marko Malikovi� <marko AT ffri.hr>
  • Subject: Re: [Coq-Club] Rewriting after assumption and ";" tactical
  • Date: Fri, 08 Jun 2007 17:08:24 +0100
  • List-archive: <http://pauillac.inria.fr/pipermail/coq-club/>

Marko Malikoviæ wrote :
> 2 subgoals
> 
>   H : P 5 2
>   For_rewriting : 2 = 100
>   ============================
>    P 5 2
> 
> subgoal 2 is:
>  P 6 4
> 
> Unnamed_thm < assumption;rewrite For_rewriting in H.

";" means that the second tactic will be applied to all subgoals (and
only them) generated by the first tactic.

In your example, "assumption" solves the first subgoal: it does not
generate any new subgoal, so "rewrite" is applied to nothing.

One step before in your script, you could write:

split; [assumption | rewrite For_rewriting in H].

which means that "split" generates two subgoals, "assumption" is applied
to the first one, "rewrite" to the second one.

-- 
Florian,
http://openweb.eu.org/
http://www.linux-france.org/

Attachment: signature.asc
Description: OpenPGP digital signature




Archive powered by MhonArc 2.6.16.

Top of Page