Explicit Refinement Types ...
We present λert, a type theory supporting refinement types with explicit proofs. Instead of solving refinement constraints with an SMT solver like DML and Liquid Haskell, our system requires and permits programmers to embed proofs of properties within the program text, letting us support a rich logi...
Main Authors: | , |
---|---|
Format: | Text |
Language: | unknown |
Published: |
arXiv
2023
|
Subjects: | |
Online Access: | https://dx.doi.org/10.48550/arxiv.2311.13995 https://arxiv.org/abs/2311.13995 |
id |
ftdatacite:10.48550/arxiv.2311.13995 |
---|---|
record_format |
openpolar |
spelling |
ftdatacite:10.48550/arxiv.2311.13995 2023-12-31T10:06:17+01:00 Explicit Refinement Types ... Ghalayini, Jad Elkhaleq Krishnaswami, Neel 2023 https://dx.doi.org/10.48550/arxiv.2311.13995 https://arxiv.org/abs/2311.13995 unknown arXiv https://dx.doi.org/10.1145/3607837 Creative Commons Attribution Share Alike 4.0 International https://creativecommons.org/licenses/by-sa/4.0/legalcode cc-by-sa-4.0 Programming Languages cs.PL FOS Computer and information sciences D.3.1; D.3.4; F.3.2; F.3.1 ScholarlyArticle Text article-journal Article 2023 ftdatacite https://doi.org/10.48550/arxiv.2311.1399510.1145/3607837 2023-12-01T11:52:22Z We present λert, a type theory supporting refinement types with explicit proofs. Instead of solving refinement constraints with an SMT solver like DML and Liquid Haskell, our system requires and permits programmers to embed proofs of properties within the program text, letting us support a rich logic of properties including quantifiers and induction. We show that the type system is sound by showing that every refined program erases to a simply-typed program, and by means of a denotational semantics, we show that every erased program has all of the properties demanded by its refined type. All of our proofs are formalised in Lean 4. ... : 31 pages, published at ICFP 2023 ... Text DML DataCite Metadata Store (German National Library of Science and Technology) |
institution |
Open Polar |
collection |
DataCite Metadata Store (German National Library of Science and Technology) |
op_collection_id |
ftdatacite |
language |
unknown |
topic |
Programming Languages cs.PL FOS Computer and information sciences D.3.1; D.3.4; F.3.2; F.3.1 |
spellingShingle |
Programming Languages cs.PL FOS Computer and information sciences D.3.1; D.3.4; F.3.2; F.3.1 Ghalayini, Jad Elkhaleq Krishnaswami, Neel Explicit Refinement Types ... |
topic_facet |
Programming Languages cs.PL FOS Computer and information sciences D.3.1; D.3.4; F.3.2; F.3.1 |
description |
We present λert, a type theory supporting refinement types with explicit proofs. Instead of solving refinement constraints with an SMT solver like DML and Liquid Haskell, our system requires and permits programmers to embed proofs of properties within the program text, letting us support a rich logic of properties including quantifiers and induction. We show that the type system is sound by showing that every refined program erases to a simply-typed program, and by means of a denotational semantics, we show that every erased program has all of the properties demanded by its refined type. All of our proofs are formalised in Lean 4. ... : 31 pages, published at ICFP 2023 ... |
format |
Text |
author |
Ghalayini, Jad Elkhaleq Krishnaswami, Neel |
author_facet |
Ghalayini, Jad Elkhaleq Krishnaswami, Neel |
author_sort |
Ghalayini, Jad Elkhaleq |
title |
Explicit Refinement Types ... |
title_short |
Explicit Refinement Types ... |
title_full |
Explicit Refinement Types ... |
title_fullStr |
Explicit Refinement Types ... |
title_full_unstemmed |
Explicit Refinement Types ... |
title_sort |
explicit refinement types ... |
publisher |
arXiv |
publishDate |
2023 |
url |
https://dx.doi.org/10.48550/arxiv.2311.13995 https://arxiv.org/abs/2311.13995 |
genre |
DML |
genre_facet |
DML |
op_relation |
https://dx.doi.org/10.1145/3607837 |
op_rights |
Creative Commons Attribution Share Alike 4.0 International https://creativecommons.org/licenses/by-sa/4.0/legalcode cc-by-sa-4.0 |
op_doi |
https://doi.org/10.48550/arxiv.2311.1399510.1145/3607837 |
_version_ |
1786838268737748992 |