Proceedings of the 2013 ACM SIGPLAN Workshop on Dependently-Typed Programming 2013
DOI: 10.1145/2502409.2502413
|View full text |Cite
|
Sign up to set email alerts
|

Relational algebraic ornaments

Abstract: Dependently typed programming is hard, because ideally dependently typed programs should share structure with their correctness proofs, but there are very few guidelines on how one can arrive at such integrated programs. McBride's algebraic ornamentation provides a methodological advancement, by which the programmer can derive a datatype from a specification involving a fold, such that a program that constructs elements of that datatype would be correct by construction. It is thus an effective method that lead… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
3
1
1

Citation Types

0
9
0

Year Published

2016
2016
2018
2018

Publication Types

Select...
6

Relationship

1
5

Authors

Journals

citations
Cited by 12 publications
(9 citation statements)
references
References 17 publications
0
9
0
Order By: Relevance
“…In addition, the relationship between BHeap M and BHeap N (at least in a nonindexed-first variant on the boolean index) turns out to be an algebraic ornamentation (McBride, 2011;Ko & Gibbons, 2013b), so we could get not only the forgetful function from BHeap N to BHeap M but also its converse:…”
Section: Minimum Extractionmentioning
confidence: 99%
See 3 more Smart Citations
“…In addition, the relationship between BHeap M and BHeap N (at least in a nonindexed-first variant on the boolean index) turns out to be an algebraic ornamentation (McBride, 2011;Ko & Gibbons, 2013b), so we could get not only the forgetful function from BHeap N to BHeap M but also its converse:…”
Section: Minimum Extractionmentioning
confidence: 99%
“…Gap 4 (representation optimisation for algebraic ornamentation) None of the existing formulations of general algebraic ornamentation (McBride, 2011;Dagand & McBride, 2014;Ko & Gibbons, 2013b) takes representation optimisation into account -they all work by inserting some equality constraints as fields into descriptions, and cannot further classify constructors in an index-first manner, which happened for BHeap N . (Dagand & McBride (2014)'s reornaments, whilst being algebraic and achieving representation optimisation, are specialised only to the ornamental algebras.)…”
Section: Minimum Extractionmentioning
confidence: 99%
See 2 more Smart Citations
“…In particular, two key ingredients of the ornamental toolbox are algebraic ornaments (McBride 2010) and relational ornaments (Ko and Gibbons 2013). From an inductive type and an algebra (over an endofunctor on Set for algebraic ornaments, over an endofunctor on Rel for relational ornaments), these ornaments construct an inductive family satisfying-by construction-the desired invariants.…”
Section: Related Workmentioning
confidence: 99%