Subject: Ssreflect Users Discussion List
List archive
- From: Christian Doczkal <>
- To:
- Subject: [ssreflect] Anonymous "Type" field in packaged classes
- Date: Fri, 8 Nov 2013 11:02:59 +0100
Hello Everyone
I am trying to understand the packaged structures approach in detail and
there are some things I do not yet understand.
In the Ssreflect libraries (e.g. fintype.v) packaged classes are defined with
a third anonymous field of type Type.
Structure type : Type := Pack {sort; _ : class_of sort; _ : Type}.
This extra field also appears in [1], but I could not find an explanation in
the paper. In [2] no such field is used.
Correct me if I'm wrong, but it also seems that whenever Pack is applied, the
sort argument and the anonymous argument are the same.
So I wonder what purpose this field has.
Thanks in advance.
--
Regards
Christian
[1] François Garillot, Georges Gonthier, Assia Mahboubi, Laurence Rideau:
Packaging Mathematical Structures. TPHOLs 2009:327-342
[2] Assia Mahboubi, Enrico Tassi: Canonical Structures for the Working Coq
User. ITP 2013:19-34
- [ssreflect] Anonymous "Type" field in packaged classes, Christian Doczkal, 11/08/2013
- Re: [ssreflect] Anonymous "Type" field in packaged classes, Laurent Théry, 11/08/2013
- Re: [ssreflect] Anonymous "Type" field in packaged classes, Christian Doczkal, 11/08/2013
- RE: [ssreflect] Anonymous "Type" field in packaged classes, Georges Gonthier, 11/08/2013
- Re: [ssreflect] Anonymous "Type" field in packaged classes, Christian Doczkal, 11/08/2013
- Re: [ssreflect] Anonymous "Type" field in packaged classes, Laurent Théry, 11/08/2013
Archive powered by MHonArc 2.6.18.