Skip to Content.
Sympa Menu

coq-club - [Coq-Club] match/ proof of branch

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

[Coq-Club] match/ proof of branch


chronological Thread 
  • From: marco.servetto AT gmail.com
  • To: coq-club AT inria.fr
  • Subject: [Coq-Club] match/ proof of branch
  • Date: Wed, 13 Jul 2011 14:11:40 +0200

Hi, I have an (I hope) very simple problem.
I need a proof that I'm inside some branch of a match case:
That is, in the following case
Definition f optA:=
  match optA with
    |Some a=>Some ( g a (p:(Some a=optA))
   |None=>None
    end.

I need to find the """p""" that have type """Some a=optA"""
any suggestion?

Thanks
Marco.



Archive powered by MhonArc 2.6.16.

Top of Page