coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: like <12like34xiongmao AT 163.com>
- To: coq-club AT inria.fr
- Subject: [Coq-Club] problem in embedding
- Date: Sat, 25 Aug 2012 10:04:10 +0000 (UTC)
Hello:
I want to embed PPTL(a kind of logic) in Coq. Because of its complex
semantic, I just embed its systax.
Inductive formula :Set:=
| For : formula -> formula -> formula
| Fneg: formula -> formula
| Fnext: formula -> formula
| prj : list formula -> formula->formula.
And then I define some axioms for it.
But I have a problem when proving this, I don't know why.
Axiom t2 :forall(p q:formula),('|-('x p '&& 'x q) )<->('|-('x(p '&& q))).
Theorem tt2 :forall(p q r:formula),('|-('x p '&& 'x q) ; r)->('|-('x(p '&&
q))
; r).
intros.
rewrite t2 in H.
Error: Found no subterm matching "'|-'x ?63 '&& 'x ?64" in the current goal.
- [Coq-Club] problem in embedding, like, 08/25/2012
- [Coq-Club] Re: problem in embedding, like, 08/28/2012
- Re: [Coq-Club] Re: problem in embedding, Pierre Casteran, 08/28/2012
- [Coq-Club] Re: problem in embedding, like, 08/29/2012
- Re: [Coq-Club] Re: problem in embedding, Pierre Casteran, 08/29/2012
- [Coq-Club] Re: problem in embedding, like, 08/30/2012
- Re: [Coq-Club] Re: problem in embedding, Adam Chlipala, 08/30/2012
- [Coq-Club] Re: problem in embedding, like, 08/30/2012
- Re: [Coq-Club] Re: problem in embedding, Pierre Casteran, 08/29/2012
- [Coq-Club] Re: problem in embedding, like, 08/29/2012
- [Coq-Club] Re: problem in embedding, like, 08/29/2012
- Re: [Coq-Club] Re: problem in embedding, Pierre Casteran, 08/28/2012
- [Coq-Club] Re: problem in embedding, like, 08/28/2012
Archive powered by MHonArc 2.6.18.