coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Laurent Théry <Laurent.Thery AT inria.fr>
- To: coq-club AT inria.fr
- Subject: Re: [Coq-Club] proofs involving 'match' constructs
- Date: Fri, 29 May 2015 23:36:55 +0200
Or even shorter ;-)
Require Import Vector.
Require Import ArithRing.
Goal match mult_n_O 0 in (_ = y) return (t (option nat) y) with
| eq_refl => nil (option nat)
end = nil (option nat).
Proof.
apply trans_equal with (Vector.const (@None nat) (0 * 0)); auto.
now destruct (mult_n_O O).
Qed.
- [Coq-Club] proofs involving 'match' constructs, Vadim Zaliva, 05/29/2015
- Re: [Coq-Club] proofs involving 'match' constructs, Amin, 05/29/2015
- Re: [Coq-Club] proofs involving 'match' constructs, Amin, 05/29/2015
- Re: [Coq-Club] proofs involving 'match' constructs, Jason Gross, 05/29/2015
- Re: [Coq-Club] proofs involving 'match' constructs, Jason Gross, 05/29/2015
- Re: [Coq-Club] proofs involving 'match' constructs, Laurent Théry, 05/29/2015
- Re: [Coq-Club] proofs involving 'match' constructs, Jason Gross, 05/29/2015
- Re: [Coq-Club] proofs involving 'match' constructs, Jason Gross, 05/29/2015
- Re: [Coq-Club] proofs involving 'match' constructs, Amin, 05/29/2015
- Re: [Coq-Club] proofs involving 'match' constructs, Amin, 05/29/2015
Archive powered by MHonArc 2.6.18.