Skip to main content
archive
Search Submit Donate Log in
Press Enter to search · Advanced search

Computer Science > Programming Languages

arXiv:1702.02282 (cs)
[Submitted on 8 Feb 2017]

Title:Dependent Types for Multi-Rate Flows in Synchronous Programming

Authors:William Blair (Boston University), Hongwei Xi (Boston University)
View a PDF of the paper titled Dependent Types for Multi-Rate Flows in Synchronous Programming, by William Blair (Boston University) and 1 other authors
View PDF HTML (experimental)
Abstract:Synchronous programming languages emerged in the 1980s as tools for implementing reactive systems, which interact with events from physical environments and often must do so under strict timing constraints. In this report, we encode inside ATS various real-time primitives in an experimental synchronous language called Prelude, where ATS is a statically typed language with an ML-like functional core that supports both dependent types (of DML-style) and linear types. We show that the verification requirements imposed on these primitives can be formally expressed in terms of dependent types in ATS. Moreover, we modify the Prelude compiler to automatically generate ATS code from Prelude source. This modified compiler allows us to solely rely on typechecking in ATS to discharge proof obligations originating from the need to typecheck Prelude code. Whereas ATS is typically used as a general purpose programming language, we hereby demonstrate that it can also be conveniently used to support some forms of advanced static checking in languages equipped with less expressive types.
Comments: In Proceedings ML/OCaml 2015, arXiv:1702.01872
Subjects: Programming Languages (cs.PL)
ACM classes: D.3.3; D.4.7; F.3.1; F.3.3
Cite as: arXiv:1702.02282 [cs.PL]
  (or arXiv:1702.02282v1 [cs.PL] for this version)
  https://doi.org/10.48550/arXiv.1702.02282
arXiv-issued DOI via DataCite
Journal reference: EPTCS 241, 2017, pp. 36-44
Related DOI: https://doi.org/10.4204/EPTCS.241.3
DOI(s) linking to related resources

Submission history

From: EPTCS [view email] [via EPTCS proxy]
[v1] Wed, 8 Feb 2017 04:29:53 UTC (75 KB)
Full-text links:

Access Paper:

    View a PDF of the paper titled Dependent Types for Multi-Rate Flows in Synchronous Programming, by William Blair (Boston University) and 1 other authors
  • View PDF
  • HTML (experimental)
  • TeX Source
view license

Current browse context:

cs.PL
< prev   |   next >
new | recent | 2017-02
Change to browse by:
cs

References & Citations

  • NASA ADS
  • Google Scholar
  • Semantic Scholar
Loading...

BibTeX formatted citation

Data provided by:

Bookmark

BibSonomy Reddit

Bibliographic and Citation Tools

Bibliographic Explorer (What is the Explorer?)
Connected Papers (What is Connected Papers?)
Litmaps (What is Litmaps?)
scite Smart Citations (What are Smart Citations?)

Code, Data and Media Associated with this Article

alphaXiv (What is alphaXiv?)
CatalyzeX Code Finder for Papers (What is CatalyzeX?)
DagsHub (What is DagsHub?)
Gotit.pub (What is GotitPub?)
Hugging Face (What is Huggingface?)
ScienceCast (What is ScienceCast?)

Demos

Replicate (What is Replicate?)
Hugging Face Spaces (What is Spaces?)
TXYZ.AI (What is TXYZ.AI?)

Recommenders and Search Tools

Influence Flower (What are Influence Flowers?)
CORE Recommender (What is CORE?)
  • Author
  • Venue
  • Institution
  • Topic

arXivLabs: experimental projects with community collaborators

arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.

Which authors of this paper are endorsers? | Disable MathJax (What is MathJax?)
We gratefully acknowledge support from our major funders, member institutions, , and all contributors.
About · Help · Contact · Subscribe · Copyright · Privacy · Accessibility · Operational Status (opens in new tab)
Major funding support from
Simons Foundation Simons Foundation International Schmidt Sciences