coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Michael Shulman <mshulman AT ucsd.edu>
- To: Coq Club <coq-club AT inria.fr>
- Subject: [Coq-Club] matching a function application?
- Date: Sun, 27 Nov 2011 21:48:37 -0800
Why does the following match fail?
Theorem test A (f:A -> A -> Type) (a b :A) : f a b.
match goal with
|- context cxt [ ?g ?x ] => idtac g
end.
It looks to me as though the goal contains two subterms of the form (g
x), one where g = f and x = a, and another where g = (f a) and x = b.
Thanks!
Mike
- [Coq-Club] matching a function application?, Michael Shulman
- Re: [Coq-Club] matching a function application?, Adam Chlipala
- Re: [Coq-Club] matching a function application?,
Chung-Kil Hur
- Re: [Coq-Club] matching a function application?,
Alexandre Pilkiewicz
- Re: [Coq-Club] matching a function application?,
Michael Shulman
- Re: [Coq-Club] matching a function application?, Chung-Kil Hur
- Re: [Coq-Club] matching a function application?, Pierre Letouzey
- Re: [Coq-Club] matching a function application?,
Michael Shulman
- Re: [Coq-Club] matching a function application?,
Alexandre Pilkiewicz
Archive powered by MhonArc 2.6.16.