coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Pierre Casteran <pierre.casteran AT labri.fr>
- To: Marko Malikovi� <marko AT ffri.hr>
- Cc: coq-club AT pauillac.inria.fr
- Subject: Re: [Coq-Club] assumption after split
- Date: Mon, 07 May 2007 13:56:12 +0200
- List-archive: <http://pauillac.inria.fr/pipermail/coq-club/>
Hi.
Marko Malikoviæ a écrit :
Greetings for everybody,The tactic "split" generates two subgoals, and the tactic "assumption" is applied to each of one (because of the
I'm new in Coq. Please, can somebody explain to me this error:
Coq < Section Proba.
Coq < Variable A B:Prop.
A is assumed
B is assumed
Coq < Hypothesis H:A.
H is assumed
Coq < Goal A /\ B.
1 subgoal
A : Prop
B : Prop
H : A
============================
A /\ B
Unnamed_thm < split;assumption.
Toplevel input, characters 6-16
operator ";").
The first subgoal (proving A) is solved immediately. But the tactic "assumption" fails on the second one
(proving B) because you have not assumed B.
If you add the hypothesis H':B, your tactic works.
Notice that with "split; try assumption", the first subgoal is solved, and the second one remains unsolved.
Pierre
split;assumption.User error: No such assumption
^^^^^^^^^^
Thank you very much,
Marko Malikoviæ
Faculty of Arts and Sciences in Rijeka, Croatia
--------------------------------------------------------
Bug reports: http://coq.inria.fr/bin/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] assumption after split, Marko Malikoviæ
- Re: [Coq-Club] assumption after split, Benjamin Werner
- Re: [Coq-Club] assumption after split, Edsko de Vries
- Re: [Coq-Club] assumption after split, Pierre Casteran
Archive powered by MhonArc 2.6.16.