Skip to Content.
Sympa Menu

coq-club - [Coq-Club] [LTac] Iteration on all hypothesis

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

[Coq-Club] [LTac] Iteration on all hypothesis


chronological Thread 
  • From: Alexandre Pilkiewicz <alexandre.pilkiewicz AT polytechnique.org>
  • To: Coq Club <coq-club AT inria.fr>
  • Subject: [Coq-Club] [LTac] Iteration on all hypothesis
  • Date: Wed, 11 Aug 2010 14:21:36 -0400
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:from:date:x-google-sender-auth:message-id :subject:to:content-type; b=j42EJ7Rz4YhgmjTMpL2L02F2J0BY3wnvXKSMTExywwVE5m8FKVYoM7AF3zFTa+m2wC IdhZT7DgqZjUWER2713PZ4NYctJOy4bVBQCfwatxolBb1zqi7C6bnYRRT89saBkAO2SN fhZAwNZGx+JtlMxftsg4+SxUGTqbnXj997Cpo=

Dear list

I would like to iterate *once* on all the hypothesis of the current
goal. Something like

repeat
(match goal with
 | H : _ |- _ => ....
end).

would not work because I don't want to clear H and the action I want
to associate won't fail if repeated, so it loops forever.

Are they any better solution?

Alexandre Pilkiewicz



Archive powered by MhonArc 2.6.16.

Top of Page