Subject: Ssreflect Users Discussion List
List archive
- From: Georges Gonthier <>
- To: "" <>, "" <>
- Subject: RE: wildcards insertion in the Specialising assumptions mechanism
- Date: Wed, 2 Jul 2008 13:31:31 +0100
- Accept-language: en-US
- Acceptlanguage: en-US
> I am a little confused about what is written in Sec 2.5 of the document:
> "it enhances the possibilities of using such wildcards."
> Axiom f_p: forall a1 a2, p a1 -> p a2 -> p (g a1 2).
> Goal p a ->True.
move/f_p.
> Something clever is happening :-)
Namely, that unresolved wildcards are generalized, as in the ML let, rather
than generating a type error outright.
> I am aware that the following script fails.
> Goal p a ->True.
> move => pa. generalize (f_p pa).
True, but
have:= f_p pa.
will work, because have also performs this ML-let-style treatment of
wildcards. Note that
move: (f_p pa).
will not work, however, because move attempts to fill wildcards by matching a
subterm in the goal.
Georges
- wildcards insertion in the Specialising assumptions mechanism, keiko.nakata, 07/01/2008
- RE: wildcards insertion in the Specialising assumptions mechanism, Georges Gonthier, 07/01/2008
- <Possible follow-up(s)>
- Re: RE: wildcards insertion in the Specialising assumptions mechanism, keiko.nakata, 07/02/2008
- RE: RE: wildcards insertion in the Specialising assumptions mechanism, Georges Gonthier, 07/02/2008
- Re: RE: RE: wildcards insertion in the Specialising assumptions mechanism, keiko.nakata, 07/02/2008
- RE: RE: RE: wildcards insertion in the Specialising assumptions mechanism, Georges Gonthier, 07/02/2008
- Re: wildcards insertion in the Specialising assumptions mechanism, keiko.nakata, 07/02/2008
- RE: wildcards insertion in the Specialising assumptions mechanism, Georges Gonthier, 07/02/2008
- Re: RE: wildcards insertion in the Specialising assumptions mechanism, keiko.nakata, 07/02/2008
Archive powered by MHonArc 2.6.18.