coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Liang Dou <ldou.ecnu AT gmail.com>
- To: coq-club AT inria.fr
- Subject: [Coq-Club] Non strictly positive occurrence of "execute"
- Date: Tue, 18 Dec 2012 11:12:19 +0800
Hi , all
We have an inductive definition "execute" and we get the error for coq:
Non strictly positive occurrence of "execute" in
"forall s : state,
state ->
forall (l l' : state) (a : event),
(forall s'0 : state, ~ execute s (a :: nil) s'0) ->
prefix s l = true -> execute l (a :: nil) l'".
=======================================
Definition event:=string.
Definition state:=string.
Definition action:=list event.
Inductive execute: state -> action -> state ->Prop :=
|OR1: forall (s s' l l' : state) ( a : event),
(forall s', ~ (execute s (a::nil) s')) ->
prefix s l = true ->
execute l (a::nil) l' .
could someone tell ue how to fix it?
3X~~!!
- [Coq-Club] Non strictly positive occurrence of "execute", Liang Dou, 12/18/2012
- Re: [Coq-Club] Non strictly positive occurrence of "execute", AUGER Cédric, 12/18/2012
- Re: [Coq-Club] Non strictly positive occurrence of "execute", Liang Dou, 12/22/2012
- Re: [Coq-Club] Non strictly positive occurrence of "execute", AUGER Cédric, 12/22/2012
- Re: [Coq-Club] Non strictly positive occurrence of "execute", Liang Dou, 12/22/2012
- Re: [Coq-Club] Non strictly positive occurrence of "execute", Adam Chlipala, 12/18/2012
- Re: [Coq-Club] Non strictly positive occurrence of "execute", AUGER Cédric, 12/18/2012
Archive powered by MHonArc 2.6.18.