coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Vladimir Voevodsky <vladimir AT ias.edu>
- To: Coq Club <coq-club AT inria.fr>
- Cc: Vladimir Voevodsky <vladimir AT ias.edu>
- Subject: [Coq-Club] why it does not work?
- Date: Mon, 16 Dec 2013 11:34:20 -0500
Hello,
could someone explain to me why the following code does not compile?
Fixpoint minuswithzero ( n m : nat ) : nat :=
match m , n with
| O , n => n
| S k , O => O
| S k , S l => minuswithzero l k
end .
Lemma test ( n : nat ) : paths n ( minuswithzero n O ) .
Proof . intro . unfold minuswithzero . apply idpath .
V.
- [Coq-Club] why it does not work?, Vladimir Voevodsky, 12/16/2013
- Re: [Coq-Club] why it does not work?, Arnaud Spiwack, 12/16/2013
Archive powered by MHonArc 2.6.18.