A typechecker plugin for units of measure: Domain-specific constraint solving in GHC Haskell

A Gundry - ACM SIGPLAN Notices, 2015 - dl.acm.org
Typed functional programming and units of measure are a natural combination, as F# ably
demonstrates. However, encoding statically-checked units in Haskell's type system leads to …

Promoting functions to type families in Haskell

RA Eisenberg, J Stolarek - ACM SIGPLAN Notices, 2014 - dl.acm.org
Haskell, as implemented in the Glasgow Haskell Compiler (GHC), is enriched with many
extensions that support type-level programming, such as promoted datatypes, kind …

Refty: refinement types for valid deep learning models

Y Gao, Z Li, H Lin, H Zhang, M Wu… - Proceedings of the 44th …, 2022 - dl.acm.org
Deep learning has been increasingly adopted in many application areas. To construct valid
deep learning models, developers must conform to certain computational constraints by …

Formal model-based assurance cases in Isabelle/SACM: An autonomous underwater vehicle case study

S Foster, Y Nemouchi, C O'Halloran… - Proceedings of the 8th …, 2020 - dl.acm.org
Isabelle/SACM is a tool for automated construction of model-based assurance cases with
integrated formal methods, based on the Isabelle proof assistant. Assurance cases show …

Typesafe abstractions for tensor operations (short paper)

T Chen - Proceedings of the 8th ACM SIGPLAN International …, 2017 - dl.acm.org
We propose a typesafe abstraction to tensors (ie multidimensional arrays) exploiting the type-
level programming capabilities of Scala through heterogeneous lists (HList), and showcase …

Preventing Technical Errors in Data Lake Analyses with Type Theory

A Guyot, É Leclercq, A Gillet, N Cullot - International Conference on Big …, 2023 - Springer
Data analysts compose various operators provided by data lakes to conduct their analyses
on big data through complex analytical workflows. In this article, we present a formal …

[PDF][PDF] Units-of-measure correctness in Fortran programs

M Contrastin, A Rice, M Danish… - Computing in Science & …, 2015 - kar.kent.ac.uk
Kent Academic Repository Page 1 Contrastin, Mistral, Rice, Andrew, Danish, Matthew and
Orchard, Dominic A. (2015) Units-of-Measure Correctness in Fortran Programs. Computing in …

[HTML][HTML] Evolving Fortran types with inferred units-of-measure

D Orchard, A Rice, O Oshmyan - Journal of Computational Science, 2015 - Elsevier
Dimensional analysis is a well known technique for checking the consistency of equations
involving physical quantities, constituting a kind of type system. Various type systems for …

The thoralf plugin: For your fancy type needs

D Otwani, RA Eisenberg - Proceedings of the 11th ACM SIGPLAN …, 2018 - dl.acm.org
Many fancy types (eg, generalized algebraic data types, type families) require a type
checker plugin. These fancy types have a type index (eg, type level natural numbers) with an …

Type inference for array programming with dimensioned vector spaces

PR Griffioen - Proceedings of the 27th Symposium on the …, 2015 - dl.acm.org
Linear algebra operations are a typical application for array programming, but arrays are a
more general data structure and not just used for numbers. This generality gives a lot of …