Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] one rule of dependent matching (again)

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] one rule of dependent matching (again)


Chronological Thread 
  • From: Pierre Boutillier <pierre.boutillier AT pps.univ-paris-diderot.fr>
  • To: Pierre Boutillier <pierre.boutillier AT pps.univ-paris-diderot.fr>
  • Cc: t x <txrev319 AT gmail.com>, coq-club <coq-club AT inria.fr>
  • Subject: Re: [Coq-Club] one rule of dependent matching (again)
  • Date: Tue, 22 Oct 2013 13:52:59 +0200

Sorry for the flood

> Let's omit the fact that there may be PARAMETERS as you do

return clause is not generalized against parameters you just have to change

if expr has type T p_1 .. _p_k u_1 u_2 .. u_n then matchExpr has type
RExpr/{x_1=u_1,x_2=u_2 .. x_n=u_n;y=expr}

if Ci has type forall z_1 .. z_k yi_1 .. yi_mi, T z_1 .. z_k v_1 .. v_n then
Di has type RExpr/{x_1=v_1,x_2=v_2 .. x_n=v_n;y=Ci yi_1 .. yi_mi}

to deal with them.

Pierre B.


Archive powered by MHonArc 2.6.18.

Top of Page