coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: "Andrew McCreight" <continuation AT gmail.com>
- To: "Sean Wilson" <sean.wilson AT ed.ac.uk>
- Cc: marko AT ffri.hr, coq-club AT pauillac.inria.fr
- Subject: Re: [Coq-Club] Is it possible to compare hypotheses over subgoals
- Date: Fri, 4 Apr 2008 07:44:58 -0700
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=aXOfUbFwujJrEZ4bPaZN6KfkP5aom/GEAwqW0z1FW2mLKywiYj+HTZM5k0P68w0ktOp5hDQI0QqJeUxu3JCxwJTphbrCNmokjJfy0E+pu9uEWmlKv/eB8betLdhD43qrs7L1r2uBEBMhiFGz1u8YDMUW5ImD/HcXuJy7phdu3dQ=
- List-archive: <http://pauillac.inria.fr/pipermail/coq-club/>
Yeah, I really don't understand why you would want to do something like that. Why does the solution of one subgoal depend on the solution to another subgoal? Subgoals are independent.
2008/4/4 Sean Wilson <sean.wilson AT ed.ac.uk>:
On Friday 04 April 2008 08:30:22 marko AT ffri.hr wrote:If you need more power than Ltac will give you, you can always write a tactic
> Greetings,
>
> I send this problem on this mailing list already but question was little
> different:
>
> How to compare hypotheses over subgoals?
>
> But now I am asking: "Is it possible to compare hypotheses over subgoals?"
> So is it possible in environment:
>
> Subgoal 1:
>
> H : x=value_1
>
> Subgoal 2:
>
> H : x=value_2
>
> ...
>
> Subgoal n:
>
> H : x=value_n
>
> find out are all x's have the same or different values and then to apply
> different tactics according of this knowledge?
>
> I spend five (5) days to find solution but every idea failed (pattern
> matching, rewriting, abstracting lemma from one subgoal and applying to
> other subgoals, etc...)
>
> Yves Bertot already answers me that he doesn t believe I can and I'm
> gratefully for the answer.
>
> But, I need to know is it impossible for sure? Are all tactics forbid it?
> Or is it maybe possible but nobody did something like that?
in OCaml that will do what you want. However, I would advise you to consider
the reason you need such a tactic (i.e. what is the actual high-level problem
you're trying to solve?) and ask you to consider alternative solutions that
do not require tactic use with the behaviour you specify.
Regards,
Sean
--------------------------------------------------------
Bug reports: http://logical.futurs.inria.fr/coq-bugs
Archives: http://pauillac.inria.fr/pipermail/coq-club
http://pauillac.inria.fr/bin/wilma/coq-club
Info: http://pauillac.inria.fr/mailman/listinfo/coq-club
- [Coq-Club] Is it possible to compare hypotheses over subgoals, marko
- Re: [Coq-Club] Is it possible to compare hypotheses over subgoals,
Sean Wilson
- Re: [Coq-Club] Is it possible to compare hypotheses over subgoals, Andrew McCreight
- Re: [Coq-Club] Is it possible to compare hypotheses over subgoals,
Sean Wilson
Archive powered by MhonArc 2.6.16.