Skip to Content.
Sympa Menu

coq-club - [Coq-Club] Re: logic embedding

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

[Coq-Club] Re: logic embedding


Chronological Thread 
  • From: like <12like34xiongmao AT 163.com>
  • To: coq-club AT inria.fr
  • Subject: [Coq-Club] Re: logic embedding
  • Date: Tue, 28 Aug 2012 01:33:15 +0000 (UTC)

Pierre Casteran <pierre.casteran <at> labri.fr> writes:

>
> Hi,
>
> It's difficult to answer your question: I think it lacks some
> declarations of the operators that occur in t2 and tt2.
>
> Pierre


All my notations are defined like this or in the fomula(mention before).
Definition and(p q: formula) : formula :=!(!p '|| !q).
Notation "p '&& q" :=(and p q) (at level 74, left associativity).

Definition chop(p:formula)(q:formula):= (cons p (cons q nil)) 'prj (empty).
Notation "p ; q" := (chop p q) (at level 75, right associativity).

I also try a simliar example in Prop and it works. I don't know what I lacks.
Any
suggestions?




Archive powered by MHonArc 2.6.18.

Top of Page