Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] assumption after split

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] assumption after split


chronological Thread 
  • From: Benjamin Werner <Benjamin.Werner AT inria.fr>
  • To: Marko Maliković <marko AT ffri.hr>
  • Cc: coq-club AT pauillac.inria.fr
  • Subject: Re: [Coq-Club] assumption after split
  • Date: Mon, 7 May 2007 13:53:00 +0200
  • List-archive: <http://pauillac.inria.fr/pipermail/coq-club/>

It is because the tactic after the semicolon is applied to all the
subgoal generated by the tactic before the semicolon.

Here there is no assumption B corresponding to the second
subgoal generated by split.

Benjamin

Le 7 mai 07 Ã  13:47, Marko Maliković a Ã©crit :

Greetings for everybody,

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
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





Archive powered by MhonArc 2.6.16.

Top of Page